blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
410
content_id
stringlengths
40
40
detected_licenses
sequencelengths
0
51
license_type
stringclasses
2 values
repo_name
stringlengths
5
132
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
80
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
5.85k
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
131 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
9.45M
extension
stringclasses
32 values
content
stringlengths
3
9.45M
authors
sequencelengths
1
1
author_id
stringlengths
0
313
9f41dea0c60d56ce0c91e661c93ab29785249055
9f8cd48066916351f808e0aca5f268f87a70717b
/src/main/java/com/bootdo/common/redis/shiro/RedisSessionDAO.java
88d6deb36e7f233f3dc3329b7441d68e3b02d82b
[]
no_license
NathenChao/logisticsSystem
3c354fc9085d08c9b4f0eab76a72c1db86ede952
728e81eb585978a4c592c19dfdedab83667b3ef2
refs/heads/master
2020-05-17T17:39:51.181184
2019-04-28T05:40:41
2019-04-28T05:40:41
183,860,162
0
0
null
null
null
null
UTF-8
Java
false
false
3,614
java
package com.bootdo.common.redis.shiro; import org.apache.shiro.session.Session; import org.apache.shiro.session.UnknownSessionException; import org.apache.shiro.session.mgt.eis.AbstractSessionDAO; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.Serializable; import java.util.Collection; import java.util.HashSet; import java.util.Set; public class RedisSessionDAO extends AbstractSessionDAO { private static Logger logger = LoggerFactory.getLogger(RedisSessionDAO.class); /** * shiro-redis的session对象前缀 */ private RedisManager redisManager; /** * The Redis key prefix for the sessions */ private String keyPrefix = "shiro_redis_session:"; @Override public void update(Session session) throws UnknownSessionException { this.saveSession(session); } /** * save session * * @param session * @throws UnknownSessionException */ private void saveSession(Session session) throws UnknownSessionException { if (session == null || session.getId() == null) { logger.error("session or session id is null"); return; } byte[] key = getByteKey(session.getId()); byte[] value = SerializeUtils.serialize(session); session.setTimeout(redisManager.getExpire() * 1000); this.redisManager.set(key, value, redisManager.getExpire()); } @Override public void delete(Session session) { if (session == null || session.getId() == null) { logger.error("session or session id is null"); return; } redisManager.del(this.getByteKey(session.getId())); } @Override public Collection<Session> getActiveSessions() { Set<Session> sessions = new HashSet<Session>(); Set<byte[]> keys = redisManager.keys(this.keyPrefix + "*"); if (keys != null && keys.size() > 0) { for (byte[] key : keys) { Session s = (Session) SerializeUtils.deserialize(redisManager.get(key)); sessions.add(s); } } return sessions; } @Override protected Serializable doCreate(Session session) { Serializable sessionId = this.generateSessionId(session); this.assignSessionId(session, sessionId); this.saveSession(session); return sessionId; } @Override protected Session doReadSession(Serializable sessionId) { if (sessionId == null) { logger.error("session id is null"); return null; } Session s = (Session) SerializeUtils.deserialize(redisManager.get(this.getByteKey(sessionId))); return s; } /** * 获得byte[]型的key * * @param key * @return */ private byte[] getByteKey(Serializable sessionId) { String preKey = this.keyPrefix + sessionId; return preKey.getBytes(); } public RedisManager getRedisManager() { return redisManager; } public void setRedisManager(RedisManager redisManager) { this.redisManager = redisManager; /** * 初始化redisManager */ this.redisManager.init(); } /** * Returns the Redis session keys * prefix. * * @return The prefix */ public String getKeyPrefix() { return keyPrefix; } /** * Sets the Redis sessions key * prefix. * * @param keyPrefix The prefix */ public void setKeyPrefix(String keyPrefix) { this.keyPrefix = keyPrefix; } }
5f1b172f55dd7f6bce1ca3bff643c23e8e9b407c
8ff99a47562d900dca990e1f0e2c1552076bddd4
/Test/src/test1/Demo.java
1e3831929c50e9dc6c5d4bb4b0f65786a563b5de
[]
no_license
anusha1111/anusha1111
2e1f749c01f1a578cdb63f88b0e3295fc068781a
ed285bcaca895f19c836c47f3e58e49febcf96d4
refs/heads/master
2021-07-11T11:41:41.471571
2017-10-12T10:54:04
2017-10-12T10:54:04
106,673,890
0
0
null
null
null
null
UTF-8
Java
false
false
823
java
package test1; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class Demo{ public static void main(String args[]){ System.setProperty("webdriver.chrome.driver",".//drivers//chromedriver.exe"); WebDriver driver=new ChromeDriver(); driver.get("http://talentify.in"); driver.findElement(By.xpath("//div[@id='navbar-collapse-1']/ul/li[7]/a")).click(); driver.findElement(By.name("email")).clear(); driver.findElement(By.name("email")).sendKeys("[email protected]"); driver.findElement(By.name("password")).clear(); driver.findElement(By.name("password")).sendKeys("test123"); driver.findElement(By.xpath("//button[@type='submit']")).click(); } }
[ "ADMIN@DESKTOP-2QDDJPE" ]
ADMIN@DESKTOP-2QDDJPE
c188b2b91dc17e5f48591e784f22818de6a8d17b
447520f40e82a060368a0802a391697bc00be96f
/apks/malware/app63/source/com/android/apps/util/ApkUtil.java
2f788312cf59ec87bcbca2db42d3e94698b60470
[ "Apache-2.0" ]
permissive
iantal/AndroidPermissions
7f3343a9c29d82dbcd4ecd98b3a50ddf8d179465
d623b732734243590b5f004d167e542e2e2ae249
refs/heads/master
2023-07-19T01:29:26.689186
2019-09-30T19:01:42
2019-09-30T19:01:42
107,239,248
0
0
Apache-2.0
2023-07-16T07:41:38
2017-10-17T08:22:57
null
UTF-8
Java
false
false
14,126
java
package com.android.apps.util; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.net.Uri; import android.os.Bundle; import com.android.apps.activity.BGDownloadService; import com.android.apps.activity.DownloadService; import com.android.apps.bean.AdAdvertisement; import com.android.apps.connect.HttpUtil; import com.android.apps.listenerinterface.OnAdStateListener; import com.android.apps.listenerinterface.OnQuietlyDownLintener; import com.android.apps.threadpool.InfoTask; import com.android.apps.threadpool.MercuryExecutorService; import java.io.File; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; public class ApkUtil { public static OnQuietlyDownLintener quietlyDownLintener; public static List<AdAdvertisement> quietlyList; private String TAG = "ApkUtil"; private HttpUtil httpUtil; public Context mContext; public ApkUtil(Context paramContext) { this.mContext = paramContext; } public void downApk(String paramString1, String paramString2, int paramInt1, int paramInt2, String paramString3) { Intent localIntent = new Intent(); paramString3 = paramString3 + "?imsi=" + AdManager.device_uuid + "&macAddress=" + AdManager.mac + "&mid=" + AdManager.mercuryId + "&adId=" + paramInt1 + "&way=s&gamePackage=" + AdManager.gamePackage + "&stage=1"; HashMap localHashMap = new HashMap(); localHashMap.put("AppPackageName", this.mContext.getPackageName()); localHashMap.put("AdName", paramString1); localHashMap.put("AdId", String.valueOf(paramInt1)); localHashMap.put("Mercury_ID", AdManager.getMercuryId(this.mContext)); LoggerUtil.log(this.mContext, "M_Click_Download", localHashMap); new StringBuilder("downApk的url:").append(paramString3).toString(); localIntent.putExtra("name", paramString1); localIntent.putExtra("apkName", "j_" + paramString2); localIntent.putExtra("adId", paramInt1); localIntent.putExtra("categoryId", paramInt2); localIntent.putExtra("apkUrl", paramString3); localIntent.setClass(this.mContext, DownloadService.class); DownloadService.hdownloading = true; this.mContext.startService(localIntent); } public List<AdAdvertisement> filterAd(List<AdAdvertisement> paramList) { ArrayList localArrayList = new ArrayList(); UserInfo localUserInfo = new UserInfo(); Iterator localIterator = paramList.iterator(); while (localIterator.hasNext()) { AdAdvertisement localAdAdvertisement = (AdAdvertisement)localIterator.next(); if ((localUserInfo.checkAd(localAdAdvertisement.getApkPackage()) != null) || (NativeAd.isInstalled(localAdAdvertisement.getApkPackage()))) { localArrayList.add(localAdAdvertisement); } } paramList.removeAll(localArrayList); return paramList; } public String getKindOfApkName(String paramString) { Object localObject2 = null; for (;;) { int i; try { Object localObject1; Object localObject3; if (SystemProject.checkSDcard()) { localObject1 = new File(Config.AD_APK_PATH); if (!((File)localObject1).exists()) { break; } localObject3 = ((File)localObject1).list(); if ((paramString == null) || ("".equals(paramString)) || (localObject3 == null) || (localObject3.length <= 0)) { break; } int j = localObject3.length; i = 0; localObject1 = null; localObject2 = localObject1; if (i >= j) { break label303; } localObject2 = localObject3[i]; if ((localObject2 == null) || ("".equals(localObject2)) || (!localObject2.trim().toLowerCase().endsWith(paramString.trim().toLowerCase() + ".apk"))) { break label293; } localObject1 = localObject2; break label293; } if (paramString.indexOf("j_") == -1) { paramString = "j_" + paramString; localObject1 = paramString; if (paramString.indexOf(".apk") == -1) { localObject1 = paramString + ".apk"; } localObject3 = new File(this.mContext.getFilesDir().getAbsolutePath() + File.separator + (String)localObject1); paramString = localObject2; if (!((File)localObject3).exists()) { return paramString; } long l = ((File)localObject3).length(); paramString = localObject2; if (l <= 0L) { return paramString; } return localObject1; } } catch (Exception paramString) { paramString.printStackTrace(); return null; } continue; label293: i += 1; } localObject2 = null; label303: paramString = localObject2; return paramString; } public void initState() { AdManager.successInstallAd = null; AdManager.successActivate = false; AdManager.isAutoStartFail = false; AdManager.isDwonFail = false; AdManager.isInstallFail = false; } public boolean isDownloding(String paramString) { try { if (AdManager.downingList != null) { int i = 0; while (i < AdManager.downingList.size()) { if (paramString.equals(AdManager.downingList.get(i))) { new StringBuilder("检测的名字:").append((String)AdManager.downingList.get(i)).toString(); return true; } i += 1; } } return false; } catch (Exception paramString) { new StringBuilder("测试出现异常~~~~~~~~~~~").append(paramString).toString(); paramString.printStackTrace(); } return false; } public boolean launchExternalApplication(String paramString) { Object localObject1 = this.mContext.getPackageManager(); try { Object localObject2 = ((PackageManager)localObject1).getPackageInfo(paramString, 0); Intent localIntent = new Intent("android.intent.action.MAIN", null); localIntent.addCategory("android.intent.category.LAUNCHER"); localIntent.setPackage(((PackageInfo)localObject2).packageName); localObject1 = (ResolveInfo)((PackageManager)localObject1).queryIntentActivities(localIntent, 0).iterator().next(); if (localObject1 != null) { localObject1 = ((ResolveInfo)localObject1).activityInfo.name; localObject2 = new Intent("android.intent.action.MAIN"); ((Intent)localObject2).addCategory("android.intent.category.LAUNCHER"); ((Intent)localObject2).setComponent(new ComponentName(paramString, (String)localObject1)); this.mContext.startActivity((Intent)localObject2); } if (AdManager.isConnect) { paramString = getKindOfApkName(AdManager.successInstallAd.getApkName()); this.httpUtil = new HttpUtil(); localObject1 = this.TAG; MercuryExecutorService.execute(new InfoTask("apkStart", AdManager.successInstallAd.getId(), AdManager.mercuryViewType, paramString.substring(0, 1), this.httpUtil)); } return true; } catch (Exception paramString) { AdManager.isAutoStartFail = true; localObject1 = AdManager.adactivation; if (localObject1 != null) { ((OnAdStateListener)localObject1).onAutoStartFail(paramString.toString()); } paramString.printStackTrace(); } return false; } public void opApk(String paramString, int paramInt) { Object localObject1 = new ToastUtil(this.mContext); this.httpUtil = new HttpUtil(); localObject2 = new HashMap(); ((Map)localObject2).put("AppPackageName", this.mContext.getPackageName()); ((Map)localObject2).put("Mercury_ID", AdManager.getMercuryId(this.mContext)); ((Map)localObject2).put("AdId", String.valueOf(paramInt)); LoggerUtil.log(this.mContext, "M_Click_Install", (Map)localObject2); new StringBuilder("开始安装:").append(paramString).toString(); new StringBuilder("判断要安装的应用是否在静默下载apkUri.substring(0, 1).equals(j):").append(paramString.substring(0, 1).equals("j")).toString(); new StringBuilder("判断要安装的应用是否在静默下载apkUri.equals(QuietlyDownService.apkName):").append(paramString.equals(BGDownloadService.apkName)).toString(); new StringBuilder("判断要安装的应用是否在正常下载isDownloding(apkName):").append(isDownloding(paramString)).append("....apkUrl:").append(paramString).toString(); if ((paramString.substring(0, 1).equals("j")) && (paramString.equals(BGDownloadService.apkName))) { if (BGDownloadService.totalSize != 0) { ((ToastUtil)localObject1).toast("开始下载,完成后自动打开。"); quietlyDownLintener = new OnQuietlyDownLintener() { public final void onQuietlyDownOverListener(boolean paramAnonymousBoolean) { if (paramAnonymousBoolean) { ApkUtil.this.opApk(BGDownloadService.apkName, BGDownloadService.adId); } } public final void onQuietlyDownloadDestory() {} }; return; } for (;;) { try { quietlyDownLintener = new OnQuietlyDownLintener() { public final void onQuietlyDownOverListener(boolean paramAnonymousBoolean) {} public final void onQuietlyDownloadDestory() {} }; localObject2 = new Intent(); ((Intent)localObject2).setAction("android.intent.action.VIEW"); if (SystemProject.checkSDcard()) { localObject1 = new File(Config.AD_APK_PATH + File.separator + paramString); ((Intent)localObject2).setDataAndType(Uri.fromFile((File)localObject1), "application/vnd.android.package-archive"); this.mContext.startActivity((Intent)localObject2); if (!AdManager.isConnect) { break; } localObject1 = this.TAG; MercuryExecutorService.execute(new InfoTask("install", paramInt, AdManager.mercuryViewType, paramString.substring(0, 1), this.httpUtil)); return; } } catch (Exception paramString) { AdManager.isInstallFail = true; localObject1 = AdManager.adactivation; if (localObject1 != null) { ((OnAdStateListener)localObject1).onInstallFail(paramString.toString()); } paramString.printStackTrace(); return; } localObject1 = new File(this.mContext.getFilesDir().getAbsolutePath() + File.separator + paramString); } } if ((isDownloding(paramString)) && (!paramString.substring(0, 1).equals("j")) && (!paramString.equals(BGDownloadService.apkName))) { ((ToastUtil)localObject1).toast("正在下载,完成后自动打开。"); return; } for (;;) { try { quietlyDownLintener = new OnQuietlyDownLintener() { public final void onQuietlyDownOverListener(boolean paramAnonymousBoolean) {} public final void onQuietlyDownloadDestory() {} }; } catch (Exception paramString) { AdManager.isInstallFail = true; localObject1 = AdManager.adactivation; if (localObject1 != null) { ((OnAdStateListener)localObject1).onInstallFail(paramString.toString()); } paramString.printStackTrace(); return; } try { localObject2 = new Intent(); ((Intent)localObject2).setAction("android.intent.action.VIEW"); if (!SystemProject.checkSDcard()) { break label641; } localObject1 = new File(Config.AD_APK_PATH + File.separator + paramString); ((Intent)localObject2).setDataAndType(Uri.fromFile((File)localObject1), "application/vnd.android.package-archive"); this.mContext.startActivity((Intent)localObject2); } catch (Exception localException) { localObject2 = this.TAG; localException.printStackTrace(); continue; } if (!AdManager.isConnect) { break; } MercuryExecutorService.execute(new InfoTask("install", paramInt, AdManager.mercuryViewType, paramString.substring(0, 1), this.httpUtil)); return; label641: localObject1 = new File(this.mContext.getFilesDir().getAbsolutePath() + File.separator + paramString); } } public void quietlyDown(List<AdAdvertisement> paramList) { if ((paramList != null) && (paramList.size() > 0)) { quietlyList = new ArrayList(); paramList = paramList.iterator(); while (paramList.hasNext()) { AdAdvertisement localAdAdvertisement = (AdAdvertisement)paramList.next(); String str = getKindOfApkName(localAdAdvertisement.getApkName()); if ((str == null) || ("".equals(str))) { quietlyList.add(localAdAdvertisement); } } paramList = new Intent(); paramList.setClass(this.mContext, BGDownloadService.class); paramList.putExtras(new Bundle()); this.mContext.startService(paramList); } } public AdAdvertisement setNullAd(String paramString1, String paramString2) { AdAdvertisement localAdAdvertisement = new AdAdvertisement(); localAdAdvertisement.setName(paramString1); localAdAdvertisement.setApkInfo(paramString2); localAdAdvertisement.setlIconUrl(" "); localAdAdvertisement.setApkName(" "); localAdAdvertisement.setApkUrl(" "); localAdAdvertisement.setApkPackage(" "); localAdAdvertisement.setsIconUrl(" "); localAdAdvertisement.setbIconUrl(" "); localAdAdvertisement.setDetails(" "); return localAdAdvertisement; } }
c48acbf4c437ed7dd001d39ddde0d07547abfb93
c21eea240e64beccc711d538027c6c0c4e27d966
/src/main/java/com/tangbo/spark/GMVCity.java
5147dc70f4df9d3cdd3bcff830175f6aa055b38f
[]
no_license
DesmondAssis/spark_test
abb5380601542105cc3a46910374e99672fa97e1
68541b378d33321ca914e128adaec40c1734bb6b
refs/heads/master
2021-01-11T03:50:41.033556
2016-11-01T14:21:37
2016-11-01T14:21:37
71,255,989
0
0
null
2016-10-18T14:19:05
2016-10-18T14:19:05
null
UTF-8
Java
false
false
32,742
java
package com.tangbo.spark; import org.apache.spark.SparkConf; import org.apache.spark.api.java.JavaRDD; import org.apache.spark.api.java.JavaSparkContext; import org.apache.spark.sql.Row; import org.apache.spark.sql.hive.HiveContext; import static com.tangbo.util.TypeConverterUtil.getIntValue; /** * Created by Li.Xiaochuan on 16/10/25. */ public class GMVCity { private final static String SPE = ","; public static void main(String[] args) { if (args.length < 2) { System.err.println("Usage: gmv city <hdfsPath>"); System.exit(1); } String path = args[0]; String hdfsPrefix = args[1]; SparkConf conf = new SparkConf().setAppName("gmv_city") /*.setMaster("local[4]")*/ .set("spark.scheduler.pool", "production") .set("spark.hadoop.validateOutputSpecs", "false") ; JavaSparkContext sc = new JavaSparkContext(conf); HiveContext sqlContext = new HiveContext(sc); // app String sql1 = "select tmp.day as day ,tmp.city as city ,tmp.channel as channel_type,\n" + " 0 as filter_type, \n" + " 0 as platform,\n" + " sum(tmp.cost) as num\n" + " from \n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, \n" + " business_activity.take_channel as channel,\n" + " total_cost as cost\n" + " FROM data_center.`business_order`\n" + " left join data_center.business_activity on business_order.wzm_activity_id = business_activity.id\n" + " where business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 0 and business_order.distributor_id =0\n" + " )tmp group by tmp.day, tmp.city,tmp.channel", sql2 = "select tmp.day as day ,tmp.city as city, tmp.channel as channel_type,\n" + " 2 as filter_type, \n" + " 0 as platform,\n" + " sum(num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, business_activity.take_channel as channel,\n" + " num as num\n" + " FROM data_center.`business_order`\n" + " left join data_center.business_activity on business_order.wzm_activity_id = business_activity.id\n" + " where business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 0 and business_order.distributor_id =0\n" + " )tmp\n" + " group by tmp.day, tmp.city, tmp.channel", sql3 = "select tmp.day as day ,tmp.city as city,tmp.channel as channel_type, \n" + " 1 as filter_type, 0 as platform, \n" + " count(order_num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, business_activity.take_channel as channel, \n" + " order_num as order_num\n" + " FROM data_center.`business_order`\n" + " left join data_center.business_activity on business_order.wzm_activity_id = business_activity.id\n" + " where business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 0 and business_order.distributor_id =0\n" + " )tmp\n" + " group by tmp.day,tmp.city,tmp.channel", sql4 = "select tmp.day as day,tmp.city as city,(tmp.channel+10) as channel_type, \n" + " 0 as filter_type, \n" + " 0 as platform,\n" + " sum(total_cost) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city,business_activity.sale_channel as channel,\n" + " total_cost as total_cost\n" + " FROM data_center.`business_order`\n" + " left join data_center.business_activity on business_order.wzm_activity_id = business_activity.id\n" + " where business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 0 and business_order.distributor_id =0\n" + " )tmp \n" + " group by tmp.day,tmp.city,tmp.channel", sql5 = "select tmp.day as day,tmp.city as city, (tmp.channel+10) as channel_type,\n" + " 2 as filter_type, \n" + " 0 as platform,\n" + " sum(num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, business_activity.sale_channel as channel,\n" + " num as num\n" + " FROM data_center.`business_order`\n" + " left join data_center.business_activity on business_order.wzm_activity_id = business_activity.id\n" + " where business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 0 and business_order.distributor_id =0\n" + " )tmp \n" + " group by tmp.day,tmp.city,tmp.channel", sql6 = "select tmp.day as day,tmp.city as city,(tmp.channel+10) as channel_type,\n" + " 1 as filter_type, \n" + " 0 as platform,\n" + " count(order_num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, business_activity.sale_channel as channel,\n" + " order_num as order_num\n" + " FROM data_center.`business_order`\n" + " left join data_center.business_activity on business_order.wzm_activity_id = business_activity.id\n" + " where business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 0 and business_order.distributor_id =0\n" + " )tmp\n" + " group by tmp.day,tmp.city,tmp.channel", sql7 = "select tmp.day as day, tmp.city as city,20 as channel_type,\n" + " 0 as filter_type, \n" + " 0 as platform, \n" + " sum(tmp.cost) as num \n" + " from \n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, \n" + " total_cost as cost\n" + " FROM data_center.`business_order`\n" + " where coupon_name rlike '^.*\\\\u793c\\\\u54c1\\\\u5361.*$'\n" + " and business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 0 and business_order.distributor_id =0\n" + " )tmp group by tmp.day, tmp.city", sql8 = "select tmp.day as day, tmp.city as city,20 as channel_type, \n" + " 2 as filter_type,\n" + " 0 as platform,\n" + " sum(num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city,\n" + " num as num\n" + " FROM data_center.`business_order`\n" + " where coupon_name rlike '^.*\\\\u793c\\\\u54c1\\\\u5361.*$'\n" + " and business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 0 and business_order.distributor_id =0\n" + " )tmp \n" + " group by tmp.day, tmp.city", sql9 = "select tmp.day as day, tmp.city as city,20 as channel_type,\n" + " 1 as filter_type, \n" + " 0 as platform,\n" + " count(order_num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city,20 as channel_type,\n" + " order_num as order_num\n" + " FROM data_center.`business_order`\n" + " where coupon_name rlike '^.*\\\\u793c\\\\u54c1\\\\u5361.*$'\n" + " and business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 0 and business_order.distributor_id =0\n" + " )tmp \n" + " group by tmp.day, tmp.city", // h5 sql10 = "select tmp.day as day, tmp.city as city,tmp.channel as channel_type,\n" + " 0 as filter_type, \n" + " 1 as platform,\n" + " sum(total_cost) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, business_activity.take_channel as channel,\n" + " total_cost as total_cost\n" + " FROM data_center.`business_order`\n" + " left join data_center.business_activity on business_order.wzm_activity_id = business_activity.id\n" + " where business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 1\n" + " )tmp\n" + " group by tmp.day, tmp.city,tmp.channel", sql11 = " select tmp.day as day, tmp.city as city,tmp.channel as channel_type,\n" + " 2 as filter_type, \n" + " 1 as platform,\n" + " sum(num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, business_activity.take_channel as channel,\n" + " num as num\n" + " FROM data_center.`business_order`\n" + " left join data_center.business_activity on business_order.wzm_activity_id = business_activity.id\n" + " where business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 1\n" + " )tmp\n" + " group by tmp.day, tmp.city,tmp.channel", sql12 = " select tmp.day as day, tmp.city as city,tmp.channel as channel_type,\n" + " 1 as filter_type, \n" + " 1 as platform,\n" + " count(order_num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, business_activity.take_channel as channel,\n" + " order_num as order_num\n" + " FROM data_center.`business_order`\n" + " left join data_center.business_activity on business_order.wzm_activity_id = business_activity.id\n" + " where business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 1\n" + " )tmp\n" + " group by tmp.day, tmp.city,tmp.channel", sql13 = "select tmp.day as day, tmp.city as city,(tmp.channel+10) as channel_type,\n" + " 0 as filter_type, \n" + " 1 as platform,\n" + " sum(total_cost) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, business_activity.sale_channel as channel,\n" + " total_cost as total_cost\n" + " FROM data_center.`business_order`\n" + " left join data_center.business_activity on business_order.wzm_activity_id = business_activity.id\n" + " where business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 1\n" + " )tmp \n" + " group by tmp.day, tmp.city,tmp.channel", sql14 = "select tmp.day as day, tmp.city as city,(tmp.channel+10) as channel_type,\n" + " 2 as filter_type, \n" + " 1 as platform,\n" + " sum(num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, business_activity.sale_channel as channel,\n" + " num as num\n" + " FROM data_center.`business_order`\n" + " left join data_center.business_activity on business_order.wzm_activity_id = business_activity.id\n" + " where business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 1\n" + " )tmp\n" + " group by tmp.day, tmp.city,tmp.channel", sql15 = "select tmp.day as day, tmp.city as city,(tmp.channel+10) as channel_type,\n" + " 1 as filter_type, \n" + " 1 as platform,\n" + " count(order_num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, business_activity.sale_channel as channel,\n" + " order_num as order_num\n" + " FROM data_center.`business_order`\n" + " left join data_center.business_activity on business_order.wzm_activity_id = business_activity.id\n" + " where business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 1\n" + " )tmp \n" + " group by tmp.day, tmp.city,tmp.channel", sql16 = "select tmp.day as day, tmp.city as city,20 as channel_type,\n" + " 0 as filter_type, \n" + " 1 as platform,\n" + " sum(total_cost) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city,\n" + " total_cost as total_cost\n" + " FROM data_center.`business_order`\n" + " where coupon_name rlike '^.*\\\\u793c\\\\u54c1\\\\u5361.*$'\n" + " and business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 1\n" + " )tmp \n" + " group by tmp.day, tmp.city", sql17 = "select tmp.day as day, tmp.city as city,20 as channel_type,\n" + " 2 as filter_type, \n" + " 1 as platform,\n" + " sum(num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city,\n" + " num as num\n" + " FROM data_center.`business_order`\n" + " where coupon_name rlike '^.*\\\\u793c\\\\u54c1\\\\u5361.*$'\n" + " and business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 1\n" + " )tmp\n" + " group by tmp.day, tmp.city", sql18 = "select tmp.day as day, tmp.city as city,20 as channel_type,\n" + " 1 as filter_type, \n" + " 1 as platform,\n" + " count(order_num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city,\n" + " order_num as order_num\n" + " FROM data_center.`business_order`\n" + " where coupon_name rlike '^.*\\\\u793c\\\\u54c1\\\\u5361.*$'\n" + " and business_order.STATUS > 1 and business_order.price > 0\n" + " and business_order.is_wap = 1\n" + " )tmp\n" + " group by tmp.day, tmp.city", sql19 = "select tmp.day as day, tmp.city as city,0 as channel_type,\n" + " 0 as filter_type,\n" + " 2 as platform,\n" + " sum(total_cost) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " city_id as city,\n" + " total_cost as total_cost\n" + " FROM data_center.`business_order`\n" + " where STATUS > 1 and price > 0\n" + " and is_wap=0 and distributor_id=2\n" + " )tmp\n" + " group by tmp.day, tmp.city", sql20 = "select tmp.day as day, tmp.city as city,0 as channel_type,\n" + " 2 as filter_type, \n" + " 2 as platform,\n" + " sum(num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city,\n" + " num as num\n" + " FROM data_center.`business_order`\n" + " where STATUS > 1 and price > 0\n" + " and is_wap=0 and distributor_id=2\n" + " )tmp \n" + " group by tmp.day, tmp.city", sql21 = "select tmp.day as day, tmp.city as city,0 as channel_type,\n" + " 1 as filter_type, \n" + " 2 as platform,\n" + " count(order_num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city,\n" + " order_num as order_num\n" + " FROM data_center.`business_order`\n" + " where STATUS > 1 and price > 0\n" + " and is_wap=0 and distributor_id=2\n" + " )tmp\n" + " group by tmp.day, tmp.city", sql22 = "select tmp.day as day, tmp.city as city,1 as channel_type,\n" + " 0 as filter_type,\n" + " 2 as platform,\n" + " sum(total_cost) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " city_id as city, \n" + " total_cost as total_cost\n" + " FROM data_center.`business_order`\n" + " where STATUS > 1 and price > 0\n" + " and is_wap=0 and distributor_id=1\n" + " )tmp\n" + " group by tmp.day, tmp.city", sql23 = "select tmp.day as day, tmp.city as city,1 as channel_type,\n" + " 2 as filter_type, \n" + " 2 as platform,\n" + " sum(num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city, 1 as channel_type,\n" + " num as num\n" + " FROM data_center.`business_order`\n" + " where STATUS > 1 and price > 0\n" + " and is_wap=0 and distributor_id=1\n" + " )tmp\n" + " group by tmp.day, tmp.city", sql24 = "select tmp.day as day, tmp.city as city,1 as channel_type,\n" + " 1 as filter_type, \n" + " 2 as platform,\n" + " count(order_num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city,\n" + " order_num as order_num\n" + " FROM data_center.`business_order`\n" + " where STATUS > 1 and price > 0\n" + " and is_wap=0 and distributor_id=1\n" + " )tmp\n" + " group by tmp.day, tmp.city", sql25 = "select tmp.day as day, tmp.city as city,2 as channel_type,\n" + " 0 as filter_type, \n" + " 2 as platform,\n" + " sum(total_cost) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " city_id as city, \n" + " total_cost as total_cost\n" + " FROM data_center.`business_order`\n" + " where STATUS > 1 and price > 0\n" + " and is_wap=0 and distributor_id >2\n" + " )tmp \n" + " group by tmp.day, tmp.city", sql26 = "select tmp.day as day, tmp.city as city,2 as channel_type,\n" + " 2 as filter_type, \n" + " 2 as platform,\n" + " sum(num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city,\n" + " num as num\n" + " FROM data_center.`business_order`\n" + " where STATUS > 1 and price > 0\n" + " and is_wap=0 and distributor_id >2\n" + " )tmp\n" + " group by tmp.day, tmp.city", sql27 = "select tmp.day as day, tmp.city as city,2 as channel_type,\n" + " 1 as filter_type, \n" + " 2 as platform,\n" + " count(order_num) as num\n" + " from\n" + " (SELECT unix_timestamp(from_unixtime(business_order.create_time,'yyyyMMdd'),'yyyyMMdd') as day,\n" + " business_order.city_id as city,\n" + " order_num as order_num\n" + " FROM data_center.`business_order`\n" + " where STATUS > 1 and price > 0\n" + " and is_wap=0 and distributor_id > 2\n" + " )tmp\n" + " group by tmp.day, tmp.city"; JavaRDD<Row> hiveRDD1 = getJavaRDD(sqlContext, sql1); JavaRDD<Row> hiveRDD2 = getJavaRDD(sqlContext, sql2); JavaRDD<Row> hiveRDD3 = getJavaRDD(sqlContext, sql3); JavaRDD<Row> hiveRDD4 = getJavaRDD(sqlContext, sql4); JavaRDD<Row> hiveRDD5 = getJavaRDD(sqlContext, sql5); JavaRDD<Row> hiveRDD6 = getJavaRDD(sqlContext, sql6); JavaRDD<Row> hiveRDD7 = getJavaRDD(sqlContext, sql7); JavaRDD<Row> hiveRDD8 = getJavaRDD(sqlContext, sql8); JavaRDD<Row> hiveRDD9 = getJavaRDD(sqlContext, sql9); JavaRDD<Row> hiveRDD10 = getJavaRDD(sqlContext, sql10); JavaRDD<Row> hiveRDD11 = getJavaRDD(sqlContext, sql11); JavaRDD<Row> hiveRDD12 = getJavaRDD(sqlContext, sql12); JavaRDD<Row> hiveRDD13 = getJavaRDD(sqlContext, sql13); JavaRDD<Row> hiveRDD14 = getJavaRDD(sqlContext, sql14); JavaRDD<Row> hiveRDD15 = getJavaRDD(sqlContext, sql15); JavaRDD<Row> hiveRDD16 = getJavaRDD(sqlContext, sql16); JavaRDD<Row> hiveRDD17 = getJavaRDD(sqlContext, sql17); JavaRDD<Row> hiveRDD18 = getJavaRDD(sqlContext, sql18); JavaRDD<Row> hiveRDD19 = getJavaRDD(sqlContext, sql19); JavaRDD<Row> hiveRDD20 = getJavaRDD(sqlContext, sql20); JavaRDD<Row> hiveRDD21 = getJavaRDD(sqlContext, sql21); JavaRDD<Row> hiveRDD22 = getJavaRDD(sqlContext, sql22); JavaRDD<Row> hiveRDD23 = getJavaRDD(sqlContext, sql23); JavaRDD<Row> hiveRDD24 = getJavaRDD(sqlContext, sql24); JavaRDD<Row> hiveRDD25 = getJavaRDD(sqlContext, sql25); JavaRDD<Row> hiveRDD26 = getJavaRDD(sqlContext, sql26); JavaRDD<Row> hiveRDD27 = getJavaRDD(sqlContext, sql27); hiveRDD1.union(hiveRDD2) .union(hiveRDD3) .union(hiveRDD4) .union(hiveRDD5) .union(hiveRDD6) .union(hiveRDD7) .union(hiveRDD8) .union(hiveRDD9) .union(hiveRDD10) .union(hiveRDD11) .union(hiveRDD12) .union(hiveRDD13) .union(hiveRDD14) .union(hiveRDD15) .union(hiveRDD16) .union(hiveRDD17) .union(hiveRDD18) .union(hiveRDD19) .union(hiveRDD20) .union(hiveRDD21) .union(hiveRDD22) .union(hiveRDD23) .union(hiveRDD24) .union(hiveRDD25) .union(hiveRDD26) .union(hiveRDD27).map(GMVCity::getRowContent2) // .collect().forEach(System.out::println) .saveAsTextFile(hdfsPrefix + path) ; } public static JavaRDD<Row> getJavaRDD(HiveContext sqlContext, String sql) { return sqlContext.sql(sql).javaRDD(); } @SuppressWarnings("Duplicates") public static String getRowContent2(Row row) { int day = getIntValue(row.get(0)); int city = getIntValue(row.get(1)); int channelType = getIntValue(row.get(2)); int filterType = getIntValue(row.get(3)); int platform = getIntValue(row.get(4)); int num = getIntValue(row.get(5)); return day + SPE + city + SPE + channelType + SPE + filterType + SPE + platform + SPE + num; } /* export --connect jdbc:mysql://test5.wanzhoumo.com:3307/data_center?useUnicode=true&characterEncoding=utf8 --table ss_channel_city_day --export-dir /tmp/channel/city -m 4 --username wanzhoumo --password wanzhoumo123 --batch --columns "day,city,channel_type,filter_type,platform,num" --input-fields-terminated-by "," --fields-terminated-by "," --update-mode allowinsert --update-key "day,city,channel_type,filter_type,platform" export --connect jdbc:mysql://test5.wanzhoumo.com:3307/data_center?useUnicode=true&characterEncoding=utf8 --table ss_channel_gerne_day --export-dir /tmp/channel/genre -m 4 --username wanzhoumo --password wanzhoumo123 --batch --columns "day,gerne,channel_type,filter_type,platform,num" --input-fields-terminated-by "," --fields-terminated-by "," --update-mode allowinsert --update-key "day,gerne,channel_type,filter_type,platform" */ }
c0d11e16a14cb02d9a002b25c447d13591fed9ee
297dbff501f598ac868d27397e2e8027fcac2129
/z-boot/z-boot-web/src/main/java/org/z/modules/system/service/ISysPositionService.java
81f77f52981e141598dda3499737e94c5449bd7c
[ "Apache-2.0" ]
permissive
arraycto/vz-boot
73a1f6f59f9471374d81c8776d5564a4cbf191c4
f50ab78ec40b463c9807299255b8df8d5141f5f8
refs/heads/master
2022-12-11T03:43:52.919308
2020-08-25T02:01:25
2020-08-25T02:01:25
null
0
0
null
null
null
null
UTF-8
Java
false
false
241
java
package org.z.modules.system.service; import com.baomidou.mybatisplus.extension.service.IService; import org.z.modules.system.entity.SysPosition; /** * @author z */ public interface ISysPositionService extends IService<SysPosition> { }
4984d602b6b6441b36a72f6e2bf48261730080d2
5ed75b492047a5ae9cadbf6ef64fae62e7af2855
/src/main/java/org/greenwin/VLclient/beans/Option.java
b73f978fa2ded8e783400c0b89709d3e0522cbe2
[]
no_license
voixlibre/vl-client
65f6ee0eeb7173a12f4220f2ca5d93211222ea99
6a80d147e4659d2c14cfef82170bdeaf6c2e4ab9
refs/heads/master
2020-05-26T12:02:30.953800
2019-06-02T07:09:04
2019-06-02T07:09:04
188,226,112
0
0
null
null
null
null
UTF-8
Java
false
false
569
java
package org.greenwin.VLclient.beans; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.List; @Data @AllArgsConstructor @NoArgsConstructor public class Option { public Option(String option, Campaign campaign){ this.option = option; this.campaign = campaign; } private int id; private String option; @JsonIgnore private List<Vote> votes; private int campaignId; @JsonIgnore private Campaign campaign; }
8f960d92b16ba6aa9a47d20765e70fa9cb0fa38d
a81dd18b9ad6052f753df01258aee1be9441ca1f
/app/src/main/java/com/chaojishipin/sarrs/adapter/ModifyUserGridViewAdapter.java
a8a89fb30e16790d32f065e428d9e63798341435
[]
no_license
sunyymq/sarrs
f4b94dd0e235d5ea371a206ea2fe98486b73c551
ce59edc8a798cba6218ff28657ca28ab21330a95
refs/heads/master
2021-01-13T09:06:26.089229
2016-02-19T07:24:50
2016-02-19T07:24:50
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,926
java
package com.chaojishipin.sarrs.adapter; import android.content.Context; import android.graphics.Bitmap; import android.util.SparseArray; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; import com.chaojishipin.sarrs.R; import com.chaojishipin.sarrs.bean.GenderInfo; import com.chaojishipin.sarrs.bean.ImageInfo; import com.chaojishipin.sarrs.bean.VideoItem; import com.chaojishipin.sarrs.utils.LogUtil; import com.nostra13.universalimageloader.core.ImageLoader; import java.util.ArrayList; import java.util.List; /** * Created by xll on 2015/8/5. * * @des 修改用户资料界面--头像选择适配器 */ public class ModifyUserGridViewAdapter extends BaseAdapter { private Context context; private int clickId; // private String dirPath; private List<ImageInfo> listInfo=new ArrayList<ImageInfo>(); public ModifyUserGridViewAdapter(Context context){ this.context=context; } // public String getDirPath(){ // return dirPath; // } public void setData(List<ImageInfo> listInfo){ this.listInfo=listInfo; // this.dirPath=dirPath; } @Override public int getCount() { return listInfo.size(); } @Override public long getItemId(int position) { return position; } @Override public Object getItem(int position) { return listInfo.get(position); } @Override public View getView(int position, View convertView, ViewGroup parent) { ModifyUserGridViewHolder holder = null; if (convertView == null) { holder = new ModifyUserGridViewHolder(); convertView = LayoutInflater.from(context).inflate(R.layout.modifyactivity_gridview_item, parent, false); holder.mImg = (ImageView) convertView.findViewById(R.id.mdetail_activity_gridview_img); convertView.setTag(holder); } else { holder = (ModifyUserGridViewHolder) convertView.getTag(); } if(listInfo.get(position).getType()==0){ // holder.mImg.setColorFilter(null); //holder.mImg.setImageResource(R.drawable.sarrs_pic_no_default); holder.mImg.setBackgroundColor(context.getResources().getColor(R.color.color_00000000)); String imgUrl=listInfo.get(position).getUrl(); ImageLoader.getInstance().displayImage(imgUrl, holder.mImg); LogUtil.e("ImageGridAdapter",""+imgUrl); }else{ //holder.mImg.setColorFilter(null); holder.mImg.setBackgroundColor(context.getResources().getColor(R.color.color_999999)); holder.mImg.setImageResource(R.drawable.sarrs_pic_camera); } return convertView; } class ModifyUserGridViewHolder { public ImageView mImg; } }
257b6d5c86dee06d7564037eaa78a9b319113a5e
6f93ae5a87d934b95429347a564f90021fea9aa2
/Projblog/Projblog/ProjetBlog/src/main/java/com/blog/daoarticle/dao/DAOArticleImpl.java
eba566f8f14c002fff7b8ceb4367eceda6900fc4
[]
no_license
Vaenemys/BlogJava
d8e1aa86eb0916916d64da3db9f9807e7d3c980c
24cb8735272c3e3960a659f103889402b36760c7
refs/heads/master
2022-06-23T16:01:45.936643
2020-01-05T22:04:16
2020-01-05T22:04:16
231,387,978
0
0
null
2022-06-21T04:08:37
2020-01-02T13:30:50
Java
UTF-8
Java
false
false
3,245
java
package com.blog.daoarticle.dao; import java.util.ArrayList; import java.util.List; import java.lang.reflect.Array; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import com.blog.daoarticle.dao.DAOArticle; import com.blog.daoarticle.model.Article; public class DAOArticleImpl implements DAOArticle { private Connection connection; public DAOArticleImpl(Connection connection) { this.connection = connection; } @Override public Article obtenirArticle(int id) { Article article = new Article(); try { String query = "SELECT * FROM articlec WHERE id=?;"; PreparedStatement ps = connection.prepareStatement(query); ps.setInt(1, id); ResultSet rs = ps.executeQuery(); if (rs.next() == false) { return null; }else { do { article.setId(rs.getInt("id")); article.setAuteur(rs.getString("Auteur")); article.setTitre(rs.getString("Titre")); article.setDesc(rs.getString("Desc")); article.setDate(rs.getString("Date")); } while (rs.next()); } } catch (SQLException e) { e.printStackTrace(); } return article; } @Override public List<Article> obtenirToutArticles() { List<Article> articles = new ArrayList<Article>(); try { String query = "Select * FROM articlec;"; PreparedStatement ps = connection.prepareStatement(query); ResultSet rs = ps.executeQuery(); while (rs.next()) { Article article = new Article(); article.setId(rs.getInt("id")); article.setAuteur(rs.getString("Auteur")); article.setTitre(rs.getString("Titre")); article.setDesc(rs.getString("Desc")); article.setDate(rs.getString("Date")); articles.add(article); } } catch (SQLException e) { e.printStackTrace(); } return articles; } @Override public void ajoutArticle(Article article) { try { String query = "INSERT INTO articlec (auteur, titre, desc, date) VALUES"; String generatedColumns[] = {"ID"}; PreparedStatement ps = connection.prepareStatement(query, generatedColumns); ps.setString(rs.getInt("id")); ps.setString(rs.getString("Auteur")); ps.setString(rs.getString("Titre")); ps.setString(rs.getString("Desc")); ps.setString(rs.getString("password")); } catch (SQLException e) { e.printStackTrace(); } } @Override public void majArticle(Article article) { try { String query = ("UPDATE articlec SET auteur=?, titre=?, desc=?, date=? WHERE id=?;"); PreparedStatement ps = connection.prepareStatement(query); ps.setString(1, article.getAuteur()); ps.setString(2, article.getTitre()); ps.setString(3, article.getDesc()); ps.setString(4, article.getDate()); ps.setInt(5, getId()); ps.executeUpdate(); } catch (SQLException e) { e.printStackTrace(); } } @Override public void supprArticle(Article article) { try { String query = ("DELETE FROM articlec WHERE id=?;"); PreparedStatement ps = connection.prepareStatement(query); }catch (SQLException e) { e.printStackTrace(); } } }
54df73c02a01467a093847136b513c4a800ad1bd
4a47c37bcea65b6b852cc7471751b5239edf7c94
/src/academy/everyonecodes/java/week4/reflection/exercise1/FromZeroRounder.java
a87cac5b08ae9179ef63250db99b1e99543d97f6
[]
no_license
uanave/java-module
acbe808944eae54cfa0070bf8b80edf453a3edcf
f98e49bd05473d394329602db82a6945ad1238b5
refs/heads/master
2022-04-07T15:42:36.210153
2020-02-27T14:43:29
2020-02-27T14:43:29
226,831,034
0
0
null
null
null
null
UTF-8
Java
false
false
253
java
package academy.everyonecodes.java.week4.reflection.exercise1; public class FromZeroRounder { public double round(double number) { if (number < 0) { return Math.floor(number); } return Math.ceil(number); } }
998f2381faddff97f2dcdf912694d91221f57d81
52984b56e111ecf00457fe95817879d61e9ae42c
/src/main/java/com/hockey/core/interfaces/repositories/Repository.java
e694da6833bee66734c155fc6cc357f3c3695941
[]
no_license
col3name/database-course-project
9926e69581512ca68dcb266e1d1d47dc083df2c3
eff5400b6a1fbe995120f912d8fcf73aa1d887e0
refs/heads/master
2022-11-10T02:37:52.888015
2019-01-23T15:16:54
2019-01-23T15:16:54
null
0
0
null
null
null
null
UTF-8
Java
false
false
519
java
package com.hockey.core.interfaces.repositories; import com.hockey.core.exception.EntityNotFoundException; import com.hockey.core.interfaces.Specification; import java.sql.SQLException; import java.util.List; public interface Repository<T> { List<T> findAll(); T findById(Long id) throws Exception; boolean create(T item) throws SQLException; boolean update(T item); boolean delete(Long id); boolean delete(Specification specification); List<T> query(Specification specification); }
fd8f23dfceaba4d5dbb673fc7307fab95631a82b
15d6c684b41659149c160a35d3f2a4169f54eceb
/src/main/java/zzz404/safesql/sql/type/LocalDateTimeValue.java
3947aa4a6c16f55dc610d6ce93fb282f1d696bc4
[]
no_license
zzz404/SafeSql
604e23d6b360f4906ba3fd437a6319d855404784
3443e190a4641a4c1f7e50a0cc79225b117db267
refs/heads/master
2021-06-01T20:48:47.210407
2019-09-07T16:35:58
2019-09-07T16:35:58
156,996,651
0
0
null
null
null
null
UTF-8
Java
false
false
1,216
java
package zzz404.safesql.sql.type; import java.sql.Timestamp; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import zzz404.safesql.sql.proxy.QuietPreparedStatement; import zzz404.safesql.sql.proxy.QuietResultSet; public class LocalDateTimeValue extends TypedValue<LocalDateTime> { public static final DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); @Override public LocalDateTimeValue readFromRs(QuietResultSet rs, int index) { value = toLocalDateTime(rs.getTimestamp(index)); return this; } private LocalDateTime toLocalDateTime(Timestamp timestamp) { return timestamp != null ? timestamp.toLocalDateTime() : null; } @Override public LocalDateTimeValue readFromRs(QuietResultSet rs, String column) { value = toLocalDateTime(rs.getTimestamp(column)); return this; } @Override public LocalDateTimeValue setToPstmt(QuietPreparedStatement pstmt, int index) { pstmt.setTimestamp(index, Timestamp.valueOf(value)); return this; } @Override public String toValueString() { return value.format(DATE_TIME_FORMATTER); } }
2e54aaf5b3854f7949a17b0ffaf433e47442ce1a
d674394945a3f714adf0ba6cd431079c4881e94e
/palace-java-basics/src/main/java/com/flysnow/palace/basics/crawler/BaseDao.java
5bc87025360891acb22dce2062b35d061634e60b
[]
no_license
gelysting/palace-java
53073ac601f9763b7b48c4b25ecda0c915f150f3
798e49114a881b445f9996dd486d2bf899ea09a8
refs/heads/master
2023-04-27T10:33:30.428889
2020-01-07T05:53:08
2020-01-07T05:53:08
228,348,664
3
0
null
2023-04-17T19:39:41
2019-12-16T09:21:21
Java
UTF-8
Java
false
false
3,466
java
package com.flysnow.palace.basics.crawler; /** * @Package com.flysnow.palace.basics.crawler * @Description * @Author Fly * @Date 2019-11-07 9:50 * @Version V1.0 */ import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; public class BaseDao { private static final String driver = "com.mysql.cj.jdbc.Driver"; private static final String url = "jdbc:mysql://localhost:3306/poems?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&autoReconnect=true&useSSL=false"; private static final String name = "root"; private static final String pwd = "123456"; Connection conn = null; /*public Connection getconn() { Connection conn = null; Context ctx; try { ctx = new InitialContext(); DataSource ds = (DataSource) ctx.lookup("java:comp/env/jdbc/news"); conn = ds.getConnection(); } catch (Exception e) { e.printStackTrace(); } return conn; }*/ /** * 获取连接 * * @return Connection */ protected Connection getconn() { conn = null; try { Class.forName(driver); conn = DriverManager.getConnection(url, name, pwd); } catch (ClassNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (SQLException e) { // TODO Auto-generated catch block e.printStackTrace(); } return conn; } /** * 关闭数据库连接 * * @param conn * @param ps * @param rs */ protected void closeAll(Connection conn, PreparedStatement ps, ResultSet rs) { if (rs != null) try { if (rs != null) rs.close(); if (ps != null) ps.close(); if (conn != null) conn.close(); } catch (SQLException e) { // TODO Auto-generated catch block e.printStackTrace(); } } /** * 增/删/改/ , 接受 参数为 SQL语句 和 对象数组 * * @param sql * @param ob * @return int 返回受影响行数 */ public int executeUpdate(String sql, Object[] ob) { conn = getconn(); PreparedStatement ps = null; try { ps = prepareStatement(conn, sql, ob); int i = ps.executeUpdate(); return i; } catch (SQLException e) { // TODO Auto-generated catch block // e.printStackTrace(); return 0; } finally { closeAll(conn, ps, null); } } /** * 构造SQL语法 * * @param conn * @param sql * @param ob * @return PreparedStatement */ protected PreparedStatement prepareStatement(Connection conn, String sql, Object[] ob) { PreparedStatement ps = null; try { int index = 1; ps = conn.prepareStatement(sql); if (ps != null && ob != null) { for (int i = 0; i < ob.length; i++) { ps.setObject(index, ob[i]); index++; } } } catch (SQLException e1) { e1.printStackTrace(); } return ps; } }
af0bf6ed1ca7b98ca899dd7aa8db31e8534d7435
92cc23362c53d86b0ed887624ed148e73bd41539
/project_c/src/main/java/kr/or/connect/reservation/dao/PromotionDao.java
1f878550f0d7c114fd440afc1da8516863f3a25a
[]
no_license
sangwon514/LOOKIE_BACK_2020
7f080fcacf57f1faa04689abc3a086e3312a5d34
d20b87c70d4bc7206b3a242f9713a457c68b8e31
refs/heads/master
2022-11-19T13:16:54.181123
2020-07-24T17:14:17
2020-07-24T17:14:17
264,662,464
0
0
null
2020-05-17T12:38:58
2020-05-17T12:38:57
null
UTF-8
Java
false
false
857
java
package kr.or.connect.reservation.dao; import static kr.or.connect.reservation.dao.ReservationSqls.*; import java.util.List; import javax.sql.DataSource; import org.springframework.jdbc.core.BeanPropertyRowMapper; import org.springframework.jdbc.core.RowMapper; import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; import org.springframework.stereotype.Repository; import kr.or.connect.reservation.dto.Promotion; @Repository public class PromotionDao { private NamedParameterJdbcTemplate jdbc; private RowMapper<Promotion> rowMapper = BeanPropertyRowMapper.newInstance(Promotion.class); public PromotionDao(DataSource dataSource) { this.jdbc = new NamedParameterJdbcTemplate(dataSource); } public List<Promotion> selectAll() { return jdbc.query(SELECT_PROMOTION_COUNT, rowMapper); } }
32f5d3341f8d4d931efa316c30f6538bb3616116
7c3f462813c32425868fad68e28dc8cf0a88a083
/app/src/main/java/com/myself/business/zxing/decode/RGBLuminanceSource.java
1086176a20fd655563b5ec2d5377c0513cdaaf54
[]
no_license
YKamh/Business
7629c51ba162aae56a95771205a646f4e32dfae7
65b0c938df835fbc7c43a6fccb971fd882c1ff97
refs/heads/master
2020-03-18T21:52:27.595212
2018-07-24T14:04:02
2018-07-24T14:04:02
135,309,767
0
0
null
null
null
null
UTF-8
Java
false
false
3,012
java
package com.myself.business.zxing.decode; /* * Copyright 2009 ZXing 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. */ import android.graphics.Bitmap; import android.graphics.BitmapFactory; import com.google.zxing.LuminanceSource; import java.io.FileNotFoundException; /** * This class is used to help decode images from files which arrive as RGB data * from Android bitmaps. It does not support cropping or rotation. * * @author [email protected] (Daniel Switkin) */ public final class RGBLuminanceSource extends LuminanceSource { private final byte[] luminances; public RGBLuminanceSource(String path) throws FileNotFoundException { this(loadBitmap(path)); } public RGBLuminanceSource(Bitmap bitmap) { super(bitmap.getWidth(), bitmap.getHeight()); int width = bitmap.getWidth(); int height = bitmap.getHeight(); int[] pixels = new int[width * height]; bitmap.getPixels(pixels, 0, width, 0, 0, width, height); // In order to measure pure decoding speed, we convert the entire image // to a greyscale array // up front, which is the same as the Y channel of the // YUVLuminanceSource in the real app. luminances = new byte[width * height]; for (int y = 0; y < height; y++) { int offset = y * width; for (int x = 0; x < width; x++) { int pixel = pixels[offset + x]; int r = (pixel >> 16) & 0xff; int g = (pixel >> 8) & 0xff; int b = pixel & 0xff; if (r == g && g == b) { // Image is already greyscale, so pick any channel. luminances[offset + x] = (byte) r; } else { // Calculate luminance cheaply, favoring green. luminances[offset + x] = (byte) ((r + g + g + b) >> 2); } } } } public byte[] getRow(int y, byte[] row) { if (y < 0 || y >= getHeight()) { throw new IllegalArgumentException( "Requested row is outside the image: " + y); } int width = getWidth(); if (row == null || row.length < width) { row = new byte[width]; } System.arraycopy(luminances, y * width, row, 0, width); return row; } // Since this class does not support cropping, the underlying byte array // already contains // exactly what the caller is asking for, so give it to them without a copy. public byte[] getMatrix() { return luminances; } private static Bitmap loadBitmap(String path) throws FileNotFoundException { Bitmap bitmap = BitmapFactory.decodeFile(path); if (bitmap == null) { throw new FileNotFoundException("Couldn't open " + path); } return bitmap; } }
187d10065cac3b8bc7d26b25dac3e151c09f0128
017ceb8b046e7bf506ab99c2141a2dac320bbc03
/core/java/android/os/connectivity/CellularBatteryStats.java
2593c85cff12bd33cadb0d1b9dba514fbd10fdd6
[ "LicenseRef-scancode-unicode", "Apache-2.0" ]
permissive
MoKee/android_frameworks_base
76e5c49286c410592f61999022afffeb18350bf3
e1938150d35b241ff1b14752a084be74415c06a9
refs/heads/mkp
2023-01-07T00:46:20.820046
2021-07-30T16:00:28
2021-07-30T16:00:28
9,896,797
38
88
NOASSERTION
2020-12-06T18:22:34
2013-05-06T20:59:57
Java
UTF-8
Java
false
false
5,875
java
/* * Copyright (C) 2016 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 android.os.connectivity; import android.os.BatteryStats; import android.os.Parcel; import android.os.Parcelable; import android.telephony.ModemActivityInfo; import android.telephony.SignalStrength; import java.util.Arrays; /** * API for Cellular power stats * * @hide */ public final class CellularBatteryStats implements Parcelable { private long mLoggingDurationMs; private long mKernelActiveTimeMs; private long mNumPacketsTx; private long mNumBytesTx; private long mNumPacketsRx; private long mNumBytesRx; private long mSleepTimeMs; private long mIdleTimeMs; private long mRxTimeMs; private long mEnergyConsumedMaMs; private long[] mTimeInRatMs; private long[] mTimeInRxSignalStrengthLevelMs; private long[] mTxTimeMs; public static final Parcelable.Creator<CellularBatteryStats> CREATOR = new Parcelable.Creator<CellularBatteryStats>() { public CellularBatteryStats createFromParcel(Parcel in) { return new CellularBatteryStats(in); } public CellularBatteryStats[] newArray(int size) { return new CellularBatteryStats[size]; } }; public CellularBatteryStats() { initialize(); } public void writeToParcel(Parcel out, int flags) { out.writeLong(mLoggingDurationMs); out.writeLong(mKernelActiveTimeMs); out.writeLong(mNumPacketsTx); out.writeLong(mNumBytesTx); out.writeLong(mNumPacketsRx); out.writeLong(mNumBytesRx); out.writeLong(mSleepTimeMs); out.writeLong(mIdleTimeMs); out.writeLong(mRxTimeMs); out.writeLong(mEnergyConsumedMaMs); out.writeLongArray(mTimeInRatMs); out.writeLongArray(mTimeInRxSignalStrengthLevelMs); out.writeLongArray(mTxTimeMs); } public void readFromParcel(Parcel in) { mLoggingDurationMs = in.readLong(); mKernelActiveTimeMs = in.readLong(); mNumPacketsTx = in.readLong(); mNumBytesTx = in.readLong(); mNumPacketsRx = in.readLong(); mNumBytesRx = in.readLong(); mSleepTimeMs = in.readLong(); mIdleTimeMs = in.readLong(); mRxTimeMs = in.readLong(); mEnergyConsumedMaMs = in.readLong(); in.readLongArray(mTimeInRatMs); in.readLongArray(mTimeInRxSignalStrengthLevelMs); in.readLongArray(mTxTimeMs); } public long getLoggingDurationMs() { return mLoggingDurationMs; } public long getKernelActiveTimeMs() { return mKernelActiveTimeMs; } public long getNumPacketsTx() { return mNumPacketsTx; } public long getNumBytesTx() { return mNumBytesTx; } public long getNumPacketsRx() { return mNumPacketsRx; } public long getNumBytesRx() { return mNumBytesRx; } public long getSleepTimeMs() { return mSleepTimeMs; } public long getIdleTimeMs() { return mIdleTimeMs; } public long getRxTimeMs() { return mRxTimeMs; } public long getEnergyConsumedMaMs() { return mEnergyConsumedMaMs; } public long[] getTimeInRatMs() { return mTimeInRatMs; } public long[] getTimeInRxSignalStrengthLevelMs() { return mTimeInRxSignalStrengthLevelMs; } public long[] getTxTimeMs() { return mTxTimeMs; } public void setLoggingDurationMs(long t) { mLoggingDurationMs = t; return; } public void setKernelActiveTimeMs(long t) { mKernelActiveTimeMs = t; return; } public void setNumPacketsTx(long n) { mNumPacketsTx = n; return; } public void setNumBytesTx(long b) { mNumBytesTx = b; return; } public void setNumPacketsRx(long n) { mNumPacketsRx = n; return; } public void setNumBytesRx(long b) { mNumBytesRx = b; return; } public void setSleepTimeMs(long t) { mSleepTimeMs = t; return; } public void setIdleTimeMs(long t) { mIdleTimeMs = t; return; } public void setRxTimeMs(long t) { mRxTimeMs = t; return; } public void setEnergyConsumedMaMs(long e) { mEnergyConsumedMaMs = e; return; } public void setTimeInRatMs(long[] t) { mTimeInRatMs = Arrays.copyOfRange(t, 0, Math.min(t.length, BatteryStats.NUM_DATA_CONNECTION_TYPES)); return; } public void setTimeInRxSignalStrengthLevelMs(long[] t) { mTimeInRxSignalStrengthLevelMs = Arrays.copyOfRange(t, 0, Math.min(t.length, SignalStrength.NUM_SIGNAL_STRENGTH_BINS)); return; } public void setTxTimeMs(long[] t) { mTxTimeMs = Arrays.copyOfRange(t, 0, Math.min(t.length, ModemActivityInfo.TX_POWER_LEVELS)); return; } public int describeContents() { return 0; } private CellularBatteryStats(Parcel in) { initialize(); readFromParcel(in); } private void initialize() { mLoggingDurationMs = 0; mKernelActiveTimeMs = 0; mNumPacketsTx = 0; mNumBytesTx = 0; mNumPacketsRx = 0; mNumBytesRx = 0; mSleepTimeMs = 0; mIdleTimeMs = 0; mRxTimeMs = 0; mEnergyConsumedMaMs = 0; mTimeInRatMs = new long[BatteryStats.NUM_DATA_CONNECTION_TYPES]; Arrays.fill(mTimeInRatMs, 0); mTimeInRxSignalStrengthLevelMs = new long[SignalStrength.NUM_SIGNAL_STRENGTH_BINS]; Arrays.fill(mTimeInRxSignalStrengthLevelMs, 0); mTxTimeMs = new long[ModemActivityInfo.TX_POWER_LEVELS]; Arrays.fill(mTxTimeMs, 0); return; } }
6b5726e0d591687e68bab9b6d99968cb75a8e6e3
c4a6129c6594af3fea6e85cb5f2c94a7b1423203
/TorontoJar/src/com/torontocodingcollective/speedcontroller/TCanSpeedControllerType.java
96a3b98e8df6b259cbe77b623c50173544b55b6b
[]
no_license
TorontoCodingCollective/2018_TorontoFramework
5bc974f3163b29e7feaeb531a4d6bb64d1741204
52a0803eefe118866d7e43177fcc58a28c06b031
refs/heads/master
2021-09-07T19:26:53.666551
2018-02-04T13:36:51
2018-02-04T13:36:51
110,343,810
3
0
null
null
null
null
UTF-8
Java
false
false
118
java
package com.torontocodingcollective.speedcontroller; public enum TCanSpeedControllerType { TALON_SRX, VICTOR_SPX }
f301d6f64fb65490ed5d51dc2c25257d1f2f2225
00f93d23f57ae662ad52f0ca05378877e3a66caf
/src/main/java/com/david/java/classinitialization/ClassInitialization.java
04d268eae63ea79d9a5a00824777373993800050
[]
no_license
davidjohnson90/DavidJavaSamples
4c5433c9f4e1ac922c49ee9fb00ad3d7eac7ac06
6ab72148e1e93e17b66cc1b5140143fb1e216dcf
refs/heads/master
2023-09-01T14:27:52.082073
2023-08-10T05:59:10
2023-08-10T05:59:10
53,575,352
0
0
null
null
null
null
UTF-8
Java
false
false
1,487
java
package com.david.java.classinitialization; /** * TestJava program consists of classes. Before a Java application runs, Java's * class loader loads its starting class -- the class with a public static void * main(String [] args) method -- and Java's byte code verifier verifies the * class. Then that class initializes. The simplest kind of class initialization * is automatic initialization of class fields to default values. * <p> * In this example, we declare various static fields with different data types * and don't explicitly assign values to them. The Java compiler will assign * default values to these fields automatically. * * @author David */ public class ClassInitialization { static boolean b; static byte by; static char c; static double d; static float f; static int i; static long l; static short s; static String st; /** * The main method of the ClassInitialization class. * * @param args The command-line arguments. */ public static void main(String[] args) { // Print the default values of the class fields. System.out.println("b = " + b); System.out.println("by = " + by); System.out.println("c = " + c); System.out.println("d = " + d); System.out.println("f = " + f); System.out.println("i = " + i); System.out.println("l = " + l); System.out.println("s = " + s); System.out.println("st = " + st); } }
cc7c1cf52b0d338e9682fcff73c763e775114ddd
5aa8f056d86e9320456e3acb9462a9e6e545231f
/Parte 3/WebEdExt/build/generated-sources/jax-ws/Server/ListarProfesoresInstituto.java
b6c6d4f0784cfb90b038380104f6487003adf92c
[]
no_license
Agu458/EdExt
3902dc80b9fb8fac30a70c632539fb18bfdb84d7
9f79bc6c4f1d45ef67827b1fb221161c13ee07da
refs/heads/master
2023-01-27T17:17:34.260901
2020-11-21T12:40:09
2020-11-21T12:40:09
292,038,774
0
0
null
null
null
null
UTF-8
Java
false
false
1,362
java
package Server; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Clase Java para listarProfesoresInstituto complex type. * * <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. * * <pre> * &lt;complexType name="listarProfesoresInstituto"> * &lt;complexContent> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;sequence> * &lt;element name="arg0" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * &lt;/sequence> * &lt;/restriction> * &lt;/complexContent> * &lt;/complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "listarProfesoresInstituto", propOrder = { "arg0" }) public class ListarProfesoresInstituto { protected String arg0; /** * Obtiene el valor de la propiedad arg0. * * @return * possible object is * {@link String } * */ public String getArg0() { return arg0; } /** * Define el valor de la propiedad arg0. * * @param value * allowed object is * {@link String } * */ public void setArg0(String value) { this.arg0 = value; } }
2e5f06f2fbb66b1516b435add4241d3df49149cd
4c112476d1845ef0a3ecec812a8af987c6c675f5
/cetc_qc/cetc_project/src/main/java/com/cetc/project/mapper/CodeExaminationDao.java
968f45fde9fec919447b77dfde10d4a57e70276a
[]
no_license
zhaowanma/cetc_parent
588d2407cc7cf956e724daf4ed694c62d6c1b197
2446c6d1d9ba9b7381d36143c682d4937cff3ecd
refs/heads/master
2020-12-15T08:59:02.693520
2020-10-19T06:10:57
2020-10-19T06:10:57
205,369,013
1
0
null
null
null
null
UTF-8
Java
false
false
509
java
package com.cetc.project.mapper; import com.cetc.model.project.CodeExamination; import com.cetc.project.entities.SearchExamination; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; import java.util.List; @Mapper @Repository public interface CodeExaminationDao { void add(CodeExamination examination); void deleteOne(Long id); List<CodeExamination> queryList(SearchExamination searchExamination); void update(CodeExamination examination); }
d9eea898c6bbdceb29ecec9638d7cc0f730eb3d5
1f6de71c7e0e6f32c28ac7bce11f42c48c64560a
/src/projett/gui/InboxForm.java
f4e5058b9cd3cffda123064659b49daf02dfd1b0
[]
no_license
eleeswaidi/MobileFinal
56cb28efc5ba90b4746e571913c71f2ba9e44f2c
0911ae70521276725357233989f809aa6126eb3a
refs/heads/master
2022-10-31T23:37:06.518606
2020-06-11T15:45:50
2020-06-11T15:45:50
271,583,894
0
0
null
null
null
null
UTF-8
Java
false
false
23,525
java
/* * Copyright (c) 2016, Codename One * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all copies or substantial portions * of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ package projett.gui; import com.codename1.components.FloatingActionButton; import com.codename1.ui.Button; import com.codename1.ui.Component; import com.codename1.ui.Container; import com.codename1.ui.Dialog; import com.codename1.ui.Display; import com.codename1.ui.FontImage; import com.codename1.ui.Image; import com.codename1.ui.Label; import com.codename1.ui.animations.CommonTransitions; import com.codename1.ui.events.ActionListener; import com.codename1.ui.geom.Rectangle; import com.codename1.ui.layouts.BoxLayout; import com.codename1.ui.layouts.FlowLayout; import com.codename1.ui.layouts.LayeredLayout; import com.codename1.ui.plaf.RoundBorder; import com.codename1.ui.plaf.Style; import java.util.List; /** * GUI builder created Form * * @author shai */ public class InboxForm extends BaseForm { public InboxForm() { this(com.codename1.ui.util.Resources.getGlobalResources()); } @Override protected boolean isCurrentInbox() { return true; } public InboxForm(com.codename1.ui.util.Resources resourceObjectInstance) { initGuiBuilderComponents(resourceObjectInstance); getToolbar().setTitleComponent( FlowLayout.encloseCenterMiddle( new Label("Inbox", "Title"), new Label("19", "InboxNumber") ) ); installSidemenu(resourceObjectInstance); getToolbar().addCommandToRightBar("", resourceObjectInstance.getImage("toolbar-profile-pic.png"), e -> {}); gui_Label_5.setShowEvenIfBlank(true); gui_Label_6.setShowEvenIfBlank(true); gui_Label_7.setShowEvenIfBlank(true); gui_Label_8.setShowEvenIfBlank(true); gui_Label_9.setShowEvenIfBlank(true); gui_Text_Area_1.setRows(2); gui_Text_Area_1.setColumns(100); gui_Text_Area_1.setEditable(false); gui_Text_Area_1_1.setRows(2); gui_Text_Area_1_1.setColumns(100); gui_Text_Area_1_1.setEditable(false); gui_Text_Area_1_2.setRows(2); gui_Text_Area_1_2.setColumns(100); gui_Text_Area_1_2.setEditable(false); gui_Text_Area_1_3.setRows(2); gui_Text_Area_1_3.setColumns(100); gui_Text_Area_1_3.setEditable(false); gui_Text_Area_1_4.setRows(2); gui_Text_Area_1_4.setColumns(100); gui_Text_Area_1_4.setEditable(false); FloatingActionButton fab = FloatingActionButton.createFAB(FontImage.MATERIAL_ADD); RoundBorder rb = (RoundBorder)fab.getUnselectedStyle().getBorder(); rb.uiid(true); fab.bindFabToContainer(getContentPane()); fab.addActionListener(e -> { fab.setUIID("FloatingActionButtonClose"); Image oldImage = fab.getIcon(); FontImage image = FontImage.createMaterial(FontImage.MATERIAL_CLOSE, "FloatingActionButton", 3.8f); fab.setIcon(image); Dialog popup = new Dialog(); popup.setDialogUIID("Container"); popup.setLayout(new LayeredLayout()); Button c1 = new Button(resourceObjectInstance.getImage("contact-a.png")); Button c2 = new Button(resourceObjectInstance.getImage("contact-b.png")); Button c3 = new Button(resourceObjectInstance.getImage("contact-c.png")); Button trans = new Button(" "); trans.setUIID("Container"); c1.setUIID("Container"); c2.setUIID("Container"); c3.setUIID("Container"); Style c1s = c1.getAllStyles(); Style c2s = c2.getAllStyles(); Style c3s = c3.getAllStyles(); c1s.setMarginUnit(Style.UNIT_TYPE_DIPS); c2s.setMarginUnit(Style.UNIT_TYPE_DIPS); c3s.setMarginUnit(Style.UNIT_TYPE_DIPS); c1s.setMarginBottom(16); c1s.setMarginLeft(12); c1s.setMarginRight(3); c2s.setMarginLeft(4); c2s.setMarginTop(5); c2s.setMarginBottom(10); c3s.setMarginRight(14); c3s.setMarginTop(12); c3s.setMarginRight(16); popup.add(trans). add(FlowLayout.encloseIn(c1)). add(FlowLayout.encloseIn(c2)). add(FlowLayout.encloseIn(c3)); ActionListener a = ee -> popup.dispose(); trans.addActionListener(a); c1.addActionListener(a); c2.addActionListener(a); c3.addActionListener(a); popup.setTransitionInAnimator(CommonTransitions.createEmpty()); popup.setTransitionOutAnimator(CommonTransitions.createEmpty()); popup.setDisposeWhenPointerOutOfBounds(true); int t = InboxForm.this.getTintColor(); InboxForm.this.setTintColor(0); popup.showPopupDialog(new Rectangle(InboxForm.this.getWidth() - 10, InboxForm.this.getHeight() - 10, 10, 10)); InboxForm.this.setTintColor(t); fab.setUIID("FloatingActionButton"); fab.setIcon(oldImage); }); } //-- DON'T EDIT BELOW THIS LINE!!! private com.codename1.ui.Container gui_Container_1 = new com.codename1.ui.Container(new com.codename1.ui.layouts.BorderLayout()); private com.codename1.ui.Container gui_Container_2 = new com.codename1.ui.Container(new com.codename1.ui.layouts.FlowLayout()); private com.codename1.ui.Label gui_Label_1 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_4 = new com.codename1.ui.Container(new com.codename1.ui.layouts.FlowLayout()); private com.codename1.ui.Label gui_Label_4 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_3 = new com.codename1.ui.Container(new com.codename1.ui.layouts.BoxLayout(com.codename1.ui.layouts.BoxLayout.Y_AXIS)); private com.codename1.ui.Label gui_Label_3 = new com.codename1.ui.Label(); private com.codename1.ui.Label gui_Label_2 = new com.codename1.ui.Label(); private com.codename1.ui.TextArea gui_Text_Area_1 = new com.codename1.ui.TextArea(); private com.codename1.ui.Label gui_Label_6 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_1_1 = new com.codename1.ui.Container(new com.codename1.ui.layouts.BorderLayout()); private com.codename1.ui.Container gui_Container_2_1 = new com.codename1.ui.Container(new com.codename1.ui.layouts.FlowLayout()); private com.codename1.ui.Label gui_Label_1_1 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_4_1 = new com.codename1.ui.Container(new com.codename1.ui.layouts.FlowLayout()); private com.codename1.ui.Label gui_Label_4_1 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_3_1 = new com.codename1.ui.Container(new com.codename1.ui.layouts.BoxLayout(com.codename1.ui.layouts.BoxLayout.Y_AXIS)); private com.codename1.ui.Label gui_Label_3_1 = new com.codename1.ui.Label(); private com.codename1.ui.Label gui_Label_2_1 = new com.codename1.ui.Label(); private com.codename1.ui.TextArea gui_Text_Area_1_1 = new com.codename1.ui.TextArea(); private com.codename1.ui.Label gui_Label_7 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_1_2 = new com.codename1.ui.Container(new com.codename1.ui.layouts.BorderLayout()); private com.codename1.ui.Container gui_Container_2_2 = new com.codename1.ui.Container(new com.codename1.ui.layouts.FlowLayout()); private com.codename1.ui.Label gui_Label_1_2 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_4_2 = new com.codename1.ui.Container(new com.codename1.ui.layouts.FlowLayout()); private com.codename1.ui.Label gui_Label_4_2 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_3_2 = new com.codename1.ui.Container(new com.codename1.ui.layouts.BoxLayout(com.codename1.ui.layouts.BoxLayout.Y_AXIS)); private com.codename1.ui.Label gui_Label_3_2 = new com.codename1.ui.Label(); private com.codename1.ui.Label gui_Label_2_2 = new com.codename1.ui.Label(); private com.codename1.ui.TextArea gui_Text_Area_1_2 = new com.codename1.ui.TextArea(); private com.codename1.ui.Label gui_Label_8 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_1_3 = new com.codename1.ui.Container(new com.codename1.ui.layouts.BorderLayout()); private com.codename1.ui.Container gui_Container_2_3 = new com.codename1.ui.Container(new com.codename1.ui.layouts.FlowLayout()); private com.codename1.ui.Label gui_Label_1_3 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_4_3 = new com.codename1.ui.Container(new com.codename1.ui.layouts.FlowLayout()); private com.codename1.ui.Label gui_Label_4_3 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_3_3 = new com.codename1.ui.Container(new com.codename1.ui.layouts.BoxLayout(com.codename1.ui.layouts.BoxLayout.Y_AXIS)); private com.codename1.ui.Label gui_Label_3_3 = new com.codename1.ui.Label(); private com.codename1.ui.Label gui_Label_2_3 = new com.codename1.ui.Label(); private com.codename1.ui.TextArea gui_Text_Area_1_3 = new com.codename1.ui.TextArea(); private com.codename1.ui.Label gui_Label_9 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_1_4 = new com.codename1.ui.Container(new com.codename1.ui.layouts.BorderLayout()); private com.codename1.ui.Container gui_Container_2_4 = new com.codename1.ui.Container(new com.codename1.ui.layouts.FlowLayout()); private com.codename1.ui.Label gui_Label_1_4 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_4_4 = new com.codename1.ui.Container(new com.codename1.ui.layouts.FlowLayout()); private com.codename1.ui.Label gui_Label_4_4 = new com.codename1.ui.Label(); private com.codename1.ui.Container gui_Container_3_4 = new com.codename1.ui.Container(new com.codename1.ui.layouts.BoxLayout(com.codename1.ui.layouts.BoxLayout.Y_AXIS)); private com.codename1.ui.Label gui_Label_3_4 = new com.codename1.ui.Label(); private com.codename1.ui.Label gui_Label_2_4 = new com.codename1.ui.Label(); private com.codename1.ui.TextArea gui_Text_Area_1_4 = new com.codename1.ui.TextArea(); private com.codename1.ui.Label gui_Label_5 = new com.codename1.ui.Label(); // <editor-fold defaultstate="collapsed" desc="Generated Code"> private void initGuiBuilderComponents(com.codename1.ui.util.Resources resourceObjectInstance) { setLayout(new com.codename1.ui.layouts.BoxLayout(com.codename1.ui.layouts.BoxLayout.Y_AXIS)); setTitle("InboxForm"); setName("InboxForm"); addComponent(gui_Container_1); gui_Container_1.setName("Container_1"); gui_Container_1.addComponent(com.codename1.ui.layouts.BorderLayout.EAST, gui_Container_2); gui_Container_2.setName("Container_2"); gui_Container_2.addComponent(gui_Label_1); gui_Label_1.setText("11:31 AM"); gui_Label_1.setUIID("SmallFontLabel"); gui_Label_1.setName("Label_1"); gui_Container_1.addComponent(com.codename1.ui.layouts.BorderLayout.WEST, gui_Container_4); gui_Container_4.setName("Container_4"); ((com.codename1.ui.layouts.FlowLayout)gui_Container_4.getLayout()).setAlign(com.codename1.ui.Component.CENTER); gui_Container_4.addComponent(gui_Label_4); gui_Label_4.setUIID("Padding2"); gui_Label_4.setName("Label_4"); gui_Label_4.setIcon(resourceObjectInstance.getImage("label_round.png")); gui_Container_1.addComponent(com.codename1.ui.layouts.BorderLayout.CENTER, gui_Container_3); gui_Container_3.setName("Container_3"); gui_Container_3.addComponent(gui_Label_3); gui_Container_3.addComponent(gui_Label_2); gui_Container_3.addComponent(gui_Text_Area_1); gui_Label_3.setText("Sheldon Murphy"); gui_Label_3.setName("Label_3"); gui_Label_2.setText("Design Updates"); gui_Label_2.setUIID("RedLabel"); gui_Label_2.setName("Label_2"); gui_Text_Area_1.setText("Hi Adrian, there is a new announcement for you from Oxford Learning Lab. Hello we completly..."); gui_Text_Area_1.setUIID("SmallFontLabel"); gui_Text_Area_1.setName("Text_Area_1"); gui_Text_Area_1.setColumns(100); gui_Text_Area_1.setRows(2); gui_Container_2.setName("Container_2"); gui_Container_4.setName("Container_4"); ((com.codename1.ui.layouts.FlowLayout)gui_Container_4.getLayout()).setAlign(com.codename1.ui.Component.CENTER); gui_Container_3.setName("Container_3"); addComponent(gui_Label_6); addComponent(gui_Container_1_1); gui_Container_1_1.setName("Container_1_1"); gui_Container_1_1.addComponent(com.codename1.ui.layouts.BorderLayout.EAST, gui_Container_2_1); gui_Container_2_1.setName("Container_2_1"); gui_Container_2_1.addComponent(gui_Label_1_1); gui_Label_1_1.setText("8:23 PM"); gui_Label_1_1.setUIID("SmallFontLabel"); gui_Label_1_1.setName("Label_1_1"); gui_Container_1_1.addComponent(com.codename1.ui.layouts.BorderLayout.WEST, gui_Container_4_1); gui_Container_4_1.setName("Container_4_1"); ((com.codename1.ui.layouts.FlowLayout)gui_Container_4_1.getLayout()).setAlign(com.codename1.ui.Component.CENTER); gui_Container_4_1.addComponent(gui_Label_4_1); gui_Label_4_1.setUIID("Padding2"); gui_Label_4_1.setName("Label_4_1"); gui_Label_4_1.setIcon(resourceObjectInstance.getImage("label_round-selected.png")); gui_Container_1_1.addComponent(com.codename1.ui.layouts.BorderLayout.CENTER, gui_Container_3_1); gui_Container_3_1.setName("Container_3_1"); gui_Container_3_1.addComponent(gui_Label_3_1); gui_Container_3_1.addComponent(gui_Label_2_1); gui_Container_3_1.addComponent(gui_Text_Area_1_1); gui_Label_3_1.setText("Massdrop"); gui_Label_3_1.setName("Label_3_1"); gui_Label_2_1.setText("We Are Just Getting Started"); gui_Label_2_1.setUIID("RedLabel"); gui_Label_2_1.setName("Label_2_1"); gui_Text_Area_1_1.setText("Tenkara Rod Co Teton Package Made possible by the Ultralight community..."); gui_Text_Area_1_1.setUIID("SmallFontLabel"); gui_Text_Area_1_1.setName("Text_Area_1_1"); gui_Text_Area_1_1.setColumns(100); gui_Text_Area_1_1.setRows(2); gui_Container_2_1.setName("Container_2_1"); gui_Container_4_1.setName("Container_4_1"); ((com.codename1.ui.layouts.FlowLayout)gui_Container_4_1.getLayout()).setAlign(com.codename1.ui.Component.CENTER); gui_Container_3_1.setName("Container_3_1"); addComponent(gui_Label_7); addComponent(gui_Container_1_2); gui_Container_1_2.setName("Container_1_2"); gui_Container_1_2.addComponent(com.codename1.ui.layouts.BorderLayout.EAST, gui_Container_2_2); gui_Container_2_2.setName("Container_2_2"); gui_Container_2_2.addComponent(gui_Label_1_2); gui_Label_1_2.setText("Yesterday"); gui_Label_1_2.setUIID("SmallFontLabel"); gui_Label_1_2.setName("Label_1_2"); gui_Container_1_2.addComponent(com.codename1.ui.layouts.BorderLayout.WEST, gui_Container_4_2); gui_Container_4_2.setName("Container_4_2"); ((com.codename1.ui.layouts.FlowLayout)gui_Container_4_2.getLayout()).setAlign(com.codename1.ui.Component.CENTER); gui_Container_4_2.addComponent(gui_Label_4_2); gui_Label_4_2.setUIID("Padding2"); gui_Label_4_2.setName("Label_4_2"); gui_Label_4_2.setIcon(resourceObjectInstance.getImage("label_round.png")); gui_Container_1_2.addComponent(com.codename1.ui.layouts.BorderLayout.CENTER, gui_Container_3_2); gui_Container_3_2.setName("Container_3_2"); gui_Container_3_2.addComponent(gui_Label_3_2); gui_Container_3_2.addComponent(gui_Label_2_2); gui_Container_3_2.addComponent(gui_Text_Area_1_2); gui_Label_3_2.setText("Product Hunt"); gui_Label_3_2.setName("Label_3_2"); gui_Label_2_2.setText("Our favorite GIF apps"); gui_Label_2_2.setUIID("RedLabel"); gui_Label_2_2.setName("Label_2_2"); gui_Text_Area_1_2.setText("We know that you spend a lot of time admiring the hard work of GIF-makers the world over. "); gui_Text_Area_1_2.setUIID("SmallFontLabel"); gui_Text_Area_1_2.setName("Text_Area_1_2"); gui_Text_Area_1_2.setColumns(100); gui_Text_Area_1_2.setRows(2); gui_Container_2_2.setName("Container_2_2"); gui_Container_4_2.setName("Container_4_2"); ((com.codename1.ui.layouts.FlowLayout)gui_Container_4_2.getLayout()).setAlign(com.codename1.ui.Component.CENTER); gui_Container_3_2.setName("Container_3_2"); addComponent(gui_Label_8); addComponent(gui_Container_1_3); gui_Container_1_3.setName("Container_1_3"); gui_Container_1_3.addComponent(com.codename1.ui.layouts.BorderLayout.EAST, gui_Container_2_3); gui_Container_2_3.setName("Container_2_3"); gui_Container_2_3.addComponent(gui_Label_1_3); gui_Label_1_3.setText("Mar 12"); gui_Label_1_3.setUIID("SmallFontLabel"); gui_Label_1_3.setName("Label_1_3"); gui_Container_1_3.addComponent(com.codename1.ui.layouts.BorderLayout.WEST, gui_Container_4_3); gui_Container_4_3.setName("Container_4_3"); ((com.codename1.ui.layouts.FlowLayout)gui_Container_4_3.getLayout()).setAlign(com.codename1.ui.Component.CENTER); gui_Container_4_3.addComponent(gui_Label_4_3); gui_Label_4_3.setUIID("Padding2"); gui_Label_4_3.setName("Label_4_3"); gui_Label_4_3.setIcon(resourceObjectInstance.getImage("label_round.png")); gui_Container_1_3.addComponent(com.codename1.ui.layouts.BorderLayout.CENTER, gui_Container_3_3); gui_Container_3_3.setName("Container_3_3"); gui_Container_3_3.addComponent(gui_Label_3_3); gui_Container_3_3.addComponent(gui_Label_2_3); gui_Container_3_3.addComponent(gui_Text_Area_1_3); gui_Label_3_3.setText("MightyDeals"); gui_Label_3_3.setName("Label_3_3"); gui_Label_2_3.setText("Vintage Design: 600+ Retro Vector Illustrations and Objects"); gui_Label_2_3.setUIID("RedLabel"); gui_Label_2_3.setName("Label_2_3"); gui_Text_Area_1_3.setText("With just a little imagery, an ordinary project can transform into something extraordinary! "); gui_Text_Area_1_3.setUIID("SmallFontLabel"); gui_Text_Area_1_3.setName("Text_Area_1_3"); gui_Text_Area_1_3.setColumns(100); gui_Text_Area_1_3.setRows(2); gui_Container_2_3.setName("Container_2_3"); gui_Container_4_3.setName("Container_4_3"); ((com.codename1.ui.layouts.FlowLayout)gui_Container_4_3.getLayout()).setAlign(com.codename1.ui.Component.CENTER); gui_Container_3_3.setName("Container_3_3"); addComponent(gui_Label_9); addComponent(gui_Container_1_4); gui_Container_1_4.setName("Container_1_4"); gui_Container_1_4.addComponent(com.codename1.ui.layouts.BorderLayout.EAST, gui_Container_2_4); gui_Container_2_4.setName("Container_2_4"); gui_Container_2_4.addComponent(gui_Label_1_4); gui_Label_1_4.setText("Mar 08"); gui_Label_1_4.setUIID("SmallFontLabel"); gui_Label_1_4.setName("Label_1_4"); gui_Container_1_4.addComponent(com.codename1.ui.layouts.BorderLayout.WEST, gui_Container_4_4); gui_Container_4_4.setName("Container_4_4"); ((com.codename1.ui.layouts.FlowLayout)gui_Container_4_4.getLayout()).setAlign(com.codename1.ui.Component.CENTER); gui_Container_4_4.addComponent(gui_Label_4_4); gui_Label_4_4.setUIID("Padding2"); gui_Label_4_4.setName("Label_4_4"); gui_Label_4_4.setIcon(resourceObjectInstance.getImage("label_round.png")); gui_Container_1_4.addComponent(com.codename1.ui.layouts.BorderLayout.CENTER, gui_Container_3_4); gui_Container_3_4.setName("Container_3_4"); gui_Container_3_4.addComponent(gui_Label_3_4); gui_Container_3_4.addComponent(gui_Label_2_4); gui_Container_3_4.addComponent(gui_Text_Area_1_4); gui_Label_3_4.setText("Twitter"); gui_Label_3_4.setName("Label_3_4"); gui_Label_2_4.setText("Popular tweets this week"); gui_Label_2_4.setUIID("RedLabel"); gui_Label_2_4.setName("Label_2_4"); gui_Text_Area_1_4.setText("Hi Adrian, there is a new announcement for you from Oxford Learning Lab. Hello we completly..."); gui_Text_Area_1_4.setUIID("SmallFontLabel"); gui_Text_Area_1_4.setName("Text_Area_1_4"); gui_Text_Area_1_4.setColumns(100); gui_Text_Area_1_4.setRows(2); gui_Container_2_4.setName("Container_2_4"); gui_Container_4_4.setName("Container_4_4"); ((com.codename1.ui.layouts.FlowLayout)gui_Container_4_4.getLayout()).setAlign(com.codename1.ui.Component.CENTER); gui_Container_3_4.setName("Container_3_4"); addComponent(gui_Label_5); gui_Container_1.setName("Container_1"); gui_Label_6.setText(""); gui_Label_6.setUIID("Separator"); gui_Label_6.setName("Label_6"); gui_Container_1_1.setName("Container_1_1"); gui_Label_7.setText(""); gui_Label_7.setUIID("Separator"); gui_Label_7.setName("Label_7"); gui_Container_1_2.setName("Container_1_2"); gui_Label_8.setText(""); gui_Label_8.setUIID("Separator"); gui_Label_8.setName("Label_8"); gui_Container_1_3.setName("Container_1_3"); gui_Label_9.setText(""); gui_Label_9.setUIID("Separator"); gui_Label_9.setName("Label_9"); gui_Container_1_4.setName("Container_1_4"); gui_Label_5.setText(""); gui_Label_5.setUIID("Separator"); gui_Label_5.setName("Label_5"); }// </editor-fold> //-- DON'T EDIT ABOVE THIS LINE!!! }
76e1943f8a3a4739656d8fb7f2494d6096c63930
c1e415103a360c1e73e2566fdd8a56543b851e23
/T0116081/app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r/com/example/t0116081/R.java
eb5d6795bc131dde1a713d4dad8e6ffe32d41d34
[]
no_license
jonatanlaksamanapurnomo/PerjalananP3B
2d17fb48ca3082ae9ae52df15236886c8899ba54
93a1639805a5a8956bc16445438abb194ed82ae8
refs/heads/master
2020-07-08T16:38:30.250278
2019-10-21T07:58:47
2019-10-21T07:58:47
203,724,274
0
0
null
null
null
null
UTF-8
Java
false
false
679,122
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.t0116081; 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 _1=0x7f070006; public static final int _2=0x7f070007; public static final int _3=0x7f070008; public static final int _4=0x7f070009; public static final int actionButton=0x7f07000a; public static final int action_bar=0x7f07000b; public static final int action_bar_activity_content=0x7f07000c; public static final int action_bar_container=0x7f07000d; public static final int action_bar_root=0x7f07000e; public static final int action_bar_spinner=0x7f07000f; public static final int action_bar_subtitle=0x7f070010; public static final int action_bar_title=0x7f070011; public static final int action_container=0x7f070012; public static final int action_context_bar=0x7f070013; public static final int action_divider=0x7f070014; public static final int action_image=0x7f070015; public static final int action_menu_divider=0x7f070016; public static final int action_menu_presenter=0x7f070017; public static final int action_mode_bar=0x7f070018; public static final int action_mode_bar_stub=0x7f070019; public static final int action_mode_close_button=0x7f07001a; public static final int action_text=0x7f07001b; public static final int actions=0x7f07001c; public static final int activity_chooser_view_content=0x7f07001d; public static final int add=0x7f07001e; public static final int alertTitle=0x7f07001f; public static final int all=0x7f070020; public static final int always=0x7f070021; public static final int async=0x7f070022; public static final int barrier=0x7f070023; public static final int beginning=0x7f070024; public static final int blocking=0x7f070025; public static final int bottom=0x7f070026; public static final int buttonPanel=0x7f070027; public static final int center=0x7f070028; public static final int center_horizontal=0x7f070029; public static final int center_tv=0x7f07002a; public static final int center_vertical=0x7f07002b; public static final int chains=0x7f07002c; public static final int checkbox=0x7f07002d; public static final int chronometer=0x7f07002e; public static final int clip_horizontal=0x7f07002f; public static final int clip_vertical=0x7f070030; public static final int collapseActionView=0x7f070031; public static final int content=0x7f070032; public static final int contentPanel=0x7f070033; public static final int custom=0x7f070034; public static final int customPanel=0x7f070035; public static final int decor_content_parent=0x7f070036; public static final int default_activity_button=0x7f070037; public static final int dimensions=0x7f070038; public static final int direct=0x7f070039; public static final int disableHome=0x7f07003a; public static final int edit_query=0x7f07003b; public static final int end=0x7f07003c; public static final int expand_activities_button=0x7f07003d; public static final int expanded_menu=0x7f07003e; public static final int fill=0x7f07003f; public static final int fill_horizontal=0x7f070040; public static final int fill_vertical=0x7f070041; public static final int forever=0x7f070042; public static final int gone=0x7f070043; public static final int group_divider=0x7f070044; public static final int groups=0x7f070045; public static final int home=0x7f070046; public static final int homeAsUp=0x7f070047; public static final int icon=0x7f070048; public static final int icon_group=0x7f070049; public static final int ifRoom=0x7f07004a; public static final int image=0x7f07004b; public static final int info=0x7f07004c; public static final int invisible=0x7f07004d; public static final int italic=0x7f07004e; public static final int left=0x7f07004f; public static final int line1=0x7f070050; public static final int line3=0x7f070051; public static final int listMode=0x7f070052; public static final int list_item=0x7f070053; public static final int message=0x7f070054; public static final int middle=0x7f070055; public static final int multiply=0x7f070056; public static final int never=0x7f070057; public static final int none=0x7f070058; public static final int normal=0x7f070059; public static final int notification_background=0x7f07005a; public static final int notification_main_column=0x7f07005b; public static final int notification_main_column_container=0x7f07005c; public static final int packed=0x7f07005d; public static final int parent=0x7f07005e; public static final int parentPanel=0x7f07005f; public static final int percent=0x7f070060; public static final int progress_circular=0x7f070061; public static final int progress_horizontal=0x7f070062; public static final int radio=0x7f070063; public static final int resetButton=0x7f070064; public static final int right=0x7f070065; public static final int right_icon=0x7f070066; public static final int right_side=0x7f070067; public static final int screen=0x7f070068; public static final int scrollIndicatorDown=0x7f070069; public static final int scrollIndicatorUp=0x7f07006a; public static final int scrollView=0x7f07006b; public static final int search_badge=0x7f07006c; public static final int search_bar=0x7f07006d; public static final int search_button=0x7f07006e; public static final int search_close_btn=0x7f07006f; public static final int search_edit_frame=0x7f070070; public static final int search_go_btn=0x7f070071; public static final int search_mag_icon=0x7f070072; public static final int search_plate=0x7f070073; public static final int search_src_text=0x7f070074; public static final int search_voice_btn=0x7f070075; public static final int select_dialog_listview=0x7f070076; public static final int shortcut=0x7f070077; public static final int showCustom=0x7f070078; public static final int showHome=0x7f070079; public static final int showTitle=0x7f07007a; public static final int spacer=0x7f07007b; public static final int split_action_bar=0x7f07007c; public static final int spread=0x7f07007d; public static final int spread_inside=0x7f07007e; public static final int src_atop=0x7f07007f; public static final int src_in=0x7f070080; public static final int src_over=0x7f070081; public static final int standard=0x7f070082; public static final int start=0x7f070083; public static final int submenuarrow=0x7f070084; public static final int submit_area=0x7f070085; public static final int tabMode=0x7f070086; public static final int tag_transition_group=0x7f070087; public static final int tag_unhandled_key_event_manager=0x7f070088; public static final int tag_unhandled_key_listeners=0x7f070089; public static final int text=0x7f07008a; public static final int text2=0x7f07008b; public static final int textSpacerNoButtons=0x7f07008c; public static final int textSpacerNoTitle=0x7f07008d; public static final int time=0x7f07008e; public static final int title=0x7f07008f; public static final int titleDividerNoCustom=0x7f070090; public static final int title_template=0x7f070091; public static final int top=0x7f070092; public static final int topPanel=0x7f070093; public static final int uniform=0x7f070094; public static final int up=0x7f070095; public static final int useLogo=0x7f070096; public static final int withText=0x7f070097; public static final int wrap=0x7f070098; public static final int wrap_content=0x7f070099; } 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.t0116081:background}</code></td><td>Specifies a background drawable for the action bar.</td></tr> * <tr><td><code>{@link #ActionBar_backgroundSplit com.example.t0116081: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.t0116081: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.t0116081:contentInsetEnd}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetEndWithActions com.example.t0116081: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.t0116081:contentInsetLeft}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetRight com.example.t0116081:contentInsetRight}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetStart com.example.t0116081:contentInsetStart}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetStartWithNavigation com.example.t0116081: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.t0116081:customNavigationLayout}</code></td><td>Specifies a layout for custom navigation.</td></tr> * <tr><td><code>{@link #ActionBar_displayOptions com.example.t0116081:displayOptions}</code></td><td>Options affecting how the action bar is displayed.</td></tr> * <tr><td><code>{@link #ActionBar_divider com.example.t0116081:divider}</code></td><td>Specifies the drawable used for item dividers.</td></tr> * <tr><td><code>{@link #ActionBar_elevation com.example.t0116081:elevation}</code></td><td>Elevation for the action bar itself</td></tr> * <tr><td><code>{@link #ActionBar_height com.example.t0116081:height}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_hideOnContentScroll com.example.t0116081: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.t0116081: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.t0116081: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.t0116081:icon}</code></td><td>Specifies the drawable used for the application icon.</td></tr> * <tr><td><code>{@link #ActionBar_indeterminateProgressStyle com.example.t0116081: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.t0116081: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.t0116081:logo}</code></td><td>Specifies the drawable used for the application logo.</td></tr> * <tr><td><code>{@link #ActionBar_navigationMode com.example.t0116081:navigationMode}</code></td><td>The type of navigation to use.</td></tr> * <tr><td><code>{@link #ActionBar_popupTheme com.example.t0116081: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.t0116081: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.t0116081: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.t0116081:subtitle}</code></td><td>Specifies subtitle text used for navigationMode="normal"</td></tr> * <tr><td><code>{@link #ActionBar_subtitleTextStyle com.example.t0116081:subtitleTextStyle}</code></td><td>Specifies a style to use for subtitle text.</td></tr> * <tr><td><code>{@link #ActionBar_title com.example.t0116081:title}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_titleTextStyle com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:background}</code></td><td>Specifies a background drawable for the action bar.</td></tr> * <tr><td><code>{@link #ActionMode_backgroundSplit com.example.t0116081: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.t0116081: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.t0116081:height}</code></td><td></td></tr> * <tr><td><code>{@link #ActionMode_subtitleTextStyle com.example.t0116081:subtitleTextStyle}</code></td><td>Specifies a style to use for subtitle text.</td></tr> * <tr><td><code>{@link #ActionMode_titleTextStyle com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:buttonIconDimen}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_buttonPanelSideLayout com.example.t0116081:buttonPanelSideLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_listItemLayout com.example.t0116081:listItemLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_listLayout com.example.t0116081:listLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_multiChoiceItemLayout com.example.t0116081:multiChoiceItemLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_showTitle com.example.t0116081:showTitle}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_singleChoiceItemLayout com.example.t0116081: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.t0116081.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.t0116081:buttonIconDimen */ public static final int AlertDialog_buttonIconDimen=1; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:buttonPanelSideLayout */ public static final int AlertDialog_buttonPanelSideLayout=2; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:listItemLayout */ public static final int AlertDialog_listItemLayout=3; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:listLayout */ public static final int AlertDialog_listLayout=4; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:multiChoiceItemLayout */ public static final int AlertDialog_multiChoiceItemLayout=5; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:showTitle */ public static final int AlertDialog_showTitle=6; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081:srcCompat}</code></td><td>Sets a drawable as the content of this ImageView.</td></tr> * <tr><td><code>{@link #AppCompatImageView_tint com.example.t0116081:tint}</code></td><td>Tint to apply to the image source.</td></tr> * <tr><td><code>{@link #AppCompatImageView_tintMode com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:tickMark}</code></td><td>Drawable displayed at each progress position on a seekbar.</td></tr> * <tr><td><code>{@link #AppCompatSeekBar_tickMarkTint com.example.t0116081:tickMarkTint}</code></td><td>Tint to apply to the tick mark drawable.</td></tr> * <tr><td><code>{@link #AppCompatSeekBar_tickMarkTintMode com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:autoSizeTextType}</code></td><td>Specify the type of auto-size.</td></tr> * <tr><td><code>{@link #AppCompatTextView_firstBaselineToTopHeight com.example.t0116081: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.t0116081:fontFamily}</code></td><td>The attribute for the font family.</td></tr> * <tr><td><code>{@link #AppCompatTextView_lastBaselineToBottomHeight com.example.t0116081: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.t0116081:lineHeight}</code></td><td>Explicit height between lines of text.</td></tr> * <tr><td><code>{@link #AppCompatTextView_textAllCaps com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:actionBarItemBackground}</code></td><td>Custom item state list drawable background for action bar items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarPopupTheme com.example.t0116081: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.t0116081: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.t0116081:actionBarSplitStyle}</code></td><td>Reference to a style for the split Action Bar.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarStyle com.example.t0116081:actionBarStyle}</code></td><td>Reference to a style for the Action Bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTabBarStyle com.example.t0116081:actionBarTabBarStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTabStyle com.example.t0116081:actionBarTabStyle}</code></td><td>Default style for tabs within an action bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTabTextStyle com.example.t0116081:actionBarTabTextStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTheme com.example.t0116081: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.t0116081: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.t0116081:actionButtonStyle}</code></td><td>Default action button style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionDropDownStyle com.example.t0116081:actionDropDownStyle}</code></td><td>Default ActionBar dropdown style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionMenuTextAppearance com.example.t0116081: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.t0116081:actionMenuTextColor}</code></td><td>Color for text that appears within action menu items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeBackground com.example.t0116081:actionModeBackground}</code></td><td>Background drawable to use for action mode UI</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCloseButtonStyle com.example.t0116081:actionModeCloseButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCloseDrawable com.example.t0116081:actionModeCloseDrawable}</code></td><td>Drawable to use for the close action mode button</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCopyDrawable com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:actionModeStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeWebSearchDrawable com.example.t0116081: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.t0116081:actionOverflowButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionOverflowMenuStyle com.example.t0116081:actionOverflowMenuStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_activityChooserViewStyle com.example.t0116081:activityChooserViewStyle}</code></td><td>Default ActivityChooserView style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogButtonGroupStyle com.example.t0116081:alertDialogButtonGroupStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogCenterButtons com.example.t0116081:alertDialogCenterButtons}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogStyle com.example.t0116081:alertDialogStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogTheme com.example.t0116081:alertDialogTheme}</code></td><td>Theme to use for alert dialogs spawned from this theme.</td></tr> * <tr><td><code>{@link #AppCompatTheme_autoCompleteTextViewStyle com.example.t0116081:autoCompleteTextViewStyle}</code></td><td>Default AutoCompleteTextView style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_borderlessButtonStyle com.example.t0116081: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.t0116081:buttonBarButtonStyle}</code></td><td>Style for buttons within button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarNegativeButtonStyle com.example.t0116081:buttonBarNegativeButtonStyle}</code></td><td>Style for the "negative" buttons within button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarNeutralButtonStyle com.example.t0116081:buttonBarNeutralButtonStyle}</code></td><td>Style for the "neutral" buttons within button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarPositiveButtonStyle com.example.t0116081:buttonBarPositiveButtonStyle}</code></td><td>Style for the "positive" buttons within button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarStyle com.example.t0116081:buttonBarStyle}</code></td><td>Style for button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonStyle com.example.t0116081:buttonStyle}</code></td><td>Normal Button style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonStyleSmall com.example.t0116081:buttonStyleSmall}</code></td><td>Small Button style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_checkboxStyle com.example.t0116081:checkboxStyle}</code></td><td>Default Checkbox style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_checkedTextViewStyle com.example.t0116081:checkedTextViewStyle}</code></td><td>Default CheckedTextView style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorAccent com.example.t0116081:colorAccent}</code></td><td>Bright complement to the primary branding color.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorBackgroundFloating com.example.t0116081:colorBackgroundFloating}</code></td><td>Default color of background imagery for floating components, ex.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorButtonNormal com.example.t0116081:colorButtonNormal}</code></td><td>The color applied to framework buttons in their normal state.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorControlActivated com.example.t0116081:colorControlActivated}</code></td><td>The color applied to framework controls in their activated (ex.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorControlHighlight com.example.t0116081:colorControlHighlight}</code></td><td>The color applied to framework control highlights (ex.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorControlNormal com.example.t0116081:colorControlNormal}</code></td><td>The color applied to framework controls in their normal state.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorError com.example.t0116081: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.t0116081:colorPrimary}</code></td><td>The primary branding color for the app.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorPrimaryDark com.example.t0116081:colorPrimaryDark}</code></td><td>Dark variant of the primary branding color.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorSwitchThumbNormal com.example.t0116081: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.t0116081:controlBackground}</code></td><td>The background used by framework controls.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dialogCornerRadius com.example.t0116081:dialogCornerRadius}</code></td><td>Preferred corner radius of dialogs.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dialogPreferredPadding com.example.t0116081:dialogPreferredPadding}</code></td><td>Preferred padding for dialog content.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dialogTheme com.example.t0116081:dialogTheme}</code></td><td>Theme to use for dialogs spawned from this theme.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dividerHorizontal com.example.t0116081: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.t0116081: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.t0116081:dropDownListViewStyle}</code></td><td>ListPopupWindow compatibility</td></tr> * <tr><td><code>{@link #AppCompatTheme_dropdownListPreferredItemHeight com.example.t0116081:dropdownListPreferredItemHeight}</code></td><td>The preferred item height for dropdown lists.</td></tr> * <tr><td><code>{@link #AppCompatTheme_editTextBackground com.example.t0116081:editTextBackground}</code></td><td>EditText background drawable.</td></tr> * <tr><td><code>{@link #AppCompatTheme_editTextColor com.example.t0116081:editTextColor}</code></td><td>EditText text foreground color.</td></tr> * <tr><td><code>{@link #AppCompatTheme_editTextStyle com.example.t0116081:editTextStyle}</code></td><td>Default EditText style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_homeAsUpIndicator com.example.t0116081: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.t0116081:imageButtonStyle}</code></td><td>ImageButton background drawable.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listChoiceBackgroundIndicator com.example.t0116081:listChoiceBackgroundIndicator}</code></td><td>Drawable used as a background for selected list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listDividerAlertDialog com.example.t0116081:listDividerAlertDialog}</code></td><td>The list divider used in alert dialogs.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listMenuViewStyle com.example.t0116081:listMenuViewStyle}</code></td><td>Default menu-style ListView style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPopupWindowStyle com.example.t0116081:listPopupWindowStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemHeight com.example.t0116081:listPreferredItemHeight}</code></td><td>The preferred list item height.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightLarge com.example.t0116081:listPreferredItemHeightLarge}</code></td><td>A larger, more robust list item height.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightSmall com.example.t0116081:listPreferredItemHeightSmall}</code></td><td>A smaller, sleeker list item height.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingLeft com.example.t0116081:listPreferredItemPaddingLeft}</code></td><td>The preferred padding along the left edge of list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingRight com.example.t0116081:listPreferredItemPaddingRight}</code></td><td>The preferred padding along the right edge of list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_panelBackground com.example.t0116081: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.t0116081:panelMenuListTheme}</code></td><td>Default Panel Menu style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_panelMenuListWidth com.example.t0116081:panelMenuListWidth}</code></td><td>Default Panel Menu width.</td></tr> * <tr><td><code>{@link #AppCompatTheme_popupMenuStyle com.example.t0116081:popupMenuStyle}</code></td><td>Default PopupMenu style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_popupWindowStyle com.example.t0116081:popupWindowStyle}</code></td><td>Default PopupWindow style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_radioButtonStyle com.example.t0116081:radioButtonStyle}</code></td><td>Default RadioButton style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_ratingBarStyle com.example.t0116081:ratingBarStyle}</code></td><td>Default RatingBar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_ratingBarStyleIndicator com.example.t0116081:ratingBarStyleIndicator}</code></td><td>Indicator RatingBar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_ratingBarStyleSmall com.example.t0116081:ratingBarStyleSmall}</code></td><td>Small indicator RatingBar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_searchViewStyle com.example.t0116081:searchViewStyle}</code></td><td>Style for the search query widget.</td></tr> * <tr><td><code>{@link #AppCompatTheme_seekBarStyle com.example.t0116081:seekBarStyle}</code></td><td>Default SeekBar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_selectableItemBackground com.example.t0116081: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.t0116081: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.t0116081:spinnerDropDownItemStyle}</code></td><td>Default Spinner style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_spinnerStyle com.example.t0116081:spinnerStyle}</code></td><td>Default Spinner style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_switchStyle com.example.t0116081:switchStyle}</code></td><td>Default style for the Switch widget.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceLargePopupMenu com.example.t0116081: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.t0116081:textAppearanceListItem}</code></td><td>The preferred TextAppearance for the primary text of list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceListItemSecondary com.example.t0116081:textAppearanceListItemSecondary}</code></td><td>The preferred TextAppearance for the secondary text of list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceListItemSmall com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:textColorAlertDialogListItem}</code></td><td>Color of list item text in alert dialogs.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textColorSearchUrl com.example.t0116081: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.t0116081:toolbarNavigationButtonStyle}</code></td><td>Default Toolar NavigationButtonStyle</td></tr> * <tr><td><code>{@link #AppCompatTheme_toolbarStyle com.example.t0116081:toolbarStyle}</code></td><td>Default Toolbar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_tooltipForegroundColor com.example.t0116081:tooltipForegroundColor}</code></td><td>Foreground color to use for tooltips</td></tr> * <tr><td><code>{@link #AppCompatTheme_tooltipFrameBackground com.example.t0116081:tooltipFrameBackground}</code></td><td>Background to use for tooltips</td></tr> * <tr><td><code>{@link #AppCompatTheme_viewInflaterClass com.example.t0116081:viewInflaterClass}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowActionBar com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:actionBarStyle */ public static final int AppCompatTheme_actionBarStyle=7; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081:actionBarTabStyle */ public static final int AppCompatTheme_actionBarTabStyle=9; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:actionModeBackground */ public static final int AppCompatTheme_actionModeBackground=17; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:actionModeSplitBackground */ public static final int AppCompatTheme_actionModeSplitBackground=27; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081:actionModeWebSearchDrawable */ public static final int AppCompatTheme_actionModeWebSearchDrawable=29; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:actionOverflowButtonStyle */ public static final int AppCompatTheme_actionOverflowButtonStyle=30; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081:activityChooserViewStyle */ public static final int AppCompatTheme_activityChooserViewStyle=32; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:alertDialogButtonGroupStyle */ public static final int AppCompatTheme_alertDialogButtonGroupStyle=33; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:alertDialogCenterButtons */ public static final int AppCompatTheme_alertDialogCenterButtons=34; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:listMenuViewStyle */ public static final int AppCompatTheme_listMenuViewStyle=73; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:tooltipFrameBackground */ public static final int AppCompatTheme_tooltipFrameBackground=109; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:buttonTint}</code></td><td>Tint to apply to the button drawable.</td></tr> * <tr><td><code>{@link #CompoundButton_buttonTintMode com.example.t0116081: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.t0116081: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.t0116081: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.t0116081:barrierAllowsGoneWidgets}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_barrierDirection com.example.t0116081:barrierDirection}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_chainUseRtl com.example.t0116081:chainUseRtl}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_constraintSet com.example.t0116081:constraintSet}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_constraint_referenced_ids com.example.t0116081:constraint_referenced_ids}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constrainedHeight com.example.t0116081:layout_constrainedHeight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constrainedWidth com.example.t0116081:layout_constrainedWidth}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintBaseline_creator com.example.t0116081:layout_constraintBaseline_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintBaseline_toBaselineOf com.example.t0116081:layout_constraintBaseline_toBaselineOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintBottom_creator com.example.t0116081:layout_constraintBottom_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintBottom_toBottomOf com.example.t0116081:layout_constraintBottom_toBottomOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintBottom_toTopOf com.example.t0116081:layout_constraintBottom_toTopOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintCircle com.example.t0116081:layout_constraintCircle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintCircleAngle com.example.t0116081:layout_constraintCircleAngle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintCircleRadius com.example.t0116081:layout_constraintCircleRadius}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintDimensionRatio com.example.t0116081:layout_constraintDimensionRatio}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintEnd_toEndOf com.example.t0116081:layout_constraintEnd_toEndOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintEnd_toStartOf com.example.t0116081:layout_constraintEnd_toStartOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintGuide_begin com.example.t0116081:layout_constraintGuide_begin}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintGuide_end com.example.t0116081:layout_constraintGuide_end}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintGuide_percent com.example.t0116081:layout_constraintGuide_percent}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHeight_default com.example.t0116081:layout_constraintHeight_default}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHeight_max com.example.t0116081:layout_constraintHeight_max}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHeight_min com.example.t0116081:layout_constraintHeight_min}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHeight_percent com.example.t0116081:layout_constraintHeight_percent}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHorizontal_bias com.example.t0116081:layout_constraintHorizontal_bias}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHorizontal_chainStyle com.example.t0116081:layout_constraintHorizontal_chainStyle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintHorizontal_weight com.example.t0116081:layout_constraintHorizontal_weight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintLeft_creator com.example.t0116081:layout_constraintLeft_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintLeft_toLeftOf com.example.t0116081:layout_constraintLeft_toLeftOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintLeft_toRightOf com.example.t0116081:layout_constraintLeft_toRightOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintRight_creator com.example.t0116081:layout_constraintRight_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintRight_toLeftOf com.example.t0116081:layout_constraintRight_toLeftOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintRight_toRightOf com.example.t0116081:layout_constraintRight_toRightOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintStart_toEndOf com.example.t0116081:layout_constraintStart_toEndOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintStart_toStartOf com.example.t0116081:layout_constraintStart_toStartOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintTop_creator com.example.t0116081:layout_constraintTop_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintTop_toBottomOf com.example.t0116081:layout_constraintTop_toBottomOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintTop_toTopOf com.example.t0116081:layout_constraintTop_toTopOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintVertical_bias com.example.t0116081:layout_constraintVertical_bias}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintVertical_chainStyle com.example.t0116081:layout_constraintVertical_chainStyle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintVertical_weight com.example.t0116081:layout_constraintVertical_weight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintWidth_default com.example.t0116081:layout_constraintWidth_default}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintWidth_max com.example.t0116081:layout_constraintWidth_max}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintWidth_min com.example.t0116081:layout_constraintWidth_min}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_constraintWidth_percent com.example.t0116081:layout_constraintWidth_percent}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_editor_absoluteX com.example.t0116081:layout_editor_absoluteX}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_editor_absoluteY com.example.t0116081:layout_editor_absoluteY}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_goneMarginBottom com.example.t0116081:layout_goneMarginBottom}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_goneMarginEnd com.example.t0116081:layout_goneMarginEnd}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_goneMarginLeft com.example.t0116081:layout_goneMarginLeft}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_goneMarginRight com.example.t0116081:layout_goneMarginRight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_goneMarginStart com.example.t0116081:layout_goneMarginStart}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_goneMarginTop com.example.t0116081:layout_goneMarginTop}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_Layout_layout_optimizationLevel com.example.t0116081: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.t0116081.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.t0116081:barrierAllowsGoneWidgets */ public static final int ConstraintLayout_Layout_barrierAllowsGoneWidgets=5; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:barrierDirection */ public static final int ConstraintLayout_Layout_barrierDirection=6; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:chainUseRtl */ public static final int ConstraintLayout_Layout_chainUseRtl=7; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:constraintSet */ public static final int ConstraintLayout_Layout_constraintSet=8; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:constraint_referenced_ids */ public static final int ConstraintLayout_Layout_constraint_referenced_ids=9; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constrainedHeight */ public static final int ConstraintLayout_Layout_layout_constrainedHeight=10; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constrainedWidth */ public static final int ConstraintLayout_Layout_layout_constrainedWidth=11; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintBaseline_creator */ public static final int ConstraintLayout_Layout_layout_constraintBaseline_creator=12; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintBaseline_toBaselineOf */ public static final int ConstraintLayout_Layout_layout_constraintBaseline_toBaselineOf=13; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintBottom_creator */ public static final int ConstraintLayout_Layout_layout_constraintBottom_creator=14; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintBottom_toBottomOf */ public static final int ConstraintLayout_Layout_layout_constraintBottom_toBottomOf=15; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintBottom_toTopOf */ public static final int ConstraintLayout_Layout_layout_constraintBottom_toTopOf=16; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintCircle */ public static final int ConstraintLayout_Layout_layout_constraintCircle=17; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintCircleAngle */ public static final int ConstraintLayout_Layout_layout_constraintCircleAngle=18; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintCircleRadius */ public static final int ConstraintLayout_Layout_layout_constraintCircleRadius=19; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintDimensionRatio */ public static final int ConstraintLayout_Layout_layout_constraintDimensionRatio=20; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintEnd_toEndOf */ public static final int ConstraintLayout_Layout_layout_constraintEnd_toEndOf=21; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintEnd_toStartOf */ public static final int ConstraintLayout_Layout_layout_constraintEnd_toStartOf=22; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintGuide_begin */ public static final int ConstraintLayout_Layout_layout_constraintGuide_begin=23; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintGuide_end */ public static final int ConstraintLayout_Layout_layout_constraintGuide_end=24; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintGuide_percent */ public static final int ConstraintLayout_Layout_layout_constraintGuide_percent=25; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHeight_default */ public static final int ConstraintLayout_Layout_layout_constraintHeight_default=26; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHeight_max */ public static final int ConstraintLayout_Layout_layout_constraintHeight_max=27; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHeight_min */ public static final int ConstraintLayout_Layout_layout_constraintHeight_min=28; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHeight_percent */ public static final int ConstraintLayout_Layout_layout_constraintHeight_percent=29; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHorizontal_bias */ public static final int ConstraintLayout_Layout_layout_constraintHorizontal_bias=30; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHorizontal_chainStyle */ public static final int ConstraintLayout_Layout_layout_constraintHorizontal_chainStyle=31; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHorizontal_weight */ public static final int ConstraintLayout_Layout_layout_constraintHorizontal_weight=32; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintLeft_creator */ public static final int ConstraintLayout_Layout_layout_constraintLeft_creator=33; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintLeft_toLeftOf */ public static final int ConstraintLayout_Layout_layout_constraintLeft_toLeftOf=34; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintLeft_toRightOf */ public static final int ConstraintLayout_Layout_layout_constraintLeft_toRightOf=35; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintRight_creator */ public static final int ConstraintLayout_Layout_layout_constraintRight_creator=36; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintRight_toLeftOf */ public static final int ConstraintLayout_Layout_layout_constraintRight_toLeftOf=37; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintRight_toRightOf */ public static final int ConstraintLayout_Layout_layout_constraintRight_toRightOf=38; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintStart_toEndOf */ public static final int ConstraintLayout_Layout_layout_constraintStart_toEndOf=39; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintStart_toStartOf */ public static final int ConstraintLayout_Layout_layout_constraintStart_toStartOf=40; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintTop_creator */ public static final int ConstraintLayout_Layout_layout_constraintTop_creator=41; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintTop_toBottomOf */ public static final int ConstraintLayout_Layout_layout_constraintTop_toBottomOf=42; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintTop_toTopOf */ public static final int ConstraintLayout_Layout_layout_constraintTop_toTopOf=43; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintVertical_bias */ public static final int ConstraintLayout_Layout_layout_constraintVertical_bias=44; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintVertical_chainStyle */ public static final int ConstraintLayout_Layout_layout_constraintVertical_chainStyle=45; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintVertical_weight */ public static final int ConstraintLayout_Layout_layout_constraintVertical_weight=46; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintWidth_default */ public static final int ConstraintLayout_Layout_layout_constraintWidth_default=47; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintWidth_max */ public static final int ConstraintLayout_Layout_layout_constraintWidth_max=48; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintWidth_min */ public static final int ConstraintLayout_Layout_layout_constraintWidth_min=49; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintWidth_percent */ public static final int ConstraintLayout_Layout_layout_constraintWidth_percent=50; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_editor_absoluteX */ public static final int ConstraintLayout_Layout_layout_editor_absoluteX=51; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_editor_absoluteY */ public static final int ConstraintLayout_Layout_layout_editor_absoluteY=52; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_goneMarginBottom */ public static final int ConstraintLayout_Layout_layout_goneMarginBottom=53; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_goneMarginEnd */ public static final int ConstraintLayout_Layout_layout_goneMarginEnd=54; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_goneMarginLeft */ public static final int ConstraintLayout_Layout_layout_goneMarginLeft=55; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_goneMarginRight */ public static final int ConstraintLayout_Layout_layout_goneMarginRight=56; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_goneMarginStart */ public static final int ConstraintLayout_Layout_layout_goneMarginStart=57; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_goneMarginTop */ public static final int ConstraintLayout_Layout_layout_goneMarginTop=58; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081:content}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintLayout_placeholder_emptyVisibility com.example.t0116081: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.t0116081.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.t0116081:content */ public static final int ConstraintLayout_placeholder_content=0; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081:barrierAllowsGoneWidgets}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_barrierDirection com.example.t0116081:barrierDirection}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_chainUseRtl com.example.t0116081:chainUseRtl}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_constraint_referenced_ids com.example.t0116081:constraint_referenced_ids}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constrainedHeight com.example.t0116081:layout_constrainedHeight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constrainedWidth com.example.t0116081:layout_constrainedWidth}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintBaseline_creator com.example.t0116081:layout_constraintBaseline_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintBaseline_toBaselineOf com.example.t0116081:layout_constraintBaseline_toBaselineOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintBottom_creator com.example.t0116081:layout_constraintBottom_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintBottom_toBottomOf com.example.t0116081:layout_constraintBottom_toBottomOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintBottom_toTopOf com.example.t0116081:layout_constraintBottom_toTopOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintCircle com.example.t0116081:layout_constraintCircle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintCircleAngle com.example.t0116081:layout_constraintCircleAngle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintCircleRadius com.example.t0116081:layout_constraintCircleRadius}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintDimensionRatio com.example.t0116081:layout_constraintDimensionRatio}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintEnd_toEndOf com.example.t0116081:layout_constraintEnd_toEndOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintEnd_toStartOf com.example.t0116081:layout_constraintEnd_toStartOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintGuide_begin com.example.t0116081:layout_constraintGuide_begin}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintGuide_end com.example.t0116081:layout_constraintGuide_end}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintGuide_percent com.example.t0116081:layout_constraintGuide_percent}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHeight_default com.example.t0116081:layout_constraintHeight_default}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHeight_max com.example.t0116081:layout_constraintHeight_max}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHeight_min com.example.t0116081:layout_constraintHeight_min}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHeight_percent com.example.t0116081:layout_constraintHeight_percent}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHorizontal_bias com.example.t0116081:layout_constraintHorizontal_bias}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHorizontal_chainStyle com.example.t0116081:layout_constraintHorizontal_chainStyle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintHorizontal_weight com.example.t0116081:layout_constraintHorizontal_weight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintLeft_creator com.example.t0116081:layout_constraintLeft_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintLeft_toLeftOf com.example.t0116081:layout_constraintLeft_toLeftOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintLeft_toRightOf com.example.t0116081:layout_constraintLeft_toRightOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintRight_creator com.example.t0116081:layout_constraintRight_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintRight_toLeftOf com.example.t0116081:layout_constraintRight_toLeftOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintRight_toRightOf com.example.t0116081:layout_constraintRight_toRightOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintStart_toEndOf com.example.t0116081:layout_constraintStart_toEndOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintStart_toStartOf com.example.t0116081:layout_constraintStart_toStartOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintTop_creator com.example.t0116081:layout_constraintTop_creator}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintTop_toBottomOf com.example.t0116081:layout_constraintTop_toBottomOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintTop_toTopOf com.example.t0116081:layout_constraintTop_toTopOf}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintVertical_bias com.example.t0116081:layout_constraintVertical_bias}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintVertical_chainStyle com.example.t0116081:layout_constraintVertical_chainStyle}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintVertical_weight com.example.t0116081:layout_constraintVertical_weight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintWidth_default com.example.t0116081:layout_constraintWidth_default}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintWidth_max com.example.t0116081:layout_constraintWidth_max}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintWidth_min com.example.t0116081:layout_constraintWidth_min}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_constraintWidth_percent com.example.t0116081:layout_constraintWidth_percent}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_editor_absoluteX com.example.t0116081:layout_editor_absoluteX}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_editor_absoluteY com.example.t0116081:layout_editor_absoluteY}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_goneMarginBottom com.example.t0116081:layout_goneMarginBottom}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_goneMarginEnd com.example.t0116081:layout_goneMarginEnd}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_goneMarginLeft com.example.t0116081:layout_goneMarginLeft}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_goneMarginRight com.example.t0116081:layout_goneMarginRight}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_goneMarginStart com.example.t0116081:layout_goneMarginStart}</code></td><td></td></tr> * <tr><td><code>{@link #ConstraintSet_layout_goneMarginTop com.example.t0116081: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.t0116081.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.t0116081:barrierAllowsGoneWidgets */ public static final int ConstraintSet_barrierAllowsGoneWidgets=27; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:barrierDirection */ public static final int ConstraintSet_barrierDirection=28; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:chainUseRtl */ public static final int ConstraintSet_chainUseRtl=29; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:constraint_referenced_ids */ public static final int ConstraintSet_constraint_referenced_ids=30; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constrainedHeight */ public static final int ConstraintSet_layout_constrainedHeight=31; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constrainedWidth */ public static final int ConstraintSet_layout_constrainedWidth=32; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintBaseline_creator */ public static final int ConstraintSet_layout_constraintBaseline_creator=33; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintBaseline_toBaselineOf */ public static final int ConstraintSet_layout_constraintBaseline_toBaselineOf=34; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintBottom_creator */ public static final int ConstraintSet_layout_constraintBottom_creator=35; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintBottom_toBottomOf */ public static final int ConstraintSet_layout_constraintBottom_toBottomOf=36; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintBottom_toTopOf */ public static final int ConstraintSet_layout_constraintBottom_toTopOf=37; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintCircle */ public static final int ConstraintSet_layout_constraintCircle=38; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintCircleAngle */ public static final int ConstraintSet_layout_constraintCircleAngle=39; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintCircleRadius */ public static final int ConstraintSet_layout_constraintCircleRadius=40; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintDimensionRatio */ public static final int ConstraintSet_layout_constraintDimensionRatio=41; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintEnd_toEndOf */ public static final int ConstraintSet_layout_constraintEnd_toEndOf=42; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintEnd_toStartOf */ public static final int ConstraintSet_layout_constraintEnd_toStartOf=43; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintGuide_begin */ public static final int ConstraintSet_layout_constraintGuide_begin=44; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintGuide_end */ public static final int ConstraintSet_layout_constraintGuide_end=45; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintGuide_percent */ public static final int ConstraintSet_layout_constraintGuide_percent=46; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHeight_default */ public static final int ConstraintSet_layout_constraintHeight_default=47; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHeight_max */ public static final int ConstraintSet_layout_constraintHeight_max=48; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHeight_min */ public static final int ConstraintSet_layout_constraintHeight_min=49; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHeight_percent */ public static final int ConstraintSet_layout_constraintHeight_percent=50; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHorizontal_bias */ public static final int ConstraintSet_layout_constraintHorizontal_bias=51; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHorizontal_chainStyle */ public static final int ConstraintSet_layout_constraintHorizontal_chainStyle=52; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintHorizontal_weight */ public static final int ConstraintSet_layout_constraintHorizontal_weight=53; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintLeft_creator */ public static final int ConstraintSet_layout_constraintLeft_creator=54; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintLeft_toLeftOf */ public static final int ConstraintSet_layout_constraintLeft_toLeftOf=55; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintLeft_toRightOf */ public static final int ConstraintSet_layout_constraintLeft_toRightOf=56; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintRight_creator */ public static final int ConstraintSet_layout_constraintRight_creator=57; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintRight_toLeftOf */ public static final int ConstraintSet_layout_constraintRight_toLeftOf=58; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintRight_toRightOf */ public static final int ConstraintSet_layout_constraintRight_toRightOf=59; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintStart_toEndOf */ public static final int ConstraintSet_layout_constraintStart_toEndOf=60; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintStart_toStartOf */ public static final int ConstraintSet_layout_constraintStart_toStartOf=61; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintTop_creator */ public static final int ConstraintSet_layout_constraintTop_creator=62; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintTop_toBottomOf */ public static final int ConstraintSet_layout_constraintTop_toBottomOf=63; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintTop_toTopOf */ public static final int ConstraintSet_layout_constraintTop_toTopOf=64; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintVertical_bias */ public static final int ConstraintSet_layout_constraintVertical_bias=65; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintVertical_chainStyle */ public static final int ConstraintSet_layout_constraintVertical_chainStyle=66; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintVertical_weight */ public static final int ConstraintSet_layout_constraintVertical_weight=67; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintWidth_default */ public static final int ConstraintSet_layout_constraintWidth_default=68; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintWidth_max */ public static final int ConstraintSet_layout_constraintWidth_max=69; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintWidth_min */ public static final int ConstraintSet_layout_constraintWidth_min=70; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_constraintWidth_percent */ public static final int ConstraintSet_layout_constraintWidth_percent=71; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_editor_absoluteX */ public static final int ConstraintSet_layout_editor_absoluteX=72; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_editor_absoluteY */ public static final int ConstraintSet_layout_editor_absoluteY=73; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_goneMarginBottom */ public static final int ConstraintSet_layout_goneMarginBottom=74; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_goneMarginEnd */ public static final int ConstraintSet_layout_goneMarginEnd=75; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_goneMarginLeft */ public static final int ConstraintSet_layout_goneMarginLeft=76; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_goneMarginRight */ public static final int ConstraintSet_layout_goneMarginRight=77; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081:layout_goneMarginStart */ public static final int ConstraintSet_layout_goneMarginStart=78; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:color}</code></td><td>The drawing color for the bars</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_drawableSize com.example.t0116081:drawableSize}</code></td><td>The total size of the drawable</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars com.example.t0116081: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.t0116081:spinBars}</code></td><td>Whether bars should rotate or not during transition</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_thickness com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:fontProviderFetchTimeout}</code></td><td>The length of the timeout during fetching.</td></tr> * <tr><td><code>{@link #FontFamily_fontProviderPackage com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:font}</code></td><td>The reference to the font file to be used.</td></tr> * <tr><td><code>{@link #FontFamilyFont_fontStyle com.example.t0116081:fontStyle}</code></td><td>The style of the given font file.</td></tr> * <tr><td><code>{@link #FontFamilyFont_fontVariationSettings com.example.t0116081:fontVariationSettings}</code></td><td>The variation settings to be applied to the font.</td></tr> * <tr><td><code>{@link #FontFamilyFont_fontWeight com.example.t0116081:fontWeight}</code></td><td>The weight of the given font file.</td></tr> * <tr><td><code>{@link #FontFamilyFont_ttcIndex com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:divider}</code></td><td>Specifies the drawable used for item dividers.</td></tr> * <tr><td><code>{@link #LinearLayoutCompat_dividerPadding com.example.t0116081:dividerPadding}</code></td><td>Size of padding on either end of a divider.</td></tr> * <tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:actionLayout}</code></td><td>An optional layout to be used as an action view.</td></tr> * <tr><td><code>{@link #MenuItem_actionProviderClass com.example.t0116081: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.t0116081: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.t0116081:alphabeticModifiers}</code></td><td>The alphabetic modifier key.</td></tr> * <tr><td><code>{@link #MenuItem_contentDescription com.example.t0116081:contentDescription}</code></td><td>The content description associated with the item.</td></tr> * <tr><td><code>{@link #MenuItem_iconTint com.example.t0116081:iconTint}</code></td><td>Tint to apply to the icon.</td></tr> * <tr><td><code>{@link #MenuItem_iconTintMode com.example.t0116081:iconTintMode}</code></td><td>Blending mode used to apply the icon tint.</td></tr> * <tr><td><code>{@link #MenuItem_numericModifiers com.example.t0116081:numericModifiers}</code></td><td>The numeric modifier key.</td></tr> * <tr><td><code>{@link #MenuItem_showAsAction com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:paddingBottomNoButtons}</code></td><td>Bottom padding to use when no buttons are present.</td></tr> * <tr><td><code>{@link #RecycleListView_paddingTopNoTitle com.example.t0116081: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.t0116081: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.t0116081: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.t0116081:closeIcon}</code></td><td>Close button icon</td></tr> * <tr><td><code>{@link #SearchView_commitIcon com.example.t0116081:commitIcon}</code></td><td>Commit icon shown in the query suggestion row</td></tr> * <tr><td><code>{@link #SearchView_defaultQueryHint com.example.t0116081: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.t0116081:goIcon}</code></td><td>Go button icon</td></tr> * <tr><td><code>{@link #SearchView_iconifiedByDefault com.example.t0116081:iconifiedByDefault}</code></td><td>The default state of the SearchView.</td></tr> * <tr><td><code>{@link #SearchView_layout com.example.t0116081:layout}</code></td><td>The layout to use for the search view.</td></tr> * <tr><td><code>{@link #SearchView_queryBackground com.example.t0116081:queryBackground}</code></td><td>Background for the section containing the search query</td></tr> * <tr><td><code>{@link #SearchView_queryHint com.example.t0116081: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.t0116081:searchHintIcon}</code></td><td>Search icon displayed as a text field hint</td></tr> * <tr><td><code>{@link #SearchView_searchIcon com.example.t0116081:searchIcon}</code></td><td>Search icon</td></tr> * <tr><td><code>{@link #SearchView_submitBackground com.example.t0116081:submitBackground}</code></td><td>Background for the section containing the action (e.g.</td></tr> * <tr><td><code>{@link #SearchView_suggestionRowLayout com.example.t0116081:suggestionRowLayout}</code></td><td>Layout for query suggestion rows</td></tr> * <tr><td><code>{@link #SearchView_voiceIcon com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:showText}</code></td><td>Whether to draw on/off text.</td></tr> * <tr><td><code>{@link #SwitchCompat_splitTrack com.example.t0116081: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.t0116081:switchMinWidth}</code></td><td>Minimum width for the switch component</td></tr> * <tr><td><code>{@link #SwitchCompat_switchPadding com.example.t0116081:switchPadding}</code></td><td>Minimum space between the switch and caption text</td></tr> * <tr><td><code>{@link #SwitchCompat_switchTextAppearance com.example.t0116081:switchTextAppearance}</code></td><td>TextAppearance style for text displayed on the switch thumb.</td></tr> * <tr><td><code>{@link #SwitchCompat_thumbTextPadding com.example.t0116081: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.t0116081:thumbTint}</code></td><td>Tint to apply to the thumb drawable.</td></tr> * <tr><td><code>{@link #SwitchCompat_thumbTintMode com.example.t0116081:thumbTintMode}</code></td><td>Blending mode used to apply the thumb tint.</td></tr> * <tr><td><code>{@link #SwitchCompat_track com.example.t0116081: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.t0116081:trackTint}</code></td><td>Tint to apply to the track.</td></tr> * <tr><td><code>{@link #SwitchCompat_trackTintMode com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:fontFamily}</code></td><td>The attribute for the font family.</td></tr> * <tr><td><code>{@link #TextAppearance_textAllCaps com.example.t0116081: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.t0116081: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.t0116081: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.t0116081:buttonGravity}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_collapseContentDescription com.example.t0116081: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.t0116081:collapseIcon}</code></td><td>Icon drawable to use for the collapse button.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetEnd com.example.t0116081:contentInsetEnd}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetEndWithActions com.example.t0116081: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.t0116081:contentInsetLeft}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetRight com.example.t0116081:contentInsetRight}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetStart com.example.t0116081:contentInsetStart}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetStartWithNavigation com.example.t0116081: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.t0116081:logo}</code></td><td>Specifies the drawable used for the application logo.</td></tr> * <tr><td><code>{@link #Toolbar_logoDescription com.example.t0116081: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.t0116081:maxButtonHeight}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_navigationContentDescription com.example.t0116081: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.t0116081: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.t0116081: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.t0116081:subtitle}</code></td><td>Specifies subtitle text used for navigationMode="normal"</td></tr> * <tr><td><code>{@link #Toolbar_subtitleTextAppearance com.example.t0116081:subtitleTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_subtitleTextColor com.example.t0116081:subtitleTextColor}</code></td><td>A color to apply to the subtitle string.</td></tr> * <tr><td><code>{@link #Toolbar_title com.example.t0116081:title}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleMargin com.example.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:titleMargins}</code></td><td>{@deprecated Use titleMargin}</td></tr> * <tr><td><code>{@link #Toolbar_titleTextAppearance com.example.t0116081:titleTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleTextColor com.example.t0116081: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.t0116081.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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:logoDescription */ public static final int Toolbar_logoDescription=12; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:subtitle */ public static final int Toolbar_subtitle=17; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081:subtitleTextColor */ public static final int Toolbar_subtitleTextColor=19; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:titleMargins */ @Deprecated public static final int Toolbar_titleMargins=26; /** * <p>This symbol is the offset where the {@link com.example.t0116081.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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081: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.t0116081:backgroundTint}</code></td><td>Tint to apply to the background.</td></tr> * <tr><td><code>{@link #ViewBackgroundHelper_backgroundTintMode com.example.t0116081: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.t0116081: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.t0116081: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; } }
ae78a2ce6d83ee4a915da2cc99624b050c43d513
3fffbfaba2c8e45a43ddba1d801dccf50a6b0f4e
/src/sample/DrawFSA.java
d96212caf27bb03c860726683faeaf0cfdf4cd1d
[]
no_license
tjk6/tjk6-p3-final
52581d030ab333aa80a12677f989adeb079b42a0
6c51498d8edbc6392d1afbc9a7bdf8627f3ff3df
refs/heads/master
2021-04-15T11:58:17.276151
2018-03-26T01:18:00
2018-03-26T01:18:00
126,756,292
0
0
null
null
null
null
UTF-8
Java
false
false
9,304
java
package sample; import javafx.geometry.Insets; import javafx.scene.Group; import javafx.scene.layout.Pane; import javafx.scene.paint.Color; import javafx.scene.shape.*; import javafx.scene.text.Text; import java.util.ArrayList; //Class for handling all the drawing of the FSA public class DrawFSA extends Main { private static final int LPADDING_START = 160; private static final int RPADDING_START = 240; private static final int STATE_SPACE = 100; private static final int IN_SPACE = 200; private static final int CIR_RAD = 20; private static final int STATE_DIST = 80; //Draws the FSA and returns a group with all the necessary objects static Group draw(Automata fsa){ //Set up Gridpane Pane statePane = new Pane(); //Set the padding statePane.setPadding(new Insets(50,100,50,100)); //Adds all the arrows for the FSA. Done before the circles because of overlap statePane.getChildren().addAll(getArrows(fsa)); //Adds all the circles for the FSA. Done after the arrows to cover any stray lines statePane.getChildren().addAll(getCircles(fsa)); return new Group(statePane); } //Gets all the arrows for the FSA private static Group getArrows(Automata fsa){ Group tranGroup = new Group(); //Used for padding the lines going to and from the states on the outside to prevent overlap. int lPadding = LPADDING_START; //l and rPadding handle how much farther away the next line going to a state should int rPadding = RPADDING_START; //be from another. This prevents confusing overlap of lines. int startState = fsa.getStartState(); //Adds the starting arrow to the group. tranGroup.getChildren().add(getStartArrow(startState)); ArrayList<Transition> transitions = fsa.getTransitions(); //For each transition, see where the next state is relative to the current state. for(Transition currTransition : transitions){ int currState = currTransition.getCurrent(); int nextState = currTransition.getNext(); //Get the number of times this transition has been used with a different symbol. //This gets the spacing before the symbol int numBefore = getNumBefore(transitions,currTransition); //If there is a loop if(currState == nextState){ tranGroup.getChildren().add(getLoopTransition(currState,numBefore,currTransition.getSymbol())); } //Otherwise, if the next state is right after the current one else if(currState+1 == nextState){ tranGroup.getChildren().add(getNextTransition(currState,nextState,numBefore,currTransition.getSymbol())); } //Else, if the next state is farther away than that else if(currState < nextState){ tranGroup.getChildren().add(getJumpTransition(currState,nextState,lPadding,currTransition.getSymbol())); lPadding += 10; } //Else, if the next state is before the current state else if(currState > nextState){ tranGroup.getChildren().add(getBackTransition(currState,nextState,rPadding,currTransition.getSymbol())); rPadding += 10; } } return tranGroup; } //Gets all the circles to be added to the group. private static Group getCircles(Automata fsa){ Group stateGroup = new Group(); int size = fsa.getStates().size(); for(int i = 0; i < size; i++){ Circle stateCircle = new Circle(0, 0, CIR_RAD); stateCircle.setFill(Color.YELLOW); stateCircle.setStroke(Color.BLACK); Text stateText = new Text(-6,4,"q" + i); Group group = new Group(); group.setLayoutY((i*STATE_SPACE) + STATE_DIST); group.setLayoutX(IN_SPACE); group.getChildren().addAll(stateCircle,stateText); stateGroup.getChildren().addAll(group); } return stateGroup; } //Gets the number of instances this transition was used before this one private static int getNumBefore(ArrayList<Transition> transitions,Transition testTran){ int i = 0; int counter = 0; while(i < transitions.size()){ if(transitions.get(i).getCurrent() == testTran.getCurrent() && transitions.get(i).getNext() == testTran.getNext()){ if(transitions.get(i).getSymbol() == testTran.getSymbol()){ return counter; } else{ counter++; } } i++; } return 0; } //Gets the arrow for the start transition private static Group getStartArrow(int startState){ Group startGroup = new Group(); Line startLine = new Line(150, (startState*STATE_SPACE) + 30, IN_SPACE, (startState*STATE_SPACE) + STATE_DIST); Line stArrLeft = new Line(185.86, (startState*STATE_SPACE) + 65.86, 175.86, (startState*STATE_SPACE) + 65.86); Line stArrRight = new Line(185.86, (startState*STATE_SPACE) + 65.86, 185.86, (startState*STATE_SPACE) + 55.86); startGroup.getChildren().addAll(startLine,stArrLeft,stArrRight); return startGroup; } //Get the arrow for a backwards transition private static Group getBackTransition(int currState, int nextState, int rPadding, char tranSymbol){ Group backGroup = new Group(); Line currLine = new Line(IN_SPACE, (currState*STATE_SPACE) + STATE_DIST, rPadding, (currState*STATE_SPACE) + STATE_DIST); Line nextLine = new Line(IN_SPACE, (nextState*STATE_SPACE) + STATE_DIST, rPadding, (nextState*STATE_SPACE) + STATE_DIST); Line fromLine = new Line(rPadding, (currState*STATE_SPACE) + STATE_DIST, rPadding, (nextState*STATE_SPACE) + STATE_DIST); //Arrow lines Line arrowTop = new Line(220, (nextState*STATE_SPACE) + STATE_DIST, 225, (nextState*STATE_SPACE) + 75); Line arrowBottom = new Line(220, (nextState*STATE_SPACE) + STATE_DIST, 225, (nextState*STATE_SPACE) + 85); Text symbol = new Text(rPadding+4, (currState*STATE_SPACE) + 40,"" + tranSymbol); backGroup.getChildren().addAll(currLine,nextLine,fromLine,arrowTop,arrowBottom,symbol); return backGroup; } //Get the arrow for a transition more than one away (goes around states) private static Group getJumpTransition(int currState, int nextState, int lPadding, char tranSymbol){ Group jumpGroup = new Group(); Line currLine = new Line(IN_SPACE, (currState*STATE_SPACE) + STATE_DIST, lPadding, (currState*STATE_SPACE) + STATE_DIST); Line nextLine = new Line(IN_SPACE, (nextState*STATE_SPACE) + STATE_DIST, lPadding, (nextState*STATE_SPACE) + STATE_DIST); Line toLine = new Line(lPadding, (currState*STATE_SPACE) + STATE_DIST, lPadding, (nextState*STATE_SPACE) + STATE_DIST); //Arrow lines Line arrowTop = new Line(180, (nextState*STATE_SPACE) + STATE_DIST, 175, (nextState*STATE_SPACE) + 75); Line arrowBottom = new Line(180, (nextState*STATE_SPACE) + STATE_DIST, 175, (nextState*STATE_SPACE) + 85); Text symbol = new Text(lPadding-8, (currState*STATE_SPACE) + STATE_SPACE,"" + tranSymbol); jumpGroup.getChildren().addAll(currLine,nextLine,toLine,arrowTop,arrowBottom,symbol); return jumpGroup; } //Gets the arrow for a transition exactly one state away and moves the symbol over the appropriate number of // times if more than one transition uses it. private static Group getNextTransition(int currState, int nextState, int numBefore, char tranSymbol){ Group nextGroup = new Group(); Line currLine = new Line(IN_SPACE, (currState*STATE_SPACE) + STATE_DIST, IN_SPACE, (nextState*STATE_SPACE) + STATE_DIST); Line arrowLeft = new Line(IN_SPACE, (nextState*STATE_SPACE) + 60, 195, (nextState*STATE_SPACE) + 55); Line arrowRight = new Line(IN_SPACE, (nextState*STATE_SPACE) + 60, 205, (nextState*STATE_SPACE) + 55); Text symbol = new Text(205 + (numBefore * 8),(currState * STATE_SPACE) + 130,"" + tranSymbol); nextGroup.getChildren().addAll(currLine, arrowRight, arrowLeft, symbol); return nextGroup; } //Gets the arrow for a loop. This is actually a circle that is put behind a state circle. private static Group getLoopTransition(int currState, int numBefore, char tranSymbol){ Group loopGroup = new Group(); Circle loopCircle = new Circle(235, (currState * STATE_SPACE) + STATE_DIST, 25); loopCircle.setFill(Color.TRANSPARENT); loopCircle.setStroke(Color.BLACK); Text symbol = new Text(265 + (numBefore * 8),(currState * STATE_SPACE) + STATE_DIST,"" + tranSymbol); //Arrow lines Line arrowLeft = new Line(214.14, (currState*STATE_SPACE) + 65.86, 214.14, (currState*STATE_SPACE) + 55.86); Line arrowRight = new Line(214.14, (currState*STATE_SPACE) + 65.86, 224.14, (currState*STATE_SPACE) + 65.86); loopGroup.getChildren().addAll(loopCircle,arrowLeft,arrowRight,symbol); return loopGroup; } }
e91414b0b302a268ef66aa0a10dc525add25bbf4
07e1eb3b5d426014575e50e7dcc22072bd9fe9b5
/osm-tools-ra/src/main/java/org/osmtools/ra/analyzer/RoundaboutService.java
c5eda08f5eb0e9eaa6ac097b0a53c52a37fb1314
[]
no_license
grundid/osm-tools
1389d6f01b97799ca4e45f05755990957b299275
28250f4baf755e2e17f3a83780e733d50a7f7c17
refs/heads/master
2023-03-16T04:50:13.444351
2019-04-08T07:32:29
2019-04-08T07:32:29
2,287,347
2
4
null
2017-04-05T18:44:37
2011-08-29T08:09:38
Java
UTF-8
Java
false
false
1,228
java
/** * This file is part of Relation Analyzer for OSM. * Copyright (c) 2001 by Adrian Stabiszewski, [email protected] * * Relation Analyzer is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Relation Analyzer is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Relation Analyzer. If not, see <http://www.gnu.org/licenses/>. */ package org.osmtools.ra.analyzer; import java.util.List; import org.osmtools.ra.data.Node; import org.osmtools.ra.data.Way; public class RoundaboutService { public static boolean isRoundabout(Way way) { List<Node> nodes = way.getNodes(); if (nodes.size() > 1) { Node firstNode = nodes.get(0); Node lastNode = nodes.get(nodes.size() - 1); return firstNode.equals(lastNode); } else return false; } }
554d5b4d83a127f724b9c966e31796ffd109b68c
e9affefd4e89b3c7e2064fee8833d7838c0e0abc
/aws-java-sdk-organizations/src/main/java/com/amazonaws/services/organizations/model/transform/PolicyTargetSummaryJsonUnmarshaller.java
750a318ff355682e5cd78d8746e1bfee38bfb5b9
[ "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
3,496
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.organizations.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.organizations.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import com.fasterxml.jackson.core.JsonToken; import static com.fasterxml.jackson.core.JsonToken.*; /** * PolicyTargetSummary JSON Unmarshaller */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PolicyTargetSummaryJsonUnmarshaller implements Unmarshaller<PolicyTargetSummary, JsonUnmarshallerContext> { public PolicyTargetSummary unmarshall(JsonUnmarshallerContext context) throws Exception { PolicyTargetSummary policyTargetSummary = new PolicyTargetSummary(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return null; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("TargetId", targetDepth)) { context.nextToken(); policyTargetSummary.setTargetId(context.getUnmarshaller(String.class).unmarshall(context)); } if (context.testExpression("Arn", targetDepth)) { context.nextToken(); policyTargetSummary.setArn(context.getUnmarshaller(String.class).unmarshall(context)); } if (context.testExpression("Name", targetDepth)) { context.nextToken(); policyTargetSummary.setName(context.getUnmarshaller(String.class).unmarshall(context)); } if (context.testExpression("Type", targetDepth)) { context.nextToken(); policyTargetSummary.setType(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return policyTargetSummary; } private static PolicyTargetSummaryJsonUnmarshaller instance; public static PolicyTargetSummaryJsonUnmarshaller getInstance() { if (instance == null) instance = new PolicyTargetSummaryJsonUnmarshaller(); return instance; } }
[ "" ]
76812fd92520e2783e95f2a0e867d00ac626a74d
209139a5961b8189e11a132e4810c2947fca648c
/MyTest/src/package2/MyMD5.java
103312b353d255ee97036c095d103ae73b999bb1
[]
no_license
FogZZZ/JavaRushTasks
efe4ee69c75918bd96760fb5d5c88de39da211dc
d0956fd85e3a74d357056644078da2304da7e790
refs/heads/master
2021-04-03T01:12:04.745077
2018-10-22T10:59:50
2018-10-22T10:59:50
124,653,893
0
0
null
null
null
null
UTF-8
Java
false
false
5,095
java
package package2; import java.io.ByteArrayOutputStream; import java.io.ObjectOutputStream; import java.math.BigInteger; public class MyMD5 { public static void main(String... args) throws Exception { ByteArrayOutputStream bos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(bos); oos.writeObject(new String("test string")); oos.flush(); //bos.write("md5".getBytes("ASCII")); System.out.println(compareMD5(bos, "5a47d12a2e3f9fecf2d9ba1fd98152eb")); //true //System.out.println(compareMD5(bos,"1BC29B36F623BA82AAF6724FD3B16718".toLowerCase())); } public static boolean compareMD5(ByteArrayOutputStream byteArrayOutputStream, String md5) throws Exception { int[] s = new int[]{ 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21}; int[] K = new int[64]; for (int i = 0; i < 64; i++) { K[i] = (int)(long)( Math.abs(Math.sin(i + 1)) * (1L << 32)); //System.out.println(i + " " + K[i]); } int a0 = 0x67452301; int b0 = 0xefcdab89; int c0 = 0x98badcfe; int d0 = 0x10325476; byte[] b = byteArrayOutputStream.toByteArray(); StringBuilder message = new StringBuilder(); for (int i = 0; i < b.length; i++) { String str = String.format("%8s" , Integer.toBinaryString(Byte.toUnsignedInt(b[i]))); message.append(str.replace(' ', '0'), str.length()-8, str.length()); } BigInteger origLength = new BigInteger(String.valueOf(message.length())); message.append(1); while (message.length() % 512 < 448){ message.append(0); } origLength = origLength.mod(new BigInteger("2").pow(64)); String origLengthInBits = String.format("%64s", origLength.toString(2)).replace(' ', '0'); message.append(origLengthInBits, 56, 64); message.append(origLengthInBits, 48, 56); message.append(origLengthInBits, 40, 48); message.append(origLengthInBits, 32, 40); message.append(origLengthInBits, 24, 32); message.append(origLengthInBits, 16, 24); message.append(origLengthInBits, 8, 16); message.append(origLengthInBits, 0, 8); String[] M = new String[16]; for (int i = 0; i < 16;) { M[i] = message.substring(i*32, (++i)*32); } int A = a0; int B = b0; int C = c0; int D = d0; for (int i = 0; i < 64; i++) { int F = 0, k = 0; if (i <=15) { F = (B & C) | ((~B) & D); k = i; } else if (i <=31) { F = (D & B) | ((~D) & C); k = (5*i + 1) % 16; } else if (i <=47) { F = B ^ C ^ D; k = (3*i + 5) % 16; } else { F = C ^ (B | (~D)); k =(7*i) % 16; } String Mk_littleEndian = new StringBuilder().append(M[k], 24, 32).append(M[k], 16, 24).append(M[k], 8, 16).append(M[k], 0, 8).toString(); F = (int) ((Integer.toUnsignedLong(F) + Integer.toUnsignedLong(A) + Integer.toUnsignedLong(K[i]) + Integer.toUnsignedLong(Integer.parseUnsignedInt(Mk_littleEndian, 2))) % 4294967296L); A = D; D = C; C = B; B = (int) ((Integer.toUnsignedLong(B) + Integer.toUnsignedLong((F << s[i]) | (F >>> (32-s[i])))) % 4294967296L); } a0 = (int) ((Integer.toUnsignedLong(a0) + Integer.toUnsignedLong(A)) % 4294967296L); b0 = (int) ((Integer.toUnsignedLong(b0) + Integer.toUnsignedLong(B)) % 4294967296L); c0 = (int) ((Integer.toUnsignedLong(c0) + Integer.toUnsignedLong(C)) % 4294967296L); d0 = (int) ((Integer.toUnsignedLong(d0) + Integer.toUnsignedLong(D)) % 4294967296L); StringBuilder digest = new StringBuilder(); digest.append(String.format("%32s", Integer.toBinaryString(a0)).replace(' ', '0')); digest.append(String.format("%32s", Integer.toBinaryString(b0)).replace(' ', '0')); digest.append(String.format("%32s", Integer.toBinaryString(c0)).replace(' ', '0')); digest.append(String.format("%32s", Integer.toBinaryString(d0)).replace(' ', '0')); return toHexString(digest.toString()).equals(md5); } private static String toHexString(String input) { StringBuilder sb = new StringBuilder(); for (int i = 0; i < 4; i++) { for (int j = 4; j > 0; j--) { String sub = input.substring(i*32+(j-1)*8, i*32+j*8); sb.append(Integer.toHexString(Integer.valueOf(sub, 2))); //sb.append(" "); } } return sb.toString(); } }
02c17df0a37b604ef81e3b4043b4311e619a8d21
97ada93e58c243eb347bda761e4023e060771f3a
/app/src/main/java/com/hp/handleoffice/ui/view/SlidingTabStrip.java
e6a16227d55891e80366a4977263af1e9845f6a2
[]
no_license
paladinzh/HandleOffice
49eb24a86f22142ce650edf30d72b7d81c0c2511
e377532cf51c96cd95ce92ff7ea4bd459e0cffcc
refs/heads/master
2020-03-30T10:07:06.435604
2016-01-26T10:30:28
2016-01-26T10:30:28
null
0
0
null
null
null
null
UTF-8
Java
false
false
8,024
java
/* * Copyright (C) 2013 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.hp.handleoffice.ui.view; import android.R; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import android.util.TypedValue; import android.view.View; import android.widget.LinearLayout; class SlidingTabStrip extends LinearLayout { private static final int DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS = 2; private static final byte DEFAULT_BOTTOM_BORDER_COLOR_ALPHA = 0x26; private static final int SELECTED_INDICATOR_THICKNESS_DIPS = 8; private static final int DEFAULT_SELECTED_INDICATOR_COLOR = 0xFF33B5E5; private static final int DEFAULT_DIVIDER_THICKNESS_DIPS = 1; private static final byte DEFAULT_DIVIDER_COLOR_ALPHA = 0x20; private static final float DEFAULT_DIVIDER_HEIGHT = 0.5f; private final int mBottomBorderThickness; private final Paint mBottomBorderPaint; private final int mSelectedIndicatorThickness; private final Paint mSelectedIndicatorPaint; private final int mDefaultBottomBorderColor; private final Paint mDividerPaint; private final float mDividerHeight; private int mSelectedPosition; private float mSelectionOffset; private SlidingTabLayout.TabColorizer mCustomTabColorizer; private final SimpleTabColorizer mDefaultTabColorizer; SlidingTabStrip(Context context) { this(context, null); } SlidingTabStrip(Context context, AttributeSet attrs) { super(context, attrs); setWillNotDraw(false); final float density = getResources().getDisplayMetrics().density; TypedValue outValue = new TypedValue(); context.getTheme().resolveAttribute(R.attr.colorForeground, outValue, true); final int themeForegroundColor = outValue.data; mDefaultBottomBorderColor = setColorAlpha(themeForegroundColor, DEFAULT_BOTTOM_BORDER_COLOR_ALPHA); mDefaultTabColorizer = new SimpleTabColorizer(); mDefaultTabColorizer.setIndicatorColors(DEFAULT_SELECTED_INDICATOR_COLOR); mDefaultTabColorizer.setDividerColors(setColorAlpha(themeForegroundColor, DEFAULT_DIVIDER_COLOR_ALPHA)); mBottomBorderThickness = (int) (DEFAULT_BOTTOM_BORDER_THICKNESS_DIPS * density); mBottomBorderPaint = new Paint(); mBottomBorderPaint.setColor(mDefaultBottomBorderColor); mSelectedIndicatorThickness = (int) (SELECTED_INDICATOR_THICKNESS_DIPS * density); mSelectedIndicatorPaint = new Paint(); mDividerHeight = DEFAULT_DIVIDER_HEIGHT; mDividerPaint = new Paint(); mDividerPaint.setStrokeWidth((int) (DEFAULT_DIVIDER_THICKNESS_DIPS * density)); } void setCustomTabColorizer(SlidingTabLayout.TabColorizer customTabColorizer) { mCustomTabColorizer = customTabColorizer; invalidate(); } void setSelectedIndicatorColors(int... colors) { // Make sure that the custom colorizer is removed mCustomTabColorizer = null; mDefaultTabColorizer.setIndicatorColors(colors); invalidate(); } void setDividerColors(int... colors) { // Make sure that the custom colorizer is removed mCustomTabColorizer = null; mDefaultTabColorizer.setDividerColors(colors); invalidate(); } void onViewPagerPageChanged(int position, float positionOffset) { mSelectedPosition = position; mSelectionOffset = positionOffset; invalidate(); } @Override protected void onDraw(Canvas canvas) { final int height = getHeight(); final int childCount = getChildCount(); final int dividerHeightPx = (int) (Math.min(Math.max(0f, mDividerHeight), 1f) * height); final SlidingTabLayout.TabColorizer tabColorizer = mCustomTabColorizer != null ? mCustomTabColorizer : mDefaultTabColorizer; // Thick colored underline below the current selection if (childCount > 0) { View selectedTitle = getChildAt(mSelectedPosition); int left = selectedTitle.getLeft(); int right = selectedTitle.getRight(); int color = tabColorizer.getIndicatorColor(mSelectedPosition); if (mSelectionOffset > 0f && mSelectedPosition < (getChildCount() - 1)) { int nextColor = tabColorizer.getIndicatorColor(mSelectedPosition + 1); if (color != nextColor) { color = blendColors(nextColor, color, mSelectionOffset); } // Draw the selection partway between the tabs View nextTitle = getChildAt(mSelectedPosition + 1); left = (int) (mSelectionOffset * nextTitle.getLeft() + (1.0f - mSelectionOffset) * left); right = (int) (mSelectionOffset * nextTitle.getRight() + (1.0f - mSelectionOffset) * right); } mSelectedIndicatorPaint.setColor(color); canvas.drawRect(left, height - mSelectedIndicatorThickness, right, height, mSelectedIndicatorPaint); } // Thin underline along the entire bottom edge canvas.drawRect(0, height - mBottomBorderThickness, getWidth(), height, mBottomBorderPaint); // Vertical separators between the titles int separatorTop = (height - dividerHeightPx) / 2; for (int i = 0; i < childCount - 1; i++) { View child = getChildAt(i); mDividerPaint.setColor(tabColorizer.getDividerColor(i)); canvas.drawLine(child.getRight(), separatorTop, child.getRight(), separatorTop + dividerHeightPx, mDividerPaint); } } /** * Set the alpha value of the {@code color} to be the given {@code alpha} value. */ private static int setColorAlpha(int color, byte alpha) { return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); } /** * Blend {@code color1} and {@code color2} using the given ratio. * * @param ratio of which to blend. 1.0 will return {@code color1}, 0.5 will give an even blend, * 0.0 will return {@code color2}. */ private static int blendColors(int color1, int color2, float ratio) { final float inverseRation = 1f - ratio; float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation); return Color.rgb((int) r, (int) g, (int) b); } private static class SimpleTabColorizer implements SlidingTabLayout.TabColorizer { private int[] mIndicatorColors; private int[] mDividerColors; @Override public final int getIndicatorColor(int position) { return mIndicatorColors[position % mIndicatorColors.length]; } @Override public final int getDividerColor(int position) { return mDividerColors[position % mDividerColors.length]; } void setIndicatorColors(int... colors) { mIndicatorColors = colors; } void setDividerColors(int... colors) { mDividerColors = colors; } } }
9d7f85deba8bf8f69c0dc6498573beea9a23f5d5
480c163b2d5ea10cd6c467edee00762e133053a6
/xxplugin/src/main/java/com/xx/XXPluginBase.java
6f26e4938c4624eb80b800911e3f402597ef2ceb
[]
no_license
xiaomagexiao/XPosed
5c9a940a42325dc09ff136827342da78d0f16690
376f3492ee745a85175ea7397b9b9054ddba61fd
refs/heads/master
2021-01-19T01:05:31.539531
2017-02-03T13:37:32
2017-02-03T13:37:32
60,892,325
3
0
null
null
null
null
UTF-8
Java
false
false
274
java
package com.xx; import android.app.Application; import android.content.Context; public class XXPluginBase extends Application{ public Context mContext; @Override public void onCreate() { // TODO Auto-generated method stub mContext = this; super.onCreate(); } }
f917fda60b0713bde29e0d9e09285f7da0c8caa6
17f3774576dc100980708565bf90762ca8545438
/app/src/main/java/com/codeinger/technorizentask/repository/UserRepo.java
9744fbf721ff0cc4cfcd3c3d09a9e68068c46251
[]
no_license
Amirkhan5949/Technorizentask
d4a1c64433d5994245eea8831e8355cadb1109eb
93715202c8ee47aec9ecaaa34443bfcf40e56485
refs/heads/master
2023-06-17T12:54:45.875671
2021-07-16T20:42:31
2021-07-16T20:42:31
386,304,557
0
0
null
null
null
null
UTF-8
Java
false
false
1,141
java
package com.codeinger.technorizentask.repository; import androidx.lifecycle.LiveData; import com.codeinger.technorizentask.data.room.UserDao; import com.codeinger.technorizentask.model.UserModel; import java.util.List; import javax.inject.Inject; public class UserRepo { private final UserDao userDao; @Inject public UserRepo(UserDao userDao) { this.userDao = userDao; } public long addUser(UserModel userModels) { return userDao.addtUser(userModels); } public void updateUser(UserModel... userModels) { userDao.updateUser(userModels); } public void deleteUser(UserModel... userModels) { userDao.deleteUser(userModels); } public LiveData<List<UserModel>> getAllUSers(){ return userDao.getAllUSers(); } public List<UserModel> getUserById(long userIds) { return userDao.getUserById(userIds); } public List<UserModel> getEmailAndPass(String email,String pass) { return userDao.getEmailAndPass(email,pass); } public List<UserModel> getEmail(String email) { return userDao.getEmail(email); } }
a79f228aaf6330d630969fa10f928ce7009dde61
5804c1257d73f6e5660e2550e3fe31e1d2d9d1cd
/FinalExpertos/src/finalexpertos/Server.java
f9a6cb58df835fd16bbd33bb7905a9a2522e5142
[]
no_license
MonkeyDCode/Sistemas-Expertos-JADE
1d238f68f37038298c05333a447de1741d225fe7
f36199b1cae71f2a381de106cf89f167db578cf2
refs/heads/master
2016-09-02T04:36:09.104245
2015-08-30T23:58:06
2015-08-30T23:58:06
41,647,071
0
0
null
null
null
null
UTF-8
Java
false
false
3,207
java
package finalexpertos; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.net.BindException; import java.net.ServerSocket; import java.net.Socket; import java.net.UnknownHostException; import java.util.Scanner; public class Server{ private Socket s; private ServerSocket ss; private DataInputStream ois=null; private DataOutputStream oos=null; Scanner teclado=new Scanner(System.in); public void ejecutarConexion() { Thread t=new Thread(new Runnable(){ @Override public void run() { // TODO Auto-generated method stub while(true){ try { levantarConexion();//Levantamos flujos();//Abrimos flujos recibirDatos();//Recibimos datos }finally{ cerrarConexion();//Cerramos conexiones } } } });t.start(); } public void levantarConexion() { try{ ss=new ServerSocket(5050);//Creamos el ServerSocket }catch(BindException be){ mostrarTexto("El servicio ya esta en funcionamiento....\n"); System.exit(0); }catch(UnknownHostException uhe){ mostrarTexto("Host Desconocido \n"); System.exit(0); } catch (IOException e) { mostrarTexto("Error al crear el Servidor"); System.exit(0); } mostrarTexto("Esperando conexión entrante....\n"); try { s=ss.accept();//Aceptamos conexiones } catch (IOException e) { mostrarTexto("Error al aceptar al cliente"); } mostrarTexto("Conexión establecida con :"+s.getInetAddress().getHostName()+"\n"); } public void flujos() { try { ois=new DataInputStream(s.getInputStream());//Abro el flujo de entrada oos=new DataOutputStream(s.getOutputStream());//Abro el flujo de salida oos.flush();//limpio el flujo } catch (IOException e) { // TODO Auto-generated catch block mostrarTexto("Error en la apertura de flujos"); } } public void recibirDatos() { String st=""; try { do{ st=(String)ois.readUTF();//Leo y almaceno los datos que me envian if(!st.equals("CLIENTE: fin"))mostrarTexto(st+"\n");//Muestro por pantalla }while(!st.equals("CLIENTE: fin")); } catch (IOException e) { // TODO Auto-generated catch block cerrarConexion(); } } public void enviar(String s){ try { oos.writeUTF("SERVER: "+s);//Mando los datos al cliente oos.flush();//Limpio el flujo de salida } catch (IOException e) { // TODO Auto-generated catch block mostrarTexto("Se ha producido un error al enviar los datos....\n"); } } public void mostrarTexto( String s){ System.out.print(s); } public void cerrarConexion() { try { ois.close();//Cierro el flujo de entrada oos.close();//Cierro el flujo de salida s.close();//Cierro el Socket mostrarTexto("Conversación finalizada....\n"); System.exit(0); } catch (IOException e) { mostrarTexto("Conversación finalizada....\n"); System.exit(0); } } public void escribirDatos(){ while(true){ enviar(teclado.nextLine());//Mando los datos leidos por teclado } } public static void main(String[] args) throws IOException { // TODO Auto-generated method stub Server s=new Server(); s.ejecutarConexion(); s.escribirDatos(); } }
7551ed799a3c001e86c2517e57946ec719c3ced1
fc47dadd2e9b16e00161ee956ff73281982e4e80
/montasser_sellami/TunisianGotTalentV2/src/com/pidev/Service/DemandeAmitie.java
e82ef5f3e3d1f62ad7e963183556402fb9304deb
[]
no_license
louayyahyaoui/devIT
67d706a0bbf5d67d40f520c20b049d2e7b5dd955
f55268ae30f67dd0c5ec7ae5187aed4be219beaf
refs/heads/master
2022-11-01T16:20:13.282356
2020-06-19T02:00:19
2020-06-19T02:00:19
284,275,929
6
1
null
2020-08-01T14:29:31
2020-08-01T14:29:31
null
UTF-8
Java
false
false
2,993
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.pidev.Service; import com.pidev.Iservice.IServiceUser; import com.pidev.Entite.Amitie; import com.pidev.Entite.User; import com.pidev.Utils.DataBase; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import javafx.collections.FXCollections; import javafx.collections.ObservableList; public class DemandeAmitie { private Connection con; private PreparedStatement ps; Amitie a = new Amitie(); public DemandeAmitie() { con = DataBase.getInstance().getConnection(); } User u = new User(); ServiceUser ser = new ServiceUser(); //DemandeAmitie dm = new DemandeAmitie(); public void ajouterD(Amitie a) throws SQLException { String req = "insert into amitie (idUser1,idUser2,Etat,SenderId,BlockId) values (?,?,?,?,?)"; try { ps = con.prepareStatement(req); ps.setInt(1, a.getIdUser1()); ps.setInt(2, a.getIdUser2()); ps.setString(3, a.getEtat()); ps.setInt(4, a.getSenderId()); ps.setInt(5, a.getBlockId()); // ps.executeUpdate(); } catch (Exception e) { e.printStackTrace(); } } public void delete(Integer r) { String req = "delete from amitie where SenderId =?"; try { ps = con.prepareStatement(req); ps.setInt(4, r); ps.executeUpdate(); } catch (Exception e) { } } /** * * @return */ public ObservableList<User> getAll(int idUser) { ObservableList<User> retour = FXCollections.observableArrayList(); try { PreparedStatement pt = con.prepareStatement("SELECT * from user u where u.idUser in (select idUser2 from amitie a where a.idUser1=" + idUser + " and a.etat=1 )"); ResultSet rs = pt.executeQuery(); while (rs.next()) { String nom = rs.getString(2); String prenom = rs.getString(3); retour.add(new User(nom, prenom)); } } catch (SQLException ex) { System.out.println("erreur " + ex.getMessage()); } return retour; } public void acceptDemande(Amitie a) { try { String req1 = "UPDATE amitie SET etat=" + 1 + ""; ps = con.prepareStatement(req1); //ps.setString(1,"1"); //ps.setString(3,"accepte"); // ps.setInt(1,a.getIdUser1()); // ps.setInt(,a.getIdUser2()); ps.executeUpdate(); } catch (Exception e) { e.printStackTrace(); } } }
d4c2afebbdaeb1372ab4b44be4e5a1150de3e88f
6ead9d94dbd42a9384214c33eba0288a2b99fd0e
/z3950-common/src/main/java/org/xbib/z3950/common/v3/ElementSetNames.java
018adac4f2ccc5719c2ff4355c77d388c937950f
[ "Apache-2.0" ]
permissive
xbib/z3950
541ab68b508822e6d27a9dfbb16e788981d8a85a
a66d7b039e81528395c883bd8872c8970947eab4
refs/heads/main
2023-04-09T05:26:49.230168
2023-04-01T07:17:00
2023-04-01T07:17:00
110,899,227
7
4
null
null
null
null
UTF-8
Java
false
false
4,926
java
package org.xbib.z3950.common.v3; import org.xbib.asn1.ASN1Any; import org.xbib.asn1.ASN1EncodingException; import org.xbib.asn1.ASN1Exception; import org.xbib.asn1.BERConstructed; import org.xbib.asn1.BEREncoding; /** * Class for representing a <code>ElementSetNames</code> from <code>Z39-50-APDU-1995</code>. * <pre> * ElementSetNames ::= * CHOICE { * genericElementSetName [0] IMPLICIT InternationalString * databaseSpecific [1] IMPLICIT SEQUENCE OF ElementSetNames_databaseSpecific * } * </pre> */ public final class ElementSetNames extends ASN1Any { public InternationalString cGenericElementSetName; public ElementSetNamesDatabaseSpecific[] cDatabaseSpecific; /** * Default constructor for a ElementSetNames. */ public ElementSetNames() { } /** * Constructor for a ElementSetNames from a BER encoding. * * @param ber the BER encoding. * @param checkTag will check tag if true, use false * if the BER has been implicitly tagged. You should * usually be passing true. * @throws ASN1Exception if the BER encoding is bad. */ public ElementSetNames(BEREncoding ber, boolean checkTag) throws ASN1Exception { super(ber, checkTag); } /** * Initializing object from a BER encoding. * This method is for internal use only. You should use * the constructor that takes a BEREncoding. * * @param ber the BER to decode. * @param checkTag if the tag should be checked. * @throws ASN1Exception if the BER encoding is bad. */ @Override public void berDecode(BEREncoding ber, boolean checkTag) throws ASN1Exception { cGenericElementSetName = null; cDatabaseSpecific = null; if (ber.getTag() == 0 && ber.getTagType() == BEREncoding.CONTEXT_SPECIFIC_TAG) { cGenericElementSetName = new InternationalString(ber, false); return; } if (ber.getTag() == 1 && ber.getTagType() == BEREncoding.CONTEXT_SPECIFIC_TAG) { BEREncoding berData; berData = ber; BERConstructed berConstructed; try { berConstructed = (BERConstructed) berData; } catch (ClassCastException e) { throw new ASN1EncodingException("bad BER form"); } int numParts = berConstructed.numberComponents(); int p; cDatabaseSpecific = new ElementSetNamesDatabaseSpecific[numParts]; for (p = 0; p < numParts; p++) { cDatabaseSpecific[p] = new ElementSetNamesDatabaseSpecific(berConstructed.elementAt(p), true); } return; } throw new ASN1Exception("bad BER encoding: choice not matched"); } /** * Returns a BER encoding of ElementSetNames. * * @return The BER encoding. * @throws ASN1Exception Invalid or cannot be encoded. */ @Override public BEREncoding berEncode() throws ASN1Exception { BEREncoding chosen = null; BEREncoding[] f2; int p; if (cGenericElementSetName != null) { chosen = cGenericElementSetName.berEncode(BEREncoding.CONTEXT_SPECIFIC_TAG, 0); } if (cDatabaseSpecific != null) { if (chosen != null) { throw new ASN1Exception("CHOICE multiply set"); } f2 = new BEREncoding[cDatabaseSpecific.length]; for (p = 0; p < cDatabaseSpecific.length; p++) { f2[p] = cDatabaseSpecific[p].berEncode(); } chosen = new BERConstructed(BEREncoding.CONTEXT_SPECIFIC_TAG, 1, f2); } if (chosen == null) { throw new ASN1Exception("CHOICE not set"); } return chosen; } @Override public BEREncoding berEncode(int tagType, int tag) throws ASN1Exception { throw new ASN1EncodingException("cannot implicitly tag"); } /** * Returns a new String object containing a text representing * of the ElementSetNames. */ @Override public String toString() { int p; StringBuilder str = new StringBuilder("{"); boolean found = false; if (cGenericElementSetName != null) { found = true; str.append("genericElementSetName "); str.append(cGenericElementSetName); } if (cDatabaseSpecific != null) { if (found) { str.append("<ERROR: multiple CHOICE: databaseSpecific> "); } str.append("databaseSpecific "); str.append("{"); for (p = 0; p < cDatabaseSpecific.length; p++) { str.append(cDatabaseSpecific[p]); } str.append("}"); } str.append("}"); return str.toString(); } }
21657a67b8a1ecfb0ba4c6ef85c2b885c30ff1be
8dcdf1748ac6a0466b933d6f1469a938aab6df54
/kodilla-patterns2/src/main/java/com/kodilla/patterns2/facade/Order.java
74353a8ca5dfa3fb405703430e903e36a91844d5
[]
no_license
brzezyn/modul-6.1
600b8e18124bb5e76d03b2d835a360bb10900d6f
fc55458d3167187903c3366d7f159fdcef778dbd
refs/heads/master
2023-05-04T22:53:22.381410
2021-05-25T08:31:52
2021-05-25T08:31:52
302,575,913
0
0
null
null
null
null
UTF-8
Java
false
false
1,473
java
package com.kodilla.patterns2.facade; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; public class Order { private ProductService productService; private final List<Item> items = new ArrayList<>(); private final Long orderId; private final Long userId; private boolean isPaid; private boolean isVerified; private boolean isSubmitted; public Order(Long orderId, Long userId, ProductService productService) { this.orderId = orderId; this.userId = userId; this.productService = productService; } public BigDecimal calculateValue() { BigDecimal sum = BigDecimal.ZERO; for (Item item : items) { sum = sum.add(productService.getPrice(item.getProductId()) .multiply(new BigDecimal(item.getQty()))); } return sum; } public List<Item> getItems() { return items; } public Long getOrderId() { return orderId; } public Long getUserId() { return userId; } public boolean isPaid() { return isPaid; } public void setPaid(boolean paid) { isPaid = paid; } public boolean isVerified() { return isVerified; } public void setVerified(boolean verified) { isVerified = verified; } public boolean isSubmitted() { return isSubmitted; } public void setSubmitted(boolean submitted) { isSubmitted = submitted; } }
e3a48071626e3cd0cc3a22d99252470287702593
9f35bea3c50668a4205c04373da95195e20e5427
/weblayer/browser/android/javatests/src/org/chromium/weblayer/test/NavigationTest.java
4c61eca62907b0e0f890f305fe4bf0f5753e52f0
[ "BSD-3-Clause" ]
permissive
foolcodemonkey/chromium
5958fb37df91f92235fa8cf2a6e4a834c88f44aa
c155654fdaeda578cebc218d47f036debd4d634f
refs/heads/master
2023-02-21T00:56:13.446660
2020-01-07T05:12:51
2020-01-07T05:12:51
232,250,603
1
0
BSD-3-Clause
2020-01-07T05:38:18
2020-01-07T05:38:18
null
UTF-8
Java
false
false
16,097
java
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.weblayer.test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import static org.chromium.content_public.browser.test.util.TestThreadUtils.runOnUiThreadBlocking; import android.net.Uri; import android.support.test.filters.SmallTest; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import org.chromium.base.test.util.CallbackHelper; import org.chromium.content_public.browser.test.util.Criteria; import org.chromium.content_public.browser.test.util.CriteriaHelper; import org.chromium.weblayer.LoadError; import org.chromium.weblayer.Navigation; import org.chromium.weblayer.NavigationCallback; import org.chromium.weblayer.NavigationController; import org.chromium.weblayer.NavigationState; import org.chromium.weblayer.shell.InstrumentationActivity; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.concurrent.TimeoutException; /** * Example test that just starts the weblayer shell. */ @RunWith(WebLayerJUnit4ClassRunner.class) public class NavigationTest { @Rule public InstrumentationActivityTestRule mActivityTestRule = new InstrumentationActivityTestRule(); // URLs used for base tests. private static final String URL1 = "data:text,foo"; private static final String URL2 = "data:text,bar"; private static final String URL3 = "data:text,baz"; private static class Callback extends NavigationCallback { public static class NavigationCallbackHelper extends CallbackHelper { private Uri mUri; private boolean mIsSameDocument; private int mHttpStatusCode; private List<Uri> mRedirectChain; private @LoadError int mLoadError; private @NavigationState int mNavigationState; public void notifyCalled(Navigation navigation) { mUri = navigation.getUri(); mIsSameDocument = navigation.isSameDocument(); mHttpStatusCode = navigation.getHttpStatusCode(); mRedirectChain = navigation.getRedirectChain(); mLoadError = navigation.getLoadError(); mNavigationState = navigation.getState(); notifyCalled(); } public void assertCalledWith(int currentCallCount, String uri) throws TimeoutException { waitForCallback(currentCallCount); assertEquals(mUri.toString(), uri); } public void assertCalledWith(int currentCallCount, String uri, boolean isSameDocument) throws TimeoutException { waitForCallback(currentCallCount); assertEquals(mUri.toString(), uri); assertEquals(mIsSameDocument, isSameDocument); } public void assertCalledWith(int currentCallCount, List<Uri> redirectChain) throws TimeoutException { waitForCallback(currentCallCount); assertEquals(mRedirectChain, redirectChain); } public void assertCalledWith(int currentCallCount, String uri, @LoadError int loadError) throws TimeoutException { waitForCallback(currentCallCount); assertEquals(mUri.toString(), uri); assertEquals(mLoadError, loadError); } public int getHttpStatusCode() { return mHttpStatusCode; } @NavigationState public int getNavigationState() { return mNavigationState; } } public static class NavigationCallbackValueRecorder { private List<String> mObservedValues = Collections.synchronizedList(new ArrayList<String>()); public void recordValue(String parameter) { mObservedValues.add(parameter); } public List<String> getObservedValues() { return mObservedValues; } public void waitUntilValueObserved(String expectation) { CriteriaHelper.pollInstrumentationThread( new Criteria() { @Override public boolean isSatisfied() { return mObservedValues.contains(expectation); } }, CriteriaHelper.DEFAULT_MAX_TIME_TO_POLL, CriteriaHelper.DEFAULT_POLLING_INTERVAL); } } public NavigationCallbackHelper onStartedCallback = new NavigationCallbackHelper(); public NavigationCallbackHelper onRedirectedCallback = new NavigationCallbackHelper(); public NavigationCallbackHelper onReadyToCommitCallback = new NavigationCallbackHelper(); public NavigationCallbackHelper onCompletedCallback = new NavigationCallbackHelper(); public NavigationCallbackHelper onFailedCallback = new NavigationCallbackHelper(); public NavigationCallbackValueRecorder loadStateChangedCallback = new NavigationCallbackValueRecorder(); public NavigationCallbackValueRecorder loadProgressChangedCallback = new NavigationCallbackValueRecorder(); public CallbackHelper onFirstContentfulPaintCallback = new CallbackHelper(); @Override public void onNavigationStarted(Navigation navigation) { onStartedCallback.notifyCalled(navigation); } @Override public void onNavigationRedirected(Navigation navigation) { onRedirectedCallback.notifyCalled(navigation); } @Override public void onReadyToCommitNavigation(Navigation navigation) { onReadyToCommitCallback.notifyCalled(navigation); } @Override public void onNavigationCompleted(Navigation navigation) { onCompletedCallback.notifyCalled(navigation); } @Override public void onNavigationFailed(Navigation navigation) { onFailedCallback.notifyCalled(navigation); } @Override public void onFirstContentfulPaint() { onFirstContentfulPaintCallback.notifyCalled(); } @Override public void onLoadStateChanged(boolean isLoading, boolean toDifferentDocument) { loadStateChangedCallback.recordValue( Boolean.toString(isLoading) + " " + Boolean.toString(toDifferentDocument)); } @Override public void onLoadProgressChanged(double progress) { loadProgressChangedCallback.recordValue( progress == 1 ? "load complete" : "load started"); } } private final Callback mCallback = new Callback(); @Test @SmallTest public void testNavigationEvents() throws Exception { InstrumentationActivity activity = mActivityTestRule.launchShellWithUrl(URL1); setNavigationCallback(activity); int curStartedCount = mCallback.onStartedCallback.getCallCount(); int curCommittedCount = mCallback.onReadyToCommitCallback.getCallCount(); int curCompletedCount = mCallback.onCompletedCallback.getCallCount(); int curOnFirstContentfulPaintCount = mCallback.onFirstContentfulPaintCallback.getCallCount(); mActivityTestRule.navigateAndWait(URL2); mCallback.onStartedCallback.assertCalledWith(curStartedCount, URL2); mCallback.onReadyToCommitCallback.assertCalledWith(curCommittedCount, URL2); mCallback.onCompletedCallback.assertCalledWith(curCompletedCount, URL2); mCallback.onFirstContentfulPaintCallback.waitForCallback(curOnFirstContentfulPaintCount); assertEquals(mCallback.onCompletedCallback.getHttpStatusCode(), 200); } @Test @SmallTest public void testLoadStateUpdates() throws Exception { InstrumentationActivity activity = mActivityTestRule.launchShellWithUrl(null); setNavigationCallback(activity); mActivityTestRule.navigateAndWait(URL1); /* Wait until the NavigationCallback is notified of load completion. */ mCallback.loadStateChangedCallback.waitUntilValueObserved("false false"); mCallback.loadProgressChangedCallback.waitUntilValueObserved("load complete"); /* Verify that the NavigationCallback was notified of load progress /before/ load * completion. */ int finishStateIndex = mCallback.loadStateChangedCallback.getObservedValues().indexOf("false false"); int finishProgressIndex = mCallback.loadProgressChangedCallback.getObservedValues().indexOf("load complete"); int startStateIndex = mCallback.loadStateChangedCallback.getObservedValues().lastIndexOf("true true"); int startProgressIndex = mCallback.loadProgressChangedCallback.getObservedValues().lastIndexOf( "load started"); assertNotEquals(startStateIndex, -1); assertNotEquals(startProgressIndex, -1); assertNotEquals(finishStateIndex, -1); assertNotEquals(finishProgressIndex, -1); assertTrue(startStateIndex < finishStateIndex); assertTrue(startProgressIndex < finishProgressIndex); } @Test @SmallTest public void testGoBackAndForward() throws Exception { InstrumentationActivity activity = mActivityTestRule.launchShellWithUrl(URL1); setNavigationCallback(activity); mActivityTestRule.navigateAndWait(URL2); mActivityTestRule.navigateAndWait(URL3); NavigationController navigationController = runOnUiThreadBlocking(() -> activity.getTab().getNavigationController()); navigateAndWaitForCompletion(URL2, () -> { assertTrue(navigationController.canGoBack()); navigationController.goBack(); }); navigateAndWaitForCompletion(URL1, () -> { assertTrue(navigationController.canGoBack()); navigationController.goBack(); }); navigateAndWaitForCompletion(URL2, () -> { assertFalse(navigationController.canGoBack()); assertTrue(navigationController.canGoForward()); navigationController.goForward(); }); navigateAndWaitForCompletion(URL3, () -> { assertTrue(navigationController.canGoForward()); navigationController.goForward(); }); runOnUiThreadBlocking(() -> { assertFalse(navigationController.canGoForward()); }); } @Test @SmallTest public void testSameDocument() throws Exception { InstrumentationActivity activity = mActivityTestRule.launchShellWithUrl(URL1); setNavigationCallback(activity); int curCompletedCount = mCallback.onCompletedCallback.getCallCount(); mActivityTestRule.executeScriptSync( "history.pushState(null, '', '#bar');", true /* useSeparateIsolate */); mCallback.onCompletedCallback.assertCalledWith( curCompletedCount, "data:text,foo#bar", true); } @Test @SmallTest public void testReload() throws Exception { InstrumentationActivity activity = mActivityTestRule.launchShellWithUrl(URL1); setNavigationCallback(activity); navigateAndWaitForCompletion( URL1, () -> { activity.getTab().getNavigationController().reload(); }); } @Test @SmallTest public void testStop() throws Exception { InstrumentationActivity activity = mActivityTestRule.launchShellWithUrl(URL1); setNavigationCallback(activity); int curFailedCount = mCallback.onFailedCallback.getCallCount(); runOnUiThreadBlocking(() -> { NavigationController navigationController = activity.getTab().getNavigationController(); navigationController.registerNavigationCallback(new NavigationCallback() { @Override public void onNavigationStarted(Navigation navigation) { navigationController.stop(); } }); navigationController.navigate(Uri.parse(URL2)); }); mCallback.onFailedCallback.assertCalledWith(curFailedCount, URL2); } @Test @SmallTest public void testRedirect() throws Exception { InstrumentationActivity activity = mActivityTestRule.launchShellWithUrl(URL1); setNavigationCallback(activity); int curRedirectedCount = mCallback.onRedirectedCallback.getCallCount(); String finalUrl = mActivityTestRule.getTestServer().getURL("/echo"); String url = mActivityTestRule.getTestServer().getURL("/server-redirect?" + finalUrl); navigateAndWaitForCompletion(finalUrl, () -> { activity.getTab().getNavigationController().navigate(Uri.parse(url)); }); mCallback.onRedirectedCallback.assertCalledWith( curRedirectedCount, Arrays.asList(Uri.parse(url), Uri.parse(finalUrl))); } @Test @SmallTest public void testNavigationList() throws Exception { InstrumentationActivity activity = mActivityTestRule.launchShellWithUrl(URL1); setNavigationCallback(activity); mActivityTestRule.navigateAndWait(URL2); mActivityTestRule.navigateAndWait(URL3); NavigationController navigationController = runOnUiThreadBlocking(() -> activity.getTab().getNavigationController()); runOnUiThreadBlocking(() -> { assertEquals(3, navigationController.getNavigationListSize()); assertEquals(2, navigationController.getNavigationListCurrentIndex()); assertEquals(URL1, navigationController.getNavigationEntryDisplayUri(0).toString()); assertEquals(URL2, navigationController.getNavigationEntryDisplayUri(1).toString()); assertEquals(URL3, navigationController.getNavigationEntryDisplayUri(2).toString()); }); navigateAndWaitForCompletion(URL2, () -> { navigationController.goBack(); }); runOnUiThreadBlocking(() -> { assertEquals(3, navigationController.getNavigationListSize()); assertEquals(1, navigationController.getNavigationListCurrentIndex()); }); } @Test @SmallTest public void testLoadError() throws Exception { String url = mActivityTestRule.getTestDataURL("non_existent.html"); InstrumentationActivity activity = mActivityTestRule.launchShellWithUrl("about:blank"); setNavigationCallback(activity); int curCompletedCount = mCallback.onCompletedCallback.getCallCount(); mActivityTestRule.navigateAndWait(url); mCallback.onCompletedCallback.assertCalledWith( curCompletedCount, url, LoadError.HTTP_CLIENT_ERROR); assertEquals(mCallback.onCompletedCallback.getHttpStatusCode(), 404); assertEquals(mCallback.onCompletedCallback.getNavigationState(), NavigationState.COMPLETE); } private void setNavigationCallback(InstrumentationActivity activity) { runOnUiThreadBlocking( () -> activity.getTab().getNavigationController().registerNavigationCallback( mCallback)); } private void navigateAndWaitForCompletion(String expectedUrl, Runnable navigateRunnable) throws Exception { int currentCallCount = mCallback.onCompletedCallback.getCallCount(); runOnUiThreadBlocking(navigateRunnable); mCallback.onCompletedCallback.assertCalledWith(currentCallCount, expectedUrl); } }
5cd2935a450eaac633ecc4e242131b05e4412135
0ed869988d3858c6191e02a4e981690a7f80a8f3
/src/main/java/com/elhagez/cricketer/FlightcheckinApplication.java
e982ed647cd734fff7cd178882172fcdafaaeb0c
[]
no_license
mostafa2991/RESTAPI_call_another_RESTAPI
ea7bd4c3d0eab8e62cef50b5c131ee946ff85a7e
0240d085abc426b0187d2854d0947d852f52ef2d
refs/heads/master
2022-11-20T13:11:12.179545
2020-07-07T20:10:35
2020-07-07T20:10:35
277,911,911
0
0
null
null
null
null
UTF-8
Java
false
false
328
java
package com.elhagez.cricketer; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class FlightcheckinApplication { public static void main(String[] args) { SpringApplication.run(FlightcheckinApplication.class, args); } }
2cc89ce3113887eba10ebb4f4d0a60100527b2f7
c0f21e592faa30fb583f07bcb6a8e71d28e783a6
/DormDesigner_src/Button.java
5b1b90e4b3cf944e87c848afb146d43e6e35e7a3
[]
no_license
wbaue2/ResumeProjects
124271009f68ce4cba5e4b41051b4aa0c43c5887
25c7774c0342acc7327966b782f22e2a24f93fc1
refs/heads/master
2020-04-04T08:49:07.903267
2018-11-02T14:36:54
2018-11-02T14:36:54
155,795,849
0
0
null
null
null
null
UTF-8
Java
false
false
4,410
java
//////////////////// ALL ASSIGNMENTS INCLUDE THIS SECTION ///////////////////// // // Title: Dorm Designer 3000 // Files: DormDesigner.jar, Main.java, Furniture.java, Button.java, CreateFurnitureButton.java, //////////////////// SaveButton.java, LoadButton.java, ClearButton.java, DormGUI.java // Course: CS 300, Summer 2018 // // Author: William Bauer // Email: [email protected] // Lecturer's Name: Mouna Kacem // //////////////////// PAIR PROGRAMMERS COMPLETE THIS SECTION /////////////////// // // Partner Name: None // Partner Email: // Partner Lecturer's Name: // // VERIFY THE FOLLOWING BY PLACING AN X NEXT TO EACH TRUE STATEMENT: // ___ Write-up states that pair programming is allowed for this assignment. // ___ We have both read and understand the course Pair Programming Policy. // ___ We have registered our team prior to the team registration deadline. // ///////////////////////////// CREDIT OUTSIDE HELP ///////////////////////////// // // Students who get help from sources other than their partner must fully // acknowledge and credit those sources of help here. Instructors and TAs do // not need to be credited here, but tutors, friends, relatives, room mates, // strangers, and others do. If you received no outside help from either type // of source, then please explicitly indicate NONE. // // Persons: // Online Sources: // /////////////////////////////// 80 COLUMNS WIDE /////////////////////////////// /** * This class is the super class for all of the button classes and contains their important fields * and methods to be used by main. * * @author Will * */ public class Button implements DormGUI { private static final int WIDTH = 96; private static final int HEIGHT = 32; protected PApplet processing; protected float[] position; protected String label; /** * This is the constructor for the Button Class. It initializes its protected fields. * * @param x * @param y * @param processing */ public Button(float x, float y, PApplet processing) { this.processing = processing; // Initializes the positions array with the passed in coordinates position = new float[] {x, y}; label = "Button"; } /** * The update method redraws the buttons to the screen and changes their color if the mouse is * over them. */ public void update() { boolean mouseOver = isMouseOver(); // If the mouse is over the button set its color to dark grey, else set it to light grey if (mouseOver) { this.processing.fill(100); } else { this.processing.fill(200); } // Draws the button onto the display this.processing.rect((position[0] - (WIDTH / 2)), (position[1] + (HEIGHT / 2)), (position[0] + (WIDTH / 2)), (position[1] - (HEIGHT / 2))); // Sets the color of the text in the button and draws it onto the display this.processing.fill(0); this.processing.text(label, position[0], position[1]); } /** * mouseDown gets overridden by the subclasses' mousDown methods. */ @Override public void mouseDown(Furniture[] furniture) { // If the mouse is pressed over the button print a message if (isMouseOver()) System.out.println("A button was pressed."); } /** * The mouseUp method is called when the mouse is released. */ @Override public void mouseUp() {} /** * This method determines if the mouse is currently over the button and returns a boolean. * */ public boolean isMouseOver() { boolean mouseOver = false; float buttonLeftEnd; float buttonRightEnd; float buttonTop; float buttonBottom; // Sets the dimensions of the button buttonLeftEnd = (this.position[0] - (WIDTH / 2)); buttonRightEnd = (this.position[0] + (WIDTH / 2)); buttonTop = (this.position[1] + (HEIGHT / 2)); buttonBottom = (this.position[1] - (HEIGHT / 2)); // If the mouse is within the dimensions of the button set mouseOver to be true if (buttonLeftEnd <= this.processing.mouseX && buttonRightEnd >= this.processing.mouseX && buttonBottom <= this.processing.mouseY && buttonTop >= this.processing.mouseY) { mouseOver = true; } return mouseOver; } }
5ffcdc3991a4bba4c42bd19b86d2d76e696f075f
3cb6f5cb7b68e46e67c919ce367b4f3e43f40fc0
/compsciSem2/src/com/peckVsTrain/OneDirectionCoders/Chicken.java
c6773d418386e716b30658bd7b2d31a9f6218466
[]
no_license
naebofcso/PeckVs.Train
ca564da45d600fdb3e525586d58f449fa9594d6e
ffa73b1d234be78ae3416364592ae79e77ce4674
refs/heads/master
2020-05-29T12:34:01.709278
2013-05-28T17:01:12
2013-05-28T17:01:12
null
0
0
null
null
null
null
UTF-8
Java
false
false
7,018
java
package com.peckVsTrain.OneDirectionCoders; import java.awt.Dimension; import java.awt.Image; import java.awt.Point; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; import javax.swing.ImageIcon; import javax.swing.JLabel; public class Chicken implements KeyListener { /** * */ private static final long serialVersionUID = 1L; private int score; private final int MULTIPLIER; private final int MAX_LIVES; private int numLives; private boolean invincible; private boolean multiplierFifteen; private boolean isSmall; private JLabel currentChickLabel; private JLabel[] chickLabels; private String[] chickURLs; private int row; private int col; private int garbageX; private int garbageY; private InvisibleGrid myGrid; /** * @param args */ public Chicken(int x, int y, InvisibleGrid grid) { col = x; row = y; myGrid = grid; MAX_LIVES = 5; MULTIPLIER = 15; numLives = 3; invincible = false; multiplierFifteen = false; isSmall = false; chickURLs = new String[] {"Resources/chickenup.png", "Resources/chickendown.png", "Resources/chickenleft.png", "Resources/chickenright.png"}; initializeLabels(); currentChickLabel = chickLabels[0]; setLocation(col, row); garbageX = -200; garbageY = -200; } /*------------------------------------------------------------------------------ @name initializeLabels - initializes the chicken labels */ /** Fills an array of type JLabel with the up, down, left, and right JLabel images of the chicken. @return null @param null */ //------------------------------------------------------------------------------ public void initializeLabels() { chickLabels = new JLabel[4]; for(int i = 0; i < chickLabels.length; i++) { ImageIcon chickImage = new ImageIcon(chickURLs[i]); chickLabels[i] = new JLabel(chickImage); //chickLabels[i].setIcon(chickImage); chickLabels[i].setSize(chickImage.getIconWidth(), chickImage.getIconHeight()); System.out.println(chickLabels[i].getSize()); if(i > 0) { chickLabels[i].setLocation(garbageX, garbageY); chickLabels[i].setVisible(false); } } } public void getEggProperty() { } /*------------------------------------------------------------------------------ @name getRow - get row */ /** returns the row that the egg is in. @return int of the row that the egg is in. @param null */ //------------------------------------------------------------------------------ public int getRow() { return row; } /*------------------------------------------------------------------------------ @name getCol - get col */ /** returns the col that the egg is in. @return int of the col that the egg is in. @param null */ //------------------------------------------------------------------------------ public int getCol() { return col; } /*------------------------------------------------------------------------------ @name getImage - get image */ /** returns the JLabel image that the chicken is associated with. @return JLabel of the image the chicken is associated with. @param null */ //------------------------------------------------------------------------------ public JLabel getImage() { return currentChickLabel; } /*------------------------------------------------------------------------------ @name setLocation - set location */ /** sets the location of the image of the chicken on the window. @return null @param null */ //------------------------------------------------------------------------------ public void setLocation(int x, int y) { currentChickLabel.setLocation(myGrid.getXCoords()[x], myGrid.getYCoords()[y]); } /*------------------------------------------------------------------------------ @name getLocation - get location */ /** gets the location of the image of the chicken on the window. @return point @param null */ //------------------------------------------------------------------------------ public Point getLocation() { return currentChickLabel.getLocation(); } @Override public void keyTyped(KeyEvent e) {} @Override public void keyPressed(KeyEvent e) { if(e.getKeyCode() == KeyEvent.VK_UP && row > 1) { switchLabels(currentChickLabel, chickLabels[0]); setLocation(col, row -1); row--; } if(e.getKeyCode() == KeyEvent.VK_DOWN && row < myGrid.getYCoords().length-1) { switchLabels(currentChickLabel, chickLabels[1]); setLocation(col, row + 1); row++; } if(e.getKeyCode() == KeyEvent.VK_LEFT && col > 0) { switchLabels(currentChickLabel, chickLabels[2]); setLocation(col - 1, row); col--; } if(e.getKeyCode() == KeyEvent.VK_RIGHT && col < myGrid.getXCoords().length-2) { switchLabels(currentChickLabel, chickLabels[3]); setLocation(col + 1, row); col++; } } @Override public void keyReleased(KeyEvent e) {} public Dimension getSize() { return currentChickLabel.getSize(); } public void switchLabels(JLabel label1, JLabel label2) { int x = label1.getX(); int y = label1.getY(); label1.setLocation(garbageX, garbageY); label2.setLocation(x, y); currentChickLabel = label2; currentChickLabel.setVisible(true); } public JLabel[] getImageArray() { return chickLabels; } }
553edbfe0927f6377b29ff61743c4a0ee6931c02
43f0ee726d3f65b2fb77eb80a3473ae646d17d02
/core/src/io/piotrjastrzebski/playground/simple/AtlasSaveTest.java
c663240d5f5c74242ecc7a66237f5b932b90b394
[]
no_license
piotr-j/libgdxplayground
a4280a672152d5a059a6828d9f56c1eab840a45e
db30e4c6b6c5f6476e8ce0794a40c9276e3e2e2b
refs/heads/master
2023-01-22T20:56:28.570574
2023-01-19T19:58:44
2023-01-19T19:58:44
37,018,024
41
8
null
null
null
null
UTF-8
Java
false
false
1,309
java
package io.piotrjastrzebski.playground.simple; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.graphics.Pixmap; import com.badlogic.gdx.graphics.PixmapIO; import com.badlogic.gdx.graphics.TextureData; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import io.piotrjastrzebski.playground.BaseScreen; import io.piotrjastrzebski.playground.GameReset; public class AtlasSaveTest extends BaseScreen { private final static String TAG = AtlasSaveTest.class.getSimpleName(); public AtlasSaveTest (GameReset game) { super(game); TextureAtlas atlas = new TextureAtlas("gui/uiskin.atlas"); FileHandle save = Gdx.files.external("save"); for (TextureAtlas.AtlasRegion region : atlas.getRegions()) { TextureData td = region.getTexture().getTextureData(); td.prepare(); Pixmap source = td.consumePixmap(); Pixmap pixmap = new Pixmap(region.originalWidth, region.originalHeight, Pixmap.Format.RGBA8888); pixmap.drawPixmap( source, (int)(td.getWidth() * region.getU()), (int)(td.getHeight() * region.getV()), region.originalWidth, region.originalHeight, (int)region.offsetX, (int)region.offsetY, region.originalWidth, region.originalHeight); PixmapIO.writePNG(save.child(region.name), pixmap); pixmap.dispose(); } } }
35cbd09b2bec4b522dbc80cbd2f5c2b522636aee
47833bc2c68e1cf6e85e14273bb9c58b1b0bf4d7
/src/main/java/com/festech/webapi/base/utils/WebUtil.java
b55bd3da83c4a3b8d3ce1bff2e0bd32e7cb6610c
[]
no_license
MMMMMine/festech
447a013ea4c394c48ebc75889c9f54647c031b07
dfc2ea6d1cfd3244824d6038088424504d81f734
refs/heads/master
2020-04-07T16:23:40.557724
2018-11-27T08:14:48
2018-11-27T08:14:48
158,527,257
0
0
null
null
null
null
UTF-8
Java
false
false
2,536
java
package com.festech.webapi.base.utils; import javax.servlet.http.HttpServletRequest; import java.net.InetAddress; import java.net.UnknownHostException; public class WebUtil { public static String getRemoteIP(HttpServletRequest request) { String ip = request.getHeader("x-forwarded-for"); if(ip!=null && (ip.indexOf(","))>0){ ip = ip.substring(ip.indexOf(",")); } if(ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { ip = request.getHeader("Proxy-Client-IP"); } if(ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { ip = request.getHeader("WL-Proxy-Client-IP"); } if(ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { ip = request.getRemoteAddr(); } return ip; } /** * 获取客户IP * @param request * @return */ public static String getClientIpAddr(HttpServletRequest request) { String ipAddress = null; String proxy=request.getHeader("Client-IP"); if( proxy == null || proxy.length() == 0 || "unknown".equalsIgnoreCase(proxy) ) proxy=request.getHeader("x-forwarded-for"); if( proxy == null || proxy.length() == 0 || "unknown".equalsIgnoreCase(proxy) ) proxy=request.getHeader("Proxy-Client-IP"); if( proxy == null || proxy.length() == 0 || "unknown".equalsIgnoreCase(proxy) ) proxy = request.getHeader("WL-Proxy-Client-IP"); if(proxy != null && proxy.length() > 0 && !"unknown".equalsIgnoreCase(proxy)) ipAddress = proxy.split(",")[0]; if(ipAddress == null || ipAddress.length() == 0 || "unknown".equalsIgnoreCase(ipAddress)) { ipAddress = request.getRemoteAddr(); if(ipAddress.equals("127.0.0.1")){ //根据网卡取本机配置的IP InetAddress inet=null; try { inet = InetAddress.getLocalHost(); } catch (UnknownHostException e) { e.printStackTrace(); } ipAddress= inet.getHostAddress(); } } //对于通过多个代理的情况,第一个IP为客户端真实IP,多个IP按照','分割 if(ipAddress!=null && ipAddress.length()>15){ if(ipAddress.indexOf(",")>0){ ipAddress = ipAddress.substring(0,ipAddress.indexOf(",")); } } return ipAddress; } }
4ea2efd1054f00ee5f46c7194344249299fd652d
e072ab45977d32a766d269038bcc72a53605768a
/src/main/java/com/bit/controller/PageController.java
892e5e6e0979a0a2c868327f078e338f544b65b5
[]
no_license
JongMinLee0/Spring_Bitly
b9cd3331883c7be394f1f9b97d97bba0a5aea6e7
d7a05da0b56ea725ee8c7d8baaef04df0a8b29a6
refs/heads/master
2020-06-16T15:06:57.912156
2019-07-28T10:27:52
2019-07-28T10:27:52
195,618,690
0
0
null
null
null
null
UTF-8
Java
false
false
504
java
package com.bit.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import javax.servlet.RequestDispatcher; @Controller public class PageController { @RequestMapping("/") public String HomepPage(){ return "index"; } @RequestMapping("/login") public String LoginPage(){ return "login"; } @RequestMapping("/signup") public String RegisterPage(){ return "signup"; } }
dba1dd4f5935eaa34d1b42faf3a76a72861cb48a
b451d80fa0f3d831a705ed58314b56dcd180ef4a
/kpluswebup_service_system/src/main/java/com/kpluswebup/web/admin/system/service/WhiteListService.java
74708e124b193e08e4ab83d7ba7941bcf0139c19
[]
no_license
beppezhang/sobe
8cbd9bbfcc81330964c2212c2a75f71fe98cc8df
5fafd84d96a3b082edbadced064a9c135115e719
refs/heads/master
2021-01-13T06:03:19.431407
2017-06-22T03:35:54
2017-06-22T03:35:54
95,071,332
0
1
null
null
null
null
UTF-8
Java
false
false
762
java
package com.kpluswebup.web.admin.system.service; import java.util.List; import com.kpluswebup.web.domain.WhiteListDTO; import com.kpluswebup.web.vo.WhiteListVO; public interface WhiteListService { /** * 查询IP白名单 * * @date 2014年11月24日 * @author wanghehua * @return * @since JDK 1.6 * @Description */ public List<WhiteListVO> findWhileList(); /** * 添加白名单 * * @date 2014年11月24日 * @author wanghehua * @param whiteListVO * @return * @since JDK 1.6 * @Description */ public void addWhiteIP(WhiteListDTO whiteListDTO); /** * 删除白名单 * @date 2014年11月24日 * @author wanghehua * @param id * @since JDK 1.6 * @Description */ public Boolean deleteWhiteIP(Long id); }
42bea1077f1260d0d510c93f534f16ab36f78d47
3dd35c0681b374ce31dbb255b87df077387405ff
/generated/productmodel/GenericGL7PremiumDeterminationType.java
02d068a6576f51f575831aa362791431cb2f7e06
[]
no_license
walisashwini/SBTBackup
58b635a358e8992339db8f2cc06978326fed1b99
4d4de43576ec483bc031f3213389f02a92ad7528
refs/heads/master
2023-01-11T09:09:10.205139
2020-11-18T12:11:45
2020-11-18T12:11:45
311,884,817
0
0
null
null
null
null
UTF-8
Java
false
false
532
java
package productmodel; @gw.lang.SimplePropertyProcessing @javax.annotation.Generated(comments = "config/resources/productmodel/policylinepatterns/GL7Line/coveragepatterns/GL7PolicyChangesExceptions.xml", date = "", value = "com.guidewire.pc.productmodel.codegen.ProductModelCodegen") public interface GenericGL7PremiumDeterminationType extends gw.api.domain.covterm.BooleanCovTerm { productmodel.GL7PolicyChangesExceptions getCondition(); productmodel.GL7PolicyChangesExceptions getGL7PolicyChangesExceptions(); }
7800d43af714b4e7a3d9c0dfbf242d3586fcc121
61f1634b8da0cdc4a8eb7648bc554d9d51ddf1ca
/app/src/main/java/com/codeexercise/activities/CardviewActivity.java
7b55ceb47bb8d1bc62476c0e33e8997b3504e32b
[]
no_license
kiranvuppul/CodeExercise
cb48d57dd69537295dacefce3bd49cf671737e3d
d8882e3da285f385ec0294c4c8489dc634c7ae00
refs/heads/master
2021-01-10T08:26:31.518277
2016-03-30T08:25:22
2016-03-30T08:25:22
55,045,806
0
0
null
null
null
null
UTF-8
Java
false
false
653
java
package com.codeexercise.activities; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import com.codeexercise.R; public class CardviewActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_cardview); Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); } }
8569b632f63c06a19e88015728fc3ff5bdf4fa78
61cf3109eaf4561e071d93f9daf0d3cf9155ca9f
/src/com/rbt/webappaction/WebApporderAction.java
eafb61d8097ab2e24c60603c6bc6859cc832298a
[]
no_license
haoouwen/epf
b620fe05c93db178a122cfef778d31c036a2a822
abe0f1ed564f33dcf766591c5f9b04ce2b5e8094
refs/heads/master
2021-01-19T13:46:10.278247
2017-08-20T10:40:12
2017-08-20T10:40:12
100,859,509
1
2
null
null
null
null
UTF-8
Java
false
false
86,785
java
/* * Package:com.rbt.webaction * FileName: WeborderAction.java */ package com.rbt.webappaction; import java.io.IOException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.lucene.queryParser.ParseException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import com.browseengine.bobo.api.BrowseException; import com.rbt.common.Md5; import com.rbt.common.util.DateUtil; import com.rbt.common.util.JsonUtil; import com.rbt.common.util.RandomStrUtil; import com.rbt.common.util.ValidateUtil; import com.rbt.function.AreaFuc; import com.rbt.function.CommparaFuc; import com.rbt.function.CouponFuc; import com.rbt.function.LogisticsFuc; import com.rbt.function.MessageAltFuc; import com.rbt.function.SalegoodsFuc; import com.rbt.function.SaleorderFuc; import com.rbt.function.SysconfigFuc; import com.rbt.function.ToolsFuc; import com.rbt.model.Buyeraddr; import com.rbt.model.Goods; import com.rbt.model.Goodseval; import com.rbt.model.Goodsshare; import com.rbt.model.Malllevelset; import com.rbt.model.Member; import com.rbt.model.Memberuser; import com.rbt.model.Goodsorder; import com.rbt.model.Orderdetail; import com.rbt.model.Orderinvoice; import com.rbt.model.Ordertrans; import com.rbt.model.Memberfund; import com.rbt.model.Fundhistory; import com.rbt.model.Refundapp; import com.rbt.model.Saleorder; import com.rbt.model.Sendmode; import com.rbt.model.Shopconfig; import com.rbt.service.IBuyeraddrService; import com.rbt.service.IComsumerService; import com.rbt.service.IDirectorderdetailService; import com.rbt.service.IGoodsService; import com.rbt.service.IGoodsevalService; import com.rbt.service.IGoodsshareService; import com.rbt.service.IMalllevelsetService; import com.rbt.service.IMemberService; import com.rbt.service.IMemberinterService; import com.rbt.service.IMemberuserService; import com.rbt.service.IGoodsorderService; import com.rbt.service.IOrderdetailService; import com.rbt.service.IOrdertransService; import com.rbt.service.IPaymentService; import com.rbt.service.IRedsumerService; import com.rbt.service.IRefundappService; import com.rbt.service.ISaleorderService; import com.rbt.service.ISendmodeService; import com.rbt.service.IMemberfundService; import com.rbt.service.IFundhistoryService; import com.rbt.service.IShopconfigService; import com.rbt.service.ISysfundService; /** * @author : WXP * @date Mar 5, 2014 1:31:22 PM * @Method Description :订单管理 */ @Controller public class WebApporderAction extends WebAppbaseAction { /** * 序列化 */ private static final long serialVersionUID = 4188151694946837175L; /** *****************实体层******************* */ public Member buyMember;// 买家对象 public Goodsorder goodsorder; // 订单对象 public Orderdetail orderdetail;// 订单详情对象 public Ordertrans ordertrans;// 订单异动记录 public Buyeraddr buyeraddr;// 收货地址对象 public Memberfund memberfund;// 会员余额对象 public Fundhistory fundhistory;// 余额流水 public Goodseval goodseval;// 商品评价 public Refundapp refundapp; public Memberuser memberuser; public Memberuser memberuser_seller; private Orderinvoice orderinvoice; public Saleorder saleorder;//订单促销对象 /** *****************业务层接口*************** */ @Autowired public IPaymentService paymentService; @Autowired public IMemberService memberService; @Autowired public IMemberuserService memberuserService; @Autowired public IBuyeraddrService buyeraddrService; @Autowired public IGoodsorderService goodsorderService; @Autowired public IOrderdetailService orderdetailService; @Autowired public IOrdertransService ordertransService; @Autowired public ISendmodeService sendmodeService; @Autowired public IMemberfundService memberfundService; @Autowired public IFundhistoryService fundhistoryService; @Autowired public IShopconfigService shopconfigService; @Autowired public IGoodsevalService goodsevalService; @Autowired public IRefundappService refundappService; @Autowired private IGoodsService goodsService; @Autowired private IMemberinterService memberinterService; @Autowired private ISysfundService sysfundService; @Autowired private IGoodsshareService goodsshareService; @Autowired private IDirectorderdetailService directorderdetailService; @Autowired private IMalllevelsetService malllevelsetService; @Autowired private IComsumerService comsumerService; @Autowired private IRedsumerService redsumerService; @Autowired private ISaleorderService saleorderService; /** *******************集合******************* */ public List goodsList;// 商品 public List orderList = new ArrayList();// 订单商品列表 public List shopList = new ArrayList();// 店铺列表 public Map shopMap=new HashMap(); public List addrList;// 收货地列表 public List orderPayList;// 待付款订单列表 public int orderPayNum;// 待付款订单个数 public List detailList;// 订单详细列表信息 public List paymentList; public List goodsladderList;// 商品阶梯价格 public List sendmodeList;// 物流公司 public List p_contentList; public List z_contentList; public List comsumerList;//优惠券列表 public List redsumerList;//红包列表 /** *******************字段******************* */ // 订单相关数据 public String cust_id_str;// 卖家标识串 public String goods_id_str;// 卖家标识串 public String goods_length_str;// 店铺商品个数串 public String trade_id_str;// 流水号标识串 public String cookie_id_str;// cookie_id标识串 public String goods_name_str;// 商品名称串 public String goods_cat_str;// 商品分类串 public String goods_img_str;// 商品图片串 public String spec_id_str;// 规格值标识串 public String spec_name_str;// 规格值名称串 public String sale_price_str;// 商品单价串 public String give_inter_str;// 商品获赠积分串 public String order_num_str;// 订单个数串 public String shop_name_str;// 店铺名称串 public String shop_qq_str;// 店铺QQ public String radom_no_str;// 店铺随机数 public String end_area_attr;// 物流目的地 public String smode_id_str;// 配送方式ID public String ship_str;// 配送方式 方式+价格 public String ship_name_str;// 配送方式名称 public String ship_price_str;// 配送价格 public String use_integral_str;//是否使用积分 public String integral_state = "0";//积分购买状态 public double integral_total_amount;//积分总数 public String goods_amount_str;// 商品总价格串 public String shop_total_amount_str;// 店铺总价格串(含运费) public String all_total;//订单总价 public String ship_free_str;// 运费 public String addr_id;// 收货地址标识 public double total_amount;// 订单总价 public double total_balance;//账户余额付款 public String cust_name;// 会员名称 public String mem_remark_str;// 买家订单备注 public String trade_id;// 主键(更新库存用) public String order_type;// 订单类型 public String is_group;// 是否团购商品 public String group_id;// 团购标识 public String is_direct;// 是否预售商品 public String direct_id;// 预售标识 public String spike_id;// 秒杀标识 public String combo_id;// 套餐标识 public String loc;// 跳回登录前的位置 // 订单支付相关 public String sub_total_price;// 待支付订单金额 public Double use_num_pay;// 使用账户余额支付金额 public String pay_password;// 支付密码 public String flag;// 判断是否立即购买 public String order_id_str;// 临时存储订单号 public String order_id;// 订单号 public Integer orderdetaiCount = 0; public String sell_cust_id; // 卖家标识 public Shopconfig shopconfig;// 店铺信息 public String order_goods_id_str;// 商品评价的商品ID串 public String order_goods_feng_str;// 商品评价的商品分数 public String order_goods_content_str;// 商品评价的内容 public String order_goods_sharepic_str;//商品晒单图片 public String order_service_attitude;// 卖家服务态度 public String order_delivery_speed;// 卖家发货速度 public String order_desc;// 描述相符 public String order_area;// 地区 public String v_area_attr; // 退款****** public String refundapp_id;// 退款id public String is_get;// 是否收到货0未收到1收到 public String is_return;// 是否退货0不退1退 public String imgString;// 图片凭证 public String need_refund;// 退款金额 public String buy_refund_type;// 申请退款类型 public boolean is_deny_num = false; public String buy_refund_reason;// 退款说明 public String seller_refund_reason;// 拒绝退款说明 public String refundDealtime;// 卖家处理时间 public String refund_sendtime;// 买家退货时间 public String refund_suretime;// 卖家确认收货时间 public String sell_remark;// 卖家给买家退货地址时的留言 public String send_mode;// 退货物流公司 public String send_num;// 退货运单号 public int cfg_Refund_deny_num = Integer.parseInt(SysconfigFuc .getSysValue("cfg_Refund_deny_num"));// 卖家拒绝退款最多次数 public boolean is_buyer = false;// 判断是否买家 // *******退款 public String logistics_query;// 快递查询结果 public String kuai_number;// 快递号 public String kuai_company;// 快递公司 public String kuai_company_code;// 快递公司代码 public String seller_area_name; public String is_virtual;// 是否虚拟 public String cartId_str;// 购物车商品流水号 public String isSpike;// 判断是否是秒杀 private String cfg_sc_pointsrule = SysconfigFuc.getSysValue("cfg_sc_pointsrule");//积分规则 public String gotourl;//比较用于团购买自己商品时不让跳到商品详细页,而是团购详细页 //晒单对象 private Goodsshare goodsshare; public String goods_id;//普通商品ID public String is_check_mobile;//判断是否手机验证 public String is_check_email; //判断是否邮箱验证 public String pay_pass;//判断支付密码 public String cfg_order_allfund = SysconfigFuc.getSysValue("cfg_order_allfund"); public String cfg_freight = SysconfigFuc.getSysValue("cfg_freight"); public String order_pay_tip; public String hasfree="0"; public String custnum; public String registertype; public double cfg_sc_exchscale=Integer.parseInt(SysconfigFuc.getSysValue("cfg_sc_exchscale")); //积分兑换 public double cfg_maxpay=Integer.parseInt(SysconfigFuc.getSysValue("cfg_maxpay")); public String allinter;//总 public String available_inter;//可用 public String paytype_id; //是否使用余额 public String is_use_inter; public String use_paynum; public double discount=0.0; public String inter_sub; //优惠券参数 public String coupon_id;//优惠券ID public String coupon_goods_id;//商品ID public String coupon_money;//优惠金额 public String subtotal_str;//小计 public String comsumer_id;// public String coupon_cust_id;//贸易方式ID //红包参数 public String red_id;//红包ID public String redsumer_id; public String red_money;//优惠金额 public String is_ship_free;//是否包邮 public double order_money = 0.0;//订单优惠券金额 public String order_names; //订单活动名称 public double shoptotal_norate;//打折后商品总价 public String type; public String pay_terminal;//付款终端H5或者APP public String order_sign_str=""; /** * @author : WXP * @param : * @date Mar 14, 2014 10:01:36 AM * @Method Description :跳转至实物订单页面 */ public String goOrder() throws Exception { HttpServletRequest request = getRequest(); // 判断是否登录 if (this.session_cust_id.equals("") || this.session_cust_id.equals("0")) { getResponse().sendRedirect("/webappLogin.html?loc=" + loc+"&custnum="+custnum+"&registertype="+registertype); return null; } if(ValidateUtil.isRequired(goods_id_str)){ getResponse().sendRedirect("/webapp/goods!mallcart.action"); return null; } Memberuser mu = new Memberuser(); if (spec_id_str!=null&&spec_id_str.endsWith(",")) { spec_id_str = spec_id_str + " "; } if (spec_name_str!=null&&spec_name_str.endsWith(",")) { spec_name_str = spec_name_str + " "; } if (goods_img_str!=null&&goods_img_str.endsWith(",")) { goods_img_str = goods_img_str + " "; } String[] cust_id = cust_id_str.split(","); String[] goods_id = goods_id_str.split(","); String[] goods_length = goods_length_str.split(","); String[] goods_name = goods_name_str.split(","); String[] goods_cat = goods_cat_str.split("#"); String[] goods_img = goods_img_str.split(","); String[] spec_id = spec_id_str.split(","); String[] spec_name = spec_name_str.split(","); String[] sale_price = sale_price_str.split(","); String[] order_num = order_num_str.split(","); String[] shop_name = shop_name_str.split(","); String[] shop_qq = shop_qq_str.split(","); String[] radom_no = radom_no_str.split(","); String[] use_integral = use_integral_str.split(","); //商品总价 double alltotal = 0.0; //获取会员对象 Member member = this.memberService.get(this.session_cust_id); // 判断是否购买自己的商品 if (isSpike != null && isSpike.equals("1")) { if (cust_id_str != null && !cust_id_str.equals("") && cust_id_str.contains(this.session_cust_id)) { if(goods_id_str.contains(",")){ getResponse().sendRedirect( "/webapp/goods!mallcart.action?&isBuySelf=0"); }else getResponse().sendRedirect( "/webapp/goods!detail.action?gid=" + goods_id_str + "&isBuySelf=0"); return null; } } else { if (cust_id_str != null && !cust_id_str.equals("") && cust_id_str.contains(this.session_cust_id)) { if(goods_id_str.contains(",")){ getResponse().sendRedirect( "/webapp/goods!mallcart.action?&isBuySelf=0"); }else{ if(gotourl!=null&&!"".equals(gotourl)){ getResponse().sendRedirect(gotourl+ "&isBuySelf=0"); }else{ getResponse().sendRedirect( "/webapp/goods!detail.action?gid=" + goods_id_str + "&isBuySelf=0"); } } return null; } } int x = 0, y = 0; for (int i = 0; i < cust_id.length; i++) { Map shopMap = new HashMap(); shopMap.put("shop_cust_id", cust_id[i].trim()); shopMap.put("shop_name", shop_name[i].trim()); shopMap.put("shop_qq", shop_qq[i].trim()); shopMap.put("goods_length", goods_length[i]); shopMap.put("radom_no", radom_no[i].trim()); shopList.add(shopMap); shopList = shopList; if (i == 0) { x = 0; } else { x += Integer.parseInt(goods_length[i - 1].trim());// } y = Integer.parseInt(goods_length_str.trim()) + x;// for (int j = x; j < y; j++) { if (spec_id[j] == null || "".equals(spec_id[j])) { spec_id[j] = " "; } if (spec_name[j] == null || "".equals(spec_name[j])) { spec_name[j] = " "; } if (goods_img[j] == null || "".equals(goods_img[j])) { goods_img[j] = " "; } Goods goods = this.goodsService.get(goods_id[j]); if(goods.getIs_ship().equals("0")){ hasfree="1"; } Map orderMap = new HashMap(); Double tax_rate=0.0; if(goods.getTax_rate()!=null){ tax_rate=Double.parseDouble(goods.getTax_rate()); } orderMap.put("cust_id", cust_id[i].trim()); orderMap.put("goods_id", goods_id[j].trim()); orderMap.put("tax_rate", tax_rate); orderMap.put("goods_name", goods_name[j].trim()); orderMap.put("goods_cat", goods_cat[j].trim()); orderMap.put("goods_img", goods_img[j].trim()); orderMap.put("spec_id", spec_id[j].trim()); orderMap.put("spec_name", spec_name[j].trim()); orderMap.put("sale_price", sale_price[j].trim()); orderMap.put("use_integral", use_integral[j].trim()); give_inter_str= Double.toString(Double.parseDouble(cfg_sc_pointsrule) * Double.parseDouble(sale_price[j].trim())/100); orderMap.put("give_inter", give_inter_str); orderMap.put("order_num", order_num[j].trim());; if (order_type != null && order_type.equals("5")) { orderMap.put("order_type", "5"); orderMap.put("group_id", group_id); } alltotal += Double.valueOf(sale_price[j].trim()) * Double.valueOf(order_num[j].trim()); orderList.add(orderMap); orderList = orderList; } } //商品促销 orderList = SalegoodsFuc.replaceCartgoodsList(orderList, "1", member.getBuy_level()); //获取会员优惠券 Map comMap = new HashMap(); comMap.put("cust_id", this.session_cust_id); comMap.put("use_state", "0"); comMap.put("now", "1"); comMap.put("member_level", member.getBuy_level()); comsumerList = this.comsumerService.getList(comMap); //判断购买商品是否有可以用的优惠券 comsumerList = CouponFuc.couponList(comsumerList, goods_id_str, sale_price_str, order_num_str, member.getBuy_level()); //获取会员红包 redsumerList = this.redsumerService.getList(comMap); // 获取买家收货地址 getBuyerAddrList(); Map cMap = new HashMap(); cMap.put("para_code", "z_content"); z_contentList = commparaService.getList(cMap); cMap.put("para_code", "p_content"); p_contentList = commparaService.getList(cMap); allinter=memberinterService.get(this.session_cust_id).getFund_num().toString(); available_inter=Double.parseDouble(allinter)/cfg_sc_exchscale+""; memberfund=this.memberfundService.get(this.session_cust_id); String level = member.getBuy_level().trim(); Malllevelset malllevelset=new Malllevelset(); malllevelset=this.malllevelsetService.get(level); discount=Double.parseDouble(malllevelset.getDiscount())/100; //订单促销 String sale_id = SaleorderFuc.getSaleorderId("1", member.getBuy_level()); //免运费ID String ship_sale_id = ""; if(!ValidateUtil.isRequired(sale_id)) { //订单促销 String[] sale_ids = sale_id.trim().split(","); //优惠条件 String low_price = ""; for(int k = 0; k < sale_ids.length; k ++ ) { //部分商品总价 double goodsall = 0.0; saleorder = this.saleorderService.get(sale_ids[k]); if(saleorder != null) { //计算指定商品总价 if(saleorder.getTerm_state().equals("3")) { for(int i = 0; i < goods_id.length; i ++ ) { if(ifcontansInfo(goods_id[i].trim(),saleorder.getTerm())==true) { goodsall += Double.valueOf(sale_price[i].trim()) * Double.valueOf(order_num[i].trim()); } } } //当订单总价满X时,给予优惠 if(saleorder.getTerm_state().equals("1")){ if(saleorder.getCoupon_state().equals("3")) { //找出免运费最低条件 if(ValidateUtil.isRequired(ship_sale_id)) { ship_sale_id = saleorder.getSale_id(); low_price = saleorder.getNeed_money(); }else if(Double.valueOf(saleorder.getNeed_money()) < Double.valueOf(low_price)){ ship_sale_id = saleorder.getSale_id(); low_price = saleorder.getNeed_money(); } } }else if(saleorder.getTerm_state().equals("2") ) { //判断免运费优惠方案 if(saleorder.getCoupon_state().equals("3")) { ship_sale_id = saleorder.getSale_id(); low_price = saleorder.getNeed_money(); }else { //其他活动名称 if(saleorder.getCoupon_state().equals("5")){ //计算订单优惠金额 order_money += Double.valueOf(saleorder.getCoupon_plan()); } //获取订单活动名称 if(ValidateUtil.isRequired(order_names)) { order_names = saleorder.getSale_name(); }else { order_names += "," + saleorder.getSale_name(); } } }else if(saleorder.getTerm_state().equals("3")) {//判断免运费条件 //判断免运费优惠方案 if(saleorder.getCoupon_state().equals("3")) { if(ValidateUtil.isRequired(ship_sale_id)) { ship_sale_id = saleorder.getSale_id(); low_price = saleorder.getNeed_money(); }else if(Double.valueOf(saleorder.getNeed_money()) < Double.valueOf(low_price)){ ship_sale_id = saleorder.getSale_id(); low_price = saleorder.getNeed_money(); } }else if((goodsall* discount) >= Double.valueOf(saleorder.getNeed_money())){ //其他活动名称 if(saleorder.getCoupon_state().equals("5")){ //计算订单优惠金额 order_money += Double.valueOf(saleorder.getCoupon_plan()); } //获取订单活动名称 if(ValidateUtil.isRequired(order_names)) { order_names = saleorder.getSale_name(); }else { order_names += "," + saleorder.getSale_name(); } } }else if(saleorder.getTerm_state().equals("4")) {//判断免运费条件 //判断免运费优惠方案 if(saleorder.getCoupon_state().equals("3")) { if(ValidateUtil.isRequired(ship_sale_id)) { ship_sale_id = saleorder.getSale_id(); low_price = saleorder.getNeed_money(); }else if(Double.valueOf(saleorder.getNeed_money()) < Double.valueOf(low_price)){ ship_sale_id = saleorder.getSale_id(); low_price = saleorder.getNeed_money(); } }else if((alltotal* discount) >= Double.valueOf(saleorder.getNeed_money())){ //其他活动名称 if(saleorder.getCoupon_state().equals("5")){ //计算订单优惠金额 order_money += Double.valueOf(saleorder.getCoupon_plan()); } //获取订单活动名称 if(ValidateUtil.isRequired(order_names)) { order_names = saleorder.getSale_name(); }else { order_names += "," + saleorder.getSale_name(); } } } } } } //获取免费订单活动 if(!ValidateUtil.isRequired(ship_sale_id)) { saleorder = this.saleorderService.get(ship_sale_id); }else{ saleorder = null; } order_sign_str=RandomStrUtil.generateString(18); return goUrl("mbSubmitOrder"); } public static boolean ifcontansInfo(String gid,String gstr){ boolean fage=false; if(gid!=null&&!"".equals(gid)&&gstr!=null&&!"".equals(gstr)){ String gstrs[]=gstr.split(","); if(gstrs!=null){ for(int i=0;i<=gstrs.length-1;i++){ if(gstrs[i]!=null){ if(gid.equals(gstrs[i].toString())){ fage=true; } } } } } return fage; } /** * @author : WXP * @param :cust_id * @date Mar 6, 2014 1:46:29 PM * @Method Description :获取用户的收货地址 */ public void getBuyerAddrList() { Map addrMap = new HashMap(); addrMap.put("cust_id", this.session_cust_id); addrList = this.buyeraddrService.getList(addrMap); addrList = ToolsFuc.replaceList(addrList, ""); } /** * @author : QJY * @param : * @date Mar 6, 2014 2:36:29 PM * @Method Description :新增收货地址 */ public String addressList(){ return goUrl("mbappAddress"); } /** * @author : WXP * @param : * @date Mar 6, 2014 2:36:29 PM * @Method Description :新增收货地址 */ public void addAddr() throws Exception { HttpServletResponse response = getResponse(); HttpServletRequest request = getRequest(); response.setCharacterEncoding("utf-8"); request.setCharacterEncoding("utf-8"); PrintWriter out = response.getWriter(); // 商城保存收货地址最大数 if (this.session_cust_id != null && !this.session_cust_id.equals("")) { String addr_id = request.getParameter("addr_id"); Map map = new HashMap(); map.put("cust_id", this.session_cust_id); int count = this.buyeraddrService.getCount(map); if ((count >= cfg_maxaddressnumber)&&validateFactory.isRequired(addr_id)) { out.write("1"); } else { // 获取地区html String addrDiv = this.orderdetailService.getAddrDiv(request, this.session_cust_id, this.session_user_name);//修改成插入用户名 out.write(addrDiv); } } else { out.write("0"); } } /** * @Method Description:修改收货地址 * @author : HZX * @throws IOException * @date : Jul 18, 2014 8:54:00 AM */ public void auAddr() throws IOException{ HttpServletResponse response = getResponse(); HttpServletRequest request = getRequest(); response.setCharacterEncoding("UTF-8"); request.setCharacterEncoding("UTF-8"); PrintWriter out = response.getWriter(); String id=request.getParameter("id"); if(id!=null&&!"".equals(id)){ buyeraddr=this.buyeraddrService.get(id); } String outStr = JsonUtil.object2json(buyeraddr); out.print(outStr); } /** * @Method Description :初始化收货地址 * @author : HZX * @throws IOException * @date : Jul 21, 2014 10:02:34 AM */ public void initAddr() throws IOException{ HttpServletResponse response = getResponse(); response.setCharacterEncoding("UTF-8"); PrintWriter out=response.getWriter(); Map pageMap = new HashMap(); pageMap.put("cust_id", this.session_cust_id); List buyaddrList= this.buyeraddrService.getList(pageMap); buyaddrList = ToolsFuc.replaceList(buyaddrList, ""); String outStr = JsonUtil.list2json(buyaddrList); out.print(outStr); } /** * @author : WXP * @param : * @date Mar 22, 2014 10:10:29 AM * @Method Description :删除收货地址 */ public void delAddr() throws IOException { HttpServletResponse response = getResponse(); HttpServletRequest request = getRequest(); response.setCharacterEncoding("UTF-8"); request.setCharacterEncoding("UTF-8"); PrintWriter out = response.getWriter(); try { if (this.session_cust_id != null && !this.session_cust_id.equals("")) { // 获取主键 String addr_id = request.getParameter("addr_id"); this.buyeraddrService.delete(addr_id); out.write("1"); } else { out.write("0"); } } catch (RuntimeException e) { e.printStackTrace(); out.write("3"); } } /** * @Method Description :验证订单签名 */ public void checkOrderSing() throws IOException { HttpServletResponse response = getResponse(); HttpServletRequest request = getRequest(); response.setCharacterEncoding("UTF-8"); request.setCharacterEncoding("UTF-8"); PrintWriter out = response.getWriter(); try { if (this.session_cust_id != null&& !this.session_cust_id.equals("")) { // 获取主键 String order_sign = request.getParameter("order_sign_str"); List oList=new ArrayList(); HashMap oMap=new HashMap (); oMap.put("order_sign", order_sign); oList=this.goodsorderService.getConfirmReceiptOrderList(oMap); if(oList!=null&&oList.size()>0){ out.write("0"); }else { out.write("1"); } } else { out.write("2"); } } catch (RuntimeException e) { e.printStackTrace(); out.write("0"); } } /** * ajax获取地址信息 * @throws IOException */ public void getAddr()throws IOException{ HttpServletRequest request=getRequest(); HttpServletResponse response=getResponse(); response.setCharacterEncoding("UTF-8"); request.setCharacterEncoding("UTF-8"); PrintWriter out= response.getWriter(); try{ if(!ValidateUtil.isRequired(this.session_cust_id)){ String addr_id =request.getParameter("addr_id"); Map map=new HashMap(); map.put("addr_id", addr_id); List list =this.buyeraddrService.getList(map); String jsonStr=JsonUtil.list2json(list); out.write(jsonStr); }else{ out.write("0"); } }catch (Exception e) { e.printStackTrace(); } } /** * @author : WXP * @param : * @date Mar 6, 2014 2:36:29 PM * @Method Description :新增收货地址 */ public void updateAddr() throws Exception { HttpServletResponse response = getResponse(); HttpServletRequest request = getRequest(); response.setCharacterEncoding("UTF-8"); request.setCharacterEncoding("UTF-8"); PrintWriter out = response.getWriter(); if (this.session_cust_id != null && !this.session_cust_id.equals("")) { // 获取地区html String addrDiv = this.orderdetailService.updateAddrDiv(request, this.session_cust_id, this.session_user_id); out.write(addrDiv); } else { out.write("0"); } } /** * 判断收货地址是否为空 * @throws Exception */ public void is_address() throws Exception { HttpServletResponse response = getResponse(); HttpServletRequest request = getRequest(); response.setCharacterEncoding("utf-8"); request.setCharacterEncoding("utf-8"); PrintWriter out = response.getWriter(); Map payMap = new HashMap(); String cust_id =""; if(!ValidateUtil.isRequired(request.getParameter("cust_id"))){ cust_id = request.getParameter("cust_id").toString(); HashMap adressMap = new HashMap(); adressMap.put("cust_id",cust_id); List buyadressList = buyeraddrService.getList(adressMap); if(buyadressList == null || buyadressList.size()==0){ out.write("0"); } } } /** * * @throws IOException */ public void isLimit() throws IOException{ HttpServletResponse response = getResponse(); HttpServletRequest request = getRequest(); response.setCharacterEncoding("utf-8"); request.setCharacterEncoding("utf-8"); goods_id_str= request.getParameter("goods_id_str"); order_num_str= request.getParameter("order_num_str"); PrintWriter out = response.getWriter(); String[] goods_id = goods_id_str.split(","); String[] order_num = order_num_str.split(","); Goods goods=new Goods(); int limit_num=0,now_buy=0,buied =0,l_b=0,stock=0; for(int i=0;i<goods_id.length;i++ ){ goods =this.goodsService.getByPkNoDel(goods_id[i]); if(goods==null||goods.getIs_up().equals("1")){ out.write("2");//商品已下架 } stock=Integer.parseInt(goods.getTotal_stock()); //limit_num=Integer.parseInt(goods.getLimit_num()); now_buy=Integer.parseInt(order_num[i]); if(0==stock||now_buy>stock){ out.write("3");//库存不足 } } //out.write("1"); } /** * @author : WXP * @param : * @date Mar 7, 2014 2:57:49 PM * @Method Description :提交订单(实物商品) */ @SuppressWarnings("unchecked") public String subOrder() throws Exception, ParseException, BrowseException { if (this.session_cust_id != null && !this.session_cust_id.equals("")) { //验证订单签名不为空 且数据库不存在该签名 if(order_sign_str!=null&&!"".equals(order_sign_str)){ List oList=new ArrayList(); HashMap oMap=new HashMap (); oMap.put("order_sign", order_sign_str); oList=this.goodsorderService.getConfirmReceiptOrderList(oMap); if(oList!=null&&oList.size()>0){ //调整到订单中心 getResponse().sendRedirect("/webapp/goodsorder!webappAllOrder.action"); return NONE; } }else { //调整到订单中心 getResponse().sendRedirect("/webapp/goodsorder!webappAllOrder.action"); return NONE; } String[] cust_id = cust_id_str.split(","); String[] goods_id = goods_id_str.replaceAll(" ", "").split(","); String[] inter_subs = inter_sub.split(","); String[] goods_name = goods_name_str.split(",");//商品名称 String[] goods_img = goods_img_str.split(",");//商品主图 String[] goods_length = goods_length_str.split(","); String[] spec_id = spec_id_str.split(","); String[] spec_name = spec_name_str.split(","); String[] sale_price = new String[goods_id.length]; String[] give_inter = give_inter_str.split(","); String[] order_num = order_num_str.split(","); String[] goods_amount = new String[cust_id.length]; String[] shop_total_amount = new String[cust_id.length]; String[] ship_free = new String[goods_id.length]; String[] smode_id = new String[goods_id.length]; String[] subtotal = subtotal_str.split(","); //String[] mem_remark = mem_remark_str.split(","); Map order_varMap = new HashMap(); order_varMap.put("cust_id", cust_id); order_varMap.put("goods_id", goods_id); order_varMap.put("goods_name", goods_name); order_varMap.put("goods_img", goods_img); order_varMap.put("goods_length", goods_length); order_varMap.put("spec_id", spec_id); order_varMap.put("spec_name", spec_name); order_varMap.put("sale_price", sale_price); order_varMap.put("give_inter", give_inter); order_varMap.put("order_num", order_num); order_varMap.put("goods_amount", goods_amount); order_varMap.put("shop_total_amount", shop_total_amount); order_varMap.put("ship_free", ship_free); order_varMap.put("smode_id", smode_id); //order_varMap.put("mem_remark", mem_remark); order_varMap.put("order_id_str", order_id_str); order_varMap.put("addr_id", addr_id); order_varMap.put("order_type", order_type); order_varMap.put("goods_id_str", goods_id_str); order_varMap.put("goods_name_str", goods_name_str); order_varMap.put("goods_img_str", goods_img_str); order_varMap.put("order_num_str", order_num_str); order_varMap.put("group_id", group_id); order_varMap.put("spike_id", spike_id); order_varMap.put("combo_id", combo_id); order_varMap.put("trade_id", trade_id); order_varMap.put("session_cust_id", session_cust_id); order_varMap.put("session_user_id", session_user_id); order_varMap.put("session_level_code", session_level_code); order_varMap.put("is_webapp_order", "1");//PC端订单或者是手机触屏版订单 orderinvoice.setArea_attr(v_area_attr); orderinvoice.setCust_id(this.session_cust_id); orderinvoice.setUser_id(this.session_user_id); order_varMap.put("orderinvoice", orderinvoice); order_varMap.put("paytype_id", paytype_id); order_varMap.put("is_use_inter", is_use_inter); order_varMap.put("use_paynum", use_paynum); order_varMap.put("inter_subs", inter_subs); order_varMap.put("coupon_id", coupon_id); order_varMap.put("coupon_goods_id", coupon_goods_id); order_varMap.put("coupon_money", coupon_money); order_varMap.put("subtotal", subtotal); order_varMap.put("comsumer_id", comsumer_id); order_varMap.put("coupon_cust_id", coupon_cust_id); order_varMap.put("red_id", red_id); order_varMap.put("redsumer_id", redsumer_id); order_varMap.put("red_money", red_money); order_varMap.put("is_ship_free", is_ship_free); order_varMap.put("all_total", total_amount); order_varMap.put("integral_state", integral_state); order_varMap.put("shoptotal_norate", shoptotal_norate); order_varMap.put("order_sign", order_sign_str); //获取会员对象 Member member = this.memberService.get(this.session_cust_id); //获取会员级别 String level=member.getBuy_level().trim(); Malllevelset malllevelset=new Malllevelset(); malllevelset=this.malllevelsetService.get(level); discount=Double.parseDouble(malllevelset.getDiscount())/100; order_varMap.put("discount", discount); if("on".equals(paytype_id)){ String buy_cust_id = this.session_cust_id; // 校验支付密码 Map payMap = new HashMap(); payMap.put("cust_id", buy_cust_id); String pwd = Md5.getMD5(pay_password.getBytes()); payMap.put("pay_passwd", pwd); List list = this.memberfundService.getList(payMap); if (list != null && list.size() > 0) { } else { this.addFieldError("pay_password", "支付密码不正确,重新输入!"); return goOrder(); } } order_id_str = this.orderdetailService.addOrder(order_varMap, getResponse()); return goUrl("topay"); } else { getResponse().sendRedirect("/webappLogin.html"); return goUrl("mbLogin"); } } /** * @author : WXP * @param : * @date Mar 8, 2014 10:32:47 AM * @Method Description :跳转至支付页面 */ public String goPay() throws Exception { if (!ValidateUtil.isRequired(order_id_str)) { // 获取订单信息 goodsorder = new Goodsorder(); String[] ids=null; String ido; integral_total_amount = total_amount; total_amount=0; total_balance = 0; ids=order_id_str.replace(" ","").split(","); for(int i=0;i<ids.length;i++){ goodsorder = this.goodsorderService.get(ids[i]); if (!goodsorder.getOrder_state().equals("1")) { commonBuyResponse(goodsorder.getOrder_id(), goodsorder .getOrder_state()); return null; } total_amount+=(goodsorder.getTatal_amount()-Double.parseDouble(goodsorder.getBalance_use())-Double.parseDouble(goodsorder.getIntegral_use())); total_balance += Double.parseDouble(goodsorder.getBalance_use()); //账户是否使用了账户余额 if(goodsorder.getBalance_use()!=null && !goodsorder.getBalance_use().equals("0")){ fundGoldManage(ids[i]); } } // 获取订单列表 Map orderMap = new HashMap(); orderMap.put("order_id_in", order_id_str); // 待付款订单个数 orderPayNum = this.goodsorderService.getWebCount(orderMap); // 待付款订单列表 orderPayList = this.goodsorderService.getWebList(orderMap); // 获取买家对象 buyMember = new Member(); buyMember = this.memberService.get(this.session_cust_id); // 获取买家的余额情况 memberfund = memberfundService.get(this.session_cust_id); // 获取支付方式 Map paymap = new HashMap(); paymap.put("enabled", "0"); paymentList = paymentService.getList(paymap); order_type=goodsorder.getOrder_type(); memberuser=memberuserService.get(this.session_user_id); //判断支付密码 if(memberuser.getCust_id()!=null && !"".equals(memberuser.getCust_id())){ memberfund=this.memberfundService.get(memberuser.getCust_id()); if(memberfund!=null){ pay_pass=memberfund.getPay_passwd(); } } //判断是否已手机验证 if(!"".equals(memberuser.getIs_check_mobile())){ is_check_mobile=memberuser.getIs_check_mobile(); } //判断是否已邮箱验证 if(!"".equals(memberuser.getIs_check_email())){ is_check_email=memberuser.getIs_check_email(); } //需支付的订单金额 if(total_amount == 0 || "".equals(String.valueOf(total_amount)) || integral_state.equals("1")){ // 发送信息提醒 for(int i=0;i<ids.length;i++){ if(!ValidateUtil.isRequired(ids[i])){ Goodsorder gorder = new Goodsorder(); gorder=goodsorderService.get(ids[i]); if(gorder!=null&&"1".equals(gorder.getOrder_state())){ if("1".equals(integral_state)){ //积分付款 if("2".equals(gorder.getOrder_type())){ mestipByBuyer("4",ids[i]); updateOrderState(ids[i],"2"); //更新库存 orderdetailService.updateStockBypayment(ids[i]); }else { return goUrl("mbOrderPay"); } }else { //其他付款 mestipByBuyer("4",ids[i]); updateOrderState(ids[i],"2"); //更新库存 orderdetailService.updateStockBypayment(ids[i]); //更新商品销售量, 销量记录 在付款之后就加销量 goodsorderService.updateGoodsSales(ids[i]); } } } } return goUrl("mPaymentResult"); }else{ return goUrl("mbOrderPay"); } } else { return goUrl("mbOrderPay"); } } /** * @author : WXP * @param : * @date Mar 11, 2014 2:35:04 PM * @Method Description :跳转至确认支付页面 */ public String confirmPay() throws Exception { // 获取订单 goPay(); return goUrl("confirmPay"); } /** * @author : HXK * @param : * @date Mar 11, 2014 2:35:04 PM * @Method Description :跳转至确认在线支付页面 */ public String confirmOnlinePay() throws Exception { // 获取订单 goPay(); return goUrl("onlineconfirmPay"); } /** * 支付密码是否输入正确 * @throws Exception */ public void is_PayPasswordRight() throws Exception { HttpServletResponse response = getResponse(); HttpServletRequest request = getRequest(); response.setCharacterEncoding("utf-8"); request.setCharacterEncoding("utf-8"); PrintWriter out = response.getWriter(); Map payMap = new HashMap(); String cust_id ="",psw="",pay_password=""; if(!ValidateUtil.isRequired(request.getParameter("cust_id")) && !ValidateUtil.isRequired(request.getParameter("psw"))){ cust_id = request.getParameter("cust_id").toString(); psw = request.getParameter("psw").toString(); memberfund = memberfundService.get(cust_id); pay_password = memberfund.getPay_passwd(); psw = Md5.getMD5(psw.getBytes()); if(!pay_password.equals(psw)){ out.write("0"); } } } /** * @author : WXP * @param : * @throws Exception * @date Mar 11, 2014 2:28:08 PM * @Method Description :账户余额支付 */ public String useNumPay() throws Exception { if (pay_password == null || pay_password.equals("")) { this.addFieldError("pay_password", "支付密码不能为空!"); return goPay(); } if (order_id_str == null || order_id_str.equals("")) { return goPay(); } String[] order_id = order_id_str.split(","); //判断订单是否已经支付过了 if(order_id!=null && !"".equals(order_id[0])){ goodsorder = goodsorderService.get(order_id[0]); if(goodsorder!=null){ if("2".equals(goodsorder.getOrder_state())){ this.addFieldError("pay_password", "该订单已经支付过了,请勿重复支付!"); return goPay(); } } } String buy_cust_id = this.session_cust_id; if (buy_cust_id != null && !buy_cust_id.equals("")) { // 校验支付密码 Map payMap = new HashMap(); payMap.put("cust_id", buy_cust_id); String pwd = Md5.getMD5(pay_password.getBytes()); payMap.put("pay_passwd", pwd); List list = this.memberfundService.getList(payMap); if (list != null && list.size() > 0) { String lengthString = this.orderdetailService.useNumPay( session_user_id, buy_cust_id, order_id); int go = lengthString.length(); switch (go) { case 1: getResponse().sendRedirect("/bmall_Memberfund_view.action"); return ""; case 2: break; default: String oid_gid[] = lengthString.split("#"); String oid = oid_gid[0]; this.addFieldError("pay_password", "很抱歉,订单中有商品已下架或删除!请重拍"); return goPay(); } } else { this.addFieldError("pay_password", "支付密码不正确,重新输入!"); return goPay(); } if(goodsorder.getOrder_type().equals("7")){ getResponse().sendRedirect( "/bmall_Goodsorder_postageList.action"); }else if (is_virtual.equals("0")) { getResponse().sendRedirect( "/bmall_Goodsorder_buyVirtualList.action"); } else getResponse().sendRedirect( "/bmall_Goodsorder_buyorderlist.action"); } else { getResponse().sendRedirect("/login.html"); } return null; } /** * @param :order_id_str * 订单号串 * @Method Description :支付的时候验证 库存是否够 */ public void checkGoodsNum() throws IOException { HttpServletResponse response = getResponse(); HttpServletRequest request = getRequest(); response.setCharacterEncoding("UTF-8"); request.setCharacterEncoding("UTF-8"); PrintWriter out = response.getWriter(); boolean fage=true; try { if(request.getParameter("order_id_str")!=null&&!"".equals(request.getParameter("order_id_str"))){ // 订单号 String order_id_str = request.getParameter("order_id_str"); fage=orderdetailService.checkGoodsNum(order_id_str); if(fage==true){ out.write("1"); }else { out.write("0"); } }else { out.write("0"); } } catch (RuntimeException e) { e.printStackTrace(); out.write("0"); } } /** * @author : WXP * @param :order_id_str * 订单号串 * @date Mar 27, 2014 9:40:37 AM * @Method Description :刷新订单价格 */ public void refreshPrice() throws IOException { HttpServletResponse response = getResponse(); HttpServletRequest request = getRequest(); response.setCharacterEncoding("UTF-8"); request.setCharacterEncoding("UTF-8"); PrintWriter out = response.getWriter(); try { // 订单号 String order_id_str = request.getParameter("order_id_str"); // 获取订单列表 Map orderMap = new HashMap(); orderMap.put("order_id_in", order_id_str); // 待付款订单列表 orderPayList = this.goodsorderService.getWebList(orderMap); // list2json String orderStr = JsonUtil.list2json(orderPayList); out.write(orderStr); } catch (RuntimeException e) { e.printStackTrace(); out.write("0"); } } // //////////////////////////////////////以下是订单处理信息///////////////////////////////////// /** * @author : HXK * @param : * @date Mar 11, 2014 2:35:04 PM * @Method Description :前台商品评价-查看 */ public String orderEvaluateView() throws IOException { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { // 获取订单信息 goodsorder = new Goodsorder(); goodsorder = this.goodsorderService.get(order_id); order_type=goodsorder.getOrder_type(); if (!"8".equals(goodsorder.getOrder_state())) { // 获取商品信息 Map detailMap = new HashMap(); detailMap.put("order_id", order_id); if("6".equals(order_type)){ detailList = this.directorderdetailService.getList(detailMap); }else { detailList = this.orderdetailService.getList(detailMap); } orderdetaiCount = detailList.size(); // 获取店铺信息 shopconfig = shopconfigService.getByCustID(goodsorder .getSell_cust_id()); return goUrl("order_evaluate"); } else { getResponse().sendRedirect( "/mall-order-success-" + order_id + ".html"); } return null; } else { return null; } } } /** * @author : HXK 方法描述:会员修改订单状态 * @return * @throws Exception */ public void updateOrderState(String s_order_id, String s_order_state) throws Exception { // 订单状态表示:0:订单取消 1:未付款 2:已付款 3:已发货 4:退款中 5:退款成功 6:退款失败:7:交易成功 8:已评价 Goodsorder goods_order = new Goodsorder(); goods_order.setOrder_id(s_order_id); goods_order.setOrder_state(s_order_state); Map stateMap = new HashMap(); stateMap.put("order_state", s_order_state); stateMap.put("order_id", s_order_id); if (s_order_state.equals("2")) { stateMap.put("pay_time", "pay_time"); if(integral_state.equals("1")){ stateMap.put("pay_id", "13"); stateMap.put("order_type", "2");//订单类型为积分订单 }else { stateMap.put("pay_id", "4"); } stateMap.put("pay_trxid", DateUtil.getFormatLong()+DateUtil.getSix()); } if (s_order_state.equals("3")) { stateMap.put("send_time", "send_time"); } if (s_order_state.equals("7")) { stateMap.put("sure_time", "sure_time"); } goodsorderService.update(stateMap); //插入订单异动信息表 String reason=CommparaFuc.getReason(s_order_state,null); insertOrderTrans(s_order_id, reason, s_order_state); } /** * @author : HXK * @param : * @date Mar 12, 2014 1:33:55 PM * @Method Description :资金处理 */ private void fundGoldManage(String oid) { Goodsorder order = goodsorderService.get(oid); // 获取买家的ID String order_buy_cust_id = order.getBuy_cust_id(); //会员账户资金 //Double buy_use_num = this.memberfundService.outAndInNum(this.session_cust_id, Double.parseDouble(order.getBalance_use()), 0); //运营商总账户资金,冻结 this.sysfundService.freezeNum(Double.parseDouble(order.getBalance_use()), 0); // 买家资金处理 Double use_num = 0.0;//总资金 Memberfund buy_mf = memberfundService.get(order_buy_cust_id); if (buy_mf != null) { use_num = Double.parseDouble(buy_mf.getUse_num()); } // 买家的资金异动 Fundhistory buy_fh = new Fundhistory(); buy_fh.setBalance(use_num); buy_fh.setFund_in(0.00); buy_fh.setFund_out(Double.parseDouble(order.getBalance_use())); buy_fh.setPay_type("0");//余额支付 buy_fh.setCust_id(order_buy_cust_id); buy_fh.setUser_id(this.session_user_id); buy_fh.setReason("会员为订单号:" + oid + ",余额支付" + order.getBalance_use() + "元"); fundhistoryService.insert(buy_fh); } /** * 方法描述:修改订单的时候,插入订单异动表信息 * * @return * @throws Exception */ public void insertOrderTrans(String order_id, String reason, String order_state) { ordertrans = new Ordertrans(); ordertransService.inserOrderTran(order_id, session_cust_id, session_user_id, reason, order_state, session_user_name); } /** * @author : HXK * @throws Exception * @date Mar 11, 2014 2:35:04 PM * @Method Description :前台商品评价 * @修改人:QJY * @date 2014 10:45:59 AM * @add 商品晒单 */ public String orderEvaluate() throws Exception { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { if (orderdetaiCount != null && !orderdetaiCount.equals("0")) { String order_goods_id_strs[] = order_goods_id_str .split(","); String order_goods_feng_strs[] = order_goods_feng_str .split(","); String order_goods_content_strs[] = order_goods_content_str .split("##########"); String order_goods_sharepic_strs[] = order_goods_sharepic_str .split("##########"); for (int i = 0; i < orderdetaiCount; i++) { String explan_cust_id = null;// 卖家标识 // 插入商品评论表 goodseval = new Goodseval(); goodseval.setCust_id(this.session_cust_id); goodseval.setExplan_content(""); if("6".equals(order_type)){ goodseval.setE_type("1"); }else { goodseval.setE_type("0"); } // 截取评论字数为200 String str_comment = ""; if (order_goods_content_strs[i] != null) { if (order_goods_content_strs[i].length() < 200) { str_comment = order_goods_content_strs[i] .toString(); } else { str_comment = order_goods_content_strs[i] .substring(0, 199); } } goodseval.setG_comment(str_comment); goodseval.setG_eval(order_goods_feng_strs[i]); goodseval.setGoods_id(order_goods_id_strs[i]); goodseval.setIs_enable("0"); goodseval.setIs_two("0"); goodseval.setUser_id(this.session_user_id); if (this.goodsService.get(order_goods_id_strs[i]) != null) { explan_cust_id = this.goodsService.get( order_goods_id_strs[i]).getCust_id(); } goodseval.setExplan_cust_id(explan_cust_id); String eval_id = goodsevalService .insertGetPk(goodseval); //插入商品晒单图 goodsshare = new Goodsshare(); goodsshare.setEval_id(eval_id); goodsshare.setCust_id(this.session_cust_id); goodsshare.setUser_id(this.session_user_id); goodsshare.setGoods_id(order_goods_id_strs[i]); String sharepicStr = ""; // 由于前台商采用论采用插件原因,把插入路径片包装成html格式<img // src=''/>,方便前台晒图直接取值 if (!ValidateUtil .isRequired(order_goods_sharepic_strs[i])) {// 判断晒图图片内容是否为空 StringBuffer sharepicSB = new StringBuffer(); if (order_goods_sharepic_strs[i].indexOf(",") > 0) {// 判断晒图是否是多张图片 String[] sharepicArray = order_goods_sharepic_strs[i] .split(","); for (int j = 0; j < sharepicArray.length; j++) { sharepicSB.append("<img src='"); sharepicSB.append(sharepicArray[j]); sharepicSB .append("' width='50px' height='50px' style='border:1px solid #dcdcdc;'/>&nbsp;"); } } else { sharepicSB.append("<img src='"); sharepicSB.append(order_goods_sharepic_strs[i]); sharepicSB .append("' width='50px' height='50px' style='border:1px solid #dcdcdc;'/>"); } sharepicStr = sharepicSB.toString(); } else { sharepicStr = "暂无晒图"; } goodsshare.setShare_pic(sharepicStr); goodsshareService.insert(goodsshare); } // 更新订单状态为 已评价 updateOrderState(order_id, "8"); if (is_virtual != null && !is_virtual.equals("")) { getResponse().sendRedirect( "/bmall_Goodsorder_buyVirtualList.action"); } else { getResponse().sendRedirect( "/bmall_Goodsorder_buyorderlist.action"); } } } return NONE; } } /** * @author : HXK * @param : * @date Mar 11, 2014 2:35:04 PM * @Method Description :前台商品确认收货-查看 */ public String orderConfirmReceiptView() throws IOException { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { // 获取订单信息 goodsorder = new Goodsorder(); goodsorder = this.goodsorderService.get(order_id); order_type=goodsorder.getOrder_type(); if (goodsorder.getOrder_state().equals("3")) { // 获取商品信息 Map detailMap = new HashMap(); detailMap.put("order_id", order_id); if("6".equals(order_type)){ detailList = this.directorderdetailService.getList(detailMap); }else { detailList = this.orderdetailService.getList(detailMap); } orderdetaiCount = detailList.size(); // 获取店铺信息 shopconfig = shopconfigService.getByCustID(goodsorder .getSell_cust_id()); order_area = AreaFuc.getAreaNameByMap(goodsorder .getArea_attr()); return goUrl("order_confirm_receipt"); } else { commonBuyResponse(goodsorder.getOrder_id(), goodsorder .getOrder_state()); return null; } } else { return null; } } } /** * @author : HXK * @throws Exception * @date Mar 28, 2014 2:35:04 PM * @Method Description :前台商品确认收货 */ public String orderConfirmReceipt() throws Exception { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (pay_password == null || pay_password.equals("")) { this.addFieldError("pay_password", "支付密码不能为空!"); return orderConfirmReceiptView(); } if (order_id != null) { String buy_cust_id = this.session_cust_id; // 校验支付密码 Map payMap = new HashMap(); payMap.put("cust_id", buy_cust_id); String pwd = Md5.getMD5(pay_password.getBytes()); payMap.put("pay_passwd", pwd); List list = this.memberfundService.getList(payMap); if (list != null && list.size() > 0) { // 付款到卖家 sellerFundManage(order_id); // 更新订单状态为 已评价 updateOrderState(order_id, "7"); // 插入积分 insertOrderInter(order_id); // 消息提醒 mestipByBuyer("1", order_id); } else { this.addFieldError("pay_password", "支付密码不正确,重新输入!"); return orderConfirmReceiptView(); } getResponse().sendRedirect( "/mall-goodsevaluate-" + order_id + ".html"); return null; } else { return null; } } } /** * @Method Description :插入积分:目前默认购买多少钱 送多少积分 * @author: HXK * @date : May 16, 2014 11:26:45 AM * @param * @return return_type */ public void insertOrderInter(String goodsorder_id) { goodsorderService.insertOrderInter(goodsorder_id, cfg_sc_pointsrule, this.session_user_id); } /** * @author : HXK * @param : * @date Mar 28, 2014 1:33:55 PM * @Method Description :将资金从运营转入卖家 */ private void sellerFundManage(String oid) { goodsorderService.sellerFundManage(oid, this.session_user_id); } /** * @author : HXK * @param : * @date Mar 28, 2014 1:33:55 PM * @Method Description :将资金从运营转入买家 */ private void buyFundManage(String oid) { Goodsorder order = this.goodsorderService.get(oid); refundapp = refundappService.getByOrderId(order_id); if (order != null) { Double refund_momey = 0.0; // 退款金额 refund_momey = Double.parseDouble(refundapp.getRefund_amount()); // 获取卖家的ID String buy_cust_id = order.getBuy_cust_id(); //处理平台总资金 sysfundService.freezeNum(refund_momey, 1); // 买家资金处理 Double i1= memberfundService.outAndInNum(buy_cust_id, refund_momey, 1); // 买家的资金异动 Fundhistory buy_fh = new Fundhistory(); buy_fh.setBalance(i1); buy_fh.setCust_id(buy_cust_id); buy_fh.setFund_in(refund_momey); buy_fh.setFund_out(0.0); buy_fh.setUser_id(this.session_user_id); buy_fh.setReason("买家收到订单号:" + oid + " 退款支付" + refund_momey + "元"); this.fundhistoryService.insert(buy_fh); } } /** * @author : HXK * @param : * @date Mar 11, 2014 2:35:04 PM * @Method Description :前台买家退款申请-查看 */ public String orderBuyRefundmentView() throws IOException { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { // 获取订单信息 goodsorder = new Goodsorder(); goodsorder = this.goodsorderService.get(order_id); if (this.refundappService.getByOrderId(order_id) != null) { refundapp = this.refundappService.getByOrderId(order_id); } // 获取商品信息 Map detailMap = new HashMap(); detailMap.put("order_id", order_id); detailList = this.orderdetailService.getList(detailMap); orderdetaiCount = detailList.size(); // 获取店铺信息 shopconfig = shopconfigService.getByCustID(goodsorder .getSell_cust_id()); gCommparaList("buy_refund"); return goUrl("order_buy_refundment"); } else { return null; } } } /** * @author : HXK * @throws Exception * @date Mar 28, 2014 2:35:04 PM * @Method Description :前台买家退款申请-操作 */ public String orderBuyRefundment() throws Exception { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { if (refundappService.getByOrderId(order_id) != null) { return orderRefundmentView(); } goodsorder = new Goodsorder(); goodsorder = goodsorderService.get(order_id); SimpleDateFormat df = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss");// 设置日期格式 String buy_cust_id = this.session_cust_id; Refundapp refundapp = new Refundapp(); refundapp = commonCheck(goodsorder, refundapp); refundapp.setBuy_reason(buy_refund_reason + "[" + df.format(new Date()) + "]"); if (super.ifvalidatepass) { return orderBuyRefundmentView(); } refundapp.setBuy_cust_id(buy_cust_id); refundapp.setBuy_user_id(this.session_user_id); refundapp.setBuy_date(df.format(new Date())); refundapp.setOrder_id(order_id); // 0:退款中,1:退款成功,2:退款失败 refundapp.setRefund_state("0"); // refundapp.setInfo_state("0"); refundapp.setInfo_state(""); refundapp.setSeller_cust_id(goodsorder.getSell_cust_id()); refundappService.insert(refundapp); // 更新订单状态为 退款中 updateOrderState(order_id, "4"); // 消息提醒 mestipBySeller("5", order_id); this.addActionMessage("已提交退款申请,请等待卖家处理!"); return orderRefundmentView(); } else { return null; } } } /** * @author : HZX * @date : Nov 5, 2014 9:14:15 AM * @Method Description :更新退款申请 */ public String orderBuyRefundmentUpdate() throws Exception { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { SimpleDateFormat df = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss");// 设置日期格式 goodsorder = new Goodsorder(); goodsorder = goodsorderService.get(order_id); refundapp = this.refundappService.get(refundapp_id); refundapp = commonCheck(goodsorder, refundapp); refundapp.setBuy_reason(refundapp.getBuy_reason() + " [" + df.format(new Date()) + "] " + buy_refund_reason); refundapp.setIs_treated("1");// 卖家当前是否需要处理 1: 是 0:否 refundapp.setRefund_state("0"); if (cfg_Refund_deny_num <= Integer.parseInt(refundapp .getDeny_num())) { is_deny_num = true; this.addFieldError("buy_refund_type", "您已经申请过" + cfg_Refund_deny_num + "次,已达上限,您还可以要求官方介入"); } if (super.ifvalidatepass) { return orderBuyRefundmentView(); } refundappService.update(refundapp); // 更新订单状态为 已评价 updateOrderState(order_id, "4"); // 消息提醒 mestipBySeller("5", order_id); this.addActionMessage("已提交退款申请,请等待卖家处理!"); return orderRefundmentView(); } else { return null; } } } /** * @author : HZX * @date : Nov 5, 2014 2:23:33 PM * @Method Description :新增修改退款申请公共校验 */ public Refundapp commonCheck(Goodsorder goodsorder, Refundapp refundapp) { if (buy_refund_type != null && !buy_refund_type.equals("--请选择退款理由--")) { refundapp.setBuy_type(buy_refund_type); } else { this.addFieldError("buy_refund_type", "请选择退款理由"); } if (buy_refund_reason != null && !buy_refund_reason.equals("")) { if (buy_refund_reason.indexOf(">") > -1) { this.addFieldError("buy_refund_reason", "系统检测到非法字符,请填写退款说明"); } if (buy_refund_reason.length() > 10000) { this.addFieldError("buy_refund_reason", "字数太多,请重新修改退款说明"); } } else { this.addFieldError("buy_refund_reason", "请填写退款说明"); } if (goodsorder.getOrder_state().equals("3")) { if (is_get != null && is_get != "") { boolean is_save; if (is_get.equals("0")) {// 0:未收到货 refundapp.setIs_get("0"); refundapp.setRefund_amount(goodsorder.getTatal_amount() .toString()); is_save = checkImg();// 校验图片 if (is_save) { refundapp.setImg_path(imgString); } } else if (is_get.equals("1")) { refundapp.setIs_get("1"); is_save = checkImg();// 校验图片 if (is_save) { refundapp.setImg_path(imgString); } if (need_refund != null && !need_refund.equals("")) { if (Double.parseDouble(need_refund) > goodsorder .getTatal_amount()) { this.addFieldError("need_refund", "退款金额超过已付款金额"); } else { refundapp.setRefund_amount((Double .parseDouble(need_refund) + "").trim()); } } else { this.addFieldError("need_refund", "请填写需退款金额"); } if (is_return != null && !is_return.equals("")) { refundapp.setIs_return(is_return); } else { this.addFieldError("is_return", "请选择是否需要退货"); } } } else { this.addFieldError("is_get", "请确认是否已收到货"); } } else if (goodsorder.getOrder_state().equals("2")) { refundapp.setRefund_amount(goodsorder.getTatal_amount().toString()); } return refundapp; } /** * @author : HZX * @date : Nov 4, 2014 4:17:23 PM * @Method Description :公共校验图片 */ public boolean checkImg() { boolean is_save = true; if (imgString != null && !imgString.equals("")) { if (imgString.indexOf(",") > -1) { String[] imgStrings = imgString.split(","); if (imgStrings.length >= 4) { this.addFieldError("refundapp.img_path", "最多3张图片"); is_save = false; } } } return is_save; } /** * @author : HZX * @throws IOException * @throws java.text.ParseException * @date : Nov 5, 2014 9:47:34 AM * @Method Description :取消退款 */ public String cancelRefund() throws IOException, java.text.ParseException { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { // 获取订单信息 refundapp = new Refundapp(); refundapp = this.refundappService.get(order_id); if (refundapp!=null&&refundapp.getRefund_state().equals("0")) { //申请售后类型,1:退货,0退款 //详情商品状态:0:正常,1,退款中,2:退款关闭,3:退款成功,4退货中,5退货关闭,6,退货成功,7,换货中,8换货关闭,9换货成功 String s_refund_state="2"; if(refundapp.getIs_return()!=null&&"1".equals(refundapp.getIs_return())){ s_refund_state="5"; }else if(refundapp.getIs_return()!=null&&"0".equals(refundapp.getIs_return())) { s_refund_state="2"; } this.refundappService.cancelRefund(order_id,"",s_refund_state); } } return null; } } /** * @author : HZX * @date : Dec 7, 2014 3:58:14 PM * @Method Description :申请官方介入 */ public void getInvolved() throws IOException { HttpServletResponse response = getResponse(); HttpServletRequest request = getRequest(); response.setCharacterEncoding("UTF-8"); request.setCharacterEncoding("UTF-8"); PrintWriter out = response.getWriter(); // 订单号 String order_id = request.getParameter("order_id"); if (this.session_cust_id == null || this.session_cust_id.equals("")) { out.write("0"); } else { if (order_id != null) { refundapp = refundappService.getByOrderId(order_id); if(!ValidateUtil.isRequired(refundapp.getInfo_state())){ out.write("3"); }else{ refundapp.setInfo_state("2"); this.refundappService.update(refundapp); out.write("1"); } } else { out.write("2"); } } } /** * @author : HZX * @date : Nov 6, 2014 5:26:10 PM * @Method Description :卖家同意退款后向买家提供退货地址 */ public String setRefundAddr() throws IOException { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { // 获取订单信息 goodsorder = this.goodsorderService.get(order_id); refundapp = refundappService.getByOrderId(order_id); //判断当前状态是否为3 退款处理0:退款中,1:退款成功,2:退款失败3:等待买家发货4:买家已发货5:退款关闭 //如果退款状态为3话,那就可能出现刷新重新进来 要捕获 if("0".equals(refundapp.getRefund_state())){ // 实例化收货地址对象 if (addr_id != null && !addr_id.equals("")) { buyeraddr = this.buyeraddrService.get(addr_id); SimpleDateFormat df = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss");// 设置日期格式 refundapp.setSeller_date(df.format(new Date())); refundapp.setConsignee(buyeraddr.getConsignee()); refundapp.setMobile(buyeraddr.getCell_phone()); refundapp.setTelephone(buyeraddr.getPhone()); refundapp.setSell_address(buyeraddr.getAddress()); refundapp.setArea_attr(buyeraddr.getArea_attr()); refundapp.setZip_code(buyeraddr.getPost_code()); refundapp.setSell_remark(sell_remark); //设置退款状态为 3等待买家发货---HXK2014-11-19 0:退款中,1:退款成功,2:退款失败3:等待买家发货4:买家已发货5:退款关闭 refundapp.setRefund_state("3"); this.refundappService.update(refundapp); } } return orderRefundmentView(); } else { return NONE; } } } /** * @author : HXK * @param :mes_id:消息提醒模版 * order_id:订单ID * @date Mar 11, 2014 2:35:04 PM * @Method Description :前台订单提醒-发送给买家 */ public void mestipByBuyer(String mes_id, String order_id) throws UnsupportedEncodingException { Goodsorder gorder = new Goodsorder(); gorder = goodsorderService.get(order_id); if (gorder != null) { MessageAltFuc mesalt = new MessageAltFuc(); mesalt.messageAutoSend(mes_id, gorder.getBuy_cust_id(), gorder); } } /** * @author : HXK * @param :mes_id:消息提醒模版 * order_id:订单ID * @date Mar 11, 2014 2:35:04 PM * @Method Description :前台订单提醒-发送给卖家 */ public void mestipBySeller(String mes_id, String order_id) throws UnsupportedEncodingException { Goodsorder gorder = new Goodsorder(); gorder = goodsorderService.get(order_id); MessageAltFuc mesalt = new MessageAltFuc(); mesalt.messageAutoSend(mes_id, gorder.getSell_cust_id(), gorder); } /** * @author : HXK * @param : * @date Mar 11, 2014 2:35:04 PM * @Method Description :前台卖家退款申请-查看 */ public String orderSellerRefundmentView() throws IOException { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { // 获取订单信息 goodsorder = new Goodsorder(); goodsorder = this.goodsorderService.get(order_id); // 获取商品信息 Map detailMap = new HashMap(); detailMap.put("order_id", order_id); detailList = this.orderdetailService.getList(detailMap); orderdetaiCount = detailList.size(); // 获取店铺信息 shopconfig = shopconfigService.getByCustID(goodsorder .getSell_cust_id()); refundapp = refundappService.getByOrderId(order_id); if (refundapp.getSeller_state() != null && refundapp.getConsignee() == null) { if (refundapp.getIs_return() != null && refundapp.getIs_return().equals("1") && refundapp.getSeller_state().equals("0") && refundapp.getRefund_state().equals("0")) { getBuyerAddrList();// 获取卖家地址 } } gCommparaList("buy_refund"); return goUrl("order_seller_refundment"); } else { return null; } } } /** * @author : HXK * @throws Exception * @date Mar 28, 2014 2:35:04 PM * @Method Description :前台卖家退款申请-同意退款操作 */ public String sellerAgreeRefundment() throws Exception { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (pay_password == null || pay_password.equals("")) { this.addFieldError("pay_password", "支付密码不能为空!"); return sellerAgreeIsneedReturn(); } if (order_id != null) { String seller_cust_id = this.session_cust_id; // 校验支付密码 Map payMap = new HashMap(); payMap.put("cust_id", seller_cust_id); String pwd = Md5.getMD5(pay_password.getBytes()); payMap.put("pay_passwd", pwd); List list = this.memberfundService.getList(payMap); if (list != null && list.size() > 0) { if (this.refundappService.getByOrderId(order_id) != null) { Refundapp refundapp = this.refundappService .getByOrderId(order_id); String is_return = refundapp.getIs_return(); if (is_return != null && is_return.equals("1") && refundapp.getSend_time() == null) { SimpleDateFormat df = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss");// 设置日期格式 refundapp.setSeller_date(df.format(new Date())); refundapp.setSeller_user_id(this.session_user_id); refundapp.setSeller_state("0"); refundapp.setInfo_state("0"); this.refundappService.update(refundapp); return sellerAgreeIsneedReturn(); } } // 操作退款 updateRefund(order_id, "", "0", "0"); // 付款到买家 buyFundManage(order_id); // 更新订单状态为 退款成功 updateOrderState(order_id, "5"); // 消息提醒 mestipByBuyer("12", order_id); } else { this.addFieldError("pay_password", "支付密码不正确,重新输入!"); return sellerAgreeIsneedReturn(); } this.addActionMessage("已提交同意退款,且已将资金退款给买家!"); // 插入订单异动记录 ordertransService.inserOrderTran(order_id, session_cust_id, session_user_id, CommparaFuc.getReason("1", "同意退款,且已将资金退款给买家!"), "5", session_user_name); return orderRefundmentView(); } else { return null; } } } /** * @author : HZX * @throws IOException * @date : Nov 8, 2014 11:07:14 AM * @Method Description :卖家没收到货,要求官方介入 */ public String noGetRefund() throws IOException { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { SimpleDateFormat df = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss");// 设置日期格式 refundapp = refundappService.getByOrderId(order_id); if (refundapp != null && refundapp.getInfo_state() != null && refundapp.getInfo_state().equals("1")) { return sellerAgreeIsneedReturn(); } refundapp.setInfo_state("2"); refundapp.setSeller_date(df.format(new Date())); refundapp.setSeller_user_id(this.session_user_id); this.refundappService.update(refundapp); return orderRefundmentView(); } else { return null; } } } /** * @author : HXK--更新退款操作 * @param order_id * 订单号 * @param reason * 处理退款理由 * @param seller_state * 0:同意退款,1:不同意退款 * @param refund_state * 0:退款中,1:退款成功,2:退款失败 */ public void updateRefund(String order_id, String reason, String seller_state, String refund_state) { Refundapp refundapp = new Refundapp(); refundapp = refundappService.getByOrderId(order_id); if (refundapp != null && refundapp.getInfo_state() != null && refundapp.getInfo_state().equals("1")) { return; } if (refundapp != null) { this.orderdetailService.updateRefund(refundapp, seller_state, this.session_user_id, refund_state, reason); } } /** * @author : HXK * @throws Exception * @date Mar 28, 2014 2:35:04 PM * @Method Description :前台卖家退款申请-不同意退款操作 */ public String sellerDisAgreeRefundment() throws Exception { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { if (seller_refund_reason == null || seller_refund_reason.equals("")) { this.addFieldError("seller_refund_reason", "请填写拒绝说明!"); return orderSellerRefundmentView(); } else { if (seller_refund_reason.indexOf(">") > -1) { this.addFieldError("seller_refund_reason", "系统检测到非法字符,请重新修改拒绝说明"); return orderSellerRefundmentView(); } if (seller_refund_reason.length() > 3000) { this.addFieldError("seller_refund_reason", "字数太多,请重新修改拒绝说明"); return orderSellerRefundmentView(); } } // 操作退款 updateRefund(order_id, seller_refund_reason, "1", "0"); // 更新订单状态为 退款 goodsorder = this.goodsorderService.get(order_id); String sendtime = goodsorder.getSend_time(); String paytime = goodsorder.getPay_time(); String tips=""; if (sendtime != null && !sendtime.equals("")) { goodsorder.setOrder_state("3"); tips="卖家拒绝退货!"; } else if (paytime != null && !paytime.equals("")) { goodsorder.setOrder_state("2"); tips="卖家拒绝退款!"; } else { goodsorder.setOrder_state("1"); } this.goodsorderService.update(goodsorder); // 拒绝 mestipByBuyer("15", order_id); this.addActionMessage("已提交"+tips+"!"); // 插入订单异动记录 ordertransService.inserOrderTran(order_id, session_cust_id, session_user_id, CommparaFuc.getReason("1", tips), goodsorder.getOrder_state(),session_user_name); return orderRefundmentView(); } else { return null; } } } /** * @author : HXK * @param : * @date Mar 11, 2014 2:35:04 PM * @Method Description :前台退款申请-查看 */ public String orderRefundmentView() throws IOException { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { // 获取订单信息 goodsorder = new Goodsorder(); goodsorder = this.goodsorderService.get(order_id); // 获取商品信息 Map detailMap = new HashMap(); detailMap.put("order_id", order_id); detailList = this.orderdetailService.getList(detailMap); orderdetaiCount = detailList.size(); // 获取退款信息 refundapp = refundappService.getByOrderId(order_id); refundDealtime = SysconfigFuc.getSysValue("cfg_RefundDealtime"); refund_suretime = SysconfigFuc .getSysValue("cfg_Refund_receipts_time"); refund_sendtime = SysconfigFuc .getSysValue("cfg_Refundsend_goods_time"); gCommparaList("buy_refund"); if (this.session_cust_id.equals(refundapp.getBuy_cust_id())) {// 买家的操作页面 order_area = AreaFuc.getAreaNameByMap(goodsorder .getArea_attr()); gOrderSendmode();// 获取物流公司 is_buyer = true; } if (refundapp.getSend_time() != null && !refundapp.getSend_time().equals("")) { getLogistics(refundapp.getSend_mode(), refundapp .getSend_num());// 获取物流 } return goUrl("order_refundment_success"); } else { return null; } } } /** * @author : HXK * @param :para_code * @date Mar 28, 2014 1:14:33 PM * @Method Description :获取参数表相应para_code的列表 */ public void gCommparaList(String para_code) { Map map = new HashMap(); map.put("para_code", para_code); commparaList = commparaService.getList(map); } /** * @author : HXK * @param : * @throws Exception * @date Mar 11, 2014 2:35:04 PM * @Method Description :前台查看订单交易成功信息 */ public String orderSuccessView() throws Exception { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { // 获取订单信息 goodsorder = new Goodsorder(); goodsorder = this.goodsorderService.get(order_id); // 获取商品信息 Map detailMap = new HashMap(); detailMap.put("order_id", order_id); detailList = this.orderdetailService.getList(detailMap); orderdetaiCount = detailList.size(); order_area = AreaFuc .getAreaNameByMap(goodsorder.getArea_attr()); // 获取买家会员信息 memberuser = memberuserService.getPKByCustID(goodsorder .getBuy_cust_id()); memberuser_seller = memberuserService.getPKByCustID(goodsorder .getSell_cust_id()); shopconfig = shopconfigService.getByCustID(goodsorder .getSell_cust_id()); seller_area_name = AreaFuc.getAreaNameByMap(shopconfig .getArea_attr()); Sendmode sendmode = new Sendmode(); if (goodsorder.getSend_mode() != null && !"".equals(goodsorder.getSend_mode())) { sendmode = sendmodeService.get(goodsorder.getSend_mode()); } if (sendmode != null) { // 获取快递公司代码 if (sendmode.getEn_name() != null) { kuai_company_code = sendmode.getEn_name(); } // 获取快递公司名称 if (sendmode.getSmode_name() != null) { kuai_company = sendmode.getSmode_name(); } } kuai_number = goodsorder.getSend_num(); // 查询快递信息 logistics_query = LogisticsFuc.hundredTrace(kuai_company_code, kuai_number); return goUrl("order_success"); } else { return null; } } } /** * @author : HXK * @throws Exception * @date Mar 11, 2014 2:35:04 PM * @Method Description :前台查看订单交易关闭信息 */ public String orderCloseView() throws Exception { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { // 获取订单信息 goodsorder = new Goodsorder(); goodsorder = this.goodsorderService.get(order_id); // 获取商品信息 Map detailMap = new HashMap(); detailMap.put("order_id", order_id); detailList = this.orderdetailService.getList(detailMap); orderdetaiCount = detailList.size(); order_area = AreaFuc .getAreaNameByMap(goodsorder.getArea_attr()); // 获取买家会员信息 memberuser = memberuserService.getPKByCustID(goodsorder .getBuy_cust_id()); memberuser_seller = memberuserService.getPKByCustID(goodsorder .getSell_cust_id()); shopconfig = shopconfigService.getByCustID(goodsorder .getSell_cust_id()); seller_area_name = AreaFuc.getAreaNameByMap(shopconfig .getArea_attr()); return goUrl("order_close"); } else { return null; } } } /** * 方法描述:获取配送方式 * * @return * @throws Exception */ public void gOrderSendmode() { Map orderMap = new HashMap(); sendmodeList = sendmodeService.getList(orderMap); } /** * @author : HZX * @throws IOException * @date : Nov 7, 2014 4:00:40 PM * @Method Description :买家向卖家发送宝贝即退货 */ public String toSendRefund() throws IOException { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { boolean is_save = false; SimpleDateFormat df = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss");// 设置日期格式 if (send_mode == null || send_mode.equals("")) { this.addFieldError("send_mode", "请选择物流公司!"); } if (send_num == null || send_num.equals("")) { this.addFieldError("send_num", "请填写运单号!"); } is_save = checkImg();// /校验图片3张上限 if (super.ifvalidatepass) { return orderRefundmentView(); } // 获取退款信息 refundapp = refundappService.getByOrderId(order_id); if(refundapp.getRefund_state().equals("3")){ if (is_save) { refundapp.setImg_path(imgString); } refundapp.setSend_time(df.format(new Date())); refundapp.setSend_num(send_num); refundapp.setSend_mode(send_mode); //设置退款状态为 4等待买家发货---HXK2014-11-19 0:退款中,1:退款成功,2:退款失败3:等待买家发货4:买家已发货5:退款关闭 refundapp.setRefund_state("4"); this.refundappService.update(refundapp); } return orderRefundmentView(); } else { return null; } } } /** * @author : HZX * @date : Nov 8, 2014 8:43:19 AM * @Method Description :获取退款快递信息 */ public void getLogistics(String smode_id, String number) { Sendmode sendmode = new Sendmode(); if (smode_id != null && !"".equals(smode_id)) { sendmode = sendmodeService.get(smode_id); } if (sendmode != null) { // 获取快递公司代码 kuai_company_code = sendmode.getEn_name(); // 获取快递公司名称 kuai_company = sendmode.getSmode_name(); } kuai_number = number; // 查询快递信息 logistics_query = LogisticsFuc.hundredTrace(kuai_company_code, kuai_number); } /** * @author : HZX * @throws IOException * @date : Nov 11, 2014 10:55:38 AM * @Method Description :卖家同意退款,判断是否需要退货跳转到对应页面 */ public String sellerAgreeIsneedReturn() throws IOException { if (this.session_cust_id == null || this.session_cust_id.equals("")) { getResponse().sendRedirect("/login.html"); return goUrl("login"); } else { if (order_id != null) { // 获取订单信息 goodsorder = new Goodsorder(); goodsorder = this.goodsorderService.get(order_id); // 获取商品信息 Map detailMap = new HashMap(); detailMap.put("order_id", order_id); detailList = this.orderdetailService.getList(detailMap); orderdetaiCount = detailList.size(); gCommparaList("buy_refund"); // 获取店铺信息 shopconfig = shopconfigService.getByCustID(goodsorder .getSell_cust_id()); refundapp = refundappService.getByOrderId(order_id); SimpleDateFormat df = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss");// 设置日期格式 // refundapp.setSeller_cust_id(this.session_cust_id); refundapp.setSeller_date(df.format(new Date())); refundapp.setSeller_user_id(this.session_user_id); refundapp.setSeller_state("0"); // refundapp.setIs_treated("0"); refundapp.setInfo_state("0"); this.refundappService.update(refundapp); //refund_state 0:退款中,1:退款成功,2:退款失败3:等待买家发货4:买家已发货5:退款关闭 //seller_state 0:同意退款,1:不同意退款 //is_return 1:需要退货0:无需退货 if (refundapp.getIs_return() != null&& refundapp.getIs_return().equals("1") && refundapp.getSeller_state().equals("0")&& refundapp.getRefund_state().equals("0")) { getBuyerAddrList();// 获取卖家地址 return goUrl("order_seller_refundagreereturn"); } else { return goUrl("order_seller_refundagree"); } } } return goUrl("login"); } /** * 买家跳转到详细页 */ public void commonBuyResponse(String order_id, String order_state) throws IOException { getResponse().sendRedirect( "/bmall_Goodsorder_buyOrderView.action?goodsorder.order_id=" + order_id + "&order_state=" + order_state); } public Orderinvoice getOrderinvoice() { return orderinvoice; } public void setOrderinvoice(Orderinvoice orderinvoice) { this.orderinvoice = orderinvoice; } public String getType() { return type; } public void setType(String type) { this.type = type; } }
[ "Administrator@USER-20170608NM" ]
Administrator@USER-20170608NM
b600579079de2fa07bd9e4ea585cd1de2bebed2d
525b0cf276651c7dfb3b086c5ac73374d7f8a434
/pandemic-combat/src/main/java/com/pandemiccombat/pandemiccombat/repository/IntercambioDeRecursosRepository.java
26d637b934c4eb4829b552729b798b9d7301123b
[]
no_license
LucasGuerra26/Pandemic-Combat
84c81bdb36978fb7305f7b0e55bf8aa7adbd0b1f
6bd3dcbcb78cd51ceea5f0d4b016a8818f6947f9
refs/heads/main
2023-07-26T11:34:25.426226
2021-09-07T20:44:37
2021-09-07T20:44:37
402,517,562
1
0
null
2021-09-05T19:42:48
2021-09-02T18:05:33
Java
UTF-8
Java
false
false
294
java
package com.pandemiccombat.pandemiccombat.repository; import org.springframework.data.jpa.repository.JpaRepository; import com.pandemiccombat.pandemiccombat.model.IntercambioDeRecursos; public interface IntercambioDeRecursosRepository extends JpaRepository<IntercambioDeRecursos, Long> { }
31340d93efec31734f19767bb1d0ce7b69802162
b13b46fb6d26e8e8dc07af6abe9517a5e3bd3694
/src/main/java/jp/coolfactory/data/common/CommandStatus.java
cd8b103fb82820fb9725a0ca076d618aea7837bf
[]
no_license
chongtianfeiyu/data_server
dd2228c05f55707723a0c11a1834a4e70a874ac6
f297d8ddeec90fb55d10a78d05fbc525eca44c70
refs/heads/master
2022-12-30T03:46:20.321714
2020-08-13T10:21:49
2020-08-13T10:21:49
null
0
0
null
null
null
null
UTF-8
Java
false
false
320
java
package jp.coolfactory.data.common; /** * The command status. * If 'Continue', the next command in chain will take over. * If 'End', the request will be returned. * If 'Fail', the exception will be returned. * * Created by wangqi on 22/2/2017. */ public enum CommandStatus { Continue, End, Fail, }
f9476176b8e2aad59f800440a54b1e4e39edb5d8
ab97b5478d007246782597387473bd3c11e39b1f
/src/main/java/net/kkolyan/elements/engine/utils/FixAlpha.java
048e4dfe28d220a5dd9a86a23d13ffb3bada6c5b
[]
no_license
kkolyan/elements
41bbac7acf1bd683719698728c0684ddd52ba73b
a94c1e6386f9455fe6877041226dd2db64d606ab
refs/heads/master
2020-03-28T19:12:37.778846
2015-09-13T04:29:32
2015-09-13T04:29:32
42,209,588
0
0
null
null
null
null
UTF-8
Java
false
false
2,425
java
package net.kkolyan.elements.engine.utils; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; /** * @author nplekhanov */ public class FixAlpha { public static final int ALPHA_THRESHOLD = 120; public static void main(String[] args) throws Exception { FixAlpha.fixAlpha("D:\\dev\\elements\\src\\main\\resources\\tactics\\marine.28x28.png"); FixAlpha.fixAlpha("D:\\dev\\elements\\src\\main\\resources\\tactics\\marine_fire.50x28.o14x14.png"); FixAlpha.fixAlpha("D:\\dev\\elements\\src\\main\\resources\\tactics\\cv_move.64x34.o32x17.png"); FixAlpha.fixAlpha("D:\\dev\\elements\\src\\main\\resources\\tactics\\moto.64x64.png"); FixAlpha.fixAlpha("D:\\dev\\elements\\src\\main\\resources\\tactics\\moto_empty.64x64.png"); } public static void fixAlpha(String file) throws IOException { File f = new File(file); BufferedImage in = ImageIO.read(f); fixAlpha(in); ImageIO.write(in, "png", f); } public static void fixAlpha(BufferedImage image) { for (int i = 0; i < image.getWidth() * image.getHeight(); i ++) { int x = i % image.getWidth(); int y = i / image.getWidth(); Color color = new Color(image.getRGB(x, y), true); int alpha = color.getAlpha(); if (alpha < ALPHA_THRESHOLD) { int[] colors = {0, 0,0 }; int n = 0; for (int j = 0; j < 9; j ++) { int px = x + j % 3 - 1; int py = y + j / 3 - 1; if (px < 0 || px >= image.getWidth()) { continue; } if (py < 0 || py >= image.getHeight()) { continue; } Color pc = new Color(image.getRGB(px, py), true); if (pc.getAlpha() < ALPHA_THRESHOLD) { continue; } colors[0] += pc.getRed(); colors[1] += pc.getGreen(); colors[2] += pc.getBlue(); n ++; } if (n > 0) { image.setRGB(x, y, new Color(colors[0]/n, colors[1]/n, colors[2]/n, 0).getRGB()); } } } } }
[ "hidden" ]
hidden
d2dcc5119f75e5b050c86e7a879d07347210bfd2
4da9097315831c8639a8491e881ec97fdf74c603
/src/StockIT-v2-release_source_from_JADX/sources/kotlin/text/StringsKt___StringsKt$windowedSequence$2.java
903436a8c5d0051397592da9824e1056f777fc96
[ "Apache-2.0" ]
permissive
atul-vyshnav/2021_IBM_Code_Challenge_StockIT
5c3c11af285cf6f032b7c207e457f4c9a5b0c7e1
25c26a4cc59a3f3e575f617b59acc202ee6ee48a
refs/heads/main
2023-08-11T06:17:05.659651
2021-10-01T08:48:06
2021-10-01T08:48:06
410,595,708
1
1
null
null
null
null
UTF-8
Java
false
false
1,516
java
package kotlin.text; import kotlin.Metadata; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.Lambda; @Metadata(mo40251bv = {1, 0, 3}, mo40252d1 = {"\u0000\f\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0002\u0010\u0000\u001a\u0002H\u0001\"\u0004\b\u0000\u0010\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, mo40253d2 = {"<anonymous>", "R", "index", "", "invoke", "(I)Ljava/lang/Object;"}, mo40254k = 3, mo40255mv = {1, 4, 1}) /* compiled from: _Strings.kt */ final class StringsKt___StringsKt$windowedSequence$2 extends Lambda implements Function1<Integer, R> { final /* synthetic */ int $size; final /* synthetic */ CharSequence $this_windowedSequence; final /* synthetic */ Function1 $transform; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ StringsKt___StringsKt$windowedSequence$2(CharSequence charSequence, int i, Function1 function1) { super(1); this.$this_windowedSequence = charSequence; this.$size = i; this.$transform = function1; } public /* bridge */ /* synthetic */ Object invoke(Object obj) { return invoke(((Number) obj).intValue()); } public final R invoke(int i) { int i2 = this.$size + i; if (i2 < 0 || i2 > this.$this_windowedSequence.length()) { i2 = this.$this_windowedSequence.length(); } return this.$transform.invoke(this.$this_windowedSequence.subSequence(i, i2)); } }
3637886d25158a9960e55365282ae8df1d0a285c
c35c592bb650b6fb0a68e771bd8ef66d1837e84b
/idc-mp/src/main/java/cn/idea360/demo/config/RestTemplateConfig.java
fc514bb2fba7b825e70b98178ffe21fb03ef0099
[]
no_license
ksgldy/spring-cloud-learning
89261f75c864cba5a510af6323f0f0442ec4da36
e6f6f7f8cee163cc77d52a89b19b6950b1e28d26
refs/heads/master
2022-10-11T02:20:27.113886
2020-06-11T15:40:53
2020-06-11T15:40:53
null
0
0
null
null
null
null
UTF-8
Java
false
false
882
java
package cn.idea360.demo.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.client.ClientHttpRequestFactory; import org.springframework.http.client.SimpleClientHttpRequestFactory; import org.springframework.web.client.RestTemplate; /** * @author 当我遇上你 * @公众号 当我遇上你 * @since 2020-05-27 */ @Configuration public class RestTemplateConfig { @Bean public RestTemplate restTemplate(ClientHttpRequestFactory factory){ return new RestTemplate(factory); } @Bean public ClientHttpRequestFactory simpleClientHttpRequestFactory() { SimpleClientHttpRequestFactory factory = new SimpleClientHttpRequestFactory(); factory.setConnectTimeout(15000); factory.setReadTimeout(5000); return factory; } }
0c76b635597ec86f244f8b97dd50c727835ca498
46b05879679b3218438c5771baec711e768b7055
/src/com/company/Server.java
693e3734d69549a53088c76ffe4feb5db4151ee7
[]
no_license
hayk1995/asynchronous_chat
37bcabd72c6bafa00d038d84f1562b324538c077
8055947694c93b5b52a99f89b40c4663b69b3ae4
refs/heads/master
2020-04-08T07:04:49.903634
2018-11-26T07:13:21
2018-11-26T07:13:21
159,125,762
0
0
null
null
null
null
UTF-8
Java
false
false
4,358
java
package com.company; import java.net.*; import java.nio.ByteBuffer; import java.nio.channels.AsynchronousServerSocketChannel; import java.nio.channels.AsynchronousSocketChannel; import java.util.*; import java.util.concurrent.Future; public class Server { private static final int DEFAULT_NUMBER_OF_THREADS = 4; private int numberOfThreads; private PendingActionsPool actionsPool; private AsynchronousServerSocketChannel server; private List<AsynchronousSocketChannel> clients = new ArrayList<>(); private Map<AsynchronousSocketChannel, String> clientNames = new HashMap<>(); Server() throws Exception{ this(DEFAULT_NUMBER_OF_THREADS); } Server(int numberOfThreads) throws Exception{ this.numberOfThreads = numberOfThreads; InetSocketAddress address = new InetSocketAddress(5000); server = AsynchronousServerSocketChannel.open().bind(address); actionsPool = new PendingActionsPool(this.numberOfThreads); } public void start() { actionsPool.start(); receiveConnection(); } private void receiveConnection() { Future client = server.accept(); actionsPool.add(new PendingAction(client, new ConnectionReceivedHandler())); } private class ConnectionReceivedHandler implements Handler { @Override public void run(Object clientSocket) { try { AsynchronousSocketChannel channel = (AsynchronousSocketChannel) clientSocket; clients.add(channel); new SendMessageHandler(channel, "Please Enter Your Name"); new ReceiveMessageHandler(channel); receiveConnection(); } catch (Exception ex) { System.out.println(ex.getMessage()); } } } private class ReceiveMessageHandler implements Handler { private StringBuilder currentMessage = new StringBuilder(); private ByteBuffer buffer = ByteBuffer.allocate(64); private AsynchronousSocketChannel channel; ReceiveMessageHandler(AsynchronousSocketChannel clienSocketChannel) { channel = clienSocketChannel; Future readResult = clienSocketChannel.read(this.buffer); actionsPool.add(new PendingAction(readResult, this)); } @Override public void run(Object nioResult) { if ((Integer) nioResult == -1) { clients.remove(channel); return; } buffer.flip(); while (buffer.hasRemaining()) { char read = (char) buffer.get(); if (read == '\n') { handleClientMessage(channel, currentMessage.toString()); currentMessage = new StringBuilder(); } else { currentMessage.append(read); } } buffer.clear(); Future readResult = channel.read(this.buffer); actionsPool.add(new PendingAction(readResult, this)); } } private void handleClientMessage(AsynchronousSocketChannel channel, String message) { if (clientNames.containsKey(channel)) { broadCast(channel, clientNames.get(channel) + ':' + message); } else { clientNames.put(channel, message); } } private void broadCast(AsynchronousSocketChannel sender, String message) { for (AsynchronousSocketChannel channel : clients) { if (channel != sender && clientNames.containsKey(channel)) { new SendMessageHandler(channel, message); } } } class SendMessageHandler implements Handler { ByteBuffer buffer; AsynchronousSocketChannel channel; SendMessageHandler(AsynchronousSocketChannel channel, String message) { this.channel = channel; buffer = ByteBuffer.allocate(message.length() + 1); buffer.put((message + "\n").getBytes()); buffer.flip(); run(new Object()); } @Override public void run(Object nioResult) { if (buffer.hasRemaining()) { Future result = channel.write(buffer); actionsPool.add(new PendingAction(result, this)); } } } }
388c234abbb258ab75d60c3137b04bba81a32100
ce04225203faaeeae507eafec1f8216fa38ac40c
/app/src/main/java/com/gymnast/view/citypacker/WheelScroller.java
b4a4f0f9f13d3320595ab64fa285e94673307f46
[ "Apache-2.0" ]
permissive
928902646/Gymnast
4a7062ee5bc910652f92d6789e0fb431701237c4
aefab7bdb47a7a81e8ecaa6e3f3650fdb795c7d1
refs/heads/master
2020-05-23T08:16:14.842151
2016-10-18T02:23:49
2016-10-18T02:23:49
70,256,549
0
0
null
null
null
null
UTF-8
Java
false
false
6,472
java
package com.gymnast.view.citypacker; import android.content.Context; import android.os.Handler; import android.os.Message; import android.view.GestureDetector; import android.view.MotionEvent; import android.view.GestureDetector.SimpleOnGestureListener; import android.view.animation.Interpolator; import android.widget.Scroller; /** * Scroller class handles scrolling events and updates the */ public class WheelScroller { /** * Scrolling listener interface */ public interface ScrollingListener { /** * Scrolling callback called when scrolling is performed. * @param distance the distance to scroll */ void onScroll(int distance); /** * Starting callback called when scrolling is started */ void onStarted(); /** * Finishing callback called after justifying */ void onFinished(); /** * Justifying callback called to justify a view when scrolling is ended */ void onJustify(); } /** Scrolling duration */ private static final int SCROLLING_DURATION = 400; /** Minimum delta for scrolling */ public static final int MIN_DELTA_FOR_SCROLLING = 1; // Listener private ScrollingListener listener; // Context private Context context; // Scrolling private GestureDetector gestureDetector; private Scroller scroller; private int lastScrollY; private float lastTouchedY; private boolean isScrollingPerformed; /** * Constructor * @param context the current context * @param listener the scrolling listener */ public WheelScroller(Context context, ScrollingListener listener) { gestureDetector = new GestureDetector(context, gestureListener); gestureDetector.setIsLongpressEnabled(false); scroller = new Scroller(context); this.listener = listener; this.context = context; } /** * Set the the specified scrolling interpolator * @param interpolator the interpolator */ public void setInterpolator(Interpolator interpolator) { scroller.forceFinished(true); scroller = new Scroller(context, interpolator); } /** * Scroll the wheel * @param distance the scrolling distance * @param time the scrolling duration */ public void scroll(int distance, int time) { scroller.forceFinished(true); lastScrollY = 0; scroller.startScroll(0, 0, 0, distance, time != 0 ? time : SCROLLING_DURATION); setNextMessage(MESSAGE_SCROLL); startScrolling(); } /** * Stops scrolling */ public void stopScrolling() { scroller.forceFinished(true); } /** * Handles Touch event * @param event the motion event * @return */ public boolean onTouchEvent(MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_DOWN: lastTouchedY = event.getY(); scroller.forceFinished(true); clearMessages(); break; case MotionEvent.ACTION_MOVE: // perform scrolling int distanceY = (int)(event.getY() - lastTouchedY); if (distanceY != 0) { startScrolling(); listener.onScroll(distanceY); lastTouchedY = event.getY(); } break; } if (!gestureDetector.onTouchEvent(event) && event.getAction() == MotionEvent.ACTION_UP) { justify(); } return true; } // gesture listener private SimpleOnGestureListener gestureListener = new SimpleOnGestureListener() { public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { // Do scrolling in onTouchEvent() since onScroll() are not call immediately // when user touch and move the wheel return true; } public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { lastScrollY = 0; final int maxY = 0x7FFFFFFF; final int minY = -maxY; scroller.fling(0, lastScrollY, 0, (int) -velocityY, 0, 0, minY, maxY); setNextMessage(MESSAGE_SCROLL); return true; } }; // Messages private final int MESSAGE_SCROLL = 0; private final int MESSAGE_JUSTIFY = 1; /** * Set next message to queue. Clears queue before. * * @param message the message to set */ private void setNextMessage(int message) { clearMessages(); animationHandler.sendEmptyMessage(message); } /** * Clears messages from queue */ private void clearMessages() { animationHandler.removeMessages(MESSAGE_SCROLL); animationHandler.removeMessages(MESSAGE_JUSTIFY); } // animation handler private Handler animationHandler = new Handler() { public void handleMessage(Message msg) { scroller.computeScrollOffset(); int currY = scroller.getCurrY(); int delta = lastScrollY - currY; lastScrollY = currY; if (delta != 0) { listener.onScroll(delta); } // scrolling is not finished when it comes to final Y // so, finish it manually if (Math.abs(currY - scroller.getFinalY()) < MIN_DELTA_FOR_SCROLLING) { currY = scroller.getFinalY(); scroller.forceFinished(true); } if (!scroller.isFinished()) { animationHandler.sendEmptyMessage(msg.what); } else if (msg.what == MESSAGE_SCROLL) { justify(); } else { finishScrolling(); } } }; /** * Justifies wheel */ private void justify() { listener.onJustify(); setNextMessage(MESSAGE_JUSTIFY); } /** * Starts scrolling */ private void startScrolling() { if (!isScrollingPerformed) { isScrollingPerformed = true; listener.onStarted(); } } /** * Finishes scrolling */ void finishScrolling() { if (isScrollingPerformed) { listener.onFinished(); isScrollingPerformed = false; } } }
5f9541f87ba56e2e99017e0a6252b74a7007310b
9cc853fc465967b331312e5dc2b99061fd2430de
/src/bean/AnneeUniversitaire.java
21f6cbe915fb3897dc347f59e4a30b3adfbb3bc0
[]
no_license
GhassanGuessous/InscriptionFSTG_Marrakech
801ac53a73d475d0d35c6f7e2f97d5429d470bf5
baaaaa540364475eccd4abe8b556c0af6ef6b3f4
refs/heads/master
2021-08-30T02:49:04.953371
2017-12-15T19:35:30
2017-12-15T19:35:30
114,405,028
0
0
null
null
null
null
UTF-8
Java
false
false
2,507
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 bean; import java.io.Serializable; import java.util.Date; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence.Temporal; /** * * @author Ghassan */ @Entity public class AnneeUniversitaire implements Serializable { private static final long serialVersionUID = 1L; @Id private String annee; @Temporal(javax.persistence.TemporalType.DATE) private Date dateDebut; @Temporal(javax.persistence.TemporalType.DATE) private Date dateFin; @OneToMany(mappedBy = "anneeUniversitaire") private List<Inscription> inscriptions; public List<Inscription> getInscriptions() { return inscriptions; } public void setInscriptions(List<Inscription> inscriptions) { this.inscriptions = inscriptions; } public String getAnnee() { return annee; } public void setAnnee(String annee) { this.annee = annee; } public AnneeUniversitaire() { } public AnneeUniversitaire(String annee) { this.annee = annee; } public Date getDateDebut() { return dateDebut; } public void setDateDebut(Date dateDebut) { this.dateDebut = dateDebut; } public Date getDateFin() { return dateFin; } public void setDateFin(Date dateFin) { this.dateFin = dateFin; } @Override public int hashCode() { int hash = 0; hash += (annee != null ? annee.hashCode() : 0); return hash; } @Override public boolean equals(Object object) { // TODO: Warning - this method won't work in the case the id fields are not set if (!(object instanceof AnneeUniversitaire)) { return false; } AnneeUniversitaire other = (AnneeUniversitaire) object; if ((this.annee == null && other.annee != null) || (this.annee != null && !this.annee.equals(other.annee))) { return false; } return true; } @Override public String toString() { return annee ; } }
cf02e213903423c0be387a6c4c6b457cf349d1e2
00bd608178182af4d54bc0ac58517835d8ec0d85
/src/main/java/com/wxywizard/jpaConfig/PrimaryConfig.java
95659e73a430f9f6d563e4f8f0425a10116d3446
[]
no_license
wxywizard/hellospringboot
c1ca57e988c6569ddf3436be92bb014f4880b097
d550864c9d4f8b922a9c596a759674667831f05f
refs/heads/master
2020-03-17T20:34:04.451309
2018-08-30T09:18:55
2018-08-30T09:18:55
133,917,232
0
0
null
null
null
null
UTF-8
Java
false
false
2,599
java
package com.wxywizard.jpaConfig; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.boot.autoconfigure.orm.jpa.HibernateSettings; import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties; import org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Primary; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; import org.springframework.orm.jpa.JpaTransactionManager; import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean; import org.springframework.transaction.PlatformTransactionManager; import org.springframework.transaction.annotation.EnableTransactionManagement; import javax.annotation.Resource; import javax.persistence.EntityManager; import javax.sql.DataSource; import java.util.Map; @Configuration @EnableTransactionManagement @EnableJpaRepositories( entityManagerFactoryRef="entityManagerFactoryPrimary", transactionManagerRef="transactionManagerPrimary", basePackages= { "com.wxywizard.dao.repositoryone" }) //设置Repository所在位置 public class PrimaryConfig { @Autowired @Qualifier("primaryDataSource") private DataSource primaryDataSource; @Primary @Bean(name = "entityManagerPrimary") public EntityManager entityManager(EntityManagerFactoryBuilder builder) { return entityManagerFactoryPrimary(builder).getObject().createEntityManager(); } @Primary @Bean(name = "entityManagerFactoryPrimary") public LocalContainerEntityManagerFactoryBean entityManagerFactoryPrimary (EntityManagerFactoryBuilder builder) { return builder .dataSource(primaryDataSource) .properties(getVendorProperties()) .packages("com.wxywizard.domain.domainone") //设置实体类所在位置 .persistenceUnit("primaryPersistenceUnit") .build(); } @Autowired private JpaProperties jpaProperties; private Map<String, Object> getVendorProperties() { return jpaProperties.getHibernateProperties(new HibernateSettings()); } @Primary @Bean(name = "transactionManagerPrimary") public PlatformTransactionManager transactionManagerPrimary(EntityManagerFactoryBuilder builder) { return new JpaTransactionManager(entityManagerFactoryPrimary(builder).getObject()); } }
4ab0329d168f3140b870b57be3d596031eaf72f6
799753de7b66752ae6c7b51b78677e6ec6652d85
/app/src/test/java/com/enna1/dotanews/ExampleUnitTest.java
7a61fc5d6cad6d8424f541fbb3cdbd8ea0d39f90
[]
no_license
Enna1/DotaNews
69837cd08ffe50eafff41c8ade84dc372cb23793
40a91a636216c1a3f63a98c9b40b5669101ef2b9
refs/heads/master
2020-03-22T08:53:26.390587
2018-11-24T06:41:52
2018-11-24T06:41:52
139,798,459
1
0
null
null
null
null
UTF-8
Java
false
false
396
java
package com.enna1.dotanews; 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() throws Exception { assertEquals(4, 2 + 2); } }
8680b535d1dbd3768e37672073ebf6a35e5aa816
32f8b8dbb51324c02fa41b771e9328b3045c04a1
/mind/src/main/java/com/fanchen/clearmind/leetcode/array/MaximumProductThreeNumbers.java
cbc3d738ed59c3e71c74eb18ae070aa863e08f07
[]
no_license
dwyanecf/for-fan
e674bbf3a8e90b3d95cf5bdae0196f88e41b8a2e
46b0fafe05440b6851c57fadb99e9493b8559419
refs/heads/master
2022-06-04T17:03:44.516719
2020-03-16T14:44:32
2020-03-16T14:44:32
126,040,632
0
0
null
2022-05-20T21:29:54
2018-03-20T15:32:22
Java
UTF-8
Java
false
false
904
java
package com.fanchen.clearmind.leetcode.array; import java.util.Arrays; /** * * Given an integer array, find three numbers whose product is maximum and * output the maximum product. * * Example 1: Input: [1,2,3] Output: 6 Example 2: Input: [1,2,3,4] Output: 24 * Note: The length of the given array will be in range [3,104] and all elements * are in the range [-1000, 1000]. Multiplication of any three numbers in the * input won't exceed the range of 32-bit signed integer. * * @author fan * */ public class MaximumProductThreeNumbers { public int maximumProduct(int[] nums) { int n = nums.length; Arrays.sort(nums); if (nums[1] >= 0 || nums[n - 1] <= 0) { return nums[n - 1] * nums[n - 2] * nums[n - 3]; } int min1 = nums[0], min2 = nums[1]; int max1 = nums[n - 1], max2 = nums[n - 2], max3 = nums[n - 3]; return Math.max(min1 * min2 * max1, max1 * max2 * max3); } }
c6c97a09cae78a271076a7b561e2ef0f0ca3d254
ffe6ab9fb831511f3b2eea4470b166c151a3fc21
/src/fr/redmoon/tictac/gui/dialogs/EditExtraFragment.java
1abc978fbd7fa356fe042c315c4d1878d299eabf
[]
no_license
opack/welltime
0b1cc95e71abee44243a92a7b0b265b6dd40613e
995142f350fe8c553985af2b7f8f7569baadcfd7
refs/heads/master
2020-12-02T15:46:23.353009
2014-03-04T12:15:08
2014-03-04T12:15:08
67,418,776
0
0
null
null
null
null
ISO-8859-1
Java
false
false
1,642
java
package fr.redmoon.tictac.gui.dialogs; import android.app.Dialog; import android.app.TimePickerDialog; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.text.format.DateFormat; import android.widget.TimePicker; import fr.redmoon.tictac.bus.TimeUtils; import fr.redmoon.tictac.db.DbAdapter; import fr.redmoon.tictac.gui.activities.TicTacActivity; public class EditExtraFragment extends DialogFragment implements TimePickerDialog.OnTimeSetListener { public final static String TAG = EditExtraFragment.class.getName(); private long mDate; private int mOldValue; @Override public void setArguments(Bundle args) { mDate = args.getLong(DialogArgs.DATE.name()); mOldValue = args.getInt(DialogArgs.TIME.name()); } @Override public Dialog onCreateDialog(Bundle savedInstanceState) { final int hour = TimeUtils.extractHour(mOldValue); final int minute = TimeUtils.extractMinutes(mOldValue); return new TimePickerDialog(getActivity(), this, hour, minute, DateFormat.is24HourFormat(getActivity())); } @Override public void onTimeSet(TimePicker view, int hourOfDay, int minute) { final int newTime = hourOfDay * 100 + minute; final TicTacActivity activity = (TicTacActivity)getActivity(); if (newTime == mOldValue) { return; } // Mise à jour de la base de données final DbAdapter db = DbAdapter.getInstance(activity); db.openDatabase(); final boolean dbUpdated = db.updateDayExtra(mDate, newTime); db.closeDatabase(); if (dbUpdated) { // Mise à jour de l'affichage activity.populateView(mDate); } } }
dedd2a41fbf7c560ab7a4bc1a2dcda712c787706
a15e6062d97bd4e18f7cefa4fe4a561443cc7bc8
/src/combit/ListLabel24/Dom/PropertyFontExt.java
462d92190e813a847cbed127cd10de092a5fd284
[]
no_license
Javonet-io-user/e66e9f78-68be-483d-977e-48d29182c947
017cf3f4110df45e8ba4a657ba3caba7789b5a6e
02ec974222f9bb03a938466bd6eb2421bb3e2065
refs/heads/master
2020-04-15T22:55:05.972920
2019-01-10T16:01:59
2019-01-10T16:01:59
165,089,187
0
0
null
null
null
null
UTF-8
Java
false
false
1,723
java
package combit.ListLabel24.Dom; import Common.Activation; import static Common.Helper.Convert; import static Common.Helper.getGetObjectName; import static Common.Helper.getReturnObjectName; import static Common.Helper.ConvertToConcreteInterfaceImplementation; import Common.Helper; import com.javonet.Javonet; import com.javonet.JavonetException; import com.javonet.JavonetFramework; import com.javonet.api.NObject; import com.javonet.api.NEnum; import com.javonet.api.keywords.NRef; import com.javonet.api.keywords.NOut; import com.javonet.api.NControlContainer; import java.util.concurrent.atomic.AtomicReference; import java.util.Iterator; import java.lang.*; import combit.ListLabel24.Dom.*; public class PropertyFontExt extends PropertyFont { protected NObject javonetHandle; /** SetProperty */ public void setDefault(java.lang.String value) { try { javonetHandle.set("Default", value); } catch (JavonetException _javonetException) { _javonetException.printStackTrace(); } } /** GetProperty */ public java.lang.String getDefault() { try { java.lang.String res = javonetHandle.get("Default"); if (res == null) return ""; return (java.lang.String) res; } catch (JavonetException _javonetException) { _javonetException.printStackTrace(); return ""; } } public PropertyFontExt(NObject handle) { super(handle); this.javonetHandle = handle; } public void setJavonetHandle(NObject handle) { this.javonetHandle = handle; } static { try { Activation.initializeJavonet(); } catch (java.lang.Exception e) { e.printStackTrace(); } } }
97d5a6baafff5fd0a814a02cd3b01ad8f181cb9b
97a1bd1f69571e3bf2ef5e18b5e800b1aae993e6
/src/main/java/pfa/alliance/fim/service/UserManagerService.java
7e51f9476bbe60d067342e14a59c7611ab4889b2
[ "Apache-2.0" ]
permissive
csnemeti/fim
57e2c1416af7167a4ee2a8454c791601be425745
337528dfe3e51b0f3c49287734303aaa9272f62a
refs/heads/master
2021-01-10T18:39:02.574491
2015-02-06T14:13:22
2015-02-06T14:13:22
21,797,420
0
0
null
2015-07-14T04:35:47
2014-07-13T18:38:08
Java
UTF-8
Java
false
false
1,122
java
/** * */ package pfa.alliance.fim.service; import pfa.alliance.fim.model.user.User; import pfa.alliance.fim.model.user.UserStatus; /** * @author Csaba * */ public interface UserManagerService { /** * Registers a new {@link User}. The {@link UserStatus} will be {@link UserStatus#NEW}. * * @param email the user e-mail * @param cleanPassword password typed in clear form * @param firstName the user first name * @param lastName the user last name * @return the created User */ User registerUser( String email, String cleanPassword, String firstName, String lastName ); /** * Authenticate a {@link User}. * * @param username the user login name * @param cleanPassword the user password in clear text form * @return the authenticated {@link User} or null if there's no such {@link User} */ User login( String username, String cleanPassword ); /** * Sends the user registration e-mail. * * @param user the {@link User} to whom the e-mail should be sent */ void sendRegistrationEmail( User user ); }
2d2b00952fdff3162bb2041bb7d5e69f6876c11d
37b6ec5f1d11e46987732099cfa127e64ffba7af
/Eva_4/src/controller/AdminProfesional.java
7d4215ce322b64d545930905877c7e9508f75b08
[]
no_license
RodPav/AWAKELABCL-FullStackJava
c511efd7a4807220ba1ed19d2fc9c3fc3ce1fd1d
c4847658b104b06a16c90ed69e7bc8dd0a3cdf19
refs/heads/master
2022-11-16T04:52:38.044409
2020-07-08T04:07:01
2020-07-08T04:07:01
238,570,291
0
0
null
null
null
null
WINDOWS-1250
Java
false
false
6,258
java
package controller; import java.io.IOException; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import dao.ProfesionalDao; import idao.IProfesionalDao; import model.Profesional; /** * Servlet implementation class AdminProfesional */ @WebServlet("/AdminProfesional") public class AdminProfesional extends HttpServlet { private static final long serialVersionUID = 1L; IProfesionalDao ProfesionalDAO; public void init() { String jdbcUrl = getServletContext().getInitParameter("jdbcURL"); String jdbcUsername = getServletContext().getInitParameter("jdbcUsername"); String jdbcPassword = getServletContext().getInitParameter("jdbcPassword"); String jdbcDriver = getServletContext().getInitParameter("jdbcDriver"); try { ProfesionalDAO = new ProfesionalDao(jdbcUrl, jdbcDriver, jdbcUsername, jdbcPassword); } catch (Exception e) { System.out.println(e.getMessage()); } } /** * @see HttpServlet#HttpServlet() */ public AdminProfesional() { super(); // TODO Auto-generated constructor stub } /** * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse * response) */ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub String action = request.getParameter("action"); System.out.println(action); try { switch (action) { case "index": index(request, response); break; case "listar": mostrarProfesional(request, response); break; case "mostrarPorRut": mostrarPorRut(request, response); break; case "actualizar": actualizar(request, response); break; case "eliminar": eliminar(request, response); break; case "crear": crear(request, response); break; default: break; } } catch (Exception e) { e.getStackTrace(); } } /** * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse * response) */ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub doGet(request, response); } private void index(HttpServletRequest request, HttpServletResponse response) throws SQLException, ServletException, IOException, ClassNotFoundException { } // CREAR Profesional private void crear(HttpServletRequest request, HttpServletResponse response) throws SQLException, ServletException, IOException, ClassNotFoundException { String rut = request.getParameter("rut"); String nombre = request.getParameter("nombre"); String direccion = request.getParameter("direccion"); String telefono = request.getParameter("telefono"); String correo = request.getParameter("correo"); Profesional Profesional = new Profesional(rut, nombre, direccion, telefono, correo); boolean crear = ProfesionalDAO.crearProfesional(Profesional); String mensaje = ""; if (crear) mensaje = "El Profesional ha sido creado exitosamente"; else mensaje = "Ocurrió un error al crear el Profesional"; request.setAttribute("alerta", mensaje); request.getRequestDispatcher("/view/registrarProfesional.jsp").forward(request, response); } // LISTAR ProfesionalS private void mostrarProfesional(HttpServletRequest request, HttpServletResponse response) throws SQLException, ServletException, IOException, ClassNotFoundException { RequestDispatcher dispatcher = request.getRequestDispatcher("/view/listadoProfesionales.jsp"); List<Profesional> lProfesionales = new ArrayList<Profesional>(); lProfesionales = ProfesionalDAO.listarProfesionales(); request.setAttribute("lista_profesional", lProfesionales); dispatcher.forward(request, response); } // MOSTRAR POR RUT private void mostrarPorRut(HttpServletRequest request, HttpServletResponse response) throws SQLException, ServletException, IOException, ClassNotFoundException { String rut = request.getParameter("id"); Profesional profesional = ProfesionalDAO.obtenerPorRut(rut); request.setAttribute("profesional", profesional); request.getRequestDispatcher("/view/mostrarProfesionalPorRut.jsp").forward(request, response); } // ACTUALIZAR Profesional private void actualizar(HttpServletRequest request, HttpServletResponse response) throws SQLException, ServletException, IOException, ClassNotFoundException { String rut = request.getParameter("rut"); String nombre = request.getParameter("nombre"); String direccion = request.getParameter("direccion"); String telefono = request.getParameter("fono"); String correo = request.getParameter("mail"); Profesional profesional = new Profesional(rut, nombre, direccion, telefono, correo); boolean editar = ProfesionalDAO.actualizarProfesional(profesional); List<Profesional> listadoNuevo = ProfesionalDAO.listarProfesionales(); String mensaje = ""; if (editar) mensaje = "El Profesional se ha editado exitosamente"; else mensaje = "Ocurrió un error al editar el Profesional"; request.setAttribute("alerta", mensaje); request.setAttribute("lista_profesional", listadoNuevo); request.getRequestDispatcher("/view/listadoProfesionales.jsp").forward(request, response); } private void eliminar(HttpServletRequest request, HttpServletResponse response) throws SQLException, ServletException, IOException, ClassNotFoundException { String rut = request.getParameter("id"); boolean eliminar = ProfesionalDAO.eliminarProfesional(rut); List<Profesional> listadoNuevo = ProfesionalDAO.listarProfesionales(); String mensaje = ""; if (eliminar) mensaje = "El Profesional se ha eliminado exitosamente"; else mensaje = "Ocurrió un error al editar el Profesional"; request.setAttribute("alerta", mensaje); request.setAttribute("lista_profesional", listadoNuevo); request.getRequestDispatcher("/view/listadoProfesionales.jsp").forward(request, response); } }
1d9ce77bb08a9e5fbe762ce0dc1d78104b3a1f32
953438514a592afd3624160cb5245100f2a684ae
/backend/src/main/java/com/devsuperior/dsvendas/dto/SaleDTO.java
41ee8e7235d9d591e5dd8a23ecb141cf4efa88d5
[]
no_license
Davi-Arauj/projeto-sds3
b79c4e727cf4042fcc10d4498cae36f1df99a229
c00983933162abcc4150ce2e99025ff2d84528e6
refs/heads/master
2023-04-18T15:59:58.226879
2021-05-10T01:27:59
2021-05-10T01:27:59
364,426,919
0
0
null
null
null
null
UTF-8
Java
false
false
1,514
java
package com.devsuperior.dsvendas.dto; import java.time.LocalDate; import com.devsuperior.dsvendas.entities.Sale; public class SaleDTO { private Long id; private Integer visited; private Integer deals; private Double amount; private LocalDate date; private SellerDTO seller; public SaleDTO() {} public SaleDTO(Long id, Integer visited, Integer deals, Double amount, LocalDate date, SellerDTO seller) { super(); this.id = id; this.visited = visited; this.deals = deals; this.amount = amount; this.date = date; this.seller = seller; } public SaleDTO(Sale entity) { super(); id = entity.getId(); this.visited = entity.getVisited(); this.deals = entity.getDeals(); this.amount = entity.getAmount(); this.date = entity.getDate(); this.seller = new SellerDTO(entity.getSeller()); } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Integer getVisited() { return visited; } public void setVisited(Integer visited) { this.visited = visited; } public Integer getDeals() { return deals; } public void setDeals(Integer deals) { this.deals = deals; } public Double getAmount() { return amount; } public void setAmount(Double amount) { this.amount = amount; } public LocalDate getDate() { return date; } public void setDate(LocalDate date) { this.date = date; } public SellerDTO getSeller() { return seller; } public void setSeller(SellerDTO seller) { this.seller = seller; } }
c1f12a3daceaf9331fbe5c00806d9fc7c6395919
63ebf45302c42ce67390869c8e9692e60dcf5fb8
/src/main/java/com/blog/registration/validator/PasswordConstraintValidator.java
ea1fe6143481a5e841ca853d477f4e725d143c0c
[]
no_license
programmersohag/registration
21463333756b5b94a8b6d2c8e22c267ad494ddcd
1d87152c3f17cf32646163f9fc676e48abb8158b
refs/heads/master
2023-02-27T12:36:14.479706
2021-02-01T11:53:37
2021-02-01T11:53:37
334,932,489
0
0
null
null
null
null
UTF-8
Java
false
false
1,853
java
package com.blog.registration.validator; import com.blog.registration.annotation.ValidPassword; import org.passay.*; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import java.util.ArrayList; import java.util.List; import static org.apache.tomcat.util.buf.StringUtils.join; public class PasswordConstraintValidator implements ConstraintValidator<ValidPassword, String> { @Override public void initialize(final ValidPassword arg0) { } @Override public boolean isValid(final String password, final ConstraintValidatorContext context) { List<Rule> rules = new ArrayList<>(); //Rule 1: Password length should be in between 8 and 16 characters rules.add(new LengthRule(8, 16)); //Rule 2: No whitespace allowed rules.add(new WhitespaceRule()); //Rule 3.a: At least one Upper-case character rules.add(new CharacterRule(EnglishCharacterData.UpperCase, 1)); //Rule 3.b: At least one Lower-case character rules.add(new CharacterRule(EnglishCharacterData.LowerCase, 1)); //Rule 3.c: At least one digit rules.add(new CharacterRule(EnglishCharacterData.Digit, 1)); //Rule 3.d: At least one special character rules.add(new CharacterRule(EnglishCharacterData.Special, 1)); //Rule: 1 to 5 numbers are not allowed rules.add(new NumberRangeRule(1, 5)); final PasswordValidator validator = new PasswordValidator(rules); final RuleResult result = validator.validate(new PasswordData(password)); if (result.isValid()) { return true; } context.disableDefaultConstraintViolation(); context.buildConstraintViolationWithTemplate(join(validator.getMessages(result))).addConstraintViolation(); return false; } }
1d743dc3b0bb1d235a7bcd32577378c9d5ce4570
fb912440c542752aeedaaf4261356a23cdcfd09c
/src/java/cr/casino/catalogoCasino/bl/BaseBL.java
cfb6cd19ee83e53e47c5958574e254ec37bd4c52
[]
no_license
kristyn88/Catalogo_Casino
5f64628a95af8c0aa97ae2a8f859842ca0303703
3b29d3a128155d52bda47fbeb6e2694cb6090c7e
refs/heads/master
2020-03-30T19:05:52.814560
2018-10-09T08:02:09
2018-10-09T08:02:09
151,527,970
0
0
null
null
null
null
UTF-8
Java
false
false
2,396
java
package cr.casino.catalogoCasino.bl; import cr.casino.catalogoCasino.dao.IBaseDAO; import cr.casino.catalogoCasino.dao.impl.BdcAdministradorDAO; import cr.casino.catalogoCasino.dao.impl.BdcAgenteAuxiliarDAO; import cr.casino.catalogoCasino.dao.impl.BdcAgenteDAO; import cr.casino.catalogoCasino.dao.impl.BdcClienteAuxiliarDAO; import cr.casino.catalogoCasino.dao.impl.BdcClienteDAO; import cr.casino.catalogoCasino.dao.impl.BdcDetallePedidoDAO; import cr.casino.catalogoCasino.dao.impl.BdcImgProductoDAO; import cr.casino.catalogoCasino.dao.impl.BdcPedidoDAO; import cr.casino.catalogoCasino.dao.impl.BdcProductoAuxiliarDAO; import cr.casino.catalogoCasino.dao.impl.BdcProductoDAO; import cr.casino.catalogoCasino.dao.impl.BdcReservaDAO; import cr.casino.catalogoCasino.dao.impl.BdcUsuarioAgenteDAO; import cr.casino.catalogoCasino.dao.impl.BdcVentaDAO; import java.util.LinkedHashMap; /** * * @author Jeremy */ public class BaseBL { private final LinkedHashMap<String, IBaseDAO> daos; public BaseBL() { daos = new LinkedHashMap(); daos.put("cr.casino.catalogoCasino.domain.BdcAdministrador", new BdcAdministradorDAO()); daos.put("cr.casino.catalogoCasino.domain.BdcAgenteAuxiliar", new BdcAgenteAuxiliarDAO()); daos.put("cr.casino.catalogoCasino.domain.BdcAgente", new BdcAgenteDAO()); daos.put("cr.casino.catalogoCasino.domain.BdcClienteAuxiliar", new BdcClienteAuxiliarDAO()); daos.put("cr.casino.catalogoCasino.domain.BdcCliente", new BdcClienteDAO()); daos.put("cr.casino.catalogoCasino.domain.BdcDetallePedido", new BdcDetallePedidoDAO()); daos.put("cr.casino.catalogoCasino.domain.BdcImgProducto", new BdcImgProductoDAO()); daos.put("cr.casino.catalogoCasino.domain.BdcPedido", new BdcPedidoDAO()); daos.put("cr.casino.catalogoCasino.domain.BdcProductoAuxiliar", new BdcProductoAuxiliarDAO()); daos.put("cr.casino.catalogoCasino.domain.BdcProducto", new BdcProductoDAO()); daos.put("cr.casino.catalogoCasino.domain.BdcReserva", new BdcReservaDAO()); daos.put("cr.casino.catalogoCasino.domain.BdcUsuarioAgente", new BdcUsuarioAgenteDAO()); daos.put("cr.casino.catalogoCasino.domain.BdcVenta", new BdcVentaDAO()); } public IBaseDAO getDao(String className){ return daos.get(className); } }
[ "krist@DESKTOP-BV5SJ0J" ]
krist@DESKTOP-BV5SJ0J
76b8ae0274a61a4e88edf3470300c83ea263923b
1d11d02630949f18654d76ed8d5142520e559b22
/OnlineContributors/src/org/tolweb/tapestry/WebquestViewIntroduction.java
e192c3755d02257776c9f646370d05b664ea4753
[]
no_license
tolweb/tolweb-app
ca588ff8f76377ffa2f680a3178351c46ea2e7ea
3a7b5c715f32f71d7033b18796d49a35b349db38
refs/heads/master
2021-01-02T14:46:52.512568
2012-03-31T19:22:24
2012-03-31T19:22:24
null
0
0
null
null
null
null
UTF-8
Java
false
false
539
java
/* * Created on Jun 23, 2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package org.tolweb.tapestry; /** * @author dmandel * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public abstract class WebquestViewIntroduction extends ViewWebquest { public String getIntroduction() { return getPreparedText(getWebquest().getIntroduction()); } }
dc0213e78a3a06272161900cdf444c28f51655b2
97f1ca22560bafb2421855a0009808d0735cb288
/wk03/src/d03ws07.java
9d76dd2518738aee8c368ba483e934598f2ff45a
[]
no_license
greenfox-zerda-raptors/bncbodrogi
588efd106b47c99a68dfeeffbe2eabc1ec2cf064
c5f2166222690cf7783e8b22777d8b2afbf5d09a
refs/heads/master
2021-01-12T18:15:12.653456
2017-02-17T08:54:31
2017-02-17T08:54:31
71,352,001
0
0
null
null
null
null
UTF-8
Java
false
false
180
java
public class d03ws07 { public static void main(String[] args) { int[] array = new int[10]; for (int i = 0; i < 10; i++) array[i] = i * i; } }
3c801bf583a9153b68f9d245236ad2f6545aa97e
48c98f88e3d92b0231e09d7f72da70c14fa2302c
/RR/app/src/main/java/com/thomaskuenneth/rr/RRFile.java
44438af99cedf01e4f057765fe28152a6ab8c8ea
[]
no_license
SoftdeveloperNeumann/Application1
895797196822c9173604ccf0d32759b63578c336
67c55a9935097b0f001c986f7d565023346d5049
refs/heads/master
2020-09-21T17:37:50.887763
2016-09-12T07:01:48
2016-09-12T07:01:48
67,195,106
0
0
null
null
null
null
UTF-8
Java
false
false
864
java
package com.thomaskuenneth.rr; import android.util.Log; import java.io.File; import java.text.DateFormat; import java.util.Date; public class RRFile extends File { private static final String TAG = RRFile.class.getSimpleName(); private static final long serialVersionUID = -3905881279424216648L; public static final String EXT_3GP = ".3gp"; public RRFile(File path, String name) { super(path, name); } @Override public String toString() { String result = getName().toLowerCase(); result = result.substring(0, result.indexOf(EXT_3GP)); try { Date d = new Date(Long.parseLong(result)); result = DateFormat.getInstance().format(d); } catch (Throwable tr) { Log.e(TAG, "Fehler beim Umwandeln oder Formatieren", tr); } return result; } }
a7fcc5cddaf2ea9e5cb7fee6336c8dd8cbe89db0
dc2286a805e42b82ffa3e935f480dce74dd85a09
/src/main/java/com/coldraincn/parsing/backtrack/Test.java
d1fbb04ba2503f80f6d29cb487fbebef0c13591a
[]
no_license
coldraincn/tpdsl
ad403f3d98e55e57e45dd687a39b4826f7f8ae7d
d6cc35686861628c5c3233532f813b7082055cd6
refs/heads/master
2020-03-16T13:46:44.572232
2018-05-22T02:08:44
2018-05-22T02:08:44
132,699,410
0
0
null
null
null
null
UTF-8
Java
false
false
396
java
package com.coldraincn.parsing.backtrack; public class Test{ public static void main(String[] args) throws RecognitionException { BacktrackLexer lexer = new BacktrackLexer(args[0]); // parse arg BacktrackParser parser = new BacktrackParser(lexer); //System.out.println(parser.LT(11)); // can look far ahead parser.stat(); // begin parsing at rule stat } }
1c8271b07dfa8d06ca1308ef27bd794626f48a1e
3f9d342ebd161d0f7e111c0bbde26a8742a570e5
/Chat/ChatServerSvcsHelper.java
f70300a742df6e1e8574d261fdae5aa74d0614b2
[]
no_license
OMGwill/distributed-chat-multicast
9f1b2065c0ede586d7e297fba7e7ccbeb368a47b
b6fa7851b1379aa4fe2a050eb24a30bcc424f2c6
refs/heads/master
2020-03-18T01:58:49.209804
2018-05-20T16:51:27
2018-05-20T16:51:27
134,168,968
0
0
null
null
null
null
UTF-8
Java
false
false
2,461
java
package Chat; /** * Chat/ChatServerSvcsHelper.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from Chat.idl * Wednesday, April 13, 2016 6:17:13 PM EDT */ abstract public class ChatServerSvcsHelper { private static String _id = "IDL:Chat/ChatServerSvcs:1.0"; public static void insert (org.omg.CORBA.Any a, Chat.ChatServerSvcs that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static Chat.ChatServerSvcs extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (Chat.ChatServerSvcsHelper.id (), "ChatServerSvcs"); } return __typeCode; } public static String id () { return _id; } public static Chat.ChatServerSvcs read (org.omg.CORBA.portable.InputStream istream) { return narrow (istream.read_Object (_ChatServerSvcsStub.class)); } public static void write (org.omg.CORBA.portable.OutputStream ostream, Chat.ChatServerSvcs value) { ostream.write_Object ((org.omg.CORBA.Object) value); } public static Chat.ChatServerSvcs narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof Chat.ChatServerSvcs) return (Chat.ChatServerSvcs)obj; else if (!obj._is_a (id ())) throw new org.omg.CORBA.BAD_PARAM (); else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); Chat._ChatServerSvcsStub stub = new Chat._ChatServerSvcsStub (); stub._set_delegate(delegate); return stub; } } public static Chat.ChatServerSvcs unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof Chat.ChatServerSvcs) return (Chat.ChatServerSvcs)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); Chat._ChatServerSvcsStub stub = new Chat._ChatServerSvcsStub (); stub._set_delegate(delegate); return stub; } } }
3eff2e6adf95251a71aa1b514579b9087e26eff0
87f2014cd08a3762897c60fc2c832a9f5b7ca768
/src/com/bxb/modules/client/service/FamillyRelationShipService.java
212438d8829a748e4664bb3a35e765d554884546
[]
no_license
opencainiao/bxb
2280b5ceaa0c8f48a9286e3c6d7a0d2d183e80d6
1597259edd4c8d959e6ea42a4ad19ed57f5d5c54
refs/heads/master
2021-01-21T12:08:05.405744
2015-10-03T06:32:22
2015-10-03T06:32:22
39,053,560
0
1
null
null
null
null
UTF-8
Java
false
false
3,957
java
package com.bxb.modules.client.service; import java.util.List; import javax.annotation.Resource; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.stereotype.Service; import com.bxb.common.globalobj.PageVO; import com.bxb.modules.base.BaseService; import com.bxb.modules.client.dao.FamillyRelationShipDao; import com.bxb.modules.client.model.Address; import com.bxb.modules.infrastructure.model.ClientRelationShip; import com.mongodb.BasicDBObject; import com.mongodb.DBObject; import com.mongodb.WriteResult; /**** * 地址服务实现 * * @author NBQ * */ @Service("famillyRelationShipService") public class FamillyRelationShipService extends BaseService implements IFamillyRelationShip { @Resource(name = "famillyrelationshipdao") private FamillyRelationShipDao famillyRelationShipDao; private static final Logger logger = LogManager.getLogger(FamillyRelationShipService.class); @Override public Address findOneByIdObject(String _id) { return this.famillyRelationShipDao.findOneByIdObject(_id, Address.class); } @Override public PageVO batchSearchPage(DBObject queryCondition, DBObject sort, DBObject returnFields) { return this.famillyRelationShipDao.batchSearchPage(queryCondition, sort, returnFields); } @Override public PageVO batchSearchOnePage(DBObject query, DBObject sort, DBObject returnFields) { return this.famillyRelationShipDao.batchSearchOnePage(query, sort, returnFields); } @Override public DBObject updatePart(DBObject returnFields, Address address) { DBObject toUpdate = makeUpdate(address); return this.famillyRelationShipDao.updateOneById(address.get_id_m(), returnFields, toUpdate); } /**** * 转化对象为要更新的部分字段 * * @param update * @return */ private DBObject makeUpdate(Address address) { DBObject update = new BasicDBObject(); DBObject updateSet = new BasicDBObject(); updateSet.put("type_value", address.getType_value()); updateSet.put("type_name", address.getType_name()); updateSet.put("province", address.getProvince()); updateSet.put("city", address.getCity()); updateSet.put("district", address.getDistrict()); updateSet.put("detail_address", address.getDetail_address()); updateSet.put("mainflg", address.getMainflg()); this.setModifyInfo(updateSet); update.put("$set", updateSet); logger.debug("更新的对象信息\n{}", update); return update; } @Override public DBObject RemoveOneById(String _id) { DBObject dbo = this.famillyRelationShipDao.findOneByIdPart(_id, null); String f_id = dbo.get("f_id").toString(); String s_id = dbo.get("s_id").toString(); DBObject dboQuery = new BasicDBObject(); dboQuery.put("f_id", s_id); dboQuery.put("s_id", f_id); WriteResult wr = this.famillyRelationShipDao.remove(dboQuery); logger.debug(dbo); return this.famillyRelationShipDao.findAndRemoveOneById(_id); } @Override public DBObject RemoveOneByIdLogic(String _id) { DBObject updateSet = new BasicDBObject(); this.setModifyInfo(updateSet); return this.famillyRelationShipDao.findAndRemoveOneByIdLogic(_id, updateSet); } @Override public List<DBObject> findAllByOwnerId(String ownerId) { DBObject queryCondition = new BasicDBObject(); queryCondition.put("owner_id", ownerId); // 2.设置返回结果 List<DBObject> allAddress = this.famillyRelationShipDao.findBatchDbOjbect(queryCondition, null, null); return allAddress; } @Override public PageVO findAllOnePageByOwnerId(String ownerId) { DBObject queryCondition = new BasicDBObject(); queryCondition.put("owner_id", ownerId); DBObject sort = new BasicDBObject(); sort.put("type_value", 1); return batchSearchOnePage(queryCondition, sort, null); } /**** * 添加关系 */ @Override public String add(ClientRelationShip clientrelationship) { return this.famillyRelationShipDao.insertObj(clientrelationship); } }
3c00299629e5e31720fd241524cb4e4611dda2ef
736e4a61e9f0fad887a74099c4b437ef1deab68b
/vertx-pin/zero-ambient/src/main/java/io/vertx/tp/ambient/refine/At.java
d1625595da29ee16976b49d5da4ad59e1a49193e
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
javac-xinghejun/vertx-zero
29ffdd7edbe31ce88c5b7be0a20838c64f0c9570
9c6e9a3fce574a2c3c1ffc29feb8d8769894eb4b
refs/heads/master
2022-04-05T18:26:57.172562
2020-03-02T03:59:35
2020-03-02T03:59:35
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,907
java
package io.vertx.tp.ambient.refine; import cn.vertxup.ambient.domain.tables.pojos.XApp; import cn.vertxup.ambient.domain.tables.pojos.XNumber; import io.vertx.core.Future; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import io.vertx.ext.web.FileUpload; import io.vertx.up.commune.config.Database; import io.vertx.up.log.Annal; import io.vertx.up.unity.Ux; import org.jooq.DSLContext; import java.util.List; /* * Tool class available in current service only */ public class At { /* * Log */ public static void infoInit(final Annal logger, final String pattern, final Object... args) { AtLog.infoInit(logger, pattern, args); } public static void infoEnv(final Annal logger, final String pattern, final Object... args) { AtLog.infoEnv(logger, pattern, args); } public static void infoFile(final Annal logger, final String pattern, final Object... args) { AtLog.infoFile(logger, pattern, args); } public static void infoApp(final Annal logger, final String pattern, final Object... args) { AtLog.infoApp(logger, pattern, args); } public static void infoFlow(final Class<?> clazz, final String pattern, final Object... args) { AtLog.infoExec(clazz, pattern, args); } /* * App Info, Bind to new datasource or current get. */ public static XApp app(final DSLContext context, final String name) { return AtEnv.getApp(context, name); } public static XApp app(final String name) { return AtEnv.getApp(name); } public static Future<Database> databaseAsync(final String appId) { return AtEnv.getDatabaseWithCache(appId); } public static List<String> serials(final XNumber number, final Integer count) { return AtSerial.serials(number, count); } public static Future<List<String>> serialsAsync(final XNumber number, final Integer count) { return Ux.future(AtSerial.serials(number, count)); } /* * File */ public static JsonObject upload(final String category, final FileUpload fileUpload) { return AtEnv.upload(category, fileUpload); } public static JsonObject filters(final String appId, final String type, final String code) { return AtQuery.filters(appId, new JsonArray().add(type), code); } public static JsonObject filters(final String appId, final JsonArray types, final String code) { return AtQuery.filters(appId, types, code); } public static JsonObject filtersSigma(final String sigma, final String type, final String code) { return AtQuery.filtersSigma(sigma, new JsonArray().add(type), code); } public static JsonObject filtersSigma(final String sigma, final JsonArray types, final String code) { return AtQuery.filtersSigma(sigma, types, code); } }
3b908567ecf666fa87a5182995601c02b7cadfc6
07faadd987a5febb3c6e7180323c2b01e654f3c7
/src/preprocessing/akiba-iwata/src/tc/wata/util/SetOpt.java
23ba175509a8aaa05d8e80a7dece38c022d8d567
[ "MIT", "BSD-3-Clause" ]
permissive
TheoryInPractice/practical-oct
eda454d57e27274c857b874b5526ecf03bfef29e
e57119b26ca7e17d91f12a07cca55bf26e0b5aeb
refs/heads/master
2023-07-23T00:31:11.496517
2020-04-13T19:33:11
2020-04-13T19:33:11
130,571,253
5
0
BSD-3-Clause
2023-07-10T14:15:13
2018-04-22T13:44:23
Python
UTF-8
Java
false
false
6,728
java
package tc.wata.util; import java.lang.annotation.*; import java.lang.reflect.*; import java.util.*; /** * -ABBR VAL / -ABBRVAL / --NAME VAL / --NAME=VAL という形式の文字列をパースしてOptionアノテーションの指定されたpublicフィールドに値をセットする.<br> * 使える値の種類はint,long,double,boolean,String.<br> * NAMEは曖昧性が無い限り短縮可能. * booleanの場合はデフォルト値を反転させる.<br> * -- から先は全てオプションではない実引数として扱う. */ public class SetOpt { private SetOpt() { } /** * オプションの指定 */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Option { /** * 短縮形の名前.指定しない場合短縮形なし. */ char abbr() default 0; /** * オプション名.指定しない場合,変数名がそのまま使われる. */ String name() default ""; /** * 説明文 */ String usage() default ""; /** * 必須かどうか */ boolean required() default false; } /** * 文字列を元に指定された型のオブジェクトを生成. */ public static Object createObject(Class<?> type, String val) { Object obj; if (type == int.class) obj = Integer.parseInt(val); else if (type == long.class) obj = Long.parseLong(val); else if (type == double.class) obj = Double.parseDouble(val); else if (type == boolean.class) obj = Boolean.parseBoolean(val); else if (type == String.class) obj = val; else throw new IllegalArgumentException("Unspported type: " + type); return obj; } private static String getName(Field f) { Option opt = f.getAnnotation(Option.class); if (opt.name() != null && opt.name().length() > 0) return opt.name(); return f.getName(); } private static Field getField(Object obj, String name) { Field res = null; ArrayList<String> list = new ArrayList<>(); if ("help".startsWith(name)) list.add("help"); for (Field f : obj.getClass().getFields()) if (f.isAnnotationPresent(Option.class)) { String id = getName(f); if (id.equals(name)) { return f; } else if (id.startsWith(name)) { list.add(id); res = f; } } if (res == null) { if (list.size() > 0) return null; System.err.printf("No such option: '--%s'%n", name); System.exit(1); } else if (list.size() > 1) { StringBuilder str = new StringBuilder(); for (String s : list) { if (str.length() > 0) str.append(", "); str.append(s); } System.err.printf("Ambiguous option: '--%s' (%s)%n", name, str); System.exit(1); } return res; } private static Field getAbbrField(Object obj, char abbr) { for (Field f : obj.getClass().getDeclaredFields()) if (f.isAnnotationPresent(Option.class)) { Option opt = f.getAnnotation(Option.class); if (opt.abbr() == abbr) { return f; } } System.err.printf("No such option: '-%c'%n" + abbr); System.exit(1); return null; } /** * 引数を元に,オブジェクトのフィールドに値を設定する. * @return オプション以外の引数リストを返す */ public static String[] setOpt(Object obj, String...args) { Set<Field> used = new HashSet<>(); ArrayList<String> ret = new ArrayList<>(); try { for (int i = 0; i < args.length; i++) { String s = args[i]; if (s.equals("--")) { for (int j = i + 1; j < args.length; j++) { ret.add(args[j]); } break; } else if (!s.startsWith("-")) { ret.add(s); } else if (s.startsWith("--")) { String name, val = null; if (s.indexOf('=') >= 0) { name = s.substring(2, s.indexOf('=')); val = s.substring(s.indexOf('=') + 1); } else { name = s.substring(2); } Field f = getField(obj, name); if (f == null) { showUsage(obj); System.exit(1); } else if (f.getType().equals(boolean.class)) { if (val != null) { System.err.printf("The option '--%s' cannot not take arguments%n", name); System.exit(1); } f.set(obj, !(boolean)f.get(obj)); } else { if (val == null) { if (i + 1 >= args.length) { System.err.printf("The option '--%s' requires an argument%n", name); System.exit(1); } val = args[++i]; } try { f.set(obj, createObject(f.getType(), val)); } catch (Exception e) { System.err.printf("Illegal argument for the option '--%s': %s%n", name, val); System.exit(1); } } used.add(f); } else if (s.length() >= 2) { char abbr = s.charAt(1); String val = s.substring(2); Field f = getAbbrField(obj, abbr); if (f == null) { showUsage(obj); System.exit(1); } else if (f.getType().equals(boolean.class)) { if (!val.isEmpty()) { System.err.printf("The option '-%c' cannot not take arguments%n", abbr); System.exit(1); } f.set(obj, !(boolean)f.get(obj)); } else { if (val.isEmpty()) { if (i + 1 >= args.length) { System.err.printf("The option '-%c' requires an argument%n", abbr); System.exit(1); } val = args[++i]; } try { f.set(obj, createObject(f.getType(), val)); } catch (Exception e) { System.err.printf("Illegal argument for the option '-%c': %s%n", abbr, val); System.exit(1); } } used.add(f); } else { System.err.printf("No such option: '-'%n"); System.exit(1); } } } catch (IllegalAccessException e) { throw new RuntimeException(e); } for (Field f : obj.getClass().getFields()) if (f.isAnnotationPresent(Option.class)) { Option opt = f.getAnnotation(Option.class); if (opt.required() && !used.contains(f)) { System.err.printf("The required option '--%s' is not specified.%n", getName(f)); System.exit(1); } } return ret.toArray(new String[0]); } /** * Optionアノテーションが付与されたフィールドの一覧を表示する. */ public static void showUsage(Object obj) { try { System.err.println("Options:"); for (Field f : obj.getClass().getFields()) if (f.isAnnotationPresent(Option.class)) { Option opt = f.getAnnotation(Option.class); System.err.print(" "); if (opt.abbr() != 0) System.err.printf("-%c, ", opt.abbr()); else System.err.print(" "); System.err.printf("--%s <%s>(%s)", getName(f), f.getType().getSimpleName(), opt.required() ? "required" : f.get(obj)); System.err.println("\t" + opt.usage()); } System.err.println(" --help\tShow this usage"); } catch (IllegalAccessException e) { throw new RuntimeException(e); } } }
f3e4c610083aad1f64c71b0ee78192b61f547208
a2f58f7f403dd742d07a6dc0eada141ae30a5de7
/src/main/java/com/github/sylvek/wsmqttfwd/message/PublishMessage.java
73fcceb1678409edeb8f03f5b40d416c2a6736bf
[ "Apache-2.0" ]
permissive
ivanfmartinez/websocket-mqtt-forwarder
ff695ed5e14ffeaec4ba459471e27d4248bcc112
eb532ac8562417d81b318a8746f59d423364da4b
refs/heads/master
2021-01-11T17:40:45.351859
2016-10-19T14:57:14
2016-10-19T14:57:14
79,819,999
1
0
null
2017-01-23T15:58:25
2017-01-23T15:58:25
null
UTF-8
Java
false
false
1,511
java
/* * Copyright (c) 2012-2015 The original author or authors * ------------------------------------------------------ * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * * The Eclipse Public License is available at * http://www.eclipse.org/legal/epl-v10.html * * The Apache License v2.0 is available at * http://www.opensource.org/licenses/apache2.0.php * * You may elect to redistribute this code under either of these licenses. */ package com.github.sylvek.wsmqttfwd.message; import java.nio.ByteBuffer; /** * @author andrea * @author Sylvain Maucourt */ public class PublishMessage extends AbstractMessage { protected Integer m_messageID; //could be null if Qos is == 0 protected String m_topicName; protected ByteBuffer m_payload; public Integer getMessageID() { return m_messageID; } public void setMessageID(Integer messageID) { this.m_messageID = messageID; } public PublishMessage() { m_messageType = PUBLISH; } public String getTopicName() { return m_topicName; } public void setTopicName(String topicName) { this.m_topicName = topicName; } public ByteBuffer getPayload() { return m_payload; } public void setPayload(ByteBuffer payload) { this.m_payload = payload; } }
02f0e53900782b6debf552faed97a8ae8766157b
803ead56a214193bd21f54223264494391a2cb04
/smithy-model/src/main/java/software/amazon/smithy/model/traits/ReadonlyTrait.java
595a873c01af215430b3ae2929cf2a2965f8adea
[ "Apache-2.0" ]
permissive
kiiadi/smithy
c2494a8320bef109dcba237f11ec72d43c35f4e6
3e5bde27494652baf5421f6c424b7186fb1631ff
refs/heads/master
2020-06-06T16:54:22.449598
2019-06-19T17:01:03
2019-06-19T17:10:46
192,797,596
0
0
Apache-2.0
2019-06-19T20:08:34
2019-06-19T20:08:34
null
UTF-8
Java
false
false
1,201
java
/* * Copyright 2019 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 software.amazon.smithy.model.traits; import software.amazon.smithy.model.SourceLocation; /** * Indicates that an operation is read-only. */ public final class ReadonlyTrait extends BooleanTrait { public static final String NAME = "smithy.api#readonly"; public ReadonlyTrait(SourceLocation sourceLocation) { super(NAME, sourceLocation); } public ReadonlyTrait() { this(SourceLocation.NONE); } public static final class Provider extends BooleanTrait.Provider<ReadonlyTrait> { public Provider() { super(NAME, ReadonlyTrait::new); } } }
46fc0e488a9d0f4b02f6b7298047990658283b49
d8f641729c8b4fed0290d439cb8c230faa788edd
/StringParse/src/com/angelos/Main.java
899b922acb00436b4b4ce886dec27dbd01e293fd
[]
no_license
Agtoutzi/JavaExcercises
435937e48021d1d0c766f195004a06655be79b40
10a24840dd037126d02eb7ec347c3d4e754558f5
refs/heads/master
2020-07-22T01:41:02.471617
2019-10-03T21:59:16
2019-10-03T21:59:16
207,034,917
0
0
null
null
null
null
UTF-8
Java
false
false
2,240
java
package com.angelos; public class Main { public static void main(String[] args) { // System.out.println(canPack(1,0,4)); // System.out.println(canPack(1,0,5)); // System.out.println(canPack(0,5,4)); // System.out.println(canPack(2,2,11)); // System.out.println(canPack(-3,2,12)); // System.out.println(getLargestPrime(21)); // System.out.println(getLargestPrime(217)); // System.out.println(getLargestPrime(0)); // System.out.println(getLargestPrime(45)); // System.out.println(getLargestPrime(-1)); for (int i = 0; i < 15; i++) { printSquareStar(i); } } public static boolean canPack(int bigCount, int smallCount, int goal) { if (bigCount < 0 || smallCount < 0 || goal < 0) { return false; } for (int i = 0; i < bigCount && goal >= 5; i++) { goal -= 5; } for (int i = 0; i < smallCount && goal >= 1; i++) { goal -= 1; } return goal == 0; } public static int getLargestPrime(int number) { if (number < 2) { return -1; } int largestPrime = 2; for (int i = largestPrime; i <= number; i++) { if (number % i == 0) { boolean isPrime = true; for (int j = 2; j < i; j++) { if (i % j == 0) { isPrime = false; } } if (isPrime) { largestPrime = i; } } } return largestPrime; } public static void printSquareStar(int number) { if (number < 5) { System.out.println("Invalid Value"); return; } for (int i = 0; i < number; i++) { for (int j = 0; j < number; j++) { if (i == 0 || i == number - 1 || j == 0 || j == number - 1 || i == j || i == number - 1 - j) { System.out.print("*"); } else { System.out.print(" "); } } System.out.println(); } } }
7dd41e3c68172380c98555b1cb885ceb393ddf5e
42e36b71df248437222c298a735bbec2561765dc
/src/main/java/com/xiny/config/druid/DruidStatViewServlet.java
10887c902a1abb57d5dcfb84fb14844241d904c4
[]
no_license
xyxycoder/springboot
6188a42e29f78795fd71585e42006d89460fd386
2fb5a82bbb80132d8328ead4d96a2afe6c1b3b9a
refs/heads/master
2022-12-07T07:19:42.227655
2020-07-10T09:28:40
2020-07-10T09:28:40
166,920,686
1
0
null
2022-11-16T11:37:05
2019-01-22T03:26:49
Java
UTF-8
Java
false
false
764
java
package com.xiny.config.druid; import com.alibaba.druid.support.http.StatViewServlet; import javax.servlet.Servlet; import javax.servlet.annotation.WebInitParam; import javax.servlet.annotation.WebServlet; /** * druid页面登陆信息 */ @WebServlet( urlPatterns= "/druid/*", initParams= { @WebInitParam(name="allow",value="127.0.0.1"), @WebInitParam(name="loginUsername",value="root"), @WebInitParam(name="loginPassword",value="1234"), @WebInitParam(name="resetEnable",value="false")// 允许HTML页面上的“Reset All”功能 } ) public class DruidStatViewServlet extends StatViewServlet implements Servlet { private static final long serialVersionUID = 1L; }
[ "qwer1234" ]
qwer1234
14aa94ba93f8bbbb91acc75f5dd78fef406019f7
c58577238fe4642c89a4907cc1fcd68efd9a694d
/chapter11/11.2-4/SpringOrderServiceClient/src/main/java/com/ensoa/orderservice/PurchaseOrder.java
950d1f07efe42978ab56ce084a2c9ee693f1d113
[]
no_license
jonghwankwon/All-In-One-Java
11cf6e0b419b3bbfaf56bf4d5d62cc277b836ce6
45f619cb25bb412ef3b7b6b13f718cace2e6f257
refs/heads/master
2022-12-26T22:59:01.166801
2019-07-31T03:45:41
2019-07-31T03:45:41
198,590,202
0
0
null
2022-12-16T04:29:06
2019-07-24T08:17:15
Java
UTF-8
Java
false
false
1,342
java
package com.ensoa.orderservice; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>purchaseOrder complex type에 대한 Java 클래스입니다. * * <p>다음 스키마 단편이 이 클래스에 포함되는 필요한 콘텐츠를 지정합니다. * * <pre> * &lt;complexType name="purchaseOrder"> * &lt;complexContent> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;sequence> * &lt;element name="arg0" type="{http://orderservice.ensoa.com/}order" minOccurs="0"/> * &lt;/sequence> * &lt;/restriction> * &lt;/complexContent> * &lt;/complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "purchaseOrder", propOrder = { "arg0" }) public class PurchaseOrder { protected Order arg0; /** * arg0 속성의 값을 가져옵니다. * * @return * possible object is * {@link Order } * */ public Order getArg0() { return arg0; } /** * arg0 속성의 값을 설정합니다. * * @param value * allowed object is * {@link Order } * */ public void setArg0(Order value) { this.arg0 = value; } }
294b0dfb5056c9845f1fc321ea2f533ec0a7af91
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/java/neo4j/2018/4/FusionIndexBase.java
4a869484bbc2380f564e4f0e49ab1926b9503bc3
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Java
false
false
6,462
java
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package org.neo4j.kernel.impl.index.schema.fusion; import java.lang.reflect.Array; import java.util.Arrays; import org.neo4j.collection.primitive.PrimitiveIntCollections; import org.neo4j.function.ThrowingConsumer; import org.neo4j.function.ThrowingFunction; import org.neo4j.helpers.Exceptions; import org.neo4j.kernel.api.index.IndexProvider; /** * Acting as a simplifier for the multiplexing that is going in inside a fusion index. A fusion index consists of multiple parts, * each handling one or more value groups. Each instance, be it a reader, populator or accessor should extend this class * to get that multiplexing at a low cost. All parts will live in an array with specific slot constants to each specific part. * * @param <T> type of instances */ public abstract class FusionIndexBase<T> { static final int INSTANCE_COUNT = 5; static final int STRING = 0; static final int NUMBER = 1; static final int SPATIAL = 2; static final int TEMPORAL = 3; static final int LUCENE = 4; final T[] instances; final FusionIndexProvider.Selector selector; FusionIndexBase( T[] instances, FusionIndexProvider.Selector selector ) { assert instances.length == INSTANCE_COUNT; this.instances = instances; this.selector = selector; } <R,E extends Exception> R[] instancesAs( Class<R> cls, ThrowingFunction<T,R,E> converter ) throws E { return instancesAs( instances, cls, converter ); } static <T,R,E extends Exception> R[] instancesAs( T[] instances, Class<R> cls, ThrowingFunction<T,R,E> converter ) throws E { R[] result = (R[]) Array.newInstance( cls, instances.length ); for ( int i = 0; i < instances.length; i++ ) { result[i] = converter.apply( instances[i] ); } return result; } /** * NOTE: duplicate of {@link #forAll(ThrowingConsumer, Iterable)} to avoid having to wrap subjects of one form into another. * There are some real use cases for passing in an array instead of {@link Iterable} out there... * * Method for calling a lambda function on many objects when it is expected that the function might * throw an exception. First exception will be thrown and subsequent will be suppressed. * * For example, in FusionIndexAccessor: * <pre> * public void drop() throws IOException * { * forAll( IndexAccessor::drop, firstAccessor, secondAccessor, thirdAccessor ); * } * </pre> * * @param consumer lambda function to call on each object passed * @param subjects varargs array of objects to call the function on * @param <E> the type of exception anticipated, inferred from the lambda * @throws E if consumption fails with this exception */ @SafeVarargs public static <T, E extends Exception> void forAll( ThrowingConsumer<T,E> consumer, T... subjects ) throws E { // Duplicate this method for array to avoid creating a purely internal list to shove that in to the other method. E exception = null; for ( T subject : subjects ) { try { consumer.accept( subject ); } catch ( Exception e ) { exception = Exceptions.chain( exception, (E) e ); } } if ( exception != null ) { throw exception; } } /** * See {@link #forAll(ThrowingConsumer, Object[])} * NOTE: duplicate of {@link #forAll(ThrowingConsumer, Object[])} to avoid having to wrap subjects of one form into another. * There are some real use cases for passing in an Iterable instead of array out there... * * Method for calling a lambda function on many objects when it is expected that the function might * throw an exception. First exception will be thrown and subsequent will be suppressed. * * For example, in FusionIndexAccessor: * <pre> * public void drop() throws IOException * { * forAll( IndexAccessor::drop, firstAccessor, secondAccessor, thirdAccessor ); * } * </pre> * * @param consumer lambda function to call on each object passed * @param subjects varargs array of objects to call the function on * @param <E> the type of exception anticipated, inferred from the lambda * @throws E if consumption fails with this exception */ public static <T, E extends Exception> void forAll( ThrowingConsumer<T,E> consumer, Iterable<T> subjects ) throws E { E exception = null; for ( T subject : subjects ) { try { consumer.accept( subject ); } catch ( Exception e ) { exception = Exceptions.chain( exception, (E) e ); } } if ( exception != null ) { throw exception; } } static void validateSelectorInstances( Object[] instances, int... aliveIndex ) { for ( int i = 0; i < instances.length; i++ ) { boolean expected = PrimitiveIntCollections.contains( aliveIndex, i ); boolean actual = instances[i] != IndexProvider.EMPTY; if ( expected != actual ) { throw new IllegalArgumentException( String.format( "Only indexes expected to be separated from IndexProvider.EMPTY are %s but was %s", Arrays.toString( aliveIndex ), Arrays.toString( instances ) ) ); } } } }
54966c2ffe94fec0dcb79e0e14b7874a67e1b662
34faed4bb85b3fabf684f3faac01524546f3c3ee
/src/Assemb/LOperand/Reg.java
498c536765cfb0d6c96ead24642f83c70647a5cc
[]
no_license
ZYHowell/Warspite
38123a5577cfbf6f7084766b3de83152f3b8bc83
d6953e55a56ad7198846c6119690f4ed203b3092
refs/heads/master
2023-04-04T21:02:43.291267
2021-04-21T09:56:16
2021-04-21T09:56:16
233,590,305
2
0
null
null
null
null
UTF-8
Java
false
false
608
java
package Assemb.LOperand; import Assemb.RISCInst.Mv; import java.util.HashSet; public abstract class Reg extends LOperand { public int degree = 0; public double weight = 0; public Reg alias = null; public PhyReg color; public Imm stackOffset = null; public HashSet<Reg> adjList = new HashSet<>(); public HashSet<Mv> moveList = new HashSet<>(); public Reg() { super(); if (this instanceof PhyReg) color = (PhyReg)this; else color = null; } public void init() { moveList.clear(); weight = 0; } }
fc4e1a667094db130c0e6f9f4cbe552276af5321
4f7b506ef21eba2e1779b41c137fdee825fd7374
/src/com/sinosoft/phoneGapPlugins/download/MainActivity.java
aba99d5b214146743280fbcdd806e7a6305d2b72
[]
no_license
zhanght86/mobileplat
fea947135e0a222c87fe358bba6cdc55ad896ff8
1a4dc46b28845fc7b40e0210c4f359995c7b1321
refs/heads/master
2020-05-21T06:42:12.851284
2018-02-07T03:39:19
2018-02-07T03:39:19
null
0
0
null
null
null
null
UTF-8
Java
false
false
3,891
java
package com.sinosoft.phoneGapPlugins.download; import java.io.File; import java.io.IOException; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.view.KeyEvent; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.ProgressBar; import android.widget.TextView; import android.widget.Toast; import com.sinosoft.gyicPlat.R; public class MainActivity extends Activity { /** Called when the activity is first created. */ FTPContinue mFTPContinue; private static final int DOWN_OVER = 2; private String remoteFile = ""; // private static final String remoteFile="/1.mp3"; private String localFile = ""; private Othercast othercast; private String apkname; private TextView btn_break; private TextView mTextView; private Button bt_break; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.mainload); ProgressBar mProgress = (ProgressBar) findViewById(R.id.progressbar); mTextView = (TextView) findViewById(R.id.tv_progress); // othercast = new Othercast(); // IntentFilter filter = new IntentFilter("NEW_LIFEFORMM"); // registerReceiver(othercast, filter); btn_break = (TextView) findViewById(R.id.btn_break); bt_break = (Button) findViewById(R.id.bt_break); bt_break.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { mFTPContinue.BreakDownload(); } }); Intent intent =getIntent(); String remoteFile = intent.getStringExtra("remoteFile"); String localFile = intent.getStringExtra("localFile"); this.remoteFile = remoteFile; this.localFile = localFile; String spStr[] = localFile.split("/"); File f = new File(localFile); // // 本地存在文件则删除 if (f.exists()) { f.delete(); } apkname = spStr[spStr.length - 1]; btn_break.setText(apkname); mFTPContinue = new FTPContinue(this, mProgress, mTextView,bt_break, mHandler); DownloadFile(); } // @Override // public boolean onKeyDown(int keyCode, KeyEvent event) { //// if(keyCode == KeyEvent.KEYCODE_BACK && mFTPContinue != null) { //// mFTPContinue.cancelDownload(); //// } //// return super.onKeyDown(keyCode, event); // } // 下载 private void DownloadFile() { try { mFTPContinue.download(remoteFile, localFile); } catch (IOException e) { e.printStackTrace(); } } // 下载完成自动调用 private void downloadOver() { Toast.makeText(MainActivity.this, "下载完成", Toast.LENGTH_SHORT).show(); install(); } public Handler mHandler = new Handler() { public void handleMessage(Message msg) { switch (msg.what) { case DOWN_OVER: bt_break.setText("完成"); downloadOver(); break; default: break; } }; }; public void install(){ Intent intent = new Intent(Intent.ACTION_VIEW); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.setDataAndType(Uri.parse("file://" + localFile), "application/vnd.android.package-archive"); startActivity(intent); } // public void DeleteApk(){ // File file = new File(localFile); // file.delete(); // // } // @Override // protected void onDestroy() { // unregisterReceiver(othercast); // super.onDestroy(); // } @Override protected void onPause() { finish(); super.onPause(); } // private class Othercast extends BroadcastReceiver{ // // @Override // public void onReceive(Context context, Intent intent) { // String qudao = intent.getStringExtra("qudao"); // System.out.println("quxiao"+"111111111"); // if(qudao!=null){ // DeleteApk(); // } // } // // } }
69021ab2654bb2843f6bac3636bdab3232dcadb6
eda2c926aed13d2e9e9ada84a975897224e5a5e8
/java/sidecar/src/main/java/com/instaclustr/jersey/DebugMapper.java
d6e8f594ba754bd4872b84f8b2206ea1ec7958a8
[ "Apache-2.0" ]
permissive
aharpour/cassandra-operator
570325768cfe2f9035595ec2e4f4c4850e5f1444
8548505aaedebb675fc082595f6ba49527acaa57
refs/heads/master
2020-07-13T23:44:14.415310
2019-09-06T15:43:34
2019-09-06T15:43:34
205,181,175
0
0
Apache-2.0
2019-08-29T14:21:50
2019-08-29T14:21:50
null
UTF-8
Java
false
false
581
java
package com.instaclustr.jersey; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; @Provider public class DebugMapper implements ExceptionMapper<Throwable> { private static final Logger logger = LoggerFactory.getLogger(DebugMapper.class); @Override public Response toResponse(Throwable t) { logger.error("Encontered exception", t); return Response.serverError() .entity(t.getMessage()) .build(); } }
84ac6f49af3af626aa7e0ef1dc3ac2d67fc6b6c7
bdf17383e0cda687c48d1507a1ab89ce55032b97
/app/src/main/java/com/example/muslimhotel/model/SearchHotel.java
dc3757b2308e3c3e93e4ddc36ef04ad6b0d11405
[]
no_license
fazri09/android_muslim_hotel
95088030e1b9aee495f6968b5749d2710e791059
b2adb86d9aef8bb1ae99f72504b84371ede117cc
refs/heads/master
2021-01-04T12:17:06.686086
2020-02-21T07:59:49
2020-02-21T07:59:49
240,543,067
0
0
null
null
null
null
UTF-8
Java
false
false
3,193
java
package com.example.muslimhotel.model; public class SearchHotel { private String idHotel; private String nmHotel; private String kotaHotel; private String scoreHotel; private String gambarHotel; private String tglAwalHotel; private String tglAkhirHotel; private String jPeopleTersedia; private String jKamarHotel; private String deskripsi; private String hargaHotel; public String reaview; public SearchHotel(String idHotel, String nmHotel, String kotaHotel, String scoreHotel, String gambarHotel, String tglAwalHotel, String tglAkhirHotel, String jPeopleTersedia, String jKamarHotel, String deskripsi, String hargaHotel, String reaview) { this.idHotel = idHotel; this.nmHotel = nmHotel; this.kotaHotel = kotaHotel; this.scoreHotel = scoreHotel; this.gambarHotel = gambarHotel; this.tglAwalHotel = tglAwalHotel; this.tglAkhirHotel = tglAkhirHotel; this.jPeopleTersedia = jPeopleTersedia; this.jKamarHotel = jKamarHotel; this.deskripsi = deskripsi; this.hargaHotel = hargaHotel; this.reaview = reaview; } public SearchHotel() { } public String getIdHotel() { return idHotel; } public void setIdHotel(String idHotel) { this.idHotel = idHotel; } public String getNmHotel() { return nmHotel; } public void setNmHotel(String nmHotel) { this.nmHotel = nmHotel; } public String getKotaHotel() { return kotaHotel; } public void setKotaHotel(String kotaHotel) { this.kotaHotel = kotaHotel; } public String getScoreHotel() { return scoreHotel; } public void setScoreHotel(String scoreHotel) { this.scoreHotel = scoreHotel; } public String getGambarHotel() { return gambarHotel; } public void setGambarHotel(String gambarHotel) { this.gambarHotel = gambarHotel; } public String getTglAwalHotel() { return tglAwalHotel; } public void setTglAwalHotel(String tglAwalHotel) { this.tglAwalHotel = tglAwalHotel; } public String getTglAkhirHotel() { return tglAkhirHotel; } public void setTglAkhirHotel(String tglAkhirHotel) { this.tglAkhirHotel = tglAkhirHotel; } public String getjPeopleTersedia() { return jPeopleTersedia; } public void setjPeopleTersedia(String jPeopleTersedia) { this.jPeopleTersedia = jPeopleTersedia; } public String getjKamarHotel() { return jKamarHotel; } public void setjKamarHotel(String jKamarHotel) { this.jKamarHotel = jKamarHotel; } public String getDeskripsi() { return deskripsi; } public void setDeskripsi(String deskripsi) { this.deskripsi = deskripsi; } public String getHargaHotel() { return hargaHotel; } public void setHargaHotel(String hargaHotel) { this.hargaHotel = hargaHotel; } public String getReaview() { return reaview; } public void setReaview(String reaview) { this.reaview = reaview; } }
f272588d064476cfbde19d1361b35b8e83b1ada7
fa91450deb625cda070e82d5c31770be5ca1dec6
/Diff-Raw-Data/11/11_329fe79e4ed81113f348c8dc1cf1b2b1198a9dd9/PatchListCacheImpl/11_329fe79e4ed81113f348c8dc1cf1b2b1198a9dd9_PatchListCacheImpl_s.java
d8c363dbf1f115a77254b8831560945b94f91b2b
[]
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
23,940
java
// Copyright (C) 2009 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. // // Some portions (e.g. outputDiff) below are: // // Copyright (C) 2009, Christian Halstrick <[email protected]> // Copyright (C) 2009, Johannes E. Schindelin // Copyright (C) 2009, Johannes Schindelin <[email protected]> // and other copyright owners as documented in the project's IP log. // // This program and the accompanying materials are made available // under the terms of the Eclipse Distribution License v1.0 which // accompanies this distribution, is reproduced below, and is // available at http://www.eclipse.org/org/documents/edl-v10.php // // All rights reserved. // // Redistribution and use in source and binary forms, with or // without modification, are permitted provided that the following // conditions are met: // // - Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // // - Redistributions in binary form must reproduce the above // copyright notice, this list of conditions and the following // disclaimer in the documentation and/or other materials provided // with the distribution. // // - Neither the name of the Eclipse Foundation, Inc. nor the // names of its contributors may be used to endorse or promote // products derived from this software without specific prior // written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND // CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, // INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // package com.google.gerrit.server.patch; import com.google.gerrit.reviewdb.Change; import com.google.gerrit.reviewdb.Patch; import com.google.gerrit.reviewdb.PatchSet; import com.google.gerrit.reviewdb.Project; import com.google.gerrit.reviewdb.AccountDiffPreference.Whitespace; import com.google.gerrit.server.cache.Cache; import com.google.gerrit.server.cache.CacheModule; import com.google.gerrit.server.cache.EntryCreator; import com.google.gerrit.server.cache.EvictionPolicy; import com.google.gerrit.server.config.GerritServerConfig; import com.google.gerrit.server.git.GitRepositoryManager; import com.google.inject.Inject; import com.google.inject.Module; import com.google.inject.Singleton; import com.google.inject.TypeLiteral; import com.google.inject.name.Named; import org.eclipse.jgit.diff.DiffEntry; import org.eclipse.jgit.diff.DiffFormatter; import org.eclipse.jgit.diff.Edit; import org.eclipse.jgit.diff.EditList; import org.eclipse.jgit.diff.MyersDiff; import org.eclipse.jgit.diff.RawText; import org.eclipse.jgit.diff.RawTextIgnoreAllWhitespace; import org.eclipse.jgit.diff.RawTextIgnoreTrailingWhitespace; import org.eclipse.jgit.diff.RawTextIgnoreWhitespaceChange; import org.eclipse.jgit.diff.RenameDetector; import org.eclipse.jgit.diff.ReplaceEdit; import org.eclipse.jgit.errors.MissingObjectException; import org.eclipse.jgit.lib.Config; import org.eclipse.jgit.lib.Constants; import org.eclipse.jgit.lib.FileMode; import org.eclipse.jgit.lib.ObjectId; import org.eclipse.jgit.lib.ObjectInserter; import org.eclipse.jgit.lib.ObjectLoader; import org.eclipse.jgit.lib.ObjectReader; import org.eclipse.jgit.lib.Repository; import org.eclipse.jgit.patch.FileHeader; import org.eclipse.jgit.patch.FileHeader.PatchType; import org.eclipse.jgit.revwalk.RevCommit; import org.eclipse.jgit.revwalk.RevObject; import org.eclipse.jgit.revwalk.RevTree; import org.eclipse.jgit.revwalk.RevWalk; import org.eclipse.jgit.treewalk.TreeWalk; import org.eclipse.jgit.treewalk.filter.TreeFilter; import org.eclipse.jgit.util.io.DisabledOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.regex.Pattern; /** Provides a cached list of {@link PatchListEntry}. */ @Singleton public class PatchListCacheImpl implements PatchListCache { private static final String CACHE_NAME = "diff"; private static final Pattern BLANK_LINE_RE = Pattern.compile("^[ \\t]*(|[{}]|/\\*\\*?|\\*)[ \\t]*$"); private static final Pattern CONTROL_BLOCK_START_RE = Pattern.compile("[{:][ \\t]*$"); public static Module module() { return new CacheModule() { @Override protected void configure() { final TypeLiteral<Cache<PatchListKey, PatchList>> type = new TypeLiteral<Cache<PatchListKey, PatchList>>() {}; disk(type, CACHE_NAME) // .memoryLimit(128) // very large items, cache only a few .evictionPolicy(EvictionPolicy.LRU) // prefer most recent .populateWith(Loader.class) // ; bind(PatchListCacheImpl.class); bind(PatchListCache.class).to(PatchListCacheImpl.class); } }; } private final Cache<PatchListKey, PatchList> cache; @Inject PatchListCacheImpl( @Named(CACHE_NAME) final Cache<PatchListKey, PatchList> thecache) { cache = thecache; } public PatchList get(final PatchListKey key) { return cache.get(key); } public PatchList get(final Change change, final PatchSet patchSet) { return get(change, patchSet, Whitespace.IGNORE_NONE); } public PatchList get(final Change change, final PatchSet patchSet, final Whitespace whitespace) { final Project.NameKey projectKey = change.getProject(); final ObjectId a = null; final ObjectId b = ObjectId.fromString(patchSet.getRevision().get()); return get(new PatchListKey(projectKey, a, b, whitespace)); } static class Loader extends EntryCreator<PatchListKey, PatchList> { private final GitRepositoryManager repoManager; private final boolean computeIntraline; @Inject Loader(GitRepositoryManager mgr, @GerritServerConfig Config config) { repoManager = mgr; computeIntraline = config.getBoolean("cache", "diff", "intraline", true); } @Override public PatchList createEntry(final PatchListKey key) throws Exception { final Repository repo = repoManager.openRepository(key.projectKey.get()); try { return readPatchList(key, repo); } finally { repo.close(); } } private PatchList readPatchList(final PatchListKey key, final Repository repo) throws IOException { // TODO(jeffschu) correctly handle merge commits RawText.Factory rawTextFactory; switch (key.getWhitespace()) { case IGNORE_ALL_SPACE: rawTextFactory = RawTextIgnoreAllWhitespace.FACTORY; break; case IGNORE_SPACE_AT_EOL: rawTextFactory = RawTextIgnoreTrailingWhitespace.FACTORY; break; case IGNORE_SPACE_CHANGE: rawTextFactory = RawTextIgnoreWhitespaceChange.FACTORY; break; case IGNORE_NONE: default: rawTextFactory = RawText.FACTORY; break; } final ObjectReader reader = repo.newObjectReader(); try { final RevWalk rw = new RevWalk(reader); final RevCommit b = rw.parseCommit(key.getNewId()); final RevObject a = aFor(key, repo, rw, b); if (a == null) { // This is a merge commit, compared to its ancestor. // final PatchListEntry[] entries = new PatchListEntry[1]; entries[0] = newCommitMessage(rawTextFactory, repo, reader, null, b); return new PatchList(a, b, computeIntraline, true, entries); } final boolean againstParent = b.getParentCount() > 0 && b.getParent(0) == a; RevCommit aCommit; RevTree aTree; if (a instanceof RevCommit) { aCommit = (RevCommit) a; aTree = aCommit.getTree(); } else if (a instanceof RevTree) { aCommit = null; aTree = (RevTree) a; } else { throw new IOException("Unexpected type: " + a.getClass()); } RevTree bTree = b.getTree(); final TreeWalk walk = new TreeWalk(reader); walk.reset(); walk.setRecursive(true); walk.addTree(aTree); walk.addTree(bTree); walk.setFilter(TreeFilter.ANY_DIFF); DiffFormatter df = new DiffFormatter(DisabledOutputStream.INSTANCE); df.setRepository(repo); df.setRawTextFactory(rawTextFactory); RenameDetector rd = new RenameDetector(repo); rd.addAll(DiffEntry.scan(walk)); List<DiffEntry> diffEntries = rd.compute(); final int cnt = diffEntries.size(); final PatchListEntry[] entries = new PatchListEntry[1 + cnt]; entries[0] = newCommitMessage(rawTextFactory, repo, reader, // againstParent ? null : aCommit, b); for (int i = 0; i < cnt; i++) { FileHeader fh = df.createFileHeader(diffEntries.get(i)); entries[1 + i] = newEntry(reader, aTree, bTree, fh); } return new PatchList(a, b, computeIntraline, againstParent, entries); } finally { reader.release(); } } private PatchListEntry newCommitMessage( final RawText.Factory rawTextFactory, final Repository db, final ObjectReader reader, final RevCommit aCommit, final RevCommit bCommit) throws IOException { StringBuilder hdr = new StringBuilder(); hdr.append("diff --git"); if (aCommit != null) { hdr.append(" a/" + Patch.COMMIT_MSG); } else { hdr.append(" " + FileHeader.DEV_NULL); } hdr.append(" b/" + Patch.COMMIT_MSG); hdr.append("\n"); if (aCommit != null) { hdr.append("--- a/" + Patch.COMMIT_MSG + "\n"); } else { hdr.append("--- " + FileHeader.DEV_NULL + "\n"); } hdr.append("+++ b/" + Patch.COMMIT_MSG + "\n"); Text aText = aCommit != null ? Text.forCommit(db, reader, aCommit) : Text.EMPTY; Text bText = Text.forCommit(db, reader, bCommit); byte[] rawHdr = hdr.toString().getBytes("UTF-8"); RawText aRawText = rawTextFactory.create(aText.getContent()); RawText bRawText = rawTextFactory.create(bText.getContent()); EditList edits = new MyersDiff(aRawText, bRawText).getEdits(); FileHeader fh = new FileHeader(rawHdr, edits, PatchType.UNIFIED); return newEntry(reader, aText, bText, edits, null, null, fh); } private PatchListEntry newEntry(ObjectReader reader, RevTree aTree, RevTree bTree, FileHeader fileHeader) throws IOException { final FileMode oldMode = fileHeader.getOldMode(); final FileMode newMode = fileHeader.getNewMode(); if (oldMode == FileMode.GITLINK || newMode == FileMode.GITLINK) { return new PatchListEntry(fileHeader, Collections.<Edit> emptyList()); } if (aTree == null // want combined diff || fileHeader.getPatchType() != PatchType.UNIFIED || fileHeader.getHunks().isEmpty()) { return new PatchListEntry(fileHeader, Collections.<Edit> emptyList()); } List<Edit> edits = fileHeader.toEditList(); if (edits.isEmpty()) { return new PatchListEntry(fileHeader, Collections.<Edit> emptyList()); } if (!computeIntraline) { return new PatchListEntry(fileHeader, edits); } switch (fileHeader.getChangeType()) { case ADD: case DELETE: return new PatchListEntry(fileHeader, edits); } return newEntry(reader, null, null, edits, aTree, bTree, fileHeader); } private PatchListEntry newEntry(ObjectReader reader, Text aContent, Text bContent, List<Edit> edits, RevTree aTree, RevTree bTree, FileHeader fileHeader) throws IOException { for (int i = 0; i < edits.size(); i++) { Edit e = edits.get(i); if (e.getType() == Edit.Type.REPLACE) { if (aContent == null) { edits = new ArrayList<Edit>(edits); aContent = read(reader, fileHeader.getOldPath(), aTree); bContent = read(reader, fileHeader.getNewPath(), bTree); combineLineEdits(edits, aContent, bContent); i = -1; // restart the entire scan after combining lines. continue; } CharText a = new CharText(aContent, e.getBeginA(), e.getEndA()); CharText b = new CharText(bContent, e.getBeginB(), e.getEndB()); List<Edit> wordEdits = new MyersDiff(a, b).getEdits(); // Combine edits that are really close together. If they are // just a few characters apart we tend to get better results // by joining them together and taking the whole span. // for (int j = 0; j < wordEdits.size() - 1;) { Edit c = wordEdits.get(j); Edit n = wordEdits.get(j + 1); if (n.getBeginA() - c.getEndA() <= 5 || n.getBeginB() - c.getEndB() <= 5) { int ab = c.getBeginA(); int ae = n.getEndA(); int bb = c.getBeginB(); int be = n.getEndB(); if (canCoalesce(a, c.getEndA(), n.getBeginA()) && canCoalesce(b, c.getEndB(), n.getBeginB())) { wordEdits.set(j, new Edit(ab, ae, bb, be)); wordEdits.remove(j + 1); continue; } } j++; } // Apply some simple rules to fix up some of the edits. Our // logic above, along with our per-character difference tends // to produce some crazy stuff. // for (int j = 0; j < wordEdits.size(); j++) { Edit c = wordEdits.get(j); int ab = c.getBeginA(); int ae = c.getEndA(); int bb = c.getBeginB(); int be = c.getEndB(); // Sometimes the diff generator produces an INSERT or DELETE // right up against a REPLACE, but we only find this after // we've also played some shifting games on the prior edit. // If that happened to us, coalesce them together so we can // correct this mess for the user. If we don't we wind up // with silly stuff like "es" -> "es = Addresses". // if (1 < j) { Edit p = wordEdits.get(j - 1); if (p.getEndA() == ab || p.getEndB() == bb) { if (p.getEndA() == ab && p.getBeginA() < p.getEndA()) { ab = p.getBeginA(); } if (p.getEndB() == bb && p.getBeginB() < p.getEndB()) { bb = p.getBeginB(); } wordEdits.remove(--j); } } // We sometimes collapsed an edit together in a strange way, // such that the edges of each text is identical. Fix by // by dropping out that incorrectly replaced region. // while (ab < ae && bb < be && a.equals(ab, b, bb)) { ab++; bb++; } while (ab < ae && bb < be && a.equals(ae - 1, b, be - 1)) { ae--; be--; } // The leading part of an edit and its trailing part in the same // text might be identical. Slide down that edit and use the tail // rather than the leading bit. If however the edit is only on a // whitespace block try to shift it to the left margin, assuming // that it is an indentation change. // boolean aShift = true; if (ab < ae && isOnlyWhitespace(a, ab, ae)) { int lf = findLF(wordEdits, j, a, ab); if (lf < ab && a.charAt(lf) == '\n') { int nb = lf + 1; int p = 0; while (p < ae - ab) { if (a.equals(ab + p, a, ab + p)) p++; else break; } if (p == ae - ab) { ab = nb; ae = nb + p; aShift = false; } } } if (aShift) { while (0 < ab && ab < ae && a.charAt(ab - 1) != '\n' && a.equals(ab - 1, a, ae - 1)) { ab--; ae--; } if (!a.isLineStart(ab) || !a.contains(ab, ae, '\n')) { while (ab < ae && ae < a.size() && a.equals(ab, a, ae)) { ab++; ae++; if (a.charAt(ae - 1) == '\n') { break; } } } } boolean bShift = true; if (bb < be && isOnlyWhitespace(b, bb, be)) { int lf = findLF(wordEdits, j, b, bb); if (lf < bb && b.charAt(lf) == '\n') { int nb = lf + 1; int p = 0; while (p < be - bb) { if (b.equals(bb + p, b, bb + p)) p++; else break; } if (p == be - bb) { bb = nb; be = nb + p; bShift = false; } } } if (bShift) { while (0 < bb && bb < be && b.charAt(bb - 1) != '\n' && b.equals(bb - 1, b, be - 1)) { bb--; be--; } if (!b.isLineStart(bb) || !b.contains(bb, be, '\n')) { while (bb < be && be < b.size() && b.equals(bb, b, be)) { bb++; be++; if (b.charAt(be - 1) == '\n') { break; } } } } // If most of a line was modified except the LF was common, make // the LF part of the modification region. This is easier to read. // if (ab < ae // && (ab == 0 || a.charAt(ab - 1) == '\n') // && ae < a.size() && a.charAt(ae) == '\n') { ae++; } if (bb < be // && (bb == 0 || b.charAt(bb - 1) == '\n') // && be < b.size() && b.charAt(be) == '\n') { be++; } wordEdits.set(j, new Edit(ab, ae, bb, be)); } edits.set(i, new ReplaceEdit(e, wordEdits)); } } return new PatchListEntry(fileHeader, edits); } private static void combineLineEdits(List<Edit> edits, Text a, Text b) { for (int j = 0; j < edits.size() - 1;) { Edit c = edits.get(j); Edit n = edits.get(j + 1); // Combine edits that are really close together. Right now our rule // is, coalesce two line edits which are only one line apart if that // common context line is either a "pointless line", or is identical // on both sides and starts a new block of code. These are mostly // block reindents to add or remove control flow operators. // final int ad = n.getBeginA() - c.getEndA(); final int bd = n.getBeginB() - c.getEndB(); if ((1 <= ad && isBlankLineGap(a, c.getEndA(), n.getBeginA())) || (1 <= bd && isBlankLineGap(b, c.getEndB(), n.getBeginB())) || (ad == 1 && bd == 1 && isControlBlockStart(a, c.getEndA()))) { int ab = c.getBeginA(); int ae = n.getEndA(); int bb = c.getBeginB(); int be = n.getEndB(); edits.set(j, new Edit(ab, ae, bb, be)); edits.remove(j + 1); continue; } j++; } } private static boolean isBlankLineGap(Text a, int b, int e) { for (; b < e; b++) { if (!BLANK_LINE_RE.matcher(a.getLine(b)).matches()) { return false; } } return true; } private static boolean isControlBlockStart(Text a, int idx) { final String l = a.getLine(idx); return CONTROL_BLOCK_START_RE.matcher(l).find(); } private static boolean canCoalesce(CharText a, int b, int e) { while (b < e) { if (a.charAt(b++) == '\n') { return false; } } return true; } private static int findLF(List<Edit> edits, int j, CharText t, int b) { int lf = b; int limit = 0 < j ? edits.get(j - 1).getEndB() : 0; while (limit < lf && t.charAt(lf) != '\n') { lf--; } return lf; } private static boolean isOnlyWhitespace(CharText t, final int b, final int e) { for (int c = b; c < e; c++) { if (!Character.isWhitespace(t.charAt(c))) { return false; } } return b < e; } private static Text read(ObjectReader reader, String path, RevTree tree) throws IOException { TreeWalk tw = TreeWalk.forPath(reader, path, tree); if (tw == null || tw.getFileMode(0).getObjectType() != Constants.OBJ_BLOB) { return Text.EMPTY; } ObjectLoader ldr; try { ldr = reader.open(tw.getObjectId(0), Constants.OBJ_BLOB); } catch (MissingObjectException notFound) { return Text.EMPTY; } return new Text(ldr.getCachedBytes()); } private static RevObject aFor(final PatchListKey key, final Repository repo, final RevWalk rw, final RevCommit b) throws IOException { if (key.getOldId() != null) { return rw.parseAny(key.getOldId()); } switch (b.getParentCount()) { case 0: return rw.parseAny(emptyTree(repo)); case 1:{ RevCommit r = b.getParent(0); rw.parseBody(r); return r; } default: // merge commit, return null to force combined diff behavior return null; } } private static ObjectId emptyTree(final Repository repo) throws IOException { ObjectInserter oi = repo.newObjectInserter(); try { ObjectId id = oi.insert(Constants.OBJ_TREE, new byte[] {}); oi.flush(); return id; } finally { oi.release(); } } } }
0910dd9cdc4b4e22cd703385edd5e1985c53229a
70533af14c57c24c89969e60b0c506aec564cae9
/src/cloud_plugin/testcase/algorithm/videoplanassess/pa_modeling/Volumen_Estimate_AlgorithmCreateTask.java
0fe0bf4c8b08ba8996f18e899d662c0488cd210b
[]
no_license
yangquan1982/AutomationTestFramework1
e393d6ac69b8412a91290e88b2a46d39856ecfcc
bc8faa61dd62a221af2a481e5b0f5d3b7a8200b5
refs/heads/master
2020-03-09T13:07:01.660799
2019-06-13T04:33:48
2019-06-13T04:33:48
128,802,310
2
0
null
null
null
null
UTF-8
Java
false
false
5,791
java
package cloud_plugin.testcase.algorithm.videoplanassess.pa_modeling; import java.util.Arrays; import java.util.Collection; import org.fest.swing.annotation.GUITest; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.MethodSorters; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; import org.openqa.selenium.WebDriver; import cloud_plugin.task.network_performance_analysis_center.network_planning.lte_seq_vmos.SeqVMOSTask; import cloud_public.page.GetDataByTypePage; import cloud_public.page.HomePage; import cloud_public.page.IndexPage; import cloud_public.task.LoginTask; import common.constant.constparameter.ConstUrl; import common.util.CommonWD; import common.util.ParamUtil; @GUITest @FixMethodOrder(MethodSorters.NAME_ASCENDING) @RunWith(value = Parameterized.class) public class Volumen_Estimate_AlgorithmCreateTask { private static WebDriver driver = null; private static String defaultWindowID = null; private static String ParaFile = ConstUrl.getProjectHomePath()+"\\Data\\baseline\\02_算法\\参数化\\视频规划与评估\\容量评估前台参数化表.xlsx"; private static String SheetName = "VMOS_算法"; private String secns; private String TestCaseId; private String ProjectName; private String[] TaskType; private String[] CfgData; private String[] ParamData; private String[] SigData; private String[] NonEncryptedVideoSourceData; private String[] EncryptedVideoSourceData; private String[] OTTData; private String[] ElectronicMapData; private String[] LTECharacteristicLibraryData; private String[] PerformanceData; private String VideoTrafficForecastResultFile; private String[] XDR_MRPreprocessData; private String[] CDRData; private String[] UELogsData; private String[] DataPreprocessingSetItems; private String[] DataPreprocessingSetValues; private String[] EvaluationSetItems; private String[] EvaluationSetItemsValues; private String IsIndependentBusyhourKPIs; private String FilteringMode; private String BusyhourKPI; private String[] CustomHours; private String BusyDays; private String LegendSetItem; private String LegendSetSegmentNumber; private String[] LegendSetValue; public Volumen_Estimate_AlgorithmCreateTask(String secns, String testId,String projectName, String[] taskType, String[] cfgData, String[] paramData, String[] sigData, String[] nonEncryptedVideoSourceData, String[] encryptedVideoSourceData, String[] oTTData, String[] electronicMapData, String[] lTECharacteristicLibraryData, String[] performanceData, String videoTrafficForecastResultFile,String[] xDR_MRPreprocessData, String[] cDRData, String[] uELogsData, String[] dataPreprocessingSetItems, String[] dataPreprocessingSetValues, String[] evaluationSetItems, String[] evaluationSetItemsValues, String isIndependentBusyhourKPIs, String filteringMode, String busyhourKPI, String[] customHours, String busyDays, String legendSetItem, String legendSetSegmentNumber, String[] legendSetValue) { this.secns = secns; TestCaseId=testId; ProjectName = projectName; TaskType = taskType; CfgData = cfgData; ParamData = paramData; SigData = sigData; NonEncryptedVideoSourceData = nonEncryptedVideoSourceData; EncryptedVideoSourceData = encryptedVideoSourceData; OTTData = oTTData; ElectronicMapData = electronicMapData; LTECharacteristicLibraryData = lTECharacteristicLibraryData; PerformanceData = performanceData; VideoTrafficForecastResultFile = videoTrafficForecastResultFile; XDR_MRPreprocessData = xDR_MRPreprocessData; CDRData = cDRData; UELogsData = uELogsData; DataPreprocessingSetItems = dataPreprocessingSetItems; DataPreprocessingSetValues = dataPreprocessingSetValues; EvaluationSetItems = evaluationSetItems; EvaluationSetItemsValues = evaluationSetItemsValues; IsIndependentBusyhourKPIs = isIndependentBusyhourKPIs; FilteringMode = filteringMode; BusyhourKPI = busyhourKPI; CustomHours = customHours; BusyDays = busyDays; LegendSetItem = legendSetItem; LegendSetSegmentNumber = legendSetSegmentNumber; LegendSetValue = legendSetValue; } @Parameters() public static Collection<Object[]> data() throws Exception { System.out.print("This is collection"); Collection<Object[]> coll = Arrays.asList(ParamUtil.getObjectArr( ParaFile, SheetName)); return coll; } @BeforeClass public static void setUpBeforeClass() { driver = CommonWD.getWebDriver(); defaultWindowID = driver.getWindowHandle(); LoginTask.login(driver); HomePage.gotoldVersion(driver); IndexPage.OpenNetPerfomanceAnalysisCenter(driver); } @Before public void setUp() { GetDataByTypePage.closeOtherWindows(driver, defaultWindowID); SeqVMOSTask.goBackToNetworkAnalysisCenter(driver); } @After public void tearDown() { // StartBackFillTMSS.backFill(TestCaseId,result); System.out.println("tmss end xx"); } @AfterClass public static void tearDownAfterClass() { driver.quit(); } @Test public void T00_Algorithm_vMOSCreateTask() { SeqVMOSTask.ParamCreateTask(driver, secns, ProjectName, TaskType, CfgData, ParamData, SigData, NonEncryptedVideoSourceData, EncryptedVideoSourceData, OTTData, ElectronicMapData, LTECharacteristicLibraryData, PerformanceData, VideoTrafficForecastResultFile, XDR_MRPreprocessData,CDRData, UELogsData, DataPreprocessingSetItems, DataPreprocessingSetValues, EvaluationSetItems, EvaluationSetItemsValues, IsIndependentBusyhourKPIs, FilteringMode, BusyhourKPI, CustomHours, BusyDays, LegendSetItem, LegendSetSegmentNumber, LegendSetValue); } }
f72b5d780663a8027c9a7e4ae7d60f13d2c3e610
b34654bd96750be62556ed368ef4db1043521ff2
/auto_screening_management/tags/before_replatforming/src/java/tests/com/cronos/onlinereview/autoscreening/management/accuracytests/PersistenceExceptionAccurayTest.java
5871e6b94612df902b54797eae4f50359dc6f484
[]
no_license
topcoder-platform/tcs-cronos
81fed1e4f19ef60cdc5e5632084695d67275c415
c4ad087bb56bdaa19f9890e6580fcc5a3121b6c6
refs/heads/master
2023-08-03T22:21:52.216762
2019-03-19T08:53:31
2019-03-19T08:53:31
89,589,444
0
1
null
2019-03-19T08:53:32
2017-04-27T11:19:01
null
UTF-8
Java
false
false
3,327
java
/* * Copyright (C) 2006 TopCoder Inc., All Rights Reserved. */ package com.cronos.onlinereview.autoscreening.management.accuracytests; import com.cronos.onlinereview.autoscreening.management.PersistenceException; import com.cronos.onlinereview.autoscreening.management.ScreeningManagementException; import junit.framework.TestCase; /** * <p>The accuracy test cases for PersistenceException class.</p> * * @author oodinary * @version 1.0 */ public class PersistenceExceptionAccurayTest extends TestCase { /** * <p>The Default Exception Message.</p> */ private final String defaultExceptionMessage = "DefaultExceptionMessage"; /** * <p>The Default Throwable Message.</p> */ private final String defaultThrowableMessage = "DefaultThrowableMessage"; /** * <p>An instance for testing.</p> */ private PersistenceException defaultException = null; /** * <p>Initialization.</p> * * @throws Exception to JUnit. */ protected void setUp() throws Exception { defaultException = new PersistenceException(defaultExceptionMessage); } /** * <p>Set defaultException to null.</p> * * @throws Exception to JUnit. */ protected void tearDown() throws Exception { defaultException = null; } /** * <p>Tests the ctor(String).</p> * <p>The PersistenceException instance should be created successfully.</p> */ public void testCtor_String_Accuracy() { assertNotNull("PersistenceException should be accurately created.", defaultException); assertTrue("defaultException should be instance of PersistenceException.", defaultException instanceof PersistenceException); assertTrue("defaultException should be instance of ScreeningManagementException.", defaultException instanceof ScreeningManagementException); assertTrue("PersistenceException should be accurately created with the same Exception message.", defaultException.getMessage().indexOf(defaultExceptionMessage) >= 0); } /** * <p>Tests the ctor(String, Throwable).</p> * <p>The PersistenceException instance should be created successfully.</p> */ public void testCtor_StringThrowable_Accuracy() { defaultException = new PersistenceException(defaultExceptionMessage, new Throwable(defaultThrowableMessage)); assertNotNull("PersistenceException should be accurately created.", defaultException); assertTrue("defaultException should be instance of PersistenceException.", defaultException instanceof PersistenceException); assertTrue("defaultException should be instance of ScreeningManagementException.", defaultException instanceof ScreeningManagementException); assertTrue("PersistenceException should be accurately created with the same Exception message.", defaultException.getMessage().indexOf(defaultExceptionMessage) >= 0); assertTrue("PersistenceException should be accurately created with the same Throwable message.", defaultException.getMessage().indexOf(defaultThrowableMessage) >= 0); } }
[ "mashannon168@fb370eea-3af6-4597-97f7-f7400a59c12a" ]
mashannon168@fb370eea-3af6-4597-97f7-f7400a59c12a
6e168d9f909defab3c6012ecb1b8b9a6a23440ef
9dbd7a0e4e28ef918f95004d9dfc82ef83c03178
/Setting/app/src/main/java/com/example/nishigupta/setting/MainActivity.java
08b87a4723fe7f1f5ca5db2c7e5a6428d0d2492b
[]
no_license
goyalavishi/Android-Dev-Practice
17d19e28c9d1ad6c36be431a720ad5242f5d75b6
c45fbf50c944af0a955e4b30e61583976c3615bf
refs/heads/master
2022-11-24T06:56:10.448729
2020-07-30T20:27:32
2020-07-30T20:27:32
283,852,472
1
0
null
null
null
null
UTF-8
Java
false
false
2,228
java
package com.example.nishigupta.setting; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.ListView; public class MainActivity extends AppCompatActivity implements AdapterView.OnItemClickListener { char gen = 'f'; ImageView avatar; //RelativeLayout rel; ListView list; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_profile_page); ArrayAdapter adp; list = (ListView) findViewById(R.id.listView); String s[] = {"My Preferences", "Leased Books", "Rented Books", "Settings", "Logout"}; adp = new ArrayAdapter(this, android.R.layout.simple_list_item_1, s); //rel=(RelativeLayout)findViewById(R.id.relative); avatar = (ImageView) findViewById(R.id.imageView); if (gen == 'f') { // rel.setBackgroundColor(Color.parseColor("#5093ff")); avatar.setImageDrawable(getResources().getDrawable(R.drawable.girl)); } else { avatar.setImageDrawable(getResources().getDrawable(R.drawable.boy)); //rel.setBackgroundColor(Color.parseColor("#5093ff")); } list.setAdapter(adp); list.setOnItemClickListener(this); } @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { //Toast.makeText(this,[position-1],Toast.LENGTH_SHORT).show(); if(position==0) { Intent inent = new Intent(this, Preference.class); startActivity(inent); } else if(position==1) { Intent inent = new Intent(this, LeasedBook.class); startActivity(inent); } else if(position==2) { Intent inent = new Intent(this, RentedBook.class); startActivity(inent); } else if(position ==3) { Intent inent = new Intent(this, Settings.class); startActivity(inent); } } }
30961c230318a15ec440c9dd709e10b007207015
26f6154347f4f89aeb9ae1850b23fdad4f2c0292
/src/main/java/Iscae/Bib/dao/PersonneRepository.java
4f695b0258029e497d59449b02bac5629f5b6277
[]
no_license
vatimetou-Hamady/gestion-biblio
f0d3eb150cd5b270e604425efb39c3f87d4a3ecb
67d8da950922ea31c4c6be2255aac53ec69691b7
refs/heads/master
2022-11-07T21:43:51.450819
2020-06-26T22:06:57
2020-06-26T22:06:57
275,244,110
0
0
null
null
null
null
UTF-8
Java
false
false
250
java
package Iscae.Bib.dao; import org.springframework.data.jpa.repository.JpaRepository; import Iscae.Bib.entities.Personne; import Iscae.Bib.entities.Personnel; public interface PersonneRepository extends JpaRepository<Personne, Long> { }
f0ea35f810ebf6f2a3b513b4f4dd80d0d46e62dc
328c0ad6b2ca55b06ccc5e71667dd75f071e63e4
/healthworld/src/com/tianxia/app/healthworld/digest/ChapterDetailsView.java
d9fb33a4b8d74f765fa2b8faec04d166c2850105
[]
no_license
lf78204490/world
e24a058936424fdbc1b39c03dac8ee5b48f669ba
e55af242efa60b987e669623d149e54a71285a87
refs/heads/master
2021-01-16T00:11:56.295653
2012-07-25T12:39:56
2012-07-25T12:39:56
null
0
0
null
null
null
null
UTF-8
Java
false
false
4,600
java
/* * Copyright (C) 2012 Jayfeng. */ package com.tianxia.app.healthworld.digest; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Paint.FontMetrics; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import java.util.ArrayList; import java.util.List; public class ChapterDetailsView extends View{ private String mInitText; private String mContent; private List<String> mLines; private int mPage = 1; private int mPageLines; private int mPageMax; private int mMarginTopAndBottom = 50; private int mMarginLeftAndRight = 25; private Paint mPaint; private float mFontHeight; private boolean mNeedRefresh = true; public ChapterDetailsView(Context context,AttributeSet attrs) { super(context, attrs); mLines = new ArrayList<String>(); mPaint = new Paint(); mPaint.setAntiAlias(true); mPaint.setTextSize(25); FontMetrics fm = mPaint.getFontMetrics(); mFontHeight = fm.descent - fm.top; } public void setInitText(String initText) { mInitText = initText; invalidate(); } public void setContent(String content) { mContent = content; invalidate(); } @Override public void onDraw(Canvas canvas) { if (mContent != null && !"".equals(mContent)) { if (mNeedRefresh) { splitContentToPageLines(); mNeedRefresh = false; } float drawTop = mMarginTopAndBottom; int startLine = (mPage - 1)*mPageLines; for (int i = startLine; i < startLine + mPageLines && i < mLines.size(); i++) { canvas.drawText(mLines.get(i), mMarginLeftAndRight, drawTop, mPaint); drawTop += mFontHeight + 2.5; } } else if (mInitText != null && !"".equals(mInitText)) { int initTextWidth = (int) mPaint.measureText(mInitText); int initTextX = (getWidth() - initTextWidth)/2; int initTextY = (getHeight() - (int)mFontHeight)/2; canvas.drawText(mInitText, initTextX, initTextY, mPaint); } } @Override public boolean onTouchEvent(MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_DOWN: if (event.getX() > getWidth()/2) { if (mPage < mPageMax) { mPage++; invalidate(); } else { } } else if (event.getX() < getWidth()/2) { if (mPage > 1) { mPage--; invalidate(); } else { } } break; default: break; } return super.onTouchEvent(event); } public void splitContentToPageLines() { mPageLines = (int)((float)(getHeight() - mMarginTopAndBottom*2)/mFontHeight); int start = 0, end; mLines.clear(); int textWidth = getWidth() - mMarginLeftAndRight*2; for (int i = 0; i < mContent.length(); i++) { end = i; String line = mContent.substring(start, end + 1); if (mPaint.measureText(line) >= textWidth) { line = mContent.substring(start, end); mLines.add(line); start = i; } else if (i == mContent.length() - 1 ){ mLines.add(line); start = i; } else if (mContent.charAt(i) == '\r' && mContent.charAt(i+1) == '\n') { // if goto this if branch, there is must be : i < mContent.length() - 1 if (start >= end) { continue; } line = mContent.substring(start, end); mLines.add(line); start = i + 2; if (start > mContent.length() - 1) { start = mContent.length() - 1; } } else if (mContent.charAt(i) == '\n') { if (start >= end) { continue; } line = mContent.substring(start, end); mLines.add(line); start = i + 1; } } if (mLines.size()%mPageLines == 0) { mPageMax = mLines.size()/mPageLines; } else { mPageMax = mLines.size()/mPageLines + 1; } } }
74b77403846a02356b51ee668462d9d3a2f3bce7
1cf0344795731c3ea4a06c3f9776367ee6e3d91f
/src/other/aoc/AOC2017Day5.java
eaafcfc52ddf37b74499096490405805d3177379
[]
no_license
Alex7Li/ProgrammingContests
cf900303ef6ea34d686ea005ba810aabcc6bcc3d
cf6aa6758beb4cc5ca458fcda4ba8dd258e639c1
refs/heads/master
2023-03-11T04:14:49.577346
2023-02-24T20:48:29
2023-02-24T20:48:29
100,300,632
3
0
null
null
null
null
UTF-8
Java
false
false
544
java
package other.aoc; import java.util.Scanner; public class AOC2017Day5 { public static void main(String[] args) { Scanner s = new Scanner(System.in); int lines = 1033; int count = 0; int[] a = new int[1033]; for (int i = 0; i < lines; i++) { a[i] = s.nextInt(); } int curIndex = 0; while (curIndex < a.length) { if (a[curIndex] >= 3) { a[curIndex]--; curIndex += a[curIndex] + 1; } else { a[curIndex]++; curIndex += a[curIndex] - 1; } count++; } System.out.println(count); s.close(); } }
b2bc62d7420c85a8aa32175833f84fdafa2e82f6
973fccc219e22c87f2fdc60e1fcec814f7f91e89
/framework/common/src/org/ofbiz/common/email/NotificationServices.java
778fd7c9d47d1ae313b306b557d375b33d95d4fa
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0", "LicenseRef-scancode-unknown", "LicenseRef-scancode-jdom", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "MPL-1.1", "CPL-1.0", "GFDL-1.1-or-later", "MPL-2.0", "CC-BY-2.5", "SPL-1.0", "LicenseRef-scancode-proprietary-license", "CDDL-1.0", "MIT", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
ilscipio/scipio-erp
170462a6bd6ad428aa9810ece576765b263ea592
0258c890ee1824c047b9306717e3b301e63537dd
refs/heads/master
2023-03-09T11:18:18.929234
2023-02-14T04:58:19
2023-02-14T04:59:08
60,078,463
344
224
Apache-2.0
2023-03-04T15:28:32
2016-05-31T10:00:37
Java
UTF-8
Java
false
false
16,140
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.ofbiz.common.email; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.net.URL; import java.util.LinkedHashMap; import java.util.Locale; import java.util.Map; import org.ofbiz.base.component.ComponentConfig.WebappInfo; import org.ofbiz.base.location.FlexibleLocation; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.UtilGenerics; import org.ofbiz.base.util.UtilProperties; import org.ofbiz.base.util.template.FreeMarkerWorker; import org.ofbiz.entity.Delegator; import org.ofbiz.service.DispatchContext; import org.ofbiz.service.GenericServiceException; import org.ofbiz.service.LocalDispatcher; import org.ofbiz.service.ModelService; import org.ofbiz.service.ServiceUtil; import org.ofbiz.webapp.OfbizUrlBuilder; import org.ofbiz.webapp.WebAppUtil; import freemarker.template.TemplateException; /** * Provides generic services related to preparing and delivering notifications * via email. * <p> * To use the NotificationService, a message specific service should be * defined for a particular * <a href="http://freemarker.sourceforge.net/docs/dgui_quickstart_template.html"> * Freemarker Template</a> mapping the required fields of the template to the * required attributes of the service. * </p> * <p> * This service definition should extend the <code>sendNotificationInterface</code> * or the <code>prepareNotificationInterface</code> service interface * and simply invoke the associated method defined in this class. * </p> * <pre> * {@code * <service name="sendPoPickupNotification" engine="java" * location="org.ofbiz.content.email.NotificationServices" * invoke="sendNotification"> * <description>Sends notification based on a message template</description> * <implements service="sendNotificationInterface"/> * <attribute name="orderId" type="String" mode="IN" optional="false"/> * </service> * } * </pre> * <p> * An optional parameter available to all message templates is * <code>baseUrl</code> which can either be specified when the service is * invoked or let the <code>NotificationService</code> attempt to resolve it * as best it can, see {@link #setBaseUrl(Delegator, String, Map) setBaseUrl(Map)} * for details on how this is achieved. * </p> * The following example shows what a simple notification message template, * associated with the above service, might contain: * <blockquote> * <pre> * Please use the following link to schedule a delivery date: * ${baseUrl}/ordermgr/control/schedulepo?orderId=${orderId}" * </pre> * </blockquote> * <p> * The template file must be found on the classpath at runtime and * match the "templateName" field passed to the service when it * is invoked. * </p> * <p> * For complex messages with a large number of dynamic fields, it may be wise * to implement a custom service that takes one or two parameters that can * be used to resolve the rest of the required fields and then pass them to * the {@link #prepareNotification(DispatchContext, Map) prepareNotification(DispatchContext, Map)} * or {@link #sendNotification(DispatchContext, Map) sendNotification(DispatchContext, Map)} * methods directly to generate or generate and send the notification respectively. * </p> */ public class NotificationServices { private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass()); public static final String resource = "CommonUiLabels"; /** * This will use the {@link #prepareNotification(DispatchContext, Map) prepareNotification(DispatchContext, Map)} * method to generate the body of the notification message to send * and then deliver it via the "sendMail" service. * <p> * If the "body" parameter is already specified, the message body generation * phase will be skipped and the notification will be sent with the * specified body instead. This can be used to combine both service * calls in a decoupled manner if other steps are required between * generating the message body and sending the notification. * * @param ctx The dispatching context of the service * @param context The map containing all the fields associated with * the sevice * @return A Map with the service response messages in it */ public static Map<String, Object> sendNotification(DispatchContext ctx, Map<String, ? extends Object> context) { LocalDispatcher dispatcher = ctx.getDispatcher(); Locale locale = (Locale) context.get("locale"); Map<String, Object> result = null; try { // see whether the optional 'body' attribute was specified or needs to be processed // nulls are handled the same as not specified String body = (String) context.get("body"); if (body == null) { // prepare the body of the notification email Map<String, Object> bodyResult = prepareNotification(ctx, context); // ensure the body was generated successfully if (bodyResult.get(ModelService.RESPONSE_MESSAGE).equals(ModelService.RESPOND_SUCCESS)) { body = (String) bodyResult.get("body"); } else { // otherwise just report the error Debug.logError("prepareNotification failed: " + bodyResult.get(ModelService.ERROR_MESSAGE), module); body = null; } } // make sure we have a valid body before sending if (body != null) { // retain only the required attributes for the sendMail service Map<String, Object> emailContext = new LinkedHashMap<>(); emailContext.put("sendTo", context.get("sendTo")); emailContext.put("body", body); emailContext.put("sendCc", context.get("sendCc")); emailContext.put("sendBcc", context.get("sendBcc")); emailContext.put("sendFrom", context.get("sendFrom")); emailContext.put("subject", context.get("subject")); emailContext.put("sendVia", context.get("sendVia")); emailContext.put("sendType", context.get("sendType")); emailContext.put("contentType", context.get("contentType")); // pass on to the sendMail service result = dispatcher.runSync("sendMail", emailContext); } else { Debug.logError("Invalid email body; null is not allowed", module); result = ServiceUtil.returnError(UtilProperties.getMessage(resource, "CommonNotifyEmailInvalidBody", locale)); } } catch (GenericServiceException serviceException) { Debug.logError(serviceException, "Error sending email", module); result = ServiceUtil.returnError(UtilProperties.getMessage(resource, "CommonNotifyEmailDeliveryError", locale)); } return result; } /** * This will process the associated notification template definition * with all the fields contained in the given context and generate * the message body of the notification. * <p> * The result returned will contain the appropriate response * messages indicating success or failure and the OUT parameter, * "body" containing the generated message. * * @param ctx The dispatching context of the service * @param context The map containing all the fields associated with * the sevice * @return A new Map indicating success or error containing the * body generated from the template and the input parameters. */ public static Map<String, Object> prepareNotification(DispatchContext ctx, Map<String, ? extends Object> context) { Delegator delegator = ctx.getDelegator(); String templateName = (String) context.get("templateName"); Map<String, Object> templateData = UtilGenerics.checkMap(context.get("templateData")); String webSiteId = (String) context.get("webSiteId"); Locale locale = (Locale) context.get("locale"); Map<String, Object> result = null; if (templateData == null) { templateData = new LinkedHashMap<>(); } try { // ensure the baseUrl is defined // SCIPIO: 2019-02-04: Use better method //setBaseUrl(delegator, webSiteId, templateData); checkSetWebSiteFields(delegator, webSiteId, templateData); // initialize the template reader and processor URL templateUrl = FlexibleLocation.resolveLocation(templateName); if (templateUrl == null) { Debug.logError("Problem getting the template URL: " + templateName + " not found", module); return ServiceUtil.returnError(UtilProperties.getMessage(resource, "CommonNotifyEmailProblemFindingTemplate", locale)); } // process the template with the given data and write // the email body to the String buffer Writer writer = new StringWriter(); FreeMarkerWorker.renderTemplate(templateUrl.toExternalForm(), templateData, writer); // extract the newly created body for the notification email String notificationBody = writer.toString(); // generate the successful response result = ServiceUtil.returnSuccess(UtilProperties.getMessage(resource, "CommonNotifyEmailMessageBodyGeneratedSuccessfully", locale)); result.put("body", notificationBody); } catch (IOException ie) { Debug.logError(ie, "Problems reading template", module); result = ServiceUtil.returnError(UtilProperties.getMessage(resource, "CommonNotifyEmailProblemReadingTemplate", locale)); } catch (TemplateException te) { Debug.logError(te, "Problems processing template", module); result = ServiceUtil.returnError(UtilProperties.getMessage(resource, "CommonNotifyEmailProblemProcessingTemplate", locale)); } return result; } /** * The expectation is that a lot of notification messages will include * a link back to one or more pages in the system, which will require knowledge * of the base URL to extrapolate. This method will ensure that the * <code>baseUrl</code> field is set in the given context. * <p> * If it has been specified a default <code>baseUrl</code> will be * set using a best effort approach. If it is specified in the * url.properties configuration files of the system, that will be * used, otherwise it will attempt resolve the fully qualified * local host name. * <p> * <i>Note:</i> I thought it might be useful to have some dynamic way * of extending the default properties provided by the NotificationService, * such as the <code>baseUrl</code>, perhaps using the standard * <code>ResourceBundle</code> java approach so that both classes * and static files may be invoked. * <p> * SCIPIO: This now also puts the following extra fields in the context: * <ul> * <li>baseWebSiteId (2015-10-16): the webSiteId, with extra prefix to prevent conflicts * <li>baseWebappPath (2018-08-01): the combination of webappPathPrefix+contextRoot for * the given website (this is simply the context root if * webappPathPrefix is not explicitly configured) * </ul> * * @param context The context to check and, if necessary, set the * <code>baseUrl</code>. */ public static void setBaseUrl(Delegator delegator, String webSiteId, Map<String, Object> context) { // If the baseUrl was not specified we can do a best effort instead if (!context.containsKey("baseUrl")) { try { WebappInfo webAppInfo = null; if (webSiteId != null) { webAppInfo = WebAppUtil.getWebappInfoFromWebsiteId(webSiteId); } OfbizUrlBuilder builder = OfbizUrlBuilder.from(webAppInfo, delegator); StringBuilder newURL = new StringBuilder(); builder.buildHostPart(newURL, "", false, false); context.put("baseUrl", newURL.toString()); newURL = new StringBuilder(); builder.buildHostPart(newURL, "", true, false); context.put("baseSecureUrl", newURL.toString()); // SCIPIO: 2018-08-01: store baseWebappPath, which is webappPathPrefix + contextPath newURL = new StringBuilder(); builder.buildPathPartWithContextPath(newURL); context.put("baseWebappPath", newURL.toString()); } catch (Exception e) { // SCIPIO: better log if (webSiteId != null) { // should not happen Debug.logError(e, "Exception while adding baseUrl to context [webSiteId: " + webSiteId + "]", module); } else { // may happen in stock (for now) Debug.logWarning("Exception while adding baseUrl to context [no webSiteId available]: " + e.toString(), module); } } } // SCIPIO: use this method to also store a baseWebSiteId in the context, so template has knowledge if (!context.containsKey("baseWebSiteId")) { context.put("baseWebSiteId", webSiteId); } } /** * SCIPIO: Sets the given webSiteId in context IF there isn't already a key for it. * @return the effective webSiteId */ public static String checkSetWebSiteId(Delegator delegator, String webSiteId, Map<String, Object> context) { String contextWebSiteId = (String) context.get("webSiteId"); if (contextWebSiteId == null && !context.containsKey("webSiteId")) { context.put("webSiteId", webSiteId); return webSiteId; } else { return contextWebSiteId; } } /** * SCIPIO: Sets the given webSiteId, along with baseUrl/baseSecureUrl in context IF there aren't already keys for them. * NOTE: You probably want to call the abstracted method {@link #checkSetWebSiteFields} instead. * @return the effective webSiteId */ public static String checkSetBaseUrlAndWebSiteId(Delegator delegator, String webSiteId, Map<String, Object> context) { setBaseUrl(delegator, webSiteId, context); return checkSetWebSiteId(delegator, webSiteId, context); } /** * SCIPIO: Sets the given webSiteId, along with baseUrl/baseSecureUrl in context IF there aren't already keys for them, * and along with anything related (abstraction). * @return the effective webSiteId */ public static String checkSetWebSiteFields(Delegator delegator, String webSiteId, Map<String, Object> context) { return checkSetBaseUrlAndWebSiteId(delegator, webSiteId, context); } }
89c1045d43d6926c54bfb35bfea789f5f22ab3e0
80169c3f5fda99d7102c995610219450397fa69f
/src/main/java/xml/tutorial6/SlayDragonQuest.java
adf091f6bf9707392a04e0943494c4dd38c0fb8a
[]
no_license
demotivirus/spring-core-tutorials
5a7c9238e9026da52faf5742b5af4732004bc4cf
eac02b3ef8c7033a9e7a705c9456e7bd8b97edab
refs/heads/master
2020-05-14T14:00:13.405062
2019-04-17T05:30:59
2019-04-17T05:30:59
181,824,208
1
0
null
null
null
null
UTF-8
Java
false
false
233
java
package xml.tutorial6; public class SlayDragonQuest implements Quest{ public void embark(){ System.out.println("Go to the dragon head!"); } @Override public void embarkOnQuest() { embark(); } }
2feb5defaed83667c3e82e1adc8767bc45ac397c
f9593a7b394529eb4df3ccf2bf464cd5eb993365
/iot_sdk/mqtt_libs/src/main/java/com/abupdate/mqtt_libs/mqttv3/MqttSecurityException.java
19a39d8412dfba85071ff8dd3f73a5c976d2d81d
[]
no_license
fring2012/myRepository
99103bf52b3f14e4bf3712f627c7ddd2d710a574
b0b908eda9011336af320914cfe76763ae3a53a1
refs/heads/master
2021-01-19T21:06:52.687588
2018-06-12T02:55:54
2018-06-12T02:55:54
101,245,755
0
0
null
null
null
null
UTF-8
Java
false
false
1,813
java
/******************************************************************************* * Copyright (c) 2009, 2014 IBM Corp. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v1.0 which accompany this distribution. * * The Eclipse Public License is available at * http://www.eclipse.org/legal/epl-v10.html * and the Eclipse Distribution License is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * Contributors: * Dave Locke - initial API and implementation and/or initial documentation */ package com.abupdate.mqtt_libs.mqttv3; /** * Thrown when a client is not authorized to perform an operation, or * if there is a problem with the security configuration. */ public class MqttSecurityException extends MqttException { private static final long serialVersionUID = 300L; /** * Constructs a new <code>MqttSecurityException</code> with the specified code * as the underlying reason. * @param reasonCode the reason code for the exception. */ public MqttSecurityException(int reasonCode) { super(reasonCode); } /** * Constructs a new <code>MqttSecurityException</code> with the specified * <code>Throwable</code> as the underlying reason. * @param cause the underlying cause of the exception. */ public MqttSecurityException(Throwable cause) { super(cause); } /** * Constructs a new <code>MqttSecurityException</code> with the specified * code and <code>Throwable</code> as the underlying reason. * @param reasonCode the reason code for the exception. * @param cause the underlying cause of the exception. */ public MqttSecurityException(int reasonCode, Throwable cause) { super(reasonCode, cause); } }
49d0bbfb82e8fc3d398d0f06c239dd482852f104
ac2eae973524e82f3d5bf83067e12aea7afe42a4
/xiyou_score/app/src/main/java/com/example/lance/xiyou_score/Project_Infor.java
0080c3a486c02ea8633d544f1f8d0dff74af8837
[]
no_license
LanceShu/GitKu
8efff4c73facf09a835a2b0662ccc20d6b264f64
2feedde3da98e5138e6442b0f157770959974ce8
refs/heads/master
2020-04-06T04:55:51.103424
2017-02-08T06:49:12
2017-02-08T06:49:12
70,239,221
0
0
null
null
null
null
UTF-8
Java
false
false
594
java
package com.example.lance.xiyou_score; /** * Created by Lance on 2017/2/6. */ public class Project_Infor { public String course_id; public String course_name; public String course_score; public String course_GPA; public String course_team; public String course_status; public Project_Infor(String id,String name,String score,String GPA,String team,String status){ course_id = id; course_name = name; course_score = score; course_GPA = GPA; course_team = team; course_status = status; } }
1663cb391fef99a463f2a0cce95194025be2bd2c
0329992891dd2ad5e9d49461ca225291c4ac7461
/src/main/java/cn/dongyeshengzhen/portal/content/entity/Content.java
179e99f39e98410b03072e1eed4662b351b56f1f
[]
no_license
sddysz/bdmri
f94d6edb59eda005b537730f1742505efd2c5aaa
a5f872815d69833989125ed2d62445a24d991395
refs/heads/master
2020-06-28T12:03:22.119473
2016-12-15T13:08:58
2016-12-15T13:08:58
67,323,986
0
0
null
null
null
null
UTF-8
Java
false
false
1,908
java
package cn.dongyeshengzhen.portal.content.entity; import javax.persistence.*; import java.util.Date; /** * Created by dongye on 2016/9/4. */ @Entity @Table(name = "content") public class Content { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; private String title; @ManyToOne(optional = false) @JoinColumn(name = "typeId") private ContentType type; private String isDisplay; private String content; private Integer orderId; private Date createTime; private Date updateTime; private Integer isNews; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public ContentType getType() { return type; } public void setType(ContentType type) { this.type = type; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } public Integer getOrderId() { return orderId; } public void setOrderId(Integer orderId) { this.orderId = orderId; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public String getIsDisplay() { return isDisplay; } public void setIsDisplay(String isDisplay) { this.isDisplay = isDisplay; } public Integer getIsNews() { return isNews; } public void setIsNews(Integer isNews) { this.isNews = isNews; } }
[ "sddysz11" ]
sddysz11
ca707534ade91b2c2836edaa9527e40d079bb1cd
aca457909ef8c4eb989ba23919de508c490b074a
/DialerJADXDecompile/defpackage/ai.java
9752a5d1c52282fd8f9cbf801495d8f474dd035e
[]
no_license
KHikami/ProjectFiCallingDeciphered
bfccc1e1ba5680d32a4337746de4b525f1911969
cc92bf6d4cad16559a2ecbc592503d37a182dee3
refs/heads/master
2021-01-12T17:50:59.643861
2016-12-08T01:20:34
2016-12-08T01:23:04
71,650,754
1
0
null
null
null
null
UTF-8
Java
false
false
373
java
package defpackage; import java.lang.ref.WeakReference; /* compiled from: PG */ /* renamed from: ai */ public final class ai { final WeakReference a; public int b; public ai(int i, ah ahVar) { this.a = new WeakReference(ahVar); this.b = i; } final boolean a(ah ahVar) { return ahVar != null && this.a.get() == ahVar; } }
65d10abf2f0b41a4abf33694ee32ae3ad2e0a125
5cb5d1fc80c1f68ade44f0a26a02d1aeb118c64d
/ink-user/ink-user-core/src/main/java/com/ink/user/core/dao/IReqLogDao.java
e86cf754d6b45da3d7bc3d5901c9da92d9e0e1cd
[]
no_license
gspandy/zx-parent
4350d1ef851d05eabdcf8c6c7049a46593e3c22e
5cdc52e645537887e86e5cbc117139ca1a56f55d
refs/heads/master
2023-08-31T15:29:50.763388
2016-08-11T09:17:29
2016-08-11T09:20:51
null
0
0
null
null
null
null
UTF-8
Java
false
false
401
java
/** * <p> Copyright (c) 2015-2025 银客网.</p> * <p>All Rights Reserved. 保留所有权利. </p> */ package com.ink.user.core.dao; import com.ink.user.core.po.ReqLog; import com.ink.base.EntityDao; /** * @author * @version 1.0 * @since 1.0 */ public interface IReqLogDao extends EntityDao<ReqLog, java.lang.Long>{ ReqLog checkReqLog(String ordId, String txnCode, String mchId); }
344ad40493eb2cd5ddbbd59d303c104cba3f2837
55bcf06cd72ffa0bd4170663d80627b525f82d0d
/Prova1Questao5/src/Empresa.java
b02c07d9a7435521fba20a5caf300b6e2d9271a4
[]
no_license
fellipebs/Java_Faculdade_POO
7cba614648975edff828739036c02646fcfab92c
1865df72744109b2a8819da90d530274d18113a7
refs/heads/master
2023-03-29T21:54:22.809439
2021-04-06T22:04:21
2021-04-06T22:04:21
355,339,790
0
0
null
null
null
null
IBM852
Java
false
false
733
java
import java.util.List; public class Empresa { public String nome; public String endereco; public String cnpj; public double saldo = 0; public List<Departamento> d; public Empresa(String nome, String endereco, String cnpj, double saldo) { this.nome = nome; this.endereco = endereco; this.cnpj = cnpj; this.saldo = saldo; } public void exibirAtributos() { System.out.println("Nome:" + this.nome); System.out.println("Enderešo:" + this.endereco); System.out.println("Cnpj:" + this.cnpj); System.out.println("Saldo:" + this.saldo); } public void exibirDepartamentos() { for(int i = 0; i < d.size(); i++) { if(d.get(i) != null) { System.out.println("Nome:" + d.get(i).nome); } } } }
ac75e70a264b9edb12e9b34c55a21d439919f476
c2eddf5d39727a839796eb5b436750d5948ee188
/app/src/main/java/com/josepmtomas/runstonerun/objects/MainMenu.java
8603cea9753e4394d663d6237419dd2f7ae3c91e
[]
no_license
JosepMTomas/RunStoneRun
0795384171bfa29ecb635a6b1a103410545b79d2
5fad7709454e9d9f3a8ba45c42cd77f248a94c0e
refs/heads/master
2021-01-10T19:34:05.399735
2015-02-25T10:04:49
2015-02-25T10:04:49
31,307,672
0
0
null
null
null
null
UTF-8
Java
false
false
32,350
java
package com.josepmtomas.runstonerun.objects; import android.content.SharedPreferences; import com.josepmtomas.runstonerun.ForwardRenderer; import com.josepmtomas.runstonerun.programs.ScorePanelProgram; import com.josepmtomas.runstonerun.programs.UIPanelProgram; import com.josepmtomas.runstonerun.util.UIHelper; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; import java.nio.ShortBuffer; import static com.josepmtomas.runstonerun.Constants.*; import static com.josepmtomas.runstonerun.algebra.operations.*; import static android.opengl.GLES30.*; import static android.opengl.Matrix.*; /** * Created by Josep on 22/12/2014. * @author Josep */ public class MainMenu { // Geometry attributes constants private static final int POSITION_BYTE_OFFSET = 0; private static final int TEXCOORD_BYTE_OFFSET = 3 * BYTES_PER_FLOAT; private static final int BYTE_STRIDE = 5 * BYTES_PER_FLOAT; // private ForwardRenderer renderer; private MenuTextures textures; private SharedPreferences sharedPreferences; // State private int currentState; // Menu common attributes private static final float menuAppearTime = 0.5f; private static final float menuDisappearTime = 0.5f; private float menuTimer = 0f; private float menuOpacity = 1f; private float buttonsOpacity = 0.25f; private static final float BUTTONS_BASE_OPACITY = 0.25f; private boolean menuEnabled = true; // Matrices private float[] view = new float[16]; private float[] projection = new float[16]; private float[] viewProjection = new float[16]; // UI Panel private int uiPanelVaoHandle; private int buttonsBackPanelVaoHandle; private int recordBackPanelVaoHandle; // Buttons back panel private float[] buttonsBackPanelPosition = new float[2]; private float[] buttonsBackPanelCurrentScale = new float[2]; private float[] buttonsBackPanelCurrentPosition = new float[2]; // Record back panel private float[] recordBackPanelPosition = new float[2]; private float[] recordBackPanelCurrentScale = new float[2]; private float[] recordBackPanelCurrentPosition = new float[2]; // Game title private float[] gameTitleScale = new float[2]; private float[] gameTitlePosition = new float[2]; private float[] gameTitleCurrentScale = new float[2]; private float[] gameTitleCurrentPosition = new float[2]; // New game button private int newGameButtonCurrentTexture; private float[] newGameButtonScale = new float[2]; private float[] newGameButtonPosition = new float[2]; private float[] newGameButtonCurrentScale = new float[2]; private float[] newGameButtonCurrentPosition = new float[2]; private float[] newGameButtonLimits = new float[4]; // How to play button private int howToPlayButtonCurrentTexture; private float[] howToPlayButtonScale = new float[2]; private float[] howToPlayButtonPosition = new float[2]; private float[] howToPlayButtonCurrentScale = new float[2]; private float[] howToPlayButtonCurrentPosition = new float[2]; private float[] howToPlayButtonLimits = new float[4]; // Options button private int optionsButtonCurrentTexture; private float[] optionsButtonScale = new float[2]; private float[] optionsButtonPosition = new float[2]; private float[] optionsButtonCurrentScale = new float[2]; private float[] optionsButtonCurrentPosition = new float[2]; private float[] optionsButtonLimits = new float[4]; // Credits button private int creditsButtonCurrentTexture; private float[] creditsButtonScale = new float[2]; private float[] creditsButtonPosition = new float[2]; private float[] creditsButtonCurrentScale = new float[2]; private float[] creditsButtonCurrentPosition = new float[2]; private float[] creditsButtonLimits = new float[4]; // Exit button private int exitButtonCurrentTexture; private float[] exitButtonScale = new float[2]; private float[] exitButtonPosition = new float[2]; private float[] exitButtonCurrentScale = new float[2]; private float[] exitButtonCurrentPosition = new float[2]; private float[] exitButtonLimits = new float[4]; // Record button private float[] recordButtonScale = new float[2]; private float[] recordButtonPosition = new float[2]; private float[] recordButtonCurrentScale = new float[2]; private float[] recordButtonCurrentPosition = new float[2]; // Speed button private boolean speedButtonEnabled = false; private float[] speedButtonScale = new float[2]; private float[] speedButtonPosition = new float[2]; private float[] speedButtonCurrentScale = new float[2]; private float[] speedButtonCurrentPosition = new float[2]; private float[] speedButtonLimits = new float[4]; private int speedButtonTexture; // Visibility button private boolean visibilityButtonEnabled = true; private float[] visibilityButtonScale = new float[2]; private float[] visibilityButtonPosition = new float[2]; private float[] visibilityButtonCurrentScale = new float[2]; private float[] visibilityButtonCurrentPosition = new float[2]; private float[] visibilityButtonLimits = new float[4]; private int visibilityButtonTexture; // Score panel private int[] scoreVboHandles = new int[2]; private int[] scoreVaoHandle = new int[1]; private float[] scoreOpacities = new float[8]; private float[] scorePositionsX = new float[8]; private float scorePositionY = 0; private float[] scoreTexCoordOffsetsX = { 0f, 0f, 0f, 0f, 0.25f, 0.25f, 0.25f, 0.25f, 0.5f, 0.5f, 0.5f, 0.5f, 0.75f, 0.75f}; private float[] scoreTexCoordOffsetsY = {-0.75f, -0.5f, -0.25f, 0f, -0.75f, -0.5f, -0.25f, 0f, -0.75f, -0.5f, -0.25f, 0f, -0.75f, -0.5f}; private float scoreNumberWidth; private int[] scoreNumbers = {0, 0, 0, 0, 0, 0, 0, 0}; private float scoreCurrentScale = 1f; private float[] scoreCurrentPositionsX = new float[8]; private float scoreCurrentPositionY = 0f; // renderer ui programs private UIPanelProgram uiPanelProgram; private ScorePanelProgram scorePanelProgram; public MainMenu(ForwardRenderer renderer, SharedPreferences sharedPreferences, UIPanelProgram panelProgram, ScorePanelProgram scorePanelProgram, MenuTextures textures, float screenWidth, float screenHeight) { this.renderer = renderer; this.sharedPreferences = sharedPreferences; this.textures = textures; this.uiPanelProgram = panelProgram; this.scorePanelProgram = scorePanelProgram; this.currentState = UI_STATE_VISIBLE; createMatrices(screenWidth, screenHeight); loadTextures(); uiPanelVaoHandle = UIHelper.makePanel(1f, 1f, UI_BASE_CENTER_CENTER); createGameTitle(screenWidth, screenHeight); createButtons(screenWidth, screenHeight); createButtonsBackPanel(screenWidth, screenHeight); createRecordBackPanel(screenWidth, screenHeight); createRecordButton(screenWidth, screenHeight); createScoreGeometry(screenWidth, screenHeight); setScore(screenWidth, screenHeight); setCurrentPositions(); loadPreferences(); } private void createMatrices(float screenWidth, float screenHeight) { float right = screenWidth * 0.5f; float left = -right; float top = screenHeight * 0.5f; float bottom = -top; float near = 0.5f; float far = 10f; // Initialize view matrix setIdentityM(view, 0); setLookAtM(view, 0, 0f, 0f, 1f, 0f, 0f, 0f, 0f, 1f, 0f); // Initialize projection matrix setIdentityM(projection, 0); orthoM(projection, 0, left, right, bottom, top, near, far); // Calculate view x projection matrix multiplyMM(viewProjection, 0, projection, 0, view, 0); } private void loadTextures() { newGameButtonCurrentTexture = textures.newGameButtonIdleTexture; howToPlayButtonCurrentTexture = textures.howToPlayButtonIdleTexture; optionsButtonCurrentTexture = textures.optionsButtonIdleTexture; creditsButtonCurrentTexture = textures.creditsButtonIdleTexture; exitButtonCurrentTexture = textures.exitButtonIdle; speedButtonTexture = textures.speedNormalTexture; visibilityButtonTexture = textures.visibilityEnabledTexture; } private void loadPreferences() { speedButtonEnabled = !sharedPreferences.getBoolean("SpeedEnabled", false); touchSpeedButton(); } private void savePreferences() { SharedPreferences.Editor editor = sharedPreferences.edit(); editor.putBoolean("SpeedEnabled", speedButtonEnabled); editor.putBoolean("VisibilityEnabled", visibilityButtonEnabled); editor.apply(); } private void createGameTitle(float screenWidth, float screenHeight) { float width = screenWidth * 0.9f; float height = width * 0.17647f; gameTitleScale[0] = width; gameTitleScale[1] = height; gameTitlePosition[0] = 0f; gameTitlePosition[1] = screenHeight * 0.3375f; gameTitleCurrentScale[0] = gameTitleScale[0]; gameTitleCurrentScale[1] = gameTitleScale[1]; gameTitleCurrentPosition[0] = gameTitlePosition[0]; gameTitleCurrentPosition[1] = gameTitlePosition[1]; } private void createButtons(float screenWidth, float screenHeight) { float width = screenWidth * 0.3f; float height = screenWidth * 0.0902f; createNewGameButton(width, height); createHowToPlayButton(width, height); createOptionsButton(width, height); createCreditsButton(width, height); createExitButton(screenWidth, screenHeight); createSpeedButton(screenWidth, screenHeight); createVisibilityButton(screenWidth, screenHeight); } public void createButtonsBackPanel(float screenWidth, float screenHeight) { float borderSize = screenHeight * 0.025f; //float cornerSize = screenWidth * 0.06f * 0.3f + borderSize; float cornerSize = screenWidth * 0.0902f * 0.3f + borderSize; float width = (screenWidth * 0.6f) + (borderSize * 2f); float height = (screenWidth * 0.0902f * 2f) + (borderSize * 2f); buttonsBackPanelVaoHandle = UIHelper.make9PatchPanel(width, height, cornerSize, UI_BASE_CENTER_CENTER); buttonsBackPanelCurrentScale[0] = 1f; buttonsBackPanelCurrentScale[1] = 1f; buttonsBackPanelPosition[0] = 0f; buttonsBackPanelPosition[1] = newGameButtonPosition[1] - (screenWidth * 0.0451f);//optionsButtonPosition[1] + (screenWidth * 0.03f); buttonsBackPanelCurrentPosition[0] = buttonsBackPanelPosition[0]; buttonsBackPanelCurrentPosition[1] = buttonsBackPanelPosition[1]; } @SuppressWarnings("unused") private void createRecordBackPanel(float screenWidth, float screenHeight) { float borderSize = screenHeight * 0.025f; float cornerSize = screenHeight * 0.03f + borderSize;// 0.048 float width = (screenHeight * 0.9f) + (borderSize * 2f);//0.8 float height = (screenHeight * 0.1f) + (borderSize * 2f); recordBackPanelVaoHandle = UIHelper.make9PatchPanel(width, height, cornerSize, UI_BASE_CENTER_CENTER); recordBackPanelCurrentScale[0] = 1f; recordBackPanelCurrentScale[1] = 1f; recordBackPanelPosition[0] = 0f; recordBackPanelPosition[1] = height * 0.75f; recordBackPanelCurrentPosition[0] = recordBackPanelPosition[0]; recordBackPanelCurrentPosition[1] = recordBackPanelPosition[1]; } private void createNewGameButton(float width, float height) { newGameButtonScale[0] = width; newGameButtonScale[1] = height; newGameButtonPosition[0] = width * -0.5f; newGameButtonPosition[1] = height * -0.5f; //-0.375f; // left-right-bottom-top newGameButtonLimits[0] = newGameButtonPosition[0] - (width * 0.5f); newGameButtonLimits[1] = newGameButtonPosition[0] + (width * 0.5f); newGameButtonLimits[2] = newGameButtonPosition[1] - (height * 0.5f); newGameButtonLimits[3] = newGameButtonPosition[1] + (height * 0.5f); } private void createHowToPlayButton(float width, float height) { howToPlayButtonScale[0] = width; howToPlayButtonScale[1] = height; howToPlayButtonPosition[0] = newGameButtonPosition[0]; howToPlayButtonPosition[1] = newGameButtonPosition[1] - height; howToPlayButtonLimits[0] = howToPlayButtonPosition[0] - (width * 0.5f); howToPlayButtonLimits[1] = howToPlayButtonPosition[0] + (width * 0.5f); howToPlayButtonLimits[2] = howToPlayButtonPosition[1] - (height * 0.5f); howToPlayButtonLimits[3] = howToPlayButtonPosition[1] + (height * 0.5f); } private void createOptionsButton(float width, float height) { optionsButtonScale[0] = width; optionsButtonScale[1] = height; optionsButtonPosition[0] = newGameButtonPosition[0] + width; optionsButtonPosition[1] = newGameButtonPosition[1]; // left-right-bottom-top optionsButtonLimits[0] = optionsButtonPosition[0] - (width * 0.5f); optionsButtonLimits[1] = optionsButtonPosition[0] + (width * 0.5f); optionsButtonLimits[2] = optionsButtonPosition[1] - (height * 0.5f); optionsButtonLimits[3] = optionsButtonPosition[1] + (height * 0.5f); } private void createCreditsButton(float width, float height) { creditsButtonScale[0] = width; creditsButtonScale[1] = height; creditsButtonPosition[0] = optionsButtonPosition[0]; creditsButtonPosition[1] = optionsButtonPosition[1] - height; // left-right-bottom-top creditsButtonLimits[0] = creditsButtonPosition[0] - (width * 0.5f); creditsButtonLimits[1] = creditsButtonPosition[0] + (width * 0.5f); creditsButtonLimits[2] = creditsButtonPosition[1] - (height * 0.5f); creditsButtonLimits[3] = creditsButtonPosition[1] + (height * 0.5f); } @SuppressWarnings("unused") private void createExitButton(float screenWidth, float screenHeight) { float size = screenHeight * 0.15f; float sizeHalf = size * 0.5f; float positionOffset = size * 0.75f; exitButtonScale[0] = size; exitButtonScale[1] = size; exitButtonPosition[0] = screenWidth * 0.5f - positionOffset; exitButtonPosition[1] = screenHeight * -0.5f + positionOffset; // left-right-bottom-top exitButtonLimits[0] = exitButtonPosition[0] - sizeHalf; exitButtonLimits[1] = exitButtonPosition[0] + sizeHalf; exitButtonLimits[2] = exitButtonPosition[1] - sizeHalf; exitButtonLimits[3] = exitButtonPosition[1] + sizeHalf; } @SuppressWarnings("unused") private void createRecordButton(float screenWidth, float screenHeight) { float height = screenHeight * 0.1f; float width = height * 3f; recordButtonScale[0] = width; recordButtonScale[1] = height; recordButtonPosition[0] = recordBackPanelPosition[0] - (screenHeight * 0.3f);//25 recordButtonPosition[1] = recordBackPanelPosition[1]; } private void createSpeedButton(float screenWidth, float screenHeight) { float buttonSize = screenHeight * 0.15f; float buttonSizeHalf = buttonSize * 0.5f; speedButtonScale[0] = buttonSize; speedButtonScale[1] = buttonSize; speedButtonPosition[0] = screenWidth * -0.5f + buttonSizeHalf; speedButtonPosition[1] = buttonSize * 0.5f; // left-right-bottom-top speedButtonLimits[0] = speedButtonPosition[0] - (buttonSizeHalf); speedButtonLimits[1] = speedButtonPosition[0] + (buttonSizeHalf); speedButtonLimits[2] = speedButtonPosition[1] - (buttonSizeHalf); speedButtonLimits[3] = speedButtonPosition[1] + (buttonSizeHalf); } private void createVisibilityButton(float screenWidth, float screenHeight) { float buttonSize = screenHeight * 0.15f; float buttonSizeHalf = buttonSize * 0.5f; visibilityButtonScale[0] = buttonSize; visibilityButtonScale[1] = buttonSize; visibilityButtonPosition[0] = screenWidth * -0.5f + buttonSizeHalf; visibilityButtonPosition[1] = buttonSize * -0.5f; // left-right-bottom-top visibilityButtonLimits[0] = visibilityButtonPosition[0] - (buttonSizeHalf); visibilityButtonLimits[1] = visibilityButtonPosition[0] + (buttonSizeHalf); visibilityButtonLimits[2] = visibilityButtonPosition[1] - (buttonSizeHalf); visibilityButtonLimits[3] = visibilityButtonPosition[1] + (buttonSizeHalf); } @SuppressWarnings("unused") private void createScoreGeometry(float screenWidth, float screenHeight) { float[] vertices = new float[20]; short[] elements = new short[6]; float numberHeight = screenHeight * 0.2f; float numberWidth = numberHeight * 0.7134f; scoreNumberWidth = numberWidth; float bottom = -numberHeight * 0.5f; float left = -numberWidth * 0.5f; // D - C // | \ | // A - B int offset = 0; for(int y=0; y<2; y++) { for(int x=0; x<2; x++) { // Position vertices[offset++] = left + ((float)x * numberWidth); vertices[offset++] = bottom + ((float)y * numberHeight); vertices[offset++] = 0.0f; // Texture Coordinates vertices[offset++] = (float)x * 0.25f; vertices[offset++] = 1.0f - (float)y * 0.25f; } } // Indices elements[0] = 0; elements[1] = 1; elements[2] = 2; elements[3] = 1; elements[4] = 3; elements[5] = 2; // Java native buffers FloatBuffer verticesBuffer; ShortBuffer elementsBuffer; verticesBuffer = ByteBuffer .allocateDirect(vertices.length * BYTES_PER_FLOAT) .order(ByteOrder.nativeOrder()) .asFloatBuffer() .put(vertices); verticesBuffer.position(0); elementsBuffer = ByteBuffer .allocateDirect(elements.length * BYTES_PER_SHORT) .order(ByteOrder.nativeOrder()) .asShortBuffer() .put(elements); elementsBuffer.position(0); // Create and populate the buffer objects glGenBuffers(2, scoreVboHandles, 0); glBindBuffer(GL_ARRAY_BUFFER, scoreVboHandles[0]); glBufferData(GL_ARRAY_BUFFER, verticesBuffer.capacity() * BYTES_PER_FLOAT, verticesBuffer, GL_STATIC_DRAW); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, scoreVboHandles[1]); glBufferData(GL_ELEMENT_ARRAY_BUFFER, elementsBuffer.capacity() * BYTES_PER_SHORT, elementsBuffer, GL_STATIC_DRAW); // Create the VAO glGenVertexArrays(1, scoreVaoHandle, 0); glBindVertexArray(scoreVaoHandle[0]); // Vertex positions glEnableVertexAttribArray(0); glBindBuffer(GL_ARRAY_BUFFER, scoreVboHandles[0]); glVertexAttribPointer(0, 3, GL_FLOAT, false, BYTE_STRIDE, POSITION_BYTE_OFFSET); // Vertex texture coordinates glEnableVertexAttribArray(1); glBindBuffer(GL_ARRAY_BUFFER, scoreVboHandles[0]); glVertexAttribPointer(1, 2, GL_FLOAT, false, BYTE_STRIDE, TEXCOORD_BYTE_OFFSET); // Elements glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, scoreVboHandles[1]); glBindVertexArray(0); } private void setCurrentPositions() { newGameButtonCurrentScale[0] = newGameButtonScale[0]; newGameButtonCurrentScale[1] = newGameButtonScale[1]; newGameButtonCurrentPosition[0] = newGameButtonPosition[0]; newGameButtonCurrentPosition[1] = newGameButtonPosition[1]; howToPlayButtonCurrentScale[0] = howToPlayButtonScale[0]; howToPlayButtonCurrentScale[1] = howToPlayButtonScale[1]; howToPlayButtonCurrentPosition[0] = howToPlayButtonPosition[0]; howToPlayButtonCurrentPosition[1] = howToPlayButtonPosition[1]; optionsButtonCurrentScale[0] = optionsButtonScale[0]; optionsButtonCurrentScale[1] = optionsButtonScale[1]; optionsButtonCurrentPosition[0] = optionsButtonPosition[0]; optionsButtonCurrentPosition[1] = optionsButtonPosition[1]; creditsButtonCurrentScale[0] = creditsButtonScale[0]; creditsButtonCurrentScale[1] = creditsButtonScale[1]; creditsButtonCurrentPosition[0] = creditsButtonPosition[0]; creditsButtonCurrentPosition[1] = creditsButtonPosition[1]; exitButtonCurrentScale[0] = exitButtonScale[0]; exitButtonCurrentScale[1] = exitButtonScale[1]; exitButtonCurrentPosition[0] = exitButtonPosition[0]; exitButtonCurrentPosition[1] = exitButtonPosition[1]; recordButtonCurrentScale[0] = recordButtonScale[0]; recordButtonCurrentScale[1] = recordButtonScale[1]; recordButtonCurrentPosition[0] = recordButtonPosition[0]; recordButtonCurrentPosition[1] = recordButtonPosition[1]; speedButtonCurrentScale[0] = speedButtonScale[0]; speedButtonCurrentScale[1] = speedButtonScale[1]; speedButtonCurrentPosition[0] = speedButtonPosition[0]; speedButtonCurrentPosition[1] = speedButtonPosition[1]; visibilityButtonCurrentScale[0] = visibilityButtonScale[0]; visibilityButtonCurrentScale[1] = visibilityButtonScale[1]; visibilityButtonCurrentPosition[0] = visibilityButtonPosition[0]; visibilityButtonCurrentPosition[1] = visibilityButtonPosition[1]; } @SuppressWarnings("unused") public void setScore(float screenWidth, float screenHeight) { // get current high score from shared preferences int score = sharedPreferences.getInt("LocalHighScore",0); int i; boolean end = false; int number; int nextScore = score; for(i=0; i<8; i++) { scoreNumbers[i] = 0; scoreOpacities[i] = 0.375f; } i=0; //scoreNumberOfDigits = 0; while(i < 8 && !end) { number = nextScore % 10; nextScore = nextScore / 10; scoreNumbers[i] = number; scoreOpacities[i] = 1f; //scoreNumberOfDigits++; if(nextScore == 0) end = true; i++; } scorePositionY = recordButtonPosition[1] + (screenHeight * 0.115f); scoreCurrentPositionY = scorePositionY; float initialX = screenHeight * 0.815f; for(i=0; i<8; i++) { scorePositionsX[i] = initialX - (i*scoreNumberWidth); scoreCurrentPositionsX[i] = scorePositionsX[i]; } } public void updateScore() { int i; boolean end = false; int number; int nextScore = sharedPreferences.getInt("LocalHighScore",0); for(i=0; i<8; i++) { scoreNumbers[i] = 0; scoreOpacities[i] = 0.375f; } i=0; while(i < 8 && !end) { number = nextScore % 10; nextScore = nextScore / 10; scoreNumbers[i] = number; scoreOpacities[i] = 1f; if(nextScore == 0) end = true; i++; } } public void touch(float x, float y) { if(menuEnabled) { if( x >= newGameButtonLimits[0] && x <= newGameButtonLimits[1] && y >= newGameButtonLimits[2] && y <= newGameButtonLimits[3]) { touchNewGameButton(); } else if(x >= howToPlayButtonLimits[0] && x <= howToPlayButtonLimits[1] && y >= howToPlayButtonLimits[2] && y <= howToPlayButtonLimits[3]) { touchHowToPlayButton(); } else if(x >= optionsButtonLimits[0] && x <= optionsButtonLimits[1] && y >= optionsButtonLimits[2] && y <= optionsButtonLimits[3]) { touchOptionsButton(); } else if(x >= optionsButtonLimits[0] && x <= optionsButtonLimits[1] && y >= creditsButtonLimits[2] && y <= creditsButtonLimits[3]) { touchCreditsButton(); } else if(x >= exitButtonLimits[0] && x <= exitButtonLimits[1] && y >= exitButtonLimits[2] && y <= exitButtonLimits[3]) { touchExitButton(); } } if( x >= speedButtonLimits[0] && x <= speedButtonLimits[1] && y >= speedButtonLimits[2] && y <= speedButtonLimits[3]) { touchSpeedButton(); } else if(x >= visibilityButtonLimits[0] && x <= visibilityButtonLimits[1] && y >= visibilityButtonLimits[2] && y <= visibilityButtonLimits[3]) { touchVisibilityButton(); } } public void releaseTouch() { newGameButtonCurrentTexture = textures.newGameButtonIdleTexture; howToPlayButtonCurrentTexture = textures.howToPlayButtonIdleTexture; optionsButtonCurrentTexture = textures.optionsButtonIdleTexture; creditsButtonCurrentTexture = textures.creditsButtonIdleTexture; exitButtonCurrentTexture = textures.exitButtonIdle; } private void touchNewGameButton() { newGameButtonCurrentTexture = textures.newGameButtonSelectedTexture; renderer.newGame(); currentState = UI_STATE_DISAPPEARING; } private void touchHowToPlayButton() { howToPlayButtonCurrentTexture = textures.howToPlayButtonSelectedTexture; renderer.changingToHowToPlayMenu(); currentState = UI_STATE_DISAPPEARING; } private void touchOptionsButton() { optionsButtonCurrentTexture = textures.optionsButtonSelectedTexture; renderer.changingToOptionsMenuFromMainMenu(); currentState = UI_STATE_DISAPPEARING; } private void touchCreditsButton() { creditsButtonCurrentTexture = textures.creditsButtonSelectedTexture; renderer.changingToCreditsMenu(); currentState = UI_STATE_DISAPPEARING; } private void touchExitButton() { exitButtonCurrentTexture = textures.exitButtonSelected; renderer.onBackPressed(); } private void touchSpeedButton() { speedButtonEnabled = !speedButtonEnabled; if(speedButtonEnabled) { speedButtonTexture = textures.speedFastTexture; } else { speedButtonTexture = textures.speedNormalTexture; } savePreferences(); renderer.setMenuSpeed(speedButtonEnabled); } private void touchVisibilityButton() { visibilityButtonEnabled = !visibilityButtonEnabled; if(visibilityButtonEnabled) { visibilityButtonTexture = textures.visibilityEnabledTexture; menuOpacity = 1.0f; menuEnabled = true; } else { visibilityButtonTexture = textures.visibilityDisabledTexture; menuOpacity = 0.0f; menuEnabled = false; } savePreferences(); } public void setNotVisible() { currentState = UI_STATE_NOT_VISIBLE; buttonsOpacity = 0f; } public void setAppearing() { loadPreferences(); updateScore(); currentState = UI_STATE_APPEARING; } public void setCurrentElementsAttributes(float alpha) { buttonsBackPanelCurrentScale[0] = lerp(0f, 1f, alpha); buttonsBackPanelCurrentScale[1] = lerp(0f, 1f, alpha); buttonsBackPanelCurrentPosition[0] = lerp(0f, buttonsBackPanelPosition[0], alpha); buttonsBackPanelCurrentPosition[1] = lerp(0f, buttonsBackPanelPosition[1], alpha); recordBackPanelCurrentScale[0] = lerp(0f, 1f, alpha); recordBackPanelCurrentScale[1] = lerp(0f, 1f, alpha); recordBackPanelCurrentPosition[0] = lerp(0f, recordBackPanelPosition[0], alpha); recordBackPanelCurrentPosition[1] = lerp(0f, recordBackPanelPosition[1], alpha); gameTitleCurrentScale[0] = lerp(0f, gameTitleScale[0], alpha); gameTitleCurrentScale[1] = lerp(0f, gameTitleScale[1], alpha); gameTitleCurrentPosition[0] = lerp(0f, gameTitlePosition[0], alpha); gameTitleCurrentPosition[1] = lerp(0f, gameTitlePosition[1], alpha); newGameButtonCurrentScale[0] = lerp(0f, newGameButtonScale[0], alpha); newGameButtonCurrentScale[1] = lerp(0f, newGameButtonScale[1], alpha); newGameButtonCurrentPosition[0] = lerp(0f, newGameButtonPosition[0], alpha); newGameButtonCurrentPosition[1] = lerp(0f, newGameButtonPosition[1], alpha); howToPlayButtonCurrentScale[0] = lerp(0f, howToPlayButtonScale[0], alpha); howToPlayButtonCurrentScale[1] = lerp(0f, howToPlayButtonScale[1], alpha); howToPlayButtonCurrentPosition[0] = lerp(0f, howToPlayButtonPosition[0], alpha); howToPlayButtonCurrentPosition[1] = lerp(0f, howToPlayButtonPosition[1], alpha); optionsButtonCurrentScale[0] = lerp(0f, optionsButtonScale[0], alpha); optionsButtonCurrentScale[1] = lerp(0f, optionsButtonScale[1], alpha); optionsButtonCurrentPosition[0] = lerp(0f, optionsButtonPosition[0], alpha); optionsButtonCurrentPosition[1] = lerp(0f, optionsButtonPosition[1], alpha); creditsButtonCurrentScale[0] = lerp(0f, creditsButtonScale[0], alpha); creditsButtonCurrentScale[1] = lerp(0f, creditsButtonScale[1], alpha); creditsButtonCurrentPosition[0] = lerp(0f, creditsButtonPosition[0], alpha); creditsButtonCurrentPosition[1] = lerp(0f, creditsButtonPosition[1], alpha); exitButtonCurrentScale[0] = lerp(exitButtonScale[0] * 2f, exitButtonScale[0], alpha); exitButtonCurrentScale[1] = lerp(exitButtonScale[1] * 2f, exitButtonScale[1], alpha); exitButtonCurrentPosition[0] = lerp(exitButtonPosition[0] * 2f, exitButtonPosition[0], alpha); exitButtonCurrentPosition[1] = lerp(exitButtonPosition[1] * 2f, exitButtonPosition[1], alpha); recordButtonCurrentScale[0] = lerp(0f, recordButtonScale[0], alpha); recordButtonCurrentScale[1] = lerp(0f, recordButtonScale[1], alpha); recordButtonCurrentPosition[0] = lerp(0f, recordButtonPosition[0], alpha); recordButtonCurrentPosition[1] = lerp(0f, recordButtonPosition[1], alpha); scoreCurrentScale = alpha; scoreCurrentPositionY = lerp(0f, scorePositionY, alpha); for(int i=0; i<8; i++) { scoreCurrentPositionsX[i] = lerp(0f, scorePositionsX[i], alpha); } } public void update(float deltaTime) { if(currentState == UI_STATE_APPEARING) { menuTimer += deltaTime; menuOpacity = menuTimer / menuAppearTime; buttonsOpacity = menuOpacity * BUTTONS_BASE_OPACITY; if(menuTimer >= menuAppearTime) { currentState = UI_STATE_VISIBLE; menuOpacity = 1f; buttonsOpacity = BUTTONS_BASE_OPACITY; menuTimer = 0f; renderer.changedToMainMenu(); } setCurrentElementsAttributes(menuOpacity); } else if(currentState == UI_STATE_DISAPPEARING) { menuTimer += deltaTime; menuOpacity = 1f - (menuTimer / menuDisappearTime); buttonsOpacity = menuOpacity * BUTTONS_BASE_OPACITY; if(menuTimer >= menuDisappearTime) { currentState = UI_STATE_NOT_VISIBLE; menuOpacity = 0f; buttonsOpacity = 0f; menuTimer = 0f; } setCurrentElementsAttributes(menuOpacity); } } public void draw() { if(currentState != UI_STATE_NOT_VISIBLE && menuEnabled) { uiPanelProgram.useProgram(); glBindVertexArray(buttonsBackPanelVaoHandle); uiPanelProgram.setUniforms(viewProjection, buttonsBackPanelCurrentScale, buttonsBackPanelCurrentPosition, textures.background9PatchPanelTexture, 0.75f * menuOpacity); glDrawElements(GL_TRIANGLES, 54, GL_UNSIGNED_SHORT, 0); glBindVertexArray(recordBackPanelVaoHandle); uiPanelProgram.setUniforms(viewProjection, recordBackPanelCurrentScale, recordBackPanelCurrentPosition, textures.background9PatchPanelTexture, 0.75f * menuOpacity); glDrawElements(GL_TRIANGLES, 54, GL_UNSIGNED_SHORT, 0); glBindVertexArray(uiPanelVaoHandle); uiPanelProgram.setUniforms(viewProjection, gameTitleCurrentScale, gameTitleCurrentPosition, textures.gameTitleTexture, menuOpacity); glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); uiPanelProgram.setUniforms(viewProjection, newGameButtonCurrentScale, newGameButtonCurrentPosition, newGameButtonCurrentTexture, menuOpacity); glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); uiPanelProgram.setUniforms(viewProjection, howToPlayButtonCurrentScale, howToPlayButtonCurrentPosition, howToPlayButtonCurrentTexture, menuOpacity); glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); uiPanelProgram.setUniforms(viewProjection, optionsButtonCurrentScale, optionsButtonCurrentPosition, optionsButtonCurrentTexture, menuOpacity); glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); uiPanelProgram.setUniforms(viewProjection, creditsButtonCurrentScale, creditsButtonCurrentPosition, creditsButtonCurrentTexture, menuOpacity); glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); uiPanelProgram.setUniforms(viewProjection, exitButtonCurrentScale, exitButtonCurrentPosition, exitButtonCurrentTexture, menuOpacity); glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); uiPanelProgram.setUniforms(viewProjection, recordButtonCurrentScale, recordButtonCurrentPosition, textures.recordButtonTexture, menuOpacity); glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); uiPanelProgram.setUniforms(viewProjection, speedButtonCurrentScale, speedButtonCurrentPosition, speedButtonTexture, buttonsOpacity); glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); uiPanelProgram.setUniforms(viewProjection, visibilityButtonCurrentScale, visibilityButtonCurrentPosition, visibilityButtonTexture, buttonsOpacity); glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); //if(previousScoreSet) { scorePanelProgram.useProgram(); scorePanelProgram.setCommonUniforms(viewProjection, textures.numbersAtlasTexture); glBindVertexArray(scoreVaoHandle[0]); for(int i=0; i < 8; i++) { scorePanelProgram.setSpecificUniforms(scoreCurrentScale, scoreCurrentPositionsX[i], scoreCurrentPositionY, scoreTexCoordOffsetsX[scoreNumbers[i]], scoreTexCoordOffsetsY[scoreNumbers[i]], 1f, 1f, 1f, menuOpacity * scoreOpacities[i]); glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); } } } else { uiPanelProgram.useProgram(); glBindVertexArray(uiPanelVaoHandle); uiPanelProgram.setUniforms(viewProjection, speedButtonCurrentScale, speedButtonCurrentPosition, speedButtonTexture, buttonsOpacity); glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); uiPanelProgram.setUniforms(viewProjection, visibilityButtonCurrentScale, visibilityButtonCurrentPosition, visibilityButtonTexture, buttonsOpacity); glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); } } public boolean onBackPressed() { if(!menuEnabled) { touchVisibilityButton(); return false; } else { return true; } } }
8bb5bcea2b29e941621f5c972e43d9eb4e465c4a
7ccfd45b7aa66125d2e4d03d2d8183a8545de8be
/src/com/snmi/behavioralPatterns/command/Switch.java
9c86bc50516f9f5f38212245faca8d080f4ebf0a
[]
no_license
stefanmandradzhiyski/design-patterns
38e5c8b241011f2d57107d02776ce13de0d4501f
268f4bb2f663856b47744c266ac7940ce1d85a64
refs/heads/master
2021-07-12T20:27:01.537621
2020-09-26T07:25:41
2020-09-26T07:25:41
206,670,414
0
0
null
null
null
null
UTF-8
Java
false
false
327
java
package com.snmi.behavioralPatterns.command; /** * Switch as Invoker * @author Stefan Mandradzhiyski * @version 1.0 */ public class Switch { /** * Store and execute the command * @param command take the command */ public void storeAndExecute(Command command) { command.execute(); } }
3ed70f075ce0a4558db37df83f99af45baa9605c
4b4dd42f7b1d2d65ca19f7d9701b8cd32e93e9c2
/branches/java-fp/xas/src/fc/xml/xas/FragmentIterator.java
31f7c4a7723cc5050f10f862fe9196a87e97f37c
[ "MIT" ]
permissive
lagerspetz/fc-syxaw
5919f55799442f9d36f7ba3889be46bf748198b1
45e350e589fd5a8761a993f3110193586e037525
refs/heads/master
2020-05-18T16:55:04.562543
2010-04-10T09:58:28
2010-04-10T09:58:28
32,139,827
0
0
null
null
null
null
UTF-8
Java
false
false
1,804
java
/* * Copyright 2005--2008 Helsinki Institute for Information Technology * * This file is a part of Fuego middleware. Fuego middleware is free * software; you can redistribute it and/or modify it under the terms * of the MIT license, included as the file MIT-LICENSE in the Fuego * middleware source distribution. If you did not receive the MIT * license with the distribution, write to the Fuego Core project at * [email protected]. */ package fc.xml.xas; import java.util.Iterator; import java.util.NoSuchElementException; public class FragmentIterator implements Iterator { private FragmentItem fragment; private int index; private int length; FragmentIterator (FragmentItem fragment, int index) { this(fragment, index, Integer.MAX_VALUE); } FragmentIterator (FragmentItem fragment, int index, int length) { Verifier.checkInterval(0, index, fragment.length()); Verifier.checkNotNegative(length); this.fragment = fragment; this.index = index; this.length = length; } public boolean hasNext () { return length > 0 && index < fragment.length(); } public Object next () { if (hasNext()) { Item item = fragment.get(index); // FIXME: Need to determine skipping at next run // to consider potential convert int n = 1; if (FragmentItem.isFragment(item)) { n = ((FragmentItem) item).getSize(); } index += n; length -= n; return item; } else { throw new NoSuchElementException("Fragment exhausted, index=" + index + ", length=" + length); } } public void remove () { throw new UnsupportedOperationException(); } public Pointer pointer () { return new FragmentPointer(fragment, index); } } // arch-tag: ce29e1e3-d27b-4e89-a928-02ff9730bc2c
[ "tancred.lindholm@e02fe240-acfe-11de-93df-fb3520970a50" ]
tancred.lindholm@e02fe240-acfe-11de-93df-fb3520970a50
e243b7fd805073ea6c05a09d320b3f062f0b0240
630f27eddc3926ed426ade2cab05540b23d3dc08
/app/src/main/java/me/bakumon/moneykeeper/ui/addaccount/AddAccountViewModel.java
2d05875dd159f75dc4e5332c1db3a70dc783d5a8
[ "Apache-2.0" ]
permissive
Wangsilu0117/SE-Group3
cc6ddc531f2232806cf3dd4cb1d2db47abd55519
ba6ae39f67c3386f42b1a569d726ab9931682e21
refs/heads/master
2023-02-03T17:34:46.199583
2020-12-24T03:42:47
2020-12-24T03:42:47
296,614,688
1
0
null
null
null
null
UTF-8
Java
false
false
817
java
package me.bakumon.moneykeeper.ui.addaccount; import io.reactivex.Completable; import me.bakumon.moneykeeper.base.BaseViewModel; import me.bakumon.moneykeeper.database.entity.Account; import me.bakumon.moneykeeper.datasource.AppDataSource; public class AddAccountViewModel extends BaseViewModel { public AddAccountViewModel(AppDataSource dataSource) { super(dataSource); } public Completable saveAccount(Account account, String name) { if (account == null) { // 添加 return mDataSource.addAccount(name); } else { // 修改 Account updateAccount = new Account(account.id, name, account.rank); updateAccount.state = account.state; return mDataSource.updateAccount(account, updateAccount); } } }
33537074a37bdcaeebb759aca6940d328ae818d4
3e25a6ab00fc9002c5b8e93b9bd200232566aa1c
/src/main/java/org/iesalandalus/programacion/tutorias/mvc/modelo/dominio/Alumno.java
e53496f0e3f886c2873fe2e53c99e7c5e370986a
[]
no_license
MarMP/Tutorias-4
2bd39c2cc03bed75eb067a5ce3a0d4305e121df7
aefc6206674af51c91410f198203fa030918e7d8
refs/heads/master
2022-06-05T21:06:48.181295
2020-05-03T23:12:35
2020-05-03T23:12:35
258,241,007
0
0
null
null
null
null
UTF-8
Java
false
false
3,838
java
package org.iesalandalus.programacion.tutorias.mvc.modelo.dominio; import java.io.Serializable; import java.util.Objects; public class Alumno implements Serializable { private static final String ER_NOMBRE = "^([A-Za-zÁÉÍÓÚñáéíóúÑ]{0}?[A-Za-zÁÉÍÓÚñáéíóúÑ\\']+[\\s])+([A-Za-zÁÉÍÓÚñáéíóúÑ]{0}?[A-Za-zÁÉÍÓÚñáéíóúÑ\\'])+[\\s]?([A-Za-zÁÉÍÓÚñáéíóúÑ]{0}?[A-Za-zÁÉÍÓÚñáéíóúÑ\\'])?$"; private static final String PREFIJO_EXPEDIENTE = "SP_"; private static final String ER_CORREO = "\\w+(?:\\.\\w+)*@\\w+\\.\\w{2,5}"; private static int ultimoIdentificador = 0; private String nombre; private String correo; private String expediente; public Alumno(String nombre, String correo) { setNombre(nombre); setCorreo(correo); incrementaUltimoIdentificador(); setExpediente(); } public Alumno(Alumno alumno) { if (alumno == null) { throw new NullPointerException("ERROR: No es posible copiar un alumno nulo."); } setNombre(alumno.getNombre()); setCorreo(alumno.getCorreo()); this.expediente = alumno.getExpediente(); } public static Alumno getAlumnoFicticio(String correo) { return new Alumno("Mar Membrive", correo); } public String getNombre() { return nombre; } private void setNombre(String nombre) { if (nombre == null) { throw new NullPointerException("ERROR: El nombre no puede ser nulo."); } if (nombre.trim().equals("")) { throw new IllegalArgumentException("ERROR: El nombre no tiene un formato válido."); } this.nombre = formateaNombre(nombre); if (!this.nombre.matches(ER_NOMBRE)) { throw new IllegalArgumentException("ERROR: El nombre no tiene un formato válido."); } } private String formateaNombre(String nombre) { String cadenaMinus = nombre; cadenaMinus = cadenaMinus.toLowerCase(); cadenaMinus = cadenaMinus.trim(); cadenaMinus = cadenaMinus.replaceAll(" +", " "); char[] cadCaracter = cadenaMinus.toCharArray(); cadCaracter[0] = Character.toUpperCase(cadCaracter[0]); for (int i = 0; i < cadenaMinus.length() - 1; i++) if (cadCaracter[i] == ' ' || cadCaracter[i] == '.') { cadCaracter[i + 1] = Character.toUpperCase(cadCaracter[i + 1]); } return new String(cadCaracter); } public String getCorreo() { return correo; } private void setCorreo(String correo) { if (correo == null) { throw new NullPointerException("ERROR: El correo no puede ser nulo."); } if (correo.trim().equals("")) { throw new IllegalArgumentException("ERROR: El formato del correo no es válido."); } if (!correo.matches(ER_CORREO)) { throw new IllegalArgumentException("ERROR: El formato del correo no es válido."); } this.correo = correo; } public String getExpediente() { return expediente; } private void setExpediente() { expediente = PREFIJO_EXPEDIENTE + getIniciales() + "_" + ultimoIdentificador; } private static void incrementaUltimoIdentificador() { ultimoIdentificador++; } public static void identificadorFichero (int ultimoIdentificadorFichero) { ultimoIdentificador = ultimoIdentificadorFichero; } private String getIniciales() { String[] nombres = nombre.split(" "); String iniciales = ""; for (String nombre : nombres) { if (!nombre.equals("")) { iniciales = iniciales + nombre.charAt(0); } } return iniciales.toUpperCase(); } @Override public int hashCode() { return Objects.hash(correo); } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof Alumno)) { return false; } Alumno other = (Alumno) obj; return Objects.equals(correo, other.correo); } @Override public String toString() { return "nombre=" + nombre + " (" + getIniciales() + ")," + " correo=" + correo + ", expediente=" + expediente; } }
0d659d94a6f6b411683a338a8094ebe9e2fceae1
5dade31d71baaf39075be2e91a975a29a1c46586
/app/src/main/java/picketwatch/DrawingView.java
17ef71b342d6daf8e27acb07bd512a77ee81c705
[]
no_license
paulinar/picket-watch
be4b04499b281aaa37e557382bd62628846dbf98
55cc98898c8ec9eb584b869a646093e832075241
refs/heads/master
2016-09-06T21:35:43.670249
2014-10-14T07:12:27
2014-10-14T07:12:27
25,191,544
0
1
null
null
null
null
UTF-8
Java
false
false
4,643
java
package com.example.mari.picketwatch; /* Followed tutorial: http://code.tutsplus.com/tutorials/android-sdk-create-a-drawing-app-touch-interaction--mobile-19202 */ import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.PorterDuff; import android.graphics.PorterDuffXfermode; import android.util.AttributeSet; import android.util.TypedValue; import android.view.MotionEvent; import android.view.View; public class DrawingView extends View { //drawing path private Path drawPath; //drawing and canvas are both Paint objects private Paint drawPaint, canvasPaint; //initial color private int paintColor = 0xFF660000; //canvas private Canvas drawCanvas; //canvas bitmap private Bitmap canvasBitmap; private float brushSize, lastBrushSize; private boolean erase=false; /* The user paths drawn with drawPaint will be drawn onto the canvas, which is drawn with canvasPaint. */ // constructor method // we'll add an instance of the custom View to the XML layout file public DrawingView(Context context, AttributeSet attrs){ super(context, attrs); setupDrawing(); } // helper method to get drawing area setup for interaction private void setupDrawing(){ brushSize = getResources().getInteger(R.integer.medium_size); lastBrushSize = brushSize; drawPath = new Path(); drawPaint = new Paint(); // initial color drawPaint.setColor(paintColor); // initial path properties (make drawings look smoother) drawPaint.setAntiAlias(true); drawPaint.setStrokeWidth(brushSize); // used to be hardcoded drawPaint.setStyle(Paint.Style.STROKE); drawPaint.setStrokeJoin(Paint.Join.ROUND); drawPaint.setStrokeCap(Paint.Cap.ROUND); // instantiate canvas Paint object canvasPaint = new Paint(Paint.DITHER_FLAG); } /* Size view */ @Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); // instantiate drawing canvas and bitmap using width & height values canvasBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); drawCanvas = new Canvas(canvasBitmap); } /* Draw view */ @Override protected void onDraw(Canvas canvas) { // draw the canvas & drawing path canvas.drawBitmap(canvasBitmap, 0, 0, canvasPaint); canvas.drawPath(drawPath, drawPaint); } /* listen for touch events */ @Override public boolean onTouchEvent(MotionEvent event) { float touchX = event.getX(); float touchY = event.getY(); switch (event.getAction()) { case MotionEvent.ACTION_DOWN: // user touches the view drawPath.moveTo(touchX, touchY); break; case MotionEvent.ACTION_MOVE: drawPath.lineTo(touchX, touchY); break; case MotionEvent.ACTION_UP: // user lifts finger off view drawCanvas.drawPath(drawPath, drawPaint); drawPath.reset(); break; default: return false; } // each time user draws using touch interaction, invalidate the View to cause onDrawmethod to execute // i.e. re-renders entire view invalidate(); return true; } public void setColor(String newColor){ invalidate(); // parse and set color for drawing paintColor = Color.parseColor(newColor); drawPaint.setColor(paintColor); } public void setBrushSize(float newSize){ float pixelAmount = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, newSize, getResources().getDisplayMetrics()); brushSize=pixelAmount; drawPaint.setStrokeWidth(brushSize); // update Paint object to use new size } public void setLastBrushSize(float lastSize){ lastBrushSize=lastSize; } public float getLastBrushSize(){ return lastBrushSize; } // default is user is drawing public void setErase(boolean isErase){ erase=isErase; if (erase) drawPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.CLEAR)); else drawPaint.setXfermode(null); } // clears canvas and updates display public void startNew(){ drawCanvas.drawColor(0, PorterDuff.Mode.CLEAR); invalidate(); } }