blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
7
332
content_id
stringlengths
40
40
detected_licenses
listlengths
0
50
license_type
stringclasses
2 values
repo_name
stringlengths
7
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
557 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
5.85k
684M
star_events_count
int64
0
77.7k
fork_events_count
int64
0
48k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
82 values
src_encoding
stringclasses
28 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
5.41M
extension
stringclasses
11 values
content
stringlengths
7
5.41M
authors
listlengths
1
1
author
stringlengths
0
161
cbfc16d5a5127d352e17421767b24e814d29c828
0196c807f2c7a4c9218bc1710aaab07aba88c897
/src/com/shipt/orderapi/model/Products.java
f4f4b2c34f00cb90a7fc645d8aa7746f5251783e
[]
no_license
venkatsena1857/shiptOrdersAPI
d1c64b0e91e68d4afea23f0825b1c7775b0baca8
6c3deac543c055e8cb66c1030ed127244fba7a94
refs/heads/master
2021-08-29T20:48:05.938895
2017-12-15T00:01:49
2017-12-15T00:01:49
114,234,378
0
0
null
null
null
null
UTF-8
Java
false
false
1,628
java
package com.shipt.orderapi.model; /** * @author venkata * */ public class Products { private int productID; private String productName; private double productCost; private boolean productSoldInParts; private double quantityInStock; /** * @param productID unique identifier of product * @param productName name of product * @param productCost cost of the product * @param productSoldInParts if the product is sold is parts * @param quantityInStock quantity of products still in stock */ public Products(int productID, String productName, double productCost, boolean productSoldInParts, double quantityInStock) { super(); this.productID = productID; this.productName = productName; this.productCost = productCost; this.productSoldInParts = productSoldInParts; this.quantityInStock = quantityInStock; } public int getProductID() { return productID; } public String getProductName() { return productName; } public double getProductCost() { return productCost; } public boolean isProductSoldInParts() { return productSoldInParts; } public double getQuantityInStock() { return quantityInStock; } public void setProductID(int productID) { this.productID = productID; } public void setProductName(String productName) { this.productName = productName; } public void setProductCost(double productCost) { this.productCost = productCost; } public void setProductSoldInParts(boolean productSoldInParts) { this.productSoldInParts = productSoldInParts; } public void setQuantityInStock(double quantityInStock) { this.quantityInStock = quantityInStock; } }
[ "Venkata Bharadwaj Senapathi" ]
Venkata Bharadwaj Senapathi
a0be96314f7a9b945d25ee2d87c38201d66f2649
c1982222de0e5efb6567447ee75e849adb1a4d83
/src/server/ZevmsLauncherServer.java
b4714c2fa120dcf7f2ec5ef4ba55f55de1d9c260
[]
no_license
dengfan/mstw
085843e54673f9e63f55996d3aa9eccb9af01854
6e0aab5ad7f7ced396118f2eb7305b95e4230a6e
refs/heads/master
2021-08-16T23:24:53.251789
2019-07-04T16:56:02
2019-07-04T16:56:02
101,774,262
3
3
null
null
null
null
GB18030
Java
false
false
16,453
java
//package server; // //import handling.cashshop.CashShopServer; //import handling.channel.ChannelServer; //import handling.login.LoginServer; //import java.io.IOException; //import java.io.InputStream; //import java.net.ServerSocket; //import java.net.Socket; //import java.text.SimpleDateFormat; //import java.util.ArrayList; //import java.util.Calendar; //import java.util.HashMap; //import java.util.List; //import java.util.Map; //import java.util.regex.Matcher; //import java.util.regex.Pattern; //import org.apache.mina.core.session.IoSession; //import tools.FileoutputUtil; // ///** // * // * @author fan // */ //public class ZevmsLauncherServer { // // public static void main(String args[]) { // new ZevmsLauncherServer(60000).start(); // } // // private final int port; // private volatile boolean running = false; // private Thread kThread; // // public static volatile Map<String, List<String>> allowClientMap = new HashMap(); // public static volatile Map<String, List<String>> allowSessionMap = new HashMap(); // // public static boolean isAllowClient(String ip) { //// for (String key : allowClientMap.keySet()) { //// System.out.println("AllowClient: " + key); //// } //// System.out.println("IsAllowClient: " + ip); // if (!ip.startsWith("/")) { // ip = "/" + ip; // } // return allowClientMap.containsKey(ip); // } // // public ZevmsLauncherServer(int port) { // this.port = port; // } // // public void start() { // if (running) { // return; // } // running = true; // kThread = new Thread(new KeepThread()); // kThread.start(); // System.out.println("○ 开启启动服务端网关"); // } // // public void stop() { // if (running) { // running = false; // } // } // // private class KeepThread implements Runnable { // // public void run() { // try { // ServerSocket ss = new ServerSocket(port); // while (running) { // Socket s = ss.accept(); // new Thread(new SocketAction(s)).start(); // 连接上一个客户端就创建一个专用线程 // } // } catch (IOException ex) { // ex.printStackTrace(); // ZevmsLauncherServer.this.stop(); // } // } // } // // private void stopGame(String clientIP, String logFileName) { // String f = "%s %s 结束游戏\r\n"; // String log = String.format(f, FileoutputUtil.NowTime(), clientIP); // System.out.println(log); // FileoutputUtil.logToFile(String.format("log\\登录器检测\\%s %s.log", logFileName, clientIP.replace("/", "")), log); // // allowClientMap.remove(clientIP); // allowSessionMap.remove(clientIP); // // for (ChannelServer chl : ChannelServer.getAllInstances()) { // closeConn(clientIP, chl.getSessions()); // } // // closeConn(clientIP, LoginServer.getSessions()); // closeConn(clientIP, CashShopServer.getSessions()); // } // // private class SocketAction implements Runnable { // // Socket s; // boolean run = true; // long lastReceiveTime = System.currentTimeMillis(); // int errorCount = 0; // // private SocketAction(Socket socket) { // s = socket; // } // // public void run() { // String clientIP = s.getRemoteSocketAddress().toString().split(":")[0]; // int noPortDataCount = 0; // while (running && run) { // Calendar cal = Calendar.getInstance(); // cal.add(Calendar.DATE, 1); // SimpleDateFormat format1 = new SimpleDateFormat("yyyy-MM-dd"); // String logFileName = format1.format(cal.getTime()); // // long t = System.currentTimeMillis() - lastReceiveTime; // System.out.println("时间差:" + t); // if (t > 20000) { // 心跳超时,断开客户端 // overThis(); // // String f = "%s %s 心跳超时,断开客户端:%s\r\n"; // String log = String.format(f, FileoutputUtil.NowTime(), clientIP, s.getRemoteSocketAddress()); // System.out.println(log); // FileoutputUtil.logToFile(String.format("log\\登录器检测\\%s %s.log", logFileName, clientIP.replace("/", "")), log); // // stopGame(clientIP, logFileName); // } else { // try { // InputStream inStr = s.getInputStream(); // if (inStr.available() > 0) { // // 先从流中读取一个字节,以确定要读取的数据包的长度 // byte[] packetLengthByte = new byte[1]; // inStr.read(packetLengthByte); // int packetLen = toInt(packetLengthByte[0]); // if (packetLen > 0) { // byte[] packetHeaderByte = new byte[1]; // inStr.read(packetHeaderByte); // int packetHeader = toInt(packetHeaderByte[0]); // // byte[] packetDataBytes = new byte[packetLen - 1]; // inStr.read(packetDataBytes); // // System.out.println("noPortDataCount: " + noPortDataCount); // if (packetHeader < 200) { // 表示是心跳包且客户端未上报合法端口 // if (noPortDataCount > 3) { // String f = "%s %s 连接3次无端口数据\r\n"; // String log = String.format(f, FileoutputUtil.NowTime(), clientIP); // System.out.println(log); // FileoutputUtil.logToFile(String.format("log\\登录器检测\\%s %s.log", logFileName, clientIP.replace("/", "")), log); // // stopGame(clientIP, logFileName); // noPortDataCount = 0; // } // // noPortDataCount++; // int j = toInt(packetDataBytes[0]); // int data = byteArrayToInt(packetDataBytes, 1); // if (data % j == 0) { // 心跳包合法 // System.out.println("心跳数据"); // if (allowClientMap.containsKey(clientIP) == false) { // allowClientMap.put(clientIP, new ArrayList<String>()); // } // // lastReceiveTime = System.currentTimeMillis(); // } else { // 心跳包不合法会导致心跳超时 // System.out.println("心跳包不合法"); // } // } else { // 表示是数据包 // noPortDataCount = 0; // // List<String> list = new ArrayList<>(); // // String data = new String(packetDataBytes); // data = getCode2(data); // // String f = "%s %s 有效端口:%s\r\n"; // String log = String.format(f, FileoutputUtil.NowTime(), clientIP, data); // System.out.println(log); // FileoutputUtil.logToFile(String.format("log\\登录器检测\\%s %s.log", logFileName, clientIP.replace("/", "")), log); // // String arr[] = data.split(","); // // int isNotNumerCount = 0; // for (String num : arr) { // if (isNumeric(num)) { // if (list.contains(num) == false) { // list.add(num); // } // } else { // isNotNumerCount++; // } // } // // if (isNotNumerCount == 0) { // 数据包合法 // allowClientMap.put(clientIP, list); // allowSessionMap.clear(); // // // 即可检测有效端口 // for (ChannelServer chl : ChannelServer.getAllInstances()) { // checkPorts(clientIP, chl.getSessions(), "ChannelServer", logFileName); // } // checkPorts(clientIP, CashShopServer.getSessions(), "CashShopServer", logFileName); // checkPorts(clientIP, LoginServer.getSessions(), "LoginServer", logFileName); // // if (allowSessionMap.containsKey(clientIP)) { // int size = allowSessionMap.get(clientIP).size(); // if (size == 1) { // errorCount = 0; // } else { // System.out.println("当前客户IP allowSessionMap 存在端口数为:" + size); // errorCount++; // } // } else { // errorCount = 0; // } // // f = "%s %s error count: %s 不能超过3\r\n"; // log = String.format(f, FileoutputUtil.NowTime(), clientIP, errorCount); // System.out.println(log); // FileoutputUtil.logToFile(String.format("log\\登录器检测\\%s %s.log", logFileName, clientIP.replace("/", "")), log); // // if (errorCount > 3) { // f = "%s %s 判定多开:%s\r\n"; // log = String.format(f, FileoutputUtil.NowTime(), clientIP, s.getRemoteSocketAddress()); // System.out.println(log); // FileoutputUtil.logToFile(String.format("log\\登录器检测\\%s %s.log", logFileName, clientIP.replace("/", "")), log); // // stopGame(clientIP, logFileName); // } // // System.out.println(s.getRemoteSocketAddress() + ": " + data); // lastReceiveTime = System.currentTimeMillis(); // } else { // 数据包不合法会导致心跳超时 // System.out.println("数据包不合法"); // } // // } // } // } else { // Thread.sleep(9000); // } // } catch (Exception ex) { // ex.printStackTrace(); // overThis(); // } // } // } // } // // private void overThis() { // if (run) { // run = false; // } // // if (s != null) { // try { // s.close(); // } catch (IOException ex) { // ex.printStackTrace(); // } // } // } // // } // // private int byteArrayToInt(byte[] b, int offset) { // int value = 0; // for (int i = 0; i < 4; i++) { // int shift = (4 - 1 - i) * 8; // value += (b[i + offset] & 0x000000FF) << shift; // } // return value; // } // // private String getCode2(final String data) { // return data.replace("a", ",") // .replace("?", "0") // .replace("%", "2") // .replace("E", "3") // .replace("A", "4") // .replace("#", "5") // .replace("$", "6") // .replace("/", "7") // .replace("==", "8") // .replace("c", "9"); // } // // private int toInt(int b) { // return b >= 0 ? (int) b : (int) (b + 256); // } // // public boolean isNumeric(String str) { // Pattern pattern = Pattern.compile("[0-9]*"); // Matcher isNum = pattern.matcher(str); // return isNum.matches(); // } // // private final void checkPorts(String clientIP, Map<Long, IoSession> sessions, String tcpServerName, String logFileName) { // String f = "%s %s %s check ports start ---\r\n"; // String log = String.format(f, FileoutputUtil.NowTime(), clientIP, tcpServerName); // System.out.println(log); // FileoutputUtil.logToFile(String.format("log\\登录器检测\\%s %s.log", logFileName, clientIP.replace("/", "")), log); // int total = 0; // // for (IoSession ss : sessions.values()) { // if (ss.remoteAddress() == null) { // continue; // } // // String[] arr = ss.remoteAddress().toString().split(":"); // String sip = arr[0]; // String sport = arr[1]; // // f = "%s %s %s check ports ip: %s:%s\r\n"; // log = String.format(f, FileoutputUtil.NowTime(), clientIP, tcpServerName, sip, sport); // System.out.println(log); // FileoutputUtil.logToFile(String.format("log\\登录器检测\\%s %s.log", logFileName, clientIP.replace("/", "")), log); // // if (allowClientMap.containsKey(sip)) { // if (allowSessionMap.containsKey(sip)) { // List<String> list = allowSessionMap.get(sip); // if (list.contains(sport) == false) { // list.add(sport); // allowSessionMap.put(sip, list); // } // } else { // List<String> list = new ArrayList<>(); // list.add(sport); // allowSessionMap.put(sip, list); // } // } // // } // // f = "%s %s %s check ports end --- %s\r\n"; // log = String.format(f, FileoutputUtil.NowTime(), clientIP, tcpServerName, total); // System.out.println(log); // FileoutputUtil.logToFile(String.format("log\\登录器检测\\%s %s.log", logFileName, clientIP.replace("/", "")), log); // } // // private final void closeConn(String ip, Map<Long, IoSession> sessions) { // if (!ip.startsWith("/")) { // ip = "/" + ip; // } // // for (IoSession ss : sessions.values()) { // if (ss.remoteAddress() == null) { // continue; // } // // String[] arr = ss.remoteAddress().toString().split(":"); // String sip = arr[0]; // // if (sip.equals(ip)) { // ss.close(true); // } // } // } //}
[ "dengfan@outlook.com" ]
dengfan@outlook.com
66cb7d1c32d17e5352941ad75d1f38e5bfd25823
035c9bba8c94fe4d72cbbdc0b3d1de2d1a3de8b6
/src/it/unipv/ingsw/blackmarket/dealers/Cotogni.java
f8e51eb22e4c5c896d54cebea7f6002d472b6106
[ "MIT" ]
permissive
Th3Chos3nOn3/BlackMarket
c39decf4292e6d20fc8af634d5b810d9900038ea
8a06d8580cfcb588e312a1f3be4cedebc65e0dc3
refs/heads/master
2021-04-06T00:56:27.682231
2018-03-13T21:40:37
2018-03-13T21:40:37
null
0
0
null
null
null
null
UTF-8
Java
false
false
412
java
package it.unipv.ingsw.blackmarket.dealers; import it.unipv.ingsw.blackmarket.Briefcase; import it.unipv.ingsw.blackmarket.Dealer; public class Cotogni extends Dealer { public Briefcase exchangeBriefcase(int roundNo, int totRounds) { if(roundNo==1) { return Briefcase.FULL; } else { return Briefcase.EMPTY; } } }
[ "marco.cotogni01@universitadipavia.it" ]
marco.cotogni01@universitadipavia.it
5d72a9c70f3ca7b475591197bdce63645f3b999c
437d25942e68f78356564192965cd044db036fe7
/src/LoadData/LoadData.java
b47ef2241cbf5b9188084a4b4d76fe9356d18322
[]
no_license
0xqq/benchmarksql50-mysql
fc58479179bf66347a89ae2851edeff682ac104e
c989ff6b88c03e7a1de1eeccb4e7e3ac3690dfa7
refs/heads/master
2020-04-18T00:02:01.446948
2018-09-22T09:08:16
2018-09-22T09:08:16
null
0
0
null
null
null
null
UTF-8
Java
false
false
9,224
java
/* * LoadData - Load Sample Data directly into database tables or into * CSV files using multiple parallel workers. * * Copyright (C) 2016, Denis Lussier * Copyright (C) 2016, Jan Wieck * */ import java.sql.*; import java.util.*; import java.io.*; import java.lang.Integer; public class LoadData { private static Properties ini = new Properties(); private static String db; private static Properties dbProps; private static jTPCCRandom rnd; private static String fileLocation = null; private static String csvNullValue = null; private static int numWarehouses; private static int numWorkers; private static int nextJob = 0; private static Object nextJobLock = new Object(); private static LoadDataWorker[] workers; private static Thread[] workerThreads; private static String[] argv; private static boolean writeCSV = false; private static BufferedWriter configCSV = null; private static BufferedWriter itemCSV = null; private static BufferedWriter warehouseCSV = null; private static BufferedWriter districtCSV = null; private static BufferedWriter stockCSV = null; private static BufferedWriter customerCSV = null; private static BufferedWriter historyCSV = null; private static BufferedWriter orderCSV = null; private static BufferedWriter orderLineCSV = null; private static BufferedWriter newOrderCSV = null; public static void main(String[] args) { int i; System.out.println("Starting BenchmarkSQL LoadData"); System.out.println(""); /* * Load the Benchmark properties file. */ try { ini.load(new FileInputStream(System.getProperty("prop"))); } catch (IOException e) { System.err.println("ERROR: " + e.getMessage()); System.exit(1); } argv = args; /* * Initialize the global Random generator that picks the * C values for the load. */ rnd = new jTPCCRandom(); /* * Load the JDBC driver and prepare the db and dbProps. */ try { Class.forName(iniGetString("driver")); } catch (Exception e) { System.err.println("ERROR: cannot load JDBC driver - " + e.getMessage()); System.exit(1); } db = iniGetString("conn"); dbProps = new Properties(); dbProps.setProperty("user", iniGetString("user")); dbProps.setProperty("password", iniGetString("password")); /* * Parse other vital information from the props file. */ numWarehouses = iniGetInt("warehouses"); numWorkers = iniGetInt("loadWorkers", 4); fileLocation = iniGetString("fileLocation"); csvNullValue = iniGetString("csvNullValue", "NULL"); /* * If CSV files are requested, open them all. */ if (fileLocation != null) { writeCSV = true; try { configCSV = new BufferedWriter(new FileWriter(fileLocation + "config.csv")); itemCSV = new BufferedWriter(new FileWriter(fileLocation + "item.csv")); warehouseCSV = new BufferedWriter(new FileWriter(fileLocation + "warehouse.csv")); districtCSV = new BufferedWriter(new FileWriter(fileLocation + "district.csv")); stockCSV = new BufferedWriter(new FileWriter(fileLocation + "stock.csv")); customerCSV = new BufferedWriter(new FileWriter(fileLocation + "customer.csv")); historyCSV = new BufferedWriter(new FileWriter(fileLocation + "cust-hist.csv")); orderCSV = new BufferedWriter(new FileWriter(fileLocation + "order.csv")); orderLineCSV = new BufferedWriter(new FileWriter(fileLocation + "order-line.csv")); newOrderCSV = new BufferedWriter(new FileWriter(fileLocation + "new-order.csv")); } catch (IOException ie) { System.err.println(ie.getMessage()); System.exit(3); } } System.out.println(""); long startTimeMS = new java.util.Date().getTime(); /* * Create the number of requested workers and start them. */ workers = new LoadDataWorker[numWorkers]; workerThreads = new Thread[numWorkers]; for (i = 0; i < numWorkers; i++) { Connection dbConn; try { dbConn = DriverManager.getConnection(db, dbProps); dbConn.setAutoCommit(false); if (writeCSV) workers[i] = new LoadDataWorker(i, csvNullValue, rnd.newRandom()); else workers[i] = new LoadDataWorker(i, dbConn, rnd.newRandom()); workerThreads[i] = new Thread(workers[i]); workerThreads[i].start(); } catch (SQLException se) { System.err.println("ERROR: " + se.getMessage()); System.exit(3); return; } } for (i = 0; i < numWorkers; i++) { try { workerThreads[i].join(); } catch (InterruptedException ie) { System.err.println("ERROR: worker " + i + " - " + ie.getMessage()); System.exit(4); } } long runTimeMS = (new java.util.Date().getTime()) + 1 - startTimeMS; java.util.Date endDate = new java.util.Date(); System.out.println("Loading TPCC " + numWarehouses + " warehouse done, end time: " + endDate + ", running duration" + runTimeMS/1000 + "seconds " ); /* * Close the CSV files if we are writing them. */ if (writeCSV) { try { configCSV.close(); itemCSV.close(); warehouseCSV.close(); districtCSV.close(); stockCSV.close(); customerCSV.close(); historyCSV.close(); orderCSV.close(); orderLineCSV.close(); newOrderCSV.close(); } catch (IOException ie) { System.err.println(ie.getMessage()); System.exit(3); } } } // End of main() public static void configAppend(StringBuffer buf) throws IOException { synchronized(configCSV) { configCSV.write(buf.toString()); } buf.setLength(0); } public static void itemAppend(StringBuffer buf) throws IOException { synchronized(itemCSV) { itemCSV.write(buf.toString()); } buf.setLength(0); } public static void warehouseAppend(StringBuffer buf) throws IOException { synchronized(warehouseCSV) { warehouseCSV.write(buf.toString()); } buf.setLength(0); } public static void districtAppend(StringBuffer buf) throws IOException { synchronized(districtCSV) { districtCSV.write(buf.toString()); } buf.setLength(0); } public static void stockAppend(StringBuffer buf) throws IOException { synchronized(stockCSV) { stockCSV.write(buf.toString()); } buf.setLength(0); } public static void customerAppend(StringBuffer buf) throws IOException { synchronized(customerCSV) { customerCSV.write(buf.toString()); } buf.setLength(0); } public static void historyAppend(StringBuffer buf) throws IOException { synchronized(historyCSV) { historyCSV.write(buf.toString()); } buf.setLength(0); } public static void orderAppend(StringBuffer buf) throws IOException { synchronized(orderCSV) { orderCSV.write(buf.toString()); } buf.setLength(0); } public static void orderLineAppend(StringBuffer buf) throws IOException { synchronized(orderLineCSV) { orderLineCSV.write(buf.toString()); } buf.setLength(0); } public static void newOrderAppend(StringBuffer buf) throws IOException { synchronized(newOrderCSV) { newOrderCSV.write(buf.toString()); } buf.setLength(0); } public static int getNextJob() { int job; synchronized(nextJobLock) { if (nextJob > numWarehouses) job = -1; else job = nextJob++; } return job; } public static int getNumWarehouses() { return numWarehouses; } private static String iniGetString(String name) { String strVal = null; for (int i = 0; i < argv.length - 1; i += 2) { if (name.toLowerCase().equals(argv[i].toLowerCase())) { strVal = argv[i + 1]; break; } } if (strVal == null) strVal = ini.getProperty(name); if (strVal == null) System.out.println(name + " (not defined)"); else if (name.equals("password")) System.out.println(name + "=***********"); else System.out.println(name + "=" + strVal); return strVal; } private static String iniGetString(String name, String defVal) { String strVal = null; for (int i = 0; i < argv.length - 1; i += 2) { if (name.toLowerCase().equals(argv[i].toLowerCase())) { strVal = argv[i + 1]; break; } } if (strVal == null) strVal = ini.getProperty(name); if (strVal == null) { System.out.println(name + " (not defined - using default '" + defVal + "')"); return defVal; } else if (name.equals("password")) System.out.println(name + "=***********"); else System.out.println(name + "=" + strVal); return strVal; } private static int iniGetInt(String name) { String strVal = iniGetString(name); if (strVal == null) return 0; return Integer.parseInt(strVal); } private static int iniGetInt(String name, int defVal) { String strVal = iniGetString(name); if (strVal == null) return defVal; return Integer.parseInt(strVal); } }
[ "zhengwanbo@sina.com" ]
zhengwanbo@sina.com
56ae439560845ed90e72a36b5bcd06b4b1984881
802903aaa862a1aa5a484ab02a19244c6256eb4a
/app/src/main/java/com/sabaindomedika/stscustomer/dagger/PerApp.java
f1bd71307fcc5a8442111895e0e67aaaa6567faa
[]
no_license
sidrive/sbsCustomer
88016e283ced05e3a1f56e45ded7618d3c7caf76
ca51ca87a364615a717ff3099f899f92f101d5c2
refs/heads/master
2020-02-16T23:13:37.466653
2017-05-01T10:13:49
2017-05-01T10:13:49
124,497,781
0
0
null
null
null
null
UTF-8
Java
false
false
282
java
package com.sabaindomedika.stscustomer.dagger; import java.lang.annotation.Retention; import javax.inject.Scope; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Created by Fajar Rianda on 01/05/2017. */ @Scope @Retention(RUNTIME) public @interface PerApp { }
[ "fajar.rianda1811@gmail.com" ]
fajar.rianda1811@gmail.com
6bb8bfe16125bc7093e91d0817ac7c636638c7f4
9e04ae296f4694a58063af28c2154e1fbd81a275
/src/test/java/com/example/security/SpringSecurityOAuth2ApplicationTests.java
f0e45c65a6e53e46ed6914c403a211df5cec4ad7
[]
no_license
vivaciousvivek/spring-security-oauth2
468a9209282b37294a5260203bf763cdee92aa51
7d9c0263247dfaf3fd724a8315c04c7d4d0c51c8
refs/heads/master
2020-03-16T19:51:10.319336
2018-05-10T17:46:32
2018-05-10T17:46:32
132,934,841
0
1
null
null
null
null
UTF-8
Java
false
false
351
java
package com.example.security; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class SpringSecurityOAuth2ApplicationTests { @Test public void contextLoads() { } }
[ "vvkvivek.singh@gmail.com" ]
vvkvivek.singh@gmail.com
ee737fe9dd038f5c5794110b4fa61463d623b6b3
e3c45aaf5677c0ef856983616f915558fef39a50
/leyou_project/ly-item/ly-item-service/src/main/java/com/wangshuai/dao/ICategoryDao.java
9357d46757ab01d38a3c3c4616a637377048b409
[]
no_license
w25852s/test
27a84a7fdd5009fe92a8548cb56e1a50418230dc
8d72e85b881460b74e639969bd5e48acc4b52fed
refs/heads/master
2022-11-17T17:12:33.039706
2020-05-13T13:02:45
2020-05-13T13:02:45
207,303,685
0
0
null
2022-11-16T10:55:31
2019-09-09T12:28:24
Java
UTF-8
Java
false
false
401
java
package com.wangshuai.dao; import com.wangshuai.bean.Brand; import com.wangshuai.bean.Category; import org.apache.ibatis.annotations.Select; import tk.mybatis.mapper.additional.idlist.IdListMapper; import tk.mybatis.mapper.common.IdsMapper; import tk.mybatis.mapper.common.Mapper; import java.util.List; public interface ICategoryDao extends Mapper<Category>, IdListMapper<Category,Long> { }
[ "w25852s@126.com" ]
w25852s@126.com
69bd52b4ae69ff47bc4017a508eb43e8e4315fc1
d3d6f526b4b95056b37fbc0d5603f49d949e841d
/backend/ideappservice/src/main/java/com/ideapp/ideappservice/model/UserRequestClub.java
c7da89fb8d9fc9886218841a171c91edc7133ed0
[]
no_license
SirBrundolf/BBM384-Project-IdeApp
b0cd3ceb9b288b49d245ef6abc595c81cab6f4d1
4e9d3263535a68667b4edf3f76a79fae76471f21
refs/heads/master
2023-08-26T13:09:44.447929
2021-10-10T10:20:57
2021-10-10T10:20:57
415,530,568
1
0
null
null
null
null
UTF-8
Java
false
false
690
java
package com.ideapp.ideappservice.model; public class UserRequestClub { String name; String reason; String admin; public UserRequestClub(String name, String reason) { this.name = name; this.reason = reason; } public UserRequestClub(){} public String getName() { return name; } public String getAdmin() { return admin; } public void setAdmin(String admin) { this.admin = admin; } public void setName(String name) { this.name = name; } public String getReason() { return reason; } public void setReason(String reason) { this.reason = reason; } }
[ "emirkaankirmaci@hotmail.com" ]
emirkaankirmaci@hotmail.com
d4ed5d6af6bf990098b0470d36b44647673e45be
882ec5bd7e3238db9de4dd6d88afaf99ee1d37ba
/src/main/java/com/grimm/model/response/RoleResponse.java
429f909b872ac7a7f4f2fa4ad3aebe638fff83b1
[]
no_license
berlinn73/grimmDuc
cb54c9eafc9d004e7f20348d90ed6173fa1387c5
9e89ba461151d89fbb3864343514ab4d4536ef07
refs/heads/master
2023-04-03T04:36:44.668614
2021-04-14T16:24:40
2021-04-14T16:24:40
357,959,847
0
0
null
null
null
null
UTF-8
Java
false
false
542
java
package com.grimm.model.response; public class RoleResponse { private Integer id; private String name; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } @Override public String toString() { return "RoleResponse{" + "id=" + id + ", name='" + name + '\'' + '}'; } }
[ "you@example.com" ]
you@example.com
6be847bf9e08a1da861f586bc1af60919a538e6d
bff711166c76870379884ef118dfa558761f86f6
/src/org/tom/vd/bean/ProgessBean.java
0babbb03b3fe1abd1f4372c800a5c1467a245f7b
[]
no_license
tangrufeng/VirtualDealer
01e1b8c1d4ad3c4010b301882ec2b36fe1b2d63a
bf0e5d45ae39779fd4f437d501d2084966c5bd4e
refs/heads/master
2021-01-20T18:16:18.091341
2016-07-12T10:09:20
2016-07-12T10:09:20
62,937,478
0
1
null
null
null
null
UTF-8
Java
false
false
1,578
java
package org.tom.vd.bean; /** * <p>Title: ProgessBean.java</p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2014</p> * <p>Company: jc-yt.com</p> * @author tang * @version 1.0 * */ public class ProgessBean { private String timeline; private String status; private int bcolor; private int bnum; private int fcolor; private int fnum; private int nextDealer; private int nextColor; public int getNextDealer() { return nextDealer; } public void setNextDealer(int nextDealer) { this.nextDealer = nextDealer; } public int getNextColor() { return nextColor; } public void setNextColor(int nextColor) { this.nextColor = nextColor; } public String getTimeline() { return timeline; } public void setTimeline(String timeline) { this.timeline = timeline; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } public int getBcolor() { return bcolor; } public void setBcolor(int bcolor) { this.bcolor = bcolor; } public int getBnum() { return bnum; } public void setBnum(int bnum) { this.bnum = bnum; } public int getFcolor() { return fcolor; } public void setFcolor(int fcolor) { this.fcolor = fcolor; } public int getFnum() { return fnum; } public void setFnum(int fnum) { this.fnum = fnum; } @Override public String toString() { return "ProgessBean [timeline=" + timeline + ", status=" + status + ", bcolor=" + bcolor + ", bnum=" + bnum + ", fcolor=" + fcolor + ", fnum=" + fnum + "]"; } }
[ "251800846@qq.com" ]
251800846@qq.com
c332951b3e7c70a55af2dd8d5ef817164de581be
d600d91a595d932b37c37f4402b46a1af1d88b99
/leitstand-test/src/main/java/io/leitstand/testing/ut/BeanValidation.java
da2d8ea8869e71b9b66dd8f918486fe7a15337b5
[ "Apache-2.0" ]
permissive
leitstand/leitstand-commons
f59d6046f4c79b6f1b61a67250ef9d4fe0449c93
4a4b4b87b0d3a9d03b43135ffecd635eebd887c9
refs/heads/master
2023-02-21T10:24:37.777635
2023-02-07T22:19:38
2023-02-07T22:19:38
231,685,213
0
2
Apache-2.0
2023-02-07T22:19:40
2020-01-04T00:09:40
Java
UTF-8
Java
false
false
1,107
java
/* * Copyright 2020 RtBrick Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ package io.leitstand.testing.ut; import static javax.validation.Validation.buildDefaultValidatorFactory; import java.util.Set; import javax.validation.ConstraintViolation; import javax.validation.ConstraintViolationException; public class BeanValidation { public static <T> void validate(T o) { Set<ConstraintViolation<T>> violations = buildDefaultValidatorFactory().getValidator().validate(o); if(violations.isEmpty()) { return; } throw new ConstraintViolationException(violations); } }
[ "noreply@github.com" ]
noreply@github.com
1dc205d9763beeb95e4f94be173f751d8994c99f
2122d24de66635b64ec2b46a7c3f6f664297edc4
/dp/src/main/java/com/lee/dp/strategy/example1/Price.java
1572743cfc0cf38f247f1dd3d72075806315e52d
[]
no_license
yiminyangguang520/Java-Learning
8cfecc1b226ca905c4ee791300e9b025db40cc6a
87ec6c09228f8ad3d154c96bd2a9e65c80fc4b25
refs/heads/master
2023-01-10T09:56:29.568765
2022-08-29T05:56:27
2022-08-29T05:56:27
92,575,777
5
1
null
2023-01-05T05:21:02
2017-05-27T06:16:40
Java
UTF-8
Java
false
false
939
java
package com.lee.dp.strategy.example1; /** * 价格管理,主要完成计算向客户所报价格的功能 */ public class Price { /** * 报价,对不同类型的,计算不同的价格 * * @param goodsPrice 商品销售原价 * @param customerType 客户类型 * @return 计算出来的,应该给客户报的价格 */ public double quote(double goodsPrice, String customerType) { if ("普通客户".equals(customerType)) { System.out.println("对于新客户或者是普通客户,没有折扣"); return goodsPrice; } else if ("老客户".equals(customerType)) { System.out.println("对于老客户,统一折扣5%"); return goodsPrice * (1 - 0.05); } else if ("大客户".equals(customerType)) { System.out.println("对于大客户,统一折扣10%"); return goodsPrice * (1 - 0.1); } //其余人员都是报原价 return goodsPrice; } }
[ "litz-a@glodon.com" ]
litz-a@glodon.com
1dfe0dcaf33442c1404dcc27d2083d4002ef6b2f
d442e17b26daf76ce0a3e115fbc4e87643a5aa60
/src/LeetCode/LinkedList/link92.java
81db1935dd0c54f24fb6c0e6a6a0e3b6a49fb44d
[]
no_license
likzn/Array
7f87bfc07d14217096378d23b0b588da2d333f78
66565bce6bf37438adf7a7d4befdda5e5039899f
refs/heads/master
2021-06-30T08:45:25.312532
2020-10-09T06:05:58
2020-10-09T06:05:58
179,834,965
0
0
null
null
null
null
UTF-8
Java
false
false
932
java
package LeetCode.LinkedList; import java.util.ArrayList; import java.util.List; /** * @auther: Li jx * @date: 2019/4/15 19:44 * @description: */ public class link92 { public ListNode reverseBetween(ListNode head, int m, int n) { ListNode dummyHead = new ListNode(0); ListNode listNode = dummyHead; List<Integer> list = new ArrayList(); dummyHead.next = head; int a = m; while (a-- != 0) { dummyHead = dummyHead.next; } for (int i = 0; i < n - m; i++) { list.add(dummyHead.val); dummyHead = dummyHead.next; } dummyHead = listNode; a = m; while (a-- != 0) { dummyHead = dummyHead.next; } for (int i = 0; i < n - m; i++) { dummyHead.val = list.get(list.size() - 1 - i); dummyHead = dummyHead.next; } return head; } }
[ "532573425@qq.com" ]
532573425@qq.com
ef37cc033769d5ef7be656a48bcba9579c604208
895d5e7e079f26be652248f517b68141344acd8c
/src/main/java/a_creational/builder/Main.java
aab1915a8da454f1ef9edf3957c25dba4adad767
[]
no_license
PawelJanusz/designPatterns
4ac96dadcd43f8e51cf6c3b142d472b21901782c
3dd3cd9187726223ca2a8b4a2eebb9e6c2abde98
refs/heads/master
2023-09-02T03:14:15.054956
2021-11-19T19:30:48
2021-11-19T19:30:48
425,521,204
0
0
null
null
null
null
UTF-8
Java
false
false
1,277
java
package a_creational.builder; import a_creational.builder.house.House; import a_creational.builder.oder.FlightLeg; public class Main { public static void main(String[] args) { FlightLeg flight = new FlightLeg.FlightLegBuilder() .from("Wroclaw") .to("NY") .prize(567.32) .delayed(false) .build(); System.out.println("New flight: " + flight); System.out.println("========================================================================"); House smallHouse = new House.HouseBuilder() .buildWalls("20 walls") .buildFloors("10 floors") .buildDoors("5 doors") .buildRooms("5 rooms") .build(); System.out.println("Small house: " + smallHouse); House bigHouse = new House.HouseBuilder() .buildWalls("30 walls") .buildFloors("30 floors") .buildDoors("10 doors") .buildRooms("10 rooms") .buildWindows("23 widows") .buildRoof("1 roof") .buildGarage("2 garage") .build(); System.out.println("Big house: " + bigHouse); } }
[ "marek80k@wp.pl" ]
marek80k@wp.pl
9512bd4984e6a02ea5ec1fd41d0e0e7c5dc44228
439f4df0affef61e575ab2fe58929f3b02808f62
/src/main/java/com/cgomez/nb/classifier/nb/TextClass.java
281607747e52e29293b7d965f5ac9dfc52e42c7a
[]
no_license
andres1537/dl-author-name-disambiguation-methods
e82042b38c0ddb1b8c80617633f7472e6a058db8
9f6f93dcd1afac674494496601da446bc879ae7b
refs/heads/master
2021-05-12T05:32:56.132435
2018-06-15T20:46:13
2018-06-15T20:46:13
117,194,939
0
0
null
null
null
null
UTF-8
Java
false
false
1,137
java
package com.cgomez.nb.classifier.nb; import java.util.HashMap; import java.util.Iterator; import java.util.List; public class TextClass { private double numDocs = 0; private double totalPos = 0; private final HashMap<String, Integer> tf; public TextClass() { this.tf = new HashMap<>(); } public void addDoc(List<String> words) { this.totalPos = words.size(); for (String w: words) { int v = 0; if (this.tf.containsKey(w)) { v = this.tf.get(w) + 1; } this.tf.put(w, v); } this.numDocs++; } public double prob(List<String> words, double numTotalDocs, Vocabulary vc) { double vSize = vc.size(); double prob = this.numDocs / numTotalDocs; Iterator<String> it = words.iterator(); while (it.hasNext()) { String vi = it.next(); double probaux = this.prob(vi, vSize); prob = prob * probaux; } return prob; } private double prob(String word, double vSize) { double numTimes = 0; if (this.tf.containsKey(word)) { numTimes = this.tf.get(word); } return (numTimes + 1.0) / (this.totalPos + vSize); } }
[ "andres1537@gmail.com" ]
andres1537@gmail.com
01c804e7b329a8fb2d0ae3bef00c6fce73d267da
39eb7fb0a70928e424845b91ef74f6accc687299
/SpringProjects/SpringDataJava/SpringDataJpaDemos/src/test/java/demos/spring/data/CourseBookingApplicationTests.java
82731716ff0db3e928fa1acc41a09d5e723c27b0
[]
no_license
michaldurinik/Liberty-training-academy
8b15518fca13d326a1abb56b70689da47a97b414
0f48b77571deb15c24891e5d4d0b21d8ea1f94e9
refs/heads/master
2023-01-23T15:03:42.901945
2019-07-24T16:23:21
2019-07-24T16:23:21
195,797,287
0
0
null
2023-01-07T07:36:42
2019-07-08T11:19:34
JavaScript
UTF-8
Java
false
false
341
java
package demos.spring.data; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class CourseBookingApplicationTests { @Test public void contextLoads() { } }
[ "Michal.Durinik@liberty-it.co.uk" ]
Michal.Durinik@liberty-it.co.uk
7b245fcb32ae18aeb038f816784b3841a0fd3e4a
d6e85a2211e2c80ae4fe94c20de53fbf8ab3bf95
/algorithm/168-excel-sheet-column-title/Solution.java
52fdae0474d8737f6df10fc62f1312054f9e8a4c
[]
no_license
fangzhzh/leetcode
b504d03ab62e3a37136f3cf59cdee6d604443a16
12fc003d0551511e338f71075da202d76d50c781
refs/heads/master
2022-03-02T00:49:26.526221
2022-02-13T01:16:12
2022-02-13T01:16:12
46,932,276
16
4
null
null
null
null
UTF-8
Java
false
false
445
java
public class Solution { public String convertToTitle(int n) { final int base = 26; StringBuilder result = new StringBuilder(); int reminder; while (n >= 0) { n--; reminder = n % base; result.append((char)(reminder+'A')); n = n / base; if (n <= 0) { break; } } return result.reverse().toString(); } }
[ "fangzhzh@gmail.com" ]
fangzhzh@gmail.com
6153f42b0d2009d25d5029c43296d751f52a505a
5828180e9d477cac2f188a110679b3c22943747f
/Command Pattern/diner/src/diner/LightCommand.java
1c7e3a6a817447137c83cfaf0af557ee7de5a7f5
[]
no_license
akmal-kilichbekov/Design-Patterns
1abaf8ebc848ede349dff54e5d35f6c01260abf1
d38d08bd95de3005490f967d3dca44a94e711318
refs/heads/master
2022-11-01T17:14:53.805988
2020-06-18T11:39:39
2020-06-18T11:39:39
272,970,245
0
0
null
null
null
null
UTF-8
Java
false
false
248
java
package diner; public class LightCommand implements Command{ private Light light; public LightCommand(Light light) { this.light = light; } public void execute() { light.on(); } }
[ "akmal.kilichbekov@sap.com" ]
akmal.kilichbekov@sap.com
79d5ba2b88fff0258c16ad0ecfa471e5aa50660a
0584a6a9be1a7d77f5bee5d4c72a50f3be4d6965
/mall-Provider-api/provider-omc-api/src/main/java/com/junbaobao/mapper/PcOmcShippingMapper.java
22fbcc30e11638b675188b0fda6c4b80dd2ef60d
[]
no_license
Den-Jun/PC_MALL
a590c7dec43c56136721a3cc4382aefed9f4e401
e89c269f26a673494427e971285e68ffdbba5d42
refs/heads/master
2022-06-24T09:15:15.781231
2019-11-28T06:44:57
2019-11-28T06:44:57
224,586,715
0
0
null
2022-06-21T02:20:00
2019-11-28T06:39:59
Java
UTF-8
Java
false
false
397
java
package com.junbaobao.mapper; import com.junbaobao.model.PcOmcShipping; public interface PcOmcShippingMapper { int deleteByPrimaryKey(Long id); int insert(PcOmcShipping record); int insertSelective(PcOmcShipping record); PcOmcShipping selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(PcOmcShipping record); int updateByPrimaryKey(PcOmcShipping record); }
[ "you@example.com" ]
you@example.com
3b1113b598eee7e0e6f67d810a28285ccf692497
12c126c460bf371958d6faffc83fc9179150d76b
/BasicJSP/src/bean/User.java
57985915871fab75ac51ae504e07d832d3771c41
[]
no_license
ravenswp/test
0a141d12636d9c44341456e6fe39b2afc556ac04
408ae8918945a553de34319e1a4e784d371f8769
refs/heads/master
2020-05-02T10:02:18.043784
2019-03-27T00:00:59
2019-03-27T00:00:59
177,886,754
0
0
null
null
null
null
UTF-8
Java
false
false
364
java
package bean; public class User { private String name; private int num; public User() { super(); this.name = null; this.num = 0; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getNum() { return num; } public void setNum(int num) { this.num = num; } }
[ "ravenswp1973@gmail.com" ]
ravenswp1973@gmail.com
95aa9f172978ff8eb64e4d11fdc245d897e5c577
fa91450deb625cda070e82d5c31770be5ca1dec6
/Diff-Raw-Data/2/2_92b909f7cd1d4a6fdd2bde357c6c39882fc9b502/RefreshFeedTask/2_92b909f7cd1d4a6fdd2bde357c6c39882fc9b502_RefreshFeedTask_t.java
ba578ba64b9d395c9a54baa5c1ec94c138555242
[]
no_license
zhongxingyu/Seer
48e7e5197624d7afa94d23f849f8ea2075bcaec0
c11a3109fdfca9be337e509ecb2c085b60076213
refs/heads/master
2023-07-06T12:48:55.516692
2023-06-22T07:55:56
2023-06-22T07:55:56
259,613,157
6
2
null
2023-06-22T07:55:57
2020-04-28T11:07:49
null
UTF-8
Java
false
false
18,478
java
package de.hdodenhof.feedreader.tasks; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.Locale; import java.util.TimeZone; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.nodes.TextNode; import org.jsoup.select.Elements; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import org.xmlpull.v1.XmlPullParserFactory; import android.content.ContentResolver; import android.content.ContentValues; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.os.AsyncTask; import android.os.Handler; import android.os.Message; import android.preference.PreferenceManager; import android.util.Log; import de.hdodenhof.feedreader.R; import de.hdodenhof.feedreader.provider.RSSContentProvider; import de.hdodenhof.feedreader.provider.SQLiteHelper; import de.hdodenhof.feedreader.provider.SQLiteHelper.ArticleDAO; import de.hdodenhof.feedreader.provider.SQLiteHelper.FeedDAO; public class RefreshFeedTask extends AsyncTask<Integer, Void, Integer> { @SuppressWarnings("unused") private static final String TAG = RefreshFeedTask.class.getSimpleName(); public static final int SUCCESS = 0; public static final int ERROR_IOEXCEPTION = 1; public static final int ERROR_XMLPULLPARSEREXCEPTION = 2; private static final int SUMMARY_MAXLENGTH = 250; private static final String DATE_FORMATS[] = { "EEE, dd MMM yyyy HH:mm:ss Z", "EEE, dd MMM yyyy HH:mm:ss z", "yyyy-MM-dd'T'HH:mm:ssz", "yyyy-MM-dd'T'HH:mm:ssZ", "yyyy-MM-dd'T'HH:mm:ss'Z'", "yyyy-MM-dd'T'HH:mm:ss.SSSZ" }; private SimpleDateFormat mSimpleDateFormats[] = new SimpleDateFormat[DATE_FORMATS.length]; private int mKeepReadArticlesDays; private int mKeepUnreadArticlesDays; private Handler mMainUIHandler; private Context mContext; private int returnCondition = SUCCESS; public RefreshFeedTask(Handler mainUIHandler, Context context) { mMainUIHandler = mainUIHandler; mContext = context; for (int i = 0; i < DATE_FORMATS.length; i++) { mSimpleDateFormats[i] = new SimpleDateFormat(DATE_FORMATS[i], Locale.US); mSimpleDateFormats[i].setTimeZone(TimeZone.getTimeZone("GMT")); } SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(mContext); mKeepReadArticlesDays = Integer.parseInt(sharedPrefs.getString("pref_keep_read_articles_days", "3")); mKeepUnreadArticlesDays = Integer.parseInt(sharedPrefs.getString("pref_keep_unread_articles_days", "7")); } protected Integer doInBackground(Integer... params) { int mFeedID = params[0]; ContentResolver contentResolver = mContext.getContentResolver(); ArrayList<ContentValues> contentValuesArrayList = new ArrayList<ContentValues>(); ArrayList<String> existingArticles = new ArrayList<String>(); Date minimumDate; Date newestArticleDate = new Date(0); Date articleNotOlderThan = pastDate(mKeepUnreadArticlesDays); boolean isArticle = false; boolean linkOverride = false; String title = null; String summary = null; String content = null; String guid = null; Date pubdate = null; Date updated = null; String link = null; try { String feedURL = queryURL(mFeedID); Log.v(TAG, "id_" + mFeedID + ": " + feedURL); // mark read articles after KEEP_READ_ARTICLES_DAYS as deleted ContentValues contentValues = new ContentValues(); contentValues.put(ArticleDAO.ISDELETED, 1); int dbupdated = contentResolver.update(RSSContentProvider.URI_ARTICLES, contentValues, ArticleDAO.FEEDID + " = ? AND " + ArticleDAO.PUBDATE + " < ? AND " + ArticleDAO.READ + " IS NOT NULL", new String[] { String.valueOf(mFeedID), SQLiteHelper.fromDate(pastDate(mKeepReadArticlesDays)) }); Log.v(TAG, "id_" + mFeedID + ": Marked " + dbupdated + " old articles as deleted"); // delete all articles after MAX_NEW_ARTICLES_AGE_DAYS int deleted = contentResolver.delete(RSSContentProvider.URI_ARTICLES, ArticleDAO.FEEDID + " = ? AND " + ArticleDAO.PUBDATE + " < ?", new String[] { String.valueOf(mFeedID), SQLiteHelper.fromDate(pastDate(mKeepUnreadArticlesDays)) }); Log.v(TAG, "id_" + mFeedID + ": Deleted " + deleted + " old unread articles"); existingArticles = queryArticles(contentResolver, mFeedID); newestArticleDate = queryNewestArticleDate(contentResolver, mFeedID); Log.v(TAG, "id_" + mFeedID + ": existing articles: " + existingArticles.size()); Log.v(TAG, "id_" + mFeedID + ": newestArticleDate: " + newestArticleDate); Log.v(TAG, "id_" + mFeedID + ": articleNotOlderThan: " + articleNotOlderThan); if (newestArticleDate.equals(new Date(0))) { minimumDate = articleNotOlderThan; } else { minimumDate = articleNotOlderThan.before(newestArticleDate) ? newestArticleDate : articleNotOlderThan; } Log.v(TAG, "id_" + mFeedID + ": minimumDate: " + minimumDate); URLConnection connection = new URL(feedURL).openConnection(); connection.setRequestProperty("User-agent", mContext.getResources().getString(R.string.AppName) + "/" + mContext.getResources().getString(R.string.AppVersionName)); InputStream inputStream = connection.getInputStream(); XmlPullParserFactory parserFactory = XmlPullParserFactory.newInstance(); parserFactory.setNamespaceAware(true); XmlPullParser pullParser = parserFactory.newPullParser(); pullParser.setInput(inputStream, null); int eventType = pullParser.getEventType(); while (eventType != XmlPullParser.END_DOCUMENT) { if (eventType == XmlPullParser.START_TAG) { String currentTag = pullParser.getName(); String currentPrefix = pullParser.getPrefix(); if (currentPrefix == null) { currentPrefix = ""; } if (currentTag.equalsIgnoreCase("item") || currentTag.equalsIgnoreCase("entry")) { isArticle = true; } else if (currentTag.equalsIgnoreCase("title") && isArticle == true) { title = pullParser.nextText(); } else if ((currentTag.equalsIgnoreCase("summary") || currentTag.equalsIgnoreCase("description")) && isArticle == true && currentPrefix.equalsIgnoreCase("")) { summary = pullParser.nextText(); } else if (((currentTag.equalsIgnoreCase("encoded") && currentPrefix.equalsIgnoreCase("content")) || (currentTag .equalsIgnoreCase("content") && currentPrefix.equalsIgnoreCase(""))) && isArticle == true) { if (pullParser.getText() != null) { content = pullParser.nextText(); } else { boolean isEncodedContent = false; if (pullParser.getAttributeCount() > 0) { for (int i = 0; i < pullParser.getAttributeCount(); i++) { if (pullParser.getAttributeName(i).equals("type")) { isEncodedContent = (pullParser.getAttributeValue(i).equals("html") || pullParser.getAttributeValue(i).equals("xhtml")); break; } } } if (isEncodedContent) { while (pullParser.getEventType() != XmlPullParser.END_TAG && !pullParser.getName().equals("content")) { pullParser.next(); } } else { pullParser.next(); } } } else if ((currentTag.equalsIgnoreCase("guid") || currentTag.equalsIgnoreCase("id")) && isArticle == true) { guid = pullParser.nextText(); } else if (currentTag.equalsIgnoreCase("pubdate") || currentTag.equalsIgnoreCase("published") || currentTag.equalsIgnoreCase("date") && isArticle == true) { pubdate = parsePubdate(pullParser.nextText()); } else if (currentTag.equalsIgnoreCase("updated") && isArticle == true) { updated = parsePubdate(pullParser.nextText()); } else if (currentTag.equalsIgnoreCase("link") && isArticle == true) { String tmpLink = pullParser.getText(); if (tmpLink == null) { if (pullParser.getAttributeCount() > 0) { for (int i = 0; i < pullParser.getAttributeCount(); i++) { if (pullParser.getAttributeName(i).equals("href")) { tmpLink = pullParser.getAttributeValue(i); break; } } } } if (!linkOverride && tmpLink != null) { link = tmpLink; pullParser.next(); } } else if (currentTag.equalsIgnoreCase("origLink") && isArticle == true) { link = pullParser.nextText(); linkOverride = true; } } else if (eventType == XmlPullParser.END_TAG) { String currentTag = pullParser.getName(); if (currentTag.equalsIgnoreCase("item") || currentTag.equalsIgnoreCase("entry")) { isArticle = false; Log.v(TAG, "id_" + mFeedID + ": working on " + guid); if (pubdate == null) { pubdate = updated; } if (guid == null) { guid = link; } if (pubdate.before(minimumDate)) { Log.v(TAG, "id_" + mFeedID + ": pubdate (" + pubdate + ") < minimumDate (" + minimumDate + "), breaking"); break; } else { Log.v(TAG, "id_" + mFeedID + ": pubdate (" + pubdate + ") >= minimumDate (" + minimumDate + ")"); } if (!existingArticles.contains(guid)) { ContentValues newArticle = prepareArticle(mFeedID, guid, link, pubdate, title, summary, content); if (newArticle != null) { Log.v(TAG, "id_" + mFeedID + ": adding " + guid); contentValuesArrayList.add(newArticle); } else { Log.e(TAG, "id_" + mFeedID + ": " + guid + " cannot be added"); } } title = null; summary = null; content = null; guid = null; pubdate = null; updated = null; link = null; } } eventType = pullParser.next(); } inputStream.close(); ContentValues[] contentValuesArray = new ContentValues[contentValuesArrayList.size()]; contentValuesArray = contentValuesArrayList.toArray(contentValuesArray); contentResolver.bulkInsert(RSSContentProvider.URI_ARTICLES, contentValuesArray); } catch (IOException e) { Log.v(TAG, "id_" + mFeedID + ": IOEXCEPTION"); returnCondition = ERROR_IOEXCEPTION; } catch (XmlPullParserException e) { Log.v(TAG, "id_" + mFeedID + ": XMLPULLPARSEREXCEPTION"); returnCondition = ERROR_XMLPULLPARSEREXCEPTION; } catch (RuntimeException e) { Log.v(TAG, "id_" + mFeedID + ": RUNTIMEEXCEPTION"); e.printStackTrace(); } return mFeedID; } @Override protected void onPreExecute() { super.onPreExecute(); } @Override protected void onPostExecute(Integer result) { Message msg = Message.obtain(); msg.what = 2; msg.arg1 = result; msg.arg2 = returnCondition; mMainUIHandler.sendMessage(msg); } private ArrayList<String> queryArticles(ContentResolver contentResolver, int feedID) { ArrayList<String> articles = new ArrayList<String>(); Cursor cursor = contentResolver.query(RSSContentProvider.URI_ARTICLES, new String[] { ArticleDAO._ID, ArticleDAO.GUID, ArticleDAO.PUBDATE }, ArticleDAO.FEEDID + " = ?", new String[] { String.valueOf(feedID) }, ArticleDAO.PUBDATE + " DESC"); if (cursor.getCount() > 0) { cursor.moveToFirst(); do { articles.add(cursor.getString(cursor.getColumnIndex(ArticleDAO.GUID))); } while (cursor.moveToNext()); } cursor.close(); return articles; } private Date queryNewestArticleDate(ContentResolver contentResolver, int feedID) { Date maxDate = new Date(0); Cursor cursor = contentResolver.query(RSSContentProvider.URI_ARTICLES, new String[] { ArticleDAO._ID, ArticleDAO.PUBDATE }, ArticleDAO.FEEDID + " = ?", new String[] { String.valueOf(feedID) }, ArticleDAO.PUBDATE + " DESC"); if (cursor.getCount() > 0) { cursor.moveToFirst(); maxDate = SQLiteHelper.toDate(cursor.getString(cursor.getColumnIndex(ArticleDAO.PUBDATE))); } cursor.close(); return maxDate; } private Date pastDate(int interval) { Calendar calendar = Calendar.getInstance(); calendar.add(Calendar.DATE, -interval); return calendar.getTime(); } private String queryURL(int feedID) { String feedURL = ""; ContentResolver contentResolver = mContext.getContentResolver(); Cursor cursor = contentResolver.query(RSSContentProvider.URI_FEEDS, new String[] { FeedDAO._ID, FeedDAO.URL }, FeedDAO._ID + " = ?", new String[] { String.valueOf(feedID) }, null); if (cursor.getCount() > 0) { cursor.moveToFirst(); feedURL = cursor.getString(cursor.getColumnIndex(FeedDAO.URL)); } cursor.close(); return feedURL; } private Date parsePubdate(String rawDate) throws XmlPullParserException { Date parsedDate = null; for (int j = 0; j < DATE_FORMATS.length; j++) { try { parsedDate = mSimpleDateFormats[j].parse(rawDate.replaceAll("([\\+\\-]\\d\\d):(\\d\\d)", "$1$2")); break; } catch (ParseException mParserException) { if (j == DATE_FORMATS.length - 1) { throw new XmlPullParserException(mParserException.getMessage()); } } } return parsedDate; } private ContentValues prepareArticle(int feedID, String guid, String link, Date pubdate, String title, String summary, String content) { boolean missingContent = false; boolean missingSummary = false; if (content == null) { missingContent = true; } if (summary == null) { missingSummary = true; } if (missingContent && missingSummary) { return null; } if (missingContent) { content = summary; } else if (missingSummary) { summary = content; } Document parsedContent = Jsoup.parse(content); Elements iframes = parsedContent.getElementsByTag("iframe"); TextNode placeholder = new TextNode("(video removed)", null); for (Element mIframe : iframes) { mIframe.replaceWith(placeholder); } content = parsedContent.html(); Document parsedSummary = Jsoup.parse(summary); Elements pics = parsedSummary.getElementsByTag("img"); for (Element pic : pics) { pic.remove(); } summary = parsedSummary.text(); if (summary.length() > SUMMARY_MAXLENGTH) { summary = summary.substring(0, SUMMARY_MAXLENGTH) + "..."; } Element image = parsedContent.select("img").first(); ContentValues contentValues = new ContentValues(); contentValues.put(ArticleDAO.FEEDID, feedID); contentValues.put(ArticleDAO.GUID, guid); contentValues.put(ArticleDAO.LINK, link); contentValues.put(ArticleDAO.PUBDATE, SQLiteHelper.fromDate(pubdate)); contentValues.put(ArticleDAO.TITLE, title); contentValues.put(ArticleDAO.SUMMARY, summary); contentValues.put(ArticleDAO.CONTENT, content); if (image != null) { contentValues.put(ArticleDAO.IMAGE, image.absUrl("src")); } contentValues.put(ArticleDAO.ISDELETED, 0); return contentValues; } }
[ "yuzhongxing88@gmail.com" ]
yuzhongxing88@gmail.com
446c757f0c4a3772e82e39dc92f21f0e26f08d48
348bf4e190fa467716f7bef5d723a6d9a323dbba
/src/main/java/com/ax/apps/cms/service/impl/ArticleServiceImpl.java
3243c9739e2c81e5ca8f789993919ed2e87d75a2
[]
no_license
Alex-Git-Personal/cms01
e416b050c73aa1b1bfac8376c150c715bc2c41c5
7dc2a6fb788c86ed53bd3c50bb3793e9b8075ff4
refs/heads/master
2020-09-14T12:57:05.705777
2019-12-27T02:38:07
2019-12-27T02:38:07
223,133,485
0
0
null
null
null
null
UTF-8
Java
false
false
1,897
java
package com.ax.apps.cms.service.impl; import com.ax.apps.cms.bean.Article; import com.ax.apps.cms.bean.ArticleExample; import com.ax.apps.cms.bean.extend.ArticleExtend; import com.ax.apps.cms.dao.ArticleMapper; import com.ax.apps.cms.dao.extend.ArticleExtendMapper; import com.ax.apps.cms.service.IArticleService; import com.ax.apps.cms.utils.CustomerException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.util.Date; import java.util.List; @Service public class ArticleServiceImpl implements IArticleService { @Autowired private ArticleMapper articleMapper; @Autowired private ArticleExtendMapper articleExtendMapper; @Override public List<Article> findAll() { return articleMapper.selectByExample(new ArticleExample()); } @Override public List<ArticleExtend> cascadeFindAll() { return articleExtendMapper.selectAll(); } @Override public ArticleExtend findById(long id) { return articleExtendMapper.findById(id); } @Override public void saveOrUpdate(Article article) { if (article.getId()!=null){ articleMapper.updateByPrimaryKey(article); }else{ //标题不能重复 ArticleExample example =new ArticleExample(); example.createCriteria().andTitleEqualTo(article.getTitle()); List<Article> articles=articleMapper.selectByExample(example); if(articles.size()>0){ throw new CustomerException("标题不能重复!!!"); } article.setPublishTime(new Date().getTime()); article.setStatus(ArticleExtend.STATUS_UNCHECK); article.setThumpUp(0l); article.setThumpDown(0l); articleMapper.insert(article); } } }
[ "57667309+Alex-Git-Personal@users.noreply.github.com" ]
57667309+Alex-Git-Personal@users.noreply.github.com
e92e27dae0811cc5e516d759696743bfc9ace51b
7e367d96cda31e0751f0c84d243c9f792b09166d
/src/main/java_paotui/com/xgh/paotui/weixin/AccessToken.java
42f281cac1c5e0a626b43073c969c965abb1e481
[]
no_license
bithup/paotui
ac42e22dcb2dac4979f802af25a2382d75e297f7
c17c70364dea6cb8fe363edd45b7528558cd2f0c
refs/heads/master
2021-06-21T00:27:04.093140
2017-07-26T08:07:22
2017-07-26T08:07:22
98,391,700
0
0
null
null
null
null
UTF-8
Java
false
false
782
java
package com.xgh.paotui.weixin; /** * 微信AccessToken */ public class AccessToken { private String accessToken; private int expiresin; // 定义一个私有的构造方法 private AccessToken() { } private static final AccessToken instance = new AccessToken(); // 静态方法返回该类的实例 public static AccessToken getInstance() { return instance; } public String getAccessToken() { return accessToken; } public void setAccessToken(String accessToken) { this.accessToken = accessToken; } public int getExpiresin() { return expiresin; } public void setExpiresin(int expiresin) { this.expiresin = expiresin; } }
[ "bithup@foxmail.com" ]
bithup@foxmail.com
f4b81ef5bea3f49a219ee71fad38e84166744b22
7b8dde1b1c4b802f8d7d922af427e2b94662048c
/src/main/java/atividade/venda.java
3f644f3e31cc7c7f99b3fab2d51f0a3c073fb918
[]
no_license
caiolombello/exercicios.java
22fdd4808a5666ccb21c9f6474e24ddcb304f17f
cb82fa591b262288a301153e308519c2c69ced6b
refs/heads/master
2023-07-24T16:09:32.888541
2021-09-08T17:46:51
2021-09-08T17:46:51
400,207,144
0
0
null
null
null
null
UTF-8
Java
false
false
816
java
// 5) um programa que peça ao usuário para digitar um valor da venda, o valor do imposto, e o valor do desconto. // O programa deverá calcular o valor final da venda considerando a fórmula: valor final = valor da venda + valor do imposto - valor do desconto package atividade; import java.util.Scanner; public class venda { public static void main(String[] args){ Scanner sc = new Scanner(System.in); System.out.print("Valor da venda: "); double valor = sc.nextDouble(); System.out.print("Valor do imposto: "); double imposto = sc.nextDouble(); System.out.print("Valor do desconto: "); double desconto = sc.nextDouble(); valor = valor + imposto - desconto; System.out.print("O valor final da venda fica em R$" + valor); } }
[ "caiolvbarbieri@pm.me" ]
caiolvbarbieri@pm.me
b501e1fe25aa254eeb925ef903138619728fe929
e9affefd4e89b3c7e2064fee8833d7838c0e0abc
/aws-java-sdk-chimesdkidentity/src/main/java/com/amazonaws/services/chimesdkidentity/model/ListAppInstanceAdminsRequest.java
7bf91c08c94d927342b140bde14c38396548bbdf
[ "Apache-2.0" ]
permissive
aws/aws-sdk-java
2c6199b12b47345b5d3c50e425dabba56e279190
bab987ab604575f41a76864f755f49386e3264b4
refs/heads/master
2023-08-29T10:49:07.379135
2023-08-28T21:05:55
2023-08-28T21:05:55
574,877
3,695
3,092
Apache-2.0
2023-09-13T23:35:28
2010-03-22T23:34:58
null
UTF-8
Java
false
false
7,211
java
/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.chimesdkidentity.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins" * target="_top">AWS API Documentation</a> */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ListAppInstanceAdminsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** * <p> * The ARN of the <code>AppInstance</code>. * </p> */ private String appInstanceArn; /** * <p> * The maximum number of administrators that you want to return. * </p> */ private Integer maxResults; /** * <p> * The token returned from previous API requests until the number of administrators is reached. * </p> */ private String nextToken; /** * <p> * The ARN of the <code>AppInstance</code>. * </p> * * @param appInstanceArn * The ARN of the <code>AppInstance</code>. */ public void setAppInstanceArn(String appInstanceArn) { this.appInstanceArn = appInstanceArn; } /** * <p> * The ARN of the <code>AppInstance</code>. * </p> * * @return The ARN of the <code>AppInstance</code>. */ public String getAppInstanceArn() { return this.appInstanceArn; } /** * <p> * The ARN of the <code>AppInstance</code>. * </p> * * @param appInstanceArn * The ARN of the <code>AppInstance</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public ListAppInstanceAdminsRequest withAppInstanceArn(String appInstanceArn) { setAppInstanceArn(appInstanceArn); return this; } /** * <p> * The maximum number of administrators that you want to return. * </p> * * @param maxResults * The maximum number of administrators that you want to return. */ public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } /** * <p> * The maximum number of administrators that you want to return. * </p> * * @return The maximum number of administrators that you want to return. */ public Integer getMaxResults() { return this.maxResults; } /** * <p> * The maximum number of administrators that you want to return. * </p> * * @param maxResults * The maximum number of administrators that you want to return. * @return Returns a reference to this object so that method calls can be chained together. */ public ListAppInstanceAdminsRequest withMaxResults(Integer maxResults) { setMaxResults(maxResults); return this; } /** * <p> * The token returned from previous API requests until the number of administrators is reached. * </p> * * @param nextToken * The token returned from previous API requests until the number of administrators is reached. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** * <p> * The token returned from previous API requests until the number of administrators is reached. * </p> * * @return The token returned from previous API requests until the number of administrators is reached. */ public String getNextToken() { return this.nextToken; } /** * <p> * The token returned from previous API requests until the number of administrators is reached. * </p> * * @param nextToken * The token returned from previous API requests until the number of administrators is reached. * @return Returns a reference to this object so that method calls can be chained together. */ public ListAppInstanceAdminsRequest withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getAppInstanceArn() != null) sb.append("AppInstanceArn: ").append(getAppInstanceArn()).append(","); if (getMaxResults() != null) sb.append("MaxResults: ").append(getMaxResults()).append(","); if (getNextToken() != null) sb.append("NextToken: ").append("***Sensitive Data Redacted***"); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ListAppInstanceAdminsRequest == false) return false; ListAppInstanceAdminsRequest other = (ListAppInstanceAdminsRequest) obj; if (other.getAppInstanceArn() == null ^ this.getAppInstanceArn() == null) return false; if (other.getAppInstanceArn() != null && other.getAppInstanceArn().equals(this.getAppInstanceArn()) == false) return false; if (other.getMaxResults() == null ^ this.getMaxResults() == null) return false; if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false) return false; if (other.getNextToken() == null ^ this.getNextToken() == null) return false; if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAppInstanceArn() == null) ? 0 : getAppInstanceArn().hashCode()); hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode()); hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); return hashCode; } @Override public ListAppInstanceAdminsRequest clone() { return (ListAppInstanceAdminsRequest) super.clone(); } }
[ "" ]
a4cc39f75f686b5b4a52f57caf7edd5a02f29640
81b870ed2cdb93a1dab755c733b73d0ef51f6d21
/auth-center-service/auth-center-autoconfig/src/main/java/cn/luokaiii/auth/autoconfig/utils/AccessTokenUtils.java
be87d5d9a9bc6d1473877b55aba4ce802298a989
[]
no_license
luokaiii/movie-cloud
34fcf585dc76fbb027110952b7f28b2f03b7d9b9
d3732aa93e13c5795ff4dc4e7864a2d56296c483
refs/heads/master
2020-04-29T16:20:25.870747
2019-04-01T09:20:41
2019-04-01T09:20:41
176,256,072
0
0
null
null
null
null
UTF-8
Java
false
false
2,284
java
package cn.luokaiii.auth.autoconfig.utils; import cn.luokaiii.auth.api.pojo.Constant; import cn.luokaiii.user.api.model.ModuleResources; import cn.luokaiii.user.api.model.MovieRole; import cn.luokaiii.user.api.model.MovieUser; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.security.access.AccessDeniedException; import org.springframework.security.core.Authentication; import org.springframework.security.oauth2.common.OAuth2AccessToken; import org.springframework.security.oauth2.provider.authentication.TokenExtractor; import org.springframework.security.oauth2.provider.token.TokenStore; import javax.servlet.http.HttpServletRequest; import java.util.List; public class AccessTokenUtils { @Autowired private TokenStore tokenStore; @Autowired private HttpServletRequest request; @Autowired private TokenExtractor tokenExtractor; @Autowired private RedisTemplate<String, MovieRole> roleTemplate; @Autowired private RedisTemplate<String, ModuleResources> resourcesTemplate; /** * 从token获取用户信息 */ public MovieUser getUserInfo() { return (MovieUser) getAccessToken().getAdditionalInformation().get(Constant.USER_INFO); } public List<MovieRole> getRoleInfo() { String userId = getUserInfo().getId(); long size = roleTemplate.opsForList().size(userId); return roleTemplate.opsForList().range(userId, 0, size); } public List<ModuleResources> getMenuInfo() { String key = getUserInfo().getId() + "-menu"; long size = resourcesTemplate.opsForList().size(key); return resourcesTemplate.opsForList().range(key, 0, size); } private OAuth2AccessToken getAccessToken() throws AccessDeniedException { OAuth2AccessToken token; // 抽取token Authentication a = tokenExtractor.extract(request); try { // 调用JwtAccessTokenConverter的extractAccessToken方法解析token token = tokenStore.readAccessToken((String) a.getPrincipal()); } catch (Exception e) { throw new AccessDeniedException("AccessToken Not Found."); } return token; } }
[ "17301858781@163.com" ]
17301858781@163.com
35f283ec28dcf1442db960f31bfbaea886e3df1f
74cd09856af432674aa38ad1f3212d4c04eafe1c
/src/main/java/com/news/translator/service/DieZeitServiceImpl.java
610d029e6599994e2263ed9a10a55580e69c5009
[]
no_license
lewisbarber/news-translator
642c45e925696d957289cb151141c5d1f3c134b0
376b72926cc6bb37c22927ef92b4d8f6c0f7e9f1
refs/heads/master
2021-01-01T18:17:50.751774
2014-11-06T23:47:45
2014-11-06T23:47:45
26,292,802
1
0
null
null
null
null
UTF-8
Java
false
false
1,958
java
package com.news.translator.service; import java.util.ArrayList; import java.util.List; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import org.springframework.stereotype.Service; @Service public class DieZeitServiceImpl implements DieZeitService { @Override public Boolean isLinkValid(String link) { return link.contains("http://www") && !link.contains("-live"); } @Override public List<String> getArticleLinks(Document doc) { Elements imageLinks = doc.getElementsByAttributeValue("class", "teaser-image-wrap"); List<String> articleLinks = new ArrayList<String>(); for (Element link : imageLinks) { String linkContent = link.attr("href"); articleLinks.add(linkContent); } return articleLinks; } @Override public List<String> getArticleParagraphs(Document doc) { Elements bodyElements = doc.getElementsByAttributeValue("class", "article-body"); List<String> finalParagraphs = new ArrayList<String>(); if (bodyElements.size() > 0) { Element bodyHolder = bodyElements.get(0); Elements paragraphs = bodyHolder.getElementsByTag("p"); for (Element paragraph : paragraphs) { if (!paragraph.hasAttr("class")) { finalParagraphs.add(paragraph.text()); } } } return finalParagraphs; } @Override public String getArticleTitle(Document doc) { Elements titleElements = doc.getElementsByAttributeValue("class", "title"); String articleTitle = null; for (Element element : titleElements) { if (element.tagName() == "span") { articleTitle = element.text(); } } return articleTitle; } @Override public String getArticleImage(Document doc) { Elements imageElements = doc.getElementsByAttributeValue("rel", "image_src"); String articleImage = null; for (Element element : imageElements) { if (element.tagName() == "link") { articleImage = element.attr("href"); } } return articleImage; } }
[ "lewis_barber@hotmail.com" ]
lewis_barber@hotmail.com
b5ba4b6b4378aed6d22c216128ca31a7574825fb
5598faaaaa6b3d1d8502cbdaca903f9037d99600
/code_changes/Apache_projects/HDFS-162/c14bb61a82f58b8b3ae37c6a6cc4fabe9f65dbec/CLI.java
f2ae5c04050a0f72935786510e2110458fd7d5b5
[]
no_license
SPEAR-SE/LogInBugReportsEmpirical_Data
94d1178346b4624ebe90cf515702fac86f8e2672
ab9603c66899b48b0b86bdf63ae7f7a604212b29
refs/heads/master
2022-12-18T02:07:18.084659
2020-09-09T16:49:34
2020-09-09T16:49:34
286,338,252
0
2
null
null
null
null
UTF-8
Java
false
false
22,515
java
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.hadoop.mapreduce.tools; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import java.util.Set; import java.util.HashSet; import java.util.Arrays; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.classification.InterfaceAudience.Private; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.ipc.RemoteException; import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.TIPStatus; import org.apache.hadoop.mapreduce.Cluster; import org.apache.hadoop.mapreduce.Counters; import org.apache.hadoop.mapreduce.Job; import org.apache.hadoop.mapreduce.JobID; import org.apache.hadoop.mapreduce.JobPriority; import org.apache.hadoop.mapreduce.JobStatus; import org.apache.hadoop.mapreduce.TaskAttemptID; import org.apache.hadoop.mapreduce.TaskCompletionEvent; import org.apache.hadoop.mapreduce.TaskReport; import org.apache.hadoop.mapreduce.TaskTrackerInfo; import org.apache.hadoop.mapreduce.TaskType; import org.apache.hadoop.mapreduce.jobhistory.HistoryViewer; import org.apache.hadoop.mapreduce.v2.LogParams; import org.apache.hadoop.security.AccessControlException; import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; import org.apache.hadoop.yarn.logaggregation.LogDumper; /** * Interprets the map reduce cli options */ @InterfaceAudience.Public @InterfaceStability.Stable public class CLI extends Configured implements Tool { private static final Log LOG = LogFactory.getLog(CLI.class); protected Cluster cluster; private final Set<String> taskTypes = new HashSet<String>( Arrays.asList("map", "reduce", "setup", "cleanup")); private final Set<String> taskStates = new HashSet<String>( Arrays.asList("pending", "running", "completed", "failed", "killed")); public CLI() { } public CLI(Configuration conf) { setConf(conf); } public int run(String[] argv) throws Exception { int exitCode = -1; if (argv.length < 1) { displayUsage(""); return exitCode; } // process arguments String cmd = argv[0]; String submitJobFile = null; String jobid = null; String taskid = null; String historyFile = null; String counterGroupName = null; String counterName = null; JobPriority jp = null; String taskType = null; String taskState = null; int fromEvent = 0; int nEvents = 0; boolean getStatus = false; boolean getCounter = false; boolean killJob = false; boolean listEvents = false; boolean viewHistory = false; boolean viewAllHistory = false; boolean listJobs = false; boolean listAllJobs = false; boolean listActiveTrackers = false; boolean listBlacklistedTrackers = false; boolean displayTasks = false; boolean killTask = false; boolean failTask = false; boolean setJobPriority = false; boolean logs = false; if ("-submit".equals(cmd)) { if (argv.length != 2) { displayUsage(cmd); return exitCode; } submitJobFile = argv[1]; } else if ("-status".equals(cmd)) { if (argv.length != 2) { displayUsage(cmd); return exitCode; } jobid = argv[1]; getStatus = true; } else if("-counter".equals(cmd)) { if (argv.length != 4) { displayUsage(cmd); return exitCode; } getCounter = true; jobid = argv[1]; counterGroupName = argv[2]; counterName = argv[3]; } else if ("-kill".equals(cmd)) { if (argv.length != 2) { displayUsage(cmd); return exitCode; } jobid = argv[1]; killJob = true; } else if ("-set-priority".equals(cmd)) { if (argv.length != 3) { displayUsage(cmd); return exitCode; } jobid = argv[1]; try { jp = JobPriority.valueOf(argv[2]); } catch (IllegalArgumentException iae) { LOG.info(iae); displayUsage(cmd); return exitCode; } setJobPriority = true; } else if ("-events".equals(cmd)) { if (argv.length != 4) { displayUsage(cmd); return exitCode; } jobid = argv[1]; fromEvent = Integer.parseInt(argv[2]); nEvents = Integer.parseInt(argv[3]); listEvents = true; } else if ("-history".equals(cmd)) { if (argv.length != 2 && !(argv.length == 3 && "all".equals(argv[1]))) { displayUsage(cmd); return exitCode; } viewHistory = true; if (argv.length == 3 && "all".equals(argv[1])) { viewAllHistory = true; historyFile = argv[2]; } else { historyFile = argv[1]; } } else if ("-list".equals(cmd)) { if (argv.length != 1 && !(argv.length == 2 && "all".equals(argv[1]))) { displayUsage(cmd); return exitCode; } if (argv.length == 2 && "all".equals(argv[1])) { listAllJobs = true; } else { listJobs = true; } } else if("-kill-task".equals(cmd)) { if (argv.length != 2) { displayUsage(cmd); return exitCode; } killTask = true; taskid = argv[1]; } else if("-fail-task".equals(cmd)) { if (argv.length != 2) { displayUsage(cmd); return exitCode; } failTask = true; taskid = argv[1]; } else if ("-list-active-trackers".equals(cmd)) { if (argv.length != 1) { displayUsage(cmd); return exitCode; } listActiveTrackers = true; } else if ("-list-blacklisted-trackers".equals(cmd)) { if (argv.length != 1) { displayUsage(cmd); return exitCode; } listBlacklistedTrackers = true; } else if ("-list-attempt-ids".equals(cmd)) { if (argv.length != 4) { displayUsage(cmd); return exitCode; } jobid = argv[1]; taskType = argv[2]; taskState = argv[3]; displayTasks = true; } else if ("-logs".equals(cmd)) { if (argv.length == 2 || argv.length ==3) { logs = true; jobid = argv[1]; if (argv.length == 3) { taskid = argv[2]; } else { taskid = null; } } else { displayUsage(cmd); return exitCode; } } else { displayUsage(cmd); return exitCode; } // initialize cluster cluster = new Cluster(getConf()); // Submit the request try { if (submitJobFile != null) { Job job = Job.getInstance(new JobConf(submitJobFile)); job.submit(); System.out.println("Created job " + job.getJobID()); exitCode = 0; } else if (getStatus) { Job job = cluster.getJob(JobID.forName(jobid)); if (job == null) { System.out.println("Could not find job " + jobid); } else { Counters counters = job.getCounters(); System.out.println(); System.out.println(job); if (counters != null) { System.out.println(counters); } else { System.out.println("Counters not available. Job is retired."); } exitCode = 0; } } else if (getCounter) { Job job = cluster.getJob(JobID.forName(jobid)); if (job == null) { System.out.println("Could not find job " + jobid); } else { Counters counters = job.getCounters(); if (counters == null) { System.out.println("Counters not available for retired job " + jobid); exitCode = -1; } else { System.out.println(getCounter(counters, counterGroupName, counterName)); exitCode = 0; } } } else if (killJob) { Job job = cluster.getJob(JobID.forName(jobid)); if (job == null) { System.out.println("Could not find job " + jobid); } else { job.killJob(); System.out.println("Killed job " + jobid); exitCode = 0; } } else if (setJobPriority) { Job job = cluster.getJob(JobID.forName(jobid)); if (job == null) { System.out.println("Could not find job " + jobid); } else { job.setPriority(jp); System.out.println("Changed job priority."); exitCode = 0; } } else if (viewHistory) { viewHistory(historyFile, viewAllHistory); exitCode = 0; } else if (listEvents) { listEvents(cluster.getJob(JobID.forName(jobid)), fromEvent, nEvents); exitCode = 0; } else if (listJobs) { listJobs(cluster); exitCode = 0; } else if (listAllJobs) { listAllJobs(cluster); exitCode = 0; } else if (listActiveTrackers) { listActiveTrackers(cluster); exitCode = 0; } else if (listBlacklistedTrackers) { listBlacklistedTrackers(cluster); exitCode = 0; } else if (displayTasks) { displayTasks(cluster.getJob(JobID.forName(jobid)), taskType, taskState); } else if(killTask) { TaskAttemptID taskID = TaskAttemptID.forName(taskid); Job job = cluster.getJob(taskID.getJobID()); if (job == null) { System.out.println("Could not find job " + jobid); } else if (job.killTask(taskID)) { System.out.println("Killed task " + taskid); exitCode = 0; } else { System.out.println("Could not kill task " + taskid); exitCode = -1; } } else if(failTask) { TaskAttemptID taskID = TaskAttemptID.forName(taskid); Job job = cluster.getJob(taskID.getJobID()); if (job == null) { System.out.println("Could not find job " + jobid); } else if(job.failTask(taskID)) { System.out.println("Killed task " + taskID + " by failing it"); exitCode = 0; } else { System.out.println("Could not fail task " + taskid); exitCode = -1; } } else if (logs) { try { JobID jobID = JobID.forName(jobid); TaskAttemptID taskAttemptID = TaskAttemptID.forName(taskid); LogParams logParams = cluster.getLogParams(jobID, taskAttemptID); LogDumper logDumper = new LogDumper(); logDumper.setConf(getConf()); exitCode = logDumper.dumpAContainersLogs(logParams.getApplicationId(), logParams.getContainerId(), logParams.getNodeId(), logParams.getOwner()); } catch (IOException e) { if (e instanceof RemoteException) { throw e; } System.out.println(e.getMessage()); } } } catch (RemoteException re) { IOException unwrappedException = re.unwrapRemoteException(); if (unwrappedException instanceof AccessControlException) { System.out.println(unwrappedException.getMessage()); } else { throw re; } } finally { cluster.close(); } return exitCode; } private String getJobPriorityNames() { StringBuffer sb = new StringBuffer(); for (JobPriority p : JobPriority.values()) { sb.append(p.name()).append(" "); } return sb.substring(0, sb.length()-1); } private String getTaskTypess() { StringBuffer sb = new StringBuffer(); for (TaskType t : TaskType.values()) { sb.append(t.name()).append(" "); } return sb.substring(0, sb.length()-1); } /** * Display usage of the command-line tool and terminate execution. */ private void displayUsage(String cmd) { String prefix = "Usage: CLI "; String jobPriorityValues = getJobPriorityNames(); String taskTypes = getTaskTypess(); String taskStates = "running, completed"; if ("-submit".equals(cmd)) { System.err.println(prefix + "[" + cmd + " <job-file>]"); } else if ("-status".equals(cmd) || "-kill".equals(cmd)) { System.err.println(prefix + "[" + cmd + " <job-id>]"); } else if ("-counter".equals(cmd)) { System.err.println(prefix + "[" + cmd + " <job-id> <group-name> <counter-name>]"); } else if ("-events".equals(cmd)) { System.err.println(prefix + "[" + cmd + " <job-id> <from-event-#> <#-of-events>]. Event #s start from 1."); } else if ("-history".equals(cmd)) { System.err.println(prefix + "[" + cmd + " <jobHistoryFile>]"); } else if ("-list".equals(cmd)) { System.err.println(prefix + "[" + cmd + " [all]]"); } else if ("-kill-task".equals(cmd) || "-fail-task".equals(cmd)) { System.err.println(prefix + "[" + cmd + " <task-attempt-id>]"); } else if ("-set-priority".equals(cmd)) { System.err.println(prefix + "[" + cmd + " <job-id> <priority>]. " + "Valid values for priorities are: " + jobPriorityValues); } else if ("-list-active-trackers".equals(cmd)) { System.err.println(prefix + "[" + cmd + "]"); } else if ("-list-blacklisted-trackers".equals(cmd)) { System.err.println(prefix + "[" + cmd + "]"); } else if ("-list-attempt-ids".equals(cmd)) { System.err.println(prefix + "[" + cmd + " <job-id> <task-type> <task-state>]. " + "Valid values for <task-type> are " + taskTypes + ". " + "Valid values for <task-state> are " + taskStates); } else if ("-logs".equals(cmd)) { System.err.println(prefix + "[" + cmd + " <job-id> <task-attempt-id>]. " + " <task-attempt-id> is optional to get task attempt logs."); } else { System.err.printf(prefix + "<command> <args>\n"); System.err.printf("\t[-submit <job-file>]\n"); System.err.printf("\t[-status <job-id>]\n"); System.err.printf("\t[-counter <job-id> <group-name> <counter-name>]\n"); System.err.printf("\t[-kill <job-id>]\n"); System.err.printf("\t[-set-priority <job-id> <priority>]. " + "Valid values for priorities are: " + jobPriorityValues + "\n"); System.err.printf("\t[-events <job-id> <from-event-#> <#-of-events>]\n"); System.err.printf("\t[-history <jobHistoryFile>]\n"); System.err.printf("\t[-list [all]]\n"); System.err.printf("\t[-list-active-trackers]\n"); System.err.printf("\t[-list-blacklisted-trackers]\n"); System.err.println("\t[-list-attempt-ids <job-id> <task-type> " + "<task-state>]. " + "Valid values for <task-type> are " + taskTypes + ". " + "Valid values for <task-state> are " + taskStates); System.err.printf("\t[-kill-task <task-attempt-id>]\n"); System.err.printf("\t[-fail-task <task-attempt-id>]\n"); System.err.printf("\t[-logs <job-id> <task-attempt-id>]\n\n"); ToolRunner.printGenericCommandUsage(System.out); } } private void viewHistory(String historyFile, boolean all) throws IOException { HistoryViewer historyViewer = new HistoryViewer(historyFile, getConf(), all); historyViewer.print(); } protected long getCounter(Counters counters, String counterGroupName, String counterName) throws IOException { return counters.findCounter(counterGroupName, counterName).getValue(); } /** * List the events for the given job * @param jobId the job id for the job's events to list * @throws IOException */ private void listEvents(Job job, int fromEventId, int numEvents) throws IOException, InterruptedException { TaskCompletionEvent[] events = job. getTaskCompletionEvents(fromEventId, numEvents); System.out.println("Task completion events for " + job.getJobID()); System.out.println("Number of events (from " + fromEventId + ") are: " + events.length); for(TaskCompletionEvent event: events) { System.out.println(event.getStatus() + " " + event.getTaskAttemptId() + " " + getTaskLogURL(event.getTaskAttemptId(), event.getTaskTrackerHttp())); } } protected static String getTaskLogURL(TaskAttemptID taskId, String baseUrl) { return (baseUrl + "/tasklog?plaintext=true&attemptid=" + taskId); } /** * Dump a list of currently running jobs * @throws IOException */ private void listJobs(Cluster cluster) throws IOException, InterruptedException { List<JobStatus> runningJobs = new ArrayList<JobStatus>(); for (JobStatus job : cluster.getAllJobStatuses()) { if (!job.isJobComplete()) { runningJobs.add(job); } } displayJobList(runningJobs.toArray(new JobStatus[0])); } /** * Dump a list of all jobs submitted. * @throws IOException */ private void listAllJobs(Cluster cluster) throws IOException, InterruptedException { displayJobList(cluster.getAllJobStatuses()); } /** * Display the list of active trackers */ private void listActiveTrackers(Cluster cluster) throws IOException, InterruptedException { TaskTrackerInfo[] trackers = cluster.getActiveTaskTrackers(); for (TaskTrackerInfo tracker : trackers) { System.out.println(tracker.getTaskTrackerName()); } } /** * Display the list of blacklisted trackers */ private void listBlacklistedTrackers(Cluster cluster) throws IOException, InterruptedException { TaskTrackerInfo[] trackers = cluster.getBlackListedTaskTrackers(); if (trackers.length > 0) { System.out.println("BlackListedNode \t Reason"); } for (TaskTrackerInfo tracker : trackers) { System.out.println(tracker.getTaskTrackerName() + "\t" + tracker.getReasonForBlacklist()); } } private void printTaskAttempts(TaskReport report) { if (report.getCurrentStatus() == TIPStatus.COMPLETE) { System.out.println(report.getSuccessfulTaskAttemptId()); } else if (report.getCurrentStatus() == TIPStatus.RUNNING) { for (TaskAttemptID t : report.getRunningTaskAttemptIds()) { System.out.println(t); } } } /** * Display the information about a job's tasks, of a particular type and * in a particular state * * @param job the job * @param type the type of the task (map/reduce/setup/cleanup) * @param state the state of the task * (pending/running/completed/failed/killed) * @throws IOException when there is an error communicating with the master * @throws InterruptedException * @throws IllegalArgumentException if an invalid type/state is passed */ protected void displayTasks(Job job, String type, String state) throws IOException, InterruptedException { if (!taskTypes.contains(type)) { throw new IllegalArgumentException("Invalid type: " + type + ". Valid types for task are: map, reduce, setup, cleanup."); } if (!taskStates.contains(state)) { throw new java.lang.IllegalArgumentException("Invalid state: " + state + ". Valid states for task are: pending, running, completed, failed, killed."); } TaskReport[] reports = job.getTaskReports(TaskType.valueOf(type)); for (TaskReport report : reports) { TIPStatus status = report.getCurrentStatus(); if ((state.equals("pending") && status ==TIPStatus.PENDING) || (state.equals("running") && status ==TIPStatus.RUNNING) || (state.equals("completed") && status == TIPStatus.COMPLETE) || (state.equals("failed") && status == TIPStatus.FAILED) || (state.equals("killed") && status == TIPStatus.KILLED)) { printTaskAttempts(report); } } } public void displayJobList(JobStatus[] jobs) throws IOException, InterruptedException { displayJobList(jobs, new PrintWriter(System.out)); } @Private public static String headerPattern = "%23s\t%10s\t%14s\t%12s\t%12s\t%10s\t%15s\t%15s\t%8s\t%8s\t%10s\t%10s\n"; @Private public static String dataPattern = "%23s\t%10s\t%14d\t%12s\t%12s\t%10s\t%14d\t%14d\t%7dM\t%7sM\t%9dM\t%10s\n"; @Private public void displayJobList(JobStatus[] jobs, PrintWriter writer) { writer.println("Total jobs:" + jobs.length); writer.printf(headerPattern, "JobId", "State", "StartTime", "UserName", "Queue", "Priority", "UsedContainers", "RsvdContainers", "UsedMem", "RsvdMem", "NeededMem", "AM info"); for (JobStatus job : jobs) { writer.printf(dataPattern, job.getJobID().toString(), job.getState(), job.getStartTime(), job.getUsername(), job.getQueue(), job.getPriority().name(), job.getNumUsedSlots(), job.getNumReservedSlots(), job.getUsedMem(), job.getReservedMem(), job.getNeededMem(), job.getSchedulingInfo()); } writer.flush(); } public static void main(String[] argv) throws Exception { int res = ToolRunner.run(new CLI(), argv); System.exit(res); } }
[ "archen94@gmail.com" ]
archen94@gmail.com
22cd516a8f6c8f245181af603d26cefbcf4f5ab5
7a0b7de80ec16e69cb3ba933a4fdcae1a19376df
/src/test/java/org/pingles/cascading/protobuf/PersonTest.java
eb867c62f4946bad302dbb6da57d9869862c1ca3
[]
no_license
pingles/cascading.protobuf
70c7f890300f338668e166a2c909aa492a05afc6
acbbce7e80f63e4447cf6a3f314efe053419394e
refs/heads/master
2022-10-24T17:52:16.545523
2014-03-14T10:33:17
2014-03-14T10:33:17
3,274,129
0
0
null
2022-10-04T23:34:29
2012-01-26T13:57:57
Java
UTF-8
Java
false
false
852
java
package org.pingles.cascading.protobuf; import org.junit.Test; import static org.junit.Assert.*; public class PersonTest { @Test public void shouldConstructPerson() { assertNotNull(personBuilder().setEmail("test@pingles.org").setId(1).setName("Paul").build()); } @Test public void shouldLetPeopleHaveFriends() { Messages.Person strongbad = personBuilder().setEmail("sbemail@homestarrunner.com").setId(2).setName("Strongbad").build(); Messages.Person paul = personBuilder().setEmail("test@pingles.org").setId(1).setName("Paul").addFriends(strongbad).build(); assertEquals(1, paul.getFriendsCount()); assertEquals("sbemail@homestarrunner.com", paul.getFriends(0).getEmail()); } private Messages.Person.Builder personBuilder() { return Messages.Person.newBuilder(); } }
[ "paul@oobaloo.co.uk" ]
paul@oobaloo.co.uk
f2223a4c004327713251115a0d179d0b7f16cf52
684b0e0a45a9b25d607e74cf44f5474fa77bfb42
/Students/src/Group/GroupModel.java
dacc64e5ec2016d48f6b52a66ec11ace4886409b
[]
no_license
username0000001/subd_lr5
eff41ae105d05f4e9e625815be05071c43f39493
151fb31f52e23a1d3e62622c8e08fcaa7da840a8
refs/heads/master
2021-04-26T16:53:35.781986
2017-10-14T06:09:10
2017-10-14T06:09:10
106,870,923
0
0
null
null
null
null
UTF-8
Java
false
false
5,054
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Group; import Entities.Group; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.table.AbstractTableModel; public class GroupModel extends AbstractTableModel { List<Group> list = new ArrayList<>(); Connection c; final String deleteStr = "delete from gro_up where group_id=?"; final String insertStr = "insert into gro_up (group_name,faculty_id) values (?,?)"; final String updateStr = "update gro_up set group_name=?,faculty_id=? where group_id=?"; final static String selectStr="SELECT * FROM gro_up"; static final String selectByIdStr = "SELECT * FROM gro_up WHERE group_id =?;"; final String selectFaculty="SELECT * FROM faculty where faculty_id=?"; public GroupModel(Connection c) throws SQLException { super(); this.c = c; list = selectGroup(c); rowsCount = list.size(); } public void updateData() throws SQLException { list = new ArrayList<>(); list = selectGroup(c); rowsCount = list.size(); } int rowsCount; int colCount = 2; @Override public int getRowCount() { return rowsCount; } @Override public int getColumnCount() { return colCount; } @Override public Object getValueAt(int rowIndex, int columnIndex) { String s = ""; switch (columnIndex) { case 0: return list.get(rowIndex).getName(); case 1: try { PreparedStatement statement = c.prepareStatement(selectFaculty); statement.setInt(1, list.get(rowIndex).getFacultyId()); ResultSet rs = statement.executeQuery(); rs.next(); s = rs.getString("faculty_name"); } catch (SQLException ex) { JOptionPane.showMessageDialog(new JFrame(), ex.getMessage()); } return s; } return null; } @Override public String getColumnName(int column) { switch (column) { case 0: return "Название группы"; case 1: return "Факультет"; } return null; } public Group getSelectesItem(int row) {//принимает номер выбранной строки и возвращает элемент списка, например, для создания нового объекта списка return list.get(row); } public static List<Group> selectGroup(Connection c) throws SQLException{ PreparedStatement statement = c.prepareStatement(selectStr); ResultSet rs = statement.executeQuery(); List<Group> groups = new ArrayList<>(); while (rs.next()) { Group item = new Group(rs.getInt("group_id"), rs.getString("group_name"), rs.getInt("faculty_id")); groups.add(item); } return groups; } public static Group selectGroupById(Connection c, int group_id) throws SQLException{ PreparedStatement statement = c.prepareStatement(selectByIdStr); statement.setInt(1, group_id); ResultSet rs = statement.executeQuery(); Group group = null; while (rs.next()) { group = new Group( rs.getInt("group_id"), rs.getString("group_name"), rs.getInt("faculty_id")); } return group; } public void insertOrUpdate(Group editItem, String group_name, Integer faculty_id) { try { if (editItem == null) { PreparedStatement statement = c.prepareStatement(insertStr); statement.setString(1, group_name); statement.setInt(2, faculty_id); statement.execute(); } else { PreparedStatement statement = c.prepareStatement(updateStr); statement.setString(1, group_name); statement.setInt(2, faculty_id); statement.setInt(3, editItem.getId()); statement.execute(); } } catch (SQLException ex) { JOptionPane.showMessageDialog(new JFrame(), ex.getMessage()); } } public void delete(int group_id){ try { PreparedStatement statement = c.prepareStatement(deleteStr); statement.setInt(1, group_id); statement.execute(); } catch (SQLException ex) { JOptionPane.showMessageDialog(new JFrame(), ex.getMessage()); } } }
[ "zzakhvatov@gmail.com" ]
zzakhvatov@gmail.com
c986cb8351f5856eba9142026a070c5a968d967d
5825f8e9ed7e97dac071f9899bf9fb185a9151c6
/clients/Base/src/org/spongycastle/openpgp/operator/bc/BcPGPKeyPair.java
6e182077e4964af0b76d1c5cd143bc9606d352ea
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
stko/oobd
58072f58455ae1cd7ea2b36130d69728618317df
44a74d3fa4845b2d6743209e771d2a8bb3f81080
refs/heads/master
2023-03-14T02:04:54.662033
2022-02-20T06:35:14
2022-02-20T06:35:14
33,430,824
12
8
null
2023-03-05T23:09:16
2015-04-05T04:56:49
Java
UTF-8
Java
false
false
1,168
java
package org.spongycastle.openpgp.operator.bc; import java.util.Date; import org.spongycastle.crypto.AsymmetricCipherKeyPair; import org.spongycastle.crypto.params.AsymmetricKeyParameter; import org.spongycastle.openpgp.PGPException; import org.spongycastle.openpgp.PGPKeyPair; import org.spongycastle.openpgp.PGPPrivateKey; import org.spongycastle.openpgp.PGPPublicKey; public class BcPGPKeyPair extends PGPKeyPair { private static PGPPublicKey getPublicKey(int algorithm, AsymmetricKeyParameter pubKey, Date date) throws PGPException { return new BcPGPKeyConverter().getPGPPublicKey(algorithm, pubKey, date); } private static PGPPrivateKey getPrivateKey(PGPPublicKey pub, AsymmetricKeyParameter privKey) throws PGPException { return new BcPGPKeyConverter().getPGPPrivateKey(pub, privKey); } public BcPGPKeyPair(int algorithm, AsymmetricCipherKeyPair keyPair, Date date) throws PGPException { this.pub = getPublicKey(algorithm, (AsymmetricKeyParameter)keyPair.getPublic(), date); this.priv = getPrivateKey(this.pub, (AsymmetricKeyParameter)keyPair.getPrivate()); } }
[ "steffen.koehlers.de@gmail.com@f834055d-ee70-0692-e1cb-8b28bc4b2f15" ]
steffen.koehlers.de@gmail.com@f834055d-ee70-0692-e1cb-8b28bc4b2f15
b140da5a9e70d7320815e5ec26216feab2557b57
986958c49383011552ceed88d03af5e2b33c5a87
/src/chapter09/problem10/StackEmptyException.java
49ce2c08cd265590dbcffa2e4bb52c58e9889e70
[]
no_license
ryancabanas/JavaBeginnerGuide6thEd
6b1e97306d80284e8660e1407e9a717808043f66
b6e3a95ee36c6ed380e70970600ec7f3483c0bdb
refs/heads/master
2021-01-25T07:55:53.889928
2017-06-20T00:30:23
2017-06-20T00:30:23
93,693,235
0
0
null
null
null
null
UTF-8
Java
false
false
415
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package chapter09.problem10; /** * * @author Ryan Cabanas */ public class StackEmptyException extends Exception { @Override public String toString() { return "The stack is empty. Push something to it first."; } }
[ "ryancabanas@users.noreply.github.com" ]
ryancabanas@users.noreply.github.com
f7e8b03f87a42176ea85c675c873ab2dab34b0ec
21e1074331b3de545ce5a757b54f79c7d6b5a429
/src/com/testing/practice/Class2.java
ab2b57865fd5c62b9c25345d785883d5fbcedf6d
[]
no_license
Manikanta451/Java
0ecc9a9a51e20637bb86d56be7aa7acaa3e99c67
f52f19e802bcd6f95738ce69cc6b1ac4b5731670
refs/heads/master
2020-03-08T03:58:36.714710
2018-04-03T12:44:26
2018-04-03T12:48:34
127,907,682
0
0
null
null
null
null
UTF-8
Java
false
false
422
java
package com.testing.practice; public class Class2 extends Class1 { Class2(){ System.out.println("Class2 calss constructor in invoked"); } public void testmethod3(){ System.out.println("Test3 method "); } public static void main(String[] args) { Class2 test2=new Class2(); test2.testmethod(); test2.testmethod2(); test2.testmethod3(); } }
[ "mani6747@gmail.com" ]
mani6747@gmail.com
4ce181ba77219be15a4bd749c300026bfafe20e6
42a6551cea7cc637f181aaa307a433fe482cb09f
/CommandLineDungeonCrawlerTeamProject/CSCD454FinalProject/src/Inventory/Equipables/Sets/Set.java
daeb93a46928d552e22aa5cb40a62cb0252846d6
[]
no_license
BrandonFowler/SchoolProjects
7cc582500ee04947b29b96931d5821d34fec020e
07a21092552c270c6f1be7875e94ed8922b352d4
refs/heads/master
2021-01-13T01:00:08.809461
2015-12-23T17:35:32
2015-12-23T17:35:32
48,442,517
0
0
null
null
null
null
UTF-8
Java
false
false
595
java
package Inventory.Equipables.Sets; public abstract class Set implements ISetBonus{ protected String setName; protected double setBonus; protected int baseArmorValue; public double getSetArmorBonus() { return setBonus; } public double calculateSetArmorBonus(int numPieces){ double currentSetBonus = 1; if(numPieces > 4){ currentSetBonus += (setBonus * 1.4); } else if(numPieces > 1){ currentSetBonus += (setBonus * .6); } return currentSetBonus; } public int getBaseArmorValue(){ return baseArmorValue; } public String getSetName(){ return setName; } }
[ "brandonf@eagles.ewu.edu" ]
brandonf@eagles.ewu.edu
25cbee514bff61c2154f6a3db984071f8c4b9c96
7fb1257469fe1f005fb8bf9915d1cd02c627cfea
/turbolinks/src/main/java/com/basecamp/turbolinks/TurbolinksLog.java
de695134b4f701dc3ba7682a6911dbaeca55161a
[ "MIT" ]
permissive
candrews/turbolinks-android
a1e82564ef72e16ebea824e92b7e7a1fc4a72f0b
8f96f1f89f9d0af0997d36ad2d3719137f79da7b
refs/heads/master
2023-04-14T11:50:25.394406
2016-07-14T16:05:45
2016-07-14T16:05:45
63,451,061
0
1
MIT
2023-04-04T01:54:45
2016-07-15T21:08:19
Java
UTF-8
Java
false
false
1,452
java
package com.basecamp.turbolinks; import android.util.Log; class TurbolinksLog { private static final String DEFAULT_TAG = "TurbolinksLog"; private static boolean debugLoggingEnabled = false; /** * <p>Enables/disables debug logging.</p> * * @param enabled True, to enable. */ static void setDebugLoggingEnabled(boolean enabled) { debugLoggingEnabled = enabled; } /** * <p>Send a DEBUG level log statement with the default tag</p> * * @param msg Debug message. */ static void d(String msg) { log(Log.DEBUG, DEFAULT_TAG, msg); } /** * <p>Send a ERROR level log statement with the default tag</p> * * @param msg Error message. */ static void e(String msg) { log(Log.ERROR, DEFAULT_TAG, msg); } /** * <p>Default log statement called by other convenience methods.</p> * * @param logLevel Log level of the statement. * @param tag Tag to identify the logging statement. * @param msg Message to log. */ private static void log(int logLevel, String tag, String msg) { switch (logLevel) { case Log.DEBUG: if (debugLoggingEnabled) { Log.d(tag, msg); } break; case Log.ERROR: Log.e(tag, msg); break; default: break; } } }
[ "dan@basecamp.com" ]
dan@basecamp.com
5b83aacd247180b6ca4c4f80f7c665b9fd681fc3
f96175699379daa217b27409608731385ae0aa4d
/asap-platform/asap-server/src/main/java/gr/ntua/cslab/asap/testMaterialization/NodeReader.java
a54c3ec7e33e919556082ae13dd6bad8ccddfba2
[ "Apache-2.0" ]
permissive
giagulei/IReS-Platform
b8801877e1669ce0783390b5ee5a510591e4c654
b545a2e3047bfa585edebee63b00afa5cf583f7e
refs/heads/master
2021-07-23T02:20:09.823375
2018-03-06T06:37:23
2018-03-06T06:37:23
96,788,038
0
0
null
2017-07-10T14:39:27
2017-07-10T14:39:27
null
UTF-8
Java
false
false
1,317
java
package gr.ntua.cslab.asap.testMaterialization; import java.util.Hashtable; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; public class NodeReader implements XMLReader { private Document doc; public NodeReader(Document doc) { this.doc = doc; } @Override public Hashtable<Integer, Object> readData(Hashtable<Integer, Object> nodes) { NodeList nList = doc.getElementsByTagName("child"); for (int i = 0; i < nList.getLength(); i++) { Element xNode = (Element) nList.item(i); GraphNode aNode = (GraphNode) nodes.get(Integer.parseInt(xNode.getAttribute("ref").substring(2))); int maxlayer = 0; NodeList parents = xNode.getElementsByTagName("parent"); for (int j = 0; j < parents.getLength(); j++) { Element xParent = (Element) parents.item(j); GraphNode aParent = (GraphNode) nodes.get(Integer.parseInt(xParent.getAttribute("ref").substring(2))); maxlayer = (aParent.getLayer() > maxlayer) ? aParent.getLayer() : maxlayer; aNode.getParents().put(aParent.getJob().getJobID(), aParent); aParent.getChildren().put(aNode.getJob().getJobID(), aNode); } aNode.setLayer(++maxlayer); } return nodes; } @Override public Hashtable<Integer, Object> readData() { // TODO Auto-generated method stub return null; } }
[ "gmytil@cslab.ece.ntua.gr" ]
gmytil@cslab.ece.ntua.gr
3f5b7cd722bd4c715d5323d2d52f30b968f3c1c1
04a3b0c197725a4e378c1239acef3d5b7f9ccd1c
/src/main/java/com/lin/clould/module/login/service/impl/LoginVO.java
ab20a564d7137b06f19825ca1bf2848f5e6e551a
[]
no_license
clouldlin/clould
29a53b0d8bbc585216838315a3b784e20af799f9
fc6a69130ee071611278a29b9c0c5c10b3eb9f89
refs/heads/master
2016-09-05T13:50:08.870169
2015-02-09T15:56:37
2015-02-09T15:56:45
27,668,804
0
0
null
null
null
null
UTF-8
Java
false
false
2,863
java
package com.lin.clould.module.login.service.impl; import java.io.Serializable; import java.util.HashMap; import java.util.Map; public class LoginVO implements Serializable { private static final long serialVersionUID = -5409865580055887284L; private String id; private String pw; private String name; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getPw() { return pw; } public void setPw(String pw) { this.pw = pw; } public String getName() { return name; } public void setName(String name) { this.name = name; } @Override public String toString() { return "LoginVO [id=" + id + ", pw=" + pw + ", name=" + name + "]"; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((id == null) ? 0 : id.hashCode()); result = prime * result + ((name == null) ? 0 : name.hashCode()); result = prime * result + ((pw == null) ? 0 : pw.hashCode()); return result; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; LoginVO other = (LoginVO) obj; if (id == null) { if (other.id != null) return false; } else if (!id.equals(other.id)) return false; if (name == null) { if (other.name != null) return false; } else if (!name.equals(other.name)) return false; if (pw == null) { if (other.pw != null) return false; } else if (!pw.equals(other.pw)) return false; return true; } public static void main(String[] args) { Map<LoginVO, String> map = new HashMap<LoginVO, String>(); LoginVO login = new LoginVO(); login.setId("heo"); login.setName("허정도"); login.setPw("1111"); map.put(login, "value"); // 해쉬코드 메소드를 생략하면 동일한 값의 객체를 찾지 못한다. LoginVO login_hashcode = new LoginVO(); login_hashcode.setId("heo"); login_hashcode.setName("허정도"); login_hashcode.setPw("1111"); /* 참조 : http://jnylove.tistory.com/182 오버라이드 하지 않으면, 기본적으로 Heap에 있는 각 객체마다 서로 다른 값을 가지는 유일한 정수값을 반환한다. Class에서 hashCode() method를 오버라이드 하지 않으면 절대로 그 유형의 두 객체가 같은 것으로 간주될 수 없다. */ System.out.println(login.hashCode()); System.out.println(login_hashcode.hashCode()); System.out.println(login.equals(login_hashcode)); System.out.println(map.get(login_hashcode)); /* boolean : (value ? 1:0) byte, char, short, int : (int) vlaue float : Float.floatToInBits(value) double : Double.doubleToLongBits(value) String 및 기타 객체 : "test".hashCode() */ } }
[ "clouldlin@gmail.com" ]
clouldlin@gmail.com
d668f44807f5b1aac532eb120579a015acac4646
9c769d0d95b71d3d954d4f3d75d33e084bee3a07
/openid-connect-common/src/main/java/org/mitre/uma/service/SavedRegisteredClientService.java
750064411c5165502e7fe9d74876a4a2f76cbc2d
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
gresham-computing/openid-connect-server
2929e31b903c73bfa5b6bc2a345b46ce50eae140
0eb7a458e3eb8895294df19da75fcf522ddf87d7
refs/heads/1.3.x
2023-09-03T19:56:09.345697
2023-05-02T11:59:49
2023-05-02T11:59:49
119,415,886
0
0
NOASSERTION
2023-08-17T15:42:32
2018-01-29T17:25:32
Java
UTF-8
Java
false
false
1,251
java
/******************************************************************************* * Copyright 2017 The MIT Internet Trust Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *******************************************************************************/ package org.mitre.uma.service; import java.util.Collection; import org.mitre.oauth2.model.RegisteredClient; import org.mitre.uma.model.SavedRegisteredClient; /** * @author jricher * */ public interface SavedRegisteredClientService { /** * Get a list of all the registered clients that we know about. * * @return */ Collection<SavedRegisteredClient> getAll(); /** * @param issuer * @param client */ void save(String issuer, RegisteredClient client); }
[ "jricher@mit.edu" ]
jricher@mit.edu
eb5a09f7fe1b4f9e53468957a11a953d67922093
b0138ad972202077df380de1ecaa08bf3509b995
/msc-facade-base/src/main/java/com/shyl/msc/set/service/IProjectDetailService.java
d0882a78662411c74818ee4e6dd8a6824f50e88c
[]
no_license
sunshiqiang/git-msc
86aef21f5b654aa84d964b07ff01606f4aee21dd
8734e78cc61833cafdfb60bddf555312cdb63540
refs/heads/master
2020-08-25T08:33:55.380716
2018-12-27T03:35:41
2018-12-27T03:35:41
null
0
0
null
null
null
null
UTF-8
Java
false
false
778
java
package com.shyl.msc.set.service; import java.util.List; import com.shyl.common.framework.annotation.ProjectCodeFlag; import com.shyl.common.framework.service.IBaseService; import com.shyl.msc.set.entity.ProjectDetail; public interface IProjectDetailService extends IBaseService<ProjectDetail, Long> { /** * 根据项目ID删除明细 * @param projectCode * @return */ public int deleteByProjectId(@ProjectCodeFlag String projectCode, Long ProjectId); public List<ProjectDetail> listByMonth(@ProjectCodeFlag String projectCode, String month); public ProjectDetail getByDirectoryId(@ProjectCodeFlag String projectCode, Long projectId, Long directoryId); public List<ProjectDetail> listByProjectCode(@ProjectCodeFlag String projectCode, String projectcode); }
[ "1219650952@qq.com" ]
1219650952@qq.com
aabc9c2bc3aaa03403668899e97180697782ee83
85e1a5259fc6501ffb53b691e8a7891762727e56
/app/src/main/java/com/truescend/gofit/pagers/common/dialog/TimeCyclePickerDialog.java
213576c9d25996af00b8c3bf78860059e359ef84
[]
no_license
sengeiou/New_And_WellGo
32f30c509c03868bb9e5469811a7e9861ced90c1
80791b64d3127de5a0acc847f18b46462859028e
refs/heads/master
2023-08-16T22:11:04.393563
2021-10-11T18:26:42
2021-10-11T18:26:42
null
0
0
null
null
null
null
UTF-8
Java
false
false
4,254
java
package com.truescend.gofit.pagers.common.dialog; import android.content.Context; import android.view.View; import android.widget.TextView; import com.truescend.gofit.R; import com.truescend.gofit.pagers.base.dialog.BaseDialog; import com.truescend.gofit.utils.ResUtil; import com.truescend.gofit.views.TimePicker; /** * 作者:东芝(2018/2/5). * 功能:时间范围选择器 */ public class TimeCyclePickerDialog { private BaseDialog dialog; private final String startTime; private final String endTime; private TimePicker startTimeTimePicker; private TimePicker endTimeTimePicker; public TimeCyclePickerDialog(Context context,String startTime,String endTime) { dialog = new BaseDialog.Builder(context) .setContentView(R.layout.dialog_time_cycle_picker) .fullWidth() .fromBottom(true) .create(); this.startTime = startTime; this.endTime = endTime; initItem(); initData(); } /** * 获取控件并开启监听 */ private void initItem() { TextView tvExit = dialog.findViewById(R.id.tvExit); TextView tv = dialog.findViewById(R.id.tvDone); startTimeTimePicker = dialog.findViewById(R.id.tpStartTime); endTimeTimePicker = dialog.findViewById(R.id.tpEndTime); if (tvExit != null) { tvExit.setOnClickListener(clickListener); } if (tv != null) { tv.setOnClickListener(clickListener); } startTimeTimePicker.setOnTimePickerListener(timePickerListener); endTimeTimePicker.setOnTimePickerListener(timePickerListener); } /** * 初始化数据 */ private void initData() { String[] st = startTime.split(":"); String[] et = endTime.split(":"); startTimeTimePicker.setHour(Integer.parseInt(st[0])); startTimeTimePicker.setMinute(Integer.parseInt(st[1])); endTimeTimePicker.setHour(Integer.parseInt(et[0])); endTimeTimePicker.setMinute(Integer.parseInt(et[1])); } public void show() { dialog.show(); } public void dismiss() { if (dialog != null) { dialog.dismiss(); dialog = null; } } private View.OnClickListener clickListener = new View.OnClickListener() { @Override public void onClick(View v) { switch (v.getId()) { case R.id.tvExit: dismiss(); break; case R.id.tvDone: if (onSettingListener != null) { String startTime =ResUtil.format( "%02d:%02d", startTimeTimePicker.getHour(), startTimeTimePicker.getMinute()); String endTime = ResUtil.format( "%02d:%02d", endTimeTimePicker.getHour(), endTimeTimePicker.getMinute()); onSettingListener.onTimeChanged(startTime,endTime); } dismiss(); break; } } }; private TimePicker.OnTimePickerListener timePickerListener = new TimePicker.OnTimePickerListener() { @Override public void onValueChange(TimePicker picker, int hour, int minute) { // correctErrorTime(startTimeTimePicker.getHour(), startTimeTimePicker.getMinute(), endTimeTimePicker.getHour(), endTimeTimePicker.getMinute()); } }; /** * 强制选择的时间结束时间不能小于开始时间 * * @param sHour 开始小时 * @param sMinute 开始分钟 * @param eHour 结束小时 * @param eMinute 结束分钟 */ private void correctErrorTime(int sHour, int sMinute, int eHour, int eMinute) { if (eHour < sHour) { endTimeTimePicker.setHour(sHour); } if (eMinute < sMinute) { endTimeTimePicker.setMinute(sMinute); } } private OnSettingListener onSettingListener; public void setOnSettingListener(OnSettingListener onSettingListener) { this.onSettingListener = onSettingListener; } public interface OnSettingListener{ void onTimeChanged(String startTime,String endTime); } }
[ "758378737@qq.com" ]
758378737@qq.com
026de8ccee4685613e7772297d06644e79281f9d
7db2df7b6e0fcff44e69f4c7caa4a5f7c41cfd7d
/app/src/androidTest/java/de/jo20046/probeklausur_neu/ExampleInstrumentedTest.java
a27eaf242b2bc1240c18a3a50caac21fa576cbae
[]
no_license
jo20046/RelativeLayout-and-Landscape
c800129d45a4129253b211f3fa8e78104e5ffd8c
9c99e9a8e5cd945ebd1795bfcc0ffd4ceadf9622
refs/heads/master
2023-03-04T09:09:30.464317
2021-02-13T06:49:56
2021-02-13T06:49:56
338,515,289
0
0
null
null
null
null
UTF-8
Java
false
false
768
java
package de.jo20046.probeklausur_neu; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on an Android device. * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ @RunWith(AndroidJUnit4.class) public class ExampleInstrumentedTest { @Test public void useAppContext() { // Context of the app under test. Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); assertEquals("de.jo20046.probeklausur_neu", appContext.getPackageName()); } }
[ "j.enthoefer@laudert.de" ]
j.enthoefer@laudert.de
b95717bca06af0096a0c7ca3142bc857e40c5628
edd55a3ef5e0465842349e9746a56f0433b52e00
/src/main/java/edu/brown/cs/student/repl/Command.java
c3eb1185d19feb935dbbcedef84af34ade60acd7
[]
no_license
swang153/FarmWithFriends
e922fcc5f9c837ccf8182fc2db08daee70cdfd39
47372b1d6b1dd0ee0c388f2e9f6a708ee37497b6
refs/heads/master
2022-11-14T11:46:43.772757
2020-07-14T02:56:05
2020-07-14T02:56:05
279,465,722
0
0
null
2020-07-14T02:55:15
2020-07-14T02:55:15
null
UTF-8
Java
false
false
495
java
package edu.brown.cs.student.repl; import java.io.PrintWriter; /** * A Command must have an execute method that takes in tokens as arguments and * output using a PrintWriter. * @author Tim Nelson */ public interface Command { /** * Given a set of arguments, execute a certain action and print the results * using pw. * @param tokens a list of strings passed as arguments to the command * @param pw the output location */ void execute(String[] tokens, PrintWriter pw); }
[ "zhangjake97@gmail.com" ]
zhangjake97@gmail.com
3c9dad75ee22497ef3e47c657a181dcd63c429e7
ad98c16591f3cb9da21d93871bee4b733fd2e3a7
/src/main/java/trema/jhipster/application/security/jwt/TokenProvider.java
9bc41c74246791962cc3f84ee012cbe360e0a7bc
[]
no_license
alitavakkoli/jhipster-trema-application
46b597567b2c666cabe5b833d2ac4f7d9ebb2b1b
2467fb6026090c1c2d3b257d25c1a155a92e3434
refs/heads/master
2022-12-22T15:16:42.521207
2019-06-19T09:32:43
2019-06-19T09:32:43
192,702,342
0
0
null
2022-12-16T04:59:39
2019-06-19T09:32:30
Java
UTF-8
Java
false
false
4,788
java
package trema.jhipster.application.security.jwt; import java.nio.charset.StandardCharsets; import java.security.Key; import java.util.*; import java.util.stream.Collectors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.InitializingBean; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.User; import org.springframework.stereotype.Component; import org.springframework.util.StringUtils; import io.github.jhipster.config.JHipsterProperties; import io.jsonwebtoken.*; import io.jsonwebtoken.io.Decoders; import io.jsonwebtoken.security.Keys; @Component public class TokenProvider implements InitializingBean { private final Logger log = LoggerFactory.getLogger(TokenProvider.class); private static final String AUTHORITIES_KEY = "auth"; private Key key; private long tokenValidityInMilliseconds; private long tokenValidityInMillisecondsForRememberMe; private final JHipsterProperties jHipsterProperties; public TokenProvider(JHipsterProperties jHipsterProperties) { this.jHipsterProperties = jHipsterProperties; } @Override public void afterPropertiesSet() throws Exception { byte[] keyBytes; String secret = jHipsterProperties.getSecurity().getAuthentication().getJwt().getSecret(); if (!StringUtils.isEmpty(secret)) { log.warn("Warning: the JWT key used is not Base64-encoded. " + "We recommend using the `jhipster.security.authentication.jwt.base64-secret` key for optimum security."); keyBytes = secret.getBytes(StandardCharsets.UTF_8); } else { log.debug("Using a Base64-encoded JWT secret key"); keyBytes = Decoders.BASE64.decode(jHipsterProperties.getSecurity().getAuthentication().getJwt().getBase64Secret()); } this.key = Keys.hmacShaKeyFor(keyBytes); this.tokenValidityInMilliseconds = 1000 * jHipsterProperties.getSecurity().getAuthentication().getJwt().getTokenValidityInSeconds(); this.tokenValidityInMillisecondsForRememberMe = 1000 * jHipsterProperties.getSecurity().getAuthentication().getJwt() .getTokenValidityInSecondsForRememberMe(); } public String createToken(Authentication authentication, boolean rememberMe) { String authorities = authentication.getAuthorities().stream() .map(GrantedAuthority::getAuthority) .collect(Collectors.joining(",")); long now = (new Date()).getTime(); Date validity; if (rememberMe) { validity = new Date(now + this.tokenValidityInMillisecondsForRememberMe); } else { validity = new Date(now + this.tokenValidityInMilliseconds); } return Jwts.builder() .setSubject(authentication.getName()) .claim(AUTHORITIES_KEY, authorities) .signWith(key, SignatureAlgorithm.HS512) .setExpiration(validity) .compact(); } public Authentication getAuthentication(String token) { Claims claims = Jwts.parser() .setSigningKey(key) .parseClaimsJws(token) .getBody(); Collection<? extends GrantedAuthority> authorities = Arrays.stream(claims.get(AUTHORITIES_KEY).toString().split(",")) .map(SimpleGrantedAuthority::new) .collect(Collectors.toList()); User principal = new User(claims.getSubject(), "", authorities); return new UsernamePasswordAuthenticationToken(principal, token, authorities); } public boolean validateToken(String authToken) { try { Jwts.parser().setSigningKey(key).parseClaimsJws(authToken); return true; } catch (io.jsonwebtoken.security.SecurityException | MalformedJwtException e) { log.info("Invalid JWT signature."); log.trace("Invalid JWT signature trace: {}", e); } catch (ExpiredJwtException e) { log.info("Expired JWT token."); log.trace("Expired JWT token trace: {}", e); } catch (UnsupportedJwtException e) { log.info("Unsupported JWT token."); log.trace("Unsupported JWT token trace: {}", e); } catch (IllegalArgumentException e) { log.info("JWT token compact of handler are invalid."); log.trace("JWT token compact of handler are invalid trace: {}", e); } return false; } }
[ "jhipster-bot@jhipster.tech" ]
jhipster-bot@jhipster.tech
75f0189bc196e779864a03767fbf2c3eb60f425f
df343ea3cb669b3f7c003834aa7caf1107403aaa
/y-a-foot-commons-api/src/test/java/net/andresbustamante/yafoot/commons/util/package-info.java
c33ea6e3ab0d79f119419ec8b2ace2efa1d96c55
[]
no_license
afbustamante/y-a-foot
6a7098157cf7c71edcc39deb6a332cf7b6bd0718
bebb113a745db1d10df67837b9a0b25d2aa57196
refs/heads/develop
2023-09-02T07:48:39.785628
2023-08-25T12:37:09
2023-08-25T12:37:09
95,191,027
3
0
null
2023-09-12T21:22:20
2017-06-23T06:40:18
Java
UTF-8
Java
false
false
93
java
/** * Tests for common utils classes. */ package net.andresbustamante.yafoot.commons.util;
[ "afbustag@gmail.com" ]
afbustag@gmail.com
8d9c19f43731ce3b88408e719171e569aed9ddc1
ce5f9210620c188558b3189ec4f41079821c5f56
/src/main/java/com/ssm/shop/pojo/UmsMemberReceiveAddress.java
c4cd4d6244fc77eb0671d0dc4613b9f08bde163c
[]
no_license
l398906114/LiuK
90fe5254cf3f9a83970b96437f90eceae79aa9d8
cd34bccbfb217d5301c35f992773cb0a0a909116
refs/heads/master
2023-06-27T10:23:50.170793
2023-06-16T07:19:37
2023-06-16T07:19:37
165,583,253
0
0
null
2022-12-09T02:05:11
2019-01-14T02:37:39
HTML
UTF-8
Java
false
false
2,457
java
package com.ssm.shop.pojo; /** * 会员收货地址表 * * @author wcyong * * @date 2019-05-22 */ public class UmsMemberReceiveAddress extends BaseModel{ private Long id; private Long memberId; /** * 收货人名称 */ private String name; private String phoneNumber; /** * 是否为默认 */ private Integer defaultStatus; /** * 邮政编码 */ private String postCode; /** * 省份/直辖市 */ private String province; /** * 城市 */ private String city; /** * 区 */ private String region; /** * 详细地址(街道) */ private String detailAddress; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Long getMemberId() { return memberId; } public void setMemberId(Long memberId) { this.memberId = memberId; } public String getName() { return name; } public void setName(String name) { this.name = name == null ? null : name.trim(); } public String getPhoneNumber() { return phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber == null ? null : phoneNumber.trim(); } public Integer getDefaultStatus() { return defaultStatus; } public void setDefaultStatus(Integer defaultStatus) { this.defaultStatus = defaultStatus; } public String getPostCode() { return postCode; } public void setPostCode(String postCode) { this.postCode = postCode == null ? null : postCode.trim(); } public String getProvince() { return province; } public void setProvince(String province) { this.province = province == null ? null : province.trim(); } public String getCity() { return city; } public void setCity(String city) { this.city = city == null ? null : city.trim(); } public String getRegion() { return region; } public void setRegion(String region) { this.region = region == null ? null : region.trim(); } public String getDetailAddress() { return detailAddress; } public void setDetailAddress(String detailAddress) { this.detailAddress = detailAddress == null ? null : detailAddress.trim(); } }
[ "695255790@qq.com" ]
695255790@qq.com
2ee4be8b6d1c24566a2a851b59c445c9268e1d86
eb62cf7985910f6754f20eba6fefc3d70341aa0d
/DesignPatterns/src/main/java/com/demo/DesignPatterns/ChainOfResponsibilityPattern/MyHandle.java
0c05de98baad8af3b133f16eede207e81ea441f4
[]
no_license
zeq9069/mydemo
8d3d77c519bfd514bfa4e8937800b29ec0a02507
894ca2c7c9fde5d5d67b0b8c57d13d26e853d31f
refs/heads/master
2022-12-31T18:21:09.515259
2020-10-30T10:58:38
2020-10-30T10:58:38
31,405,838
9
1
null
2022-12-16T06:50:29
2015-02-27T06:03:26
Roff
UTF-8
Java
false
false
345
java
package com.demo.DesignPatterns.ChainOfResponsibilityPattern; public class MyHandle extends AbstractHandle implements Handle{ String name; public MyHandle(String name){ this.name=name; } public void operator() { System.out.println(String.format("The %s deal !", name)); if(getHandle()!=null){ getHandle().operator(); } } }
[ "906928204@qq.com" ]
906928204@qq.com
4a0cbe82140579d99de7e647e3078393e07d7216
e963f221bc6876510a5c646958f0b9096566aa32
/caresAwsLambda/src/main/java/gov/wisconsin/cares/util/JWTUtils.java
e53d273fdd3dcb59938bdcffdf16299951df11bb
[]
no_license
sasahlwi/awsLambdaSFEventLogs
d5c58862672720926366a8bc35dba43a6aa6c7b4
c23c6dcc17ef0c84207a9a6d3f9da372d5aa4799
refs/heads/master
2022-11-15T02:23:12.580488
2020-07-03T15:28:58
2020-07-03T15:28:58
276,930,417
0
0
null
null
null
null
UTF-8
Java
false
false
4,500
java
package gov.wisconsin.cares.util; import io.jsonwebtoken.Header; import io.jsonwebtoken.JwsHeader; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; import java.security.KeyFactory; import java.security.PrivateKey; import java.security.spec.PKCS8EncodedKeySpec; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.concurrent.TimeUnit; import Decoder.BASE64Decoder; public class JWTUtils { public static String SALESFORCE_OAUTH2_URL = null; private static String SALESFORCE_JWT_ISSUER = null; private static PrivateKey SALESFORCE_SIGNING_KEY = null; public static String SALESFORCE_SERVICE_ACCOUNT_USER = null; private static long SALESFORCE_JWT_EXPIRATION_SECONDS = 180; private static String SALESFORCE_JWT_AUDIENCE = "https://test.salesforce.com"; public static String SALESFORCE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:jwt-bearer"; static { try { SALESFORCE_JWT_ISSUER = System.getenv("salesforceJWTIssuer"); SALESFORCE_OAUTH2_URL = (System.getenv("salesforceOauth2Url") + "/services/oauth2/token"); SALESFORCE_SERVICE_ACCOUNT_USER = System.getenv("salesforceServiceAccountUser"); SALESFORCE_SIGNING_KEY = readPrivateKey(System.getenv("jwtSigningKey")); } catch (Exception e) { System.out.println("\n Error: Unable to instantiate JWTUtils class"); } } private JWTUtils() { /* Prevent class from being instantiated */ } public static String generateSalesforceJWT(String user) throws Exception { return generateJwtToken(user, null, SALESFORCE_JWT_ISSUER, SALESFORCE_JWT_AUDIENCE, SALESFORCE_JWT_EXPIRATION_SECONDS, SALESFORCE_SIGNING_KEY); } public static String generateSalesforceJWT(String user, Map<String, Object> claims) throws Exception { return generateJwtToken(user, claims, SALESFORCE_JWT_ISSUER, SALESFORCE_JWT_AUDIENCE, SALESFORCE_JWT_EXPIRATION_SECONDS, SALESFORCE_SIGNING_KEY); } private static String generateJwtToken(String user, Map<String, Object> claims, String issuer, String audience, long expirationSeconds, PrivateKey privateKey) throws Exception { String signedToken = ""; Map<String, Object> jwtHeader = new HashMap<>(); try { jwtHeader.put(Header.TYPE, Header.JWT_TYPE); jwtHeader.put(JwsHeader.ALGORITHM, SignatureAlgorithm.RS256); long currentTime = System.currentTimeMillis(); if (claims != null) { signedToken = Jwts.builder() .setHeader(jwtHeader) .setClaims(claims) .setSubject(user) .setIssuer(issuer) .setAudience(audience) .setIssuedAt(new Date(currentTime)) .setExpiration(new Date(currentTime + TimeUnit.SECONDS.toMillis(expirationSeconds))) .signWith(SignatureAlgorithm.RS256, privateKey).compact(); } else { signedToken = Jwts.builder() .setHeader(jwtHeader) .setIssuer(issuer) .setSubject(user) .setAudience(audience) .setIssuedAt(new Date(currentTime)) .setExpiration(new Date(currentTime + TimeUnit.SECONDS.toMillis(expirationSeconds))) .signWith(SignatureAlgorithm.RS256, privateKey).compact(); } } catch(Exception e) { Exception ex = new Exception(e.getMessage() + "\n Error: Unable to generate jwt token in " + JWTUtils.class.getName() + "::generateJwtToken"); throw ex; } return signedToken; } private static PrivateKey readPrivateKey(String jwtSigningKeyStr) throws Exception { PrivateKey privateKey = null; String privateKey_string = null; try { jwtSigningKeyStr = jwtSigningKeyStr.replaceAll("\\s", ""); byte[] keyBytes = jwtSigningKeyStr.getBytes("UTF-8"); privateKey_string = new String(keyBytes, "UTF-8"); privateKey_string = privateKey_string.replaceAll("(-+BEGIN PRIVATE KEY-+\\r?\\n|-+END PRIVATE KEY-+\\r?\\n?)", ""); BASE64Decoder decoder = new BASE64Decoder(); keyBytes = decoder.decodeBuffer(privateKey_string); PKCS8EncodedKeySpec spec = new PKCS8EncodedKeySpec(keyBytes); KeyFactory keyFactory = KeyFactory.getInstance("RSA"); privateKey = keyFactory.generatePrivate(spec); } catch(Exception e) { Exception ex = new Exception(e.getMessage() + "\n Error: Unable to read the private key for jwt token in " + JWTUtils.class.getName() + "::readPrivateKey"); throw ex; } return privateKey; } }
[ "noreply@github.com" ]
noreply@github.com
a675b987c2ce0f2e393aabf5892668962c506790
db96b76094730056966dd1bb04b2fb4a88271549
/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/panel/PanelContent.java
7c68768330ab15bcae98ac8398363cb11289f85f
[]
no_license
dylanbroodryk/Android-system-apps
48335f66d3fad6532cda19e192f11af1f69dce00
50f6f11f70906260a710cbeb66a92fba72410504
refs/heads/master
2022-03-14T16:15:33.277628
2022-02-12T04:56:41
2022-02-12T04:56:41
228,542,760
0
0
null
2019-12-17T05:50:11
2019-12-17T05:50:10
null
UTF-8
Java
false
false
1,533
java
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.car.developeroptions.panel; import android.content.Intent; import android.net.Uri; import com.android.settingslib.core.instrumentation.Instrumentable; import java.util.List; /** * Represents the data class needed to create a Settings Panel. See {@link PanelFragment}. */ public interface PanelContent extends Instrumentable { /** * @return a string for the title of the Panel. */ CharSequence getTitle(); /** * @return an ordered list of the Slices to be displayed in the Panel. The first item in the * list is shown on top of the Panel. */ List<Uri> getSlices(); /** * @return an {@link Intent} to the full content in Settings that is summarized by the Panel. * * <p> * For example, for the connectivity panel you would intent to the Network & Internet page. * </p> */ Intent getSeeMoreIntent(); }
[ "yuchuangu85@gmail.com" ]
yuchuangu85@gmail.com
e4595276398e090efa225217fb059cb5f5d414eb
e382270be439450b44c6f597a4470744410aaf7b
/get_tva/src/main/java/com/service_tva/get_tva/tvaRepository.java
b137c4e275d6055fe16c5efdf0db0be7d4faf96e
[]
no_license
Snaltis/projet_sysdis
f40d34dc6b87b19bd6794df22d7a185f00695224
ef4d6545ef7a13aa91ea14a22c51001beac7d7eb
refs/heads/master
2023-01-31T09:33:04.908878
2020-12-18T14:37:38
2020-12-18T14:37:38
316,194,138
0
0
null
null
null
null
UTF-8
Java
false
false
235
java
package com.service_tva.get_tva; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface tvaRepository extends JpaRepository<tvaModel, Integer> {}
[ "75071614+Snaltis@users.noreply.github.com" ]
75071614+Snaltis@users.noreply.github.com
79440cf2608f2b53dbd2853af547324779bdf718
2d93c27772c7e51d51ec05d6e7621a22a5eb6db6
/app/src/main/java/com/tyiroad/tyiroad/examinedeal/ExamineDealPresenter.java
9a0def6ea0b5c80a98e1ff375067b79727bb01a6
[]
no_license
zhangchengku/TYiroad
75e2e91e49910d3d0b9de26b780a3e4e5c2c87f6
03b26598fc9f3beb217e43ccaa614a39fb6a4ca2
refs/heads/master
2022-02-26T00:12:21.298317
2019-08-26T08:33:07
2019-08-26T08:33:07
198,362,292
0
0
null
null
null
null
UTF-8
Java
false
false
1,649
java
package com.tyiroad.tyiroad.examinedeal; import com.alibaba.fastjson.JSON; import com.tyiroad.tyiroad.Bean.ToExamineDataInfo; import com.tyiroad.tyiroad.MyApplication; import com.tyiroad.tyiroad.mvp.BasePresenterImpl; import com.zhy.http.okhttp.OkHttpUtils; import com.zhy.http.okhttp.callback.StringCallback; import okhttp3.Call; /** * MVPPlugin * 邮箱 784787081@qq.com */ public class ExamineDealPresenter extends BasePresenterImpl<ExamineDealContract.View> implements ExamineDealContract.Presenter{ @Override public void addDisease(String startTime,String lxid,String bhlx,String gydwid,String listtype ) { OkHttpUtils.get() .tag(this) .addParams("starttime","") .addParams("endTime","" ) .addParams("lxcode","" ) .addParams("bhlx","" ) .addParams("gydwid",gydwid ) .addParams("listtype","0" ) .addParams("dataid","0" ) .addParams("action","0" ) .addParams("pagesize","10" ) .url(MyApplication.BASEURL+"QueryRwpfList") .build() .execute(new StringCallback() { @Override public void onError(Call call, Exception e, int id) { } @Override public void onResponse(String response, int id) { ToExamineDataInfo videoVos2 = JSON.parseObject(response, ToExamineDataInfo.class); mView.getData(videoVos2); } }); } }
[ "13552008150@163.com" ]
13552008150@163.com
44f0796bafc007de75a4b65c28f80eb19ab7dcdf
0f9774b1566964b92f5b751b8ce091580dff4f4e
/src/main/java/bankPackage/tables/Transaction.java
5151f4249f9eeed75a9a1c78fb2f9bb22677d3b1
[]
no_license
VitaliiVK/Bank
fc8e928bad01a7d2bb263511563e3bec1c4a3b0e
25c346620d1d794037cf069679a40530f8284b28
refs/heads/master
2020-04-14T23:28:58.645648
2016-09-13T20:24:34
2016-09-13T20:24:34
68,144,525
0
0
null
null
null
null
UTF-8
Java
false
false
2,192
java
package bankPackage.tables; import javax.persistence.*; @Entity @Table(name="Transactions") public class Transaction { @Id //первичный ключ @GeneratedValue(strategy = GenerationType.AUTO) @Column(nullable = false) private Long id; //клиент кторый запросил транзакцию @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name="Client_id") private Client client; //у тарнзакции может быть только один клиент - заказчик //счет с которго снимаются деньги @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name="Accout_from_id") private Account from; //у тарнзакции может быть только один счет истоник //счет на который кладутся деньги @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name="Accout_too_id") private Account too; //у транзакции может быть только один счет приемник //валюта в которой происходит транзакция private String currency; //сумма транзакции private Double amount; //конвертация в валюту(если нет конвертации то null) private String convertationToo; //сумма после конвертации private Double amountAfterConvert; public Transaction() { } public Transaction(Client client, Account from, Account too, String currency, Double amount, String convertationToo, Double amountAfterConvert) { this.client = client; this.from = from; this.too = too; this.currency = currency; this.amount = amount; this.convertationToo = convertationToo; this.amountAfterConvert = amountAfterConvert; } public void setClient(Client client) { this.client = client; } public void setFrom(Account from) { this.from = from; } public void setToo(Account too) { this.too = too; } public Long getId() { return id; } }
[ "voronovvitalii1990@gmail.com" ]
voronovvitalii1990@gmail.com
365913317ba9ef16ad397a686281fe7357417db5
b82938ee79c6a199953a5c5efa605af5355ac278
/app/src/androidTest/java/com/infinitedimensions/somanami/ApplicationTest.java
73ee01cad47caf7dd5fef4ac3fff310aef4636c2
[]
no_license
nickhargreaves/somanasi
e9f9bc8e59eff8bf75e3f4fbe7b1ae7af2866147
0bd9b50d2b619e933abe406f19f35ce0464de073
refs/heads/master
2021-01-13T01:57:51.602746
2015-09-06T19:22:31
2015-09-06T19:22:31
40,490,758
0
0
null
null
null
null
UTF-8
Java
false
false
362
java
package com.infinitedimensions.somanami; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { super(Application.class); } }
[ "hargreaves1234@gmail.com" ]
hargreaves1234@gmail.com
10c27322db30ef9b7f8e0948b50180d3240fb254
a5faf1db9ce148e3515a6991b87c3b0b0dbd7f63
/app/src/main/java/com/zy/recyclerbanner/ScrollSpeedLinearLayoutManger.java
1032f323d77340421aad04ec62d3bab66cb62ded
[]
no_license
billdizl/recyclerbanner-master
8c9ec2c2159fac239240d7bc1bf2510008405a77
d79b5c3fac19db357e234bbc0e4ed18380d9cf39
refs/heads/master
2020-04-01T16:48:03.536301
2018-10-19T07:21:41
2018-10-19T07:21:41
153,398,929
1
0
null
null
null
null
UTF-8
Java
false
false
1,201
java
package com.zy.recyclerbanner; import android.content.Context; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.LinearSmoothScroller; import android.support.v7.widget.RecyclerView; import android.util.DisplayMetrics; import android.util.Log; /** * author liang * 自定布局管理器 * description */ public class ScrollSpeedLinearLayoutManger extends LinearLayoutManager { public ScrollSpeedLinearLayoutManger(Context context) { super(context); } public ScrollSpeedLinearLayoutManger(Context context, int orientation, boolean reverseLayout) { super(context, orientation, reverseLayout); } @Override public void smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, int position) { LinearSmoothScroller linearSmoothScroller = new LinearSmoothScroller(recyclerView.getContext()) { protected float calculateSpeedPerPixel(DisplayMetrics displayMetrics) { return 0.2f; } }; linearSmoothScroller.setTargetPosition(position); startSmoothScroll(linearSmoothScroller); } }
[ "androidls@163.com" ]
androidls@163.com
d7da2f10049d2f4c634e1cc04755d7b030fb6a01
35ed9cad97585d7b17d0c61be0d706b00d69705e
/src/main/java/com/Epam/JavaCore/hw17_27_01_20/transportation/repo/TransportationRepo.java
a3ede73dad7df872938ddf5f310afd05725fbe55
[]
no_license
DaikerID/Epam_Java.Core
5e7792b84b24debd7c604822bd7eaa5785eb20b5
b7d7ef84a6d3dcf1c5d29233c493af0c3d33595b
refs/heads/master
2022-02-12T06:15:37.075432
2020-02-10T14:18:25
2020-02-10T14:18:25
225,964,034
2
0
null
2022-01-21T23:37:29
2019-12-04T21:54:33
Java
UTF-8
Java
false
false
293
java
package com.Epam.JavaCore.hw17_27_01_20.transportation.repo; import com.Epam.JavaCore.hw17_27_01_20.common.business.repo.CommonRepo; import com.Epam.JavaCore.hw17_27_01_20.transportation.domain.Transportation; public interface TransportationRepo extends CommonRepo<Transportation, Long> { }
[ "igor.havaev@gmail.com" ]
igor.havaev@gmail.com
c9fa40ded9406edc8d48ea0af9693f9637d20eca
f28f904eddee8c19436df08257aca50fe74dcfcf
/app/src/main/java/alexeysachkov/androidsimple/CategoriesContentProvider.java
1d42e8f45048da37e8b520ba3f759a76d1d57b1b
[]
no_license
AlexeySachkov/android-simple
9ac34aff4c790568f819c71b4f58b63b42ff7c80
5414eba6611fe931a134609a2b574af51618ed50
refs/heads/master
2016-09-01T14:36:35.669544
2016-03-24T13:23:41
2016-03-24T13:23:41
54,209,018
0
1
null
2016-03-18T15:37:58
2016-03-18T14:50:50
Java
UTF-8
Java
false
false
5,389
java
package alexeysachkov.androidsimple; import android.content.ContentProvider; import android.content.ContentUris; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.net.Uri; import android.text.TextUtils; import java.util.Arrays; public class CategoriesContentProvider extends ContentProvider { private MainDatabaseHelper mainDatabaseHelper; public static final Uri CATEGORIES_URI = Uri.parse("alexeysachkov.androidsimple.provider/categories"); private static final int URI_ALL_CATEGORIES = 1; private static final int URI_SINGLE_CATEGORY = 2; private static UriMatcher uriMatcher = new UriMatcher(-1); static { uriMatcher.addURI("alexeysachkov.androidsimple.provider", "categories", URI_ALL_CATEGORIES); uriMatcher.addURI("alexeysachkov.androidsimple.provider", "categories/#", URI_SINGLE_CATEGORY); } public CategoriesContentProvider() { } @Override public int delete(Uri uri, String selection, String[] selectionArgs) { switch (uriMatcher.match(uri)) { case URI_ALL_CATEGORIES: break; case URI_SINGLE_CATEGORY: if (TextUtils.isEmpty(selection)) { selection = " WHERE " + Category.CATEGORY_ID_COLUMN + " = ? "; selectionArgs = Arrays.copyOf(selectionArgs, selectionArgs.length + 1); selectionArgs[selectionArgs.length - 1] = uri.getLastPathSegment(); } else { selection += " AND " + Category.CATEGORY_ID_COLUMN + " = ? "; selectionArgs = Arrays.copyOf(selectionArgs, selectionArgs.length + 1); selectionArgs[selectionArgs.length - 1] = uri.getLastPathSegment(); } break; default: throw new IllegalArgumentException("Wrong URI for querying categories: " + uri); } return mainDatabaseHelper.getWritableDatabase().delete(Category.TABLE_NAME, selection, selectionArgs); } @Override public String getType(Uri uri) { // TODO: Implement this to handle requests for the MIME type of the data // at the given URI. throw new UnsupportedOperationException("Not yet implemented"); } @Override public Uri insert(Uri uri, ContentValues values) { if (uriMatcher.match(uri) == URI_ALL_CATEGORIES) { long ID = mainDatabaseHelper.getWritableDatabase().insert(Category.TABLE_NAME, null, values); return ContentUris.withAppendedId(CATEGORIES_URI, ID); } else { throw new IllegalArgumentException("Wrong URI for inserting category: " + uri); } } @Override public boolean onCreate() { mainDatabaseHelper = new MainDatabaseHelper(getContext()); return true; } @Override public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { switch (uriMatcher.match(uri)) { case URI_ALL_CATEGORIES: break; case URI_SINGLE_CATEGORY: if (TextUtils.isEmpty(selection)) { selection = " WHERE " + Category.CATEGORY_ID_COLUMN + " = ? "; selectionArgs = Arrays.copyOf(selectionArgs, selectionArgs.length + 1); selectionArgs[selectionArgs.length - 1] = uri.getLastPathSegment(); } else { selection += " AND " + Category.CATEGORY_ID_COLUMN + " = ? "; selectionArgs = Arrays.copyOf(selectionArgs, selectionArgs.length + 1); selectionArgs[selectionArgs.length - 1] = uri.getLastPathSegment(); } break; default: throw new IllegalArgumentException("Wrong URI for querying categories: " + uri); } Cursor cursor = mainDatabaseHelper.getWritableDatabase().query(Category.TABLE_NAME, projection, selection, selectionArgs, null, null, sortOrder); cursor.setNotificationUri(getContext().getContentResolver(), CATEGORIES_URI); return cursor; } @Override public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { if (uriMatcher.match(uri) == URI_ALL_CATEGORIES) { if (TextUtils.isEmpty(selection)) { selection = " WHERE " + Category.CATEGORY_ID_COLUMN + " = ? "; selectionArgs = Arrays.copyOf(selectionArgs, selectionArgs.length + 1); selectionArgs[selectionArgs.length - 1] = uri.getLastPathSegment(); } else { selection += " AND " + Category.CATEGORY_ID_COLUMN + " = ? "; selectionArgs = Arrays.copyOf(selectionArgs, selectionArgs.length + 1); selectionArgs[selectionArgs.length - 1] = uri.getLastPathSegment(); } return mainDatabaseHelper.getWritableDatabase().update(Category.TABLE_NAME, values, selection, selectionArgs); } else { throw new IllegalArgumentException("Wrong URI for inserting category: " + uri); } } }
[ "alexey.sachkov@intel.com" ]
alexey.sachkov@intel.com
525d3679197fd5f1b4d5e6ed0295724913ee352c
481a63692a64bcfecaf905cdede1b1d211c4c3b1
/src/oracle/soda/rdbms/impl/OracleCollectionImpl.java
10b6b7e3c52d12b9058c304f015f97406278a811
[ "MIT", "UPL-1.0" ]
permissive
autocare/soda-for-java
17a426046603157d3212e578733d91293d27a042
2965a7bc121f532b2bf331eac78c25dac563bd8e
refs/heads/master
2021-04-03T02:17:36.197283
2018-01-11T10:57:00
2018-01-11T10:57:00
null
0
0
null
null
null
null
UTF-8
Java
false
false
35,762
java
/* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.*/ /* DESCRIPTION This is the RDBMS-specific implementation of OracleCollection. */ /** * This class is not part of the public API, and is * subject to change. * * Do not rely on it in your application code. * * @author Doug McMahon * @author Max Orgiyan * @author Rahul Kadwe */ package oracle.soda.rdbms.impl; import java.nio.charset.Charset; import java.nio.charset.CharacterCodingException; import java.math.BigDecimal; import java.security.NoSuchAlgorithmException; import java.sql.ResultSet; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Clob; import java.util.ArrayList; import oracle.json.logging.OracleLog; import oracle.json.parser.JsonPath; import oracle.json.parser.IndexColumn; import oracle.json.parser.JsonQueryPath; import java.util.logging.Logger; import oracle.jdbc.OracleConnection; import oracle.json.common.MetricsCollector; import oracle.json.util.HashFuncs; import oracle.json.util.ByteArray; import oracle.json.util.JsonByteArray; import oracle.json.parser.IndexSpecification; import oracle.json.parser.QueryException; import oracle.soda.OracleException; import oracle.soda.OracleDocument; import oracle.soda.OracleCollection; import oracle.soda.OracleCollectionAdmin; import oracle.soda.OracleOperationBuilder; public abstract class OracleCollectionImpl implements OracleCollection { protected static final Logger log = Logger.getLogger(OracleCollectionImpl.class.getName()); static ArrayList<OracleDocument> EMPTY_LIST = new ArrayList<OracleDocument>(); static byte[] EMPTY_DATA = new byte[0]; private static final int ORA_SQL_DATAGUIDE_NOT_EXISTS = 40582; protected final String collectionName; protected final OracleConnection conn; protected final OracleDatabaseImpl db; protected final MetricsCollector metrics; protected final CollectionDescriptor options; private OracleCollectionAdministrationImpl admin; protected StringBuilder sb = new StringBuilder(SODAConstants.SQL_STATEMENT_SIZE); private final static int ORA_SQL_OBJECT_EXISTS = 955; private final static int ORA_SQL_OBJECT_NOT_EXISTS = 942; private final static int ORA_SQL_INDEX_NOT_EXISTS = 1418; // This is a work-around for the problem that inside the RDBMS // the SQL "returning" clause simply isn't supported. // This also triggers avoidance of a 32k limit on setBytes/setString. protected boolean internalDriver = false; private SODAUtils.SQLSyntaxLevel sqlSyntaxLevel = SODAUtils.SQLSyntaxLevel.SQL_SYNTAX_UNKNOWN; boolean avoidTxnManagement = false; OracleCollectionImpl(OracleDatabaseImpl db, String name) { this(db, name, CollectionDescriptor.createDefault(name)); } OracleCollectionImpl(OracleDatabaseImpl db, String name, CollectionDescriptor options) { this.db = db; this.collectionName = name; this.options = options; this.metrics = db.getMetrics(); this.conn = db.getConnection(); setAvoid(); } void setAvoidTxnManagement(boolean avoidTxnManagement) { this.avoidTxnManagement = avoidTxnManagement; } public void setAvoid() { if (System.getProperty("oracle.jserver.version") != null) { internalDriver = true; if (OracleLog.isLoggingEnabled()) log.fine("Avoid returning clauses for internal connections"); } } /** * Get the collection name. */ private String getName() { return (collectionName); } /** * Returns true if the collection is writable, false if it's read-only. */ protected boolean isReadOnly() { return (!options.writable); } /** * Returns true if the collection can store non-JSON data. * * For an RDBMS-based collection, this means it must have a content type * column and the content column must be based on a BLOB. */ private boolean isHeterogeneous() { return ((options.doctypeColumnName != null) && (options.contentDataType == CollectionDescriptor.BLOB_CONTENT)); } /** * Returns true if the collection allows client-assigned keys. * Not part of a public API. */ public boolean hasClientAssignedKeys() { return (options.keyAssignmentMethod == CollectionDescriptor.KEY_ASSIGN_CLIENT); } /** * Returns true if the collection is backed by a binary payload column. * Not part of a public API. */ public boolean isBinary() { return ((options.contentDataType == CollectionDescriptor.BLOB_CONTENT) || (options.contentDataType == CollectionDescriptor.RAW_CONTENT)); } /** * This returns true if versioning method creates a payload based digest. * Not part of a public API. */ public boolean payloadBasedVersioning() { return ((options.versioningMethod == CollectionDescriptor.VERSION_MD5) || (options.versioningMethod == CollectionDescriptor.VERSION_SHA256) || (options.versioningMethod == CollectionDescriptor.VERSION_NONE)); } boolean matches(CollectionDescriptor desc) { return (this.options.matches(desc)); } /** * Drop this collection. */ private void drop() throws OracleException { db.dropCollection(collectionName); } void writeCheck(String operator) throws OracleException { if (isReadOnly()) { if (OracleLog.isLoggingEnabled()) log.warning("Write to " + options.uriName + " not allowed"); throw SODAUtils.makeException(SODAMessage.EX_READ_ONLY, options.uriName, operator); } } protected String computeVersion(byte[] data) throws OracleException { if (data == null) data = EMPTY_DATA; String version = null; metrics.startTiming(); switch (options.versioningMethod) { case CollectionDescriptor.VERSION_MD5: try { byte[] md5 = HashFuncs.MD5(data); if (md5 != null) version = ByteArray.rawToHex(md5); else { OracleException oe = SODAUtils.makeException(SODAMessage.EX_MD5_NOT_SUPPORTED); if (OracleLog.isLoggingEnabled()) log.warning(oe.getMessage()); throw oe; } } catch (NoSuchAlgorithmException e) { OracleException oe = SODAUtils.makeException(SODAMessage.EX_MD5_NOT_SUPPORTED, e); if (OracleLog.isLoggingEnabled()) log.warning(oe.getMessage()); throw oe; } break; case CollectionDescriptor.VERSION_SHA256: try { byte[] sha = HashFuncs.SHA256(data); if (sha != null) version = ByteArray.rawToHex(sha); else { OracleException oe = SODAUtils.makeException(SODAMessage.EX_SHA256_NOT_SUPPORTED); if (OracleLog.isLoggingEnabled()) log.warning(oe.getMessage()); throw oe; } } catch (NoSuchAlgorithmException e) { OracleException oe = SODAUtils.makeException(SODAMessage.EX_SHA256_NOT_SUPPORTED, e); if (OracleLog.isLoggingEnabled()) log.warning(oe.getMessage()); throw oe; } break; } metrics.recordChecksum(); return (version); } // Convert a hex string to a decimal number // ### Could this conversion be more efficient? protected String uidToDecimal(String hexstr) { byte[] raw = ByteArray.hexToRaw(hexstr); BigDecimal x = BigDecimal.ZERO; BigDecimal shift1byte = new BigDecimal(256L); for (int i = 0; i < raw.length; ++i) x = x.multiply(shift1byte).add(new BigDecimal((int) raw[i] & 0xFF)); return (x.toPlainString()); } private boolean isInteger(String key) { if (key == null) return(false); if (key.length() == 0) return(false); char arr[] = key.toCharArray(); for (int i = 0; i < arr.length; ++i) if ("0123456789".indexOf(arr[i]) < 0) return(false); return(true); } private String zeroStrip(String key) { if (key == null) return(null); int klen = key.length(); if (klen == 0) return(key); int pos; for (pos = 0; pos < klen; ++pos) if (key.charAt(pos) != '0') break; if (pos == 0) return(key); if (pos == klen) return("0"); return(key.substring(pos)); } protected String canonicalKey(String key) throws OracleException { // For integer key columns, the assignment method is irrelevant, // the key string must be a valid integer. if (options.keyDataType == CollectionDescriptor.INTEGER_KEY) { key = zeroStrip(key); if (!isInteger(key)) throw SODAUtils.makeException(SODAMessage.EX_INVALID_KEY, key, options.getKeyDataType()); } // If the assignment method is GUID/UUID, ensure that the key // is a 32-character uppercased hexadecimal string. else if ((options.keyAssignmentMethod == CollectionDescriptor.KEY_ASSIGN_GUID) || (options.keyAssignmentMethod == CollectionDescriptor.KEY_ASSIGN_UUID)) { int len = key.length(); int xlen = 32; if (len < xlen) { String zeros = "00000000000000000000000000000000"; key = zeros.substring(1, xlen - len) + key; } else if (len > xlen) { throw SODAUtils.makeException(SODAMessage.EX_INVALID_KEY, key, options.getKeyAssignmentMethod()); } if (!ByteArray.isHex(key)) throw SODAUtils.makeException(SODAMessage.EX_INVALID_KEY, key, options.getKeyAssignmentMethod()); } // For RAW key columns, make sure the string is safe to pass to // a SQL HexToRaw conversion. else if (options.keyDataType == CollectionDescriptor.RAW_KEY) { if (!ByteArray.isHex(key)) throw SODAUtils.makeException(SODAMessage.EX_INVALID_KEY, key, options.getKeyDataType()); } // For sequence-assigned keys else if (options.keyAssignmentMethod == CollectionDescriptor.KEY_ASSIGN_SEQUENCE) { key = zeroStrip(key); if (!isInteger(key)) throw SODAUtils.makeException(SODAMessage.EX_INVALID_KEY, key, "INTEGER"); } return (key); } /** * Convert a byte array to a string after autodetecting the character set. */ static String stringFromBytes(byte[] data, boolean checked) throws OracleException { if (data == null) return(""); if (data.length == 0) return(""); // ### This gets the character set for the JSON data, // but it would be best to avoid this in cases // where the data originated from a JSON parse. Charset datacs = JsonByteArray.getJsonCharset(data); // Unchecked conversion is faster. // In cases where bad bytes are present, switching them to // Unicode replacement characters seems reasonable since they're // going to undergo a potentially lossy character set conversion // to SQL anyway. // if (!checked) return new String(data, datacs); // Otherwise the bytes need to be validated try { return ByteArray.bytesToString(data, datacs); } catch (CharacterCodingException e) { throw new OracleException(e); } } /** * Convert a byte array to a string after autodetecting the character set. */ static String stringFromBytes(byte[] data) throws OracleException { return(OracleCollectionImpl.stringFromBytes(data, false)); } /** * Return a single object matching a key. */ public OracleDocument findOne(String key) throws OracleException { return find().key(key).getOne(); } /** * Finds a document fragment. * Not part of a public API. */ abstract public OracleDocumentFragmentImpl findFragment(String key, long offset, int length) throws OracleException; /** * Return an OracleOperationBuilder for all objects in the collection. */ public OracleOperationBuilder find() { return new OracleOperationBuilderImpl(this, conn); } private void truncate() throws OracleException { writeCheck("truncate"); // Truncate not supported on views (or PLSQL collections for now) if (options.dbObjectType != CollectionDescriptor.DBOBJECT_TABLE) throw SODAUtils.makeException(SODAMessage.EX_TRUNCATE_NOT_SUPP, options.uriName); sb.setLength(0); sb.append("truncate table \""); sb.append(options.dbObjectName); sb.append("\""); String sqltext = sb.toString(); PreparedStatement stmt = null; try { metrics.startTiming(); stmt = conn.prepareStatement(sqltext); stmt.execute(); if (OracleLog.isLoggingEnabled()) log.fine("Truncated collection "+collectionName); stmt.close(); stmt = null; // Commit unnecessary for TRUNCATE TABLE metrics.recordDDL(); } catch (SQLException e) { throw SODAUtils.makeExceptionWithSQLText(e, sqltext); } finally { for (String message : SODAUtils.closeCursor(stmt, null)) { if (OracleLog.isLoggingEnabled()) log.severe(message); } } } /** * Not part of a public API */ @Override public String toString() { return(options.toString()); } public OracleCollectionAdmin admin() { if (admin == null) { admin = new OracleCollectionAdministrationImpl(); } return admin; } CollectionDescriptor getOptions() { return options; } MetricsCollector getMetrics() { return metrics; } OracleDatabaseImpl getDatabase() { return db; } /** * Build string ["schema".]"table" */ void appendTable(StringBuilder sb) { sb.append("\""); if (options.dbSchema != null) { sb.append(options.dbSchema); sb.append("\".\""); } sb.append(options.dbObjectName); sb.append("\""); } /** * Append a SQL format clause if the content column is binary */ private void addFormat(StringBuilder sb) { //Append the format clause for binary types if ((options.contentDataType == CollectionDescriptor.BLOB_CONTENT) || (options.contentDataType == CollectionDescriptor.RAW_CONTENT)) sb.append(" format json"); } private String buildCTXIndexDDL(String indexName, String language, boolean is121TextIndexWithLang) throws OracleException { if (!is121TextIndexWithLang) { sb.setLength(0); sb.append("create index \""); sb.append(indexName); sb.append("\" on "); appendTable(sb); sb.append(" (\""); sb.append(options.contentColumnName); sb.append("\") "); sb.append("indextype is CTXSYS.CONTEXT"); sb.append(" parameters('section group CTXSYS.JSON_SECTION_GROUP sync (on commit)"); sb.append("')"); // ### Should we specify these hard coded parameters? //sb.append(" memory 100M"); //sb.append("')"); //sb.append(" parallel 8"); } // ### // 12.1 Text Index with language support. Uses // slow auto-lexer and broken on update to 12.2. // Do not use in production!!! else { String lexerName = null; try { lexerName = IndexSpecification.get121Lexer(language); } catch (QueryException e) { throw SODAUtils.makeException(SODAMessage.EX_INVALID_INDEX_CREATE, e); } sb.setLength(0); sb.append("create index \""); sb.append(indexName); sb.append("\" on "); appendTable(sb); sb.append(" (\""); sb.append(options.contentColumnName); sb.append("\") "); sb.append("indextype is CTXSYS.CONTEXT"); sb.append(" parameters('"); // BEGIN PARAMETERS sb.append("section group CTXSYS.JSON_SECTION_GROUP"); // Append the lexer for this language if (lexerName != null) { sb.append(" lexer "); sb.append(lexerName); } sb.append(" stoplist CTXSYS.EMPTY_STOPLIST"); sb.append(" sync (on commit)"); sb.append(" memory 100M"); // ### Hard-coded! sb.append("')"); // END PARAMETERS sb.append(" parallel 8"); } return (sb.toString()); } private String buildDGIndexDDL(String indexName, String language, String search_on, String dataguide) throws OracleException { sb.setLength(0); // Default data guide type if (search_on == null) search_on = "text_value"; // By default, dataguide is "on" if (dataguide == null) dataguide = "on"; String lexerName = null; try { // English is the default, and will be picked when language is // not specified. if (language != null) { lexerName = IndexSpecification.getLexer(language); } } catch (QueryException e) { throw SODAUtils.makeException(SODAMessage.EX_INVALID_INDEX_CREATE, e); } sb.append("create search index \""); sb.append(indexName); sb.append("\" on "); appendTable(sb); sb.append(" (\""); sb.append(options.contentColumnName); sb.append("\") "); sb.append("for json"); sb.append(" parameters('"); // BEGIN PARAMETERS sb.append("sync (on commit)"); sb.append(" search_on "); sb.append(search_on.toLowerCase()); sb.append(" dataguide "); sb.append(dataguide.toLowerCase()); // If language parameter is omitted, // it defaults to English. if (lexerName != null) { sb.append(" language "); sb.append(lexerName); } sb.append("')"); // END PARAMETERS return (sb.toString()); } /** * Build the drop DDL for an index */ private String dropIndexDDL(String indexName, boolean forceFlag) { sb.setLength(0); sb.append("drop index \""); // Assumed to a valid identifier (already passed // through CollectionDescriptor.stringToIdentifier()) sb.append(indexName); sb.append("\""); if (forceFlag) sb.append(" force"); return(sb.toString()); } /** * Build the DDL for an index */ private String buildIndexDDL(String indexName, boolean unique, boolean scalarRequired, boolean lax, JsonPath[] columns) throws OracleException { sb.setLength(0); sb.append("create "); if (unique) sb.append("unique "); sb.append("index \""); // Assumed to a valid identifier (already passed // through CollectionDescriptor.stringToIdentifier()) sb.append(indexName); sb.append("\" on "); appendTable(sb); sb.append(" ("); boolean first = true; int numCharCols = 0; int numCharColsLen = 0; for (JsonPath column : columns) { String sqlTypeName = null; int sqlType = IndexColumn.SQLTYPE_NONE; int maxLength = 0; String sqlOrder = null; if (column instanceof IndexColumn) { sqlTypeName = ((IndexColumn)column).getSqlTypeName(); sqlType = ((IndexColumn)column).getSqlType(); maxLength = ((IndexColumn)column).getMaxLength(); sqlOrder = ((IndexColumn)column).getOrder(); } String[] steps = column.getSteps(); if (first) first = false; else sb.append(", "); // Signals that we shouldn't bother with a RETURNING clause boolean renderReturning = false; if (sqlTypeName != null) renderReturning = true; sb.append("JSON_VALUE(\""); sb.append(options.contentColumnName); sb.append("\""); addFormat(sb); sb.append(",\'"); // Use JsonQueryPath to centralize the singleton string builder JsonQueryPath jqp = new JsonQueryPath(steps); jqp.toSingletonString(sb); if (jqp.hasArraySteps()) { throw SODAUtils.makeException(SODAMessage.EX_ARRAY_STEPS_IN_PATH); } sb.append("\'"); if (renderReturning) { sb.append(" returning "); sb.append(sqlTypeName); if (sqlType == (IndexColumn.SQLTYPE_CHAR)) { if (numCharCols + 1 > IndexColumn.MAX_CHAR_COLUMNS) throw SODAUtils.makeException(SODAMessage.EX_TOO_MANY_COLUMNS, Integer.toString(numCharCols)); if (maxLength > 0) { sb.append("("); sb.append(maxLength); sb.append(")"); numCharColsLen += maxLength; } else { sb.append("(\uFFFF)"); // Marker character to be filled in later ++numCharCols; } } } if (!lax) { if (scalarRequired) sb.append(" ERROR ON ERROR"); else sb.append(" ERROR ON ERROR NULL ON EMPTY"); } sb.append(") "); if (sqlOrder != null) sb.append(sqlOrder); } sb.append(")"); String str = sb.toString(); if (numCharCols > 0) { int defaultSize = 0; // Compute the maximum length by removing all fixed sized values // from a budget of 2000 characters and dividing the remaining space. if (numCharColsLen < 2000) defaultSize = (2000 - numCharColsLen)/numCharCols; // If the budget is exhausted hard-wire the minimum of 255 if (defaultSize < 255) defaultSize = 255; // Now see what the grand total is numCharColsLen += (defaultSize * numCharColsLen); if (numCharColsLen > 4000) { // This is trouble because the total size is probably too large if (OracleLog.isLoggingEnabled()) log.warning("Total size of index "+indexName+" is "+numCharColsLen); // ### For now do nothing but log the issue // ### Possibly we should reduce the default one more time? } str = str.replaceAll("\uFFFF", Integer.toString(defaultSize)); } return(str); } private void checkAllowedTextIndexContentAndKeyTypes() throws OracleException { // Text indexing cannot currently support the National Character Set. // This might or might not be supported in the future. We throw // the error here as opposed to relying on the SQL, because // it will create an invalid index object. if ((options.contentDataType == CollectionDescriptor.NCHAR_CONTENT) || (options.contentDataType == CollectionDescriptor.NCLOB_CONTENT)) { throw SODAUtils.makeException(SODAMessage.EX_UNSUPPORTED_INDEX_CREATE, options.getContentDataType()); } // Text indexing doesn't support encrypted columns. We throw // the error here as opposed to relying on the SQL, because // the SQL incorrectly doesn't throw the error (bug 20202126). // Even if the error is thrown once the bug is fixed, the SQL will // likely create an invalid index object. else if (options.contentLobEncrypt != CollectionDescriptor.LOB_ENCRYPT_NONE) { throw SODAUtils.makeException(SODAMessage.EX_UNSUPPORTED_ENCRYPTED_INDEX_CREATE); } // Text indexing cannot currently support National Character Set // primary key. This seems like a legacy issue, and will hopefully // be fixed in the future. Bug number: 20116846. We throw the // error here as opposed to relying on the SQL, because it // will create an invalid index object. else if (options.keyDataType == CollectionDescriptor.NCHAR_KEY) { throw SODAUtils.makeException(SODAMessage.EX_UNSUPPORTED_INDEX_CREATE2); } } /** * Create an index */ // ### // // 1) If index with provided name exists already,check // that it has an equivalent specification (otherwise throw an // error). Current behavior simply ignores the error if // an index with the same name exists already. // // 2) Consider alternative (or additional) functionality, where // the unique name is automatically generated. private void createIndex(String indexName, boolean unique, boolean scalarRequired, boolean lax, JsonPath[] columns, String language, String search_on, String dataguide, boolean is121TextIndexWithLang) throws OracleException { PreparedStatement stmt = null; if (indexName == null) throw SODAUtils.makeException(SODAMessage.EX_ARG_CANNOT_BE_NULL, "indexName"); indexName = CollectionDescriptor.stringToIdentifier(indexName); String sqltext = null; if (columns == null || columns.length == 0) { checkAllowedTextIndexContentAndKeyTypes(); if (isHeterogeneous()) { throw SODAUtils.makeException(SODAMessage.EX_NO_TEXT_INDEX_ON_HETERO_COLLECTIONS); } sqlSyntaxLevel = SODAUtils.getSQLSyntaxlevel(conn, sqlSyntaxLevel); // Field cross-validation is performed in IndexSpecification class, // after parsing. However, IndexSpecification class is not aware of db release // info. Perform additional validation here based on db release // info. if (SODAUtils.sqlSyntaxBelow_12_2(sqlSyntaxLevel)) { if (search_on != null) throw SODAUtils.makeException((SODAMessage.EX_INVALID_PARAM_121_INDEX), "search_on"); if (dataguide != null) throw SODAUtils.makeException((SODAMessage.EX_INVALID_PARAM_121_INDEX), "dataguide"); if (language != null && !is121TextIndexWithLang) throw SODAUtils.makeException(SODAMessage.EX_INVALID_PARAM_121_INDEX, "language"); } if (is121TextIndexWithLang || SODAUtils.sqlSyntaxBelow_12_2(sqlSyntaxLevel)) { sqltext = buildCTXIndexDDL(indexName, language, is121TextIndexWithLang); } else { sqltext = buildDGIndexDDL(indexName, language, search_on, dataguide); } } else { if (isHeterogeneous()) { throw SODAUtils.makeException(SODAMessage.EX_NO_FUNC_INDEX_ON_HETERO_COLLECTIONS); } sqlSyntaxLevel = SODAUtils.getSQLSyntaxlevel(conn, sqlSyntaxLevel); if (SODAUtils.sqlSyntaxBelow_12_2(sqlSyntaxLevel) && !scalarRequired && !lax) { throw SODAUtils.makeException(SODAMessage.EX_NULL_ON_EMPTY_NOT_SUPPORTED); } sqltext = buildIndexDDL(indexName, unique, scalarRequired, lax, columns); } try { metrics.startTiming(); if (OracleLog.isLoggingEnabled()) log.info("Index DDL: "+sqltext); stmt = conn.prepareStatement(sqltext); stmt.execute(); if (OracleLog.isLoggingEnabled()) log.info("Created index "+indexName); stmt.close(); stmt = null; metrics.recordDDL(); } catch (SQLException e) { if (e.getErrorCode() == ORA_SQL_OBJECT_EXISTS) { // Index already exists - ignore the error. if (OracleLog.isLoggingEnabled()) log.warning(e.toString()); } else { if (OracleLog.isLoggingEnabled()) log.warning(e.toString()); throw SODAUtils.makeExceptionWithSQLText(e, sqltext); } } finally { for (String message : SODAUtils.closeCursor(stmt, null)) { if (OracleLog.isLoggingEnabled()) log.severe(message); } } } /** * Drop the named index */ private void dropIndex(String indexName) throws OracleException { PreparedStatement stmt = null; if (indexName == null) throw SODAUtils.makeException(SODAMessage.EX_ARG_CANNOT_BE_NULL, "indexName"); indexName = CollectionDescriptor.stringToIdentifier(indexName); boolean forceFlag = false; // ### Add for spatial and CTX indexes? String sqltext = dropIndexDDL(indexName, forceFlag); try { metrics.startTiming(); stmt = conn.prepareStatement(sqltext); stmt.execute(); if (OracleLog.isLoggingEnabled()) log.info("Dropped index "+indexName); stmt.close(); stmt = null; metrics.recordDDL(); } catch (SQLException e) { int errcode = e.getErrorCode(); if ((errcode == ORA_SQL_OBJECT_NOT_EXISTS) || (errcode == ORA_SQL_INDEX_NOT_EXISTS)) { // Index doesn't exist - ignore the error. if (OracleLog.isLoggingEnabled()) log.warning(e.toString()); } else { if (OracleLog.isLoggingEnabled()) log.warning(e.toString()); throw SODAUtils.makeExceptionWithSQLText(e, sqltext); } } finally { for (String message : SODAUtils.closeCursor(stmt, null)) { if (OracleLog.isLoggingEnabled()) log.severe(message); } } } /** * Not part of a public API. Used internally by the REST layer. */ public void dropIndex(OracleDocument indexSpecification) throws OracleException { String idxName = null; if (indexSpecification == null) throw SODAUtils.makeException(SODAMessage.EX_ARG_CANNOT_BE_NULL, "indexSpecification"); IndexSpecification ispec = new IndexSpecification(((OracleDocumentImpl) indexSpecification).getContentAsStream()); try { idxName = ispec.parse(); } catch (QueryException e) { if (OracleLog.isLoggingEnabled()) log.warning(e.toString()); throw SODAUtils.makeException(SODAMessage.EX_INVALID_INDEX_DROP, e); } OracleCollectionImpl.this.dropIndex(idxName); } private OracleDocument getDataGuide() throws OracleException { OracleDocument doc = null; PreparedStatement stmt = null; ResultSet rows = null; String sqltext = "select DBMS_JSON.GET_INDEX_DATAGUIDE(?,?,?,?) from SYS.DUAL"; try { metrics.startTiming(); stmt = conn.prepareStatement(sqltext); // get_index_dataguide requires double quotes // inside the table name string literal, in order to // interpret the table name literally. Otherwise, // it's interpreted as an unquoted identifier, // e.g. might get upper-cased. String quotedName = options.dbObjectName; // ### Due to bug 23509094, quotes don't work, so for now attempt // ### to avoid them for uppercase alphanumeric ASCII strings. if (!quotedName.matches("^[_#$A-Z][_#$A-Z\\d]*$")) quotedName = "\"" + quotedName + "\""; stmt.setString(1, quotedName); stmt.setString(2, options.contentColumnName); stmt.setInt(3, 1); // JSON Schema (1) versus Relational (2) stmt.setInt(4, 0); // Not the pretty-printed mode (which is 1) rows = stmt.executeQuery(); if (rows.next()) { // We get it as a CLOB because it's a temp LOB and we want to free it Clob tmp = rows.getClob(1); String tmpStr = tmp.getSubString(1L, (int) tmp.length()); doc = new OracleDocumentImpl(tmpStr); tmp.free(); } stmt.close(); stmt = null; metrics.recordCall(); } catch (SQLException e) { int errcode = e.getErrorCode(); if (errcode == ORA_SQL_DATAGUIDE_NOT_EXISTS) { // No DataGuide available, null return is OK } else { if (OracleLog.isLoggingEnabled()) log.warning(e.toString()); throw SODAUtils.makeExceptionWithSQLText(e, sqltext); } } finally { for (String message : SODAUtils.closeCursor(stmt, rows)) { if (OracleLog.isLoggingEnabled()) log.severe(message); } } return(doc); } /** * OracleCollectionAdministrationImpl * * This is the RDBMS-specific implementation of OracleCollectionAdmin */ private class OracleCollectionAdministrationImpl implements OracleCollectionAdmin { public String getName() { return OracleCollectionImpl.this.getName(); } public void drop() throws OracleException { OracleCollectionImpl.this.drop(); } public void truncate() throws OracleException { OracleCollectionImpl.this.truncate(); } public boolean isHeterogeneous() { return OracleCollectionImpl.this.isHeterogeneous(); } public boolean isReadOnly() { return OracleCollectionImpl.this.isReadOnly(); } /** * Returns a JSON description of the collection. * * @return JSON description of the collection */ public OracleDocument getMetadata() { OracleDocument result = new OracleDocumentImpl(options.getDescription()); return(result); } /** * Returns a JSON schema for documents in the collection. * * @return JSON schema for the collection, or null if unknown */ public OracleDocument getDataGuide() throws OracleException { OracleDocument result = OracleCollectionImpl.this.getDataGuide(); return(result); } public void createJsonSearchIndex(String indexName) throws OracleException { OracleCollectionImpl.this.createIndex(indexName, false, false, false, null, null, null, null, false); } public void createJsonSearchIndex(String indexName, String language) throws OracleException { sqlSyntaxLevel = SODAUtils.getSQLSyntaxlevel(conn, sqlSyntaxLevel); if (SODAUtils.sqlSyntaxBelow_12_2(sqlSyntaxLevel) && language != null) throw SODAUtils.makeException(SODAMessage.EX_LANG_NOT_SUPPORTED_WITH_121_TEXT_INDEX); OracleCollectionImpl.this.createIndex(indexName, false, false, false, null, language, null, null, false); } public void createIndex(OracleDocument indexSpecification) throws OracleException { String idxName = null; if (indexSpecification == null) throw SODAUtils.makeException(SODAMessage.EX_ARG_CANNOT_BE_NULL, "indexSpecification"); IndexSpecification ispec = new IndexSpecification(((OracleDocumentImpl) indexSpecification).getContentAsStream()); try { idxName = ispec.parse(); } catch (QueryException e) { if (OracleLog.isLoggingEnabled()) log.warning(e.toString()); throw SODAUtils.makeException(SODAMessage.EX_INVALID_INDEX_CREATE, e); } OracleCollectionImpl.this.createIndex(idxName, ispec.isUnique(), ispec.isScalarRequired(), ispec.isLax(), ispec.getColumns(), ispec.getLanguage(), ispec.getSearchOn(), ispec.getDataGuide(), ispec.is121TextIndexWithLang()); } public void dropIndex(String indexName) throws OracleException { OracleCollectionImpl.this.dropIndex(indexName); } } }
[ "maxim.orgiyan@oracle.com" ]
maxim.orgiyan@oracle.com
74e03ce06b1fc6672820d21aa3cce78e586ce9a4
628f6463678ce6e11ebce2c0800f46869690749b
/src/ScreenOverlay.java
6e491808a1a3c2742e81170009578f29a68df271
[]
no_license
cmfitzg2/Quire
81e14e1391fa1c159f144ee66a525081fc1b361b
caf790b85b65105e3f2cc712b0c27d977cacf0f3
refs/heads/master
2022-12-02T03:58:01.656072
2020-08-19T20:45:34
2020-08-19T20:45:34
288,833,510
0
0
null
null
null
null
UTF-8
Java
false
false
2,717
java
package src; import java.awt.Color; import java.awt.Graphics; public class ScreenOverlay { private int gameWidth; private int gameHeight; Handler handler; public ScreenOverlay(Handler handler) { this.handler = handler; gameWidth = handler.getGame().getWidth(); gameHeight = handler.getGame().getHeight(); } public void overlayScreen(Graphics graphics, Color c) { graphics.setColor(c); graphics.fillRect(0, 0, gameWidth, gameHeight); } public void drawTimeOfDay(Graphics graphics, int currentTime) { switch (currentTime) { case 0: //dawn handler.getScreenOverlay().overlayScreen(graphics, new Color(255, 81, 58, 60)); break; case 1: //morning handler.getScreenOverlay().overlayScreen(graphics, new Color(255, 162, 0, 60)); break; case 2: //midday break; case 3: //afternoon break; case 4: //night handler.getScreenOverlay().overlayScreen(graphics, new Color(0, 12, 255, 85)); break; case 5: //midnight handler.getScreenOverlay().overlayScreen(graphics, new Color(0, 2, 45, 175)); break; case 6: //twilight handler.getScreenOverlay().overlayScreen(graphics, new Color(57, 37, 124, 100)); break; } } public void drawTemperature(Graphics graphics, int currentTemperature) { if (currentTemperature >= 9) { graphics.drawImage(Assets.temperatureHot, 0, 0, handler.getWidth(), handler.getHeight(), null); } else if (currentTemperature <= 2) { graphics.drawImage(Assets.temperatureCold, 0, 0, handler.getWidth(), handler.getHeight(), null); } } public void drawVision(Graphics graphics) { if (!handler.getFlags().isVisionLimited()) { return; } int xOffsetCamera = (int) handler.getGameCamera().getxOffsetCamera(); int yOffsetCamera = (int) handler.getGameCamera().getyOffsetCamera(); int xOffset = (int) handler.getGameCamera().getxOffset(); int yOffset = (int) handler.getGameCamera().getyOffset(); int xDrawFrom = -handler.getWidth(); int yDrawFrom = -handler.getHeight(); int xScale = handler.getWidth() * 3; int yScale = handler.getHeight() * 3; //we need to check the 4 cardinal directions and the diagonals to figure out where to center the vision if (xOffsetCamera < 0) { xDrawFrom += xOffsetCamera; } else if (xOffsetCamera > xOffset) { xDrawFrom += xOffsetCamera - xOffset; } if (yOffsetCamera < 0) { yDrawFrom += yOffsetCamera; } else if (yOffsetCamera > yOffset) { yDrawFrom += yOffsetCamera - yOffset; } if (handler.getFlags().isVisionLimited()) { graphics.drawImage(Assets.tunnelVision[SurvivalStatus.maxDarknessLevel - SurvivalStatus.darknessLevel], xDrawFrom - 1, yDrawFrom, xScale, yScale, null); } } }
[ "gelatinous.octahedron@gmail.com" ]
gelatinous.octahedron@gmail.com
0ea951b750d7095e410838e03f0c4f783db00048
787fe924d7a42d4916fda081a9158e1a105baf7d
/components/mediation-connector/org.wso2.carbon.connector.core/src/main/java/org/wso2/carbon/connector/core/connection/Connection.java
a41e5443f8b862a51c6fdf7da5cc95444d1d0471
[]
no_license
sajithaliyanage/carbon-mediation
eebb6307ba64088c314c17879fb9b68e1e56bba1
c0484d8378afa8cd3ca70d9d2ba88ec013e4969a
refs/heads/master
2022-04-29T16:51:26.681124
2021-02-22T07:41:28
2021-02-23T08:04:31
172,858,250
0
0
null
2019-02-27T06:38:22
2019-02-27T06:38:22
null
UTF-8
Java
false
false
844
java
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.wso2.carbon.connector.core.connection; /** * Represents a base connection that other connections should implement */ public interface Connection { }
[ "dinuksha.ishwari@gmail.com" ]
dinuksha.ishwari@gmail.com
72c4d684a05308e2304f09ddb10390ed1562bc62
63e125c1f0b958b2eac46f13eb8d2ac9b8dbf70b
/src/main/java/com/seguradora/sistema/api/documents/Cliente.java
919d665258ec2fc8d7211fbef077bcd99e923159
[]
no_license
jassump/apolice
5ed8f1a064edda75f41528e4e1c65c217b66e15f
94d3648a33b72448cbda252c29b9265997c31368
refs/heads/master
2022-12-03T12:09:28.033538
2020-08-21T22:37:47
2020-08-21T22:37:47
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,109
java
package com.seguradora.sistema.api.documents; import javax.validation.constraints.NotEmpty; import org.hibernate.validator.constraints.br.CPF; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import com.seguradora.sistema.api.validation.Validacao; @Document public class Cliente { @CPF @Id private String cpf; private String nome; private String cidade; private String uf; @NotEmpty(message="Unidade federativa nao pode estar vazio") public String getUf() { return uf; } public void setUf(String uf) { this.uf = uf; } @NotEmpty(message="Cidade nao pode ser vazio") public String getCidade() { return cidade; } public void setCidade(String cidade) { this.cidade = cidade; } @NotEmpty(message="Nome nao pode ser vazio") public String getNome() { return nome; } public void setNome(String nome) { this.nome = nome; } @CPF public String getCpf() { return cpf; } public void setCpf(String cpf) { this.cpf = cpf; } public void validar(Validacao valida) throws Exception{ valida.executar(); } }
[ "55033234+Jonathan-Assumpcao@users.noreply.github.com" ]
55033234+Jonathan-Assumpcao@users.noreply.github.com
671fbd845c8485cc69d9cdabed7f0cfbc22a690e
0708a129470cea8ce32bda4c2a8d934afedd8675
/UndirectedUnWeightedGraph.java
4903bfa672bc3b0921393f8e997b1ae6c708fb4b
[]
no_license
prupakheti/EulerTour
b4cc4a0fefa713dd59130653a140c6dee5c20832
204d4dcb0b9feb525774522111746e4f5ebe5ea5
refs/heads/master
2020-04-15T03:56:06.384270
2013-11-27T06:07:22
2013-11-27T06:07:22
14,738,826
2
0
null
null
null
null
UTF-8
Java
false
false
1,376
java
package eulertour; import java.util.ArrayList; import java.util.List; public class UndirectedUnWeightedGraph { private int V; // total number of vertices. vertex number ranges from 0 to V-1 private int E; // total number of edges private List<Integer> []adjs; // adjacency list. adj[i] is a list of vertex of all neighbors of vertex i @SuppressWarnings("unchecked") public UndirectedUnWeightedGraph(int V){ this.V = V; adjs = new List[V]; for( int i = 0; i < V; ++i ){ adjs[i] = new ArrayList<Integer>(); } } public int vertices(){ return V; } public int edges(){ return E; } /** * * @param v : the vertex of which the neighbors are to be returned * @return : the list of neighbors of vertex v * @throws Exception if v is invalid vertex */ public List<Integer> adj(int v) throws Exception{ if( v < 0 || v >= V) throw new Exception("Invalid Vertex "+v); return adjs[v]; } /** * * @param u the first vertex of the edge u<-->v * @param v the second vertex of the edge u<-->v * @throws Exception if u and v are invalid */ public void add(int u, int v) throws Exception{ if( v < 0 || v >= V) throw new Exception("Invalid Vertex "+v); if( u < 0 || u >= V) throw new Exception("Invalid Vertex "+u); if( !adjs[u].contains(v) && !adjs[v].contains(u)){ adjs[u].add(v); adjs[v].add(u); ++E; } } }
[ "prajwalrupakheti@gmail.com" ]
prajwalrupakheti@gmail.com
b71c0c4f1db364711a92beb168a4cf93db000f5c
9f5dfce2b29063c44c69e161c02d42182e9365b9
/src/sudoku/userinterface/UserInterfaceImpl.java
bef3e6a95492ed0e7667ab48fd700cbbc6c7ba4d
[]
no_license
therandomfool/SodukoJava
892c51f6600c5577d2d7fe6a1abe6a1c39fb7a6c
361c00bca6969bef7a43e917945de70d857e98b8
refs/heads/master
2022-11-23T16:24:25.620775
2020-07-24T03:06:21
2020-07-24T03:06:21
280,618,479
1
0
null
null
null
null
UTF-8
Java
false
false
11,156
java
package sudoku.userinterface; import javafx.event.EventHandler; import javafx.geometry.Pos; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.control.Alert; import javafx.scene.control.ButtonType; import javafx.scene.control.TextField; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyEvent; import javafx.scene.layout.Background; import javafx.scene.paint.Color; import javafx.scene.shape.Rectangle; import javafx.scene.text.Font; import javafx.scene.text.Text; import javafx.stage.Stage; import sudoku.constants.GameState; import sudoku.problemdomain.Coordinates; import sudoku.problemdomain.SudokuGame; import java.util.HashMap; public class UserInterfaceImpl implements IUserInterfaceContract.View, EventHandler<KeyEvent> { private final Stage stage; private final Group root; //This HashMap stores the Hash Values (a unique identifier which is automatically generated; // see java.lang.object in the documentation) of each TextField by their Coordinates. When a SudokuGame //is given to the updateUI method, we iterate through it by X and Y coordinates and assign the values to the //appropriate TextField therein. This means we don't need to hold a reference variable for every god damn //text field in this app; which would be awful. //The Key (<Key, Value> -> <Coordinates, Integer>) will be the HashCode of a given InputField for ease of lookup private HashMap<Coordinates, SudokuTextField> textFieldCoordinates; private IUserInterfaceContract.EventListener listener; //Size of the window private static final double WINDOW_Y = 732; private static final double WINDOW_X = 668; //distance between window and board private static final double BOARD_PADDING = 50; private static final double BOARD_X_AND_Y = 576; private static final Color WINDOW_BACKGROUND_COLOR = Color.rgb(0, 150, 136); private static final Color BOARD_BACKGROUND_COLOR = Color.rgb(224, 242, 241); private static final String SUDOKU = "Sudoku"; /** * Stage and Group are JavaFX specific classes for modifying the UI. Think of them as containers of various UI * components. * * A HashMap is a data structure which stores key/value pairs. Rather than creating a member variable for every * SudokuTextField object (all 81 of them), I instead store these references within a HashMap, and I retrieve * them by using their X and Y Coordinates as a "key" (a unique value used to look something up). * * @param stage */ public UserInterfaceImpl(Stage stage) { this.stage = stage; this.root = new Group(); this.textFieldCoordinates = new HashMap<>(); initializeUserInterface(); } @Override public void setListener(IUserInterfaceContract.EventListener listener) { this.listener = listener; } public void initializeUserInterface() { drawBackground(root); drawTitle(root); drawSudokuBoard(root); drawTextFields(root); drawGridLines(root); stage.show(); } /** * 1. Draw each TextField based on x and y values. * 2. As each TextField is drawn, add it's coordinates (x, y) based on it's Hash Value to * to the HashMap. * * @param root */ private void drawTextFields(Group root) { //where to start drawing the numbers final int xOrigin = 50; final int yOrigin = 50; //how much to move the x or y value after each loop final int xAndYDelta = 64; for (int xIndex = 0; xIndex < 9; xIndex++) { for (int yIndex = 0; yIndex < 9; yIndex++) { int x = xOrigin + xIndex * xAndYDelta; int y = yOrigin + yIndex * xAndYDelta; //draw it SudokuTextField tile = new SudokuTextField(xIndex, yIndex); //encapsulated style information styleSudokuTile(tile, x, y); //Note: Note that UserInterfaceImpl implements EventHandler<ActionEvent> in the class declaration. //By passing "this" (which means the current instance of UserInterfaceImpl), when an action occurs, //it will jump straight to "handle(ActionEvent actionEvent)" down below. tile.setOnKeyPressed(this); textFieldCoordinates.put(new Coordinates(xIndex, yIndex), tile); root.getChildren().add(tile); } } } /** * Helper method for styling a sudoku tile number * @param tile * @param x * @param y */ private void styleSudokuTile(SudokuTextField tile, double x, double y) { Font numberFont = new Font(32); tile.setFont(numberFont); tile.setAlignment(Pos.CENTER); tile.setLayoutX(x); tile.setLayoutY(y); tile.setPrefHeight(64); tile.setPrefWidth(64); tile.setBackground(Background.EMPTY); } /** * In order to draw the various lines that make up the Sudoku grid, we use a starting x and y offset * value (remember, x grows positively from left to right, and y grows positively from top to bottom). * Each square is meant to be 64x64 units, so we add that number each time a * @param root */ private void drawGridLines(Group root) { //draw vertical lines starting at 114x and 114y: int xAndY = 114; int index = 0; while (index < 8) { int thickness; if (index == 2 || index == 5) { thickness = 3; } else { thickness = 2; } Rectangle verticalLine = getLine( xAndY + 64 * index, BOARD_PADDING, BOARD_X_AND_Y, thickness ); Rectangle horizontalLine = getLine( BOARD_PADDING, xAndY + 64 * index, thickness, BOARD_X_AND_Y ); root.getChildren().addAll( verticalLine, horizontalLine ); index++; } } /** * Convenience method to reduce repetitious code. * * X, Y, Height, Width, * @return A Rectangle to specification */ public Rectangle getLine(double x, double y, double height, double width){ Rectangle line = new Rectangle(); line.setX(x); line.setY(y); line.setHeight(height); line.setWidth(width); line.setFill(Color.BLACK); return line; } /** * Background of the primary window * @param root */ private void drawBackground(Group root) { Scene scene = new Scene(root, WINDOW_X, WINDOW_Y); scene.setFill(WINDOW_BACKGROUND_COLOR); stage.setScene(scene); } /** * Background of the actual sudoku board, offset from the window by BOARD_PADDING * @param root */ private void drawSudokuBoard(Group root) { Rectangle boardBackground = new Rectangle(); boardBackground.setX(BOARD_PADDING); boardBackground.setY(BOARD_PADDING); boardBackground.setWidth(BOARD_X_AND_Y); boardBackground.setHeight(BOARD_X_AND_Y); boardBackground.setFill(BOARD_BACKGROUND_COLOR); root.getChildren().add(boardBackground); } private void drawTitle(Group root) { Text title = new Text(235, 690, SUDOKU); title.setFill(Color.WHITE); Font titleFont = new Font(43); title.setFont(titleFont); root.getChildren().add(title); } /** * Each time the user makes an input (which can be 0 to delete a number), we update the user * interface appropriately. */ @Override public void updateSquare(int x, int y, int input) { SudokuTextField tile = textFieldCoordinates.get(new Coordinates(x, y)); String value = Integer.toString( input ); if (value.equals("0")) value = ""; tile.textProperty().setValue(value); } @Override public void updateBoard(SudokuGame game) { for (int xIndex = 0; xIndex < 9; xIndex++) { for (int yIndex = 0; yIndex < 9; yIndex++) { TextField tile = textFieldCoordinates.get(new Coordinates(xIndex, yIndex)); String value = Integer.toString( game.getCopyOfGridState()[xIndex][yIndex] ); if (value.equals("0")) value = ""; tile.setText( value ); //If a given tile has a non-zero value and the state of the game is GameState.NEW, then mark //the tile as read only. Otherwise, ensure that it is NOT read only. if (game.getGameState() == GameState.NEW){ if (value.equals("")) { tile.setStyle("-fx-opacity: 1;"); tile.setDisable(false); } else { tile.setStyle("-fx-opacity: 0.8;"); tile.setDisable(true); } } } } } @Override public void showDialog(String message) { Alert dialog = new Alert(Alert.AlertType.CONFIRMATION, message, ButtonType.OK); dialog.showAndWait(); if (dialog.getResult() == ButtonType.OK) listener.onDialogClick(); } @Override public void showError(String message) { Alert dialog = new Alert(Alert.AlertType.ERROR, message, ButtonType.OK); dialog.showAndWait(); } @Override public void handle(KeyEvent event) { if (event.getEventType() == KeyEvent.KEY_PRESSED) { if (event.getText().equals("0") || event.getText().equals("1") || event.getText().equals("2") || event.getText().equals("3") || event.getText().equals("4") || event.getText().equals("5") || event.getText().equals("6") || event.getText().equals("7") || event.getText().equals("8") || event.getText().equals("9") ) { int value = Integer.parseInt(event.getText()); handleInput(value, event.getSource()); } else if (event.getCode() == KeyCode.BACK_SPACE) { handleInput(0, event.getSource()); } else { ((TextField)event.getSource()).setText(""); } } event.consume(); } /** * @param value expected to be an integer from 0-9, inclusive * @param source the textfield object that was clicked. */ private void handleInput(int value, Object source) { listener.onSudokuInput( ((SudokuTextField) source).getX(), ((SudokuTextField) source).getY(), value ); } }
[ "mddenver@protonmail.com" ]
mddenver@protonmail.com
a9024df798a773fd86094a4724f5be89279d11e9
41568376de2c923bf3e1f2d8d3d1c116041cd36e
/src/main/java/online/kheops/auth_server/entity/Mutation.java
9bd83794ddb7331b9f52a2a617f8bcd6bdc46797
[ "MIT" ]
permissive
and9527/KheopsAuthorization
e977e83f8c6032ff70b59952f64263d99e1fc068
d9f221da8a932059c137f0ac9605ce57f622f0b1
refs/heads/master
2020-05-18T15:03:22.006710
2019-04-16T13:56:24
2019-04-16T13:56:24
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,648
java
package online.kheops.auth_server.entity; import online.kheops.auth_server.event.Events; import javax.persistence.*; import java.util.Optional; @Entity(name = "Mutation") @DiscriminatorValue("Mutation") public class Mutation extends Event{ @ManyToOne @JoinColumn(name = "to_user_fk", nullable=true, insertable = false, updatable = false) private User toUser; @ManyToOne @JoinColumn(name = "series_fk", nullable=true, insertable = false, updatable = false) private Series series; @ManyToOne @JoinColumn(name = "capability_fk", nullable=true, insertable = false, updatable = false) private Capability capability; @Basic(optional = false) @Column(name = "mutation_type", updatable = false) private String mutationType; public User getToUser() { return toUser; } public Series getSeries() { return series; } public String getMutationType() { return mutationType; } public Optional<Capability> getCapability() { return Optional.ofNullable(capability); } public Mutation(){} public Mutation(User callingUser, Album album, Events.MutationType mutationType, User targetUser) { super(callingUser, album); this.mutationType = mutationType.toString(); toUser = targetUser; targetUser.addMutation(this); } public Mutation(User callingUser, Album album, Events.MutationType mutationType) { super(callingUser, album); this.mutationType = mutationType.toString(); } public Mutation(User callingUser, Album album, Events.MutationType mutationType, Series series) { super(callingUser, album, series.getStudy()); this.mutationType = mutationType.toString(); this.series = series; series.addMutation(this); } public Mutation(User callingUser, Album album, Events.MutationType mutationType, Study study) { super(callingUser, album, study); this.mutationType = mutationType.toString(); } public Mutation(Capability capability, Album album, Events.MutationType mutationType, Study study) { super(capability.getUser(), album, study); this.mutationType = mutationType.toString(); this.capability = capability; capability.addMutation(this); } public Mutation (Capability capability, Album album, Events.MutationType mutationType, Series series) { super(capability.getUser(), album, series.getStudy()); this.mutationType = mutationType.toString(); this.series = series; this.capability = capability; capability.addMutation(this); series.addMutation(this); } }
[ "gerome.pasquier@gmail.com" ]
gerome.pasquier@gmail.com
f369e2b8c38f5078f49f1d58fc7a3f558cdb8801
8c8abe8a8256182e29022b92d74c412bd15c5c8a
/src/com/personal/ValidateStringPattern.java
e44ac8597f8593235b9a9fc95a2eaf5490c2d373
[]
no_license
prithwin/Solution
7c57be322c91156874d14dfa0dc2e79cbc529faa
f2c7c0532598c7f5d7ac19a55b04bc5a7a34b745
refs/heads/master
2021-01-19T00:34:29.640051
2017-11-06T01:07:04
2017-11-06T01:07:04
62,274,905
5
3
null
null
null
null
UTF-8
Java
false
false
717
java
package com.personal; /** * Created by pr250155 on 4/24/17. */ public class ValidateStringPattern { public static void main(String[] args) { String target = "aertbertcertg"; String pattern = "abcd"; System.out.println(new ValidateStringPattern().validate(target,pattern)); } private boolean validate(String target, String pattern) { if(pattern.length()==1){ return target.contains(pattern); } else { if(target.contains(pattern.charAt(0)+"")){ return validate(target.substring(target.indexOf(pattern.charAt(0))) , pattern.substring(1)); } else { return false; } } } }
[ "getprith@gmail.com" ]
getprith@gmail.com
f42ff522e941b84a486b85250b095895adc60c36
c8bb06151e41a7613a8f8ae05fa3fb087fd130f9
/src/test/java/com/springboot/dubboTest/DubboTestApplicationTests.java
84beb5d7efe5f886d8bf058496666c55ab353dcd
[]
no_license
Baserker/dubboClientTest
1c1fe0aee47977aa2307b0204111358bf7ec8d87
152b020402c93aceb5bb1c7b8f50b31ab5edb5e5
refs/heads/master
2022-07-02T01:13:40.520943
2019-05-24T09:10:35
2019-05-24T09:10:35
188,390,652
0
0
null
2022-06-17T02:09:52
2019-05-24T09:10:19
Java
UTF-8
Java
false
false
344
java
package com.springboot.dubboTest; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class DubboTestApplicationTests { @Test public void contextLoads() { } }
[ "1776301358@qq.com" ]
1776301358@qq.com
cf408cfb551c3ba3ef6011fd69704e58b67a6aa9
b3dac16dc116c70d7e827eaff84f48fe7d4a9ca6
/leancloudchatkit/build/generated/source/buildConfig/debug/cn/leancloud/chatkit/BuildConfig.java
923f8609579db2c663cbe3c3ec3aac179184f3ac
[]
no_license
ErisRolo/FreeFood
93afe0c706f512516a9722239ec6ca36cab2ac42
2c6f03df5ee03e47880e190bd2714653c7c25066
refs/heads/master
2023-07-12T05:32:26.998137
2021-08-09T16:16:20
2021-08-09T16:16:20
381,425,739
0
0
null
null
null
null
UTF-8
Java
false
false
663
java
/** * Automatically generated file. DO NOT MODIFY */ package cn.leancloud.chatkit; public final class BuildConfig { public static final boolean DEBUG = Boolean.parseBoolean("true"); public static final String LIBRARY_PACKAGE_NAME = "cn.leancloud.chatkit"; /** * @deprecated APPLICATION_ID is misleading in libraries. For the library package name use LIBRARY_PACKAGE_NAME */ @Deprecated public static final String APPLICATION_ID = "cn.leancloud.chatkit"; public static final String BUILD_TYPE = "debug"; public static final String FLAVOR = ""; public static final int VERSION_CODE = 1; public static final String VERSION_NAME = "1.0"; }
[ "122492508@qq.com" ]
122492508@qq.com
2e8bcb6b56bcb268ca183a7ef29b33b40af0c3ea
d08c979cce66417d9385fb3c333260861704f4da
/6day-hasA/src/step5/RentCar.java
6ba3b41b0f5ca4b0eedf6892a4aa9e03d997980e
[]
no_license
prisml/java-kosta
e1b078e0d28eb60071e140bd77d40a6fc7d8022a
8bceb463589a6c25609e07abfba2b693bf1d0bcd
refs/heads/master
2021-01-12T02:19:31.752248
2017-02-10T00:24:19
2017-02-10T00:24:19
78,500,232
0
0
null
null
null
null
UTF-8
Java
false
false
403
java
package step5; public class RentCar { private String model; private int price; public RentCar(){} public RentCar(String model, int price){ this.model=model; this.price=price; } public String getModel() { return model; } public void setModel(String model) { this.model = model; } public int getPrice() { return price; } public void setPrice(int price) { this.price = price; } }
[ "prisml@nate.com" ]
prisml@nate.com
9fafa09a2136ee6d5630802e6edc59e0c8528096
bf0a75000b5ea69f6ec9e9d1cf5300cb769d10ce
/src/main/java/com/dinhthanhphu/movieticketadmin/utils/MessageUtils.java
9ba4ff0dbc9ad7ba4de34e6b74931a0974c81298
[]
no_license
ThanhPhu-Dev/Movie-Ticket-Admin
c9fa0be8e44b24876a74975303bf17d4be6cd1fe
583a7b227fb2beb7f3eac8b949d0352055f461fa
refs/heads/main
2023-07-28T04:35:29.081189
2021-09-09T07:41:00
2021-09-09T07:41:00
365,652,005
0
0
null
null
null
null
UTF-8
Java
false
false
902
java
package com.dinhthanhphu.movieticketadmin.utils; import org.springframework.ui.Model; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.mvc.support.RedirectAttributes; import java.io.UnsupportedEncodingException; import java.util.ResourceBundle; public class MessageUtils { public static void setMessageToAttribute(String alert, String message, Model model){ try { ResourceBundle mybundle = ResourceBundle.getBundle("message"); if(message != null) { if(alert != null){ model.addAttribute("alert", alert); } String value = mybundle.getString(message); model.addAttribute("message", new String(value.getBytes("ISO-8859-1"), "UTF-8")); } }catch (UnsupportedEncodingException e){ return; } } }
[ "tphu2000@gmail.com" ]
tphu2000@gmail.com
9fd5280af10412270ea18e8f8f98b025ca04fd87
a29aca30862e2381a7cd4b16b8ab8d05d3d5a89a
/src/test/java/com/blogBoys/blogBoys/controllers/UserControllerTest.java
ee923afbe9987dbfd59889834fefb66a97ebb0f4
[]
no_license
rfrieger/blogBoyz
b728e6f647e069f4d44e7be956b50f1dc7182c41
d9733bdcff1c51663116dfe866637538c04d8837
refs/heads/dev
2023-01-23T10:08:32.805395
2019-07-17T20:15:16
2019-07-17T20:15:16
197,265,665
0
13
null
2023-01-07T07:51:00
2019-07-16T20:47:27
Java
UTF-8
Java
false
false
1,717
java
package com.blogBoys.blogBoys.controllers; import com.blogBoys.blogBoys.models.Users; import com.blogBoys.blogBoys.services.UserService; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; import java.util.Arrays; import java.util.List; import static org.mockito.Mockito.*; @RunWith(MockitoJUnitRunner.class) public class UserControllerTest { @Mock private UserService userService; @InjectMocks private UserController userController; @Test public void createUser() { Users user = mockPerson(); when(userService.create(user)).thenReturn(user); userController.createUser(user); verify(userService, times(1)).create(user); } @Test public void deleteUser() { userController.deleteUser(1); verify(userService, times(1)).deleteUser(1); } @Test public void getAllUsers() { when(userService.index()).thenReturn(subData()); userController.getAllUsers(); verify(userService,times(1)).index(); } @Test public void getUser() { when(userService.getUserById(1)).thenReturn(subData().get(1)); userController.getUser(1); verify(userService,times(1)).getUserById(1); } private List<Users> subData() { Users person1 = new Users("Bob", "1234"); Users person2 = new Users("steve", "1234"); return Arrays.asList(person1, person2); } private Users mockPerson() { return new Users("steve", "1234"); } }
[ "rfrieger@gmail.com" ]
rfrieger@gmail.com
9e44e7718d9a8e3040d91e72a581904ed4623299
9110199298e53ee4fead61fbdb4f7f1c9b7f3ab4
/module4/activity/PlayingCard.java
738346d1c5dfbfb3a13a441be46cf8e079e2b062
[]
no_license
vsavinova11/se_savinova
c13b038971ea6cf5a5f8dd42d9d8735b1715f588
a7c6e0fa70ae7c3f615b57df0d336133d89cfc6e
refs/heads/master
2020-04-16T13:43:13.691732
2019-01-23T09:45:46
2019-01-23T09:45:46
165,639,792
0
0
null
null
null
null
UTF-8
Java
false
false
4,510
java
package sef.module4.activity; /** * This class represents a playing card * * @author John Doe * */ public class PlayingCard { public static final int ACE = 1; public static final int TWO = 2; public static final int THREE = 3; public static final int FOUR = 4; public static final int FIVE = 5; public static final int SIX = 6; public static final int SEVEN = 7; public static final int EIGHT = 8; public static final int NINE = 9; public static final int TEN = 10; public static final int JACK = 11; public static final int QUEEN = 12; public static final int KING = 13; public static final int JOKER = 0; public static final int SPADES = 4; public static final int HEARTS = 3; public static final int DIAMONDS = 2; public static final int CLUBS = 1; /** * Creates an instance of a PlayingCard given the specified parameters. Valid * values for the number and suit parameters are the range of static attributes * ACE to KING for number and CLUBS to SPADES for suit. JOKER values can be * applied to suit and number. * * If a JOKER value or any invalid value is assigned to either number or * suit, then both number and suit are assigned the JOKER value. * * @param number the number of the card * @param suit the suit of the card */ //TODO #1: Write an instance variables that will handle the Integer value of number and suit. //END TODO #1 private int number; private int suit; public PlayingCard(int number, int suit) { //TODO #2: Write code that will filter number and suit with the range provided above. // Assign the number and suit argument to instance variable respectively // If the arguments were not filter, make a code that will assign instance variables to a JOKER value //END TODO #2 if (number>0&&number<14&&suit>0&&suit<5){ this.number = number; this.suit = suit; } else{ this.number = 0; this.suit = 0; } } /** * Creates an instance of a JOKER PlayingCard * */ public PlayingCard(){ //TODO #3: Make an instance of JOKER playing card // Assign instance variable to a JOKER value //END TODO #3 this.number = 0; this.suit = 0; } /** * Return the number of the card . Valid values returned can be one of the static fields of this * class from ACE to KING or JOKER * * @return the number */ public int getNumber() { //TODO #4: Return the Integer value of the playing card // Return the value of current value of the number //END TODO #4 return this.number; } /** * Return the suit of the card. Valid values returned can be one of the static fields of this * class from CLUBS to SPADES or JOKER * * @return the suit */ public int getSuit() { //TODO #5: Return the Integer value of the playing card // Return the value of current value of the suit //END TODO #5 return this.suit; } /** * Return a String representation of this card in the following form: * "<number> of <suit>" * * @return the String representation of this card */ public String toString() { //TODO #6: Make a code that will convert the Integer value of number and suit into String. // Return the String value of the current number and suit into a format "number of suit" // Provide single space between number-of and of-suit. // It will be easier if a switch-case statement is use in the code. // Make a code that will return the String value of JOKER if the default value was chosen //END TODO #6 String result = new String(); if (number==0&&suit==0){ result="JOKER"; return result; } switch (this.number){ case ACE: result+="ACE"; break; case TWO: result+="TWO"; break; case THREE: result+="THREE"; break; case FOUR: result+="FOUR"; break; case FIVE: result+="FIVE"; break; case SIX: result+="SIX"; break; case SEVEN: result+="SEVEN"; break; case EIGHT: result+="EIGHT"; break; case NINE: result+="NINE"; break; case TEN: result+="TEN"; break; case JACK: result+="JACK"; break; case QUEEN: result+="QUEEN"; break; case KING: result+="KING"; break; } result+=" of "; switch (suit){ case(CLUBS): result+="CLUBS"; break; case(DIAMONDS): result+="DIAMONDS"; break; case(HEARTS): result+="HEARTS"; break; case(SPADES): result+="SPADES"; break; } return result; } }
[ "valentina.savinova@accenture.com" ]
valentina.savinova@accenture.com
ba219718e5c8ea30c6ed56981fb49a0ce961167d
68a8a36b9dfb928a9c1e36c48b89e6b47a8a8a9c
/SingletonDesignPattern/src/com/jit/singleton/Printer5.java
09dd26182c87e20facdcd08161348e134929e7c8
[]
no_license
jitendrakr93/DesignPattern
02086b06aead5b9d47ceae2e4a14de3bd8b280db
9c20555b31f6361454294558438fa629e71f0e86
refs/heads/master
2023-07-03T03:15:43.489774
2021-08-03T17:41:03
2021-08-03T17:41:03
369,131,309
0
0
null
null
null
null
UTF-8
Java
false
false
538
java
package com.jit.singleton; public class Printer5 { private static class InnerPrinter { private static volatile Printer5 printerInstance = new Printer5(); } private Printer5() { } public static Printer5 getPrinterInstance() { return InnerPrinter.printerInstance; } @Override protected Object clone() throws CloneNotSupportedException { //return InnerPrinter.printerInstance; throw new CloneNotSupportedException("Clone not allowed"); } public void printData() { System.out.println("SINGLETON :: PRINT1"); } }
[ "jk93.161@gmail.com" ]
jk93.161@gmail.com
3d27fb3fe259660a274b0b731311c0c29f30f218
4ec4a0867cebf2b889df53ed5dac59a0bcc67a3f
/src/java/br/edu/ifsul/modelo/Jogo.java
70bc238f8188f221a29f6775800c0d86193d6285
[]
no_license
Bringha/TrabalhoFinalTA
daaf25be4a0917e174ee49d0ec1cb09d24f96477
6281ef42671ad2c6e691c187e479ca32ae6b29b6
refs/heads/master
2016-09-01T05:08:13.762694
2015-06-29T02:42:07
2015-06-29T02:42:07
36,839,004
0
0
null
null
null
null
UTF-8
Java
false
false
4,731
java
package br.edu.ifsul.modelo; import java.io.Serializable; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import java.util.Objects; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.JoinTable; import javax.persistence.ManyToMany; import javax.persistence.ManyToOne; import javax.persistence.SequenceGenerator; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; import javax.validation.constraints.NotNull; import org.hibernate.validator.constraints.Length; import org.hibernate.validator.constraints.NotEmpty; /** * * @author Jorge Luis Boeira Bavaresco jorge.bavaresco@passofundo.ifsul.edu.br */ @Entity @Table(name = "jogo") public class Jogo implements Serializable { @Id @Column(name = "id") @SequenceGenerator(name = "seq_id_jogo", sequenceName = "seq_jogo_id", allocationSize = 1) @GeneratedValue(generator = "seq_id_jogo", strategy = GenerationType.SEQUENCE) private Integer id; @Length(max = 50, message = "O estadio não pode ultrapassar {max} caracteres") @NotEmpty(message = "O estadio deve ser informado") @Column(name = "estadio", length = 50, nullable = false) private String estadio; @NotNull(message = "A data devem ser informadas") @Temporal(TemporalType.DATE) @Column(name = "dataHora", nullable = false) private Calendar dataHora; @Length(max = 50, message = "O árbitro não pode ultrapassar {max} caracteres") @NotEmpty(message = "O árbitro deve ser informado") @Column(name = "arbitro", length = 50, nullable = false) private String arbitro; @Length(max = 50, message = "O primeiro auxiliar não pode ultrapassar {max} caracteres") @NotEmpty(message = "O primeiro auxiliar deve ser informado") @Column(name = "auxiliar_um", length = 50, nullable = false) private String auxiliarUm; @Length(max = 50, message = "O segundo auxiliar não pode ultrapassar {max} caracteres") @NotEmpty(message = "O segundo auxiliar deve ser informado") @Column(name = "auxiliar_dois", length = 50, nullable = false) private String auxiliarDois; @NotNull(message = "O campeonato deve ser informado") @ManyToOne @JoinColumn(name = "campeonato", referencedColumnName = "id", nullable = false) private Campeonato campeonato; @ManyToMany @JoinTable(name = "confrontos", joinColumns = @JoinColumn(name = "jogo",referencedColumnName = "id"), inverseJoinColumns = @JoinColumn(name = "time", referencedColumnName = "id")) private List<Times> jogam = new ArrayList<>(); public Jogo() { } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getEstadio() { return estadio; } public void setEstadio(String estadio) { this.estadio = estadio; } public Calendar getDataHora() { return dataHora; } public void setDataHora(Calendar dataHora) { this.dataHora = dataHora; } public String getArbitro() { return arbitro; } public void setArbitro(String arbitro) { this.arbitro = arbitro; } public String getAuxiliarUm() { return auxiliarUm; } public void setAuxiliarUm(String auxiliarUm) { this.auxiliarUm = auxiliarUm; } public String getAuxiliarDois() { return auxiliarDois; } public void setAuxiliarDois(String auxiliarDois) { this.auxiliarDois = auxiliarDois; } public Campeonato getCampeonato() { return campeonato; } public void setCampeonato(Campeonato campeonato) { this.campeonato = campeonato; } public List<Times> getJogam() { return jogam; } public void setJogam(List<Times> jogam) { this.jogam = jogam; } @Override public int hashCode() { int hash = 7; hash = 17 * hash + Objects.hashCode(this.id); return hash; } @Override public boolean equals(Object obj) { if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final Jogo other = (Jogo) obj; if (!Objects.equals(this.id, other.id)) { return false; } return true; } @Override public String toString() { return "Jogo{" + "estadio=" + estadio + ", dataHora=" + dataHora + '}'; } }
[ "bringha@viena" ]
bringha@viena
7e27015f1e3f3154c5fc76e8ac2039dd2c4f6380
aea955c1b2529e0777f66ce4793d23df174be1bf
/src/main/java/leviathan143/fantasticchainsaw/generic/editors/language/LanguageKeyEditingSupport.java
d384697b70cbed0ce4570198a840e4a71b82428f
[]
no_license
Daomephsta/Fantastic-Chainsaw
da62e584d49510043ae80a6fea0f8dbafb26c4e3
b637e6c1ebea2f1ac5f7ddec8dfed604f5b0dc37
refs/heads/master
2022-01-11T14:03:48.880311
2018-01-31T20:19:57
2018-01-31T20:19:57
78,239,333
0
0
null
null
null
null
UTF-8
Java
false
false
986
java
package leviathan143.fantasticchainsaw.generic.editors.language; import org.eclipse.jface.viewers.CellEditor; import org.eclipse.jface.viewers.EditingSupport; import org.eclipse.jface.viewers.TableViewer; import org.eclipse.jface.viewers.TextCellEditor; import leviathan143.fantasticchainsaw.generic.editors.language.LanguageModel.LanguageNode; public class LanguageKeyEditingSupport extends EditingSupport { private final CellEditor editor; public LanguageKeyEditingSupport(TableViewer viewer) { super(viewer); editor = new TextCellEditor(viewer.getTable()); } @Override protected void setValue(Object obj, Object value) { ((LanguageNode) obj).setLangKey((String) value); getViewer().update(obj, null); } @Override protected Object getValue(Object obj) { return ((LanguageNode) obj).getLangKey(); } @Override protected CellEditor getCellEditor(Object obj) { return editor; } @Override protected boolean canEdit(Object obj) { return true; } }
[ "Leviathan143@users.noreply.github.com" ]
Leviathan143@users.noreply.github.com
89c9736b8dba7645edcf7d0b27d8cb502a12ccaa
79bc3e421adcd444a415a9800ff9d64a03325476
/CustomToast/app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r/android/support/graphics/drawable/R.java
24af8d543c5b3e1f40fbbe2ae408e9d4aea408da
[]
no_license
NamojuAnand/Toast
c60998d47b05860cddf235a04de1863661d827bb
6d7610da8a55fd53dca190435c81ab0bcac8cbc8
refs/heads/master
2020-04-14T12:34:01.494133
2019-01-02T13:32:34
2019-01-02T13:32:34
163,844,236
0
0
null
null
null
null
UTF-8
Java
false
false
12,406
java
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package android.support.graphics.drawable; public final class R { private R() {} public static final class attr { private attr() {} public static final int alpha = 0x7f020027; public static final int coordinatorLayoutStyle = 0x7f020064; public static final int font = 0x7f02007a; public static final int fontProviderAuthority = 0x7f02007c; public static final int fontProviderCerts = 0x7f02007d; public static final int fontProviderFetchStrategy = 0x7f02007e; public static final int fontProviderFetchTimeout = 0x7f02007f; public static final int fontProviderPackage = 0x7f020080; public static final int fontProviderQuery = 0x7f020081; public static final int fontStyle = 0x7f020082; public static final int fontVariationSettings = 0x7f020083; public static final int fontWeight = 0x7f020084; public static final int keylines = 0x7f020094; public static final int layout_anchor = 0x7f020097; public static final int layout_anchorGravity = 0x7f020098; public static final int layout_behavior = 0x7f020099; public static final int layout_dodgeInsetEdges = 0x7f0200c3; public static final int layout_insetEdge = 0x7f0200cc; public static final int layout_keyline = 0x7f0200cd; public static final int statusBarBackground = 0x7f020109; public static final int ttcIndex = 0x7f02013c; } public static final class color { private color() {} public static final int notification_action_color_filter = 0x7f04003f; public static final int notification_icon_bg_color = 0x7f040040; public static final int ripple_material_light = 0x7f04004a; public static final int secondary_text_default_material_light = 0x7f04004c; } public static final class dimen { private dimen() {} public static final int compat_button_inset_horizontal_material = 0x7f05004b; public static final int compat_button_inset_vertical_material = 0x7f05004c; public static final int compat_button_padding_horizontal_material = 0x7f05004d; public static final int compat_button_padding_vertical_material = 0x7f05004e; public static final int compat_control_corner_material = 0x7f05004f; public static final int compat_notification_large_icon_max_height = 0x7f050050; public static final int compat_notification_large_icon_max_width = 0x7f050051; public static final int notification_action_icon_size = 0x7f05005b; public static final int notification_action_text_size = 0x7f05005c; public static final int notification_big_circle_margin = 0x7f05005d; public static final int notification_content_margin_start = 0x7f05005e; public static final int notification_large_icon_height = 0x7f05005f; public static final int notification_large_icon_width = 0x7f050060; public static final int notification_main_column_padding_top = 0x7f050061; public static final int notification_media_narrow_margin = 0x7f050062; public static final int notification_right_icon_size = 0x7f050063; public static final int notification_right_side_padding_top = 0x7f050064; public static final int notification_small_icon_background_padding = 0x7f050065; public static final int notification_small_icon_size_as_large = 0x7f050066; public static final int notification_subtext_size = 0x7f050067; public static final int notification_top_pad = 0x7f050068; public static final int notification_top_pad_large_text = 0x7f050069; } public static final class drawable { private drawable() {} public static final int notification_action_background = 0x7f060058; public static final int notification_bg = 0x7f060059; public static final int notification_bg_low = 0x7f06005a; public static final int notification_bg_low_normal = 0x7f06005b; public static final int notification_bg_low_pressed = 0x7f06005c; public static final int notification_bg_normal = 0x7f06005d; public static final int notification_bg_normal_pressed = 0x7f06005e; public static final int notification_icon_background = 0x7f06005f; public static final int notification_template_icon_bg = 0x7f060060; public static final int notification_template_icon_low_bg = 0x7f060061; public static final int notification_tile_bg = 0x7f060062; public static final int notify_panel_notification_icon_bg = 0x7f060063; } public static final class id { private id() {} public static final int action_container = 0x7f07000d; public static final int action_divider = 0x7f07000f; public static final int action_image = 0x7f070010; public static final int action_text = 0x7f070016; public static final int actions = 0x7f070017; public static final int async = 0x7f07001d; public static final int blocking = 0x7f070020; public static final int bottom = 0x7f070021; public static final int chronometer = 0x7f070028; public static final int end = 0x7f070037; public static final int forever = 0x7f07003d; public static final int icon = 0x7f070043; public static final int icon_group = 0x7f070044; public static final int info = 0x7f070047; public static final int italic = 0x7f070049; public static final int left = 0x7f07004a; public static final int line1 = 0x7f07004b; public static final int line3 = 0x7f07004c; public static final int none = 0x7f070053; public static final int normal = 0x7f070054; public static final int notification_background = 0x7f070055; public static final int notification_main_column = 0x7f070056; public static final int notification_main_column_container = 0x7f070057; public static final int right = 0x7f07005f; public static final int right_icon = 0x7f070060; public static final int right_side = 0x7f070061; public static final int start = 0x7f07007d; public static final int tag_transition_group = 0x7f070081; public static final int tag_unhandled_key_event_manager = 0x7f070082; public static final int tag_unhandled_key_listeners = 0x7f070083; public static final int text = 0x7f070084; public static final int text2 = 0x7f070085; public static final int time = 0x7f070088; public static final int title = 0x7f070089; public static final int top = 0x7f07008c; } public static final class integer { private integer() {} public static final int status_bar_notification_info_maxnum = 0x7f080004; } public static final class layout { private layout() {} public static final int notification_action = 0x7f09001e; public static final int notification_action_tombstone = 0x7f09001f; public static final int notification_template_custom_big = 0x7f090020; public static final int notification_template_icon_group = 0x7f090021; public static final int notification_template_part_chronometer = 0x7f090022; public static final int notification_template_part_time = 0x7f090023; } public static final class string { private string() {} public static final int status_bar_notification_info_overflow = 0x7f0b0029; } public static final class style { private style() {} public static final int TextAppearance_Compat_Notification = 0x7f0c00ec; public static final int TextAppearance_Compat_Notification_Info = 0x7f0c00ed; public static final int TextAppearance_Compat_Notification_Line2 = 0x7f0c00ee; public static final int TextAppearance_Compat_Notification_Time = 0x7f0c00ef; public static final int TextAppearance_Compat_Notification_Title = 0x7f0c00f0; public static final int Widget_Compat_NotificationActionContainer = 0x7f0c0158; public static final int Widget_Compat_NotificationActionText = 0x7f0c0159; public static final int Widget_Support_CoordinatorLayout = 0x7f0c015a; } public static final class styleable { private styleable() {} public static final int[] ColorStateListItem = { 0x10101a5, 0x101031f, 0x7f020027 }; public static final int ColorStateListItem_android_color = 0; public static final int ColorStateListItem_android_alpha = 1; public static final int ColorStateListItem_alpha = 2; public static final int[] CoordinatorLayout = { 0x7f020094, 0x7f020109 }; public static final int CoordinatorLayout_keylines = 0; public static final int CoordinatorLayout_statusBarBackground = 1; public static final int[] CoordinatorLayout_Layout = { 0x10100b3, 0x7f020097, 0x7f020098, 0x7f020099, 0x7f0200c3, 0x7f0200cc, 0x7f0200cd }; public static final int CoordinatorLayout_Layout_android_layout_gravity = 0; public static final int CoordinatorLayout_Layout_layout_anchor = 1; public static final int CoordinatorLayout_Layout_layout_anchorGravity = 2; public static final int CoordinatorLayout_Layout_layout_behavior = 3; public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges = 4; public static final int CoordinatorLayout_Layout_layout_insetEdge = 5; public static final int CoordinatorLayout_Layout_layout_keyline = 6; public static final int[] FontFamily = { 0x7f02007c, 0x7f02007d, 0x7f02007e, 0x7f02007f, 0x7f020080, 0x7f020081 }; public static final int FontFamily_fontProviderAuthority = 0; public static final int FontFamily_fontProviderCerts = 1; public static final int FontFamily_fontProviderFetchStrategy = 2; public static final int FontFamily_fontProviderFetchTimeout = 3; public static final int FontFamily_fontProviderPackage = 4; public static final int FontFamily_fontProviderQuery = 5; public static final int[] FontFamilyFont = { 0x1010532, 0x1010533, 0x101053f, 0x101056f, 0x1010570, 0x7f02007a, 0x7f020082, 0x7f020083, 0x7f020084, 0x7f02013c }; public static final int FontFamilyFont_android_font = 0; public static final int FontFamilyFont_android_fontWeight = 1; public static final int FontFamilyFont_android_fontStyle = 2; public static final int FontFamilyFont_android_ttcIndex = 3; public static final int FontFamilyFont_android_fontVariationSettings = 4; public static final int FontFamilyFont_font = 5; public static final int FontFamilyFont_fontStyle = 6; public static final int FontFamilyFont_fontVariationSettings = 7; public static final int FontFamilyFont_fontWeight = 8; public static final int FontFamilyFont_ttcIndex = 9; public static final int[] GradientColor = { 0x101019d, 0x101019e, 0x10101a1, 0x10101a2, 0x10101a3, 0x10101a4, 0x1010201, 0x101020b, 0x1010510, 0x1010511, 0x1010512, 0x1010513 }; public static final int GradientColor_android_startColor = 0; public static final int GradientColor_android_endColor = 1; public static final int GradientColor_android_type = 2; public static final int GradientColor_android_centerX = 3; public static final int GradientColor_android_centerY = 4; public static final int GradientColor_android_gradientRadius = 5; public static final int GradientColor_android_tileMode = 6; public static final int GradientColor_android_centerColor = 7; public static final int GradientColor_android_startX = 8; public static final int GradientColor_android_startY = 9; public static final int GradientColor_android_endX = 10; public static final int GradientColor_android_endY = 11; public static final int[] GradientColorItem = { 0x10101a5, 0x1010514 }; public static final int GradientColorItem_android_color = 0; public static final int GradientColorItem_android_offset = 1; } }
[ "ideabytes@MacBookPro.local" ]
ideabytes@MacBookPro.local
ce5dd9fa3f3fdabbe2bdcd5d6d6e66f26cabc68a
7f48e1e713a513fff36851300f17152d2eaf159f
/engine/src/main/java/org/apache/hop/pipeline/transform/errorhandling/AbstractFileErrorHandler.java
777c95b01ce01ea2ac8b881c4d4aa3105d906fd8
[ "Apache-2.0", "CC-BY-SA-3.0", "CC-BY-SA-4.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
HiromuHota/incubator-hop
af414f7a25e1c79a1eecbbd8d44e5730c9d542a5
2b159a8477c1e509401f3626940d4b1f700f2584
refs/heads/web
2023-04-03T13:09:31.957533
2021-04-04T23:44:11
2021-04-04T23:44:11
311,226,935
2
1
Apache-2.0
2021-03-01T01:11:28
2020-11-09T04:50:08
Java
UTF-8
Java
false
false
6,180
java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.hop.pipeline.transform.errorhandling; import org.apache.commons.vfs2.FileObject; import org.apache.hop.core.ResultFile; import org.apache.hop.core.exception.HopException; import org.apache.hop.core.exception.HopFileException; import org.apache.hop.core.vfs.HopVfs; import org.apache.hop.i18n.BaseMessages; import org.apache.hop.pipeline.transform.BaseTransform; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.Writer; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.Map; public abstract class AbstractFileErrorHandler implements IFileErrorHandler { private static final Class<?> PKG = AbstractFileErrorHandler.class; // For Translator private static final String DD_MMYYYY_HHMMSS = "ddMMyyyy-HHmmss"; public static final String NO_PARTS = "NO_PARTS"; private final String destinationDirectory; private final String fileExtension; private final String encoding; private String processingFilename; private Map<Object, Writer> writers; private String dateString; private BaseTransform baseTransform; public AbstractFileErrorHandler( Date date, String destinationDirectory, String fileExtension, String encoding, BaseTransform baseTransform ) { this.destinationDirectory = destinationDirectory; this.fileExtension = fileExtension; this.encoding = encoding; this.baseTransform = baseTransform; this.writers = new HashMap<>(); initDateFormatter( date ); } private void initDateFormatter( Date date ) { dateString = createDateFormat().format( date ); } public static DateFormat createDateFormat() { return new SimpleDateFormat( DD_MMYYYY_HHMMSS ); } public static FileObject getReplayFilename( String destinationDirectory, String processingFilename, String dateString, String extension, Object source ) throws HopFileException { String name = null; String sourceAdding = ""; if ( !NO_PARTS.equals( source ) ) { sourceAdding = "_" + source.toString(); } if ( extension == null || extension.length() == 0 ) { name = processingFilename + sourceAdding + "." + dateString; } else { name = processingFilename + sourceAdding + "." + dateString + "." + extension; } return HopVfs.getFileObject( destinationDirectory + "/" + name ); } public static FileObject getReplayFilename( String destinationDirectory, String processingFilename, Date date, String extension, Object source ) throws HopFileException { return getReplayFilename( destinationDirectory, processingFilename, createDateFormat().format( date ), extension, source ); } /** * returns the OutputWiter if exists. Otherwhise it will create a new one. * * @return * @throws HopException */ Writer getWriter( Object source ) throws HopException { try { Writer outputStreamWriter = writers.get( source ); if ( outputStreamWriter != null ) { return outputStreamWriter; } FileObject file = getReplayFilename( destinationDirectory, processingFilename, dateString, fileExtension, source ); ResultFile resultFile = new ResultFile( ResultFile.FILE_TYPE_GENERAL, file, baseTransform.getPipelineMeta().getName(), baseTransform .getTransformName() ); baseTransform.addResultFile( resultFile ); try { if ( encoding == null ) { outputStreamWriter = new OutputStreamWriter( HopVfs.getOutputStream( file, false ) ); } else { outputStreamWriter = new OutputStreamWriter( HopVfs.getOutputStream( file, false ), encoding ); } } catch ( Exception e ) { throw new HopException( BaseMessages.getString( PKG, "AbstractFileErrorHandler.Exception.CouldNotCreateFileErrorHandlerForFile" ) + file.getName().getURI(), e ); } writers.put( source, outputStreamWriter ); return outputStreamWriter; } catch ( HopFileException e ) { throw new HopException( BaseMessages.getString( PKG, "AbstractFileErrorHandler.Exception.CouldNotCreateFileErrorHandlerForFile" ), e ); } } public void close() throws HopException { for ( Iterator<Writer> iter = writers.values().iterator(); iter.hasNext(); ) { close( iter.next() ); } writers = new HashMap<>(); } private void close( Writer outputStreamWriter ) throws HopException { if ( outputStreamWriter != null ) { try { outputStreamWriter.flush(); } catch ( IOException exception ) { baseTransform.logError( BaseMessages.getString( PKG, "AbstractFileErrorHandler.Log.CouldNotFlushContentToFile" ), exception .getLocalizedMessage() ); } try { outputStreamWriter.close(); } catch ( IOException exception ) { throw new HopException( BaseMessages.getString( PKG, "AbstractFileErrorHandler.Exception.CouldNotCloseFile" ), exception ); } finally { outputStreamWriter = null; } } } public void handleFile( FileObject file ) throws HopException { close(); this.processingFilename = file.getName().getBaseName(); } }
[ "mattcasters@gmail.com" ]
mattcasters@gmail.com
43afe2deef8a57363cc28ce3634125ccdabd76a8
20b93659a46b59ad5e7a0b9baf55ec8580b4f705
/app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r/com/example/travel/travel/R.java
42eba697020fdee2e0f77e761b82230fc99435d7
[]
no_license
AMANKACHI/Travel
1b522586c5e51065d37d822ea6114dd13de0a0fc
e995a222f6ec8a7f96805d63d7f05867a69bf37b
refs/heads/master
2020-04-05T12:46:27.354762
2018-11-09T16:25:13
2018-11-09T16:26:20
156,879,928
0
0
null
null
null
null
UTF-8
Java
false
false
683,455
java
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.example.travel.travel; public final class R { public static final class anim { public static final int abc_fade_in=0x7f010000; public static final int abc_fade_out=0x7f010001; public static final int abc_grow_fade_in_from_bottom=0x7f010002; public static final int abc_popup_enter=0x7f010003; public static final int abc_popup_exit=0x7f010004; public static final int abc_shrink_fade_out_from_bottom=0x7f010005; public static final int abc_slide_in_bottom=0x7f010006; public static final int abc_slide_in_top=0x7f010007; public static final int abc_slide_out_bottom=0x7f010008; public static final int abc_slide_out_top=0x7f010009; public static final int abc_tooltip_enter=0x7f01000a; public static final int abc_tooltip_exit=0x7f01000b; } public static final class attr { /** * Custom divider drawable to use for elements in the action bar. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarDivider=0x7f020000; /** * Custom item state list drawable background for action bar items. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarItemBackground=0x7f020001; /** * Reference to a theme that should be used to inflate popups * shown by widgets in the action bar. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarPopupTheme=0x7f020002; /** * Size of the Action Bar, including the contextual * bar used to present Action Modes. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap_content</td><td>0</td><td></td></tr> * </table> */ public static final int actionBarSize=0x7f020003; /** * Reference to a style for the split Action Bar. This style * controls the split component that holds the menu/action * buttons. actionBarStyle is still used for the primary * bar. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarSplitStyle=0x7f020004; /** * Reference to a style for the Action Bar * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarStyle=0x7f020005; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarTabBarStyle=0x7f020006; /** * Default style for tabs within an action bar * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarTabStyle=0x7f020007; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarTabTextStyle=0x7f020008; /** * Reference to a theme that should be used to inflate the * action bar. This will be inherited by any widget inflated * into the action bar. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarTheme=0x7f020009; /** * Reference to a theme that should be used to inflate widgets * and layouts destined for the action bar. Most of the time * this will be a reference to the current theme, but when * the action bar has a significantly different contrast * profile than the rest of the activity the difference * can become important. If this is set to @null the current * theme will be used. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarWidgetTheme=0x7f02000a; /** * Default action button style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionButtonStyle=0x7f02000b; /** * Default ActionBar dropdown style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionDropDownStyle=0x7f02000c; /** * An optional layout to be used as an action view. * See {@link android.view.MenuItem#setActionView(android.view.View)} * for more info. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionLayout=0x7f02000d; /** * TextAppearance style that will be applied to text that * appears within action menu items. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionMenuTextAppearance=0x7f02000e; /** * Color for text that appears within action menu items. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int actionMenuTextColor=0x7f02000f; /** * Background drawable to use for action mode UI * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeBackground=0x7f020010; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeCloseButtonStyle=0x7f020011; /** * Drawable to use for the close action mode button * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeCloseDrawable=0x7f020012; /** * Drawable to use for the Copy action button in Contextual Action Bar * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeCopyDrawable=0x7f020013; /** * Drawable to use for the Cut action button in Contextual Action Bar * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeCutDrawable=0x7f020014; /** * Drawable to use for the Find action button in WebView selection action modes * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeFindDrawable=0x7f020015; /** * Drawable to use for the Paste action button in Contextual Action Bar * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModePasteDrawable=0x7f020016; /** * PopupWindow style to use for action modes when showing as a window overlay. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModePopupWindowStyle=0x7f020017; /** * Drawable to use for the Select all action button in Contextual Action Bar * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeSelectAllDrawable=0x7f020018; /** * Drawable to use for the Share action button in WebView selection action modes * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeShareDrawable=0x7f020019; /** * Background drawable to use for action mode UI in the lower split bar * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeSplitBackground=0x7f02001a; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeStyle=0x7f02001b; /** * Drawable to use for the Web Search action button in WebView selection action modes * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeWebSearchDrawable=0x7f02001c; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionOverflowButtonStyle=0x7f02001d; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionOverflowMenuStyle=0x7f02001e; /** * The name of an optional ActionProvider class to instantiate an action view * and perform operations such as default action for that menu item. * See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} * for more info. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int actionProviderClass=0x7f02001f; /** * The name of an optional View class to instantiate and use as an * action view. See {@link android.view.MenuItem#setActionView(android.view.View)} * for more info. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int actionViewClass=0x7f020020; /** * Default ActivityChooserView style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int activityChooserViewStyle=0x7f020021; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int alertDialogButtonGroupStyle=0x7f020022; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int alertDialogCenterButtons=0x7f020023; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int alertDialogStyle=0x7f020024; /** * Theme to use for alert dialogs spawned from this theme. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int alertDialogTheme=0x7f020025; /** * Whether to automatically stack the buttons when there is not * enough space to lay them out side-by-side. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int allowStacking=0x7f020026; /** * Alpha multiplier applied to the base color. * <p>May be a floating point value, such as "<code>1.2</code>". */ public static final int alpha=0x7f020027; /** * The alphabetic modifier key. This is the modifier when using a keyboard * with alphabetic keys. The values should be kept in sync with KeyEvent * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>ALT</td><td>2</td><td></td></tr> * <tr><td>CTRL</td><td>1000</td><td></td></tr> * <tr><td>FUNCTION</td><td>8</td><td></td></tr> * <tr><td>META</td><td>10000</td><td></td></tr> * <tr><td>SHIFT</td><td>1</td><td></td></tr> * <tr><td>SYM</td><td>4</td><td></td></tr> * </table> */ public static final int alphabeticModifiers=0x7f020028; /** * The length of the arrow head when formed to make an arrow * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int arrowHeadLength=0x7f020029; /** * The length of the shaft when formed to make an arrow * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int arrowShaftLength=0x7f02002a; /** * Default AutoCompleteTextView style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int autoCompleteTextViewStyle=0x7f02002b; /** * The maximum text size constraint to be used when auto-sizing text. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int autoSizeMaxTextSize=0x7f02002c; /** * The minimum text size constraint to be used when auto-sizing text. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int autoSizeMinTextSize=0x7f02002d; /** * Resource array of dimensions to be used in conjunction with * <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides * <code>autoSizeStepGranularity</code> if set. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int autoSizePresetSizes=0x7f02002e; /** * Specify the auto-size step size if <code>autoSizeTextType</code> is set to * <code>uniform</code>. The default is 1px. Overwrites * <code>autoSizePresetSizes</code> if set. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int autoSizeStepGranularity=0x7f02002f; /** * Specify the type of auto-size. Note that this feature is not supported by EditText, * works only for TextView. * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>none</td><td>0</td><td>No auto-sizing (default).</td></tr> * <tr><td>uniform</td><td>1</td><td>Uniform horizontal and vertical text size scaling to fit within the * container.</td></tr> * </table> */ public static final int autoSizeTextType=0x7f020030; /** * Specifies a background drawable for the action bar. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int background=0x7f020031; /** * Specifies a background drawable for the bottom component of a split action bar. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int backgroundSplit=0x7f020032; /** * Specifies a background drawable for a second stacked row of the action bar. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int backgroundStacked=0x7f020033; /** * Tint to apply to the background. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int backgroundTint=0x7f020034; /** * Blending mode used to apply the background tint. * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and icon color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the drawable with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the drawable, but with the drawable’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the drawable. The drawable’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the drawable. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> */ public static final int backgroundTintMode=0x7f020035; /** * The length of the bars when they are parallel to each other * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int barLength=0x7f020036; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int barrierAllowsGoneWidgets=0x7f020037; /** * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>3</td><td></td></tr> * <tr><td>end</td><td>6</td><td></td></tr> * <tr><td>left</td><td>0</td><td></td></tr> * <tr><td>right</td><td>1</td><td></td></tr> * <tr><td>start</td><td>5</td><td></td></tr> * <tr><td>top</td><td>2</td><td></td></tr> * </table> */ public static final int barrierDirection=0x7f020038; /** * Style for buttons without an explicit border, often used in groups. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int borderlessButtonStyle=0x7f020039; /** * Style for buttons within button bars * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonBarButtonStyle=0x7f02003a; /** * Style for the "negative" buttons within button bars * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonBarNegativeButtonStyle=0x7f02003b; /** * Style for the "neutral" buttons within button bars * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonBarNeutralButtonStyle=0x7f02003c; /** * Style for the "positive" buttons within button bars * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonBarPositiveButtonStyle=0x7f02003d; /** * Style for button bars * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonBarStyle=0x7f02003e; /** * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>50</td><td>Push object to the bottom of its container, not changing its size.</td></tr> * <tr><td>top</td><td>30</td><td>Push object to the top of its container, not changing its size.</td></tr> * </table> */ public static final int buttonGravity=0x7f02003f; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int buttonIconDimen=0x7f020040; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonPanelSideLayout=0x7f020041; /** * Normal Button style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonStyle=0x7f020042; /** * Small Button style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonStyleSmall=0x7f020043; /** * Tint to apply to the button drawable. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int buttonTint=0x7f020044; /** * Blending mode used to apply the button tint. * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and icon color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the drawable with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the drawable, but with the drawable’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the drawable. The drawable’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the drawable. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> */ public static final int buttonTintMode=0x7f020045; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int chainUseRtl=0x7f020046; /** * Default Checkbox style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int checkboxStyle=0x7f020047; /** * Default CheckedTextView style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int checkedTextViewStyle=0x7f020048; /** * Close button icon * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int closeIcon=0x7f020049; /** * Specifies a layout to use for the "close" item at the starting edge. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int closeItemLayout=0x7f02004a; /** * Text to set as the content description for the collapse button. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int collapseContentDescription=0x7f02004b; /** * Icon drawable to use for the collapse button. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int collapseIcon=0x7f02004c; /** * The drawing color for the bars * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int color=0x7f02004d; /** * Bright complement to the primary branding color. By default, this is the color applied * to framework controls (via colorControlActivated). * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorAccent=0x7f02004e; /** * Default color of background imagery for floating components, ex. dialogs, popups, and cards. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorBackgroundFloating=0x7f02004f; /** * The color applied to framework buttons in their normal state. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorButtonNormal=0x7f020050; /** * The color applied to framework controls in their activated (ex. checked) state. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorControlActivated=0x7f020051; /** * The color applied to framework control highlights (ex. ripples, list selectors). * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorControlHighlight=0x7f020052; /** * The color applied to framework controls in their normal state. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorControlNormal=0x7f020053; /** * Color used for error states and things that need to be drawn to * the user's attention. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorError=0x7f020054; /** * The primary branding color for the app. By default, this is the color applied to the * action bar background. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorPrimary=0x7f020055; /** * Dark variant of the primary branding color. By default, this is the color applied to * the status bar (via statusBarColor) and navigation bar (via navigationBarColor). * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorPrimaryDark=0x7f020056; /** * The color applied to framework switch thumbs in their normal state. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorSwitchThumbNormal=0x7f020057; /** * Commit icon shown in the query suggestion row * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int commitIcon=0x7f020058; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int constraintSet=0x7f020059; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int constraint_referenced_ids=0x7f02005a; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int content=0x7f02005b; /** * The content description associated with the item. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int contentDescription=0x7f02005c; /** * Minimum inset for content views within a bar. Navigation buttons and * menu views are excepted. Only valid for some themes and configurations. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int contentInsetEnd=0x7f02005d; /** * Minimum inset for content views within a bar when actions from a menu * are present. Only valid for some themes and configurations. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int contentInsetEndWithActions=0x7f02005e; /** * Minimum inset for content views within a bar. Navigation buttons and * menu views are excepted. Only valid for some themes and configurations. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int contentInsetLeft=0x7f02005f; /** * Minimum inset for content views within a bar. Navigation buttons and * menu views are excepted. Only valid for some themes and configurations. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int contentInsetRight=0x7f020060; /** * Minimum inset for content views within a bar. Navigation buttons and * menu views are excepted. Only valid for some themes and configurations. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int contentInsetStart=0x7f020061; /** * Minimum inset for content views within a bar when a navigation button * is present, such as the Up button. Only valid for some themes and configurations. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int contentInsetStartWithNavigation=0x7f020062; /** * The background used by framework controls. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int controlBackground=0x7f020063; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int coordinatorLayoutStyle=0x7f020064; /** * Specifies a layout for custom navigation. Overrides navigationMode. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int customNavigationLayout=0x7f020065; /** * Default query hint used when {@code queryHint} is undefined and * the search view's {@code SearchableInfo} does not provide a hint. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int defaultQueryHint=0x7f020066; /** * Preferred corner radius of dialogs. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int dialogCornerRadius=0x7f020067; /** * Preferred padding for dialog content. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int dialogPreferredPadding=0x7f020068; /** * Theme to use for dialogs spawned from this theme. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int dialogTheme=0x7f020069; /** * Options affecting how the action bar is displayed. * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>disableHome</td><td>20</td><td></td></tr> * <tr><td>homeAsUp</td><td>4</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>showCustom</td><td>10</td><td></td></tr> * <tr><td>showHome</td><td>2</td><td></td></tr> * <tr><td>showTitle</td><td>8</td><td></td></tr> * <tr><td>useLogo</td><td>1</td><td></td></tr> * </table> */ public static final int displayOptions=0x7f02006a; /** * Specifies the drawable used for item dividers. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int divider=0x7f02006b; /** * A drawable that may be used as a horizontal divider between visual elements. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int dividerHorizontal=0x7f02006c; /** * Size of padding on either end of a divider. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int dividerPadding=0x7f02006d; /** * A drawable that may be used as a vertical divider between visual elements. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int dividerVertical=0x7f02006e; /** * The total size of the drawable * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int drawableSize=0x7f02006f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int drawerArrowStyle=0x7f020070; /** * ListPopupWindow compatibility * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int dropDownListViewStyle=0x7f020071; /** * The preferred item height for dropdown lists. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int dropdownListPreferredItemHeight=0x7f020072; /** * EditText background drawable. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int editTextBackground=0x7f020073; /** * EditText text foreground color. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int editTextColor=0x7f020074; /** * Default EditText style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int editTextStyle=0x7f020075; /** * Elevation for the action bar itself * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int elevation=0x7f020076; /** * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>gone</td><td>0</td><td></td></tr> * <tr><td>invisible</td><td>1</td><td></td></tr> * </table> */ public static final int emptyVisibility=0x7f020077; /** * The drawable to show in the button for expanding the activities overflow popup. * <strong>Note:</strong> Clients would like to set this drawable * as a clue about the action the chosen activity will perform. For * example, if share activity is to be chosen the drawable should * give a clue that sharing is to be performed. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int expandActivityOverflowButtonDrawable=0x7f020078; /** * Distance from the top of the TextView to the first text baseline. If set, this * overrides the value set for paddingTop. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int firstBaselineToTopHeight=0x7f020079; /** * The reference to the font file to be used. This should be a file in the res/font folder * and should therefore have an R reference value. E.g. @font/myfont * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int font=0x7f02007a; /** * The attribute for the font family. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int fontFamily=0x7f02007b; /** * The authority of the Font Provider to be used for the request. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int fontProviderAuthority=0x7f02007c; /** * The sets of hashes for the certificates the provider should be signed with. This is * used to verify the identity of the provider, and is only required if the provider is not * part of the system image. This value may point to one list or a list of lists, where each * individual list represents one collection of signature hashes. Refer to your font provider's * documentation for these values. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int fontProviderCerts=0x7f02007d; /** * The strategy to be used when fetching font data from a font provider in XML layouts. * This attribute is ignored when the resource is loaded from code, as it is equivalent to the * choice of API between {@link * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and * {@link * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} * (async). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>async</td><td>1</td><td>The async font fetch works as follows. * First, check the local cache, then if the requeted font is not cached, trigger a * request the font and continue with layout inflation. Once the font fetch succeeds, the * target text view will be refreshed with the downloaded font data. The * fontProviderFetchTimeout will be ignored if async loading is specified.</td></tr> * <tr><td>blocking</td><td>0</td><td>The blocking font fetch works as follows. * First, check the local cache, then if the requested font is not cached, request the * font from the provider and wait until it is finished. You can change the length of * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the * default typeface will be used instead.</td></tr> * </table> */ public static final int fontProviderFetchStrategy=0x7f02007e; /** * The length of the timeout during fetching. * <p>May be an integer value, such as "<code>100</code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>forever</td><td>ffffffff</td><td>A special value for the timeout. In this case, the blocking font fetching will not * timeout and wait until a reply is received from the font provider.</td></tr> * </table> */ public static final int fontProviderFetchTimeout=0x7f02007f; /** * The package for the Font Provider to be used for the request. This is used to verify * the identity of the provider. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int fontProviderPackage=0x7f020080; /** * The query to be sent over to the provider. Refer to your font provider's documentation * on the format of this string. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int fontProviderQuery=0x7f020081; /** * The style of the given font file. This will be used when the font is being loaded into * the font stack and will override any style information in the font's header tables. If * unspecified, the value in the font's header tables will be used. * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>italic</td><td>1</td><td></td></tr> * <tr><td>normal</td><td>0</td><td></td></tr> * </table> */ public static final int fontStyle=0x7f020082; /** * The variation settings to be applied to the font. The string should be in the following * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be * used, or the font used does not support variation settings, this attribute needs not be * specified. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int fontVariationSettings=0x7f020083; /** * The weight of the given font file. This will be used when the font is being loaded into * the font stack and will override any weight information in the font's header tables. Must * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value * in the font's header tables will be used. * <p>May be an integer value, such as "<code>100</code>". */ public static final int fontWeight=0x7f020084; /** * The max gap between the bars when they are parallel to each other * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int gapBetweenBars=0x7f020085; /** * Go button icon * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int goIcon=0x7f020086; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int height=0x7f020087; /** * Set true to hide the action bar on a vertical nested scroll of content. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int hideOnContentScroll=0x7f020088; /** * Specifies a drawable to use for the 'home as up' indicator. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int homeAsUpIndicator=0x7f020089; /** * Specifies a layout to use for the "home" section of the action bar. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int homeLayout=0x7f02008a; /** * Specifies the drawable used for the application icon. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int icon=0x7f02008b; /** * Tint to apply to the icon. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int iconTint=0x7f02008c; /** * Blending mode used to apply the icon tint. * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and icon color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the icon with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the icon, but with the icon’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the icon. The icon’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the icon. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> */ public static final int iconTintMode=0x7f02008d; /** * The default state of the SearchView. If true, it will be iconified when not in * use and expanded when clicked. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int iconifiedByDefault=0x7f02008e; /** * ImageButton background drawable. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int imageButtonStyle=0x7f02008f; /** * Specifies a style resource to use for an indeterminate progress spinner. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int indeterminateProgressStyle=0x7f020090; /** * The maximal number of items initially shown in the activity list. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int initialActivityCount=0x7f020091; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int isLightTheme=0x7f020092; /** * Specifies padding that should be applied to the left and right sides of * system-provided items in the bar. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int itemPadding=0x7f020093; /** * A reference to an array of integers representing the * locations of horizontal keylines in dp from the starting edge. * Child views can refer to these keylines for alignment using * layout_keyline="index" where index is a 0-based index into * this array. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int keylines=0x7f020094; /** * Distance from the bottom of the TextView to the last text baseline. If set, this * overrides the value set for paddingBottom. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int lastBaselineToBottomHeight=0x7f020095; /** * The layout to use for the search view. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int layout=0x7f020096; /** * The id of an anchor view that this view should position relative to. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int layout_anchor=0x7f020097; /** * Specifies how an object should position relative to an anchor, on both the X and Y axes, * within its parent's bounds. * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>50</td><td>Push object to the bottom of its container, not changing its size.</td></tr> * <tr><td>center</td><td>11</td><td>Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.</td></tr> * <tr><td>center_horizontal</td><td>1</td><td>Place object in the horizontal center of its container, not changing its size.</td></tr> * <tr><td>center_vertical</td><td>10</td><td>Place object in the vertical center of its container, not changing its size.</td></tr> * <tr><td>clip_horizontal</td><td>8</td><td>Additional option that can be set to have the left and/or right edges of * the child clipped to its container's bounds. * The clip will be based on the horizontal gravity: a left gravity will clip the right * edge, a right gravity will clip the left edge, and neither will clip both edges.</td></tr> * <tr><td>clip_vertical</td><td>80</td><td>Additional option that can be set to have the top and/or bottom edges of * the child clipped to its container's bounds. * The clip will be based on the vertical gravity: a top gravity will clip the bottom * edge, a bottom gravity will clip the top edge, and neither will clip both edges.</td></tr> * <tr><td>end</td><td>800005</td><td>Push object to the end of its container, not changing its size.</td></tr> * <tr><td>fill</td><td>77</td><td>Grow the horizontal and vertical size of the object if needed so it completely fills its container.</td></tr> * <tr><td>fill_horizontal</td><td>7</td><td>Grow the horizontal size of the object if needed so it completely fills its container.</td></tr> * <tr><td>fill_vertical</td><td>70</td><td>Grow the vertical size of the object if needed so it completely fills its container.</td></tr> * <tr><td>left</td><td>3</td><td>Push object to the left of its container, not changing its size.</td></tr> * <tr><td>right</td><td>5</td><td>Push object to the right of its container, not changing its size.</td></tr> * <tr><td>start</td><td>800003</td><td>Push object to the beginning of its container, not changing its size.</td></tr> * <tr><td>top</td><td>30</td><td>Push object to the top of its container, not changing its size.</td></tr> * </table> */ public static final int layout_anchorGravity=0x7f020098; /** * The class name of a Behavior class defining special runtime behavior * for this child view. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int layout_behavior=0x7f020099; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int layout_constrainedHeight=0x7f02009a; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int layout_constrainedWidth=0x7f02009b; /** * <p>May be an integer value, such as "<code>100</code>". */ public static final int layout_constraintBaseline_creator=0x7f02009c; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintBaseline_toBaselineOf=0x7f02009d; /** * <p>May be an integer value, such as "<code>100</code>". */ public static final int layout_constraintBottom_creator=0x7f02009e; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintBottom_toBottomOf=0x7f02009f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintBottom_toTopOf=0x7f0200a0; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int layout_constraintCircle=0x7f0200a1; /** * <p>May be an integer value, such as "<code>100</code>". */ public static final int layout_constraintCircleAngle=0x7f0200a2; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int layout_constraintCircleRadius=0x7f0200a3; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int layout_constraintDimensionRatio=0x7f0200a4; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintEnd_toEndOf=0x7f0200a5; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintEnd_toStartOf=0x7f0200a6; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int layout_constraintGuide_begin=0x7f0200a7; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int layout_constraintGuide_end=0x7f0200a8; /** * <p>May be a floating point value, such as "<code>1.2</code>". */ public static final int layout_constraintGuide_percent=0x7f0200a9; /** * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>percent</td><td>2</td><td></td></tr> * <tr><td>spread</td><td>0</td><td></td></tr> * <tr><td>wrap</td><td>1</td><td></td></tr> * </table> */ public static final int layout_constraintHeight_default=0x7f0200aa; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap</td><td>fffffffe</td><td></td></tr> * </table> */ public static final int layout_constraintHeight_max=0x7f0200ab; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap</td><td>fffffffe</td><td></td></tr> * </table> */ public static final int layout_constraintHeight_min=0x7f0200ac; /** * <p>May be a floating point value, such as "<code>1.2</code>". */ public static final int layout_constraintHeight_percent=0x7f0200ad; /** * <p>May be a floating point value, such as "<code>1.2</code>". */ public static final int layout_constraintHorizontal_bias=0x7f0200ae; /** * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>packed</td><td>2</td><td></td></tr> * <tr><td>spread</td><td>0</td><td></td></tr> * <tr><td>spread_inside</td><td>1</td><td></td></tr> * </table> */ public static final int layout_constraintHorizontal_chainStyle=0x7f0200af; /** * <p>May be a floating point value, such as "<code>1.2</code>". */ public static final int layout_constraintHorizontal_weight=0x7f0200b0; /** * <p>May be an integer value, such as "<code>100</code>". */ public static final int layout_constraintLeft_creator=0x7f0200b1; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintLeft_toLeftOf=0x7f0200b2; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintLeft_toRightOf=0x7f0200b3; /** * <p>May be an integer value, such as "<code>100</code>". */ public static final int layout_constraintRight_creator=0x7f0200b4; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintRight_toLeftOf=0x7f0200b5; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintRight_toRightOf=0x7f0200b6; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintStart_toEndOf=0x7f0200b7; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintStart_toStartOf=0x7f0200b8; /** * <p>May be an integer value, such as "<code>100</code>". */ public static final int layout_constraintTop_creator=0x7f0200b9; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintTop_toBottomOf=0x7f0200ba; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> */ public static final int layout_constraintTop_toTopOf=0x7f0200bb; /** * <p>May be a floating point value, such as "<code>1.2</code>". */ public static final int layout_constraintVertical_bias=0x7f0200bc; /** * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>packed</td><td>2</td><td></td></tr> * <tr><td>spread</td><td>0</td><td></td></tr> * <tr><td>spread_inside</td><td>1</td><td></td></tr> * </table> */ public static final int layout_constraintVertical_chainStyle=0x7f0200bd; /** * <p>May be a floating point value, such as "<code>1.2</code>". */ public static final int layout_constraintVertical_weight=0x7f0200be; /** * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>percent</td><td>2</td><td></td></tr> * <tr><td>spread</td><td>0</td><td></td></tr> * <tr><td>wrap</td><td>1</td><td></td></tr> * </table> */ public static final int layout_constraintWidth_default=0x7f0200bf; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap</td><td>fffffffe</td><td></td></tr> * </table> */ public static final int layout_constraintWidth_max=0x7f0200c0; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap</td><td>fffffffe</td><td></td></tr> * </table> */ public static final int layout_constraintWidth_min=0x7f0200c1; /** * <p>May be a floating point value, such as "<code>1.2</code>". */ public static final int layout_constraintWidth_percent=0x7f0200c2; /** * Specifies how this view dodges the inset edges of the CoordinatorLayout. * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>all</td><td>77</td><td>Dodge all the inset edges.</td></tr> * <tr><td>bottom</td><td>50</td><td>Dodge the bottom inset edge.</td></tr> * <tr><td>end</td><td>800005</td><td>Dodge the end inset edge.</td></tr> * <tr><td>left</td><td>3</td><td>Dodge the left inset edge.</td></tr> * <tr><td>none</td><td>0</td><td>Don't dodge any edges</td></tr> * <tr><td>right</td><td>5</td><td>Dodge the right inset edge.</td></tr> * <tr><td>start</td><td>800003</td><td>Dodge the start inset edge.</td></tr> * <tr><td>top</td><td>30</td><td>Dodge the top inset edge.</td></tr> * </table> */ public static final int layout_dodgeInsetEdges=0x7f0200c3; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int layout_editor_absoluteX=0x7f0200c4; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int layout_editor_absoluteY=0x7f0200c5; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int layout_goneMarginBottom=0x7f0200c6; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int layout_goneMarginEnd=0x7f0200c7; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int layout_goneMarginLeft=0x7f0200c8; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int layout_goneMarginRight=0x7f0200c9; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int layout_goneMarginStart=0x7f0200ca; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int layout_goneMarginTop=0x7f0200cb; /** * Specifies how this view insets the CoordinatorLayout and make some other views * dodge it. * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>50</td><td>Inset the bottom edge.</td></tr> * <tr><td>end</td><td>800005</td><td>Inset the end edge.</td></tr> * <tr><td>left</td><td>3</td><td>Inset the left edge.</td></tr> * <tr><td>none</td><td>0</td><td>Don't inset.</td></tr> * <tr><td>right</td><td>5</td><td>Inset the right edge.</td></tr> * <tr><td>start</td><td>800003</td><td>Inset the start edge.</td></tr> * <tr><td>top</td><td>30</td><td>Inset the top edge.</td></tr> * </table> */ public static final int layout_insetEdge=0x7f0200cc; /** * The index of a keyline this view should position relative to. * android:layout_gravity will affect how the view aligns to the * specified keyline. * <p>May be an integer value, such as "<code>100</code>". */ public static final int layout_keyline=0x7f0200cd; /** * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>barrier</td><td>2</td><td></td></tr> * <tr><td>chains</td><td>4</td><td></td></tr> * <tr><td>dimensions</td><td>8</td><td></td></tr> * <tr><td>direct</td><td>1</td><td>direct, barriers, chains</td></tr> * <tr><td>groups</td><td>20</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>standard</td><td>7</td><td></td></tr> * </table> */ public static final int layout_optimizationLevel=0x7f0200ce; /** * Explicit height between lines of text. If set, this will override the values set * for lineSpacingExtra and lineSpacingMultiplier. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int lineHeight=0x7f0200cf; /** * Drawable used as a background for selected list items. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int listChoiceBackgroundIndicator=0x7f0200d0; /** * The list divider used in alert dialogs. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int listDividerAlertDialog=0x7f0200d1; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int listItemLayout=0x7f0200d2; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int listLayout=0x7f0200d3; /** * Default menu-style ListView style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int listMenuViewStyle=0x7f0200d4; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int listPopupWindowStyle=0x7f0200d5; /** * The preferred list item height. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int listPreferredItemHeight=0x7f0200d6; /** * A larger, more robust list item height. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int listPreferredItemHeightLarge=0x7f0200d7; /** * A smaller, sleeker list item height. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int listPreferredItemHeightSmall=0x7f0200d8; /** * The preferred padding along the left edge of list items. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int listPreferredItemPaddingLeft=0x7f0200d9; /** * The preferred padding along the right edge of list items. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int listPreferredItemPaddingRight=0x7f0200da; /** * Specifies the drawable used for the application logo. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int logo=0x7f0200db; /** * A content description string to describe the appearance of the * associated logo image. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int logoDescription=0x7f0200dc; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int maxButtonHeight=0x7f0200dd; /** * When set to true, all children with a weight will be considered having * the minimum size of the largest child. If false, all children are * measured normally. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int measureWithLargestChild=0x7f0200de; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int multiChoiceItemLayout=0x7f0200df; /** * Text to set as the content description for the navigation button * located at the start of the toolbar. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int navigationContentDescription=0x7f0200e0; /** * Icon drawable to use for the navigation button located at * the start of the toolbar. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int navigationIcon=0x7f0200e1; /** * The type of navigation to use. * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>listMode</td><td>1</td><td>The action bar will use a selection list for navigation.</td></tr> * <tr><td>normal</td><td>0</td><td>Normal static title text</td></tr> * <tr><td>tabMode</td><td>2</td><td>The action bar will use a series of horizontal tabs for navigation.</td></tr> * </table> */ public static final int navigationMode=0x7f0200e2; /** * The numeric modifier key. This is the modifier when using a numeric (e.g., 12-key) * keyboard. The values should be kept in sync with KeyEvent * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>ALT</td><td>2</td><td></td></tr> * <tr><td>CTRL</td><td>1000</td><td></td></tr> * <tr><td>FUNCTION</td><td>8</td><td></td></tr> * <tr><td>META</td><td>10000</td><td></td></tr> * <tr><td>SHIFT</td><td>1</td><td></td></tr> * <tr><td>SYM</td><td>4</td><td></td></tr> * </table> */ public static final int numericModifiers=0x7f0200e3; /** * Whether the popup window should overlap its anchor view. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int overlapAnchor=0x7f0200e4; /** * Bottom padding to use when no buttons are present. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int paddingBottomNoButtons=0x7f0200e5; /** * Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int paddingEnd=0x7f0200e6; /** * Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int paddingStart=0x7f0200e7; /** * Top padding to use when no title is present. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int paddingTopNoTitle=0x7f0200e8; /** * The background of a panel when it is inset from the left and right edges of the screen. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int panelBackground=0x7f0200e9; /** * Default Panel Menu style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int panelMenuListTheme=0x7f0200ea; /** * Default Panel Menu width. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int panelMenuListWidth=0x7f0200eb; /** * Default PopupMenu style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int popupMenuStyle=0x7f0200ec; /** * Reference to a theme that should be used to inflate popups * shown by widgets in the action bar. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int popupTheme=0x7f0200ed; /** * Default PopupWindow style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int popupWindowStyle=0x7f0200ee; /** * Whether space should be reserved in layout when an icon is missing. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int preserveIconSpacing=0x7f0200ef; /** * Specifies the horizontal padding on either end for an embedded progress bar. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int progressBarPadding=0x7f0200f0; /** * Specifies a style resource to use for an embedded progress bar. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int progressBarStyle=0x7f0200f1; /** * Background for the section containing the search query * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int queryBackground=0x7f0200f2; /** * An optional user-defined query hint string to be displayed in the empty query field. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int queryHint=0x7f0200f3; /** * Default RadioButton style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int radioButtonStyle=0x7f0200f4; /** * Default RatingBar style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int ratingBarStyle=0x7f0200f5; /** * Indicator RatingBar style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int ratingBarStyleIndicator=0x7f0200f6; /** * Small indicator RatingBar style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int ratingBarStyleSmall=0x7f0200f7; /** * Search icon displayed as a text field hint * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int searchHintIcon=0x7f0200f8; /** * Search icon * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int searchIcon=0x7f0200f9; /** * Style for the search query widget. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int searchViewStyle=0x7f0200fa; /** * Default SeekBar style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int seekBarStyle=0x7f0200fb; /** * A style that may be applied to buttons or other selectable items * that should react to pressed and focus states, but that do not * have a clear visual border along the edges. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int selectableItemBackground=0x7f0200fc; /** * Background drawable for borderless standalone items that need focus/pressed states. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int selectableItemBackgroundBorderless=0x7f0200fd; /** * How this item should display in the Action Bar, if present. * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>always</td><td>2</td><td>Always show this item in an actionbar, even if it would override * the system's limits of how much stuff to put there. This may make * your action bar look bad on some screens. In most cases you should * use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never".</td></tr> * <tr><td>collapseActionView</td><td>8</td><td>This item's action view collapses to a normal menu * item. When expanded, the action view takes over a * larger segment of its container.</td></tr> * <tr><td>ifRoom</td><td>1</td><td>Show this item in an action bar if there is room for it as determined * by the system. Favor this option over "always" where possible. * Mutually exclusive with "never" and "always".</td></tr> * <tr><td>never</td><td>0</td><td>Never show this item in an action bar, show it in the overflow menu instead. * Mutually exclusive with "ifRoom" and "always".</td></tr> * <tr><td>withText</td><td>4</td><td>When this item is shown as an action in the action bar, show a text * label with it even if it has an icon representation.</td></tr> * </table> */ public static final int showAsAction=0x7f0200fe; /** * Setting for which dividers to show. * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>beginning</td><td>1</td><td></td></tr> * <tr><td>end</td><td>4</td><td></td></tr> * <tr><td>middle</td><td>2</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * </table> */ public static final int showDividers=0x7f0200ff; /** * Whether to draw on/off text. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int showText=0x7f020100; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int showTitle=0x7f020101; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int singleChoiceItemLayout=0x7f020102; /** * Whether bars should rotate or not during transition * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int spinBars=0x7f020103; /** * Default Spinner style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int spinnerDropDownItemStyle=0x7f020104; /** * Default Spinner style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int spinnerStyle=0x7f020105; /** * Whether to split the track and leave a gap for the thumb drawable. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int splitTrack=0x7f020106; /** * Sets a drawable as the content of this ImageView. Allows the use of vector drawable * when running on older versions of the platform. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int srcCompat=0x7f020107; /** * State identifier indicating the popup will be above the anchor. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int state_above_anchor=0x7f020108; /** * Drawable to display behind the status bar when the view is set to draw behind it. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int statusBarBackground=0x7f020109; /** * Drawable for the arrow icon indicating a particular item is a submenu. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int subMenuArrow=0x7f02010a; /** * Background for the section containing the action (e.g. voice search) * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int submitBackground=0x7f02010b; /** * Specifies subtitle text used for navigationMode="normal" * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int subtitle=0x7f02010c; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int subtitleTextAppearance=0x7f02010d; /** * A color to apply to the subtitle string. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int subtitleTextColor=0x7f02010e; /** * Specifies a style to use for subtitle text. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int subtitleTextStyle=0x7f02010f; /** * Layout for query suggestion rows * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int suggestionRowLayout=0x7f020110; /** * Minimum width for the switch component * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int switchMinWidth=0x7f020111; /** * Minimum space between the switch and caption text * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int switchPadding=0x7f020112; /** * Default style for the Switch widget. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int switchStyle=0x7f020113; /** * TextAppearance style for text displayed on the switch thumb. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int switchTextAppearance=0x7f020114; /** * Present the text in ALL CAPS. This may use a small-caps form when available. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int textAllCaps=0x7f020115; /** * Text color, typeface, size, and style for the text inside of a popup menu. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceLargePopupMenu=0x7f020116; /** * The preferred TextAppearance for the primary text of list items. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceListItem=0x7f020117; /** * The preferred TextAppearance for the secondary text of list items. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceListItemSecondary=0x7f020118; /** * The preferred TextAppearance for the primary text of small list items. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceListItemSmall=0x7f020119; /** * Text color, typeface, size, and style for header text inside of a popup menu. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearancePopupMenuHeader=0x7f02011a; /** * Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceSearchResultSubtitle=0x7f02011b; /** * Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceSearchResultTitle=0x7f02011c; /** * Text color, typeface, size, and style for small text inside of a popup menu. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceSmallPopupMenu=0x7f02011d; /** * Color of list item text in alert dialogs. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int textColorAlertDialogListItem=0x7f02011e; /** * Text color for urls in search suggestions, used by things like global search * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int textColorSearchUrl=0x7f02011f; /** * Deprecated. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int theme=0x7f020120; /** * The thickness (stroke size) for the bar paint * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int thickness=0x7f020121; /** * Amount of padding on either side of text within the switch thumb. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int thumbTextPadding=0x7f020122; /** * Tint to apply to the thumb drawable. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int thumbTint=0x7f020123; /** * Blending mode used to apply the thumb tint. * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and drawable color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the drawable with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the drawable, but with the drawable’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the drawable. The drawable’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the drawable. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> */ public static final int thumbTintMode=0x7f020124; /** * Drawable displayed at each progress position on a seekbar. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int tickMark=0x7f020125; /** * Tint to apply to the tick mark drawable. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int tickMarkTint=0x7f020126; /** * Blending mode used to apply the tick mark tint. * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and drawable color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the drawable with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the drawable, but with the drawable’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the drawable. The drawable’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the drawable. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> */ public static final int tickMarkTintMode=0x7f020127; /** * Tint to apply to the image source. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int tint=0x7f020128; /** * Blending mode used to apply the image source tint. * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and icon color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the drawable with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the drawable, but with the drawable’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the drawable. The drawable’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the drawable. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> */ public static final int tintMode=0x7f020129; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int title=0x7f02012a; /** * Specifies extra space on the left, start, right and end sides * of the toolbar's title. Margin values should be positive. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int titleMargin=0x7f02012b; /** * Specifies extra space on the bottom side of the toolbar's title. * If both this attribute and titleMargin are specified, then this * attribute takes precedence. Margin values should be positive. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int titleMarginBottom=0x7f02012c; /** * Specifies extra space on the end side of the toolbar's title. * If both this attribute and titleMargin are specified, then this * attribute takes precedence. Margin values should be positive. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int titleMarginEnd=0x7f02012d; /** * Specifies extra space on the start side of the toolbar's title. * If both this attribute and titleMargin are specified, then this * attribute takes precedence. Margin values should be positive. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int titleMarginStart=0x7f02012e; /** * Specifies extra space on the top side of the toolbar's title. * If both this attribute and titleMargin are specified, then this * attribute takes precedence. Margin values should be positive. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int titleMarginTop=0x7f02012f; /** * {@deprecated Use titleMargin} * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ @Deprecated public static final int titleMargins=0x7f020130; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int titleTextAppearance=0x7f020131; /** * A color to apply to the title string. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int titleTextColor=0x7f020132; /** * Specifies a style to use for title text. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int titleTextStyle=0x7f020133; /** * Default Toolar NavigationButtonStyle * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int toolbarNavigationButtonStyle=0x7f020134; /** * Default Toolbar style. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int toolbarStyle=0x7f020135; /** * Foreground color to use for tooltips * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int tooltipForegroundColor=0x7f020136; /** * Background to use for tooltips * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int tooltipFrameBackground=0x7f020137; /** * The tooltip text associated with the item. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int tooltipText=0x7f020138; /** * Drawable to use as the "track" that the switch thumb slides within. * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int track=0x7f020139; /** * Tint to apply to the track. * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int trackTint=0x7f02013a; /** * Blending mode used to apply the track tint. * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and drawable color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the drawable with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the drawable, but with the drawable’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the drawable. The drawable’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the drawable. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> */ public static final int trackTintMode=0x7f02013b; /** * The index of the font in the tcc font file. If the font file referenced is not in the * tcc format, this attribute needs not be specified. * <p>May be an integer value, such as "<code>100</code>". */ public static final int ttcIndex=0x7f02013c; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int viewInflaterClass=0x7f02013d; /** * Voice button icon * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int voiceIcon=0x7f02013e; /** * Flag indicating whether this window should have an Action Bar * in place of the usual title bar. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int windowActionBar=0x7f02013f; /** * Flag indicating whether this window's Action Bar should overlay * application content. Does nothing if the window would not * have an Action Bar. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int windowActionBarOverlay=0x7f020140; /** * Flag indicating whether action modes should overlay window content * when there is not reserved space for their UI (such as an Action Bar). * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int windowActionModeOverlay=0x7f020141; /** * A fixed height for the window along the major axis of the screen, * that is, when in portrait. Can be either an absolute dimension * or a fraction of the screen size in that dimension. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. */ public static final int windowFixedHeightMajor=0x7f020142; /** * A fixed height for the window along the minor axis of the screen, * that is, when in landscape. Can be either an absolute dimension * or a fraction of the screen size in that dimension. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. */ public static final int windowFixedHeightMinor=0x7f020143; /** * A fixed width for the window along the major axis of the screen, * that is, when in landscape. Can be either an absolute dimension * or a fraction of the screen size in that dimension. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. */ public static final int windowFixedWidthMajor=0x7f020144; /** * A fixed width for the window along the minor axis of the screen, * that is, when in portrait. Can be either an absolute dimension * or a fraction of the screen size in that dimension. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. */ public static final int windowFixedWidthMinor=0x7f020145; /** * The minimum width the window is allowed to be, along the major * axis of the screen. That is, when in landscape. Can be either * an absolute dimension or a fraction of the screen size in that * dimension. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. */ public static final int windowMinWidthMajor=0x7f020146; /** * The minimum width the window is allowed to be, along the minor * axis of the screen. That is, when in portrait. Can be either * an absolute dimension or a fraction of the screen size in that * dimension. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. */ public static final int windowMinWidthMinor=0x7f020147; /** * Flag indicating whether there should be no title on this window. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int windowNoTitle=0x7f020148; } public static final class bool { public static final int abc_action_bar_embed_tabs=0x7f030000; public static final int abc_allow_stacked_button_bar=0x7f030001; public static final int abc_config_actionMenuItemAllCaps=0x7f030002; } public static final class color { public static final int abc_background_cache_hint_selector_material_dark=0x7f040000; public static final int abc_background_cache_hint_selector_material_light=0x7f040001; public static final int abc_btn_colored_borderless_text_material=0x7f040002; public static final int abc_btn_colored_text_material=0x7f040003; public static final int abc_color_highlight_material=0x7f040004; public static final int abc_hint_foreground_material_dark=0x7f040005; public static final int abc_hint_foreground_material_light=0x7f040006; public static final int abc_input_method_navigation_guard=0x7f040007; public static final int abc_primary_text_disable_only_material_dark=0x7f040008; public static final int abc_primary_text_disable_only_material_light=0x7f040009; public static final int abc_primary_text_material_dark=0x7f04000a; public static final int abc_primary_text_material_light=0x7f04000b; public static final int abc_search_url_text=0x7f04000c; public static final int abc_search_url_text_normal=0x7f04000d; public static final int abc_search_url_text_pressed=0x7f04000e; public static final int abc_search_url_text_selected=0x7f04000f; public static final int abc_secondary_text_material_dark=0x7f040010; public static final int abc_secondary_text_material_light=0x7f040011; public static final int abc_tint_btn_checkable=0x7f040012; public static final int abc_tint_default=0x7f040013; public static final int abc_tint_edittext=0x7f040014; public static final int abc_tint_seek_thumb=0x7f040015; public static final int abc_tint_spinner=0x7f040016; public static final int abc_tint_switch_track=0x7f040017; public static final int accent_material_dark=0x7f040018; public static final int accent_material_light=0x7f040019; public static final int background_floating_material_dark=0x7f04001a; public static final int background_floating_material_light=0x7f04001b; public static final int background_material_dark=0x7f04001c; public static final int background_material_light=0x7f04001d; public static final int bright_foreground_disabled_material_dark=0x7f04001e; public static final int bright_foreground_disabled_material_light=0x7f04001f; public static final int bright_foreground_inverse_material_dark=0x7f040020; public static final int bright_foreground_inverse_material_light=0x7f040021; public static final int bright_foreground_material_dark=0x7f040022; public static final int bright_foreground_material_light=0x7f040023; public static final int button_material_dark=0x7f040024; public static final int button_material_light=0x7f040025; public static final int colorAccent=0x7f040026; public static final int colorPrimary=0x7f040027; public static final int colorPrimaryDark=0x7f040028; public static final int dim_foreground_disabled_material_dark=0x7f040029; public static final int dim_foreground_disabled_material_light=0x7f04002a; public static final int dim_foreground_material_dark=0x7f04002b; public static final int dim_foreground_material_light=0x7f04002c; public static final int error_color_material_dark=0x7f04002d; public static final int error_color_material_light=0x7f04002e; public static final int foreground_material_dark=0x7f04002f; public static final int foreground_material_light=0x7f040030; public static final int highlighted_text_material_dark=0x7f040031; public static final int highlighted_text_material_light=0x7f040032; public static final int material_blue_grey_800=0x7f040033; public static final int material_blue_grey_900=0x7f040034; public static final int material_blue_grey_950=0x7f040035; public static final int material_deep_teal_200=0x7f040036; public static final int material_deep_teal_500=0x7f040037; public static final int material_grey_100=0x7f040038; public static final int material_grey_300=0x7f040039; public static final int material_grey_50=0x7f04003a; public static final int material_grey_600=0x7f04003b; public static final int material_grey_800=0x7f04003c; public static final int material_grey_850=0x7f04003d; public static final int material_grey_900=0x7f04003e; public static final int notification_action_color_filter=0x7f04003f; public static final int notification_icon_bg_color=0x7f040040; public static final int primary_dark_material_dark=0x7f040041; public static final int primary_dark_material_light=0x7f040042; public static final int primary_material_dark=0x7f040043; public static final int primary_material_light=0x7f040044; public static final int primary_text_default_material_dark=0x7f040045; public static final int primary_text_default_material_light=0x7f040046; public static final int primary_text_disabled_material_dark=0x7f040047; public static final int primary_text_disabled_material_light=0x7f040048; public static final int ripple_material_dark=0x7f040049; public static final int ripple_material_light=0x7f04004a; public static final int secondary_text_default_material_dark=0x7f04004b; public static final int secondary_text_default_material_light=0x7f04004c; public static final int secondary_text_disabled_material_dark=0x7f04004d; public static final int secondary_text_disabled_material_light=0x7f04004e; public static final int switch_thumb_disabled_material_dark=0x7f04004f; public static final int switch_thumb_disabled_material_light=0x7f040050; public static final int switch_thumb_material_dark=0x7f040051; public static final int switch_thumb_material_light=0x7f040052; public static final int switch_thumb_normal_material_dark=0x7f040053; public static final int switch_thumb_normal_material_light=0x7f040054; public static final int tooltip_background_dark=0x7f040055; public static final int tooltip_background_light=0x7f040056; } public static final class dimen { public static final int abc_action_bar_content_inset_material=0x7f050000; public static final int abc_action_bar_content_inset_with_nav=0x7f050001; public static final int abc_action_bar_default_height_material=0x7f050002; public static final int abc_action_bar_default_padding_end_material=0x7f050003; public static final int abc_action_bar_default_padding_start_material=0x7f050004; public static final int abc_action_bar_elevation_material=0x7f050005; public static final int abc_action_bar_icon_vertical_padding_material=0x7f050006; public static final int abc_action_bar_overflow_padding_end_material=0x7f050007; public static final int abc_action_bar_overflow_padding_start_material=0x7f050008; public static final int abc_action_bar_stacked_max_height=0x7f050009; public static final int abc_action_bar_stacked_tab_max_width=0x7f05000a; public static final int abc_action_bar_subtitle_bottom_margin_material=0x7f05000b; public static final int abc_action_bar_subtitle_top_margin_material=0x7f05000c; public static final int abc_action_button_min_height_material=0x7f05000d; public static final int abc_action_button_min_width_material=0x7f05000e; public static final int abc_action_button_min_width_overflow_material=0x7f05000f; public static final int abc_alert_dialog_button_bar_height=0x7f050010; public static final int abc_alert_dialog_button_dimen=0x7f050011; public static final int abc_button_inset_horizontal_material=0x7f050012; public static final int abc_button_inset_vertical_material=0x7f050013; public static final int abc_button_padding_horizontal_material=0x7f050014; public static final int abc_button_padding_vertical_material=0x7f050015; public static final int abc_cascading_menus_min_smallest_width=0x7f050016; public static final int abc_config_prefDialogWidth=0x7f050017; public static final int abc_control_corner_material=0x7f050018; public static final int abc_control_inset_material=0x7f050019; public static final int abc_control_padding_material=0x7f05001a; public static final int abc_dialog_corner_radius_material=0x7f05001b; public static final int abc_dialog_fixed_height_major=0x7f05001c; public static final int abc_dialog_fixed_height_minor=0x7f05001d; public static final int abc_dialog_fixed_width_major=0x7f05001e; public static final int abc_dialog_fixed_width_minor=0x7f05001f; public static final int abc_dialog_list_padding_bottom_no_buttons=0x7f050020; public static final int abc_dialog_list_padding_top_no_title=0x7f050021; public static final int abc_dialog_min_width_major=0x7f050022; public static final int abc_dialog_min_width_minor=0x7f050023; public static final int abc_dialog_padding_material=0x7f050024; public static final int abc_dialog_padding_top_material=0x7f050025; public static final int abc_dialog_title_divider_material=0x7f050026; public static final int abc_disabled_alpha_material_dark=0x7f050027; public static final int abc_disabled_alpha_material_light=0x7f050028; public static final int abc_dropdownitem_icon_width=0x7f050029; public static final int abc_dropdownitem_text_padding_left=0x7f05002a; public static final int abc_dropdownitem_text_padding_right=0x7f05002b; public static final int abc_edit_text_inset_bottom_material=0x7f05002c; public static final int abc_edit_text_inset_horizontal_material=0x7f05002d; public static final int abc_edit_text_inset_top_material=0x7f05002e; public static final int abc_floating_window_z=0x7f05002f; public static final int abc_list_item_padding_horizontal_material=0x7f050030; public static final int abc_panel_menu_list_width=0x7f050031; public static final int abc_progress_bar_height_material=0x7f050032; public static final int abc_search_view_preferred_height=0x7f050033; public static final int abc_search_view_preferred_width=0x7f050034; public static final int abc_seekbar_track_background_height_material=0x7f050035; public static final int abc_seekbar_track_progress_height_material=0x7f050036; public static final int abc_select_dialog_padding_start_material=0x7f050037; public static final int abc_switch_padding=0x7f050038; public static final int abc_text_size_body_1_material=0x7f050039; public static final int abc_text_size_body_2_material=0x7f05003a; public static final int abc_text_size_button_material=0x7f05003b; public static final int abc_text_size_caption_material=0x7f05003c; public static final int abc_text_size_display_1_material=0x7f05003d; public static final int abc_text_size_display_2_material=0x7f05003e; public static final int abc_text_size_display_3_material=0x7f05003f; public static final int abc_text_size_display_4_material=0x7f050040; public static final int abc_text_size_headline_material=0x7f050041; public static final int abc_text_size_large_material=0x7f050042; public static final int abc_text_size_medium_material=0x7f050043; public static final int abc_text_size_menu_header_material=0x7f050044; public static final int abc_text_size_menu_material=0x7f050045; public static final int abc_text_size_small_material=0x7f050046; public static final int abc_text_size_subhead_material=0x7f050047; public static final int abc_text_size_subtitle_material_toolbar=0x7f050048; public static final int abc_text_size_title_material=0x7f050049; public static final int abc_text_size_title_material_toolbar=0x7f05004a; public static final int compat_button_inset_horizontal_material=0x7f05004b; public static final int compat_button_inset_vertical_material=0x7f05004c; public static final int compat_button_padding_horizontal_material=0x7f05004d; public static final int compat_button_padding_vertical_material=0x7f05004e; public static final int compat_control_corner_material=0x7f05004f; public static final int compat_notification_large_icon_max_height=0x7f050050; public static final int compat_notification_large_icon_max_width=0x7f050051; public static final int disabled_alpha_material_dark=0x7f050052; public static final int disabled_alpha_material_light=0x7f050053; public static final int highlight_alpha_material_colored=0x7f050054; public static final int highlight_alpha_material_dark=0x7f050055; public static final int highlight_alpha_material_light=0x7f050056; public static final int hint_alpha_material_dark=0x7f050057; public static final int hint_alpha_material_light=0x7f050058; public static final int hint_pressed_alpha_material_dark=0x7f050059; public static final int hint_pressed_alpha_material_light=0x7f05005a; public static final int notification_action_icon_size=0x7f05005b; public static final int notification_action_text_size=0x7f05005c; public static final int notification_big_circle_margin=0x7f05005d; public static final int notification_content_margin_start=0x7f05005e; public static final int notification_large_icon_height=0x7f05005f; public static final int notification_large_icon_width=0x7f050060; public static final int notification_main_column_padding_top=0x7f050061; public static final int notification_media_narrow_margin=0x7f050062; public static final int notification_right_icon_size=0x7f050063; public static final int notification_right_side_padding_top=0x7f050064; public static final int notification_small_icon_background_padding=0x7f050065; public static final int notification_small_icon_size_as_large=0x7f050066; public static final int notification_subtext_size=0x7f050067; public static final int notification_top_pad=0x7f050068; public static final int notification_top_pad_large_text=0x7f050069; public static final int tooltip_corner_radius=0x7f05006a; public static final int tooltip_horizontal_padding=0x7f05006b; public static final int tooltip_margin=0x7f05006c; public static final int tooltip_precise_anchor_extra_offset=0x7f05006d; public static final int tooltip_precise_anchor_threshold=0x7f05006e; public static final int tooltip_vertical_padding=0x7f05006f; public static final int tooltip_y_offset_non_touch=0x7f050070; public static final int tooltip_y_offset_touch=0x7f050071; } public static final class drawable { public static final int abc_ab_share_pack_mtrl_alpha=0x7f060001; public static final int abc_action_bar_item_background_material=0x7f060002; public static final int abc_btn_borderless_material=0x7f060003; public static final int abc_btn_check_material=0x7f060004; public static final int abc_btn_check_to_on_mtrl_000=0x7f060005; public static final int abc_btn_check_to_on_mtrl_015=0x7f060006; public static final int abc_btn_colored_material=0x7f060007; public static final int abc_btn_default_mtrl_shape=0x7f060008; public static final int abc_btn_radio_material=0x7f060009; public static final int abc_btn_radio_to_on_mtrl_000=0x7f06000a; public static final int abc_btn_radio_to_on_mtrl_015=0x7f06000b; public static final int abc_btn_switch_to_on_mtrl_00001=0x7f06000c; public static final int abc_btn_switch_to_on_mtrl_00012=0x7f06000d; public static final int abc_cab_background_internal_bg=0x7f06000e; public static final int abc_cab_background_top_material=0x7f06000f; public static final int abc_cab_background_top_mtrl_alpha=0x7f060010; public static final int abc_control_background_material=0x7f060011; public static final int abc_dialog_material_background=0x7f060012; public static final int abc_edit_text_material=0x7f060013; public static final int abc_ic_ab_back_material=0x7f060014; public static final int abc_ic_arrow_drop_right_black_24dp=0x7f060015; public static final int abc_ic_clear_material=0x7f060016; public static final int abc_ic_commit_search_api_mtrl_alpha=0x7f060017; public static final int abc_ic_go_search_api_material=0x7f060018; public static final int abc_ic_menu_copy_mtrl_am_alpha=0x7f060019; public static final int abc_ic_menu_cut_mtrl_alpha=0x7f06001a; public static final int abc_ic_menu_overflow_material=0x7f06001b; public static final int abc_ic_menu_paste_mtrl_am_alpha=0x7f06001c; public static final int abc_ic_menu_selectall_mtrl_alpha=0x7f06001d; public static final int abc_ic_menu_share_mtrl_alpha=0x7f06001e; public static final int abc_ic_search_api_material=0x7f06001f; public static final int abc_ic_star_black_16dp=0x7f060020; public static final int abc_ic_star_black_36dp=0x7f060021; public static final int abc_ic_star_black_48dp=0x7f060022; public static final int abc_ic_star_half_black_16dp=0x7f060023; public static final int abc_ic_star_half_black_36dp=0x7f060024; public static final int abc_ic_star_half_black_48dp=0x7f060025; public static final int abc_ic_voice_search_api_material=0x7f060026; public static final int abc_item_background_holo_dark=0x7f060027; public static final int abc_item_background_holo_light=0x7f060028; public static final int abc_list_divider_material=0x7f060029; public static final int abc_list_divider_mtrl_alpha=0x7f06002a; public static final int abc_list_focused_holo=0x7f06002b; public static final int abc_list_longpressed_holo=0x7f06002c; public static final int abc_list_pressed_holo_dark=0x7f06002d; public static final int abc_list_pressed_holo_light=0x7f06002e; public static final int abc_list_selector_background_transition_holo_dark=0x7f06002f; public static final int abc_list_selector_background_transition_holo_light=0x7f060030; public static final int abc_list_selector_disabled_holo_dark=0x7f060031; public static final int abc_list_selector_disabled_holo_light=0x7f060032; public static final int abc_list_selector_holo_dark=0x7f060033; public static final int abc_list_selector_holo_light=0x7f060034; public static final int abc_menu_hardkey_panel_mtrl_mult=0x7f060035; public static final int abc_popup_background_mtrl_mult=0x7f060036; public static final int abc_ratingbar_indicator_material=0x7f060037; public static final int abc_ratingbar_material=0x7f060038; public static final int abc_ratingbar_small_material=0x7f060039; public static final int abc_scrubber_control_off_mtrl_alpha=0x7f06003a; public static final int abc_scrubber_control_to_pressed_mtrl_000=0x7f06003b; public static final int abc_scrubber_control_to_pressed_mtrl_005=0x7f06003c; public static final int abc_scrubber_primary_mtrl_alpha=0x7f06003d; public static final int abc_scrubber_track_mtrl_alpha=0x7f06003e; public static final int abc_seekbar_thumb_material=0x7f06003f; public static final int abc_seekbar_tick_mark_material=0x7f060040; public static final int abc_seekbar_track_material=0x7f060041; public static final int abc_spinner_mtrl_am_alpha=0x7f060042; public static final int abc_spinner_textfield_background_material=0x7f060043; public static final int abc_switch_thumb_material=0x7f060044; public static final int abc_switch_track_mtrl_alpha=0x7f060045; public static final int abc_tab_indicator_material=0x7f060046; public static final int abc_tab_indicator_mtrl_alpha=0x7f060047; public static final int abc_text_cursor_material=0x7f060048; public static final int abc_text_select_handle_left_mtrl_dark=0x7f060049; public static final int abc_text_select_handle_left_mtrl_light=0x7f06004a; public static final int abc_text_select_handle_middle_mtrl_dark=0x7f06004b; public static final int abc_text_select_handle_middle_mtrl_light=0x7f06004c; public static final int abc_text_select_handle_right_mtrl_dark=0x7f06004d; public static final int abc_text_select_handle_right_mtrl_light=0x7f06004e; public static final int abc_textfield_activated_mtrl_alpha=0x7f06004f; public static final int abc_textfield_default_mtrl_alpha=0x7f060050; public static final int abc_textfield_search_activated_mtrl_alpha=0x7f060051; public static final int abc_textfield_search_default_mtrl_alpha=0x7f060052; public static final int abc_textfield_search_material=0x7f060053; public static final int abc_vector_test=0x7f060054; public static final int ic_launcher_background=0x7f060055; public static final int ic_launcher_foreground=0x7f060056; public static final int notification_action_background=0x7f060057; public static final int notification_bg=0x7f060058; public static final int notification_bg_low=0x7f060059; public static final int notification_bg_low_normal=0x7f06005a; public static final int notification_bg_low_pressed=0x7f06005b; public static final int notification_bg_normal=0x7f06005c; public static final int notification_bg_normal_pressed=0x7f06005d; public static final int notification_icon_background=0x7f06005e; public static final int notification_template_icon_bg=0x7f06005f; public static final int notification_template_icon_low_bg=0x7f060060; public static final int notification_tile_bg=0x7f060061; public static final int notify_panel_notification_icon_bg=0x7f060062; public static final int tooltip_frame_dark=0x7f060063; public static final int tooltip_frame_light=0x7f060064; } public static final class id { public static final int ALT=0x7f070000; public static final int CTRL=0x7f070001; public static final int FUNCTION=0x7f070002; public static final int META=0x7f070003; public static final int SHIFT=0x7f070004; public static final int SYM=0x7f070005; public static final int action_bar=0x7f070006; public static final int action_bar_activity_content=0x7f070007; public static final int action_bar_container=0x7f070008; public static final int action_bar_root=0x7f070009; public static final int action_bar_spinner=0x7f07000a; public static final int action_bar_subtitle=0x7f07000b; public static final int action_bar_title=0x7f07000c; public static final int action_container=0x7f07000d; public static final int action_context_bar=0x7f07000e; public static final int action_divider=0x7f07000f; public static final int action_image=0x7f070010; public static final int action_menu_divider=0x7f070011; public static final int action_menu_presenter=0x7f070012; public static final int action_mode_bar=0x7f070013; public static final int action_mode_bar_stub=0x7f070014; public static final int action_mode_close_button=0x7f070015; public static final int action_text=0x7f070016; public static final int actions=0x7f070017; public static final int activity_chooser_view_content=0x7f070018; public static final int add=0x7f070019; public static final int alertTitle=0x7f07001a; public static final int all=0x7f07001b; public static final int always=0x7f07001c; public static final int async=0x7f07001d; public static final int barrier=0x7f07001e; public static final int beginning=0x7f07001f; public static final int blocking=0x7f070020; public static final int bottom=0x7f070021; public static final int buttonPanel=0x7f070022; public static final int center=0x7f070023; public static final int center_horizontal=0x7f070024; public static final int center_vertical=0x7f070025; public static final int chains=0x7f070026; public static final int checkbox=0x7f070027; public static final int chronometer=0x7f070028; public static final int clip_horizontal=0x7f070029; public static final int clip_vertical=0x7f07002a; public static final int collapseActionView=0x7f07002b; public static final int content=0x7f07002c; public static final int contentPanel=0x7f07002d; public static final int custom=0x7f07002e; public static final int customPanel=0x7f07002f; public static final int decor_content_parent=0x7f070030; public static final int default_activity_button=0x7f070031; public static final int dimensions=0x7f070032; public static final int direct=0x7f070033; public static final int disableHome=0x7f070034; public static final int edit_query=0x7f070035; public static final int end=0x7f070036; public static final int expand_activities_button=0x7f070037; public static final int expanded_menu=0x7f070038; public static final int fill=0x7f070039; public static final int fill_horizontal=0x7f07003a; public static final int fill_vertical=0x7f07003b; public static final int forever=0x7f07003c; public static final int gone=0x7f07003d; public static final int group_divider=0x7f07003e; public static final int groups=0x7f07003f; public static final int home=0x7f070040; public static final int homeAsUp=0x7f070041; public static final int icon=0x7f070042; public static final int icon_group=0x7f070043; public static final int ifRoom=0x7f070044; public static final int image=0x7f070045; public static final int info=0x7f070046; public static final int invisible=0x7f070047; public static final int italic=0x7f070048; public static final int left=0x7f070049; public static final int line1=0x7f07004a; public static final int line3=0x7f07004b; public static final int listMode=0x7f07004c; public static final int list_item=0x7f07004d; public static final int message=0x7f07004e; public static final int middle=0x7f07004f; public static final int multiply=0x7f070050; public static final int never=0x7f070051; public static final int none=0x7f070052; public static final int normal=0x7f070053; public static final int notification_background=0x7f070054; public static final int notification_main_column=0x7f070055; public static final int notification_main_column_container=0x7f070056; public static final int packed=0x7f070057; public static final int parent=0x7f070058; public static final int parentPanel=0x7f070059; public static final int percent=0x7f07005a; public static final int progress_circular=0x7f07005b; public static final int progress_horizontal=0x7f07005c; public static final int radio=0x7f07005d; public static final int right=0x7f07005e; public static final int right_icon=0x7f07005f; public static final int right_side=0x7f070060; public static final int screen=0x7f070061; public static final int scrollIndicatorDown=0x7f070062; public static final int scrollIndicatorUp=0x7f070063; public static final int scrollView=0x7f070064; public static final int search_badge=0x7f070065; public static final int search_bar=0x7f070066; public static final int search_button=0x7f070067; public static final int search_close_btn=0x7f070068; public static final int search_edit_frame=0x7f070069; public static final int search_go_btn=0x7f07006a; public static final int search_mag_icon=0x7f07006b; public static final int search_plate=0x7f07006c; public static final int search_src_text=0x7f07006d; public static final int search_voice_btn=0x7f07006e; public static final int select_dialog_listview=0x7f07006f; public static final int shortcut=0x7f070070; public static final int showCustom=0x7f070071; public static final int showHome=0x7f070072; public static final int showTitle=0x7f070073; public static final int spacer=0x7f070074; public static final int split_action_bar=0x7f070075; public static final int spread=0x7f070076; public static final int spread_inside=0x7f070077; public static final int src_atop=0x7f070078; public static final int src_in=0x7f070079; public static final int src_over=0x7f07007a; public static final int standard=0x7f07007b; public static final int start=0x7f07007c; public static final int submenuarrow=0x7f07007d; public static final int submit_area=0x7f07007e; public static final int tabMode=0x7f07007f; public static final int tag_transition_group=0x7f070080; public static final int tag_unhandled_key_event_manager=0x7f070081; public static final int tag_unhandled_key_listeners=0x7f070082; public static final int text=0x7f070083; public static final int text2=0x7f070084; public static final int textSpacerNoButtons=0x7f070085; public static final int textSpacerNoTitle=0x7f070086; public static final int time=0x7f070087; public static final int title=0x7f070088; public static final int titleDividerNoCustom=0x7f070089; public static final int title_template=0x7f07008a; public static final int top=0x7f07008b; public static final int topPanel=0x7f07008c; public static final int uniform=0x7f07008d; public static final int up=0x7f07008e; public static final int useLogo=0x7f07008f; public static final int withText=0x7f070090; public static final int wrap=0x7f070091; public static final int wrap_content=0x7f070092; } public static final class integer { public static final int abc_config_activityDefaultDur=0x7f080000; public static final int abc_config_activityShortDur=0x7f080001; public static final int cancel_button_image_alpha=0x7f080002; public static final int config_tooltipAnimTime=0x7f080003; public static final int status_bar_notification_info_maxnum=0x7f080004; } public static final class layout { public static final int abc_action_bar_title_item=0x7f090000; public static final int abc_action_bar_up_container=0x7f090001; public static final int abc_action_menu_item_layout=0x7f090002; public static final int abc_action_menu_layout=0x7f090003; public static final int abc_action_mode_bar=0x7f090004; public static final int abc_action_mode_close_item_material=0x7f090005; public static final int abc_activity_chooser_view=0x7f090006; public static final int abc_activity_chooser_view_list_item=0x7f090007; public static final int abc_alert_dialog_button_bar_material=0x7f090008; public static final int abc_alert_dialog_material=0x7f090009; public static final int abc_alert_dialog_title_material=0x7f09000a; public static final int abc_cascading_menu_item_layout=0x7f09000b; public static final int abc_dialog_title_material=0x7f09000c; public static final int abc_expanded_menu_layout=0x7f09000d; public static final int abc_list_menu_item_checkbox=0x7f09000e; public static final int abc_list_menu_item_icon=0x7f09000f; public static final int abc_list_menu_item_layout=0x7f090010; public static final int abc_list_menu_item_radio=0x7f090011; public static final int abc_popup_menu_header_item_layout=0x7f090012; public static final int abc_popup_menu_item_layout=0x7f090013; public static final int abc_screen_content_include=0x7f090014; public static final int abc_screen_simple=0x7f090015; public static final int abc_screen_simple_overlay_action_mode=0x7f090016; public static final int abc_screen_toolbar=0x7f090017; public static final int abc_search_dropdown_item_icons_2line=0x7f090018; public static final int abc_search_view=0x7f090019; public static final int abc_select_dialog_material=0x7f09001a; public static final int abc_tooltip=0x7f09001b; public static final int activity_main=0x7f09001c; public static final int notification_action=0x7f09001d; public static final int notification_action_tombstone=0x7f09001e; public static final int notification_template_custom_big=0x7f09001f; public static final int notification_template_icon_group=0x7f090020; public static final int notification_template_part_chronometer=0x7f090021; public static final int notification_template_part_time=0x7f090022; public static final int select_dialog_item_material=0x7f090023; public static final int select_dialog_multichoice_material=0x7f090024; public static final int select_dialog_singlechoice_material=0x7f090025; public static final int support_simple_spinner_dropdown_item=0x7f090026; } public static final class mipmap { public static final int ic_launcher=0x7f0a0000; public static final int ic_launcher_round=0x7f0a0001; } public static final class string { public static final int abc_action_bar_home_description=0x7f0b0000; public static final int abc_action_bar_up_description=0x7f0b0001; public static final int abc_action_menu_overflow_description=0x7f0b0002; public static final int abc_action_mode_done=0x7f0b0003; public static final int abc_activity_chooser_view_see_all=0x7f0b0004; public static final int abc_activitychooserview_choose_application=0x7f0b0005; public static final int abc_capital_off=0x7f0b0006; public static final int abc_capital_on=0x7f0b0007; public static final int abc_font_family_body_1_material=0x7f0b0008; public static final int abc_font_family_body_2_material=0x7f0b0009; public static final int abc_font_family_button_material=0x7f0b000a; public static final int abc_font_family_caption_material=0x7f0b000b; public static final int abc_font_family_display_1_material=0x7f0b000c; public static final int abc_font_family_display_2_material=0x7f0b000d; public static final int abc_font_family_display_3_material=0x7f0b000e; public static final int abc_font_family_display_4_material=0x7f0b000f; public static final int abc_font_family_headline_material=0x7f0b0010; public static final int abc_font_family_menu_material=0x7f0b0011; public static final int abc_font_family_subhead_material=0x7f0b0012; public static final int abc_font_family_title_material=0x7f0b0013; public static final int abc_menu_alt_shortcut_label=0x7f0b0014; public static final int abc_menu_ctrl_shortcut_label=0x7f0b0015; public static final int abc_menu_delete_shortcut_label=0x7f0b0016; public static final int abc_menu_enter_shortcut_label=0x7f0b0017; public static final int abc_menu_function_shortcut_label=0x7f0b0018; public static final int abc_menu_meta_shortcut_label=0x7f0b0019; public static final int abc_menu_shift_shortcut_label=0x7f0b001a; public static final int abc_menu_space_shortcut_label=0x7f0b001b; public static final int abc_menu_sym_shortcut_label=0x7f0b001c; public static final int abc_prepend_shortcut_label=0x7f0b001d; public static final int abc_search_hint=0x7f0b001e; public static final int abc_searchview_description_clear=0x7f0b001f; public static final int abc_searchview_description_query=0x7f0b0020; public static final int abc_searchview_description_search=0x7f0b0021; public static final int abc_searchview_description_submit=0x7f0b0022; public static final int abc_searchview_description_voice=0x7f0b0023; public static final int abc_shareactionprovider_share_with=0x7f0b0024; public static final int abc_shareactionprovider_share_with_application=0x7f0b0025; public static final int abc_toolbar_collapse_description=0x7f0b0026; public static final int app_name=0x7f0b0027; public static final int search_menu_title=0x7f0b0028; public static final int status_bar_notification_info_overflow=0x7f0b0029; } public static final class style { public static final int AlertDialog_AppCompat=0x7f0c0000; public static final int AlertDialog_AppCompat_Light=0x7f0c0001; public static final int Animation_AppCompat_Dialog=0x7f0c0002; public static final int Animation_AppCompat_DropDownUp=0x7f0c0003; public static final int Animation_AppCompat_Tooltip=0x7f0c0004; public static final int AppTheme=0x7f0c0005; public static final int Base_AlertDialog_AppCompat=0x7f0c0006; public static final int Base_AlertDialog_AppCompat_Light=0x7f0c0007; public static final int Base_Animation_AppCompat_Dialog=0x7f0c0008; public static final int Base_Animation_AppCompat_DropDownUp=0x7f0c0009; public static final int Base_Animation_AppCompat_Tooltip=0x7f0c000a; public static final int Base_DialogWindowTitle_AppCompat=0x7f0c000b; public static final int Base_DialogWindowTitleBackground_AppCompat=0x7f0c000c; public static final int Base_TextAppearance_AppCompat=0x7f0c000d; public static final int Base_TextAppearance_AppCompat_Body1=0x7f0c000e; public static final int Base_TextAppearance_AppCompat_Body2=0x7f0c000f; public static final int Base_TextAppearance_AppCompat_Button=0x7f0c0010; public static final int Base_TextAppearance_AppCompat_Caption=0x7f0c0011; public static final int Base_TextAppearance_AppCompat_Display1=0x7f0c0012; public static final int Base_TextAppearance_AppCompat_Display2=0x7f0c0013; public static final int Base_TextAppearance_AppCompat_Display3=0x7f0c0014; public static final int Base_TextAppearance_AppCompat_Display4=0x7f0c0015; public static final int Base_TextAppearance_AppCompat_Headline=0x7f0c0016; public static final int Base_TextAppearance_AppCompat_Inverse=0x7f0c0017; public static final int Base_TextAppearance_AppCompat_Large=0x7f0c0018; public static final int Base_TextAppearance_AppCompat_Large_Inverse=0x7f0c0019; public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0c001a; public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0c001b; public static final int Base_TextAppearance_AppCompat_Medium=0x7f0c001c; public static final int Base_TextAppearance_AppCompat_Medium_Inverse=0x7f0c001d; public static final int Base_TextAppearance_AppCompat_Menu=0x7f0c001e; public static final int Base_TextAppearance_AppCompat_SearchResult=0x7f0c001f; public static final int Base_TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0c0020; public static final int Base_TextAppearance_AppCompat_SearchResult_Title=0x7f0c0021; public static final int Base_TextAppearance_AppCompat_Small=0x7f0c0022; public static final int Base_TextAppearance_AppCompat_Small_Inverse=0x7f0c0023; public static final int Base_TextAppearance_AppCompat_Subhead=0x7f0c0024; public static final int Base_TextAppearance_AppCompat_Subhead_Inverse=0x7f0c0025; public static final int Base_TextAppearance_AppCompat_Title=0x7f0c0026; public static final int Base_TextAppearance_AppCompat_Title_Inverse=0x7f0c0027; public static final int Base_TextAppearance_AppCompat_Tooltip=0x7f0c0028; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0c0029; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0c002a; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0c002b; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0c002c; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0c002d; public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0c002e; public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0c002f; public static final int Base_TextAppearance_AppCompat_Widget_Button=0x7f0c0030; public static final int Base_TextAppearance_AppCompat_Widget_Button_Borderless_Colored=0x7f0c0031; public static final int Base_TextAppearance_AppCompat_Widget_Button_Colored=0x7f0c0032; public static final int Base_TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0c0033; public static final int Base_TextAppearance_AppCompat_Widget_DropDownItem=0x7f0c0034; public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Header=0x7f0c0035; public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0c0036; public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0c0037; public static final int Base_TextAppearance_AppCompat_Widget_Switch=0x7f0c0038; public static final int Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0c0039; public static final int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0c003a; public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0c003b; public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0c003c; public static final int Base_Theme_AppCompat=0x7f0c003d; public static final int Base_Theme_AppCompat_CompactMenu=0x7f0c003e; public static final int Base_Theme_AppCompat_Dialog=0x7f0c003f; public static final int Base_Theme_AppCompat_Dialog_Alert=0x7f0c0040; public static final int Base_Theme_AppCompat_Dialog_FixedSize=0x7f0c0041; public static final int Base_Theme_AppCompat_Dialog_MinWidth=0x7f0c0042; public static final int Base_Theme_AppCompat_DialogWhenLarge=0x7f0c0043; public static final int Base_Theme_AppCompat_Light=0x7f0c0044; public static final int Base_Theme_AppCompat_Light_DarkActionBar=0x7f0c0045; public static final int Base_Theme_AppCompat_Light_Dialog=0x7f0c0046; public static final int Base_Theme_AppCompat_Light_Dialog_Alert=0x7f0c0047; public static final int Base_Theme_AppCompat_Light_Dialog_FixedSize=0x7f0c0048; public static final int Base_Theme_AppCompat_Light_Dialog_MinWidth=0x7f0c0049; public static final int Base_Theme_AppCompat_Light_DialogWhenLarge=0x7f0c004a; public static final int Base_ThemeOverlay_AppCompat=0x7f0c004b; public static final int Base_ThemeOverlay_AppCompat_ActionBar=0x7f0c004c; public static final int Base_ThemeOverlay_AppCompat_Dark=0x7f0c004d; public static final int Base_ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0c004e; public static final int Base_ThemeOverlay_AppCompat_Dialog=0x7f0c004f; public static final int Base_ThemeOverlay_AppCompat_Dialog_Alert=0x7f0c0050; public static final int Base_ThemeOverlay_AppCompat_Light=0x7f0c0051; public static final int Base_V21_Theme_AppCompat=0x7f0c0052; public static final int Base_V21_Theme_AppCompat_Dialog=0x7f0c0053; public static final int Base_V21_Theme_AppCompat_Light=0x7f0c0054; public static final int Base_V21_Theme_AppCompat_Light_Dialog=0x7f0c0055; public static final int Base_V21_ThemeOverlay_AppCompat_Dialog=0x7f0c0056; public static final int Base_V22_Theme_AppCompat=0x7f0c0057; public static final int Base_V22_Theme_AppCompat_Light=0x7f0c0058; public static final int Base_V23_Theme_AppCompat=0x7f0c0059; public static final int Base_V23_Theme_AppCompat_Light=0x7f0c005a; public static final int Base_V26_Theme_AppCompat=0x7f0c005b; public static final int Base_V26_Theme_AppCompat_Light=0x7f0c005c; public static final int Base_V26_Widget_AppCompat_Toolbar=0x7f0c005d; public static final int Base_V28_Theme_AppCompat=0x7f0c005e; public static final int Base_V28_Theme_AppCompat_Light=0x7f0c005f; public static final int Base_V7_Theme_AppCompat=0x7f0c0060; public static final int Base_V7_Theme_AppCompat_Dialog=0x7f0c0061; public static final int Base_V7_Theme_AppCompat_Light=0x7f0c0062; public static final int Base_V7_Theme_AppCompat_Light_Dialog=0x7f0c0063; public static final int Base_V7_ThemeOverlay_AppCompat_Dialog=0x7f0c0064; public static final int Base_V7_Widget_AppCompat_AutoCompleteTextView=0x7f0c0065; public static final int Base_V7_Widget_AppCompat_EditText=0x7f0c0066; public static final int Base_V7_Widget_AppCompat_Toolbar=0x7f0c0067; public static final int Base_Widget_AppCompat_ActionBar=0x7f0c0068; public static final int Base_Widget_AppCompat_ActionBar_Solid=0x7f0c0069; public static final int Base_Widget_AppCompat_ActionBar_TabBar=0x7f0c006a; public static final int Base_Widget_AppCompat_ActionBar_TabText=0x7f0c006b; public static final int Base_Widget_AppCompat_ActionBar_TabView=0x7f0c006c; public static final int Base_Widget_AppCompat_ActionButton=0x7f0c006d; public static final int Base_Widget_AppCompat_ActionButton_CloseMode=0x7f0c006e; public static final int Base_Widget_AppCompat_ActionButton_Overflow=0x7f0c006f; public static final int Base_Widget_AppCompat_ActionMode=0x7f0c0070; public static final int Base_Widget_AppCompat_ActivityChooserView=0x7f0c0071; public static final int Base_Widget_AppCompat_AutoCompleteTextView=0x7f0c0072; public static final int Base_Widget_AppCompat_Button=0x7f0c0073; public static final int Base_Widget_AppCompat_Button_Borderless=0x7f0c0074; public static final int Base_Widget_AppCompat_Button_Borderless_Colored=0x7f0c0075; public static final int Base_Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0c0076; public static final int Base_Widget_AppCompat_Button_Colored=0x7f0c0077; public static final int Base_Widget_AppCompat_Button_Small=0x7f0c0078; public static final int Base_Widget_AppCompat_ButtonBar=0x7f0c0079; public static final int Base_Widget_AppCompat_ButtonBar_AlertDialog=0x7f0c007a; public static final int Base_Widget_AppCompat_CompoundButton_CheckBox=0x7f0c007b; public static final int Base_Widget_AppCompat_CompoundButton_RadioButton=0x7f0c007c; public static final int Base_Widget_AppCompat_CompoundButton_Switch=0x7f0c007d; public static final int Base_Widget_AppCompat_DrawerArrowToggle=0x7f0c007e; public static final int Base_Widget_AppCompat_DrawerArrowToggle_Common=0x7f0c007f; public static final int Base_Widget_AppCompat_DropDownItem_Spinner=0x7f0c0080; public static final int Base_Widget_AppCompat_EditText=0x7f0c0081; public static final int Base_Widget_AppCompat_ImageButton=0x7f0c0082; public static final int Base_Widget_AppCompat_Light_ActionBar=0x7f0c0083; public static final int Base_Widget_AppCompat_Light_ActionBar_Solid=0x7f0c0084; public static final int Base_Widget_AppCompat_Light_ActionBar_TabBar=0x7f0c0085; public static final int Base_Widget_AppCompat_Light_ActionBar_TabText=0x7f0c0086; public static final int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0c0087; public static final int Base_Widget_AppCompat_Light_ActionBar_TabView=0x7f0c0088; public static final int Base_Widget_AppCompat_Light_PopupMenu=0x7f0c0089; public static final int Base_Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0c008a; public static final int Base_Widget_AppCompat_ListMenuView=0x7f0c008b; public static final int Base_Widget_AppCompat_ListPopupWindow=0x7f0c008c; public static final int Base_Widget_AppCompat_ListView=0x7f0c008d; public static final int Base_Widget_AppCompat_ListView_DropDown=0x7f0c008e; public static final int Base_Widget_AppCompat_ListView_Menu=0x7f0c008f; public static final int Base_Widget_AppCompat_PopupMenu=0x7f0c0090; public static final int Base_Widget_AppCompat_PopupMenu_Overflow=0x7f0c0091; public static final int Base_Widget_AppCompat_PopupWindow=0x7f0c0092; public static final int Base_Widget_AppCompat_ProgressBar=0x7f0c0093; public static final int Base_Widget_AppCompat_ProgressBar_Horizontal=0x7f0c0094; public static final int Base_Widget_AppCompat_RatingBar=0x7f0c0095; public static final int Base_Widget_AppCompat_RatingBar_Indicator=0x7f0c0096; public static final int Base_Widget_AppCompat_RatingBar_Small=0x7f0c0097; public static final int Base_Widget_AppCompat_SearchView=0x7f0c0098; public static final int Base_Widget_AppCompat_SearchView_ActionBar=0x7f0c0099; public static final int Base_Widget_AppCompat_SeekBar=0x7f0c009a; public static final int Base_Widget_AppCompat_SeekBar_Discrete=0x7f0c009b; public static final int Base_Widget_AppCompat_Spinner=0x7f0c009c; public static final int Base_Widget_AppCompat_Spinner_Underlined=0x7f0c009d; public static final int Base_Widget_AppCompat_TextView_SpinnerItem=0x7f0c009e; public static final int Base_Widget_AppCompat_Toolbar=0x7f0c009f; public static final int Base_Widget_AppCompat_Toolbar_Button_Navigation=0x7f0c00a0; public static final int Platform_AppCompat=0x7f0c00a1; public static final int Platform_AppCompat_Light=0x7f0c00a2; public static final int Platform_ThemeOverlay_AppCompat=0x7f0c00a3; public static final int Platform_ThemeOverlay_AppCompat_Dark=0x7f0c00a4; public static final int Platform_ThemeOverlay_AppCompat_Light=0x7f0c00a5; public static final int Platform_V21_AppCompat=0x7f0c00a6; public static final int Platform_V21_AppCompat_Light=0x7f0c00a7; public static final int Platform_V25_AppCompat=0x7f0c00a8; public static final int Platform_V25_AppCompat_Light=0x7f0c00a9; public static final int Platform_Widget_AppCompat_Spinner=0x7f0c00aa; public static final int RtlOverlay_DialogWindowTitle_AppCompat=0x7f0c00ab; public static final int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem=0x7f0c00ac; public static final int RtlOverlay_Widget_AppCompat_DialogTitle_Icon=0x7f0c00ad; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem=0x7f0c00ae; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup=0x7f0c00af; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Shortcut=0x7f0c00b0; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_SubmenuArrow=0x7f0c00b1; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text=0x7f0c00b2; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Title=0x7f0c00b3; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown=0x7f0c00b4; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1=0x7f0c00b5; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2=0x7f0c00b6; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Query=0x7f0c00b7; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Text=0x7f0c00b8; public static final int RtlOverlay_Widget_AppCompat_SearchView_MagIcon=0x7f0c00b9; public static final int RtlUnderlay_Widget_AppCompat_ActionButton=0x7f0c00ba; public static final int RtlUnderlay_Widget_AppCompat_ActionButton_Overflow=0x7f0c00bb; public static final int TextAppearance_AppCompat=0x7f0c00bc; public static final int TextAppearance_AppCompat_Body1=0x7f0c00bd; public static final int TextAppearance_AppCompat_Body2=0x7f0c00be; public static final int TextAppearance_AppCompat_Button=0x7f0c00bf; public static final int TextAppearance_AppCompat_Caption=0x7f0c00c0; public static final int TextAppearance_AppCompat_Display1=0x7f0c00c1; public static final int TextAppearance_AppCompat_Display2=0x7f0c00c2; public static final int TextAppearance_AppCompat_Display3=0x7f0c00c3; public static final int TextAppearance_AppCompat_Display4=0x7f0c00c4; public static final int TextAppearance_AppCompat_Headline=0x7f0c00c5; public static final int TextAppearance_AppCompat_Inverse=0x7f0c00c6; public static final int TextAppearance_AppCompat_Large=0x7f0c00c7; public static final int TextAppearance_AppCompat_Large_Inverse=0x7f0c00c8; public static final int TextAppearance_AppCompat_Light_SearchResult_Subtitle=0x7f0c00c9; public static final int TextAppearance_AppCompat_Light_SearchResult_Title=0x7f0c00ca; public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0c00cb; public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0c00cc; public static final int TextAppearance_AppCompat_Medium=0x7f0c00cd; public static final int TextAppearance_AppCompat_Medium_Inverse=0x7f0c00ce; public static final int TextAppearance_AppCompat_Menu=0x7f0c00cf; public static final int TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0c00d0; public static final int TextAppearance_AppCompat_SearchResult_Title=0x7f0c00d1; public static final int TextAppearance_AppCompat_Small=0x7f0c00d2; public static final int TextAppearance_AppCompat_Small_Inverse=0x7f0c00d3; public static final int TextAppearance_AppCompat_Subhead=0x7f0c00d4; public static final int TextAppearance_AppCompat_Subhead_Inverse=0x7f0c00d5; public static final int TextAppearance_AppCompat_Title=0x7f0c00d6; public static final int TextAppearance_AppCompat_Title_Inverse=0x7f0c00d7; public static final int TextAppearance_AppCompat_Tooltip=0x7f0c00d8; public static final int TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0c00d9; public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0c00da; public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0c00db; public static final int TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0c00dc; public static final int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0c00dd; public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0c00de; public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse=0x7f0c00df; public static final int TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0c00e0; public static final int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse=0x7f0c00e1; public static final int TextAppearance_AppCompat_Widget_Button=0x7f0c00e2; public static final int TextAppearance_AppCompat_Widget_Button_Borderless_Colored=0x7f0c00e3; public static final int TextAppearance_AppCompat_Widget_Button_Colored=0x7f0c00e4; public static final int TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0c00e5; public static final int TextAppearance_AppCompat_Widget_DropDownItem=0x7f0c00e6; public static final int TextAppearance_AppCompat_Widget_PopupMenu_Header=0x7f0c00e7; public static final int TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0c00e8; public static final int TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0c00e9; public static final int TextAppearance_AppCompat_Widget_Switch=0x7f0c00ea; public static final int TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0c00eb; public static final int TextAppearance_Compat_Notification=0x7f0c00ec; public static final int TextAppearance_Compat_Notification_Info=0x7f0c00ed; public static final int TextAppearance_Compat_Notification_Line2=0x7f0c00ee; public static final int TextAppearance_Compat_Notification_Time=0x7f0c00ef; public static final int TextAppearance_Compat_Notification_Title=0x7f0c00f0; public static final int TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0c00f1; public static final int TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0c00f2; public static final int TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0c00f3; public static final int Theme_AppCompat=0x7f0c00f4; public static final int Theme_AppCompat_CompactMenu=0x7f0c00f5; public static final int Theme_AppCompat_DayNight=0x7f0c00f6; public static final int Theme_AppCompat_DayNight_DarkActionBar=0x7f0c00f7; public static final int Theme_AppCompat_DayNight_Dialog=0x7f0c00f8; public static final int Theme_AppCompat_DayNight_Dialog_Alert=0x7f0c00f9; public static final int Theme_AppCompat_DayNight_Dialog_MinWidth=0x7f0c00fa; public static final int Theme_AppCompat_DayNight_DialogWhenLarge=0x7f0c00fb; public static final int Theme_AppCompat_DayNight_NoActionBar=0x7f0c00fc; public static final int Theme_AppCompat_Dialog=0x7f0c00fd; public static final int Theme_AppCompat_Dialog_Alert=0x7f0c00fe; public static final int Theme_AppCompat_Dialog_MinWidth=0x7f0c00ff; public static final int Theme_AppCompat_DialogWhenLarge=0x7f0c0100; public static final int Theme_AppCompat_Light=0x7f0c0101; public static final int Theme_AppCompat_Light_DarkActionBar=0x7f0c0102; public static final int Theme_AppCompat_Light_Dialog=0x7f0c0103; public static final int Theme_AppCompat_Light_Dialog_Alert=0x7f0c0104; public static final int Theme_AppCompat_Light_Dialog_MinWidth=0x7f0c0105; public static final int Theme_AppCompat_Light_DialogWhenLarge=0x7f0c0106; public static final int Theme_AppCompat_Light_NoActionBar=0x7f0c0107; public static final int Theme_AppCompat_NoActionBar=0x7f0c0108; public static final int ThemeOverlay_AppCompat=0x7f0c0109; public static final int ThemeOverlay_AppCompat_ActionBar=0x7f0c010a; public static final int ThemeOverlay_AppCompat_Dark=0x7f0c010b; public static final int ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0c010c; public static final int ThemeOverlay_AppCompat_Dialog=0x7f0c010d; public static final int ThemeOverlay_AppCompat_Dialog_Alert=0x7f0c010e; public static final int ThemeOverlay_AppCompat_Light=0x7f0c010f; public static final int Widget_AppCompat_ActionBar=0x7f0c0110; public static final int Widget_AppCompat_ActionBar_Solid=0x7f0c0111; public static final int Widget_AppCompat_ActionBar_TabBar=0x7f0c0112; public static final int Widget_AppCompat_ActionBar_TabText=0x7f0c0113; public static final int Widget_AppCompat_ActionBar_TabView=0x7f0c0114; public static final int Widget_AppCompat_ActionButton=0x7f0c0115; public static final int Widget_AppCompat_ActionButton_CloseMode=0x7f0c0116; public static final int Widget_AppCompat_ActionButton_Overflow=0x7f0c0117; public static final int Widget_AppCompat_ActionMode=0x7f0c0118; public static final int Widget_AppCompat_ActivityChooserView=0x7f0c0119; public static final int Widget_AppCompat_AutoCompleteTextView=0x7f0c011a; public static final int Widget_AppCompat_Button=0x7f0c011b; public static final int Widget_AppCompat_Button_Borderless=0x7f0c011c; public static final int Widget_AppCompat_Button_Borderless_Colored=0x7f0c011d; public static final int Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0c011e; public static final int Widget_AppCompat_Button_Colored=0x7f0c011f; public static final int Widget_AppCompat_Button_Small=0x7f0c0120; public static final int Widget_AppCompat_ButtonBar=0x7f0c0121; public static final int Widget_AppCompat_ButtonBar_AlertDialog=0x7f0c0122; public static final int Widget_AppCompat_CompoundButton_CheckBox=0x7f0c0123; public static final int Widget_AppCompat_CompoundButton_RadioButton=0x7f0c0124; public static final int Widget_AppCompat_CompoundButton_Switch=0x7f0c0125; public static final int Widget_AppCompat_DrawerArrowToggle=0x7f0c0126; public static final int Widget_AppCompat_DropDownItem_Spinner=0x7f0c0127; public static final int Widget_AppCompat_EditText=0x7f0c0128; public static final int Widget_AppCompat_ImageButton=0x7f0c0129; public static final int Widget_AppCompat_Light_ActionBar=0x7f0c012a; public static final int Widget_AppCompat_Light_ActionBar_Solid=0x7f0c012b; public static final int Widget_AppCompat_Light_ActionBar_Solid_Inverse=0x7f0c012c; public static final int Widget_AppCompat_Light_ActionBar_TabBar=0x7f0c012d; public static final int Widget_AppCompat_Light_ActionBar_TabBar_Inverse=0x7f0c012e; public static final int Widget_AppCompat_Light_ActionBar_TabText=0x7f0c012f; public static final int Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0c0130; public static final int Widget_AppCompat_Light_ActionBar_TabView=0x7f0c0131; public static final int Widget_AppCompat_Light_ActionBar_TabView_Inverse=0x7f0c0132; public static final int Widget_AppCompat_Light_ActionButton=0x7f0c0133; public static final int Widget_AppCompat_Light_ActionButton_CloseMode=0x7f0c0134; public static final int Widget_AppCompat_Light_ActionButton_Overflow=0x7f0c0135; public static final int Widget_AppCompat_Light_ActionMode_Inverse=0x7f0c0136; public static final int Widget_AppCompat_Light_ActivityChooserView=0x7f0c0137; public static final int Widget_AppCompat_Light_AutoCompleteTextView=0x7f0c0138; public static final int Widget_AppCompat_Light_DropDownItem_Spinner=0x7f0c0139; public static final int Widget_AppCompat_Light_ListPopupWindow=0x7f0c013a; public static final int Widget_AppCompat_Light_ListView_DropDown=0x7f0c013b; public static final int Widget_AppCompat_Light_PopupMenu=0x7f0c013c; public static final int Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0c013d; public static final int Widget_AppCompat_Light_SearchView=0x7f0c013e; public static final int Widget_AppCompat_Light_Spinner_DropDown_ActionBar=0x7f0c013f; public static final int Widget_AppCompat_ListMenuView=0x7f0c0140; public static final int Widget_AppCompat_ListPopupWindow=0x7f0c0141; public static final int Widget_AppCompat_ListView=0x7f0c0142; public static final int Widget_AppCompat_ListView_DropDown=0x7f0c0143; public static final int Widget_AppCompat_ListView_Menu=0x7f0c0144; public static final int Widget_AppCompat_PopupMenu=0x7f0c0145; public static final int Widget_AppCompat_PopupMenu_Overflow=0x7f0c0146; public static final int Widget_AppCompat_PopupWindow=0x7f0c0147; public static final int Widget_AppCompat_ProgressBar=0x7f0c0148; public static final int Widget_AppCompat_ProgressBar_Horizontal=0x7f0c0149; public static final int Widget_AppCompat_RatingBar=0x7f0c014a; public static final int Widget_AppCompat_RatingBar_Indicator=0x7f0c014b; public static final int Widget_AppCompat_RatingBar_Small=0x7f0c014c; public static final int Widget_AppCompat_SearchView=0x7f0c014d; public static final int Widget_AppCompat_SearchView_ActionBar=0x7f0c014e; public static final int Widget_AppCompat_SeekBar=0x7f0c014f; public static final int Widget_AppCompat_SeekBar_Discrete=0x7f0c0150; public static final int Widget_AppCompat_Spinner=0x7f0c0151; public static final int Widget_AppCompat_Spinner_DropDown=0x7f0c0152; public static final int Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f0c0153; public static final int Widget_AppCompat_Spinner_Underlined=0x7f0c0154; public static final int Widget_AppCompat_TextView_SpinnerItem=0x7f0c0155; public static final int Widget_AppCompat_Toolbar=0x7f0c0156; public static final int Widget_AppCompat_Toolbar_Button_Navigation=0x7f0c0157; public static final int Widget_Compat_NotificationActionContainer=0x7f0c0158; public static final int Widget_Compat_NotificationActionText=0x7f0c0159; public static final int Widget_Support_CoordinatorLayout=0x7f0c015a; } public static final class styleable { /** * Attributes that can be used with a ActionBar. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ActionBar_background com.example.travel.travel:background}</code></td><td>Specifies a background drawable for the action bar.</td></tr> * <tr><td><code>{@link #ActionBar_backgroundSplit com.example.travel.travel:backgroundSplit}</code></td><td>Specifies a background drawable for the bottom component of a split action bar.</td></tr> * <tr><td><code>{@link #ActionBar_backgroundStacked com.example.travel.travel:backgroundStacked}</code></td><td>Specifies a background drawable for a second stacked row of the action bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetEnd com.example.travel.travel:contentInsetEnd}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetEndWithActions com.example.travel.travel:contentInsetEndWithActions}</code></td><td>Minimum inset for content views within a bar when actions from a menu * are present.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetLeft com.example.travel.travel:contentInsetLeft}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetRight com.example.travel.travel:contentInsetRight}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetStart com.example.travel.travel:contentInsetStart}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetStartWithNavigation com.example.travel.travel:contentInsetStartWithNavigation}</code></td><td>Minimum inset for content views within a bar when a navigation button * is present, such as the Up button.</td></tr> * <tr><td><code>{@link #ActionBar_customNavigationLayout com.example.travel.travel:customNavigationLayout}</code></td><td>Specifies a layout for custom navigation.</td></tr> * <tr><td><code>{@link #ActionBar_displayOptions com.example.travel.travel:displayOptions}</code></td><td>Options affecting how the action bar is displayed.</td></tr> * <tr><td><code>{@link #ActionBar_divider com.example.travel.travel:divider}</code></td><td>Specifies the drawable used for item dividers.</td></tr> * <tr><td><code>{@link #ActionBar_elevation com.example.travel.travel:elevation}</code></td><td>Elevation for the action bar itself</td></tr> * <tr><td><code>{@link #ActionBar_height com.example.travel.travel:height}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_hideOnContentScroll com.example.travel.travel:hideOnContentScroll}</code></td><td>Set true to hide the action bar on a vertical nested scroll of content.</td></tr> * <tr><td><code>{@link #ActionBar_homeAsUpIndicator com.example.travel.travel:homeAsUpIndicator}</code></td><td>Specifies a drawable to use for the 'home as up' indicator.</td></tr> * <tr><td><code>{@link #ActionBar_homeLayout com.example.travel.travel:homeLayout}</code></td><td>Specifies a layout to use for the "home" section of the action bar.</td></tr> * <tr><td><code>{@link #ActionBar_icon com.example.travel.travel:icon}</code></td><td>Specifies the drawable used for the application icon.</td></tr> * <tr><td><code>{@link #ActionBar_indeterminateProgressStyle com.example.travel.travel:indeterminateProgressStyle}</code></td><td>Specifies a style resource to use for an indeterminate progress spinner.</td></tr> * <tr><td><code>{@link #ActionBar_itemPadding com.example.travel.travel:itemPadding}</code></td><td>Specifies padding that should be applied to the left and right sides of * system-provided items in the bar.</td></tr> * <tr><td><code>{@link #ActionBar_logo com.example.travel.travel:logo}</code></td><td>Specifies the drawable used for the application logo.</td></tr> * <tr><td><code>{@link #ActionBar_navigationMode com.example.travel.travel:navigationMode}</code></td><td>The type of navigation to use.</td></tr> * <tr><td><code>{@link #ActionBar_popupTheme com.example.travel.travel:popupTheme}</code></td><td>Reference to a theme that should be used to inflate popups * shown by widgets in the action bar.</td></tr> * <tr><td><code>{@link #ActionBar_progressBarPadding com.example.travel.travel:progressBarPadding}</code></td><td>Specifies the horizontal padding on either end for an embedded progress bar.</td></tr> * <tr><td><code>{@link #ActionBar_progressBarStyle com.example.travel.travel:progressBarStyle}</code></td><td>Specifies a style resource to use for an embedded progress bar.</td></tr> * <tr><td><code>{@link #ActionBar_subtitle com.example.travel.travel:subtitle}</code></td><td>Specifies subtitle text used for navigationMode="normal"</td></tr> * <tr><td><code>{@link #ActionBar_subtitleTextStyle com.example.travel.travel:subtitleTextStyle}</code></td><td>Specifies a style to use for subtitle text.</td></tr> * <tr><td><code>{@link #ActionBar_title com.example.travel.travel:title}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_titleTextStyle com.example.travel.travel:titleTextStyle}</code></td><td>Specifies a style to use for title text.</td></tr> * </table> * @see #ActionBar_background * @see #ActionBar_backgroundSplit * @see #ActionBar_backgroundStacked * @see #ActionBar_contentInsetEnd * @see #ActionBar_contentInsetEndWithActions * @see #ActionBar_contentInsetLeft * @see #ActionBar_contentInsetRight * @see #ActionBar_contentInsetStart * @see #ActionBar_contentInsetStartWithNavigation * @see #ActionBar_customNavigationLayout * @see #ActionBar_displayOptions * @see #ActionBar_divider * @see #ActionBar_elevation * @see #ActionBar_height * @see #ActionBar_hideOnContentScroll * @see #ActionBar_homeAsUpIndicator * @see #ActionBar_homeLayout * @see #ActionBar_icon * @see #ActionBar_indeterminateProgressStyle * @see #ActionBar_itemPadding * @see #ActionBar_logo * @see #ActionBar_navigationMode * @see #ActionBar_popupTheme * @see #ActionBar_progressBarPadding * @see #ActionBar_progressBarStyle * @see #ActionBar_subtitle * @see #ActionBar_subtitleTextStyle * @see #ActionBar_title * @see #ActionBar_titleTextStyle */ public static final int[] ActionBar={ 0x7f020031, 0x7f020032, 0x7f020033, 0x7f02005d, 0x7f02005e, 0x7f02005f, 0x7f020060, 0x7f020061, 0x7f020062, 0x7f020065, 0x7f02006a, 0x7f02006b, 0x7f020076, 0x7f020087, 0x7f020088, 0x7f020089, 0x7f02008a, 0x7f02008b, 0x7f020090, 0x7f020093, 0x7f0200db, 0x7f0200e2, 0x7f0200ed, 0x7f0200f0, 0x7f0200f1, 0x7f02010c, 0x7f02010f, 0x7f02012a, 0x7f020133 }; /** * <p> * @attr description * Specifies a background drawable for the action bar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:background */ public static final int ActionBar_background=0; /** * <p> * @attr description * Specifies a background drawable for the bottom component of a split action bar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:backgroundSplit */ public static final int ActionBar_backgroundSplit=1; /** * <p> * @attr description * Specifies a background drawable for a second stacked row of the action bar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:backgroundStacked */ public static final int ActionBar_backgroundStacked=2; /** * <p> * @attr description * Minimum inset for content views within a bar. Navigation buttons and * menu views are excepted. Only valid for some themes and configurations. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:contentInsetEnd */ public static final int ActionBar_contentInsetEnd=3; /** * <p> * @attr description * Minimum inset for content views within a bar when actions from a menu * are present. Only valid for some themes and configurations. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:contentInsetEndWithActions */ public static final int ActionBar_contentInsetEndWithActions=4; /** * <p> * @attr description * Minimum inset for content views within a bar. Navigation buttons and * menu views are excepted. Only valid for some themes and configurations. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:contentInsetLeft */ public static final int ActionBar_contentInsetLeft=5; /** * <p> * @attr description * Minimum inset for content views within a bar. Navigation buttons and * menu views are excepted. Only valid for some themes and configurations. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:contentInsetRight */ public static final int ActionBar_contentInsetRight=6; /** * <p> * @attr description * Minimum inset for content views within a bar. Navigation buttons and * menu views are excepted. Only valid for some themes and configurations. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:contentInsetStart */ public static final int ActionBar_contentInsetStart=7; /** * <p> * @attr description * Minimum inset for content views within a bar when a navigation button * is present, such as the Up button. Only valid for some themes and configurations. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:contentInsetStartWithNavigation */ public static final int ActionBar_contentInsetStartWithNavigation=8; /** * <p> * @attr description * Specifies a layout for custom navigation. Overrides navigationMode. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:customNavigationLayout */ public static final int ActionBar_customNavigationLayout=9; /** * <p> * @attr description * Options affecting how the action bar is displayed. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>disableHome</td><td>20</td><td></td></tr> * <tr><td>homeAsUp</td><td>4</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>showCustom</td><td>10</td><td></td></tr> * <tr><td>showHome</td><td>2</td><td></td></tr> * <tr><td>showTitle</td><td>8</td><td></td></tr> * <tr><td>useLogo</td><td>1</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:displayOptions */ public static final int ActionBar_displayOptions=10; /** * <p> * @attr description * Specifies the drawable used for item dividers. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:divider */ public static final int ActionBar_divider=11; /** * <p> * @attr description * Elevation for the action bar itself * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:elevation */ public static final int ActionBar_elevation=12; /** * <p> * @attr description * Specifies a fixed height. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:height */ public static final int ActionBar_height=13; /** * <p> * @attr description * Set true to hide the action bar on a vertical nested scroll of content. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:hideOnContentScroll */ public static final int ActionBar_hideOnContentScroll=14; /** * <p> * @attr description * Up navigation glyph * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:homeAsUpIndicator */ public static final int ActionBar_homeAsUpIndicator=15; /** * <p> * @attr description * Specifies a layout to use for the "home" section of the action bar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:homeLayout */ public static final int ActionBar_homeLayout=16; /** * <p> * @attr description * Specifies the drawable used for the application icon. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:icon */ public static final int ActionBar_icon=17; /** * <p> * @attr description * Specifies a style resource to use for an indeterminate progress spinner. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:indeterminateProgressStyle */ public static final int ActionBar_indeterminateProgressStyle=18; /** * <p> * @attr description * Specifies padding that should be applied to the left and right sides of * system-provided items in the bar. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:itemPadding */ public static final int ActionBar_itemPadding=19; /** * <p> * @attr description * Specifies the drawable used for the application logo. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:logo */ public static final int ActionBar_logo=20; /** * <p> * @attr description * The type of navigation to use. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>listMode</td><td>1</td><td>The action bar will use a selection list for navigation.</td></tr> * <tr><td>normal</td><td>0</td><td>Normal static title text</td></tr> * <tr><td>tabMode</td><td>2</td><td>The action bar will use a series of horizontal tabs for navigation.</td></tr> * </table> * * @attr name com.example.travel.travel:navigationMode */ public static final int ActionBar_navigationMode=21; /** * <p> * @attr description * Reference to a theme that should be used to inflate popups * shown by widgets in the action bar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:popupTheme */ public static final int ActionBar_popupTheme=22; /** * <p> * @attr description * Specifies the horizontal padding on either end for an embedded progress bar. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:progressBarPadding */ public static final int ActionBar_progressBarPadding=23; /** * <p> * @attr description * Specifies a style resource to use for an embedded progress bar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:progressBarStyle */ public static final int ActionBar_progressBarStyle=24; /** * <p> * @attr description * Specifies subtitle text used for navigationMode="normal" * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:subtitle */ public static final int ActionBar_subtitle=25; /** * <p> * @attr description * Specifies a style to use for subtitle text. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:subtitleTextStyle */ public static final int ActionBar_subtitleTextStyle=26; /** * <p> * @attr description * Specifies title text used for navigationMode="normal" * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:title */ public static final int ActionBar_title=27; /** * <p> * @attr description * Specifies a style to use for title text. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:titleTextStyle */ public static final int ActionBar_titleTextStyle=28; /** * Attributes that can be used with a ActionBarLayout. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ActionBarLayout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr> * </table> * @see #ActionBarLayout_android_layout_gravity */ public static final int[] ActionBarLayout={ 0x010100b3 }; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_gravity} * attribute's value can be found in the {@link #ActionBarLayout} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>50</td><td></td></tr> * <tr><td>center</td><td>11</td><td></td></tr> * <tr><td>center_horizontal</td><td>1</td><td></td></tr> * <tr><td>center_vertical</td><td>10</td><td></td></tr> * <tr><td>clip_horizontal</td><td>8</td><td></td></tr> * <tr><td>clip_vertical</td><td>80</td><td></td></tr> * <tr><td>end</td><td>800005</td><td></td></tr> * <tr><td>fill</td><td>77</td><td></td></tr> * <tr><td>fill_horizontal</td><td>7</td><td></td></tr> * <tr><td>fill_vertical</td><td>70</td><td></td></tr> * <tr><td>left</td><td>3</td><td></td></tr> * <tr><td>right</td><td>5</td><td></td></tr> * <tr><td>start</td><td>800003</td><td></td></tr> * <tr><td>top</td><td>30</td><td></td></tr> * </table> * * @attr name android:layout_gravity */ public static final int ActionBarLayout_android_layout_gravity=0; /** * Attributes that can be used with a ActionMenuItemView. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ActionMenuItemView_android_minWidth android:minWidth}</code></td><td></td></tr> * </table> * @see #ActionMenuItemView_android_minWidth */ public static final int[] ActionMenuItemView={ 0x0101013f }; /** * <p>This symbol is the offset where the {@link android.R.attr#minWidth} * attribute's value can be found in the {@link #ActionMenuItemView} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:minWidth */ public static final int ActionMenuItemView_android_minWidth=0; public static final int[] ActionMenuView={ }; /** * Attributes that can be used with a ActionMode. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ActionMode_background com.example.travel.travel:background}</code></td><td>Specifies a background drawable for the action bar.</td></tr> * <tr><td><code>{@link #ActionMode_backgroundSplit com.example.travel.travel:backgroundSplit}</code></td><td>Specifies a background drawable for the bottom component of a split action bar.</td></tr> * <tr><td><code>{@link #ActionMode_closeItemLayout com.example.travel.travel:closeItemLayout}</code></td><td>Specifies a layout to use for the "close" item at the starting edge.</td></tr> * <tr><td><code>{@link #ActionMode_height com.example.travel.travel:height}</code></td><td></td></tr> * <tr><td><code>{@link #ActionMode_subtitleTextStyle com.example.travel.travel:subtitleTextStyle}</code></td><td>Specifies a style to use for subtitle text.</td></tr> * <tr><td><code>{@link #ActionMode_titleTextStyle com.example.travel.travel:titleTextStyle}</code></td><td>Specifies a style to use for title text.</td></tr> * </table> * @see #ActionMode_background * @see #ActionMode_backgroundSplit * @see #ActionMode_closeItemLayout * @see #ActionMode_height * @see #ActionMode_subtitleTextStyle * @see #ActionMode_titleTextStyle */ public static final int[] ActionMode={ 0x7f020031, 0x7f020032, 0x7f02004a, 0x7f020087, 0x7f02010f, 0x7f020133 }; /** * <p> * @attr description * Specifies a background for the action mode bar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:background */ public static final int ActionMode_background=0; /** * <p> * @attr description * Specifies a background for the split action mode bar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:backgroundSplit */ public static final int ActionMode_backgroundSplit=1; /** * <p> * @attr description * Specifies a layout to use for the "close" item at the starting edge. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:closeItemLayout */ public static final int ActionMode_closeItemLayout=2; /** * <p> * @attr description * Specifies a fixed height for the action mode bar. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:height */ public static final int ActionMode_height=3; /** * <p> * @attr description * Specifies a style to use for subtitle text. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:subtitleTextStyle */ public static final int ActionMode_subtitleTextStyle=4; /** * <p> * @attr description * Specifies a style to use for title text. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:titleTextStyle */ public static final int ActionMode_titleTextStyle=5; /** * Attributes that can be used with a ActivityChooserView. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ActivityChooserView_expandActivityOverflowButtonDrawable com.example.travel.travel:expandActivityOverflowButtonDrawable}</code></td><td>The drawable to show in the button for expanding the activities overflow popup.</td></tr> * <tr><td><code>{@link #ActivityChooserView_initialActivityCount com.example.travel.travel:initialActivityCount}</code></td><td>The maximal number of items initially shown in the activity list.</td></tr> * </table> * @see #ActivityChooserView_expandActivityOverflowButtonDrawable * @see #ActivityChooserView_initialActivityCount */ public static final int[] ActivityChooserView={ 0x7f020078, 0x7f020091 }; /** * <p> * @attr description * The drawable to show in the button for expanding the activities overflow popup. * <strong>Note:</strong> Clients would like to set this drawable * as a clue about the action the chosen activity will perform. For * example, if share activity is to be chosen the drawable should * give a clue that sharing is to be performed. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:expandActivityOverflowButtonDrawable */ public static final int ActivityChooserView_expandActivityOverflowButtonDrawable=0; /** * <p> * @attr description * The maximal number of items initially shown in the activity list. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:initialActivityCount */ public static final int ActivityChooserView_initialActivityCount=1; /** * Attributes that can be used with a AlertDialog. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AlertDialog_android_layout android:layout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_buttonIconDimen com.example.travel.travel:buttonIconDimen}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_buttonPanelSideLayout com.example.travel.travel:buttonPanelSideLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_listItemLayout com.example.travel.travel:listItemLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_listLayout com.example.travel.travel:listLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_multiChoiceItemLayout com.example.travel.travel:multiChoiceItemLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_showTitle com.example.travel.travel:showTitle}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_singleChoiceItemLayout com.example.travel.travel:singleChoiceItemLayout}</code></td><td></td></tr> * </table> * @see #AlertDialog_android_layout * @see #AlertDialog_buttonIconDimen * @see #AlertDialog_buttonPanelSideLayout * @see #AlertDialog_listItemLayout * @see #AlertDialog_listLayout * @see #AlertDialog_multiChoiceItemLayout * @see #AlertDialog_showTitle * @see #AlertDialog_singleChoiceItemLayout */ public static final int[] AlertDialog={ 0x010100f2, 0x7f020040, 0x7f020041, 0x7f0200d2, 0x7f0200d3, 0x7f0200df, 0x7f020101, 0x7f020102 }; /** * <p>This symbol is the offset where the {@link android.R.attr#layout} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:layout */ public static final int AlertDialog_android_layout=0; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#buttonIconDimen} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:buttonIconDimen */ public static final int AlertDialog_buttonIconDimen=1; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#buttonPanelSideLayout} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:buttonPanelSideLayout */ public static final int AlertDialog_buttonPanelSideLayout=2; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#listItemLayout} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:listItemLayout */ public static final int AlertDialog_listItemLayout=3; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#listLayout} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:listLayout */ public static final int AlertDialog_listLayout=4; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#multiChoiceItemLayout} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:multiChoiceItemLayout */ public static final int AlertDialog_multiChoiceItemLayout=5; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#showTitle} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:showTitle */ public static final int AlertDialog_showTitle=6; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#singleChoiceItemLayout} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:singleChoiceItemLayout */ public static final int AlertDialog_singleChoiceItemLayout=7; /** * Attributes that can be used with a AnimatedStateListDrawableCompat. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AnimatedStateListDrawableCompat_android_dither android:dither}</code></td><td></td></tr> * <tr><td><code>{@link #AnimatedStateListDrawableCompat_android_visible android:visible}</code></td><td></td></tr> * <tr><td><code>{@link #AnimatedStateListDrawableCompat_android_variablePadding android:variablePadding}</code></td><td></td></tr> * <tr><td><code>{@link #AnimatedStateListDrawableCompat_android_constantSize android:constantSize}</code></td><td></td></tr> * <tr><td><code>{@link #AnimatedStateListDrawableCompat_android_enterFadeDuration android:enterFadeDuration}</code></td><td></td></tr> * <tr><td><code>{@link #AnimatedStateListDrawableCompat_android_exitFadeDuration android:exitFadeDuration}</code></td><td></td></tr> * </table> * @see #AnimatedStateListDrawableCompat_android_dither * @see #AnimatedStateListDrawableCompat_android_visible * @see #AnimatedStateListDrawableCompat_android_variablePadding * @see #AnimatedStateListDrawableCompat_android_constantSize * @see #AnimatedStateListDrawableCompat_android_enterFadeDuration * @see #AnimatedStateListDrawableCompat_android_exitFadeDuration */ public static final int[] AnimatedStateListDrawableCompat={ 0x0101011c, 0x01010194, 0x01010195, 0x01010196, 0x0101030c, 0x0101030d }; /** * <p> * @attr description * Enables or disables dithering of the bitmap if the bitmap does not have the * same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with * an RGB 565 screen). * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:dither */ public static final int AnimatedStateListDrawableCompat_android_dither=0; /** * <p> * @attr description * Indicates whether the drawable should be initially visible. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:visible */ public static final int AnimatedStateListDrawableCompat_android_visible=1; /** * <p> * @attr description * If true, allows the drawable's padding to change based on the * current state that is selected. If false, the padding will * stay the same (based on the maximum padding of all the states). * Enabling this feature requires that the owner of the drawable * deal with performing layout when the state changes, which is * often not supported. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:variablePadding */ public static final int AnimatedStateListDrawableCompat_android_variablePadding=2; /** * <p> * @attr description * If true, the drawable's reported internal size will remain * constant as the state changes; the size is the maximum of all * of the states. If false, the size will vary based on the * current state. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:constantSize */ public static final int AnimatedStateListDrawableCompat_android_constantSize=3; /** * <p> * @attr description * Amount of time (in milliseconds) to fade in a new state drawable. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name android:enterFadeDuration */ public static final int AnimatedStateListDrawableCompat_android_enterFadeDuration=4; /** * <p> * @attr description * Amount of time (in milliseconds) to fade out an old state drawable. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name android:exitFadeDuration */ public static final int AnimatedStateListDrawableCompat_android_exitFadeDuration=5; /** * Attributes that can be used with a AnimatedStateListDrawableItem. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AnimatedStateListDrawableItem_android_id android:id}</code></td><td></td></tr> * <tr><td><code>{@link #AnimatedStateListDrawableItem_android_drawable android:drawable}</code></td><td></td></tr> * </table> * @see #AnimatedStateListDrawableItem_android_id * @see #AnimatedStateListDrawableItem_android_drawable */ public static final int[] AnimatedStateListDrawableItem={ 0x010100d0, 0x01010199 }; /** * <p> * @attr description * Keyframe identifier for use in specifying transitions. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:id */ public static final int AnimatedStateListDrawableItem_android_id=0; /** * <p> * @attr description * Reference to a drawable resource to use for the frame. If not * given, the drawable must be defined by the first child tag. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:drawable */ public static final int AnimatedStateListDrawableItem_android_drawable=1; /** * Attributes that can be used with a AnimatedStateListDrawableTransition. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AnimatedStateListDrawableTransition_android_drawable android:drawable}</code></td><td></td></tr> * <tr><td><code>{@link #AnimatedStateListDrawableTransition_android_toId android:toId}</code></td><td></td></tr> * <tr><td><code>{@link #AnimatedStateListDrawableTransition_android_fromId android:fromId}</code></td><td></td></tr> * <tr><td><code>{@link #AnimatedStateListDrawableTransition_android_reversible android:reversible}</code></td><td></td></tr> * </table> * @see #AnimatedStateListDrawableTransition_android_drawable * @see #AnimatedStateListDrawableTransition_android_toId * @see #AnimatedStateListDrawableTransition_android_fromId * @see #AnimatedStateListDrawableTransition_android_reversible */ public static final int[] AnimatedStateListDrawableTransition={ 0x01010199, 0x01010449, 0x0101044a, 0x0101044b }; /** * <p> * @attr description * Reference to a animation drawable resource to use for the frame. If not * given, the animation drawable must be defined by the first child tag. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:drawable */ public static final int AnimatedStateListDrawableTransition_android_drawable=0; /** * <p> * @attr description * Keyframe identifier for the ending state. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:toId */ public static final int AnimatedStateListDrawableTransition_android_toId=1; /** * <p> * @attr description * Keyframe identifier for the starting state. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:fromId */ public static final int AnimatedStateListDrawableTransition_android_fromId=2; /** * <p> * @attr description * Whether this transition is reversible. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:reversible */ public static final int AnimatedStateListDrawableTransition_android_reversible=3; /** * Attributes that can be used with a AppCompatImageView. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AppCompatImageView_android_src android:src}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatImageView_srcCompat com.example.travel.travel:srcCompat}</code></td><td>Sets a drawable as the content of this ImageView.</td></tr> * <tr><td><code>{@link #AppCompatImageView_tint com.example.travel.travel:tint}</code></td><td>Tint to apply to the image source.</td></tr> * <tr><td><code>{@link #AppCompatImageView_tintMode com.example.travel.travel:tintMode}</code></td><td>Blending mode used to apply the image source tint.</td></tr> * </table> * @see #AppCompatImageView_android_src * @see #AppCompatImageView_srcCompat * @see #AppCompatImageView_tint * @see #AppCompatImageView_tintMode */ public static final int[] AppCompatImageView={ 0x01010119, 0x7f020107, 0x7f020128, 0x7f020129 }; /** * <p>This symbol is the offset where the {@link android.R.attr#src} * attribute's value can be found in the {@link #AppCompatImageView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:src */ public static final int AppCompatImageView_android_src=0; /** * <p> * @attr description * Sets a drawable as the content of this ImageView. Allows the use of vector drawable * when running on older versions of the platform. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:srcCompat */ public static final int AppCompatImageView_srcCompat=1; /** * <p> * @attr description * Tint to apply to the image source. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:tint */ public static final int AppCompatImageView_tint=2; /** * <p> * @attr description * Blending mode used to apply the image source tint. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and icon color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the drawable with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the drawable, but with the drawable’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the drawable. The drawable’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the drawable. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> * * @attr name com.example.travel.travel:tintMode */ public static final int AppCompatImageView_tintMode=3; /** * Attributes that can be used with a AppCompatSeekBar. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AppCompatSeekBar_android_thumb android:thumb}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatSeekBar_tickMark com.example.travel.travel:tickMark}</code></td><td>Drawable displayed at each progress position on a seekbar.</td></tr> * <tr><td><code>{@link #AppCompatSeekBar_tickMarkTint com.example.travel.travel:tickMarkTint}</code></td><td>Tint to apply to the tick mark drawable.</td></tr> * <tr><td><code>{@link #AppCompatSeekBar_tickMarkTintMode com.example.travel.travel:tickMarkTintMode}</code></td><td>Blending mode used to apply the tick mark tint.</td></tr> * </table> * @see #AppCompatSeekBar_android_thumb * @see #AppCompatSeekBar_tickMark * @see #AppCompatSeekBar_tickMarkTint * @see #AppCompatSeekBar_tickMarkTintMode */ public static final int[] AppCompatSeekBar={ 0x01010142, 0x7f020125, 0x7f020126, 0x7f020127 }; /** * <p>This symbol is the offset where the {@link android.R.attr#thumb} * attribute's value can be found in the {@link #AppCompatSeekBar} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:thumb */ public static final int AppCompatSeekBar_android_thumb=0; /** * <p> * @attr description * Drawable displayed at each progress position on a seekbar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:tickMark */ public static final int AppCompatSeekBar_tickMark=1; /** * <p> * @attr description * Tint to apply to the tick mark drawable. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:tickMarkTint */ public static final int AppCompatSeekBar_tickMarkTint=2; /** * <p> * @attr description * Blending mode used to apply the tick mark tint. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and drawable color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the drawable with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the drawable, but with the drawable’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the drawable. The drawable’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the drawable. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> * * @attr name com.example.travel.travel:tickMarkTintMode */ public static final int AppCompatSeekBar_tickMarkTintMode=3; /** * Attributes that can be used with a AppCompatTextHelper. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AppCompatTextHelper_android_textAppearance android:textAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTextHelper_android_drawableTop android:drawableTop}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTextHelper_android_drawableBottom android:drawableBottom}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTextHelper_android_drawableLeft android:drawableLeft}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTextHelper_android_drawableRight android:drawableRight}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTextHelper_android_drawableStart android:drawableStart}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTextHelper_android_drawableEnd android:drawableEnd}</code></td><td></td></tr> * </table> * @see #AppCompatTextHelper_android_textAppearance * @see #AppCompatTextHelper_android_drawableTop * @see #AppCompatTextHelper_android_drawableBottom * @see #AppCompatTextHelper_android_drawableLeft * @see #AppCompatTextHelper_android_drawableRight * @see #AppCompatTextHelper_android_drawableStart * @see #AppCompatTextHelper_android_drawableEnd */ public static final int[] AppCompatTextHelper={ 0x01010034, 0x0101016d, 0x0101016e, 0x0101016f, 0x01010170, 0x01010392, 0x01010393 }; /** * <p>This symbol is the offset where the {@link android.R.attr#textAppearance} * attribute's value can be found in the {@link #AppCompatTextHelper} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:textAppearance */ public static final int AppCompatTextHelper_android_textAppearance=0; /** * <p>This symbol is the offset where the {@link android.R.attr#drawableTop} * attribute's value can be found in the {@link #AppCompatTextHelper} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:drawableTop */ public static final int AppCompatTextHelper_android_drawableTop=1; /** * <p>This symbol is the offset where the {@link android.R.attr#drawableBottom} * attribute's value can be found in the {@link #AppCompatTextHelper} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:drawableBottom */ public static final int AppCompatTextHelper_android_drawableBottom=2; /** * <p>This symbol is the offset where the {@link android.R.attr#drawableLeft} * attribute's value can be found in the {@link #AppCompatTextHelper} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:drawableLeft */ public static final int AppCompatTextHelper_android_drawableLeft=3; /** * <p>This symbol is the offset where the {@link android.R.attr#drawableRight} * attribute's value can be found in the {@link #AppCompatTextHelper} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:drawableRight */ public static final int AppCompatTextHelper_android_drawableRight=4; /** * <p>This symbol is the offset where the {@link android.R.attr#drawableStart} * attribute's value can be found in the {@link #AppCompatTextHelper} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:drawableStart */ public static final int AppCompatTextHelper_android_drawableStart=5; /** * <p>This symbol is the offset where the {@link android.R.attr#drawableEnd} * attribute's value can be found in the {@link #AppCompatTextHelper} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:drawableEnd */ public static final int AppCompatTextHelper_android_drawableEnd=6; /** * Attributes that can be used with a AppCompatTextView. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AppCompatTextView_android_textAppearance android:textAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTextView_autoSizeMaxTextSize com.example.travel.travel:autoSizeMaxTextSize}</code></td><td>The maximum text size constraint to be used when auto-sizing text.</td></tr> * <tr><td><code>{@link #AppCompatTextView_autoSizeMinTextSize com.example.travel.travel:autoSizeMinTextSize}</code></td><td>The minimum text size constraint to be used when auto-sizing text.</td></tr> * <tr><td><code>{@link #AppCompatTextView_autoSizePresetSizes com.example.travel.travel:autoSizePresetSizes}</code></td><td>Resource array of dimensions to be used in conjunction with * <code>autoSizeTextType</code> set to <code>uniform</code>.</td></tr> * <tr><td><code>{@link #AppCompatTextView_autoSizeStepGranularity com.example.travel.travel:autoSizeStepGranularity}</code></td><td>Specify the auto-size step size if <code>autoSizeTextType</code> is set to * <code>uniform</code>.</td></tr> * <tr><td><code>{@link #AppCompatTextView_autoSizeTextType com.example.travel.travel:autoSizeTextType}</code></td><td>Specify the type of auto-size.</td></tr> * <tr><td><code>{@link #AppCompatTextView_firstBaselineToTopHeight com.example.travel.travel:firstBaselineToTopHeight}</code></td><td>Distance from the top of the TextView to the first text baseline.</td></tr> * <tr><td><code>{@link #AppCompatTextView_fontFamily com.example.travel.travel:fontFamily}</code></td><td>The attribute for the font family.</td></tr> * <tr><td><code>{@link #AppCompatTextView_lastBaselineToBottomHeight com.example.travel.travel:lastBaselineToBottomHeight}</code></td><td>Distance from the bottom of the TextView to the last text baseline.</td></tr> * <tr><td><code>{@link #AppCompatTextView_lineHeight com.example.travel.travel:lineHeight}</code></td><td>Explicit height between lines of text.</td></tr> * <tr><td><code>{@link #AppCompatTextView_textAllCaps com.example.travel.travel:textAllCaps}</code></td><td>Present the text in ALL CAPS.</td></tr> * </table> * @see #AppCompatTextView_android_textAppearance * @see #AppCompatTextView_autoSizeMaxTextSize * @see #AppCompatTextView_autoSizeMinTextSize * @see #AppCompatTextView_autoSizePresetSizes * @see #AppCompatTextView_autoSizeStepGranularity * @see #AppCompatTextView_autoSizeTextType * @see #AppCompatTextView_firstBaselineToTopHeight * @see #AppCompatTextView_fontFamily * @see #AppCompatTextView_lastBaselineToBottomHeight * @see #AppCompatTextView_lineHeight * @see #AppCompatTextView_textAllCaps */ public static final int[] AppCompatTextView={ 0x01010034, 0x7f02002c, 0x7f02002d, 0x7f02002e, 0x7f02002f, 0x7f020030, 0x7f020079, 0x7f02007b, 0x7f020095, 0x7f0200cf, 0x7f020115 }; /** * <p>This symbol is the offset where the {@link android.R.attr#textAppearance} * attribute's value can be found in the {@link #AppCompatTextView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:textAppearance */ public static final int AppCompatTextView_android_textAppearance=0; /** * <p> * @attr description * The maximum text size constraint to be used when auto-sizing text. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:autoSizeMaxTextSize */ public static final int AppCompatTextView_autoSizeMaxTextSize=1; /** * <p> * @attr description * The minimum text size constraint to be used when auto-sizing text. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:autoSizeMinTextSize */ public static final int AppCompatTextView_autoSizeMinTextSize=2; /** * <p> * @attr description * Resource array of dimensions to be used in conjunction with * <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides * <code>autoSizeStepGranularity</code> if set. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:autoSizePresetSizes */ public static final int AppCompatTextView_autoSizePresetSizes=3; /** * <p> * @attr description * Specify the auto-size step size if <code>autoSizeTextType</code> is set to * <code>uniform</code>. The default is 1px. Overwrites * <code>autoSizePresetSizes</code> if set. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:autoSizeStepGranularity */ public static final int AppCompatTextView_autoSizeStepGranularity=4; /** * <p> * @attr description * Specify the type of auto-size. Note that this feature is not supported by EditText, * works only for TextView. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>none</td><td>0</td><td>No auto-sizing (default).</td></tr> * <tr><td>uniform</td><td>1</td><td>Uniform horizontal and vertical text size scaling to fit within the * container.</td></tr> * </table> * * @attr name com.example.travel.travel:autoSizeTextType */ public static final int AppCompatTextView_autoSizeTextType=5; /** * <p> * @attr description * Distance from the top of the TextView to the first text baseline. If set, this * overrides the value set for paddingTop. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:firstBaselineToTopHeight */ public static final int AppCompatTextView_firstBaselineToTopHeight=6; /** * <p> * @attr description * The attribute for the font family. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:fontFamily */ public static final int AppCompatTextView_fontFamily=7; /** * <p> * @attr description * Distance from the bottom of the TextView to the last text baseline. If set, this * overrides the value set for paddingBottom. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:lastBaselineToBottomHeight */ public static final int AppCompatTextView_lastBaselineToBottomHeight=8; /** * <p> * @attr description * Explicit height between lines of text. If set, this will override the values set * for lineSpacingExtra and lineSpacingMultiplier. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:lineHeight */ public static final int AppCompatTextView_lineHeight=9; /** * <p> * @attr description * Present the text in ALL CAPS. This may use a small-caps form when available. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:textAllCaps */ public static final int AppCompatTextView_textAllCaps=10; /** * Attributes that can be used with a AppCompatTheme. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AppCompatTheme_android_windowIsFloating android:windowIsFloating}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarDivider com.example.travel.travel:actionBarDivider}</code></td><td>Custom divider drawable to use for elements in the action bar.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarItemBackground com.example.travel.travel:actionBarItemBackground}</code></td><td>Custom item state list drawable background for action bar items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarPopupTheme com.example.travel.travel:actionBarPopupTheme}</code></td><td>Reference to a theme that should be used to inflate popups * shown by widgets in the action bar.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarSize com.example.travel.travel:actionBarSize}</code></td><td>Size of the Action Bar, including the contextual * bar used to present Action Modes.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarSplitStyle com.example.travel.travel:actionBarSplitStyle}</code></td><td>Reference to a style for the split Action Bar.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarStyle com.example.travel.travel:actionBarStyle}</code></td><td>Reference to a style for the Action Bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTabBarStyle com.example.travel.travel:actionBarTabBarStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTabStyle com.example.travel.travel:actionBarTabStyle}</code></td><td>Default style for tabs within an action bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTabTextStyle com.example.travel.travel:actionBarTabTextStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTheme com.example.travel.travel:actionBarTheme}</code></td><td>Reference to a theme that should be used to inflate the * action bar.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarWidgetTheme com.example.travel.travel:actionBarWidgetTheme}</code></td><td>Reference to a theme that should be used to inflate widgets * and layouts destined for the action bar.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionButtonStyle com.example.travel.travel:actionButtonStyle}</code></td><td>Default action button style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionDropDownStyle com.example.travel.travel:actionDropDownStyle}</code></td><td>Default ActionBar dropdown style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionMenuTextAppearance com.example.travel.travel:actionMenuTextAppearance}</code></td><td>TextAppearance style that will be applied to text that * appears within action menu items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionMenuTextColor com.example.travel.travel:actionMenuTextColor}</code></td><td>Color for text that appears within action menu items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeBackground com.example.travel.travel:actionModeBackground}</code></td><td>Background drawable to use for action mode UI</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCloseButtonStyle com.example.travel.travel:actionModeCloseButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCloseDrawable com.example.travel.travel:actionModeCloseDrawable}</code></td><td>Drawable to use for the close action mode button</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCopyDrawable com.example.travel.travel:actionModeCopyDrawable}</code></td><td>Drawable to use for the Copy action button in Contextual Action Bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCutDrawable com.example.travel.travel:actionModeCutDrawable}</code></td><td>Drawable to use for the Cut action button in Contextual Action Bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeFindDrawable com.example.travel.travel:actionModeFindDrawable}</code></td><td>Drawable to use for the Find action button in WebView selection action modes</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModePasteDrawable com.example.travel.travel:actionModePasteDrawable}</code></td><td>Drawable to use for the Paste action button in Contextual Action Bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModePopupWindowStyle com.example.travel.travel:actionModePopupWindowStyle}</code></td><td>PopupWindow style to use for action modes when showing as a window overlay.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeSelectAllDrawable com.example.travel.travel:actionModeSelectAllDrawable}</code></td><td>Drawable to use for the Select all action button in Contextual Action Bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeShareDrawable com.example.travel.travel:actionModeShareDrawable}</code></td><td>Drawable to use for the Share action button in WebView selection action modes</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeSplitBackground com.example.travel.travel:actionModeSplitBackground}</code></td><td>Background drawable to use for action mode UI in the lower split bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeStyle com.example.travel.travel:actionModeStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeWebSearchDrawable com.example.travel.travel:actionModeWebSearchDrawable}</code></td><td>Drawable to use for the Web Search action button in WebView selection action modes</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionOverflowButtonStyle com.example.travel.travel:actionOverflowButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionOverflowMenuStyle com.example.travel.travel:actionOverflowMenuStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_activityChooserViewStyle com.example.travel.travel:activityChooserViewStyle}</code></td><td>Default ActivityChooserView style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogButtonGroupStyle com.example.travel.travel:alertDialogButtonGroupStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogCenterButtons com.example.travel.travel:alertDialogCenterButtons}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogStyle com.example.travel.travel:alertDialogStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogTheme com.example.travel.travel:alertDialogTheme}</code></td><td>Theme to use for alert dialogs spawned from this theme.</td></tr> * <tr><td><code>{@link #AppCompatTheme_autoCompleteTextViewStyle com.example.travel.travel:autoCompleteTextViewStyle}</code></td><td>Default AutoCompleteTextView style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_borderlessButtonStyle com.example.travel.travel:borderlessButtonStyle}</code></td><td>Style for buttons without an explicit border, often used in groups.</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarButtonStyle com.example.travel.travel:buttonBarButtonStyle}</code></td><td>Style for buttons within button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarNegativeButtonStyle com.example.travel.travel:buttonBarNegativeButtonStyle}</code></td><td>Style for the "negative" buttons within button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarNeutralButtonStyle com.example.travel.travel:buttonBarNeutralButtonStyle}</code></td><td>Style for the "neutral" buttons within button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarPositiveButtonStyle com.example.travel.travel:buttonBarPositiveButtonStyle}</code></td><td>Style for the "positive" buttons within button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarStyle com.example.travel.travel:buttonBarStyle}</code></td><td>Style for button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonStyle com.example.travel.travel:buttonStyle}</code></td><td>Normal Button style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonStyleSmall com.example.travel.travel:buttonStyleSmall}</code></td><td>Small Button style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_checkboxStyle com.example.travel.travel:checkboxStyle}</code></td><td>Default Checkbox style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_checkedTextViewStyle com.example.travel.travel:checkedTextViewStyle}</code></td><td>Default CheckedTextView style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorAccent com.example.travel.travel:colorAccent}</code></td><td>Bright complement to the primary branding color.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorBackgroundFloating com.example.travel.travel:colorBackgroundFloating}</code></td><td>Default color of background imagery for floating components, ex.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorButtonNormal com.example.travel.travel:colorButtonNormal}</code></td><td>The color applied to framework buttons in their normal state.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorControlActivated com.example.travel.travel:colorControlActivated}</code></td><td>The color applied to framework controls in their activated (ex.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorControlHighlight com.example.travel.travel:colorControlHighlight}</code></td><td>The color applied to framework control highlights (ex.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorControlNormal com.example.travel.travel:colorControlNormal}</code></td><td>The color applied to framework controls in their normal state.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorError com.example.travel.travel:colorError}</code></td><td>Color used for error states and things that need to be drawn to * the user's attention.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorPrimary com.example.travel.travel:colorPrimary}</code></td><td>The primary branding color for the app.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorPrimaryDark com.example.travel.travel:colorPrimaryDark}</code></td><td>Dark variant of the primary branding color.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorSwitchThumbNormal com.example.travel.travel:colorSwitchThumbNormal}</code></td><td>The color applied to framework switch thumbs in their normal state.</td></tr> * <tr><td><code>{@link #AppCompatTheme_controlBackground com.example.travel.travel:controlBackground}</code></td><td>The background used by framework controls.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dialogCornerRadius com.example.travel.travel:dialogCornerRadius}</code></td><td>Preferred corner radius of dialogs.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dialogPreferredPadding com.example.travel.travel:dialogPreferredPadding}</code></td><td>Preferred padding for dialog content.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dialogTheme com.example.travel.travel:dialogTheme}</code></td><td>Theme to use for dialogs spawned from this theme.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dividerHorizontal com.example.travel.travel:dividerHorizontal}</code></td><td>A drawable that may be used as a horizontal divider between visual elements.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dividerVertical com.example.travel.travel:dividerVertical}</code></td><td>A drawable that may be used as a vertical divider between visual elements.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dropDownListViewStyle com.example.travel.travel:dropDownListViewStyle}</code></td><td>ListPopupWindow compatibility</td></tr> * <tr><td><code>{@link #AppCompatTheme_dropdownListPreferredItemHeight com.example.travel.travel:dropdownListPreferredItemHeight}</code></td><td>The preferred item height for dropdown lists.</td></tr> * <tr><td><code>{@link #AppCompatTheme_editTextBackground com.example.travel.travel:editTextBackground}</code></td><td>EditText background drawable.</td></tr> * <tr><td><code>{@link #AppCompatTheme_editTextColor com.example.travel.travel:editTextColor}</code></td><td>EditText text foreground color.</td></tr> * <tr><td><code>{@link #AppCompatTheme_editTextStyle com.example.travel.travel:editTextStyle}</code></td><td>Default EditText style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_homeAsUpIndicator com.example.travel.travel:homeAsUpIndicator}</code></td><td>Specifies a drawable to use for the 'home as up' indicator.</td></tr> * <tr><td><code>{@link #AppCompatTheme_imageButtonStyle com.example.travel.travel:imageButtonStyle}</code></td><td>ImageButton background drawable.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listChoiceBackgroundIndicator com.example.travel.travel:listChoiceBackgroundIndicator}</code></td><td>Drawable used as a background for selected list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listDividerAlertDialog com.example.travel.travel:listDividerAlertDialog}</code></td><td>The list divider used in alert dialogs.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listMenuViewStyle com.example.travel.travel:listMenuViewStyle}</code></td><td>Default menu-style ListView style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPopupWindowStyle com.example.travel.travel:listPopupWindowStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemHeight com.example.travel.travel:listPreferredItemHeight}</code></td><td>The preferred list item height.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightLarge com.example.travel.travel:listPreferredItemHeightLarge}</code></td><td>A larger, more robust list item height.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightSmall com.example.travel.travel:listPreferredItemHeightSmall}</code></td><td>A smaller, sleeker list item height.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingLeft com.example.travel.travel:listPreferredItemPaddingLeft}</code></td><td>The preferred padding along the left edge of list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingRight com.example.travel.travel:listPreferredItemPaddingRight}</code></td><td>The preferred padding along the right edge of list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_panelBackground com.example.travel.travel:panelBackground}</code></td><td>The background of a panel when it is inset from the left and right edges of the screen.</td></tr> * <tr><td><code>{@link #AppCompatTheme_panelMenuListTheme com.example.travel.travel:panelMenuListTheme}</code></td><td>Default Panel Menu style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_panelMenuListWidth com.example.travel.travel:panelMenuListWidth}</code></td><td>Default Panel Menu width.</td></tr> * <tr><td><code>{@link #AppCompatTheme_popupMenuStyle com.example.travel.travel:popupMenuStyle}</code></td><td>Default PopupMenu style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_popupWindowStyle com.example.travel.travel:popupWindowStyle}</code></td><td>Default PopupWindow style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_radioButtonStyle com.example.travel.travel:radioButtonStyle}</code></td><td>Default RadioButton style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_ratingBarStyle com.example.travel.travel:ratingBarStyle}</code></td><td>Default RatingBar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_ratingBarStyleIndicator com.example.travel.travel:ratingBarStyleIndicator}</code></td><td>Indicator RatingBar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_ratingBarStyleSmall com.example.travel.travel:ratingBarStyleSmall}</code></td><td>Small indicator RatingBar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_searchViewStyle com.example.travel.travel:searchViewStyle}</code></td><td>Style for the search query widget.</td></tr> * <tr><td><code>{@link #AppCompatTheme_seekBarStyle com.example.travel.travel:seekBarStyle}</code></td><td>Default SeekBar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_selectableItemBackground com.example.travel.travel:selectableItemBackground}</code></td><td>A style that may be applied to buttons or other selectable items * that should react to pressed and focus states, but that do not * have a clear visual border along the edges.</td></tr> * <tr><td><code>{@link #AppCompatTheme_selectableItemBackgroundBorderless com.example.travel.travel:selectableItemBackgroundBorderless}</code></td><td>Background drawable for borderless standalone items that need focus/pressed states.</td></tr> * <tr><td><code>{@link #AppCompatTheme_spinnerDropDownItemStyle com.example.travel.travel:spinnerDropDownItemStyle}</code></td><td>Default Spinner style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_spinnerStyle com.example.travel.travel:spinnerStyle}</code></td><td>Default Spinner style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_switchStyle com.example.travel.travel:switchStyle}</code></td><td>Default style for the Switch widget.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceLargePopupMenu com.example.travel.travel:textAppearanceLargePopupMenu}</code></td><td>Text color, typeface, size, and style for the text inside of a popup menu.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceListItem com.example.travel.travel:textAppearanceListItem}</code></td><td>The preferred TextAppearance for the primary text of list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceListItemSecondary com.example.travel.travel:textAppearanceListItemSecondary}</code></td><td>The preferred TextAppearance for the secondary text of list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceListItemSmall com.example.travel.travel:textAppearanceListItemSmall}</code></td><td>The preferred TextAppearance for the primary text of small list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearancePopupMenuHeader com.example.travel.travel:textAppearancePopupMenuHeader}</code></td><td>Text color, typeface, size, and style for header text inside of a popup menu.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultSubtitle com.example.travel.travel:textAppearanceSearchResultSubtitle}</code></td><td>Text color, typeface, size, and style for system search result subtitle.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultTitle com.example.travel.travel:textAppearanceSearchResultTitle}</code></td><td>Text color, typeface, size, and style for system search result title.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceSmallPopupMenu com.example.travel.travel:textAppearanceSmallPopupMenu}</code></td><td>Text color, typeface, size, and style for small text inside of a popup menu.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textColorAlertDialogListItem com.example.travel.travel:textColorAlertDialogListItem}</code></td><td>Color of list item text in alert dialogs.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textColorSearchUrl com.example.travel.travel:textColorSearchUrl}</code></td><td>Text color for urls in search suggestions, used by things like global search</td></tr> * <tr><td><code>{@link #AppCompatTheme_toolbarNavigationButtonStyle com.example.travel.travel:toolbarNavigationButtonStyle}</code></td><td>Default Toolar NavigationButtonStyle</td></tr> * <tr><td><code>{@link #AppCompatTheme_toolbarStyle com.example.travel.travel:toolbarStyle}</code></td><td>Default Toolbar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_tooltipForegroundColor com.example.travel.travel:tooltipForegroundColor}</code></td><td>Foreground color to use for tooltips</td></tr> * <tr><td><code>{@link #AppCompatTheme_tooltipFrameBackground com.example.travel.travel:tooltipFrameBackground}</code></td><td>Background to use for tooltips</td></tr> * <tr><td><code>{@link #AppCompatTheme_viewInflaterClass com.example.travel.travel:viewInflaterClass}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowActionBar com.example.travel.travel:windowActionBar}</code></td><td>Flag indicating whether this window should have an Action Bar * in place of the usual title bar.</td></tr> * <tr><td><code>{@link #AppCompatTheme_windowActionBarOverlay com.example.travel.travel:windowActionBarOverlay}</code></td><td>Flag indicating whether this window's Action Bar should overlay * application content.</td></tr> * <tr><td><code>{@link #AppCompatTheme_windowActionModeOverlay com.example.travel.travel:windowActionModeOverlay}</code></td><td>Flag indicating whether action modes should overlay window content * when there is not reserved space for their UI (such as an Action Bar).</td></tr> * <tr><td><code>{@link #AppCompatTheme_windowFixedHeightMajor com.example.travel.travel:windowFixedHeightMajor}</code></td><td>A fixed height for the window along the major axis of the screen, * that is, when in portrait.</td></tr> * <tr><td><code>{@link #AppCompatTheme_windowFixedHeightMinor com.example.travel.travel:windowFixedHeightMinor}</code></td><td>A fixed height for the window along the minor axis of the screen, * that is, when in landscape.</td></tr> * <tr><td><code>{@link #AppCompatTheme_windowFixedWidthMajor com.example.travel.travel:windowFixedWidthMajor}</code></td><td>A fixed width for the window along the major axis of the screen, * that is, when in landscape.</td></tr> * <tr><td><code>{@link #AppCompatTheme_windowFixedWidthMinor com.example.travel.travel:windowFixedWidthMinor}</code></td><td>A fixed width for the window along the minor axis of the screen, * that is, when in portrait.</td></tr> * <tr><td><code>{@link #AppCompatTheme_windowMinWidthMajor com.example.travel.travel:windowMinWidthMajor}</code></td><td>The minimum width the window is allowed to be, along the major * axis of the screen.</td></tr> * <tr><td><code>{@link #AppCompatTheme_windowMinWidthMinor com.example.travel.travel:windowMinWidthMinor}</code></td><td>The minimum width the window is allowed to be, along the minor * axis of the screen.</td></tr> * <tr><td><code>{@link #AppCompatTheme_windowNoTitle com.example.travel.travel:windowNoTitle}</code></td><td>Flag indicating whether there should be no title on this window.</td></tr> * </table> * @see #AppCompatTheme_android_windowIsFloating * @see #AppCompatTheme_android_windowAnimationStyle * @see #AppCompatTheme_actionBarDivider * @see #AppCompatTheme_actionBarItemBackground * @see #AppCompatTheme_actionBarPopupTheme * @see #AppCompatTheme_actionBarSize * @see #AppCompatTheme_actionBarSplitStyle * @see #AppCompatTheme_actionBarStyle * @see #AppCompatTheme_actionBarTabBarStyle * @see #AppCompatTheme_actionBarTabStyle * @see #AppCompatTheme_actionBarTabTextStyle * @see #AppCompatTheme_actionBarTheme * @see #AppCompatTheme_actionBarWidgetTheme * @see #AppCompatTheme_actionButtonStyle * @see #AppCompatTheme_actionDropDownStyle * @see #AppCompatTheme_actionMenuTextAppearance * @see #AppCompatTheme_actionMenuTextColor * @see #AppCompatTheme_actionModeBackground * @see #AppCompatTheme_actionModeCloseButtonStyle * @see #AppCompatTheme_actionModeCloseDrawable * @see #AppCompatTheme_actionModeCopyDrawable * @see #AppCompatTheme_actionModeCutDrawable * @see #AppCompatTheme_actionModeFindDrawable * @see #AppCompatTheme_actionModePasteDrawable * @see #AppCompatTheme_actionModePopupWindowStyle * @see #AppCompatTheme_actionModeSelectAllDrawable * @see #AppCompatTheme_actionModeShareDrawable * @see #AppCompatTheme_actionModeSplitBackground * @see #AppCompatTheme_actionModeStyle * @see #AppCompatTheme_actionModeWebSearchDrawable * @see #AppCompatTheme_actionOverflowButtonStyle * @see #AppCompatTheme_actionOverflowMenuStyle * @see #AppCompatTheme_activityChooserViewStyle * @see #AppCompatTheme_alertDialogButtonGroupStyle * @see #AppCompatTheme_alertDialogCenterButtons * @see #AppCompatTheme_alertDialogStyle * @see #AppCompatTheme_alertDialogTheme * @see #AppCompatTheme_autoCompleteTextViewStyle * @see #AppCompatTheme_borderlessButtonStyle * @see #AppCompatTheme_buttonBarButtonStyle * @see #AppCompatTheme_buttonBarNegativeButtonStyle * @see #AppCompatTheme_buttonBarNeutralButtonStyle * @see #AppCompatTheme_buttonBarPositiveButtonStyle * @see #AppCompatTheme_buttonBarStyle * @see #AppCompatTheme_buttonStyle * @see #AppCompatTheme_buttonStyleSmall * @see #AppCompatTheme_checkboxStyle * @see #AppCompatTheme_checkedTextViewStyle * @see #AppCompatTheme_colorAccent * @see #AppCompatTheme_colorBackgroundFloating * @see #AppCompatTheme_colorButtonNormal * @see #AppCompatTheme_colorControlActivated * @see #AppCompatTheme_colorControlHighlight * @see #AppCompatTheme_colorControlNormal * @see #AppCompatTheme_colorError * @see #AppCompatTheme_colorPrimary * @see #AppCompatTheme_colorPrimaryDark * @see #AppCompatTheme_colorSwitchThumbNormal * @see #AppCompatTheme_controlBackground * @see #AppCompatTheme_dialogCornerRadius * @see #AppCompatTheme_dialogPreferredPadding * @see #AppCompatTheme_dialogTheme * @see #AppCompatTheme_dividerHorizontal * @see #AppCompatTheme_dividerVertical * @see #AppCompatTheme_dropDownListViewStyle * @see #AppCompatTheme_dropdownListPreferredItemHeight * @see #AppCompatTheme_editTextBackground * @see #AppCompatTheme_editTextColor * @see #AppCompatTheme_editTextStyle * @see #AppCompatTheme_homeAsUpIndicator * @see #AppCompatTheme_imageButtonStyle * @see #AppCompatTheme_listChoiceBackgroundIndicator * @see #AppCompatTheme_listDividerAlertDialog * @see #AppCompatTheme_listMenuViewStyle * @see #AppCompatTheme_listPopupWindowStyle * @see #AppCompatTheme_listPreferredItemHeight * @see #AppCompatTheme_listPreferredItemHeightLarge * @see #AppCompatTheme_listPreferredItemHeightSmall * @see #AppCompatTheme_listPreferredItemPaddingLeft * @see #AppCompatTheme_listPreferredItemPaddingRight * @see #AppCompatTheme_panelBackground * @see #AppCompatTheme_panelMenuListTheme * @see #AppCompatTheme_panelMenuListWidth * @see #AppCompatTheme_popupMenuStyle * @see #AppCompatTheme_popupWindowStyle * @see #AppCompatTheme_radioButtonStyle * @see #AppCompatTheme_ratingBarStyle * @see #AppCompatTheme_ratingBarStyleIndicator * @see #AppCompatTheme_ratingBarStyleSmall * @see #AppCompatTheme_searchViewStyle * @see #AppCompatTheme_seekBarStyle * @see #AppCompatTheme_selectableItemBackground * @see #AppCompatTheme_selectableItemBackgroundBorderless * @see #AppCompatTheme_spinnerDropDownItemStyle * @see #AppCompatTheme_spinnerStyle * @see #AppCompatTheme_switchStyle * @see #AppCompatTheme_textAppearanceLargePopupMenu * @see #AppCompatTheme_textAppearanceListItem * @see #AppCompatTheme_textAppearanceListItemSecondary * @see #AppCompatTheme_textAppearanceListItemSmall * @see #AppCompatTheme_textAppearancePopupMenuHeader * @see #AppCompatTheme_textAppearanceSearchResultSubtitle * @see #AppCompatTheme_textAppearanceSearchResultTitle * @see #AppCompatTheme_textAppearanceSmallPopupMenu * @see #AppCompatTheme_textColorAlertDialogListItem * @see #AppCompatTheme_textColorSearchUrl * @see #AppCompatTheme_toolbarNavigationButtonStyle * @see #AppCompatTheme_toolbarStyle * @see #AppCompatTheme_tooltipForegroundColor * @see #AppCompatTheme_tooltipFrameBackground * @see #AppCompatTheme_viewInflaterClass * @see #AppCompatTheme_windowActionBar * @see #AppCompatTheme_windowActionBarOverlay * @see #AppCompatTheme_windowActionModeOverlay * @see #AppCompatTheme_windowFixedHeightMajor * @see #AppCompatTheme_windowFixedHeightMinor * @see #AppCompatTheme_windowFixedWidthMajor * @see #AppCompatTheme_windowFixedWidthMinor * @see #AppCompatTheme_windowMinWidthMajor * @see #AppCompatTheme_windowMinWidthMinor * @see #AppCompatTheme_windowNoTitle */ public static final int[] AppCompatTheme={ 0x01010057, 0x010100ae, 0x7f020000, 0x7f020001, 0x7f020002, 0x7f020003, 0x7f020004, 0x7f020005, 0x7f020006, 0x7f020007, 0x7f020008, 0x7f020009, 0x7f02000a, 0x7f02000b, 0x7f02000c, 0x7f02000e, 0x7f02000f, 0x7f020010, 0x7f020011, 0x7f020012, 0x7f020013, 0x7f020014, 0x7f020015, 0x7f020016, 0x7f020017, 0x7f020018, 0x7f020019, 0x7f02001a, 0x7f02001b, 0x7f02001c, 0x7f02001d, 0x7f02001e, 0x7f020021, 0x7f020022, 0x7f020023, 0x7f020024, 0x7f020025, 0x7f02002b, 0x7f020039, 0x7f02003a, 0x7f02003b, 0x7f02003c, 0x7f02003d, 0x7f02003e, 0x7f020042, 0x7f020043, 0x7f020047, 0x7f020048, 0x7f02004e, 0x7f02004f, 0x7f020050, 0x7f020051, 0x7f020052, 0x7f020053, 0x7f020054, 0x7f020055, 0x7f020056, 0x7f020057, 0x7f020063, 0x7f020067, 0x7f020068, 0x7f020069, 0x7f02006c, 0x7f02006e, 0x7f020071, 0x7f020072, 0x7f020073, 0x7f020074, 0x7f020075, 0x7f020089, 0x7f02008f, 0x7f0200d0, 0x7f0200d1, 0x7f0200d4, 0x7f0200d5, 0x7f0200d6, 0x7f0200d7, 0x7f0200d8, 0x7f0200d9, 0x7f0200da, 0x7f0200e9, 0x7f0200ea, 0x7f0200eb, 0x7f0200ec, 0x7f0200ee, 0x7f0200f4, 0x7f0200f5, 0x7f0200f6, 0x7f0200f7, 0x7f0200fa, 0x7f0200fb, 0x7f0200fc, 0x7f0200fd, 0x7f020104, 0x7f020105, 0x7f020113, 0x7f020116, 0x7f020117, 0x7f020118, 0x7f020119, 0x7f02011a, 0x7f02011b, 0x7f02011c, 0x7f02011d, 0x7f02011e, 0x7f02011f, 0x7f020134, 0x7f020135, 0x7f020136, 0x7f020137, 0x7f02013d, 0x7f02013f, 0x7f020140, 0x7f020141, 0x7f020142, 0x7f020143, 0x7f020144, 0x7f020145, 0x7f020146, 0x7f020147, 0x7f020148 }; /** * <p>This symbol is the offset where the {@link android.R.attr#windowIsFloating} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:windowIsFloating */ public static final int AppCompatTheme_android_windowIsFloating=0; /** * <p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:windowAnimationStyle */ public static final int AppCompatTheme_android_windowAnimationStyle=1; /** * <p> * @attr description * Custom divider drawable to use for elements in the action bar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionBarDivider */ public static final int AppCompatTheme_actionBarDivider=2; /** * <p> * @attr description * Custom item state list drawable background for action bar items. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionBarItemBackground */ public static final int AppCompatTheme_actionBarItemBackground=3; /** * <p> * @attr description * Reference to a theme that should be used to inflate popups * shown by widgets in the action bar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionBarPopupTheme */ public static final int AppCompatTheme_actionBarPopupTheme=4; /** * <p> * @attr description * Size of the Action Bar, including the contextual * bar used to present Action Modes. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap_content</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:actionBarSize */ public static final int AppCompatTheme_actionBarSize=5; /** * <p> * @attr description * Reference to a style for the split Action Bar. This style * controls the split component that holds the menu/action * buttons. actionBarStyle is still used for the primary * bar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionBarSplitStyle */ public static final int AppCompatTheme_actionBarSplitStyle=6; /** * <p> * @attr description * Reference to a style for the Action Bar * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionBarStyle */ public static final int AppCompatTheme_actionBarStyle=7; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#actionBarTabBarStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionBarTabBarStyle */ public static final int AppCompatTheme_actionBarTabBarStyle=8; /** * <p> * @attr description * Default style for tabs within an action bar * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionBarTabStyle */ public static final int AppCompatTheme_actionBarTabStyle=9; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#actionBarTabTextStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionBarTabTextStyle */ public static final int AppCompatTheme_actionBarTabTextStyle=10; /** * <p> * @attr description * Reference to a theme that should be used to inflate the * action bar. This will be inherited by any widget inflated * into the action bar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionBarTheme */ public static final int AppCompatTheme_actionBarTheme=11; /** * <p> * @attr description * Reference to a theme that should be used to inflate widgets * and layouts destined for the action bar. Most of the time * this will be a reference to the current theme, but when * the action bar has a significantly different contrast * profile than the rest of the activity the difference * can become important. If this is set to @null the current * theme will be used. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionBarWidgetTheme */ public static final int AppCompatTheme_actionBarWidgetTheme=12; /** * <p> * @attr description * Default action button style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionButtonStyle */ public static final int AppCompatTheme_actionButtonStyle=13; /** * <p> * @attr description * Default ActionBar dropdown style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionDropDownStyle */ public static final int AppCompatTheme_actionDropDownStyle=14; /** * <p> * @attr description * TextAppearance style that will be applied to text that * appears within action menu items. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionMenuTextAppearance */ public static final int AppCompatTheme_actionMenuTextAppearance=15; /** * <p> * @attr description * Color for text that appears within action menu items. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:actionMenuTextColor */ public static final int AppCompatTheme_actionMenuTextColor=16; /** * <p> * @attr description * Background drawable to use for action mode UI * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModeBackground */ public static final int AppCompatTheme_actionModeBackground=17; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#actionModeCloseButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModeCloseButtonStyle */ public static final int AppCompatTheme_actionModeCloseButtonStyle=18; /** * <p> * @attr description * Drawable to use for the close action mode button * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModeCloseDrawable */ public static final int AppCompatTheme_actionModeCloseDrawable=19; /** * <p> * @attr description * Drawable to use for the Copy action button in Contextual Action Bar * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModeCopyDrawable */ public static final int AppCompatTheme_actionModeCopyDrawable=20; /** * <p> * @attr description * Drawable to use for the Cut action button in Contextual Action Bar * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModeCutDrawable */ public static final int AppCompatTheme_actionModeCutDrawable=21; /** * <p> * @attr description * Drawable to use for the Find action button in WebView selection action modes * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModeFindDrawable */ public static final int AppCompatTheme_actionModeFindDrawable=22; /** * <p> * @attr description * Drawable to use for the Paste action button in Contextual Action Bar * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModePasteDrawable */ public static final int AppCompatTheme_actionModePasteDrawable=23; /** * <p> * @attr description * PopupWindow style to use for action modes when showing as a window overlay. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModePopupWindowStyle */ public static final int AppCompatTheme_actionModePopupWindowStyle=24; /** * <p> * @attr description * Drawable to use for the Select all action button in Contextual Action Bar * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModeSelectAllDrawable */ public static final int AppCompatTheme_actionModeSelectAllDrawable=25; /** * <p> * @attr description * Drawable to use for the Share action button in WebView selection action modes * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModeShareDrawable */ public static final int AppCompatTheme_actionModeShareDrawable=26; /** * <p> * @attr description * Background drawable to use for action mode UI in the lower split bar * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModeSplitBackground */ public static final int AppCompatTheme_actionModeSplitBackground=27; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#actionModeStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModeStyle */ public static final int AppCompatTheme_actionModeStyle=28; /** * <p> * @attr description * Drawable to use for the Web Search action button in WebView selection action modes * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionModeWebSearchDrawable */ public static final int AppCompatTheme_actionModeWebSearchDrawable=29; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#actionOverflowButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionOverflowButtonStyle */ public static final int AppCompatTheme_actionOverflowButtonStyle=30; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#actionOverflowMenuStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionOverflowMenuStyle */ public static final int AppCompatTheme_actionOverflowMenuStyle=31; /** * <p> * @attr description * Default ActivityChooserView style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:activityChooserViewStyle */ public static final int AppCompatTheme_activityChooserViewStyle=32; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#alertDialogButtonGroupStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:alertDialogButtonGroupStyle */ public static final int AppCompatTheme_alertDialogButtonGroupStyle=33; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#alertDialogCenterButtons} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:alertDialogCenterButtons */ public static final int AppCompatTheme_alertDialogCenterButtons=34; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#alertDialogStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:alertDialogStyle */ public static final int AppCompatTheme_alertDialogStyle=35; /** * <p> * @attr description * Theme to use for alert dialogs spawned from this theme. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:alertDialogTheme */ public static final int AppCompatTheme_alertDialogTheme=36; /** * <p> * @attr description * Default AutoCompleteTextView style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:autoCompleteTextViewStyle */ public static final int AppCompatTheme_autoCompleteTextViewStyle=37; /** * <p> * @attr description * Style for buttons without an explicit border, often used in groups. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:borderlessButtonStyle */ public static final int AppCompatTheme_borderlessButtonStyle=38; /** * <p> * @attr description * Style for buttons within button bars * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:buttonBarButtonStyle */ public static final int AppCompatTheme_buttonBarButtonStyle=39; /** * <p> * @attr description * Style for the "negative" buttons within button bars * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:buttonBarNegativeButtonStyle */ public static final int AppCompatTheme_buttonBarNegativeButtonStyle=40; /** * <p> * @attr description * Style for the "neutral" buttons within button bars * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:buttonBarNeutralButtonStyle */ public static final int AppCompatTheme_buttonBarNeutralButtonStyle=41; /** * <p> * @attr description * Style for the "positive" buttons within button bars * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:buttonBarPositiveButtonStyle */ public static final int AppCompatTheme_buttonBarPositiveButtonStyle=42; /** * <p> * @attr description * Style for button bars * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:buttonBarStyle */ public static final int AppCompatTheme_buttonBarStyle=43; /** * <p> * @attr description * Normal Button style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:buttonStyle */ public static final int AppCompatTheme_buttonStyle=44; /** * <p> * @attr description * Small Button style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:buttonStyleSmall */ public static final int AppCompatTheme_buttonStyleSmall=45; /** * <p> * @attr description * Default Checkbox style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:checkboxStyle */ public static final int AppCompatTheme_checkboxStyle=46; /** * <p> * @attr description * Default CheckedTextView style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:checkedTextViewStyle */ public static final int AppCompatTheme_checkedTextViewStyle=47; /** * <p> * @attr description * Bright complement to the primary branding color. By default, this is the color applied * to framework controls (via colorControlActivated). * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:colorAccent */ public static final int AppCompatTheme_colorAccent=48; /** * <p> * @attr description * Default color of background imagery for floating components, ex. dialogs, popups, and cards. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:colorBackgroundFloating */ public static final int AppCompatTheme_colorBackgroundFloating=49; /** * <p> * @attr description * The color applied to framework buttons in their normal state. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:colorButtonNormal */ public static final int AppCompatTheme_colorButtonNormal=50; /** * <p> * @attr description * The color applied to framework controls in their activated (ex. checked) state. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:colorControlActivated */ public static final int AppCompatTheme_colorControlActivated=51; /** * <p> * @attr description * The color applied to framework control highlights (ex. ripples, list selectors). * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:colorControlHighlight */ public static final int AppCompatTheme_colorControlHighlight=52; /** * <p> * @attr description * The color applied to framework controls in their normal state. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:colorControlNormal */ public static final int AppCompatTheme_colorControlNormal=53; /** * <p> * @attr description * Color used for error states and things that need to be drawn to * the user's attention. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:colorError */ public static final int AppCompatTheme_colorError=54; /** * <p> * @attr description * The primary branding color for the app. By default, this is the color applied to the * action bar background. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:colorPrimary */ public static final int AppCompatTheme_colorPrimary=55; /** * <p> * @attr description * Dark variant of the primary branding color. By default, this is the color applied to * the status bar (via statusBarColor) and navigation bar (via navigationBarColor). * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:colorPrimaryDark */ public static final int AppCompatTheme_colorPrimaryDark=56; /** * <p> * @attr description * The color applied to framework switch thumbs in their normal state. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:colorSwitchThumbNormal */ public static final int AppCompatTheme_colorSwitchThumbNormal=57; /** * <p> * @attr description * The background used by framework controls. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:controlBackground */ public static final int AppCompatTheme_controlBackground=58; /** * <p> * @attr description * Preferred corner radius of dialogs. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:dialogCornerRadius */ public static final int AppCompatTheme_dialogCornerRadius=59; /** * <p> * @attr description * Preferred padding for dialog content. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:dialogPreferredPadding */ public static final int AppCompatTheme_dialogPreferredPadding=60; /** * <p> * @attr description * Theme to use for dialogs spawned from this theme. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:dialogTheme */ public static final int AppCompatTheme_dialogTheme=61; /** * <p> * @attr description * A drawable that may be used as a horizontal divider between visual elements. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:dividerHorizontal */ public static final int AppCompatTheme_dividerHorizontal=62; /** * <p> * @attr description * A drawable that may be used as a vertical divider between visual elements. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:dividerVertical */ public static final int AppCompatTheme_dividerVertical=63; /** * <p> * @attr description * ListPopupWindow compatibility * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:dropDownListViewStyle */ public static final int AppCompatTheme_dropDownListViewStyle=64; /** * <p> * @attr description * The preferred item height for dropdown lists. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:dropdownListPreferredItemHeight */ public static final int AppCompatTheme_dropdownListPreferredItemHeight=65; /** * <p> * @attr description * EditText background drawable. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:editTextBackground */ public static final int AppCompatTheme_editTextBackground=66; /** * <p> * @attr description * EditText text foreground color. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:editTextColor */ public static final int AppCompatTheme_editTextColor=67; /** * <p> * @attr description * Default EditText style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:editTextStyle */ public static final int AppCompatTheme_editTextStyle=68; /** * <p> * @attr description * Specifies a drawable to use for the 'home as up' indicator. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:homeAsUpIndicator */ public static final int AppCompatTheme_homeAsUpIndicator=69; /** * <p> * @attr description * ImageButton background drawable. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:imageButtonStyle */ public static final int AppCompatTheme_imageButtonStyle=70; /** * <p> * @attr description * Drawable used as a background for selected list items. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:listChoiceBackgroundIndicator */ public static final int AppCompatTheme_listChoiceBackgroundIndicator=71; /** * <p> * @attr description * The list divider used in alert dialogs. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:listDividerAlertDialog */ public static final int AppCompatTheme_listDividerAlertDialog=72; /** * <p> * @attr description * Default menu-style ListView style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:listMenuViewStyle */ public static final int AppCompatTheme_listMenuViewStyle=73; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#listPopupWindowStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:listPopupWindowStyle */ public static final int AppCompatTheme_listPopupWindowStyle=74; /** * <p> * @attr description * The preferred list item height. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:listPreferredItemHeight */ public static final int AppCompatTheme_listPreferredItemHeight=75; /** * <p> * @attr description * A larger, more robust list item height. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:listPreferredItemHeightLarge */ public static final int AppCompatTheme_listPreferredItemHeightLarge=76; /** * <p> * @attr description * A smaller, sleeker list item height. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:listPreferredItemHeightSmall */ public static final int AppCompatTheme_listPreferredItemHeightSmall=77; /** * <p> * @attr description * The preferred padding along the left edge of list items. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:listPreferredItemPaddingLeft */ public static final int AppCompatTheme_listPreferredItemPaddingLeft=78; /** * <p> * @attr description * The preferred padding along the right edge of list items. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:listPreferredItemPaddingRight */ public static final int AppCompatTheme_listPreferredItemPaddingRight=79; /** * <p> * @attr description * The background of a panel when it is inset from the left and right edges of the screen. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:panelBackground */ public static final int AppCompatTheme_panelBackground=80; /** * <p> * @attr description * Default Panel Menu style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:panelMenuListTheme */ public static final int AppCompatTheme_panelMenuListTheme=81; /** * <p> * @attr description * Default Panel Menu width. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:panelMenuListWidth */ public static final int AppCompatTheme_panelMenuListWidth=82; /** * <p> * @attr description * Default PopupMenu style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:popupMenuStyle */ public static final int AppCompatTheme_popupMenuStyle=83; /** * <p> * @attr description * Default PopupWindow style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:popupWindowStyle */ public static final int AppCompatTheme_popupWindowStyle=84; /** * <p> * @attr description * Default RadioButton style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:radioButtonStyle */ public static final int AppCompatTheme_radioButtonStyle=85; /** * <p> * @attr description * Default RatingBar style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:ratingBarStyle */ public static final int AppCompatTheme_ratingBarStyle=86; /** * <p> * @attr description * Indicator RatingBar style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:ratingBarStyleIndicator */ public static final int AppCompatTheme_ratingBarStyleIndicator=87; /** * <p> * @attr description * Small indicator RatingBar style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:ratingBarStyleSmall */ public static final int AppCompatTheme_ratingBarStyleSmall=88; /** * <p> * @attr description * Style for the search query widget. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:searchViewStyle */ public static final int AppCompatTheme_searchViewStyle=89; /** * <p> * @attr description * Default SeekBar style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:seekBarStyle */ public static final int AppCompatTheme_seekBarStyle=90; /** * <p> * @attr description * A style that may be applied to buttons or other selectable items * that should react to pressed and focus states, but that do not * have a clear visual border along the edges. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:selectableItemBackground */ public static final int AppCompatTheme_selectableItemBackground=91; /** * <p> * @attr description * Background drawable for borderless standalone items that need focus/pressed states. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:selectableItemBackgroundBorderless */ public static final int AppCompatTheme_selectableItemBackgroundBorderless=92; /** * <p> * @attr description * Default Spinner style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:spinnerDropDownItemStyle */ public static final int AppCompatTheme_spinnerDropDownItemStyle=93; /** * <p> * @attr description * Default Spinner style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:spinnerStyle */ public static final int AppCompatTheme_spinnerStyle=94; /** * <p> * @attr description * Default style for the Switch widget. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:switchStyle */ public static final int AppCompatTheme_switchStyle=95; /** * <p> * @attr description * Text color, typeface, size, and style for the text inside of a popup menu. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:textAppearanceLargePopupMenu */ public static final int AppCompatTheme_textAppearanceLargePopupMenu=96; /** * <p> * @attr description * The preferred TextAppearance for the primary text of list items. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:textAppearanceListItem */ public static final int AppCompatTheme_textAppearanceListItem=97; /** * <p> * @attr description * The preferred TextAppearance for the secondary text of list items. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:textAppearanceListItemSecondary */ public static final int AppCompatTheme_textAppearanceListItemSecondary=98; /** * <p> * @attr description * The preferred TextAppearance for the primary text of small list items. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:textAppearanceListItemSmall */ public static final int AppCompatTheme_textAppearanceListItemSmall=99; /** * <p> * @attr description * Text color, typeface, size, and style for header text inside of a popup menu. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:textAppearancePopupMenuHeader */ public static final int AppCompatTheme_textAppearancePopupMenuHeader=100; /** * <p> * @attr description * Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:textAppearanceSearchResultSubtitle */ public static final int AppCompatTheme_textAppearanceSearchResultSubtitle=101; /** * <p> * @attr description * Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:textAppearanceSearchResultTitle */ public static final int AppCompatTheme_textAppearanceSearchResultTitle=102; /** * <p> * @attr description * Text color, typeface, size, and style for small text inside of a popup menu. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:textAppearanceSmallPopupMenu */ public static final int AppCompatTheme_textAppearanceSmallPopupMenu=103; /** * <p> * @attr description * Color of list item text in alert dialogs. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:textColorAlertDialogListItem */ public static final int AppCompatTheme_textColorAlertDialogListItem=104; /** * <p> * @attr description * Text color for urls in search suggestions, used by things like global search * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:textColorSearchUrl */ public static final int AppCompatTheme_textColorSearchUrl=105; /** * <p> * @attr description * Default Toolar NavigationButtonStyle * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:toolbarNavigationButtonStyle */ public static final int AppCompatTheme_toolbarNavigationButtonStyle=106; /** * <p> * @attr description * Default Toolbar style. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:toolbarStyle */ public static final int AppCompatTheme_toolbarStyle=107; /** * <p> * @attr description * Foreground color to use for tooltips * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:tooltipForegroundColor */ public static final int AppCompatTheme_tooltipForegroundColor=108; /** * <p> * @attr description * Background to use for tooltips * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:tooltipFrameBackground */ public static final int AppCompatTheme_tooltipFrameBackground=109; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#viewInflaterClass} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:viewInflaterClass */ public static final int AppCompatTheme_viewInflaterClass=110; /** * <p> * @attr description * Flag indicating whether this window should have an Action Bar * in place of the usual title bar. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:windowActionBar */ public static final int AppCompatTheme_windowActionBar=111; /** * <p> * @attr description * Flag indicating whether this window's Action Bar should overlay * application content. Does nothing if the window would not * have an Action Bar. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:windowActionBarOverlay */ public static final int AppCompatTheme_windowActionBarOverlay=112; /** * <p> * @attr description * Flag indicating whether action modes should overlay window content * when there is not reserved space for their UI (such as an Action Bar). * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:windowActionModeOverlay */ public static final int AppCompatTheme_windowActionModeOverlay=113; /** * <p> * @attr description * A fixed height for the window along the major axis of the screen, * that is, when in portrait. Can be either an absolute dimension * or a fraction of the screen size in that dimension. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name com.example.travel.travel:windowFixedHeightMajor */ public static final int AppCompatTheme_windowFixedHeightMajor=114; /** * <p> * @attr description * A fixed height for the window along the minor axis of the screen, * that is, when in landscape. Can be either an absolute dimension * or a fraction of the screen size in that dimension. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name com.example.travel.travel:windowFixedHeightMinor */ public static final int AppCompatTheme_windowFixedHeightMinor=115; /** * <p> * @attr description * A fixed width for the window along the major axis of the screen, * that is, when in landscape. Can be either an absolute dimension * or a fraction of the screen size in that dimension. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name com.example.travel.travel:windowFixedWidthMajor */ public static final int AppCompatTheme_windowFixedWidthMajor=116; /** * <p> * @attr description * A fixed width for the window along the minor axis of the screen, * that is, when in portrait. Can be either an absolute dimension * or a fraction of the screen size in that dimension. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name com.example.travel.travel:windowFixedWidthMinor */ public static final int AppCompatTheme_windowFixedWidthMinor=117; /** * <p> * @attr description * The minimum width the window is allowed to be, along the major * axis of the screen. That is, when in landscape. Can be either * an absolute dimension or a fraction of the screen size in that * dimension. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name com.example.travel.travel:windowMinWidthMajor */ public static final int AppCompatTheme_windowMinWidthMajor=118; /** * <p> * @attr description * The minimum width the window is allowed to be, along the minor * axis of the screen. That is, when in portrait. Can be either * an absolute dimension or a fraction of the screen size in that * dimension. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name com.example.travel.travel:windowMinWidthMinor */ public static final int AppCompatTheme_windowMinWidthMinor=119; /** * <p> * @attr description * Flag indicating whether there should be no title on this window. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:windowNoTitle */ public static final int AppCompatTheme_windowNoTitle=120; /** * Attributes that can be used with a ButtonBarLayout. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ButtonBarLayout_allowStacking com.example.travel.travel:allowStacking}</code></td><td>Whether to automatically stack the buttons when there is not * enough space to lay them out side-by-side.</td></tr> * </table> * @see #ButtonBarLayout_allowStacking */ public static final int[] ButtonBarLayout={ 0x7f020026 }; /** * <p> * @attr description * Whether to automatically stack the buttons when there is not * enough space to lay them out side-by-side. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:allowStacking */ public static final int ButtonBarLayout_allowStacking=0; /** * Attributes that can be used with a ColorStateListItem. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ColorStateListItem_android_color android:color}</code></td><td></td></tr> * <tr><td><code>{@link #ColorStateListItem_android_alpha android:alpha}</code></td><td></td></tr> * <tr><td><code>{@link #ColorStateListItem_alpha com.example.travel.travel:alpha}</code></td><td>Alpha multiplier applied to the base color.</td></tr> * </table> * @see #ColorStateListItem_android_color * @see #ColorStateListItem_android_alpha * @see #ColorStateListItem_alpha */ public static final int[] ColorStateListItem={ 0x010101a5, 0x0101031f, 0x7f020027 }; /** * <p> * @attr description * Base color for this state. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:color */ public static final int ColorStateListItem_android_color=0; /** * <p>This symbol is the offset where the {@link android.R.attr#alpha} * attribute's value can be found in the {@link #ColorStateListItem} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:alpha */ public static final int ColorStateListItem_android_alpha=1; /** * <p> * @attr description * Alpha multiplier applied to the base color. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:alpha */ public static final int ColorStateListItem_alpha=2; /** * Attributes that can be used with a CompoundButton. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #CompoundButton_android_button android:button}</code></td><td></td></tr> * <tr><td><code>{@link #CompoundButton_buttonTint com.example.travel.travel:buttonTint}</code></td><td>Tint to apply to the button drawable.</td></tr> * <tr><td><code>{@link #CompoundButton_buttonTintMode com.example.travel.travel:buttonTintMode}</code></td><td>Blending mode used to apply the button tint.</td></tr> * </table> * @see #CompoundButton_android_button * @see #CompoundButton_buttonTint * @see #CompoundButton_buttonTintMode */ public static final int[] CompoundButton={ 0x01010107, 0x7f020044, 0x7f020045 }; /** * <p>This symbol is the offset where the {@link android.R.attr#button} * attribute's value can be found in the {@link #CompoundButton} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:button */ public static final int CompoundButton_android_button=0; /** * <p> * @attr description * Tint to apply to the button drawable. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:buttonTint */ public static final int CompoundButton_buttonTint=1; /** * <p> * @attr description * Blending mode used to apply the button tint. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and icon color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the drawable with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the drawable, but with the drawable’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the drawable. The drawable’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the drawable. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> * * @attr name com.example.travel.travel:buttonTintMode */ public static final int CompoundButton_buttonTintMode=2; /** * Attributes that can be used with a ConstraintLayout_Layout. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_android_orientation android:orientation}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_android_maxWidth android:maxWidth}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_android_maxHeight android:maxHeight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_android_minWidth android:minWidth}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_android_minHeight android:minHeight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_barrierAllowsGoneWidgets com.example.travel.travel:barrierAllowsGoneWidgets}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_barrierDirection com.example.travel.travel:barrierDirection}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_chainUseRtl com.example.travel.travel:chainUseRtl}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_constraintSet com.example.travel.travel:constraintSet}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_constraint_referenced_ids com.example.travel.travel:constraint_referenced_ids}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constrainedHeight com.example.travel.travel:layout_constrainedHeight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constrainedWidth com.example.travel.travel:layout_constrainedWidth}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintBaseline_creator com.example.travel.travel:layout_constraintBaseline_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintBaseline_toBaselineOf com.example.travel.travel:layout_constraintBaseline_toBaselineOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintBottom_creator com.example.travel.travel:layout_constraintBottom_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintBottom_toBottomOf com.example.travel.travel:layout_constraintBottom_toBottomOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintBottom_toTopOf com.example.travel.travel:layout_constraintBottom_toTopOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintCircle com.example.travel.travel:layout_constraintCircle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintCircleAngle com.example.travel.travel:layout_constraintCircleAngle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintCircleRadius com.example.travel.travel:layout_constraintCircleRadius}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintDimensionRatio com.example.travel.travel:layout_constraintDimensionRatio}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintEnd_toEndOf com.example.travel.travel:layout_constraintEnd_toEndOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintEnd_toStartOf com.example.travel.travel:layout_constraintEnd_toStartOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintGuide_begin com.example.travel.travel:layout_constraintGuide_begin}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintGuide_end com.example.travel.travel:layout_constraintGuide_end}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintGuide_percent com.example.travel.travel:layout_constraintGuide_percent}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHeight_default com.example.travel.travel:layout_constraintHeight_default}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHeight_max com.example.travel.travel:layout_constraintHeight_max}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHeight_min com.example.travel.travel:layout_constraintHeight_min}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHeight_percent com.example.travel.travel:layout_constraintHeight_percent}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHorizontal_bias com.example.travel.travel:layout_constraintHorizontal_bias}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHorizontal_chainStyle com.example.travel.travel:layout_constraintHorizontal_chainStyle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHorizontal_weight com.example.travel.travel:layout_constraintHorizontal_weight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintLeft_creator com.example.travel.travel:layout_constraintLeft_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintLeft_toLeftOf com.example.travel.travel:layout_constraintLeft_toLeftOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintLeft_toRightOf com.example.travel.travel:layout_constraintLeft_toRightOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintRight_creator com.example.travel.travel:layout_constraintRight_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintRight_toLeftOf com.example.travel.travel:layout_constraintRight_toLeftOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintRight_toRightOf com.example.travel.travel:layout_constraintRight_toRightOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintStart_toEndOf com.example.travel.travel:layout_constraintStart_toEndOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintStart_toStartOf com.example.travel.travel:layout_constraintStart_toStartOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintTop_creator com.example.travel.travel:layout_constraintTop_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintTop_toBottomOf com.example.travel.travel:layout_constraintTop_toBottomOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintTop_toTopOf com.example.travel.travel:layout_constraintTop_toTopOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintVertical_bias com.example.travel.travel:layout_constraintVertical_bias}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintVertical_chainStyle com.example.travel.travel:layout_constraintVertical_chainStyle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintVertical_weight com.example.travel.travel:layout_constraintVertical_weight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintWidth_default com.example.travel.travel:layout_constraintWidth_default}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintWidth_max com.example.travel.travel:layout_constraintWidth_max}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintWidth_min com.example.travel.travel:layout_constraintWidth_min}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintWidth_percent com.example.travel.travel:layout_constraintWidth_percent}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_editor_absoluteX com.example.travel.travel:layout_editor_absoluteX}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_editor_absoluteY com.example.travel.travel:layout_editor_absoluteY}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_goneMarginBottom com.example.travel.travel:layout_goneMarginBottom}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_goneMarginEnd com.example.travel.travel:layout_goneMarginEnd}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_goneMarginLeft com.example.travel.travel:layout_goneMarginLeft}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_goneMarginRight com.example.travel.travel:layout_goneMarginRight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_goneMarginStart com.example.travel.travel:layout_goneMarginStart}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_goneMarginTop com.example.travel.travel:layout_goneMarginTop}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_optimizationLevel com.example.travel.travel:layout_optimizationLevel}</code></td><td></td></tr> * </table> * @see #ConstraintLayout_Layout_android_orientation * @see #ConstraintLayout_Layout_android_maxWidth * @see #ConstraintLayout_Layout_android_maxHeight * @see #ConstraintLayout_Layout_android_minWidth * @see #ConstraintLayout_Layout_android_minHeight * @see #ConstraintLayout_Layout_barrierAllowsGoneWidgets * @see #ConstraintLayout_Layout_barrierDirection * @see #ConstraintLayout_Layout_chainUseRtl * @see #ConstraintLayout_Layout_constraintSet * @see #ConstraintLayout_Layout_constraint_referenced_ids * @see #ConstraintLayout_Layout_layout_constrainedHeight * @see #ConstraintLayout_Layout_layout_constrainedWidth * @see #ConstraintLayout_Layout_layout_constraintBaseline_creator * @see #ConstraintLayout_Layout_layout_constraintBaseline_toBaselineOf * @see #ConstraintLayout_Layout_layout_constraintBottom_creator * @see #ConstraintLayout_Layout_layout_constraintBottom_toBottomOf * @see #ConstraintLayout_Layout_layout_constraintBottom_toTopOf * @see #ConstraintLayout_Layout_layout_constraintCircle * @see #ConstraintLayout_Layout_layout_constraintCircleAngle * @see #ConstraintLayout_Layout_layout_constraintCircleRadius * @see #ConstraintLayout_Layout_layout_constraintDimensionRatio * @see #ConstraintLayout_Layout_layout_constraintEnd_toEndOf * @see #ConstraintLayout_Layout_layout_constraintEnd_toStartOf * @see #ConstraintLayout_Layout_layout_constraintGuide_begin * @see #ConstraintLayout_Layout_layout_constraintGuide_end * @see #ConstraintLayout_Layout_layout_constraintGuide_percent * @see #ConstraintLayout_Layout_layout_constraintHeight_default * @see #ConstraintLayout_Layout_layout_constraintHeight_max * @see #ConstraintLayout_Layout_layout_constraintHeight_min * @see #ConstraintLayout_Layout_layout_constraintHeight_percent * @see #ConstraintLayout_Layout_layout_constraintHorizontal_bias * @see #ConstraintLayout_Layout_layout_constraintHorizontal_chainStyle * @see #ConstraintLayout_Layout_layout_constraintHorizontal_weight * @see #ConstraintLayout_Layout_layout_constraintLeft_creator * @see #ConstraintLayout_Layout_layout_constraintLeft_toLeftOf * @see #ConstraintLayout_Layout_layout_constraintLeft_toRightOf * @see #ConstraintLayout_Layout_layout_constraintRight_creator * @see #ConstraintLayout_Layout_layout_constraintRight_toLeftOf * @see #ConstraintLayout_Layout_layout_constraintRight_toRightOf * @see #ConstraintLayout_Layout_layout_constraintStart_toEndOf * @see #ConstraintLayout_Layout_layout_constraintStart_toStartOf * @see #ConstraintLayout_Layout_layout_constraintTop_creator * @see #ConstraintLayout_Layout_layout_constraintTop_toBottomOf * @see #ConstraintLayout_Layout_layout_constraintTop_toTopOf * @see #ConstraintLayout_Layout_layout_constraintVertical_bias * @see #ConstraintLayout_Layout_layout_constraintVertical_chainStyle * @see #ConstraintLayout_Layout_layout_constraintVertical_weight * @see #ConstraintLayout_Layout_layout_constraintWidth_default * @see #ConstraintLayout_Layout_layout_constraintWidth_max * @see #ConstraintLayout_Layout_layout_constraintWidth_min * @see #ConstraintLayout_Layout_layout_constraintWidth_percent * @see #ConstraintLayout_Layout_layout_editor_absoluteX * @see #ConstraintLayout_Layout_layout_editor_absoluteY * @see #ConstraintLayout_Layout_layout_goneMarginBottom * @see #ConstraintLayout_Layout_layout_goneMarginEnd * @see #ConstraintLayout_Layout_layout_goneMarginLeft * @see #ConstraintLayout_Layout_layout_goneMarginRight * @see #ConstraintLayout_Layout_layout_goneMarginStart * @see #ConstraintLayout_Layout_layout_goneMarginTop * @see #ConstraintLayout_Layout_layout_optimizationLevel */ public static final int[] ConstraintLayout_Layout={ 0x010100c4, 0x0101011f, 0x01010120, 0x0101013f, 0x01010140, 0x7f020037, 0x7f020038, 0x7f020046, 0x7f020059, 0x7f02005a, 0x7f02009a, 0x7f02009b, 0x7f02009c, 0x7f02009d, 0x7f02009e, 0x7f02009f, 0x7f0200a0, 0x7f0200a1, 0x7f0200a2, 0x7f0200a3, 0x7f0200a4, 0x7f0200a5, 0x7f0200a6, 0x7f0200a7, 0x7f0200a8, 0x7f0200a9, 0x7f0200aa, 0x7f0200ab, 0x7f0200ac, 0x7f0200ad, 0x7f0200ae, 0x7f0200af, 0x7f0200b0, 0x7f0200b1, 0x7f0200b2, 0x7f0200b3, 0x7f0200b4, 0x7f0200b5, 0x7f0200b6, 0x7f0200b7, 0x7f0200b8, 0x7f0200b9, 0x7f0200ba, 0x7f0200bb, 0x7f0200bc, 0x7f0200bd, 0x7f0200be, 0x7f0200bf, 0x7f0200c0, 0x7f0200c1, 0x7f0200c2, 0x7f0200c4, 0x7f0200c5, 0x7f0200c6, 0x7f0200c7, 0x7f0200c8, 0x7f0200c9, 0x7f0200ca, 0x7f0200cb, 0x7f0200ce }; /** * <p>This symbol is the offset where the {@link android.R.attr#orientation} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>horizontal</td><td>0</td><td></td></tr> * <tr><td>vertical</td><td>1</td><td></td></tr> * </table> * * @attr name android:orientation */ public static final int ConstraintLayout_Layout_android_orientation=0; /** * <p>This symbol is the offset where the {@link android.R.attr#maxWidth} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:maxWidth */ public static final int ConstraintLayout_Layout_android_maxWidth=1; /** * <p>This symbol is the offset where the {@link android.R.attr#maxHeight} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:maxHeight */ public static final int ConstraintLayout_Layout_android_maxHeight=2; /** * <p>This symbol is the offset where the {@link android.R.attr#minWidth} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:minWidth */ public static final int ConstraintLayout_Layout_android_minWidth=3; /** * <p>This symbol is the offset where the {@link android.R.attr#minHeight} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:minHeight */ public static final int ConstraintLayout_Layout_android_minHeight=4; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#barrierAllowsGoneWidgets} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:barrierAllowsGoneWidgets */ public static final int ConstraintLayout_Layout_barrierAllowsGoneWidgets=5; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#barrierDirection} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>3</td><td></td></tr> * <tr><td>end</td><td>6</td><td></td></tr> * <tr><td>left</td><td>0</td><td></td></tr> * <tr><td>right</td><td>1</td><td></td></tr> * <tr><td>start</td><td>5</td><td></td></tr> * <tr><td>top</td><td>2</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:barrierDirection */ public static final int ConstraintLayout_Layout_barrierDirection=6; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#chainUseRtl} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:chainUseRtl */ public static final int ConstraintLayout_Layout_chainUseRtl=7; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#constraintSet} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:constraintSet */ public static final int ConstraintLayout_Layout_constraintSet=8; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#constraint_referenced_ids} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:constraint_referenced_ids */ public static final int ConstraintLayout_Layout_constraint_referenced_ids=9; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constrainedHeight} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:layout_constrainedHeight */ public static final int ConstraintLayout_Layout_layout_constrainedHeight=10; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constrainedWidth} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:layout_constrainedWidth */ public static final int ConstraintLayout_Layout_layout_constrainedWidth=11; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintBaseline_creator} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_constraintBaseline_creator */ public static final int ConstraintLayout_Layout_layout_constraintBaseline_creator=12; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintBaseline_toBaselineOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintBaseline_toBaselineOf */ public static final int ConstraintLayout_Layout_layout_constraintBaseline_toBaselineOf=13; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintBottom_creator} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_constraintBottom_creator */ public static final int ConstraintLayout_Layout_layout_constraintBottom_creator=14; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintBottom_toBottomOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintBottom_toBottomOf */ public static final int ConstraintLayout_Layout_layout_constraintBottom_toBottomOf=15; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintBottom_toTopOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintBottom_toTopOf */ public static final int ConstraintLayout_Layout_layout_constraintBottom_toTopOf=16; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintCircle} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:layout_constraintCircle */ public static final int ConstraintLayout_Layout_layout_constraintCircle=17; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintCircleAngle} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_constraintCircleAngle */ public static final int ConstraintLayout_Layout_layout_constraintCircleAngle=18; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintCircleRadius} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_constraintCircleRadius */ public static final int ConstraintLayout_Layout_layout_constraintCircleRadius=19; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintDimensionRatio} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:layout_constraintDimensionRatio */ public static final int ConstraintLayout_Layout_layout_constraintDimensionRatio=20; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintEnd_toEndOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintEnd_toEndOf */ public static final int ConstraintLayout_Layout_layout_constraintEnd_toEndOf=21; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintEnd_toStartOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintEnd_toStartOf */ public static final int ConstraintLayout_Layout_layout_constraintEnd_toStartOf=22; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintGuide_begin} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_constraintGuide_begin */ public static final int ConstraintLayout_Layout_layout_constraintGuide_begin=23; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintGuide_end} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_constraintGuide_end */ public static final int ConstraintLayout_Layout_layout_constraintGuide_end=24; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintGuide_percent} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintGuide_percent */ public static final int ConstraintLayout_Layout_layout_constraintGuide_percent=25; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHeight_default} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>percent</td><td>2</td><td></td></tr> * <tr><td>spread</td><td>0</td><td></td></tr> * <tr><td>wrap</td><td>1</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintHeight_default */ public static final int ConstraintLayout_Layout_layout_constraintHeight_default=26; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHeight_max} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintHeight_max */ public static final int ConstraintLayout_Layout_layout_constraintHeight_max=27; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHeight_min} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintHeight_min */ public static final int ConstraintLayout_Layout_layout_constraintHeight_min=28; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHeight_percent} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintHeight_percent */ public static final int ConstraintLayout_Layout_layout_constraintHeight_percent=29; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHorizontal_bias} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintHorizontal_bias */ public static final int ConstraintLayout_Layout_layout_constraintHorizontal_bias=30; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHorizontal_chainStyle} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>packed</td><td>2</td><td></td></tr> * <tr><td>spread</td><td>0</td><td></td></tr> * <tr><td>spread_inside</td><td>1</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintHorizontal_chainStyle */ public static final int ConstraintLayout_Layout_layout_constraintHorizontal_chainStyle=31; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHorizontal_weight} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintHorizontal_weight */ public static final int ConstraintLayout_Layout_layout_constraintHorizontal_weight=32; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintLeft_creator} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_constraintLeft_creator */ public static final int ConstraintLayout_Layout_layout_constraintLeft_creator=33; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintLeft_toLeftOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintLeft_toLeftOf */ public static final int ConstraintLayout_Layout_layout_constraintLeft_toLeftOf=34; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintLeft_toRightOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintLeft_toRightOf */ public static final int ConstraintLayout_Layout_layout_constraintLeft_toRightOf=35; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintRight_creator} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_constraintRight_creator */ public static final int ConstraintLayout_Layout_layout_constraintRight_creator=36; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintRight_toLeftOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintRight_toLeftOf */ public static final int ConstraintLayout_Layout_layout_constraintRight_toLeftOf=37; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintRight_toRightOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintRight_toRightOf */ public static final int ConstraintLayout_Layout_layout_constraintRight_toRightOf=38; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintStart_toEndOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintStart_toEndOf */ public static final int ConstraintLayout_Layout_layout_constraintStart_toEndOf=39; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintStart_toStartOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintStart_toStartOf */ public static final int ConstraintLayout_Layout_layout_constraintStart_toStartOf=40; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintTop_creator} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_constraintTop_creator */ public static final int ConstraintLayout_Layout_layout_constraintTop_creator=41; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintTop_toBottomOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintTop_toBottomOf */ public static final int ConstraintLayout_Layout_layout_constraintTop_toBottomOf=42; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintTop_toTopOf} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintTop_toTopOf */ public static final int ConstraintLayout_Layout_layout_constraintTop_toTopOf=43; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintVertical_bias} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintVertical_bias */ public static final int ConstraintLayout_Layout_layout_constraintVertical_bias=44; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintVertical_chainStyle} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>packed</td><td>2</td><td></td></tr> * <tr><td>spread</td><td>0</td><td></td></tr> * <tr><td>spread_inside</td><td>1</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintVertical_chainStyle */ public static final int ConstraintLayout_Layout_layout_constraintVertical_chainStyle=45; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintVertical_weight} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintVertical_weight */ public static final int ConstraintLayout_Layout_layout_constraintVertical_weight=46; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintWidth_default} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>percent</td><td>2</td><td></td></tr> * <tr><td>spread</td><td>0</td><td></td></tr> * <tr><td>wrap</td><td>1</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintWidth_default */ public static final int ConstraintLayout_Layout_layout_constraintWidth_default=47; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintWidth_max} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintWidth_max */ public static final int ConstraintLayout_Layout_layout_constraintWidth_max=48; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintWidth_min} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintWidth_min */ public static final int ConstraintLayout_Layout_layout_constraintWidth_min=49; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintWidth_percent} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintWidth_percent */ public static final int ConstraintLayout_Layout_layout_constraintWidth_percent=50; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_editor_absoluteX} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_editor_absoluteX */ public static final int ConstraintLayout_Layout_layout_editor_absoluteX=51; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_editor_absoluteY} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_editor_absoluteY */ public static final int ConstraintLayout_Layout_layout_editor_absoluteY=52; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_goneMarginBottom} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_goneMarginBottom */ public static final int ConstraintLayout_Layout_layout_goneMarginBottom=53; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_goneMarginEnd} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_goneMarginEnd */ public static final int ConstraintLayout_Layout_layout_goneMarginEnd=54; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_goneMarginLeft} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_goneMarginLeft */ public static final int ConstraintLayout_Layout_layout_goneMarginLeft=55; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_goneMarginRight} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_goneMarginRight */ public static final int ConstraintLayout_Layout_layout_goneMarginRight=56; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_goneMarginStart} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_goneMarginStart */ public static final int ConstraintLayout_Layout_layout_goneMarginStart=57; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_goneMarginTop} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_goneMarginTop */ public static final int ConstraintLayout_Layout_layout_goneMarginTop=58; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_optimizationLevel} * attribute's value can be found in the {@link #ConstraintLayout_Layout} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>barrier</td><td>2</td><td></td></tr> * <tr><td>chains</td><td>4</td><td></td></tr> * <tr><td>dimensions</td><td>8</td><td></td></tr> * <tr><td>direct</td><td>1</td><td>direct, barriers, chains</td></tr> * <tr><td>groups</td><td>20</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>standard</td><td>7</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_optimizationLevel */ public static final int ConstraintLayout_Layout_layout_optimizationLevel=59; /** * Attributes that can be used with a ConstraintLayout_placeholder. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ConstraintLayout_placeholder_content com.example.travel.travel:content}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_placeholder_emptyVisibility com.example.travel.travel:emptyVisibility}</code></td><td></td></tr> * </table> * @see #ConstraintLayout_placeholder_content * @see #ConstraintLayout_placeholder_emptyVisibility */ public static final int[] ConstraintLayout_placeholder={ 0x7f02005b, 0x7f020077 }; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#content} * attribute's value can be found in the {@link #ConstraintLayout_placeholder} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:content */ public static final int ConstraintLayout_placeholder_content=0; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#emptyVisibility} * attribute's value can be found in the {@link #ConstraintLayout_placeholder} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>gone</td><td>0</td><td></td></tr> * <tr><td>invisible</td><td>1</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:emptyVisibility */ public static final int ConstraintLayout_placeholder_emptyVisibility=1; /** * Attributes that can be used with a ConstraintSet. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ConstraintSet_android_orientation android:orientation}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_id android:id}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_visibility android:visibility}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_layout_width android:layout_width}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_layout_height android:layout_height}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_layout_marginLeft android:layout_marginLeft}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_layout_marginTop android:layout_marginTop}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_layout_marginRight android:layout_marginRight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_layout_marginBottom android:layout_marginBottom}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_maxWidth android:maxWidth}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_maxHeight android:maxHeight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_minWidth android:minWidth}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_minHeight android:minHeight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_alpha android:alpha}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_transformPivotX android:transformPivotX}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_transformPivotY android:transformPivotY}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_translationX android:translationX}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_translationY android:translationY}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_scaleX android:scaleX}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_scaleY android:scaleY}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_rotation android:rotation}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_rotationX android:rotationX}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_rotationY android:rotationY}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_layout_marginStart android:layout_marginStart}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_layout_marginEnd android:layout_marginEnd}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_translationZ android:translationZ}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_android_elevation android:elevation}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_barrierAllowsGoneWidgets com.example.travel.travel:barrierAllowsGoneWidgets}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_barrierDirection com.example.travel.travel:barrierDirection}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_chainUseRtl com.example.travel.travel:chainUseRtl}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_constraint_referenced_ids com.example.travel.travel:constraint_referenced_ids}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constrainedHeight com.example.travel.travel:layout_constrainedHeight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constrainedWidth com.example.travel.travel:layout_constrainedWidth}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintBaseline_creator com.example.travel.travel:layout_constraintBaseline_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintBaseline_toBaselineOf com.example.travel.travel:layout_constraintBaseline_toBaselineOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintBottom_creator com.example.travel.travel:layout_constraintBottom_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintBottom_toBottomOf com.example.travel.travel:layout_constraintBottom_toBottomOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintBottom_toTopOf com.example.travel.travel:layout_constraintBottom_toTopOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintCircle com.example.travel.travel:layout_constraintCircle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintCircleAngle com.example.travel.travel:layout_constraintCircleAngle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintCircleRadius com.example.travel.travel:layout_constraintCircleRadius}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintDimensionRatio com.example.travel.travel:layout_constraintDimensionRatio}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintEnd_toEndOf com.example.travel.travel:layout_constraintEnd_toEndOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintEnd_toStartOf com.example.travel.travel:layout_constraintEnd_toStartOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintGuide_begin com.example.travel.travel:layout_constraintGuide_begin}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintGuide_end com.example.travel.travel:layout_constraintGuide_end}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintGuide_percent com.example.travel.travel:layout_constraintGuide_percent}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHeight_default com.example.travel.travel:layout_constraintHeight_default}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHeight_max com.example.travel.travel:layout_constraintHeight_max}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHeight_min com.example.travel.travel:layout_constraintHeight_min}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHeight_percent com.example.travel.travel:layout_constraintHeight_percent}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHorizontal_bias com.example.travel.travel:layout_constraintHorizontal_bias}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHorizontal_chainStyle com.example.travel.travel:layout_constraintHorizontal_chainStyle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHorizontal_weight com.example.travel.travel:layout_constraintHorizontal_weight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintLeft_creator com.example.travel.travel:layout_constraintLeft_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintLeft_toLeftOf com.example.travel.travel:layout_constraintLeft_toLeftOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintLeft_toRightOf com.example.travel.travel:layout_constraintLeft_toRightOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintRight_creator com.example.travel.travel:layout_constraintRight_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintRight_toLeftOf com.example.travel.travel:layout_constraintRight_toLeftOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintRight_toRightOf com.example.travel.travel:layout_constraintRight_toRightOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintStart_toEndOf com.example.travel.travel:layout_constraintStart_toEndOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintStart_toStartOf com.example.travel.travel:layout_constraintStart_toStartOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintTop_creator com.example.travel.travel:layout_constraintTop_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintTop_toBottomOf com.example.travel.travel:layout_constraintTop_toBottomOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintTop_toTopOf com.example.travel.travel:layout_constraintTop_toTopOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintVertical_bias com.example.travel.travel:layout_constraintVertical_bias}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintVertical_chainStyle com.example.travel.travel:layout_constraintVertical_chainStyle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintVertical_weight com.example.travel.travel:layout_constraintVertical_weight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintWidth_default com.example.travel.travel:layout_constraintWidth_default}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintWidth_max com.example.travel.travel:layout_constraintWidth_max}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintWidth_min com.example.travel.travel:layout_constraintWidth_min}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintWidth_percent com.example.travel.travel:layout_constraintWidth_percent}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_editor_absoluteX com.example.travel.travel:layout_editor_absoluteX}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_editor_absoluteY com.example.travel.travel:layout_editor_absoluteY}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_goneMarginBottom com.example.travel.travel:layout_goneMarginBottom}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_goneMarginEnd com.example.travel.travel:layout_goneMarginEnd}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_goneMarginLeft com.example.travel.travel:layout_goneMarginLeft}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_goneMarginRight com.example.travel.travel:layout_goneMarginRight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_goneMarginStart com.example.travel.travel:layout_goneMarginStart}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_goneMarginTop com.example.travel.travel:layout_goneMarginTop}</code></td><td></td></tr> * </table> * @see #ConstraintSet_android_orientation * @see #ConstraintSet_android_id * @see #ConstraintSet_android_visibility * @see #ConstraintSet_android_layout_width * @see #ConstraintSet_android_layout_height * @see #ConstraintSet_android_layout_marginLeft * @see #ConstraintSet_android_layout_marginTop * @see #ConstraintSet_android_layout_marginRight * @see #ConstraintSet_android_layout_marginBottom * @see #ConstraintSet_android_maxWidth * @see #ConstraintSet_android_maxHeight * @see #ConstraintSet_android_minWidth * @see #ConstraintSet_android_minHeight * @see #ConstraintSet_android_alpha * @see #ConstraintSet_android_transformPivotX * @see #ConstraintSet_android_transformPivotY * @see #ConstraintSet_android_translationX * @see #ConstraintSet_android_translationY * @see #ConstraintSet_android_scaleX * @see #ConstraintSet_android_scaleY * @see #ConstraintSet_android_rotation * @see #ConstraintSet_android_rotationX * @see #ConstraintSet_android_rotationY * @see #ConstraintSet_android_layout_marginStart * @see #ConstraintSet_android_layout_marginEnd * @see #ConstraintSet_android_translationZ * @see #ConstraintSet_android_elevation * @see #ConstraintSet_barrierAllowsGoneWidgets * @see #ConstraintSet_barrierDirection * @see #ConstraintSet_chainUseRtl * @see #ConstraintSet_constraint_referenced_ids * @see #ConstraintSet_layout_constrainedHeight * @see #ConstraintSet_layout_constrainedWidth * @see #ConstraintSet_layout_constraintBaseline_creator * @see #ConstraintSet_layout_constraintBaseline_toBaselineOf * @see #ConstraintSet_layout_constraintBottom_creator * @see #ConstraintSet_layout_constraintBottom_toBottomOf * @see #ConstraintSet_layout_constraintBottom_toTopOf * @see #ConstraintSet_layout_constraintCircle * @see #ConstraintSet_layout_constraintCircleAngle * @see #ConstraintSet_layout_constraintCircleRadius * @see #ConstraintSet_layout_constraintDimensionRatio * @see #ConstraintSet_layout_constraintEnd_toEndOf * @see #ConstraintSet_layout_constraintEnd_toStartOf * @see #ConstraintSet_layout_constraintGuide_begin * @see #ConstraintSet_layout_constraintGuide_end * @see #ConstraintSet_layout_constraintGuide_percent * @see #ConstraintSet_layout_constraintHeight_default * @see #ConstraintSet_layout_constraintHeight_max * @see #ConstraintSet_layout_constraintHeight_min * @see #ConstraintSet_layout_constraintHeight_percent * @see #ConstraintSet_layout_constraintHorizontal_bias * @see #ConstraintSet_layout_constraintHorizontal_chainStyle * @see #ConstraintSet_layout_constraintHorizontal_weight * @see #ConstraintSet_layout_constraintLeft_creator * @see #ConstraintSet_layout_constraintLeft_toLeftOf * @see #ConstraintSet_layout_constraintLeft_toRightOf * @see #ConstraintSet_layout_constraintRight_creator * @see #ConstraintSet_layout_constraintRight_toLeftOf * @see #ConstraintSet_layout_constraintRight_toRightOf * @see #ConstraintSet_layout_constraintStart_toEndOf * @see #ConstraintSet_layout_constraintStart_toStartOf * @see #ConstraintSet_layout_constraintTop_creator * @see #ConstraintSet_layout_constraintTop_toBottomOf * @see #ConstraintSet_layout_constraintTop_toTopOf * @see #ConstraintSet_layout_constraintVertical_bias * @see #ConstraintSet_layout_constraintVertical_chainStyle * @see #ConstraintSet_layout_constraintVertical_weight * @see #ConstraintSet_layout_constraintWidth_default * @see #ConstraintSet_layout_constraintWidth_max * @see #ConstraintSet_layout_constraintWidth_min * @see #ConstraintSet_layout_constraintWidth_percent * @see #ConstraintSet_layout_editor_absoluteX * @see #ConstraintSet_layout_editor_absoluteY * @see #ConstraintSet_layout_goneMarginBottom * @see #ConstraintSet_layout_goneMarginEnd * @see #ConstraintSet_layout_goneMarginLeft * @see #ConstraintSet_layout_goneMarginRight * @see #ConstraintSet_layout_goneMarginStart * @see #ConstraintSet_layout_goneMarginTop */ public static final int[] ConstraintSet={ 0x010100c4, 0x010100d0, 0x010100dc, 0x010100f4, 0x010100f5, 0x010100f7, 0x010100f8, 0x010100f9, 0x010100fa, 0x0101011f, 0x01010120, 0x0101013f, 0x01010140, 0x0101031f, 0x01010320, 0x01010321, 0x01010322, 0x01010323, 0x01010324, 0x01010325, 0x01010326, 0x01010327, 0x01010328, 0x010103b5, 0x010103b6, 0x010103fa, 0x01010440, 0x7f020037, 0x7f020038, 0x7f020046, 0x7f02005a, 0x7f02009a, 0x7f02009b, 0x7f02009c, 0x7f02009d, 0x7f02009e, 0x7f02009f, 0x7f0200a0, 0x7f0200a1, 0x7f0200a2, 0x7f0200a3, 0x7f0200a4, 0x7f0200a5, 0x7f0200a6, 0x7f0200a7, 0x7f0200a8, 0x7f0200a9, 0x7f0200aa, 0x7f0200ab, 0x7f0200ac, 0x7f0200ad, 0x7f0200ae, 0x7f0200af, 0x7f0200b0, 0x7f0200b1, 0x7f0200b2, 0x7f0200b3, 0x7f0200b4, 0x7f0200b5, 0x7f0200b6, 0x7f0200b7, 0x7f0200b8, 0x7f0200b9, 0x7f0200ba, 0x7f0200bb, 0x7f0200bc, 0x7f0200bd, 0x7f0200be, 0x7f0200bf, 0x7f0200c0, 0x7f0200c1, 0x7f0200c2, 0x7f0200c4, 0x7f0200c5, 0x7f0200c6, 0x7f0200c7, 0x7f0200c8, 0x7f0200c9, 0x7f0200ca, 0x7f0200cb }; /** * <p>This symbol is the offset where the {@link android.R.attr#orientation} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>horizontal</td><td>0</td><td></td></tr> * <tr><td>vertical</td><td>1</td><td></td></tr> * </table> * * @attr name android:orientation */ public static final int ConstraintSet_android_orientation=0; /** * <p>This symbol is the offset where the {@link android.R.attr#id} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:id */ public static final int ConstraintSet_android_id=1; /** * <p>This symbol is the offset where the {@link android.R.attr#visibility} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>gone</td><td>2</td><td></td></tr> * <tr><td>invisible</td><td>1</td><td></td></tr> * <tr><td>visible</td><td>0</td><td></td></tr> * </table> * * @attr name android:visibility */ public static final int ConstraintSet_android_visibility=2; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_width} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>fill_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>match_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>wrap_content</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name android:layout_width */ public static final int ConstraintSet_android_layout_width=3; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_height} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>fill_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>match_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>wrap_content</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name android:layout_height */ public static final int ConstraintSet_android_layout_height=4; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_marginLeft} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:layout_marginLeft */ public static final int ConstraintSet_android_layout_marginLeft=5; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_marginTop} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:layout_marginTop */ public static final int ConstraintSet_android_layout_marginTop=6; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_marginRight} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:layout_marginRight */ public static final int ConstraintSet_android_layout_marginRight=7; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_marginBottom} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:layout_marginBottom */ public static final int ConstraintSet_android_layout_marginBottom=8; /** * <p>This symbol is the offset where the {@link android.R.attr#maxWidth} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:maxWidth */ public static final int ConstraintSet_android_maxWidth=9; /** * <p>This symbol is the offset where the {@link android.R.attr#maxHeight} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:maxHeight */ public static final int ConstraintSet_android_maxHeight=10; /** * <p>This symbol is the offset where the {@link android.R.attr#minWidth} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:minWidth */ public static final int ConstraintSet_android_minWidth=11; /** * <p>This symbol is the offset where the {@link android.R.attr#minHeight} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:minHeight */ public static final int ConstraintSet_android_minHeight=12; /** * <p>This symbol is the offset where the {@link android.R.attr#alpha} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:alpha */ public static final int ConstraintSet_android_alpha=13; /** * <p>This symbol is the offset where the {@link android.R.attr#transformPivotX} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:transformPivotX */ public static final int ConstraintSet_android_transformPivotX=14; /** * <p>This symbol is the offset where the {@link android.R.attr#transformPivotY} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:transformPivotY */ public static final int ConstraintSet_android_transformPivotY=15; /** * <p>This symbol is the offset where the {@link android.R.attr#translationX} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:translationX */ public static final int ConstraintSet_android_translationX=16; /** * <p>This symbol is the offset where the {@link android.R.attr#translationY} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:translationY */ public static final int ConstraintSet_android_translationY=17; /** * <p>This symbol is the offset where the {@link android.R.attr#scaleX} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:scaleX */ public static final int ConstraintSet_android_scaleX=18; /** * <p>This symbol is the offset where the {@link android.R.attr#scaleY} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:scaleY */ public static final int ConstraintSet_android_scaleY=19; /** * <p>This symbol is the offset where the {@link android.R.attr#rotation} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:rotation */ public static final int ConstraintSet_android_rotation=20; /** * <p>This symbol is the offset where the {@link android.R.attr#rotationX} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:rotationX */ public static final int ConstraintSet_android_rotationX=21; /** * <p>This symbol is the offset where the {@link android.R.attr#rotationY} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:rotationY */ public static final int ConstraintSet_android_rotationY=22; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_marginStart} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:layout_marginStart */ public static final int ConstraintSet_android_layout_marginStart=23; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_marginEnd} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:layout_marginEnd */ public static final int ConstraintSet_android_layout_marginEnd=24; /** * <p>This symbol is the offset where the {@link android.R.attr#translationZ} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:translationZ */ public static final int ConstraintSet_android_translationZ=25; /** * <p>This symbol is the offset where the {@link android.R.attr#elevation} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:elevation */ public static final int ConstraintSet_android_elevation=26; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#barrierAllowsGoneWidgets} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:barrierAllowsGoneWidgets */ public static final int ConstraintSet_barrierAllowsGoneWidgets=27; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#barrierDirection} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>3</td><td></td></tr> * <tr><td>end</td><td>6</td><td></td></tr> * <tr><td>left</td><td>0</td><td></td></tr> * <tr><td>right</td><td>1</td><td></td></tr> * <tr><td>start</td><td>5</td><td></td></tr> * <tr><td>top</td><td>2</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:barrierDirection */ public static final int ConstraintSet_barrierDirection=28; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#chainUseRtl} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:chainUseRtl */ public static final int ConstraintSet_chainUseRtl=29; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#constraint_referenced_ids} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:constraint_referenced_ids */ public static final int ConstraintSet_constraint_referenced_ids=30; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constrainedHeight} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:layout_constrainedHeight */ public static final int ConstraintSet_layout_constrainedHeight=31; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constrainedWidth} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:layout_constrainedWidth */ public static final int ConstraintSet_layout_constrainedWidth=32; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintBaseline_creator} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_constraintBaseline_creator */ public static final int ConstraintSet_layout_constraintBaseline_creator=33; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintBaseline_toBaselineOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintBaseline_toBaselineOf */ public static final int ConstraintSet_layout_constraintBaseline_toBaselineOf=34; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintBottom_creator} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_constraintBottom_creator */ public static final int ConstraintSet_layout_constraintBottom_creator=35; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintBottom_toBottomOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintBottom_toBottomOf */ public static final int ConstraintSet_layout_constraintBottom_toBottomOf=36; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintBottom_toTopOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintBottom_toTopOf */ public static final int ConstraintSet_layout_constraintBottom_toTopOf=37; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintCircle} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:layout_constraintCircle */ public static final int ConstraintSet_layout_constraintCircle=38; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintCircleAngle} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_constraintCircleAngle */ public static final int ConstraintSet_layout_constraintCircleAngle=39; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintCircleRadius} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_constraintCircleRadius */ public static final int ConstraintSet_layout_constraintCircleRadius=40; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintDimensionRatio} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:layout_constraintDimensionRatio */ public static final int ConstraintSet_layout_constraintDimensionRatio=41; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintEnd_toEndOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintEnd_toEndOf */ public static final int ConstraintSet_layout_constraintEnd_toEndOf=42; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintEnd_toStartOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintEnd_toStartOf */ public static final int ConstraintSet_layout_constraintEnd_toStartOf=43; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintGuide_begin} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_constraintGuide_begin */ public static final int ConstraintSet_layout_constraintGuide_begin=44; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintGuide_end} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_constraintGuide_end */ public static final int ConstraintSet_layout_constraintGuide_end=45; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintGuide_percent} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintGuide_percent */ public static final int ConstraintSet_layout_constraintGuide_percent=46; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHeight_default} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>percent</td><td>2</td><td></td></tr> * <tr><td>spread</td><td>0</td><td></td></tr> * <tr><td>wrap</td><td>1</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintHeight_default */ public static final int ConstraintSet_layout_constraintHeight_default=47; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHeight_max} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintHeight_max */ public static final int ConstraintSet_layout_constraintHeight_max=48; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHeight_min} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintHeight_min */ public static final int ConstraintSet_layout_constraintHeight_min=49; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHeight_percent} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintHeight_percent */ public static final int ConstraintSet_layout_constraintHeight_percent=50; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHorizontal_bias} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintHorizontal_bias */ public static final int ConstraintSet_layout_constraintHorizontal_bias=51; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHorizontal_chainStyle} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>packed</td><td>2</td><td></td></tr> * <tr><td>spread</td><td>0</td><td></td></tr> * <tr><td>spread_inside</td><td>1</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintHorizontal_chainStyle */ public static final int ConstraintSet_layout_constraintHorizontal_chainStyle=52; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintHorizontal_weight} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintHorizontal_weight */ public static final int ConstraintSet_layout_constraintHorizontal_weight=53; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintLeft_creator} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_constraintLeft_creator */ public static final int ConstraintSet_layout_constraintLeft_creator=54; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintLeft_toLeftOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintLeft_toLeftOf */ public static final int ConstraintSet_layout_constraintLeft_toLeftOf=55; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintLeft_toRightOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintLeft_toRightOf */ public static final int ConstraintSet_layout_constraintLeft_toRightOf=56; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintRight_creator} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_constraintRight_creator */ public static final int ConstraintSet_layout_constraintRight_creator=57; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintRight_toLeftOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintRight_toLeftOf */ public static final int ConstraintSet_layout_constraintRight_toLeftOf=58; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintRight_toRightOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintRight_toRightOf */ public static final int ConstraintSet_layout_constraintRight_toRightOf=59; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintStart_toEndOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintStart_toEndOf */ public static final int ConstraintSet_layout_constraintStart_toEndOf=60; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintStart_toStartOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintStart_toStartOf */ public static final int ConstraintSet_layout_constraintStart_toStartOf=61; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintTop_creator} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_constraintTop_creator */ public static final int ConstraintSet_layout_constraintTop_creator=62; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintTop_toBottomOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintTop_toBottomOf */ public static final int ConstraintSet_layout_constraintTop_toBottomOf=63; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintTop_toTopOf} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>parent</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintTop_toTopOf */ public static final int ConstraintSet_layout_constraintTop_toTopOf=64; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintVertical_bias} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintVertical_bias */ public static final int ConstraintSet_layout_constraintVertical_bias=65; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintVertical_chainStyle} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>packed</td><td>2</td><td></td></tr> * <tr><td>spread</td><td>0</td><td></td></tr> * <tr><td>spread_inside</td><td>1</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintVertical_chainStyle */ public static final int ConstraintSet_layout_constraintVertical_chainStyle=66; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintVertical_weight} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintVertical_weight */ public static final int ConstraintSet_layout_constraintVertical_weight=67; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintWidth_default} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>percent</td><td>2</td><td></td></tr> * <tr><td>spread</td><td>0</td><td></td></tr> * <tr><td>wrap</td><td>1</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintWidth_default */ public static final int ConstraintSet_layout_constraintWidth_default=68; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintWidth_max} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintWidth_max */ public static final int ConstraintSet_layout_constraintWidth_max=69; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintWidth_min} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:layout_constraintWidth_min */ public static final int ConstraintSet_layout_constraintWidth_min=70; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_constraintWidth_percent} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name com.example.travel.travel:layout_constraintWidth_percent */ public static final int ConstraintSet_layout_constraintWidth_percent=71; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_editor_absoluteX} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_editor_absoluteX */ public static final int ConstraintSet_layout_editor_absoluteX=72; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_editor_absoluteY} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_editor_absoluteY */ public static final int ConstraintSet_layout_editor_absoluteY=73; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_goneMarginBottom} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_goneMarginBottom */ public static final int ConstraintSet_layout_goneMarginBottom=74; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_goneMarginEnd} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_goneMarginEnd */ public static final int ConstraintSet_layout_goneMarginEnd=75; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_goneMarginLeft} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_goneMarginLeft */ public static final int ConstraintSet_layout_goneMarginLeft=76; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_goneMarginRight} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_goneMarginRight */ public static final int ConstraintSet_layout_goneMarginRight=77; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_goneMarginStart} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_goneMarginStart */ public static final int ConstraintSet_layout_goneMarginStart=78; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#layout_goneMarginTop} * attribute's value can be found in the {@link #ConstraintSet} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:layout_goneMarginTop */ public static final int ConstraintSet_layout_goneMarginTop=79; /** * Attributes that can be used with a CoordinatorLayout. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #CoordinatorLayout_keylines com.example.travel.travel:keylines}</code></td><td>A reference to an array of integers representing the * locations of horizontal keylines in dp from the starting edge.</td></tr> * <tr><td><code>{@link #CoordinatorLayout_statusBarBackground com.example.travel.travel:statusBarBackground}</code></td><td>Drawable to display behind the status bar when the view is set to draw behind it.</td></tr> * </table> * @see #CoordinatorLayout_keylines * @see #CoordinatorLayout_statusBarBackground */ public static final int[] CoordinatorLayout={ 0x7f020094, 0x7f020109 }; /** * <p> * @attr description * A reference to an array of integers representing the * locations of horizontal keylines in dp from the starting edge. * Child views can refer to these keylines for alignment using * layout_keyline="index" where index is a 0-based index into * this array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:keylines */ public static final int CoordinatorLayout_keylines=0; /** * <p> * @attr description * Drawable to display behind the status bar when the view is set to draw behind it. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:statusBarBackground */ public static final int CoordinatorLayout_statusBarBackground=1; /** * Attributes that can be used with a CoordinatorLayout_Layout. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr> * <tr><td><code>{@link #CoordinatorLayout_Layout_layout_anchor com.example.travel.travel:layout_anchor}</code></td><td>The id of an anchor view that this view should position relative to.</td></tr> * <tr><td><code>{@link #CoordinatorLayout_Layout_layout_anchorGravity com.example.travel.travel:layout_anchorGravity}</code></td><td>Specifies how an object should position relative to an anchor, on both the X and Y axes, * within its parent's bounds.</td></tr> * <tr><td><code>{@link #CoordinatorLayout_Layout_layout_behavior com.example.travel.travel:layout_behavior}</code></td><td>The class name of a Behavior class defining special runtime behavior * for this child view.</td></tr> * <tr><td><code>{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges com.example.travel.travel:layout_dodgeInsetEdges}</code></td><td>Specifies how this view dodges the inset edges of the CoordinatorLayout.</td></tr> * <tr><td><code>{@link #CoordinatorLayout_Layout_layout_insetEdge com.example.travel.travel:layout_insetEdge}</code></td><td>Specifies how this view insets the CoordinatorLayout and make some other views * dodge it.</td></tr> * <tr><td><code>{@link #CoordinatorLayout_Layout_layout_keyline com.example.travel.travel:layout_keyline}</code></td><td>The index of a keyline this view should position relative to.</td></tr> * </table> * @see #CoordinatorLayout_Layout_android_layout_gravity * @see #CoordinatorLayout_Layout_layout_anchor * @see #CoordinatorLayout_Layout_layout_anchorGravity * @see #CoordinatorLayout_Layout_layout_behavior * @see #CoordinatorLayout_Layout_layout_dodgeInsetEdges * @see #CoordinatorLayout_Layout_layout_insetEdge * @see #CoordinatorLayout_Layout_layout_keyline */ public static final int[] CoordinatorLayout_Layout={ 0x010100b3, 0x7f020097, 0x7f020098, 0x7f020099, 0x7f0200c3, 0x7f0200cc, 0x7f0200cd }; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_gravity} * attribute's value can be found in the {@link #CoordinatorLayout_Layout} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>50</td><td></td></tr> * <tr><td>center</td><td>11</td><td></td></tr> * <tr><td>center_horizontal</td><td>1</td><td></td></tr> * <tr><td>center_vertical</td><td>10</td><td></td></tr> * <tr><td>clip_horizontal</td><td>8</td><td></td></tr> * <tr><td>clip_vertical</td><td>80</td><td></td></tr> * <tr><td>end</td><td>800005</td><td></td></tr> * <tr><td>fill</td><td>77</td><td></td></tr> * <tr><td>fill_horizontal</td><td>7</td><td></td></tr> * <tr><td>fill_vertical</td><td>70</td><td></td></tr> * <tr><td>left</td><td>3</td><td></td></tr> * <tr><td>right</td><td>5</td><td></td></tr> * <tr><td>start</td><td>800003</td><td></td></tr> * <tr><td>top</td><td>30</td><td></td></tr> * </table> * * @attr name android:layout_gravity */ public static final int CoordinatorLayout_Layout_android_layout_gravity=0; /** * <p> * @attr description * The id of an anchor view that this view should position relative to. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:layout_anchor */ public static final int CoordinatorLayout_Layout_layout_anchor=1; /** * <p> * @attr description * Specifies how an object should position relative to an anchor, on both the X and Y axes, * within its parent's bounds. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>50</td><td>Push object to the bottom of its container, not changing its size.</td></tr> * <tr><td>center</td><td>11</td><td>Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.</td></tr> * <tr><td>center_horizontal</td><td>1</td><td>Place object in the horizontal center of its container, not changing its size.</td></tr> * <tr><td>center_vertical</td><td>10</td><td>Place object in the vertical center of its container, not changing its size.</td></tr> * <tr><td>clip_horizontal</td><td>8</td><td>Additional option that can be set to have the left and/or right edges of * the child clipped to its container's bounds. * The clip will be based on the horizontal gravity: a left gravity will clip the right * edge, a right gravity will clip the left edge, and neither will clip both edges.</td></tr> * <tr><td>clip_vertical</td><td>80</td><td>Additional option that can be set to have the top and/or bottom edges of * the child clipped to its container's bounds. * The clip will be based on the vertical gravity: a top gravity will clip the bottom * edge, a bottom gravity will clip the top edge, and neither will clip both edges.</td></tr> * <tr><td>end</td><td>800005</td><td>Push object to the end of its container, not changing its size.</td></tr> * <tr><td>fill</td><td>77</td><td>Grow the horizontal and vertical size of the object if needed so it completely fills its container.</td></tr> * <tr><td>fill_horizontal</td><td>7</td><td>Grow the horizontal size of the object if needed so it completely fills its container.</td></tr> * <tr><td>fill_vertical</td><td>70</td><td>Grow the vertical size of the object if needed so it completely fills its container.</td></tr> * <tr><td>left</td><td>3</td><td>Push object to the left of its container, not changing its size.</td></tr> * <tr><td>right</td><td>5</td><td>Push object to the right of its container, not changing its size.</td></tr> * <tr><td>start</td><td>800003</td><td>Push object to the beginning of its container, not changing its size.</td></tr> * <tr><td>top</td><td>30</td><td>Push object to the top of its container, not changing its size.</td></tr> * </table> * * @attr name com.example.travel.travel:layout_anchorGravity */ public static final int CoordinatorLayout_Layout_layout_anchorGravity=2; /** * <p> * @attr description * The class name of a Behavior class defining special runtime behavior * for this child view. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:layout_behavior */ public static final int CoordinatorLayout_Layout_layout_behavior=3; /** * <p> * @attr description * Specifies how this view dodges the inset edges of the CoordinatorLayout. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>all</td><td>77</td><td>Dodge all the inset edges.</td></tr> * <tr><td>bottom</td><td>50</td><td>Dodge the bottom inset edge.</td></tr> * <tr><td>end</td><td>800005</td><td>Dodge the end inset edge.</td></tr> * <tr><td>left</td><td>3</td><td>Dodge the left inset edge.</td></tr> * <tr><td>none</td><td>0</td><td>Don't dodge any edges</td></tr> * <tr><td>right</td><td>5</td><td>Dodge the right inset edge.</td></tr> * <tr><td>start</td><td>800003</td><td>Dodge the start inset edge.</td></tr> * <tr><td>top</td><td>30</td><td>Dodge the top inset edge.</td></tr> * </table> * * @attr name com.example.travel.travel:layout_dodgeInsetEdges */ public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges=4; /** * <p> * @attr description * Specifies how this view insets the CoordinatorLayout and make some other views * dodge it. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>50</td><td>Inset the bottom edge.</td></tr> * <tr><td>end</td><td>800005</td><td>Inset the end edge.</td></tr> * <tr><td>left</td><td>3</td><td>Inset the left edge.</td></tr> * <tr><td>none</td><td>0</td><td>Don't inset.</td></tr> * <tr><td>right</td><td>5</td><td>Inset the right edge.</td></tr> * <tr><td>start</td><td>800003</td><td>Inset the start edge.</td></tr> * <tr><td>top</td><td>30</td><td>Inset the top edge.</td></tr> * </table> * * @attr name com.example.travel.travel:layout_insetEdge */ public static final int CoordinatorLayout_Layout_layout_insetEdge=5; /** * <p> * @attr description * The index of a keyline this view should position relative to. * android:layout_gravity will affect how the view aligns to the * specified keyline. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:layout_keyline */ public static final int CoordinatorLayout_Layout_layout_keyline=6; /** * Attributes that can be used with a DrawerArrowToggle. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #DrawerArrowToggle_arrowHeadLength com.example.travel.travel:arrowHeadLength}</code></td><td>The length of the arrow head when formed to make an arrow</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_arrowShaftLength com.example.travel.travel:arrowShaftLength}</code></td><td>The length of the shaft when formed to make an arrow</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_barLength com.example.travel.travel:barLength}</code></td><td>The length of the bars when they are parallel to each other</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_color com.example.travel.travel:color}</code></td><td>The drawing color for the bars</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_drawableSize com.example.travel.travel:drawableSize}</code></td><td>The total size of the drawable</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars com.example.travel.travel:gapBetweenBars}</code></td><td>The max gap between the bars when they are parallel to each other</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_spinBars com.example.travel.travel:spinBars}</code></td><td>Whether bars should rotate or not during transition</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_thickness com.example.travel.travel:thickness}</code></td><td>The thickness (stroke size) for the bar paint</td></tr> * </table> * @see #DrawerArrowToggle_arrowHeadLength * @see #DrawerArrowToggle_arrowShaftLength * @see #DrawerArrowToggle_barLength * @see #DrawerArrowToggle_color * @see #DrawerArrowToggle_drawableSize * @see #DrawerArrowToggle_gapBetweenBars * @see #DrawerArrowToggle_spinBars * @see #DrawerArrowToggle_thickness */ public static final int[] DrawerArrowToggle={ 0x7f020029, 0x7f02002a, 0x7f020036, 0x7f02004d, 0x7f02006f, 0x7f020085, 0x7f020103, 0x7f020121 }; /** * <p> * @attr description * The length of the arrow head when formed to make an arrow * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:arrowHeadLength */ public static final int DrawerArrowToggle_arrowHeadLength=0; /** * <p> * @attr description * The length of the shaft when formed to make an arrow * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:arrowShaftLength */ public static final int DrawerArrowToggle_arrowShaftLength=1; /** * <p> * @attr description * The length of the bars when they are parallel to each other * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:barLength */ public static final int DrawerArrowToggle_barLength=2; /** * <p> * @attr description * The drawing color for the bars * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:color */ public static final int DrawerArrowToggle_color=3; /** * <p> * @attr description * The total size of the drawable * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:drawableSize */ public static final int DrawerArrowToggle_drawableSize=4; /** * <p> * @attr description * The max gap between the bars when they are parallel to each other * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:gapBetweenBars */ public static final int DrawerArrowToggle_gapBetweenBars=5; /** * <p> * @attr description * Whether bars should rotate or not during transition * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:spinBars */ public static final int DrawerArrowToggle_spinBars=6; /** * <p> * @attr description * The thickness (stroke size) for the bar paint * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:thickness */ public static final int DrawerArrowToggle_thickness=7; /** * Attributes that can be used with a FontFamily. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #FontFamily_fontProviderAuthority com.example.travel.travel:fontProviderAuthority}</code></td><td>The authority of the Font Provider to be used for the request.</td></tr> * <tr><td><code>{@link #FontFamily_fontProviderCerts com.example.travel.travel:fontProviderCerts}</code></td><td>The sets of hashes for the certificates the provider should be signed with.</td></tr> * <tr><td><code>{@link #FontFamily_fontProviderFetchStrategy com.example.travel.travel:fontProviderFetchStrategy}</code></td><td>The strategy to be used when fetching font data from a font provider in XML layouts.</td></tr> * <tr><td><code>{@link #FontFamily_fontProviderFetchTimeout com.example.travel.travel:fontProviderFetchTimeout}</code></td><td>The length of the timeout during fetching.</td></tr> * <tr><td><code>{@link #FontFamily_fontProviderPackage com.example.travel.travel:fontProviderPackage}</code></td><td>The package for the Font Provider to be used for the request.</td></tr> * <tr><td><code>{@link #FontFamily_fontProviderQuery com.example.travel.travel:fontProviderQuery}</code></td><td>The query to be sent over to the provider.</td></tr> * </table> * @see #FontFamily_fontProviderAuthority * @see #FontFamily_fontProviderCerts * @see #FontFamily_fontProviderFetchStrategy * @see #FontFamily_fontProviderFetchTimeout * @see #FontFamily_fontProviderPackage * @see #FontFamily_fontProviderQuery */ public static final int[] FontFamily={ 0x7f02007c, 0x7f02007d, 0x7f02007e, 0x7f02007f, 0x7f020080, 0x7f020081 }; /** * <p> * @attr description * The authority of the Font Provider to be used for the request. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:fontProviderAuthority */ public static final int FontFamily_fontProviderAuthority=0; /** * <p> * @attr description * The sets of hashes for the certificates the provider should be signed with. This is * used to verify the identity of the provider, and is only required if the provider is not * part of the system image. This value may point to one list or a list of lists, where each * individual list represents one collection of signature hashes. Refer to your font provider's * documentation for these values. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:fontProviderCerts */ public static final int FontFamily_fontProviderCerts=1; /** * <p> * @attr description * The strategy to be used when fetching font data from a font provider in XML layouts. * This attribute is ignored when the resource is loaded from code, as it is equivalent to the * choice of API between {@link * androidx.core.content.res.ResourcesCompat#getFont(Context, int)} (blocking) and * {@link * androidx.core.content.res.ResourcesCompat#getFont(Context, int, FontCallback, Handler)} * (async). * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>async</td><td>1</td><td>The async font fetch works as follows. * First, check the local cache, then if the requeted font is not cached, trigger a * request the font and continue with layout inflation. Once the font fetch succeeds, the * target text view will be refreshed with the downloaded font data. The * fontProviderFetchTimeout will be ignored if async loading is specified.</td></tr> * <tr><td>blocking</td><td>0</td><td>The blocking font fetch works as follows. * First, check the local cache, then if the requested font is not cached, request the * font from the provider and wait until it is finished. You can change the length of * the timeout by modifying fontProviderFetchTimeout. If the timeout happens, the * default typeface will be used instead.</td></tr> * </table> * * @attr name com.example.travel.travel:fontProviderFetchStrategy */ public static final int FontFamily_fontProviderFetchStrategy=2; /** * <p> * @attr description * The length of the timeout during fetching. * * <p>May be an integer value, such as "<code>100</code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>forever</td><td>ffffffff</td><td>A special value for the timeout. In this case, the blocking font fetching will not * timeout and wait until a reply is received from the font provider.</td></tr> * </table> * * @attr name com.example.travel.travel:fontProviderFetchTimeout */ public static final int FontFamily_fontProviderFetchTimeout=3; /** * <p> * @attr description * The package for the Font Provider to be used for the request. This is used to verify * the identity of the provider. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:fontProviderPackage */ public static final int FontFamily_fontProviderPackage=4; /** * <p> * @attr description * The query to be sent over to the provider. Refer to your font provider's documentation * on the format of this string. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:fontProviderQuery */ public static final int FontFamily_fontProviderQuery=5; /** * Attributes that can be used with a FontFamilyFont. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #FontFamilyFont_android_font android:font}</code></td><td></td></tr> * <tr><td><code>{@link #FontFamilyFont_android_fontWeight android:fontWeight}</code></td><td></td></tr> * <tr><td><code>{@link #FontFamilyFont_android_fontStyle android:fontStyle}</code></td><td></td></tr> * <tr><td><code>{@link #FontFamilyFont_android_ttcIndex android:ttcIndex}</code></td><td></td></tr> * <tr><td><code>{@link #FontFamilyFont_android_fontVariationSettings android:fontVariationSettings}</code></td><td></td></tr> * <tr><td><code>{@link #FontFamilyFont_font com.example.travel.travel:font}</code></td><td>The reference to the font file to be used.</td></tr> * <tr><td><code>{@link #FontFamilyFont_fontStyle com.example.travel.travel:fontStyle}</code></td><td>The style of the given font file.</td></tr> * <tr><td><code>{@link #FontFamilyFont_fontVariationSettings com.example.travel.travel:fontVariationSettings}</code></td><td>The variation settings to be applied to the font.</td></tr> * <tr><td><code>{@link #FontFamilyFont_fontWeight com.example.travel.travel:fontWeight}</code></td><td>The weight of the given font file.</td></tr> * <tr><td><code>{@link #FontFamilyFont_ttcIndex com.example.travel.travel:ttcIndex}</code></td><td>The index of the font in the tcc font file.</td></tr> * </table> * @see #FontFamilyFont_android_font * @see #FontFamilyFont_android_fontWeight * @see #FontFamilyFont_android_fontStyle * @see #FontFamilyFont_android_ttcIndex * @see #FontFamilyFont_android_fontVariationSettings * @see #FontFamilyFont_font * @see #FontFamilyFont_fontStyle * @see #FontFamilyFont_fontVariationSettings * @see #FontFamilyFont_fontWeight * @see #FontFamilyFont_ttcIndex */ public static final int[] FontFamilyFont={ 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, 0x01010570, 0x7f02007a, 0x7f020082, 0x7f020083, 0x7f020084, 0x7f02013c }; /** * <p>This symbol is the offset where the {@link android.R.attr#font} * attribute's value can be found in the {@link #FontFamilyFont} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:font */ public static final int FontFamilyFont_android_font=0; /** * <p>This symbol is the offset where the {@link android.R.attr#fontWeight} * attribute's value can be found in the {@link #FontFamilyFont} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name android:fontWeight */ public static final int FontFamilyFont_android_fontWeight=1; /** * <p> * @attr description * References to the framework attrs * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>italic</td><td>1</td><td></td></tr> * <tr><td>normal</td><td>0</td><td></td></tr> * </table> * * @attr name android:fontStyle */ public static final int FontFamilyFont_android_fontStyle=2; /** * <p>This symbol is the offset where the {@link android.R.attr#ttcIndex} * attribute's value can be found in the {@link #FontFamilyFont} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name android:ttcIndex */ public static final int FontFamilyFont_android_ttcIndex=3; /** * <p>This symbol is the offset where the {@link android.R.attr#fontVariationSettings} * attribute's value can be found in the {@link #FontFamilyFont} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:fontVariationSettings */ public static final int FontFamilyFont_android_fontVariationSettings=4; /** * <p> * @attr description * The reference to the font file to be used. This should be a file in the res/font folder * and should therefore have an R reference value. E.g. @font/myfont * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:font */ public static final int FontFamilyFont_font=5; /** * <p> * @attr description * The style of the given font file. This will be used when the font is being loaded into * the font stack and will override any style information in the font's header tables. If * unspecified, the value in the font's header tables will be used. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>italic</td><td>1</td><td></td></tr> * <tr><td>normal</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:fontStyle */ public static final int FontFamilyFont_fontStyle=6; /** * <p> * @attr description * The variation settings to be applied to the font. The string should be in the following * format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be * used, or the font used does not support variation settings, this attribute needs not be * specified. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:fontVariationSettings */ public static final int FontFamilyFont_fontVariationSettings=7; /** * <p> * @attr description * The weight of the given font file. This will be used when the font is being loaded into * the font stack and will override any weight information in the font's header tables. Must * be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most * common values are 400 for regular weight and 700 for bold weight. If unspecified, the value * in the font's header tables will be used. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:fontWeight */ public static final int FontFamilyFont_fontWeight=8; /** * <p> * @attr description * The index of the font in the tcc font file. If the font file referenced is not in the * tcc format, this attribute needs not be specified. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name com.example.travel.travel:ttcIndex */ public static final int FontFamilyFont_ttcIndex=9; /** * Attributes that can be used with a GradientColor. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #GradientColor_android_startColor android:startColor}</code></td><td></td></tr> * <tr><td><code>{@link #GradientColor_android_endColor android:endColor}</code></td><td></td></tr> * <tr><td><code>{@link #GradientColor_android_type android:type}</code></td><td></td></tr> * <tr><td><code>{@link #GradientColor_android_centerX android:centerX}</code></td><td></td></tr> * <tr><td><code>{@link #GradientColor_android_centerY android:centerY}</code></td><td></td></tr> * <tr><td><code>{@link #GradientColor_android_gradientRadius android:gradientRadius}</code></td><td></td></tr> * <tr><td><code>{@link #GradientColor_android_tileMode android:tileMode}</code></td><td></td></tr> * <tr><td><code>{@link #GradientColor_android_centerColor android:centerColor}</code></td><td></td></tr> * <tr><td><code>{@link #GradientColor_android_startX android:startX}</code></td><td></td></tr> * <tr><td><code>{@link #GradientColor_android_startY android:startY}</code></td><td></td></tr> * <tr><td><code>{@link #GradientColor_android_endX android:endX}</code></td><td></td></tr> * <tr><td><code>{@link #GradientColor_android_endY android:endY}</code></td><td></td></tr> * </table> * @see #GradientColor_android_startColor * @see #GradientColor_android_endColor * @see #GradientColor_android_type * @see #GradientColor_android_centerX * @see #GradientColor_android_centerY * @see #GradientColor_android_gradientRadius * @see #GradientColor_android_tileMode * @see #GradientColor_android_centerColor * @see #GradientColor_android_startX * @see #GradientColor_android_startY * @see #GradientColor_android_endX * @see #GradientColor_android_endY */ public static final int[] GradientColor={ 0x0101019d, 0x0101019e, 0x010101a1, 0x010101a2, 0x010101a3, 0x010101a4, 0x01010201, 0x0101020b, 0x01010510, 0x01010511, 0x01010512, 0x01010513 }; /** * <p> * @attr description * Start color of the gradient. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:startColor */ public static final int GradientColor_android_startColor=0; /** * <p> * @attr description * End color of the gradient. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:endColor */ public static final int GradientColor_android_endColor=1; /** * <p> * @attr description * Type of gradient. The default type is linear. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>linear</td><td>0</td><td></td></tr> * <tr><td>radial</td><td>1</td><td></td></tr> * <tr><td>sweep</td><td>2</td><td></td></tr> * </table> * * @attr name android:type */ public static final int GradientColor_android_type=2; /** * <p> * @attr description * X coordinate of the center of the gradient within the path. * * <p>May be a floating point value, such as "<code>1.2</code>". * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name android:centerX */ public static final int GradientColor_android_centerX=3; /** * <p> * @attr description * Y coordinate of the center of the gradient within the path. * * <p>May be a floating point value, such as "<code>1.2</code>". * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name android:centerY */ public static final int GradientColor_android_centerY=4; /** * <p> * @attr description * Radius of the gradient, used only with radial gradient. * * <p>May be a floating point value, such as "<code>1.2</code>". * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name android:gradientRadius */ public static final int GradientColor_android_gradientRadius=5; /** * <p> * @attr description * Defines the tile mode of the gradient. SweepGradient doesn't support tiling. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>clamp</td><td>0</td><td></td></tr> * <tr><td>disabled</td><td>ffffffff</td><td></td></tr> * <tr><td>mirror</td><td>2</td><td></td></tr> * <tr><td>repeat</td><td>1</td><td></td></tr> * </table> * * @attr name android:tileMode */ public static final int GradientColor_android_tileMode=6; /** * <p> * @attr description * Optional center color. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:centerColor */ public static final int GradientColor_android_centerColor=7; /** * <p> * @attr description * X coordinate of the start point origin of the gradient. * Defined in same coordinates as the path itself * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:startX */ public static final int GradientColor_android_startX=8; /** * <p> * @attr description * Y coordinate of the start point of the gradient within the shape. * Defined in same coordinates as the path itself * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:startY */ public static final int GradientColor_android_startY=9; /** * <p> * @attr description * X coordinate of the end point origin of the gradient. * Defined in same coordinates as the path itself * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:endX */ public static final int GradientColor_android_endX=10; /** * <p> * @attr description * Y coordinate of the end point of the gradient within the shape. * Defined in same coordinates as the path itself * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:endY */ public static final int GradientColor_android_endY=11; /** * Attributes that can be used with a GradientColorItem. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #GradientColorItem_android_color android:color}</code></td><td></td></tr> * <tr><td><code>{@link #GradientColorItem_android_offset android:offset}</code></td><td></td></tr> * </table> * @see #GradientColorItem_android_color * @see #GradientColorItem_android_offset */ public static final int[] GradientColorItem={ 0x010101a5, 0x01010514 }; /** * <p> * @attr description * The current color for the offset inside the gradient. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:color */ public static final int GradientColorItem_android_color=0; /** * <p> * @attr description * The offset (or ratio) of this current color item inside the gradient. * The value is only meaningful when it is between 0 and 1. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:offset */ public static final int GradientColorItem_android_offset=1; /** * Attributes that can be used with a LinearConstraintLayout. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #LinearConstraintLayout_android_orientation android:orientation}</code></td><td></td></tr> * </table> * @see #LinearConstraintLayout_android_orientation */ public static final int[] LinearConstraintLayout={ 0x010100c4 }; /** * <p>This symbol is the offset where the {@link android.R.attr#orientation} * attribute's value can be found in the {@link #LinearConstraintLayout} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>horizontal</td><td>0</td><td></td></tr> * <tr><td>vertical</td><td>1</td><td></td></tr> * </table> * * @attr name android:orientation */ public static final int LinearConstraintLayout_android_orientation=0; /** * Attributes that can be used with a LinearLayoutCompat. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #LinearLayoutCompat_android_gravity android:gravity}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_android_orientation android:orientation}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_android_baselineAligned android:baselineAligned}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_android_baselineAlignedChildIndex android:baselineAlignedChildIndex}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_android_weightSum android:weightSum}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_divider com.example.travel.travel:divider}</code></td><td>Specifies the drawable used for item dividers.</td></tr> * <tr><td><code>{@link #LinearLayoutCompat_dividerPadding com.example.travel.travel:dividerPadding}</code></td><td>Size of padding on either end of a divider.</td></tr> * <tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild com.example.travel.travel:measureWithLargestChild}</code></td><td>When set to true, all children with a weight will be considered having * the minimum size of the largest child.</td></tr> * <tr><td><code>{@link #LinearLayoutCompat_showDividers com.example.travel.travel:showDividers}</code></td><td>Setting for which dividers to show.</td></tr> * </table> * @see #LinearLayoutCompat_android_gravity * @see #LinearLayoutCompat_android_orientation * @see #LinearLayoutCompat_android_baselineAligned * @see #LinearLayoutCompat_android_baselineAlignedChildIndex * @see #LinearLayoutCompat_android_weightSum * @see #LinearLayoutCompat_divider * @see #LinearLayoutCompat_dividerPadding * @see #LinearLayoutCompat_measureWithLargestChild * @see #LinearLayoutCompat_showDividers */ public static final int[] LinearLayoutCompat={ 0x010100af, 0x010100c4, 0x01010126, 0x01010127, 0x01010128, 0x7f02006b, 0x7f02006d, 0x7f0200de, 0x7f0200ff }; /** * <p>This symbol is the offset where the {@link android.R.attr#gravity} * attribute's value can be found in the {@link #LinearLayoutCompat} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>50</td><td></td></tr> * <tr><td>center</td><td>11</td><td></td></tr> * <tr><td>center_horizontal</td><td>1</td><td></td></tr> * <tr><td>center_vertical</td><td>10</td><td></td></tr> * <tr><td>clip_horizontal</td><td>8</td><td></td></tr> * <tr><td>clip_vertical</td><td>80</td><td></td></tr> * <tr><td>end</td><td>800005</td><td></td></tr> * <tr><td>fill</td><td>77</td><td></td></tr> * <tr><td>fill_horizontal</td><td>7</td><td></td></tr> * <tr><td>fill_vertical</td><td>70</td><td></td></tr> * <tr><td>left</td><td>3</td><td></td></tr> * <tr><td>right</td><td>5</td><td></td></tr> * <tr><td>start</td><td>800003</td><td></td></tr> * <tr><td>top</td><td>30</td><td></td></tr> * </table> * * @attr name android:gravity */ public static final int LinearLayoutCompat_android_gravity=0; /** * <p> * @attr description * Should the layout be a column or a row? Use "horizontal" * for a row, "vertical" for a column. The default is * horizontal. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>horizontal</td><td>0</td><td></td></tr> * <tr><td>vertical</td><td>1</td><td></td></tr> * </table> * * @attr name android:orientation */ public static final int LinearLayoutCompat_android_orientation=1; /** * <p> * @attr description * When set to false, prevents the layout from aligning its children's * baselines. This attribute is particularly useful when the children * use different values for gravity. The default value is true. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:baselineAligned */ public static final int LinearLayoutCompat_android_baselineAligned=2; /** * <p> * @attr description * When a linear layout is part of another layout that is baseline * aligned, it can specify which of its children to baseline align to * (that is, which child TextView). * * <p>May be an integer value, such as "<code>100</code>". * * @attr name android:baselineAlignedChildIndex */ public static final int LinearLayoutCompat_android_baselineAlignedChildIndex=3; /** * <p> * @attr description * Defines the maximum weight sum. If unspecified, the sum is computed * by adding the layout_weight of all of the children. This can be * used for instance to give a single child 50% of the total available * space by giving it a layout_weight of 0.5 and setting the weightSum * to 1.0. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:weightSum */ public static final int LinearLayoutCompat_android_weightSum=4; /** * <p> * @attr description * Drawable to use as a vertical divider between buttons. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:divider */ public static final int LinearLayoutCompat_divider=5; /** * <p> * @attr description * Size of padding on either end of a divider. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:dividerPadding */ public static final int LinearLayoutCompat_dividerPadding=6; /** * <p> * @attr description * When set to true, all children with a weight will be considered having * the minimum size of the largest child. If false, all children are * measured normally. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:measureWithLargestChild */ public static final int LinearLayoutCompat_measureWithLargestChild=7; /** * <p> * @attr description * Setting for which dividers to show. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>beginning</td><td>1</td><td></td></tr> * <tr><td>end</td><td>4</td><td></td></tr> * <tr><td>middle</td><td>2</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:showDividers */ public static final int LinearLayoutCompat_showDividers=8; /** * Attributes that can be used with a LinearLayoutCompat_Layout. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_width android:layout_width}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_height android:layout_height}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_weight android:layout_weight}</code></td><td></td></tr> * </table> * @see #LinearLayoutCompat_Layout_android_layout_gravity * @see #LinearLayoutCompat_Layout_android_layout_width * @see #LinearLayoutCompat_Layout_android_layout_height * @see #LinearLayoutCompat_Layout_android_layout_weight */ public static final int[] LinearLayoutCompat_Layout={ 0x010100b3, 0x010100f4, 0x010100f5, 0x01010181 }; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_gravity} * attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>50</td><td></td></tr> * <tr><td>center</td><td>11</td><td></td></tr> * <tr><td>center_horizontal</td><td>1</td><td></td></tr> * <tr><td>center_vertical</td><td>10</td><td></td></tr> * <tr><td>clip_horizontal</td><td>8</td><td></td></tr> * <tr><td>clip_vertical</td><td>80</td><td></td></tr> * <tr><td>end</td><td>800005</td><td></td></tr> * <tr><td>fill</td><td>77</td><td></td></tr> * <tr><td>fill_horizontal</td><td>7</td><td></td></tr> * <tr><td>fill_vertical</td><td>70</td><td></td></tr> * <tr><td>left</td><td>3</td><td></td></tr> * <tr><td>right</td><td>5</td><td></td></tr> * <tr><td>start</td><td>800003</td><td></td></tr> * <tr><td>top</td><td>30</td><td></td></tr> * </table> * * @attr name android:layout_gravity */ public static final int LinearLayoutCompat_Layout_android_layout_gravity=0; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_width} * attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>fill_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>match_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>wrap_content</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name android:layout_width */ public static final int LinearLayoutCompat_Layout_android_layout_width=1; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_height} * attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>fill_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>match_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>wrap_content</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name android:layout_height */ public static final int LinearLayoutCompat_Layout_android_layout_height=2; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_weight} * attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:layout_weight */ public static final int LinearLayoutCompat_Layout_android_layout_weight=3; /** * Attributes that can be used with a ListPopupWindow. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ListPopupWindow_android_dropDownHorizontalOffset android:dropDownHorizontalOffset}</code></td><td></td></tr> * <tr><td><code>{@link #ListPopupWindow_android_dropDownVerticalOffset android:dropDownVerticalOffset}</code></td><td></td></tr> * </table> * @see #ListPopupWindow_android_dropDownHorizontalOffset * @see #ListPopupWindow_android_dropDownVerticalOffset */ public static final int[] ListPopupWindow={ 0x010102ac, 0x010102ad }; /** * <p> * @attr description * Amount of pixels by which the drop down should be offset horizontally. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:dropDownHorizontalOffset */ public static final int ListPopupWindow_android_dropDownHorizontalOffset=0; /** * <p> * @attr description * Amount of pixels by which the drop down should be offset vertically. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:dropDownVerticalOffset */ public static final int ListPopupWindow_android_dropDownVerticalOffset=1; /** * Attributes that can be used with a MenuGroup. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #MenuGroup_android_enabled android:enabled}</code></td><td></td></tr> * <tr><td><code>{@link #MenuGroup_android_id android:id}</code></td><td></td></tr> * <tr><td><code>{@link #MenuGroup_android_visible android:visible}</code></td><td></td></tr> * <tr><td><code>{@link #MenuGroup_android_menuCategory android:menuCategory}</code></td><td></td></tr> * <tr><td><code>{@link #MenuGroup_android_orderInCategory android:orderInCategory}</code></td><td></td></tr> * <tr><td><code>{@link #MenuGroup_android_checkableBehavior android:checkableBehavior}</code></td><td></td></tr> * </table> * @see #MenuGroup_android_enabled * @see #MenuGroup_android_id * @see #MenuGroup_android_visible * @see #MenuGroup_android_menuCategory * @see #MenuGroup_android_orderInCategory * @see #MenuGroup_android_checkableBehavior */ public static final int[] MenuGroup={ 0x0101000e, 0x010100d0, 0x01010194, 0x010101de, 0x010101df, 0x010101e0 }; /** * <p> * @attr description * Whether the items are enabled. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:enabled */ public static final int MenuGroup_android_enabled=0; /** * <p> * @attr description * The ID of the group. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:id */ public static final int MenuGroup_android_id=1; /** * <p> * @attr description * Whether the items are shown/visible. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:visible */ public static final int MenuGroup_android_visible=2; /** * <p> * @attr description * The category applied to all items within this group. * (This will be or'ed with the orderInCategory attribute.) * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>alternative</td><td>40000</td><td></td></tr> * <tr><td>container</td><td>10000</td><td></td></tr> * <tr><td>secondary</td><td>30000</td><td></td></tr> * <tr><td>system</td><td>20000</td><td></td></tr> * </table> * * @attr name android:menuCategory */ public static final int MenuGroup_android_menuCategory=3; /** * <p> * @attr description * The order within the category applied to all items within this group. * (This will be or'ed with the category attribute.) * * <p>May be an integer value, such as "<code>100</code>". * * @attr name android:orderInCategory */ public static final int MenuGroup_android_orderInCategory=4; /** * <p> * @attr description * Whether the items are capable of displaying a check mark. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>all</td><td>1</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>single</td><td>2</td><td></td></tr> * </table> * * @attr name android:checkableBehavior */ public static final int MenuGroup_android_checkableBehavior=5; /** * Attributes that can be used with a MenuItem. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #MenuItem_android_icon android:icon}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_enabled android:enabled}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_id android:id}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_checked android:checked}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_visible android:visible}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_menuCategory android:menuCategory}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_orderInCategory android:orderInCategory}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_title android:title}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_titleCondensed android:titleCondensed}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_alphabeticShortcut android:alphabeticShortcut}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_numericShortcut android:numericShortcut}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_checkable android:checkable}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_onClick android:onClick}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_actionLayout com.example.travel.travel:actionLayout}</code></td><td>An optional layout to be used as an action view.</td></tr> * <tr><td><code>{@link #MenuItem_actionProviderClass com.example.travel.travel:actionProviderClass}</code></td><td>The name of an optional ActionProvider class to instantiate an action view * and perform operations such as default action for that menu item.</td></tr> * <tr><td><code>{@link #MenuItem_actionViewClass com.example.travel.travel:actionViewClass}</code></td><td>The name of an optional View class to instantiate and use as an * action view.</td></tr> * <tr><td><code>{@link #MenuItem_alphabeticModifiers com.example.travel.travel:alphabeticModifiers}</code></td><td>The alphabetic modifier key.</td></tr> * <tr><td><code>{@link #MenuItem_contentDescription com.example.travel.travel:contentDescription}</code></td><td>The content description associated with the item.</td></tr> * <tr><td><code>{@link #MenuItem_iconTint com.example.travel.travel:iconTint}</code></td><td>Tint to apply to the icon.</td></tr> * <tr><td><code>{@link #MenuItem_iconTintMode com.example.travel.travel:iconTintMode}</code></td><td>Blending mode used to apply the icon tint.</td></tr> * <tr><td><code>{@link #MenuItem_numericModifiers com.example.travel.travel:numericModifiers}</code></td><td>The numeric modifier key.</td></tr> * <tr><td><code>{@link #MenuItem_showAsAction com.example.travel.travel:showAsAction}</code></td><td>How this item should display in the Action Bar, if present.</td></tr> * <tr><td><code>{@link #MenuItem_tooltipText com.example.travel.travel:tooltipText}</code></td><td>The tooltip text associated with the item.</td></tr> * </table> * @see #MenuItem_android_icon * @see #MenuItem_android_enabled * @see #MenuItem_android_id * @see #MenuItem_android_checked * @see #MenuItem_android_visible * @see #MenuItem_android_menuCategory * @see #MenuItem_android_orderInCategory * @see #MenuItem_android_title * @see #MenuItem_android_titleCondensed * @see #MenuItem_android_alphabeticShortcut * @see #MenuItem_android_numericShortcut * @see #MenuItem_android_checkable * @see #MenuItem_android_onClick * @see #MenuItem_actionLayout * @see #MenuItem_actionProviderClass * @see #MenuItem_actionViewClass * @see #MenuItem_alphabeticModifiers * @see #MenuItem_contentDescription * @see #MenuItem_iconTint * @see #MenuItem_iconTintMode * @see #MenuItem_numericModifiers * @see #MenuItem_showAsAction * @see #MenuItem_tooltipText */ public static final int[] MenuItem={ 0x01010002, 0x0101000e, 0x010100d0, 0x01010106, 0x01010194, 0x010101de, 0x010101df, 0x010101e1, 0x010101e2, 0x010101e3, 0x010101e4, 0x010101e5, 0x0101026f, 0x7f02000d, 0x7f02001f, 0x7f020020, 0x7f020028, 0x7f02005c, 0x7f02008c, 0x7f02008d, 0x7f0200e3, 0x7f0200fe, 0x7f020138 }; /** * <p> * @attr description * The icon associated with this item. This icon will not always be shown, so * the title should be sufficient in describing this item. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:icon */ public static final int MenuItem_android_icon=0; /** * <p> * @attr description * Whether the item is enabled. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:enabled */ public static final int MenuItem_android_enabled=1; /** * <p> * @attr description * The ID of the item. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:id */ public static final int MenuItem_android_id=2; /** * <p> * @attr description * Whether the item is checked. Note that you must first have enabled checking with * the checkable attribute or else the check mark will not appear. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:checked */ public static final int MenuItem_android_checked=3; /** * <p> * @attr description * Whether the item is shown/visible. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:visible */ public static final int MenuItem_android_visible=4; /** * <p> * @attr description * The category applied to the item. * (This will be or'ed with the orderInCategory attribute.) * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>alternative</td><td>40000</td><td></td></tr> * <tr><td>container</td><td>10000</td><td></td></tr> * <tr><td>secondary</td><td>30000</td><td></td></tr> * <tr><td>system</td><td>20000</td><td></td></tr> * </table> * * @attr name android:menuCategory */ public static final int MenuItem_android_menuCategory=5; /** * <p> * @attr description * The order within the category applied to the item. * (This will be or'ed with the category attribute.) * * <p>May be an integer value, such as "<code>100</code>". * * @attr name android:orderInCategory */ public static final int MenuItem_android_orderInCategory=6; /** * <p> * @attr description * The title associated with the item. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:title */ public static final int MenuItem_android_title=7; /** * <p> * @attr description * The condensed title associated with the item. This is used in situations where the * normal title may be too long to be displayed. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:titleCondensed */ public static final int MenuItem_android_titleCondensed=8; /** * <p> * @attr description * The alphabetic shortcut key. This is the shortcut when using a keyboard * with alphabetic keys. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:alphabeticShortcut */ public static final int MenuItem_android_alphabeticShortcut=9; /** * <p> * @attr description * The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) * keyboard. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:numericShortcut */ public static final int MenuItem_android_numericShortcut=10; /** * <p> * @attr description * Whether the item is capable of displaying a check mark. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:checkable */ public static final int MenuItem_android_checkable=11; /** * <p> * @attr description * Name of a method on the Context used to inflate the menu that will be * called when the item is clicked. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:onClick */ public static final int MenuItem_android_onClick=12; /** * <p> * @attr description * An optional layout to be used as an action view. * See {@link android.view.MenuItem#setActionView(android.view.View)} * for more info. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:actionLayout */ public static final int MenuItem_actionLayout=13; /** * <p> * @attr description * The name of an optional ActionProvider class to instantiate an action view * and perform operations such as default action for that menu item. * See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} * for more info. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:actionProviderClass */ public static final int MenuItem_actionProviderClass=14; /** * <p> * @attr description * The name of an optional View class to instantiate and use as an * action view. See {@link android.view.MenuItem#setActionView(android.view.View)} * for more info. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:actionViewClass */ public static final int MenuItem_actionViewClass=15; /** * <p> * @attr description * The alphabetic modifier key. This is the modifier when using a keyboard * with alphabetic keys. The values should be kept in sync with KeyEvent * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>ALT</td><td>2</td><td></td></tr> * <tr><td>CTRL</td><td>1000</td><td></td></tr> * <tr><td>FUNCTION</td><td>8</td><td></td></tr> * <tr><td>META</td><td>10000</td><td></td></tr> * <tr><td>SHIFT</td><td>1</td><td></td></tr> * <tr><td>SYM</td><td>4</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:alphabeticModifiers */ public static final int MenuItem_alphabeticModifiers=16; /** * <p> * @attr description * The content description associated with the item. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:contentDescription */ public static final int MenuItem_contentDescription=17; /** * <p> * @attr description * Tint to apply to the icon. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:iconTint */ public static final int MenuItem_iconTint=18; /** * <p> * @attr description * Blending mode used to apply the icon tint. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and icon color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the icon with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the icon, but with the icon’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the icon. The icon’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the icon. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> * * @attr name com.example.travel.travel:iconTintMode */ public static final int MenuItem_iconTintMode=19; /** * <p> * @attr description * The numeric modifier key. This is the modifier when using a numeric (e.g., 12-key) * keyboard. The values should be kept in sync with KeyEvent * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>ALT</td><td>2</td><td></td></tr> * <tr><td>CTRL</td><td>1000</td><td></td></tr> * <tr><td>FUNCTION</td><td>8</td><td></td></tr> * <tr><td>META</td><td>10000</td><td></td></tr> * <tr><td>SHIFT</td><td>1</td><td></td></tr> * <tr><td>SYM</td><td>4</td><td></td></tr> * </table> * * @attr name com.example.travel.travel:numericModifiers */ public static final int MenuItem_numericModifiers=20; /** * <p> * @attr description * How this item should display in the Action Bar, if present. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>always</td><td>2</td><td>Always show this item in an actionbar, even if it would override * the system's limits of how much stuff to put there. This may make * your action bar look bad on some screens. In most cases you should * use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never".</td></tr> * <tr><td>collapseActionView</td><td>8</td><td>This item's action view collapses to a normal menu * item. When expanded, the action view takes over a * larger segment of its container.</td></tr> * <tr><td>ifRoom</td><td>1</td><td>Show this item in an action bar if there is room for it as determined * by the system. Favor this option over "always" where possible. * Mutually exclusive with "never" and "always".</td></tr> * <tr><td>never</td><td>0</td><td>Never show this item in an action bar, show it in the overflow menu instead. * Mutually exclusive with "ifRoom" and "always".</td></tr> * <tr><td>withText</td><td>4</td><td>When this item is shown as an action in the action bar, show a text * label with it even if it has an icon representation.</td></tr> * </table> * * @attr name com.example.travel.travel:showAsAction */ public static final int MenuItem_showAsAction=21; /** * <p> * @attr description * The tooltip text associated with the item. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:tooltipText */ public static final int MenuItem_tooltipText=22; /** * Attributes that can be used with a MenuView. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #MenuView_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_android_itemTextAppearance android:itemTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_android_horizontalDivider android:horizontalDivider}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_android_verticalDivider android:verticalDivider}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_android_headerBackground android:headerBackground}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_android_itemBackground android:itemBackground}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_android_itemIconDisabledAlpha android:itemIconDisabledAlpha}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_preserveIconSpacing com.example.travel.travel:preserveIconSpacing}</code></td><td>Whether space should be reserved in layout when an icon is missing.</td></tr> * <tr><td><code>{@link #MenuView_subMenuArrow com.example.travel.travel:subMenuArrow}</code></td><td>Drawable for the arrow icon indicating a particular item is a submenu.</td></tr> * </table> * @see #MenuView_android_windowAnimationStyle * @see #MenuView_android_itemTextAppearance * @see #MenuView_android_horizontalDivider * @see #MenuView_android_verticalDivider * @see #MenuView_android_headerBackground * @see #MenuView_android_itemBackground * @see #MenuView_android_itemIconDisabledAlpha * @see #MenuView_preserveIconSpacing * @see #MenuView_subMenuArrow */ public static final int[] MenuView={ 0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e, 0x0101012f, 0x01010130, 0x01010131, 0x7f0200ef, 0x7f02010a }; /** * <p> * @attr description * Default animations for the menu. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:windowAnimationStyle */ public static final int MenuView_android_windowAnimationStyle=0; /** * <p> * @attr description * Default appearance of menu item text. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:itemTextAppearance */ public static final int MenuView_android_itemTextAppearance=1; /** * <p> * @attr description * Default horizontal divider between rows of menu items. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:horizontalDivider */ public static final int MenuView_android_horizontalDivider=2; /** * <p> * @attr description * Default vertical divider between menu items. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:verticalDivider */ public static final int MenuView_android_verticalDivider=3; /** * <p> * @attr description * Default background for the menu header. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:headerBackground */ public static final int MenuView_android_headerBackground=4; /** * <p> * @attr description * Default background for each menu item. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:itemBackground */ public static final int MenuView_android_itemBackground=5; /** * <p> * @attr description * Default disabled icon alpha for each menu item that shows an icon. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:itemIconDisabledAlpha */ public static final int MenuView_android_itemIconDisabledAlpha=6; /** * <p> * @attr description * Whether space should be reserved in layout when an icon is missing. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:preserveIconSpacing */ public static final int MenuView_preserveIconSpacing=7; /** * <p> * @attr description * Drawable for the arrow icon indicating a particular item is a submenu. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:subMenuArrow */ public static final int MenuView_subMenuArrow=8; /** * Attributes that can be used with a PopupWindow. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #PopupWindow_android_popupBackground android:popupBackground}</code></td><td></td></tr> * <tr><td><code>{@link #PopupWindow_android_popupAnimationStyle android:popupAnimationStyle}</code></td><td></td></tr> * <tr><td><code>{@link #PopupWindow_overlapAnchor com.example.travel.travel:overlapAnchor}</code></td><td>Whether the popup window should overlap its anchor view.</td></tr> * </table> * @see #PopupWindow_android_popupBackground * @see #PopupWindow_android_popupAnimationStyle * @see #PopupWindow_overlapAnchor */ public static final int[] PopupWindow={ 0x01010176, 0x010102c9, 0x7f0200e4 }; /** * <p>This symbol is the offset where the {@link android.R.attr#popupBackground} * attribute's value can be found in the {@link #PopupWindow} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:popupBackground */ public static final int PopupWindow_android_popupBackground=0; /** * <p>This symbol is the offset where the {@link android.R.attr#popupAnimationStyle} * attribute's value can be found in the {@link #PopupWindow} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:popupAnimationStyle */ public static final int PopupWindow_android_popupAnimationStyle=1; /** * <p> * @attr description * Whether the popup window should overlap its anchor view. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:overlapAnchor */ public static final int PopupWindow_overlapAnchor=2; /** * Attributes that can be used with a PopupWindowBackgroundState. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #PopupWindowBackgroundState_state_above_anchor com.example.travel.travel:state_above_anchor}</code></td><td>State identifier indicating the popup will be above the anchor.</td></tr> * </table> * @see #PopupWindowBackgroundState_state_above_anchor */ public static final int[] PopupWindowBackgroundState={ 0x7f020108 }; /** * <p> * @attr description * State identifier indicating the popup will be above the anchor. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:state_above_anchor */ public static final int PopupWindowBackgroundState_state_above_anchor=0; /** * Attributes that can be used with a RecycleListView. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #RecycleListView_paddingBottomNoButtons com.example.travel.travel:paddingBottomNoButtons}</code></td><td>Bottom padding to use when no buttons are present.</td></tr> * <tr><td><code>{@link #RecycleListView_paddingTopNoTitle com.example.travel.travel:paddingTopNoTitle}</code></td><td>Top padding to use when no title is present.</td></tr> * </table> * @see #RecycleListView_paddingBottomNoButtons * @see #RecycleListView_paddingTopNoTitle */ public static final int[] RecycleListView={ 0x7f0200e5, 0x7f0200e8 }; /** * <p> * @attr description * Bottom padding to use when no buttons are present. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:paddingBottomNoButtons */ public static final int RecycleListView_paddingBottomNoButtons=0; /** * <p> * @attr description * Top padding to use when no title is present. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:paddingTopNoTitle */ public static final int RecycleListView_paddingTopNoTitle=1; /** * Attributes that can be used with a SearchView. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #SearchView_android_focusable android:focusable}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_android_maxWidth android:maxWidth}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_android_inputType android:inputType}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_android_imeOptions android:imeOptions}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_closeIcon com.example.travel.travel:closeIcon}</code></td><td>Close button icon</td></tr> * <tr><td><code>{@link #SearchView_commitIcon com.example.travel.travel:commitIcon}</code></td><td>Commit icon shown in the query suggestion row</td></tr> * <tr><td><code>{@link #SearchView_defaultQueryHint com.example.travel.travel:defaultQueryHint}</code></td><td>Default query hint used when {@code queryHint} is undefined and * the search view's {@code SearchableInfo} does not provide a hint.</td></tr> * <tr><td><code>{@link #SearchView_goIcon com.example.travel.travel:goIcon}</code></td><td>Go button icon</td></tr> * <tr><td><code>{@link #SearchView_iconifiedByDefault com.example.travel.travel:iconifiedByDefault}</code></td><td>The default state of the SearchView.</td></tr> * <tr><td><code>{@link #SearchView_layout com.example.travel.travel:layout}</code></td><td>The layout to use for the search view.</td></tr> * <tr><td><code>{@link #SearchView_queryBackground com.example.travel.travel:queryBackground}</code></td><td>Background for the section containing the search query</td></tr> * <tr><td><code>{@link #SearchView_queryHint com.example.travel.travel:queryHint}</code></td><td>An optional user-defined query hint string to be displayed in the empty query field.</td></tr> * <tr><td><code>{@link #SearchView_searchHintIcon com.example.travel.travel:searchHintIcon}</code></td><td>Search icon displayed as a text field hint</td></tr> * <tr><td><code>{@link #SearchView_searchIcon com.example.travel.travel:searchIcon}</code></td><td>Search icon</td></tr> * <tr><td><code>{@link #SearchView_submitBackground com.example.travel.travel:submitBackground}</code></td><td>Background for the section containing the action (e.g.</td></tr> * <tr><td><code>{@link #SearchView_suggestionRowLayout com.example.travel.travel:suggestionRowLayout}</code></td><td>Layout for query suggestion rows</td></tr> * <tr><td><code>{@link #SearchView_voiceIcon com.example.travel.travel:voiceIcon}</code></td><td>Voice button icon</td></tr> * </table> * @see #SearchView_android_focusable * @see #SearchView_android_maxWidth * @see #SearchView_android_inputType * @see #SearchView_android_imeOptions * @see #SearchView_closeIcon * @see #SearchView_commitIcon * @see #SearchView_defaultQueryHint * @see #SearchView_goIcon * @see #SearchView_iconifiedByDefault * @see #SearchView_layout * @see #SearchView_queryBackground * @see #SearchView_queryHint * @see #SearchView_searchHintIcon * @see #SearchView_searchIcon * @see #SearchView_submitBackground * @see #SearchView_suggestionRowLayout * @see #SearchView_voiceIcon */ public static final int[] SearchView={ 0x010100da, 0x0101011f, 0x01010220, 0x01010264, 0x7f020049, 0x7f020058, 0x7f020066, 0x7f020086, 0x7f02008e, 0x7f020096, 0x7f0200f2, 0x7f0200f3, 0x7f0200f8, 0x7f0200f9, 0x7f02010b, 0x7f020110, 0x7f02013e }; /** * <p>This symbol is the offset where the {@link android.R.attr#focusable} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>auto</td><td>10</td><td></td></tr> * </table> * * @attr name android:focusable */ public static final int SearchView_android_focusable=0; /** * <p> * @attr description * An optional maximum width of the SearchView. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:maxWidth */ public static final int SearchView_android_maxWidth=1; /** * <p> * @attr description * The input type to set on the query text field. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>date</td><td>14</td><td></td></tr> * <tr><td>datetime</td><td>4</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>number</td><td>2</td><td></td></tr> * <tr><td>numberDecimal</td><td>2002</td><td></td></tr> * <tr><td>numberPassword</td><td>12</td><td></td></tr> * <tr><td>numberSigned</td><td>1002</td><td></td></tr> * <tr><td>phone</td><td>3</td><td></td></tr> * <tr><td>text</td><td>1</td><td></td></tr> * <tr><td>textAutoComplete</td><td>10001</td><td></td></tr> * <tr><td>textAutoCorrect</td><td>8001</td><td></td></tr> * <tr><td>textCapCharacters</td><td>1001</td><td></td></tr> * <tr><td>textCapSentences</td><td>4001</td><td></td></tr> * <tr><td>textCapWords</td><td>2001</td><td></td></tr> * <tr><td>textEmailAddress</td><td>21</td><td></td></tr> * <tr><td>textEmailSubject</td><td>31</td><td></td></tr> * <tr><td>textFilter</td><td>b1</td><td></td></tr> * <tr><td>textImeMultiLine</td><td>40001</td><td></td></tr> * <tr><td>textLongMessage</td><td>51</td><td></td></tr> * <tr><td>textMultiLine</td><td>20001</td><td></td></tr> * <tr><td>textNoSuggestions</td><td>80001</td><td></td></tr> * <tr><td>textPassword</td><td>81</td><td></td></tr> * <tr><td>textPersonName</td><td>61</td><td></td></tr> * <tr><td>textPhonetic</td><td>c1</td><td></td></tr> * <tr><td>textPostalAddress</td><td>71</td><td></td></tr> * <tr><td>textShortMessage</td><td>41</td><td></td></tr> * <tr><td>textUri</td><td>11</td><td></td></tr> * <tr><td>textVisiblePassword</td><td>91</td><td></td></tr> * <tr><td>textWebEditText</td><td>a1</td><td></td></tr> * <tr><td>textWebEmailAddress</td><td>d1</td><td></td></tr> * <tr><td>textWebPassword</td><td>e1</td><td></td></tr> * <tr><td>time</td><td>24</td><td></td></tr> * </table> * * @attr name android:inputType */ public static final int SearchView_android_inputType=2; /** * <p> * @attr description * The IME options to set on the query text field. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>actionDone</td><td>6</td><td></td></tr> * <tr><td>actionGo</td><td>2</td><td></td></tr> * <tr><td>actionNext</td><td>5</td><td></td></tr> * <tr><td>actionNone</td><td>1</td><td></td></tr> * <tr><td>actionPrevious</td><td>7</td><td></td></tr> * <tr><td>actionSearch</td><td>3</td><td></td></tr> * <tr><td>actionSend</td><td>4</td><td></td></tr> * <tr><td>actionUnspecified</td><td>0</td><td></td></tr> * <tr><td>flagForceAscii</td><td>80000000</td><td></td></tr> * <tr><td>flagNavigateNext</td><td>8000000</td><td></td></tr> * <tr><td>flagNavigatePrevious</td><td>4000000</td><td></td></tr> * <tr><td>flagNoAccessoryAction</td><td>20000000</td><td></td></tr> * <tr><td>flagNoEnterAction</td><td>40000000</td><td></td></tr> * <tr><td>flagNoExtractUi</td><td>10000000</td><td></td></tr> * <tr><td>flagNoFullscreen</td><td>2000000</td><td></td></tr> * <tr><td>flagNoPersonalizedLearning</td><td>1000000</td><td></td></tr> * <tr><td>normal</td><td>0</td><td></td></tr> * </table> * * @attr name android:imeOptions */ public static final int SearchView_android_imeOptions=3; /** * <p> * @attr description * Close button icon * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:closeIcon */ public static final int SearchView_closeIcon=4; /** * <p> * @attr description * Commit icon shown in the query suggestion row * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:commitIcon */ public static final int SearchView_commitIcon=5; /** * <p> * @attr description * Default query hint used when {@code queryHint} is undefined and * the search view's {@code SearchableInfo} does not provide a hint. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:defaultQueryHint */ public static final int SearchView_defaultQueryHint=6; /** * <p> * @attr description * Go button icon * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:goIcon */ public static final int SearchView_goIcon=7; /** * <p> * @attr description * The default state of the SearchView. If true, it will be iconified when not in * use and expanded when clicked. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:iconifiedByDefault */ public static final int SearchView_iconifiedByDefault=8; /** * <p> * @attr description * The layout to use for the search view. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:layout */ public static final int SearchView_layout=9; /** * <p> * @attr description * Background for the section containing the search query * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:queryBackground */ public static final int SearchView_queryBackground=10; /** * <p> * @attr description * An optional user-defined query hint string to be displayed in the empty query field. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:queryHint */ public static final int SearchView_queryHint=11; /** * <p> * @attr description * Search icon displayed as a text field hint * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:searchHintIcon */ public static final int SearchView_searchHintIcon=12; /** * <p> * @attr description * Search icon * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:searchIcon */ public static final int SearchView_searchIcon=13; /** * <p> * @attr description * Background for the section containing the action (e.g. voice search) * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:submitBackground */ public static final int SearchView_submitBackground=14; /** * <p> * @attr description * Layout for query suggestion rows * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:suggestionRowLayout */ public static final int SearchView_suggestionRowLayout=15; /** * <p> * @attr description * Voice button icon * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:voiceIcon */ public static final int SearchView_voiceIcon=16; /** * Attributes that can be used with a Spinner. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #Spinner_android_entries android:entries}</code></td><td></td></tr> * <tr><td><code>{@link #Spinner_android_popupBackground android:popupBackground}</code></td><td></td></tr> * <tr><td><code>{@link #Spinner_android_prompt android:prompt}</code></td><td></td></tr> * <tr><td><code>{@link #Spinner_android_dropDownWidth android:dropDownWidth}</code></td><td></td></tr> * <tr><td><code>{@link #Spinner_popupTheme com.example.travel.travel:popupTheme}</code></td><td>Reference to a theme that should be used to inflate popups * shown by widgets in the action bar.</td></tr> * </table> * @see #Spinner_android_entries * @see #Spinner_android_popupBackground * @see #Spinner_android_prompt * @see #Spinner_android_dropDownWidth * @see #Spinner_popupTheme */ public static final int[] Spinner={ 0x010100b2, 0x01010176, 0x0101017b, 0x01010262, 0x7f0200ed }; /** * <p> * @attr description * Reference to an array resource that will populate the Spinner. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:entries */ public static final int Spinner_android_entries=0; /** * <p> * @attr description * Background drawable to use for the dropdown in spinnerMode="dropdown". * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:popupBackground */ public static final int Spinner_android_popupBackground=1; /** * <p> * @attr description * The prompt to display when the spinner's dialog is shown. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:prompt */ public static final int Spinner_android_prompt=2; /** * <p> * @attr description * Width of the dropdown in spinnerMode="dropdown". * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>fill_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>match_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>wrap_content</td><td>fffffffe</td><td></td></tr> * </table> * * @attr name android:dropDownWidth */ public static final int Spinner_android_dropDownWidth=3; /** * <p> * @attr description * Theme to use for the drop-down or dialog popup window. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:popupTheme */ public static final int Spinner_popupTheme=4; /** * Attributes that can be used with a StateListDrawable. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #StateListDrawable_android_dither android:dither}</code></td><td></td></tr> * <tr><td><code>{@link #StateListDrawable_android_visible android:visible}</code></td><td></td></tr> * <tr><td><code>{@link #StateListDrawable_android_variablePadding android:variablePadding}</code></td><td></td></tr> * <tr><td><code>{@link #StateListDrawable_android_constantSize android:constantSize}</code></td><td></td></tr> * <tr><td><code>{@link #StateListDrawable_android_enterFadeDuration android:enterFadeDuration}</code></td><td></td></tr> * <tr><td><code>{@link #StateListDrawable_android_exitFadeDuration android:exitFadeDuration}</code></td><td></td></tr> * </table> * @see #StateListDrawable_android_dither * @see #StateListDrawable_android_visible * @see #StateListDrawable_android_variablePadding * @see #StateListDrawable_android_constantSize * @see #StateListDrawable_android_enterFadeDuration * @see #StateListDrawable_android_exitFadeDuration */ public static final int[] StateListDrawable={ 0x0101011c, 0x01010194, 0x01010195, 0x01010196, 0x0101030c, 0x0101030d }; /** * <p> * @attr description * Enables or disables dithering of the bitmap if the bitmap does not have the * same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with * an RGB 565 screen). * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:dither */ public static final int StateListDrawable_android_dither=0; /** * <p> * @attr description * Indicates whether the drawable should be initially visible. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:visible */ public static final int StateListDrawable_android_visible=1; /** * <p> * @attr description * If true, allows the drawable's padding to change based on the * current state that is selected. If false, the padding will * stay the same (based on the maximum padding of all the states). * Enabling this feature requires that the owner of the drawable * deal with performing layout when the state changes, which is * often not supported. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:variablePadding */ public static final int StateListDrawable_android_variablePadding=2; /** * <p> * @attr description * If true, the drawable's reported internal size will remain * constant as the state changes; the size is the maximum of all * of the states. If false, the size will vary based on the * current state. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:constantSize */ public static final int StateListDrawable_android_constantSize=3; /** * <p> * @attr description * Amount of time (in milliseconds) to fade in a new state drawable. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name android:enterFadeDuration */ public static final int StateListDrawable_android_enterFadeDuration=4; /** * <p> * @attr description * Amount of time (in milliseconds) to fade out an old state drawable. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name android:exitFadeDuration */ public static final int StateListDrawable_android_exitFadeDuration=5; /** * Attributes that can be used with a StateListDrawableItem. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #StateListDrawableItem_android_drawable android:drawable}</code></td><td></td></tr> * </table> * @see #StateListDrawableItem_android_drawable */ public static final int[] StateListDrawableItem={ 0x01010199 }; /** * <p> * @attr description * Reference to a drawable resource to use for the state. If not * given, the drawable must be defined by the first child tag. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:drawable */ public static final int StateListDrawableItem_android_drawable=0; /** * Attributes that can be used with a SwitchCompat. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #SwitchCompat_android_textOn android:textOn}</code></td><td></td></tr> * <tr><td><code>{@link #SwitchCompat_android_textOff android:textOff}</code></td><td></td></tr> * <tr><td><code>{@link #SwitchCompat_android_thumb android:thumb}</code></td><td></td></tr> * <tr><td><code>{@link #SwitchCompat_showText com.example.travel.travel:showText}</code></td><td>Whether to draw on/off text.</td></tr> * <tr><td><code>{@link #SwitchCompat_splitTrack com.example.travel.travel:splitTrack}</code></td><td>Whether to split the track and leave a gap for the thumb drawable.</td></tr> * <tr><td><code>{@link #SwitchCompat_switchMinWidth com.example.travel.travel:switchMinWidth}</code></td><td>Minimum width for the switch component</td></tr> * <tr><td><code>{@link #SwitchCompat_switchPadding com.example.travel.travel:switchPadding}</code></td><td>Minimum space between the switch and caption text</td></tr> * <tr><td><code>{@link #SwitchCompat_switchTextAppearance com.example.travel.travel:switchTextAppearance}</code></td><td>TextAppearance style for text displayed on the switch thumb.</td></tr> * <tr><td><code>{@link #SwitchCompat_thumbTextPadding com.example.travel.travel:thumbTextPadding}</code></td><td>Amount of padding on either side of text within the switch thumb.</td></tr> * <tr><td><code>{@link #SwitchCompat_thumbTint com.example.travel.travel:thumbTint}</code></td><td>Tint to apply to the thumb drawable.</td></tr> * <tr><td><code>{@link #SwitchCompat_thumbTintMode com.example.travel.travel:thumbTintMode}</code></td><td>Blending mode used to apply the thumb tint.</td></tr> * <tr><td><code>{@link #SwitchCompat_track com.example.travel.travel:track}</code></td><td>Drawable to use as the "track" that the switch thumb slides within.</td></tr> * <tr><td><code>{@link #SwitchCompat_trackTint com.example.travel.travel:trackTint}</code></td><td>Tint to apply to the track.</td></tr> * <tr><td><code>{@link #SwitchCompat_trackTintMode com.example.travel.travel:trackTintMode}</code></td><td>Blending mode used to apply the track tint.</td></tr> * </table> * @see #SwitchCompat_android_textOn * @see #SwitchCompat_android_textOff * @see #SwitchCompat_android_thumb * @see #SwitchCompat_showText * @see #SwitchCompat_splitTrack * @see #SwitchCompat_switchMinWidth * @see #SwitchCompat_switchPadding * @see #SwitchCompat_switchTextAppearance * @see #SwitchCompat_thumbTextPadding * @see #SwitchCompat_thumbTint * @see #SwitchCompat_thumbTintMode * @see #SwitchCompat_track * @see #SwitchCompat_trackTint * @see #SwitchCompat_trackTintMode */ public static final int[] SwitchCompat={ 0x01010124, 0x01010125, 0x01010142, 0x7f020100, 0x7f020106, 0x7f020111, 0x7f020112, 0x7f020114, 0x7f020122, 0x7f020123, 0x7f020124, 0x7f020139, 0x7f02013a, 0x7f02013b }; /** * <p> * @attr description * Text to use when the switch is in the checked/"on" state. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:textOn */ public static final int SwitchCompat_android_textOn=0; /** * <p> * @attr description * Text to use when the switch is in the unchecked/"off" state. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:textOff */ public static final int SwitchCompat_android_textOff=1; /** * <p> * @attr description * Drawable to use as the "thumb" that switches back and forth. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:thumb */ public static final int SwitchCompat_android_thumb=2; /** * <p> * @attr description * Whether to draw on/off text. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:showText */ public static final int SwitchCompat_showText=3; /** * <p> * @attr description * Whether to split the track and leave a gap for the thumb drawable. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:splitTrack */ public static final int SwitchCompat_splitTrack=4; /** * <p> * @attr description * Minimum width for the switch component * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:switchMinWidth */ public static final int SwitchCompat_switchMinWidth=5; /** * <p> * @attr description * Minimum space between the switch and caption text * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:switchPadding */ public static final int SwitchCompat_switchPadding=6; /** * <p> * @attr description * TextAppearance style for text displayed on the switch thumb. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:switchTextAppearance */ public static final int SwitchCompat_switchTextAppearance=7; /** * <p> * @attr description * Amount of padding on either side of text within the switch thumb. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:thumbTextPadding */ public static final int SwitchCompat_thumbTextPadding=8; /** * <p> * @attr description * Tint to apply to the thumb drawable. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:thumbTint */ public static final int SwitchCompat_thumbTint=9; /** * <p> * @attr description * Blending mode used to apply the thumb tint. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and drawable color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the drawable with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the drawable, but with the drawable’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the drawable. The drawable’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the drawable. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> * * @attr name com.example.travel.travel:thumbTintMode */ public static final int SwitchCompat_thumbTintMode=10; /** * <p> * @attr description * Drawable to use as the "track" that the switch thumb slides within. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:track */ public static final int SwitchCompat_track=11; /** * <p> * @attr description * Tint to apply to the track. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:trackTint */ public static final int SwitchCompat_trackTint=12; /** * <p> * @attr description * Blending mode used to apply the track tint. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and drawable color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the drawable with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the drawable, but with the drawable’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the drawable. The drawable’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the drawable. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> * * @attr name com.example.travel.travel:trackTintMode */ public static final int SwitchCompat_trackTintMode=13; /** * Attributes that can be used with a TextAppearance. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #TextAppearance_android_textSize android:textSize}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_typeface android:typeface}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_textStyle android:textStyle}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_textColor android:textColor}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_textColorHint android:textColorHint}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_textColorLink android:textColorLink}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_shadowColor android:shadowColor}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_shadowDx android:shadowDx}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_shadowDy android:shadowDy}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_shadowRadius android:shadowRadius}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_fontFamily android:fontFamily}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_fontFamily com.example.travel.travel:fontFamily}</code></td><td>The attribute for the font family.</td></tr> * <tr><td><code>{@link #TextAppearance_textAllCaps com.example.travel.travel:textAllCaps}</code></td><td>Present the text in ALL CAPS.</td></tr> * </table> * @see #TextAppearance_android_textSize * @see #TextAppearance_android_typeface * @see #TextAppearance_android_textStyle * @see #TextAppearance_android_textColor * @see #TextAppearance_android_textColorHint * @see #TextAppearance_android_textColorLink * @see #TextAppearance_android_shadowColor * @see #TextAppearance_android_shadowDx * @see #TextAppearance_android_shadowDy * @see #TextAppearance_android_shadowRadius * @see #TextAppearance_android_fontFamily * @see #TextAppearance_fontFamily * @see #TextAppearance_textAllCaps */ public static final int[] TextAppearance={ 0x01010095, 0x01010096, 0x01010097, 0x01010098, 0x0101009a, 0x0101009b, 0x01010161, 0x01010162, 0x01010163, 0x01010164, 0x010103ac, 0x7f02007b, 0x7f020115 }; /** * <p>This symbol is the offset where the {@link android.R.attr#textSize} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:textSize */ public static final int TextAppearance_android_textSize=0; /** * <p>This symbol is the offset where the {@link android.R.attr#typeface} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>monospace</td><td>3</td><td></td></tr> * <tr><td>normal</td><td>0</td><td></td></tr> * <tr><td>sans</td><td>1</td><td></td></tr> * <tr><td>serif</td><td>2</td><td></td></tr> * </table> * * @attr name android:typeface */ public static final int TextAppearance_android_typeface=1; /** * <p>This symbol is the offset where the {@link android.R.attr#textStyle} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bold</td><td>1</td><td></td></tr> * <tr><td>italic</td><td>2</td><td></td></tr> * <tr><td>normal</td><td>0</td><td></td></tr> * </table> * * @attr name android:textStyle */ public static final int TextAppearance_android_textStyle=2; /** * <p>This symbol is the offset where the {@link android.R.attr#textColor} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:textColor */ public static final int TextAppearance_android_textColor=3; /** * <p>This symbol is the offset where the {@link android.R.attr#textColorHint} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:textColorHint */ public static final int TextAppearance_android_textColorHint=4; /** * <p>This symbol is the offset where the {@link android.R.attr#textColorLink} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:textColorLink */ public static final int TextAppearance_android_textColorLink=5; /** * <p>This symbol is the offset where the {@link android.R.attr#shadowColor} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:shadowColor */ public static final int TextAppearance_android_shadowColor=6; /** * <p>This symbol is the offset where the {@link android.R.attr#shadowDx} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:shadowDx */ public static final int TextAppearance_android_shadowDx=7; /** * <p>This symbol is the offset where the {@link android.R.attr#shadowDy} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:shadowDy */ public static final int TextAppearance_android_shadowDy=8; /** * <p>This symbol is the offset where the {@link android.R.attr#shadowRadius} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:shadowRadius */ public static final int TextAppearance_android_shadowRadius=9; /** * <p>This symbol is the offset where the {@link android.R.attr#fontFamily} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:fontFamily */ public static final int TextAppearance_android_fontFamily=10; /** * <p> * @attr description * The attribute for the font family. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:fontFamily */ public static final int TextAppearance_fontFamily=11; /** * <p> * @attr description * Present the text in ALL CAPS. This may use a small-caps form when available. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.travel.travel:textAllCaps */ public static final int TextAppearance_textAllCaps=12; /** * Attributes that can be used with a Toolbar. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #Toolbar_android_gravity android:gravity}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_android_minHeight android:minHeight}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_buttonGravity com.example.travel.travel:buttonGravity}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_collapseContentDescription com.example.travel.travel:collapseContentDescription}</code></td><td>Text to set as the content description for the collapse button.</td></tr> * <tr><td><code>{@link #Toolbar_collapseIcon com.example.travel.travel:collapseIcon}</code></td><td>Icon drawable to use for the collapse button.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetEnd com.example.travel.travel:contentInsetEnd}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetEndWithActions com.example.travel.travel:contentInsetEndWithActions}</code></td><td>Minimum inset for content views within a bar when actions from a menu * are present.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetLeft com.example.travel.travel:contentInsetLeft}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetRight com.example.travel.travel:contentInsetRight}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetStart com.example.travel.travel:contentInsetStart}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetStartWithNavigation com.example.travel.travel:contentInsetStartWithNavigation}</code></td><td>Minimum inset for content views within a bar when a navigation button * is present, such as the Up button.</td></tr> * <tr><td><code>{@link #Toolbar_logo com.example.travel.travel:logo}</code></td><td>Specifies the drawable used for the application logo.</td></tr> * <tr><td><code>{@link #Toolbar_logoDescription com.example.travel.travel:logoDescription}</code></td><td>A content description string to describe the appearance of the * associated logo image.</td></tr> * <tr><td><code>{@link #Toolbar_maxButtonHeight com.example.travel.travel:maxButtonHeight}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_navigationContentDescription com.example.travel.travel:navigationContentDescription}</code></td><td>Text to set as the content description for the navigation button * located at the start of the toolbar.</td></tr> * <tr><td><code>{@link #Toolbar_navigationIcon com.example.travel.travel:navigationIcon}</code></td><td>Icon drawable to use for the navigation button located at * the start of the toolbar.</td></tr> * <tr><td><code>{@link #Toolbar_popupTheme com.example.travel.travel:popupTheme}</code></td><td>Reference to a theme that should be used to inflate popups * shown by widgets in the action bar.</td></tr> * <tr><td><code>{@link #Toolbar_subtitle com.example.travel.travel:subtitle}</code></td><td>Specifies subtitle text used for navigationMode="normal"</td></tr> * <tr><td><code>{@link #Toolbar_subtitleTextAppearance com.example.travel.travel:subtitleTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_subtitleTextColor com.example.travel.travel:subtitleTextColor}</code></td><td>A color to apply to the subtitle string.</td></tr> * <tr><td><code>{@link #Toolbar_title com.example.travel.travel:title}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleMargin com.example.travel.travel:titleMargin}</code></td><td>Specifies extra space on the left, start, right and end sides * of the toolbar's title.</td></tr> * <tr><td><code>{@link #Toolbar_titleMarginBottom com.example.travel.travel:titleMarginBottom}</code></td><td>Specifies extra space on the bottom side of the toolbar's title.</td></tr> * <tr><td><code>{@link #Toolbar_titleMarginEnd com.example.travel.travel:titleMarginEnd}</code></td><td>Specifies extra space on the end side of the toolbar's title.</td></tr> * <tr><td><code>{@link #Toolbar_titleMarginStart com.example.travel.travel:titleMarginStart}</code></td><td>Specifies extra space on the start side of the toolbar's title.</td></tr> * <tr><td><code>{@link #Toolbar_titleMarginTop com.example.travel.travel:titleMarginTop}</code></td><td>Specifies extra space on the top side of the toolbar's title.</td></tr> * <tr><td><code>{@link #Toolbar_titleMargins com.example.travel.travel:titleMargins}</code></td><td>{@deprecated Use titleMargin}</td></tr> * <tr><td><code>{@link #Toolbar_titleTextAppearance com.example.travel.travel:titleTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleTextColor com.example.travel.travel:titleTextColor}</code></td><td>A color to apply to the title string.</td></tr> * </table> * @see #Toolbar_android_gravity * @see #Toolbar_android_minHeight * @see #Toolbar_buttonGravity * @see #Toolbar_collapseContentDescription * @see #Toolbar_collapseIcon * @see #Toolbar_contentInsetEnd * @see #Toolbar_contentInsetEndWithActions * @see #Toolbar_contentInsetLeft * @see #Toolbar_contentInsetRight * @see #Toolbar_contentInsetStart * @see #Toolbar_contentInsetStartWithNavigation * @see #Toolbar_logo * @see #Toolbar_logoDescription * @see #Toolbar_maxButtonHeight * @see #Toolbar_navigationContentDescription * @see #Toolbar_navigationIcon * @see #Toolbar_popupTheme * @see #Toolbar_subtitle * @see #Toolbar_subtitleTextAppearance * @see #Toolbar_subtitleTextColor * @see #Toolbar_title * @see #Toolbar_titleMargin * @see #Toolbar_titleMarginBottom * @see #Toolbar_titleMarginEnd * @see #Toolbar_titleMarginStart * @see #Toolbar_titleMarginTop * @see #Toolbar_titleMargins * @see #Toolbar_titleTextAppearance * @see #Toolbar_titleTextColor */ @Deprecated public static final int[] Toolbar={ 0x010100af, 0x01010140, 0x7f02003f, 0x7f02004b, 0x7f02004c, 0x7f02005d, 0x7f02005e, 0x7f02005f, 0x7f020060, 0x7f020061, 0x7f020062, 0x7f0200db, 0x7f0200dc, 0x7f0200dd, 0x7f0200e0, 0x7f0200e1, 0x7f0200ed, 0x7f02010c, 0x7f02010d, 0x7f02010e, 0x7f02012a, 0x7f02012b, 0x7f02012c, 0x7f02012d, 0x7f02012e, 0x7f02012f, 0x7f020130, 0x7f020131, 0x7f020132 }; /** * <p>This symbol is the offset where the {@link android.R.attr#gravity} * attribute's value can be found in the {@link #Toolbar} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>50</td><td></td></tr> * <tr><td>center</td><td>11</td><td></td></tr> * <tr><td>center_horizontal</td><td>1</td><td></td></tr> * <tr><td>center_vertical</td><td>10</td><td></td></tr> * <tr><td>clip_horizontal</td><td>8</td><td></td></tr> * <tr><td>clip_vertical</td><td>80</td><td></td></tr> * <tr><td>end</td><td>800005</td><td></td></tr> * <tr><td>fill</td><td>77</td><td></td></tr> * <tr><td>fill_horizontal</td><td>7</td><td></td></tr> * <tr><td>fill_vertical</td><td>70</td><td></td></tr> * <tr><td>left</td><td>3</td><td></td></tr> * <tr><td>right</td><td>5</td><td></td></tr> * <tr><td>start</td><td>800003</td><td></td></tr> * <tr><td>top</td><td>30</td><td></td></tr> * </table> * * @attr name android:gravity */ public static final int Toolbar_android_gravity=0; /** * <p>This symbol is the offset where the {@link android.R.attr#minHeight} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:minHeight */ public static final int Toolbar_android_minHeight=1; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#buttonGravity} * attribute's value can be found in the {@link #Toolbar} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>bottom</td><td>50</td><td>Push object to the bottom of its container, not changing its size.</td></tr> * <tr><td>top</td><td>30</td><td>Push object to the top of its container, not changing its size.</td></tr> * </table> * * @attr name com.example.travel.travel:buttonGravity */ public static final int Toolbar_buttonGravity=2; /** * <p> * @attr description * Text to set as the content description for the collapse button. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:collapseContentDescription */ public static final int Toolbar_collapseContentDescription=3; /** * <p> * @attr description * Icon drawable to use for the collapse button. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:collapseIcon */ public static final int Toolbar_collapseIcon=4; /** * <p> * @attr description * Minimum inset for content views within a bar. Navigation buttons and * menu views are excepted. Only valid for some themes and configurations. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:contentInsetEnd */ public static final int Toolbar_contentInsetEnd=5; /** * <p> * @attr description * Minimum inset for content views within a bar when actions from a menu * are present. Only valid for some themes and configurations. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:contentInsetEndWithActions */ public static final int Toolbar_contentInsetEndWithActions=6; /** * <p> * @attr description * Minimum inset for content views within a bar. Navigation buttons and * menu views are excepted. Only valid for some themes and configurations. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:contentInsetLeft */ public static final int Toolbar_contentInsetLeft=7; /** * <p> * @attr description * Minimum inset for content views within a bar. Navigation buttons and * menu views are excepted. Only valid for some themes and configurations. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:contentInsetRight */ public static final int Toolbar_contentInsetRight=8; /** * <p> * @attr description * Minimum inset for content views within a bar. Navigation buttons and * menu views are excepted. Only valid for some themes and configurations. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:contentInsetStart */ public static final int Toolbar_contentInsetStart=9; /** * <p> * @attr description * Minimum inset for content views within a bar when a navigation button * is present, such as the Up button. Only valid for some themes and configurations. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:contentInsetStartWithNavigation */ public static final int Toolbar_contentInsetStartWithNavigation=10; /** * <p> * @attr description * Drawable to set as the logo that appears at the starting side of * the Toolbar, just after the navigation button. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:logo */ public static final int Toolbar_logo=11; /** * <p> * @attr description * A content description string to describe the appearance of the * associated logo image. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:logoDescription */ public static final int Toolbar_logoDescription=12; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#maxButtonHeight} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:maxButtonHeight */ public static final int Toolbar_maxButtonHeight=13; /** * <p> * @attr description * Text to set as the content description for the navigation button * located at the start of the toolbar. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:navigationContentDescription */ public static final int Toolbar_navigationContentDescription=14; /** * <p> * @attr description * Icon drawable to use for the navigation button located at * the start of the toolbar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:navigationIcon */ public static final int Toolbar_navigationIcon=15; /** * <p> * @attr description * Reference to a theme that should be used to inflate popups * shown by widgets in the toolbar. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:popupTheme */ public static final int Toolbar_popupTheme=16; /** * <p> * @attr description * Specifies subtitle text used for navigationMode="normal" * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:subtitle */ public static final int Toolbar_subtitle=17; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#subtitleTextAppearance} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:subtitleTextAppearance */ public static final int Toolbar_subtitleTextAppearance=18; /** * <p> * @attr description * A color to apply to the subtitle string. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:subtitleTextColor */ public static final int Toolbar_subtitleTextColor=19; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#title} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.travel.travel:title */ public static final int Toolbar_title=20; /** * <p> * @attr description * Specifies extra space on the left, start, right and end sides * of the toolbar's title. Margin values should be positive. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:titleMargin */ public static final int Toolbar_titleMargin=21; /** * <p> * @attr description * Specifies extra space on the bottom side of the toolbar's title. * If both this attribute and titleMargin are specified, then this * attribute takes precedence. Margin values should be positive. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:titleMarginBottom */ public static final int Toolbar_titleMarginBottom=22; /** * <p> * @attr description * Specifies extra space on the end side of the toolbar's title. * If both this attribute and titleMargin are specified, then this * attribute takes precedence. Margin values should be positive. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:titleMarginEnd */ public static final int Toolbar_titleMarginEnd=23; /** * <p> * @attr description * Specifies extra space on the start side of the toolbar's title. * If both this attribute and titleMargin are specified, then this * attribute takes precedence. Margin values should be positive. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:titleMarginStart */ public static final int Toolbar_titleMarginStart=24; /** * <p> * @attr description * Specifies extra space on the top side of the toolbar's title. * If both this attribute and titleMargin are specified, then this * attribute takes precedence. Margin values should be positive. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:titleMarginTop */ public static final int Toolbar_titleMarginTop=25; /** * <p> * @attr description * {@deprecated Use titleMargin} * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:titleMargins */ @Deprecated public static final int Toolbar_titleMargins=26; /** * <p>This symbol is the offset where the {@link com.example.travel.travel.R.attr#titleTextAppearance} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:titleTextAppearance */ public static final int Toolbar_titleTextAppearance=27; /** * <p> * @attr description * A color to apply to the title string. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:titleTextColor */ public static final int Toolbar_titleTextColor=28; /** * Attributes that can be used with a View. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #View_android_theme android:theme}</code></td><td></td></tr> * <tr><td><code>{@link #View_android_focusable android:focusable}</code></td><td></td></tr> * <tr><td><code>{@link #View_paddingEnd com.example.travel.travel:paddingEnd}</code></td><td>Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}.</td></tr> * <tr><td><code>{@link #View_paddingStart com.example.travel.travel:paddingStart}</code></td><td>Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}.</td></tr> * <tr><td><code>{@link #View_theme com.example.travel.travel:theme}</code></td><td>Deprecated.</td></tr> * </table> * @see #View_android_theme * @see #View_android_focusable * @see #View_paddingEnd * @see #View_paddingStart * @see #View_theme */ public static final int[] View={ 0x01010000, 0x010100da, 0x7f0200e6, 0x7f0200e7, 0x7f020120 }; /** * <p> * @attr description * Specifies a theme override for a view. When a theme override is set, the * view will be inflated using a {@link android.content.Context} themed with * the specified resource. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:theme */ public static final int View_android_theme=0; /** * <p> * @attr description * Boolean that controls whether a view can take focus. By default the user can not * move focus to a view; by setting this attribute to true the view is * allowed to take focus. This value does not impact the behavior of * directly calling {@link android.view.View#requestFocus}, which will * always request focus regardless of this view. It only impacts where * focus navigation will try to move focus. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>auto</td><td>10</td><td></td></tr> * </table> * * @attr name android:focusable */ public static final int View_android_focusable=1; /** * <p> * @attr description * Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:paddingEnd */ public static final int View_paddingEnd=2; /** * <p> * @attr description * Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.travel.travel:paddingStart */ public static final int View_paddingStart=3; /** * <p> * @attr description * Deprecated. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.travel.travel:theme */ public static final int View_theme=4; /** * Attributes that can be used with a ViewBackgroundHelper. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ViewBackgroundHelper_android_background android:background}</code></td><td></td></tr> * <tr><td><code>{@link #ViewBackgroundHelper_backgroundTint com.example.travel.travel:backgroundTint}</code></td><td>Tint to apply to the background.</td></tr> * <tr><td><code>{@link #ViewBackgroundHelper_backgroundTintMode com.example.travel.travel:backgroundTintMode}</code></td><td>Blending mode used to apply the background tint.</td></tr> * </table> * @see #ViewBackgroundHelper_android_background * @see #ViewBackgroundHelper_backgroundTint * @see #ViewBackgroundHelper_backgroundTintMode */ public static final int[] ViewBackgroundHelper={ 0x010100d4, 0x7f020034, 0x7f020035 }; /** * <p>This symbol is the offset where the {@link android.R.attr#background} * attribute's value can be found in the {@link #ViewBackgroundHelper} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:background */ public static final int ViewBackgroundHelper_android_background=0; /** * <p> * @attr description * Tint to apply to the background. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.travel.travel:backgroundTint */ public static final int ViewBackgroundHelper_backgroundTint=1; /** * <p> * @attr description * Blending mode used to apply the background tint. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>add</td><td>10</td><td>Combines the tint and icon color and alpha channels, clamping the * result to valid color values. Saturate(S + D)</td></tr> * <tr><td>multiply</td><td>e</td><td>Multiplies the color and alpha channels of the drawable with those of * the tint. [Sa * Da, Sc * Dc]</td></tr> * <tr><td>screen</td><td>f</td><td>[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]</td></tr> * <tr><td>src_atop</td><td>9</td><td>The tint is drawn above the drawable, but with the drawable’s alpha * channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc]</td></tr> * <tr><td>src_in</td><td>5</td><td>The tint is masked by the alpha channel of the drawable. The drawable’s * color channels are thrown out. [Sa * Da, Sc * Da]</td></tr> * <tr><td>src_over</td><td>3</td><td>The tint is drawn on top of the drawable. * [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]</td></tr> * </table> * * @attr name com.example.travel.travel:backgroundTintMode */ public static final int ViewBackgroundHelper_backgroundTintMode=2; /** * Attributes that can be used with a ViewStubCompat. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ViewStubCompat_android_id android:id}</code></td><td></td></tr> * <tr><td><code>{@link #ViewStubCompat_android_layout android:layout}</code></td><td></td></tr> * <tr><td><code>{@link #ViewStubCompat_android_inflatedId android:inflatedId}</code></td><td></td></tr> * </table> * @see #ViewStubCompat_android_id * @see #ViewStubCompat_android_layout * @see #ViewStubCompat_android_inflatedId */ public static final int[] ViewStubCompat={ 0x010100d0, 0x010100f2, 0x010100f3 }; /** * <p>This symbol is the offset where the {@link android.R.attr#id} * attribute's value can be found in the {@link #ViewStubCompat} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:id */ public static final int ViewStubCompat_android_id=0; /** * <p> * @attr description * Supply an identifier for the layout resource to inflate when the ViewStub * becomes visible or when forced to do so. The layout resource must be a * valid reference to a layout. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:layout */ public static final int ViewStubCompat_android_layout=1; /** * <p> * @attr description * Overrides the id of the inflated View with this value. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:inflatedId */ public static final int ViewStubCompat_android_inflatedId=2; } }
[ "samankachi@gmail.com" ]
samankachi@gmail.com
930df20cde806be0c2f9a34ee9dcbb74165537cb
a1f40dd970885e90dc163509c3fcec53103e7f23
/spring-context/src/test/java/org/springframework/context/annotation/ConfigurationClassPostProcessorTests.java
7e44baba65c4b91c800a7095e7760a17b39be28a
[]
no_license
melodyshu/spring-framework
e36faf804ea72cf987f49310e1a1299a1a56bec6
b8d5821eb6981291f6097473a19c60cad2aa953d
refs/heads/master
2020-09-25T23:22:52.344917
2019-12-03T16:38:26
2019-12-03T16:38:26
null
0
0
null
null
null
null
UTF-8
Java
false
false
40,247
java
/* * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.context.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import javax.annotation.PostConstruct; import org.junit.Before; import org.junit.Test; import org.springframework.aop.scope.ScopedObject; import org.springframework.aop.scope.ScopedProxyUtils; import org.springframework.aop.support.AopUtils; import org.springframework.beans.factory.BeanCreationException; import org.springframework.beans.factory.BeanDefinitionStoreException; import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.NoSuchBeanDefinitionException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver; import org.springframework.beans.factory.config.BeanDefinitionHolder; import org.springframework.beans.factory.support.ChildBeanDefinition; import org.springframework.beans.factory.support.DefaultListableBeanFactory; import org.springframework.beans.factory.support.RootBeanDefinition; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.componentscan.simple.SimpleComponent; import org.springframework.core.annotation.Order; import org.springframework.core.env.StandardEnvironment; import org.springframework.core.io.DescriptiveResource; import org.springframework.stereotype.Component; import org.springframework.tests.sample.beans.ITestBean; import org.springframework.tests.sample.beans.TestBean; import org.springframework.util.Assert; import static org.junit.Assert.*; /** * @author Chris Beams * @author Juergen Hoeller * @author Sam Brannen */ public class ConfigurationClassPostProcessorTests { private DefaultListableBeanFactory beanFactory; @Before public void setUp() { DefaultListableBeanFactory bf = new DefaultListableBeanFactory(); QualifierAnnotationAutowireCandidateResolver acr = new QualifierAnnotationAutowireCandidateResolver(); acr.setBeanFactory(bf); bf.setAutowireCandidateResolver(acr); this.beanFactory = bf; } /** * Enhanced {@link Configuration} classes are only necessary for respecting * certain bean semantics, like singleton-scoping, scoped proxies, etc. * <p>Technically, {@link ConfigurationClassPostProcessor} could fail to enhance the * registered Configuration classes and many use cases would still work. * Certain cases, however, like inter-bean singleton references would not. * We test for such a case below, and in doing so prove that enhancement is * working. */ @Test public void enhancementIsPresentBecauseSingletonSemanticsAreRespected() { beanFactory.registerBeanDefinition("config", new RootBeanDefinition(SingletonBeanConfig.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); Foo foo = beanFactory.getBean("foo", Foo.class); Bar bar = beanFactory.getBean("bar", Bar.class); assertSame(foo, bar.foo); } @Test public void configurationIntrospectionOfInnerClassesWorksWithDotNameSyntax() { beanFactory.registerBeanDefinition("config", new RootBeanDefinition(getClass().getName() + ".SingletonBeanConfig")); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); Foo foo = beanFactory.getBean("foo", Foo.class); Bar bar = beanFactory.getBean("bar", Bar.class); assertSame(foo, bar.foo); } /** * Tests the fix for SPR-5655, a special workaround that prefers reflection * over ASM if a bean class is already loaded. */ @Test public void alreadyLoadedConfigurationClasses() { beanFactory.registerBeanDefinition("unloadedConfig", new RootBeanDefinition(UnloadedConfig.class.getName())); beanFactory.registerBeanDefinition("loadedConfig", new RootBeanDefinition(LoadedConfig.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); beanFactory.getBean("foo"); beanFactory.getBean("bar"); } /** * Tests whether a bean definition without a specified bean class is handled * correctly. */ @Test public void postProcessorIntrospectsInheritedDefinitionsCorrectly() { beanFactory.registerBeanDefinition("config", new RootBeanDefinition(SingletonBeanConfig.class)); beanFactory.registerBeanDefinition("parent", new RootBeanDefinition(TestBean.class)); beanFactory.registerBeanDefinition("child", new ChildBeanDefinition("parent")); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); Foo foo = beanFactory.getBean("foo", Foo.class); Bar bar = beanFactory.getBean("bar", Bar.class); assertSame(foo, bar.foo); } @Test public void postProcessorWorksWithComposedConfigurationUsingReflection() { RootBeanDefinition beanDefinition = new RootBeanDefinition(ComposedConfigurationClass.class); assertSupportForComposedAnnotation(beanDefinition); } @Test public void postProcessorWorksWithComposedConfigurationUsingAsm() { RootBeanDefinition beanDefinition = new RootBeanDefinition(ComposedConfigurationClass.class.getName()); assertSupportForComposedAnnotation(beanDefinition); } @Test public void postProcessorWorksWithComposedConfigurationWithAttributeOverrideForBasePackageUsingReflection() { RootBeanDefinition beanDefinition = new RootBeanDefinition( ComposedConfigurationWithAttributeOverrideForBasePackage.class); assertSupportForComposedAnnotation(beanDefinition); } @Test public void postProcessorWorksWithComposedConfigurationWithAttributeOverrideForBasePackageUsingAsm() { RootBeanDefinition beanDefinition = new RootBeanDefinition( ComposedConfigurationWithAttributeOverrideForBasePackage.class.getName()); assertSupportForComposedAnnotation(beanDefinition); } @Test public void postProcessorWorksWithComposedConfigurationWithAttributeOverrideForExcludeFilterUsingReflection() { RootBeanDefinition beanDefinition = new RootBeanDefinition( ComposedConfigurationWithAttributeOverrideForExcludeFilter.class); assertSupportForComposedAnnotationWithExclude(beanDefinition); } @Test public void postProcessorWorksWithComposedConfigurationWithAttributeOverrideForExcludeFilterUsingAsm() { RootBeanDefinition beanDefinition = new RootBeanDefinition( ComposedConfigurationWithAttributeOverrideForExcludeFilter.class.getName()); assertSupportForComposedAnnotationWithExclude(beanDefinition); } @Test public void postProcessorWorksWithComposedComposedConfigurationWithAttributeOverridesUsingReflection() { RootBeanDefinition beanDefinition = new RootBeanDefinition( ComposedComposedConfigurationWithAttributeOverridesClass.class); assertSupportForComposedAnnotation(beanDefinition); } @Test public void postProcessorWorksWithComposedComposedConfigurationWithAttributeOverridesUsingAsm() { RootBeanDefinition beanDefinition = new RootBeanDefinition( ComposedComposedConfigurationWithAttributeOverridesClass.class.getName()); assertSupportForComposedAnnotation(beanDefinition); } @Test public void postProcessorWorksWithMetaComponentScanConfigurationWithAttributeOverridesUsingReflection() { RootBeanDefinition beanDefinition = new RootBeanDefinition( MetaComponentScanConfigurationWithAttributeOverridesClass.class); assertSupportForComposedAnnotation(beanDefinition); } @Test public void postProcessorWorksWithMetaComponentScanConfigurationWithAttributeOverridesUsingAsm() { RootBeanDefinition beanDefinition = new RootBeanDefinition( MetaComponentScanConfigurationWithAttributeOverridesClass.class.getName()); assertSupportForComposedAnnotation(beanDefinition); } @Test public void postProcessorWorksWithMetaComponentScanConfigurationWithAttributeOverridesSubclassUsingReflection() { RootBeanDefinition beanDefinition = new RootBeanDefinition( SubMetaComponentScanConfigurationWithAttributeOverridesClass.class); assertSupportForComposedAnnotation(beanDefinition); } @Test public void postProcessorWorksWithMetaComponentScanConfigurationWithAttributeOverridesSubclassUsingAsm() { RootBeanDefinition beanDefinition = new RootBeanDefinition( SubMetaComponentScanConfigurationWithAttributeOverridesClass.class.getName()); assertSupportForComposedAnnotation(beanDefinition); } private void assertSupportForComposedAnnotation(RootBeanDefinition beanDefinition) { beanFactory.registerBeanDefinition("config", beanDefinition); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.setEnvironment(new StandardEnvironment()); pp.postProcessBeanFactory(beanFactory); SimpleComponent simpleComponent = beanFactory.getBean(SimpleComponent.class); assertNotNull(simpleComponent); } private void assertSupportForComposedAnnotationWithExclude(RootBeanDefinition beanDefinition) { beanFactory.registerBeanDefinition("config", beanDefinition); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.setEnvironment(new StandardEnvironment()); pp.postProcessBeanFactory(beanFactory); try { beanFactory.getBean(SimpleComponent.class); fail("Should have thrown NoSuchBeanDefinitionException"); } catch (NoSuchBeanDefinitionException ex) { // expected } } @Test public void postProcessorOverridesNonApplicationBeanDefinitions() { RootBeanDefinition rbd = new RootBeanDefinition(TestBean.class); rbd.setRole(RootBeanDefinition.ROLE_SUPPORT); beanFactory.registerBeanDefinition("bar", rbd); beanFactory.registerBeanDefinition("config", new RootBeanDefinition(SingletonBeanConfig.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); Foo foo = beanFactory.getBean("foo", Foo.class); Bar bar = beanFactory.getBean("bar", Bar.class); assertSame(foo, bar.foo); } @Test public void postProcessorDoesNotOverrideRegularBeanDefinitions() { RootBeanDefinition rbd = new RootBeanDefinition(TestBean.class); rbd.setResource(new DescriptiveResource("XML or something")); beanFactory.registerBeanDefinition("bar", rbd); beanFactory.registerBeanDefinition("config", new RootBeanDefinition(SingletonBeanConfig.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); beanFactory.getBean("foo", Foo.class); beanFactory.getBean("bar", TestBean.class); } @Test public void postProcessorDoesNotOverrideRegularBeanDefinitionsEvenWithScopedProxy() { RootBeanDefinition rbd = new RootBeanDefinition(TestBean.class); rbd.setResource(new DescriptiveResource("XML or something")); BeanDefinitionHolder proxied = ScopedProxyUtils.createScopedProxy( new BeanDefinitionHolder(rbd, "bar"), beanFactory, true); beanFactory.registerBeanDefinition("bar", proxied.getBeanDefinition()); beanFactory.registerBeanDefinition("config", new RootBeanDefinition(SingletonBeanConfig.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); beanFactory.getBean("foo", Foo.class); beanFactory.getBean("bar", TestBean.class); } @Test public void postProcessorFailsOnImplicitOverrideIfOverridingIsNotAllowed() { RootBeanDefinition rbd = new RootBeanDefinition(TestBean.class); rbd.setResource(new DescriptiveResource("XML or something")); beanFactory.registerBeanDefinition("bar", rbd); beanFactory.registerBeanDefinition("config", new RootBeanDefinition(SingletonBeanConfig.class)); beanFactory.setAllowBeanDefinitionOverriding(false); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); try { pp.postProcessBeanFactory(beanFactory); fail("Should have thrown BeanDefinitionStoreException"); } catch (BeanDefinitionStoreException ex) { assertTrue(ex.getMessage().contains("bar")); assertTrue(ex.getMessage().contains("SingletonBeanConfig")); assertTrue(ex.getMessage().contains(TestBean.class.getName())); } } @Test public void configurationClassesProcessedInCorrectOrder() { beanFactory.registerBeanDefinition("config1", new RootBeanDefinition(OverridingSingletonBeanConfig.class)); beanFactory.registerBeanDefinition("config2", new RootBeanDefinition(SingletonBeanConfig.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); Foo foo = beanFactory.getBean(Foo.class); assertTrue(foo instanceof ExtendedFoo); Bar bar = beanFactory.getBean(Bar.class); assertSame(foo, bar.foo); } @Test public void configurationClassesWithValidOverridingForProgrammaticCall() { beanFactory.registerBeanDefinition("config1", new RootBeanDefinition(OverridingAgainSingletonBeanConfig.class)); beanFactory.registerBeanDefinition("config2", new RootBeanDefinition(OverridingSingletonBeanConfig.class)); beanFactory.registerBeanDefinition("config3", new RootBeanDefinition(SingletonBeanConfig.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); Foo foo = beanFactory.getBean(Foo.class); assertTrue(foo instanceof ExtendedAgainFoo); Bar bar = beanFactory.getBean(Bar.class); assertSame(foo, bar.foo); } @Test public void configurationClassesWithInvalidOverridingForProgrammaticCall() { beanFactory.registerBeanDefinition("config1", new RootBeanDefinition(InvalidOverridingSingletonBeanConfig.class)); beanFactory.registerBeanDefinition("config2", new RootBeanDefinition(OverridingSingletonBeanConfig.class)); beanFactory.registerBeanDefinition("config3", new RootBeanDefinition(SingletonBeanConfig.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); try { beanFactory.getBean(Bar.class); fail("Should have thrown BeanCreationException"); } catch (BeanCreationException ex) { assertTrue(ex.getMessage().contains("OverridingSingletonBeanConfig.foo")); assertTrue(ex.getMessage().contains(ExtendedFoo.class.getName())); assertTrue(ex.getMessage().contains(Foo.class.getName())); assertTrue(ex.getMessage().contains("InvalidOverridingSingletonBeanConfig")); } } @Test public void scopedProxyTargetMarkedAsNonAutowireCandidate() { AutowiredAnnotationBeanPostProcessor bpp = new AutowiredAnnotationBeanPostProcessor(); bpp.setBeanFactory(beanFactory); beanFactory.addBeanPostProcessor(bpp); beanFactory.registerBeanDefinition("config", new RootBeanDefinition(ScopedProxyConfigurationClass.class)); beanFactory.registerBeanDefinition("consumer", new RootBeanDefinition(ScopedProxyConsumer.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); ITestBean injected = beanFactory.getBean("consumer", ScopedProxyConsumer.class).testBean; assertTrue(injected instanceof ScopedObject); assertSame(beanFactory.getBean("scopedClass"), injected); assertSame(beanFactory.getBean(ITestBean.class), injected); } @Test public void processingAllowedOnlyOncePerProcessorRegistryPair() { DefaultListableBeanFactory bf1 = new DefaultListableBeanFactory(); DefaultListableBeanFactory bf2 = new DefaultListableBeanFactory(); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(bf1); // first invocation -- should succeed try { pp.postProcessBeanFactory(bf1); // second invocation for bf1 -- should throw fail("expected exception"); } catch (IllegalStateException ex) { } pp.postProcessBeanFactory(bf2); // first invocation for bf2 -- should succeed try { pp.postProcessBeanFactory(bf2); // second invocation for bf2 -- should throw fail("expected exception"); } catch (IllegalStateException ex) { } } @Test public void genericsBasedInjection() { AutowiredAnnotationBeanPostProcessor bpp = new AutowiredAnnotationBeanPostProcessor(); bpp.setBeanFactory(beanFactory); beanFactory.addBeanPostProcessor(bpp); RootBeanDefinition bd = new RootBeanDefinition(RepositoryInjectionBean.class); bd.setScope(RootBeanDefinition.SCOPE_PROTOTYPE); beanFactory.registerBeanDefinition("annotatedBean", bd); beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(RepositoryConfiguration.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); RepositoryInjectionBean bean = (RepositoryInjectionBean) beanFactory.getBean("annotatedBean"); assertEquals("Repository<String>", bean.stringRepository.toString()); assertEquals("Repository<Integer>", bean.integerRepository.toString()); } @Test public void genericsBasedInjectionWithScoped() { AutowiredAnnotationBeanPostProcessor bpp = new AutowiredAnnotationBeanPostProcessor(); bpp.setBeanFactory(beanFactory); beanFactory.addBeanPostProcessor(bpp); RootBeanDefinition bd = new RootBeanDefinition(RepositoryInjectionBean.class); bd.setScope(RootBeanDefinition.SCOPE_PROTOTYPE); beanFactory.registerBeanDefinition("annotatedBean", bd); beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(ScopedRepositoryConfiguration.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); RepositoryInjectionBean bean = (RepositoryInjectionBean) beanFactory.getBean("annotatedBean"); assertEquals("Repository<String>", bean.stringRepository.toString()); assertEquals("Repository<Integer>", bean.integerRepository.toString()); } @Test public void genericsBasedInjectionWithScopedProxy() { AutowiredAnnotationBeanPostProcessor bpp = new AutowiredAnnotationBeanPostProcessor(); bpp.setBeanFactory(beanFactory); beanFactory.addBeanPostProcessor(bpp); RootBeanDefinition bd = new RootBeanDefinition(RepositoryInjectionBean.class); bd.setScope(RootBeanDefinition.SCOPE_PROTOTYPE); beanFactory.registerBeanDefinition("annotatedBean", bd); beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(ScopedProxyRepositoryConfiguration.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); beanFactory.freezeConfiguration(); RepositoryInjectionBean bean = (RepositoryInjectionBean) beanFactory.getBean("annotatedBean"); assertEquals("Repository<String>", bean.stringRepository.toString()); assertEquals("Repository<Integer>", bean.integerRepository.toString()); assertTrue(AopUtils.isCglibProxy(bean.stringRepository)); assertTrue(AopUtils.isCglibProxy(bean.integerRepository)); } @Test public void genericsBasedInjectionWithScopedProxyUsingAsm() { AutowiredAnnotationBeanPostProcessor bpp = new AutowiredAnnotationBeanPostProcessor(); bpp.setBeanFactory(beanFactory); beanFactory.addBeanPostProcessor(bpp); RootBeanDefinition bd = new RootBeanDefinition(RepositoryInjectionBean.class.getName()); bd.setScope(RootBeanDefinition.SCOPE_PROTOTYPE); beanFactory.registerBeanDefinition("annotatedBean", bd); beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(ScopedProxyRepositoryConfiguration.class.getName())); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); beanFactory.freezeConfiguration(); RepositoryInjectionBean bean = (RepositoryInjectionBean) beanFactory.getBean("annotatedBean"); assertEquals("Repository<String>", bean.stringRepository.toString()); assertEquals("Repository<Integer>", bean.integerRepository.toString()); assertTrue(AopUtils.isCglibProxy(bean.stringRepository)); assertTrue(AopUtils.isCglibProxy(bean.integerRepository)); } @Test public void genericsBasedInjectionWithImplTypeAtInjectionPoint() { AutowiredAnnotationBeanPostProcessor bpp = new AutowiredAnnotationBeanPostProcessor(); bpp.setBeanFactory(beanFactory); beanFactory.addBeanPostProcessor(bpp); RootBeanDefinition bd = new RootBeanDefinition(SpecificRepositoryInjectionBean.class); bd.setScope(RootBeanDefinition.SCOPE_PROTOTYPE); beanFactory.registerBeanDefinition("annotatedBean", bd); beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(SpecificRepositoryConfiguration.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); beanFactory.preInstantiateSingletons(); SpecificRepositoryInjectionBean bean = (SpecificRepositoryInjectionBean) beanFactory.getBean("annotatedBean"); assertSame(beanFactory.getBean("genericRepo"), bean.genericRepository); } @Test public void genericsBasedInjectionWithFactoryBean() { AutowiredAnnotationBeanPostProcessor bpp = new AutowiredAnnotationBeanPostProcessor(); bpp.setBeanFactory(beanFactory); beanFactory.addBeanPostProcessor(bpp); RootBeanDefinition bd = new RootBeanDefinition(RepositoryFactoryBeanInjectionBean.class); bd.setScope(RootBeanDefinition.SCOPE_PROTOTYPE); beanFactory.registerBeanDefinition("annotatedBean", bd); beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(RepositoryFactoryBeanConfiguration.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); beanFactory.preInstantiateSingletons(); RepositoryFactoryBeanInjectionBean bean = (RepositoryFactoryBeanInjectionBean) beanFactory.getBean("annotatedBean"); assertSame(beanFactory.getBean("&repoFactoryBean"), bean.repositoryFactoryBean); assertSame(beanFactory.getBean("&repoFactoryBean"), bean.qualifiedRepositoryFactoryBean); assertSame(beanFactory.getBean("&repoFactoryBean"), bean.prefixQualifiedRepositoryFactoryBean); } @Test public void genericsBasedInjectionWithRawMatch() { beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(RawMatchingConfiguration.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); assertSame(beanFactory.getBean("rawRepo"), beanFactory.getBean("repoConsumer")); } @Test public void genericsBasedInjectionWithWildcardMatch() { beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(WildcardMatchingConfiguration.class)); ConfigurationClassPostProcessor pp = new ConfigurationClassPostProcessor(); pp.postProcessBeanFactory(beanFactory); assertSame(beanFactory.getBean("genericRepo"), beanFactory.getBean("repoConsumer")); } @Test public void genericsBasedInjectionWithWildcardWithExtendsMatch() { beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(WildcardWithExtendsConfiguration.class)); new ConfigurationClassPostProcessor().postProcessBeanFactory(beanFactory); assertSame(beanFactory.getBean("stringRepo"), beanFactory.getBean("repoConsumer")); } @Test public void genericsBasedInjectionWithWildcardWithGenericExtendsMatch() { beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(WildcardWithGenericExtendsConfiguration.class)); new ConfigurationClassPostProcessor().postProcessBeanFactory(beanFactory); assertSame(beanFactory.getBean("genericRepo"), beanFactory.getBean("repoConsumer")); } @Test public void testSelfReferenceExclusionForFactoryMethodOnSameBean() { AutowiredAnnotationBeanPostProcessor bpp = new AutowiredAnnotationBeanPostProcessor(); bpp.setBeanFactory(beanFactory); beanFactory.addBeanPostProcessor(bpp); beanFactory.addBeanPostProcessor(new CommonAnnotationBeanPostProcessor()); beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(ConcreteConfig.class)); beanFactory.registerBeanDefinition("serviceBeanProvider", new RootBeanDefinition(ServiceBeanProvider.class)); new ConfigurationClassPostProcessor().postProcessBeanFactory(beanFactory); beanFactory.preInstantiateSingletons(); beanFactory.getBean(ServiceBean.class); } @Test public void testConfigWithDefaultMethods() { AutowiredAnnotationBeanPostProcessor bpp = new AutowiredAnnotationBeanPostProcessor(); bpp.setBeanFactory(beanFactory); beanFactory.addBeanPostProcessor(bpp); beanFactory.addBeanPostProcessor(new CommonAnnotationBeanPostProcessor()); beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(ConcreteConfigWithDefaultMethods.class)); beanFactory.registerBeanDefinition("serviceBeanProvider", new RootBeanDefinition(ServiceBeanProvider.class)); new ConfigurationClassPostProcessor().postProcessBeanFactory(beanFactory); beanFactory.preInstantiateSingletons(); beanFactory.getBean(ServiceBean.class); } @Test public void testConfigWithDefaultMethodsUsingAsm() { AutowiredAnnotationBeanPostProcessor bpp = new AutowiredAnnotationBeanPostProcessor(); bpp.setBeanFactory(beanFactory); beanFactory.addBeanPostProcessor(bpp); beanFactory.addBeanPostProcessor(new CommonAnnotationBeanPostProcessor()); beanFactory.registerBeanDefinition("configClass", new RootBeanDefinition(ConcreteConfigWithDefaultMethods.class.getName())); beanFactory.registerBeanDefinition("serviceBeanProvider", new RootBeanDefinition(ServiceBeanProvider.class.getName())); new ConfigurationClassPostProcessor().postProcessBeanFactory(beanFactory); beanFactory.preInstantiateSingletons(); beanFactory.getBean(ServiceBean.class); } @Test public void testCircularDependency() { AutowiredAnnotationBeanPostProcessor bpp = new AutowiredAnnotationBeanPostProcessor(); bpp.setBeanFactory(beanFactory); beanFactory.addBeanPostProcessor(bpp); beanFactory.registerBeanDefinition("configClass1", new RootBeanDefinition(A.class)); beanFactory.registerBeanDefinition("configClass2", new RootBeanDefinition(AStrich.class)); new ConfigurationClassPostProcessor().postProcessBeanFactory(beanFactory); try { beanFactory.preInstantiateSingletons(); fail("Should have thrown BeanCreationException"); } catch (BeanCreationException ex) { assertTrue(ex.getMessage().contains("Circular reference")); } } @Test public void testCircularDependencyWithApplicationContext() { try { new AnnotationConfigApplicationContext(A.class, AStrich.class); fail("Should have thrown BeanCreationException"); } catch (BeanCreationException ex) { assertTrue(ex.getMessage().contains("Circular reference")); } } @Test public void testPrototypeArgumentThroughBeanMethodCall() { ApplicationContext ctx = new AnnotationConfigApplicationContext(BeanArgumentConfigWithPrototype.class); ctx.getBean(FooFactory.class).createFoo(new BarArgument()); } @Test public void testSingletonArgumentThroughBeanMethodCall() { ApplicationContext ctx = new AnnotationConfigApplicationContext(BeanArgumentConfigWithSingleton.class); ctx.getBean(FooFactory.class).createFoo(new BarArgument()); } @Test public void testNullArgumentThroughBeanMethodCall() { ApplicationContext ctx = new AnnotationConfigApplicationContext(BeanArgumentConfigWithNull.class); ctx.getBean("aFoo"); } @Test public void testInjectionPointMatchForNarrowTargetReturnType() { ApplicationContext ctx = new AnnotationConfigApplicationContext(FooBarConfiguration.class); assertSame(ctx.getBean(BarImpl.class), ctx.getBean(FooImpl.class).bar); } // ------------------------------------------------------------------------- @Configuration @Order(1) static class SingletonBeanConfig { public @Bean Foo foo() { return new Foo(); } public @Bean Bar bar() { return new Bar(foo()); } } @Configuration @Order(2) static class OverridingSingletonBeanConfig { public @Bean ExtendedFoo foo() { return new ExtendedFoo(); } public @Bean Bar bar() { return new Bar(foo()); } } @Configuration static class OverridingAgainSingletonBeanConfig { public @Bean ExtendedAgainFoo foo() { return new ExtendedAgainFoo(); } } @Configuration static class InvalidOverridingSingletonBeanConfig { public @Bean Foo foo() { return new Foo(); } } static class Foo { } static class ExtendedFoo extends Foo { } static class ExtendedAgainFoo extends ExtendedFoo { } static class Bar { final Foo foo; public Bar(Foo foo) { this.foo = foo; } } @Configuration static class UnloadedConfig { public @Bean Foo foo() { return new Foo(); } } @Configuration static class LoadedConfig { public @Bean Bar bar() { return new Bar(new Foo()); } } public static class ScopedProxyConsumer { @Autowired public ITestBean testBean; } @Configuration public static class ScopedProxyConfigurationClass { @Bean @Lazy @Scope(proxyMode = ScopedProxyMode.INTERFACES) public ITestBean scopedClass() { return new TestBean(); } } public static class Repository<T> { } public static class GenericRepository<T> extends Repository<T> { } public static class RepositoryFactoryBean<T> implements FactoryBean<T> { @Override public T getObject() { throw new IllegalStateException(); } @Override public Class<?> getObjectType() { return Object.class; } @Override public boolean isSingleton() { return false; } } public static class RepositoryInjectionBean { @Autowired public Repository<String> stringRepository; @Autowired public Repository<Integer> integerRepository; } @Configuration public static class RepositoryConfiguration { @Bean public Repository<String> stringRepo() { return new Repository<String>() { @Override public String toString() { return "Repository<String>"; } }; } @Bean public Repository<Integer> integerRepo() { return new Repository<Integer>() { @Override public String toString() { return "Repository<Integer>"; } }; } @Bean public Repository<?> genericRepo() { return new Repository<Object>() { @Override public String toString() { return "Repository<Object>"; } }; } } @Configuration public static class ScopedRepositoryConfiguration { @Bean @Scope("prototype") public Repository<String> stringRepo() { return new Repository<String>() { @Override public String toString() { return "Repository<String>"; } }; } @Bean @Scope("prototype") public Repository<Integer> integerRepo() { return new Repository<Integer>() { @Override public String toString() { return "Repository<Integer>"; } }; } @Bean @Scope("prototype") @SuppressWarnings("rawtypes") public Repository genericRepo() { return new Repository<Object>() { @Override public String toString() { return "Repository<Object>"; } }; } } @Retention(RetentionPolicy.RUNTIME) @Scope(scopeName = "prototype") public @interface PrototypeScoped { ScopedProxyMode proxyMode() default ScopedProxyMode.TARGET_CLASS; } @Configuration public static class ScopedProxyRepositoryConfiguration { @Bean @Scope(scopeName = "prototype", proxyMode = ScopedProxyMode.TARGET_CLASS) public Repository<String> stringRepo() { return new Repository<String>() { @Override public String toString() { return "Repository<String>"; } }; } @Bean @PrototypeScoped public Repository<Integer> integerRepo() { return new Repository<Integer>() { @Override public String toString() { return "Repository<Integer>"; } }; } } public static class SpecificRepositoryInjectionBean { @Autowired public GenericRepository<?> genericRepository; } @Configuration public static class SpecificRepositoryConfiguration { @Bean public Repository<Object> genericRepo() { return new GenericRepository<>(); } } public static class RepositoryFactoryBeanInjectionBean { @Autowired public RepositoryFactoryBean<?> repositoryFactoryBean; @Autowired @Qualifier("repoFactoryBean") public RepositoryFactoryBean<?> qualifiedRepositoryFactoryBean; @Autowired @Qualifier("&repoFactoryBean") public RepositoryFactoryBean<?> prefixQualifiedRepositoryFactoryBean; } @Configuration public static class RepositoryFactoryBeanConfiguration { @Bean public RepositoryFactoryBean<Object> repoFactoryBean() { return new RepositoryFactoryBean<>(); } } @Configuration public static class RawMatchingConfiguration { @Bean @SuppressWarnings("rawtypes") public Repository rawRepo() { return new Repository(); } @Bean public Object repoConsumer(Repository<String> repo) { return repo; } } @Configuration public static class WildcardMatchingConfiguration { @Bean @SuppressWarnings("rawtypes") public Repository<?> genericRepo() { return new Repository(); } @Bean public Object repoConsumer(Repository<String> repo) { return repo; } } @Configuration public static class WildcardWithExtendsConfiguration { @Bean public Repository<? extends String> stringRepo() { return new Repository<>(); } @Bean public Repository<? extends Number> numberRepo() { return new Repository<>(); } @Bean public Object repoConsumer(Repository<? extends String> repo) { return repo; } } @Configuration public static class WildcardWithGenericExtendsConfiguration { @Bean public Repository<? extends Object> genericRepo() { return new Repository<String>(); } @Bean public Repository<? extends Number> numberRepo() { return new Repository<>(); } @Bean public Object repoConsumer(Repository<String> repo) { return repo; } } @Configuration @ComponentScan(basePackages = "org.springframework.context.annotation.componentscan.simple") @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface ComposedConfiguration { } @ComposedConfiguration public static class ComposedConfigurationClass { } @Configuration @ComponentScan @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface ComposedConfigurationWithAttributeOverrides { String[] basePackages() default {}; ComponentScan.Filter[] excludeFilters() default {}; } @ComposedConfigurationWithAttributeOverrides(basePackages = "org.springframework.context.annotation.componentscan.simple") public static class ComposedConfigurationWithAttributeOverrideForBasePackage { } @ComposedConfigurationWithAttributeOverrides(basePackages = "org.springframework.context.annotation.componentscan.simple", excludeFilters = @ComponentScan.Filter(Component.class)) public static class ComposedConfigurationWithAttributeOverrideForExcludeFilter { } @ComposedConfigurationWithAttributeOverrides @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface ComposedComposedConfigurationWithAttributeOverrides { String[] basePackages() default {}; } @ComposedComposedConfigurationWithAttributeOverrides(basePackages = "org.springframework.context.annotation.componentscan.simple") public static class ComposedComposedConfigurationWithAttributeOverridesClass { } @ComponentScan @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface MetaComponentScan { } @MetaComponentScan @Configuration @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface MetaComponentScanConfigurationWithAttributeOverrides { String[] basePackages() default {}; } @MetaComponentScanConfigurationWithAttributeOverrides(basePackages = "org.springframework.context.annotation.componentscan.simple") public static class MetaComponentScanConfigurationWithAttributeOverridesClass { } @Configuration public static class SubMetaComponentScanConfigurationWithAttributeOverridesClass extends MetaComponentScanConfigurationWithAttributeOverridesClass { } public static class ServiceBean { private final String parameter; public ServiceBean(String parameter) { this.parameter = parameter; } public String getParameter() { return parameter; } } @Configuration public static abstract class AbstractConfig { @Bean public ServiceBean serviceBean() { return provider().getServiceBean(); } @Bean public ServiceBeanProvider provider() { return new ServiceBeanProvider(); } } @Configuration public static class ConcreteConfig extends AbstractConfig { @Autowired private ServiceBeanProvider provider; @Bean @Override public ServiceBeanProvider provider() { return provider; } @PostConstruct public void validate() { Assert.notNull(provider); } } public interface BaseInterface { ServiceBean serviceBean(); } public interface BaseDefaultMethods extends BaseInterface { @Bean default ServiceBeanProvider provider() { return new ServiceBeanProvider(); } @Bean @Override default ServiceBean serviceBean() { return provider().getServiceBean(); } } public interface DefaultMethodsConfig extends BaseDefaultMethods { } @Configuration public static class ConcreteConfigWithDefaultMethods implements DefaultMethodsConfig { @Autowired private ServiceBeanProvider provider; @Bean @Override public ServiceBeanProvider provider() { return provider; } @PostConstruct public void validate() { Assert.notNull(provider); } } @Primary public static class ServiceBeanProvider { public ServiceBean getServiceBean() { return new ServiceBean("message"); } } @Configuration public static class A { @Autowired(required = true) Z z; @Bean public B b() { if (z == null) { throw new NullPointerException("z is null"); } return new B(z); } } @Configuration public static class AStrich { @Autowired B b; @Bean public Z z() { return new Z(); } } public static class B { public B(Z z) { } } public static class Z { } @Configuration static class BeanArgumentConfigWithPrototype { @Bean @Scope("prototype") public DependingFoo foo(BarArgument bar) { return new DependingFoo(bar); } @Bean public FooFactory fooFactory() { return new FooFactory() { @Override public DependingFoo createFoo(BarArgument bar) { return foo(bar); } }; } } @Configuration static class BeanArgumentConfigWithSingleton { @Bean @Lazy public DependingFoo foo(BarArgument bar) { return new DependingFoo(bar); } @Bean public FooFactory fooFactory() { return new FooFactory() { @Override public DependingFoo createFoo(BarArgument bar) { return foo(bar); } }; } } @Configuration static class BeanArgumentConfigWithNull { @Bean public DependingFoo aFoo() { return foo(null); } @Bean @Lazy public DependingFoo foo(BarArgument bar) { return new DependingFoo(bar); } @Bean public BarArgument bar() { return new BarArgument(); } } static class BarArgument { } static class DependingFoo { DependingFoo(BarArgument bar) { Assert.notNull(bar); } } static abstract class FooFactory { abstract DependingFoo createFoo(BarArgument bar); } interface BarInterface { } static class BarImpl implements BarInterface { } static class FooImpl { @Autowired public BarImpl bar; } @Configuration static class FooBarConfiguration { @Bean @DependsOn("bar") public FooImpl foo() { return new FooImpl(); } @Bean public BarInterface bar() { return new BarImpl(); } } }
[ "1913210361@qq.com" ]
1913210361@qq.com
5ec6308423ea6536e3cb754ec38adca118f5941a
ff9ce4cfeee031bf852d6f1d59289d850b8a35d6
/CN1CSSCompiler/src/com/codename1/ui/css/CSSTheme.java
164f0681aa2e97338ff9b62b4bc57fdce1b0e3a9
[]
no_license
hrugani/cn1-css
4fea36dfcb7d8ae55e5f9966a1378eb092c0a7a4
a073ad1f8fabf9638ef22492655e88c9b28f3782
refs/heads/master
2020-12-25T12:57:32.252916
2015-09-09T22:58:09
2015-09-09T22:58:09
null
0
0
null
null
null
null
UTF-8
Java
false
false
152,529
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.codename1.ui.css; import com.codename1.io.Util; import com.codename1.ui.Component; import com.codename1.ui.EditorTTFFont; import com.codename1.ui.EncodedImage; import com.codename1.ui.Font; import com.codename1.ui.Image; import com.codename1.ui.plaf.Border; import com.codename1.ui.plaf.Style; import com.codename1.ui.util.EditableResources; import java.io.ByteArrayInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URISyntaxException; import java.net.URL; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import javafx.scene.paint.Color; import javafx.scene.web.WebView; import javax.imageio.ImageIO; import javax.imageio.ImageReader; import javax.imageio.metadata.IIOMetadata; import javax.imageio.metadata.IIOMetadataNode; import javax.imageio.stream.ImageInputStream; import org.w3c.css.sac.AttributeCondition; import org.w3c.css.sac.CSSException; import org.w3c.css.sac.Condition; import org.w3c.css.sac.ConditionalSelector; import org.w3c.css.sac.DocumentHandler; import org.w3c.css.sac.ElementSelector; import org.w3c.css.sac.InputSource; import org.w3c.css.sac.LexicalUnit; import org.w3c.css.sac.Parser; import org.w3c.css.sac.SACMediaList; import org.w3c.css.sac.Selector; import org.w3c.css.sac.SelectorList; import org.w3c.css.sac.SimpleSelector; import org.w3c.css.sac.helpers.ParserFactory; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; import org.w3c.dom.NodeList; /** * * @author shannah */ public class CSSTheme { URL baseURL; File cssFile = new File("test.css"); Element anyNodeStyle = new Element(); Map<String,Element> elements = new HashMap<String,Element>(); EditableResources res; private String themeName = "Theme"; private List<FontFace> fontFaces = new ArrayList<FontFace>(); public static final int DEFAULT_TARGET_DENSITY = com.codename1.ui.Display.DENSITY_VERY_HIGH; private int targetDensity = DEFAULT_TARGET_DENSITY; double px(double val) { switch (targetDensity) { case com.codename1.ui.Display.DENSITY_MEDIUM: return val; // Generate High Resolution MultiImage case com.codename1.ui.Display.DENSITY_HIGH: return val*480.0/320.0; // Generate Very High Resolution MultiImage case com.codename1.ui.Display.DENSITY_VERY_HIGH: return val*2.0; // Generate HD Resolution MultiImage case com.codename1.ui.Display.DENSITY_HD: return val*1080.0/320.0; // Generate HD560 Resolution MultiImage case com.codename1.ui.Display.DENSITY_560: return val*1500.0/320.0; // Generate HD2 Resolution MultiImage case com.codename1.ui.Display.DENSITY_2HD: return val*2000.0/320.0; // Generate 4k Resolution MultiImage case com.codename1.ui.Display.DENSITY_4K: return val*2500.0/320.0; } throw new RuntimeException("Unsupported density"); } public class FontFace { File fontFile; LexicalUnit fontFamily; LexicalUnit src; LexicalUnit fontWeight; LexicalUnit fontStretch; LexicalUnit fontStyle; URL getURL() { try { if (src == null) { return null; } switch (src.getLexicalUnitType()) { case LexicalUnit.SAC_URI: String url = src.getStringValue(); if (url.startsWith("http://") || url.startsWith("https://")) { return new URL(url); } else { return new URL(baseURL, url); } } return null; } catch (Exception ex) { throw new RuntimeException(ex); } } File getFontFile() { if (fontFile == null) { try { URL url = getURL(); if (url == null) { return null; } //File cssFile = new File(url.toURI()); File parentDir = cssFile.getParentFile(); if (url.getProtocol().startsWith("http")) { // If it is remote, check so see if we've already downloaded // the font to the current directory. String fontName = url.getPath(); if (fontName.indexOf("/") != -1) { fontName = fontName.substring(fontName.lastIndexOf("/")+1); } File tmpFontFile = new File(parentDir, fontName); if (tmpFontFile.exists()) { fontFile = tmpFontFile; } else { InputStream is = url.openStream(); FileOutputStream fos = new FileOutputStream(tmpFontFile); Util.copy(is, fos); Util.cleanup(is); Util.cleanup(fos); fontFile = tmpFontFile; } } } catch (Exception ex) { Logger.getLogger(CSSTheme.class.getName()).log(Level.SEVERE, null, ex); throw new RuntimeException(ex); } } return fontFile; } } public FontFace createFontFace() { FontFace f = new FontFace(); fontFaces.add(f); return f; } private class PixelUnit implements LexicalUnit { float val; PixelUnit(float val) { this.val = val; } @Override public short getLexicalUnitType() { return LexicalUnit.SAC_PIXEL; } @Override public LexicalUnit getNextLexicalUnit() { return null; } @Override public LexicalUnit getPreviousLexicalUnit() { return null; } @Override public int getIntegerValue() { return (int)val; } @Override public float getFloatValue() { return val; } @Override public String getDimensionUnitText() { return "px"; } @Override public String getFunctionName() { return null; } @Override public LexicalUnit getParameters() { return null; } @Override public String getStringValue() { return null; } @Override public LexicalUnit getSubValues() { return null; } } String renderAsCSSString(LexicalUnit lu) { if (lu == null) { return ""; } switch (lu.getLexicalUnitType()) { case LexicalUnit.SAC_MILLIMETER: case LexicalUnit.SAC_CENTIMETER: case LexicalUnit.SAC_PIXEL: case LexicalUnit.SAC_POINT: return px(lu.getFloatValue()) + lu.getDimensionUnitText(); case LexicalUnit.SAC_PERCENTAGE: case LexicalUnit.SAC_DEGREE: return lu.getFloatValue() + lu.getDimensionUnitText(); case LexicalUnit.SAC_URI: return "url("+lu.getStringValue()+")"; case LexicalUnit.SAC_FUNCTION: { StringBuilder sb = new StringBuilder(); sb.append(lu.getFunctionName()).append("("); LexicalUnit val = lu.getParameters(); //sb.append(String.valueOf(val)); boolean empty = true; while (val != null) { empty = false; sb.append(renderAsCSSString(val)).append(" "); val = val.getNextLexicalUnit(); } if (!empty) { sb.setLength(sb.length()-1); } sb.append(")"); return sb.toString(); } case LexicalUnit.SAC_OPERATOR_COMMA: return ","; case LexicalUnit.SAC_OPERATOR_SLASH: return "/"; case LexicalUnit.SAC_IDENT: return lu.getStringValue(); case LexicalUnit.SAC_STRING_VALUE: return lu.getStringValue(); case LexicalUnit.SAC_RGBCOLOR: StringBuilder sb = new StringBuilder(); sb.append("rgb("); LexicalUnit val = lu.getParameters(); while (val != null) { sb.append(renderAsCSSString(val)); val = val.getNextLexicalUnit(); } sb.append(")"); return sb.toString(); case LexicalUnit.SAC_INTEGER: return String.valueOf(lu.getIntegerValue()); case LexicalUnit.SAC_REAL: return String.valueOf(lu.getFloatValue()); } throw new RuntimeException("Unsupported lex unit type "+lu.getLexicalUnitType()); } String renderCSSProperty(String property, Map<String, LexicalUnit> styles) { if (property.contains("padding") || property.contains("margin")) { return ""; } if (property.startsWith("cn1-")) { switch (property) { case "cn1-border-bottom-left-radius-x": return "border-radius: "+renderAsCSSString(styles.get("cn1-border-top-left-radius-x")) + " " + renderAsCSSString(styles.get("cn1-border-top-right-radius-x")) + " " + renderAsCSSString(styles.get("cn1-border-bottom-right-radius-x")) + " " + renderAsCSSString(styles.get("cn1-border-bottom-left-radius-x")) + " / " + renderAsCSSString(styles.get("cn1-border-top-left-radius-y")) + " " + renderAsCSSString(styles.get("cn1-border-top-right-radius-y")) + " " + renderAsCSSString(styles.get("cn1-border-bottom-right-radius-y")) + " " + renderAsCSSString(styles.get("cn1-border-bottom-left-radius-y")); case "cn1-box-shadow-h" : LexicalUnit h = styles.get("cn1-box-shadow-h"); if (h == null) { return ""; } if ("none".equals(h.getStringValue())) { return "box-shadow: none"; } else { return "box-shadow: " + renderAsCSSString(styles.get("cn1-box-shadow-h")) + " " + renderAsCSSString(styles.get("cn1-box-shadow-v")) + " " + (((h = styles.get("cn1-box-shadow-blur")) != null) ? (renderAsCSSString(h) + " ") : "") + (((h = styles.get("cn1-box-shadow-spread")) != null) ? (renderAsCSSString(h) + " ") : "") + (((h = styles.get("cn1-box-shadow-color")) != null) ? (renderAsCSSString(h) + " ") : "") + (((h = styles.get("cn1-box-shadow-inset")) != null && "inset".equals(h.getStringValue())) ? (renderAsCSSString(h) + " ") : ""); } } return ""; } else { switch (property) { case "width": { LexicalUnit value = styles.get(property); switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_PERCENTAGE: return property + ":"+ px((int)(value.getFloatValue() / 100f * 320f)) + "px"; } } case "height": { LexicalUnit value = styles.get(property); switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_PERCENTAGE: return property + ":"+ px((int)(value.getFloatValue() / 100f * 480f)) + "px"; } } } return property + ":"+renderAsCSSString(styles.get(property)); } } public String getHtmlPreview() { StringBuilder sb = new StringBuilder(); sb.append("<!doctype html>\n<html><body>"); for (String name : elements.keySet()) { Element el = (Element)elements.get(name); sb.append("<h1>").append(name).append("</h1>") .append(el.getHtmlPreview()) .append("<h2>::Unselected</h2>") .append(el.getUnselected().getHtmlPreview()) .append("<h2>::Selected</h2>") .append(el.getSelected().getHtmlPreview()) .append("<h2>::Pressed</h2>") .append(el.getPressed().getHtmlPreview()) .append("<h2>::Disabled</h2>") .append(el.getDisabled().getHtmlPreview()) .append("<hr/>"); } sb.append("</body></html>"); return sb.toString(); } public String generateCaptureHtml() { StringBuilder sb = new StringBuilder(); sb.append("<!doctype html>\n<html><base href=\""+baseURL.toExternalForm()+"\"/> <head><style type=\"text/css\">body {padding:0; margin:0} div.element {margin: 0 !important; padding: 0 !important; box-sizing:border-box;}</style></head><body>"); for (String name : elements.keySet()) { Element el = (Element)elements.get(name); sb.append(el.getUnselected().getEmptyHtmlWithId(name)) .append(el.getSelected().getEmptyHtmlWithId(name+".sel")) .append(el.getPressed().getEmptyHtmlWithId(name+".press")) .append(el.getDisabled().getEmptyHtmlWithId(name+".dis")); } sb.append("</body></html>"); return sb.toString(); } public void updateResources() { for (String id : elements.keySet()) { Element el = elements.get(id); Map<String,LexicalUnit> unselectedStyles = el.getUnselected().getFlattenedStyle(); Map<String,LexicalUnit> selectedStyles = el.getSelected().getFlattenedStyle(); Map<String,LexicalUnit> pressedStyles = el.getPressed().getFlattenedStyle(); Map<String,LexicalUnit> disabledStyles = el.getDisabled().getFlattenedStyle(); Element selected = el.getSelected(); String selId = id+".sel"; String unselId = id; String pressedId = id+".press"; String disabledId = id+".dis"; res.setThemeProperty(themeName, unselId+".padding", el.getThemePadding(unselectedStyles)); res.setThemeProperty(themeName, unselId+".padUnit", el.getThemePaddingUnit(unselectedStyles)); res.setThemeProperty(themeName, selId+"#padding", el.getThemePadding(selectedStyles)); res.setThemeProperty(themeName, selId+"#padUnit", el.getThemePaddingUnit(selectedStyles)); res.setThemeProperty(themeName, pressedId+"#padding", el.getThemePadding(pressedStyles)); res.setThemeProperty(themeName, pressedId+"#padUnit", el.getThemePaddingUnit(pressedStyles)); res.setThemeProperty(themeName, disabledId+"#padding", el.getThemePadding(disabledStyles)); res.setThemeProperty(themeName, disabledId+"#padUnit", el.getThemePaddingUnit(disabledStyles)); res.setThemeProperty(themeName, unselId+".margin", el.getThemeMargin(unselectedStyles)); res.setThemeProperty(themeName, unselId+".marUnit", el.getThemeMarginUnit(unselectedStyles)); res.setThemeProperty(themeName, selId+"#margin", el.getThemeMargin(selectedStyles)); res.setThemeProperty(themeName, selId+"#marUnit", el.getThemeMarginUnit(selectedStyles)); res.setThemeProperty(themeName, pressedId+"#margin", el.getThemeMargin(pressedStyles)); res.setThemeProperty(themeName, pressedId+"#marUnit", el.getThemeMarginUnit(pressedStyles)); res.setThemeProperty(themeName, disabledId+"#margin", el.getThemeMargin(disabledStyles)); res.setThemeProperty(themeName, disabledId+"#marUnit", el.getThemeMarginUnit(disabledStyles)); res.setThemeProperty(themeName, unselId+".fgColor", el.getThemeFgColor(unselectedStyles)); res.setThemeProperty(themeName, selId+"#fgColor", el.getThemeFgColor(selectedStyles)); res.setThemeProperty(themeName, pressedId+"#fgColor", el.getThemeFgColor(pressedStyles)); res.setThemeProperty(themeName, disabledId+"#fgColor", el.getThemeFgColor(disabledStyles)); res.setThemeProperty(themeName, unselId+".bgColor", el.getThemeBgColor(unselectedStyles)); res.setThemeProperty(themeName, selId+"#bgColor", el.getThemeBgColor(selectedStyles)); res.setThemeProperty(themeName, pressedId+"#bgColor", el.getThemeBgColor(pressedStyles)); res.setThemeProperty(themeName, disabledId+"#bgColor", el.getThemeBgColor(disabledStyles)); res.setThemeProperty(themeName, unselId+".transparency", el.getThemeTransparency(unselectedStyles)); res.setThemeProperty(themeName, selId+"#transparency", el.getThemeTransparency(selectedStyles)); res.setThemeProperty(themeName, pressedId+"#transparency", el.getThemeTransparency(pressedStyles)); res.setThemeProperty(themeName, disabledId+"#transparency", el.getThemeTransparency(disabledStyles)); res.setThemeProperty(themeName, unselId+".align", el.getThemeAlignment(unselectedStyles)); res.setThemeProperty(themeName, selId+"#align", el.getThemeAlignment(selectedStyles)); res.setThemeProperty(themeName, pressedId+"#align", el.getThemeAlignment(pressedStyles)); res.setThemeProperty(themeName, disabledId+"#align", el.getThemeAlignment(disabledStyles)); res.setThemeProperty(themeName, unselId+".font", el.getThemeFont(unselectedStyles)); res.setThemeProperty(themeName, selId+"#font", el.getThemeFont(selectedStyles)); res.setThemeProperty(themeName, pressedId+"#font", el.getThemeFont(pressedStyles)); res.setThemeProperty(themeName, disabledId+"#font", el.getThemeFont(disabledStyles)); res.setThemeProperty(themeName, unselId+".textDecoration", el.getThemeTextDecoration(unselectedStyles)); res.setThemeProperty(themeName, selId+"#textDecoration", el.getThemeTextDecoration(selectedStyles)); res.setThemeProperty(themeName, pressedId+"#textDecoration", el.getThemeTextDecoration(pressedStyles)); res.setThemeProperty(themeName, disabledId+"#textDecoration", el.getThemeTextDecoration(disabledStyles)); res.setThemeProperty(themeName, unselId+".bgType", el.getThemeBgType(unselectedStyles)); res.setThemeProperty(themeName, selId+"#bgType", el.getThemeBgType(selectedStyles)); res.setThemeProperty(themeName, pressedId+"#bgType", el.getThemeBgType(pressedStyles)); res.setThemeProperty(themeName, disabledId+"#bgType", el.getThemeBgType(disabledStyles)); res.setThemeProperty(themeName, unselId+".derive", el.getThemeDerive(unselectedStyles, "")); res.setThemeProperty(themeName, selId+"#derive", el.getThemeDerive(selectedStyles, ".sel")); res.setThemeProperty(themeName, pressedId+"#derive", el.getThemeDerive(pressedStyles, ".press")); res.setThemeProperty(themeName, disabledId+"#derive", el.getThemeDerive(disabledStyles, ".dis")); System.out.println("Checking if background image is here for "+unselectedStyles); if (el.hasBackgroundImage(unselectedStyles) && !el.requiresBackgroundImageGeneration(unselectedStyles) && !el.requiresImageBorder(unselectedStyles)) { System.out.println("Getting background image... it is here"); Image imageId = getBackgroundImage(unselectedStyles); if (imageId != null) { res.setThemeProperty(themeName, unselId+".bgImage", imageId); } } if (el.hasBackgroundImage(selectedStyles) && !el.requiresBackgroundImageGeneration(selectedStyles) && !el.requiresImageBorder(selectedStyles)) { Image imageId = getBackgroundImage(selectedStyles); if (imageId != null) { res.setThemeProperty(themeName, selId+"#bgImage", imageId); } } if (el.hasBackgroundImage(pressedStyles) && !el.requiresBackgroundImageGeneration(pressedStyles) && !el.requiresImageBorder(pressedStyles)) { Image imageId = getBackgroundImage(pressedStyles); if (imageId != null) { res.setThemeProperty(themeName, pressedId+"#bgImage", imageId); } } if (el.hasBackgroundImage(disabledStyles) && !el.requiresBackgroundImageGeneration(disabledStyles) && !el.requiresImageBorder(disabledStyles)) { Image imageId = getBackgroundImage(disabledStyles); if (imageId != null) { res.setThemeProperty(themeName, disabledId+"#bgImage", imageId); } } if (!el.requiresImageBorder(unselectedStyles) && !el.requiresBackgroundImageGeneration(unselectedStyles)) { res.setThemeProperty(themeName, unselId+".border", el.getThemeBorder(unselectedStyles)); } if (!el.requiresImageBorder(selectedStyles) && !el.requiresBackgroundImageGeneration(selectedStyles)) { res.setThemeProperty(themeName, selId+"#border", el.getThemeBorder(selectedStyles)); } if (!el.requiresImageBorder(pressedStyles) && !el.requiresBackgroundImageGeneration(pressedStyles)) { res.setThemeProperty(themeName, pressedId+"#border", el.getThemeBorder(pressedStyles)); } if (!el.requiresImageBorder(disabledStyles) && !el.requiresBackgroundImageGeneration(disabledStyles)) { res.setThemeProperty(themeName, disabledId+"#border", el.getThemeBorder(disabledStyles)); } } } private Map<String,Image> loadedImages = new HashMap<String,Image>(); public int[] getDpi(EncodedImage im) throws IOException { ImageInputStream iis = ImageIO.createImageInputStream(new ByteArrayInputStream(im.getImageData())); Iterator it = ImageIO.getImageReaders(iis); if (!it.hasNext()) { System.err.println("No reader for this format"); return null; } ImageReader reader = (ImageReader) it.next(); reader.setInput(iis); IIOMetadata meta = reader.getImageMetadata(0); IIOMetadataNode root = (IIOMetadataNode) meta.getAsTree("javax_imageio_1.0"); NodeList nodes = root.getElementsByTagName("HorizontalPixelSize"); int xDPI = -1; int yDPI = -1; if (nodes.getLength() > 0) { IIOMetadataNode dpcWidth = (IIOMetadataNode) nodes.item(0); NamedNodeMap nnm = dpcWidth.getAttributes(); Node item = nnm.item(0); xDPI = Math.round(25.4f / Float.parseFloat(item.getNodeValue())); System.out.println("xDPI: " + xDPI); } else { System.out.println("xDPI: -"); } if (nodes.getLength() > 0) { nodes = root.getElementsByTagName("VerticalPixelSize"); IIOMetadataNode dpcHeight = (IIOMetadataNode) nodes.item(0); NamedNodeMap nnm = dpcHeight.getAttributes(); Node item = nnm.item(0); yDPI = Math.round(25.4f / Float.parseFloat(item.getNodeValue())); System.out.println("yDPI: " + yDPI); } else { System.out.println("yDPI: -"); } return new int[]{xDPI, yDPI}; } public int getImageDensity(EncodedImage im) { try { int[] dpis = getDpi(im); int maxDpi = 72; if (dpis != null && dpis[0] > 0 && dpis[0] > maxDpi) { maxDpi = dpis[0]; } if (dpis != null && dpis[1] > 0 && dpis[1] > maxDpi) { maxDpi = dpis[1]; } if (maxDpi <= 72) { return com.codename1.ui.Display.DENSITY_MEDIUM; } else if (maxDpi <= 144) { return com.codename1.ui.Display.DENSITY_VERY_HIGH; } else if (maxDpi <= 200) { return com.codename1.ui.Display.DENSITY_560; } else if (maxDpi <= 300) { return com.codename1.ui.Display.DENSITY_HD; } else { return com.codename1.ui.Display.DENSITY_2HD; } } catch (Exception ex) { return com.codename1.ui.Display.DENSITY_MEDIUM; } } public Image getBackgroundImage(Map<String,LexicalUnit> styles) { try { LexicalUnit bgImage = styles.get("background-image"); if (bgImage == null) { return null; } String url = bgImage.getStringValue(); String fileName = url; if (fileName.indexOf("/") != -1) { fileName = fileName.substring(fileName.lastIndexOf("/")+1); } if (loadedImages.containsKey(url)) { return loadedImages.get(url); } LexicalUnit imageId = styles.get("cn1-image-id"); String imageIdStr = url; if (imageId != null) { imageIdStr = imageId.getStringValue(); } URL imgURL = null; if (url.startsWith("http://") || url.startsWith("https://")) { imgURL = new URL(url); } else { imgURL = new URL(baseURL, url); } InputStream is = imgURL.openStream(); EncodedImage encImg = EncodedImage.create(is); is.close(); ResourcesMutator resm = new ResourcesMutator(res); resm.targetDensity = getImageDensity(encImg); System.out.println("Loading image from "+url+" with density "+resm.targetDensity); Image im = resm.storeImage(encImg, imageIdStr, false); //System.out.println("Storing image "+url+" at id "+imageIdStr); loadedImages.put(url, im); return im; } catch (Exception ex) { throw new RuntimeException(ex); } } public void createImageBorders(WebView web) { if (res == null) { res = new EditableResources(); } ArrayList<Border> borders = new ArrayList<Border>(); ResourcesMutator resm = new ResourcesMutator(res); resm.targetDensity = targetDensity; List<Runnable> onComplete = new ArrayList<Runnable>(); for (String id : elements.keySet()) { Element e = (Element)elements.get(id); Element unselected = e.getUnselected(); Map<String,LexicalUnit> unselectedStyles = (Map<String,LexicalUnit>)unselected.getFlattenedStyle(); Border b = unselected.createBorder(unselectedStyles); Border unselectedBorder = b; if (e.requiresImageBorder(unselectedStyles)) { if (!borders.contains(b)) { borders.add(b); resm.addImageProcessor(id, (img) -> { Insets insets = unselected.getImageBorderInsets(unselectedStyles, img.getWidth(), img.getHeight()); System.out.println("Creating 9 piece for image "+img.getWidth()+", "+img.getHeight()+" with insets "+insets.top+", "+insets.right+","+insets.bottom+","+insets.left); com.codename1.ui.plaf.Border border = resm.create9PieceBorder(img, id, insets.top, insets.right, insets.bottom, insets.left); resm.put(id+".border", border); unselectedBorder.border = border; }); } else { onComplete.add(()->{ resm.put(id+".border", borders.get(borders.indexOf(unselectedBorder)).border); }); } } else if (e.requiresBackgroundImageGeneration(unselectedStyles)) { if (!borders.contains(b)) { borders.add(b); resm.addImageProcessor(id, (img) -> { int i = 1; while(res.containsResource(id + "_" + i + ".png")) { i++; } String prefix = id + "_" + i + ".png"; System.out.println("Generating image "+prefix); Image im = resm.storeImage(EncodedImage.create(ResourcesMutator.toPng(img)), prefix, false); unselectedBorder.image = im; resm.put(id+".bgImage", im); //resm.put(id+".press#bgType", Style.B) }); } else { onComplete.add(()->{ resm.put(id+".bgImage", unselectedBorder.image); }); } } Element selected = e.getSelected(); Map<String,LexicalUnit> selectedStyles = (Map<String,LexicalUnit>)selected.getFlattenedStyle(); b = selected.createBorder(selectedStyles); Border selectedBorder = b; if (e.requiresImageBorder(selectedStyles)) { if (!borders.contains(b)) { borders.add(b); resm.addImageProcessor(id+".sel", (img) -> { Insets insets = selected.getImageBorderInsets(selectedStyles, img.getWidth(), img.getHeight()); com.codename1.ui.plaf.Border border = resm.create9PieceBorder(img, id, insets.top, insets.right, insets.bottom, insets.left); resm.put(id+".sel#border", border); selectedBorder.border = border; }); } else { onComplete.add(()-> { resm.put(id+".sel#border", borders.get(borders.indexOf(selectedBorder)).border); }); } } else if (e.requiresBackgroundImageGeneration(selectedStyles)) { if (!borders.contains(b)) { borders.add(b); resm.addImageProcessor(id+".sel", (img) -> { int i = 1; while(res.containsResource(id + "_" + i + ".png")) { i++; } String prefix = id + "_" + i + ".png"; System.out.println("Generating image "+prefix); Image im = resm.storeImage(EncodedImage.create(ResourcesMutator.toPng(img)), prefix, false); selectedBorder.image = im; resm.put(id+".sel#bgImage", im); //resm.put(id+".press#bgType", Style.B) }); } else { onComplete.add(()->{ resm.put(id+".sel#bgImage", selectedBorder.image); }); } } Element pressed = e.getPressed(); Map<String,LexicalUnit> pressedStyles = (Map<String,LexicalUnit>)pressed.getFlattenedStyle(); System.out.println("Pressed styles "+pressedStyles); b = pressed.createBorder(pressedStyles); Border pressedBorder = b; if (e.requiresImageBorder(pressedStyles)) { if (!borders.contains(b)) { borders.add(b); resm.addImageProcessor(id+".press", (img) -> { Insets insets = pressed.getImageBorderInsets(pressedStyles, img.getWidth(), img.getHeight()); System.out.println("Getting pressed images with insets "+insets); com.codename1.ui.plaf.Border border = resm.create9PieceBorder(img, id, insets.top, insets.right, insets.bottom, insets.left); resm.put(id+".press#border", border); pressedBorder.border = border; }); } else { onComplete.add(()-> { resm.put(id+".press#border", borders.get(borders.indexOf(pressedBorder)).border); }); } } else if (e.requiresBackgroundImageGeneration(pressedStyles)) { if (!borders.contains(b)) { borders.add(b); resm.addImageProcessor(id+".press", (img) -> { int i = 1; while(res.containsResource(id + "_" + i + ".png")) { i++; } String prefix = id + "_" + i + ".png"; Image im = resm.storeImage(EncodedImage.create(ResourcesMutator.toPng(img)), prefix, false); pressedBorder.imageId = prefix; resm.put(id+".press#bgImage", im/*res.findId(im, true)*/); //resm.put(id+".press#bgType", Style.B) }); } else { onComplete.add(()->{ resm.put(id+".press#bgImage", res.findId(pressedBorder.imageId, true)); }); } } Element disabled = e.getDisabled(); Map<String,LexicalUnit> disabledStyles = (Map<String,LexicalUnit>)disabled.getFlattenedStyle(); System.out.println(id+" disabled "+disabledStyles); b = disabled.createBorder(disabledStyles); Border disabledBorder = b; if (e.requiresImageBorder(disabledStyles)) { if (!borders.contains(b)) { borders.add(b); resm.addImageProcessor(id+".dis", (img) -> { Insets disabledInsets = disabled.getImageBorderInsets(disabledStyles, img.getWidth(), img.getHeight()); com.codename1.ui.plaf.Border border = resm.create9PieceBorder(img, id, disabledInsets.top, disabledInsets.right, disabledInsets.bottom, disabledInsets.left); disabledBorder.border = border; resm.put(id+".dis#border", border); }); } else { onComplete.add(()-> { resm.put(id+".dis#border", borders.get(borders.indexOf(disabledBorder)).border); }); } } else if (e.requiresBackgroundImageGeneration(pressedStyles)) { if (!borders.contains(b)) { borders.add(b); resm.addImageProcessor(id+".dis", (img) -> { int i = 1; while(res.containsResource(id + "_" + i + ".png")) { i++; } String prefix = id + "_" + i + ".png"; Image im = resm.storeImage(EncodedImage.create(ResourcesMutator.toPng(img)), prefix, false); disabledBorder.image = im; resm.put(id+".dis#bgImage", im); //resm.put(id+".press#bgType", Style.B) }); } else { onComplete.add(()->{ resm.put(id+".dis#bgImage", disabledBorder.image); }); } } } System.out.println(generateCaptureHtml()); resm.createScreenshots(web, generateCaptureHtml(), this.baseURL.toExternalForm()); for (Runnable r : onComplete) { r.run(); } System.out.println(res.getTheme("Theme")); } public void save(File outputFile) throws IOException { DataOutputStream resFile = new DataOutputStream(new FileOutputStream(outputFile)); res.save(resFile); resFile.close(); } private class Border { com.codename1.ui.plaf.Border border; String imageId; Image image; String thicknessTop, thicknessRight, thicknessBottom, thicknessLeft, styleTop, styleRight, styleBottom, styleLeft; String backgroundImageUrl, backgroundRepeat, borderRadius, boxShadow, gradient; String backgroundColor, borderColorTop, borderColorRight, borderColorBottom, borderColorLeft; public boolean equals(Object o) { Border b = (Border)o; return eq(borderRadius, b.borderRadius) && eq(thicknessTop, b.thicknessTop) && eq(thicknessRight, b.thicknessRight) && eq(thicknessBottom, b.thicknessBottom) && eq(thicknessLeft, b.thicknessLeft) && eq(styleTop, b.styleTop) && eq(styleRight, b.styleRight) && eq(styleBottom, b.styleBottom) && eq(styleLeft, b.styleLeft) && eq(gradient, b.gradient) && eq(boxShadow, b.boxShadow) && (backgroundImageUrl == null ? b.backgroundImageUrl == null : backgroundImageUrl.equals(b.backgroundImageUrl)) && (backgroundRepeat == null ? b.backgroundRepeat == null : backgroundRepeat.equals(b.backgroundRepeat)) && eq(backgroundColor, b.backgroundColor) && eq(borderColorTop, b.borderColorTop) && eq(borderColorRight, b.borderColorRight) && eq(borderColorBottom, b.borderColorBottom) && eq(borderColorLeft, b.borderColorLeft); } /* public boolean requiresImageBorder() { return !eq(borderColorTop, borderColorRight) || !eq(borderColorTop, borderColorBottom) || !eq(borderColorTop, borderColorLeft) || !isNone(gradient) || !isNone(boxShadow) || !isZero(borderRadius) || !eq(thicknessTop, thicknessRight) || !eq(thicknessTop, thicknessBottom) || !eq(thicknessTop, thicknessLeft) || !eq(styleTop, styleRight) || !eq(styleTop, styleBottom) || !eq(styleTop, styleLeft); } */ public String toString() { return borderColorTop + " " +borderColorRight + borderColorBottom + borderColorLeft + gradient + boxShadow + borderRadius + thicknessTop + thicknessRight + thicknessBottom + thicknessLeft + styleTop + styleRight + styleBottom + styleLeft; } public boolean hasBorderRadius() { return !isZero(borderRadius); } public boolean hasGradient() { return !isNone(gradient); } public boolean hasUnequalBorders() { return !eq(thicknessTop, thicknessRight) || !eq(thicknessTop, thicknessBottom) || !eq(thicknessTop, thicknessLeft) || !eq(styleTop, styleRight) || !eq(styleTop, styleBottom) || !eq(styleTop, styleLeft) || !eq(borderColorTop, borderColorRight) || !eq(borderColorTop, borderColorBottom) || !eq(borderColorTop, borderColorLeft); } public boolean hasBoxShadow() { return !isNone(boxShadow); } } private static boolean eq(Object o1, Object o2) { return o1 == null ? o1 == null : o1.equals(o2); } private static boolean isNone(Object o) { return o == null || "".equals(o) || "none".equals(o); } private static boolean isZero(String o) { if (o == null || "".equals(o)) { return true; } o = o.replaceAll("[^0-9]", ""); return o.matches("^0*$"); } public class Element { Element parent = anyNodeStyle; Map properties = new HashMap(); Element unselected; Element selected; Element pressed; Element disabled; String generateStyleCSS() { StringBuilder sb = new StringBuilder(); Map styles = new HashMap(); styles.putAll(getFlattenedStyle()); if (this.requiresImageBorder(styles)) { if (styles.get("min-height") != null) { styles.put("height", styles.get("min-height")); } if (styles.get("min-width") != null) { styles.put("width", styles.get("min-width")); } } if (styles.get("height") == null) { styles.put("height", new PixelUnit(100)); } for (Object key : styles.keySet()) { String property = (String)key; LexicalUnit value = (LexicalUnit)styles.get(key); String prop = renderCSSProperty(property, styles); if (!prop.isEmpty()) { sb.append(prop).append(";"); } } //sb.append("border-top-right-radius: 10px / 20px;"); return sb.toString(); } void setParent(String name) { Element parentEl = getElementByName(name); Element self = this; if (this.isSelectedStyle() || this.isDisabledStyle() || this.isDisabledStyle() || this.isUnselectedStyle()) { self = this.parent; } System.out.println("Setting parent of "+self+" to "+name); self.parent = parentEl; } String getHtmlPreview() { StringBuilder sb = new StringBuilder(); sb.append("<div style=\"").append(generateStyleCSS()).append("\">Lorem Ipsum</div>"); return sb.toString(); } public String getEmptyHtmlWithId(String id) { StringBuilder sb = new StringBuilder(); sb.append("<div id=\""+id+"\" class=\"element\" style=\"").append(generateStyleCSS()).append("\"></div>"); return sb.toString(); } Map getFlattenedSelectedStyle() { Map out = new HashMap(); LinkedList<Map> stack = new LinkedList<Map>(); Element el = this; if (!el.isSelectedStyle()) { el = el.getSelected(); } while (el != null) { stack.push(el.style); el = el.parent.parent; if (el != null) { el = el.getSelected(); } } while (!stack.isEmpty()) { out.putAll(stack.pop()); } return out; } Map getFlattenedPressedStyle() { Map out = new HashMap(); LinkedList<Map> stack = new LinkedList<Map>(); Element el = this; if (!el.isPressedStyle()) { el = el.getPressed(); } while (el != null) { stack.push(el.style); el = el.parent.parent; if (el != null) { el = el.getPressed(); } } while (!stack.isEmpty()) { out.putAll(stack.pop()); } return out; } Map getFlattenedUnselectedStyle() { Map out = new HashMap(); LinkedList<Map> stack = new LinkedList<Map>(); Element el = this; if (!el.isUnselectedStyle()) { el = el.getUnselected(); } while (el != null) { stack.push(el.style); el = el.parent.parent; if (el != null) { el = el.getUnselected(); } } while (!stack.isEmpty()) { out.putAll(stack.pop()); } return out; } Map getFlattenedDisabledStyle() { Map out = new HashMap(); LinkedList<Map> stack = new LinkedList<Map>(); Element el = this; if (!el.isDisabledStyle()) { el = el.getDisabled(); } while (el != null) { stack.push(el.style); el = el.parent.parent; if (el != null) { el = el.getDisabled(); } } while (!stack.isEmpty()) { out.putAll(stack.pop()); } return out; } Map getFlattenedStyle() { Map out = new HashMap(); if (this.isSelectedStyle()) { if (parent != null) { out.putAll(parent.getFlattenedStyle()); } out.putAll(getFlattenedSelectedStyle()); } else if (this.isUnselectedStyle()) { if (parent != null) { out.putAll(parent.getFlattenedStyle()); } out.putAll(getFlattenedUnselectedStyle()); } else if (this.isDisabledStyle()) { if (parent != null) { out.putAll(parent.getFlattenedStyle()); } out.putAll(getFlattenedDisabledStyle()); } else if (this.isPressedStyle()) { if (parent != null) { out.putAll(parent.getFlattenedStyle()); } out.putAll(getFlattenedPressedStyle()); } else { if (parent != null) { out.putAll(parent.getFlattenedStyle()); } out.putAll(style); } return Collections.unmodifiableMap(out); } Element getUnselected() { if (unselected == null) { unselected = new Element(); unselected.parent = this; } return unselected; } Element getSelected() { if (selected == null) { selected = new Element(); selected.parent = this; //selected.style.putAll(getUnmodifiableStyle()); } return selected; } Element getPressed() { if (pressed == null) { pressed = new Element(); pressed.parent = this; //pressed.style.putAll(getUnmodifiableStyle()); } return pressed; } Element getDisabled() { if (disabled == null) { disabled = new Element(); disabled.parent = this; //disabled.style.putAll(style); } return disabled; } void put(String key, Object value) { style.put(key, value); } Object get(String key) { Object res = style.get(key); if (res == null || parent != null) { return parent.get(key); } return null; } Object getUnselectedValue(String key) { return getUnselectedValue(key, false); } Object getUnselectedValue(String key, boolean includeDefault) { if (isUnselectedStyle()) { Object res = style.get(key); if (res != null) { return res; } } if (unselected != null) { Object res = unselected.style.get(key); if (res != null) { return res; } } if (parent != null) { return parent.getUnselectedValue(key); } if (includeDefault) { return get(key); } return null; } Object getSelectedValue(String key) { return getSelectedValue(key, false); } Object getSelectedValue(String key, boolean includeDefault) { if (isSelectedStyle()) { Object res = style.get(key); if (res != null) { return res; } } if (selected != null) { Object res = selected.style.get(key); if (res != null) { return res; } } if (parent != null) { return parent.getSelectedValue(key); } if (includeDefault) { return get(key); } return null; } Object getPressedValue(String key) { return getPressedValue(key, false); } /** * Gets the pressed value for a property. Will check the parent's * disabled value if this element has none for the specified prop. * * @param key * @return */ Object getPressedValue(String key, boolean includeDefault) { if (isPressedStyle()) { Object res = style.get(key); if (res != null) { return res; } } if (pressed != null) { Object res = pressed.style.get(key); if (res != null) { return res; } } if (parent != null) { return parent.getPressedValue(key); } if (includeDefault) { return get(key); } return null; } Object getDisabledValue(String key) { return getDisabledValue(key, false); } Object getDisabledValue(String key, boolean includeDefault) { if (isDisabledStyle()) { Object res = style.get(key); if (res != null) { return res; } } if (disabled != null) { Object res = disabled.style.get(key); if (res != null) { return res; } } if (parent != null) { return parent.getDisabledValue(key); } if (includeDefault) { return get(key); } return null; } boolean isUnselectedStyle() { return parent != null && parent.unselected == this; } boolean isSelectedStyle() { return parent != null && parent.selected == this; } boolean isPressedStyle() { return parent != null && parent.pressed == this; } boolean isDisabledStyle() { return parent != null && parent.disabled == this; } Map style = new HashMap(); Border createBorder(Map<String,LexicalUnit> styles) { Border b = new Border(); b.borderColorTop = renderAsCSSString("border-top-color", styles); b.borderColorRight = renderAsCSSString("border-right-color", styles); b.borderColorBottom = renderAsCSSString("border-bottom-color", styles); b.borderColorLeft = renderAsCSSString("border-left-color", styles); b.styleBottom = renderAsCSSString("border-bottom-style", styles); b.styleLeft = renderAsCSSString("border-left-style", styles); b.styleTop = renderAsCSSString("border-top-style", styles); b.styleRight = renderAsCSSString("border-right-style", styles); b.thicknessTop = renderAsCSSString("border-top-width", styles); b.thicknessRight = renderAsCSSString("border-right-width", styles); b.thicknessBottom = renderAsCSSString("border-bottom-width", styles); b.thicknessLeft = renderAsCSSString("border-left-width", styles); b.backgroundColor = renderAsCSSString("background-color", styles); b.backgroundImageUrl = renderAsCSSString("background-image", styles); b.backgroundRepeat = renderAsCSSString("background-repeat", styles); b.borderRadius = renderCSSProperty("cn1-border-bottom-left-radius-x", styles); b.boxShadow = renderCSSProperty("cn1-box-shadow-h", styles); LexicalUnit background = styles.get("background"); while (background != null) { if (background.getFunctionName() != null && background.getFunctionName().contains("gradient")) { b.gradient = renderAsCSSString(background); } background = background.getNextLexicalUnit(); } return b; } Insets getImageBorderInsets(Map<String,LexicalUnit> styles, int width, int height) { // Case 1: Solid background color LexicalUnit boxShadowH = styles.get("cn1-box-shadow-h"); LexicalUnit borderRadiusBottomLeftX = styles.get("cn1-border-bottom-left-radius-x"); LexicalUnit borderRadiusBottomLeftY = styles.get("cn1-border-bottom-left-radius-y"); LexicalUnit borderRadiusBottomRightY = styles.get("cn1-border-bottom-right-radius-y"); LexicalUnit borderRadiusBottomRightX = styles.get("cn1-border-bottom-right-radius-x"); LexicalUnit borderRadiusTopRightX = styles.get("cn1-border-top-right-radius-x"); LexicalUnit borderRadiusTopRightY = styles.get("cn1-border-top-right-radius-y"); LexicalUnit borderRadiusTopLeftY = styles.get("cn1-border-top-left-radius-y"); LexicalUnit borderRadiusTopLeftX = styles.get("cn1-border-top-left-radius-x"); Insets i = new Insets(); LexicalUnit background = styles.get("background"); if (isNone(background)) { i.bottom = Math.max(getPixelValue(borderRadiusBottomLeftY), getPixelValue(borderRadiusBottomRightY)) + 5; i.top = Math.max(getPixelValue(borderRadiusTopLeftY), getPixelValue(borderRadiusTopRightY)) + 5; i.left = Math.max(getPixelValue(borderRadiusTopLeftX), getPixelValue(borderRadiusBottomLeftX)) + 5; i.right = Math.max(getPixelValue(borderRadiusTopRightX), getPixelValue(borderRadiusBottomRightX)) + 5; } else { i.bottom = height / 2-1; i.top = i.bottom; i.left = Math.max(getPixelValue(borderRadiusTopLeftX), getPixelValue(borderRadiusBottomLeftX)) + 5; i.right = Math.max(getPixelValue(borderRadiusTopRightX), getPixelValue(borderRadiusBottomRightX)) + 5; } return i; } public String getThemeFgColor(Map<String,LexicalUnit> style) { LexicalUnit color = style.get("color"); if (color == null) { return null; } switch (color.getLexicalUnitType()) { case LexicalUnit.SAC_IDENT: case LexicalUnit.SAC_RGBCOLOR: { System.out.println("Lex type "+color.getLexicalUnitType()); System.out.println("Color: "+color.getStringValue()); System.out.println(color); String colorStr = color.getStringValue(); if (colorStr == null) { colorStr = ""+color; colorStr = colorStr.replace("color", "rgb"); } Color c = Color.web(colorStr); return String.format( "%02X%02X%02X", (int)( c.getRed() * 255 ), (int)( c.getGreen() * 255 ), (int)( c.getBlue() * 255 ) ); } case LexicalUnit.SAC_FUNCTION: { if ("rgba".equals(color.getFunctionName())) { LexicalUnit param = color.getParameters(); float r = param.getFloatValue(); param = param.getNextLexicalUnit(); float g = param.getFloatValue(); param = param.getNextLexicalUnit(); float b = param.getFloatValue(); param = param.getNextLexicalUnit(); float a = param.getFloatValue(); Color c = Color.rgb((int)r, (int)g, (int)b); return String.format( "%02X%02X%02X", (int)( c.getRed() * 255 ), (int)( c.getGreen() * 255 ), (int)( c.getBlue() * 255 ) ); } } default: throw new RuntimeException("Unsupported color type "+color.getLexicalUnitType()); } } public String getThemeBgColor(Map<String,LexicalUnit> style) { LexicalUnit color = style.get("background-color"); if (color == null) { return null; } switch (color.getLexicalUnitType()) { case LexicalUnit.SAC_IDENT: case LexicalUnit.SAC_RGBCOLOR: { System.out.println("Lex type "+color.getLexicalUnitType()); System.out.println("Color: "+color.getStringValue()); System.out.println(color); String colorStr = color.getStringValue(); if (colorStr == null) { colorStr = ""+color; colorStr = colorStr.replace("color", "rgb"); } if ("none".equals(colorStr)) { return null; } Color c = Color.web(colorStr); return String.format( "%02X%02X%02X", (int)( c.getRed() * 255 ), (int)( c.getGreen() * 255 ), (int)( c.getBlue() * 255 ) ); } case LexicalUnit.SAC_FUNCTION: { if ("rgba".equals(color.getFunctionName())) { LexicalUnit param = color.getParameters(); float r = param.getFloatValue(); param = param.getNextLexicalUnit(); float g = param.getFloatValue(); param = param.getNextLexicalUnit(); float b = param.getFloatValue(); param = param.getNextLexicalUnit(); float a = param.getFloatValue(); Color c = Color.rgb((int)r, (int)g, (int)b); return String.format( "%02X%02X%02X", (int)( c.getRed() * 255 ), (int)( c.getGreen() * 255 ), (int)( c.getBlue() * 255 ) ); } } default: throw new RuntimeException("Unsupported color type "+color.getLexicalUnitType()); } } public boolean hasFilter(Map<String,LexicalUnit> style) { return false; } public boolean requiresBackgroundImageGeneration(Map<String,LexicalUnit> style) { LexicalUnit backgroundType = style.get("cn1-background-type"); if (backgroundType != null) { if ( backgroundType.getStringValue().startsWith("cn1-image") && !backgroundType.getStringValue().endsWith("border")) { return true; } } Border b = createBorder(style); if (b.hasBorderRadius() || b.hasGradient() || b.hasBoxShadow() || hasFilter(style) || b.hasUnequalBorders()) { // We might need to generate a background image // We first need to determine if this can be done with a 9-piece border // or if we'll need to stretch it. // Heuristics: // If the width or height is specified in percent // then this looks like a case for a generated image. LexicalUnit width = style.get("width"); LexicalUnit height = style.get("height"); if (width != null && width.getLexicalUnitType() == LexicalUnit.SAC_PERCENTAGE) { return true; } if (height != null && height.getLexicalUnitType() == LexicalUnit.SAC_PERCENTAGE) { return true; } } return false; } public boolean requiresImageBorder(Map<String,LexicalUnit> style) { LexicalUnit backgroundType = style.get("cn1-background-type"); if (backgroundType != null && "cn1-image-border".equals(backgroundType.getStringValue())) { return true; } Border b = this.createBorder(style); if (b.hasBorderRadius() || b.hasGradient() || b.hasBoxShadow() || hasFilter(style) || b.hasUnequalBorders()) { LexicalUnit width = style.get("width"); LexicalUnit height = style.get("height"); if (width != null && width.getLexicalUnitType() == LexicalUnit.SAC_PERCENTAGE) { return false; } if (height != null && height.getLexicalUnitType() == LexicalUnit.SAC_PERCENTAGE) { return false; } return true; } return false; } public boolean hasBackgroundImage(Map<String,LexicalUnit> style) { LexicalUnit bgImage = style.get("background-image"); return bgImage != null && bgImage.getLexicalUnitType() == LexicalUnit.SAC_URI; } public Byte getThemeBgType(Map<String,LexicalUnit> style) { LexicalUnit value = style.get("cn1-background-type"); if (value == null) { // Not explicitly specified so we must use some heuristics here if (!requiresBackgroundImageGeneration(style) && hasBackgroundImage(style)) { LexicalUnit repeat = style.get("background-repeat"); if (repeat != null) { switch (repeat.getStringValue()) { case "repeat" : return Style.BACKGROUND_IMAGE_TILE_BOTH; case "repeat-x" : return Style.BACKGROUND_IMAGE_TILE_HORIZONTAL; case "repeat-y" : return Style.BACKGROUND_IMAGE_TILE_VERTICAL; case "no-repeat" : default : { LexicalUnit bgSize = style.get("background-size"); if (bgSize != null) { switch (bgSize.getLexicalUnitType()) { case LexicalUnit.SAC_PERCENTAGE: { LexicalUnit width = bgSize; LexicalUnit height = bgSize.getNextLexicalUnit(); if (width.getFloatValue() > 99 && (height == null || height.getFloatValue() > 99 || "auto".equals(height.getStringValue()))) { // This is clearly asking us to stretch the // image return Style.BACKGROUND_IMAGE_SCALED; } break; } case LexicalUnit.SAC_IDENT : switch (bgSize.getStringValue()) { case "cover" : return Style.BACKGROUND_IMAGE_SCALED_FILL; case "contains" : return Style.BACKGROUND_IMAGE_SCALED_FIT; } break; } } LexicalUnit bgPosition1 = style.get("background-position"); if (bgPosition1 != null) { LexicalUnit bgPosition2 = bgPosition1.getNextLexicalUnit(); String val1 = bgPosition1.getStringValue(); String val2 = bgPosition2 == null ? "auto" : bgPosition2.getStringValue(); switch (val1) { case "left" : switch (val2) { case "top" : return Style.BACKGROUND_IMAGE_ALIGNED_TOP_LEFT; case "bottom" : return Style.BACKGROUND_IMAGE_ALIGNED_BOTTOM_LEFT; default: return Style.BACKGROUND_IMAGE_ALIGNED_LEFT; } case "right" : switch (val2) { case "top" : return Style.BACKGROUND_IMAGE_ALIGNED_TOP_RIGHT; case "bottom" : return Style.BACKGROUND_IMAGE_ALIGNED_BOTTOM_RIGHT; default : return Style.BACKGROUND_IMAGE_ALIGNED_RIGHT; } default : switch (val2) { case "top" : return Style.BACKGROUND_IMAGE_ALIGNED_TOP; case "bottom" : return Style.BACKGROUND_IMAGE_ALIGNED_BOTTOM; default: return Style.BACKGROUND_IMAGE_ALIGNED_CENTER; } } } } } } else { return Style.BACKGROUND_IMAGE_TILE_BOTH; } } else if (requiresBackgroundImageGeneration(style)) { LexicalUnit bgSize = style.get("background-size"); if (bgSize != null) { switch (bgSize.getLexicalUnitType()) { case LexicalUnit.SAC_PERCENTAGE: { LexicalUnit width = bgSize; LexicalUnit height = bgSize.getNextLexicalUnit(); if (width.getFloatValue() > 99 && (height == null || height.getFloatValue() > 99 || "auto".equals(height.getStringValue()))) { // This is clearly asking us to stretch the // image return Style.BACKGROUND_IMAGE_SCALED; } break; } case LexicalUnit.SAC_IDENT : switch (bgSize.getStringValue()) { case "cover" : return Style.BACKGROUND_IMAGE_SCALED_FILL; case "contains" : return Style.BACKGROUND_IMAGE_SCALED_FIT; } break; } } else { return Style.BACKGROUND_IMAGE_SCALED; } } return null; } switch (value.getStringValue()) { case "cn1-image-scaled": return Style.BACKGROUND_IMAGE_SCALED; case "cn1-image-scaled-fill": return Style.BACKGROUND_IMAGE_SCALED_FILL; case "cn1-image-scaled-fit": return Style.BACKGROUND_IMAGE_SCALED_FIT; case "cn1-image-tile-both" : return Style.BACKGROUND_IMAGE_TILE_BOTH; case "cn1-image-tile-valign-left" : return Style.BACKGROUND_IMAGE_TILE_VERTICAL_ALIGN_LEFT; case "cn1-image-tile-valign-center" : return Style.BACKGROUND_IMAGE_TILE_VERTICAL_ALIGN_CENTER; case "cn1-image-tile-valign-right" : return Style.BACKGROUND_IMAGE_TILE_VERTICAL_ALIGN_RIGHT; case "cn1-image-tile-halign-top" : return Style.BACKGROUND_IMAGE_TILE_HORIZONTAL_ALIGN_TOP; case "cn1-image-tile-halign-center" : return Style.BACKGROUND_IMAGE_TILE_HORIZONTAL_ALIGN_CENTER; case "cn1-image-tile-halign-bottom" : return Style.BACKGROUND_IMAGE_TILE_HORIZONTAL_ALIGN_BOTTOM; case "cn1-image-align-bottom" : return Style.BACKGROUND_IMAGE_ALIGNED_BOTTOM; case "cn1-image-align-right" : return Style.BACKGROUND_IMAGE_ALIGNED_RIGHT; case "cn1-image-align-center" : return Style.BACKGROUND_IMAGE_ALIGNED_CENTER; case "cn1-image-align-top-left" : return Style.BACKGROUND_IMAGE_ALIGNED_TOP_LEFT; case "cn1-image-align-top-right" : return Style.BACKGROUND_IMAGE_ALIGNED_TOP_RIGHT; case "cn1-image-align-bottom-left" : return Style.BACKGROUND_IMAGE_ALIGNED_BOTTOM_LEFT; case "cn1-image-align-bottom-right" : return Style.BACKGROUND_IMAGE_ALIGNED_BOTTOM_RIGHT; case "cn1-image-border": case "cn1-none" : case "none": return Style.BACKGROUND_NONE; default: throw new RuntimeException("Unsupported bg type "+value); } } public String getThemePadding(Map<String,LexicalUnit> style) { if (!style.containsKey("padding-left") && !style.containsKey("padding-top") && !style.containsKey("padding-bottom") && !style.containsKey("padding-right")) { return null; } Insets i = getInsets("padding", style); return i.top + ","+i.bottom+","+i.left+","+i.right; } public byte[] getThemePaddingUnit(Map<String,LexicalUnit> style) { if (!style.containsKey("padding-left") && !style.containsKey("padding-top") && !style.containsKey("padding-bottom") && !style.containsKey("padding-right")) { return null; } Insets i = getInsets("padding", style); return new byte[]{i.topUnit, i.rightUnit, i.bottomUnit, i.leftUnit}; } public String getThemeMargin(Map<String,LexicalUnit> style) { if (!style.containsKey("margin-left") && !style.containsKey("margin-top") && !style.containsKey("margin-bottom") && !style.containsKey("margin-right")) { return null; } Insets i = getInsets("margin", style); return i.top + ","+i.bottom+","+i.left+","+i.right; } public byte[] getThemeMarginUnit(Map<String,LexicalUnit> style) { if (!style.containsKey("margin-left") && !style.containsKey("margin-top") && !style.containsKey("margin-bottom") && !style.containsKey("margin-right")) { return null; } Insets i = getInsets("margin", style); return new byte[]{i.topUnit, i.rightUnit, i.bottomUnit, i.leftUnit}; } public Integer getThemeAlignment(Map<String,LexicalUnit> style) { LexicalUnit value = style.get("text-align"); if (value == null) { return null; } switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_IDENT: switch (value.getStringValue()) { case "center" : return Component.CENTER; case "left" : return Component.LEFT; case "right": return Component.RIGHT; default : throw new RuntimeException("Unsupported alignment "+value); } default: throw new RuntimeException("Unsupported lexical unit type for text-align "+value.getLexicalUnitType()); } } FontFace findFontFace(String family) { for (FontFace f : fontFaces) { if (f.fontFamily != null && family.equals(f.fontFamily.getStringValue())) { return f; } } return null; } public com.codename1.ui.Font getThemeFont(Map<String,LexicalUnit> styles) { LexicalUnit fontFamily = styles.get("font-family"); LexicalUnit fontSize = styles.get("font-size"); LexicalUnit fontStyle = styles.get("font-style"); LexicalUnit fontWeight = styles.get("font-weight"); if (fontFamily == null && fontSize == null && fontStyle == null && fontWeight == null) { return null; } int iFontFace = Font.FACE_SYSTEM; int iFontStyle = Font.STYLE_PLAIN; int iFontSizeType = Font.SIZE_MEDIUM; EditorTTFFont ttfFont = null; loop : while (fontSize != null) { switch (fontSize.getLexicalUnitType()) { case LexicalUnit.SAC_IDENT: { switch (fontSize.getStringValue().toLowerCase()) { case "small": case "x-small": case "xx-small": iFontSizeType = Font.SIZE_SMALL; break loop; case "large": case "x-large": case "xx-large": iFontSizeType = Font.SIZE_LARGE; break loop; } } } fontSize = fontSize.getNextLexicalUnit(); } loop : while (fontStyle != null) { switch (fontStyle.getStringValue()) { case "normal" : iFontStyle = Font.STYLE_PLAIN; break loop; case "italic" : case "oblique" : iFontStyle = Font.STYLE_ITALIC; break loop; } fontStyle = fontStyle.getNextLexicalUnit(); } loop : while (fontWeight != null) { switch (fontWeight.getStringValue()) { case "bold" : iFontStyle = Font.STYLE_BOLD; break loop; } fontWeight = fontWeight.getNextLexicalUnit(); } loop : while (fontFamily != null) { if (fontFamily.getStringValue() != null) { switch (fontFamily.getStringValue().toLowerCase()) { case "sans-serif" : case "serif" : case "times" : case "courier" : case "arial" : case "cursive" : case "fantasy" : iFontFace = Font.FACE_SYSTEM; break loop; case "monospace" : iFontFace = Font.FACE_MONOSPACE; break loop; default : FontFace face = findFontFace(fontFamily.getStringValue()); if (face != null) { File fontFile = face.getFontFile(); if (fontFile != null) { int ttfFontSize = 1; // medium float actualSize = 14f; switch (iFontSizeType) { case Font.SIZE_SMALL: ttfFontSize = 0; actualSize = 11f; break; case Font.SIZE_LARGE: ttfFontSize = 2; actualSize = 20f; break; } // Check for a more specific font size if (fontSize != null) { switch (fontSize.getLexicalUnitType()) { case LexicalUnit.SAC_MILLIMETER: ttfFontSize = 4; actualSize = fontSize.getFloatValue(); break; case LexicalUnit.SAC_PIXEL: case LexicalUnit.SAC_POINT: ttfFontSize = 3; actualSize = fontSize.getFloatValue(); break; case LexicalUnit.SAC_CENTIMETER: ttfFontSize = 4; actualSize = fontSize.getFloatValue()*10f; break; case LexicalUnit.SAC_INCH: ttfFontSize = 4; actualSize = fontSize.getFloatValue()*25f; break; case LexicalUnit.SAC_EM: ttfFontSize = 3; actualSize = fontSize.getFloatValue()* 14f; break; case LexicalUnit.SAC_PERCENTAGE: ttfFontSize = 3; actualSize = fontSize.getFloatValue() /100f * 14f; break; } } Font sys = Font.createSystemFont(iFontFace,iFontStyle, iFontSizeType); ttfFont = new EditorTTFFont(fontFile, ttfFontSize, actualSize, sys); break loop; } } } } fontFamily = fontFamily.getNextLexicalUnit(); } if (ttfFont != null) { return ttfFont; } else { return Font.createSystemFont(iFontFace,iFontStyle, iFontSizeType); } } public String getThemeTransparency(Map<String,LexicalUnit> styles) { LexicalUnit cn1BgType = styles.get("cn1-background-type"); if (cn1BgType != null && "none".equals(cn1BgType.getStringValue())) { return "0"; } LexicalUnit bgColor = styles.get("background-color"); if (bgColor == null) { return null; } while (bgColor != null) { if ("transparent".equals(bgColor.getStringValue())) { return "0"; } if ("rgba".equals(bgColor.getFunctionName())) { LexicalUnit params = bgColor.getParameters(); LexicalUnit lastParam = params; while (params != null) { lastParam = params; params = params.getNextLexicalUnit(); } switch (lastParam.getLexicalUnitType()) { case LexicalUnit.SAC_REAL : return String.valueOf((int)lastParam.getFloatValue()); case LexicalUnit.SAC_INTEGER : return String.valueOf(lastParam.getIntegerValue()); default: throw new RuntimeException("Unsupported alpha value type in rgba func "+lastParam.getLexicalUnitType()); } } else { return "255"; } //bgColor = bgColor.getNextLexicalUnit(); } return null; } public com.codename1.ui.plaf.Border getThemeBorder(Map<String,LexicalUnit> styles) { Border b = this.createBorder(styles); if (b.hasUnequalBorders()) { return com.codename1.ui.plaf.Border.createCompoundBorder( getThemeBorder(styles, "top"), getThemeBorder(styles, "bottom"), getThemeBorder(styles, "left"), getThemeBorder(styles, "right") ); } else { return getThemeBorder(styles, "top"); } } public String getThemeDerive(Map<String,LexicalUnit> styles, String suffix) { LexicalUnit derive = styles.get("cn1-derive"); System.out.println("Cn1 derive "+derive); if (derive != null) { return derive.getStringValue()+suffix; } return null; } public com.codename1.ui.plaf.Border getThemeBorder(Map<String,LexicalUnit> styles, String side) { LexicalUnit topColor = styles.get("border-"+side+"-color"); LexicalUnit topStyle = styles.get("border-"+side+"-style"); LexicalUnit topWidth = styles.get("border-"+side+"-width"); if (topStyle == null) { return null; } int color = 0; if (topColor != null) { color = getColorInt(topColor); } int thickness = 1; if (topWidth != null) { switch (topWidth.getLexicalUnitType()) { case LexicalUnit.SAC_PIXEL: case LexicalUnit.SAC_POINT: thickness = (int)topWidth.getFloatValue(); break; case LexicalUnit.SAC_INTEGER: thickness = (int)topWidth.getIntegerValue(); break; case LexicalUnit.SAC_MILLIMETER: thickness = (int)(topWidth.getFloatValue()*10f); break; case LexicalUnit.SAC_PERCENTAGE: thickness = (int)(topWidth.getFloatValue()*320f/100f); break; } } //com.codename1.ui.plaf.Border out; switch (topStyle.getStringValue()) { case "none" : case "hidden" : case "inherit": case "initial": return com.codename1.ui.plaf.Border.createEmpty(); case "dotted" : return com.codename1.ui.plaf.Border.createDottedBorder(thickness, color); case "dashed" : return com.codename1.ui.plaf.Border.createDashedBorder(thickness, color); case "solid" : return com.codename1.ui.plaf.Border.createLineBorder(thickness, color); case "double": return com.codename1.ui.plaf.Border.createDoubleBorder(thickness, color); case "groove": return com.codename1.ui.plaf.Border.createGrooveBorder(thickness, color); case "ridge": return com.codename1.ui.plaf.Border.createRidgeBorder(thickness, color); case "inset": return com.codename1.ui.plaf.Border.createInsetBorder(thickness, color); case "outset": return com.codename1.ui.plaf.Border.createOutsetBorder(thickness, color); default: throw new RuntimeException("Unsupported border type "+topStyle+" for side "+side); } } public Byte getThemeTextDecoration(Map<String,LexicalUnit> style) { LexicalUnit value = style.get("text-decoration"); if (value == null) { return null; } switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_IDENT : switch (value.getStringValue()) { case "underline" : return Style.TEXT_DECORATION_UNDERLINE; case "overline" : return Style.TEXT_DECORATION_OVERLINE; case "line-through" : return Style.TEXT_DECORATION_STRIKETHRU; case "none" : return Style.TEXT_DECORATION_NONE; case "cn1-3d" : return Style.TEXT_DECORATION_3D; case "cn1-3d-lowered" : return Style.TEXT_DECORATION_3D_LOWERED; case "cn1-3d-shadow-north" : return Style.TEXT_DECORATION_3D_SHADOW_NORTH; default : throw new RuntimeException("Unsupported text decoration value "+value); } default : throw new RuntimeException("Unsupported lexical unit type for text-decoration "+value.getLexicalUnitType()); } } } int getPixelValue(LexicalUnit value) { if (isNone(value)){ return 0; } switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_PIXEL: return (int)px(value.getFloatValue()); case LexicalUnit.SAC_INTEGER: return (int)value.getIntegerValue(); default: throw new RuntimeException("Cannot get pixel value for lexical type "+value.getLexicalUnitType()); } } private static boolean isNone(LexicalUnit value) { if (value == null || "none".equals(value.getStringValue())) { return true; } return false; } String renderAsCSSString(String property, Map<String,LexicalUnit> styles) { return renderAsCSSString(styles.get(property)); } public void apply(Element style, String property, LexicalUnit value) { System.out.println("Applying property "+property); switch (property) { case "opacity" : { style.put("opacity", value); break; } case "cn1-derive" : { System.out.println("In cn1-derive"); String parentName = value.getStringValue(); style.setParent(value.getStringValue()); style.put("cn1-derive", value); break; } case "font" : { boolean doneFontStyle = false; boolean doneFontFamily = false; boolean doneFontSize = false; while (value != null) { if (value.getStringValue() != null) { switch (value.getStringValue().toLowerCase()) { case "italic": case "normal": case "oblique" : if (!doneFontStyle) { apply(style, "font-style", value); doneFontStyle = true; } break; case "serif" : case "sans-serif" : case "monospace" : if (!doneFontFamily) { apply(style, "font-family", value); doneFontFamily = true; } break; case "medium" : case "xx-small" : case "x-small" : case "small" : case "large" : case "x-large" : case "xx-large" : case "smaller" : case "larger" : if (!doneFontSize) { apply(style, "font-size", value); doneFontSize = true; } break; } } else { switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_PIXEL: case LexicalUnit.SAC_POINT: case LexicalUnit.SAC_MILLIMETER: case LexicalUnit.SAC_INTEGER : case LexicalUnit.SAC_PERCENTAGE: case LexicalUnit.SAC_EM: case LexicalUnit.SAC_REAL: case LexicalUnit.SAC_INCH: case LexicalUnit.SAC_CENTIMETER: if (!doneFontSize) { apply(style, "font-size", value); doneFontSize = true; } break; case LexicalUnit.SAC_STRING_VALUE: if (!doneFontFamily) { apply(style, "font-family", value); doneFontFamily = true; } break; } } value = value.getNextLexicalUnit(); } break; } case "font-family" : style.put("font-family", value); break; case "font-size" : style.put("font-size", value); break; case "font-style" : style.put("font-style", value); break; case "font-weight" : style.put("font-weight", value); break; case "margin-top" : style.put("margin-top", value); break; case "margin-left" : style.put("margin-left", value); break; case "margin-right" : style.put("margin-right", value); break; case "margin-bottom" : style.put("margin-bottom", value); break; case "margin" : { List<LexicalUnit> units = new ArrayList<LexicalUnit>(); while (value != null) { units.add(value); value = value.getNextLexicalUnit(); } switch (units.size()) { case 1 : apply(style, "margin-top", units.get(0)); apply(style, "margin-right", units.get(0)); apply(style, "margin-bottom", units.get(0)); apply(style, "margin-left", units.get(0)); break; case 2 : apply(style, "margin-top", units.get(0)); apply(style, "margin-bottom", units.get(0)); apply(style, "margin-right", units.get(1)); apply(style, "margin-left", units.get(1)); break; case 3 : apply(style, "margin-top", units.get(0)); apply(style, "margin-right", units.get(1)); apply(style, "margin-left", units.get(1)); apply(style, "margin-bottom", units.get(2)); break; case 4 : apply(style, "margin-top", units.get(0)); apply(style, "margin-right", units.get(1)); apply(style, "margin-bottom", units.get(2)); apply(style, "margin-left", units.get(3)); break; default : throw new RuntimeException("Unsupported number of units in margin property "+units.size()); } break; /* Insets i = getInsets(value); style.put("margin",i.top + "," + i.bottom + ","+i.left+","+i.right); style.put("marUnit", new byte[]{i.topUnit, i.bottomUnit, i.leftUnit, i.rightUnit}); break; */ } case "padding-top" : style.put("padding-top", value); break; case "padding-left" : style.put("padding-left", value); break; case "padding-right" : style.put("padding-right", value); break; case "padding-bottom" : style.put("padding-bottom", value); break; case "padding" : { List<LexicalUnit> units = new ArrayList<LexicalUnit>(); while (value != null) { units.add(value); value = value.getNextLexicalUnit(); } switch (units.size()) { case 1 : apply(style, "padding-top", units.get(0)); apply(style, "padding-right", units.get(0)); apply(style, "padding-bottom", units.get(0)); apply(style, "padding-left", units.get(0)); break; case 2 : apply(style, "padding-top", units.get(0)); apply(style, "padding-bottom", units.get(0)); apply(style, "padding-right", units.get(1)); apply(style, "padding-left", units.get(1)); break; case 3 : apply(style, "padding-top", units.get(0)); apply(style, "padding-right", units.get(1)); apply(style, "padding-left", units.get(1)); apply(style, "padding-bottom", units.get(2)); break; case 4 : apply(style, "padding-top", units.get(0)); apply(style, "padding-right", units.get(1)); apply(style, "padding-bottom", units.get(2)); apply(style, "padding-left", units.get(3)); break; default : throw new RuntimeException("Unsupported number of units in padding property "+units.size()); } break; /* Insets i = getInsets(value); style.put("margin",i.top + "," + i.bottom + ","+i.left+","+i.right); style.put("marUnit", new byte[]{i.topUnit, i.bottomUnit, i.leftUnit, i.rightUnit}); break; */ } /* case "padding" : { Insets i = getInsets(value); style.put("padding", i.top+","+i.bottom+","+i.left+","+i.right); style.put("padUnit", new byte[]{i.topUnit, i.bottomUnit, i.leftUnit, i.rightUnit}); break; } */ case "color" : { /* Color c= getColor(value); style.put("fgColor",String.format( "#%02X%02X%02X", (int)( c.getRed() * 255 ), (int)( c.getGreen() * 255 ), (int)( c.getBlue() * 255 ) )); break; */ style.put("color", value); break; } case "background-image" : { style.put("background-image", value); break; } case "background-color" : { style.put("background-color", value); break; } case "background-repeat" : { style.put("background-repeat", value); break; } case "width" : { style.put("width", value); break; } case "height" : { style.put("height", value); break; } case "cn1-image-id" : { style.put("cn1-image-id", value); break; } case "min-width" : { style.put("min-width", value); break; } case "min-height" : { style.put("min-height", value); break; } case "background-size" : { style.put("background-size", value); break; } case "text-align" : { style.put("text-align", value); break; } case "text-decoration" : { style.put("text-decoration", value); break; } case "cn1-background-type" : { style.put("cn1-background-type", value); break; } case "background" : { System.out.println("Setting background"); while (value != null) { System.out.println(value); System.out.println(value.getLexicalUnitType()); switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_IDENT: switch (value.getStringValue()) { //{ "IMAGE_SCALED", "IMAGE_SCALED_FILL", "IMAGE_SCALED_FIT", "IMAGE_TILE_BOTH", "IMAGE_TILE_VERTICAL_ALIGN_LEFT", "IMAGE_TILE_VERTICAL_ALIGN_CENTER", "IMAGE_TILE_VERTICAL_ALIGN_RIGHT", "IMAGE_TILE_HORIZONTAL_ALIGN_TOP", "IMAGE_TILE_HORIZONTAL_ALIGN_CENTER", "IMAGE_TILE_HORIZONTAL_ALIGN_BOTTOM", "IMAGE_ALIGNED_TOP", "IMAGE_ALIGNED_BOTTOM", "IMAGE_ALIGNED_LEFT", "IMAGE_ALIGNED_RIGHT", "IMAGE_ALIGNED_TOP_LEFT", "IMAGE_ALIGNED_TOP_RIGHT", "IMAGE_ALIGNED_BOTTOM_LEFT", "IMAGE_ALIGNED_BOTTOM_RIGHT", "IMAGE_ALIGNED_CENTER", "GRADIENT_LINEAR_HORIZONTAL", "GRADIENT_LINEAR_VERTICAL", "GRADIENT_RADIAL", "NONE" })); case "cn1-image-scaled": case "cn1-image-scaled-fill": case "cn1-image-scaled-fit": case "cn1-image-tile-both" : case "cn1-image-tile-valign-left" : case "cn1-image-tile-valign-center" : case "cn1-image-tile-valign-right" : case "cn1-image-tile-halign-top" : case "cn1-image-tile-halign-center" : case "cn1-image-tile-halign-bottom" : case "cn1-image-align-bottom" : case "cn1-image-align-left" : case "cn1-image-align-right" : case "cn1-image-align-center" : case "cn1-image-align-top-left" : case "cn1-image-align-top-right" : case "cn1-image-align-bottom-left" : case "cn1-image-align-bottom-right" : case "cn1-image-border": case "cn1-none" : case "none" : apply(style, "cn1-background-type", value); break; } // no break here because ident could be a color too // so we let proceed to next (RGB_COLOR). case LexicalUnit.SAC_RGBCOLOR : System.out.println("Setting background color "+value); apply(style, "background-color", value); break; case LexicalUnit.SAC_URI : apply(style, "background-image", value); break; case LexicalUnit.SAC_FUNCTION : switch (value.getFunctionName()) { case "linear-gradient" : case "radial-gradient" : style.put("background", value); break; default: throw new RuntimeException("Unsupported function in background property"); } break; default : throw new RuntimeException("Unsupported lexical type for background "+value.getLexicalUnitType()); } value = value.getNextLexicalUnit(); } break; } case "border-style-top": case "border-top-style" : { style.put("border-top-style", value); break; } case "border-style-right": case "border-right-style" : { style.put("border-right-style", value); break; } case "border-style-bottom": case "border-bottom-style" : { style.put("border-bottom-style", value); break; } case "border-style-left": case "border-left-style" : { style.put("border-left-style", value); break; } case "border-width-top": case "border-top-width" : { style.put("border-top-width", value); break; } case "border-width-right": case "border-right-width" : { style.put("border-right-width", value); break; } case "border-width-bottom": case "border-bottom-width" : { style.put("border-bottom-width", value); break; } case "border-width-left": case "border-left-width" : { style.put("border-left-width", value); break; } case "border-color-top": case "border-top-color" : { style.put("border-top-color", value); break; } case "border-color-right": case "border-right-color" : { style.put("border-right-color", value); break; } case "border-color-bottom": case "border-bottom-color" : { style.put("border-bottom-color", value); break; } case "border-color-left": case "border-left-color" : { style.put("border-left-color", value); break; } case "border-style" : { List<LexicalUnit> units = new ArrayList<LexicalUnit>(); while (value != null) { units.add(value); value = value.getNextLexicalUnit(); } switch (units.size()) { case 1 : apply(style, "border-style-top", units.get(0)); apply(style, "border-style-left", units.get(0)); apply(style, "border-style-bottom", units.get(0)); apply(style, "border-style-right", units.get(0)); break; case 2 : apply(style, "border-style-top", units.get(0)); apply(style, "border-style-bottom", units.get(0)); apply(style, "border-style-right", units.get(1)); apply(style, "border-style-left", units.get(1)); break; case 3 : apply(style, "border-style-top", units.get(0)); apply(style, "border-style-right", units.get(1)); apply(style, "border-style-left", units.get(1)); apply(style, "border-style-bottom", units.get(2)); break; case 4 : apply(style, "border-style-top", units.get(0)); apply(style, "border-style-left", units.get(3)); apply(style, "border-style-bottom", units.get(2)); apply(style, "border-style-right", units.get(1)); break; default: throw new RuntimeException("Unsupported number of units for border-style "+units.size()); } break; } case "border-width" : { List<LexicalUnit> units = new ArrayList<LexicalUnit>(); while (value != null) { units.add(value); value = value.getNextLexicalUnit(); } switch (units.size()) { case 1 : apply(style, "border-width-top", units.get(0)); apply(style, "border-width-left", units.get(0)); apply(style, "border-width-bottom", units.get(0)); apply(style, "border-width-right", units.get(0)); break; case 2 : apply(style, "border-width-top", units.get(0)); apply(style, "border-width-bottom", units.get(0)); apply(style, "border-width-right", units.get(1)); apply(style, "border-width-left", units.get(1)); break; case 3 : apply(style, "border-width-top", units.get(0)); apply(style, "border-width-right", units.get(1)); apply(style, "border-width-left", units.get(1)); apply(style, "border-width-bottom", units.get(2)); break; case 4 : apply(style, "border-width-top", units.get(0)); apply(style, "border-width-left", units.get(3)); apply(style, "border-width-bottom", units.get(2)); apply(style, "border-width-right", units.get(1)); break; default: throw new RuntimeException("Unsupported number of units for border-width "+units.size()); } break; } case "border-color" : { List<LexicalUnit> units = new ArrayList<LexicalUnit>(); while (value != null) { units.add(value); value = value.getNextLexicalUnit(); } switch (units.size()) { case 1 : apply(style, "border-color-top", units.get(0)); apply(style, "border-color-left", units.get(0)); apply(style, "border-color-bottom", units.get(0)); apply(style, "border-color-right", units.get(0)); break; case 2 : apply(style, "border-color-top", units.get(0)); apply(style, "border-color-bottom", units.get(0)); apply(style, "border-color-right", units.get(1)); apply(style, "border-color-left", units.get(1)); break; case 3 : apply(style, "border-color-top", units.get(0)); apply(style, "border-color-right", units.get(1)); apply(style, "border-color-left", units.get(1)); apply(style, "border-color-bottom", units.get(2)); break; case 4 : apply(style, "border-color-top", units.get(0)); apply(style, "border-color-left", units.get(3)); apply(style, "border-color-bottom", units.get(2)); apply(style, "border-color-right", units.get(1)); break; default: throw new RuntimeException("Unsupported number of units for border-style "+units.size()); } break; } case "border-top" : { while (value != null) { switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_FUNCTION: case LexicalUnit.SAC_RGBCOLOR : apply(style, "border-color-top", value); break; case LexicalUnit.SAC_CENTIMETER : case LexicalUnit.SAC_MILLIMETER : case LexicalUnit.SAC_PIXEL : case LexicalUnit.SAC_POINT : apply(style, "border-width-top", value); break; case LexicalUnit.SAC_IDENT : try { Color.web(value.getStringValue()); apply(style, "border-color-top", value); } catch (IllegalArgumentException ex) { apply(style, "border-style-top", value); } break; default : throw new RuntimeException("Unsupported lexical unit in border-top: "+value.getLexicalUnitType()); } value = value.getNextLexicalUnit(); } break; } case "border-right" : { while (value != null) { switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_FUNCTION: case LexicalUnit.SAC_RGBCOLOR : apply(style, "border-color-right", value); break; case LexicalUnit.SAC_CENTIMETER : case LexicalUnit.SAC_MILLIMETER : case LexicalUnit.SAC_PIXEL : case LexicalUnit.SAC_POINT : apply(style, "border-width-right", value); break; case LexicalUnit.SAC_IDENT : try { Color.web(value.getStringValue()); apply(style, "border-color-right", value); } catch (IllegalArgumentException ex) { apply(style, "border-style-right", value); } break; default : throw new RuntimeException("Unsupported lexical unit in border-right: "+value.getLexicalUnitType()); } value = value.getNextLexicalUnit(); } break; } case "border-bottom" : { while (value != null) { switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_FUNCTION: case LexicalUnit.SAC_RGBCOLOR : apply(style, "border-color-bottom", value); break; case LexicalUnit.SAC_CENTIMETER : case LexicalUnit.SAC_MILLIMETER : case LexicalUnit.SAC_PIXEL : case LexicalUnit.SAC_POINT : apply(style, "border-width-bottom", value); break; case LexicalUnit.SAC_IDENT : try { Color.web(value.getStringValue()); apply(style, "border-color-bottom", value); } catch (IllegalArgumentException ex) { apply(style, "border-style-bottom", value); } break; default : throw new RuntimeException("Unsupported lexical unit in border-bottom: "+value.getLexicalUnitType()); } value = value.getNextLexicalUnit(); } break; } case "border-left" : { while (value != null) { switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_FUNCTION: case LexicalUnit.SAC_RGBCOLOR : apply(style, "border-color-left", value); break; case LexicalUnit.SAC_CENTIMETER : case LexicalUnit.SAC_MILLIMETER : case LexicalUnit.SAC_PIXEL : case LexicalUnit.SAC_POINT : apply(style, "border-width-left", value); break; case LexicalUnit.SAC_IDENT : try { Color.web(value.getStringValue()); apply(style, "border-color-left", value); } catch (IllegalArgumentException ex) { apply(style, "border-style-left", value); } break; default : throw new RuntimeException("Unsupported lexical unit in border-left: "+value.getLexicalUnitType()); } value = value.getNextLexicalUnit(); } break; } case "border" : { apply(style, "border-top", value); apply(style, "border-right", value); apply(style, "border-bottom", value); apply(style, "border-left", value); break; } case "cn1-border-top-left-radius-x" : style.put("cn1-border-top-left-radius-x", value); break; case "cn1-border-bottom-left-radius-x" : style.put("cn1-border-bottom-left-radius-x", value); break; case "cn1-border-top-right-radius-x" : style.put("cn1-border-top-right-radius-x", value); break; case "cn1-border-bottom-right-radius-x" : style.put("cn1-border-bottom-right-radius-x", value); break; case "cn1-border-top-left-radius-y" : style.put("cn1-border-top-left-radius-y", value); break; case "cn1-border-bottom-left-radius-y" : style.put("cn1-border-bottom-left-radius-y", value); break; case "cn1-border-top-right-radius-y" : style.put("cn1-border-top-right-radius-y", value); break; case "cn1-border-bottom-right-radius-y" : style.put("cn1-border-bottom-right-radius-y", value); break; case "border-top-left-radius" : apply(style, "cn1-border-top-left-radius-x", value); apply(style, "cn1-border-top-left-radius-y", value); break; case "border-bottom-left-radius" : apply(style, "cn1-border-bottom-left-radius-x", value); apply(style, "cn1-border-bottom-left-radius-y", value); break; case "border-top-right-radius" : apply(style, "cn1-border-top-right-radius-x", value); apply(style, "cn1-border-top-right-radius-y", value); break; case "border-bottom-right-radius" : apply(style, "cn1-border-bottom-right-radius-x", value); apply(style, "cn1-border-bottom-right-radius-y", value); break; case "border-radius" : { List<LexicalUnit> xUnits = new ArrayList<LexicalUnit>(); List<LexicalUnit> yUnits = new ArrayList<LexicalUnit>(); List<LexicalUnit> tmpUnits = xUnits; while (value != null) { if (value.getLexicalUnitType() == LexicalUnit.SAC_OPERATOR_SLASH) { tmpUnits = yUnits; value = value.getNextLexicalUnit(); continue; } tmpUnits.add(value); value = value.getNextLexicalUnit(); } switch (xUnits.size()) { case 1 : apply(style, "cn1-border-top-left-radius-x", xUnits.get(0)); apply(style, "cn1-border-top-right-radius-x", xUnits.get(0)); apply(style, "cn1-border-bottom-left-radius-x", xUnits.get(0)); apply(style, "cn1-border-bottom-right-radius-x", xUnits.get(0)); break; case 2 : apply(style, "cn1-border-top-left-radius-x", xUnits.get(0)); apply(style, "cn1-border-top-right-radius-x", xUnits.get(1)); apply(style, "cn1-border-bottom-left-radius-x", xUnits.get(1)); apply(style, "cn1-border-bottom-right-radius-x", xUnits.get(0)); break; case 3 : apply(style, "cn1-border-top-left-radius-x", xUnits.get(0)); apply(style, "cn1-border-top-right-radius-x", xUnits.get(1)); apply(style, "cn1-border-bottom-left-radius-x", xUnits.get(1)); apply(style, "cn1-border-bottom-right-radius-x", xUnits.get(2)); break; case 4 : apply(style, "cn1-border-top-left-radius-x", xUnits.get(0)); apply(style, "cn1-border-top-right-radius-x", xUnits.get(1)); apply(style, "cn1-border-bottom-left-radius-x", xUnits.get(3)); apply(style, "cn1-border-bottom-right-radius-x", xUnits.get(2)); break; default: throw new RuntimeException("Unsupported number of x units for border radius : "+xUnits.size()); } if (yUnits.isEmpty()) { yUnits = xUnits; } switch (yUnits.size()) { case 1 : apply(style, "cn1-border-top-left-radius-y", yUnits.get(0)); apply(style, "cn1-border-top-right-radius-y", yUnits.get(0)); apply(style, "cn1-border-bottom-left-radius-y", yUnits.get(0)); apply(style, "cn1-border-bottom-right-radius-y", yUnits.get(0)); break; case 2 : apply(style, "cn1-border-top-left-radius-y", yUnits.get(0)); apply(style, "cn1-border-top-right-radius-y", yUnits.get(1)); apply(style, "cn1-border-bottom-left-radius-y", yUnits.get(1)); apply(style, "cn1-border-bottom-right-radius-y", yUnits.get(0)); break; case 3 : apply(style, "cn1-border-top-left-radius-y", yUnits.get(0)); apply(style, "cn1-border-top-right-radius-y", yUnits.get(1)); apply(style, "cn1-border-bottom-left-radius-y", yUnits.get(1)); apply(style, "cn1-border-bottom-right-radius-y", yUnits.get(2)); break; case 4 : apply(style, "cn1-border-top-left-radius-y", yUnits.get(0)); apply(style, "cn1-border-top-right-radius-y", yUnits.get(1)); apply(style, "cn1-border-bottom-left-radius-y", yUnits.get(3)); apply(style, "cn1-border-bottom-right-radius-y", yUnits.get(2)); break; default: throw new RuntimeException("Unsupported number of y units for border radius : "+yUnits.size()); } } break; case "cn1-box-shadow-h" : { style.put("cn1-box-shadow-h", value); break; } case "cn1-box-shadow-v" : { style.put("cn1-box-shadow-v", value); break; } case "cn1-box-shadow-blur" : { style.put("cn1-box-shadow-blur", value); break; } case "cn1-box-shadow-spread" : { style.put("cn1-box-shadow-spread", value); break; } case "cn1-box-shadow-color" : { style.put("cn1-box-shadow-color", value); break; } case "cn1-box-shadow-inset" : { style.put("cn1-box-shadow-inset", value); break; } case "box-shadow" : { if ("none".equals(value.getStringValue())) { apply(style, "cn1-box-shadow-inset", value); apply(style, "cn1-box-shadow-color", value); apply(style, "cn1-box-shadow-spread", value); apply(style, "cn1-box-shadow-blur", value); apply(style, "cn1-box-shadow-h", value); apply(style, "cn1-box-shadow-v", value); break; } int i = 0; String[] params = {"cn1-box-shadow-h", "cn1-box-shadow-v", "cn1-box-shadow-blur", "cn1-box-shadow-spread"}; boolean colorSet = false; while (value != null) { switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_IDENT : if ("inset".equals(value.getStringValue())) { apply(style, "cn1-box-shadow-inset", value); } else { apply(style, "cn1-box-shadow-color", value); colorSet = true; } break; case LexicalUnit.SAC_PIXEL: case LexicalUnit.SAC_MILLIMETER: case LexicalUnit.SAC_PERCENTAGE: case LexicalUnit.SAC_CENTIMETER: case LexicalUnit.SAC_EM: case LexicalUnit.SAC_POINT: case LexicalUnit.SAC_INTEGER: apply(style, params[i++], value); break; case LexicalUnit.SAC_RGBCOLOR: apply(style, "cn1-box-shadow-color", value); colorSet = true; break; case LexicalUnit.SAC_FUNCTION: if ("rgba".equals(value.getFunctionName())) { apply(style, "cn1-box-shadow-color", value); } else { throw new RuntimeException("Unrecognized function when parsing box-shadow "+value.getFunctionName()); } break; default: throw new RuntimeException("Unsupported lexical unit type in box shadow "+value.getLexicalUnitType()); } value = value.getNextLexicalUnit(); } break; } default : throw new RuntimeException("Unsupported CSS property "+property); } } Element getElementByName(String name) { if (!elements.containsKey(name)) { Element el = new Element(); el.parent = anyNodeStyle; elements.put(name, el); } return (Element)elements.get(name); } Element getElementForSelector(Selector sel) { switch (sel.getSelectorType()) { case Selector.SAC_ANY_NODE_SELECTOR : return anyNodeStyle; case Selector.SAC_ELEMENT_NODE_SELECTOR : { ElementSelector esel = (ElementSelector)sel; return getElementByName(esel.getLocalName()); } case Selector.SAC_CONDITIONAL_SELECTOR : { ConditionalSelector csel = (ConditionalSelector)sel; SimpleSelector simple = csel.getSimpleSelector(); switch (simple.getSelectorType()) { case Selector.SAC_ANY_NODE_SELECTOR : { Element parent = anyNodeStyle; switch (csel.getCondition().getConditionType()) { case Condition.SAC_CLASS_CONDITION : AttributeCondition clsCond = (AttributeCondition)csel.getCondition(); switch (clsCond.getLocalName()) { case "selected" : return parent.getSelected(); case "unselected" : return parent.getUnselected(); case "pressed" : return parent.getPressed(); case "disabled" : return parent.getDisabled(); default : throw new RuntimeException("Unsupported style class "+clsCond.getLocalName()); } default : throw new RuntimeException("Unsupported CSS condition type "+csel.getCondition().getConditionType()); } } case Selector.SAC_ELEMENT_NODE_SELECTOR : { ElementSelector esel = (ElementSelector)simple; Element parent = getElementForSelector(esel); switch (csel.getCondition().getConditionType()) { case Condition.SAC_CLASS_CONDITION : AttributeCondition clsCond = (AttributeCondition)csel.getCondition(); switch (clsCond.getValue()) { case "selected" : return parent.getSelected(); case "unselected" : return parent.getUnselected(); case "pressed" : return parent.getPressed(); case "disabled" : return parent.getDisabled(); default : throw new RuntimeException("Unsupported style class "+clsCond.getValue()); } default : throw new RuntimeException("Unsupported CSS condition type "+csel.getCondition().getConditionType()); } } default : throw new RuntimeException("Unsupported selector type "+simple.getSelectorType()); } } default : throw new RuntimeException("Unsupported selector type "+sel.getSelectorType()); } } public void apply(Selector sel, String property, LexicalUnit value) { Element el = getElementForSelector(sel); apply(el, property, value); } private class Insets { static final int TOP=0; static final int RIGHT=1; static final int BOTTOM=2; static final int LEFT=3; int top, right, left, bottom; byte topUnit, rightUnit, leftUnit, bottomUnit; void set(int index, int value, byte unit) { switch (index) { case TOP: top = value; topUnit = unit; break; case RIGHT: right = value; rightUnit = unit; break; case BOTTOM: bottom = value; bottomUnit = unit; break; case LEFT: left = value; leftUnit = unit; break; default: throw new RuntimeException("Invalid index "+index); } } public String toString() { return top+","+right+","+bottom+","+left; } } private class IntValue { int value; byte unit; } private IntValue getIntValue(LexicalUnit value) { IntValue out = new IntValue(); if (value == null) { return out; } int pixelValue = 0; byte unit = 0; switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_PIXEL : case LexicalUnit.SAC_POINT : case LexicalUnit.SAC_INTEGER: unit = (byte)0; pixelValue = Math.round(value.getFloatValue()); break; case LexicalUnit.SAC_MILLIMETER : unit = (byte)2; pixelValue = Math.round(value.getFloatValue()); break; case LexicalUnit.SAC_CENTIMETER : unit = (byte) 2; pixelValue = Math.round(value.getFloatValue() * 10); break; default : throw new RuntimeException("Unsupported unit for inset "+value.getDimensionUnitText()); } out.value = pixelValue; out.unit = unit; return out; } private Insets getInsets(String key, Map<String,LexicalUnit> style) { Insets i = new Insets(); LexicalUnit value = style.get(key+"-top"); IntValue top = getIntValue(value); IntValue right = getIntValue(style.get(key+"-right")); IntValue bottom = getIntValue(style.get(key+"-bottom")); IntValue left = getIntValue(style.get(key+"-left")); i.top = top.value; i.topUnit = top.unit; i.right = right.value; i.rightUnit = right.unit; i.bottom = bottom.value; i.bottomUnit = bottom.unit; i.left = left.value; i.leftUnit = left.unit; return i; } private Insets getInsets(LexicalUnit value) { Insets i = new Insets(); int index = Insets.TOP; while (value != null) { int pixelValue = 0; byte unit = 0; switch (value.getLexicalUnitType()) { case LexicalUnit.SAC_PIXEL : case LexicalUnit.SAC_POINT : unit = (byte)0; pixelValue = (int)px(Math.round(value.getFloatValue())); break; case LexicalUnit.SAC_MILLIMETER : unit = (byte)2; pixelValue = Math.round(value.getFloatValue()); break; case LexicalUnit.SAC_CENTIMETER : unit = (byte) 2; pixelValue = Math.round(value.getFloatValue() * 10); break; default : throw new RuntimeException("Unsupported unit for inset "+value.getDimensionUnitText()); } switch (index) { case Insets.TOP : i.set(Insets.TOP, pixelValue, unit); i.set(Insets.RIGHT, pixelValue, unit); i.set(Insets.BOTTOM, pixelValue, unit); i.set(Insets.LEFT, pixelValue, unit); break; case Insets.RIGHT : i.set(Insets.LEFT, pixelValue, unit); i.set(Insets.RIGHT, pixelValue, unit); break; case Insets.BOTTOM : i.set(Insets.BOTTOM, pixelValue, unit); break; case Insets.LEFT : i.set(Insets.LEFT, pixelValue, unit); } index++; value = value.getNextLexicalUnit(); } return i; } /* Border getBorder(LexicalUnit lu) { int width = 1; while (lu != null) { switch (lu.getLexicalUnitType()) { case LexicalUnit.SAC_PIXEL : } } } */ Color getColor(LexicalUnit color) { String str =getColorString(color); return Color.web("#"+str); } int getColorInt(LexicalUnit color) { String str = getColorString(color); return Integer.valueOf(str, 16); } String getColorString(LexicalUnit color) { switch (color.getLexicalUnitType()) { case LexicalUnit.SAC_IDENT: case LexicalUnit.SAC_RGBCOLOR: { System.out.println("Lex type "+color.getLexicalUnitType()); System.out.println("Color: "+color.getStringValue()); System.out.println(color); String colorStr = color.getStringValue(); if (colorStr == null) { colorStr = ""+color; colorStr = colorStr.replace("color", "rgb"); } Color c = Color.web(colorStr); return String.format( "%02X%02X%02X", (int)( c.getRed() * 255 ), (int)( c.getGreen() * 255 ), (int)( c.getBlue() * 255 ) ); } case LexicalUnit.SAC_FUNCTION: { if ("rgba".equals(color.getFunctionName())) { LexicalUnit param = color.getParameters(); float r = param.getFloatValue(); param = param.getNextLexicalUnit(); float g = param.getFloatValue(); param = param.getNextLexicalUnit(); float b = param.getFloatValue(); param = param.getNextLexicalUnit(); float a = param.getFloatValue(); Color c = Color.rgb((int)r, (int)g, (int)b); return String.format( "%02X%02X%02X", (int)( c.getRed() * 255 ), (int)( c.getGreen() * 255 ), (int)( c.getBlue() * 255 ) ); } } default: throw new RuntimeException("Unsupported color type "+color.getLexicalUnitType()); } } public static CSSTheme load(URL uri) throws IOException { try { System.setProperty("org.w3c.css.sac.parser", "org.w3c.flute.parser.Parser"); InputSource source = new InputSource(); InputStream stream = uri.openStream(); source.setByteStream(stream); source.setURI(uri.toString()); ParserFactory parserFactory = new ParserFactory(); Parser parser = parserFactory.makeParser(); final CSSTheme theme = new CSSTheme(); theme.baseURL = uri; parser.setDocumentHandler(new DocumentHandler() { SelectorList currSelectors; FontFace currFontFace; @Override public void startDocument(InputSource is) throws CSSException { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void endDocument(InputSource is) throws CSSException { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void comment(String string) throws CSSException { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void ignorableAtRule(String string) throws CSSException { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void namespaceDeclaration(String string, String string1) throws CSSException { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void importStyle(String string, SACMediaList sacml, String string1) throws CSSException { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void startMedia(SACMediaList sacml) throws CSSException { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void endMedia(SACMediaList sacml) throws CSSException { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void startPage(String string, String string1) throws CSSException { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void endPage(String string, String string1) throws CSSException { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void startFontFace() throws CSSException { currFontFace = theme.createFontFace(); } @Override public void endFontFace() throws CSSException { currFontFace = null; } @Override public void startSelector(SelectorList sl) throws CSSException { //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. currSelectors = sl; } @Override public void endSelector(SelectorList sl) throws CSSException { currSelectors = null; } @Override public void property(String string, LexicalUnit lu, boolean bln) throws CSSException { if (currFontFace != null) { switch (string) { case "font-family" : currFontFace.fontFamily = lu; break; case "font-style" : currFontFace.fontStyle = lu; break; case "font-stretch" : currFontFace.fontStretch = lu; break; case "src" : currFontFace.src = lu; break; case "font-weight" : currFontFace.fontWeight = lu; break; } } else { int len = currSelectors.getLength(); for (int i=0; i<len; i++) { Selector sel = currSelectors.item(i); theme.apply(sel, string, lu); } } } }); parser.parseStyleSheet(source); stream.close(); return theme; } catch (ClassNotFoundException ex) { Logger.getLogger(CSSTheme.class.getName()).log(Level.SEVERE, null, ex); } catch (IllegalAccessException ex) { Logger.getLogger(CSSTheme.class.getName()).log(Level.SEVERE, null, ex); } catch (InstantiationException ex) { Logger.getLogger(CSSTheme.class.getName()).log(Level.SEVERE, null, ex); } catch (NullPointerException ex) { Logger.getLogger(CSSTheme.class.getName()).log(Level.SEVERE, null, ex); } catch (ClassCastException ex) { Logger.getLogger(CSSTheme.class.getName()).log(Level.SEVERE, null, ex); } return null; } public static void main(String[] args) throws Exception { CSSTheme theme = CSSTheme.load(CSSTheme.class.getResource("test.css")); } }
[ "steve@weblite.ca" ]
steve@weblite.ca
0a8142b66954ef817fcf8d244c96b0d45b5799d3
1239388b34644815a8daf4d0b9dc433faeb6385b
/EP25/projects/Button Command 2/CommandMain.java
07de02384d1631ebc7ab27bb45ed4cce686564c2
[]
no_license
gamounitevn/CleanCode
a6e45fba401ea8ce6db2bbd766fc6a2c9546932f
781c85f02349b5389db279d1939c6e305f0f1e66
refs/heads/master
2021-01-13T14:10:08.718023
2016-12-12T22:45:31
2016-12-12T22:45:31
76,171,212
0
0
null
null
null
null
UTF-8
Java
false
false
617
java
package commands; import static commands.ButtonCommand.LightCommand; public class CommandMain { public static void main(String[] args) { Commands.add(new ButtonCommand(IO.BUTTON1_ADDRESS, new LightCommand(IO.LIGHT1_ADDRESS))); Commands.add(new ButtonCommand(IO.BUTTON2_ADDRESS, new LightCommand(IO.LIGHT2_ADDRESS))); Commands.add(new ButtonCommand(IO.BUTTON3_ADDRESS, new LightCommand(IO.LIGHT3_ADDRESS))); Commands.add(new ButtonCommand(IO.BUTTON4_ADDRESS, new LightCommand(IO.LIGHT4_ADDRESS))); Commands.add(new ButtonCommand(IO.BUTTON5_ADDRESS, new LightCommand(IO.LIGHT5_ADDRESS))); } }
[ "thanhhai.fu@gmail.com" ]
thanhhai.fu@gmail.com
6a03b689b1e6349e19e76361894c8fa356b076bc
0deb56bdcf91ca229bf61da0cf3cf3406223fb2c
/SmartLife-webrtc/SLPubLib/src/main/java/com/coocaa/publib/utils/FilterUtils.java
98286e8859a4b778ee3c377528b1d178b62af581
[]
no_license
soulcure/airplay
2ceb0a6707b2d4a69f85dd091b797dcb6f2c9d46
37dd3a890148a708d8aa6f95ac84355606af6a18
refs/heads/master
2023-04-11T03:49:15.246072
2021-04-16T09:15:03
2021-04-16T09:15:03
357,804,553
1
2
null
null
null
null
UTF-8
Java
false
false
2,452
java
package com.coocaa.publib.utils; /** * <p>滤镜工具类</p> * <p/> * R' = a*R + b*G + c*B + d*A + e;<br> * G' = f*R + g*G + h*B + i*A + j;<br> * B' = k*R + l*G + m*B + n*A + o;<br> * A' = p*R + q*G + r*B + s*A + t;<br> */ public class FilterUtils { /** * RGBA蓝色滤镜 */ static final float arrayBlue[] = { 1, 0, 0, 0, 50, 0, 1, 0, 0, 80, 0, 0, 1, 0, 255, 0, 0, 0, 1, 0}; /** * RGBA绿色滤镜 */ static final float arrayGreen[] = { 1, 0, 0, 0, 0, 0, 1, 0, 0, 100, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0}; /** * RGBA灰色滤镜 */ static final float arrayGray[] = { 0, 0, 0, 0, 110, 0, 0, 0, 0, 110, 0, 0, 0, 0, 110, 0, 0, 0, 1, 0}; /** * RGBA深色滤镜 */ static final float arrayDark[] = { 1, 0, 0, 0, -20, 0, 1, 0, 0, -20, 0, 0, 1, 0, -20, 0, 0, 0, 1, 0}; /** * RGBA浅色滤镜 */ static final float arrayLight[] = { 1, 0, 0, 0, 20, 0, 1, 0, 0, 20, 0, 0, 1, 0, 20, 0, 0, 0, 1, 0}; /** * 背景颜色变换方式 */ public enum Type { /** * 变蓝 */ blue, /** * 变绿 */ green, /** * 变灰 */ gray, /** * 深色 */ dark, /** * 浅色 */ light, /** * 自定义滤镜 */ self } public static float[] getFilter(Type t) { switch (t) { case blue: return arrayBlue; case green: return arrayGreen; case light: return arrayLight; case dark: return arrayDark; default: return arrayDark; } } /** * 获取亮度滤镜,经验值-10变暗,10变亮 * * @param brightness 负数:变暗 正数:变亮(绝对值通常不超过255) * @return */ public static float[] getBrightFilter(int brightness) { return new float[]{ 1, 0, 0, 0, brightness, 0, 1, 0, 0, brightness, 0, 0, 1, 0, brightness, 0, 0, 0, 1, 0}; } }
[ "chenqiongyao@coocaa.com" ]
chenqiongyao@coocaa.com
b739697325ae0de1315ab933f868d57286d6f8fd
fedaa631df14c09433064c452c59ad2fd14c3a2b
/src/main/java/com/entor/tmall/util/UploadedImageFile.java
2263e10ce2cb0c8f4e6ac74806bc295a66fff1c2
[]
no_license
1042947936/ssm_tmall
b36eb45cc1dee457a3349706c3384cff2992f7b0
0a4ad0bd63191f488c03a13daa4b21e433b3e18b
refs/heads/master
2022-12-23T21:30:35.520548
2019-09-24T09:09:03
2019-09-24T09:09:03
210,527,610
0
0
null
2022-12-15T23:49:47
2019-09-24T06:25:04
Java
UTF-8
Java
false
false
317
java
package com.entor.tmall.util; import org.springframework.web.multipart.MultipartFile; public class UploadedImageFile { MultipartFile image; public MultipartFile getImage() { return image; } public void setImage(MultipartFile image) { this.image = image; } }
[ "Administrator@80DR054LIU0TTAN" ]
Administrator@80DR054LIU0TTAN
317bdb5aad111d2a9f121f9e1a79d62cbca13afc
f856453294a2849ac6adeb9a510dcf2290910b6d
/app/src/main/java/id/co/kalacakra/simpleLivedataMVVM/db/AppDb.java
cdfe89974271801ee6fddb158b300ec19facd5a3
[]
no_license
ediMariyanto/simpleLivedataMVVM
2850999bfa464ff2f01a4065896d7ed2175ed063
21a7c43a2f9958d5d647a37ab648aeb8a3b88fa5
refs/heads/master
2020-08-08T15:08:10.741443
2019-10-09T08:04:07
2019-10-09T08:04:07
213,855,104
0
0
null
null
null
null
UTF-8
Java
false
false
680
java
package id.co.kalacakra.simpleLivedataMVVM.db; import androidx.annotation.NonNull; import androidx.room.DatabaseConfiguration; import androidx.room.InvalidationTracker; import androidx.room.RoomDatabase; import androidx.sqlite.db.SupportSQLiteOpenHelper; //@Database(entities = {}, version = 1, exportSchema = false) public class AppDb extends RoomDatabase { @NonNull @Override protected SupportSQLiteOpenHelper createOpenHelper(DatabaseConfiguration config) { return null; } @NonNull @Override protected InvalidationTracker createInvalidationTracker() { return null; } @Override public void clearAllTables() { } }
[ "edimariyanto491@gmail.com" ]
edimariyanto491@gmail.com
521416a6bb8b00ca96bf56b2fe8138e972a00774
208ba847cec642cdf7b77cff26bdc4f30a97e795
/aj/ad/src/main/java/org.wp.ad/util/UserEmailUtils.java
4182fb3442933af777781d32e682f228544cb4ba
[]
no_license
kageiit/perf-android-large
ec7c291de9cde2f813ed6573f706a8593be7ac88
2cbd6e74837a14ae87c1c4d1d62ac3c35df9e6f8
refs/heads/master
2021-01-12T14:00:19.468063
2016-09-27T13:10:42
2016-09-27T13:10:42
69,685,305
0
0
null
2016-09-30T16:59:49
2016-09-30T16:59:48
null
UTF-8
Java
false
false
1,336
java
package org.wp.ad.util; import android.accounts.Account; import android.accounts.AccountManager; import android.content.Context; import android.util.Patterns; import org.wp.ad.util.AppLog.T; import java.util.regex.Pattern; public class UserEmailUtils { /** * Get primary account and return its name if it matches the email address pattern. * * @return primary account email address if it can be found or empty string else. */ public static String getPrimaryEmail(Context context) { try { AccountManager accountManager = AccountManager.get(context); if (accountManager == null) return ""; Account[] accounts = accountManager.getAccounts(); Pattern emailPattern = Patterns.EMAIL_ADDRESS; for (Account account : accounts) { // make sure account.name is an email address before adding to the list if (emailPattern.matcher(account.name).matches()) { return account.name; } } return ""; } catch (SecurityException e) { // exception will occur if app doesn't have GET_ACCOUNTS permission AppLog.e(T.UTILS, "SecurityException - missing GET_ACCOUNTS permission"); return ""; } } }
[ "cedric.champeau@gmail.com" ]
cedric.champeau@gmail.com
59d353e22957dcd4a6304f7bbeabe1abab972d7d
a89bffab020b9a20b575fc1f25ac357c51b7cd91
/assn2/net/datastructures/FullStackException.java
4c3ea5dd1ce07a19fb6fe57c8b9e8fe02c1bab47
[]
no_license
JohnMG/COMP9024
3cd5af50d72b433c06a0dec495128f99ec686969
671c600be8d1ab2393a7fd260f86eed6b3541a8a
refs/heads/master
2020-04-02T05:47:19.649475
2016-07-13T09:19:37
2016-07-13T09:19:37
63,218,734
1
3
null
null
null
null
UTF-8
Java
false
false
351
java
package net.datastructures; //begin#fragment FullStackException /** * Runtime exception thrown when the capacity of the array used by an * ArrayStack has been exceeded. * @see ArrayStack */ public class FullStackException extends RuntimeException { public FullStackException(String err) { super(err); } } //end#fragment FullStackException
[ "johnmassygreene@hotmail.com" ]
johnmassygreene@hotmail.com
b12713fd555f68d38d00d888adfbf29d215ad8c2
4f310707c1b65c0356683dec02c1e266e3a34ed2
/src/main/java/me/sujianxin/persistence/service/impl/FeElementService.java
aa52f99af25254a387a94535d3c881e19ffaf6d5
[]
no_license
jostinsu/FrontEndTool
c3b40e243ee5f5f879a3ba56ff71a5e7ae0007f0
1aeaf6fe04d075815238bdfd025c6a76f19b2d77
refs/heads/master
2021-05-30T21:33:56.961347
2016-05-09T14:13:40
2016-05-09T14:13:40
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,369
java
package me.sujianxin.persistence.service.impl; import me.sujianxin.persistence.model.FeElement; import me.sujianxin.persistence.model.FeType; import me.sujianxin.persistence.repository.FeElementRepository; import me.sujianxin.persistence.service.IFeElementService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.domain.Specification; import org.springframework.stereotype.Service; import javax.persistence.criteria.Predicate; import javax.transaction.Transactional; import java.util.List; /** * <p>Created with IDEA * <p>Author: laudukang * <p>Date: 2016/3/5 * <p>Time: 23:04 * <p>Version: 1.0 */ @Service @Transactional public class FeElementService implements IFeElementService { @Autowired private FeElementRepository feElementRepository; @Override public void save(FeElement feElement) { feElementRepository.save(feElement); } @Override public void deleteById(int id) { feElementRepository.delete(id); } @Override public void updateById(FeElement feElement) { FeElement tmp = feElementRepository.findOne(feElement.getId()); if (null != tmp) { tmp.setType(feElement.getType()); tmp.setCode(feElement.getCode()); tmp.setRemark(feElement.getRemark()); tmp.setName(feElement.getName()); tmp.setIcon(feElement.getIcon()); feElementRepository.save(tmp); } } @Override public FeElement findOne(int id) { return feElementRepository.findOne(id); } @Override public Page<FeElement> findAll(Pageable pageable) { return feElementRepository.findAll(pageable); } @Override public List<FeElement> findByTypeId(int typeid) { return feElementRepository.findAll(getSpecification(typeid)); } @Override public long count() { return feElementRepository.count(); } private Specification<FeElement> getSpecification(int typeid) { return (root, query, cb) -> { Predicate predicate = cb.conjunction(); predicate.getExpressions().add(cb.equal(root.<FeType>get("type").get("id").as(Integer.class), typeid)); return predicate; }; } }
[ "laudukang@gmail.com" ]
laudukang@gmail.com
aa411bcb80ef8be63132c1345a1df5f48f543b46
3bc62f2a6d32df436e99507fa315938bc16652b1
/struts2/src/main/java/com/intellij/struts2/ognl/highlight/OgnlHighlighter.java
12795b9126a9a43656283ebc50519d2e157d150f
[ "Apache-2.0" ]
permissive
JetBrains/intellij-obsolete-plugins
7abf3f10603e7fe42b9982b49171de839870e535
3e388a1f9ae5195dc538df0d3008841c61f11aef
refs/heads/master
2023-09-04T05:22:46.470136
2023-06-11T16:42:37
2023-06-11T16:42:37
184,035,533
19
29
Apache-2.0
2023-07-30T14:23:05
2019-04-29T08:54:54
Java
UTF-8
Java
false
false
5,759
java
/* * Copyright 2015 The authors * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.intellij.lang.ognl.highlight; import com.intellij.ide.highlighter.EmbeddedTokenHighlighter; import com.intellij.lang.ognl.OgnlTypes; import com.intellij.lang.ognl.psi.OgnlTokenGroups; import com.intellij.lexer.Lexer; import com.intellij.openapi.editor.DefaultLanguageHighlighterColors; import com.intellij.openapi.editor.HighlighterColors; import com.intellij.openapi.editor.colors.TextAttributesKey; import com.intellij.openapi.fileTypes.SyntaxHighlighterBase; import com.intellij.psi.StringEscapesTokenTypes; import com.intellij.psi.TokenType; import com.intellij.psi.tree.IElementType; import com.intellij.util.containers.MultiMap; import org.jetbrains.annotations.NotNull; import java.util.HashMap; import java.util.Map; /** * Provides basic syntax highlighting. * * @author Yann C&eacute;bron */ public final class OgnlHighlighter extends SyntaxHighlighterBase implements EmbeddedTokenHighlighter { private static final Map<IElementType, TextAttributesKey> keys1; @NotNull @Override public Lexer getHighlightingLexer() { return new OgnlHighlightingLexer(); } @Override public TextAttributesKey @NotNull [] getTokenHighlights(final IElementType iElementType) { return pack(BACKGROUND, keys1.get(iElementType)); } public static final TextAttributesKey BACKGROUND = TextAttributesKey.createTextAttributesKey( "OGNL.BACKGROUND", DefaultLanguageHighlighterColors.TEMPLATE_LANGUAGE_COLOR); public static final TextAttributesKey EXPRESSION_BOUNDS = TextAttributesKey.createTextAttributesKey( "OGNL.EXPRESSION", DefaultLanguageHighlighterColors.KEYWORD); public static final TextAttributesKey BAD_CHARACTER = TextAttributesKey.createTextAttributesKey( "OGNL.BAD_CHARACTER", HighlighterColors.BAD_CHARACTER); public static final TextAttributesKey IDENTIFIER = TextAttributesKey.createTextAttributesKey( "OGNL.IDENTIFIER", DefaultLanguageHighlighterColors.IDENTIFIER); public static final TextAttributesKey KEYWORDS = TextAttributesKey.createTextAttributesKey( "OGNL.KEYWORDS", DefaultLanguageHighlighterColors.KEYWORD); public static final TextAttributesKey OPERATIONS = TextAttributesKey.createTextAttributesKey( "OGNL.OPERATIONS", DefaultLanguageHighlighterColors.OPERATION_SIGN); public static final TextAttributesKey NUMBER = TextAttributesKey.createTextAttributesKey( "OGNL.NUMBER", DefaultLanguageHighlighterColors.NUMBER); public static final TextAttributesKey STRING = TextAttributesKey.createTextAttributesKey( "OGNL.STRING", DefaultLanguageHighlighterColors.STRING); public static final TextAttributesKey COMMA = TextAttributesKey.createTextAttributesKey( "OGNL.COMMA", DefaultLanguageHighlighterColors.COMMA); public static final TextAttributesKey BRACKETS = TextAttributesKey.createTextAttributesKey( "OGNL.BRACKETS", DefaultLanguageHighlighterColors.BRACKETS); public static final TextAttributesKey PARENTHESES = TextAttributesKey.createTextAttributesKey( "OGNL.PARENTHESES", DefaultLanguageHighlighterColors.PARENTHESES); public static final TextAttributesKey BRACES = TextAttributesKey.createTextAttributesKey( "OGNL.BRACES", DefaultLanguageHighlighterColors.BRACES); public static final TextAttributesKey FQN_TYPE = TextAttributesKey.createTextAttributesKey( "OGNL.FQN_TYPE", DefaultLanguageHighlighterColors.CLASS_REFERENCE); static { keys1 = new HashMap<>(); // single characters keys1.put(TokenType.BAD_CHARACTER, BAD_CHARACTER); keys1.put(OgnlTypes.COMMA, COMMA); // EXPR_HOLDER keys1.put(OgnlTypes.EXPRESSION_START, EXPRESSION_BOUNDS); keys1.put(OgnlTypes.EXPRESSION_END, EXPRESSION_BOUNDS); keys1.put(OgnlTypes.IDENTIFIER, IDENTIFIER); SyntaxHighlighterBase.fillMap(keys1, OgnlTokenGroups.KEYWORDS, KEYWORDS); SyntaxHighlighterBase.fillMap(keys1, OgnlTokenGroups.OPERATION_KEYWORDS, KEYWORDS); SyntaxHighlighterBase.fillMap(keys1, OgnlTokenGroups.OPERATION_SIGNS, OPERATIONS); keys1.put(OgnlTypes.DOLLAR, OPERATIONS); keys1.put(OgnlTypes.QUESTION, OPERATIONS); // literals SyntaxHighlighterBase.fillMap(keys1, OgnlTokenGroups.NUMBERS, NUMBER); SyntaxHighlighterBase.fillMap(keys1, OgnlTokenGroups.TEXT, STRING); // string/character escape sequences keys1.put(StringEscapesTokenTypes.VALID_STRING_ESCAPE_TOKEN, DefaultLanguageHighlighterColors.VALID_STRING_ESCAPE); keys1.put(StringEscapesTokenTypes.INVALID_CHARACTER_ESCAPE_TOKEN, DefaultLanguageHighlighterColors.INVALID_STRING_ESCAPE); keys1.put(StringEscapesTokenTypes.INVALID_UNICODE_ESCAPE_TOKEN, DefaultLanguageHighlighterColors.INVALID_STRING_ESCAPE); // braces keys1.put(OgnlTypes.LBRACKET, BRACKETS); keys1.put(OgnlTypes.RBRACKET, BRACKETS); keys1.put(OgnlTypes.LPARENTH, PARENTHESES); keys1.put(OgnlTypes.RPARENTH, PARENTHESES); keys1.put(OgnlTypes.LBRACE, BRACES); keys1.put(OgnlTypes.RBRACE, BRACES); } @NotNull @Override public MultiMap<IElementType, TextAttributesKey> getEmbeddedTokenAttributes() { MultiMap<IElementType, TextAttributesKey> map = MultiMap.create(); map.putAllValues(keys1); return map; } }
[ "yuriy.artamonov@jetbrains.com" ]
yuriy.artamonov@jetbrains.com
4dc9a132fef28ad1e1724d763d40b1490e97a466
1178e546e8004e8039e8960b50b9990976a05b02
/src/main/java/uquest/com/bo/auth/WebConfigurer.java
0adb6bde89c111be79f291a9d5ee9f3359a794e4
[ "MIT" ]
permissive
skynoorz/uquest-angular
7bed132238a3b046c491e45ff58c50910df9fe4d
1817fc14d6d7426dba877d8ff969c7b953eaaefa
refs/heads/master
2023-05-01T21:43:40.981705
2021-03-31T00:38:36
2021-03-31T00:38:36
265,971,728
0
0
null
null
null
null
UTF-8
Java
false
false
1,506
java
package uquest.com.bo.auth; import org.springframework.boot.web.server.WebServerFactory; import org.springframework.boot.web.server.WebServerFactoryCustomizer; import org.springframework.boot.web.servlet.ServletContextInitializer; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.cors.CorsConfiguration; import org.springframework.web.cors.UrlBasedCorsConfigurationSource; import org.springframework.web.filter.CorsFilter; import javax.servlet.ServletContext; import javax.servlet.ServletException; import java.util.Arrays; import java.util.Collections; @Configuration public class WebConfigurer implements ServletContextInitializer, WebServerFactoryCustomizer<WebServerFactory> { @Override public void customize(WebServerFactory factory) { } @Override public void onStartup(ServletContext servletContext) throws ServletException { } @Bean public CorsFilter corsFilter() { CorsConfiguration config = new CorsConfiguration(); config.setAllowedOrigins(Collections.singletonList("http://localhost:4200")); config.setAllowedMethods(Arrays.asList("GET","POST","PUT","DELETE","OPTIONS")); config.setAllowCredentials(true); config.setAllowedHeaders(Arrays.asList("Content-Type","Authorization")); UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); source.registerCorsConfiguration("/**",config); return new CorsFilter(source); } }
[ "MAURICIO.ENRIQUEZ@consultant.vodafoneomnitel.it" ]
MAURICIO.ENRIQUEZ@consultant.vodafoneomnitel.it
8f4aaa96a8f3f8a63b2ed5df145d789300e78c40
b76cbc39de8ec78e1f0503077acfc0df81bb097e
/Teste_API_Recarga/app/src/test/java/com/example/teste_api_recarga/ExampleUnitTest.java
8e4a3f47462fd75e95a460169b7292a3305eee85
[]
no_license
castelles/android-application
5a605ebc0e914fe07f468b4ed582e11ab39c9702
05b304365905dcd0a31754e666776a58a90037ef
refs/heads/master
2021-01-04T14:36:07.346274
2020-09-21T17:07:05
2020-09-21T17:07:05
240,591,424
0
0
null
null
null
null
UTF-8
Java
false
false
390
java
package com.example.teste_api_recarga; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addition_isCorrect() { assertEquals(4, 2 + 2); } }
[ "cast@icomp.ufam.edu.br" ]
cast@icomp.ufam.edu.br
b56205e4e0ae502f3e46eeaaedd5d3ca1b1ebe07
7985aa768ce85e52453acd7653c1c22497180e05
/falling_stars/src/main/java/falling/stars/bitcoin/model/TransactionStatus.java
106c38c3bc35c6b285db41dbd7b383c91dc22457
[]
no_license
narcis2007/Falling-Stars
dafeb53da87e6ac3b9417ae2bbaedbee3327650f
3849a050799fb3cf4a1dd5417eef02bbab197803
refs/heads/master
2020-05-14T15:18:43.380044
2019-04-17T08:40:06
2019-04-17T08:40:06
181,850,362
0
0
null
null
null
null
UTF-8
Java
false
false
602
java
package falling.stars.bitcoin.model; public class TransactionStatus { private String status; private String hash; private long fee; public TransactionStatus() { } public TransactionStatus(String status) { this.status = status; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } public String getHash() { return hash; } public void setHash(String hash) { this.hash = hash; } public long getFee() { return fee; } public void setFee(long fee) { this.fee = fee; } }
[ "narcisc2007@gmail.com" ]
narcisc2007@gmail.com
00ac5c4b507b36611d5f8975faf291d0664b767b
18b1b9906a1e2fb04a54c7fa18b8dc8f1f7d677d
/src/com/corejavaclass/collections/Doctorsarraydemo.java
f35c7b92938bcf649bde49bfd3486f65186225d5
[ "Apache-2.0" ]
permissive
Antony12931a0519/core-java-class
49a94f0bcdebbde30a552dbf17e3cf147d85c0ae
e08e88a34f51e71b66ec635931b53a8d1ffab860
refs/heads/master
2022-12-23T03:44:18.004771
2020-09-24T03:55:51
2020-09-24T03:55:51
292,035,833
0
0
null
null
null
null
UTF-8
Java
false
false
608
java
package com.corejavaclass.collections; import com.corejavaclass.datatypes.Doctor; public class Doctorsarraydemo { public static void main(String[] args) { Doctor[] doctors = new Doctor[10]; Doctor doctor = new Doctor(); doctor.setAddress("wekfenqa"); doctor.setAge(123); doctor.setName("jwgnwe"); doctors[0] = doctor; Doctor doctor1 = new Doctor(); doctor1.setAddress("wekfenqa"); doctor1.setAge(123); doctor1.setName("jwgnwe"); doctors[1] = doctor1; for(int i=0; i<=doctors.length-1;i++){ System.out.println(doctors[i]); } // System.out.println(doctor1); } }
[ "antonysampath333@gmail.com" ]
antonysampath333@gmail.com
795c353e81742e51c2d428c553aec97ab53fb380
dea97f2208b110f521c61c4633ba67220f4fc0c0
/bigwork1/src/mybean/data/Login.java
59af9169c0e8e961df3d26b4663523b09134ee31
[]
no_license
caishaohui718/TEST2
3278d8b69767f29f6ba85236815ce4b7f180c681
afe3d9effd17d1eb3ea58cb6c885e50841880862
refs/heads/master
2022-11-07T10:26:14.429366
2020-06-22T08:04:32
2020-06-22T08:04:32
274,081,287
0
0
null
null
null
null
UTF-8
Java
false
false
580
java
package mybean.data; import java.util.*; public class Login { String logname="", backNews="未登录"; LinkedList<String> car; //用户的购物车 public Login() { car = new LinkedList<String>(); } public void setLogname(String logname){ this.logname = logname; } public String getLogname(){ return logname; } public void setBackNews(String s) { backNews = s; } public String getBackNews(){ return backNews; } public LinkedList<String> getCar() { return car; } }
[ "1302007623@qq.com" ]
1302007623@qq.com
021f47e6ab13999eb8d02b94d932f7ba6950ac1e
4787997dd2eb23010c25e2469f1d0f072ca31501
/Java Project/src/sample_0526/AutoCar.java
9a5975cdb416163314670e855bcff07b672a49f3
[]
no_license
Java2-2012034205/Java_Project
6e57389b60e45ce70269b0555356a3ad945f99fd
f6355e9ea9bf2c1bbc197c5b48b2ae77d011bdbd
refs/heads/master
2021-01-17T04:47:23.330559
2016-06-02T12:05:16
2016-06-02T12:05:16
54,110,119
0
0
null
null
null
null
UHC
Java
false
false
517
java
package sample_0526; public class AutoCar implements OperateCar{ public void start() { System.out.println("자동차가 출발합니다."); } public void stop() { System.out.println("자동차가 정지합니다."); } public void setSpeed(int speed) { System.out.println("자동차가 속도를" + speed + "km/h로 바꿉니다."); } public void turn(int degree){ System.out.println("자동차가 방향을" + degree + "도 만큼 바꿉니다."); } }
[ "can0306@naver.com" ]
can0306@naver.com
1325f2076f3eb2f5000f3f035384b8831c933c25
12fa6b875a432efdbdf1d88dfd6405b95e6ce003
/src/main/java/com/matuageorge/votingapplication/dto/DishDto.java
de42eec5f9ab5018d6fdf83c82fe100492027ecd
[]
no_license
matua/voting-application
53df8652d81f16772b25588778e886a089cd2b1b
4745eade1ba1ca3b5ef7379fd97782d6569040f4
refs/heads/master
2023-04-20T14:45:57.801321
2021-05-19T12:40:17
2021-05-19T12:40:17
366,296,844
0
0
null
null
null
null
UTF-8
Java
false
false
152
java
package com.matuageorge.votingapplication.dto; import lombok.Data; @Data public class DishDto { private String name; private Integer price; }
[ "$9x=4cg^zNNbF&H.UQR_vmN8jSb2U95" ]
$9x=4cg^zNNbF&H.UQR_vmN8jSb2U95
8dc8e21aafc465bc6c4efe85d773d2ac55243e97
b741dcdfe738260c6bfd72310799504400f8045e
/gof/src/main/java/com/gof/code/visit/Mouse.java
41b53c79a2a09f9fbb0510c642299746ad7c7643
[]
no_license
cuixingzheng/my-study-modules
31c7485e50a412625a7b47faf3537bfd1c2a2d22
d8392d11e7e513c972f5d6323832a4aa7635da3a
refs/heads/master
2023-08-22T01:52:08.849579
2021-10-11T01:48:56
2021-10-11T01:48:56
305,886,007
0
0
null
null
null
null
UTF-8
Java
false
false
323
java
package com.gof.code.visit; /** * @author: cxz * @create: 2020/8/13 14:56 * @description: **/ public class Mouse implements Part { @Override public void describe() { System.out.println("this is mouse"); } @Override public void accept(Visitor visitor) { visitor.visit(this); } }
[ "cuixingzheng@4502@duia.com" ]
cuixingzheng@4502@duia.com
f5c326b9203ce30fe79fb132abaab7dabb444ba8
7fec619a6683f18e57acd7e630cf401d556b6c78
/src/Factory/Circle.java
e16f98ced667498bd8f90367f586c0bc031b0c18
[]
no_license
hoangbits/DesignPatternInJava
ab822e6b8870365d885916853f498995bdfde3ae
5c1ee526acb015e5bb335ea38166f61e134353fc
refs/heads/master
2021-07-01T15:26:53.155304
2017-09-22T05:36:11
2017-09-22T05:36:11
null
0
0
null
null
null
null
UTF-8
Java
false
false
206
java
package Factory; /** * Created by hoang on 22/09/2017. */ public class Circle implements Shape { @Override public void draw() { System.out.println("inside Circle::draw method!"); } }
[ "giahoangth@gmail.com" ]
giahoangth@gmail.com
420fa4786d65bdf2c9d9c33c39472cd6ef689742
0ff0524f4c3d883eb6337d83c0f12597f0edb8ff
/sfg-recipeApp/src/main/java/spring/learningjpa/sfgrecipeApp/service/RecipeService.java
b8633aea1560e4c7ad17c29c11bec782c15145f6
[]
no_license
santosh-axle/sfg-recipeApp
75f62e32bf2d6c8a7a1b9c711db08564b291162c
e7423df2998437ce66c0e7da0416b1466f4476a5
refs/heads/main
2023-04-25T16:55:38.125165
2021-05-12T11:29:54
2021-05-12T11:29:54
366,008,794
0
0
null
null
null
null
UTF-8
Java
false
false
190
java
package spring.learningjpa.sfgrecipeApp.service; import java.util.Set; import spring.learningjpa.sfgrecipeApp.domain.Recipe; public interface RecipeService { Set<Recipe> getRecipe(); }
[ "Santosh.axle@gmail.com" ]
Santosh.axle@gmail.com
8753469c160d75dcbb849c7b92d3930652353401
a5bc959c53d03cd43f00840038c66419c81e19b9
/src/fisica/Blanco.java
31804548919fbb52cf8173734a1e241622b2ab9a
[]
no_license
julianperalta/Pendulo-y-flecha
b1fd86b4c88e0869e4646de35e4880bad9b99521
5b64a7f510f29d2d4d75ec6350b01a8d849de253
refs/heads/master
2020-03-31T06:18:53.393613
2018-10-07T19:33:59
2018-10-07T19:33:59
151,973,526
0
0
null
null
null
null
UTF-8
Java
false
false
1,017
java
package fisica; import static java.lang.Math.*; import static java.lang.System.out; public class Blanco { private double radio; private double posX; private double posY; private double angulo; public Blanco(double r) { this.radio = r; //La varilla del blanco es 3 metros (su radio de movimiento) } public void oscilarBlanco() { long tiempo = 0, tIni, tFin; double a = 0; tIni = System.currentTimeMillis(); while(tiempo < 10000) { this.angulo = 20 * sin(a); //Para que el angulo oscile entre 20 y -20 //Es mas facil trabajar con //coordenadas polares this.posX = this.radio * sin(this.angulo); this.posY = this.radio * (1 - cos(this.angulo)); //El centro del blanco esta a 1 metro del piso a += 0.1; tFin = System.currentTimeMillis(); tiempo = tFin - tIni; out.println("Posicion X = " + this.posX); out.println("Posicion Y = " + this.posY); } } public double getPosX() { return posX; } public double getPosY() { return posY; } }
[ "julian.peralta.jp@gmail.com" ]
julian.peralta.jp@gmail.com
5746d0119515db99c0ad1112bfc7e101010089b5
fb896a8c1256e92875a6c76fae6734b61fc0d8f6
/day03linkedlistarrayAli/test/day03linkedlistarrayali/LinkedListArrayTest.java
c99152f88918bd15687b7cc00352e92fbcf99e5f
[]
no_license
alialaghbandrad/Data-Structures-and-Algorithms
2d887323bc0b24f10c9009a5308fa87924cf38e9
9ff371f55cfe113731aabbb71d40ddbfd3ca097c
refs/heads/main
2023-06-06T22:42:02.553477
2021-06-25T23:16:28
2021-06-25T23:16:28
380,371,593
0
0
null
null
null
null
UTF-8
Java
false
false
3,121
java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package day03linkedlistarrayali; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; /** * * @author alagh */ class Person { public Person(String name, int age) { this.name = name; this.age = age; } String name; int age; @Override public String toString() { return "Person{" + "name=" + name + ", age=" + age + '}'; } } public class LinkedListArrayTest { @Test public void addTest() { LinkedListArray<Person> llap = new LinkedListArray<>(); llap.add(new Person("Jerry", 33)); llap.add(new Person("Terry", 33)); llap.add(new Person("Larry", 33)); assertEquals("[Person{name=Jerry, age=33},Person{name=Terry, age=33},Person{name=Larry, age=33}]", llap.toString()); } @Test public void addInsertTest() { LinkedListArray<Person> llap = new LinkedListArray<>(); llap.add(new Person("Jerry", 33)); llap.add(new Person("Terry", 33)); llap.add(new Person("Larry", 33)); llap.insertValueAtIndex(new Person("Jack", 45), 1); assertEquals("[Person{name=Jerry, age=33},Person{name=Jack, age=45},Person{name=Terry, age=33},Person{name=Larry, age=33}]", llap.toString()); } @Test public void addDeleteByIndexTest() { LinkedListArray<Person> llap = new LinkedListArray<>(); llap.add(new Person("Jerry", 33)); llap.add(new Person("Terry", 33)); llap.add(new Person("Larry", 33)); llap.deleteByIndex(1); assertEquals("[Person{name=Jerry, age=33},Person{name=Larry, age=33}]", llap.toString()); } @Test public void addDeleteByValueTest() { LinkedListArray<Person> llap = new LinkedListArray<>(); llap.add(new Person("Jerry", 33)); Person per = new Person("Terry", 34); llap.add(per); llap.add(new Person("Larry", 33)); llap.deleteByValue(per); assertEquals("[Person{name=Jerry, age=33},Person{name=Larry, age=33}]", llap.toString()); } @Test public void testAddToStringToArray() { LinkedListArray<Person> llap = new LinkedListArray<>(); llap.add(new Person("Jerry", 33)); llap.add(new Person("Terry", 33)); llap.add(new Person("Larry", 33)); assertEquals(3, llap.getSize()); // testGetSize() assertEquals("[Person{name=Jerry, age=33},Person{name=Terry, age=33},Person{name=Larry, age=33}]", llap.toString()); // testToString() String[] expResult = {"Person{name=Jerry, age=33","Person{name=Terry, age=33}","Person{name=Larry, age=33"}; Person[] result = llap.toArray(); assertArrayEquals(expResult, result); } }
[ "noreply@github.com" ]
noreply@github.com
4d59a642acde4f3aac246099fba8c3c3a06ca53b
0c1940bb27592cb9ee46b36f5882195f181aca11
/viewdemo/src/main/java/com/searun/viewdemo/GameView.java
050ae4b4c6d0058979a434fb56c730f5bada5694
[]
no_license
cooltribe/MyApplication
f39dd1023c71874102c09f0a79959246dd27f123
e8f7cafd9afc3a2553f0b791d4e9d3211b1617a5
refs/heads/master
2021-01-10T21:15:00.453485
2015-08-20T00:56:59
2015-08-20T00:56:59
40,853,767
0
0
null
null
null
null
UTF-8
Java
false
false
2,025
java
package com.searun.viewdemo; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import java.io.InputStream; /** * Created by 陈玉柱 on 2015/8/18. * 直接在UI线程中调用invalidate() */ public class GameView extends View { private int cx; private int cy; private Paint p; public GameView(Context context) { super(context); this.cx = 30; this.cy = 30; this.p = new Paint(); p.setColor(Color.RED); } public GameView(Context context, AttributeSet attrs) { super(context, attrs); } public GameView(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); } public Bitmap decodeBitmapFromRes(Context context,int resourseId){ BitmapFactory.Options opt = new BitmapFactory.Options(); opt.inPreferredConfig = Bitmap.Config.ARGB_8888; opt.inPurgeable = true; opt.inInputShareable = true; InputStream is = context.getResources().openRawResource(resourseId); return BitmapFactory.decodeStream(is,null,opt); } @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); canvas.drawCircle(cx,cy,30,p); } @Override public boolean onTouchEvent(MotionEvent event) { switch (event.getAction()){ case MotionEvent.ACTION_DOWN: return true; case MotionEvent.ACTION_UP: int x = (int) event.getX(); int y = (int) event.getY(); changePosition(x,y); return true; } return super.onTouchEvent(event); } private void changePosition(int x, int y){ this.cx = x; this.cy = y; this.invalidate(); } }
[ "20865367@qq.com" ]
20865367@qq.com
fb55584c5f231fd0c637755c7398f5ed844cce2a
fba0144e3212b6d8eeab9724a2dbe863321f3ea1
/CaseritaBD/src/cl/caserita/dao/impl/BBintc00DAOImpl.java
e647a27bc88225e65136575d7accb33683c258ca
[]
no_license
jcanquil/portafolio
d1268dab393385e082d318f28c91fc896154b72f
4414f89a9c15fe79db80da729f981aced8eac70a
refs/heads/main
2023-06-21T07:24:27.594751
2021-08-03T09:42:15
2021-08-03T09:42:15
392,156,940
0
0
null
null
null
null
UTF-8
Java
false
false
2,254
java
package cl.caserita.dao.impl; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; import cl.caserita.dao.iface.BBintc00DAO; import cl.caserita.dto.BBintc00DTO; import cl.caserita.dto.CamtraDTO; public class BBintc00DAOImpl implements BBintc00DAO{ private static Logger log = Logger.getLogger(BBintc00DAOImpl.class); private Connection conn; public BBintc00DAOImpl(Connection conn){ this.conn=conn; } public BBintc00DTO obtieneVentaBB( int codigo, int fecha, int numero){ BBintc00DTO bbintc00DTO = null; PreparedStatement pstmt =null; ResultSet rs = null; String sqlObtenerCamtra="Select * "+ " from CASEDAT.BBINTC00 " + " Where BBCODDOC="+codigo+" AND BBFECMOV="+fecha+" AND BBNUMDOC="+numero+" FOR READ ONLY" ; List camtra = new ArrayList(); try{ pstmt = conn.prepareStatement(sqlObtenerCamtra); //log.info("SQL" + sqlObtenerCamtra); rs = pstmt.executeQuery(); while (rs.next()) { bbintc00DTO = new BBintc00DTO(); bbintc00DTO.setCodigoDocumento(rs.getInt("BBCODDOC")); bbintc00DTO.setFechaDocumento(rs.getInt("BBFECMOV")); bbintc00DTO.setNumeroDocumento(rs.getInt("BBNUMDOC")); bbintc00DTO.setCodigoBodega(rs.getInt("BBCODBOD")); bbintc00DTO.setTotalDocumento(rs.getInt("BBTOTDOC")); bbintc00DTO.setRutCliente(rs.getInt("BBRUTCLI")); bbintc00DTO.setDvCliente(rs.getString("BBDIGCLI").trim()); bbintc00DTO.setCodigoVendedor(rs.getInt("BBCODVEN")); bbintc00DTO.setIndicadorDespacho(rs.getInt("BBINDDES")); bbintc00DTO.setIndicadorFacturacion(rs.getInt("BBINDFAC")); bbintc00DTO.setFormaPago(rs.getString("BBFORPAG")); bbintc00DTO.setEstado(rs.getString("BBESTADO")); bbintc00DTO.setErrorCabecera(rs.getString("BBERRCAB")); bbintc00DTO.setNombreDispositivo(rs.getString("BBNOMDIS")); bbintc00DTO.setHoraGeneracion(rs.getInt("BBHORVTA")); } } catch(Exception e){ e.printStackTrace(); }finally { try { if (rs != null) { rs.close(); pstmt.close(); } } catch (SQLException e1) { } } return bbintc00DTO; } }
[ "noreply@github.com" ]
noreply@github.com
bc117703087c4f8d3c8f2d030c0243802b0dfc2f
830aaa5296db8fbc0fcf04b9bd45a2ae1fbc4320
/src/com/javarush/test/level14/lesson08/bonus03/Solution.java
0fc67633cc3572a8418a669e4d4a5646c4d75708
[]
no_license
lezhan/HomeWork
7cb6eccb1f9476915bde842db7503e0d3a03e02b
cd0369030ade7164a4612e5e18825db1235772d9
refs/heads/master
2020-12-24T07:12:57.336896
2016-11-10T11:55:15
2016-11-10T11:55:15
73,377,071
1
0
null
null
null
null
UTF-8
Java
false
false
1,214
java
package com.javarush.test.level14.lesson08.bonus03; /* Singleton Класс является синглтоном (реализует паттерн(шаблон) Singleton), если позволяет создать всего один объект своего типа. Реализовать Singleton pattern: 1. Создай класс Singleton в отдельном файле. 2. Добавь в него статический метод getInstance(). 3. Метод getInstance должен возвращать один и тот же объект класса Singleton при любом вызове метода getInstance. 4. Подумай, каким образом можно запретить создание других объектов этого класса. 5. Сделай все конструкторы в классе Singleton приватными (private). 6. В итоге должна быть возможность создать объект (экземпляр класса) ТОЛЬКО используя метод getInstance. */ public class Solution { public static void main(String[] args) { System.out.println(Singleton.getInstance()); } }
[ "Comp" ]
Comp