blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
7
410
content_id
stringlengths
40
40
detected_licenses
listlengths
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
684M
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
132 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
28 values
content
stringlengths
3
9.45M
authors
listlengths
1
1
author_id
stringlengths
0
352
01b11cdcc133f6fa89dc359c5fcbd285bfbb816d
4ce931723cd7193adf675ce9a6dd80b6cdae93a1
/src/main/java/com/study/hadoop/MyWordCountReducer.java
5e572521b91655290dbedeb8cc4e3e583797a1f0
[]
no_license
pero-gve/study
d447a38f70df0834734f44ac9556a2603dc53e56
5a3b540d0eb8c4ccebaaa1e161e19bb7425acc90
refs/heads/master
2023-02-19T14:10:39.519189
2020-04-06T08:46:35
2020-04-06T08:46:35
null
0
0
null
null
null
null
UTF-8
Java
false
false
614
java
package com.study.hadoop; import java.io.IOException; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; public class MyWordCountReducer extends Reducer<Text, LongWritable, Text, LongWritable>{ @Override protected void reduce(Text key, Iterable<LongWritable> values, Reducer<Text, LongWritable, Text, LongWritable>.Context context) throws IOException, InterruptedException { Long count = 0l; for(LongWritable value : values){ count += value.get(); } context.write(key, new LongWritable(count)); } }
[ "zengf@dtds.com.cn" ]
zengf@dtds.com.cn
42d8bc4888b6405ca76812294baed4a795083eb9
afc901778f61a3b5c57aa42e1338066fc4a66193
/src/main/java/com/cybrilla/bank/system/bankingSystem/dto/BankSummaryDto.java
789a1e2be3f9ecd8dbdc2102508a95d410fc6bd5
[]
no_license
ambikeshshukla/bankingsystem
9d078e9ba9baaa0a078e689fc8ea2aa484d85dd8
8c2308bfeaaac29b96cb161fad3db292bb99410a
refs/heads/master
2020-04-07T04:45:46.790726
2018-11-18T10:04:18
2018-11-18T10:04:18
158,070,321
0
0
null
null
null
null
UTF-8
Java
false
false
1,320
java
package com.cybrilla.bank.system.bankingSystem.dto; import com.cybrilla.bank.system.bankingSystem.entity.BankSummary; public class BankSummaryDto { private String mode; private Long deposit; private Long withdraw; private Long totalBalance; public BankSummaryDto(){} public BankSummaryDto(BankSummary summary) { setMode(summary.getMode()); setDeposit(summary.getDeposit()); setWithdraw(summary.getWithdraw()); setTotalBalance(summary.getTotalBalance()); } /** * @return the mode */ public String getMode() { return mode; } /** * @param mode the mode to set */ public void setMode(String mode) { this.mode = mode; } /** * @return the deposit */ public Long getDeposit() { return deposit; } /** * @param deposit the deposit to set */ public void setDeposit(Long deposit) { this.deposit = deposit; } /** * @return the withdraw */ public Long getWithdraw() { return withdraw; } /** * @param withdraw the withdraw to set */ public void setWithdraw(Long withdraw) { this.withdraw = withdraw; } /** * @return the totalBalance */ public Long getTotalBalance() { return totalBalance; } /** * @param totalBalance the totalBalance to set */ public void setTotalBalance(Long totalBalance) { this.totalBalance = totalBalance; } }
[ "ambikesh.kumar.shukla@hp.com" ]
ambikesh.kumar.shukla@hp.com
d705615df748aadced7e552d8fa40d3575594cb8
26691a40e0fab104ac3e3bdf45eb021179ef7a3a
/src/main/java/animals/model/LandAnimalFamily.java
2346425d4f9f6a385451a64b2ce48b673b4ca2cb
[]
no_license
CodingNagger/CodeRefactoringExample
1852ed547de874340fd3f0cffa127eebea62edd3
48b2568595f029aa1b6c1bd43aeb251398880170
refs/heads/master
2020-06-25T13:37:52.524966
2019-07-22T06:51:18
2019-07-28T18:54:50
199,324,168
1
0
null
null
null
null
UTF-8
Java
false
false
319
java
package animals.model; public enum LandAnimalFamily implements AnimalFamily { SPIDER("Spider"), DOG("Doggo"); private final String description; LandAnimalFamily(String description) { this.description = description; } public String description() { return description; } }
[ "contact@iamnguele.com" ]
contact@iamnguele.com
6e81b65157aa2105bbac347c03298ff775e41089
47023c38bc331215bb87ccc7a5ead7a4c48d9672
/src/main/java/com/yogo/demo/config/WebConfig.java
a08d87d51c2ed2442ef30750b1564a032ee54772
[]
no_license
Bluehu/Angular-backend
29e8a1943ed2d10ff81680d4ab4f0b82560b9289
d8823672663f76797bbf88cefd3084d3dc93dfce
refs/heads/main
2023-01-05T07:54:53.511050
2020-11-03T19:35:53
2020-11-03T19:35:53
309,786,467
1
0
null
null
null
null
UTF-8
Java
false
false
1,369
java
package com.yogo.demo.config; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.CorsRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; @Configuration public class WebConfig { @Bean public WebMvcConfigurer corsConfigurer() { return new WebMvcConfigurer() { @Override //重写父类提供的跨域请求处理的接口 public void addCorsMappings(CorsRegistry registry) { //添加映射路径 registry.addMapping("/**") //放行所有域 .allowedOrigins("*") //允许发送Cookie信息 .allowCredentials(true) //放行请求方式 .allowedMethods("GET","POST", "PUT", "DELETE") //放行所有头部信息 .allowedHeaders("*") //暴露头部信息(因为跨域访问默认不能获取全部头部信息) .exposedHeaders("Header1", "Header2"); } }; } }
[ "191842218@qq.com" ]
191842218@qq.com
3811e83cb7da5acd94ef5c920b3e5762039f6bbe
c3e730d86586b2f7b58dd27a3b494d2c9970f0f0
/ndisconf-server/src/main/java/com/nsb/ndisconf/server/disconf/web/service/role/service/impl/RoleMgrImpl.java
9f5f8c8d7ac5e55605ccc716e50b3cd99fe975d6
[ "Apache-2.0" ]
permissive
Dorae132/ndisconf
0be3f1b86936e20d60d5a35ed52094993b26927c
e6d84e1fbfb0f3d8b610d60cb6ec2e3f02639fba
refs/heads/master
2020-03-22T10:52:40.036660
2018-10-23T03:34:39
2018-10-23T03:34:39
139,933,310
3
0
null
2018-10-23T03:34:40
2018-07-06T04:31:20
Java
UTF-8
Java
false
false
713
java
package com.nsb.ndisconf.server.disconf.web.service.role.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.nsb.ndisconf.server.disconf.web.service.role.bo.Role; import com.nsb.ndisconf.server.disconf.web.service.role.dao.RoleDao; import com.nsb.ndisconf.server.disconf.web.service.role.service.RoleMgr; /** * */ @Service public class RoleMgrImpl implements RoleMgr { @Autowired private RoleDao roleDao; @Override public Role get(Integer roleId) { return roleDao.get(roleId); } @Override public List<Role> findAll() { return roleDao.findAll(); } }
[ "nsb_2017@163.com" ]
nsb_2017@163.com
6a483f2fe931e33e8c5756c89f1b080ffc99abc6
3cd2c8d07025c2e7b937cb489d5e8e5c7222358b
/IES-RI-USA/src/main/java/com/usa/ri/gov/ies/admin/service/AdminService.java
c57d2a5bb87e243101df2d115e2717ebcbd3c6b6
[]
no_license
OmprakashSolanki/IES
fd7fd561b8f3205030731cfa5515ad55c94cecf4
ce815094076ea6a053e28c3aefa50ec38d46e0c6
refs/heads/master
2020-05-14T15:22:11.811829
2019-04-26T06:36:17
2019-04-26T06:36:17
181,852,132
0
0
null
null
null
null
UTF-8
Java
false
false
894
java
package com.usa.ri.gov.ies.admin.service; import java.util.List; import com.usa.ri.gov.ies.admin.model.AppAccount; import com.usa.ri.gov.ies.admin.model.PlanDetails; public interface AdminService { public boolean registerAppAccount(AppAccount accModel); public String checkDuplicateEmail(String email); public List<AppAccount> findAllAccounts(); public boolean updateActiveSw(int accId, String activeSw); public AppAccount findByAccountId(String accId); boolean editAppAccount(AppAccount accModel); public boolean createPlan(PlanDetails planDetails); public String checkDuplicatePlan(String plan); public List<PlanDetails> findAllPlans(); public boolean updatePlanActiveSw(int planId, String activeSw); public PlanDetails findPlanById(int planId); public boolean editPlan(PlanDetails planDetails); public String appAccountLogin(String email, String pwd); }
[ "solanki.omrakash24@gmail.com" ]
solanki.omrakash24@gmail.com
3901c48e5075554e17f63ac59e04c82d0eeff4bf
93fbdd48a14996df8449398f33cfebbe71be1037
/platforms/android/app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r/org/nativescript/MAD2/R.java
f06f701c10cc0aa13f1635d3f47da59deb3fa156
[]
no_license
colmuc/MAD-Assignment-Three
7581ebaa62db4b19bd5db7af95db604de9ab3eb6
706e5b7f06f997ba63338620c220ef2b1d70dbd8
refs/heads/master
2020-04-20T05:23:20.079353
2019-03-06T00:31:38
2019-03-06T00:31:38
null
0
0
null
null
null
null
UTF-8
Java
false
false
846,178
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 org.nativescript.MAD2; 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 int design_bottom_sheet_slide_in=0x7f01000c; public static final int design_bottom_sheet_slide_out=0x7f01000d; public static final int design_snackbar_in=0x7f01000e; public static final int design_snackbar_out=0x7f01000f; } public static final class animator { public static final int design_appbar_state_list_animator=0x7f020000; public static final int design_fab_hide_motion_spec=0x7f020001; public static final int design_fab_show_motion_spec=0x7f020002; public static final int mtrl_btn_state_list_anim=0x7f020003; public static final int mtrl_btn_unelevated_state_list_anim=0x7f020004; public static final int mtrl_chip_state_list_anim=0x7f020005; public static final int mtrl_fab_hide_motion_spec=0x7f020006; public static final int mtrl_fab_show_motion_spec=0x7f020007; public static final int mtrl_fab_transformation_sheet_collapse_spec=0x7f020008; public static final int mtrl_fab_transformation_sheet_expand_spec=0x7f020009; } 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=0x7f030000; /** * 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=0x7f030001; /** * 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=0x7f030002; /** * 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=0x7f030003; /** * 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=0x7f030004; /** * 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=0x7f030005; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f030006; /** * 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=0x7f030007; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f030008; /** * 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=0x7f030009; /** * 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=0x7f03000a; /** * 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=0x7f03000b; /** * 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=0x7f03000c; /** * 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=0x7f03000d; /** * 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=0x7f03000e; /** * 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=0x7f03000f; /** * 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=0x7f030010; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f030011; /** * 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=0x7f030012; /** * 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=0x7f030013; /** * 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=0x7f030014; /** * 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=0x7f030015; /** * 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=0x7f030016; /** * 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=0x7f030017; /** * 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=0x7f030018; /** * 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=0x7f030019; /** * 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=0x7f03001a; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f03001b; /** * 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=0x7f03001c; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f03001d; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f03001e; /** * 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=0x7f03001f; /** * 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=0x7f030020; /** * 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=0x7f030021; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f030022; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int alertDialogCenterButtons=0x7f030023; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f030024; /** * 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=0x7f030025; /** * 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=0x7f030026; /** * 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=0x7f030027; /** * 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=0x7f030028; /** * 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=0x7f030029; /** * 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=0x7f03002a; /** * 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=0x7f03002b; /** * 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=0x7f03002c; /** * 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=0x7f03002d; /** * 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=0x7f03002e; /** * 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=0x7f03002f; /** * 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=0x7f030030; /** * 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=0x7f030031; /** * 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=0x7f030032; /** * 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=0x7f030033; /** * 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=0x7f030034; /** * 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=0x7f030035; /** * 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=0x7f030036; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int behavior_autoHide=0x7f030037; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int behavior_fitToContents=0x7f030038; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int behavior_hideable=0x7f030039; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 behavior_overlapTop=0x7f03003a; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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>auto</td><td>ffffffff</td><td></td></tr> * </table> */ public static final int behavior_peekHeight=0x7f03003b; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int behavior_skipCollapsed=0x7f03003c; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 borderWidth=0x7f03003d; /** * 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=0x7f03003e; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int bottomAppBarStyle=0x7f03003f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int bottomNavigationStyle=0x7f030040; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int bottomSheetDialogTheme=0x7f030041; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int bottomSheetStyle=0x7f030042; /** * <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 boxBackgroundColor=0x7f030043; /** * <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>filled</td><td>1</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>outline</td><td>2</td><td></td></tr> * </table> */ public static final int boxBackgroundMode=0x7f030044; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 boxCollapsedPaddingTop=0x7f030045; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 boxCornerRadiusBottomEnd=0x7f030046; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 boxCornerRadiusBottomStart=0x7f030047; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 boxCornerRadiusTopEnd=0x7f030048; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 boxCornerRadiusTopStart=0x7f030049; /** * <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 boxStrokeColor=0x7f03004a; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 boxStrokeWidth=0x7f03004b; /** * 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=0x7f03004c; /** * 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=0x7f03004d; /** * 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=0x7f03004e; /** * 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=0x7f03004f; /** * 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=0x7f030050; /** * <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=0x7f030051; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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=0x7f030052; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f030053; /** * 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=0x7f030054; /** * 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=0x7f030055; /** * 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=0x7f030056; /** * 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=0x7f030057; /** * Background color for CardView. * <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 cardBackgroundColor=0x7f030058; /** * Corner radius for CardView. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 cardCornerRadius=0x7f030059; /** * Elevation for CardView. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 cardElevation=0x7f03005a; /** * Maximum Elevation for CardView. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 cardMaxElevation=0x7f03005b; /** * Add padding to CardView on v20 and before to prevent intersections between the Card content and rounded corners. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int cardPreventCornerOverlap=0x7f03005c; /** * Add padding in API v21+ as well to have the same measurements with previous versions. * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int cardUseCompatPadding=0x7f03005d; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int cardViewStyle=0x7f03005e; /** * 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=0x7f03005f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int checkedChip=0x7f030060; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int checkedIcon=0x7f030061; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int checkedIconEnabled=0x7f030062; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int checkedIconVisible=0x7f030063; /** * 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=0x7f030064; /** * <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 chipBackgroundColor=0x7f030065; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 chipCornerRadius=0x7f030066; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 chipEndPadding=0x7f030067; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int chipGroupStyle=0x7f030068; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int chipIcon=0x7f030069; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int chipIconEnabled=0x7f03006a; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 chipIconSize=0x7f03006b; /** * <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 chipIconTint=0x7f03006c; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int chipIconVisible=0x7f03006d; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 chipMinHeight=0x7f03006e; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 chipSpacing=0x7f03006f; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 chipSpacingHorizontal=0x7f030070; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 chipSpacingVertical=0x7f030071; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int chipStandaloneStyle=0x7f030072; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 chipStartPadding=0x7f030073; /** * <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 chipStrokeColor=0x7f030074; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 chipStrokeWidth=0x7f030075; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int chipStyle=0x7f030076; /** * 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=0x7f030077; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int closeIconEnabled=0x7f030078; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 closeIconEndPadding=0x7f030079; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 closeIconSize=0x7f03007a; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 closeIconStartPadding=0x7f03007b; /** * <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 closeIconTint=0x7f03007c; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int closeIconVisible=0x7f03007d; /** * 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=0x7f03007e; /** * 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=0x7f03007f; /** * 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=0x7f030080; /** * <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>end</td><td>800005</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> */ public static final int collapsedTitleGravity=0x7f030081; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int collapsedTitleTextAppearance=0x7f030082; /** * 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=0x7f030083; /** * 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=0x7f030084; /** * 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=0x7f030085; /** * 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=0x7f030086; /** * 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=0x7f030087; /** * 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=0x7f030088; /** * 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=0x7f030089; /** * 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=0x7f03008a; /** * 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=0x7f03008b; /** * 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=0x7f03008c; /** * <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 colorSecondary=0x7f03008d; /** * 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=0x7f03008e; /** * 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=0x7f03008f; /** * 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=0x7f030090; /** * 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=0x7f030091; /** * 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=0x7f030092; /** * 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=0x7f030093; /** * 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=0x7f030094; /** * 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=0x7f030095; /** * 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=0x7f030096; /** * Inner padding between the edges of the Card and children of the CardView. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 contentPadding=0x7f030097; /** * Inner padding between the bottom edge of the Card and children of the CardView. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 contentPaddingBottom=0x7f030098; /** * Inner padding between the left edge of the Card and children of the CardView. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 contentPaddingLeft=0x7f030099; /** * Inner padding between the right edge of the Card and children of the CardView. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 contentPaddingRight=0x7f03009a; /** * Inner padding between the top edge of the Card and children of the CardView. * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 contentPaddingTop=0x7f03009b; /** * <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 contentScrim=0x7f03009c; /** * 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=0x7f03009d; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f03009e; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 cornerRadius=0x7f03009f; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int counterEnabled=0x7f0300a0; /** * <p>May be an integer value, such as "<code>100</code>". */ public static final int counterMaxLength=0x7f0300a1; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int counterOverflowTextAppearance=0x7f0300a2; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int counterTextAppearance=0x7f0300a3; /** * 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=0x7f0300a4; /** * 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=0x7f0300a5; /** * 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=0x7f0300a6; /** * 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=0x7f0300a7; /** * 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=0x7f0300a8; /** * 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=0x7f0300a9; /** * 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=0x7f0300aa; /** * 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=0x7f0300ab; /** * 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=0x7f0300ac; /** * 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=0x7f0300ad; /** * 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=0x7f0300ae; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f0300af; /** * 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=0x7f0300b0; /** * 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=0x7f0300b1; /** * 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=0x7f0300b2; /** * 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=0x7f0300b3; /** * 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=0x7f0300b4; /** * 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=0x7f0300b5; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int enforceMaterialTheme=0x7f0300b6; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int enforceTextAppearance=0x7f0300b7; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int errorEnabled=0x7f0300b8; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int errorTextAppearance=0x7f0300b9; /** * 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=0x7f0300ba; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int expanded=0x7f0300bb; /** * <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>end</td><td>800005</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> */ public static final int expandedTitleGravity=0x7f0300bc; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 expandedTitleMargin=0x7f0300bd; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 expandedTitleMarginBottom=0x7f0300be; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 expandedTitleMarginEnd=0x7f0300bf; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 expandedTitleMarginStart=0x7f0300c0; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 expandedTitleMarginTop=0x7f0300c1; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int expandedTitleTextAppearance=0x7f0300c2; /** * <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>center</td><td>0</td><td></td></tr> * <tr><td>end</td><td>1</td><td></td></tr> * </table> */ public static final int fabAlignmentMode=0x7f0300c3; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 fabCradleMargin=0x7f0300c4; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 fabCradleRoundedCornerRadius=0x7f0300c5; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 fabCradleVerticalOffset=0x7f0300c6; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 fabCustomSize=0x7f0300c7; /** * <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>ffffffff</td><td></td></tr> * <tr><td>mini</td><td>1</td><td></td></tr> * <tr><td>normal</td><td>0</td><td></td></tr> * </table> */ public static final int fabSize=0x7f0300c8; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int fastScrollEnabled=0x7f0300c9; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int fastScrollHorizontalThumbDrawable=0x7f0300ca; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int fastScrollHorizontalTrackDrawable=0x7f0300cb; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int fastScrollVerticalThumbDrawable=0x7f0300cc; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int fastScrollVerticalTrackDrawable=0x7f0300cd; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int fillViewport=0x7f0300ce; /** * 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=0x7f0300cf; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>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 string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * <p>May be an integer value, such as "<code>100</code>". * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</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>". * <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. */ public static final int floatingActionButtonStyle=0x7f0300d0; /** * 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=0x7f0300d1; /** * 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=0x7f0300d2; /** * 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=0x7f0300d3; /** * 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=0x7f0300d4; /** * 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=0x7f0300d5; /** * 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=0x7f0300d6; /** * 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=0x7f0300d7; /** * 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=0x7f0300d8; /** * 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=0x7f0300d9; /** * 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=0x7f0300da; /** * 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=0x7f0300db; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int foregroundInsidePadding=0x7f0300dc; /** * 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=0x7f0300dd; /** * 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=0x7f0300de; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int headerLayout=0x7f0300df; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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=0x7f0300e0; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int helperText=0x7f0300e1; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int helperTextEnabled=0x7f0300e2; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int helperTextTextAppearance=0x7f0300e3; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int hideMotionSpec=0x7f0300e4; /** * 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=0x7f0300e5; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int hideOnScroll=0x7f0300e6; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int hintAnimationEnabled=0x7f0300e7; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int hintEnabled=0x7f0300e8; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int hintTextAppearance=0x7f0300e9; /** * 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=0x7f0300ea; /** * 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=0x7f0300eb; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 hoveredFocusedTranslationZ=0x7f0300ec; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f0300ed; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 iconEndPadding=0x7f0300ee; /** * <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>start</td><td>1</td><td></td></tr> * <tr><td>textStart</td><td>2</td><td></td></tr> * </table> */ public static final int iconGravity=0x7f0300ef; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 iconPadding=0x7f0300f0; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 iconSize=0x7f0300f1; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 iconStartPadding=0x7f0300f2; /** * 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=0x7f0300f3; /** * 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=0x7f0300f4; /** * 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=0x7f0300f5; /** * 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=0x7f0300f6; /** * 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=0x7f0300f7; /** * 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=0x7f0300f8; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>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 insetForeground=0x7f0300f9; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int isLightTheme=0x7f0300fa; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int itemBackground=0x7f0300fb; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 itemHorizontalPadding=0x7f0300fc; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int itemHorizontalTranslationEnabled=0x7f0300fd; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 itemIconPadding=0x7f0300fe; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 itemIconSize=0x7f0300ff; /** * <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 itemIconTint=0x7f030100; /** * 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=0x7f030101; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 itemSpacing=0x7f030102; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int itemTextAppearance=0x7f030103; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int itemTextAppearanceActive=0x7f030104; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int itemTextAppearanceInactive=0x7f030105; /** * <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 itemTextColor=0x7f030106; /** * 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=0x7f030107; /** * <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>ffffffff</td><td></td></tr> * <tr><td>labeled</td><td>1</td><td></td></tr> * <tr><td>selected</td><td>0</td><td></td></tr> * <tr><td>unlabeled</td><td>2</td><td></td></tr> * </table> */ public static final int labelVisibilityMode=0x7f030108; /** * 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=0x7f030109; /** * 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=0x7f03010a; /** * Class name of the Layout Manager to be used. * <p/> * The class must extandroidx.recyclerview.widget.RecyclerViewView$LayoutManager * and have either a default constructor or constructor with the signature * (android.content.Context, android.util.AttributeSet, int, int). * <p/> * If the name starts with a '.', application package is prefixed. * Else, if the name contains a '.', the classname is assumed to be a full class name. * Else, the recycler view package naandroidx.appcompat.widgetdget) is prefixed. * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int layoutManager=0x7f03010b; /** * 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=0x7f03010c; /** * 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=0x7f03010d; /** * 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=0x7f03010e; /** * <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></td></tr> * <tr><td>parallax</td><td>2</td><td></td></tr> * <tr><td>pin</td><td>1</td><td></td></tr> * </table> */ public static final int layout_collapseMode=0x7f03010f; /** * <p>May be a floating point value, such as "<code>1.2</code>". */ public static final int layout_collapseParallaxMultiplier=0x7f030110; /** * 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=0x7f030111; /** * 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=0x7f030112; /** * 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=0x7f030113; /** * <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>enterAlways</td><td>4</td><td></td></tr> * <tr><td>enterAlwaysCollapsed</td><td>8</td><td></td></tr> * <tr><td>exitUntilCollapsed</td><td>2</td><td></td></tr> * <tr><td>scroll</td><td>1</td><td></td></tr> * <tr><td>snap</td><td>10</td><td></td></tr> * <tr><td>snapMargins</td><td>20</td><td></td></tr> * </table> */ public static final int layout_scrollFlags=0x7f030114; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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_scrollInterpolator=0x7f030115; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int liftOnScroll=0x7f030116; /** * 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=0x7f030117; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 lineSpacing=0x7f030118; /** * 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=0x7f030119; /** * 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=0x7f03011a; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f03011b; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f03011c; /** * 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=0x7f03011d; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f03011e; /** * 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=0x7f03011f; /** * 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=0x7f030120; /** * 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=0x7f030121; /** * 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=0x7f030122; /** * 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=0x7f030123; /** * 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=0x7f030124; /** * 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=0x7f030125; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int materialButtonStyle=0x7f030126; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int materialCardViewStyle=0x7f030127; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 maxActionInlineWidth=0x7f030128; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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=0x7f030129; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 maxImageSize=0x7f03012a; /** * 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=0x7f03012b; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int menu=0x7f03012c; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f03012d; /** * 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=0x7f03012e; /** * 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=0x7f03012f; /** * 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=0x7f030130; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int navigationViewStyle=0x7f030131; /** * 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=0x7f030132; /** * 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=0x7f030133; /** * 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=0x7f030134; /** * 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=0x7f030135; /** * 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=0x7f030136; /** * 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=0x7f030137; /** * 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=0x7f030138; /** * 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=0x7f030139; /** * 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=0x7f03013a; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int passwordToggleContentDescription=0x7f03013b; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int passwordToggleDrawable=0x7f03013c; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int passwordToggleEnabled=0x7f03013d; /** * <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 passwordToggleTint=0x7f03013e; /** * <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>multiply</td><td>e</td><td></td></tr> * <tr><td>screen</td><td>f</td><td></td></tr> * <tr><td>src_atop</td><td>9</td><td></td></tr> * <tr><td>src_in</td><td>5</td><td></td></tr> * <tr><td>src_over</td><td>3</td><td></td></tr> * </table> */ public static final int passwordToggleTintMode=0x7f03013f; /** * 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=0x7f030140; /** * 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=0x7f030141; /** * 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=0x7f030142; /** * 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=0x7f030143; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 pressedTranslationZ=0x7f030144; /** * 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=0x7f030145; /** * 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=0x7f030146; /** * 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=0x7f030147; /** * 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=0x7f030148; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int radScrollViewStyle=0x7f030149; /** * 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=0x7f03014a; /** * 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=0x7f03014b; /** * 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=0x7f03014c; /** * 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=0x7f03014d; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int reverseLayout=0x7f03014e; /** * <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 rippleColor=0x7f03014f; /** * <p>May be an integer value, such as "<code>100</code>". */ public static final int scrimAnimationDuration=0x7f030150; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>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 scrimBackground=0x7f030151; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 scrimVisibleHeightTrigger=0x7f030152; /** * <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>both</td><td>3</td><td></td></tr> * <tr><td>horizontal</td><td>2</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>vertical</td><td>1</td><td></td></tr> * </table> */ public static final int scrollMode=0x7f030153; /** * 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=0x7f030154; /** * 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=0x7f030155; /** * 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=0x7f030156; /** * 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=0x7f030157; /** * 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=0x7f030158; /** * 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=0x7f030159; /** * 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=0x7f03015a; /** * 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=0x7f03015b; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int showMotionSpec=0x7f03015c; /** * 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=0x7f03015d; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int showTitle=0x7f03015e; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f03015f; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int singleLine=0x7f030160; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int singleSelection=0x7f030161; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int snackbarButtonStyle=0x7f030162; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int snackbarStyle=0x7f030163; /** * <p>May be an integer value, such as "<code>100</code>". */ public static final int spanCount=0x7f030164; /** * 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=0x7f030165; /** * 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=0x7f030166; /** * 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=0x7f030167; /** * 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=0x7f030168; /** * 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=0x7f030169; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int stackFromEnd=0x7f03016a; /** * 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=0x7f03016b; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int state_collapsed=0x7f03016c; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int state_collapsible=0x7f03016d; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int state_liftable=0x7f03016e; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int state_lifted=0x7f03016f; /** * 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=0x7f030170; /** * <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 statusBarScrim=0x7f030171; /** * <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 strokeColor=0x7f030172; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 strokeWidth=0x7f030173; /** * 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=0x7f030174; /** * 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=0x7f030175; /** * 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=0x7f030176; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f030177; /** * 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=0x7f030178; /** * 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=0x7f030179; /** * 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=0x7f03017a; /** * 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=0x7f03017b; /** * 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=0x7f03017c; /** * 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=0x7f03017d; /** * 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=0x7f03017e; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int tabBackground=0x7f03017f; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 tabContentStart=0x7f030180; /** * <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>center</td><td>1</td><td></td></tr> * <tr><td>fill</td><td>0</td><td></td></tr> * </table> */ public static final int tabGravity=0x7f030181; /** * <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 tabIconTint=0x7f030182; /** * <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></td></tr> * <tr><td>multiply</td><td>e</td><td></td></tr> * <tr><td>screen</td><td>f</td><td></td></tr> * <tr><td>src_atop</td><td>9</td><td></td></tr> * <tr><td>src_in</td><td>5</td><td></td></tr> * <tr><td>src_over</td><td>3</td><td></td></tr> * </table> */ public static final int tabIconTintMode=0x7f030183; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int tabIndicator=0x7f030184; /** * <p>May be an integer value, such as "<code>100</code>". */ public static final int tabIndicatorAnimationDuration=0x7f030185; /** * <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 tabIndicatorColor=0x7f030186; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int tabIndicatorFullWidth=0x7f030187; /** * <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>0</td><td></td></tr> * <tr><td>center</td><td>1</td><td></td></tr> * <tr><td>stretch</td><td>3</td><td></td></tr> * <tr><td>top</td><td>2</td><td></td></tr> * </table> */ public static final int tabIndicatorGravity=0x7f030188; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 tabIndicatorHeight=0x7f030189; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int tabInlineLabel=0x7f03018a; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 tabMaxWidth=0x7f03018b; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 tabMinWidth=0x7f03018c; /** * <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>fixed</td><td>1</td><td></td></tr> * <tr><td>scrollable</td><td>0</td><td></td></tr> * </table> */ public static final int tabMode=0x7f03018d; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 tabPadding=0x7f03018e; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 tabPaddingBottom=0x7f03018f; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 tabPaddingEnd=0x7f030190; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 tabPaddingStart=0x7f030191; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 tabPaddingTop=0x7f030192; /** * <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 tabRippleColor=0x7f030193; /** * <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 tabSelectedTextColor=0x7f030194; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int tabStyle=0x7f030195; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int tabTextAppearance=0x7f030196; /** * <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 tabTextColor=0x7f030197; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int tabUnboundedRipple=0x7f030198; /** * 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=0x7f030199; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceBody1=0x7f03019a; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceBody2=0x7f03019b; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceButton=0x7f03019c; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceCaption=0x7f03019d; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceHeadline1=0x7f03019e; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceHeadline2=0x7f03019f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceHeadline3=0x7f0301a0; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceHeadline4=0x7f0301a1; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceHeadline5=0x7f0301a2; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceHeadline6=0x7f0301a3; /** * 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=0x7f0301a4; /** * 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=0x7f0301a5; /** * 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=0x7f0301a6; /** * 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=0x7f0301a7; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceOverline=0x7f0301a8; /** * 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=0x7f0301a9; /** * 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=0x7f0301aa; /** * 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=0x7f0301ab; /** * 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=0x7f0301ac; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceSubtitle1=0x7f0301ad; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceSubtitle2=0x7f0301ae; /** * 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=0x7f0301af; /** * 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=0x7f0301b0; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 textEndPadding=0x7f0301b1; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textInputStyle=0x7f0301b2; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 textStartPadding=0x7f0301b3; /** * 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=0x7f0301b4; /** * 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=0x7f0301b5; /** * 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=0x7f0301b6; /** * 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=0x7f0301b7; /** * 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=0x7f0301b8; /** * 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=0x7f0301b9; /** * 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=0x7f0301ba; /** * 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=0x7f0301bb; /** * 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=0x7f0301bc; /** * 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=0x7f0301bd; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int title=0x7f0301be; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int titleEnabled=0x7f0301bf; /** * 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=0x7f0301c0; /** * 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=0x7f0301c1; /** * 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=0x7f0301c2; /** * 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=0x7f0301c3; /** * 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=0x7f0301c4; /** * {@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=0x7f0301c5; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</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=0x7f0301c6; /** * 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=0x7f0301c7; /** * 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=0x7f0301c8; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int toolbarId=0x7f0301c9; /** * 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=0x7f0301ca; /** * 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=0x7f0301cb; /** * 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=0x7f0301cc; /** * 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=0x7f0301cd; /** * 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=0x7f0301ce; /** * 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=0x7f0301cf; /** * 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=0x7f0301d0; /** * 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=0x7f0301d1; /** * 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=0x7f0301d2; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int useCompatPadding=0x7f0301d3; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int viewInflaterClass=0x7f0301d4; /** * 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=0x7f0301d5; /** * 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=0x7f0301d6; /** * 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=0x7f0301d7; /** * 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=0x7f0301d8; /** * 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=0x7f0301d9; /** * 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=0x7f0301da; /** * 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=0x7f0301db; /** * 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=0x7f0301dc; /** * 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=0x7f0301dd; /** * 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=0x7f0301de; /** * 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=0x7f0301df; } public static final class bool { public static final int abc_action_bar_embed_tabs=0x7f040000; public static final int abc_allow_stacked_button_bar=0x7f040001; public static final int abc_config_actionMenuItemAllCaps=0x7f040002; public static final int mtrl_btn_textappearance_all_caps=0x7f040003; } public static final class color { public static final int abc_background_cache_hint_selector_material_dark=0x7f050000; public static final int abc_background_cache_hint_selector_material_light=0x7f050001; public static final int abc_btn_colored_borderless_text_material=0x7f050002; public static final int abc_btn_colored_text_material=0x7f050003; public static final int abc_color_highlight_material=0x7f050004; public static final int abc_hint_foreground_material_dark=0x7f050005; public static final int abc_hint_foreground_material_light=0x7f050006; public static final int abc_input_method_navigation_guard=0x7f050007; public static final int abc_primary_text_disable_only_material_dark=0x7f050008; public static final int abc_primary_text_disable_only_material_light=0x7f050009; public static final int abc_primary_text_material_dark=0x7f05000a; public static final int abc_primary_text_material_light=0x7f05000b; public static final int abc_search_url_text=0x7f05000c; public static final int abc_search_url_text_normal=0x7f05000d; public static final int abc_search_url_text_pressed=0x7f05000e; public static final int abc_search_url_text_selected=0x7f05000f; public static final int abc_secondary_text_material_dark=0x7f050010; public static final int abc_secondary_text_material_light=0x7f050011; public static final int abc_tint_btn_checkable=0x7f050012; public static final int abc_tint_default=0x7f050013; public static final int abc_tint_edittext=0x7f050014; public static final int abc_tint_seek_thumb=0x7f050015; public static final int abc_tint_spinner=0x7f050016; public static final int abc_tint_switch_track=0x7f050017; public static final int accent_material_dark=0x7f050018; public static final int accent_material_light=0x7f050019; public static final int background_floating_material_dark=0x7f05001a; public static final int background_floating_material_light=0x7f05001b; public static final int background_material_dark=0x7f05001c; public static final int background_material_light=0x7f05001d; public static final int bright_foreground_disabled_material_dark=0x7f05001e; public static final int bright_foreground_disabled_material_light=0x7f05001f; public static final int bright_foreground_inverse_material_dark=0x7f050020; public static final int bright_foreground_inverse_material_light=0x7f050021; public static final int bright_foreground_material_dark=0x7f050022; public static final int bright_foreground_material_light=0x7f050023; public static final int button_material_dark=0x7f050024; public static final int button_material_light=0x7f050025; public static final int cardview_dark_background=0x7f050026; public static final int cardview_light_background=0x7f050027; public static final int cardview_shadow_end_color=0x7f050028; public static final int cardview_shadow_start_color=0x7f050029; public static final int design_bottom_navigation_shadow_color=0x7f05002a; public static final int design_default_color_primary=0x7f05002b; public static final int design_default_color_primary_dark=0x7f05002c; public static final int design_error=0x7f05002d; public static final int design_fab_shadow_end_color=0x7f05002e; public static final int design_fab_shadow_mid_color=0x7f05002f; public static final int design_fab_shadow_start_color=0x7f050030; public static final int design_fab_stroke_end_inner_color=0x7f050031; public static final int design_fab_stroke_end_outer_color=0x7f050032; public static final int design_fab_stroke_top_inner_color=0x7f050033; public static final int design_fab_stroke_top_outer_color=0x7f050034; public static final int design_snackbar_background_color=0x7f050035; public static final int design_tint_password_toggle=0x7f050036; public static final int dim_foreground_disabled_material_dark=0x7f050037; public static final int dim_foreground_disabled_material_light=0x7f050038; public static final int dim_foreground_material_dark=0x7f050039; public static final int dim_foreground_material_light=0x7f05003a; public static final int error_color_material_dark=0x7f05003b; public static final int error_color_material_light=0x7f05003c; public static final int foreground_material_dark=0x7f05003d; public static final int foreground_material_light=0x7f05003e; public static final int highlighted_text_material_dark=0x7f05003f; public static final int highlighted_text_material_light=0x7f050040; public static final int material_blue_grey_800=0x7f050041; public static final int material_blue_grey_900=0x7f050042; public static final int material_blue_grey_950=0x7f050043; public static final int material_deep_teal_200=0x7f050044; public static final int material_deep_teal_500=0x7f050045; public static final int material_grey_100=0x7f050046; public static final int material_grey_300=0x7f050047; public static final int material_grey_50=0x7f050048; public static final int material_grey_600=0x7f050049; public static final int material_grey_800=0x7f05004a; public static final int material_grey_850=0x7f05004b; public static final int material_grey_900=0x7f05004c; public static final int mtrl_bottom_nav_colored_item_tint=0x7f05004d; public static final int mtrl_bottom_nav_item_tint=0x7f05004e; public static final int mtrl_btn_bg_color_disabled=0x7f05004f; public static final int mtrl_btn_bg_color_selector=0x7f050050; public static final int mtrl_btn_ripple_color=0x7f050051; public static final int mtrl_btn_stroke_color_selector=0x7f050052; public static final int mtrl_btn_text_btn_ripple_color=0x7f050053; public static final int mtrl_btn_text_color_disabled=0x7f050054; public static final int mtrl_btn_text_color_selector=0x7f050055; public static final int mtrl_btn_transparent_bg_color=0x7f050056; public static final int mtrl_chip_background_color=0x7f050057; public static final int mtrl_chip_close_icon_tint=0x7f050058; public static final int mtrl_chip_ripple_color=0x7f050059; public static final int mtrl_chip_text_color=0x7f05005a; public static final int mtrl_fab_ripple_color=0x7f05005b; public static final int mtrl_scrim_color=0x7f05005c; public static final int mtrl_tabs_colored_ripple_color=0x7f05005d; public static final int mtrl_tabs_icon_color_selector=0x7f05005e; public static final int mtrl_tabs_icon_color_selector_colored=0x7f05005f; public static final int mtrl_tabs_legacy_text_color_selector=0x7f050060; public static final int mtrl_tabs_ripple_color=0x7f050061; public static final int mtrl_text_btn_text_color_selector=0x7f050062; public static final int mtrl_textinput_default_box_stroke_color=0x7f050063; public static final int mtrl_textinput_disabled_color=0x7f050064; public static final int mtrl_textinput_filled_box_default_background_color=0x7f050065; public static final int mtrl_textinput_hovered_box_stroke_color=0x7f050066; public static final int nativescript_blue=0x7f050067; public static final int notification_action_color_filter=0x7f050068; public static final int notification_icon_bg_color=0x7f050069; public static final int notification_material_background_media_default_color=0x7f05006a; public static final int ns_accent=0x7f05006b; public static final int ns_blue=0x7f05006c; public static final int ns_primary=0x7f05006d; public static final int ns_primaryDark=0x7f05006e; public static final int primary_dark_material_dark=0x7f05006f; public static final int primary_dark_material_light=0x7f050070; public static final int primary_material_dark=0x7f050071; public static final int primary_material_light=0x7f050072; public static final int primary_text_default_material_dark=0x7f050073; public static final int primary_text_default_material_light=0x7f050074; public static final int primary_text_disabled_material_dark=0x7f050075; public static final int primary_text_disabled_material_light=0x7f050076; public static final int ripple_material_dark=0x7f050077; public static final int ripple_material_light=0x7f050078; public static final int secondary_text_default_material_dark=0x7f050079; public static final int secondary_text_default_material_light=0x7f05007a; public static final int secondary_text_disabled_material_dark=0x7f05007b; public static final int secondary_text_disabled_material_light=0x7f05007c; public static final int switch_thumb_disabled_material_dark=0x7f05007d; public static final int switch_thumb_disabled_material_light=0x7f05007e; public static final int switch_thumb_material_dark=0x7f05007f; public static final int switch_thumb_material_light=0x7f050080; public static final int switch_thumb_normal_material_dark=0x7f050081; public static final int switch_thumb_normal_material_light=0x7f050082; public static final int tooltip_background_dark=0x7f050083; public static final int tooltip_background_light=0x7f050084; } public static final class dimen { public static final int abc_action_bar_content_inset_material=0x7f060000; public static final int abc_action_bar_content_inset_with_nav=0x7f060001; public static final int abc_action_bar_default_height_material=0x7f060002; public static final int abc_action_bar_default_padding_end_material=0x7f060003; public static final int abc_action_bar_default_padding_start_material=0x7f060004; public static final int abc_action_bar_elevation_material=0x7f060005; public static final int abc_action_bar_icon_vertical_padding_material=0x7f060006; public static final int abc_action_bar_overflow_padding_end_material=0x7f060007; public static final int abc_action_bar_overflow_padding_start_material=0x7f060008; public static final int abc_action_bar_stacked_max_height=0x7f060009; public static final int abc_action_bar_stacked_tab_max_width=0x7f06000a; public static final int abc_action_bar_subtitle_bottom_margin_material=0x7f06000b; public static final int abc_action_bar_subtitle_top_margin_material=0x7f06000c; public static final int abc_action_button_min_height_material=0x7f06000d; public static final int abc_action_button_min_width_material=0x7f06000e; public static final int abc_action_button_min_width_overflow_material=0x7f06000f; public static final int abc_alert_dialog_button_bar_height=0x7f060010; public static final int abc_alert_dialog_button_dimen=0x7f060011; public static final int abc_button_inset_horizontal_material=0x7f060012; public static final int abc_button_inset_vertical_material=0x7f060013; public static final int abc_button_padding_horizontal_material=0x7f060014; public static final int abc_button_padding_vertical_material=0x7f060015; public static final int abc_cascading_menus_min_smallest_width=0x7f060016; public static final int abc_config_prefDialogWidth=0x7f060017; public static final int abc_control_corner_material=0x7f060018; public static final int abc_control_inset_material=0x7f060019; public static final int abc_control_padding_material=0x7f06001a; public static final int abc_dialog_corner_radius_material=0x7f06001b; public static final int abc_dialog_fixed_height_major=0x7f06001c; public static final int abc_dialog_fixed_height_minor=0x7f06001d; public static final int abc_dialog_fixed_width_major=0x7f06001e; public static final int abc_dialog_fixed_width_minor=0x7f06001f; public static final int abc_dialog_list_padding_bottom_no_buttons=0x7f060020; public static final int abc_dialog_list_padding_top_no_title=0x7f060021; public static final int abc_dialog_min_width_major=0x7f060022; public static final int abc_dialog_min_width_minor=0x7f060023; public static final int abc_dialog_padding_material=0x7f060024; public static final int abc_dialog_padding_top_material=0x7f060025; public static final int abc_dialog_title_divider_material=0x7f060026; public static final int abc_disabled_alpha_material_dark=0x7f060027; public static final int abc_disabled_alpha_material_light=0x7f060028; public static final int abc_dropdownitem_icon_width=0x7f060029; public static final int abc_dropdownitem_text_padding_left=0x7f06002a; public static final int abc_dropdownitem_text_padding_right=0x7f06002b; public static final int abc_edit_text_inset_bottom_material=0x7f06002c; public static final int abc_edit_text_inset_horizontal_material=0x7f06002d; public static final int abc_edit_text_inset_top_material=0x7f06002e; public static final int abc_floating_window_z=0x7f06002f; public static final int abc_list_item_padding_horizontal_material=0x7f060030; public static final int abc_panel_menu_list_width=0x7f060031; public static final int abc_progress_bar_height_material=0x7f060032; public static final int abc_search_view_preferred_height=0x7f060033; public static final int abc_search_view_preferred_width=0x7f060034; public static final int abc_seekbar_track_background_height_material=0x7f060035; public static final int abc_seekbar_track_progress_height_material=0x7f060036; public static final int abc_select_dialog_padding_start_material=0x7f060037; public static final int abc_switch_padding=0x7f060038; public static final int abc_text_size_body_1_material=0x7f060039; public static final int abc_text_size_body_2_material=0x7f06003a; public static final int abc_text_size_button_material=0x7f06003b; public static final int abc_text_size_caption_material=0x7f06003c; public static final int abc_text_size_display_1_material=0x7f06003d; public static final int abc_text_size_display_2_material=0x7f06003e; public static final int abc_text_size_display_3_material=0x7f06003f; public static final int abc_text_size_display_4_material=0x7f060040; public static final int abc_text_size_headline_material=0x7f060041; public static final int abc_text_size_large_material=0x7f060042; public static final int abc_text_size_medium_material=0x7f060043; public static final int abc_text_size_menu_header_material=0x7f060044; public static final int abc_text_size_menu_material=0x7f060045; public static final int abc_text_size_small_material=0x7f060046; public static final int abc_text_size_subhead_material=0x7f060047; public static final int abc_text_size_subtitle_material_toolbar=0x7f060048; public static final int abc_text_size_title_material=0x7f060049; public static final int abc_text_size_title_material_toolbar=0x7f06004a; public static final int cardview_compat_inset_shadow=0x7f06004b; public static final int cardview_default_elevation=0x7f06004c; public static final int cardview_default_radius=0x7f06004d; public static final int compat_button_inset_horizontal_material=0x7f06004e; public static final int compat_button_inset_vertical_material=0x7f06004f; public static final int compat_button_padding_horizontal_material=0x7f060050; public static final int compat_button_padding_vertical_material=0x7f060051; public static final int compat_control_corner_material=0x7f060052; public static final int compat_notification_large_icon_max_height=0x7f060053; public static final int compat_notification_large_icon_max_width=0x7f060054; public static final int design_appbar_elevation=0x7f060055; public static final int design_bottom_navigation_active_item_max_width=0x7f060056; public static final int design_bottom_navigation_active_item_min_width=0x7f060057; public static final int design_bottom_navigation_active_text_size=0x7f060058; public static final int design_bottom_navigation_elevation=0x7f060059; public static final int design_bottom_navigation_height=0x7f06005a; public static final int design_bottom_navigation_icon_size=0x7f06005b; public static final int design_bottom_navigation_item_max_width=0x7f06005c; public static final int design_bottom_navigation_item_min_width=0x7f06005d; public static final int design_bottom_navigation_margin=0x7f06005e; public static final int design_bottom_navigation_shadow_height=0x7f06005f; public static final int design_bottom_navigation_text_size=0x7f060060; public static final int design_bottom_sheet_modal_elevation=0x7f060061; public static final int design_bottom_sheet_peek_height_min=0x7f060062; public static final int design_fab_border_width=0x7f060063; public static final int design_fab_elevation=0x7f060064; public static final int design_fab_image_size=0x7f060065; public static final int design_fab_size_mini=0x7f060066; public static final int design_fab_size_normal=0x7f060067; public static final int design_fab_translation_z_hovered_focused=0x7f060068; public static final int design_fab_translation_z_pressed=0x7f060069; public static final int design_navigation_elevation=0x7f06006a; public static final int design_navigation_icon_padding=0x7f06006b; public static final int design_navigation_icon_size=0x7f06006c; public static final int design_navigation_item_horizontal_padding=0x7f06006d; public static final int design_navigation_item_icon_padding=0x7f06006e; public static final int design_navigation_max_width=0x7f06006f; public static final int design_navigation_padding_bottom=0x7f060070; public static final int design_navigation_separator_vertical_padding=0x7f060071; public static final int design_snackbar_action_inline_max_width=0x7f060072; public static final int design_snackbar_background_corner_radius=0x7f060073; public static final int design_snackbar_elevation=0x7f060074; public static final int design_snackbar_extra_spacing_horizontal=0x7f060075; public static final int design_snackbar_max_width=0x7f060076; public static final int design_snackbar_min_width=0x7f060077; public static final int design_snackbar_padding_horizontal=0x7f060078; public static final int design_snackbar_padding_vertical=0x7f060079; public static final int design_snackbar_padding_vertical_2lines=0x7f06007a; public static final int design_snackbar_text_size=0x7f06007b; public static final int design_tab_max_width=0x7f06007c; public static final int design_tab_scrollable_min_width=0x7f06007d; public static final int design_tab_text_size=0x7f06007e; public static final int design_tab_text_size_2line=0x7f06007f; public static final int design_textinput_caption_translate_y=0x7f060080; public static final int disabled_alpha_material_dark=0x7f060081; public static final int disabled_alpha_material_light=0x7f060082; public static final int fastscroll_default_thickness=0x7f060083; public static final int fastscroll_margin=0x7f060084; public static final int fastscroll_minimum_range=0x7f060085; public static final int highlight_alpha_material_colored=0x7f060086; public static final int highlight_alpha_material_dark=0x7f060087; public static final int highlight_alpha_material_light=0x7f060088; public static final int hint_alpha_material_dark=0x7f060089; public static final int hint_alpha_material_light=0x7f06008a; public static final int hint_pressed_alpha_material_dark=0x7f06008b; public static final int hint_pressed_alpha_material_light=0x7f06008c; public static final int item_touch_helper_max_drag_scroll_per_frame=0x7f06008d; public static final int item_touch_helper_swipe_escape_max_velocity=0x7f06008e; public static final int item_touch_helper_swipe_escape_velocity=0x7f06008f; public static final int mtrl_bottomappbar_fabOffsetEndMode=0x7f060090; public static final int mtrl_bottomappbar_fab_cradle_margin=0x7f060091; public static final int mtrl_bottomappbar_fab_cradle_rounded_corner_radius=0x7f060092; public static final int mtrl_bottomappbar_fab_cradle_vertical_offset=0x7f060093; public static final int mtrl_bottomappbar_height=0x7f060094; public static final int mtrl_btn_corner_radius=0x7f060095; public static final int mtrl_btn_dialog_btn_min_width=0x7f060096; public static final int mtrl_btn_disabled_elevation=0x7f060097; public static final int mtrl_btn_disabled_z=0x7f060098; public static final int mtrl_btn_elevation=0x7f060099; public static final int mtrl_btn_focused_z=0x7f06009a; public static final int mtrl_btn_hovered_z=0x7f06009b; public static final int mtrl_btn_icon_btn_padding_left=0x7f06009c; public static final int mtrl_btn_icon_padding=0x7f06009d; public static final int mtrl_btn_inset=0x7f06009e; public static final int mtrl_btn_letter_spacing=0x7f06009f; public static final int mtrl_btn_padding_bottom=0x7f0600a0; public static final int mtrl_btn_padding_left=0x7f0600a1; public static final int mtrl_btn_padding_right=0x7f0600a2; public static final int mtrl_btn_padding_top=0x7f0600a3; public static final int mtrl_btn_pressed_z=0x7f0600a4; public static final int mtrl_btn_stroke_size=0x7f0600a5; public static final int mtrl_btn_text_btn_icon_padding=0x7f0600a6; public static final int mtrl_btn_text_btn_padding_left=0x7f0600a7; public static final int mtrl_btn_text_btn_padding_right=0x7f0600a8; public static final int mtrl_btn_text_size=0x7f0600a9; public static final int mtrl_btn_z=0x7f0600aa; public static final int mtrl_card_elevation=0x7f0600ab; public static final int mtrl_card_spacing=0x7f0600ac; public static final int mtrl_chip_pressed_translation_z=0x7f0600ad; public static final int mtrl_chip_text_size=0x7f0600ae; public static final int mtrl_fab_elevation=0x7f0600af; public static final int mtrl_fab_translation_z_hovered_focused=0x7f0600b0; public static final int mtrl_fab_translation_z_pressed=0x7f0600b1; public static final int mtrl_navigation_elevation=0x7f0600b2; public static final int mtrl_navigation_item_horizontal_padding=0x7f0600b3; public static final int mtrl_navigation_item_icon_padding=0x7f0600b4; public static final int mtrl_snackbar_background_corner_radius=0x7f0600b5; public static final int mtrl_snackbar_margin=0x7f0600b6; public static final int mtrl_textinput_box_bottom_offset=0x7f0600b7; public static final int mtrl_textinput_box_corner_radius_medium=0x7f0600b8; public static final int mtrl_textinput_box_corner_radius_small=0x7f0600b9; public static final int mtrl_textinput_box_label_cutout_padding=0x7f0600ba; public static final int mtrl_textinput_box_padding_end=0x7f0600bb; public static final int mtrl_textinput_box_stroke_width_default=0x7f0600bc; public static final int mtrl_textinput_box_stroke_width_focused=0x7f0600bd; public static final int mtrl_textinput_outline_box_expanded_padding=0x7f0600be; public static final int mtrl_toolbar_default_height=0x7f0600bf; public static final int notification_action_icon_size=0x7f0600c0; public static final int notification_action_text_size=0x7f0600c1; public static final int notification_big_circle_margin=0x7f0600c2; public static final int notification_content_margin_start=0x7f0600c3; public static final int notification_large_icon_height=0x7f0600c4; public static final int notification_large_icon_width=0x7f0600c5; public static final int notification_main_column_padding_top=0x7f0600c6; public static final int notification_media_narrow_margin=0x7f0600c7; public static final int notification_right_icon_size=0x7f0600c8; public static final int notification_right_side_padding_top=0x7f0600c9; public static final int notification_small_icon_background_padding=0x7f0600ca; public static final int notification_small_icon_size_as_large=0x7f0600cb; public static final int notification_subtext_size=0x7f0600cc; public static final int notification_top_pad=0x7f0600cd; public static final int notification_top_pad_large_text=0x7f0600ce; public static final int subtitle_corner_radius=0x7f0600cf; public static final int subtitle_outline_width=0x7f0600d0; public static final int subtitle_shadow_offset=0x7f0600d1; public static final int subtitle_shadow_radius=0x7f0600d2; public static final int tooltip_corner_radius=0x7f0600d3; public static final int tooltip_horizontal_padding=0x7f0600d4; public static final int tooltip_margin=0x7f0600d5; public static final int tooltip_precise_anchor_extra_offset=0x7f0600d6; public static final int tooltip_precise_anchor_threshold=0x7f0600d7; public static final int tooltip_vertical_padding=0x7f0600d8; public static final int tooltip_y_offset_non_touch=0x7f0600d9; public static final int tooltip_y_offset_touch=0x7f0600da; } public static final class drawable { public static final int abc_ab_share_pack_mtrl_alpha=0x7f070006; public static final int abc_action_bar_item_background_material=0x7f070007; public static final int abc_btn_borderless_material=0x7f070008; public static final int abc_btn_check_material=0x7f070009; public static final int abc_btn_check_to_on_mtrl_000=0x7f07000a; public static final int abc_btn_check_to_on_mtrl_015=0x7f07000b; public static final int abc_btn_colored_material=0x7f07000c; public static final int abc_btn_default_mtrl_shape=0x7f07000d; public static final int abc_btn_radio_material=0x7f07000e; public static final int abc_btn_radio_to_on_mtrl_000=0x7f07000f; public static final int abc_btn_radio_to_on_mtrl_015=0x7f070010; public static final int abc_btn_switch_to_on_mtrl_00001=0x7f070011; public static final int abc_btn_switch_to_on_mtrl_00012=0x7f070012; public static final int abc_cab_background_internal_bg=0x7f070013; public static final int abc_cab_background_top_material=0x7f070014; public static final int abc_cab_background_top_mtrl_alpha=0x7f070015; public static final int abc_control_background_material=0x7f070016; public static final int abc_dialog_material_background=0x7f070017; public static final int abc_edit_text_material=0x7f070018; public static final int abc_ic_ab_back_material=0x7f070019; public static final int abc_ic_arrow_drop_right_black_24dp=0x7f07001a; public static final int abc_ic_clear_material=0x7f07001b; public static final int abc_ic_commit_search_api_mtrl_alpha=0x7f07001c; public static final int abc_ic_go_search_api_material=0x7f07001d; public static final int abc_ic_menu_copy_mtrl_am_alpha=0x7f07001e; public static final int abc_ic_menu_cut_mtrl_alpha=0x7f07001f; public static final int abc_ic_menu_overflow_material=0x7f070020; public static final int abc_ic_menu_paste_mtrl_am_alpha=0x7f070021; public static final int abc_ic_menu_selectall_mtrl_alpha=0x7f070022; public static final int abc_ic_menu_share_mtrl_alpha=0x7f070023; public static final int abc_ic_search_api_material=0x7f070024; public static final int abc_ic_star_black_16dp=0x7f070025; public static final int abc_ic_star_black_36dp=0x7f070026; public static final int abc_ic_star_black_48dp=0x7f070027; public static final int abc_ic_star_half_black_16dp=0x7f070028; public static final int abc_ic_star_half_black_36dp=0x7f070029; public static final int abc_ic_star_half_black_48dp=0x7f07002a; public static final int abc_ic_voice_search_api_material=0x7f07002b; public static final int abc_item_background_holo_dark=0x7f07002c; public static final int abc_item_background_holo_light=0x7f07002d; public static final int abc_list_divider_material=0x7f07002e; public static final int abc_list_divider_mtrl_alpha=0x7f07002f; public static final int abc_list_focused_holo=0x7f070030; public static final int abc_list_longpressed_holo=0x7f070031; public static final int abc_list_pressed_holo_dark=0x7f070032; public static final int abc_list_pressed_holo_light=0x7f070033; public static final int abc_list_selector_background_transition_holo_dark=0x7f070034; public static final int abc_list_selector_background_transition_holo_light=0x7f070035; public static final int abc_list_selector_disabled_holo_dark=0x7f070036; public static final int abc_list_selector_disabled_holo_light=0x7f070037; public static final int abc_list_selector_holo_dark=0x7f070038; public static final int abc_list_selector_holo_light=0x7f070039; public static final int abc_menu_hardkey_panel_mtrl_mult=0x7f07003a; public static final int abc_popup_background_mtrl_mult=0x7f07003b; public static final int abc_ratingbar_indicator_material=0x7f07003c; public static final int abc_ratingbar_material=0x7f07003d; public static final int abc_ratingbar_small_material=0x7f07003e; public static final int abc_scrubber_control_off_mtrl_alpha=0x7f07003f; public static final int abc_scrubber_control_to_pressed_mtrl_000=0x7f070040; public static final int abc_scrubber_control_to_pressed_mtrl_005=0x7f070041; public static final int abc_scrubber_primary_mtrl_alpha=0x7f070042; public static final int abc_scrubber_track_mtrl_alpha=0x7f070043; public static final int abc_seekbar_thumb_material=0x7f070044; public static final int abc_seekbar_tick_mark_material=0x7f070045; public static final int abc_seekbar_track_material=0x7f070046; public static final int abc_spinner_mtrl_am_alpha=0x7f070047; public static final int abc_spinner_textfield_background_material=0x7f070048; public static final int abc_switch_thumb_material=0x7f070049; public static final int abc_switch_track_mtrl_alpha=0x7f07004a; public static final int abc_tab_indicator_material=0x7f07004b; public static final int abc_tab_indicator_mtrl_alpha=0x7f07004c; public static final int abc_text_cursor_material=0x7f07004d; public static final int abc_text_select_handle_left_mtrl_dark=0x7f07004e; public static final int abc_text_select_handle_left_mtrl_light=0x7f07004f; public static final int abc_text_select_handle_middle_mtrl_dark=0x7f070050; public static final int abc_text_select_handle_middle_mtrl_light=0x7f070051; public static final int abc_text_select_handle_right_mtrl_dark=0x7f070052; public static final int abc_text_select_handle_right_mtrl_light=0x7f070053; public static final int abc_textfield_activated_mtrl_alpha=0x7f070054; public static final int abc_textfield_default_mtrl_alpha=0x7f070055; public static final int abc_textfield_search_activated_mtrl_alpha=0x7f070056; public static final int abc_textfield_search_default_mtrl_alpha=0x7f070057; public static final int abc_textfield_search_material=0x7f070058; public static final int abc_vector_test=0x7f070059; public static final int avd_hide_password=0x7f07005a; public static final int avd_show_password=0x7f07005b; public static final int background=0x7f07005c; public static final int design_bottom_navigation_item_background=0x7f07005d; public static final int design_fab_background=0x7f07005e; public static final int design_ic_visibility=0x7f07005f; public static final int design_ic_visibility_off=0x7f070060; public static final int design_password_eye=0x7f070061; public static final int design_snackbar_background=0x7f070062; public static final int hamburger=0x7f070063; public static final int hmb=0x7f070064; public static final int ic_mtrl_chip_checked_black=0x7f070065; public static final int ic_mtrl_chip_checked_circle=0x7f070066; public static final int ic_mtrl_chip_close_circle=0x7f070067; public static final int icon=0x7f070068; public static final int logo=0x7f070069; public static final int mtrl_snackbar_background=0x7f07006a; public static final int mtrl_tabs_default_indicator=0x7f07006b; public static final int navigation_empty_icon=0x7f07006c; public static final int notification_action_background=0x7f07006d; public static final int notification_bg=0x7f07006e; public static final int notification_bg_low=0x7f07006f; public static final int notification_bg_low_normal=0x7f070070; public static final int notification_bg_low_pressed=0x7f070071; public static final int notification_bg_normal=0x7f070072; public static final int notification_bg_normal_pressed=0x7f070073; public static final int notification_icon_background=0x7f070074; public static final int notification_template_icon_bg=0x7f070075; public static final int notification_template_icon_low_bg=0x7f070076; public static final int notification_tile_bg=0x7f070077; public static final int notify_panel_notification_icon_bg=0x7f070078; public static final int splash_screen=0x7f070079; public static final int tooltip_frame_dark=0x7f07007a; public static final int tooltip_frame_light=0x7f07007b; } public static final class id { public static final int ALT=0x7f080000; public static final int CTRL=0x7f080001; public static final int FUNCTION=0x7f080002; public static final int META=0x7f080003; public static final int SHIFT=0x7f080004; public static final int SYM=0x7f080005; public static final int action0=0x7f080006; public static final int action_bar=0x7f080007; public static final int action_bar_activity_content=0x7f080008; public static final int action_bar_container=0x7f080009; public static final int action_bar_root=0x7f08000a; public static final int action_bar_spinner=0x7f08000b; public static final int action_bar_subtitle=0x7f08000c; public static final int action_bar_title=0x7f08000d; public static final int action_container=0x7f08000e; public static final int action_context_bar=0x7f08000f; public static final int action_divider=0x7f080010; public static final int action_image=0x7f080011; public static final int action_menu_divider=0x7f080012; public static final int action_menu_presenter=0x7f080013; public static final int action_mode_bar=0x7f080014; public static final int action_mode_bar_stub=0x7f080015; public static final int action_mode_close_button=0x7f080016; public static final int action_text=0x7f080017; public static final int actions=0x7f080018; public static final int activity_chooser_view_content=0x7f080019; public static final int add=0x7f08001a; public static final int alertTitle=0x7f08001b; public static final int all=0x7f08001c; public static final int always=0x7f08001d; public static final int async=0x7f08001e; public static final int auto=0x7f08001f; public static final int beginning=0x7f080020; public static final int blocking=0x7f080021; public static final int both=0x7f080022; public static final int bottom=0x7f080023; public static final int btnCopyException=0x7f080024; public static final int btnCopyLogcat=0x7f080025; public static final int buttonPanel=0x7f080026; public static final int cancel_action=0x7f080027; public static final int center=0x7f080028; public static final int center_horizontal=0x7f080029; public static final int center_vertical=0x7f08002a; public static final int checkbox=0x7f08002b; public static final int chronometer=0x7f08002c; public static final int clip_horizontal=0x7f08002d; public static final int clip_vertical=0x7f08002e; public static final int collapseActionView=0x7f08002f; public static final int container=0x7f080030; public static final int content=0x7f080031; public static final int contentPanel=0x7f080032; public static final int coordinator=0x7f080033; public static final int custom=0x7f080034; public static final int customPanel=0x7f080035; public static final int decor_content_parent=0x7f080036; public static final int default_activity_button=0x7f080037; public static final int design_bottom_sheet=0x7f080038; public static final int design_menu_item_action_area=0x7f080039; public static final int design_menu_item_action_area_stub=0x7f08003a; public static final int design_menu_item_text=0x7f08003b; public static final int design_navigation_view=0x7f08003c; public static final int disableHome=0x7f08003d; public static final int edit_query=0x7f08003e; public static final int end=0x7f08003f; public static final int end_padder=0x7f080040; public static final int enterAlways=0x7f080041; public static final int enterAlwaysCollapsed=0x7f080042; public static final int exitUntilCollapsed=0x7f080043; public static final int expand_activities_button=0x7f080044; public static final int expanded_menu=0x7f080045; public static final int fill=0x7f080046; public static final int fill_horizontal=0x7f080047; public static final int fill_vertical=0x7f080048; public static final int filled=0x7f080049; public static final int fixed=0x7f08004a; public static final int forever=0x7f08004b; public static final int ghost_view=0x7f08004c; public static final int group_divider=0x7f08004d; public static final int home=0x7f08004e; public static final int homeAsUp=0x7f08004f; public static final int horizontal=0x7f080050; public static final int icon=0x7f080051; public static final int icon_group=0x7f080052; public static final int ifRoom=0x7f080053; public static final int image=0x7f080054; public static final int imageView=0x7f080055; public static final int info=0x7f080056; public static final int italic=0x7f080057; public static final int item_touch_helper_previous_elevation=0x7f080058; public static final int labeled=0x7f080059; public static final int largeLabel=0x7f08005a; public static final int left=0x7f08005b; public static final int line1=0x7f08005c; public static final int line3=0x7f08005d; public static final int linearLayout=0x7f08005e; public static final int listMode=0x7f08005f; public static final int list_item=0x7f080060; public static final int logcatLinearLayout=0x7f080061; public static final int logcatMsg=0x7f080062; public static final int masked=0x7f080063; public static final int media_actions=0x7f080064; public static final int message=0x7f080065; public static final int middle=0x7f080066; public static final int mini=0x7f080067; public static final int mtrl_child_content_container=0x7f080068; public static final int mtrl_internal_children_alpha_tag=0x7f080069; public static final int multiply=0x7f08006a; public static final int navItemsLayout=0x7f08006b; public static final int navigationItemText=0x7f08006c; public static final int navigation_header_container=0x7f08006d; public static final int never=0x7f08006e; public static final int none=0x7f08006f; public static final int normal=0x7f080070; public static final int notification_background=0x7f080071; public static final int notification_main_column=0x7f080072; public static final int notification_main_column_container=0x7f080073; public static final int outline=0x7f080074; public static final int pager=0x7f080075; public static final int parallax=0x7f080076; public static final int parentPanel=0x7f080077; public static final int parent_matrix=0x7f080078; public static final int pin=0x7f080079; public static final int progress_circular=0x7f08007a; public static final int progress_horizontal=0x7f08007b; public static final int radio=0x7f08007c; public static final int right=0x7f08007d; public static final int right_icon=0x7f08007e; public static final int right_side=0x7f08007f; public static final int save_image_matrix=0x7f080080; public static final int save_non_transition_alpha=0x7f080081; public static final int save_scale_type=0x7f080082; public static final int screen=0x7f080083; public static final int scroll=0x7f080084; public static final int scrollIndicatorDown=0x7f080085; public static final int scrollIndicatorUp=0x7f080086; public static final int scrollView=0x7f080087; public static final int scrollable=0x7f080088; public static final int search_badge=0x7f080089; public static final int search_bar=0x7f08008a; public static final int search_button=0x7f08008b; public static final int search_close_btn=0x7f08008c; public static final int search_edit_frame=0x7f08008d; public static final int search_go_btn=0x7f08008e; public static final int search_mag_icon=0x7f08008f; public static final int search_plate=0x7f080090; public static final int search_src_text=0x7f080091; public static final int search_voice_btn=0x7f080092; public static final int select_dialog_listview=0x7f080093; public static final int selected=0x7f080094; public static final int shortcut=0x7f080095; public static final int showCustom=0x7f080096; public static final int showHome=0x7f080097; public static final int showTitle=0x7f080098; public static final int smallLabel=0x7f080099; public static final int snackbar_action=0x7f08009a; public static final int snackbar_text=0x7f08009b; public static final int snap=0x7f08009c; public static final int snapMargins=0x7f08009d; public static final int spacer=0x7f08009e; public static final int split_action_bar=0x7f08009f; public static final int src_atop=0x7f0800a0; public static final int src_in=0x7f0800a1; public static final int src_over=0x7f0800a2; public static final int start=0x7f0800a3; public static final int status_bar_latest_event_content=0x7f0800a4; public static final int stretch=0x7f0800a5; public static final int submenuarrow=0x7f0800a6; public static final int submit_area=0x7f0800a7; public static final int tabLayout=0x7f0800a8; public static final int tabMode=0x7f0800a9; public static final int tag_transition_group=0x7f0800aa; public static final int tag_unhandled_key_event_manager=0x7f0800ab; public static final int tag_unhandled_key_listeners=0x7f0800ac; public static final int text=0x7f0800ad; public static final int text2=0x7f0800ae; public static final int textSpacerNoButtons=0x7f0800af; public static final int textSpacerNoTitle=0x7f0800b0; public static final int textStart=0x7f0800b1; public static final int text_input_password_toggle=0x7f0800b2; public static final int textinput_counter=0x7f0800b3; public static final int textinput_error=0x7f0800b4; public static final int textinput_helper_text=0x7f0800b5; public static final int time=0x7f0800b6; public static final int title=0x7f0800b7; public static final int titleDividerNoCustom=0x7f0800b8; public static final int title_template=0x7f0800b9; public static final int toolbar=0x7f0800ba; public static final int top=0x7f0800bb; public static final int topPanel=0x7f0800bc; public static final int touch_outside=0x7f0800bd; public static final int transition_current_scene=0x7f0800be; public static final int transition_layout_save=0x7f0800bf; public static final int transition_position=0x7f0800c0; public static final int transition_scene_layoutid_cache=0x7f0800c1; public static final int transition_transform=0x7f0800c2; public static final int txtErrorMsg=0x7f0800c3; public static final int uniform=0x7f0800c4; public static final int unlabeled=0x7f0800c5; public static final int up=0x7f0800c6; public static final int useLogo=0x7f0800c7; public static final int vertical=0x7f0800c8; public static final int view_offset_helper=0x7f0800c9; public static final int visible=0x7f0800ca; public static final int withText=0x7f0800cb; public static final int wrap_content=0x7f0800cc; } public static final class integer { public static final int abc_config_activityDefaultDur=0x7f090000; public static final int abc_config_activityShortDur=0x7f090001; public static final int app_bar_elevation_anim_duration=0x7f090002; public static final int bottom_sheet_slide_duration=0x7f090003; public static final int cancel_button_image_alpha=0x7f090004; public static final int config_tooltipAnimTime=0x7f090005; public static final int design_snackbar_text_max_lines=0x7f090006; public static final int design_tab_indicator_anim_duration_ms=0x7f090007; public static final int hide_password_duration=0x7f090008; public static final int mtrl_btn_anim_delay_ms=0x7f090009; public static final int mtrl_btn_anim_duration_ms=0x7f09000a; public static final int mtrl_chip_anim_duration=0x7f09000b; public static final int mtrl_tab_indicator_anim_duration_ms=0x7f09000c; public static final int show_password_duration=0x7f09000d; public static final int status_bar_notification_info_maxnum=0x7f09000e; } public static final class interpolator { public static final int mtrl_fast_out_linear_in=0x7f0a0000; public static final int mtrl_fast_out_slow_in=0x7f0a0001; public static final int mtrl_linear=0x7f0a0002; public static final int mtrl_linear_out_slow_in=0x7f0a0003; } public static final class layout { public static final int abc_action_bar_title_item=0x7f0b0000; public static final int abc_action_bar_up_container=0x7f0b0001; public static final int abc_action_menu_item_layout=0x7f0b0002; public static final int abc_action_menu_layout=0x7f0b0003; public static final int abc_action_mode_bar=0x7f0b0004; public static final int abc_action_mode_close_item_material=0x7f0b0005; public static final int abc_activity_chooser_view=0x7f0b0006; public static final int abc_activity_chooser_view_list_item=0x7f0b0007; public static final int abc_alert_dialog_button_bar_material=0x7f0b0008; public static final int abc_alert_dialog_material=0x7f0b0009; public static final int abc_alert_dialog_title_material=0x7f0b000a; public static final int abc_cascading_menu_item_layout=0x7f0b000b; public static final int abc_dialog_title_material=0x7f0b000c; public static final int abc_expanded_menu_layout=0x7f0b000d; public static final int abc_list_menu_item_checkbox=0x7f0b000e; public static final int abc_list_menu_item_icon=0x7f0b000f; public static final int abc_list_menu_item_layout=0x7f0b0010; public static final int abc_list_menu_item_radio=0x7f0b0011; public static final int abc_popup_menu_header_item_layout=0x7f0b0012; public static final int abc_popup_menu_item_layout=0x7f0b0013; public static final int abc_screen_content_include=0x7f0b0014; public static final int abc_screen_simple=0x7f0b0015; public static final int abc_screen_simple_overlay_action_mode=0x7f0b0016; public static final int abc_screen_toolbar=0x7f0b0017; public static final int abc_search_dropdown_item_icons_2line=0x7f0b0018; public static final int abc_search_view=0x7f0b0019; public static final int abc_select_dialog_material=0x7f0b001a; public static final int abc_tooltip=0x7f0b001b; public static final int design_bottom_navigation_item=0x7f0b001c; public static final int design_bottom_sheet_dialog=0x7f0b001d; public static final int design_layout_snackbar=0x7f0b001e; public static final int design_layout_snackbar_include=0x7f0b001f; public static final int design_layout_tab_icon=0x7f0b0020; public static final int design_layout_tab_text=0x7f0b0021; public static final int design_menu_item_action_area=0x7f0b0022; public static final int design_navigation_item=0x7f0b0023; public static final int design_navigation_item_header=0x7f0b0024; public static final int design_navigation_item_separator=0x7f0b0025; public static final int design_navigation_item_subheader=0x7f0b0026; public static final int design_navigation_menu=0x7f0b0027; public static final int design_navigation_menu_item=0x7f0b0028; public static final int design_text_input_password_icon=0x7f0b0029; public static final int drawer_blur_fade_layer=0x7f0b002a; public static final int error_activity=0x7f0b002b; public static final int exception_tab=0x7f0b002c; public static final int logcat_tab=0x7f0b002d; public static final int mtrl_layout_snackbar=0x7f0b002e; public static final int mtrl_layout_snackbar_include=0x7f0b002f; public static final int navigation_drawer_content=0x7f0b0030; public static final int navigation_item_view=0x7f0b0031; public static final int notification_action=0x7f0b0032; public static final int notification_action_tombstone=0x7f0b0033; public static final int notification_media_action=0x7f0b0034; public static final int notification_media_cancel_action=0x7f0b0035; public static final int notification_template_big_media=0x7f0b0036; public static final int notification_template_big_media_custom=0x7f0b0037; public static final int notification_template_big_media_narrow=0x7f0b0038; public static final int notification_template_big_media_narrow_custom=0x7f0b0039; public static final int notification_template_custom_big=0x7f0b003a; public static final int notification_template_icon_group=0x7f0b003b; public static final int notification_template_lines_media=0x7f0b003c; public static final int notification_template_media=0x7f0b003d; public static final int notification_template_media_custom=0x7f0b003e; public static final int notification_template_part_chronometer=0x7f0b003f; public static final int notification_template_part_time=0x7f0b0040; public static final int select_dialog_item_material=0x7f0b0041; public static final int select_dialog_multichoice_material=0x7f0b0042; public static final int select_dialog_singlechoice_material=0x7f0b0043; public static final int support_simple_spinner_dropdown_item=0x7f0b0044; } public static final class string { public static final int abc_action_bar_home_description=0x7f0c0000; public static final int abc_action_bar_up_description=0x7f0c0001; public static final int abc_action_menu_overflow_description=0x7f0c0002; public static final int abc_action_mode_done=0x7f0c0003; public static final int abc_activity_chooser_view_see_all=0x7f0c0004; public static final int abc_activitychooserview_choose_application=0x7f0c0005; public static final int abc_capital_off=0x7f0c0006; public static final int abc_capital_on=0x7f0c0007; public static final int abc_font_family_body_1_material=0x7f0c0008; public static final int abc_font_family_body_2_material=0x7f0c0009; public static final int abc_font_family_button_material=0x7f0c000a; public static final int abc_font_family_caption_material=0x7f0c000b; public static final int abc_font_family_display_1_material=0x7f0c000c; public static final int abc_font_family_display_2_material=0x7f0c000d; public static final int abc_font_family_display_3_material=0x7f0c000e; public static final int abc_font_family_display_4_material=0x7f0c000f; public static final int abc_font_family_headline_material=0x7f0c0010; public static final int abc_font_family_menu_material=0x7f0c0011; public static final int abc_font_family_subhead_material=0x7f0c0012; public static final int abc_font_family_title_material=0x7f0c0013; public static final int abc_menu_alt_shortcut_label=0x7f0c0014; public static final int abc_menu_ctrl_shortcut_label=0x7f0c0015; public static final int abc_menu_delete_shortcut_label=0x7f0c0016; public static final int abc_menu_enter_shortcut_label=0x7f0c0017; public static final int abc_menu_function_shortcut_label=0x7f0c0018; public static final int abc_menu_meta_shortcut_label=0x7f0c0019; public static final int abc_menu_shift_shortcut_label=0x7f0c001a; public static final int abc_menu_space_shortcut_label=0x7f0c001b; public static final int abc_menu_sym_shortcut_label=0x7f0c001c; public static final int abc_prepend_shortcut_label=0x7f0c001d; public static final int abc_search_hint=0x7f0c001e; public static final int abc_searchview_description_clear=0x7f0c001f; public static final int abc_searchview_description_query=0x7f0c0020; public static final int abc_searchview_description_search=0x7f0c0021; public static final int abc_searchview_description_submit=0x7f0c0022; public static final int abc_searchview_description_voice=0x7f0c0023; public static final int abc_shareactionprovider_share_with=0x7f0c0024; public static final int abc_shareactionprovider_share_with_application=0x7f0c0025; public static final int abc_toolbar_collapse_description=0x7f0c0026; public static final int app_name=0x7f0c0027; public static final int appbar_scrolling_view_behavior=0x7f0c0028; public static final int bottom_sheet_behavior=0x7f0c0029; public static final int character_counter_content_description=0x7f0c002a; public static final int character_counter_pattern=0x7f0c002b; public static final int fab_transformation_scrim_behavior=0x7f0c002c; public static final int fab_transformation_sheet_behavior=0x7f0c002d; public static final int hide_bottom_view_on_scroll_behavior=0x7f0c002e; public static final int mtrl_chip_close_icon_content_description=0x7f0c002f; public static final int password_toggle_content_description=0x7f0c0030; public static final int path_password_eye=0x7f0c0031; public static final int path_password_eye_mask_strike_through=0x7f0c0032; public static final int path_password_eye_mask_visible=0x7f0c0033; public static final int path_password_strike_through=0x7f0c0034; public static final int search_menu_title=0x7f0c0035; public static final int status_bar_notification_info_overflow=0x7f0c0036; public static final int title_activity_kimera=0x7f0c0037; } public static final class style { public static final int AlertDialog_AppCompat=0x7f0d0000; public static final int AlertDialog_AppCompat_Light=0x7f0d0001; public static final int Animation_AppCompat_Dialog=0x7f0d0002; public static final int Animation_AppCompat_DropDownUp=0x7f0d0003; public static final int Animation_AppCompat_Tooltip=0x7f0d0004; public static final int Animation_Design_BottomSheetDialog=0x7f0d0005; public static final int AppTheme=0x7f0d0006; public static final int AppThemeBase=0x7f0d0007; public static final int Base_AlertDialog_AppCompat=0x7f0d0008; public static final int Base_AlertDialog_AppCompat_Light=0x7f0d0009; public static final int Base_Animation_AppCompat_Dialog=0x7f0d000a; public static final int Base_Animation_AppCompat_DropDownUp=0x7f0d000b; public static final int Base_Animation_AppCompat_Tooltip=0x7f0d000c; public static final int Base_CardView=0x7f0d000d; public static final int Base_DialogWindowTitle_AppCompat=0x7f0d000e; public static final int Base_DialogWindowTitleBackground_AppCompat=0x7f0d000f; public static final int Base_TextAppearance_AppCompat=0x7f0d0010; public static final int Base_TextAppearance_AppCompat_Body1=0x7f0d0011; public static final int Base_TextAppearance_AppCompat_Body2=0x7f0d0012; public static final int Base_TextAppearance_AppCompat_Button=0x7f0d0013; public static final int Base_TextAppearance_AppCompat_Caption=0x7f0d0014; public static final int Base_TextAppearance_AppCompat_Display1=0x7f0d0015; public static final int Base_TextAppearance_AppCompat_Display2=0x7f0d0016; public static final int Base_TextAppearance_AppCompat_Display3=0x7f0d0017; public static final int Base_TextAppearance_AppCompat_Display4=0x7f0d0018; public static final int Base_TextAppearance_AppCompat_Headline=0x7f0d0019; public static final int Base_TextAppearance_AppCompat_Inverse=0x7f0d001a; public static final int Base_TextAppearance_AppCompat_Large=0x7f0d001b; public static final int Base_TextAppearance_AppCompat_Large_Inverse=0x7f0d001c; public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0d001d; public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0d001e; public static final int Base_TextAppearance_AppCompat_Medium=0x7f0d001f; public static final int Base_TextAppearance_AppCompat_Medium_Inverse=0x7f0d0020; public static final int Base_TextAppearance_AppCompat_Menu=0x7f0d0021; public static final int Base_TextAppearance_AppCompat_SearchResult=0x7f0d0022; public static final int Base_TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0d0023; public static final int Base_TextAppearance_AppCompat_SearchResult_Title=0x7f0d0024; public static final int Base_TextAppearance_AppCompat_Small=0x7f0d0025; public static final int Base_TextAppearance_AppCompat_Small_Inverse=0x7f0d0026; public static final int Base_TextAppearance_AppCompat_Subhead=0x7f0d0027; public static final int Base_TextAppearance_AppCompat_Subhead_Inverse=0x7f0d0028; public static final int Base_TextAppearance_AppCompat_Title=0x7f0d0029; public static final int Base_TextAppearance_AppCompat_Title_Inverse=0x7f0d002a; public static final int Base_TextAppearance_AppCompat_Tooltip=0x7f0d002b; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0d002c; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0d002d; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0d002e; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0d002f; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0d0030; public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0d0031; public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0d0032; public static final int Base_TextAppearance_AppCompat_Widget_Button=0x7f0d0033; public static final int Base_TextAppearance_AppCompat_Widget_Button_Borderless_Colored=0x7f0d0034; public static final int Base_TextAppearance_AppCompat_Widget_Button_Colored=0x7f0d0035; public static final int Base_TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0d0036; public static final int Base_TextAppearance_AppCompat_Widget_DropDownItem=0x7f0d0037; public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Header=0x7f0d0038; public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0d0039; public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0d003a; public static final int Base_TextAppearance_AppCompat_Widget_Switch=0x7f0d003b; public static final int Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0d003c; public static final int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0d003d; public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0d003e; public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0d003f; public static final int Base_Theme_AppCompat=0x7f0d0040; public static final int Base_Theme_AppCompat_CompactMenu=0x7f0d0041; public static final int Base_Theme_AppCompat_Dialog=0x7f0d0042; public static final int Base_Theme_AppCompat_Dialog_Alert=0x7f0d0043; public static final int Base_Theme_AppCompat_Dialog_FixedSize=0x7f0d0044; public static final int Base_Theme_AppCompat_Dialog_MinWidth=0x7f0d0045; public static final int Base_Theme_AppCompat_DialogWhenLarge=0x7f0d0046; public static final int Base_Theme_AppCompat_Light=0x7f0d0047; public static final int Base_Theme_AppCompat_Light_DarkActionBar=0x7f0d0048; public static final int Base_Theme_AppCompat_Light_Dialog=0x7f0d0049; public static final int Base_Theme_AppCompat_Light_Dialog_Alert=0x7f0d004a; public static final int Base_Theme_AppCompat_Light_Dialog_FixedSize=0x7f0d004b; public static final int Base_Theme_AppCompat_Light_Dialog_MinWidth=0x7f0d004c; public static final int Base_Theme_AppCompat_Light_DialogWhenLarge=0x7f0d004d; public static final int Base_Theme_MaterialComponents=0x7f0d004e; public static final int Base_Theme_MaterialComponents_Bridge=0x7f0d004f; public static final int Base_Theme_MaterialComponents_CompactMenu=0x7f0d0050; public static final int Base_Theme_MaterialComponents_Dialog=0x7f0d0051; public static final int Base_Theme_MaterialComponents_Dialog_Alert=0x7f0d0052; public static final int Base_Theme_MaterialComponents_Dialog_FixedSize=0x7f0d0053; public static final int Base_Theme_MaterialComponents_Dialog_MinWidth=0x7f0d0054; public static final int Base_Theme_MaterialComponents_DialogWhenLarge=0x7f0d0055; public static final int Base_Theme_MaterialComponents_Light=0x7f0d0056; public static final int Base_Theme_MaterialComponents_Light_Bridge=0x7f0d0057; public static final int Base_Theme_MaterialComponents_Light_DarkActionBar=0x7f0d0058; public static final int Base_Theme_MaterialComponents_Light_DarkActionBar_Bridge=0x7f0d0059; public static final int Base_Theme_MaterialComponents_Light_Dialog=0x7f0d005a; public static final int Base_Theme_MaterialComponents_Light_Dialog_Alert=0x7f0d005b; public static final int Base_Theme_MaterialComponents_Light_Dialog_FixedSize=0x7f0d005c; public static final int Base_Theme_MaterialComponents_Light_Dialog_MinWidth=0x7f0d005d; public static final int Base_Theme_MaterialComponents_Light_DialogWhenLarge=0x7f0d005e; public static final int Base_ThemeOverlay_AppCompat=0x7f0d005f; public static final int Base_ThemeOverlay_AppCompat_ActionBar=0x7f0d0060; public static final int Base_ThemeOverlay_AppCompat_Dark=0x7f0d0061; public static final int Base_ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0d0062; public static final int Base_ThemeOverlay_AppCompat_Dialog=0x7f0d0063; public static final int Base_ThemeOverlay_AppCompat_Dialog_Alert=0x7f0d0064; public static final int Base_ThemeOverlay_AppCompat_Light=0x7f0d0065; public static final int Base_ThemeOverlay_MaterialComponents_Dialog=0x7f0d0066; public static final int Base_ThemeOverlay_MaterialComponents_Dialog_Alert=0x7f0d0067; public static final int Base_V14_Theme_MaterialComponents=0x7f0d0068; public static final int Base_V14_Theme_MaterialComponents_Bridge=0x7f0d0069; public static final int Base_V14_Theme_MaterialComponents_Dialog=0x7f0d006a; public static final int Base_V14_Theme_MaterialComponents_Light=0x7f0d006b; public static final int Base_V14_Theme_MaterialComponents_Light_Bridge=0x7f0d006c; public static final int Base_V14_Theme_MaterialComponents_Light_DarkActionBar_Bridge=0x7f0d006d; public static final int Base_V14_Theme_MaterialComponents_Light_Dialog=0x7f0d006e; public static final int Base_V14_ThemeOverlay_MaterialComponents_Dialog=0x7f0d006f; public static final int Base_V14_ThemeOverlay_MaterialComponents_Dialog_Alert=0x7f0d0070; public static final int Base_V21_Theme_AppCompat=0x7f0d0071; public static final int Base_V21_Theme_AppCompat_Dialog=0x7f0d0072; public static final int Base_V21_Theme_AppCompat_Light=0x7f0d0073; public static final int Base_V21_Theme_AppCompat_Light_Dialog=0x7f0d0074; public static final int Base_V21_ThemeOverlay_AppCompat_Dialog=0x7f0d0075; public static final int Base_V22_Theme_AppCompat=0x7f0d0076; public static final int Base_V22_Theme_AppCompat_Light=0x7f0d0077; public static final int Base_V23_Theme_AppCompat=0x7f0d0078; public static final int Base_V23_Theme_AppCompat_Light=0x7f0d0079; public static final int Base_V26_Theme_AppCompat=0x7f0d007a; public static final int Base_V26_Theme_AppCompat_Light=0x7f0d007b; public static final int Base_V26_Widget_AppCompat_Toolbar=0x7f0d007c; public static final int Base_V28_Theme_AppCompat=0x7f0d007d; public static final int Base_V28_Theme_AppCompat_Light=0x7f0d007e; public static final int Base_V7_Theme_AppCompat=0x7f0d007f; public static final int Base_V7_Theme_AppCompat_Dialog=0x7f0d0080; public static final int Base_V7_Theme_AppCompat_Light=0x7f0d0081; public static final int Base_V7_Theme_AppCompat_Light_Dialog=0x7f0d0082; public static final int Base_V7_ThemeOverlay_AppCompat_Dialog=0x7f0d0083; public static final int Base_V7_Widget_AppCompat_AutoCompleteTextView=0x7f0d0084; public static final int Base_V7_Widget_AppCompat_EditText=0x7f0d0085; public static final int Base_V7_Widget_AppCompat_Toolbar=0x7f0d0086; public static final int Base_Widget_AppCompat_ActionBar=0x7f0d0087; public static final int Base_Widget_AppCompat_ActionBar_Solid=0x7f0d0088; public static final int Base_Widget_AppCompat_ActionBar_TabBar=0x7f0d0089; public static final int Base_Widget_AppCompat_ActionBar_TabText=0x7f0d008a; public static final int Base_Widget_AppCompat_ActionBar_TabView=0x7f0d008b; public static final int Base_Widget_AppCompat_ActionButton=0x7f0d008c; public static final int Base_Widget_AppCompat_ActionButton_CloseMode=0x7f0d008d; public static final int Base_Widget_AppCompat_ActionButton_Overflow=0x7f0d008e; public static final int Base_Widget_AppCompat_ActionMode=0x7f0d008f; public static final int Base_Widget_AppCompat_ActivityChooserView=0x7f0d0090; public static final int Base_Widget_AppCompat_AutoCompleteTextView=0x7f0d0091; public static final int Base_Widget_AppCompat_Button=0x7f0d0092; public static final int Base_Widget_AppCompat_Button_Borderless=0x7f0d0093; public static final int Base_Widget_AppCompat_Button_Borderless_Colored=0x7f0d0094; public static final int Base_Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0d0095; public static final int Base_Widget_AppCompat_Button_Colored=0x7f0d0096; public static final int Base_Widget_AppCompat_Button_Small=0x7f0d0097; public static final int Base_Widget_AppCompat_ButtonBar=0x7f0d0098; public static final int Base_Widget_AppCompat_ButtonBar_AlertDialog=0x7f0d0099; public static final int Base_Widget_AppCompat_CompoundButton_CheckBox=0x7f0d009a; public static final int Base_Widget_AppCompat_CompoundButton_RadioButton=0x7f0d009b; public static final int Base_Widget_AppCompat_CompoundButton_Switch=0x7f0d009c; public static final int Base_Widget_AppCompat_DrawerArrowToggle=0x7f0d009d; public static final int Base_Widget_AppCompat_DrawerArrowToggle_Common=0x7f0d009e; public static final int Base_Widget_AppCompat_DropDownItem_Spinner=0x7f0d009f; public static final int Base_Widget_AppCompat_EditText=0x7f0d00a0; public static final int Base_Widget_AppCompat_ImageButton=0x7f0d00a1; public static final int Base_Widget_AppCompat_Light_ActionBar=0x7f0d00a2; public static final int Base_Widget_AppCompat_Light_ActionBar_Solid=0x7f0d00a3; public static final int Base_Widget_AppCompat_Light_ActionBar_TabBar=0x7f0d00a4; public static final int Base_Widget_AppCompat_Light_ActionBar_TabText=0x7f0d00a5; public static final int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0d00a6; public static final int Base_Widget_AppCompat_Light_ActionBar_TabView=0x7f0d00a7; public static final int Base_Widget_AppCompat_Light_PopupMenu=0x7f0d00a8; public static final int Base_Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0d00a9; public static final int Base_Widget_AppCompat_ListMenuView=0x7f0d00aa; public static final int Base_Widget_AppCompat_ListPopupWindow=0x7f0d00ab; public static final int Base_Widget_AppCompat_ListView=0x7f0d00ac; public static final int Base_Widget_AppCompat_ListView_DropDown=0x7f0d00ad; public static final int Base_Widget_AppCompat_ListView_Menu=0x7f0d00ae; public static final int Base_Widget_AppCompat_PopupMenu=0x7f0d00af; public static final int Base_Widget_AppCompat_PopupMenu_Overflow=0x7f0d00b0; public static final int Base_Widget_AppCompat_PopupWindow=0x7f0d00b1; public static final int Base_Widget_AppCompat_ProgressBar=0x7f0d00b2; public static final int Base_Widget_AppCompat_ProgressBar_Horizontal=0x7f0d00b3; public static final int Base_Widget_AppCompat_RatingBar=0x7f0d00b4; public static final int Base_Widget_AppCompat_RatingBar_Indicator=0x7f0d00b5; public static final int Base_Widget_AppCompat_RatingBar_Small=0x7f0d00b6; public static final int Base_Widget_AppCompat_SearchView=0x7f0d00b7; public static final int Base_Widget_AppCompat_SearchView_ActionBar=0x7f0d00b8; public static final int Base_Widget_AppCompat_SeekBar=0x7f0d00b9; public static final int Base_Widget_AppCompat_SeekBar_Discrete=0x7f0d00ba; public static final int Base_Widget_AppCompat_Spinner=0x7f0d00bb; public static final int Base_Widget_AppCompat_Spinner_Underlined=0x7f0d00bc; public static final int Base_Widget_AppCompat_TextView_SpinnerItem=0x7f0d00bd; public static final int Base_Widget_AppCompat_Toolbar=0x7f0d00be; public static final int Base_Widget_AppCompat_Toolbar_Button_Navigation=0x7f0d00bf; public static final int Base_Widget_Design_TabLayout=0x7f0d00c0; public static final int Base_Widget_MaterialComponents_Chip=0x7f0d00c1; public static final int Base_Widget_MaterialComponents_TextInputEditText=0x7f0d00c2; public static final int Base_Widget_MaterialComponents_TextInputLayout=0x7f0d00c3; public static final int CardView=0x7f0d00c4; public static final int CardView_Dark=0x7f0d00c5; public static final int CardView_Light=0x7f0d00c6; public static final int LaunchScreenTheme=0x7f0d00c7; public static final int LaunchScreenThemeBase=0x7f0d00c8; public static final int NativeScriptToolbarStyle=0x7f0d00c9; public static final int NativeScriptToolbarStyleBase=0x7f0d00ca; public static final int NoActionBar=0x7f0d00cb; public static final int Platform_AppCompat=0x7f0d00cc; public static final int Platform_AppCompat_Light=0x7f0d00cd; public static final int Platform_MaterialComponents=0x7f0d00ce; public static final int Platform_MaterialComponents_Dialog=0x7f0d00cf; public static final int Platform_MaterialComponents_Light=0x7f0d00d0; public static final int Platform_MaterialComponents_Light_Dialog=0x7f0d00d1; public static final int Platform_ThemeOverlay_AppCompat=0x7f0d00d2; public static final int Platform_ThemeOverlay_AppCompat_Dark=0x7f0d00d3; public static final int Platform_ThemeOverlay_AppCompat_Light=0x7f0d00d4; public static final int Platform_V21_AppCompat=0x7f0d00d5; public static final int Platform_V21_AppCompat_Light=0x7f0d00d6; public static final int Platform_V25_AppCompat=0x7f0d00d7; public static final int Platform_V25_AppCompat_Light=0x7f0d00d8; public static final int Platform_Widget_AppCompat_Spinner=0x7f0d00d9; public static final int RadScrollViewStyle=0x7f0d00da; public static final int RadScrollViewTheme=0x7f0d00db; public static final int RtlOverlay_DialogWindowTitle_AppCompat=0x7f0d00dc; public static final int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem=0x7f0d00dd; public static final int RtlOverlay_Widget_AppCompat_DialogTitle_Icon=0x7f0d00de; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem=0x7f0d00df; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup=0x7f0d00e0; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Shortcut=0x7f0d00e1; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_SubmenuArrow=0x7f0d00e2; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text=0x7f0d00e3; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Title=0x7f0d00e4; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown=0x7f0d00e5; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1=0x7f0d00e6; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2=0x7f0d00e7; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Query=0x7f0d00e8; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Text=0x7f0d00e9; public static final int RtlOverlay_Widget_AppCompat_SearchView_MagIcon=0x7f0d00ea; public static final int RtlUnderlay_Widget_AppCompat_ActionButton=0x7f0d00eb; public static final int RtlUnderlay_Widget_AppCompat_ActionButton_Overflow=0x7f0d00ec; public static final int SpinnerDatePicker=0x7f0d00ed; public static final int SpinnerTimePicker=0x7f0d00ee; public static final int TextAppearance_AppCompat=0x7f0d00ef; public static final int TextAppearance_AppCompat_Body1=0x7f0d00f0; public static final int TextAppearance_AppCompat_Body2=0x7f0d00f1; public static final int TextAppearance_AppCompat_Button=0x7f0d00f2; public static final int TextAppearance_AppCompat_Caption=0x7f0d00f3; public static final int TextAppearance_AppCompat_Display1=0x7f0d00f4; public static final int TextAppearance_AppCompat_Display2=0x7f0d00f5; public static final int TextAppearance_AppCompat_Display3=0x7f0d00f6; public static final int TextAppearance_AppCompat_Display4=0x7f0d00f7; public static final int TextAppearance_AppCompat_Headline=0x7f0d00f8; public static final int TextAppearance_AppCompat_Inverse=0x7f0d00f9; public static final int TextAppearance_AppCompat_Large=0x7f0d00fa; public static final int TextAppearance_AppCompat_Large_Inverse=0x7f0d00fb; public static final int TextAppearance_AppCompat_Light_SearchResult_Subtitle=0x7f0d00fc; public static final int TextAppearance_AppCompat_Light_SearchResult_Title=0x7f0d00fd; public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0d00fe; public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0d00ff; public static final int TextAppearance_AppCompat_Medium=0x7f0d0100; public static final int TextAppearance_AppCompat_Medium_Inverse=0x7f0d0101; public static final int TextAppearance_AppCompat_Menu=0x7f0d0102; public static final int TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0d0103; public static final int TextAppearance_AppCompat_SearchResult_Title=0x7f0d0104; public static final int TextAppearance_AppCompat_Small=0x7f0d0105; public static final int TextAppearance_AppCompat_Small_Inverse=0x7f0d0106; public static final int TextAppearance_AppCompat_Subhead=0x7f0d0107; public static final int TextAppearance_AppCompat_Subhead_Inverse=0x7f0d0108; public static final int TextAppearance_AppCompat_Title=0x7f0d0109; public static final int TextAppearance_AppCompat_Title_Inverse=0x7f0d010a; public static final int TextAppearance_AppCompat_Tooltip=0x7f0d010b; public static final int TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0d010c; public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0d010d; public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0d010e; public static final int TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0d010f; public static final int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0d0110; public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0d0111; public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse=0x7f0d0112; public static final int TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0d0113; public static final int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse=0x7f0d0114; public static final int TextAppearance_AppCompat_Widget_Button=0x7f0d0115; public static final int TextAppearance_AppCompat_Widget_Button_Borderless_Colored=0x7f0d0116; public static final int TextAppearance_AppCompat_Widget_Button_Colored=0x7f0d0117; public static final int TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0d0118; public static final int TextAppearance_AppCompat_Widget_DropDownItem=0x7f0d0119; public static final int TextAppearance_AppCompat_Widget_PopupMenu_Header=0x7f0d011a; public static final int TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0d011b; public static final int TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0d011c; public static final int TextAppearance_AppCompat_Widget_Switch=0x7f0d011d; public static final int TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0d011e; public static final int TextAppearance_Compat_Notification=0x7f0d011f; public static final int TextAppearance_Compat_Notification_Info=0x7f0d0120; public static final int TextAppearance_Compat_Notification_Info_Media=0x7f0d0121; public static final int TextAppearance_Compat_Notification_Line2=0x7f0d0122; public static final int TextAppearance_Compat_Notification_Line2_Media=0x7f0d0123; public static final int TextAppearance_Compat_Notification_Media=0x7f0d0124; public static final int TextAppearance_Compat_Notification_Time=0x7f0d0125; public static final int TextAppearance_Compat_Notification_Time_Media=0x7f0d0126; public static final int TextAppearance_Compat_Notification_Title=0x7f0d0127; public static final int TextAppearance_Compat_Notification_Title_Media=0x7f0d0128; public static final int TextAppearance_Design_CollapsingToolbar_Expanded=0x7f0d0129; public static final int TextAppearance_Design_Counter=0x7f0d012a; public static final int TextAppearance_Design_Counter_Overflow=0x7f0d012b; public static final int TextAppearance_Design_Error=0x7f0d012c; public static final int TextAppearance_Design_HelperText=0x7f0d012d; public static final int TextAppearance_Design_Hint=0x7f0d012e; public static final int TextAppearance_Design_Snackbar_Message=0x7f0d012f; public static final int TextAppearance_Design_Tab=0x7f0d0130; public static final int TextAppearance_MaterialComponents_Body1=0x7f0d0131; public static final int TextAppearance_MaterialComponents_Body2=0x7f0d0132; public static final int TextAppearance_MaterialComponents_Button=0x7f0d0133; public static final int TextAppearance_MaterialComponents_Caption=0x7f0d0134; public static final int TextAppearance_MaterialComponents_Chip=0x7f0d0135; public static final int TextAppearance_MaterialComponents_Headline1=0x7f0d0136; public static final int TextAppearance_MaterialComponents_Headline2=0x7f0d0137; public static final int TextAppearance_MaterialComponents_Headline3=0x7f0d0138; public static final int TextAppearance_MaterialComponents_Headline4=0x7f0d0139; public static final int TextAppearance_MaterialComponents_Headline5=0x7f0d013a; public static final int TextAppearance_MaterialComponents_Headline6=0x7f0d013b; public static final int TextAppearance_MaterialComponents_Overline=0x7f0d013c; public static final int TextAppearance_MaterialComponents_Subtitle1=0x7f0d013d; public static final int TextAppearance_MaterialComponents_Subtitle2=0x7f0d013e; public static final int TextAppearance_MaterialComponents_Tab=0x7f0d013f; public static final int TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0d0140; public static final int TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0d0141; public static final int TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0d0142; public static final int Theme_AppCompat=0x7f0d0143; public static final int Theme_AppCompat_CompactMenu=0x7f0d0144; public static final int Theme_AppCompat_DayNight=0x7f0d0145; public static final int Theme_AppCompat_DayNight_DarkActionBar=0x7f0d0146; public static final int Theme_AppCompat_DayNight_Dialog=0x7f0d0147; public static final int Theme_AppCompat_DayNight_Dialog_Alert=0x7f0d0148; public static final int Theme_AppCompat_DayNight_Dialog_MinWidth=0x7f0d0149; public static final int Theme_AppCompat_DayNight_DialogWhenLarge=0x7f0d014a; public static final int Theme_AppCompat_DayNight_NoActionBar=0x7f0d014b; public static final int Theme_AppCompat_Dialog=0x7f0d014c; public static final int Theme_AppCompat_Dialog_Alert=0x7f0d014d; public static final int Theme_AppCompat_Dialog_MinWidth=0x7f0d014e; public static final int Theme_AppCompat_DialogWhenLarge=0x7f0d014f; public static final int Theme_AppCompat_Light=0x7f0d0150; public static final int Theme_AppCompat_Light_DarkActionBar=0x7f0d0151; public static final int Theme_AppCompat_Light_Dialog=0x7f0d0152; public static final int Theme_AppCompat_Light_Dialog_Alert=0x7f0d0153; public static final int Theme_AppCompat_Light_Dialog_MinWidth=0x7f0d0154; public static final int Theme_AppCompat_Light_DialogWhenLarge=0x7f0d0155; public static final int Theme_AppCompat_Light_NoActionBar=0x7f0d0156; public static final int Theme_AppCompat_NoActionBar=0x7f0d0157; public static final int Theme_Design=0x7f0d0158; public static final int Theme_Design_BottomSheetDialog=0x7f0d0159; public static final int Theme_Design_Light=0x7f0d015a; public static final int Theme_Design_Light_BottomSheetDialog=0x7f0d015b; public static final int Theme_Design_Light_NoActionBar=0x7f0d015c; public static final int Theme_Design_NoActionBar=0x7f0d015d; public static final int Theme_MaterialComponents=0x7f0d015e; public static final int Theme_MaterialComponents_BottomSheetDialog=0x7f0d015f; public static final int Theme_MaterialComponents_Bridge=0x7f0d0160; public static final int Theme_MaterialComponents_CompactMenu=0x7f0d0161; public static final int Theme_MaterialComponents_Dialog=0x7f0d0162; public static final int Theme_MaterialComponents_Dialog_Alert=0x7f0d0163; public static final int Theme_MaterialComponents_Dialog_MinWidth=0x7f0d0164; public static final int Theme_MaterialComponents_DialogWhenLarge=0x7f0d0165; public static final int Theme_MaterialComponents_Light=0x7f0d0166; public static final int Theme_MaterialComponents_Light_BottomSheetDialog=0x7f0d0167; public static final int Theme_MaterialComponents_Light_Bridge=0x7f0d0168; public static final int Theme_MaterialComponents_Light_DarkActionBar=0x7f0d0169; public static final int Theme_MaterialComponents_Light_DarkActionBar_Bridge=0x7f0d016a; public static final int Theme_MaterialComponents_Light_Dialog=0x7f0d016b; public static final int Theme_MaterialComponents_Light_Dialog_Alert=0x7f0d016c; public static final int Theme_MaterialComponents_Light_Dialog_MinWidth=0x7f0d016d; public static final int Theme_MaterialComponents_Light_DialogWhenLarge=0x7f0d016e; public static final int Theme_MaterialComponents_Light_NoActionBar=0x7f0d016f; public static final int Theme_MaterialComponents_Light_NoActionBar_Bridge=0x7f0d0170; public static final int Theme_MaterialComponents_NoActionBar=0x7f0d0171; public static final int Theme_MaterialComponents_NoActionBar_Bridge=0x7f0d0172; public static final int ThemeOverlay_AppCompat=0x7f0d0173; public static final int ThemeOverlay_AppCompat_ActionBar=0x7f0d0174; public static final int ThemeOverlay_AppCompat_Dark=0x7f0d0175; public static final int ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0d0176; public static final int ThemeOverlay_AppCompat_Dialog=0x7f0d0177; public static final int ThemeOverlay_AppCompat_Dialog_Alert=0x7f0d0178; public static final int ThemeOverlay_AppCompat_Light=0x7f0d0179; public static final int ThemeOverlay_MaterialComponents=0x7f0d017a; public static final int ThemeOverlay_MaterialComponents_ActionBar=0x7f0d017b; public static final int ThemeOverlay_MaterialComponents_Dark=0x7f0d017c; public static final int ThemeOverlay_MaterialComponents_Dark_ActionBar=0x7f0d017d; public static final int ThemeOverlay_MaterialComponents_Dialog=0x7f0d017e; public static final int ThemeOverlay_MaterialComponents_Dialog_Alert=0x7f0d017f; public static final int ThemeOverlay_MaterialComponents_Light=0x7f0d0180; public static final int ThemeOverlay_MaterialComponents_TextInputEditText=0x7f0d0181; public static final int ThemeOverlay_MaterialComponents_TextInputEditText_FilledBox=0x7f0d0182; public static final int ThemeOverlay_MaterialComponents_TextInputEditText_FilledBox_Dense=0x7f0d0183; public static final int ThemeOverlay_MaterialComponents_TextInputEditText_OutlinedBox=0x7f0d0184; public static final int ThemeOverlay_MaterialComponents_TextInputEditText_OutlinedBox_Dense=0x7f0d0185; public static final int Widget_AppCompat_ActionBar=0x7f0d0186; public static final int Widget_AppCompat_ActionBar_Solid=0x7f0d0187; public static final int Widget_AppCompat_ActionBar_TabBar=0x7f0d0188; public static final int Widget_AppCompat_ActionBar_TabText=0x7f0d0189; public static final int Widget_AppCompat_ActionBar_TabView=0x7f0d018a; public static final int Widget_AppCompat_ActionButton=0x7f0d018b; public static final int Widget_AppCompat_ActionButton_CloseMode=0x7f0d018c; public static final int Widget_AppCompat_ActionButton_Overflow=0x7f0d018d; public static final int Widget_AppCompat_ActionMode=0x7f0d018e; public static final int Widget_AppCompat_ActivityChooserView=0x7f0d018f; public static final int Widget_AppCompat_AutoCompleteTextView=0x7f0d0190; public static final int Widget_AppCompat_Button=0x7f0d0191; public static final int Widget_AppCompat_Button_Borderless=0x7f0d0192; public static final int Widget_AppCompat_Button_Borderless_Colored=0x7f0d0193; public static final int Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0d0194; public static final int Widget_AppCompat_Button_Colored=0x7f0d0195; public static final int Widget_AppCompat_Button_Small=0x7f0d0196; public static final int Widget_AppCompat_ButtonBar=0x7f0d0197; public static final int Widget_AppCompat_ButtonBar_AlertDialog=0x7f0d0198; public static final int Widget_AppCompat_CompoundButton_CheckBox=0x7f0d0199; public static final int Widget_AppCompat_CompoundButton_RadioButton=0x7f0d019a; public static final int Widget_AppCompat_CompoundButton_Switch=0x7f0d019b; public static final int Widget_AppCompat_DrawerArrowToggle=0x7f0d019c; public static final int Widget_AppCompat_DropDownItem_Spinner=0x7f0d019d; public static final int Widget_AppCompat_EditText=0x7f0d019e; public static final int Widget_AppCompat_ImageButton=0x7f0d019f; public static final int Widget_AppCompat_Light_ActionBar=0x7f0d01a0; public static final int Widget_AppCompat_Light_ActionBar_Solid=0x7f0d01a1; public static final int Widget_AppCompat_Light_ActionBar_Solid_Inverse=0x7f0d01a2; public static final int Widget_AppCompat_Light_ActionBar_TabBar=0x7f0d01a3; public static final int Widget_AppCompat_Light_ActionBar_TabBar_Inverse=0x7f0d01a4; public static final int Widget_AppCompat_Light_ActionBar_TabText=0x7f0d01a5; public static final int Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0d01a6; public static final int Widget_AppCompat_Light_ActionBar_TabView=0x7f0d01a7; public static final int Widget_AppCompat_Light_ActionBar_TabView_Inverse=0x7f0d01a8; public static final int Widget_AppCompat_Light_ActionButton=0x7f0d01a9; public static final int Widget_AppCompat_Light_ActionButton_CloseMode=0x7f0d01aa; public static final int Widget_AppCompat_Light_ActionButton_Overflow=0x7f0d01ab; public static final int Widget_AppCompat_Light_ActionMode_Inverse=0x7f0d01ac; public static final int Widget_AppCompat_Light_ActivityChooserView=0x7f0d01ad; public static final int Widget_AppCompat_Light_AutoCompleteTextView=0x7f0d01ae; public static final int Widget_AppCompat_Light_DropDownItem_Spinner=0x7f0d01af; public static final int Widget_AppCompat_Light_ListPopupWindow=0x7f0d01b0; public static final int Widget_AppCompat_Light_ListView_DropDown=0x7f0d01b1; public static final int Widget_AppCompat_Light_PopupMenu=0x7f0d01b2; public static final int Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0d01b3; public static final int Widget_AppCompat_Light_SearchView=0x7f0d01b4; public static final int Widget_AppCompat_Light_Spinner_DropDown_ActionBar=0x7f0d01b5; public static final int Widget_AppCompat_ListMenuView=0x7f0d01b6; public static final int Widget_AppCompat_ListPopupWindow=0x7f0d01b7; public static final int Widget_AppCompat_ListView=0x7f0d01b8; public static final int Widget_AppCompat_ListView_DropDown=0x7f0d01b9; public static final int Widget_AppCompat_ListView_Menu=0x7f0d01ba; public static final int Widget_AppCompat_PopupMenu=0x7f0d01bb; public static final int Widget_AppCompat_PopupMenu_Overflow=0x7f0d01bc; public static final int Widget_AppCompat_PopupWindow=0x7f0d01bd; public static final int Widget_AppCompat_ProgressBar=0x7f0d01be; public static final int Widget_AppCompat_ProgressBar_Horizontal=0x7f0d01bf; public static final int Widget_AppCompat_RatingBar=0x7f0d01c0; public static final int Widget_AppCompat_RatingBar_Indicator=0x7f0d01c1; public static final int Widget_AppCompat_RatingBar_Small=0x7f0d01c2; public static final int Widget_AppCompat_SearchView=0x7f0d01c3; public static final int Widget_AppCompat_SearchView_ActionBar=0x7f0d01c4; public static final int Widget_AppCompat_SeekBar=0x7f0d01c5; public static final int Widget_AppCompat_SeekBar_Discrete=0x7f0d01c6; public static final int Widget_AppCompat_Spinner=0x7f0d01c7; public static final int Widget_AppCompat_Spinner_DropDown=0x7f0d01c8; public static final int Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f0d01c9; public static final int Widget_AppCompat_Spinner_Underlined=0x7f0d01ca; public static final int Widget_AppCompat_TextView_SpinnerItem=0x7f0d01cb; public static final int Widget_AppCompat_Toolbar=0x7f0d01cc; public static final int Widget_AppCompat_Toolbar_Button_Navigation=0x7f0d01cd; public static final int Widget_Compat_NotificationActionContainer=0x7f0d01ce; public static final int Widget_Compat_NotificationActionText=0x7f0d01cf; public static final int Widget_Design_AppBarLayout=0x7f0d01d0; public static final int Widget_Design_BottomNavigationView=0x7f0d01d1; public static final int Widget_Design_BottomSheet_Modal=0x7f0d01d2; public static final int Widget_Design_CollapsingToolbar=0x7f0d01d3; public static final int Widget_Design_FloatingActionButton=0x7f0d01d4; public static final int Widget_Design_NavigationView=0x7f0d01d5; public static final int Widget_Design_ScrimInsetsFrameLayout=0x7f0d01d6; public static final int Widget_Design_Snackbar=0x7f0d01d7; public static final int Widget_Design_TabLayout=0x7f0d01d8; public static final int Widget_Design_TextInputLayout=0x7f0d01d9; public static final int Widget_MaterialComponents_BottomAppBar=0x7f0d01da; public static final int Widget_MaterialComponents_BottomAppBar_Colored=0x7f0d01db; public static final int Widget_MaterialComponents_BottomNavigationView=0x7f0d01dc; public static final int Widget_MaterialComponents_BottomNavigationView_Colored=0x7f0d01dd; public static final int Widget_MaterialComponents_BottomSheet_Modal=0x7f0d01de; public static final int Widget_MaterialComponents_Button=0x7f0d01df; public static final int Widget_MaterialComponents_Button_Icon=0x7f0d01e0; public static final int Widget_MaterialComponents_Button_OutlinedButton=0x7f0d01e1; public static final int Widget_MaterialComponents_Button_OutlinedButton_Icon=0x7f0d01e2; public static final int Widget_MaterialComponents_Button_TextButton=0x7f0d01e3; public static final int Widget_MaterialComponents_Button_TextButton_Dialog=0x7f0d01e4; public static final int Widget_MaterialComponents_Button_TextButton_Dialog_Icon=0x7f0d01e5; public static final int Widget_MaterialComponents_Button_TextButton_Icon=0x7f0d01e6; public static final int Widget_MaterialComponents_Button_UnelevatedButton=0x7f0d01e7; public static final int Widget_MaterialComponents_Button_UnelevatedButton_Icon=0x7f0d01e8; public static final int Widget_MaterialComponents_CardView=0x7f0d01e9; public static final int Widget_MaterialComponents_Chip_Action=0x7f0d01ea; public static final int Widget_MaterialComponents_Chip_Choice=0x7f0d01eb; public static final int Widget_MaterialComponents_Chip_Entry=0x7f0d01ec; public static final int Widget_MaterialComponents_Chip_Filter=0x7f0d01ed; public static final int Widget_MaterialComponents_ChipGroup=0x7f0d01ee; public static final int Widget_MaterialComponents_FloatingActionButton=0x7f0d01ef; public static final int Widget_MaterialComponents_NavigationView=0x7f0d01f0; public static final int Widget_MaterialComponents_Snackbar=0x7f0d01f1; public static final int Widget_MaterialComponents_Snackbar_FullWidth=0x7f0d01f2; public static final int Widget_MaterialComponents_TabLayout=0x7f0d01f3; public static final int Widget_MaterialComponents_TabLayout_Colored=0x7f0d01f4; public static final int Widget_MaterialComponents_TextInputEditText_FilledBox=0x7f0d01f5; public static final int Widget_MaterialComponents_TextInputEditText_FilledBox_Dense=0x7f0d01f6; public static final int Widget_MaterialComponents_TextInputEditText_OutlinedBox=0x7f0d01f7; public static final int Widget_MaterialComponents_TextInputEditText_OutlinedBox_Dense=0x7f0d01f8; public static final int Widget_MaterialComponents_TextInputLayout_FilledBox=0x7f0d01f9; public static final int Widget_MaterialComponents_TextInputLayout_FilledBox_Dense=0x7f0d01fa; public static final int Widget_MaterialComponents_TextInputLayout_OutlinedBox=0x7f0d01fb; public static final int Widget_MaterialComponents_TextInputLayout_OutlinedBox_Dense=0x7f0d01fc; public static final int Widget_MaterialComponents_Toolbar=0x7f0d01fd; public static final int Widget_Support_CoordinatorLayout=0x7f0d01fe; } 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 org.nativescript.MAD2:background}</code></td><td>Specifies a background drawable for the action bar.</td></tr> * <tr><td><code>{@link #ActionBar_backgroundSplit org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:contentInsetEnd}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetEndWithActions org.nativescript.MAD2: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 org.nativescript.MAD2:contentInsetLeft}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetRight org.nativescript.MAD2:contentInsetRight}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetStart org.nativescript.MAD2:contentInsetStart}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #ActionBar_contentInsetStartWithNavigation org.nativescript.MAD2: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 org.nativescript.MAD2:customNavigationLayout}</code></td><td>Specifies a layout for custom navigation.</td></tr> * <tr><td><code>{@link #ActionBar_displayOptions org.nativescript.MAD2:displayOptions}</code></td><td>Options affecting how the action bar is displayed.</td></tr> * <tr><td><code>{@link #ActionBar_divider org.nativescript.MAD2:divider}</code></td><td>Specifies the drawable used for item dividers.</td></tr> * <tr><td><code>{@link #ActionBar_elevation org.nativescript.MAD2:elevation}</code></td><td>Elevation for the action bar itself</td></tr> * <tr><td><code>{@link #ActionBar_height org.nativescript.MAD2:height}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_hideOnContentScroll org.nativescript.MAD2: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 org.nativescript.MAD2:homeAsUpIndicator}</code></td><td>Specifies a drawable to use for the 'home as up' indicator.</td></tr> * <tr><td><code>{@link #ActionBar_homeLayout org.nativescript.MAD2: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 org.nativescript.MAD2:icon}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_indeterminateProgressStyle org.nativescript.MAD2:indeterminateProgressStyle}</code></td><td>Specifies a style resource to use for an indeterminate progress spinner.</td></tr> * <tr><td><code>{@link #ActionBar_itemPadding org.nativescript.MAD2: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 org.nativescript.MAD2:logo}</code></td><td>Specifies the drawable used for the application logo.</td></tr> * <tr><td><code>{@link #ActionBar_navigationMode org.nativescript.MAD2:navigationMode}</code></td><td>The type of navigation to use.</td></tr> * <tr><td><code>{@link #ActionBar_popupTheme org.nativescript.MAD2: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 org.nativescript.MAD2:progressBarPadding}</code></td><td>Specifies the horizontal padding on either end for an embedded progress bar.</td></tr> * <tr><td><code>{@link #ActionBar_progressBarStyle org.nativescript.MAD2:progressBarStyle}</code></td><td>Specifies a style resource to use for an embedded progress bar.</td></tr> * <tr><td><code>{@link #ActionBar_subtitle org.nativescript.MAD2:subtitle}</code></td><td>Specifies subtitle text used for navigationMode="normal"</td></tr> * <tr><td><code>{@link #ActionBar_subtitleTextStyle org.nativescript.MAD2:subtitleTextStyle}</code></td><td>Specifies a style to use for subtitle text.</td></tr> * <tr><td><code>{@link #ActionBar_title org.nativescript.MAD2:title}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_titleTextStyle org.nativescript.MAD2: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={ 0x7f030031, 0x7f030032, 0x7f030033, 0x7f030091, 0x7f030092, 0x7f030093, 0x7f030094, 0x7f030095, 0x7f030096, 0x7f0300a4, 0x7f0300a9, 0x7f0300aa, 0x7f0300b5, 0x7f0300e0, 0x7f0300e5, 0x7f0300ea, 0x7f0300eb, 0x7f0300ed, 0x7f0300f7, 0x7f030101, 0x7f030124, 0x7f030130, 0x7f030141, 0x7f030145, 0x7f030146, 0x7f030176, 0x7f030179, 0x7f0301be, 0x7f0301c8 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:background}</code></td><td>Specifies a background drawable for the action bar.</td></tr> * <tr><td><code>{@link #ActionMode_backgroundSplit org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:height}</code></td><td></td></tr> * <tr><td><code>{@link #ActionMode_subtitleTextStyle org.nativescript.MAD2:subtitleTextStyle}</code></td><td>Specifies a style to use for subtitle text.</td></tr> * <tr><td><code>{@link #ActionMode_titleTextStyle org.nativescript.MAD2: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={ 0x7f030031, 0x7f030032, 0x7f03007e, 0x7f0300e0, 0x7f030179, 0x7f0301c8 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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={ 0x7f0300ba, 0x7f0300f8 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:buttonIconDimen}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_buttonPanelSideLayout org.nativescript.MAD2:buttonPanelSideLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_listItemLayout org.nativescript.MAD2:listItemLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_listLayout org.nativescript.MAD2:listLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_multiChoiceItemLayout org.nativescript.MAD2:multiChoiceItemLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_showTitle org.nativescript.MAD2:showTitle}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_singleChoiceItemLayout org.nativescript.MAD2: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, 0x7f030052, 0x7f030053, 0x7f03011b, 0x7f03011c, 0x7f03012d, 0x7f03015e, 0x7f03015f }; /** * <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 org.nativescript.MAD2.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 org.nativescript.MAD2:buttonIconDimen */ public static final int AlertDialog_buttonIconDimen=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2:buttonPanelSideLayout */ public static final int AlertDialog_buttonPanelSideLayout=2; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2:listItemLayout */ public static final int AlertDialog_listItemLayout=3; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2:listLayout */ public static final int AlertDialog_listLayout=4; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2:multiChoiceItemLayout */ public static final int AlertDialog_multiChoiceItemLayout=5; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2:showTitle */ public static final int AlertDialog_showTitle=6; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 AppBarLayout. * <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 #AppBarLayout_android_background android:background}</code></td><td></td></tr> * <tr><td><code>{@link #AppBarLayout_android_touchscreenBlocksFocus android:touchscreenBlocksFocus}</code></td><td></td></tr> * <tr><td><code>{@link #AppBarLayout_android_keyboardNavigationCluster android:keyboardNavigationCluster}</code></td><td></td></tr> * <tr><td><code>{@link #AppBarLayout_elevation org.nativescript.MAD2:elevation}</code></td><td>Elevation for the action bar itself</td></tr> * <tr><td><code>{@link #AppBarLayout_expanded org.nativescript.MAD2:expanded}</code></td><td></td></tr> * <tr><td><code>{@link #AppBarLayout_liftOnScroll org.nativescript.MAD2:liftOnScroll}</code></td><td></td></tr> * </table> * @see #AppBarLayout_android_background * @see #AppBarLayout_android_touchscreenBlocksFocus * @see #AppBarLayout_android_keyboardNavigationCluster * @see #AppBarLayout_elevation * @see #AppBarLayout_expanded * @see #AppBarLayout_liftOnScroll */ public static final int[] AppBarLayout={ 0x010100d4, 0x0101048f, 0x01010540, 0x7f0300b5, 0x7f0300bb, 0x7f030116 }; /** * <p>This symbol is the offset where the {@link android.R.attr#background} * attribute's value can be found in the {@link #AppBarLayout} 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 AppBarLayout_android_background=0; /** * <p>This symbol is the offset where the {@link android.R.attr#touchscreenBlocksFocus} * attribute's value can be found in the {@link #AppBarLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:touchscreenBlocksFocus */ public static final int AppBarLayout_android_touchscreenBlocksFocus=1; /** * <p>This symbol is the offset where the {@link android.R.attr#keyboardNavigationCluster} * attribute's value can be found in the {@link #AppBarLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:keyboardNavigationCluster */ public static final int AppBarLayout_android_keyboardNavigationCluster=2; /** * <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 org.nativescript.MAD2:elevation */ public static final int AppBarLayout_elevation=3; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#expanded} * attribute's value can be found in the {@link #AppBarLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:expanded */ public static final int AppBarLayout_expanded=4; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#liftOnScroll} * attribute's value can be found in the {@link #AppBarLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:liftOnScroll */ public static final int AppBarLayout_liftOnScroll=5; /** * Attributes that can be used with a AppBarLayoutStates. * <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 #AppBarLayoutStates_state_collapsed org.nativescript.MAD2:state_collapsed}</code></td><td></td></tr> * <tr><td><code>{@link #AppBarLayoutStates_state_collapsible org.nativescript.MAD2:state_collapsible}</code></td><td></td></tr> * <tr><td><code>{@link #AppBarLayoutStates_state_liftable org.nativescript.MAD2:state_liftable}</code></td><td></td></tr> * <tr><td><code>{@link #AppBarLayoutStates_state_lifted org.nativescript.MAD2:state_lifted}</code></td><td></td></tr> * </table> * @see #AppBarLayoutStates_state_collapsed * @see #AppBarLayoutStates_state_collapsible * @see #AppBarLayoutStates_state_liftable * @see #AppBarLayoutStates_state_lifted */ public static final int[] AppBarLayoutStates={ 0x7f03016c, 0x7f03016d, 0x7f03016e, 0x7f03016f }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#state_collapsed} * attribute's value can be found in the {@link #AppBarLayoutStates} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:state_collapsed */ public static final int AppBarLayoutStates_state_collapsed=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#state_collapsible} * attribute's value can be found in the {@link #AppBarLayoutStates} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:state_collapsible */ public static final int AppBarLayoutStates_state_collapsible=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#state_liftable} * attribute's value can be found in the {@link #AppBarLayoutStates} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:state_liftable */ public static final int AppBarLayoutStates_state_liftable=2; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#state_lifted} * attribute's value can be found in the {@link #AppBarLayoutStates} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:state_lifted */ public static final int AppBarLayoutStates_state_lifted=3; /** * Attributes that can be used with a AppBarLayout_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 #AppBarLayout_Layout_layout_scrollFlags org.nativescript.MAD2:layout_scrollFlags}</code></td><td></td></tr> * <tr><td><code>{@link #AppBarLayout_Layout_layout_scrollInterpolator org.nativescript.MAD2:layout_scrollInterpolator}</code></td><td></td></tr> * </table> * @see #AppBarLayout_Layout_layout_scrollFlags * @see #AppBarLayout_Layout_layout_scrollInterpolator */ public static final int[] AppBarLayout_Layout={ 0x7f030114, 0x7f030115 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#layout_scrollFlags} * attribute's value can be found in the {@link #AppBarLayout_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>enterAlways</td><td>4</td><td></td></tr> * <tr><td>enterAlwaysCollapsed</td><td>8</td><td></td></tr> * <tr><td>exitUntilCollapsed</td><td>2</td><td></td></tr> * <tr><td>scroll</td><td>1</td><td></td></tr> * <tr><td>snap</td><td>10</td><td></td></tr> * <tr><td>snapMargins</td><td>20</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:layout_scrollFlags */ public static final int AppBarLayout_Layout_layout_scrollFlags=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#layout_scrollInterpolator} * attribute's value can be found in the {@link #AppBarLayout_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 org.nativescript.MAD2:layout_scrollInterpolator */ public static final int AppBarLayout_Layout_layout_scrollInterpolator=1; /** * 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 org.nativescript.MAD2:srcCompat}</code></td><td>Sets a drawable as the content of this ImageView.</td></tr> * <tr><td><code>{@link #AppCompatImageView_tint org.nativescript.MAD2:tint}</code></td><td>Tint to apply to the image source.</td></tr> * <tr><td><code>{@link #AppCompatImageView_tintMode org.nativescript.MAD2: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, 0x7f030169, 0x7f0301bc, 0x7f0301bd }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:tickMark}</code></td><td>Drawable displayed at each progress position on a seekbar.</td></tr> * <tr><td><code>{@link #AppCompatSeekBar_tickMarkTint org.nativescript.MAD2:tickMarkTint}</code></td><td>Tint to apply to the tick mark drawable.</td></tr> * <tr><td><code>{@link #AppCompatSeekBar_tickMarkTintMode org.nativescript.MAD2: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, 0x7f0301b9, 0x7f0301ba, 0x7f0301bb }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:autoSizeMaxTextSize}</code></td><td>The maximum text size constraint to be used when auto-sizing text.</td></tr> * <tr><td><code>{@link #AppCompatTextView_autoSizeMinTextSize org.nativescript.MAD2:autoSizeMinTextSize}</code></td><td>The minimum text size constraint to be used when auto-sizing text.</td></tr> * <tr><td><code>{@link #AppCompatTextView_autoSizePresetSizes org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:autoSizeTextType}</code></td><td>Specify the type of auto-size.</td></tr> * <tr><td><code>{@link #AppCompatTextView_firstBaselineToTopHeight org.nativescript.MAD2:firstBaselineToTopHeight}</code></td><td>Distance from the top of the TextView to the first text baseline.</td></tr> * <tr><td><code>{@link #AppCompatTextView_fontFamily org.nativescript.MAD2:fontFamily}</code></td><td>The attribute for the font family.</td></tr> * <tr><td><code>{@link #AppCompatTextView_lastBaselineToBottomHeight org.nativescript.MAD2:lastBaselineToBottomHeight}</code></td><td>Distance from the bottom of the TextView to the last text baseline.</td></tr> * <tr><td><code>{@link #AppCompatTextView_lineHeight org.nativescript.MAD2:lineHeight}</code></td><td>Explicit height between lines of text.</td></tr> * <tr><td><code>{@link #AppCompatTextView_textAllCaps org.nativescript.MAD2: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, 0x7f03002c, 0x7f03002d, 0x7f03002e, 0x7f03002f, 0x7f030030, 0x7f0300cf, 0x7f0300d2, 0x7f030109, 0x7f030117, 0x7f030199 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:actionBarDivider}</code></td><td>Custom divider drawable to use for elements in the action bar.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarItemBackground org.nativescript.MAD2:actionBarItemBackground}</code></td><td>Custom item state list drawable background for action bar items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarPopupTheme org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:actionBarSplitStyle}</code></td><td>Reference to a style for the split Action Bar.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarStyle org.nativescript.MAD2:actionBarStyle}</code></td><td>Reference to a style for the Action Bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTabBarStyle org.nativescript.MAD2:actionBarTabBarStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTabStyle org.nativescript.MAD2:actionBarTabStyle}</code></td><td>Default style for tabs within an action bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTabTextStyle org.nativescript.MAD2:actionBarTabTextStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTheme org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:actionButtonStyle}</code></td><td>Default action button style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionDropDownStyle org.nativescript.MAD2:actionDropDownStyle}</code></td><td>Default ActionBar dropdown style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionMenuTextAppearance org.nativescript.MAD2: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 org.nativescript.MAD2:actionMenuTextColor}</code></td><td>Color for text that appears within action menu items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeBackground org.nativescript.MAD2:actionModeBackground}</code></td><td>Background drawable to use for action mode UI</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCloseButtonStyle org.nativescript.MAD2:actionModeCloseButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCloseDrawable org.nativescript.MAD2:actionModeCloseDrawable}</code></td><td>Drawable to use for the close action mode button</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCopyDrawable org.nativescript.MAD2:actionModeCopyDrawable}</code></td><td>Drawable to use for the Copy action button in Contextual Action Bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCutDrawable org.nativescript.MAD2:actionModeCutDrawable}</code></td><td>Drawable to use for the Cut action button in Contextual Action Bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeFindDrawable org.nativescript.MAD2: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 org.nativescript.MAD2:actionModePasteDrawable}</code></td><td>Drawable to use for the Paste action button in Contextual Action Bar</td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModePopupWindowStyle org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:actionModeStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeWebSearchDrawable org.nativescript.MAD2: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 org.nativescript.MAD2:actionOverflowButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionOverflowMenuStyle org.nativescript.MAD2:actionOverflowMenuStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_activityChooserViewStyle org.nativescript.MAD2:activityChooserViewStyle}</code></td><td>Default ActivityChooserView style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogButtonGroupStyle org.nativescript.MAD2:alertDialogButtonGroupStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogCenterButtons org.nativescript.MAD2:alertDialogCenterButtons}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogStyle org.nativescript.MAD2:alertDialogStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogTheme org.nativescript.MAD2:alertDialogTheme}</code></td><td>Theme to use for alert dialogs spawned from this theme.</td></tr> * <tr><td><code>{@link #AppCompatTheme_autoCompleteTextViewStyle org.nativescript.MAD2:autoCompleteTextViewStyle}</code></td><td>Default AutoCompleteTextView style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_borderlessButtonStyle org.nativescript.MAD2:borderlessButtonStyle}</code></td><td>Style for buttons without an explicit border, often used in groups.</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarButtonStyle org.nativescript.MAD2:buttonBarButtonStyle}</code></td><td>Style for buttons within button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarNegativeButtonStyle org.nativescript.MAD2:buttonBarNegativeButtonStyle}</code></td><td>Style for the "negative" buttons within button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarNeutralButtonStyle org.nativescript.MAD2:buttonBarNeutralButtonStyle}</code></td><td>Style for the "neutral" buttons within button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarPositiveButtonStyle org.nativescript.MAD2:buttonBarPositiveButtonStyle}</code></td><td>Style for the "positive" buttons within button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarStyle org.nativescript.MAD2:buttonBarStyle}</code></td><td>Style for button bars</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonStyle org.nativescript.MAD2:buttonStyle}</code></td><td>Normal Button style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonStyleSmall org.nativescript.MAD2:buttonStyleSmall}</code></td><td>Small Button style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_checkboxStyle org.nativescript.MAD2:checkboxStyle}</code></td><td>Default Checkbox style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_checkedTextViewStyle org.nativescript.MAD2:checkedTextViewStyle}</code></td><td>Default CheckedTextView style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorAccent org.nativescript.MAD2:colorAccent}</code></td><td>Bright complement to the primary branding color.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorBackgroundFloating org.nativescript.MAD2:colorBackgroundFloating}</code></td><td>Default color of background imagery for floating components, ex.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorButtonNormal org.nativescript.MAD2:colorButtonNormal}</code></td><td>The color applied to framework buttons in their normal state.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorControlActivated org.nativescript.MAD2:colorControlActivated}</code></td><td>The color applied to framework controls in their activated (ex.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorControlHighlight org.nativescript.MAD2:colorControlHighlight}</code></td><td>The color applied to framework control highlights (ex.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorControlNormal org.nativescript.MAD2:colorControlNormal}</code></td><td>The color applied to framework controls in their normal state.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorError org.nativescript.MAD2: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 org.nativescript.MAD2:colorPrimary}</code></td><td>The primary branding color for the app.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorPrimaryDark org.nativescript.MAD2:colorPrimaryDark}</code></td><td>Dark variant of the primary branding color.</td></tr> * <tr><td><code>{@link #AppCompatTheme_colorSwitchThumbNormal org.nativescript.MAD2:colorSwitchThumbNormal}</code></td><td>The color applied to framework switch thumbs in their normal state.</td></tr> * <tr><td><code>{@link #AppCompatTheme_controlBackground org.nativescript.MAD2:controlBackground}</code></td><td>The background used by framework controls.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dialogCornerRadius org.nativescript.MAD2:dialogCornerRadius}</code></td><td>Preferred corner radius of dialogs.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dialogPreferredPadding org.nativescript.MAD2:dialogPreferredPadding}</code></td><td>Preferred padding for dialog content.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dialogTheme org.nativescript.MAD2:dialogTheme}</code></td><td>Theme to use for dialogs spawned from this theme.</td></tr> * <tr><td><code>{@link #AppCompatTheme_dividerHorizontal org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:dropDownListViewStyle}</code></td><td>ListPopupWindow compatibility</td></tr> * <tr><td><code>{@link #AppCompatTheme_dropdownListPreferredItemHeight org.nativescript.MAD2:dropdownListPreferredItemHeight}</code></td><td>The preferred item height for dropdown lists.</td></tr> * <tr><td><code>{@link #AppCompatTheme_editTextBackground org.nativescript.MAD2:editTextBackground}</code></td><td>EditText background drawable.</td></tr> * <tr><td><code>{@link #AppCompatTheme_editTextColor org.nativescript.MAD2:editTextColor}</code></td><td>EditText text foreground color.</td></tr> * <tr><td><code>{@link #AppCompatTheme_editTextStyle org.nativescript.MAD2:editTextStyle}</code></td><td>Default EditText style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_homeAsUpIndicator org.nativescript.MAD2:homeAsUpIndicator}</code></td><td>Specifies a drawable to use for the 'home as up' indicator.</td></tr> * <tr><td><code>{@link #AppCompatTheme_imageButtonStyle org.nativescript.MAD2:imageButtonStyle}</code></td><td>ImageButton background drawable.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listChoiceBackgroundIndicator org.nativescript.MAD2:listChoiceBackgroundIndicator}</code></td><td>Drawable used as a background for selected list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listDividerAlertDialog org.nativescript.MAD2:listDividerAlertDialog}</code></td><td>The list divider used in alert dialogs.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listMenuViewStyle org.nativescript.MAD2:listMenuViewStyle}</code></td><td>Default menu-style ListView style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPopupWindowStyle org.nativescript.MAD2:listPopupWindowStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemHeight org.nativescript.MAD2:listPreferredItemHeight}</code></td><td>The preferred list item height.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightLarge org.nativescript.MAD2:listPreferredItemHeightLarge}</code></td><td>A larger, more robust list item height.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightSmall org.nativescript.MAD2:listPreferredItemHeightSmall}</code></td><td>A smaller, sleeker list item height.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingLeft org.nativescript.MAD2:listPreferredItemPaddingLeft}</code></td><td>The preferred padding along the left edge of list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingRight org.nativescript.MAD2:listPreferredItemPaddingRight}</code></td><td>The preferred padding along the right edge of list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_panelBackground org.nativescript.MAD2: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 org.nativescript.MAD2:panelMenuListTheme}</code></td><td>Default Panel Menu style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_panelMenuListWidth org.nativescript.MAD2:panelMenuListWidth}</code></td><td>Default Panel Menu width.</td></tr> * <tr><td><code>{@link #AppCompatTheme_popupMenuStyle org.nativescript.MAD2:popupMenuStyle}</code></td><td>Default PopupMenu style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_popupWindowStyle org.nativescript.MAD2:popupWindowStyle}</code></td><td>Default PopupWindow style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_radioButtonStyle org.nativescript.MAD2:radioButtonStyle}</code></td><td>Default RadioButton style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_ratingBarStyle org.nativescript.MAD2:ratingBarStyle}</code></td><td>Default RatingBar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_ratingBarStyleIndicator org.nativescript.MAD2:ratingBarStyleIndicator}</code></td><td>Indicator RatingBar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_ratingBarStyleSmall org.nativescript.MAD2:ratingBarStyleSmall}</code></td><td>Small indicator RatingBar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_searchViewStyle org.nativescript.MAD2:searchViewStyle}</code></td><td>Style for the search query widget.</td></tr> * <tr><td><code>{@link #AppCompatTheme_seekBarStyle org.nativescript.MAD2:seekBarStyle}</code></td><td>Default SeekBar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_selectableItemBackground org.nativescript.MAD2: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 org.nativescript.MAD2:selectableItemBackgroundBorderless}</code></td><td>Background drawable for borderless standalone items that need focus/pressed states.</td></tr> * <tr><td><code>{@link #AppCompatTheme_spinnerDropDownItemStyle org.nativescript.MAD2:spinnerDropDownItemStyle}</code></td><td>Default Spinner style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_spinnerStyle org.nativescript.MAD2:spinnerStyle}</code></td><td>Default Spinner style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_switchStyle org.nativescript.MAD2:switchStyle}</code></td><td>Default style for the Switch widget.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceLargePopupMenu org.nativescript.MAD2: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 org.nativescript.MAD2:textAppearanceListItem}</code></td><td>The preferred TextAppearance for the primary text of list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceListItemSecondary org.nativescript.MAD2:textAppearanceListItemSecondary}</code></td><td>The preferred TextAppearance for the secondary text of list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceListItemSmall org.nativescript.MAD2:textAppearanceListItemSmall}</code></td><td>The preferred TextAppearance for the primary text of small list items.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearancePopupMenuHeader org.nativescript.MAD2: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 org.nativescript.MAD2:textAppearanceSearchResultSubtitle}</code></td><td>Text color, typeface, size, and style for system search result subtitle.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultTitle org.nativescript.MAD2:textAppearanceSearchResultTitle}</code></td><td>Text color, typeface, size, and style for system search result title.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceSmallPopupMenu org.nativescript.MAD2: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 org.nativescript.MAD2:textColorAlertDialogListItem}</code></td><td>Color of list item text in alert dialogs.</td></tr> * <tr><td><code>{@link #AppCompatTheme_textColorSearchUrl org.nativescript.MAD2: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 org.nativescript.MAD2:toolbarNavigationButtonStyle}</code></td><td>Default Toolar NavigationButtonStyle</td></tr> * <tr><td><code>{@link #AppCompatTheme_toolbarStyle org.nativescript.MAD2:toolbarStyle}</code></td><td>Default Toolbar style.</td></tr> * <tr><td><code>{@link #AppCompatTheme_tooltipForegroundColor org.nativescript.MAD2:tooltipForegroundColor}</code></td><td>Foreground color to use for tooltips</td></tr> * <tr><td><code>{@link #AppCompatTheme_tooltipFrameBackground org.nativescript.MAD2:tooltipFrameBackground}</code></td><td>Background to use for tooltips</td></tr> * <tr><td><code>{@link #AppCompatTheme_viewInflaterClass org.nativescript.MAD2:viewInflaterClass}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowActionBar org.nativescript.MAD2: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 org.nativescript.MAD2:windowActionBarOverlay}</code></td><td>Flag indicating whether this window's Action Bar should overlay * application content.</td></tr> * <tr><td><code>{@link #AppCompatTheme_windowActionModeOverlay org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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, 0x7f030000, 0x7f030001, 0x7f030002, 0x7f030003, 0x7f030004, 0x7f030005, 0x7f030006, 0x7f030007, 0x7f030008, 0x7f030009, 0x7f03000a, 0x7f03000b, 0x7f03000c, 0x7f03000e, 0x7f03000f, 0x7f030010, 0x7f030011, 0x7f030012, 0x7f030013, 0x7f030014, 0x7f030015, 0x7f030016, 0x7f030017, 0x7f030018, 0x7f030019, 0x7f03001a, 0x7f03001b, 0x7f03001c, 0x7f03001d, 0x7f03001e, 0x7f030021, 0x7f030022, 0x7f030023, 0x7f030024, 0x7f030025, 0x7f03002b, 0x7f03003e, 0x7f03004c, 0x7f03004d, 0x7f03004e, 0x7f03004f, 0x7f030050, 0x7f030054, 0x7f030055, 0x7f03005f, 0x7f030064, 0x7f030084, 0x7f030085, 0x7f030086, 0x7f030087, 0x7f030088, 0x7f030089, 0x7f03008a, 0x7f03008b, 0x7f03008c, 0x7f03008e, 0x7f03009d, 0x7f0300a6, 0x7f0300a7, 0x7f0300a8, 0x7f0300ab, 0x7f0300ad, 0x7f0300b0, 0x7f0300b1, 0x7f0300b2, 0x7f0300b3, 0x7f0300b4, 0x7f0300ea, 0x7f0300f6, 0x7f030119, 0x7f03011a, 0x7f03011d, 0x7f03011e, 0x7f03011f, 0x7f030120, 0x7f030121, 0x7f030122, 0x7f030123, 0x7f030138, 0x7f030139, 0x7f03013a, 0x7f030140, 0x7f030142, 0x7f03014a, 0x7f03014b, 0x7f03014c, 0x7f03014d, 0x7f030156, 0x7f030157, 0x7f030158, 0x7f030159, 0x7f030166, 0x7f030167, 0x7f03017d, 0x7f0301a4, 0x7f0301a5, 0x7f0301a6, 0x7f0301a7, 0x7f0301a9, 0x7f0301aa, 0x7f0301ab, 0x7f0301ac, 0x7f0301af, 0x7f0301b0, 0x7f0301ca, 0x7f0301cb, 0x7f0301cc, 0x7f0301cd, 0x7f0301d4, 0x7f0301d6, 0x7f0301d7, 0x7f0301d8, 0x7f0301d9, 0x7f0301da, 0x7f0301db, 0x7f0301dc, 0x7f0301dd, 0x7f0301de, 0x7f0301df }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:actionBarStyle */ public static final int AppCompatTheme_actionBarStyle=7; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2:actionBarTabStyle */ public static final int AppCompatTheme_actionBarTabStyle=9; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:actionModeBackground */ public static final int AppCompatTheme_actionModeBackground=17; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:actionModeSplitBackground */ public static final int AppCompatTheme_actionModeSplitBackground=27; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2:actionModeWebSearchDrawable */ public static final int AppCompatTheme_actionModeWebSearchDrawable=29; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2:actionOverflowButtonStyle */ public static final int AppCompatTheme_actionOverflowButtonStyle=30; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2:activityChooserViewStyle */ public static final int AppCompatTheme_activityChooserViewStyle=32; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2:alertDialogButtonGroupStyle */ public static final int AppCompatTheme_alertDialogButtonGroupStyle=33; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2:alertDialogCenterButtons */ public static final int AppCompatTheme_alertDialogCenterButtons=34; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:listMenuViewStyle */ public static final int AppCompatTheme_listMenuViewStyle=73; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:tooltipFrameBackground */ public static final int AppCompatTheme_tooltipFrameBackground=109; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:windowNoTitle */ public static final int AppCompatTheme_windowNoTitle=120; /** * Attributes that can be used with a BottomAppBar. * <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 #BottomAppBar_backgroundTint org.nativescript.MAD2:backgroundTint}</code></td><td>Tint to apply to the background.</td></tr> * <tr><td><code>{@link #BottomAppBar_fabAlignmentMode org.nativescript.MAD2:fabAlignmentMode}</code></td><td></td></tr> * <tr><td><code>{@link #BottomAppBar_fabCradleMargin org.nativescript.MAD2:fabCradleMargin}</code></td><td></td></tr> * <tr><td><code>{@link #BottomAppBar_fabCradleRoundedCornerRadius org.nativescript.MAD2:fabCradleRoundedCornerRadius}</code></td><td></td></tr> * <tr><td><code>{@link #BottomAppBar_fabCradleVerticalOffset org.nativescript.MAD2:fabCradleVerticalOffset}</code></td><td></td></tr> * <tr><td><code>{@link #BottomAppBar_hideOnScroll org.nativescript.MAD2:hideOnScroll}</code></td><td></td></tr> * </table> * @see #BottomAppBar_backgroundTint * @see #BottomAppBar_fabAlignmentMode * @see #BottomAppBar_fabCradleMargin * @see #BottomAppBar_fabCradleRoundedCornerRadius * @see #BottomAppBar_fabCradleVerticalOffset * @see #BottomAppBar_hideOnScroll */ public static final int[] BottomAppBar={ 0x7f030034, 0x7f0300c3, 0x7f0300c4, 0x7f0300c5, 0x7f0300c6, 0x7f0300e6 }; /** * <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 org.nativescript.MAD2:backgroundTint */ public static final int BottomAppBar_backgroundTint=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#fabAlignmentMode} * attribute's value can be found in the {@link #BottomAppBar} 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>center</td><td>0</td><td></td></tr> * <tr><td>end</td><td>1</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:fabAlignmentMode */ public static final int BottomAppBar_fabAlignmentMode=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#fabCradleMargin} * attribute's value can be found in the {@link #BottomAppBar} 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 org.nativescript.MAD2:fabCradleMargin */ public static final int BottomAppBar_fabCradleMargin=2; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#fabCradleRoundedCornerRadius} * attribute's value can be found in the {@link #BottomAppBar} 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 org.nativescript.MAD2:fabCradleRoundedCornerRadius */ public static final int BottomAppBar_fabCradleRoundedCornerRadius=3; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#fabCradleVerticalOffset} * attribute's value can be found in the {@link #BottomAppBar} 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 org.nativescript.MAD2:fabCradleVerticalOffset */ public static final int BottomAppBar_fabCradleVerticalOffset=4; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#hideOnScroll} * attribute's value can be found in the {@link #BottomAppBar} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:hideOnScroll */ public static final int BottomAppBar_hideOnScroll=5; /** * Attributes that can be used with a BottomNavigationView. * <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 #BottomNavigationView_elevation org.nativescript.MAD2:elevation}</code></td><td>Elevation for the action bar itself</td></tr> * <tr><td><code>{@link #BottomNavigationView_itemBackground org.nativescript.MAD2:itemBackground}</code></td><td></td></tr> * <tr><td><code>{@link #BottomNavigationView_itemHorizontalTranslationEnabled org.nativescript.MAD2:itemHorizontalTranslationEnabled}</code></td><td></td></tr> * <tr><td><code>{@link #BottomNavigationView_itemIconSize org.nativescript.MAD2:itemIconSize}</code></td><td></td></tr> * <tr><td><code>{@link #BottomNavigationView_itemIconTint org.nativescript.MAD2:itemIconTint}</code></td><td></td></tr> * <tr><td><code>{@link #BottomNavigationView_itemTextAppearanceActive org.nativescript.MAD2:itemTextAppearanceActive}</code></td><td></td></tr> * <tr><td><code>{@link #BottomNavigationView_itemTextAppearanceInactive org.nativescript.MAD2:itemTextAppearanceInactive}</code></td><td></td></tr> * <tr><td><code>{@link #BottomNavigationView_itemTextColor org.nativescript.MAD2:itemTextColor}</code></td><td></td></tr> * <tr><td><code>{@link #BottomNavigationView_labelVisibilityMode org.nativescript.MAD2:labelVisibilityMode}</code></td><td></td></tr> * <tr><td><code>{@link #BottomNavigationView_menu org.nativescript.MAD2:menu}</code></td><td></td></tr> * </table> * @see #BottomNavigationView_elevation * @see #BottomNavigationView_itemBackground * @see #BottomNavigationView_itemHorizontalTranslationEnabled * @see #BottomNavigationView_itemIconSize * @see #BottomNavigationView_itemIconTint * @see #BottomNavigationView_itemTextAppearanceActive * @see #BottomNavigationView_itemTextAppearanceInactive * @see #BottomNavigationView_itemTextColor * @see #BottomNavigationView_labelVisibilityMode * @see #BottomNavigationView_menu */ public static final int[] BottomNavigationView={ 0x7f0300b5, 0x7f0300fb, 0x7f0300fd, 0x7f0300ff, 0x7f030100, 0x7f030104, 0x7f030105, 0x7f030106, 0x7f030108, 0x7f03012c }; /** * <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 org.nativescript.MAD2:elevation */ public static final int BottomNavigationView_elevation=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemBackground} * attribute's value can be found in the {@link #BottomNavigationView} 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 org.nativescript.MAD2:itemBackground */ public static final int BottomNavigationView_itemBackground=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemHorizontalTranslationEnabled} * attribute's value can be found in the {@link #BottomNavigationView} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:itemHorizontalTranslationEnabled */ public static final int BottomNavigationView_itemHorizontalTranslationEnabled=2; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemIconSize} * attribute's value can be found in the {@link #BottomNavigationView} 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 org.nativescript.MAD2:itemIconSize */ public static final int BottomNavigationView_itemIconSize=3; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemIconTint} * attribute's value can be found in the {@link #BottomNavigationView} 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 org.nativescript.MAD2:itemIconTint */ public static final int BottomNavigationView_itemIconTint=4; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemTextAppearanceActive} * attribute's value can be found in the {@link #BottomNavigationView} 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 org.nativescript.MAD2:itemTextAppearanceActive */ public static final int BottomNavigationView_itemTextAppearanceActive=5; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemTextAppearanceInactive} * attribute's value can be found in the {@link #BottomNavigationView} 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 org.nativescript.MAD2:itemTextAppearanceInactive */ public static final int BottomNavigationView_itemTextAppearanceInactive=6; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemTextColor} * attribute's value can be found in the {@link #BottomNavigationView} 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 org.nativescript.MAD2:itemTextColor */ public static final int BottomNavigationView_itemTextColor=7; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#labelVisibilityMode} * attribute's value can be found in the {@link #BottomNavigationView} 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>auto</td><td>ffffffff</td><td></td></tr> * <tr><td>labeled</td><td>1</td><td></td></tr> * <tr><td>selected</td><td>0</td><td></td></tr> * <tr><td>unlabeled</td><td>2</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:labelVisibilityMode */ public static final int BottomNavigationView_labelVisibilityMode=8; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#menu} * attribute's value can be found in the {@link #BottomNavigationView} 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 org.nativescript.MAD2:menu */ public static final int BottomNavigationView_menu=9; /** * Attributes that can be used with a BottomSheetBehavior_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 #BottomSheetBehavior_Layout_behavior_fitToContents org.nativescript.MAD2:behavior_fitToContents}</code></td><td></td></tr> * <tr><td><code>{@link #BottomSheetBehavior_Layout_behavior_hideable org.nativescript.MAD2:behavior_hideable}</code></td><td></td></tr> * <tr><td><code>{@link #BottomSheetBehavior_Layout_behavior_peekHeight org.nativescript.MAD2:behavior_peekHeight}</code></td><td></td></tr> * <tr><td><code>{@link #BottomSheetBehavior_Layout_behavior_skipCollapsed org.nativescript.MAD2:behavior_skipCollapsed}</code></td><td></td></tr> * </table> * @see #BottomSheetBehavior_Layout_behavior_fitToContents * @see #BottomSheetBehavior_Layout_behavior_hideable * @see #BottomSheetBehavior_Layout_behavior_peekHeight * @see #BottomSheetBehavior_Layout_behavior_skipCollapsed */ public static final int[] BottomSheetBehavior_Layout={ 0x7f030038, 0x7f030039, 0x7f03003b, 0x7f03003c }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#behavior_fitToContents} * attribute's value can be found in the {@link #BottomSheetBehavior_Layout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:behavior_fitToContents */ public static final int BottomSheetBehavior_Layout_behavior_fitToContents=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#behavior_hideable} * attribute's value can be found in the {@link #BottomSheetBehavior_Layout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:behavior_hideable */ public static final int BottomSheetBehavior_Layout_behavior_hideable=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#behavior_peekHeight} * attribute's value can be found in the {@link #BottomSheetBehavior_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>auto</td><td>ffffffff</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:behavior_peekHeight */ public static final int BottomSheetBehavior_Layout_behavior_peekHeight=2; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#behavior_skipCollapsed} * attribute's value can be found in the {@link #BottomSheetBehavior_Layout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:behavior_skipCollapsed */ public static final int BottomSheetBehavior_Layout_behavior_skipCollapsed=3; /** * 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 org.nativescript.MAD2: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={ 0x7f030026 }; /** * <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 org.nativescript.MAD2:allowStacking */ public static final int ButtonBarLayout_allowStacking=0; /** * Attributes that can be used with a CardView. * <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 #CardView_android_minWidth android:minWidth}</code></td><td></td></tr> * <tr><td><code>{@link #CardView_android_minHeight android:minHeight}</code></td><td></td></tr> * <tr><td><code>{@link #CardView_cardBackgroundColor org.nativescript.MAD2:cardBackgroundColor}</code></td><td>Background color for CardView.</td></tr> * <tr><td><code>{@link #CardView_cardCornerRadius org.nativescript.MAD2:cardCornerRadius}</code></td><td>Corner radius for CardView.</td></tr> * <tr><td><code>{@link #CardView_cardElevation org.nativescript.MAD2:cardElevation}</code></td><td>Elevation for CardView.</td></tr> * <tr><td><code>{@link #CardView_cardMaxElevation org.nativescript.MAD2:cardMaxElevation}</code></td><td>Maximum Elevation for CardView.</td></tr> * <tr><td><code>{@link #CardView_cardPreventCornerOverlap org.nativescript.MAD2:cardPreventCornerOverlap}</code></td><td>Add padding to CardView on v20 and before to prevent intersections between the Card content and rounded corners.</td></tr> * <tr><td><code>{@link #CardView_cardUseCompatPadding org.nativescript.MAD2:cardUseCompatPadding}</code></td><td>Add padding in API v21+ as well to have the same measurements with previous versions.</td></tr> * <tr><td><code>{@link #CardView_contentPadding org.nativescript.MAD2:contentPadding}</code></td><td>Inner padding between the edges of the Card and children of the CardView.</td></tr> * <tr><td><code>{@link #CardView_contentPaddingBottom org.nativescript.MAD2:contentPaddingBottom}</code></td><td>Inner padding between the bottom edge of the Card and children of the CardView.</td></tr> * <tr><td><code>{@link #CardView_contentPaddingLeft org.nativescript.MAD2:contentPaddingLeft}</code></td><td>Inner padding between the left edge of the Card and children of the CardView.</td></tr> * <tr><td><code>{@link #CardView_contentPaddingRight org.nativescript.MAD2:contentPaddingRight}</code></td><td>Inner padding between the right edge of the Card and children of the CardView.</td></tr> * <tr><td><code>{@link #CardView_contentPaddingTop org.nativescript.MAD2:contentPaddingTop}</code></td><td>Inner padding between the top edge of the Card and children of the CardView.</td></tr> * </table> * @see #CardView_android_minWidth * @see #CardView_android_minHeight * @see #CardView_cardBackgroundColor * @see #CardView_cardCornerRadius * @see #CardView_cardElevation * @see #CardView_cardMaxElevation * @see #CardView_cardPreventCornerOverlap * @see #CardView_cardUseCompatPadding * @see #CardView_contentPadding * @see #CardView_contentPaddingBottom * @see #CardView_contentPaddingLeft * @see #CardView_contentPaddingRight * @see #CardView_contentPaddingTop */ public static final int[] CardView={ 0x0101013f, 0x01010140, 0x7f030058, 0x7f030059, 0x7f03005a, 0x7f03005b, 0x7f03005c, 0x7f03005d, 0x7f030097, 0x7f030098, 0x7f030099, 0x7f03009a, 0x7f03009b }; /** * <p> * @attr description * Workaround to read user defined minimum 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 android:minWidth */ public static final int CardView_android_minWidth=0; /** * <p> * @attr description * Workaround to read user defined minimum 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 android:minHeight */ public static final int CardView_android_minHeight=1; /** * <p> * @attr description * Background color for CardView. * * <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 org.nativescript.MAD2:cardBackgroundColor */ public static final int CardView_cardBackgroundColor=2; /** * <p> * @attr description * Corner radius for CardView. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 org.nativescript.MAD2:cardCornerRadius */ public static final int CardView_cardCornerRadius=3; /** * <p> * @attr description * Elevation for CardView. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 org.nativescript.MAD2:cardElevation */ public static final int CardView_cardElevation=4; /** * <p> * @attr description * Maximum Elevation for CardView. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 org.nativescript.MAD2:cardMaxElevation */ public static final int CardView_cardMaxElevation=5; /** * <p> * @attr description * Add padding to CardView on v20 and before to prevent intersections between the Card content and rounded corners. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:cardPreventCornerOverlap */ public static final int CardView_cardPreventCornerOverlap=6; /** * <p> * @attr description * Add padding in API v21+ as well to have the same measurements with previous versions. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:cardUseCompatPadding */ public static final int CardView_cardUseCompatPadding=7; /** * <p> * @attr description * Inner padding between the edges of the Card and children of the CardView. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 org.nativescript.MAD2:contentPadding */ public static final int CardView_contentPadding=8; /** * <p> * @attr description * Inner padding between the bottom edge of the Card and children of the CardView. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 org.nativescript.MAD2:contentPaddingBottom */ public static final int CardView_contentPaddingBottom=9; /** * <p> * @attr description * Inner padding between the left edge of the Card and children of the CardView. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 org.nativescript.MAD2:contentPaddingLeft */ public static final int CardView_contentPaddingLeft=10; /** * <p> * @attr description * Inner padding between the right edge of the Card and children of the CardView. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 org.nativescript.MAD2:contentPaddingRight */ public static final int CardView_contentPaddingRight=11; /** * <p> * @attr description * Inner padding between the top edge of the Card and children of the CardView. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.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 org.nativescript.MAD2:contentPaddingTop */ public static final int CardView_contentPaddingTop=12; /** * Attributes that can be used with a Chip. * <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 #Chip_android_textAppearance android:textAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_android_ellipsize android:ellipsize}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_android_maxWidth android:maxWidth}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_android_text android:text}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_android_checkable android:checkable}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_checkedIcon org.nativescript.MAD2:checkedIcon}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_checkedIconEnabled org.nativescript.MAD2:checkedIconEnabled}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_checkedIconVisible org.nativescript.MAD2:checkedIconVisible}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_chipBackgroundColor org.nativescript.MAD2:chipBackgroundColor}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_chipCornerRadius org.nativescript.MAD2:chipCornerRadius}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_chipEndPadding org.nativescript.MAD2:chipEndPadding}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_chipIcon org.nativescript.MAD2:chipIcon}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_chipIconEnabled org.nativescript.MAD2:chipIconEnabled}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_chipIconSize org.nativescript.MAD2:chipIconSize}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_chipIconTint org.nativescript.MAD2:chipIconTint}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_chipIconVisible org.nativescript.MAD2:chipIconVisible}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_chipMinHeight org.nativescript.MAD2:chipMinHeight}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_chipStartPadding org.nativescript.MAD2:chipStartPadding}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_chipStrokeColor org.nativescript.MAD2:chipStrokeColor}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_chipStrokeWidth org.nativescript.MAD2:chipStrokeWidth}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_closeIcon org.nativescript.MAD2:closeIcon}</code></td><td>Close button icon</td></tr> * <tr><td><code>{@link #Chip_closeIconEnabled org.nativescript.MAD2:closeIconEnabled}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_closeIconEndPadding org.nativescript.MAD2:closeIconEndPadding}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_closeIconSize org.nativescript.MAD2:closeIconSize}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_closeIconStartPadding org.nativescript.MAD2:closeIconStartPadding}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_closeIconTint org.nativescript.MAD2:closeIconTint}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_closeIconVisible org.nativescript.MAD2:closeIconVisible}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_hideMotionSpec org.nativescript.MAD2:hideMotionSpec}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_iconEndPadding org.nativescript.MAD2:iconEndPadding}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_iconStartPadding org.nativescript.MAD2:iconStartPadding}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_rippleColor org.nativescript.MAD2:rippleColor}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_showMotionSpec org.nativescript.MAD2:showMotionSpec}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_textEndPadding org.nativescript.MAD2:textEndPadding}</code></td><td></td></tr> * <tr><td><code>{@link #Chip_textStartPadding org.nativescript.MAD2:textStartPadding}</code></td><td></td></tr> * </table> * @see #Chip_android_textAppearance * @see #Chip_android_ellipsize * @see #Chip_android_maxWidth * @see #Chip_android_text * @see #Chip_android_checkable * @see #Chip_checkedIcon * @see #Chip_checkedIconEnabled * @see #Chip_checkedIconVisible * @see #Chip_chipBackgroundColor * @see #Chip_chipCornerRadius * @see #Chip_chipEndPadding * @see #Chip_chipIcon * @see #Chip_chipIconEnabled * @see #Chip_chipIconSize * @see #Chip_chipIconTint * @see #Chip_chipIconVisible * @see #Chip_chipMinHeight * @see #Chip_chipStartPadding * @see #Chip_chipStrokeColor * @see #Chip_chipStrokeWidth * @see #Chip_closeIcon * @see #Chip_closeIconEnabled * @see #Chip_closeIconEndPadding * @see #Chip_closeIconSize * @see #Chip_closeIconStartPadding * @see #Chip_closeIconTint * @see #Chip_closeIconVisible * @see #Chip_hideMotionSpec * @see #Chip_iconEndPadding * @see #Chip_iconStartPadding * @see #Chip_rippleColor * @see #Chip_showMotionSpec * @see #Chip_textEndPadding * @see #Chip_textStartPadding */ public static final int[] Chip={ 0x01010034, 0x010100ab, 0x0101011f, 0x0101014f, 0x010101e5, 0x7f030061, 0x7f030062, 0x7f030063, 0x7f030065, 0x7f030066, 0x7f030067, 0x7f030069, 0x7f03006a, 0x7f03006b, 0x7f03006c, 0x7f03006d, 0x7f03006e, 0x7f030073, 0x7f030074, 0x7f030075, 0x7f030077, 0x7f030078, 0x7f030079, 0x7f03007a, 0x7f03007b, 0x7f03007c, 0x7f03007d, 0x7f0300e4, 0x7f0300ee, 0x7f0300f2, 0x7f03014f, 0x7f03015c, 0x7f0301b1, 0x7f0301b3 }; /** * <p>This symbol is the offset where the {@link android.R.attr#textAppearance} * attribute's value can be found in the {@link #Chip} 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 Chip_android_textAppearance=0; /** * <p>This symbol is the offset where the {@link android.R.attr#ellipsize} * attribute's value can be found in the {@link #Chip} 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>end</td><td>3</td><td></td></tr> * <tr><td>marquee</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> * <tr><td>start</td><td>1</td><td></td></tr> * </table> * * @attr name android:ellipsize */ public static final int Chip_android_ellipsize=1; /** * <p>This symbol is the offset where the {@link android.R.attr#maxWidth} * attribute's value can be found in the {@link #Chip} 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 Chip_android_maxWidth=2; /** * <p>This symbol is the offset where the {@link android.R.attr#text} * attribute's value can be found in the {@link #Chip} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:text */ public static final int Chip_android_text=3; /** * <p>This symbol is the offset where the {@link android.R.attr#checkable} * attribute's value can be found in the {@link #Chip} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:checkable */ public static final int Chip_android_checkable=4; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#checkedIcon} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:checkedIcon */ public static final int Chip_checkedIcon=5; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#checkedIconEnabled} * attribute's value can be found in the {@link #Chip} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:checkedIconEnabled */ public static final int Chip_checkedIconEnabled=6; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#checkedIconVisible} * attribute's value can be found in the {@link #Chip} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:checkedIconVisible */ public static final int Chip_checkedIconVisible=7; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipBackgroundColor} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:chipBackgroundColor */ public static final int Chip_chipBackgroundColor=8; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipCornerRadius} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:chipCornerRadius */ public static final int Chip_chipCornerRadius=9; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipEndPadding} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:chipEndPadding */ public static final int Chip_chipEndPadding=10; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipIcon} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:chipIcon */ public static final int Chip_chipIcon=11; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipIconEnabled} * attribute's value can be found in the {@link #Chip} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:chipIconEnabled */ public static final int Chip_chipIconEnabled=12; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipIconSize} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:chipIconSize */ public static final int Chip_chipIconSize=13; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipIconTint} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:chipIconTint */ public static final int Chip_chipIconTint=14; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipIconVisible} * attribute's value can be found in the {@link #Chip} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:chipIconVisible */ public static final int Chip_chipIconVisible=15; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipMinHeight} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:chipMinHeight */ public static final int Chip_chipMinHeight=16; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipStartPadding} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:chipStartPadding */ public static final int Chip_chipStartPadding=17; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipStrokeColor} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:chipStrokeColor */ public static final int Chip_chipStrokeColor=18; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipStrokeWidth} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:chipStrokeWidth */ public static final int Chip_chipStrokeWidth=19; /** * <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 org.nativescript.MAD2:closeIcon */ public static final int Chip_closeIcon=20; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#closeIconEnabled} * attribute's value can be found in the {@link #Chip} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:closeIconEnabled */ public static final int Chip_closeIconEnabled=21; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#closeIconEndPadding} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:closeIconEndPadding */ public static final int Chip_closeIconEndPadding=22; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#closeIconSize} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:closeIconSize */ public static final int Chip_closeIconSize=23; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#closeIconStartPadding} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:closeIconStartPadding */ public static final int Chip_closeIconStartPadding=24; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#closeIconTint} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:closeIconTint */ public static final int Chip_closeIconTint=25; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#closeIconVisible} * attribute's value can be found in the {@link #Chip} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:closeIconVisible */ public static final int Chip_closeIconVisible=26; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#hideMotionSpec} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:hideMotionSpec */ public static final int Chip_hideMotionSpec=27; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#iconEndPadding} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:iconEndPadding */ public static final int Chip_iconEndPadding=28; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#iconStartPadding} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:iconStartPadding */ public static final int Chip_iconStartPadding=29; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#rippleColor} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:rippleColor */ public static final int Chip_rippleColor=30; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#showMotionSpec} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:showMotionSpec */ public static final int Chip_showMotionSpec=31; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textEndPadding} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:textEndPadding */ public static final int Chip_textEndPadding=32; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textStartPadding} * attribute's value can be found in the {@link #Chip} 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 org.nativescript.MAD2:textStartPadding */ public static final int Chip_textStartPadding=33; /** * Attributes that can be used with a ChipGroup. * <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 #ChipGroup_checkedChip org.nativescript.MAD2:checkedChip}</code></td><td></td></tr> * <tr><td><code>{@link #ChipGroup_chipSpacing org.nativescript.MAD2:chipSpacing}</code></td><td></td></tr> * <tr><td><code>{@link #ChipGroup_chipSpacingHorizontal org.nativescript.MAD2:chipSpacingHorizontal}</code></td><td></td></tr> * <tr><td><code>{@link #ChipGroup_chipSpacingVertical org.nativescript.MAD2:chipSpacingVertical}</code></td><td></td></tr> * <tr><td><code>{@link #ChipGroup_singleLine org.nativescript.MAD2:singleLine}</code></td><td></td></tr> * <tr><td><code>{@link #ChipGroup_singleSelection org.nativescript.MAD2:singleSelection}</code></td><td></td></tr> * </table> * @see #ChipGroup_checkedChip * @see #ChipGroup_chipSpacing * @see #ChipGroup_chipSpacingHorizontal * @see #ChipGroup_chipSpacingVertical * @see #ChipGroup_singleLine * @see #ChipGroup_singleSelection */ public static final int[] ChipGroup={ 0x7f030060, 0x7f03006f, 0x7f030070, 0x7f030071, 0x7f030160, 0x7f030161 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#checkedChip} * attribute's value can be found in the {@link #ChipGroup} 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 org.nativescript.MAD2:checkedChip */ public static final int ChipGroup_checkedChip=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipSpacing} * attribute's value can be found in the {@link #ChipGroup} 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 org.nativescript.MAD2:chipSpacing */ public static final int ChipGroup_chipSpacing=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipSpacingHorizontal} * attribute's value can be found in the {@link #ChipGroup} 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 org.nativescript.MAD2:chipSpacingHorizontal */ public static final int ChipGroup_chipSpacingHorizontal=2; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipSpacingVertical} * attribute's value can be found in the {@link #ChipGroup} 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 org.nativescript.MAD2:chipSpacingVertical */ public static final int ChipGroup_chipSpacingVertical=3; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#singleLine} * attribute's value can be found in the {@link #ChipGroup} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:singleLine */ public static final int ChipGroup_singleLine=4; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#singleSelection} * attribute's value can be found in the {@link #ChipGroup} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:singleSelection */ public static final int ChipGroup_singleSelection=5; /** * Attributes that can be used with a CollapsingToolbarLayout. * <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 #CollapsingToolbarLayout_collapsedTitleGravity org.nativescript.MAD2:collapsedTitleGravity}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_collapsedTitleTextAppearance org.nativescript.MAD2:collapsedTitleTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_contentScrim org.nativescript.MAD2:contentScrim}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleGravity org.nativescript.MAD2:expandedTitleGravity}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMargin org.nativescript.MAD2:expandedTitleMargin}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginBottom org.nativescript.MAD2:expandedTitleMarginBottom}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginEnd org.nativescript.MAD2:expandedTitleMarginEnd}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginStart org.nativescript.MAD2:expandedTitleMarginStart}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginTop org.nativescript.MAD2:expandedTitleMarginTop}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleTextAppearance org.nativescript.MAD2:expandedTitleTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_scrimAnimationDuration org.nativescript.MAD2:scrimAnimationDuration}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_scrimVisibleHeightTrigger org.nativescript.MAD2:scrimVisibleHeightTrigger}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_statusBarScrim org.nativescript.MAD2:statusBarScrim}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_title org.nativescript.MAD2:title}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_titleEnabled org.nativescript.MAD2:titleEnabled}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_toolbarId org.nativescript.MAD2:toolbarId}</code></td><td></td></tr> * </table> * @see #CollapsingToolbarLayout_collapsedTitleGravity * @see #CollapsingToolbarLayout_collapsedTitleTextAppearance * @see #CollapsingToolbarLayout_contentScrim * @see #CollapsingToolbarLayout_expandedTitleGravity * @see #CollapsingToolbarLayout_expandedTitleMargin * @see #CollapsingToolbarLayout_expandedTitleMarginBottom * @see #CollapsingToolbarLayout_expandedTitleMarginEnd * @see #CollapsingToolbarLayout_expandedTitleMarginStart * @see #CollapsingToolbarLayout_expandedTitleMarginTop * @see #CollapsingToolbarLayout_expandedTitleTextAppearance * @see #CollapsingToolbarLayout_scrimAnimationDuration * @see #CollapsingToolbarLayout_scrimVisibleHeightTrigger * @see #CollapsingToolbarLayout_statusBarScrim * @see #CollapsingToolbarLayout_title * @see #CollapsingToolbarLayout_titleEnabled * @see #CollapsingToolbarLayout_toolbarId */ public static final int[] CollapsingToolbarLayout={ 0x7f030081, 0x7f030082, 0x7f03009c, 0x7f0300bc, 0x7f0300bd, 0x7f0300be, 0x7f0300bf, 0x7f0300c0, 0x7f0300c1, 0x7f0300c2, 0x7f030150, 0x7f030152, 0x7f030171, 0x7f0301be, 0x7f0301bf, 0x7f0301c9 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#collapsedTitleGravity} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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>end</td><td>800005</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 org.nativescript.MAD2:collapsedTitleGravity */ public static final int CollapsingToolbarLayout_collapsedTitleGravity=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#collapsedTitleTextAppearance} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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 org.nativescript.MAD2:collapsedTitleTextAppearance */ public static final int CollapsingToolbarLayout_collapsedTitleTextAppearance=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#contentScrim} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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 org.nativescript.MAD2:contentScrim */ public static final int CollapsingToolbarLayout_contentScrim=2; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#expandedTitleGravity} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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>end</td><td>800005</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 org.nativescript.MAD2:expandedTitleGravity */ public static final int CollapsingToolbarLayout_expandedTitleGravity=3; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#expandedTitleMargin} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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 org.nativescript.MAD2:expandedTitleMargin */ public static final int CollapsingToolbarLayout_expandedTitleMargin=4; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#expandedTitleMarginBottom} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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 org.nativescript.MAD2:expandedTitleMarginBottom */ public static final int CollapsingToolbarLayout_expandedTitleMarginBottom=5; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#expandedTitleMarginEnd} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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 org.nativescript.MAD2:expandedTitleMarginEnd */ public static final int CollapsingToolbarLayout_expandedTitleMarginEnd=6; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#expandedTitleMarginStart} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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 org.nativescript.MAD2:expandedTitleMarginStart */ public static final int CollapsingToolbarLayout_expandedTitleMarginStart=7; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#expandedTitleMarginTop} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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 org.nativescript.MAD2:expandedTitleMarginTop */ public static final int CollapsingToolbarLayout_expandedTitleMarginTop=8; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#expandedTitleTextAppearance} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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 org.nativescript.MAD2:expandedTitleTextAppearance */ public static final int CollapsingToolbarLayout_expandedTitleTextAppearance=9; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#scrimAnimationDuration} * attribute's value can be found in the {@link #CollapsingToolbarLayout} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name org.nativescript.MAD2:scrimAnimationDuration */ public static final int CollapsingToolbarLayout_scrimAnimationDuration=10; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#scrimVisibleHeightTrigger} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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 org.nativescript.MAD2:scrimVisibleHeightTrigger */ public static final int CollapsingToolbarLayout_scrimVisibleHeightTrigger=11; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#statusBarScrim} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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 org.nativescript.MAD2:statusBarScrim */ public static final int CollapsingToolbarLayout_statusBarScrim=12; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#title} * attribute's value can be found in the {@link #CollapsingToolbarLayout} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name org.nativescript.MAD2:title */ public static final int CollapsingToolbarLayout_title=13; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#titleEnabled} * attribute's value can be found in the {@link #CollapsingToolbarLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:titleEnabled */ public static final int CollapsingToolbarLayout_titleEnabled=14; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#toolbarId} * attribute's value can be found in the {@link #CollapsingToolbarLayout} 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 org.nativescript.MAD2:toolbarId */ public static final int CollapsingToolbarLayout_toolbarId=15; /** * Attributes that can be used with a CollapsingToolbarLayout_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 #CollapsingToolbarLayout_Layout_layout_collapseMode org.nativescript.MAD2:layout_collapseMode}</code></td><td></td></tr> * <tr><td><code>{@link #CollapsingToolbarLayout_Layout_layout_collapseParallaxMultiplier org.nativescript.MAD2:layout_collapseParallaxMultiplier}</code></td><td></td></tr> * </table> * @see #CollapsingToolbarLayout_Layout_layout_collapseMode * @see #CollapsingToolbarLayout_Layout_layout_collapseParallaxMultiplier */ public static final int[] CollapsingToolbarLayout_Layout={ 0x7f03010f, 0x7f030110 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#layout_collapseMode} * attribute's value can be found in the {@link #CollapsingToolbarLayout_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>none</td><td>0</td><td></td></tr> * <tr><td>parallax</td><td>2</td><td></td></tr> * <tr><td>pin</td><td>1</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:layout_collapseMode */ public static final int CollapsingToolbarLayout_Layout_layout_collapseMode=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#layout_collapseParallaxMultiplier} * attribute's value can be found in the {@link #CollapsingToolbarLayout_Layout} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name org.nativescript.MAD2:layout_collapseParallaxMultiplier */ public static final int CollapsingToolbarLayout_Layout_layout_collapseParallaxMultiplier=1; /** * 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 org.nativescript.MAD2: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, 0x7f030027 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2:buttonTint}</code></td><td>Tint to apply to the button drawable.</td></tr> * <tr><td><code>{@link #CompoundButton_buttonTintMode org.nativescript.MAD2: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, 0x7f030056, 0x7f030057 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2:buttonTintMode */ public static final int CompoundButton_buttonTintMode=2; /** * 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 org.nativescript.MAD2: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 org.nativescript.MAD2: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={ 0x7f030107, 0x7f030170 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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, 0x7f03010c, 0x7f03010d, 0x7f03010e, 0x7f030111, 0x7f030112, 0x7f030113 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:layout_keyline */ public static final int CoordinatorLayout_Layout_layout_keyline=6; /** * Attributes that can be used with a DesignTheme. * <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 #DesignTheme_bottomSheetDialogTheme org.nativescript.MAD2:bottomSheetDialogTheme}</code></td><td></td></tr> * <tr><td><code>{@link #DesignTheme_bottomSheetStyle org.nativescript.MAD2:bottomSheetStyle}</code></td><td></td></tr> * </table> * @see #DesignTheme_bottomSheetDialogTheme * @see #DesignTheme_bottomSheetStyle */ public static final int[] DesignTheme={ 0x7f030041, 0x7f030042 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#bottomSheetDialogTheme} * attribute's value can be found in the {@link #DesignTheme} 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 org.nativescript.MAD2:bottomSheetDialogTheme */ public static final int DesignTheme_bottomSheetDialogTheme=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#bottomSheetStyle} * attribute's value can be found in the {@link #DesignTheme} 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 org.nativescript.MAD2:bottomSheetStyle */ public static final int DesignTheme_bottomSheetStyle=1; /** * 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 org.nativescript.MAD2:arrowHeadLength}</code></td><td>The length of the arrow head when formed to make an arrow</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_arrowShaftLength org.nativescript.MAD2:arrowShaftLength}</code></td><td>The length of the shaft when formed to make an arrow</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_barLength org.nativescript.MAD2:barLength}</code></td><td>The length of the bars when they are parallel to each other</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_color org.nativescript.MAD2:color}</code></td><td>The drawing color for the bars</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_drawableSize org.nativescript.MAD2:drawableSize}</code></td><td>The total size of the drawable</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars org.nativescript.MAD2: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 org.nativescript.MAD2:spinBars}</code></td><td>Whether bars should rotate or not during transition</td></tr> * <tr><td><code>{@link #DrawerArrowToggle_thickness org.nativescript.MAD2: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={ 0x7f030029, 0x7f03002a, 0x7f030036, 0x7f030083, 0x7f0300ae, 0x7f0300dd, 0x7f030165, 0x7f0301b5 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:thickness */ public static final int DrawerArrowToggle_thickness=7; /** * Attributes that can be used with a FloatingActionButton. * <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 #FloatingActionButton_backgroundTint org.nativescript.MAD2:backgroundTint}</code></td><td>Tint to apply to the background.</td></tr> * <tr><td><code>{@link #FloatingActionButton_backgroundTintMode org.nativescript.MAD2:backgroundTintMode}</code></td><td>Blending mode used to apply the background tint.</td></tr> * <tr><td><code>{@link #FloatingActionButton_borderWidth org.nativescript.MAD2:borderWidth}</code></td><td></td></tr> * <tr><td><code>{@link #FloatingActionButton_elevation org.nativescript.MAD2:elevation}</code></td><td>Elevation for the action bar itself</td></tr> * <tr><td><code>{@link #FloatingActionButton_fabCustomSize org.nativescript.MAD2:fabCustomSize}</code></td><td></td></tr> * <tr><td><code>{@link #FloatingActionButton_fabSize org.nativescript.MAD2:fabSize}</code></td><td></td></tr> * <tr><td><code>{@link #FloatingActionButton_hideMotionSpec org.nativescript.MAD2:hideMotionSpec}</code></td><td></td></tr> * <tr><td><code>{@link #FloatingActionButton_hoveredFocusedTranslationZ org.nativescript.MAD2:hoveredFocusedTranslationZ}</code></td><td></td></tr> * <tr><td><code>{@link #FloatingActionButton_maxImageSize org.nativescript.MAD2:maxImageSize}</code></td><td></td></tr> * <tr><td><code>{@link #FloatingActionButton_pressedTranslationZ org.nativescript.MAD2:pressedTranslationZ}</code></td><td></td></tr> * <tr><td><code>{@link #FloatingActionButton_rippleColor org.nativescript.MAD2:rippleColor}</code></td><td></td></tr> * <tr><td><code>{@link #FloatingActionButton_showMotionSpec org.nativescript.MAD2:showMotionSpec}</code></td><td></td></tr> * <tr><td><code>{@link #FloatingActionButton_useCompatPadding org.nativescript.MAD2:useCompatPadding}</code></td><td></td></tr> * </table> * @see #FloatingActionButton_backgroundTint * @see #FloatingActionButton_backgroundTintMode * @see #FloatingActionButton_borderWidth * @see #FloatingActionButton_elevation * @see #FloatingActionButton_fabCustomSize * @see #FloatingActionButton_fabSize * @see #FloatingActionButton_hideMotionSpec * @see #FloatingActionButton_hoveredFocusedTranslationZ * @see #FloatingActionButton_maxImageSize * @see #FloatingActionButton_pressedTranslationZ * @see #FloatingActionButton_rippleColor * @see #FloatingActionButton_showMotionSpec * @see #FloatingActionButton_useCompatPadding */ public static final int[] FloatingActionButton={ 0x7f030034, 0x7f030035, 0x7f03003d, 0x7f0300b5, 0x7f0300c7, 0x7f0300c8, 0x7f0300e4, 0x7f0300ec, 0x7f03012a, 0x7f030144, 0x7f03014f, 0x7f03015c, 0x7f0301d3 }; /** * <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 org.nativescript.MAD2:backgroundTint */ public static final int FloatingActionButton_backgroundTint=0; /** * <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 org.nativescript.MAD2:backgroundTintMode */ public static final int FloatingActionButton_backgroundTintMode=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#borderWidth} * attribute's value can be found in the {@link #FloatingActionButton} 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 org.nativescript.MAD2:borderWidth */ public static final int FloatingActionButton_borderWidth=2; /** * <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 org.nativescript.MAD2:elevation */ public static final int FloatingActionButton_elevation=3; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#fabCustomSize} * attribute's value can be found in the {@link #FloatingActionButton} 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 org.nativescript.MAD2:fabCustomSize */ public static final int FloatingActionButton_fabCustomSize=4; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#fabSize} * attribute's value can be found in the {@link #FloatingActionButton} 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>auto</td><td>ffffffff</td><td></td></tr> * <tr><td>mini</td><td>1</td><td></td></tr> * <tr><td>normal</td><td>0</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:fabSize */ public static final int FloatingActionButton_fabSize=5; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#hideMotionSpec} * attribute's value can be found in the {@link #FloatingActionButton} 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 org.nativescript.MAD2:hideMotionSpec */ public static final int FloatingActionButton_hideMotionSpec=6; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#hoveredFocusedTranslationZ} * attribute's value can be found in the {@link #FloatingActionButton} 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 org.nativescript.MAD2:hoveredFocusedTranslationZ */ public static final int FloatingActionButton_hoveredFocusedTranslationZ=7; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#maxImageSize} * attribute's value can be found in the {@link #FloatingActionButton} 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 org.nativescript.MAD2:maxImageSize */ public static final int FloatingActionButton_maxImageSize=8; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#pressedTranslationZ} * attribute's value can be found in the {@link #FloatingActionButton} 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 org.nativescript.MAD2:pressedTranslationZ */ public static final int FloatingActionButton_pressedTranslationZ=9; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#rippleColor} * attribute's value can be found in the {@link #FloatingActionButton} 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 org.nativescript.MAD2:rippleColor */ public static final int FloatingActionButton_rippleColor=10; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#showMotionSpec} * attribute's value can be found in the {@link #FloatingActionButton} 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 org.nativescript.MAD2:showMotionSpec */ public static final int FloatingActionButton_showMotionSpec=11; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#useCompatPadding} * attribute's value can be found in the {@link #FloatingActionButton} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:useCompatPadding */ public static final int FloatingActionButton_useCompatPadding=12; /** * Attributes that can be used with a FloatingActionButton_Behavior_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 #FloatingActionButton_Behavior_Layout_behavior_autoHide org.nativescript.MAD2:behavior_autoHide}</code></td><td></td></tr> * </table> * @see #FloatingActionButton_Behavior_Layout_behavior_autoHide */ public static final int[] FloatingActionButton_Behavior_Layout={ 0x7f030037 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#behavior_autoHide} * attribute's value can be found in the {@link #FloatingActionButton_Behavior_Layout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:behavior_autoHide */ public static final int FloatingActionButton_Behavior_Layout_behavior_autoHide=0; /** * Attributes that can be used with a FlowLayout. * <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 #FlowLayout_itemSpacing org.nativescript.MAD2:itemSpacing}</code></td><td></td></tr> * <tr><td><code>{@link #FlowLayout_lineSpacing org.nativescript.MAD2:lineSpacing}</code></td><td></td></tr> * </table> * @see #FlowLayout_itemSpacing * @see #FlowLayout_lineSpacing */ public static final int[] FlowLayout={ 0x7f030102, 0x7f030118 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemSpacing} * attribute's value can be found in the {@link #FlowLayout} 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 org.nativescript.MAD2:itemSpacing */ public static final int FlowLayout_itemSpacing=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#lineSpacing} * attribute's value can be found in the {@link #FlowLayout} 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 org.nativescript.MAD2:lineSpacing */ public static final int FlowLayout_lineSpacing=1; /** * 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 org.nativescript.MAD2:fontProviderAuthority}</code></td><td>The authority of the Font Provider to be used for the request.</td></tr> * <tr><td><code>{@link #FontFamily_fontProviderCerts org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:fontProviderFetchTimeout}</code></td><td>The length of the timeout during fetching.</td></tr> * <tr><td><code>{@link #FontFamily_fontProviderPackage org.nativescript.MAD2:fontProviderPackage}</code></td><td>The package for the Font Provider to be used for the request.</td></tr> * <tr><td><code>{@link #FontFamily_fontProviderQuery org.nativescript.MAD2: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={ 0x7f0300d3, 0x7f0300d4, 0x7f0300d5, 0x7f0300d6, 0x7f0300d7, 0x7f0300d8 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:font}</code></td><td>The reference to the font file to be used.</td></tr> * <tr><td><code>{@link #FontFamilyFont_fontStyle org.nativescript.MAD2:fontStyle}</code></td><td>The style of the given font file.</td></tr> * <tr><td><code>{@link #FontFamilyFont_fontVariationSettings org.nativescript.MAD2:fontVariationSettings}</code></td><td>The variation settings to be applied to the font.</td></tr> * <tr><td><code>{@link #FontFamilyFont_fontWeight org.nativescript.MAD2:fontWeight}</code></td><td>The weight of the given font file.</td></tr> * <tr><td><code>{@link #FontFamilyFont_ttcIndex org.nativescript.MAD2: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, 0x7f0300d1, 0x7f0300d9, 0x7f0300da, 0x7f0300db, 0x7f0301d2 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:ttcIndex */ public static final int FontFamilyFont_ttcIndex=9; /** * Attributes that can be used with a ForegroundLinearLayout. * <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 #ForegroundLinearLayout_android_foreground android:foreground}</code></td><td></td></tr> * <tr><td><code>{@link #ForegroundLinearLayout_android_foregroundGravity android:foregroundGravity}</code></td><td></td></tr> * <tr><td><code>{@link #ForegroundLinearLayout_foregroundInsidePadding org.nativescript.MAD2:foregroundInsidePadding}</code></td><td></td></tr> * </table> * @see #ForegroundLinearLayout_android_foreground * @see #ForegroundLinearLayout_android_foregroundGravity * @see #ForegroundLinearLayout_foregroundInsidePadding */ public static final int[] ForegroundLinearLayout={ 0x01010109, 0x01010200, 0x7f0300dc }; /** * <p>This symbol is the offset where the {@link android.R.attr#foreground} * attribute's value can be found in the {@link #ForegroundLinearLayout} 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:foreground */ public static final int ForegroundLinearLayout_android_foreground=0; /** * <p>This symbol is the offset where the {@link android.R.attr#foregroundGravity} * attribute's value can be found in the {@link #ForegroundLinearLayout} 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>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>top</td><td>30</td><td></td></tr> * </table> * * @attr name android:foregroundGravity */ public static final int ForegroundLinearLayout_android_foregroundGravity=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#foregroundInsidePadding} * attribute's value can be found in the {@link #ForegroundLinearLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:foregroundInsidePadding */ public static final int ForegroundLinearLayout_foregroundInsidePadding=2; /** * 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 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 org.nativescript.MAD2:divider}</code></td><td>Specifies the drawable used for item dividers.</td></tr> * <tr><td><code>{@link #LinearLayoutCompat_dividerPadding org.nativescript.MAD2:dividerPadding}</code></td><td>Size of padding on either end of a divider.</td></tr> * <tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild org.nativescript.MAD2: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 org.nativescript.MAD2: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, 0x7f0300aa, 0x7f0300ac, 0x7f03012b, 0x7f03015b }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 MaterialButton. * <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 #MaterialButton_android_insetLeft android:insetLeft}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialButton_android_insetRight android:insetRight}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialButton_android_insetTop android:insetTop}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialButton_android_insetBottom android:insetBottom}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialButton_backgroundTint org.nativescript.MAD2:backgroundTint}</code></td><td>Tint to apply to the background.</td></tr> * <tr><td><code>{@link #MaterialButton_backgroundTintMode org.nativescript.MAD2:backgroundTintMode}</code></td><td>Blending mode used to apply the background tint.</td></tr> * <tr><td><code>{@link #MaterialButton_cornerRadius org.nativescript.MAD2:cornerRadius}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialButton_icon org.nativescript.MAD2:icon}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialButton_iconGravity org.nativescript.MAD2:iconGravity}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialButton_iconPadding org.nativescript.MAD2:iconPadding}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialButton_iconSize org.nativescript.MAD2:iconSize}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialButton_iconTint org.nativescript.MAD2:iconTint}</code></td><td>Tint to apply to the icon.</td></tr> * <tr><td><code>{@link #MaterialButton_iconTintMode org.nativescript.MAD2:iconTintMode}</code></td><td>Blending mode used to apply the icon tint.</td></tr> * <tr><td><code>{@link #MaterialButton_rippleColor org.nativescript.MAD2:rippleColor}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialButton_strokeColor org.nativescript.MAD2:strokeColor}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialButton_strokeWidth org.nativescript.MAD2:strokeWidth}</code></td><td></td></tr> * </table> * @see #MaterialButton_android_insetLeft * @see #MaterialButton_android_insetRight * @see #MaterialButton_android_insetTop * @see #MaterialButton_android_insetBottom * @see #MaterialButton_backgroundTint * @see #MaterialButton_backgroundTintMode * @see #MaterialButton_cornerRadius * @see #MaterialButton_icon * @see #MaterialButton_iconGravity * @see #MaterialButton_iconPadding * @see #MaterialButton_iconSize * @see #MaterialButton_iconTint * @see #MaterialButton_iconTintMode * @see #MaterialButton_rippleColor * @see #MaterialButton_strokeColor * @see #MaterialButton_strokeWidth */ public static final int[] MaterialButton={ 0x010101b7, 0x010101b8, 0x010101b9, 0x010101ba, 0x7f030034, 0x7f030035, 0x7f03009f, 0x7f0300ed, 0x7f0300ef, 0x7f0300f0, 0x7f0300f1, 0x7f0300f3, 0x7f0300f4, 0x7f03014f, 0x7f030172, 0x7f030173 }; /** * <p>This symbol is the offset where the {@link android.R.attr#insetLeft} * attribute's value can be found in the {@link #MaterialButton} 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>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:insetLeft */ public static final int MaterialButton_android_insetLeft=0; /** * <p>This symbol is the offset where the {@link android.R.attr#insetRight} * attribute's value can be found in the {@link #MaterialButton} 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>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:insetRight */ public static final int MaterialButton_android_insetRight=1; /** * <p>This symbol is the offset where the {@link android.R.attr#insetTop} * attribute's value can be found in the {@link #MaterialButton} 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>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:insetTop */ public static final int MaterialButton_android_insetTop=2; /** * <p>This symbol is the offset where the {@link android.R.attr#insetBottom} * attribute's value can be found in the {@link #MaterialButton} 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>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:insetBottom */ public static final int MaterialButton_android_insetBottom=3; /** * <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 org.nativescript.MAD2:backgroundTint */ public static final int MaterialButton_backgroundTint=4; /** * <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 org.nativescript.MAD2:backgroundTintMode */ public static final int MaterialButton_backgroundTintMode=5; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#cornerRadius} * attribute's value can be found in the {@link #MaterialButton} 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 org.nativescript.MAD2:cornerRadius */ public static final int MaterialButton_cornerRadius=6; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#icon} * attribute's value can be found in the {@link #MaterialButton} 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 org.nativescript.MAD2:icon */ public static final int MaterialButton_icon=7; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#iconGravity} * attribute's value can be found in the {@link #MaterialButton} 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>start</td><td>1</td><td></td></tr> * <tr><td>textStart</td><td>2</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:iconGravity */ public static final int MaterialButton_iconGravity=8; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#iconPadding} * attribute's value can be found in the {@link #MaterialButton} 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 org.nativescript.MAD2:iconPadding */ public static final int MaterialButton_iconPadding=9; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#iconSize} * attribute's value can be found in the {@link #MaterialButton} 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 org.nativescript.MAD2:iconSize */ public static final int MaterialButton_iconSize=10; /** * <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 org.nativescript.MAD2:iconTint */ public static final int MaterialButton_iconTint=11; /** * <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 org.nativescript.MAD2:iconTintMode */ public static final int MaterialButton_iconTintMode=12; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#rippleColor} * attribute's value can be found in the {@link #MaterialButton} 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 org.nativescript.MAD2:rippleColor */ public static final int MaterialButton_rippleColor=13; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#strokeColor} * attribute's value can be found in the {@link #MaterialButton} 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 org.nativescript.MAD2:strokeColor */ public static final int MaterialButton_strokeColor=14; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#strokeWidth} * attribute's value can be found in the {@link #MaterialButton} 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 org.nativescript.MAD2:strokeWidth */ public static final int MaterialButton_strokeWidth=15; /** * Attributes that can be used with a MaterialCardView. * <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 #MaterialCardView_strokeColor org.nativescript.MAD2:strokeColor}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialCardView_strokeWidth org.nativescript.MAD2:strokeWidth}</code></td><td></td></tr> * </table> * @see #MaterialCardView_strokeColor * @see #MaterialCardView_strokeWidth */ public static final int[] MaterialCardView={ 0x7f030172, 0x7f030173 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#strokeColor} * attribute's value can be found in the {@link #MaterialCardView} 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 org.nativescript.MAD2:strokeColor */ public static final int MaterialCardView_strokeColor=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#strokeWidth} * attribute's value can be found in the {@link #MaterialCardView} 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 org.nativescript.MAD2:strokeWidth */ public static final int MaterialCardView_strokeWidth=1; /** * Attributes that can be used with a MaterialComponentsTheme. * <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 #MaterialComponentsTheme_bottomSheetDialogTheme org.nativescript.MAD2:bottomSheetDialogTheme}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_bottomSheetStyle org.nativescript.MAD2:bottomSheetStyle}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_chipGroupStyle org.nativescript.MAD2:chipGroupStyle}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_chipStandaloneStyle org.nativescript.MAD2:chipStandaloneStyle}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_chipStyle org.nativescript.MAD2:chipStyle}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_colorAccent org.nativescript.MAD2:colorAccent}</code></td><td>Bright complement to the primary branding color.</td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_colorBackgroundFloating org.nativescript.MAD2:colorBackgroundFloating}</code></td><td>Default color of background imagery for floating components, ex.</td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_colorPrimary org.nativescript.MAD2:colorPrimary}</code></td><td>The primary branding color for the app.</td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_colorPrimaryDark org.nativescript.MAD2:colorPrimaryDark}</code></td><td>Dark variant of the primary branding color.</td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_colorSecondary org.nativescript.MAD2:colorSecondary}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_editTextStyle org.nativescript.MAD2:editTextStyle}</code></td><td>Default EditText style.</td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_floatingActionButtonStyle org.nativescript.MAD2:floatingActionButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_materialButtonStyle org.nativescript.MAD2:materialButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_materialCardViewStyle org.nativescript.MAD2:materialCardViewStyle}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_navigationViewStyle org.nativescript.MAD2:navigationViewStyle}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_scrimBackground org.nativescript.MAD2:scrimBackground}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_snackbarButtonStyle org.nativescript.MAD2:snackbarButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_tabStyle org.nativescript.MAD2:tabStyle}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceBody1 org.nativescript.MAD2:textAppearanceBody1}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceBody2 org.nativescript.MAD2:textAppearanceBody2}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceButton org.nativescript.MAD2:textAppearanceButton}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceCaption org.nativescript.MAD2:textAppearanceCaption}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceHeadline1 org.nativescript.MAD2:textAppearanceHeadline1}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceHeadline2 org.nativescript.MAD2:textAppearanceHeadline2}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceHeadline3 org.nativescript.MAD2:textAppearanceHeadline3}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceHeadline4 org.nativescript.MAD2:textAppearanceHeadline4}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceHeadline5 org.nativescript.MAD2:textAppearanceHeadline5}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceHeadline6 org.nativescript.MAD2:textAppearanceHeadline6}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceOverline org.nativescript.MAD2:textAppearanceOverline}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceSubtitle1 org.nativescript.MAD2:textAppearanceSubtitle1}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textAppearanceSubtitle2 org.nativescript.MAD2:textAppearanceSubtitle2}</code></td><td></td></tr> * <tr><td><code>{@link #MaterialComponentsTheme_textInputStyle org.nativescript.MAD2:textInputStyle}</code></td><td></td></tr> * </table> * @see #MaterialComponentsTheme_bottomSheetDialogTheme * @see #MaterialComponentsTheme_bottomSheetStyle * @see #MaterialComponentsTheme_chipGroupStyle * @see #MaterialComponentsTheme_chipStandaloneStyle * @see #MaterialComponentsTheme_chipStyle * @see #MaterialComponentsTheme_colorAccent * @see #MaterialComponentsTheme_colorBackgroundFloating * @see #MaterialComponentsTheme_colorPrimary * @see #MaterialComponentsTheme_colorPrimaryDark * @see #MaterialComponentsTheme_colorSecondary * @see #MaterialComponentsTheme_editTextStyle * @see #MaterialComponentsTheme_floatingActionButtonStyle * @see #MaterialComponentsTheme_materialButtonStyle * @see #MaterialComponentsTheme_materialCardViewStyle * @see #MaterialComponentsTheme_navigationViewStyle * @see #MaterialComponentsTheme_scrimBackground * @see #MaterialComponentsTheme_snackbarButtonStyle * @see #MaterialComponentsTheme_tabStyle * @see #MaterialComponentsTheme_textAppearanceBody1 * @see #MaterialComponentsTheme_textAppearanceBody2 * @see #MaterialComponentsTheme_textAppearanceButton * @see #MaterialComponentsTheme_textAppearanceCaption * @see #MaterialComponentsTheme_textAppearanceHeadline1 * @see #MaterialComponentsTheme_textAppearanceHeadline2 * @see #MaterialComponentsTheme_textAppearanceHeadline3 * @see #MaterialComponentsTheme_textAppearanceHeadline4 * @see #MaterialComponentsTheme_textAppearanceHeadline5 * @see #MaterialComponentsTheme_textAppearanceHeadline6 * @see #MaterialComponentsTheme_textAppearanceOverline * @see #MaterialComponentsTheme_textAppearanceSubtitle1 * @see #MaterialComponentsTheme_textAppearanceSubtitle2 * @see #MaterialComponentsTheme_textInputStyle */ public static final int[] MaterialComponentsTheme={ 0x7f030041, 0x7f030042, 0x7f030068, 0x7f030072, 0x7f030076, 0x7f030084, 0x7f030085, 0x7f03008b, 0x7f03008c, 0x7f03008d, 0x7f0300b4, 0x7f0300d0, 0x7f030126, 0x7f030127, 0x7f030131, 0x7f030151, 0x7f030162, 0x7f030195, 0x7f03019a, 0x7f03019b, 0x7f03019c, 0x7f03019d, 0x7f03019e, 0x7f03019f, 0x7f0301a0, 0x7f0301a1, 0x7f0301a2, 0x7f0301a3, 0x7f0301a8, 0x7f0301ad, 0x7f0301ae, 0x7f0301b2 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#bottomSheetDialogTheme} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:bottomSheetDialogTheme */ public static final int MaterialComponentsTheme_bottomSheetDialogTheme=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#bottomSheetStyle} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:bottomSheetStyle */ public static final int MaterialComponentsTheme_bottomSheetStyle=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipGroupStyle} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:chipGroupStyle */ public static final int MaterialComponentsTheme_chipGroupStyle=2; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipStandaloneStyle} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:chipStandaloneStyle */ public static final int MaterialComponentsTheme_chipStandaloneStyle=3; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#chipStyle} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:chipStyle */ public static final int MaterialComponentsTheme_chipStyle=4; /** * <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 org.nativescript.MAD2:colorAccent */ public static final int MaterialComponentsTheme_colorAccent=5; /** * <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 org.nativescript.MAD2:colorBackgroundFloating */ public static final int MaterialComponentsTheme_colorBackgroundFloating=6; /** * <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 org.nativescript.MAD2:colorPrimary */ public static final int MaterialComponentsTheme_colorPrimary=7; /** * <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 org.nativescript.MAD2:colorPrimaryDark */ public static final int MaterialComponentsTheme_colorPrimaryDark=8; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#colorSecondary} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:colorSecondary */ public static final int MaterialComponentsTheme_colorSecondary=9; /** * <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 org.nativescript.MAD2:editTextStyle */ public static final int MaterialComponentsTheme_editTextStyle=10; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#floatingActionButtonStyle} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * <p>May be an integer value, such as "<code>100</code>". * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</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>". * <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 org.nativescript.MAD2:floatingActionButtonStyle */ public static final int MaterialComponentsTheme_floatingActionButtonStyle=11; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#materialButtonStyle} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:materialButtonStyle */ public static final int MaterialComponentsTheme_materialButtonStyle=12; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#materialCardViewStyle} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:materialCardViewStyle */ public static final int MaterialComponentsTheme_materialCardViewStyle=13; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#navigationViewStyle} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:navigationViewStyle */ public static final int MaterialComponentsTheme_navigationViewStyle=14; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#scrimBackground} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:scrimBackground */ public static final int MaterialComponentsTheme_scrimBackground=15; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#snackbarButtonStyle} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:snackbarButtonStyle */ public static final int MaterialComponentsTheme_snackbarButtonStyle=16; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabStyle} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:tabStyle */ public static final int MaterialComponentsTheme_tabStyle=17; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceBody1} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceBody1 */ public static final int MaterialComponentsTheme_textAppearanceBody1=18; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceBody2} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceBody2 */ public static final int MaterialComponentsTheme_textAppearanceBody2=19; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceButton} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceButton */ public static final int MaterialComponentsTheme_textAppearanceButton=20; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceCaption} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceCaption */ public static final int MaterialComponentsTheme_textAppearanceCaption=21; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceHeadline1} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceHeadline1 */ public static final int MaterialComponentsTheme_textAppearanceHeadline1=22; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceHeadline2} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceHeadline2 */ public static final int MaterialComponentsTheme_textAppearanceHeadline2=23; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceHeadline3} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceHeadline3 */ public static final int MaterialComponentsTheme_textAppearanceHeadline3=24; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceHeadline4} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceHeadline4 */ public static final int MaterialComponentsTheme_textAppearanceHeadline4=25; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceHeadline5} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceHeadline5 */ public static final int MaterialComponentsTheme_textAppearanceHeadline5=26; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceHeadline6} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceHeadline6 */ public static final int MaterialComponentsTheme_textAppearanceHeadline6=27; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceOverline} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceOverline */ public static final int MaterialComponentsTheme_textAppearanceOverline=28; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceSubtitle1} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceSubtitle1 */ public static final int MaterialComponentsTheme_textAppearanceSubtitle1=29; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textAppearanceSubtitle2} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textAppearanceSubtitle2 */ public static final int MaterialComponentsTheme_textAppearanceSubtitle2=30; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#textInputStyle} * attribute's value can be found in the {@link #MaterialComponentsTheme} 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 org.nativescript.MAD2:textInputStyle */ public static final int MaterialComponentsTheme_textInputStyle=31; /** * 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 org.nativescript.MAD2:actionLayout}</code></td><td>An optional layout to be used as an action view.</td></tr> * <tr><td><code>{@link #MenuItem_actionProviderClass org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:alphabeticModifiers}</code></td><td>The alphabetic modifier key.</td></tr> * <tr><td><code>{@link #MenuItem_contentDescription org.nativescript.MAD2:contentDescription}</code></td><td>The content description associated with the item.</td></tr> * <tr><td><code>{@link #MenuItem_iconTint org.nativescript.MAD2:iconTint}</code></td><td>Tint to apply to the icon.</td></tr> * <tr><td><code>{@link #MenuItem_iconTintMode org.nativescript.MAD2:iconTintMode}</code></td><td>Blending mode used to apply the icon tint.</td></tr> * <tr><td><code>{@link #MenuItem_numericModifiers org.nativescript.MAD2:numericModifiers}</code></td><td>The numeric modifier key.</td></tr> * <tr><td><code>{@link #MenuItem_showAsAction org.nativescript.MAD2:showAsAction}</code></td><td>How this item should display in the Action Bar, if present.</td></tr> * <tr><td><code>{@link #MenuItem_tooltipText org.nativescript.MAD2: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, 0x7f03000d, 0x7f03001f, 0x7f030020, 0x7f030028, 0x7f030090, 0x7f0300f3, 0x7f0300f4, 0x7f030132, 0x7f03015a, 0x7f0301ce }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:preserveIconSpacing}</code></td><td>Whether space should be reserved in layout when an icon is missing.</td></tr> * <tr><td><code>{@link #MenuView_subMenuArrow org.nativescript.MAD2: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, 0x7f030143, 0x7f030174 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2:subMenuArrow */ public static final int MenuView_subMenuArrow=8; /** * Attributes that can be used with a NavigationView. * <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 #NavigationView_android_background android:background}</code></td><td></td></tr> * <tr><td><code>{@link #NavigationView_android_fitsSystemWindows android:fitsSystemWindows}</code></td><td></td></tr> * <tr><td><code>{@link #NavigationView_android_maxWidth android:maxWidth}</code></td><td></td></tr> * <tr><td><code>{@link #NavigationView_elevation org.nativescript.MAD2:elevation}</code></td><td>Elevation for the action bar itself</td></tr> * <tr><td><code>{@link #NavigationView_headerLayout org.nativescript.MAD2:headerLayout}</code></td><td></td></tr> * <tr><td><code>{@link #NavigationView_itemBackground org.nativescript.MAD2:itemBackground}</code></td><td></td></tr> * <tr><td><code>{@link #NavigationView_itemHorizontalPadding org.nativescript.MAD2:itemHorizontalPadding}</code></td><td></td></tr> * <tr><td><code>{@link #NavigationView_itemIconPadding org.nativescript.MAD2:itemIconPadding}</code></td><td></td></tr> * <tr><td><code>{@link #NavigationView_itemIconTint org.nativescript.MAD2:itemIconTint}</code></td><td></td></tr> * <tr><td><code>{@link #NavigationView_itemTextAppearance org.nativescript.MAD2:itemTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #NavigationView_itemTextColor org.nativescript.MAD2:itemTextColor}</code></td><td></td></tr> * <tr><td><code>{@link #NavigationView_menu org.nativescript.MAD2:menu}</code></td><td></td></tr> * </table> * @see #NavigationView_android_background * @see #NavigationView_android_fitsSystemWindows * @see #NavigationView_android_maxWidth * @see #NavigationView_elevation * @see #NavigationView_headerLayout * @see #NavigationView_itemBackground * @see #NavigationView_itemHorizontalPadding * @see #NavigationView_itemIconPadding * @see #NavigationView_itemIconTint * @see #NavigationView_itemTextAppearance * @see #NavigationView_itemTextColor * @see #NavigationView_menu */ public static final int[] NavigationView={ 0x010100d4, 0x010100dd, 0x0101011f, 0x7f0300b5, 0x7f0300df, 0x7f0300fb, 0x7f0300fc, 0x7f0300fe, 0x7f030100, 0x7f030103, 0x7f030106, 0x7f03012c }; /** * <p>This symbol is the offset where the {@link android.R.attr#background} * attribute's value can be found in the {@link #NavigationView} 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 NavigationView_android_background=0; /** * <p>This symbol is the offset where the {@link android.R.attr#fitsSystemWindows} * attribute's value can be found in the {@link #NavigationView} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:fitsSystemWindows */ public static final int NavigationView_android_fitsSystemWindows=1; /** * <p>This symbol is the offset where the {@link android.R.attr#maxWidth} * attribute's value can be found in the {@link #NavigationView} 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 NavigationView_android_maxWidth=2; /** * <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 org.nativescript.MAD2:elevation */ public static final int NavigationView_elevation=3; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#headerLayout} * attribute's value can be found in the {@link #NavigationView} 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 org.nativescript.MAD2:headerLayout */ public static final int NavigationView_headerLayout=4; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemBackground} * attribute's value can be found in the {@link #NavigationView} 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 org.nativescript.MAD2:itemBackground */ public static final int NavigationView_itemBackground=5; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemHorizontalPadding} * attribute's value can be found in the {@link #NavigationView} 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 org.nativescript.MAD2:itemHorizontalPadding */ public static final int NavigationView_itemHorizontalPadding=6; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemIconPadding} * attribute's value can be found in the {@link #NavigationView} 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 org.nativescript.MAD2:itemIconPadding */ public static final int NavigationView_itemIconPadding=7; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemIconTint} * attribute's value can be found in the {@link #NavigationView} 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 org.nativescript.MAD2:itemIconTint */ public static final int NavigationView_itemIconTint=8; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemTextAppearance} * attribute's value can be found in the {@link #NavigationView} 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 org.nativescript.MAD2:itemTextAppearance */ public static final int NavigationView_itemTextAppearance=9; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#itemTextColor} * attribute's value can be found in the {@link #NavigationView} 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 org.nativescript.MAD2:itemTextColor */ public static final int NavigationView_itemTextColor=10; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#menu} * attribute's value can be found in the {@link #NavigationView} 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 org.nativescript.MAD2:menu */ public static final int NavigationView_menu=11; /** * 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 org.nativescript.MAD2: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, 0x7f030133 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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={ 0x7f03016b }; /** * <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 org.nativescript.MAD2:state_above_anchor */ public static final int PopupWindowBackgroundState_state_above_anchor=0; /** * Attributes that can be used with a RadScrollView. * <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 #RadScrollView_fillViewport org.nativescript.MAD2:fillViewport}</code></td><td></td></tr> * <tr><td><code>{@link #RadScrollView_scrollMode org.nativescript.MAD2:scrollMode}</code></td><td></td></tr> * </table> * @see #RadScrollView_fillViewport * @see #RadScrollView_scrollMode */ public static final int[] RadScrollView={ 0x7f0300ce, 0x7f030153 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#fillViewport} * attribute's value can be found in the {@link #RadScrollView} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:fillViewport */ public static final int RadScrollView_fillViewport=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#scrollMode} * attribute's value can be found in the {@link #RadScrollView} 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>both</td><td>3</td><td></td></tr> * <tr><td>horizontal</td><td>2</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>vertical</td><td>1</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:scrollMode */ public static final int RadScrollView_scrollMode=1; /** * Attributes that can be used with a RadScrollViewTheme. * <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 #RadScrollViewTheme_radScrollViewStyle org.nativescript.MAD2:radScrollViewStyle}</code></td><td></td></tr> * </table> * @see #RadScrollViewTheme_radScrollViewStyle */ public static final int[] RadScrollViewTheme={ 0x7f030149 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#radScrollViewStyle} * attribute's value can be found in the {@link #RadScrollViewTheme} 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 org.nativescript.MAD2:radScrollViewStyle */ public static final int RadScrollViewTheme_radScrollViewStyle=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 org.nativescript.MAD2:paddingBottomNoButtons}</code></td><td>Bottom padding to use when no buttons are present.</td></tr> * <tr><td><code>{@link #RecycleListView_paddingTopNoTitle org.nativescript.MAD2: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={ 0x7f030134, 0x7f030137 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2:paddingTopNoTitle */ public static final int RecycleListView_paddingTopNoTitle=1; /** * Attributes that can be used with a RecyclerView. * <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 #RecyclerView_android_orientation android:orientation}</code></td><td></td></tr> * <tr><td><code>{@link #RecyclerView_android_descendantFocusability android:descendantFocusability}</code></td><td></td></tr> * <tr><td><code>{@link #RecyclerView_fastScrollEnabled org.nativescript.MAD2:fastScrollEnabled}</code></td><td></td></tr> * <tr><td><code>{@link #RecyclerView_fastScrollHorizontalThumbDrawable org.nativescript.MAD2:fastScrollHorizontalThumbDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #RecyclerView_fastScrollHorizontalTrackDrawable org.nativescript.MAD2:fastScrollHorizontalTrackDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #RecyclerView_fastScrollVerticalThumbDrawable org.nativescript.MAD2:fastScrollVerticalThumbDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #RecyclerView_fastScrollVerticalTrackDrawable org.nativescript.MAD2:fastScrollVerticalTrackDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #RecyclerView_layoutManager org.nativescript.MAD2:layoutManager}</code></td><td>Class name of the Layout Manager to be used.</td></tr> * <tr><td><code>{@link #RecyclerView_reverseLayout org.nativescript.MAD2:reverseLayout}</code></td><td></td></tr> * <tr><td><code>{@link #RecyclerView_spanCount org.nativescript.MAD2:spanCount}</code></td><td></td></tr> * <tr><td><code>{@link #RecyclerView_stackFromEnd org.nativescript.MAD2:stackFromEnd}</code></td><td></td></tr> * </table> * @see #RecyclerView_android_orientation * @see #RecyclerView_android_descendantFocusability * @see #RecyclerView_fastScrollEnabled * @see #RecyclerView_fastScrollHorizontalThumbDrawable * @see #RecyclerView_fastScrollHorizontalTrackDrawable * @see #RecyclerView_fastScrollVerticalThumbDrawable * @see #RecyclerView_fastScrollVerticalTrackDrawable * @see #RecyclerView_layoutManager * @see #RecyclerView_reverseLayout * @see #RecyclerView_spanCount * @see #RecyclerView_stackFromEnd */ public static final int[] RecyclerView={ 0x010100c4, 0x010100f1, 0x7f0300c9, 0x7f0300ca, 0x7f0300cb, 0x7f0300cc, 0x7f0300cd, 0x7f03010b, 0x7f03014e, 0x7f030164, 0x7f03016a }; /** * <p>This symbol is the offset where the {@link android.R.attr#orientation} * attribute's value can be found in the {@link #RecyclerView} 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 RecyclerView_android_orientation=0; /** * <p>This symbol is the offset where the {@link android.R.attr#descendantFocusability} * attribute's value can be found in the {@link #RecyclerView} 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>afterDescendants</td><td>1</td><td></td></tr> * <tr><td>beforeDescendants</td><td>0</td><td></td></tr> * <tr><td>blocksDescendants</td><td>2</td><td></td></tr> * </table> * * @attr name android:descendantFocusability */ public static final int RecyclerView_android_descendantFocusability=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#fastScrollEnabled} * attribute's value can be found in the {@link #RecyclerView} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:fastScrollEnabled */ public static final int RecyclerView_fastScrollEnabled=2; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#fastScrollHorizontalThumbDrawable} * attribute's value can be found in the {@link #RecyclerView} 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 org.nativescript.MAD2:fastScrollHorizontalThumbDrawable */ public static final int RecyclerView_fastScrollHorizontalThumbDrawable=3; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#fastScrollHorizontalTrackDrawable} * attribute's value can be found in the {@link #RecyclerView} 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 org.nativescript.MAD2:fastScrollHorizontalTrackDrawable */ public static final int RecyclerView_fastScrollHorizontalTrackDrawable=4; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#fastScrollVerticalThumbDrawable} * attribute's value can be found in the {@link #RecyclerView} 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 org.nativescript.MAD2:fastScrollVerticalThumbDrawable */ public static final int RecyclerView_fastScrollVerticalThumbDrawable=5; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#fastScrollVerticalTrackDrawable} * attribute's value can be found in the {@link #RecyclerView} 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 org.nativescript.MAD2:fastScrollVerticalTrackDrawable */ public static final int RecyclerView_fastScrollVerticalTrackDrawable=6; /** * <p> * @attr description * Class name of the Layout Manager to be used. * <p/> * The class must extandroidx.recyclerview.widget.RecyclerViewView$LayoutManager * and have either a default constructor or constructor with the signature * (android.content.Context, android.util.AttributeSet, int, int). * <p/> * If the name starts with a '.', application package is prefixed. * Else, if the name contains a '.', the classname is assumed to be a full class name. * Else, the recycler view package naandroidx.appcompat.widgetdget) is prefixed. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name org.nativescript.MAD2:layoutManager */ public static final int RecyclerView_layoutManager=7; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#reverseLayout} * attribute's value can be found in the {@link #RecyclerView} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:reverseLayout */ public static final int RecyclerView_reverseLayout=8; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#spanCount} * attribute's value can be found in the {@link #RecyclerView} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name org.nativescript.MAD2:spanCount */ public static final int RecyclerView_spanCount=9; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#stackFromEnd} * attribute's value can be found in the {@link #RecyclerView} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:stackFromEnd */ public static final int RecyclerView_stackFromEnd=10; /** * Attributes that can be used with a ScrimInsetsFrameLayout. * <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 #ScrimInsetsFrameLayout_insetForeground org.nativescript.MAD2:insetForeground}</code></td><td></td></tr> * </table> * @see #ScrimInsetsFrameLayout_insetForeground */ public static final int[] ScrimInsetsFrameLayout={ 0x7f0300f9 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#insetForeground} * attribute's value can be found in the {@link #ScrimInsetsFrameLayout} 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 org.nativescript.MAD2:insetForeground */ public static final int ScrimInsetsFrameLayout_insetForeground=0; /** * Attributes that can be used with a ScrollingViewBehavior_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 #ScrollingViewBehavior_Layout_behavior_overlapTop org.nativescript.MAD2:behavior_overlapTop}</code></td><td></td></tr> * </table> * @see #ScrollingViewBehavior_Layout_behavior_overlapTop */ public static final int[] ScrollingViewBehavior_Layout={ 0x7f03003a }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#behavior_overlapTop} * attribute's value can be found in the {@link #ScrollingViewBehavior_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 org.nativescript.MAD2:behavior_overlapTop */ public static final int ScrollingViewBehavior_Layout_behavior_overlapTop=0; /** * 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 org.nativescript.MAD2:closeIcon}</code></td><td>Close button icon</td></tr> * <tr><td><code>{@link #SearchView_commitIcon org.nativescript.MAD2:commitIcon}</code></td><td>Commit icon shown in the query suggestion row</td></tr> * <tr><td><code>{@link #SearchView_defaultQueryHint org.nativescript.MAD2: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 org.nativescript.MAD2:goIcon}</code></td><td>Go button icon</td></tr> * <tr><td><code>{@link #SearchView_iconifiedByDefault org.nativescript.MAD2:iconifiedByDefault}</code></td><td>The default state of the SearchView.</td></tr> * <tr><td><code>{@link #SearchView_layout org.nativescript.MAD2:layout}</code></td><td>The layout to use for the search view.</td></tr> * <tr><td><code>{@link #SearchView_queryBackground org.nativescript.MAD2:queryBackground}</code></td><td>Background for the section containing the search query</td></tr> * <tr><td><code>{@link #SearchView_queryHint org.nativescript.MAD2: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 org.nativescript.MAD2:searchHintIcon}</code></td><td>Search icon displayed as a text field hint</td></tr> * <tr><td><code>{@link #SearchView_searchIcon org.nativescript.MAD2:searchIcon}</code></td><td>Search icon</td></tr> * <tr><td><code>{@link #SearchView_submitBackground org.nativescript.MAD2:submitBackground}</code></td><td>Background for the section containing the action (e.g.</td></tr> * <tr><td><code>{@link #SearchView_suggestionRowLayout org.nativescript.MAD2:suggestionRowLayout}</code></td><td>Layout for query suggestion rows</td></tr> * <tr><td><code>{@link #SearchView_voiceIcon org.nativescript.MAD2: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, 0x7f030077, 0x7f03008f, 0x7f0300a5, 0x7f0300de, 0x7f0300f5, 0x7f03010a, 0x7f030147, 0x7f030148, 0x7f030154, 0x7f030155, 0x7f030175, 0x7f03017a, 0x7f0301d5 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:voiceIcon */ public static final int SearchView_voiceIcon=16; /** * Attributes that can be used with a Snackbar. * <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 #Snackbar_snackbarButtonStyle org.nativescript.MAD2:snackbarButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #Snackbar_snackbarStyle org.nativescript.MAD2:snackbarStyle}</code></td><td></td></tr> * </table> * @see #Snackbar_snackbarButtonStyle * @see #Snackbar_snackbarStyle */ public static final int[] Snackbar={ 0x7f030162, 0x7f030163 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#snackbarButtonStyle} * attribute's value can be found in the {@link #Snackbar} 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 org.nativescript.MAD2:snackbarButtonStyle */ public static final int Snackbar_snackbarButtonStyle=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#snackbarStyle} * attribute's value can be found in the {@link #Snackbar} 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 org.nativescript.MAD2:snackbarStyle */ public static final int Snackbar_snackbarStyle=1; /** * Attributes that can be used with a SnackbarLayout. * <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 #SnackbarLayout_android_maxWidth android:maxWidth}</code></td><td></td></tr> * <tr><td><code>{@link #SnackbarLayout_elevation org.nativescript.MAD2:elevation}</code></td><td>Elevation for the action bar itself</td></tr> * <tr><td><code>{@link #SnackbarLayout_maxActionInlineWidth org.nativescript.MAD2:maxActionInlineWidth}</code></td><td></td></tr> * </table> * @see #SnackbarLayout_android_maxWidth * @see #SnackbarLayout_elevation * @see #SnackbarLayout_maxActionInlineWidth */ public static final int[] SnackbarLayout={ 0x0101011f, 0x7f0300b5, 0x7f030128 }; /** * <p>This symbol is the offset where the {@link android.R.attr#maxWidth} * attribute's value can be found in the {@link #SnackbarLayout} 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 SnackbarLayout_android_maxWidth=0; /** * <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 org.nativescript.MAD2:elevation */ public static final int SnackbarLayout_elevation=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#maxActionInlineWidth} * attribute's value can be found in the {@link #SnackbarLayout} 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 org.nativescript.MAD2:maxActionInlineWidth */ public static final int SnackbarLayout_maxActionInlineWidth=2; /** * 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 org.nativescript.MAD2: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, 0x7f030141 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2:showText}</code></td><td>Whether to draw on/off text.</td></tr> * <tr><td><code>{@link #SwitchCompat_splitTrack org.nativescript.MAD2: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 org.nativescript.MAD2:switchMinWidth}</code></td><td>Minimum width for the switch component</td></tr> * <tr><td><code>{@link #SwitchCompat_switchPadding org.nativescript.MAD2:switchPadding}</code></td><td>Minimum space between the switch and caption text</td></tr> * <tr><td><code>{@link #SwitchCompat_switchTextAppearance org.nativescript.MAD2:switchTextAppearance}</code></td><td>TextAppearance style for text displayed on the switch thumb.</td></tr> * <tr><td><code>{@link #SwitchCompat_thumbTextPadding org.nativescript.MAD2:thumbTextPadding}</code></td><td>Amount of padding on either side of text within the switch thumb.</td></tr> * <tr><td><code>{@link #SwitchCompat_thumbTint org.nativescript.MAD2:thumbTint}</code></td><td>Tint to apply to the thumb drawable.</td></tr> * <tr><td><code>{@link #SwitchCompat_thumbTintMode org.nativescript.MAD2:thumbTintMode}</code></td><td>Blending mode used to apply the thumb tint.</td></tr> * <tr><td><code>{@link #SwitchCompat_track org.nativescript.MAD2:track}</code></td><td>Drawable to use as the "track" that the switch thumb slides within.</td></tr> * <tr><td><code>{@link #SwitchCompat_trackTint org.nativescript.MAD2:trackTint}</code></td><td>Tint to apply to the track.</td></tr> * <tr><td><code>{@link #SwitchCompat_trackTintMode org.nativescript.MAD2: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, 0x7f03015d, 0x7f030168, 0x7f03017b, 0x7f03017c, 0x7f03017e, 0x7f0301b6, 0x7f0301b7, 0x7f0301b8, 0x7f0301cf, 0x7f0301d0, 0x7f0301d1 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:trackTintMode */ public static final int SwitchCompat_trackTintMode=13; /** * Attributes that can be used with a TabItem. * <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 #TabItem_android_icon android:icon}</code></td><td></td></tr> * <tr><td><code>{@link #TabItem_android_layout android:layout}</code></td><td></td></tr> * <tr><td><code>{@link #TabItem_android_text android:text}</code></td><td></td></tr> * </table> * @see #TabItem_android_icon * @see #TabItem_android_layout * @see #TabItem_android_text */ public static final int[] TabItem={ 0x01010002, 0x010100f2, 0x0101014f }; /** * <p>This symbol is the offset where the {@link android.R.attr#icon} * attribute's value can be found in the {@link #TabItem} 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:icon */ public static final int TabItem_android_icon=0; /** * <p>This symbol is the offset where the {@link android.R.attr#layout} * attribute's value can be found in the {@link #TabItem} 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 TabItem_android_layout=1; /** * <p>This symbol is the offset where the {@link android.R.attr#text} * attribute's value can be found in the {@link #TabItem} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:text */ public static final int TabItem_android_text=2; /** * Attributes that can be used with a TabLayout. * <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 #TabLayout_tabBackground org.nativescript.MAD2:tabBackground}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabContentStart org.nativescript.MAD2:tabContentStart}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabGravity org.nativescript.MAD2:tabGravity}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabIconTint org.nativescript.MAD2:tabIconTint}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabIconTintMode org.nativescript.MAD2:tabIconTintMode}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabIndicator org.nativescript.MAD2:tabIndicator}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabIndicatorAnimationDuration org.nativescript.MAD2:tabIndicatorAnimationDuration}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabIndicatorColor org.nativescript.MAD2:tabIndicatorColor}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabIndicatorFullWidth org.nativescript.MAD2:tabIndicatorFullWidth}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabIndicatorGravity org.nativescript.MAD2:tabIndicatorGravity}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabIndicatorHeight org.nativescript.MAD2:tabIndicatorHeight}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabInlineLabel org.nativescript.MAD2:tabInlineLabel}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabMaxWidth org.nativescript.MAD2:tabMaxWidth}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabMinWidth org.nativescript.MAD2:tabMinWidth}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabMode org.nativescript.MAD2:tabMode}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabPadding org.nativescript.MAD2:tabPadding}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabPaddingBottom org.nativescript.MAD2:tabPaddingBottom}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabPaddingEnd org.nativescript.MAD2:tabPaddingEnd}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabPaddingStart org.nativescript.MAD2:tabPaddingStart}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabPaddingTop org.nativescript.MAD2:tabPaddingTop}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabRippleColor org.nativescript.MAD2:tabRippleColor}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabSelectedTextColor org.nativescript.MAD2:tabSelectedTextColor}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabTextAppearance org.nativescript.MAD2:tabTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabTextColor org.nativescript.MAD2:tabTextColor}</code></td><td></td></tr> * <tr><td><code>{@link #TabLayout_tabUnboundedRipple org.nativescript.MAD2:tabUnboundedRipple}</code></td><td></td></tr> * </table> * @see #TabLayout_tabBackground * @see #TabLayout_tabContentStart * @see #TabLayout_tabGravity * @see #TabLayout_tabIconTint * @see #TabLayout_tabIconTintMode * @see #TabLayout_tabIndicator * @see #TabLayout_tabIndicatorAnimationDuration * @see #TabLayout_tabIndicatorColor * @see #TabLayout_tabIndicatorFullWidth * @see #TabLayout_tabIndicatorGravity * @see #TabLayout_tabIndicatorHeight * @see #TabLayout_tabInlineLabel * @see #TabLayout_tabMaxWidth * @see #TabLayout_tabMinWidth * @see #TabLayout_tabMode * @see #TabLayout_tabPadding * @see #TabLayout_tabPaddingBottom * @see #TabLayout_tabPaddingEnd * @see #TabLayout_tabPaddingStart * @see #TabLayout_tabPaddingTop * @see #TabLayout_tabRippleColor * @see #TabLayout_tabSelectedTextColor * @see #TabLayout_tabTextAppearance * @see #TabLayout_tabTextColor * @see #TabLayout_tabUnboundedRipple */ public static final int[] TabLayout={ 0x7f03017f, 0x7f030180, 0x7f030181, 0x7f030182, 0x7f030183, 0x7f030184, 0x7f030185, 0x7f030186, 0x7f030187, 0x7f030188, 0x7f030189, 0x7f03018a, 0x7f03018b, 0x7f03018c, 0x7f03018d, 0x7f03018e, 0x7f03018f, 0x7f030190, 0x7f030191, 0x7f030192, 0x7f030193, 0x7f030194, 0x7f030196, 0x7f030197, 0x7f030198 }; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabBackground} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabBackground */ public static final int TabLayout_tabBackground=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabContentStart} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabContentStart */ public static final int TabLayout_tabContentStart=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabGravity} * attribute's value can be found in the {@link #TabLayout} 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>center</td><td>1</td><td></td></tr> * <tr><td>fill</td><td>0</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:tabGravity */ public static final int TabLayout_tabGravity=2; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabIconTint} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabIconTint */ public static final int TabLayout_tabIconTint=3; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabIconTintMode} * attribute's value can be found in the {@link #TabLayout} 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>add</td><td>10</td><td></td></tr> * <tr><td>multiply</td><td>e</td><td></td></tr> * <tr><td>screen</td><td>f</td><td></td></tr> * <tr><td>src_atop</td><td>9</td><td></td></tr> * <tr><td>src_in</td><td>5</td><td></td></tr> * <tr><td>src_over</td><td>3</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:tabIconTintMode */ public static final int TabLayout_tabIconTintMode=4; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabIndicator} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabIndicator */ public static final int TabLayout_tabIndicator=5; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabIndicatorAnimationDuration} * attribute's value can be found in the {@link #TabLayout} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name org.nativescript.MAD2:tabIndicatorAnimationDuration */ public static final int TabLayout_tabIndicatorAnimationDuration=6; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabIndicatorColor} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabIndicatorColor */ public static final int TabLayout_tabIndicatorColor=7; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabIndicatorFullWidth} * attribute's value can be found in the {@link #TabLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:tabIndicatorFullWidth */ public static final int TabLayout_tabIndicatorFullWidth=8; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabIndicatorGravity} * attribute's value can be found in the {@link #TabLayout} 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>0</td><td></td></tr> * <tr><td>center</td><td>1</td><td></td></tr> * <tr><td>stretch</td><td>3</td><td></td></tr> * <tr><td>top</td><td>2</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:tabIndicatorGravity */ public static final int TabLayout_tabIndicatorGravity=9; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabIndicatorHeight} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabIndicatorHeight */ public static final int TabLayout_tabIndicatorHeight=10; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabInlineLabel} * attribute's value can be found in the {@link #TabLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:tabInlineLabel */ public static final int TabLayout_tabInlineLabel=11; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabMaxWidth} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabMaxWidth */ public static final int TabLayout_tabMaxWidth=12; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabMinWidth} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabMinWidth */ public static final int TabLayout_tabMinWidth=13; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabMode} * attribute's value can be found in the {@link #TabLayout} 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>fixed</td><td>1</td><td></td></tr> * <tr><td>scrollable</td><td>0</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:tabMode */ public static final int TabLayout_tabMode=14; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabPadding} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabPadding */ public static final int TabLayout_tabPadding=15; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabPaddingBottom} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabPaddingBottom */ public static final int TabLayout_tabPaddingBottom=16; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabPaddingEnd} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabPaddingEnd */ public static final int TabLayout_tabPaddingEnd=17; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabPaddingStart} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabPaddingStart */ public static final int TabLayout_tabPaddingStart=18; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabPaddingTop} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabPaddingTop */ public static final int TabLayout_tabPaddingTop=19; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabRippleColor} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabRippleColor */ public static final int TabLayout_tabRippleColor=20; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabSelectedTextColor} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabSelectedTextColor */ public static final int TabLayout_tabSelectedTextColor=21; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabTextAppearance} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabTextAppearance */ public static final int TabLayout_tabTextAppearance=22; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabTextColor} * attribute's value can be found in the {@link #TabLayout} 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 org.nativescript.MAD2:tabTextColor */ public static final int TabLayout_tabTextColor=23; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#tabUnboundedRipple} * attribute's value can be found in the {@link #TabLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:tabUnboundedRipple */ public static final int TabLayout_tabUnboundedRipple=24; /** * 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 org.nativescript.MAD2:fontFamily}</code></td><td>The attribute for the font family.</td></tr> * <tr><td><code>{@link #TextAppearance_textAllCaps org.nativescript.MAD2: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, 0x7f0300d2, 0x7f030199 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2:textAllCaps */ public static final int TextAppearance_textAllCaps=12; /** * Attributes that can be used with a TextInputLayout. * <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 #TextInputLayout_android_textColorHint android:textColorHint}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_android_hint android:hint}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_boxBackgroundColor org.nativescript.MAD2:boxBackgroundColor}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_boxBackgroundMode org.nativescript.MAD2:boxBackgroundMode}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_boxCollapsedPaddingTop org.nativescript.MAD2:boxCollapsedPaddingTop}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_boxCornerRadiusBottomEnd org.nativescript.MAD2:boxCornerRadiusBottomEnd}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_boxCornerRadiusBottomStart org.nativescript.MAD2:boxCornerRadiusBottomStart}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_boxCornerRadiusTopEnd org.nativescript.MAD2:boxCornerRadiusTopEnd}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_boxCornerRadiusTopStart org.nativescript.MAD2:boxCornerRadiusTopStart}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_boxStrokeColor org.nativescript.MAD2:boxStrokeColor}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_boxStrokeWidth org.nativescript.MAD2:boxStrokeWidth}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_counterEnabled org.nativescript.MAD2:counterEnabled}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_counterMaxLength org.nativescript.MAD2:counterMaxLength}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_counterOverflowTextAppearance org.nativescript.MAD2:counterOverflowTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_counterTextAppearance org.nativescript.MAD2:counterTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_errorEnabled org.nativescript.MAD2:errorEnabled}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_errorTextAppearance org.nativescript.MAD2:errorTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_helperText org.nativescript.MAD2:helperText}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_helperTextEnabled org.nativescript.MAD2:helperTextEnabled}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_helperTextTextAppearance org.nativescript.MAD2:helperTextTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_hintAnimationEnabled org.nativescript.MAD2:hintAnimationEnabled}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_hintEnabled org.nativescript.MAD2:hintEnabled}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_hintTextAppearance org.nativescript.MAD2:hintTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_passwordToggleContentDescription org.nativescript.MAD2:passwordToggleContentDescription}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_passwordToggleDrawable org.nativescript.MAD2:passwordToggleDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_passwordToggleEnabled org.nativescript.MAD2:passwordToggleEnabled}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_passwordToggleTint org.nativescript.MAD2:passwordToggleTint}</code></td><td></td></tr> * <tr><td><code>{@link #TextInputLayout_passwordToggleTintMode org.nativescript.MAD2:passwordToggleTintMode}</code></td><td></td></tr> * </table> * @see #TextInputLayout_android_textColorHint * @see #TextInputLayout_android_hint * @see #TextInputLayout_boxBackgroundColor * @see #TextInputLayout_boxBackgroundMode * @see #TextInputLayout_boxCollapsedPaddingTop * @see #TextInputLayout_boxCornerRadiusBottomEnd * @see #TextInputLayout_boxCornerRadiusBottomStart * @see #TextInputLayout_boxCornerRadiusTopEnd * @see #TextInputLayout_boxCornerRadiusTopStart * @see #TextInputLayout_boxStrokeColor * @see #TextInputLayout_boxStrokeWidth * @see #TextInputLayout_counterEnabled * @see #TextInputLayout_counterMaxLength * @see #TextInputLayout_counterOverflowTextAppearance * @see #TextInputLayout_counterTextAppearance * @see #TextInputLayout_errorEnabled * @see #TextInputLayout_errorTextAppearance * @see #TextInputLayout_helperText * @see #TextInputLayout_helperTextEnabled * @see #TextInputLayout_helperTextTextAppearance * @see #TextInputLayout_hintAnimationEnabled * @see #TextInputLayout_hintEnabled * @see #TextInputLayout_hintTextAppearance * @see #TextInputLayout_passwordToggleContentDescription * @see #TextInputLayout_passwordToggleDrawable * @see #TextInputLayout_passwordToggleEnabled * @see #TextInputLayout_passwordToggleTint * @see #TextInputLayout_passwordToggleTintMode */ public static final int[] TextInputLayout={ 0x0101009a, 0x01010150, 0x7f030043, 0x7f030044, 0x7f030045, 0x7f030046, 0x7f030047, 0x7f030048, 0x7f030049, 0x7f03004a, 0x7f03004b, 0x7f0300a0, 0x7f0300a1, 0x7f0300a2, 0x7f0300a3, 0x7f0300b8, 0x7f0300b9, 0x7f0300e1, 0x7f0300e2, 0x7f0300e3, 0x7f0300e7, 0x7f0300e8, 0x7f0300e9, 0x7f03013b, 0x7f03013c, 0x7f03013d, 0x7f03013e, 0x7f03013f }; /** * <p>This symbol is the offset where the {@link android.R.attr#textColorHint} * attribute's value can be found in the {@link #TextInputLayout} 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 TextInputLayout_android_textColorHint=0; /** * <p>This symbol is the offset where the {@link android.R.attr#hint} * attribute's value can be found in the {@link #TextInputLayout} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:hint */ public static final int TextInputLayout_android_hint=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#boxBackgroundColor} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:boxBackgroundColor */ public static final int TextInputLayout_boxBackgroundColor=2; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#boxBackgroundMode} * attribute's value can be found in the {@link #TextInputLayout} 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>filled</td><td>1</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>outline</td><td>2</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:boxBackgroundMode */ public static final int TextInputLayout_boxBackgroundMode=3; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#boxCollapsedPaddingTop} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:boxCollapsedPaddingTop */ public static final int TextInputLayout_boxCollapsedPaddingTop=4; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#boxCornerRadiusBottomEnd} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:boxCornerRadiusBottomEnd */ public static final int TextInputLayout_boxCornerRadiusBottomEnd=5; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#boxCornerRadiusBottomStart} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:boxCornerRadiusBottomStart */ public static final int TextInputLayout_boxCornerRadiusBottomStart=6; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#boxCornerRadiusTopEnd} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:boxCornerRadiusTopEnd */ public static final int TextInputLayout_boxCornerRadiusTopEnd=7; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#boxCornerRadiusTopStart} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:boxCornerRadiusTopStart */ public static final int TextInputLayout_boxCornerRadiusTopStart=8; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#boxStrokeColor} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:boxStrokeColor */ public static final int TextInputLayout_boxStrokeColor=9; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#boxStrokeWidth} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:boxStrokeWidth */ public static final int TextInputLayout_boxStrokeWidth=10; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#counterEnabled} * attribute's value can be found in the {@link #TextInputLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:counterEnabled */ public static final int TextInputLayout_counterEnabled=11; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#counterMaxLength} * attribute's value can be found in the {@link #TextInputLayout} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name org.nativescript.MAD2:counterMaxLength */ public static final int TextInputLayout_counterMaxLength=12; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#counterOverflowTextAppearance} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:counterOverflowTextAppearance */ public static final int TextInputLayout_counterOverflowTextAppearance=13; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#counterTextAppearance} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:counterTextAppearance */ public static final int TextInputLayout_counterTextAppearance=14; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#errorEnabled} * attribute's value can be found in the {@link #TextInputLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:errorEnabled */ public static final int TextInputLayout_errorEnabled=15; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#errorTextAppearance} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:errorTextAppearance */ public static final int TextInputLayout_errorTextAppearance=16; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#helperText} * attribute's value can be found in the {@link #TextInputLayout} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name org.nativescript.MAD2:helperText */ public static final int TextInputLayout_helperText=17; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#helperTextEnabled} * attribute's value can be found in the {@link #TextInputLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:helperTextEnabled */ public static final int TextInputLayout_helperTextEnabled=18; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#helperTextTextAppearance} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:helperTextTextAppearance */ public static final int TextInputLayout_helperTextTextAppearance=19; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#hintAnimationEnabled} * attribute's value can be found in the {@link #TextInputLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:hintAnimationEnabled */ public static final int TextInputLayout_hintAnimationEnabled=20; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#hintEnabled} * attribute's value can be found in the {@link #TextInputLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:hintEnabled */ public static final int TextInputLayout_hintEnabled=21; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#hintTextAppearance} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:hintTextAppearance */ public static final int TextInputLayout_hintTextAppearance=22; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#passwordToggleContentDescription} * attribute's value can be found in the {@link #TextInputLayout} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name org.nativescript.MAD2:passwordToggleContentDescription */ public static final int TextInputLayout_passwordToggleContentDescription=23; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#passwordToggleDrawable} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:passwordToggleDrawable */ public static final int TextInputLayout_passwordToggleDrawable=24; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#passwordToggleEnabled} * attribute's value can be found in the {@link #TextInputLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:passwordToggleEnabled */ public static final int TextInputLayout_passwordToggleEnabled=25; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#passwordToggleTint} * attribute's value can be found in the {@link #TextInputLayout} 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 org.nativescript.MAD2:passwordToggleTint */ public static final int TextInputLayout_passwordToggleTint=26; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#passwordToggleTintMode} * attribute's value can be found in the {@link #TextInputLayout} 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>multiply</td><td>e</td><td></td></tr> * <tr><td>screen</td><td>f</td><td></td></tr> * <tr><td>src_atop</td><td>9</td><td></td></tr> * <tr><td>src_in</td><td>5</td><td></td></tr> * <tr><td>src_over</td><td>3</td><td></td></tr> * </table> * * @attr name org.nativescript.MAD2:passwordToggleTintMode */ public static final int TextInputLayout_passwordToggleTintMode=27; /** * Attributes that can be used with a ThemeEnforcement. * <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 #ThemeEnforcement_android_textAppearance android:textAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #ThemeEnforcement_enforceMaterialTheme org.nativescript.MAD2:enforceMaterialTheme}</code></td><td></td></tr> * <tr><td><code>{@link #ThemeEnforcement_enforceTextAppearance org.nativescript.MAD2:enforceTextAppearance}</code></td><td></td></tr> * </table> * @see #ThemeEnforcement_android_textAppearance * @see #ThemeEnforcement_enforceMaterialTheme * @see #ThemeEnforcement_enforceTextAppearance */ public static final int[] ThemeEnforcement={ 0x01010034, 0x7f0300b6, 0x7f0300b7 }; /** * <p>This symbol is the offset where the {@link android.R.attr#textAppearance} * attribute's value can be found in the {@link #ThemeEnforcement} 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 ThemeEnforcement_android_textAppearance=0; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#enforceMaterialTheme} * attribute's value can be found in the {@link #ThemeEnforcement} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:enforceMaterialTheme */ public static final int ThemeEnforcement_enforceMaterialTheme=1; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.R.attr#enforceTextAppearance} * attribute's value can be found in the {@link #ThemeEnforcement} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name org.nativescript.MAD2:enforceTextAppearance */ public static final int ThemeEnforcement_enforceTextAppearance=2; /** * 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 org.nativescript.MAD2:buttonGravity}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_collapseContentDescription org.nativescript.MAD2:collapseContentDescription}</code></td><td>Text to set as the content description for the collapse button.</td></tr> * <tr><td><code>{@link #Toolbar_collapseIcon org.nativescript.MAD2:collapseIcon}</code></td><td>Icon drawable to use for the collapse button.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetEnd org.nativescript.MAD2:contentInsetEnd}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetEndWithActions org.nativescript.MAD2: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 org.nativescript.MAD2:contentInsetLeft}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetRight org.nativescript.MAD2:contentInsetRight}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetStart org.nativescript.MAD2:contentInsetStart}</code></td><td>Minimum inset for content views within a bar.</td></tr> * <tr><td><code>{@link #Toolbar_contentInsetStartWithNavigation org.nativescript.MAD2: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 org.nativescript.MAD2:logo}</code></td><td>Specifies the drawable used for the application logo.</td></tr> * <tr><td><code>{@link #Toolbar_logoDescription org.nativescript.MAD2: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 org.nativescript.MAD2:maxButtonHeight}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_navigationContentDescription org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:subtitle}</code></td><td>Specifies subtitle text used for navigationMode="normal"</td></tr> * <tr><td><code>{@link #Toolbar_subtitleTextAppearance org.nativescript.MAD2:subtitleTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_subtitleTextColor org.nativescript.MAD2:subtitleTextColor}</code></td><td>A color to apply to the subtitle string.</td></tr> * <tr><td><code>{@link #Toolbar_title org.nativescript.MAD2:title}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleMargin org.nativescript.MAD2: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 org.nativescript.MAD2:titleMarginBottom}</code></td><td>Specifies extra space on the bottom side of the toolbar's title.</td></tr> * <tr><td><code>{@link #Toolbar_titleMarginEnd org.nativescript.MAD2:titleMarginEnd}</code></td><td>Specifies extra space on the end side of the toolbar's title.</td></tr> * <tr><td><code>{@link #Toolbar_titleMarginStart org.nativescript.MAD2:titleMarginStart}</code></td><td>Specifies extra space on the start side of the toolbar's title.</td></tr> * <tr><td><code>{@link #Toolbar_titleMarginTop org.nativescript.MAD2:titleMarginTop}</code></td><td>Specifies extra space on the top side of the toolbar's title.</td></tr> * <tr><td><code>{@link #Toolbar_titleMargins org.nativescript.MAD2:titleMargins}</code></td><td>{@deprecated Use titleMargin}</td></tr> * <tr><td><code>{@link #Toolbar_titleTextAppearance org.nativescript.MAD2:titleTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleTextColor org.nativescript.MAD2: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, 0x7f030051, 0x7f03007f, 0x7f030080, 0x7f030091, 0x7f030092, 0x7f030093, 0x7f030094, 0x7f030095, 0x7f030096, 0x7f030124, 0x7f030125, 0x7f030129, 0x7f03012e, 0x7f03012f, 0x7f030141, 0x7f030176, 0x7f030177, 0x7f030178, 0x7f0301be, 0x7f0301c0, 0x7f0301c1, 0x7f0301c2, 0x7f0301c3, 0x7f0301c4, 0x7f0301c5, 0x7f0301c6, 0x7f0301c7 }; /** * <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 org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:logoDescription */ public static final int Toolbar_logoDescription=12; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:subtitle */ public static final int Toolbar_subtitle=17; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2:subtitleTextColor */ public static final int Toolbar_subtitleTextColor=19; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:titleMargins */ @Deprecated public static final int Toolbar_titleMargins=26; /** * <p>This symbol is the offset where the {@link org.nativescript.MAD2.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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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, 0x7f030135, 0x7f030136, 0x7f0301b4 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2: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 org.nativescript.MAD2:backgroundTint}</code></td><td>Tint to apply to the background.</td></tr> * <tr><td><code>{@link #ViewBackgroundHelper_backgroundTintMode org.nativescript.MAD2: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, 0x7f030034, 0x7f030035 }; /** * <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 org.nativescript.MAD2: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 org.nativescript.MAD2: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; } }
[ "collinsmucyo@gmail.com" ]
collinsmucyo@gmail.com
03b4fddc4e6219755adda902c0849bab34c5f2f7
dc8a700f7d0d5066f6dbe61b1f871dd4111b05c0
/src/main/java/harrier/income/com/report/DisplayIndexForm.java
e3cf5b28c39a18346d9acd3e590feb82a9d12255
[]
no_license
Jeetthakar/stockpile
843f2eaba5386cdc7ea8a7701b4857b801d34eb4
84efa07be21404da9fce3eea2425e9240e60d744
refs/heads/master
2020-05-02T03:04:17.420339
2019-04-08T09:22:21
2019-04-08T09:22:21
177,718,814
0
0
null
null
null
null
UTF-8
Java
false
false
35,460
java
/** * @author Ashish * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ package harrier.income.com.report; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.Vector; import javax.servlet.http.HttpServletRequest; import org.apache.log4j.Logger; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import org.apache.struts.util.LabelValueBean; import org.jfree.chart.demo.servlet.AdjustDecimal; import org.jfree.chart.demo.servlet.ComposeIndex; import app.AcessControl; import app.Connect; import com.harrier.initializeation.ConnectInit; public class DisplayIndexForm extends ActionForm { Logger Logging = Logger.getLogger(DisplayIndexForm.class); private String from = null, go = null, clear = null, to = null, defaultVal = null, check = null, checkChart = null, selectIndex = null, selectStock = null, text = null; private Collection selectIndexCollection = null; static double total = 0.00; // AdjustDecimal ad = new AdjustDecimal(); String reset, computetotalreturns, b_showChild, query, index, compute, indexid1; ArrayList details = null; private Vector vw, index_details, va; private ResultSet rst, rst1; // app.Connect con=new app.Connect(); String userid1; String roleid1; Connection connection = null; public String getUserid1() { return userid1; } public void setUserid1(String userid1) { this.userid1 = userid1; } /** RESEST ALL FORM FIELDS **/ public void reset(ActionMapping mapping, HttpServletRequest request) { selectIndexCollection = null; from = null; go = null; to = null; clear = null; defaultVal = null; } public void reset() { from = null; } /** * VALIDATE FORM DATA * **/ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); return errors; } /** * @return Returns the total. */ public ArrayList getDetails() { Connection connection = null; va = new Vector(); Vector ve = new Vector(); String l_date = ""; String date1 = from, predate = null; String indexname = null, indexid = null, current = null, indexopen = null, indexhigh = null, indexlow = null, indexclosing = null, tmcv = null, divisor = null, currency = null, indexdate = null, indexclsv = null, indextime = null, vachange = null; Logging.debug("Before if " + date1); if ((date1 == null) || (date1.equals("null"))) { Logging.debug("date null inside if"); SimpleDateFormat fr = new SimpleDateFormat("dd-MM-yyyy"); Date dt = new Date(); l_date = fr.format(dt).toString(); } Logging.debug(l_date); int i = 0; Double dd = new Double("0"); Logging.debug("setIndex_details of Compose Index"); String value = null, open = null, high = null, low = null, close = null, mcap = null; ArrayList tempdata = new ArrayList(); details = new ArrayList(); DetailIndex detailindex; // String user_id="1"; // Connect con = new app.Connect(); Connect con = ConnectInit.getConnect(); AdjustDecimal ad = ConnectInit.getAdjustDecimal(); try { if (connection == null) connection = con.getdbConnection(); if ((date1 == null) || (date1.equals("null"))) { // Change by Manoj Adekar: Dated 4-11-2008 if (roleid1.equals("1")) { rst1 = con.getLatestIndexDetails1( "get_latest_all_index_details_bench", l_date); } else { rst = con.getLatestIndexDetails( "get_latest_all_index_details", l_date, userid1); rst1 = con.getLatestIndexDetails1( "get_latest_all_index_details_bench", l_date); } } else { if (roleid1.equals("1")) { rst1 = con.getLatestIndexDetails1( "get_latest_all_index_details_bench", l_date); } else { rst1 = con .getIndexDetails("all_index_details_bench", date1); rst = con.getIndexDetails2("all_index_details", date1, userid1); } } try { while (rst.next()) { String strpchange = "0.00", status = null; /* * Change by Manoj Adekar to display Previos Close value in * the Report */ String curindid = null, curdate = null; curindid = rst.getString("index_id"); curdate = rst.getString("index_value_date"); predate = con.getMaxDate("get_before_max_date", curdate, curindid); double preVal = 0.00; preVal = con .getIndexValue("get_oneweek_before_index_value", predate, curindid); /* Upto Here */ if ((((double) rst.getDouble("index_closing_value")) != 0.00) && (preVal != 0.00)) { double pchange = (((double) rst.getDouble(2) - (double) preVal) / (double) preVal) * 100; strpchange = new Double(pchange).toString(); Logging.debug("strpchange before adjusting is " + strpchange); strpchange = ad.indexcompose(strpchange); vachange = strpchange; if (vachange == null) vachange = "0.00"; Logging.debug("strpchange after adjusting is " + strpchange); } else { vachange = "0.00"; } if (rst.getString(13) == null) { indexid = "0"; } else { indexid = rst.getString(13); ve.add(indexid); } if (rst.getString(1) == null) { indexname = "0"; } else { indexname = rst.getString(1); } if (rst.getString(2) == null) { current = "0"; } else { current = rst.getString(2); current = ad.indexcompose(current); current = AdjustDecimal.ArrangeAsNumeric(current); } if (rst.getString(3) == null) { status = "--"; } else { double change = (double) Double.parseDouble(strpchange); if (change > 0) { status = "up"; } else { if (change == 0.00) { status = "mid"; } else { // dd = new Double(change); status = "down"; } } } if (rst.getString(3) == null) { indexopen = "0.00"; } else { indexopen = rst.getString(3); indexopen = ad.indexcompose(indexopen); indexopen = AdjustDecimal.ArrangeAsNumeric(indexopen); } if (rst.getString(4) == null) { indexhigh = "0.00"; } else { indexhigh = rst.getString(4); indexhigh = ad.indexcompose(indexhigh); indexhigh = AdjustDecimal.ArrangeAsNumeric(indexhigh); } if (rst.getString(5) == null) { indexlow = "0.00"; } else { indexlow = rst.getString(5); indexlow = ad.indexcompose(indexlow); indexlow = AdjustDecimal.ArrangeAsNumeric(indexlow); } if (preVal == 0.0) { indexclsv = "0.00"; } else { indexclsv = new Double(preVal).toString(); indexclsv = ad.indexcompose(indexclsv); indexclsv = AdjustDecimal.ArrangeAsNumeric(indexclsv); } /* * if (rst.getString(12) == null) { indextime= "0"; * * } else { int time = comapreTime(rst.getString(12)); if * (time > 0) { String temp = rst.getString(7); * if(temp==null){ temp="0.00"; } * temp=ad.indexcompose(temp); * temp=AdjustDecimal.ArrangeAsNumeric(temp); indexclsv= * temp; * * } else { String temp1=rst.getString(6); if(temp1==null){ * temp1="0.00"; } temp1=ad.indexcompose(temp1); * temp1=AdjustDecimal.ArrangeAsNumeric(temp1); * indexclosing= temp1 ; * * } } */ if (rst.getString(8) == null) { tmcv = "0.00"; } else { String temp = rst.getString(8); if (temp == null) { temp = "0.00"; } int k = temp.indexOf("."); if (k == -1) { tmcv = temp; } else { temp = temp + "00"; temp = temp.substring(0, k + 2); temp = ad.indexcompose(temp); temp = AdjustDecimal.ArrangeAsNumeric(temp); tmcv = temp; } } if (rst.getString(9) == null) { divisor = "0.00"; } else { String temp = rst.getString(9); if (temp == null) { temp = "0.00"; } int k = temp.indexOf("."); if (k == -1) { divisor = temp; } else { temp = temp + "00"; temp = temp.substring(0, k + 2); temp = ad.indexcompose(temp); temp = AdjustDecimal.ArrangeAsNumeric(temp); divisor = temp; } } if (rst.getString(10) == null) { currency = "0"; } else { currency = rst.getString(10); } if (rst.getString(11) == null) { indexdate = "0"; } else { indexdate = rst.getString(11); } Logging.debug("Vec Values =" + indexname + " : " + indexid + " : " + current + " : " + indexopen + " : " + indexhigh + " : " + indexlow + " : " + indexclosing + " : " + vachange + " : " + tmcv + " : " + divisor + " : " + currency + ": " + indexdate + ": " + indexclsv + ": " + indextime); detailindex = new DetailIndex(indexname, indexid, current, status, indexopen, indexhigh, indexlow, indexclosing, vachange, tmcv, divisor, currency, indexdate, indexclsv, indextime); tempdata.add(detailindex); } while (rst1.next()) { String strpchange = "0.00", status = null; /* * Change by Manoj Adekar to display Previos Close value in * the Report */ String curindid = null, curdate = null; curindid = rst1.getString("index_id"); curdate = rst1.getString("index_value_date"); predate = con.getMaxDate("get_before_max_date", curdate, curindid); double preVal = 0.00; preVal = con .getIndexValue("get_oneweek_before_index_value", predate, curindid); /* Upto Here */ if ((((double) rst1.getDouble("index_closing_value")) != 0.00) && (preVal != 0.00)) { double pchange = (((double) rst1.getDouble(2) - (double) preVal) / (double) preVal) * 100; strpchange = new Double(pchange).toString(); Logging.debug("strpchange before adjusting is " + strpchange); strpchange = ad.indexcompose(strpchange); vachange = strpchange; if (vachange == null) vachange = "0.00"; Logging.debug("strpchange after adjusting is " + strpchange); } else { vachange = "0.00"; } if (rst1.getString(13) == null) { indexid = "0"; } else { indexid = rst1.getString(13); ve.add(indexid); } if (rst1.getString(1) == null) { indexname = "0"; } else { indexname = rst1.getString(1); } if (rst1.getString(2) == null) { current = "0"; } else { current = rst1.getString(2); current = ad.indexcompose(current); current = AdjustDecimal.ArrangeAsNumeric(current); } if (rst1.getString(3) == null) { status = "--"; } else { double change = (double) Double.parseDouble(strpchange); if (change > 0) { status = "up"; } else { if (change == 0.00) { status = "mid"; } else { // dd = new Double(change); status = "down"; } } } if (rst1.getString(3) == null) { indexopen = "0.00"; } else { indexopen = rst1.getString(3); indexopen = ad.indexcompose(indexopen); indexopen = AdjustDecimal.ArrangeAsNumeric(indexopen); } if (rst1.getString(4) == null) { indexhigh = "0.00"; } else { indexhigh = rst1.getString(4); indexhigh = ad.indexcompose(indexhigh); indexhigh = AdjustDecimal.ArrangeAsNumeric(indexhigh); } if (rst1.getString(5) == null) { indexlow = "0.00"; } else { indexlow = rst1.getString(5); indexlow = ad.indexcompose(indexlow); indexlow = AdjustDecimal.ArrangeAsNumeric(indexlow); } if (preVal == 0.0) { indexclsv = "0.00"; } else { indexclsv = new Double(preVal).toString(); indexclsv = ad.indexcompose(indexclsv); indexclsv = AdjustDecimal.ArrangeAsNumeric(indexclsv); } /* * if (rst.getString(12) == null) { indextime= "0"; * * } else { int time = comapreTime(rst.getString(12)); if * (time > 0) { String temp = rst.getString(7); * if(temp==null){ temp="0.00"; } * temp=ad.indexcompose(temp); * temp=AdjustDecimal.ArrangeAsNumeric(temp); indexclsv= * temp; * * } else { String temp1=rst.getString(6); if(temp1==null){ * temp1="0.00"; } temp1=ad.indexcompose(temp1); * temp1=AdjustDecimal.ArrangeAsNumeric(temp1); * indexclosing= temp1 ; * * } } */ if (rst1.getString(8) == null) { tmcv = "0.00"; } else { String temp = rst1.getString(8); if (temp == null) { temp = "0.00"; } int k = temp.indexOf("."); if (k == -1) { tmcv = temp; } else { temp = temp + "00"; temp = temp.substring(0, k + 2); temp = ad.indexcompose(temp); temp = AdjustDecimal.ArrangeAsNumeric(temp); tmcv = temp; } } if (rst1.getString(9) == null) { divisor = "0.00"; } else { String temp = rst1.getString(9); if (temp == null) { temp = "0.00"; } int k = temp.indexOf("."); if (k == -1) { divisor = temp; } else { temp = temp + "00"; temp = temp.substring(0, k + 2); temp = ad.indexcompose(temp); temp = AdjustDecimal.ArrangeAsNumeric(temp); divisor = temp; } } if (rst1.getString(10) == null) { currency = "0"; } else { currency = rst1.getString(10); } if (rst1.getString(11) == null) { indexdate = "0"; } else { indexdate = rst1.getString(11); } Logging.debug("Vec Values =" + indexname + " : " + indexid + " : " + current + " : " + indexopen + " : " + indexhigh + " : " + indexlow + " : " + indexclosing + " : " + vachange + " : " + tmcv + " : " + divisor + " : " + currency + ": " + indexdate + ": " + indexclsv + ": " + indextime); detailindex = new DetailIndex(indexname, indexid, current, status, indexopen, indexhigh, indexlow, indexclosing, vachange, tmcv, divisor, currency, indexdate, indexclsv, indextime); tempdata.add(detailindex); } con.closeDynaCon(); } catch (SQLException sqlexp) { Logging.error("SQL Error :" + sqlexp.getMessage()); } } catch (Exception ee) { Logging.error("DEbug" + ee.getMessage()); } finally { try { if (connection != null) connection.close(); } catch (Exception ee) { try { if (connection != null) connection.close(); } catch (Exception ex) { Logging.error(" Error : Unable to close connection " + ex.getMessage()); } Logging.error(" Error : Unable to close connection " + ee.getMessage()); } } Logging.debug("Return Index_details of size " + details.size()); details = tempdata; Logging.debug("The vector is......... " + ve); setVa(ve); return details; } public void setDetails(ArrayList details) { this.details = details; } /** * @param index_details * The index_details to set. */ public void setIndex_details(Vector index_details) { this.index_details = index_details; } /** * @return Returns the index_details. */ public Vector getIndex_details() { Connection connection = null; String l_date = ""; String date1 = from; // org.jfree.chart.demo.servlet.AdjustDecimal ad = new org.jfree.chart.demo.servlet.AdjustDecimal(); AdjustDecimal ad = ConnectInit.getAdjustDecimal(); Logging.debug("Before if " + date1); // Logging.getDebug(dt_today.equals(null)); if ((date1 == null) || (date1.equals("null"))) { Logging.debug("date null inside if"); SimpleDateFormat fr = new SimpleDateFormat("dd-MM-yyyy"); Date dt = new Date(); l_date = fr.format(dt).toString(); } Logging.debug(l_date); index_details = new Vector(); // Connect con=new Connect(); Connect con = ConnectInit.getConnect(); try { if (connection == null) connection = con.getdbConnection(); if ((date1 == null) || (date1.equals("null"))) { rst = con.getLatestIndexDetails("get_latest_all_index_details", l_date, userid1); rst1 = con.getLatestIndexDetails1( "get_latest_all_index_details_bench", l_date); } else { rst = con.getIndexDetails("all_index_details", date1); } int i = 0; Double dd = new Double("0"); Logging.debug("setIndex_details of Compose Index"); String value = null, open = null, high = null, low = null, close = null, mcap = null, divisor = null; try { while (rst.next()) { String strpchange = "0.00"; if (((double) rst.getDouble(7)) != 0.00) { double pchange = (((double) rst.getDouble(2) - (double) rst .getDouble(7)) / (double) rst.getDouble(7)) * 100; strpchange = new Double(pchange).toString(); Logging.debug("strpchange before adjusting is " + strpchange); strpchange = ad.indexcompose(strpchange); Logging.debug("strpchange after adjusting is " + strpchange); } if (rst.getString(13) == null) { index_details.add(i, "0"); } else { index_details.add(i, rst.getString(13)); } i++; // Logging.getDebug("inside while"); if (rst.getString(1) == null) { index_details.add(i, "--"); } else { index_details.add(i, rst.getString(1)); } i++; if (rst.getString(2) == null) { index_details.add(i, "0.00"); } else { value = rst.getString(2); value = ad.indexcompose(value); index_details.add(i, value); } i++; /* * if (rst.getString(3) == null) { index_details.add(i, * "--"); } else { double change = * (double)Double.parseDouble(strpchange); if (change > 0) { * index_details.add(i, "up"); } else { if(change==0.00) { * index_details.add(i, "mid"); }else{ //dd = new * Double(change); index_details.add(i, "down"); } } } i++; */ if (rst.getString(3) == null) { index_details.add(i, "0.00"); } else { open = rst.getString(3); open = ad.indexcompose(open); index_details.add(i, open); } i++; if (rst.getString(4) == null) { index_details.add(i, "0.00"); } else { high = rst.getString(4); high = ad.indexcompose(high); index_details.add(i, high); } i++; if (rst.getString(5) == null) { index_details.add(i, "0.00"); } else { low = rst.getString(5); low = ad.indexcompose(low); index_details.add(i, low); } i++; if (rst.getString(12) == null) { index_details.add(i, "0"); } else { int time = comapreTime(rst.getString(12)); if (time > 0) { String temp = rst.getString(7); if (temp == null) { temp = "0.00"; } temp = ad.indexcompose(temp); index_details.add(i, temp); } else { String temp1 = rst.getString(6); if (temp1 == null) { temp1 = "0.00"; } temp1 = ad.indexcompose(temp1); index_details.add(i, temp1); } } i++; /* * if (rst.getString(8) == null) { index_details.add(i, * "0.00"); } else { String temp=dd.toString(); * if(temp==null){ temp="0.00"; } int k=temp.indexOf("."); * if(k==-1){ index_details.add(i,temp ); }else{ * temp=temp+"00"; temp=temp.substring(0,k+2); * index_details.add(i, temp); } } */ index_details.add(i, strpchange); i++; if (rst.getString(8) == null) { index_details.add(i, "0.00"); } else { String temp = rst.getString(8); if (temp == null) { temp = "0.00"; } int k = temp.indexOf("."); if (k == -1) { index_details.add(i, temp); } else { temp = temp + "00"; temp = temp.substring(0, k + 2); temp = ad.indexcompose(temp); index_details.add(i, temp); } } i++; if (rst.getString(9) == null) { index_details.add(i, "0.00"); } else { String temp = rst.getString(9); if (temp == null) { temp = "0.00"; } int k = temp.indexOf("."); if (k == -1) { index_details.add(i, temp); } else { temp = temp + "00"; temp = temp.substring(0, k + 2); temp = ad.indexcompose(temp); index_details.add(i, temp); } } i++; if (rst.getString(10) == null) { index_details.add(i, "--"); } else { index_details.add(i, rst.getString(10)); } i++; if (rst.getString(11) == null) { index_details.add(i, "--"); } else { index_details.add(i, rst.getString(11)); } i++; } // **********************Code for Export to excel By: Manoj // Adekar*************************** while (rst1.next()) { String strpchange = "0.00"; if (((double) rst1.getDouble(7)) != 0.00) { double pchange = (((double) rst1.getDouble(2) - (double) rst1 .getDouble(7)) / (double) rst1.getDouble(7)) * 100; strpchange = new Double(pchange).toString(); Logging.debug("strpchange before adjusting is " + strpchange); strpchange = ad.indexcompose(strpchange); Logging.debug("strpchange after adjusting is " + strpchange); } if (rst1.getString(13) == null) { index_details.add(i, "0"); } else { index_details.add(i, rst1.getString(13)); } i++; // Logging.getDebug("inside while"); if (rst1.getString(1) == null) { index_details.add(i, "--"); } else { index_details.add(i, rst1.getString(1)); } i++; if (rst1.getString(2) == null) { index_details.add(i, "0.00"); } else { value = rst1.getString(2); value = ad.indexcompose(value); index_details.add(i, value); } i++; /* * if (rst1.getString(3) == null) { index_details.add(i, * "--"); } else { double change = * (double)Double.parseDouble(strpchange); if (change > 0) { * index_details.add(i, "up"); } else { if(change==0.00) { * index_details.add(i, "mid"); }else{ //dd = new * Double(change); index_details.add(i, "down"); } } } i++; */ if (rst1.getString(3) == null) { index_details.add(i, "0.00"); } else { open = rst1.getString(3); open = ad.indexcompose(open); index_details.add(i, open); } i++; if (rst1.getString(4) == null) { index_details.add(i, "0.00"); } else { high = rst1.getString(4); high = ad.indexcompose(high); index_details.add(i, high); } i++; if (rst1.getString(5) == null) { index_details.add(i, "0.00"); } else { low = rst1.getString(5); low = ad.indexcompose(low); index_details.add(i, low); } i++; if (rst1.getString(12) == null) { index_details.add(i, "0"); } else { int time = comapreTime(rst1.getString(12)); if (time > 0) { String temp = rst1.getString(7); if (temp == null) { temp = "0.00"; } temp = ad.indexcompose(temp); index_details.add(i, temp); } else { String temp1 = rst1.getString(6); if (temp1 == null) { temp1 = "0.00"; } temp1 = ad.indexcompose(temp1); index_details.add(i, temp1); } } i++; /* * if (rst1.getString(8) == null) { index_details.add(i, * "0.00"); } else { String temp=dd.toString(); * if(temp==null){ temp="0.00"; } int k=temp.indexOf("."); * if(k==-1){ index_details.add(i,temp ); }else{ * temp=temp+"00"; temp=temp.substring(0,k+2); * index_details.add(i, temp); } } */ index_details.add(i, strpchange); i++; if (rst1.getString(8) == null) { index_details.add(i, "0.00"); } else { String temp = rst1.getString(8); if (temp == null) { temp = "0.00"; } int k = temp.indexOf("."); if (k == -1) { index_details.add(i, temp); } else { temp = temp + "00"; temp = temp.substring(0, k + 2); temp = ad.indexcompose(temp); index_details.add(i, temp); } } i++; if (rst1.getString(9) == null) { index_details.add(i, "0.00"); } else { String temp = rst1.getString(9); if (temp == null) { temp = "0.00"; } int k = temp.indexOf("."); if (k == -1) { index_details.add(i, temp); } else { temp = temp + "00"; temp = temp.substring(0, k + 2); temp = ad.indexcompose(temp); index_details.add(i, temp); } } i++; if (rst1.getString(10) == null) { index_details.add(i, "--"); } else { index_details.add(i, rst1.getString(10)); } i++; if (rst1.getString(11) == null) { index_details.add(i, "--"); } else { index_details.add(i, rst1.getString(11)); } i++; // Upto Here } } catch (SQLException sqlexp) { Logging.error("SQL Error :" + sqlexp.getMessage()); } } catch (Exception ee) { Logging.error("DEbug" + ee.getMessage()); } finally { try { if (connection != null) connection.close(); } catch (Exception ee) { try { if (connection != null) connection.close(); } catch (Exception ex) { Logging.error(" Error : Unable to close connection " + ex.getMessage()); } Logging.error(" Error : Unable to close connection " + ee.getMessage()); } } Logging.debug("Return Index_details of size " + index_details.size()); return index_details; } public String getIndexListUrl(HttpServletRequest request) { String url = null; // org.jfree.chart.demo.servlet.ComposeIndex ci = new org.jfree.chart.demo.servlet.ComposeIndex(); ComposeIndex ci=ConnectInit.getComposeIndex(); String[] indid = request.getParameterValues("indexid1"); String button = request.getParameter("operation"); if (button != null) { String idcorr = "D1="; String idcorr1 = null; String report = request.getParameter("D1"); if (indid != null) { Logging .debug("index id array length is " + indid.length); for (int i = 0; i < indid.length; i++) { Logging.debug("index id array element is " + indid[i]); if (i == 0) { idcorr = "D1=" + indid[i]; } else { idcorr = idcorr + "&D1=" + indid[i]; if (report.equals("2")) { idcorr1 = idcorr1 + "&D2=" + indid[i]; } } } if (button.equals("Go") && indid != null && indid.length > 0) { Vector vdate = new Vector(); vdate = ci.getFromToDate(); Logging.debug("vector size " + vdate.size()); if (vdate.size() != 0) { String fdate = (String) vdate.get(0); String tdate = (String) vdate.get(1); Logging.debug("fromdate is " + fdate + " to date is " + tdate); Logging.debug("Inside go" + report); if (report.equals("1")) { url = "/pages/IndexCorrelation.jsp?" + idcorr + "&from=" + fdate + "&to=" + tdate + "&B1=View"; Logging.debug("url is " + url); } if (report.equals("2")) { url = "/pages/reports/IndexCompare1S.jsp?" + idcorr1 + "&from=" + fdate + "&to=" + tdate + "&B1=Compare"; Logging.debug("url is " + url); } if (report.equals("3")) { url = "/pages/reports/IndexReturns_VolatilityS.jsp?" + idcorr + "&from=" + fdate + "&to=" + tdate + "&B1=View"; Logging.debug("getIndexListUrl " + url); } } } } } return url; } public void setIndexListUrl(String logi1) { String url = logi1; } public int comapreTime(String time) { String[] time1 = time.split(":"); Date dt = new Date(); dt.getDate(); String[] time2 = dt.toString().split(" "); time2 = time2[3].toString().split(":"); for (int i = 0; i < time1.length; i++) { if (Integer.parseInt(time1[i]) > Integer.parseInt(time2[i])) return 1; else if (Integer.parseInt(time1[i]) < Integer.parseInt(time2[i])) return -1; } return 2; } public String getIndexid1() { Logging.debug(" ******** value oof indexid " + indexid1); return indexid1; } public void setIndexid1(String logi) { indexid1 = logi; } public Vector getVa() { Logging.debug(" ******** value oof indexid " + va); return va; } public void setVa(Vector va) { this.va = va; } public String getB_showChild() { return b_showChild; } public void setB_showChild(String child) { b_showChild = child; } public Vector getVw() { if (vw != null) Logging.debug(" size of vector " + vw.size()); return vw; } /** * @return Returns the vw. */ public void setVw(Vector vw) { this.vw = vw; } public void setComputetotalreturns(String computetotalreturns) { this.computetotalreturns = computetotalreturns; } Connect c = ConnectInit.getConnect(); Collection indexcollection; public Collection getIndexcollection() { Connection connection = null; Logging.debug("b_ShowChild :: " + getB_showChild()); if (getB_showChild() != null && getB_showChild().trim().equals("on")) { query = ConnectInit.queries.getProperty("index_list"); } else { query = ConnectInit.queries.getProperty("index_list_without_child"); } String id1 = null; Vector v = new Vector(); ResultSet rs; try { if (connection == null) connection = c.getdbConnection(); Statement stmt = connection.createStatement(); rs = stmt.executeQuery(query); AcessControl asc = ConnectInit.getAcessControl(); // AcessControl asc = new AcessControl(); String NotSelected = asc.getLangValues("Masters.NotSelected"); Logging.debug(" Inside getIndexcollection(): Not Selected =" + NotSelected); v.add(new LabelValueBean("Not Selected", "0")); while (rs.next()) { id1 = rs.getString(1); v.add(new LabelValueBean(rs.getString(2), id1)); } indexcollection = v; } catch (Exception e) { // TODO: handle exception Logging.error(" Error :" + e.getMessage()); //e.printStackTrace(); } finally { try { if (connection != null) connection.close(); } catch (Exception ee) { try { if (connection != null) connection.close(); } catch (Exception ex) { Logging.error(" Error : Unable to close connection " + ex.getMessage()); } Logging.error(" Error : Unable to close connection " + ee.getMessage()); } } return indexcollection; } /** * @param indexcollection * The indexcollection to set. */ public void setIndexcollection(Collection indexcollection) { this.indexcollection = indexcollection; } public String getIndex() { return index; } /** * @param index * The index to set. */ public void setIndex(String index) { Logging.debug("setIndex index " + index); if (index != null) this.index = index; } /** * @return Returns the selectCollection. */ public String getCompute() { return compute; } /** * @param compute * The compute to set. */ public void setCompute(String compute) { this.compute = compute; } public String getText() { return text; } /** * * @param text * The text to set */ public void setText(String text) { this.text = text; } /** * @return Returns the clear. */ public String getClear() { return clear; } /** * @param clear * The clear to set. */ public void setClear(String clear) { this.clear = clear; } /** * @return Returns the from. */ public String getFrom() { return from; } /** * @param from * The fromDate to set. */ public void setFrom(String from) { this.from = from; } /** * @return check Returns the check */ public String getCheck() { return check; } /** * * @param check * The check to set */ public void setCheck(String check) { this.check = check; } /** * * @return checkChart Returns the checkChart */ public String getCheckChart() { return checkChart; } /** * * @param checkChart * The checkChart to set */ public void setCheckChart(String checkChart) { this.checkChart = checkChart; } /** * @return Returns the selectStock. */ public String getSelectStock() { return selectStock; } /** * @param selectStock * The selectStock to set. */ public void setSelectStock(String selectStock) { this.selectStock = selectStock; } /** * Database Connectivity * */ public void dbconnect() { Connect con = ConnectInit.getConnect(); try { if (connection == null) { connection = con.getdbConnection(); } } catch (Exception e) { Logging.error(" Error : " + e.getMessage()); } } public void reset_stkevent() { from = null; go = null; clear = null; to = null; } /** * @return Returns the toDate. */ public String getTo() { return to; } /** * @param to * The toDate to set. */ public void setTo(String to) { this.to = to; } /** * @return Returns the defaultVal. */ public String getDefaultVal() { return defaultVal; } /** * @param defaultVal * The defaultVal to set. */ public void setDefaultVal(String defaultVal) { this.defaultVal = defaultVal; } public String getSelectIndex() { return selectIndex; } /** * @param select * The select to set. */ public void setSelectIndex(String selectIndex) { this.selectIndex = selectIndex; } public String getRoleid1() { return roleid1; } public void setRoleid1(String roleid1) { this.roleid1 = roleid1; } }
[ "JeetThakar@Admins-MacBook-Pro.local" ]
JeetThakar@Admins-MacBook-Pro.local
ed745e676e329b6df808952f5a96ad27ea86962a
1fb1084efdb60c0e6f5139b2da36ddc9a49cf6d9
/src/java/com/betel/dao/EmpleadoDaoImpl.java
f518d0f093bf70f3ea6ecda1a0325f7dfffb1ab5
[]
no_license
CrissangelF19/Proytectodbetel
68d63d298e7bc6ddd91b36e53f3b1c0d999d63ca
a221e270765c07803db41ba76cb13d0d65159cff
refs/heads/master
2021-04-12T12:22:51.012639
2018-03-22T20:57:35
2018-03-22T20:57:35
126,393,563
0
0
null
null
null
null
UTF-8
Java
false
false
11,468
java
package com.betel.dao; import com.betel.db.ConectarDB; import com.betel.modelo.Empleado; import com.betel.modelo.Persona; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; public class EmpleadoDaoImpl implements IDAO{ ConectarDB con = new ConectarDB(); PreparedStatement psmt = null; ResultSet rs = null; String respuesta = null; Empleado empl; public EmpleadoDaoImpl() { } @Override public String insertar(Object obj) throws SQLException { Empleado objEmpl = (Empleado) obj; try { psmt = con.conectar().prepareStatement("INSERT INTO persona VALUES (null,?,?,?,?,?,?,?,?,?,?,?)"); psmt.setString(1, objEmpl.getNombreCompleto()); psmt.setString(2, objEmpl.getTipoDocIdentidad()); //Para Rgistrar Null if (objEmpl.getTipoDocIdentidad().equals("Seleccione")) { psmt.setString(3, ""); }else{ psmt.setString(3, objEmpl.getNroIdentidad()); } psmt.setString(4, objEmpl.getGenero()); psmt.setString(5, objEmpl.getDireccion()); psmt.setString(6, objEmpl.getCiudad()); psmt.setString(7, objEmpl.getBarrio()); psmt.setString(8,objEmpl.getEmail()); psmt.setString(9,objEmpl.getCelular()); psmt.setString(10,objEmpl.getTelefono()); psmt.setString(11,objEmpl.getEstado()); psmt.executeUpdate(); Persona p = (Persona) buscarPorID(objEmpl.getNroIdentidad()); System.out.println("Id de persona: " + buscarPorID(objEmpl.getNroIdentidad())); System.out.println("documento identidad: " + objEmpl.getNroIdentidad()); psmt = con.conectar().prepareStatement("INSERT INTO empleado VALUES(null,?,?,?,?)"); psmt.setString(1, p.getIdPersona()); psmt.setString(2, objEmpl.getIdRol()); psmt.setDate(3, objEmpl.getFechaIngreso()); psmt.setString(4, objEmpl.getEstadoz()); psmt.executeUpdate(); respuesta = "El registro se realizo con exito"; } catch (NumberFormatException | SQLException e) { // throw new SQLException("Error al registrar: " + e.toString()); System.out.println("Problemas en el serverE: " + e.toString()); e.printStackTrace(); }finally{ if(psmt!=null){ psmt.close(); } if(rs!=null){ rs.close(); } con.desconectar(); } return respuesta; } @Override public String eliminar(Object obj) throws SQLException { Empleado objempl = (Empleado) obj; try { psmt = con.conectar().prepareStatement("UPDATE empleado SET estado = ? WHERE idEmpleado= ?"); psmt.setString(1, "Inactivo"); psmt.setInt(2, Integer.parseInt(objempl.getIdEmpleado())); psmt.executeUpdate(); respuesta = "El registro se realizó correctamente"; } catch (SQLException e) { throw new SQLException("Error al Eliminar: " + e.toString()); }finally{ if(psmt!=null){ psmt.close(); } con.desconectar(); } return respuesta; } @Override public String modificar(Object obj) throws SQLException { Empleado objempl = (Empleado) obj; try { psmt = con.conectar().prepareStatement("{CALL actualizarEmpl(?,?,?,?,?,?,?,?,?,?,?,?,?,?)}"); psmt.setString(1, objempl.getIdEmpleado()); psmt.setString(2, objempl.getIdPersona()); psmt.setString(3, objempl.getIdRol()); psmt.setString(4, objempl.getEstadoz()); psmt.setString(5, objempl.getNombreCompleto()); psmt.setString(6, objempl.getTipoDocIdentidad()); psmt.setString(7, objempl.getNroIdentidad()); psmt.setString(8, objempl.getGenero()); psmt.setString(9, objempl.getDireccion()); psmt.setString(10, objempl.getCiudad()); psmt.setString(11, objempl.getBarrio()); psmt.setString(12, objempl.getEmail()); psmt.setString(13, objempl.getCelular()); psmt.setString(14, objempl.getTelefono()); psmt.executeUpdate(); respuesta = "El registro se realizo con exito"; } catch (Exception e) { throw new SQLException("Error al actualizar: " + e.toString()); }finally{ if(psmt!=null){ psmt.close(); } if(rs!=null){ rs.close(); } con.desconectar(); } return respuesta; } @Override public List<Empleado> listar() throws SQLException { List<Empleado> listaEmpl= new ArrayList<>(); try { psmt = con.conectar().prepareStatement("{CALL listarEmpleado ()}"); rs = psmt.executeQuery(); while (rs.next()) { listaEmpl.add(Empleado.load(rs)); } } catch (Exception e) { System.out.println("Error en la consulta: " + e); }finally{ if(psmt!=null){ psmt.close(); } if(rs!=null){ rs.close(); } con.desconectar(); } return listaEmpl; } @Override public Object buscarPorID(String id) throws SQLException { List<Persona> listaPersonas = new ArrayList<>(); try { psmt = con.conectar().prepareStatement("SELECT * FROM persona WHERE nroIdentidad=?"); psmt.setString(1, id); rs = psmt.executeQuery(); while (rs.next()) { listaPersonas.add(Persona.load(rs)); } // for (Persona persona : listaPersonas) { // System.out.println("nombre : " + persona.getIdPersona()); // } } catch (Exception e) { System.out.println("Error en el Id: " + e); }finally{ if(psmt!=null){ psmt.close(); } if(rs!=null){ rs.close(); } con.desconectar(); } return listaPersonas.get(0); } @Override public int contar() throws SQLException{ throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public boolean existe(Object id) throws SQLException{ Empleado objempl = (Empleado) id; Boolean respuesta = false; try { psmt = con.conectar().prepareStatement("{CALL bNIdentidadEmpl(?)}"); psmt.setString(1,objempl.getNroIdentidad()); rs = psmt.executeQuery(); while (rs.next()) { respuesta = true; } } catch (SQLException e) { System.out.println("Error en la consulta: " + e); }finally{ if(psmt!=null){ psmt.close(); } if(rs!=null){ rs.close(); } con.desconectar(); } return respuesta; } @Override public List<Empleado> busquedaPorParametro(String field, Object param) throws SQLException { List<Empleado> listaBusquedaEmpl = new ArrayList<>(); Empleado Empl = (Empleado) param; int item = Integer.valueOf(field); String sql = null; try { switch (item) { case 0: sql = "{CALL bNombreEmpl (?)}"; psmt = con.conectar().prepareStatement(sql); psmt.setString(1, Empl.getNombreCompleto()); break; case 1: sql = "{CALL bRolEmpl (?)}"; psmt = con.conectar().prepareStatement(sql); psmt.setString(1, Empl.getIdRol()); break; case 2: sql = "{CALL bEstadoEmpl (?)}"; psmt = con.conectar().prepareStatement(sql); psmt.setString(1, Empl.getEstadoz()); break; case 3: sql = "{CALL bTodoEmpl ()}"; psmt = con.conectar().prepareStatement(sql); break; default: throw new AssertionError(); } rs = psmt.executeQuery(); while (rs.next()) { listaBusquedaEmpl.add(Empleado.load(rs)); } } catch (Exception e) { System.out.println("Error em la consulta: "+ e); }finally{ if(psmt!=null){ psmt.close(); } if(rs!=null){ rs.close(); } con.desconectar(); } return listaBusquedaEmpl; } @Override public List<?> existeUsuario(String usuario, String clave) throws Exception { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public String generarCodigo() throws SQLException { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } public Empleado consultaEmpleado(String id) throws SQLException { List<Empleado> listaEmpleado = new ArrayList<>(); System.out.println("mostrar ide :" + id); try { psmt = con.conectar().prepareStatement("{CALL consultarEmpl(?)}"); psmt.setString(1, id); rs = psmt.executeQuery(); while (rs.next()) { listaEmpleado.add(Empleado.load(rs)); } // for (Proveedor proveedor : listaProveedor) { // System.out.println("Valor : " + proveedor.toString() ); // } } catch (Exception e) { System.out.println("Error en la consulta Empl: " + e); }finally{ if(psmt!=null){ psmt.close(); } if(rs!=null){ rs.close(); } con.desconectar(); } return listaEmpleado.get(0); } }
[ "Estudiante@S306018" ]
Estudiante@S306018
203e824db42c52e453c5f94b5e9957c02e6d2eb6
8b74b5a6de25989fc19297c45fef2a8fa0ad94f3
/General Store Java/src/GUI/Controller.java
921c1b06a6a2dd8ef54c7cf456fcc0b2623aad51
[]
no_license
qasimraheem/Semester-3-Main-Project
e3289b330d5bdb2d50c6441b5fc0fd5c7a5cb5fb
2e8745e8a48ce72206a8d78d941d29fb67c59bc9
refs/heads/master
2021-04-15T07:19:04.890397
2018-08-02T06:06:03
2018-08-02T06:06:03
126,844,895
4
0
null
null
null
null
UTF-8
Java
false
false
78,523
java
package GUI; import BillAPI.Bill_Data; import BillAPI.Bill_Get; import BillAPI.Bill_Post; import BillAPI.Bill_ProductData; import EmployeeAPI.Employee_Data; import EmployeeAPI.Employee_Get; import EmployeeAPI.Employee_Post; import EmployeeAPI.Employee_Put; import billClasses.BillDetail_Table; import billClasses.Bill_Table; import com.sun.javafx.tools.resource.ConsolidatedResources; import javafx.beans.InvalidationListener; import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView; import javafx.scene.image.Image; import saleClasses.*; import java.io.File; import java.net.URL; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ResourceBundle; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.control.TableColumn; import javafx.scene.control.TableView; import javafx.scene.control.TextField; import javafx.scene.image.ImageView; import javafx.scene.input.KeyEvent; import javafx.scene.input.MouseEvent; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; import javafx.scene.shape.SVGPath; import javafx.scene.web.WebView; import javafx.collections.ListChangeListener; import javafx.collections.ObservableArray; import javafx.collections.ObservableList; import javafx.collections.FXCollections; import javafx.collections.transformation.FilteredList; import javafx.collections.transformation.SortedList; import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView; import javafx.stage.FileChooser; import javafx.collections.transformation.FilteredList; import javafx.scene.control.TableCell; import javafx.scene.control.MenuButton; import javafx.scene.control.TableColumn; import javafx.scene.control.TableView; import javafx.scene.control.TextField; import javafx.scene.control.TextField; import javafx.scene.control.cell.PropertyValueFactory; import javafx.scene.image.ImageView; import javafx.scene.layout.Border; import javafx.scene.layout.BorderStroke; import productAPI.Data; import productAPI.Get; import productClasses.*; import java.net.URL; import java.util.ResourceBundle; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.control.TableColumn; import javafx.scene.control.TableView; import javafx.scene.control.TextField; import javafx.scene.image.ImageView; import javafx.scene.input.KeyEvent; import javafx.scene.input.MouseEvent; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; import javafx.scene.shape.SVGPath; import javafx.scene.web.WebView; import productAPI.*; import java.util.Random; import javafx.application.Application; import javafx.beans.property.SimpleBooleanProperty; import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleStringProperty; import javafx.beans.value.ObservableValue; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.chart.XYChart; import javafx.scene.control.Button; import javafx.scene.control.ContentDisplay; import javafx.scene.control.TableCell; import javafx.scene.control.TableColumn; import javafx.scene.control.TableView; import javafx.scene.control.TextField; import javafx.scene.control.cell.PropertyValueFactory; import javafx.scene.input.KeyCode; import javafx.scene.input.KeyEvent; import javafx.stage.Stage; import javafx.util.Callback; import javafx.scene.web.WebView; import javafx.fxml.FXML; import javafx.scene.input.MouseEvent; import javafx.scene.layout.VBox; import javafx.scene.shape.SVGPath; import javafx.scene.layout.HBox; import javafx.scene.layout.*; import javafx.scene.paint.Color; import javafx.scene.*; import javafx.fxml.LoadException; import java.awt.*; //import java.awt.event.KeyEvent; import java.net.URL; import java.util.*; import java.util.List; import java.util.function.Predicate; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.effect.ColorAdjust; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.web.WebEngine; import javafx.scene.control.*; import saleClasses.SaleSearch_Table; import javax.lang.model.type.NullType; import javax.xml.stream.Location; public class Controller implements Initializable { @FXML private HBox employeeButton; @FXML private SVGPath customerIcon; @FXML private SVGPath billIcon; @FXML private Label customerText; @FXML private AnchorPane anchorSale; @FXML private AnchorPane anchorAddProduct; @FXML private AnchorPane anchorProduct; @FXML private AnchorPane anchorBills; @FXML private AnchorPane anchorEmployee; @FXML private AnchorPane anchorLogin; @FXML private WebView Employee_Image_Web; @FXML private WebView CanvasWeb; public HBox productButtoN; @FXML private HBox dashboardButton; @FXML private SVGPath dashboard; @FXML private Label dashboardText; @FXML private HBox saleButton; @FXML private SVGPath saleIcon; @FXML private Label saleText; @FXML private HBox addproductButton; @FXML private SVGPath addproductIcon; @FXML private Label addproductText; @FXML private SVGPath productButton; @FXML private Label productText; @FXML private HBox billButton; @FXML private Label billText; @FXML private VBox vbox; @FXML private VBox vboxDeleteProduct; @FXML private ImageView productButtonDelete; @FXML private ImageView productButtonUpdate; @FXML private ImageView productButtonSearch; @FXML private ImageView productButtonRefresh; @FXML private TableView<productTable> pTableID; @FXML private TableColumn<productTable, String> pTableName; @FXML private TableColumn<productTable, String> pTableQuantity; @FXML private TableColumn<productTable, String> pTableBuyPrice; @FXML private TableColumn<productTable, String> pTableSalePrice; @FXML private TextField productDeleteName; @FXML private TextField productDeleteQuantity; @FXML private TextField SaleAddQuantity; @FXML private TextField SaleRemoveQuantity; @FXML private TextField productDeleteBuyPrice; @FXML private TextField productDeleteSalePrice; @FXML private ImageView productButtonDeleteTick; @FXML private ImageView AddImage; @FXML private SVGPath productIcon; @FXML private ImageView productButtonDeleteCross; @FXML private VBox vboxUpdateProduct; @FXML private TextField productUpdateName; @FXML private TextField productUpdateQuantity; @FXML private TextField productUpdateBuyPrice; @FXML private TextField productUpdateSalePrice; @FXML private TextField productUpdateNewName; @FXML private TextField productUpdateNewQuantity; @FXML private TextField productUpdateNewBuyPrice; @FXML private TextField productUpdateNewSalePrice; @FXML private ImageView productButtonUpdateTick; @FXML private ImageView productButtonUpdateCross; @FXML private VBox vboxSearchProduct; @FXML private VBox Product; @FXML private TextField productSearchName; @FXML private TextField productSearchQuantity; @FXML private TextField productSearchBuyPrice; @FXML private TextField productSearchSalePrice; @FXML private ImageView productButtonSearchTick; @FXML private ImageView productButtonSearchCross; @FXML private VBox AddProduct; @FXML private TextField AddProductName; @FXML private TextField AddProductQuantity; @FXML private TextField AddProductBuyPrice; @FXML private TextField AddProductSalePrice; @FXML private ImageView AddProductTick; @FXML private ImageView AddProductCross; //Extra @FXML private ResourceBundle resources; @FXML private URL location; @FXML private VBox vbox_menu; @FXML private VBox Product1; @FXML private ImageView SaleTick; @FXML private ImageView SaleCross; @FXML private ImageView SaleRemove; @FXML private TextField SaleSearch; @FXML private ImageView SaleAdd; @FXML private ImageView SaleRefresh; @FXML private VBox Product2; @FXML private TableView<SaleSearch_Table> SaleSearchTable; @FXML private TableColumn<SaleSearch_Table, String> SaleSearchTableName; @FXML private TableColumn<SaleSearch_Table, String> SaleSearchTablePrice; @FXML private TableColumn<SaleSearch_Table, String> SaleSearchTableQuantity; @FXML private TableView<SaleItems_Table> SaleItemsTable; @FXML private TableColumn<SaleItems_Table, String> SaleItemsTableID; @FXML private TableColumn<SaleItems_Table, String> SaleItemsTableName; @FXML private TableColumn<SaleItems_Table, String> SaleItemsTableQuantity; @FXML private TableColumn<SaleItems_Table, String> SaleItemsTablePrice; @FXML private TableColumn<SaleItems_Table, String> SaleItemsTablePriceX; @FXML private TableView<SaleBill_Table> SaleBillTable; @FXML private TableColumn<SaleBill_Table, String> SaleBillTableitems; @FXML private TableColumn<SaleBill_Table, String> SaleBillTablePrice; @FXML private ImageView productButtonSearch1; @FXML private ImageView productButtonUpdateDown; @FXML private ImageView productButtonRefresh1; @FXML private VBox vboxSearchProduct11; @FXML private TextField productSearchName11; @FXML private TextField productSearchQuantity11; @FXML private TextField productSearchBuyPrice11; @FXML private VBox vboxSearchProduct1; @FXML private TextField productSearchName1; @FXML private TextField productSearchQuantity1; @FXML private TextField productSearchBuyPrice1; @FXML private ImageView productButtonSearchTick1; @FXML private ImageView productButtonSearchCross1; @FXML private TextField productSearchName2; @FXML private TextField productSearchSalePrice11; @FXML private TableView<Bill_Table> BillTable; @FXML private TableColumn<Bill_Table, String> BillTableID; @FXML private TableColumn<Bill_Table, String> BillTableTotalItems; @FXML private TableColumn<Bill_Table, String> BillTableTotalPrice; @FXML private TableColumn<Bill_Table, String> BillTableDate; @FXML private TableView<BillDetail_Table> BillTableDetait; @FXML private TableColumn<BillDetail_Table, String> BillTableName; @FXML private TableColumn<BillDetail_Table, String> BillTableQuantity; @FXML private TableColumn<BillDetail_Table, String> BillTablePrice; @FXML private VBox vboxBillSearch; @FXML private VBox vboxEmployeeDiv; @FXML private HBox hBoxImageDiv; @FXML private ImageView billSearch; @FXML private ImageView billrefresh; @FXML private ImageView billtick; @FXML private ImageView billcross; @FXML private TextField billtextid; @FXML private TextField billtextitems; @FXML private TextField billtextprice; @FXML private TextField employeeUsername; @FXML private PasswordField employeePassword; @FXML private PasswordField employeeconfirm; @FXML private TextField employeeImageUrl; @FXML private ImageView EmployeeEdit; @FXML private ImageView EmployeeNew; @FXML private TextField loginuser; @FXML private PasswordField loginpassword; @FXML private Button loginbutton; //variables String tepm_user; String temp_password; String temp_Image; ObservableList<productTable> data; ObservableList<productTable> data2; ObservableList<SaleSearch_Table> SaleSearchdata; ObservableList<SaleItems_Table> SaleItemdata; ObservableList<SaleItems_Table> SaleItemdata2; ObservableList<SaleBill_Table> SaleBilldata; ObservableList<Bill_Table> Billdata; ObservableList<BillDetail_Table> Billdetaildata; ObservableList<BillDetail_Table> BillDetaildata; List<Bill_Data> Billd = new ArrayList<>(); Validations validate = new Validations(); ColorAdjust brightLight = new ColorAdjust(0, 0, .25, 0.25); //Login public void Login(MouseEvent event) { if (event.getSource() == loginbutton) { System.out.println("login pressed"); try { List<Employee_Data> d = new ArrayList<>(); d = Employee_Get.get(); System.out.println(d.size()); for (int i = 0; i < d.size(); i++) { System.out.println(loginuser.getText() + "==" + d.get(i).getUsername() + loginpassword.getText() + "==" + d.get(i).getPassword()); if (loginuser.getText().equals(d.get(i).getUsername()) && loginpassword.getText().equals(d.get(i).getPassword())) { System.out.println("login"); tepm_user = d.get(i).getUsername(); temp_password = d.get(i).getPassword(); temp_Image = d.get(i).getImage(); anchorLogin.setVisible(false); } } } catch (Exception e) { e.printStackTrace(); } } } //Side_Menu public void displayMenu(MouseEvent mouseEvent) { if (mouseEvent.getSource() == saleButton) { anchorSale.setVisible(true); anchorAddProduct.setVisible(false); anchorProduct.setVisible(false); anchorBills.setVisible(false); anchorEmployee.setVisible(false); // saleIcon.setFill(Color.valueOf("#FFFFFF")); saleText.setTextFill(Color.valueOf("#FFFFFF")); addproductIcon.setFill(Color.valueOf("#FFFFFF")); addproductText.setTextFill(Color.valueOf("#FFFFFF")); productIcon.setFill(Color.valueOf("#FFFFFF")); productText.setTextFill(Color.valueOf("#FFFFFF")); billIcon.setFill(Color.valueOf("#FFFFFF")); billText.setTextFill(Color.valueOf("#FFFFFF")); customerIcon.setFill(Color.valueOf("#FFFFFF")); customerText.setTextFill(Color.valueOf("#FFFFFF")); //////////////// saleIcon.setFill(Color.valueOf("#F3C300")); saleText.setTextFill(Color.valueOf("#F3C300")); getSaleSearchTableData(); SaleItemdata2 = FXCollections.observableArrayList(); } if (mouseEvent.getSource() == addproductButton) { anchorSale.setVisible(false); anchorAddProduct.setVisible(true); anchorProduct.setVisible(false); anchorBills.setVisible(false); anchorEmployee.setVisible(false); // saleIcon.setFill(Color.valueOf("#FFFFFF")); saleText.setTextFill(Color.valueOf("#FFFFFF")); addproductIcon.setFill(Color.valueOf("#FFFFFF")); addproductText.setTextFill(Color.valueOf("#FFFFFF")); productIcon.setFill(Color.valueOf("#FFFFFF")); productText.setTextFill(Color.valueOf("#FFFFFF")); billIcon.setFill(Color.valueOf("#FFFFFF")); billText.setTextFill(Color.valueOf("#FFFFFF")); customerIcon.setFill(Color.valueOf("#FFFFFF")); customerText.setTextFill(Color.valueOf("#FFFFFF")); //////////////// addproductIcon.setFill(Color.valueOf("#F3C300")); addproductText.setTextFill(Color.valueOf("#F3C300")); } else if (mouseEvent.getSource() == productButtoN) { anchorSale.setVisible(false); anchorAddProduct.setVisible(false); anchorProduct.setVisible(true); anchorBills.setVisible(false); anchorEmployee.setVisible(false); // saleIcon.setFill(Color.valueOf("#FFFFFF")); saleText.setTextFill(Color.valueOf("#FFFFFF")); addproductIcon.setFill(Color.valueOf("#FFFFFF")); addproductText.setTextFill(Color.valueOf("#FFFFFF")); productIcon.setFill(Color.valueOf("#FFFFFF")); productText.setTextFill(Color.valueOf("#FFFFFF")); billIcon.setFill(Color.valueOf("#FFFFFF")); billText.setTextFill(Color.valueOf("#FFFFFF")); customerIcon.setFill(Color.valueOf("#FFFFFF")); customerText.setTextFill(Color.valueOf("#FFFFFF")); //////////////// productIcon.setFill(Color.valueOf("#F3C300")); productText.setTextFill(Color.valueOf("#F3C300")); getProductTableData(); } else if (mouseEvent.getSource() == billButton) { anchorSale.setVisible(false); anchorAddProduct.setVisible(false); anchorProduct.setVisible(false); anchorBills.setVisible(true); anchorEmployee.setVisible(false); // saleIcon.setFill(Color.valueOf("#FFFFFF")); saleText.setTextFill(Color.valueOf("#FFFFFF")); addproductIcon.setFill(Color.valueOf("#FFFFFF")); addproductText.setTextFill(Color.valueOf("#FFFFFF")); productIcon.setFill(Color.valueOf("#FFFFFF")); productText.setTextFill(Color.valueOf("#FFFFFF")); billIcon.setFill(Color.valueOf("#FFFFFF")); billText.setTextFill(Color.valueOf("#FFFFFF")); customerIcon.setFill(Color.valueOf("#FFFFFF")); customerText.setTextFill(Color.valueOf("#FFFFFF")); //////////////// billIcon.setFill(Color.valueOf("#F3C300")); billText.setTextFill(Color.valueOf("#F3C300")); GetBills(); } else if (mouseEvent.getSource() == employeeButton) { anchorSale.setVisible(false); anchorAddProduct.setVisible(false); anchorProduct.setVisible(false); anchorBills.setVisible(false); anchorEmployee.setVisible(true); // saleIcon.setFill(Color.valueOf("#FFFFFF")); saleText.setTextFill(Color.valueOf("#FFFFFF")); addproductIcon.setFill(Color.valueOf("#FFFFFF")); addproductText.setTextFill(Color.valueOf("#FFFFFF")); productIcon.setFill(Color.valueOf("#FFFFFF")); productText.setTextFill(Color.valueOf("#FFFFFF")); billIcon.setFill(Color.valueOf("#FFFFFF")); billText.setTextFill(Color.valueOf("#FFFFFF")); customerIcon.setFill(Color.valueOf("#FFFFFF")); customerText.setTextFill(Color.valueOf("#FFFFFF")); //////////////// customerIcon.setFill(Color.valueOf("#F3C300")); customerText.setTextFill(Color.valueOf("#F3C300")); GetEmployee(); SetImages(); } } //Sale_page public void getSaleSearchTableData() { productAPI.Get gat = new Get(); List<Data> d = new ArrayList<>(); try { d = Get.get(); System.out.println(d.size()); for (int i = 0; i < d.size(); i++) System.out.println(d.get(i).getName()); } catch (Exception e) { e.printStackTrace(); } SaleSearchdata = FXCollections.observableArrayList(); for (int i = 0; i < d.size(); i++) { SaleSearchdata.add(new SaleSearch_Table(d.get(i).getName(), d.get(i).getQuantity(), d.get(i).getBuyPrice(), d.get(i).getSellPrice())); } SaleSearchTableName.setCellValueFactory( new PropertyValueFactory<SaleSearch_Table, String>("tName") ); SaleSearchTablePrice.setCellValueFactory( new PropertyValueFactory<SaleSearch_Table, String>("tPrice") ); SaleSearchTableQuantity.setCellValueFactory( new PropertyValueFactory<SaleSearch_Table, String>("tQuantity") ); SaleSearchTable.setItems(SaleSearchdata); } public void getSaleBillTableData() { double bill_total = 0; for (int i = 0; i < SaleItemdata.size(); i++) { bill_total += Double.parseDouble(SaleItemdata.get(i).gettPriceX()); } SaleBilldata = FXCollections.observableArrayList(); SaleBilldata.add(new SaleBill_Table(Integer.toString(SaleItemdata.size()), Double.toString(bill_total))); SaleBillTableitems.setCellValueFactory( new PropertyValueFactory<SaleBill_Table, String>("tItems") ); SaleBillTablePrice.setCellValueFactory( new PropertyValueFactory<SaleBill_Table, String>("tPrice") ); SaleBillTable.setItems(SaleBilldata); } public void SaleButtonsActions(MouseEvent mouseEvent) { boolean flagquantityremove = true; boolean flagquantityadd = true; if (mouseEvent.getSource() == SaleAdd) { int quantityset = Integer.parseInt(SaleAddQuantity.getText()); int quantitystored = Integer.parseInt(SaleSearchTable.getSelectionModel().getSelectedItem().gettQuantity()); if (quantityset > quantitystored) { flagquantityadd = false; } if (SaleAddQuantity.getText().equalsIgnoreCase("") || validate.getIntValid(SaleAddQuantity.getText()) == 0 ||!validate.getQuantityValid(SaleAddQuantity.getText())|| flagquantityadd == false) { SaleAddQuantity.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); } else if (SaleSearchTable.getSelectionModel().isEmpty()) { System.out.println("SaleAddempty"); } else { boolean flagfind = false; SaleItemdata = FXCollections.observableArrayList(); for (int i = 0; i < SaleItemdata2.size(); i++) { if (SaleItemdata2.get(i).gettName() == SaleSearchTable.getSelectionModel().getSelectedItem().gettName()) { int id = i + 1; String ID = Integer.toString(id); String quantity = Integer.toString(validate.getIntValid(SaleAddQuantity.getText()) + validate.getIntValid(SaleItemdata2.get(i).gettQuantity())); String PriceX = Double.toString(validate.getDoubleValid(quantity) * validate.getDoubleValid(SaleSearchTable.getSelectionModel().getSelectedItem().gettPrice())); System.out.println("find" + quantity + PriceX); try { Data d = new Data(); Data up = new Data(); String quantityRemain = Integer.toString(validate.getIntValid(SaleSearchTable.getSelectionModel().getSelectedItem().gettQuantity()) - validate.getIntValid(SaleAddQuantity.getText())); //old data d.setName(SaleSearchTable.getSelectionModel().getSelectedItem().gettName()); d.setQuantity(SaleSearchTable.getSelectionModel().getSelectedItem().gettQuantity()); d.setBuyPrice(SaleSearchTable.getSelectionModel().getSelectedItem().gettBuyPrice()); d.setSellPrice(SaleSearchTable.getSelectionModel().getSelectedItem().gettPrice()); //new data up.setName(SaleSearchTable.getSelectionModel().getSelectedItem().gettName()); up.setQuantity(quantityRemain); up.setSellPrice(SaleSearchTable.getSelectionModel().getSelectedItem().gettPrice()); up.setBuyPrice(SaleSearchTable.getSelectionModel().getSelectedItem().gettBuyPrice()); Put.put(d, up); } catch (Exception e) { e.printStackTrace(); } SaleItemdata.add(new SaleItems_Table(ID, SaleItemdata2.get(i).gettName(), quantity, SaleItemdata2.get(i).gettPrice(), PriceX)); flagfind = true; } else { int id = i + 1; String ID = Integer.toString(id); SaleItemdata.add(new SaleItems_Table(ID, SaleItemdata2.get(i).gettName(), SaleItemdata2.get(i).gettQuantity(), SaleItemdata2.get(i).gettPrice(), SaleItemdata2.get(i).gettPriceX())); } } if (flagfind == false) { for (int i = 0; i < 1; i++) { int id = SaleItemdata.size() + 1; String ID = Integer.toString(id); String PriceX = Double.toString(validate.getDoubleValid(SaleAddQuantity.getText()) * validate.getDoubleValid(SaleSearchTable.getSelectionModel().getSelectedItem().gettPrice())); try { Data d = new Data(); Data up = new Data(); String quantityRemain = Integer.toString(validate.getIntValid(SaleSearchTable.getSelectionModel().getSelectedItem().gettQuantity()) - validate.getIntValid(SaleAddQuantity.getText())); //old data d.setName(SaleSearchTable.getSelectionModel().getSelectedItem().gettName()); d.setQuantity(SaleSearchTable.getSelectionModel().getSelectedItem().gettQuantity()); d.setBuyPrice(SaleSearchTable.getSelectionModel().getSelectedItem().gettBuyPrice()); d.setSellPrice(SaleSearchTable.getSelectionModel().getSelectedItem().gettPrice()); //new data up.setName(SaleSearchTable.getSelectionModel().getSelectedItem().gettName()); up.setQuantity(quantityRemain); up.setSellPrice(SaleSearchTable.getSelectionModel().getSelectedItem().gettPrice()); up.setBuyPrice(SaleSearchTable.getSelectionModel().getSelectedItem().gettBuyPrice()); Put.put(d, up); } catch (Exception e) { e.printStackTrace(); } SaleItemdata.add(new SaleItems_Table(ID, SaleSearchTable.getSelectionModel().getSelectedItem().gettName(), SaleAddQuantity.getText(), SaleSearchTable.getSelectionModel().getSelectedItem().gettPrice(), PriceX)); // System.out.println(ID+SaleSearchTable.getSelectionModel().getSelectedItem().gettName()+" "+SaleSearchTable.getSelectionModel().getSelectedItem().gettPrice()); } } SaleItemsTableID.setCellValueFactory( new PropertyValueFactory<SaleItems_Table, String>("tID") ); SaleItemsTableName.setCellValueFactory( new PropertyValueFactory<SaleItems_Table, String>("tName") ); SaleItemsTableQuantity.setCellValueFactory( new PropertyValueFactory<SaleItems_Table, String>("tQuantity") ); SaleItemsTablePrice.setCellValueFactory( new PropertyValueFactory<SaleItems_Table, String>("tPrice") ); SaleItemsTablePriceX.setCellValueFactory( new PropertyValueFactory<SaleItems_Table, String>("tPriceX") ); SaleItemsTable.setItems(SaleItemdata); SaleItemdata2 = SaleItemdata; SaleAddQuantity.setText(""); getSaleBillTableData(); getSaleSearchTableData(); } } if (mouseEvent.getSource() == SaleRefresh) { getSaleSearchTableData(); } if (mouseEvent.getSource() == SaleRemove) { String name11 = SaleItemsTable.getSelectionModel().getSelectedItem().gettName(); String name22; for (int j = 0; j < SaleSearchdata.size(); j++) { name22 = SaleSearchdata.get(j).gettName(); System.out.println(name11 + "=" + name22); if (name11.equals(name22)) { int setquantity = validate.getIntValid(SaleRemoveQuantity.getText()); int storedquantity = validate.getIntValid(SaleItemsTable.getSelectionModel().getSelectedItem().gettQuantity()); if (setquantity > storedquantity) { flagquantityremove = false; } } } if (SaleRemoveQuantity.getText().equalsIgnoreCase("") || validate.getIntValid(SaleRemoveQuantity.getText()) == 0 || flagquantityremove == false||!validate.getQuantityValid(SaleAddQuantity.getText())) { SaleRemoveQuantity.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); } else if (SaleItemsTable.getSelectionModel().isEmpty()) { System.out.println("Empyt"); } else { boolean flagfind = false; SaleItemdata = FXCollections.observableArrayList(); boolean flagid = false; int id_reverse = 0; for (int i = 0; i < SaleItemdata2.size(); i++) { int id = i + 1; if (flagid == true) { for (int j = 0; j < id_reverse; j++) { id = id - 1; } } String ID = Integer.toString(id); if (SaleItemdata2.get(i).gettName() == SaleItemsTable.getSelectionModel().getSelectedItem().gettName()) { String quantity = Integer.toString(validate.getIntValid(SaleItemdata2.get(i).gettQuantity()) - validate.getIntValid(SaleRemoveQuantity.getText())); try { System.out.println("in try"); Data d = new Data(); Data up = new Data(); //old data String name1 = SaleItemsTable.getSelectionModel().getSelectedItem().gettName(); String name2; for (int j = 0; j < SaleSearchdata.size(); j++) { name2 = SaleSearchdata.get(j).gettName(); System.out.println(name1 + "=" + name2); if (name1.equals(name2)) { System.out.println("error"); int prevoiusquantity = validate.getIntValid(SaleSearchdata.get(j).gettQuantity()); int newquantity = validate.getIntValid(SaleRemoveQuantity.getText()); newquantity = prevoiusquantity + newquantity; String quantityRemain = Integer.toString(newquantity); System.out.println("remain quantity" + quantityRemain); d.setName(SaleItemsTable.getSelectionModel().getSelectedItem().gettName()); d.setQuantity(SaleSearchdata.get(j).gettQuantity()); d.setBuyPrice(SaleSearchdata.get(j).gettBuyPrice()); d.setSellPrice(SaleSearchdata.get(j).gettPrice()); //new data up.setName(SaleSearchdata.get(j).gettName()); up.setQuantity(quantityRemain); up.setSellPrice(SaleSearchdata.get(j).gettPrice()); up.setBuyPrice(SaleSearchdata.get(j).gettBuyPrice()); } else { System.out.println("not found" + j); } } Put.put(d, up); } catch (Exception e) { e.printStackTrace(); } if (quantity == "0" || validate.getIntValid(quantity) <= 0) { // SaleItemdata2.remove(i); id_reverse++; flagid = true; } else { String PriceX = Double.toString(validate.getDoubleValid(quantity) * validate.getDoubleValid(SaleItemsTable.getSelectionModel().getSelectedItem().gettPrice())); System.out.println("find" + quantity + PriceX); SaleItemdata.add(new SaleItems_Table(ID, SaleItemdata2.get(i).gettName(), quantity, SaleItemdata2.get(i).gettPrice(), PriceX)); flagfind = true; } } else { SaleItemdata.add(new SaleItems_Table(ID, SaleItemdata2.get(i).gettName(), SaleItemdata2.get(i).gettQuantity(), SaleItemdata2.get(i).gettPrice(), SaleItemdata2.get(i).gettPriceX())); } } SaleItemsTableID.setCellValueFactory( new PropertyValueFactory<SaleItems_Table, String>("tID") ); SaleItemsTableName.setCellValueFactory( new PropertyValueFactory<SaleItems_Table, String>("tName") ); SaleItemsTableQuantity.setCellValueFactory( new PropertyValueFactory<SaleItems_Table, String>("tQuantity") ); SaleItemsTablePrice.setCellValueFactory( new PropertyValueFactory<SaleItems_Table, String>("tPrice") ); SaleItemsTablePriceX.setCellValueFactory( new PropertyValueFactory<SaleItems_Table, String>("tPriceX") ); SaleItemsTable.setItems(SaleItemdata); SaleItemdata2 = SaleItemdata; SaleRemoveQuantity.setText(""); getSaleBillTableData(); getSaleSearchTableData(); } } if (mouseEvent.getSource() == SaleCross) { for (int i = 0; i < SaleItemsTable.getItems().size(); i++) { SaleItemsTable.getItems().clear(); } SaleItemdata = FXCollections.observableArrayList(); SaleItemdata2 = SaleItemdata; getSaleBillTableData(); } if (mouseEvent.getSource() == SaleTick && (validate.getIntValid(SaleBilldata.get(0).gettItems()) > 0)) { try { Bill_Data data = new Bill_Data(); data.setBillid("tahseen"); data.setTotalitems(SaleBilldata.get(0).gettItems()); data.setTotalprice(SaleBilldata.get(0).gettPrice()); DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); Date date = new Date(); System.out.println(dateFormat.format(date)); data.setDate(dateFormat.format(date)); List<Bill_ProductData> billProductData = new ArrayList<>(); Bill_ProductData[] b = new Bill_ProductData[SaleItemdata2.size()]; for (int i = 0; i < SaleItemdata2.size(); i++) { b[i] = new Bill_ProductData(SaleItemdata2.get(i).gettName(), SaleItemdata2.get(i).gettQuantity(), SaleItemdata2.get(i).gettPriceX(), SaleItemdata2.get(i).gettPrice()); billProductData.add(b[i]); } data.setProductData(billProductData); Bill_Post.post(data); } catch (Exception e) { e.printStackTrace(); } SaleItemdata2.clear(); SaleItemsTable.setItems(SaleItemdata2); SaleBilldata.clear(); SaleBillTable.setItems(SaleBilldata); } } //Add_Product public void AddProduct(MouseEvent mouseEvent) { if (mouseEvent.getSource() == AddProductCross) { AddProductName.setText(""); AddProductQuantity.setText(""); AddProductBuyPrice.setText(""); AddProductSalePrice.setText(""); } if (mouseEvent.getSource() == AddProductTick) { boolean lockUpdate1 = false, lockUpdate2 = false, lockUpdate3 = false, lockUpdate4 = false; if (AddProductName.getText().equalsIgnoreCase("")) { AddProductName.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate1 = true; } else { AddProductName.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); } if (AddProductQuantity.getText().equalsIgnoreCase("") || (validate.getDoubleValid(AddProductQuantity.getText()) == 0)) { AddProductQuantity.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate2 = true; } else { AddProductQuantity.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); } if (AddProductBuyPrice.getText().equalsIgnoreCase("") || (validate.getDoubleValid(AddProductBuyPrice.getText()) == 0)) { AddProductBuyPrice.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate3 = true; } else { AddProductBuyPrice.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); } if (AddProductSalePrice.getText().equalsIgnoreCase("") || (validate.getDoubleValid(AddProductSalePrice.getText()) == 0)) { AddProductSalePrice.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate4 = true; } else { AddProductSalePrice.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); } if ((lockUpdate1 == false) && (lockUpdate2 == false) && (lockUpdate3 == false) && (lockUpdate4 == false)) { Data d = new Data(); d.setName(AddProductName.getText()); d.setQuantity(AddProductQuantity.getText()); d.setBuyPrice(AddProductBuyPrice.getText()); d.setSellPrice(AddProductSalePrice.getText()); AddProductName.setText(""); AddProductQuantity.setText(""); AddProductBuyPrice.setText(""); AddProductSalePrice.setText(""); try { Post.post(d); } catch (Exception e) { e.printStackTrace(); } } } } //Product public void getProductTableData() { productAPI.Get gat = new Get(); List<Data> d = new ArrayList<>(); try { d = Get.get(); System.out.println(d.size()); for (int i = 0; i < d.size(); i++) System.out.println(d.get(i).getName()); } catch (Exception e) { e.printStackTrace(); } data = FXCollections.observableArrayList(); for (int i = 0; i < d.size(); i++) { data.add(new productTable(d.get(i).getName(), d.get(i).getQuantity(), d.get(i).getBuyPrice(), d.get(i).getSellPrice())); } // data = FXCollections.observableArrayList( // new productTable("Jacob", "Smith", "jacob.smith@example.com", ""), // new productTable("Isabella", "Johnson", "isabella.johnson@example.com", ""), // new productTable("Ethan", "Williams", "ethan.williams@example.com", ""), // new productTable("Emma", "Jones", "emma.jones@example.com", ""), // new productTable("Michael", "Brown", "michael.brown@example.com", ""), // new productTable("Michael", "Brown", "michael.brown@example.com", ""), // new productTable("Michael", "Brown", "michael.brown@example.com", ""), // new productTable("Michael", "Brown", "michael.brown@example.com", "") // ); pTableName.setCellValueFactory( new PropertyValueFactory<productTable, String>("tName") ); pTableQuantity.setCellValueFactory( new PropertyValueFactory<productTable, String>("tQuantity") ); pTableBuyPrice.setCellValueFactory( new PropertyValueFactory<productTable, String>("tBuyPrice") ); pTableSalePrice.setCellValueFactory( new PropertyValueFactory<productTable, String>("tSalePrice") ); pTableID.setItems(data); } public void DeleteProduct(MouseEvent mouseEvent) { if (mouseEvent.getSource() == productButtonDelete && (pTableID.getSelectionModel().getSelectedItem() != null)) { productDeleteName.setText(pTableID.getSelectionModel().getSelectedItem().gettName()); productDeleteQuantity.setText(pTableID.getSelectionModel().getSelectedItem().gettQuantity()); productDeleteBuyPrice.setText(pTableID.getSelectionModel().getSelectedItem().gettBuyPrice()); productDeleteSalePrice.setText(pTableID.getSelectionModel().getSelectedItem().gettSalePrice()); vboxDeleteProduct.setVisible(true); } else if (mouseEvent.getSource() == productButtonDeleteTick && (productDeleteName.getText().equalsIgnoreCase(pTableID.getSelectionModel().getSelectedItem().gettName())) && (productDeleteQuantity.getText().equalsIgnoreCase(pTableID.getSelectionModel().getSelectedItem().gettQuantity())) && (productDeleteBuyPrice.getText().equalsIgnoreCase(pTableID.getSelectionModel().getSelectedItem().gettBuyPrice())) && (productDeleteSalePrice.getText().equalsIgnoreCase(pTableID.getSelectionModel().getSelectedItem().gettSalePrice()))) { try { Data d = new Data(); d.setName(pTableID.getSelectionModel().getSelectedItem().gettName()); d.setQuantity(pTableID.getSelectionModel().getSelectedItem().gettQuantity()); d.setBuyPrice(pTableID.getSelectionModel().getSelectedItem().gettBuyPrice()); d.setSellPrice(pTableID.getSelectionModel().getSelectedItem().gettSalePrice()); try { Delete.delete(d); } catch (Exception e) { e.printStackTrace(); } pTableID.getItems().removeAll(pTableID.getSelectionModel().getSelectedItem()); productDeleteName.setText(""); productDeleteQuantity.setText(""); productDeleteBuyPrice.setText(""); productDeleteSalePrice.setText(""); vboxDeleteProduct.setVisible(false); } catch (Exception ex) { System.out.println("Delete Error here!"); System.out.println(pTableID.getSelectionModel().getSelectedItem().gettName() + pTableID.getSelectionModel().getSelectedItem().gettQuantity()); Data d = new Data(); d.setName(pTableID.getSelectionModel().getSelectedItem().gettName()); d.setQuantity(pTableID.getSelectionModel().getSelectedItem().gettQuantity()); d.setBuyPrice(pTableID.getSelectionModel().getSelectedItem().gettBuyPrice()); d.setSellPrice(pTableID.getSelectionModel().getSelectedItem().gettSalePrice()); try { Delete.delete(d); } catch (Exception e) { e.printStackTrace(); } productDeleteName.setText(""); productDeleteQuantity.setText(""); productDeleteBuyPrice.setText(""); productDeleteSalePrice.setText(""); vboxDeleteProduct.setVisible(false); getProductTableData(); } } else if (mouseEvent.getSource() == productButtonDeleteCross) { vboxDeleteProduct.setVisible(false); } } public void UpdateProduct(MouseEvent mouseEvent) { if (mouseEvent.getSource() == productButtonUpdate && (pTableID.getSelectionModel().getSelectedItem() != null)) { productUpdateName.setText(pTableID.getSelectionModel().getSelectedItem().gettName()); productUpdateQuantity.setText(pTableID.getSelectionModel().getSelectedItem().gettQuantity()); productUpdateBuyPrice.setText(pTableID.getSelectionModel().getSelectedItem().gettBuyPrice()); productUpdateSalePrice.setText(pTableID.getSelectionModel().getSelectedItem().gettSalePrice()); vboxUpdateProduct.setVisible(true); productUpdateNewQuantity.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); productUpdateNewBuyPrice.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); productUpdateNewSalePrice.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); productUpdateNewName.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); } else if (mouseEvent.getSource() == productButtonUpdateTick && (productUpdateName.getText().equalsIgnoreCase(pTableID.getSelectionModel().getSelectedItem().gettName())) && (productUpdateQuantity.getText().equalsIgnoreCase(pTableID.getSelectionModel().getSelectedItem().gettQuantity())) && (productUpdateBuyPrice.getText().equalsIgnoreCase(pTableID.getSelectionModel().getSelectedItem().gettBuyPrice())) && (productUpdateSalePrice.getText().equalsIgnoreCase(pTableID.getSelectionModel().getSelectedItem().gettSalePrice()))) { boolean lockUpdate1 = false, lockUpdate2 = false, lockUpdate3 = false, lockUpdate4 = false; if (productUpdateNewName.getText().equalsIgnoreCase("")) { productUpdateNewName.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate1 = true; } else { productUpdateNewName.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); // String css2 = this.getClass().getResource("input.css").toExternalForm(); // productUpdateNewName.getStylesheets().add(css2); // productUpdateNewName.getStyleClass().add("input"); } if (productUpdateNewQuantity.getText().equalsIgnoreCase("") || (validate.getDoubleValid(productUpdateNewQuantity.getText()) == 0)) { productUpdateNewQuantity.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate2 = true; } else { productUpdateNewQuantity.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); } if (productUpdateNewBuyPrice.getText().equalsIgnoreCase("") || (validate.getDoubleValid(productUpdateNewBuyPrice.getText()) == 0)) { productUpdateNewBuyPrice.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate3 = true; } else { productUpdateNewBuyPrice.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); } if (productUpdateNewSalePrice.getText().equalsIgnoreCase("") || (validate.getDoubleValid(productUpdateNewSalePrice.getText()) == 0)) { productUpdateNewSalePrice.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate4 = true; } else { productUpdateNewSalePrice.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); } if ((lockUpdate1 == false) && (lockUpdate2 == false) && (lockUpdate3 == false) && (lockUpdate4 == false)) { Data old_d = new Data(); Data new_d = new Data(); //set old data old_d.setName(productUpdateName.getText()); old_d.setQuantity(productUpdateQuantity.getText()); old_d.setBuyPrice(productUpdateBuyPrice.getText()); old_d.setSellPrice(productUpdateSalePrice.getText()); //set new data new_d.setName(productUpdateNewName.getText()); new_d.setQuantity(productUpdateNewQuantity.getText()); new_d.setBuyPrice(productUpdateNewBuyPrice.getText()); new_d.setSellPrice(productUpdateNewSalePrice.getText()); System.out.println(old_d.getName() + old_d.getQuantity() + old_d.getBuyPrice() + old_d.getSellPrice()); System.out.println(new_d.getName() + new_d.getQuantity() + new_d.getBuyPrice() + new_d.getSellPrice()); try { Put.put(old_d, new_d); } catch (Exception e) { e.printStackTrace(); } pTableID.getSelectionModel().getSelectedItem().settName(productUpdateNewName.getText()); pTableID.getSelectionModel().getSelectedItem().settQuantity(productUpdateNewQuantity.getText()); pTableID.getSelectionModel().getSelectedItem().settBuyPrice(productUpdateNewBuyPrice.getText()); pTableID.getSelectionModel().getSelectedItem().settSalePrice(productUpdateNewSalePrice.getText()); productUpdateName.setText(""); productUpdateQuantity.setText(""); productUpdateBuyPrice.setText(""); productUpdateSalePrice.setText(""); productUpdateNewName.setText(""); productUpdateNewQuantity.setText(""); productUpdateNewBuyPrice.setText(""); productUpdateNewSalePrice.setText(""); vboxUpdateProduct.setVisible(false); } } else if (mouseEvent.getSource() == productButtonUpdateCross) { productUpdateName.setText(""); productUpdateQuantity.setText(""); productUpdateBuyPrice.setText(""); productUpdateSalePrice.setText(""); productUpdateNewName.setText(""); productUpdateNewQuantity.setText(""); productUpdateNewBuyPrice.setText(""); productUpdateNewSalePrice.setText(""); vboxUpdateProduct.setVisible(false); } else if (mouseEvent.getSource() == productButtonUpdateDown) { productUpdateNewName.setText(productUpdateName.getText()); productUpdateNewQuantity.setText(productUpdateQuantity.getText()); productUpdateNewBuyPrice.setText(productUpdateBuyPrice.getText()); productUpdateNewSalePrice.setText(productUpdateSalePrice.getText()); } } public void SearchProduct(MouseEvent mouseEvent) { if (mouseEvent.getSource() == productButtonSearch) { data2 = data; vboxSearchProduct.setVisible(true); } else if (mouseEvent.getSource() == productButtonSearchTick) { vboxSearchProduct.setVisible(false); } else if (mouseEvent.getSource() == productButtonSearchCross) { productSearchName.setText(""); productSearchQuantity.setText(""); productSearchBuyPrice.setText(""); productSearchSalePrice.setText(""); pTableID.setItems(data); vboxSearchProduct.setVisible(false); } } public void SearchProductList(KeyEvent keyEvent) { SortedList<productTable> sortedData, sortedQuantity, sortedBuyPrice, sortedSalePrice; if (keyEvent.getSource() == productSearchName) { FilteredList<productTable> filteredName = new FilteredList<>(data, n -> true); productSearchName.setOnKeyReleased(n -> { productSearchName.textProperty().addListener(((observable, oldValue, newValue) -> { filteredName.setPredicate((Predicate<? super productTable>) data -> { if (newValue == null || newValue.isEmpty()) { return true; } String lowerCaseFilter = newValue.toLowerCase(); if (data.gettName().toLowerCase().contains(lowerCaseFilter)) { return true; } return false; }); })); }); sortedData = new SortedList<>(filteredName); sortedData.comparatorProperty().bind(pTableID.comparatorProperty()); pTableID.setItems(sortedData); data = sortedData; } else if (keyEvent.getSource() == productSearchQuantity) { FilteredList<productTable> filteredQuantity = new FilteredList<>(data, q -> true); productSearchQuantity.setOnKeyReleased(q -> { productSearchQuantity.textProperty().addListener(((observable, oldValue, newValue) -> { filteredQuantity.setPredicate((Predicate<? super productTable>) data -> { if (newValue == null || newValue.isEmpty()) { return true; } String lowerCaseFilter = newValue.toLowerCase(); if (data.gettQuantity().toLowerCase().contains(lowerCaseFilter)) { return true; } return false; }); })); }); sortedQuantity = new SortedList<>(filteredQuantity); sortedQuantity.comparatorProperty().bind(pTableID.comparatorProperty()); pTableID.setItems(sortedQuantity); data = sortedQuantity; } else if (keyEvent.getSource() == productSearchBuyPrice) { FilteredList<productTable> filteredBuyPrice = new FilteredList<>(data, b -> true); productSearchBuyPrice.setOnKeyReleased(b -> { productSearchBuyPrice.textProperty().addListener(((observable, oldValue, newValue) -> { filteredBuyPrice.setPredicate((Predicate<? super productTable>) data -> { if (newValue == null || newValue.isEmpty()) { return true; } String lowerCaseFilter = newValue.toLowerCase(); if (data.gettBuyPrice().toLowerCase().contains(lowerCaseFilter)) { return true; } return false; }); })); }); sortedBuyPrice = new SortedList<>(filteredBuyPrice); sortedBuyPrice.comparatorProperty().bind(pTableID.comparatorProperty()); pTableID.setItems(sortedBuyPrice); data = sortedBuyPrice; } else if (keyEvent.getSource() == productSearchSalePrice) { FilteredList<productTable> filteredSalePrice = new FilteredList<>(data, s -> true); productSearchSalePrice.setOnKeyReleased(s -> { productSearchSalePrice.textProperty().addListener(((observable, oldValue, newValue) -> { filteredSalePrice.setPredicate((Predicate<? super productTable>) data -> { if (newValue == null || newValue.isEmpty()) { return true; } String lowerCaseFilter = newValue.toLowerCase(); if (data.gettSalePrice().toLowerCase().contains(lowerCaseFilter)) { return true; } return false; }); })); }); sortedSalePrice = new SortedList<>(filteredSalePrice); sortedSalePrice.comparatorProperty().bind(pTableID.comparatorProperty()); pTableID.setItems(sortedSalePrice); data = sortedSalePrice; } } public void RefreshProduct(MouseEvent mouseEvent) { if (mouseEvent.getSource() == productButtonRefresh) { productAPI.Get gat = new Get(); List<Data> d = new ArrayList<>(); try { d = Get.get(); System.out.println(d.size()); for (int i = 0; i < d.size(); i++) System.out.println(d.get(i).getName()); } catch (Exception e) { e.printStackTrace(); } data = FXCollections.observableArrayList(); for (int i = 0; i < d.size(); i++) { data.add(new productTable(d.get(i).getName(), d.get(i).getQuantity(), d.get(i).getBuyPrice(), d.get(i).getSellPrice())); } pTableName.setCellValueFactory( new PropertyValueFactory<productTable, String>("tName") ); pTableQuantity.setCellValueFactory( new PropertyValueFactory<productTable, String>("tQuantity") ); pTableBuyPrice.setCellValueFactory( new PropertyValueFactory<productTable, String>("tBuyPrice") ); pTableSalePrice.setCellValueFactory( new PropertyValueFactory<productTable, String>("tSalePrice") ); pTableID.setItems(data); } } //Bills public void GetBills() { try { Billd = Bill_Get.get(); System.out.println(Billd.size()); for (int i = 0; i < Billd.size(); i++) System.out.println(Billd.get(0).getProductData().get(0).getQuantity()); } catch (Exception e) { e.printStackTrace(); } Billdata = FXCollections.observableArrayList(); Billdetaildata = FXCollections.observableArrayList(); for (int i = 0; i < Billd.size(); i++) { for (int j = 0; j < Billd.get(i).getProductData().size(); j++) { Billdetaildata.add(new BillDetail_Table(Billd.get(i).getProductData().get(j).getName(), Billd.get(i).getProductData().get(j).getQuantity(), Billd.get(i).getProductData().get(j).getSellPrice())); } Billdata.add(new Bill_Table(Billd.get(i).getBillid(), Billd.get(i).getTotalitems(), Billd.get(i).getTotalprice(), Billd.get(i).getDate(), Billdetaildata)); } BillTableID.setCellValueFactory( new PropertyValueFactory<Bill_Table, String>("tBillId") ); BillTableTotalItems.setCellValueFactory( new PropertyValueFactory<Bill_Table, String>("tTotalItems") ); BillTableTotalPrice.setCellValueFactory( new PropertyValueFactory<Bill_Table, String>("tTotalPrice") ); BillTableDate.setCellValueFactory( new PropertyValueFactory<Bill_Table, String>("tDate") ); BillTable.setItems(Billdata); } public void GetBillsDetail(MouseEvent mouseEvent) { int index = BillTable.getSelectionModel().getSelectedIndex(); System.out.println("index" + index); System.out.println("size" + Billd.get(index).getProductData().size()); BillDetaildata = FXCollections.observableArrayList(); for (int j = 0; j < Billd.get(index).getProductData().size(); j++) { BillDetaildata.add(new BillDetail_Table(Billd.get(index).getProductData().get(j).getName(), Billd.get(index).getProductData().get(j).getQuantity(), Billd.get(index).getProductData().get(j).getSellPrice())); } BillTableName.setCellValueFactory( new PropertyValueFactory<BillDetail_Table, String>("tName") ); BillTableQuantity.setCellValueFactory( new PropertyValueFactory<BillDetail_Table, String>("tQuantity") ); BillTablePrice.setCellValueFactory( new PropertyValueFactory<BillDetail_Table, String>("tPrice") ); BillTableDetait.setItems(BillDetaildata); } public void SearchBillList(KeyEvent keyEvent) { SortedList<Bill_Table> sortedBillId, sortedBillItems, sortedBillPrice, sortedBillDate; if (keyEvent.getSource() == billtextid) { FilteredList<Bill_Table> filteredBillId = new FilteredList<>(Billdata, n -> true); billtextid.setOnKeyReleased(n -> { billtextid.textProperty().addListener(((observable, oldValue, newValue) -> { filteredBillId.setPredicate((Predicate<? super Bill_Table>) Billdata -> { if (newValue == null || newValue.isEmpty()) { return true; } String lowerCaseFilter = newValue.toLowerCase(); if (Billdata.gettBillId().toLowerCase().contains(lowerCaseFilter)) { return true; } return false; }); })); }); sortedBillId = new SortedList<>(filteredBillId); sortedBillId.comparatorProperty().bind(BillTable.comparatorProperty()); BillTable.setItems(sortedBillId); Billdata = sortedBillId; } else if (keyEvent.getSource() == billtextitems) { FilteredList<Bill_Table> filteredBillItems = new FilteredList<>(Billdata, q -> true); billtextitems.setOnKeyReleased(q -> { billtextitems.textProperty().addListener(((observable, oldValue, newValue) -> { filteredBillItems.setPredicate((Predicate<? super Bill_Table>) Billdata -> { if (newValue == null || newValue.isEmpty()) { return true; } String lowerCaseFilter = newValue.toLowerCase(); if (Billdata.gettTotalItems().toLowerCase().contains(lowerCaseFilter)) { return true; } return false; }); })); }); sortedBillItems = new SortedList<>(filteredBillItems); sortedBillItems.comparatorProperty().bind(BillTable.comparatorProperty()); BillTable.setItems(sortedBillItems); Billdata = sortedBillItems; } else if (keyEvent.getSource() == billtextprice) { FilteredList<Bill_Table> filteredBillprice = new FilteredList<>(Billdata, b -> true); billtextprice.setOnKeyReleased(b -> { billtextprice.textProperty().addListener(((observable, oldValue, newValue) -> { filteredBillprice.setPredicate((Predicate<? super Bill_Table>) Billdata -> { if (newValue == null || newValue.isEmpty()) { return true; } String lowerCaseFilter = newValue.toLowerCase(); if (Billdata.gettTotalPrice().toLowerCase().contains(lowerCaseFilter)) { return true; } return false; }); })); }); sortedBillPrice = new SortedList<>(filteredBillprice); sortedBillPrice.comparatorProperty().bind(BillTable.comparatorProperty()); BillTable.setItems(sortedBillPrice); Billdata = sortedBillPrice; } } public void BillButtons(MouseEvent mouseEvent) { if (mouseEvent.getSource() == billSearch) { vboxBillSearch.setVisible(true); } if (mouseEvent.getSource() == billrefresh) { GetBills(); } if (mouseEvent.getSource() == billtick) { vboxBillSearch.setVisible(false); } if (mouseEvent.getSource() == billcross) { billtextid.setText(""); billtextitems.setText(""); billtextprice.setText(""); vboxBillSearch.setVisible(false); } } //Employees public void GetEmployee() { try { List<Employee_Data> d = new ArrayList<>(); d = Employee_Get.get(); System.out.println(d.size()); for (int i = 0; i < d.size(); i++) { if (tepm_user.equals(d.get(i).getUsername()) && temp_password.equals(d.get(i).getPassword())) { employeeUsername.setText(d.get(i).getUsername()); employeePassword.setText(d.get(i).getPassword()); employeeImageUrl.setText(d.get(i).getImage()); } } } catch (Exception e) { e.printStackTrace(); } } public void SetImages() { String imguser = tepm_user.replace(" ", "%20"); String extension = ""; int i = temp_Image.lastIndexOf('.'); if (i > 0) { extension = temp_Image.substring(i + 1); } System.out.println(extension); String img = "file:///C:/Users/qasim/Desktop/Semester-3-Main-Project/Golang/Image_server/Images/" + imguser + "." + extension; hBoxImageDiv.setStyle("-fx-background-image: url('" + img + "'); -fx-background-position: center center;"); vboxEmployeeDiv.setStyle("-fx-background-color: #3C3F41e0;"); WebEngine image = Employee_Image_Web.getEngine(); image.loadContent("<!DOCTYPE html>\n" + "<html lang=\"en\">\n" + "<head>\n" + " <meta charset=\"UTF-8\">\n" + " <title>Title</title>\n" + " <link rel=\"stylesheet\" type=\"text/css\" href=\"../css/main.css\">\n" + " <style>body{\n" + " background-color:#5F5F5F;\n" + " }\n" + " div{\n" + " background-image: url(" + img + ");\n" + " background-size: 170px 170px;\n" + " width:170px;\n" + " height:170px;\n" + " border: 5px solid #FFCD00;\n" + " border-radius:100px;\n" + " box-shadow: 0 0 10px 2px #000;\n" + " }\n" + " </style>\n" + "</head>\n" + "<body>\n" + "<div>\n" + " \n" + "</div>\n" + "</body>\n" + "</html>"); WebEngine canvas = CanvasWeb.getEngine(); canvas.load(""); } public void Explorer(MouseEvent event) { if (event.getSource() == AddImage || event.getSource() == productIcon) { FileChooser fileChooser = new FileChooser(); FileChooser.ExtensionFilter extFilter = new FileChooser.ExtensionFilter("Images ", "*.png","*.jpg","*.gif","*.bmp"); fileChooser.getExtensionFilters().add(extFilter); File SelectedFile = fileChooser.showOpenDialog(null); if (SelectedFile != null) { // listview.getItems().add(SelectedFile.getName()); System.out.println(SelectedFile.getName()); System.out.println(SelectedFile.getAbsolutePath()); String my_new_str = SelectedFile.getAbsolutePath().replace("\\", "/"); System.out.println(my_new_str); employeeImageUrl.setText(my_new_str); } else { System.out.println("file is not correct"); } } } public void EmployeeButtons(MouseEvent event) { if (event.getSource() == EmployeeEdit) { employeeUsername.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); employeePassword.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); employeeconfirm.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); employeeImageUrl.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); boolean lockUpdate1 = false, lockUpdate2 = false, lockUpdate3 = false, lockUpdate4 = false; if (employeeUsername.getText().equalsIgnoreCase("")||!validate.getUserValidBool(employeeUsername.getText())) { employeeUsername.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate1 = true; } else { employeeUsername.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); // String css2 = this.getClass().getResource("input.css").toExternalForm(); // productUpdateNewName.getStylesheets().add(css2); // productUpdateNewName.getStyleClass().add("input"); } if (employeePassword.getText().equalsIgnoreCase("") || !validate.getPasswordValid(employeePassword.getText(), 8, 1, 1)) { employeePassword.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate2 = true; } else { employeePassword.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); } if (employeeconfirm.getText().equalsIgnoreCase("") || !employeeconfirm.getText().equals(employeePassword.getText())) { employeeconfirm.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate3 = true; } else { employeeconfirm.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); } if (employeeImageUrl.getText().equalsIgnoreCase("")) { employeeImageUrl.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate4 = true; } else { employeeImageUrl.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); } if ((lockUpdate1 == false) && (lockUpdate2 == false) && (lockUpdate3 == false) && (lockUpdate4 == false)) { try { System.out.println("post employee"); Employee_Data d = new Employee_Data(); Employee_Data up = new Employee_Data(); //old data d.setUsername(tepm_user); d.setPassword(temp_password); d.setImage(temp_Image); //new data up.setUsername(employeeUsername.getText()); up.setPassword(employeePassword.getText()); up.setImage(employeeImageUrl.getText()); Employee_Put.put(d, up); } catch (Exception e) { e.printStackTrace(); } tepm_user = employeeUsername.getText(); temp_password = employeePassword.getText(); temp_Image = employeeImageUrl.getText(); } else if ((employeeImageUrl.getText().equals(temp_Image)) && (employeePassword.getText().equals(temp_password)) && (employeeUsername.getText().equals(tepm_user))) { System.out.println("Employee Exist"); } } if (event.getSource() == EmployeeNew) { employeeUsername.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); employeePassword.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); employeeconfirm.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); employeeImageUrl.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); boolean lockUpdate1 = false, lockUpdate2 = false, lockUpdate3 = false, lockUpdate4 = false; if (employeeUsername.getText().equalsIgnoreCase("")||!validate.getUserValidBool(employeeUsername.getText())) { employeeUsername.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate1 = true; } else { employeeUsername.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); // String css2 = this.getClass().getResource("input.css").toExternalForm(); // productUpdateNewName.getStylesheets().add(css2); // productUpdateNewName.getStyleClass().add("input"); } if (employeePassword.getText().equalsIgnoreCase("") || !validate.getPasswordValid(employeePassword.getText(), 8, 1, 1)) { employeePassword.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate2 = true; } else { employeePassword.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); } if (employeeconfirm.getText().equalsIgnoreCase("") || !employeeconfirm.getText().equals(employeePassword.getText())) { employeeconfirm.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate3 = true; } else { employeeconfirm.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); } if (employeeImageUrl.getText().equalsIgnoreCase("")) { employeeImageUrl.setBorder(new Border(new BorderStroke(Color.RED, BorderStrokeStyle.SOLID, new CornerRadii(2), new BorderWidths(0, 0, 2, 0)))); lockUpdate4 = true; } else { employeeImageUrl.setBorder(new Border(new BorderStroke(Color.WHITE, BorderStrokeStyle.SOLID, new CornerRadii(0), new BorderWidths(0, 0, 2, 0)))); } if ((lockUpdate1 == false) && (lockUpdate2 == false) && (lockUpdate3 == false) && (lockUpdate4 == false)) { try { Employee_Data d = new Employee_Data(); d.setUsername(employeeUsername.getText()); d.setPassword(employeePassword.getText()); d.setImage(employeeImageUrl.getText()); Employee_Post.post(d); } catch (Exception e) { e.printStackTrace(); } } else if ((employeeImageUrl.getText().equals(temp_Image)) && (employeePassword.getText().equals(temp_password)) && (employeeUsername.getText().equals(tepm_user))) { System.out.println("Employee Exist"); } } } public void HideImageEdit(MouseEvent event) { AddImage.setVisible(false); } public void ShowImageEdit(MouseEvent event) { AddImage.setVisible(true); } public void initialize(URL Location,ResourceBundle resourceBundle){ // TableColumn namecol = new TableColumn("Name"); // TableColumn quantitycol = new TableColumn("Quantity"); // TableColumn buypricecol = new TableColumn("BuyPrice"); // TableColumn salepricecol = new TableColumn("SalePrice"); // pTableID.getColumns().addAll(namecol, quantitycol,buypricecol, salepricecol); // pTableID.getColumns().addAll(pTableName,pTableQuantity,pTableQuantity,pTableSalePrice); } private void initialize() { } }
[ "qasimmehmood13936@gmail.com" ]
qasimmehmood13936@gmail.com
06683c6de3019949de07d4abf67de1d65e5209a7
4fff4eb71eab0235e50f0987a16311eb81a48c61
/OptionsTab/src/com/example/fragments/D.java
98cf2be0bd345da1b47e15b2906c434ad2e97393
[]
no_license
zouyi9807/AndroidPage
d7dc45fda855c217dad011382f706e61cafebf25
4e51f7938e9f590f2334c92b7e4699c87903fd6d
refs/heads/master
2020-03-18T23:10:06.299540
2018-05-30T04:10:50
2018-05-30T04:10:50
135,386,503
0
0
null
null
null
null
UTF-8
Java
false
false
511
java
package com.example.fragments; import com.example.optiontab.R; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class D extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { System.out.println("DDDDDDDDDDDDDD____onCreateView"); return inflater.inflate(R.layout.d, container, false); } }
[ "1530193044@qq.com" ]
1530193044@qq.com
c785b22567fa1ff3d3eea1609c1e0d8d22035449
5440c44721728e87fb827fb130b1590b25f24989
/GPP/clientes/ClienteImportacaoUsuarioNDSPortalGPP.java
7a3c197843ab67a597c0d7335e85544251882979
[]
no_license
amigosdobart/gpp
b36a9411f39137b8378c5484c58d1023c5e40b00
b1fec4e32fa254f972a0568fb7ebfac7784ecdc2
refs/heads/master
2020-05-15T14:20:11.462484
2019-04-19T22:34:54
2019-04-19T22:34:54
182,328,708
0
0
null
null
null
null
UTF-8
Java
false
false
1,719
java
// Cliente que envia bonus por chamada sainte com CSP 14 - Bonus Toma La Da Ca package clientes; import com.brt.gpp.componentes.processosBatch.orb.*; public class ClienteImportacaoUsuarioNDSPortalGPP { public ClienteImportacaoUsuarioNDSPortalGPP ( ) { } public static void main(String[] args) { java.util.Properties props = System.getProperties(); props.put("vbroker.agent.port", args[0]); props.put("vbroker.agent.addr", args[1]); System.setProperties ( props ); // Inicializando o ORB org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args, props); byte[] managerId = "ComponenteNegociosProcessosBatch".getBytes(); processosBatch pPOA = processosBatchHelper.bind(orb, "/AtivaComponentesPOA", managerId); short retValue=0; try { retValue = pPOA.importaUsuarioPortalNDS(); if (retValue == 0) System.out.println ("Metodo de importacao executado com sucesso..."); else System.out.println ("Metodo de importacao executado com erro..."); System.exit(retValue); } catch (Exception e) { System.out.println ("Metodo remoto de importacao de Usuarios executado com erro..."); System.out.println("Erro:" + e); System.exit(retValue); } } public static void menuOpcoes ( ) { // int userOption; System.out.println ("\n\n"); System.out.println ("+--------------------------------------------------------------------+"); System.out.println ("+ Sistema de Teste de Importacao de Usuarios do NDS para o Portal +"); System.out.println ("+--------------------------------------------------------------------+\n"); System.out.println (" Procesando ....."); System.out.print (" Fim do Processo "); System.out.print ("\n"); } }
[ "lucianovilela@gmail.com" ]
lucianovilela@gmail.com
71048ab0b7b34bc4fcbcabf5f542d9f6b68dbce7
eb271a96ed08abcfe8c8a722ef517efe92676431
/Clean Smart Ajmer android project/ProjectTester/src/com/example/projecttester/UpdateMyProfileActivity.java
91f1db45dd2358c039de67852a299958b242cf6b
[]
no_license
jainkashish/Clean-Ajmer
cf1b3fed8d2ea91ff54e56cac6c83b9574a3d710
e712d25082081f21a920af8b1e06b9e40246b03e
refs/heads/master
2022-11-30T01:09:39.958477
2020-08-08T06:02:46
2020-08-08T06:02:46
285,841,555
0
0
null
null
null
null
UTF-8
Java
false
false
2,536
java
package com.example.projecttester; import android.os.Bundle; import android.app.Activity; import android.content.ContentValues; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.view.Menu; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class UpdateMyProfileActivity extends Activity implements OnClickListener { EditText et1,et2,et3,et4; Button b; String contact; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_update_my_profile); et1=(EditText) findViewById(R.id.editText1); et2=(EditText) findViewById(R.id.editText2); et3=(EditText) findViewById(R.id.editText3); b=(Button) findViewById(R.id.button1); et4=(EditText) findViewById(R.id.editText4); Intent i=getIntent(); contact=i.getStringExtra("contact"); b.setOnClickListener(this); DataBaseHelper dh = new DataBaseHelper(this); SQLiteDatabase db = dh.getReadableDatabase(); String q = "select * from data2 where contact=?"; Cursor cursor = db.rawQuery(q, new String[] { contact }); if (cursor != null) cursor.moveToFirst(); if (cursor.moveToFirst()) { do { et1.setText(cursor.getString(1)); et2.setText(cursor.getString(2)); et3.setText(cursor.getString(4)); et4.setText(cursor.getString(5)); } while (cursor.moveToNext()); } } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.update_my_profile, menu); return true; } @Override public void onClick(View arg0) { // TODO Auto-generated method stub DataBaseHelper dh1=new DataBaseHelper(getApplicationContext()); SQLiteDatabase db1=dh1.getReadableDatabase(); ContentValues cv=new ContentValues(); cv.put("name", et1.getText().toString()); cv.put("address", et2.getText().toString()); cv.put("email", et3.getText().toString()); cv.put("password", et4.getText().toString()); int ans=db1.update("data2", cv, "contact=?", new String[]{contact}); if(ans==1) { Toast.makeText(this, "Record Updated", 2000).show(); } else { Toast.makeText(this, "Record Not Updated", 2000).show(); } } }
[ "kashishpl2000@gmail.com" ]
kashishpl2000@gmail.com
5b305652ded8462e008fafb72c293afc0aaa7509
c80fe9b84c13787575bec0622203ca532cd7eac9
/src/buildings/VentarolaBuilding.java
37fecb9efbbd8d96a057f54d4f1f7333736992ca
[ "MIT" ]
permissive
xtymichael/OpenGL_Game
c4cdc530125bbaad59405cb5b474c26df168bf14
10fa9e443122cbaab23f3776da09e4548ebc170c
refs/heads/master
2021-01-20T08:46:26.187893
2015-09-28T13:52:48
2015-09-28T13:52:48
42,130,570
0
0
null
null
null
null
UTF-8
Java
false
false
17,943
java
package buildings; import game.Building; import javax.media.opengl.GL2; import javax.media.opengl.glu.GLU; import javax.media.opengl.glu.GLUquadric; import com.jogamp.opengl.util.texture.Texture; public class VentarolaBuilding extends Building{ private GLUquadric quadric; private Texture ventarolaGrass; private Texture ventarolaWood; private Texture ventarolaRock; private Texture ventarolaBrick; private Texture ventarolaWallPaper; private Texture ventarolaMarble; private Texture ventarolaPollock; public VentarolaBuilding(GL2 gl, GLU glu) { quadric = glu.gluNewQuadric(); glu.gluQuadricDrawStyle(quadric, GLU.GLU_FILL); // GLU_POINT, GLU_LINE, GLU_FILL, GLU_SILHOUETTE glu.gluQuadricNormals (quadric, GLU.GLU_NONE); // GLU_NONE, GLU_FLAT, or GLU_SMOOTH glu.gluQuadricTexture (quadric, true); // true to generate texture coordinates ventarolaWood = setupTexture(gl, "wood032.gif"); ventarolaGrass = setupTexture(gl, "dgren050.gif"); ventarolaRock = setupTexture(gl, "drock084.jpg"); ventarolaBrick = setupTexture(gl, "brick039.jpg"); ventarolaWallPaper = setupTexture(gl, "paper005.gif"); ventarolaMarble = setupTexture(gl, "marb076.jpg"); ventarolaPollock = setupTexture(gl, "pollock.jpg"); } @Override public void draw(GL2 gl, GLU glu) { drawFoundation(gl, glu); drawGarage(gl, glu); drawRoof(gl, glu); drawWalls(gl, glu); drawFurniture(gl, glu); drawWindows(gl, glu); } public void drawLamp(GL2 gl, GLU glu, float x, float z) { gl.glPushMatrix();//hanging lamp gl.glRotatef(-90f, 1f, 0f, 0f); gl.glTranslated(x, -z, 9); gl.glColor3f(.7f, .7f, .7f); glu.gluCylinder(quadric, .1, .1, 2, 10, 10); glu.gluSphere(quadric, .8, 10, 10); gl.glTranslated(0, 0, -1); gl.glEnable(GL2.GL_BLEND); gl.glBlendFunc(GL2.GL_SRC_ALPHA, GL2.GL_ONE_MINUS_SRC_ALPHA); gl.glColor4f(.7f,.1f,.1f, .9f); // dimmer yellow, translucent glu.gluCylinder(quadric, 1, 1, 2, 10, 10); gl.glDisable(GL2.GL_BLEND); gl.glPopMatrix(); } public void drawFurniture(GL2 gl, GLU glu) { gl.glPushMatrix(); gl.glColor3f(.5f, .5f, .5f); gl.glRotatef(-90f, 1f, 0f, 0f); gl.glTranslatef(80, -58, 1); gl.glColor3f(.7f, .1f, .1f); //ottoman sides glu.gluCylinder(quadric, 7, 7, 2, 10, 10); glu.gluCylinder(quadric, 4, 4, 4, 10, 10); gl.glColor3f(.8f, .8f, .8f); //ottoman cushions gl.glTranslatef(0, 0, 2); glu.gluDisk(quadric, 0, 7, 10, 10); gl.glTranslatef(0,0,2); glu.gluDisk(quadric, 0, 4, 10, 10); gl.glPopMatrix(); drawLamp(gl, glu, 35, 58); drawLamp(gl, glu, 35, 72); drawLamp(gl, glu, 50, 58); drawLamp(gl, glu, 50, 72); drawLamp(gl, glu, 65, 58); drawLamp(gl, glu, 65, 72); drawLamp(gl, glu, 80, 58); drawLamp(gl, glu, 80, 72); gl.glEnable(GL2.GL_TEXTURE_2D); ventarolaPollock.bind(gl); gl.glBegin(GL2.GL_QUADS); gl.glTexCoord2f(0, 0); gl.glVertex3f(30.05f, 5, 70); //picture gl.glTexCoord2f(0, 1); gl.glVertex3f(30.05f, 9, 70); gl.glTexCoord2f(1, 1); gl.glVertex3f(30.05f, 9, 60); gl.glTexCoord2f(1, 0); gl.glVertex3f(30.05f, 5, 60); gl.glEnd(); gl.glDisable(GL2.GL_TEXTURE_2D); } public void drawWalls(GL2 gl, GLU glu) { gl.glEnable(GL2.GL_TEXTURE_2D); ventarolaWallPaper.bind(gl); gl.glBegin(GL2.GL_QUADS); gl.glTexCoord2f(0,0); gl.glVertex3f(30, 8, 30); //right gl.glTexCoord2f(0,2); gl.glVertex3f(30, 11, 30); gl.glTexCoord2f(8,2); gl.glVertex3f(30, 11, 50); gl.glTexCoord2f(8,0); gl.glVertex3f(30, 8, 50); gl.glTexCoord2f(0,0); gl.glVertex3f(30, 8, 98); //back left gl.glTexCoord2f(0,2); gl.glVertex3f(30, 11, 98); gl.glTexCoord2f(8,2); gl.glVertex3f(55, 11, 98); gl.glTexCoord2f(8,0); gl.glVertex3f(55, 8, 98); gl.glTexCoord2f(0,0); gl.glVertex3f(55, 4, 98); //back gl.glTexCoord2f(0,8); gl.glVertex3f(55, 11, 98); gl.glTexCoord2f(8,8); gl.glVertex3f(80, 11, 98); gl.glTexCoord2f(8,0); gl.glVertex3f(80, 4, 98); gl.glTexCoord2f(0,0); gl.glVertex3f(30, 4, 30); //front right gl.glTexCoord2f(0,8); gl.glVertex3f(30, 11, 30); gl.glTexCoord2f(8,8); gl.glVertex3f(45, 11, 30); gl.glTexCoord2f(8,0); gl.glVertex3f(45, 4, 30); gl.glTexCoord2f(0,0); gl.glVertex3f(45, 8, 30); //front mid gl.glTexCoord2f(0,2); gl.glVertex3f(45, 11, 30); gl.glTexCoord2f(8,2); gl.glVertex3f(60, 11, 30); gl.glTexCoord2f(8,0); gl.glVertex3f(60, 8, 30); gl.glEnd(); gl.glEnable(GL2.GL_CULL_FACE); gl.glBegin(GL2.GL_QUADS); gl.glTexCoord2f(0,0); gl.glVertex3f(30, 1, 30); //right gl.glTexCoord2f(0,2); gl.glVertex3f(30, 1, 50); gl.glTexCoord2f(8,2); gl.glVertex3f(30, 4, 50); gl.glTexCoord2f(8,0); gl.glVertex3f(30, 4, 30); gl.glTexCoord2f(0,0); gl.glVertex3f(30, 1, 98); //back gl.glTexCoord2f(0,2); gl.glVertex3f(80, 1, 98); gl.glTexCoord2f(8,2); gl.glVertex3f(80, 4, 98); gl.glTexCoord2f(8,0); gl.glVertex3f(30, 4, 98); gl.glTexCoord2f(0,0); gl.glVertex3f(30, 1, 30); //front gl.glTexCoord2f(0,8); gl.glVertex3f(30, 4, 30); gl.glTexCoord2f(8,8); gl.glVertex3f(60, 4, 30); gl.glTexCoord2f(8,0); gl.glVertex3f(60, 1, 30); gl.glEnd(); ventarolaMarble.bind(gl); gl.glBegin(GL2.GL_QUADS); gl.glTexCoord2f(0,0); gl.glVertex3f(30, 1, 30); //right gl.glTexCoord2f(0,2); gl.glVertex3f(30, 4, 30); gl.glTexCoord2f(8,2); gl.glVertex3f(30, 4, 50); gl.glTexCoord2f(8,0); gl.glVertex3f(30, 1, 50); gl.glTexCoord2f(0,0); gl.glVertex3f(30, 1, 98); //back gl.glTexCoord2f(0,2); gl.glVertex3f(30, 4, 98); gl.glTexCoord2f(16,2); gl.glVertex3f(80, 4, 98); gl.glTexCoord2f(16,0); gl.glVertex3f(80, 1, 98); gl.glTexCoord2f(0,0); gl.glVertex3f(30, 1, 30); //front gl.glTexCoord2f(0,16); gl.glVertex3f(60, 1, 30); gl.glTexCoord2f(2,16); gl.glVertex3f(60, 4, 30); gl.glTexCoord2f(2,0); gl.glVertex3f(30, 4, 30); gl.glEnd(); gl.glDisable(GL2.GL_CULL_FACE); gl.glDisable(GL2.GL_TEXTURE_2D); } public void drawRoof(GL2 gl, GLU glu) { gl.glColor3f(.9f, .8f, .8f); gl.glBegin(GL2.GL_QUADS); gl.glVertex3f(99, 11, 50); //front of garage gl.glVertex3f(3, 11, 50); gl.glVertex3f(24, 11, 24); gl.glVertex3f(99, 11, 24); gl.glVertex3f(99, 11, 100);//next to garage gl.glVertex3f(3, 11, 100); gl.glVertex3f(3, 11, 50); gl.glVertex3f(99, 11, 50); gl.glVertex3f(99, 11, 100); //back gl.glVertex3f(99, 12, 100); gl.glVertex3f(1, 12, 100); gl.glVertex3f(3, 11, 100); gl.glVertex3f(3, 11, 100);//right side gl.glVertex3f(1, 12, 100); gl.glVertex3f(1, 12, 48); gl.glVertex3f(3, 11, 50); gl.glVertex3f(3, 11, 50);//garage overhang gl.glVertex3f(1, 12, 48); gl.glVertex3f(22, 12, 22); gl.glVertex3f(24, 11, 24); gl.glVertex3f(24, 11, 24);//front gl.glVertex3f(22, 12, 22); gl.glVertex3f(99, 12, 22); gl.glVertex3f(99, 11, 24); gl.glVertex3f(99, 11, 24);//left gl.glVertex3f(99, 12, 22); gl.glVertex3f(99, 12, 100); gl.glVertex3f(99, 11, 100); gl.glVertex3f(99, 12, 100);//top left gl.glVertex3f(99, 12, 22); gl.glVertex3f(24, 12, 22); gl.glVertex3f(24, 12, 100); gl.glVertex3f(24, 12, 100);//top right gl.glVertex3f(24, 12, 22); gl.glVertex3f(3, 12, 48); gl.glVertex3f(3, 12, 100); gl.glEnd(); } public void drawWindows(GL2 gl, GLU glu) { gl.glPushMatrix(); gl.glColor3f(.1f, .1f, .1f); gl.glRotatef(-90f, 1f, 0f, 0f); //front pillars gl.glTranslatef(96, -31, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); gl.glTranslatef(-10, 0, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); gl.glTranslatef(-10, 0, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); gl.glTranslatef(-16, 0, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); gl.glTranslatef(-15, 0, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); gl.glTranslatef(-14, 0, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); //right pillars gl.glTranslatef(0, -19, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); gl.glTranslatef(0, -47, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); //back pillars gl.glTranslatef(25, 0, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); gl.glTranslatef(25, 0, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); gl.glTranslatef(15, 0, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); //left pillars gl.glTranslatef(0, 22, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); gl.glTranslatef(0, 22, 0); glu.gluCylinder(quadric, 2, 3, 11., 10, 10); gl.glPopMatrix(); gl.glBegin(GL2.GL_QUADS); gl.glVertex3f(66, 1, 30);//right of door gl.glVertex3f(66, 10, 30); gl.glVertex3f(65, 10, 30); gl.glVertex3f(65, 1, 30); gl.glVertex3f(70, 1, 30);//left of door gl.glVertex3f(70, 10, 30); gl.glVertex3f(71, 10, 30); gl.glVertex3f(71, 1, 30); gl.glVertex3f(75, 10, 30);//above door gl.glVertex3f(75, 11, 30); gl.glVertex3f(60, 11, 30); gl.glVertex3f(60, 10, 30); gl.glEnd(); gl.glEnable(GL2.GL_BLEND); gl.glBlendFunc(GL2.GL_SRC_ALPHA, GL2.GL_ONE_MINUS_SRC_ALPHA); gl.glColor4f(.9f,.9f,.7f, .3f); // dimmer yellow, translucent gl.glBegin(GL2.GL_QUADS); gl.glVertex3f(65, 1, 30);//right of door gl.glVertex3f(65, 10, 30); gl.glVertex3f(60, 10, 30); gl.glVertex3f(60, 1, 30); gl.glVertex3f(75, 1, 30);//left of door gl.glVertex3f(75, 10, 30); gl.glVertex3f(71, 10, 30); gl.glVertex3f(71, 1, 30); gl.glVertex3f(30, 8, 98); //back right gl.glVertex3f(55, 8, 98); gl.glVertex3f(55, 4, 98); gl.glVertex3f(30, 4, 98); gl.glVertex3f(30, 4, 32); //right gl.glVertex3f(30, 4, 48); gl.glVertex3f(30, 8, 48); gl.glVertex3f(30, 8, 32); gl.glVertex3f(45, 8, 30); //front right gl.glVertex3f(60, 8, 30); gl.glVertex3f(60, 4, 30); gl.glVertex3f(45, 4, 30); gl.glVertex3f(65, 1, 30);//right of door gl.glVertex3f(65, 8, 30); gl.glVertex3f(60, 8, 30); gl.glVertex3f(60, 1, 30); gl.glVertex3f(75, 1, 30);//left of door gl.glVertex3f(75, 8, 30); gl.glVertex3f(71, 8, 30); gl.glVertex3f(71, 1, 30); gl.glVertex3f(80, 1, 98); //back left gl.glVertex3f(95, 1, 98); gl.glVertex3f(95, 11, 98); gl.glVertex3f(80, 11, 98); gl.glVertex3f(97, 1, 32); //left gl.glVertex3f(97, 1, 96); gl.glVertex3f(97, 11, 96); gl.glVertex3f(97, 11, 32); gl.glVertex3f(75, 11, 30); //front left gl.glVertex3f(95, 11, 30); gl.glVertex3f(95, 1, 30); gl.glVertex3f(75, 1, 30); gl.glEnd(); gl.glDisable(GL2.GL_BLEND); } public void drawGarage(GL2 gl, GLU glu) { gl.glColor3f(0, .2f, .3f); gl.glPushMatrix(); gl.glRotatef(-90f, 1f, 0f, 0f); // stand upright (Y) gl.glTranslatef(27, -95, 0); gl.glColor3f(.3f, .2f, .3f); glu.gluCylinder(quadric, 3., 3, 11., 10, 10); //boiler gl.glColor3f(.5f, .3f, .1f); gl.glTranslatef(-4, -1.5f, 0); glu.gluCylinder(quadric, .25, .25, 4., 6, 10); //table legs gl.glTranslatef(-8, 0, 0); glu.gluCylinder(quadric, .25, .25, 4., 6, 10); gl.glTranslated(0, 3, 0); glu.gluCylinder(quadric, .25, .25, 4., 6, 10); gl.glTranslated(8, 0, 0); glu.gluCylinder(quadric, .25, .25, 4., 6, 10); gl.glPopMatrix(); gl.glEnable(GL2.GL_TEXTURE_2D); ventarolaBrick.bind(gl); gl.glBegin(GL2.GL_QUADS); gl.glTexCoord2f(0,0); gl.glVertex3f(5,0,98); //right wall gl.glTexCoord2f(8,0); gl.glVertex3f(5,11,98); gl.glTexCoord2f(8,32); gl.glVertex3f(5,11,50); gl.glTexCoord2f(0,32); gl.glVertex3f(5,0,50); gl.glTexCoord2f(0,0); gl.glVertex3f(30,0,98); //back wall gl.glTexCoord2f(8,0); gl.glVertex3f(30,11,98); gl.glTexCoord2f(8,16); gl.glVertex3f(5,11,98); gl.glTexCoord2f(0,16); gl.glVertex3f(5,0,98); gl.glEnd(); gl.glEnable(GL2.GL_CULL_FACE); gl.glBegin(GL2.GL_QUADS); gl.glTexCoord2f(0,0); gl.glVertex3f(30,0,90); //house wall 1 back gl.glTexCoord2f(0,6); gl.glVertex3f(30,0,98); gl.glTexCoord2f(8,6); gl.glVertex3f(30,11,98); gl.glTexCoord2f(8,0); gl.glVertex3f(30,11,90); gl.glTexCoord2f(0,0); gl.glVertex3f(30,8,86); //house wall 2 back gl.glTexCoord2f(0,4); gl.glVertex3f(30,8,90); gl.glTexCoord2f(2.2f,4); gl.glVertex3f(30,11,90); gl.glTexCoord2f(2.2f,0); gl.glVertex3f(30,11,86); gl.glTexCoord2f(0,0); gl.glVertex3f(30,0,50); //house wall 3 back gl.glTexCoord2f(0,32); gl.glVertex3f(30,0,86); gl.glTexCoord2f(8,32); gl.glVertex3f(30,11,86); gl.glTexCoord2f(8,0); gl.glVertex3f(30,11,50); gl.glTexCoord2f(0,0); gl.glVertex3f(5,10.95f,50); //garage roof gl.glTexCoord2f(0,16); gl.glVertex3f(30,10.95f,50); gl.glTexCoord2f(32,16); gl.glVertex3f(30,10.95f,98); gl.glTexCoord2f(32,0); gl.glVertex3f(5,10.95f,98); gl.glEnd(); ventarolaWallPaper.bind(gl); gl.glBegin(GL2.GL_QUADS); gl.glTexCoord2f(0,8); gl.glVertex3f(30,4,90); //house wall 1 top gl.glTexCoord2f(6,8); gl.glVertex3f(30,11,90); gl.glTexCoord2f(6,0); gl.glVertex3f(30,11,98); gl.glTexCoord2f(0,0); gl.glVertex3f(30,4,98); gl.glTexCoord2f(0,2.2f); gl.glVertex3f(30,8,86); //house wall 2 gl.glTexCoord2f(4,2.2f); gl.glVertex3f(30,11,86); gl.glTexCoord2f(4,0); gl.glVertex3f(30,11,90); gl.glTexCoord2f(0,0); gl.glVertex3f(30,8,90); gl.glTexCoord2f(0,32); gl.glVertex3f(30,4,50); //house wall 3 top gl.glTexCoord2f(8,32); gl.glVertex3f(30,11,50); gl.glTexCoord2f(8,0); gl.glVertex3f(30,11,86); gl.glTexCoord2f(0,0); gl.glVertex3f(30,4,86); gl.glEnd(); ventarolaMarble.bind(gl); gl.glBegin(GL2.GL_QUADS); gl.glTexCoord2f(0,4); gl.glVertex3f(30,1,90); //house wall 1 bottom gl.glTexCoord2f(2,4); gl.glVertex3f(30,4,90); gl.glTexCoord2f(2,0); gl.glVertex3f(30,4,98); gl.glTexCoord2f(0,0); gl.glVertex3f(30,1,98); gl.glTexCoord2f(0,16); gl.glVertex3f(30,1,50); //house wall 3 bottom gl.glTexCoord2f(2,16); gl.glVertex3f(30,4,50); gl.glTexCoord2f(2,0); gl.glVertex3f(30,4,86); gl.glTexCoord2f(0,0); gl.glVertex3f(30,1,86); gl.glEnd(); ventarolaWood.bind(gl); gl.glBegin(GL2.GL_QUADS); gl.glTexCoord2f(0,0); gl.glVertex3f(5,11,50); //garage roof gl.glTexCoord2f(0,32); gl.glVertex3f(5,11,98); gl.glTexCoord2f(8,32); gl.glVertex3f(30,11,98); gl.glTexCoord2f(8,0); gl.glVertex3f(30,11,50); gl.glTexCoord2f(0,0); gl.glVertex3f(14.5f,4,93f); //table gl.glTexCoord2f(0,8); gl.glVertex3f(14.5f,4,97f); gl.glTexCoord2f(4,8); gl.glVertex3f(23.5f,4,97f); gl.glTexCoord2f(4,0); gl.glVertex3f(23.5f, 4, 93f); gl.glEnd(); gl.glDisable(GL2.GL_CULL_FACE); gl.glDisable(GL2.GL_TEXTURE_2D); } public void drawFoundation(GL2 gl, GLU glu) { gl.glEnable(GL2.GL_TEXTURE_2D); ventarolaGrass.bind(gl); gl.glBegin(GL2.GL_QUADS); //ground gl.glTexCoord2f(0, 0); gl.glVertex3f(0, 0, 100); gl.glTexCoord2f(32, 0); gl.glVertex3f(100, 0, 100); gl.glTexCoord2f(32, 32); gl.glVertex3f(100, 0, 0); gl.glTexCoord2f(0, 32); gl.glVertex3f(0, 0, 0); gl.glEnd(); ventarolaWood.bind(gl); gl.glBegin(GL2.GL_QUADS); //1st floor gl.glTexCoord2f(0, 0); gl.glVertex3f(30, 1, 98); gl.glTexCoord2f(32, 0); gl.glVertex3f(97, 1, 98); gl.glTexCoord2f(32, 8); gl.glVertex3f(97, 1, 30); gl.glTexCoord2f(0, 8); gl.glVertex3f(30, 1, 30); gl.glEnd(); gl.glBegin(GL2.GL_QUADS); //stairs to house (top) gl.glTexCoord2f(0, 0); gl.glVertex3f(66, 1, 30); //front gl.glTexCoord2f(2, 0); gl.glVertex3f(66, 0, 25); gl.glTexCoord2f(2, 1); gl.glVertex3f(70, 0, 25); gl.glTexCoord2f(0, 1); gl.glVertex3f(70, 1, 30); gl.glTexCoord2f(0, 0); gl.glVertex3f(25, 0, 90); //garage gl.glTexCoord2f(0, 1); gl.glVertex3f(25, 0, 86); gl.glTexCoord2f(2, 1); gl.glVertex3f(30, 1, 86); gl.glTexCoord2f(2, 0); gl.glVertex3f(30, 1, 90); gl.glEnd(); ventarolaRock.bind(gl); gl.glBegin(GL2.GL_QUADS); //foundation gl.glTexCoord2f(0, 0); gl.glVertex3f(30, 1, 30); gl.glTexCoord2f(32, 0); gl.glVertex3f(97, 1, 30); gl.glTexCoord2f(32, 1); gl.glVertex3f(97, 0, 30); gl.glTexCoord2f(0, 1); gl.glVertex3f(30, 0, 30); gl.glTexCoord2f(0, 0); gl.glVertex3f(97, 0, 98); gl.glTexCoord2f(1, 0); gl.glVertex3f(97, 1, 98); gl.glTexCoord2f(1, 16); gl.glVertex3f(97, 1, 30); gl.glTexCoord2f(0, 16); gl.glVertex3f(97, 0, 30); gl.glTexCoord2f(0, 0); gl.glVertex3f(30, 0, 50); gl.glTexCoord2f(1, 0); gl.glVertex3f(30, 1, 50); gl.glTexCoord2f(1, 16); gl.glVertex3f(30, 1, 30); gl.glTexCoord2f(0, 16); gl.glVertex3f(30, 0, 30); gl.glTexCoord2f(0, 0); gl.glVertex3f(30, 1, 98); gl.glTexCoord2f(32, 0); gl.glVertex3f(97, 1, 98); gl.glTexCoord2f(32, 1); gl.glVertex3f(97, 0, 98); gl.glTexCoord2f(0, 1); gl.glVertex3f(30, 0, 98); gl.glEnd(); gl.glBegin(GL2.GL_TRIANGLES); //stairs to house (sides) gl.glVertex3f(70, 0, 30); gl.glVertex3f(70, 0, 25); gl.glVertex3f(70, 1, 30); gl.glVertex3f(66, 0, 30); gl.glVertex3f(66, 0, 25); gl.glVertex3f(66, 1, 30); gl.glVertex3f(30, 0, 90); gl.glVertex3f(25, 0, 90); gl.glVertex3f(30, 1, 90); gl.glVertex3f(30, 0, 86); gl.glVertex3f(25, 0, 86); gl.glVertex3f(30, 1, 86); gl.glEnd(); gl.glDisable(GL2.GL_TEXTURE_2D); } }
[ "xiangt@bc.edu" ]
xiangt@bc.edu
8a373bd4c5720901c5d3d12daa0613c3d9e9058e
cc836642d88699a329e5dec3f0209093f3046514
/Moneymanagement/src/main/java/com/example/demo/repository/MoneyRepository.java
9ffaf4305410701fe9d97541df60d8279b175a03
[]
no_license
yoshiko78/MoneyManagement
a074d3ccda205492cd656fc05b97f9d13135a861
b8a4838d905ec5ab592960f9f90f7352a52e78f4
refs/heads/master
2023-01-19T13:21:18.730567
2020-12-03T14:04:13
2020-12-03T14:04:13
318,212,822
0
0
null
null
null
null
UTF-8
Java
false
false
354
java
package com.example.demo.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.example.demo.domain.Moneydata; @Repository public interface MoneyRepository extends JpaRepository <Moneydata, Long> { Moneydata findOne(Integer id); void delete(Integer id); }
[ "Maro2@192.168.0.21" ]
Maro2@192.168.0.21
0faaf4c84dbed787c68f9736e2028068cbdae822
c343a0ef45405fb447d6a8735509efe2c1d6febf
/ServerCode-Pucho/main-service/src/main/java/com/pucho/service/NotificationService.java
092b6f414d2091785925aaf7e2d97328461ab18a
[]
no_license
MouleshS/SamplesAndroid
89fcc15efb707e63fcf01adf5b02a33f9a5f39c4
8342cc4a5d596a4ac33db12a3c2aa4ef3aaea83e
refs/heads/master
2020-03-18T21:02:51.889155
2018-05-26T16:50:58
2018-05-26T16:50:58
null
0
0
null
null
null
null
UTF-8
Java
false
false
300
java
package com.pucho.service; import com.pucho.domain.Answer; import com.pucho.domain.Question; /** * Created by dinesh.rathore on 27/09/15. */ public interface NotificationService { public void notificationRequest(Question question); public void notificationRequest(Answer answer); }
[ "raghunandankavi2010@gmail.com" ]
raghunandankavi2010@gmail.com
6baa9d4ed9442957543694c2c84492d2cb96d78c
43b713d9de9ac175485d6618c20381d3473fe6bb
/src/main/java/com/khovaylo/app/Product.java
427b6a9db458fe42d4ea8931ec51d725bf64d3c5
[]
no_license
pavliggs/parse-data-from-url
c4e50eacab290b2a69159acace871f255fb4df34
084f3e550bc618fd5e1860ff60a04efbd1608a61
refs/heads/master
2023-03-19T21:07:58.418159
2021-03-12T15:41:01
2021-03-12T15:41:01
345,653,465
0
0
null
null
null
null
UTF-8
Java
false
false
5,169
java
package com.khovaylo.app; import com.fasterxml.jackson.annotation.JsonFormat; import java.time.ZonedDateTime; /** * Объект, содержащий информацию о товаре * @author Pavel Khovaylo */ public class Product { /** * описание товара */ private final String title; /** * минимальная цена без скидки */ private final Double originalMinPrice; /** * максимальная цена без скидки */ private final Double originalMaxPrice; /** * минимальная цена со скидкой */ private final Double minPrice; /** * максимальная цена со скидкой */ private final Double maxPrice; /** * размер скидки */ private final Double discount; /** * остаток товара */ private final Integer stock; /** * количество заказов от начала проведения акции */ private final Integer ordersFromStartPromotion; /** * общее количество заказов */ private final Integer totalOrders; /** * оценка товара по пятизвездочной системе */ private final Double productAverageStar; /** * количество отзывов о товаре */ private final Integer reviewsNumber; /** * время и дата добавления товара в онлайн-магазин */ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss") private final ZonedDateTime created; /** * время и дата начала акции */ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss") private final ZonedDateTime startPromotion; /** * время и дата окончания акции */ @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss") private final ZonedDateTime endPromotion; public Product(String title, Double originalMinPrice, Double originalMaxPrice, Double minPrice, Double maxPrice, Double discount, Integer stock, Integer ordersFromStartPromotion, Integer totalOrders, Double productAverageStar, Integer reviewsNumber, ZonedDateTime created, ZonedDateTime startPromotion, ZonedDateTime endPromotion) { this.title = title; this.originalMinPrice = originalMinPrice; this.originalMaxPrice = originalMaxPrice; this.minPrice = minPrice; this.maxPrice = maxPrice; this.discount = discount; this.stock = stock; this.ordersFromStartPromotion = ordersFromStartPromotion; this.totalOrders = totalOrders; this.productAverageStar = productAverageStar; this.reviewsNumber = reviewsNumber; this.created = created; this.startPromotion = startPromotion; this.endPromotion = endPromotion; } public String getTitle() { return title; } public Double getOriginalMinPrice() { return originalMinPrice; } public Double getOriginalMaxPrice() { return originalMaxPrice; } public Double getMinPrice() { return minPrice; } public Double getMaxPrice() { return maxPrice; } public Double getDiscount() { return discount; } public Integer getStock() { return stock; } public Integer getOrdersFromStartPromotion() { return ordersFromStartPromotion; } public Integer getTotalOrders() { return totalOrders; } public Double getProductAverageStar() { return productAverageStar; } public Integer getReviewsNumber() { return reviewsNumber; } public ZonedDateTime getCreated() { return created; } public ZonedDateTime getStartPromotion() { return startPromotion; } public ZonedDateTime getEndPromotion() { return endPromotion; } @Override public String toString() { return "Product{" + "title='" + title + '\'' + ", originalMinPrice=" + originalMinPrice + ", originalMaxPrice=" + originalMaxPrice + ", minPrice=" + minPrice + ", maxPrice=" + maxPrice + ", discount=" + discount + ", stock=" + stock + ", ordersFromStartPromotion=" + ordersFromStartPromotion + ", totalOrders=" + totalOrders + ", productAverageStar=" + productAverageStar + ", reviewsNumber=" + reviewsNumber + ", created=" + created + ", startPromotion=" + startPromotion + ", endPromotion=" + endPromotion + '}'; } }
[ "51763058+pavliggs@users.noreply.github.com" ]
51763058+pavliggs@users.noreply.github.com
a3a7a476f16eba628b6e48f91b85bb7acdc6ce2a
c3342441aa5adb4e8dbbda9bb3417f2633ed1216
/src/main/java/com/daoImpl/LoginDaoImpl.java
8c61e62d58b142ce7af33456d4a964876cd14a34
[]
no_license
SandamalIsuru/Hotel-Management-System
407a2a478ba98d2d322a49be2a7b458b811f52a7
b06d8cfd821466afb73b2a0aca9582c149f1cf25
refs/heads/master
2021-04-15T05:53:31.887214
2018-03-24T06:52:57
2018-03-24T06:52:57
126,564,154
0
0
null
null
null
null
UTF-8
Java
false
false
805
java
package com.daoImpl; import java.util.List; import javax.transaction.Transactional; import org.hibernate.Query; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.dao.LoginDao; import com.entities.Login; @Repository @Transactional public class LoginDaoImpl implements LoginDao { @Autowired SessionFactory sessionFactory; public List<Login> getLoginByUsernameAndPassword(Login login) { Query query = sessionFactory.getCurrentSession().createQuery("from Login where username = :username and password = :password"); query.setParameter("username", login.getUsername()); query.setParameter("password", login.getPassword()); List loginList = query.list(); return loginList; } }
[ "isuru.rathnapriya@travisperkins.co.uk" ]
isuru.rathnapriya@travisperkins.co.uk
8dfc469aa10f4efcbebe878b0849ef6a16b62e4f
33afd4bba1fa53f85a4204f09adc637084bc5f72
/baseLib/src/main/java/cn/hzxiaojietan/base/common/utils/TimeUtils.java
d8bcc00ceebdd5fdbf0c2fcddff4b28edf9e544d
[]
no_license
hzxiaojietan/TestBase
afa67bcc9fc8d4fde03207a018a9e744c4882bf0
34fc2d38ae7aa134a69d15c00591a6e84bca2e6e
refs/heads/master
2020-03-14T21:47:42.896217
2018-05-23T01:07:58
2018-05-23T01:07:58
131,796,613
0
0
null
null
null
null
UTF-8
Java
false
false
2,529
java
package cn.hzxiaojietan.base.common.utils; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; /** * Created by xiaojie.tan on 2017/10/26 * 时间帮助类 */ public class TimeUtils { /** * * @return 标准时间格式long * @since V1.0 */ public static long toMillSec(long t) { // 解决部分时间不是毫秒的问题 int cp = 13 - String.valueOf(t).length(); if (cp > 0) { t = (long) (t * Math.pow(10, (cp))); } else { t = (long) (t / Math.pow(10, (-cp))); } return t; } public static String getMMDD(long tms) { Date date = new Date(toMillSec(tms)); SimpleDateFormat sdf = new SimpleDateFormat("MM-dd"); return sdf.format(date); } /** * 字符串转指定格式时间 * @param str * @return */ public static String getMMDDByStr(String str) { return stringToDate(str, "yyyy-MM-dd HH:mm:ss", "MM-dd"); } public static String stringToDate(String dateStr, String dateFormatStr, String formatStr) { DateFormat sdf = new SimpleDateFormat(dateFormatStr); Date date = null; try{ date = sdf.parse(dateStr); } catch (ParseException e){ e.printStackTrace(); } SimpleDateFormat s = new SimpleDateFormat(formatStr); return s.format(date); } /** * 根据当前时间生产文件名 yyyyMMddHHmmss * @return */ public static String getNameByNowTime (){ Date date = new Date(); SimpleDateFormat format = new SimpleDateFormat("yyyyMMddHHmmss", Locale.getDefault()); return format.format(date); } public static String timeFromNow(long timeInMills) { long now = System.currentTimeMillis(); long timeInSecond = (now - timeInMills) / 1000; if (timeInSecond < 0 || timeInSecond < 60) { return "刚刚"; } else if (timeInSecond >= 60 && timeInSecond < 3600) { long timeGapInMinute = timeInSecond / 60; return timeGapInMinute + "分钟前"; } else if (timeInSecond >= 3600 && timeInSecond < (3600 * 24)){ long timeGapInHour = timeInSecond / 3600; return timeGapInHour + "小时前"; } else { long timeGapInDay = timeInSecond / (3600 * 24); return timeGapInDay + "天前"; } } }
[ "jake618@126.com" ]
jake618@126.com
afb02bbc5a14dd8966ea5a48e01297c97bddfa5a
37acf5166285c2fd741757294caecade2b12b859
/java casestudy/src/Companyquestions/simpleinterest.java
9d20764f48d6ae60ec37da74247ef07e428dd63f
[]
no_license
Jinsuannavarghesepgk308/company-interview-questions
e54acfba5324147087381e5deddde11be93c03d6
fad9a26aeee330ffe6d39d252cdbe3c0d0fb5a2d
refs/heads/master
2020-09-11T14:40:50.482488
2019-11-16T13:06:58
2019-11-16T13:06:58
222,099,760
0
0
null
null
null
null
UTF-8
Java
false
false
510
java
package Companyquestions; import java.util.Scanner; public class simpleinterest { public static void main(String[] args) { // TODO Auto-generated method stub Scanner s=new Scanner(System.in); System.out.println("enter the principal"); double princi=s.nextDouble(); System.out.println("enter the rate of interest"); double rate=s.nextDouble(); System.out.println("enter the time period"); double time=s.nextDouble(); double simple=(princi*rate*time)/100; System.out.println(simple); } }
[ "User@FACE-98.connectify" ]
User@FACE-98.connectify
3da9e4d284736e8bbcfabbf5a1b6a76776d9d28a
66c8d211719f7015b18b5c69321359d228f8b3f9
/app/src/main/java/com/amary/app/data/moviecat/adapter/DetailMovieAdapter.java
bf3a09db3d1b21a140327680cc58e9607180448b
[]
no_license
amary21/DBMovie_Widget
f80b42adbf08d4f688b15ff0bd14f8ca03bfdd34
b525cf2e1e070c7435c0fe9f94d21f69ab6137a8
refs/heads/master
2020-06-20T00:08:21.718039
2019-07-15T04:15:43
2019-07-15T04:15:43
196,922,554
0
0
null
null
null
null
UTF-8
Java
false
false
1,934
java
package com.amary.app.data.moviecat.adapter; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.amary.app.data.moviecat.R; import com.amary.app.data.moviecat.model.ImageMovieItem; import com.amary.app.data.moviecat.utils.ImgDownload; import java.util.ArrayList; import butterknife.BindView; import butterknife.ButterKnife; public class DetailMovieAdapter extends RecyclerView.Adapter<DetailMovieAdapter.CategoryViewHolder> { private ArrayList<ImageMovieItem> backdropList; public DetailMovieAdapter(ArrayList<ImageMovieItem> backdropList) { this.backdropList = backdropList; } public void refillImage(ArrayList<ImageMovieItem> backdropList){ this.backdropList = new ArrayList<>(); this.backdropList.addAll(backdropList); notifyDataSetChanged(); } @NonNull @Override public CategoryViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_screenshot, parent,false); return new CategoryViewHolder(view); } @Override public void onBindViewHolder(@NonNull CategoryViewHolder holder, int position) { holder.onBind(backdropList.get(position)); } @Override public int getItemCount() { return backdropList.size(); } class CategoryViewHolder extends RecyclerView.ViewHolder { @BindView(R.id.img_screenshot) ImageView imgScreenshot; CategoryViewHolder(@NonNull View itemView) { super(itemView); ButterKnife.bind(this,itemView); } void onBind(ImageMovieItem imageMovieItem) { ImgDownload.imgPoster(imageMovieItem.getFilePath(),imgScreenshot); } } }
[ "taufik.amary@gmail.com" ]
taufik.amary@gmail.com
52f19e923eeff8c2d35a06841d8b63ceccc29474
fa91450deb625cda070e82d5c31770be5ca1dec6
/Diff-Raw-Data/1/1_16714d595deeb36f0d454ddc637c1bae695df480/ANTLRGrammarGenerator/1_16714d595deeb36f0d454ddc637c1bae695df480_ANTLRGrammarGenerator_t.java
77e3969ddd0c1370af6f29b7f2633db33e1727a4
[]
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
84,156
java
/******************************************************************************* * Copyright (c) 2006-2010 * Software Technology Group, Dresden University of Technology * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Software Technology Group - TU Dresden, Germany * - initial API and implementation ******************************************************************************/ package org.emftext.sdk.codegen.generators; import static org.emftext.sdk.codegen.generators.IClassNameConstants.ANTLR_INPUT_STREAM; import static org.emftext.sdk.codegen.generators.IClassNameConstants.ANTLR_STRING_STREAM; import static org.emftext.sdk.codegen.generators.IClassNameConstants.ARRAY_LIST; import static org.emftext.sdk.codegen.generators.IClassNameConstants.BIT_SET; import static org.emftext.sdk.codegen.generators.IClassNameConstants.COLLECTION; import static org.emftext.sdk.codegen.generators.IClassNameConstants.COLLECTIONS; import static org.emftext.sdk.codegen.generators.IClassNameConstants.COMMON_TOKEN; import static org.emftext.sdk.codegen.generators.IClassNameConstants.COMMON_TOKEN_STREAM; import static org.emftext.sdk.codegen.generators.IClassNameConstants.EARLY_EXIT_EXCEPTION; import static org.emftext.sdk.codegen.generators.IClassNameConstants.E_CLASS; import static org.emftext.sdk.codegen.generators.IClassNameConstants.E_OBJECT; import static org.emftext.sdk.codegen.generators.IClassNameConstants.E_STRUCTURAL_FEATURE; import static org.emftext.sdk.codegen.generators.IClassNameConstants.FAILED_PREDICATE_EXCEPTION; import static org.emftext.sdk.codegen.generators.IClassNameConstants.ILLEGAL_ARGUMENT_EXCEPTION; import static org.emftext.sdk.codegen.generators.IClassNameConstants.INPUT_STREAM; import static org.emftext.sdk.codegen.generators.IClassNameConstants.INTEGER; import static org.emftext.sdk.codegen.generators.IClassNameConstants.INT_STREAM; import static org.emftext.sdk.codegen.generators.IClassNameConstants.IO_EXCEPTION; import static org.emftext.sdk.codegen.generators.IClassNameConstants.LINKED_HASH_SET; import static org.emftext.sdk.codegen.generators.IClassNameConstants.LIST; import static org.emftext.sdk.codegen.generators.IClassNameConstants.MAP; import static org.emftext.sdk.codegen.generators.IClassNameConstants.MATH; import static org.emftext.sdk.codegen.generators.IClassNameConstants.MISMATCHED_NOT_SET_EXCEPTION; import static org.emftext.sdk.codegen.generators.IClassNameConstants.MISMATCHED_RANGE_EXCEPTION; import static org.emftext.sdk.codegen.generators.IClassNameConstants.MISMATCHED_SET_EXCEPTION; import static org.emftext.sdk.codegen.generators.IClassNameConstants.MISMATCHED_TOKEN_EXCEPTION; import static org.emftext.sdk.codegen.generators.IClassNameConstants.MISMATCHED_TREE_NODE_EXCEPTION; import static org.emftext.sdk.codegen.generators.IClassNameConstants.NO_VIABLE_ALT_EXCEPTION; import static org.emftext.sdk.codegen.generators.IClassNameConstants.OBJECT; import static org.emftext.sdk.codegen.generators.IClassNameConstants.RECOGNITION_EXCEPTION; import static org.emftext.sdk.codegen.generators.IClassNameConstants.SET; import static org.emftext.sdk.codegen.generators.IClassNameConstants.STRING; import static org.emftext.sdk.codegen.generators.IClassNameConstants.TOKEN; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.LinkedList; import java.util.List; import java.util.ListIterator; import java.util.Map; import java.util.Set; import org.eclipse.emf.codegen.ecore.genmodel.GenClass; import org.eclipse.emf.codegen.ecore.genmodel.GenFeature; import org.eclipse.emf.common.util.BasicEList; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.EStructuralFeature; import org.eclipse.emf.ecore.util.EcoreUtil.Copier; import org.emftext.sdk.LeftRecursionDetector; import org.emftext.sdk.codegen.EArtifact; import org.emftext.sdk.codegen.GenerationContext; import org.emftext.sdk.codegen.GenerationProblem; import org.emftext.sdk.codegen.GeneratorUtil; import org.emftext.sdk.codegen.IGenerator; import org.emftext.sdk.codegen.OptionManager; import org.emftext.sdk.codegen.GenerationProblem.Severity; import org.emftext.sdk.codegen.composites.ANTLRGrammarComposite; import org.emftext.sdk.codegen.composites.StringComponent; import org.emftext.sdk.codegen.composites.StringComposite; import org.emftext.sdk.codegen.generators.code_completion.helpers.Expectation; import org.emftext.sdk.codegen.generators.code_completion.helpers.ExpectationComputer; import org.emftext.sdk.codegen.util.ConcreteSyntaxUtil; import org.emftext.sdk.codegen.util.GenClassUtil; import org.emftext.sdk.concretesyntax.Annotation; import org.emftext.sdk.concretesyntax.AnnotationType; import org.emftext.sdk.concretesyntax.Choice; import org.emftext.sdk.concretesyntax.CompleteTokenDefinition; import org.emftext.sdk.concretesyntax.CompoundDefinition; import org.emftext.sdk.concretesyntax.ConcreteSyntax; import org.emftext.sdk.concretesyntax.ConcretesyntaxPackage; import org.emftext.sdk.concretesyntax.Containment; import org.emftext.sdk.concretesyntax.CsString; import org.emftext.sdk.concretesyntax.Definition; import org.emftext.sdk.concretesyntax.LineBreak; import org.emftext.sdk.concretesyntax.OperatorAnnotationProperty; import org.emftext.sdk.concretesyntax.OptionTypes; import org.emftext.sdk.concretesyntax.Placeholder; import org.emftext.sdk.concretesyntax.Rule; import org.emftext.sdk.concretesyntax.Sequence; import org.emftext.sdk.concretesyntax.Terminal; import org.emftext.sdk.concretesyntax.WhiteSpaces; import org.emftext.sdk.finders.GenClassFinder; import org.emftext.sdk.util.EObjectUtil; import org.emftext.sdk.util.StringUtil; /** * The text parser generator maps from one or more concrete syntaxes (*.cs) and * one or more Ecore generator models to an ANTLR parser specification. If the * derived specification does not contain syntactical conflicts which could * break the ANTLR generation algorithm or the ANTLR parsing algorithm (e.g. * ambiguities in the configuration or in token definitions which are not * checked by this generator) it can be used to generate a text parser which * allows to create model instances from plain text files. * * To enable code completion the grammar is augmented with addition code. For * example, for each terminal a field is created and all terminals are connected * to their follow set. During code completion the parser runs in a special mode * (rememberExpectations=true). To derive the set of elements that can potentially * occur after the cursor, the last follow set that was added before the last * complete element is needing. Whenever an element (EObject) is complete during * parsing, the current token index (getTokenStream().index()) and the last follow * set is stored. To compute the completion proposals, this preliminary follow set * must be reduced using the token at the stored index. The remaining subset is * then queried for its follows, where the same procedure is applied again * (reduction using the next token). this is performed until the cursor position * (end of the document) is reached. * * @author Sven Karol (Sven.Karol@tu-dresden.de) */ public class ANTLRGrammarGenerator extends BaseGenerator { /** * The name of the EOF token which can be printed to force end of file after * a parse from the root. */ public static final String EOF_TOKEN_NAME = "EOF"; private static final GenClassUtil genClassUtil = new GenClassUtil(); private ConcreteSyntax concreteSyntax; // some fully qualified names of classes that are repeatedly used private String tokenResolverFactoryClassName; private String dummyEObjectClassName; private String tokenResolveResultClassName; private String contextDependentURIFragmentFactoryClassName; private String expectedCsStringClassName; private String expectedStructuralFeatureClassName; private String iTextResourceClassName; private String iCommandClassName; private String iParseResultClassName; private String expectedTerminalClassName; private String iExpectedElementClassName; private String parseResultClassName; private String pairClassName; /** * A map that projects the fully qualified name of generator classes to the * set of fully qualified names of all their super classes. */ private Map<String, Collection<String>> genClassNames2superClassNames; private Collection<GenClass> allGenClasses; private Set<String> keywords; private GenClassFinder genClassFinder = new GenClassFinder(); private GeneratorUtil generatorUtil = new GeneratorUtil(); private ConcreteSyntaxUtil csUtil = new ConcreteSyntaxUtil(); private boolean forceEOFToken; /** * A unique ID that is assigned to each follow set while generating * the grammar. This ID is reset to zero when the grammar generation * starts and incremented by one after each follow set. */ private int followSetID; private ExpectationComputer computer = new ExpectationComputer(); /** * A map that contains the terminal elements of the syntax specification * (keywords and placeholders) to the name of the field that represents * them. */ private Map<EObject, String> idMap = new LinkedHashMap<EObject, String>(); /** * A counter that is used to indicate the next free id in 'idMap'. */ private int idCounter = 0; private int featureCounter = 0; private Map<GenFeature, String> eFeatureToConstantNameMap = new LinkedHashMap<GenFeature, String>(); /** * A map that contains names of fields representing terminals and their * follow set. This map is used to create the code that links terminals * and the potential next elements (i.e., their follow set). */ private Map<String, Set<Expectation>> followSetMap = new LinkedHashMap<String, Set<Expectation>>(); public ANTLRGrammarGenerator() { super(); } private ANTLRGrammarGenerator(GenerationContext context) { super(context, EArtifact.ANTLR_GRAMMAR); concreteSyntax = context.getConcreteSyntax(); // initialize class names tokenResolverFactoryClassName = context.getQualifiedClassName(EArtifact.TOKEN_RESOLVER_FACTORY); dummyEObjectClassName = context.getQualifiedClassName(EArtifact.DUMMY_E_OBJECT); tokenResolveResultClassName = context.getQualifiedClassName(EArtifact.TOKEN_RESOLVE_RESULT); contextDependentURIFragmentFactoryClassName = context.getQualifiedClassName(EArtifact.CONTEXT_DEPENDENT_URI_FRAGMENT_FACTORY); expectedCsStringClassName = context.getQualifiedClassName(EArtifact.EXPECTED_CS_STRING); expectedStructuralFeatureClassName = context.getQualifiedClassName(EArtifact.EXPECTED_STRUCTURAL_FEATURE); iTextResourceClassName = context.getQualifiedClassName(EArtifact.I_TEXT_RESOURCE); iCommandClassName = context.getQualifiedClassName(EArtifact.I_COMMAND); iParseResultClassName = context.getQualifiedClassName(EArtifact.I_PARSE_RESULT); expectedTerminalClassName = context.getQualifiedClassName(EArtifact.EXPECTED_TERMINAL); iExpectedElementClassName = context.getQualifiedClassName(EArtifact.I_EXPECTED_ELEMENT); parseResultClassName = getContext().getQualifiedClassName(EArtifact.PARSE_RESULT); pairClassName = getContext().getQualifiedClassName(EArtifact.PAIR); } private void initOptions() { forceEOFToken = OptionManager.INSTANCE.getBooleanOptionValue( concreteSyntax, OptionTypes.FORCE_EOF); } private void initCaches() { allGenClasses = genClassFinder.findAllGenClasses(concreteSyntax, true, true); genClassNames2superClassNames = genClassFinder.findAllSuperclasses(allGenClasses); keywords = new LinkedHashSet<String>(); List<Rule> allRules = concreteSyntax.getAllRules(); for (Rule rule : allRules) { Collection<CsString> keywordsInRule = EObjectUtil.getObjectsByType(rule.eAllContents(), ConcretesyntaxPackage.eINSTANCE.getCsString()); for (CsString nextKeyword : keywordsInRule) { keywords.add(nextKeyword.getValue()); } } } public boolean generate(PrintWriter writer) { followSetID = 0; initOptions(); initCaches(); String csName = getResourceClassName(); String lexerName = getLexerName(csName); String parserName = getParserName(csName); boolean backtracking = OptionManager.INSTANCE.getBooleanOptionValue( concreteSyntax, OptionTypes.ANTLR_BACKTRACKING); boolean memoize = OptionManager.INSTANCE.getBooleanOptionValue( concreteSyntax, OptionTypes.ANTLR_MEMOIZE); StringComposite sc = new ANTLRGrammarComposite(); sc.add("grammar " + csName + ";"); sc.addLineBreak(); sc.add("options {"); sc.add("superClass = " + getContext().getClassName(EArtifact.ANTLR_PARSER_BASE) + ";"); sc.add("backtrack = " + backtracking + ";"); sc.add("memoize = " + memoize + ";"); sc.add("}"); sc.addLineBreak(); // the lexer: package definition and error handling sc.add("@lexer::header {"); sc.add("package " + getResourcePackageName() + ";"); sc.add("}"); sc.addLineBreak(); sc.add("@lexer::members {"); sc.add("public " + LIST + "<" + RECOGNITION_EXCEPTION + "> lexerExceptions = new " + ARRAY_LIST + "<" + RECOGNITION_EXCEPTION + ">();"); sc.add("public " + LIST + "<" + INTEGER + "> lexerExceptionsPosition = new " + ARRAY_LIST + "<" + INTEGER + ">();"); sc.addLineBreak(); sc.add("public void reportError(" + RECOGNITION_EXCEPTION + " e) {"); sc.add("lexerExceptions.add(e);"); sc.add("lexerExceptionsPosition.add(((" + ANTLR_STRING_STREAM + ") input).index());"); sc.add("}"); sc.add("}"); // the parser: package definition and entry (doParse) method sc.add("@header{"); sc.add("package " + getResourcePackageName() + ";"); sc.add("}"); sc.addLineBreak(); StringComposite grammarCore = new ANTLRGrammarComposite(); addRules(grammarCore); addTokenDefinitions(grammarCore); sc.add("@members{"); addFields(sc); addMethods(lexerName, parserName, sc); addTerminalConstants(sc); sc.add("}"); sc.addLineBreak(); sc.add(grammarCore.toString()); writer.print(sc.toString()); return getCollectedErrors().isEmpty(); } private void addRules(StringComposite sc) { printStartRule(sc); EList<GenClass> eClassesWithSyntax = new BasicEList<GenClass>(); Map<GenClass, Collection<Terminal>> eClassesReferenced = new LinkedHashMap<GenClass, Collection<Terminal>>(); printGrammarRules(sc, eClassesWithSyntax, eClassesReferenced); printImplicitChoiceRules(sc, eClassesWithSyntax, eClassesReferenced); } private void addMethods(String lexerName, String parserName, StringComposite sc) { generatorUtil.addAddErrorToResourceMethod(sc, getClassNameHelper()); addAddExpectedElementMethod(sc); generatorUtil.addAddMapEntryMethod(sc, dummyEObjectClassName, getClassNameHelper()); generatorUtil.addAddObjectToListMethod(sc); addApplyMethod(sc); addCollectHiddenTokensMethod(lexerName, sc); addCopyLocalizationInfosMethod1(sc); addCopyLocalizationInfosMethod2(sc); addCreateInstanceMethod(lexerName, parserName, sc); addDefaultConstructor(parserName, sc); addDoParseMethod(lexerName, sc); generatorUtil.addGetFreshTokenResolveResultMethod(sc, tokenResolveResultClassName); addGetMismatchedTokenRecoveryTriesMethod(sc); addGetMissingSymbolMethod(sc); addGetOptionsMethod(sc); getContext().addGetMetaInformationMethod(sc); addGetParseToIndexTypeObjectMethod(sc); generatorUtil.addGetReferenceResolverSwitchMethod(getContext(), sc); addGetTypeObjectMethod(sc); addParseMethod(sc); addParseToExpectedElementsMethod(sc); addSetPositionMethod(sc); addRecoverFromMismatchedTokenMethod(sc); generatorUtil.addRegisterContextDependentProxyMethod(sc, contextDependentURIFragmentFactoryClassName, true, getClassNameHelper()); addReportErrorMethod(sc); addReportLexicalErrorsMethod(sc); addSetOptionsMethod(sc); addTerminateMethod(sc); addCompletedElementMethod(sc); } private void addGetMissingSymbolMethod(StringComposite sc) { sc.add("public " + OBJECT + " getMissingSymbol(" + INT_STREAM + " arg0, " + RECOGNITION_EXCEPTION + " arg1, int arg2, " + BIT_SET + " arg3) {"); sc.add("mismatchedTokenRecoveryTries++;"); sc.add("return super.getMissingSymbol(arg0, arg1, arg2, arg3);"); sc.add("}"); sc.addLineBreak(); } private void addGetMismatchedTokenRecoveryTriesMethod(StringComposite sc) { sc.add("public int getMismatchedTokenRecoveryTries() {"); sc.add("return mismatchedTokenRecoveryTries;"); sc.add("}"); sc.addLineBreak(); } private void addReportLexicalErrorsMethod(StringComposite sc) { sc.add("// Translates errors thrown by the lexer into human readable messages."); sc.add("public void reportLexicalError(final " + RECOGNITION_EXCEPTION + " e) {"); sc.add(STRING + " message = \"\";"); sc.add("if (e instanceof " + MISMATCHED_TOKEN_EXCEPTION + ") {"); sc.add(MISMATCHED_TOKEN_EXCEPTION + " mte = (" + MISMATCHED_TOKEN_EXCEPTION + ") e;"); sc.add("message = \"Syntax error on token \\\"\" + ((char) e.c) + \"\\\", \\\"\" + (char) mte.expecting + \"\\\" expected\";"); sc.add("} else if (e instanceof " + NO_VIABLE_ALT_EXCEPTION + ") {"); sc.add("message = \"Syntax error on token \\\"\" + ((char) e.c) + \"\\\", delete this token\";"); sc.add("} else if (e instanceof " + EARLY_EXIT_EXCEPTION + ") {"); sc.add(EARLY_EXIT_EXCEPTION + " eee = (" + EARLY_EXIT_EXCEPTION + ") e;"); sc.add("message =\"required (...)+ loop (decision=\" + eee.decisionNumber + \") did not match anything; on line \" + e.line + \":\" + e.charPositionInLine + \" char=\" + ((char) e.c) + \"'\";"); sc.add("} else if (e instanceof " + MISMATCHED_SET_EXCEPTION + ") {"); sc.add(MISMATCHED_SET_EXCEPTION + " mse = (" + MISMATCHED_SET_EXCEPTION + ") e;"); sc.add("message =\"mismatched char: '\" + ((char) e.c) + \"' on line \" + e.line + \":\" + e.charPositionInLine + \"; expecting set \" + mse.expecting;"); sc.add("} else if (e instanceof " + MISMATCHED_NOT_SET_EXCEPTION + ") {"); sc.add(MISMATCHED_NOT_SET_EXCEPTION + " mse = (" + MISMATCHED_NOT_SET_EXCEPTION + ") e;"); sc.add("message =\"mismatched char: '\" + ((char) e.c) + \"' on line \" + e.line + \":\" + e.charPositionInLine + \"; expecting set \" + mse.expecting;"); sc.add("} else if (e instanceof " + MISMATCHED_RANGE_EXCEPTION + ") {"); sc.add(MISMATCHED_RANGE_EXCEPTION + " mre = (" + MISMATCHED_RANGE_EXCEPTION + ") e;"); sc.add("message =\"mismatched char: '\" + ((char) e.c) + \"' on line \" + e.line + \":\" + e.charPositionInLine + \"; expecting set '\" + (char) mre.a + \"'..'\" + (char) mre.b + \"'\";"); sc.add("} else if (e instanceof " + FAILED_PREDICATE_EXCEPTION + ") {"); sc.add(FAILED_PREDICATE_EXCEPTION + " fpe = (" + FAILED_PREDICATE_EXCEPTION + ") e;"); sc.add("message =\"rule \" + fpe.ruleName + \" failed predicate: {\" + fpe.predicateText + \"}?\";"); sc.add("}"); sc.add("addErrorToResource(message, e.index, e.line, lexerExceptionsPosition.get(lexerExceptions.indexOf(e)), lexerExceptionsPosition.get(lexerExceptions.indexOf(e)));"); sc.add("}"); sc.addLineBreak(); } private void addReportErrorMethod(StringComposite sc) { sc.add("// Translates errors thrown by the parser into human readable messages."); sc.add("public void reportError(final " + RECOGNITION_EXCEPTION + " e) {"); sc.add(STRING + " message = e.getMessage();"); sc.add("if (e instanceof " + MISMATCHED_TOKEN_EXCEPTION + ") {"); sc.add(MISMATCHED_TOKEN_EXCEPTION + " mte = (" + MISMATCHED_TOKEN_EXCEPTION + ") e;"); sc.add(STRING + " tokenName = \"<unknown>\";"); sc.add("if (mte.expecting == Token.EOF) {"); sc.add("tokenName = \"EOF\";"); sc.add("} else {"); sc.add("tokenName = getTokenNames()[mte.expecting];"); sc.add("tokenName = " + getClassNameHelper().getSTRING_UTIL() + ".formatTokenName(tokenName);"); sc.add("}"); sc.add("message = \"Syntax error on token \\\"\" + e.token.getText() + \"\\\", \\\"\" + tokenName + \"\\\" expected\";"); sc.add("} else if (e instanceof " + MISMATCHED_TREE_NODE_EXCEPTION + ") {"); sc.add(MISMATCHED_TREE_NODE_EXCEPTION + " mtne = (" + MISMATCHED_TREE_NODE_EXCEPTION + ") e;"); sc.add(STRING + " tokenName = \"<unknown>\";"); sc.add("if (mtne.expecting == Token.EOF) {"); sc.add("tokenName = \"EOF\";"); sc.add("} else {"); sc.add("tokenName = getTokenNames()[mtne.expecting];"); sc.add("}"); sc.add("message = \"mismatched tree node: \"+\"xxx\" +\"; expecting \" + tokenName;"); sc.add("} else if (e instanceof " + NO_VIABLE_ALT_EXCEPTION + ") {"); sc.add("message = \"Syntax error on token \\\"\" + e.token.getText() + \"\\\", check following tokens\";"); sc.add("} else if (e instanceof " + EARLY_EXIT_EXCEPTION + ") {"); sc.add("message = \"Syntax error on token \\\"\" + e.token.getText() + \"\\\", delete this token\";"); sc.add("} else if (e instanceof " + MISMATCHED_SET_EXCEPTION + ") {"); sc.add(MISMATCHED_SET_EXCEPTION + " mse = (" + MISMATCHED_SET_EXCEPTION + ") e;"); sc.add("message = \"mismatched token: \" + e.token + \"; expecting set \" + mse.expecting;"); sc.add("} else if (e instanceof " + MISMATCHED_NOT_SET_EXCEPTION + ") {"); sc.add(MISMATCHED_NOT_SET_EXCEPTION + " mse = (" + MISMATCHED_NOT_SET_EXCEPTION + ") e;"); sc.add("message = \"mismatched token: \" + e.token + \"; expecting set \" + mse.expecting;"); sc.add("} else if (e instanceof " + FAILED_PREDICATE_EXCEPTION + ") {"); sc.add(FAILED_PREDICATE_EXCEPTION + " fpe = (" + FAILED_PREDICATE_EXCEPTION + ") e;"); sc.add("message = \"rule \" + fpe.ruleName + \" failed predicate: {\" + fpe.predicateText+\"}?\";"); sc.add("}"); sc.add("// the resource may be null if the parse is used for code completion"); sc.add("final " + STRING + " finalMessage = message;"); sc.add("if (e.token instanceof " + COMMON_TOKEN + ") {"); sc.add("final " + COMMON_TOKEN + " ct = (" + COMMON_TOKEN + ") e.token;"); sc.add("addErrorToResource(finalMessage, ct.getCharPositionInLine(), ct.getLine(), ct.getStartIndex(), ct.getStopIndex());"); sc.add("} else {"); // TODO what the heck is this 5? sc.add("addErrorToResource(finalMessage, e.token.getCharPositionInLine(), e.token.getLine(), 1, 5);"); sc.add("}"); sc.add("}"); sc.addLineBreak(); } private void addTerminateMethod(StringComposite sc) { sc.add("public void terminate() {"); sc.add("terminateParsing = true;"); sc.add("}"); sc.addLineBreak(); } private void addParseMethod(StringComposite sc) { sc.add("// Implementation that calls {@link #doParse()} and handles the thrown"); sc.add("// RecognitionExceptions."); sc.add("public " + getClassNameHelper().getI_PARSE_RESULT() + " parse() {"); sc.add("terminateParsing = false;"); sc.add("postParseCommands = new " + ARRAY_LIST + "<" + getClassNameHelper().getI_COMMAND() + "<" + getClassNameHelper().getI_TEXT_RESOURCE() + ">>();"); sc.add(parseResultClassName + " parseResult = new " + parseResultClassName + "();"); sc.add("try {"); sc.add(E_OBJECT + " result = doParse();"); sc.add("if (lexerExceptions.isEmpty()) {"); sc.add("parseResult.setRoot(result);"); sc.add("}"); sc.add("} catch (" + RECOGNITION_EXCEPTION + " re) {"); sc.add("reportError(re);"); sc.add("} catch (" + ILLEGAL_ARGUMENT_EXCEPTION + " iae) {"); sc.add("if (\"The 'no null' constraint is violated\".equals(iae.getMessage())) {"); sc.add("//? can be caused if a null is set on EMF models where not allowed;"); sc.add("//? this will just happen if other errors occurred before"); sc.add("} else {"); sc.add("iae.printStackTrace();"); sc.add("}"); sc.add("}"); sc.add("for (" + RECOGNITION_EXCEPTION + " re : lexerExceptions) {"); sc.add("reportLexicalError(re);"); sc.add("}"); sc.add("parseResult.getPostParseCommands().addAll(postParseCommands);"); sc.add("return parseResult;"); sc.add("}"); sc.addLineBreak(); } private void addApplyMethod(StringComposite sc) { sc.add("protected " + E_OBJECT + " apply(" + E_OBJECT + " target, " + LIST + "<" + E_OBJECT + "> dummyEObjects) {"); sc.add(E_OBJECT + " currentTarget = target;"); sc.add("for (" + E_OBJECT + " object : dummyEObjects) {"); sc.add("assert(object instanceof " + dummyEObjectClassName + ");"); sc.add(dummyEObjectClassName + " dummy = (" + dummyEObjectClassName + ") object;"); sc.add(E_OBJECT + " newEObject = dummy.applyTo(currentTarget);"); sc.add("currentTarget = newEObject;"); sc.add("}"); sc.add("return currentTarget;"); sc.add("}"); sc.addLineBreak(); } private void addCompletedElementMethod(StringComposite sc) { sc.add("protected void completedElement(Object element) {"); sc.add("if (element instanceof " + E_OBJECT + ") {"); sc.add("this.tokenIndexOfLastCompleteElement = getTokenStream().index();"); sc.add("this.expectedElementsIndexOfLastCompleteElement = expectedElements.size() - 1;"); // TODO mseifert: remove this debug output //sc.add("System.out.println(\"COMPLETED : \" + element + \" TOKEN INDEX = \" + tokenIndexOfLastCompleteElement + \" EXP INDEX = \" + expectedElementsIndexOfLastCompleteElement);"); sc.add("}"); sc.add("}"); sc.addLineBreak(); } private void addGetOptionsMethod(StringComposite sc) { sc.add("protected " + MAP + "<?,?> getOptions() {"); sc.add("return options;"); sc.add("}"); sc.addLineBreak(); } private void addSetOptionsMethod(StringComposite sc) { sc.add("public void setOptions(" + MAP + "<?,?> options) {"); sc.add("this.options = options;"); sc.add("}"); sc.addLineBreak(); } private void addDefaultConstructor(String parserName, StringComposite sc) { sc.add("// This default constructor is only used to call createInstance() on it"); sc.add("public " + parserName + "() {"); sc.add("super(null);"); sc.add("}"); sc.addLineBreak(); } private void addGetTypeObjectMethod(StringComposite sc) { sc.add("protected " + OBJECT + " getTypeObject() {"); sc.add(OBJECT + " typeObject = getParseToIndexTypeObject();"); sc.add("if (typeObject != null) {"); sc.add("return typeObject;"); sc.add("}"); sc.add(MAP + "<?,?> options = getOptions();"); sc.add("if (options != null) {"); sc.add("typeObject = options.get(" + getClassNameHelper().getI_OPTIONS() + ".RESOURCE_CONTENT_TYPE);"); sc.add("}"); sc.add("return typeObject;"); sc.add("}"); sc.addLineBreak(); } private void addDoParseMethod(String lexerName, StringComposite sc) { sc.add("protected " + E_OBJECT + " doParse() throws " + RECOGNITION_EXCEPTION + " {"); sc.add("this.lastPosition = 0;"); sc.add("// required because the lexer class can not be subclassed"); sc.add("((" + lexerName + ") getTokenStream().getTokenSource()).lexerExceptions = lexerExceptions;"); sc.add("((" + lexerName + ") getTokenStream().getTokenSource()).lexerExceptionsPosition = lexerExceptionsPosition;"); sc.add(OBJECT + " typeObject = getTypeObject();"); sc.add("if (typeObject == null) {"); sc.add("return start();"); sc.add("} else if (typeObject instanceof " + E_CLASS + ") {"); sc.add(E_CLASS + " type = (" + E_CLASS + ") typeObject;"); for (Rule rule : concreteSyntax.getAllRules()) { // operator rules cannot be used as start symbol // TODO mseifert: check whether this is checked by a post processor if (rule.getOperatorAnnotation() == null) { String qualifiedClassName = genClassFinder.getQualifiedInterfaceName(rule.getMetaclass()); String ruleName = getRuleName(rule.getMetaclass()); sc.add("if (type.getInstanceClass() == " + qualifiedClassName + ".class) {"); sc.add("return " + ruleName + "();"); sc.add("}"); } } sc.add("}"); sc.add("throw new " + getClassNameHelper().getUNEXPECTED_CONTENT_TYPE_EXCEPTION() + "(typeObject);"); sc.add("}"); sc.addLineBreak(); } private void addCollectHiddenTokensMethod(String lexerName, StringComposite sc) { List<CompleteTokenDefinition> collectTokenDefinitions = collectCollectTokenDefinitions(concreteSyntax.getActiveTokens()); sc.add("protected void collectHiddenTokens(" + E_OBJECT + " element) {"); if (!collectTokenDefinitions.isEmpty()) { // sc.add("System.out.println(\"collectHiddenTokens(\" + element.getClass().getSimpleName() + \", \" + o + \") \");"); sc.add("int currentPos = getTokenStream().index();"); sc.add("if (currentPos == 0) {"); sc.add("return;"); sc.add("}"); sc.add("int endPos = currentPos - 1;"); sc.add("for (; endPos >= this.lastPosition; endPos--) {"); sc.add(TOKEN + " token = getTokenStream().get(endPos);"); sc.add("int _channel = token.getChannel();"); sc.add("if (_channel != 99) {"); sc.add("break;"); sc.add("}"); sc.add("}"); sc.add("for (int pos = this.lastPosition; pos < endPos; pos++) {"); sc.add(TOKEN + " token = getTokenStream().get(pos);"); sc.add("int _channel = token.getChannel();"); sc.add("if (_channel == 99) {"); // sc.add("System.out.println(\"\t\" + token);"); for (CompleteTokenDefinition tokenDefinition : collectTokenDefinitions) { String attributeName = tokenDefinition.getAttributeName(); // figure out which feature the token belongs to sc.add("if (token.getType() == " + lexerName + "." + tokenDefinition.getName() + ") {"); // Unfortunately, we must use the feature name instead of the // constant here, // because collect-in tokens can be stored in arbitrary classes. // Therefore, // we do not know the EClass of the element at generation time. sc.add(E_STRUCTURAL_FEATURE + " feature = element.eClass().getEStructuralFeature(\"" + attributeName + "\");"); sc.add("if (feature != null) {"); sc.add("// call token resolver"); String identifierPrefix = "resolved"; String resolverIdentifier = identifierPrefix + "Resolver"; String resolvedObjectIdentifier = identifierPrefix + "Object"; String resolveResultIdentifier = identifierPrefix + "Result"; sc .add(getClassNameHelper().getI_TOKEN_RESOLVER() + " " + resolverIdentifier + " = tokenResolverFactory.createCollectInTokenResolver(\"" + attributeName + "\");"); sc.add(resolverIdentifier + ".setOptions(getOptions());"); sc.add(getClassNameHelper().getI_TOKEN_RESOLVE_RESULT() + " " + resolveResultIdentifier + " = getFreshTokenResolveResult();"); sc.add(resolverIdentifier + ".resolve(token.getText(), feature, " + resolveResultIdentifier + ");"); sc.add(OBJECT + " " + resolvedObjectIdentifier + " = " + resolveResultIdentifier + ".getResolvedToken();"); sc.add("if (" + resolvedObjectIdentifier + " == null) {"); sc.add("addErrorToResource(" + resolveResultIdentifier + ".getErrorMessage(), ((" + COMMON_TOKEN + ") token).getLine(), ((" + COMMON_TOKEN + ") token).getCharPositionInLine(), ((" + COMMON_TOKEN + ") token).getStartIndex(), ((" + COMMON_TOKEN + ") token).getStopIndex());\n"); sc.add("}"); sc.add("if (java.lang.String.class.isInstance(" + resolvedObjectIdentifier + ")) {"); sc.add("((" + LIST + ") element.eGet(feature)).add((java.lang.String) " + resolvedObjectIdentifier + ");"); sc.add("} else {"); sc .add("System.out.println(\"WARNING: Attribute " + attributeName + " for token \" + token + \" has wrong type in element \" + element + \" (expected java.lang.String).\");"); sc.add("}"); sc.add("} else {"); sc .add("System.out.println(\"WARNING: Attribute " + attributeName + " for token \" + token + \" was not found in element \" + element + \".\");"); sc.add("}"); sc.add("}"); } sc.add("}"); sc.add("}"); sc.add("this.lastPosition = (endPos < 0 ? 0 : endPos);"); } sc.add("}"); sc.addLineBreak(); } private void addCreateInstanceMethod(String lexerName, String parserName, StringComposite sc) { sc.add("public " + getClassNameHelper().getI_TEXT_PARSER() + " createInstance(" + INPUT_STREAM + " actualInputStream, " + STRING + " encoding) {"); sc.add("try {"); sc.add("if (encoding == null) {"); sc.add("return new " + parserName + "(new " + COMMON_TOKEN_STREAM + "(new " + lexerName + "(new " + ANTLR_INPUT_STREAM + "(actualInputStream))));"); sc.add("} else {"); sc.add("return new " + parserName + "(new " + COMMON_TOKEN_STREAM + "(new " + lexerName + "(new " + ANTLR_INPUT_STREAM + "(actualInputStream, encoding))));"); sc.add("}"); sc.add("} catch (" + IO_EXCEPTION + " e) {"); sc.add(getClassNameHelper().getPLUGIN_ACTIVATOR() + ".logError(\"Error while creating parser.\", e);"); sc.add("return null;"); sc.add("}"); sc.add("}"); sc.addLineBreak(); } private void addFields(StringComposite sc) { sc.add("private " + getClassNameHelper().getI_TOKEN_RESOLVER_FACTORY() + " tokenResolverFactory = new " + tokenResolverFactoryClassName + "();"); sc.add("@SuppressWarnings(\"unused\")"); sc.addLineBreak(); sc.add("private int lastPosition;"); sc.add("private " + tokenResolveResultClassName + " tokenResolveResult = new " + tokenResolveResultClassName + "();"); sc.add("private boolean rememberExpectedElements = false;"); sc.add("private " + OBJECT + " parseToIndexTypeObject;"); sc.add("private int lastTokenIndex = 0;"); sc.add("private " + LIST + "<" + expectedTerminalClassName + "> expectedElements = new " + ARRAY_LIST + "<" + expectedTerminalClassName + ">();"); sc.add("private int mismatchedTokenRecoveryTries = 0;"); sc.add("private " + MAP + "<?, ?> options;"); sc.add("//helper lists to allow a lexer to pass errors to its parser"); sc.add("protected " + LIST + "<" + RECOGNITION_EXCEPTION + "> lexerExceptions = " + COLLECTIONS + ".synchronizedList(new " + ARRAY_LIST + "<" + RECOGNITION_EXCEPTION + ">());"); sc.add("protected " + LIST + "<" + INTEGER + "> lexerExceptionsPosition = " + COLLECTIONS + ".synchronizedList(new " + ARRAY_LIST + "<" + INTEGER + ">());"); sc.add("private int stopIncludingHiddenTokens;"); sc.add("private int stopExcludingHiddenTokens;"); sc.add("private " + COLLECTION + "<" + getClassNameHelper().getI_COMMAND() + "<" + getClassNameHelper().getI_TEXT_RESOURCE() + ">> postParseCommands;"); sc.add("private boolean terminateParsing;"); sc.add("private int tokenIndexOfLastCompleteElement;"); sc.add("private int expectedElementsIndexOfLastCompleteElement;"); sc.addLineBreak(); } private void addParseToExpectedElementsMethod(StringComposite sc) { sc.add("public " + LIST + "<" + expectedTerminalClassName + "> parseToExpectedElements(" + E_CLASS + " type, " + iTextResourceClassName + " dummyResource) {"); sc.add("rememberExpectedElements = true;"); sc.add("parseToIndexTypeObject = type;"); sc.add("final " + COMMON_TOKEN_STREAM + " tokenStream = (" + COMMON_TOKEN_STREAM + ") getTokenStream();"); sc.add(iParseResultClassName + " result = parse();"); sc.add("if (result != null) {"); sc.add(E_OBJECT + " root = result.getRoot();"); sc.add("if (root != null) {"); sc.add("dummyResource.getContents().add(root);"); sc.add("}"); sc.add("for (" + iCommandClassName + "<" + iTextResourceClassName + "> command : result.getPostParseCommands()) {"); sc.add("command.execute(dummyResource);"); sc.add("}"); sc.add("}"); sc.add("// remove all expected elements that were added after the last complete element"); sc.add("expectedElements = expectedElements.subList(0, expectedElementsIndexOfLastCompleteElement + 1);"); sc.add("int lastFollowSetID = expectedElements.get(expectedElementsIndexOfLastCompleteElement).getFollowSetID();"); sc.add(SET + "<" + expectedTerminalClassName + "> currentFollowSet = new " + LINKED_HASH_SET +"<" + expectedTerminalClassName + ">();"); sc.add(LIST + "<" + expectedTerminalClassName + "> newFollowSet = new " + ARRAY_LIST +"<" + expectedTerminalClassName + ">();"); sc.add("for (int i = expectedElementsIndexOfLastCompleteElement; i >= 0; i--) {"); sc.add(expectedTerminalClassName + " expectedElementI = expectedElements.get(i);"); sc.add("if (expectedElementI.getFollowSetID() == lastFollowSetID) {"); sc.add("System.out.println(\"FOLLOW ELEMENT \" + expectedElementI);"); sc.add("currentFollowSet.add(expectedElementI);"); sc.add("} else {"); sc.add("break;"); sc.add("}"); sc.add("}"); // now the follow set IDs must be calculated dynamically sc.add("int followSetID = " + followSetID + ";"); sc.add("int i;"); sc.add("for (i = tokenIndexOfLastCompleteElement; i < tokenStream.size(); i++) {"); sc.add(COMMON_TOKEN + " nextToken = (" + COMMON_TOKEN + ") tokenStream.get(i);"); sc.add("System.out.println(\"REMAINING TOKEN: \" + nextToken);"); sc.add("if (nextToken.getChannel() == 99) {"); sc.add("// hidden tokens do not reduce the follow set"); sc.add("} else {"); sc.add("// now that we have found the next visible token the position for that expected terminals"); sc.add("// can be set"); sc.add("for (" + expectedTerminalClassName + " nextFollow : newFollowSet) {"); // TODO this is somewhat inefficient since the token stream is searched from // the beginning sc.add("lastTokenIndex = 0;"); sc.add("setPosition(nextFollow, i);"); sc.add("}"); sc.add("newFollowSet.clear();"); sc.add("// normal tokens do reduce the follow set - only elements that match the token are kept"); sc.add("for (" + expectedTerminalClassName + " nextFollow : currentFollowSet) {"); sc.add("System.out.println(\"CHECKING : \" + nextFollow);"); sc.add("if (nextFollow.getTerminal().getTokenName().equals(getTokenNames()[nextToken.getType()])) {"); sc.add("// keep this one - it matches"); sc.add("System.out.println(\"MATCH! \" + nextFollow);"); sc.add(COLLECTION + "<" + pairClassName + "<" + iExpectedElementClassName + ", " + E_STRUCTURAL_FEATURE + "[]>> newFollowers = nextFollow.getTerminal().getFollowers();"); sc.add("for (" + pairClassName + "<" + iExpectedElementClassName + ", " + E_STRUCTURAL_FEATURE + "[]> newFollowerPair : newFollowers) {"); sc.add(iExpectedElementClassName + " newFollower = newFollowerPair.getLeft();"); sc.add(expectedTerminalClassName + " newFollowTerminal = new " + expectedTerminalClassName + "(newFollower, followSetID, newFollowerPair.getRight());"); sc.add("newFollowSet.add(newFollowTerminal);"); sc.add("expectedElements.add(newFollowTerminal);"); sc.add("}"); sc.add("}"); sc.add("}"); sc.add("currentFollowSet.clear();"); sc.add("currentFollowSet.addAll(newFollowSet);"); sc.add("}"); sc.add("followSetID++;"); sc.add("}"); sc.add("// after the last token in the stream we must set the position for the elements that were"); sc.add("// added during the last iteration of the loop"); sc.add("for (" + expectedTerminalClassName + " nextFollow : newFollowSet) {"); // TODO this is somewhat inefficient since the token stream is searched from // the beginning sc.add("lastTokenIndex = 0;"); sc.add("setPosition(nextFollow, i);"); sc.add("}"); sc.add("return this.expectedElements;"); sc.add("}"); sc.addLineBreak(); } private void addCopyLocalizationInfosMethod1(StringComposite sc) { sc.add("protected void copyLocalizationInfos(final " + E_OBJECT + " source, final " + E_OBJECT + " target) {"); sc.add("postParseCommands.add(new " + getClassNameHelper().getI_COMMAND() + "<" + getClassNameHelper().getI_TEXT_RESOURCE() + ">() {"); sc.add("public boolean execute(" + getClassNameHelper().getI_TEXT_RESOURCE() + " resource) {"); sc.add(getClassNameHelper().getI_LOCATION_MAP() + " locationMap = resource.getLocationMap();"); sc.add("if (locationMap == null) {"); sc.add("// the locationMap can be null if the parser is used for"); sc.add("// code completion"); sc.add("return true;"); sc.add("}"); sc.add("locationMap.setCharStart(target, locationMap.getCharStart(source));"); sc.add("locationMap.setCharEnd(target, locationMap.getCharEnd(source));"); sc.add("locationMap.setColumn(target, locationMap.getColumn(source));"); sc.add("locationMap.setLine(target, locationMap.getLine(source));"); sc.add("return true;"); sc.add("}"); sc.add("});"); sc.add("}"); sc.addLineBreak(); } private void addCopyLocalizationInfosMethod2(StringComposite sc) { sc.add("protected void copyLocalizationInfos(final " + COMMON_TOKEN + " source, final " + E_OBJECT + " target) {"); sc.add("postParseCommands.add(new " + getClassNameHelper().getI_COMMAND() + "<" + getClassNameHelper().getI_TEXT_RESOURCE() + ">() {"); sc.add("public boolean execute(" + getClassNameHelper().getI_TEXT_RESOURCE() + " resource) {"); sc.add(getClassNameHelper().getI_LOCATION_MAP() + " locationMap = resource.getLocationMap();"); sc.add("if (locationMap == null) {"); sc.add("// the locationMap can be null if the parser is used for"); sc.add("// code completion"); sc.add("return true;"); sc.add("}"); sc.add("if (source == null) {"); sc.add("return true;"); sc.add("}"); sc.add("locationMap.setCharStart(target, source.getStartIndex());"); sc.add("locationMap.setCharEnd(target, source.getStopIndex());"); sc.add("locationMap.setColumn(target, source.getCharPositionInLine());"); sc.add("locationMap.setLine(target, source.getLine());"); sc.add("return true;"); sc.add("}"); sc.add("});"); sc.add("}"); sc.addLineBreak(); } private void addAddExpectedElementMethod(StringComposite sc) { // TODO potential memory consumption improvement: // we can throw away expected elements that are not important // for the current parse run. the concrete set of element that // can be thrown away is determined by the cursor index where // code completion is requested sc.add("public void addExpectedElement(" + expectedTerminalClassName + " expectedElement) {"); sc.add("if (!this.rememberExpectedElements) {"); sc.add("return;"); sc.add("}"); sc.add("setPosition(expectedElement, input.index());"); //sc.add("System.out.println(\"Adding expected element (\" + message + \"): \" + expectedElement + \"\");"); sc.add("this.expectedElements.add(expectedElement);"); sc.add("}"); sc.addLineBreak(); } private void addSetPositionMethod(StringComposite sc) { sc.add("public void setPosition(" + expectedTerminalClassName + " expectedElement, int tokenIndex) {"); sc.add("int currentIndex = " + MATH + ".max(0, tokenIndex);"); sc.add("for (int index = lastTokenIndex; index < currentIndex; index++) {"); sc.add("if (index >= input.size()) {"); sc.add("break;"); sc.add("}"); sc.add(COMMON_TOKEN + " tokenAtIndex = (" + COMMON_TOKEN + ") input.get(index);"); sc.add("stopIncludingHiddenTokens = tokenAtIndex.getStopIndex() + 1;"); sc.add("if (tokenAtIndex.getChannel() != 99) {"); sc.add("stopExcludingHiddenTokens = tokenAtIndex.getStopIndex() + 1;"); sc.add("}"); sc.add("}"); sc.add("lastTokenIndex = " + MATH + ".max(0, currentIndex);"); sc.add("expectedElement.setPosition(stopExcludingHiddenTokens, stopIncludingHiddenTokens);"); sc.add("}"); sc.addLineBreak(); } private void addGetParseToIndexTypeObjectMethod(StringComposite sc) { sc.add("public " + OBJECT + " getParseToIndexTypeObject() {"); sc.add("return parseToIndexTypeObject;"); sc.add("}"); sc.addLineBreak(); } private void addRecoverFromMismatchedTokenMethod(StringComposite sc) { sc.add("public " + OBJECT + " recoverFromMismatchedToken(" + INT_STREAM + " input, int ttype, " + BIT_SET + " follow) throws " + RECOGNITION_EXCEPTION + " {"); sc.add("if (!rememberExpectedElements) {"); sc.add("return super.recoverFromMismatchedToken(input, ttype, follow);"); sc.add("} else {"); sc.add("return null;"); sc.add("}"); sc.add("}"); } private List<CompleteTokenDefinition> collectCollectTokenDefinitions( List<CompleteTokenDefinition> tokenDefinitions) { List<CompleteTokenDefinition> collectList = new LinkedList<CompleteTokenDefinition>(); for (CompleteTokenDefinition tokenDefinition : tokenDefinitions) { String attributeName = tokenDefinition.getAttributeName(); if (attributeName != null) { collectList.add(tokenDefinition); } } return collectList; } private String getLexerName(String csName) { return csName + "Lexer"; } private String getParserName(String csName) { return csName + "Parser"; } private void printStartRule(StringComposite sc) { ConcreteSyntax syntax = getContext().getConcreteSyntax(); // do the start symbol rule sc.add("start "); sc.add("returns [ " + E_OBJECT + " element = null]"); sc.add(":"); sc.add("{"); Set<Expectation> expectations = new LinkedHashSet<Expectation>(); for (GenClass startSymbol : concreteSyntax.getActiveStartSymbols()) { Collection<Rule> startRules = csUtil.getRules(concreteSyntax, startSymbol); for (Rule startRule : startRules) { Set<Expectation> firstSet = computer.computeFirstSet(syntax, startRule); firstSet.remove(ExpectationComputer.EPSILON); expectations.addAll(firstSet); } } sc.add("// follow set for start rule(s)"); addExpectationsCode(sc, expectations); sc.add("expectedElementsIndexOfLastCompleteElement = expectedElements.size() - 1;"); sc.add("}"); sc.add("("); int count = 0; int i = 0; for (GenClass startSymbol : concreteSyntax.getActiveStartSymbols()) { // there may also be rules for subclasses of the start symbol class // thus, we create an alternative for each rule Collection<Rule> startRules = csUtil.getRules(concreteSyntax, startSymbol); for (Rule startRule : startRules) { if (count > 0) { sc.add("| "); } i++; sc.add("c" + count + " = " + getRuleName(startRule.getMetaclass()) + "{ element = c" + count + "; }"); count++; } } sc.add(")"); if (forceEOFToken) { sc.add(EOF_TOKEN_NAME); } sc.addLineBreak(); sc.add(";"); sc.addLineBreak(); } private void printRightRecursion(StringComposite sc, Rule rule, EList<GenClass> eClassesWithSyntax, Map<GenClass, Collection<Terminal>> classesReferenced) { String ruleName = getRuleName(rule.getMetaclass()); GenClass recursiveType = rule.getMetaclass(); { Copier copier = new Copier(true, true); Rule ruleCopy = (Rule) copier.copy(rule); copier.copyReferences(); sc.add(ruleName); sc.add(" returns [" + genClassFinder.getQualifiedInterfaceName(recursiveType) + " element = null]"); sc.add("@init{"); sc.add("element = " + genClassUtil.getCreateObjectCall(recursiveType, dummyEObjectClassName) + ";"); sc.add("collectHiddenTokens(element);"); sc.add(LIST + "<" + E_OBJECT + "> dummyEObjects = new " + ARRAY_LIST + "<" + E_OBJECT + ">();"); sc.add("}"); sc.add(":"); Choice choice = ConcretesyntaxPackage.eINSTANCE .getConcretesyntaxFactory().createChoice(); Sequence newSequence = ConcretesyntaxPackage.eINSTANCE .getConcretesyntaxFactory().createSequence(); Choice reducedChoice = ConcretesyntaxPackage.eINSTANCE .getConcretesyntaxFactory().createChoice(); CompoundDefinition compound = ConcretesyntaxPackage.eINSTANCE .getConcretesyntaxFactory().createCompoundDefinition(); compound.setDefinitions(reducedChoice); newSequence.getParts().add(compound); choice.getOptions().add(newSequence); List<Sequence> recursionFreeSequences = new ArrayList<Sequence>(); LeftRecursionDetector lrd = new LeftRecursionDetector( genClassNames2superClassNames, concreteSyntax); for (Sequence sequence : ruleCopy.getDefinition().getOptions()) { Rule leftProducingRule = lrd.findLeftProducingRule(rule .getMetaclass(), sequence, rule); if (leftProducingRule == null) { recursionFreeSequences.add(sequence); } } reducedChoice.getOptions().addAll(recursionFreeSequences); ruleCopy.setDefinition(choice); printChoice(ruleCopy.getDefinition(), ruleCopy, sc, 0, classesReferenced, "0"); sc.add(" ( dummyEObject = " + ruleName + "_tail { dummyEObjects.add(dummyEObject);} )*"); sc.add("{"); sc.add("element = (" + ruleName + ") apply(element, dummyEObjects);"); sc.add("}"); sc.add(";"); sc.addLineBreak(); } { Rule tailCopy = rule; EList<Sequence> options = tailCopy.getDefinition().getOptions(); String recurseName = ""; List<Sequence> sequencesToRemove = new ArrayList<Sequence>(); for (Sequence sequence : options) { int indexRecurse = 0; EList<Definition> parts = sequence.getParts(); for (Definition definition : parts) { if (definition instanceof Containment) { Containment containment = (Containment) definition; GenFeature feature = containment.getFeature(); GenClass featureType = feature.getTypeGenClass(); if (recursiveType.equals(featureType) || genClassNames2superClassNames .get( genClassFinder .getQualifiedInterfaceName(featureType)) .contains( genClassFinder .getQualifiedInterfaceName(recursiveType)) || genClassNames2superClassNames .get( genClassFinder .getQualifiedInterfaceName(recursiveType)) .contains( genClassFinder .getQualifiedInterfaceName(featureType))) { indexRecurse = parts.indexOf(definition); recurseName = feature.getName(); break; } } } if (parts.size() - 1 == indexRecurse) { sequencesToRemove.add(sequence); } else { for (int i = 0; i <= indexRecurse; i++) { parts.remove(i); } } } for (Sequence sequence : sequencesToRemove) { tailCopy.getDefinition().getOptions().remove(sequence); } sc.add(ruleName + "_tail"); sc.add(" returns [" + dummyEObjectClassName + " element = null]"); sc.add("@init{"); sc.add("element = new " + dummyEObjectClassName + "(" + genClassUtil.getCreateObjectCall(rule.getMetaclass(), dummyEObjectClassName) + "()" + ", \"" + recurseName + "\");"); sc.add("collectHiddenTokens(element);"); sc.add("}"); sc.add(":"); printChoice(tailCopy.getDefinition(), tailCopy, sc, 0, classesReferenced, "0"); sc.add(";"); sc.addLineBreak(); } eClassesWithSyntax.add(rule.getMetaclass()); } private void printGrammarRules(StringComposite sc, EList<GenClass> eClassesWithSyntax, Map<GenClass, Collection<Terminal>> eClassesReferenced) { for (Rule rule : concreteSyntax.getAllRules()) { // operator rules must be handled separately if (concreteSyntax.getOperatorRules().contains(rule)) { continue; } LeftRecursionDetector lrd = new LeftRecursionDetector( genClassNames2superClassNames, concreteSyntax); Rule recursionRule = lrd.findLeftRecursion(rule); if (recursionRule != null) { boolean autofix = OptionManager.INSTANCE.getBooleanOptionValue( concreteSyntax, OptionTypes.AUTOFIX_SIMPLE_LEFTRECURSION); if (lrd.isDirectLeftRecursive(rule)) {// direct left recursion if (autofix) { printRightRecursion(sc, rule, eClassesWithSyntax, eClassesReferenced); Collection<GenClass> subClasses = csUtil .getSubClassesWithSyntax(rule.getMetaclass(), concreteSyntax); if (!subClasses.isEmpty()) { sc.add("|//derived choice rules for sub-classes: "); printSubClassChoices(sc, subClasses); sc.addLineBreak(); } String message = "Applied experimental autofix: Rule \"" + rule.getMetaclass().getName() + "\" is direct left recursive by rule \"" + recursionRule.getMetaclass().getName() + "\"."; GenerationProblem generationWarning = new GenerationProblem( message, rule, Severity.WARNING); addProblem(generationWarning); continue; } else { String message = "Warning: Rule \"" + rule.getMetaclass().getName() + "\" is direct left recursive by rule \"" + recursionRule.getMetaclass().getName() + "\"."; GenerationProblem generationWarning = new GenerationProblem( message, rule, Severity.WARNING); addProblem(generationWarning); printGrammarRule(rule, sc, eClassesWithSyntax, eClassesReferenced); } } else { String message = "Rule \"" + rule.getMetaclass().getName() + "\" is mutual left recursive by rule \"" + recursionRule.getMetaclass().getName() + "\"! Please restructure the grammar."; GenerationProblem generationWarning = new GenerationProblem( message, rule, Severity.WARNING); addProblem(generationWarning); printGrammarRule(rule, sc, eClassesWithSyntax, eClassesReferenced); } } else { printGrammarRule(rule, sc, eClassesWithSyntax, eClassesReferenced); } } // handle operator rules if (!concreteSyntax.getOperatorRules().isEmpty()) { for (String expressionIdent : concreteSyntax.getOperatorRuleSubsets()) { EList<Rule> expressionSubset = concreteSyntax.getOperatorRuleSubset(expressionIdent); printGrammarExpressionSlice(expressionSubset, sc, eClassesWithSyntax, eClassesReferenced); } } } private void printGrammarRulePrefix(GenClass genClass, String ruleName, StringComposite sc) { String qualifiedClassName = genClassFinder .getQualifiedInterfaceName(genClass); sc.add(ruleName); if (Map.Entry.class.getName().equals( genClass.getEcoreClass().getInstanceClassName())) { sc.add(" returns [" + dummyEObjectClassName + " element = null]"); } else { sc.add(" returns [" + qualifiedClassName + " element = null]"); } sc.add("@init{"); sc.add("}"); sc.add(":"); } private void printGrammarRuleSuffix(StringComposite sc) { sc.add(";"); sc.addLineBreak(); } private void printGrammarRule(Rule rule, StringComposite sc, EList<GenClass> eClassesWithSyntax, Map<GenClass, Collection<Terminal>> eClassesReferenced) { GenClass genClass = rule.getMetaclass(); String ruleName = getRuleName(genClass); printGrammarRulePrefix(genClass,ruleName,sc); printChoice(rule.getDefinition(), rule, sc, 0, eClassesReferenced, "0"); Collection<GenClass> subClasses = csUtil .getSubClassesWithSyntax(genClass, concreteSyntax); if (!subClasses.isEmpty()) { sc.add("|//derived choice rules for sub-classes: "); sc.addLineBreak(); printSubClassChoices(sc, subClasses); sc.addLineBreak(); } printGrammarRuleSuffix(sc); eClassesWithSyntax.add(genClass); } // TODO mseifert: split this method into smaller ones private void printGrammarExpressionSlice(List<Rule> slice, StringComposite sc, EList<GenClass> eClassesWithSyntax, Map<GenClass, Collection<Terminal>> eClassesReferenced) { ListIterator<Rule> it = slice.listIterator(); while (it.hasNext()) { //TODO: Add a check that all equal weight rules are equally structured Rule firstRule = it.next(); int weight = firstRule.getOperatorWeight(); List<Rule> equalWeightOPs = new LinkedList<Rule>(); equalWeightOPs.add(firstRule); while (it.hasNext()) { Rule currentRule = it.next(); int currentWeight = currentRule.getOperatorWeight(); if (currentWeight == weight) { equalWeightOPs.add(currentRule); } else { it.previous(); break; } } boolean isLast = !it.hasNext(); Sequence firstSequence = firstRule.getDefinition().getOptions().get(0); AnnotationType operatorType = firstRule.getOperatorAnnotation().getType(); String ruleName = getExpressionSliceRuleName(firstRule); GenClass returnGenClass = firstRule.getMetaclass(); for (GenClass metaClass : allGenClasses) { if (metaClass.getName().equals(firstRule.getOperatorAnnotation().getValue(OperatorAnnotationProperty.IDENTIFIER.toString()))) { returnGenClass = metaClass; } } printGrammarRulePrefix(returnGenClass,ruleName,sc); if (!isLast) { //we assume all arguments to be typed by the same class final String nextRuleName = getExpressionSliceRuleName(it.next()); it.previous(); //we do unary operators first if (operatorType == AnnotationType.OP_UNARY) { //1st case: unary operator starts with keyword if (firstSequence.getParts().get(0) instanceof CsString) { for (Rule rule : equalWeightOPs) { List<Definition> definitions = rule.getDefinition().getOptions().get(0).getParts(); assert definitions.size() == 2; assert definitions.get(0) instanceof CsString; assert definitions.get(1) instanceof Containment; CsString csString = (CsString) definitions.get(0); Containment containment = (Containment) definitions.get(1); printCsString(csString, rule, sc, 0, eClassesReferenced); sc.add("arg = " + nextRuleName); printTerminalAction(containment, firstRule, sc, "arg", "", "arg", null, "null"); sc.add("|"); sc.addLineBreak(); } sc.addLineBreak(); sc.add("arg = " + nextRuleName + "{ element = arg; }"); } //2nd case: unary operator starts with argument (this means left recursion) else { sc.add("arg = "+ nextRuleName); sc.add("("); for (Rule rule : equalWeightOPs) { List<Definition> definitions = rule.getDefinition().getOptions().get(0).getParts(); assert definitions.size() == 2; assert definitions.get(0) instanceof Containment; assert definitions.get(1) instanceof CsString; CsString csString = (CsString) firstSequence.getParts().get(1); Containment containment = (Containment) definitions.get(1); printCsString(csString, rule, sc, 0, eClassesReferenced); printTerminalAction(containment, rule, sc, "arg", "", "arg", null, "null"); sc.add("|"); sc.addLineBreak(); } sc.add("/* epsilon */ { element = arg; } "); sc.addLineBreak(); sc.add(")"); } } // now we do binary infix operators else { //1st case left associative operators, e.g., -,+,*,/ etc. if (operatorType == AnnotationType.OP_LEFTASSOC) { sc.add("leftArg = " + nextRuleName); sc.add("(("); for (Iterator<Rule> ruleIt = equalWeightOPs.iterator(); ruleIt.hasNext();) { Rule rule = ruleIt.next(); List<Definition> definitions = rule.getDefinition().getOptions().get(0).getParts(); assert definitions.size() == 3; assert definitions.get(0) instanceof Containment; assert definitions.get(1) instanceof CsString; assert definitions.get(2) instanceof Containment; Containment leftContainment = (Containment) definitions.get(0); CsString csString = (CsString) definitions.get(1); Containment rightContainment = (Containment) definitions.get(2); sc.add("{ element = null; }"); printCsString(csString, rule, sc, 0, eClassesReferenced); sc.add("rightArg = " + nextRuleName); printTerminalAction(leftContainment, rule, sc, "leftArg", "", "leftArg", null, "null"); printTerminalAction(rightContainment, rule, sc, "rightArg", "", "rightArg", null, "null"); sc.add("{ leftArg = element; /* this may become an argument in the next iteration */ }"); if (ruleIt.hasNext()) { sc.add("|"); sc.addLineBreak(); } } sc.add(")+ | /* epsilon */ { element = leftArg; }"); sc.addLineBreak(); sc.add(")"); } //2nd case right associative operators , e.g., ^ else { assert operatorType == AnnotationType.OP_RIGHTASSOC; //final String thisRuleName = getRuleName(rule.getMetaclass()); sc.add("leftArg = " + nextRuleName); sc.add("(("); for (Iterator<Rule> ruleIt = equalWeightOPs.iterator(); ruleIt.hasNext();) { Rule rule = ruleIt.next(); List<Definition> definitions = rule.getDefinition().getOptions().get(0).getParts(); assert definitions.size() == 3; assert definitions.get(0) instanceof Containment; assert definitions.get(1) instanceof CsString; assert definitions.get(2) instanceof Containment; Containment leftContainment = (Containment) definitions.get(0); CsString csString = (CsString) definitions.get(1); Containment rightContainment = (Containment) definitions.get(2); printCsString(csString, rule, sc, 0, eClassesReferenced); sc.add("rightArg = " + ruleName); printTerminalAction(leftContainment, rule, sc, "leftArg", "", "leftArg", null, "null"); printTerminalAction(rightContainment, rule, sc, "rightArg", "", "rightArg", null, "null"); if (ruleIt.hasNext()) { sc.add("|"); sc.addLineBreak(); } } sc.add(") | /* epsilon */ { element = leftArg; }"); sc.addLineBreak(); sc.add(")"); } } printGrammarRuleSuffix(sc); } else { assert operatorType == AnnotationType.OP_PRIMITIVE; List<GenClass> choiceClasses = new LinkedList<GenClass>(); for (Rule rule : equalWeightOPs) { choiceClasses.add(rule.getMetaclass()); } printSubClassChoices(sc, choiceClasses); printGrammarRuleSuffix(sc); for (Rule rule : equalWeightOPs) { printGrammarRule(rule, sc, eClassesWithSyntax, eClassesReferenced); } } } } private String getExpressionSliceRuleName(Rule rule){ // TODO mseifert: make sure the names generated by this method do not // overlap with names for normal rules Annotation operatorAnnotation = rule.getOperatorAnnotation(); String ruleName = operatorAnnotation.getValue(OperatorAnnotationProperty.IDENTIFIER.toString()) + "_level_"; String weight = operatorAnnotation.getValue(OperatorAnnotationProperty.WEIGHT.toString()).replace('-','_'); ruleName += weight; return "parse_" + ruleName; } private String getRuleName(GenClass genClass) { String ruleName = genClassFinder.getEscapedTypeName(genClass); return "parse_" + ruleName; } private int printChoice(Choice choice, Rule rule, StringComposite sc, int count, Map<GenClass, Collection<Terminal>> eClassesReferenced, String scopeID) { Iterator<Sequence> it = choice.getOptions().iterator(); while (it.hasNext()) { Sequence seq = it.next(); count = printSequence(seq, rule, sc, count, eClassesReferenced, scopeID); if (it.hasNext()) { sc.addLineBreak(); sc.add("|"); } } return count; } private int printSequence(Sequence sequence, Rule rule, StringComposite sc, int count, Map<GenClass, Collection<Terminal>> eClassesReferenced, String scopeID) { int i = 0; for (Definition definition : sequence.getParts()) { if (definition instanceof LineBreak || definition instanceof WhiteSpaces) { continue; } ConcreteSyntax syntax = getContext().getConcreteSyntax(); Set<Expectation> expectations = computer.computeFollowSet(syntax, definition); addToFollowSetMap(definition, expectations); String cardinality = csUtil.computeCardinalityString(definition); if (!"".equals(cardinality)) { sc.add("("); } if (definition instanceof CompoundDefinition) { String subScopeID = scopeID + "." + i; CompoundDefinition compoundDef = (CompoundDefinition) definition; sc.add("("); count = printChoice(compoundDef.getDefinitions(), rule, sc, count, eClassesReferenced, subScopeID); sc.add(")"); i++; } else if (definition instanceof CsString) { final CsString csString = (CsString) definition; count = printCsString(csString, rule, sc, count, eClassesReferenced); } else { assert definition instanceof Terminal; final Terminal terminal = (Terminal) definition; count = printTerminal(terminal, rule, sc, count, eClassesReferenced); } if (!"".equals(cardinality)) { sc.addLineBreak(); sc.add(")" + cardinality); } sc.add("{"); sc.add("// expected elements (follow set)"); addExpectationsCode(sc, expectations); sc.add("}"); sc.addLineBreak(); } return count; } private void addToFollowSetMap(Definition definition, Set<Expectation> expectations) { // only terminals are important here if (definition instanceof Placeholder) { GenFeature feature = ((Placeholder) definition).getFeature(); if (feature == ConcreteSyntaxUtil.ANONYMOUS_GEN_FEATURE) { return; } followSetMap.put(getID(definition), expectations); } else if (definition instanceof CsString) { followSetMap.put(getID(definition), expectations); } } private void addExpectationsCode(StringComposite sc, Set<Expectation> expectations) { for (Expectation expectation : expectations) { EObject expectedElement = expectation.getExpectedElement(); String terminalID = getID(expectedElement); // here the containment trace is used // TODO mseifert: figure out whether this is really needed StringBuilder traceArguments = new StringBuilder(); List<GenFeature> containmentTrace = expectation.getContainmentTrace(); for (GenFeature genFeature : containmentTrace) { traceArguments.append(", "); traceArguments.append(getFeatureConstantFieldName(genFeature)); } sc.add("addExpectedElement(new " + expectedTerminalClassName + "(" + terminalID + ", " + followSetID + traceArguments + "));"); } followSetID++; } // TODO mseifert: put this constants into a separate class private void addTerminalConstants(StringComposite sc) { for (EObject expectedElement : idMap.keySet()) { String terminalID = idMap.get(expectedElement); GenClass genClass = csUtil.findContainingRule(expectedElement).getMetaclass(); String eClassConstantAccessor = generatorUtil.getClassAccessor(genClass); if (expectedElement instanceof Placeholder) { Placeholder placeholder = (Placeholder) expectedElement; GenFeature genFeature = placeholder.getFeature(); // ignore the anonymous features if (genFeature == ConcreteSyntaxUtil.ANONYMOUS_GEN_FEATURE) { continue; } String featureConstantAccessor = generatorUtil.getFeatureAccessor(genClass, genFeature); sc.add("private final static " + iExpectedElementClassName + " " + terminalID + " = new " + expectedStructuralFeatureClassName + "(" + eClassConstantAccessor + ", " + featureConstantAccessor + ", \"" + placeholder.getToken().getName() + "\");"); } else if (expectedElement instanceof CsString) { CsString expectedKeyword = (CsString) expectedElement; String escapedCsString = StringUtil.escapeToJavaStringInANTLRGrammar(expectedKeyword.getValue()); sc.add("private final static " + iExpectedElementClassName + " " + terminalID + " = new " + expectedCsStringClassName + "(" + eClassConstantAccessor + ", \"" + escapedCsString + "\");"); } else { throw new RuntimeException("Unknown expected element type: " + expectedElement); } } sc.addLineBreak(); // ask for all features to make sure respective fields are generated for (String firstID : followSetMap.keySet()) { for (Expectation expectation : followSetMap.get(firstID)) { List<GenFeature> containmentTrace = expectation.getContainmentTrace(); for (GenFeature genFeature : containmentTrace) { getFeatureConstantFieldName(genFeature); } } } // generate fields for all used features for (GenFeature genFeature : eFeatureToConstantNameMap.keySet()) { String fieldName = getFeatureConstantFieldName(genFeature); String featureAccessor = generatorUtil.getFeatureAccessor(genFeature.getGenClass(), genFeature); sc.add("private final static " + E_STRUCTURAL_FEATURE + " " + fieldName + " = " + featureAccessor + ";"); } sc.addLineBreak(); sc.add("private final static " + E_STRUCTURAL_FEATURE + "[] EMPTY_FEATURE_ARRAY = new " + E_STRUCTURAL_FEATURE + "[0];"); sc.addLineBreak(); // we need to split the code to wire the terminals with their // followers, because the code does exceed the 64KB limit for // methods if the grammar is big int bytesUsedInCurrentMethod = 0; boolean methodIsFull = true; int i = 0; int numberOfMethods = 0; // create multiple wireX() methods for (String firstID : followSetMap.keySet()) { if (methodIsFull) { sc.add("public static void wire" + numberOfMethods + "() {"); numberOfMethods++; methodIsFull = false; } for (Expectation expectation : followSetMap.get(firstID)) { EObject follower = expectation.getExpectedElement(); List<GenFeature> containmentTrace = expectation.getContainmentTrace(); StringBuilder trace = new StringBuilder(); if (containmentTrace.isEmpty()) { trace.append(", EMPTY_FEATURE_ARRAY"); } else { trace.append(", new " + E_STRUCTURAL_FEATURE + "[] {"); for (GenFeature genFeature : containmentTrace) { trace.append(getFeatureConstantFieldName(genFeature) + ", "); // another 16 bytes for each access to a constant bytesUsedInCurrentMethod += 16; } trace.append("}"); } sc.add(firstID + ".addFollower(" + getID(follower) + trace + ");"); // the method call takes 19 bytes bytesUsedInCurrentMethod += 19; } if (bytesUsedInCurrentMethod >= 63 * 1024) { methodIsFull = true; bytesUsedInCurrentMethod = 0; } if (methodIsFull || i == followSetMap.keySet().size() - 1) { sc.add("}"); } i++; } // call all wireX() methods from the static constructor sc.add("// wire the terminals"); sc.add("static {"); for (int c = 0; c < numberOfMethods; c++) { sc.add("wire" + c + "();"); } sc.add("}"); } private String getFeatureConstantFieldName(GenFeature genFeature) { if (!eFeatureToConstantNameMap.keySet().contains(genFeature)) { String featureConstantName = "FEATURE_" + featureCounter; featureCounter++; eFeatureToConstantNameMap.put(genFeature, featureConstantName); } return eFeatureToConstantNameMap.get(genFeature); } private String getID(EObject expectedElement) { if (!idMap.containsKey(expectedElement)) { idMap.put(expectedElement, "TERMINAL_" + idCounter); idCounter++; } return idMap.get(expectedElement); } private int printCsString(CsString csString, Rule rule, StringComposite sc, int count, Map<GenClass, Collection<Terminal>> eClassesReferenced) { String identifier = "a" + count; String escapedCsString = StringUtil.escapeToANTLRKeyword(csString.getValue()); sc.add(identifier + " = '" + escapedCsString + "' {"); sc.add("if (element == null) {"); sc.add("element = " + genClassUtil.getCreateObjectCall(rule.getMetaclass(), dummyEObjectClassName) + ";"); sc.add("}"); sc.add("collectHiddenTokens(element);"); sc.add("copyLocalizationInfos((" + COMMON_TOKEN + ")" + identifier + ", element);"); sc.add("}"); return ++count; } private int printTerminal(Terminal terminal, Rule rule, StringComposite sc, int count, Map<GenClass, Collection<Terminal>> eClassesReferenced) { final GenClass genClass = rule.getMetaclass(); final GenFeature genFeature = terminal.getFeature(); final EStructuralFeature eFeature = genFeature.getEcoreFeature(); final String ident = "a" + count; final String proxyIdent = "proxy"; StringComposite resolvements = new ANTLRGrammarComposite(); sc.add("("); if (terminal instanceof Containment) { assert ((EReference) eFeature).isContainment(); Containment containment = (Containment) terminal; EList<GenClass> types = csUtil.getAllowedSubTypes(containment); int internalCount = 0; for (GenClass type : types) { if (internalCount != 0) { sc.add("|"); } String internalIdent = ident + "_" + internalCount; sc.add(internalIdent + " = " + getRuleName(type)); if (!(genFeature.getEcoreFeature() instanceof EAttribute)) { // remember which classes are referenced to add choice rules // for these classes later if (!eClassesReferenced.keySet().contains(type)) { eClassesReferenced.put(type, new LinkedHashSet<Terminal>()); } eClassesReferenced.get(type).add(terminal); } printTerminalAction(terminal, rule, sc, internalIdent, proxyIdent, internalIdent, resolvements, null); internalCount++; } } else { assert terminal instanceof Placeholder; Placeholder placeholder = (Placeholder) terminal; CompleteTokenDefinition token = placeholder.getToken(); String tokenName = token.getName(); sc.add(ident + " = " + tokenName); sc.addLineBreak(); // ignore the anonymous features if (genFeature != ConcreteSyntaxUtil.ANONYMOUS_GEN_FEATURE) { String targetTypeName = null; String resolvedIdent = "resolved"; String preResolved = resolvedIdent + "Object"; String resolverIdent = "tokenResolver"; resolvements.add(getClassNameHelper().getI_TOKEN_RESOLVER() + " " + resolverIdent + " = tokenResolverFactory.createTokenResolver(\"" + tokenName + "\");"); resolvements.add(resolverIdent + ".setOptions(getOptions());"); resolvements.add(getClassNameHelper().getI_TOKEN_RESOLVE_RESULT() + " result = getFreshTokenResolveResult();"); resolvements.add(resolverIdent + ".resolve(" + ident + ".getText(), element.eClass().getEStructuralFeature(" + generatorUtil.getFeatureConstant(genClass, genFeature) + "), result);"); resolvements.add(OBJECT + " " + preResolved + " = result.getResolvedToken();"); resolvements.add("if (" + preResolved + " == null) {"); resolvements.add("addErrorToResource(result.getErrorMessage(), ((" + COMMON_TOKEN + ") " + ident + ").getLine(), ((" + COMMON_TOKEN + ") " + ident + ").getCharPositionInLine(), ((" + COMMON_TOKEN + ") " + ident + ").getStartIndex(), ((" + COMMON_TOKEN + ") " + ident + ").getStopIndex());"); resolvements.add("}"); String expressionToBeSet = null; if (eFeature instanceof EReference) { targetTypeName = "String"; expressionToBeSet = proxyIdent; // a sub type that can be instantiated as a proxy GenClass instanceType = genFeature.getTypeGenClass(); GenClass proxyType = null; if (genClassUtil.isNotConcrete(instanceType)) { // TODO mseifert: replace this code with a call to class // GenClassFinder // a slightly more elegant version of this code can also be // found in the ScannerlessParserGenerator for (GenClass instanceCand : allGenClasses) { Collection<String> supertypes = genClassNames2superClassNames .get(genClassFinder .getQualifiedInterfaceName(instanceCand)); if (genClassUtil.isConcrete(instanceCand) && supertypes .contains(genClassFinder .getQualifiedInterfaceName(instanceType))) { proxyType = instanceCand; break; } } } else { proxyType = instanceType; } resolvements.add(targetTypeName + " " + resolvedIdent + " = (" + targetTypeName + ") " + preResolved + ";"); resolvements.add(genClassFinder .getQualifiedInterfaceName(proxyType) + " " + expressionToBeSet + " = " + genClassUtil.getCreateObjectCall(proxyType, dummyEObjectClassName) + ";"); resolvements.add("collectHiddenTokens(element);"); resolvements .add("registerContextDependentProxy(new " + contextDependentURIFragmentFactoryClassName + "<" + genClassFinder .getQualifiedInterfaceName(genFeature .getGenClass()) + ", " + genClassFinder .getQualifiedInterfaceName(genFeature .getTypeGenClass()) + ">(" + getContext() .getReferenceResolverAccessor(genFeature) + "), element, (org.eclipse.emf.ecore.EReference) element.eClass().getEStructuralFeature(" + generatorUtil.getFeatureConstant(genClass, genFeature) + "), " + resolvedIdent + ", " + proxyIdent + ");"); // remember that we must resolve proxy objects for this feature getContext().addNonContainmentReference(genFeature); } else { // the feature is an EAttribute targetTypeName = genFeature.getQualifiedListItemType(null); resolvements.add(targetTypeName + " " + resolvedIdent + " = (" + getObjectTypeName(targetTypeName) + ")" + preResolved + ";"); expressionToBeSet = "resolved"; } printTerminalAction(placeholder, rule, sc, ident, proxyIdent, expressionToBeSet, resolvements, tokenName); } } sc.add(")"); return ++count; } private void printTerminalAction(Terminal terminal, Rule rule, StringComposite sc, final String ident, final String proxyIdent, String expressionToBeSet, StringComposite resolvements, String tokenName) { // FIXME mseifert: this is not correct! final GenFeature genFeature = terminal.getFeature(); final GenClass genClass = genFeature.getGenClass(); final EStructuralFeature eFeature = genFeature.getEcoreFeature(); sc.add("{"); sc.add("if (terminateParsing) {"); sc.add("throw new " + getClassNameHelper().getTERMINATE_PARSING_EXCEPTION() + "();"); sc.add("}"); sc.add("if (element == null) {"); sc.add("element = " + genClassUtil.getCreateObjectCall(rule.getMetaclass(), dummyEObjectClassName) + ";"); sc.add("}"); // TODO mseifert: escape tokeName correctly sc.add(new StringComponent(STRING + " tokenName = \"" + tokenName + "\";", "tokenName")); sc.add("if (" + ident + " != null) {"); if (resolvements != null) { sc.add(resolvements); } sc.add("if (" + expressionToBeSet + " != null) {"); final String featureConstant = generatorUtil.getFeatureConstant(genClass, genFeature); generatorUtil.addCodeToSetFeature(sc, genClass, featureConstant, eFeature, expressionToBeSet); sc.add("}"); sc.add("collectHiddenTokens(element);"); if (terminal instanceof Containment) { sc.add("copyLocalizationInfos(" + ident + ", element); "); } else { sc.add("copyLocalizationInfos((" + COMMON_TOKEN + ") " + ident + ", element);"); if (eFeature instanceof EReference) { // additionally set position information for the proxy instance sc.add("copyLocalizationInfos((" + COMMON_TOKEN + ") " + ident + ", " + proxyIdent + ");"); } } sc.add("}"); sc.add("}"); } private void printImplicitChoiceRules(StringComposite sc, EList<GenClass> eClassesWithSyntax, Map<GenClass, Collection<Terminal>> eClassesReferenced) { for (GenClass referencedClass : eClassesReferenced.keySet()) { if (!containsEqualByName(eClassesWithSyntax, referencedClass)) { // rule not explicitly defined in CS: most likely a choice rule // in the AS Collection<GenClass> subClasses = csUtil .getSubClassesWithSyntax(referencedClass, concreteSyntax); if (!subClasses.isEmpty()) { sc.add(getRuleName(referencedClass)); sc.add(" returns [" + genClassFinder .getQualifiedInterfaceName(referencedClass) + " element = null]"); sc.add(":"); //Expression slices are formed over a common abstract superclass if (concreteSyntax.getOperatorRuleSubset(referencedClass.getName()).isEmpty()) { printSubClassChoices(sc, subClasses); } else { List<Rule> slice = concreteSyntax.getOperatorRuleSubset(referencedClass.getName()); sc.add("c = " + getExpressionSliceRuleName(slice.get(0))+"{ element = c; /* this rule is an expression root */ }"); } sc.addLineBreak(); sc.add(";"); sc.addLineBreak(); eClassesWithSyntax.add(referencedClass); } } } } private void printSubClassChoices(StringComposite sc, Collection<GenClass> subClasses) { int count = 0; for (Iterator<GenClass> subClassIterator = subClasses.iterator(); subClassIterator.hasNext();) { GenClass subRef = subClassIterator.next(); String identifier = "c" + count; sc.add(identifier + " = " + getRuleName(subRef) + "{ element = " + identifier + "; /* this is a subclass or expression choice */ }"); if (subClassIterator.hasNext()) { sc.add("|"); } count++; } } // TODO this method does not belong here private boolean containsEqualByName(EList<GenClass> list, GenClass o) { for (GenClass entry : list) { EClass entryClass = entry.getEcoreClass(); EClass oClass = o.getEcoreClass(); if (entryClass.getName().equals(oClass.getName()) && entryClass.getEPackage().getNsURI().equals( oClass.getEPackage().getNsURI())) { return true; } } return false; } private void addTokenDefinitions(StringComposite sc) { for (CompleteTokenDefinition tokenDefinition : concreteSyntax.getActiveTokens()) { printToken(tokenDefinition, sc); } } private void printToken(CompleteTokenDefinition definition, StringComposite sc) { sc.add(definition.getName()); sc.add(":"); sc.add(definition.getRegex()); // keyword tokens do never go to channel 99, because they // are contained in the grammar. if they are sent to channel // 99 rules containing the keywords will never be matched if (definition.isHidden() && !isKeyword(definition)) { sc.add("{ _channel = 99; }"); } sc.add(";"); } private boolean isKeyword(CompleteTokenDefinition definition) { // this comparison of the regular expression should in theory be // replaced by a comparison of the two automata. however, ANTLR // does not compare the in-line tokens (keywords) and the defined // tokens using automata, but uses a string comparison of the // regular expressions. if we compare the tokens using the automata // the resulting ANTLR grammars will not work. String assumeKeyword = definition.getRegex().substring(1, definition.getRegex().length() - 1); boolean contains = keywords.contains(assumeKeyword); return contains; } public IGenerator newInstance(GenerationContext context) { return new ANTLRGrammarGenerator(context); } }
[ "yuzhongxing88@gmail.com" ]
yuzhongxing88@gmail.com
d4480ee520686e1f5b87fe41ca903191851c7d2c
086eb3b8c55f5385942c8a426b40ca176c07d985
/Guia6-JavaPOO/Ejercicio2/Circunferencia.java
2863ce4f6d4f7e165fbafcc66e7e4f4df67445cb
[]
no_license
DanyPreisz/Egg
1b8722167ad9a55d64c452e7855e3ae9c1184d9d
ad423056e7a2681780f1931cae3e679236bab7ce
refs/heads/master
2023-09-02T13:51:01.310261
2021-11-14T20:58:34
2021-11-14T20:58:34
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,129
java
package Ejercicio2; import java.util.Scanner; /* Declarar una clase llamada Circunferencia que tenga como atributo privado el radio de tipo real. A continuación, se deben crear los siguientes métodos: a) Método constructor que inicialice el radio pasado como parámetro. b) Métodos get y set para el atributo radio de la clase Circunferencia. c) Método para crearCircunferencia(): que le pide el radio y lo guarda en el atributo del objeto. d) Método area(): para calcular el área de la circunferencia (Area = π ∗ radio!). e) Método perimetro(): para calcular el perímetro (Perimetro = 2 ∗ π ∗ radio). */ public class Circunferencia { private Scanner leer = new Scanner(System.in).useDelimiter("\n"); private double radio; //Constructor public Circunferencia(double radio){ this.radio = radio; } //Constructor vacio public Circunferencia(){ } public void setRadio(double radio) { this.radio = radio; } public double getRadio() { return radio; } public void crearCircunferencia(){ System.out.println("Ingrese el radio de la circunferencia"); setRadio(leer.nextInt()); } public double area(){ return (Math.PI * radio); } public double perimetro(){ return (2 * Math.PI * radio); } @Override public String toString() { return "Circunferencia: \n*radio: " + radio + "\n*perimetro: " + perimetro() + "\n*area: " + area(); } public static void main(String[] args) { Circunferencia circunferencia1 = new Circunferencia(); circunferencia1.crearCircunferencia(); //Imprimir usando el getter System.out.println("Circunferencia: \n*radio: " + circunferencia1.getRadio() + "\n*perimetro: " + circunferencia1.perimetro() + "\n*area: " + circunferencia1.area()); Circunferencia circunferencia2 = new Circunferencia(5); //Imprimir usando la funcion automatica "ToString" de la clase Circunferencia System.out.println(circunferencia2); } }
[ "cea.lopez@alumno.um.edu.ar" ]
cea.lopez@alumno.um.edu.ar
800d71e0c991e2892ba419da5d3f488641eeca16
1140725c715e2e5fce3cc561d1b194d2e6445f9a
/src/qut/endeavour/rest/resources/SignOffResource.java
e0c97ac8b79a56d1759f397044a8c43c34a98e7d
[]
no_license
julianjw/DMS
4d79ba6272d955cad62d1d2c59b35c22f90cb659
83407ec80eb8fbc15d07be212e96d8b96bf836f2
refs/heads/master
2021-01-15T11:43:41.156496
2013-11-20T04:54:17
2013-11-20T04:54:17
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,274
java
package qut.endeavour.rest.resources; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import qut.endeavour.rest.bean.Found; import qut.endeavour.rest.exception.DMSClientErrorException; import qut.endeavour.rest.storage.DatabaseAccess; import qut.endeavour.rest.utility.Permissions; @Path("/signoff") public class SignOffResource { @GET @Path("/{user_id: [a-zA-Z_0-9]+}/{token: [a-zA-Z_0-9]+}/{clientid: [a-zA-Z_0-9]+}") @Produces(MediaType.APPLICATION_JSON) public Found getJSONSignedOff( @PathParam("user_id") String username, @PathParam("token") String token, @PathParam("clientid") String clientid ) { String userRole = DatabaseAccess.getRole(username, token); if ( !Permissions.canGetClients(userRole) ) { throw new DMSClientErrorException("User with role " + userRole.toUpperCase() + " cannot access client information."); } return new Found( DatabaseAccess.isSignedOff(clientid) ); } @POST @Path("/{user_id: [a-zA-Z_0-9]+}/{token: [a-zA-Z_0-9]+}/{clientid: [a-zA-Z_0-9]+}") public void getJSONSetSignedOff( @PathParam("user_id") String username, @PathParam("token") String token, @PathParam("clientid") String clientid ) { System.out.println("Signing off."); String userRole = DatabaseAccess.getRole(username, token); if ( !Permissions.canChangeSignedOff(userRole) ) { throw new DMSClientErrorException("User with role " + userRole.toUpperCase() + " cannot access client information."); } DatabaseAccess.addSignOff(clientid); } @DELETE @Path("/{user_id: [a-zA-Z_0-9]+}/{token: [a-zA-Z_0-9]+}/{clientid: [a-zA-Z_0-9]+}") public void getJSONDeleteSignedOff( @PathParam("user_id") String username, @PathParam("token") String token, @PathParam("clientid") String clientid ) { System.out.println("Removing sign off."); String userRole = DatabaseAccess.getRole(username, token); if ( !Permissions.canChangeSignedOff(userRole) ) { throw new DMSClientErrorException("User with role " + userRole.toUpperCase() + " cannot access client information."); } DatabaseAccess.removeSignOff(clientid); } }
[ "shkibr@hotmail.com" ]
shkibr@hotmail.com
a8a720cdab116faaa962b09aa6c6458a482b112d
902564d740bee866d7798df985a25f0f664f6240
/src/trunk/mywar-game-msgbody/src/main/java/com/fantingame/game/msgbody/client/mail/MailAction_deleteRes.java
5c9d0fc3b39b485d96ad549b5e0c57a73a34f2b9
[]
no_license
hw233/Server-java
539b416821ad67d22120c7146b4c3c7d4ad15929
ff74787987f146553684bd823d6bd809eb1e27b6
refs/heads/master
2020-04-29T04:46:03.263306
2016-05-20T12:45:44
2016-05-20T12:45:44
null
0
0
null
null
null
null
UTF-8
Java
false
false
526
java
package com.fantingame.game.msgbody.client.mail; import com.fantingame.game.msgbody.common.io.iface.IXInputStream; import com.fantingame.game.msgbody.common.io.iface.IXOutStream; import com.fantingame.game.msgbody.common.model.ICodeAble; import java.io.IOException; /**删除邮件**/ public class MailAction_deleteRes implements ICodeAble { @Override public void encode(IXOutStream outputStream) throws IOException { } @Override public void decode(IXInputStream inputStream) throws IOException { } }
[ "dogdog7788@qq.com" ]
dogdog7788@qq.com
9e4a4e11e8c6fd9a643238f5e55124cecff9aa07
556a3ad3b99e5ab974516e2cb4fb27155801b56a
/spring/SpringAOP/src/com/training/spring/aop/CalculatorPointcuts.java
0c51673cdecbbecabd325f521763381c53b6fc84
[]
no_license
guptanitesh-ng/learnspace
a7ccbad7371300e2f351f9b179673ccfc3e60254
1544f78e6eedb9f4593434cdb7cdbd96c2bb3a7f
refs/heads/master
2023-03-11T02:40:08.119710
2023-03-07T10:27:46
2023-03-07T10:27:46
96,972,542
0
0
null
2022-11-16T02:49:07
2017-07-12T06:23:06
Java
UTF-8
Java
false
false
690
java
package com.training.spring.aop; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Pointcut; import org.springframework.stereotype.Component; @Aspect @Component public class CalculatorPointcuts { @Pointcut("within(com.training.spring.aop.BasicArithmeticCalculator)") public void arithmeticOperation() { } @Pointcut("within(com.training.spring.aop.UnitConversionCalculator)") public void unitConversionOperation() { } @Pointcut("arithmeticOperation() || unitConversionOperation()") public void loggingOperation() { } @Pointcut("arithmeticOperation() && args(arg1, arg2)") public void validateArithmeticInput(double arg1, double arg2) { } }
[ "guptanitesh.ng@gmail.com" ]
guptanitesh.ng@gmail.com
bcc839c097947e9561d51edc976d7e7cfe53b013
b95eaa582e7e0eee7c19dd5dfdddaefd2abb2d96
/adapter/src/cache/channelrealtimedata/ChannelRealtimeDataCache.java
84503e7807ac7a2442e0bbe221aee7fbe1e308a7
[]
no_license
heheave/huiduAdpater
d46ed924efc960795d6ba5168308fa142973a73a
0a77fe14be810de229b1f11581aadb9c5afcf931
refs/heads/master
2021-01-20T02:52:59.809941
2017-04-26T09:08:19
2017-04-26T09:08:19
89,459,496
0
1
null
null
null
null
UTF-8
Java
false
false
524
java
package cache.channelrealtimedata; import cache.DefaultCacheImpl; public class ChannelRealtimeDataCache extends DefaultCacheImpl<ChannelRealtimeData> { private static final ChannelRealtimeDataCache crdc = new ChannelRealtimeDataCache(); private ChannelRealtimeDataCache() { } public static ChannelRealtimeDataCache instance() { return crdc; } @Override public void load() throws Exception { // TODO Auto-generated method stub } @Override public void save() { // TODO Auto-generated method stub } }
[ "xiaoke liu" ]
xiaoke liu
13d62203c184ba2e2fa77c5cc0e3301ce6d6877f
b038c301e5df4655fcfe9f576a0feb8466b1e8c4
/src/test/java/steps/StopwatchPageSteps.java
c338f6efde1ce3914936f69ab8724e5bf3c8bdb0
[]
no_license
polinnkin/Stopwatch_tests
4a80e000a21fd54ef11ee474b2bdebeb084a7c08
3d1f2c01abfc74d8bee61b242305577858607c10
refs/heads/master
2023-05-14T17:29:51.352474
2020-03-16T22:02:11
2020-03-16T22:02:11
221,334,248
0
2
null
2023-05-09T18:18:29
2019-11-12T23:50:55
Java
UTF-8
Java
false
false
3,690
java
package steps; import io.appium.java_client.MobileElement; import io.appium.java_client.TouchAction; import io.appium.java_client.android.AndroidDriver; import io.appium.java_client.touch.LongPressOptions; import io.appium.java_client.touch.offset.ElementOption; import io.qameta.allure.Step; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; import pages.StopwatchPage; import java.time.Duration; import static org.hamcrest.MatcherAssert.assertThat; /** * Steps for the main stopwatch page */ public class StopwatchPageSteps extends AbstractStep { private StopwatchPage stopwatchPage = new StopwatchPage(driver); public StopwatchPageSteps(AndroidDriver driver) { super(driver); } private PermissionPageSteps permissionPageSteps = new PermissionPageSteps(driver); private IntroductionPageSteps introductionPageSteps = new IntroductionPageSteps(driver); @Override @Step("The main stopwatch page is opened") public StopwatchPageSteps checkPageDisplayed() { stopwatchPage.getStopwatchBox(); assertThat("App's main page is not displayed", stopwatchPage.getStopwatchBox().isDisplayed()); return this; } @Step("Tap stopwatch box") public StopwatchPageSteps tapMainButton() { stopwatchPage.getStopwatchBox().click(); return this; } @Step("Hold on stopwatch box") public StopwatchPageSteps longPressMainButton() { MobileElement longpress = (MobileElement) new WebDriverWait(driver, 10). until(ExpectedConditions.elementToBeClickable(stopwatchPage.getStopwatchBox())); LongPressOptions longPressOptions = new LongPressOptions(); longPressOptions.withDuration(Duration.ofSeconds(3)).withElement(ElementOption.element(longpress)); new TouchAction(driver).longPress(longPressOptions).perform(); return this; } @Step("Get time from a stopwatch box") public String getTime() { return stopwatchPage.getStopwatchBox().getText(); } @Step("Run and stop stopwatch") public String runStopwatch() { this.checkPageDisplayed().tapMainButton(); this.tapMainButton(); return this.getTime(); } @Step("Open settings") public StopwatchPageSteps tapSettingsButton() { stopwatchPage.getSettingsButton().click(); return this; } @Step("Change a stopwatch shape to square") public StopwatchPageSteps tapSquareButton() { stopwatchPage.getSquareButton().click(); return this; } @Step("Change a stopwatch shape to round") public StopwatchPageSteps tapRoundButton() { stopwatchPage.getRoundButton().click(); return this; } @Step("Change a stopwatch shape to rounded square") public StopwatchPageSteps tapRoundedSquareButton() { stopwatchPage.getRoundedSquareButton().click(); return this; } @Step("Change a stopwatch shape to full screen") public StopwatchPageSteps tapFullScreenButton() { stopwatchPage.getFullScreenButton().click(); return this; } @Step("Change background color") public StopwatchPageSteps tapBackgroundButton() { stopwatchPage.getBackgroundButton().click(); return this; } @Step("Change color of the stopwatch screen") public StopwatchPageSteps tapColorsPalette() { stopwatchPage.getStopwatchColor1().click(); return this; } @Step("Change color of digits") public StopwatchPageSteps tapDigitsColorPalette() { stopwatchPage.getDigitsColorPaletteElement().click(); return this; } }
[ "polinabochk@gmail.com" ]
polinabochk@gmail.com
52b2755081113cbd442482fb3c348000adc52087
22fae8441e31c6b09feb84c90707be28a11762b0
/src/main/java/com/modulo/componentes/ByosBusqueda.java
eed35a2174a45b5a591432521f4231e307a09869
[]
no_license
rchistian/QuantumV1
9817649124f9ef9ab7f1f75026d8a36c72c98970
3e6a74e1c9a777f3d787ba3503430a55ce417a9a
refs/heads/master
2020-03-29T10:42:12.431034
2018-09-14T23:33:44
2018-09-14T23:33:44
149,818,630
0
0
null
null
null
null
UTF-8
Java
false
false
2,258
java
package com.modulo.componentes; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import com.byos.sys.filters.LikeFilter; import com.byos.sys.ui.ByosDatagrid.ByosColumna; import com.byos.sys.ui.ByosDatagrid.ByosDatagridFiltrableTextbox; import com.modulo.proveedor.tblProveedor; import com.vaadin.ui.Button; import com.vaadin.ui.Grid; import com.vaadin.ui.VerticalLayout; import com.vaadin.ui.Window; import com.vaadin.ui.Button.ClickEvent; public class ByosBusqueda extends VerticalLayout implements Serializable{ private static final long serialVersionUID = 5474522369804563317L; public Window subwindow; public ByosBusqueda(){ subwindow = new Window("Datos del Busqueda"); subwindow.setWidth("1024px"); subwindow.setHeight("768px"); subwindow.setModal(true); subwindow.setContent(this); } public void procesoListarMedidas(){ final ByosDatagridFiltrableTextbox dwb; dwb = new ByosDatagridFiltrableTextbox(true,800,640); tblProveedor TblMedidaListar = new tblProveedor(); ByosColumna[] ByosColumnas = new ByosColumna[2]; ByosColumnas[0] = new ByosColumna("codigoproveedor", String.class, "Codigo", "", new LikeFilter("codigoproveedor","")); ByosColumnas[1] = new ByosColumna("descripcion", String.class, "Descripicon", "", new LikeFilter("descripcion","")); try{ dwb.getDatagrid().initDatagridByos(TblMedidaListar.BuscarArray(new tblProveedor()), TblMedidaListar, ByosColumnas, false); dwb.botProcesar.addClickListener(new Button.ClickListener() { public void buttonClick(ClickEvent event) { try { ArrayList AL = dwb.getDatagrid().getFilasSeleccionadas(); if(AL.size()>0){ dwb.cerrarWindow(); } }catch (Exception e) { e.printStackTrace(); } } }); }catch (Exception e) { e.printStackTrace(); } } }
[ "rchistian@hotmail.com" ]
rchistian@hotmail.com
a9e39f73fbf69775669f9130256fa964c5906677
22b1d8ca17fa0ee10dd2c560dd9de06633781bb6
/CB_UI_Base/src/de/droidcachebox/gdx/graphics/SolidTextureRegion.java
72fb4f3cdf150ce20f1d2d9176bb6698fa2e4d96
[]
no_license
Ging-Buh/cachebox
52060e224388f06829c6dddfac8aaaf35a5f2294
d1f8518bb9cb05c624802dc34fd77579aaa4b9c1
refs/heads/master
2023-06-08T00:04:38.292185
2023-05-31T12:40:38
2023-05-31T12:40:38
39,300,643
7
2
null
2019-11-04T19:50:20
2015-07-18T14:21:17
Java
UTF-8
Java
false
false
1,253
java
/* * Copyright (C) 2014 team-cachebox.de * * Licensed under the : GNU General Public License (GPL); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.gnu.org/licenses/gpl.html * * 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 de.droidcachebox.gdx.graphics; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Pixmap; import com.badlogic.gdx.graphics.Pixmap.Format; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.TextureRegion; /** * @author Longri */ public class SolidTextureRegion extends TextureRegion { public SolidTextureRegion(Color color, float width, float height) { Pixmap pix = new Pixmap(2, 2, Format.RGB565); pix.setColor(color); pix.fill(); Texture tex = new Texture(pix); pix.dispose(); this.setRegion(tex); setRegion(0, 0, width, height); } }
[ "arbor95@gmx.de" ]
arbor95@gmx.de
90f5188a89a2efd2d2a9ec35af82616bd916ca24
7e24b413e49517827713e88c8df7ff7e699b5e0c
/dubboAdaptives/src/main/java/dubboAdaptives/ConfiguratorFactory$Adaptive.java
640bbcfd6d0a52d8eba85356eba3c3f28dca15d0
[]
no_license
wilsondjm/DubboSimpleDemo
2201c59aa6f6d3c36c77462f57bba5bbe0d42d12
e930c8760101b809125a7e8718b5a2a9abce5cdb
refs/heads/master
2020-03-21T13:25:43.670020
2018-06-28T15:28:35
2018-06-28T15:28:35
138,605,085
0
0
null
null
null
null
UTF-8
Java
false
false
938
java
package dubboAdaptives; import com.alibaba.dubbo.common.extension.ExtensionLoader; public class ConfiguratorFactory$Adaptive implements com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory { public com.alibaba.dubbo.rpc.cluster.Configurator getConfigurator(com.alibaba.dubbo.common.URL arg0) { if (arg0 == null) throw new IllegalArgumentException("url == null"); com.alibaba.dubbo.common.URL url = arg0; String extName = url.getProtocol(); if (extName == null) throw new IllegalStateException( "Fail to get extension(com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory) name from url(" + url.toString() + ") use keys([protocol])"); com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory extension = (com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory) ExtensionLoader .getExtensionLoader(com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory.class).getExtension(extName); return extension.getConfigurator(arg0); } }
[ "wsen.huang@gmail.com" ]
wsen.huang@gmail.com
0363a45ef7a82c0501d6a44e78f638256659f6e1
1c3577e6a181542eba8f7447ad2ced3bb4f95288
/vueadmin-java/src/main/java/com/qi/config/KaptchaConfig.java
852dc545a8ef3eca180b5a070ad73a75490e588f
[]
no_license
chaoqi666/vueadmin
c0772bd715de423ab50e95d71b369f0f18a4796a
be5d574f1ad79cb053c97ab0e29c2b40343b70b2
refs/heads/master
2023-07-23T19:00:20.990682
2021-09-07T09:46:03
2021-09-07T09:46:03
403,918,522
2
1
null
null
null
null
UTF-8
Java
false
false
1,065
java
package com.qi.config; import com.google.code.kaptcha.impl.DefaultKaptcha; import com.google.code.kaptcha.util.Config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.core.parameters.P; import java.util.Properties; @Configuration public class KaptchaConfig { @Bean DefaultKaptcha producer() { Properties properties = new Properties(); properties.put("kaptcha.border", "no"); properties.put("kaptcha.textproducer.font.color", "black"); properties.put("kaptcha.textproducer.char.space", "4"); properties.put("kaptcha.image.height", "40"); properties.put("kaptcha.image.width", "120"); properties.put("kaptcha.textproducer.font.size", "30"); properties.put("kaptcha.textproducer.char.length","4"); Config config = new Config(properties); DefaultKaptcha defaultKaptcha = new DefaultKaptcha(); defaultKaptcha.setConfig(config); return defaultKaptcha; } }
[ "qichao151128@gmail.com" ]
qichao151128@gmail.com
7a1b0019f2daf56464fedae28cc749785e2cec16
6b684008ff30196108f9863686d34e07195a1008
/app/src/main/java/com/tanya/task_11/MainActivity.java
7b2172ba497a73fcbedd0c4f44296ed67266e34f
[]
no_license
Ta1-1echka/Task_11
6992bc8990ad66cfd63543d1a1ac4998a0d34445
4bf57d5f83d88ac5de1e0d727620e7b8adf5d9af
refs/heads/master
2021-01-20T13:17:24.986670
2017-05-10T16:20:16
2017-05-10T16:20:17
90,468,694
0
0
null
null
null
null
UTF-8
Java
false
false
5,817
java
package com.tanya.task_11; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import com.facebook.AccessToken; import com.facebook.AccessTokenTracker; import com.facebook.CallbackManager; import com.facebook.FacebookCallback; import com.facebook.FacebookException; import com.facebook.FacebookSdk; import com.facebook.Profile; import com.facebook.login.LoginManager; import com.facebook.login.LoginResult; import com.facebook.login.widget.LoginButton; import com.squareup.picasso.Picasso; import com.vk.sdk.VKAccessToken; import com.vk.sdk.VKSdk; import com.vk.sdk.api.VKApi; import com.vk.sdk.api.VKApiConst; import com.vk.sdk.api.VKError; import com.vk.sdk.api.VKParameters; import com.vk.sdk.api.VKRequest; import com.vk.sdk.api.VKResponse; import com.vk.sdk.api.model.VKApiUser; import com.vk.sdk.api.model.VKApiUserFull; import com.vk.sdk.api.model.VKList; import com.vk.sdk.util.VKUtil; import java.util.Arrays; import br.com.dina.oauth.instagram.InstagramApp; public class MainActivity extends AppCompatActivity implements View.OnClickListener { Button vk_button; LoginButton loginButton; CallbackManager mFacebookCallbackManager; TextView textView; ImageView imageView; Button vk; Button insta; VkApplication application; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // vk_button.setOnClickListener(new View.OnClickListener() { // @Override // public void onClick(View v) { // Intent intent = new Intent(getApplicationContext(), WebActivity.class); // startActivity(intent); ///* // //vk 6019074 BOUnuVi4yS5UPmQ7zfEX //facebook 1942039502696027 c72bd171cedf4687325102ac6c012611 //insta 1577d809ec6744efbc98876f4ff650c1 74daf857564743ef8de86c5f9223b477 //https://pnixx.ru/blog/Android_i_vkontakte_chast_2_%28avtorizatsiya_i_poluchenie_prav%29-6.html //https://auth0.com/blog/how-to-authenticate-on-android-using-social-logins/ // */ // } // }); FacebookSdk.sdkInitialize(getApplicationContext()); mFacebookCallbackManager = CallbackManager.Factory.create(); setContentView(R.layout.activity_main); application = new VkApplication(); vk = (Button) findViewById(R.id.vk); insta = (Button) findViewById(R.id.insta); vk.setOnClickListener(this); insta.setOnClickListener(this); textView = (TextView) findViewById(R.id.text); imageView = (ImageView) findViewById(R.id.image); loginButton = (LoginButton) findViewById(R.id.login_button); loginButton.setReadPermissions("email"); // Callback registration loginButton.registerCallback(mFacebookCallbackManager, new FacebookCallback<LoginResult>() { @Override public void onSuccess(LoginResult loginResult) { } @Override public void onCancel() { } @Override public void onError(FacebookException exception) { } }); AccessTokenTracker accessTokenTracker = new AccessTokenTracker() { @Override protected void onCurrentAccessTokenChanged(AccessToken oldAccessToken, AccessToken currentAccessToken) { if (currentAccessToken == null) { textView.setText(""); imageView.setImageBitmap(null); } } }; } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); System.out.println("*******" + requestCode + " " + resultCode); if (requestCode == 64206) { mFacebookCallbackManager.onActivityResult(requestCode, resultCode, data); textView.setText(Profile.getCurrentProfile().getFirstName() + " " + Profile.getCurrentProfile().getLastName()); Picasso.with(getApplicationContext()).load(Profile.getCurrentProfile().getProfilePictureUri(1200, 1200)).into(imageView); } else if (requestCode == 10485) { VKRequest request = VKApi.users().get(VKParameters.from(VKApiConst.FIELDS, "photo_max_orig")); request.executeWithListener(new VKRequest.VKRequestListener() { @Override public void onComplete(VKResponse response) { super.onComplete(response); VKApiUserFull user = ((VKList<VKApiUserFull>) response.parsedModel).get(0); textView.setText(user.first_name + " " + user.last_name); Picasso.with(getApplicationContext()).load(user.photo_max_orig).into(imageView); } }); } } @Override public void onClick(View v) { switch (v.getId()) { case R.id.vk: application.login(this); break; case R.id.insta: signInWithInstagram(); break; default: break; } } private void signInWithInstagram() { InstagramApp mApp = new InstagramApp(this, ApplicationData.CLIENT_ID, ApplicationData.CLIENT_SECRET, ApplicationData.CALLBACK_URL); mApp.authorize(); System.out.println("****" +mApp.getUserName() ); textView.setText(mApp.getUserName()); // final Intent browser = new Intent(getApplicationContext(), WebActivity.class); // startActivity(browser); } }
[ "polovinkina2401@gmail.com" ]
polovinkina2401@gmail.com
6436e442f8c897ed86419502ce39cd19f8626340
ffdb9541882cb66cbaefa483234f83b9495ba820
/src/main/java/com/nicanorvaz/cursomc/domain/Cliente.java
177fa99711c4592d578e688daf9c8a862e695360
[]
no_license
NicanorVaz/cursomc
ec25b03eb39e8be43400ace5e3475faf553b6386
fcc2796688bc6dff88120f50b4cfa30aec7f2502
refs/heads/master
2020-12-10T18:58:56.771797
2020-02-04T00:53:15
2020-02-04T00:53:15
233,681,237
0
0
null
null
null
null
UTF-8
Java
false
false
2,873
java
package com.nicanorvaz.cursomc.domain; import java.io.Serializable; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.persistence.CollectionTable; import javax.persistence.ElementCollection; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import com.fasterxml.jackson.annotation.JsonManagedReference; import com.nicanorvaz.cursomc.domain.enums.TipoCliente; @Entity public class Cliente implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; private String nome; private String email; private String cpfOuCnpj; private Integer tipo; @JsonManagedReference @OneToMany(mappedBy = "cidade") private List<Endereco> enderecos = new ArrayList<Endereco>(); @ElementCollection @CollectionTable(name = "TELEFONES") private Set<String> telefones = new HashSet<String>(); public Cliente() { super(); // TODO Auto-generated constructor stub } public Cliente(Integer id, String nome, String email, String cpfOuCnpj, TipoCliente tipoCliente) { super(); this.id = id; this.nome = nome; this.email = email; this.cpfOuCnpj = cpfOuCnpj; this.tipo = tipoCliente.getCod(); } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getNome() { return nome; } public void setNome(String nome) { this.nome = nome; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getCpfOuCnpj() { return cpfOuCnpj; } public void setCpfOuCnpj(String cpfOuCnpj) { this.cpfOuCnpj = cpfOuCnpj; } public TipoCliente getTipo() { return TipoCliente.toEnum(tipo); } public void setTipo(TipoCliente tipoCliente) { this.tipo = tipoCliente.getCod(); } public List<Endereco> getEnderecos() { return enderecos; } public void setEnderecos(List<Endereco> enderecos) { this.enderecos = enderecos; } public Set<String> getTelefones() { return telefones; } public void setTelefones(Set<String> telefones) { this.telefones = telefones; } public static long getSerialversionuid() { return serialVersionUID; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((id == null) ? 0 : id.hashCode()); return result; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; Cliente other = (Cliente) obj; if (id == null) { if (other.id != null) return false; } else if (!id.equals(other.id)) return false; return true; } }
[ "nic.gerald@gmail.com" ]
nic.gerald@gmail.com
164ba8bea75a4ae4573faa984cd9e61ed0ceead5
3c7b59b40c08dd99902c3fc5c13e619713e83921
/src/main/java/com/le/cameldemo/KafkaConsumerRouter.java
353032ccb888310f7fa531dc65079c3ff1633a13
[]
no_license
lilecloud/camel-kafka-demo
2156a086c406a91b49395085b0b9c8112209ab57
8815fb47e7ff487d233bdb692a035caeb8dafaf0
refs/heads/master
2022-06-22T21:38:25.987041
2019-10-21T10:56:41
2019-10-21T10:56:41
216,545,179
0
0
null
2022-06-17T02:36:22
2019-10-21T10:54:28
Java
UTF-8
Java
false
false
1,025
java
package com.le.cameldemo; import com.alibaba.fastjson.JSON; import org.apache.camel.Exchange; import org.apache.camel.Message; import org.apache.camel.Processor; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.kafka.KafkaConstants; import org.springframework.stereotype.Component; @Component public class KafkaConsumerRouter extends RouteBuilder { @Override public void configure() throws Exception { from("kafka:test?brokers=127.0.0.1:9092&groupId=sss&autoOffsetReset=earliest") .process(new Processor() { @Override public void process(Exchange exchange) throws Exception { Message message = exchange.getIn(); String key = (String) message.getHeader(KafkaConstants.KEY,java.lang.String.class); String person = (String) message.getBody(String.class); Person personObj = JSON.parseObject(person,Person.class); message.setBody(personObj); exchange.setOut(message); } }) .to("bean:reveiveBean?method=reveive") .end(); } }
[ "lile@fcbox.com" ]
lile@fcbox.com
87d1cd06e291abcde155a4fd758980a41c864bed
624c22afec6e08f33735b268263200ddd68bf9b8
/src/test/java/ru/dnsk/sweater/LoginTest.java
d7a1cff8bb25334941d532ba21ba8347e16e2d11
[]
no_license
SergeyDnv/sweater
a2704185a85dad06ba9a3814c61e6d708b197602
ab29d16eaf8e939cb146d3974455d13befa9b8a9
refs/heads/master
2023-08-06T08:17:25.717280
2021-09-28T10:42:57
2021-09-28T10:42:57
411,221,109
0
0
null
null
null
null
UTF-8
Java
false
false
2,520
java
package ru.dnsk.sweater; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.TestPropertySource; import org.springframework.test.context.jdbc.Sql; import org.springframework.test.context.junit4.SpringRunner; import org.springframework.test.web.servlet.MockMvc; import static org.hamcrest.core.StringContains.containsString; import static org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestBuilders.formLogin; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post; import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; @RunWith(SpringRunner.class) @SpringBootTest @AutoConfigureMockMvc @TestPropertySource("/application-test.properties") public class LoginTest { @Autowired private MockMvc mockMvc; @Test public void contextLoads() throws Exception { this.mockMvc.perform(get("/")) .andDo(print()) .andExpect(status().isOk()) .andExpect(content().string(containsString("Hello"))) .andExpect(content().string(containsString("This is simple clone of twitter"))); } @Test public void accessDeniedTest() throws Exception { this.mockMvc.perform(get("/main")) .andDo(print()) .andExpect(status().is3xxRedirection()) .andExpect(redirectedUrl("http://localhost/login")); } @Test @Sql(value = {"/create-user-before.sql"}, executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(value = {"/create-user-after.sql"}, executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void correctLoginTest() throws Exception { this.mockMvc.perform(formLogin().user("admin").password("admin")) .andDo(print()) .andExpect(status().is3xxRedirection()) .andExpect(redirectedUrl("/")); } @Test public void badCredentials() throws Exception { this.mockMvc.perform(post("/login").param("user", "badUser")) .andExpect(status().isForbidden()); } }
[ "serzhprostomolodets@mail.ru" ]
serzhprostomolodets@mail.ru
320f51e73ebde584be481cd31ea4b5014a30618d
aa5f25d714519ccfda2a89f382dfcefe1b3642fc
/trunk/dmisArea/src/com/techstar/dmis/service/workflow/handler/DDDayPlanSent.java
af3cfe3c018e28e08e40c4b99bd9f9e86ef8711d
[]
no_license
BGCX261/zhouwei-repository-svn-to-git
2b85060757568fadc0d45b526e2546ed1965d48a
cd7f50db245727418d5f1c0061681c11703d073e
refs/heads/master
2021-01-23T03:44:27.914196
2015-08-25T15:45:29
2015-08-25T15:45:29
41,599,666
0
0
null
null
null
null
UTF-8
Java
false
false
1,812
java
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html // Decompiler options: packimports(3) fieldsfirst ansi // Source File Name: DDDayPlanSent.java package com.techstar.dmis.service.workflow.handler; import com.techstar.dmis.service.workflow.impl.helper.DimsWorkflowHelper; import com.techstar.framework.service.workflow.IAssignment; import java.sql.*; import org.jbpm.JbpmContext; import org.jbpm.context.exe.ContextInstance; import org.jbpm.graph.exe.ExecutionContext; import org.jbpm.taskmgmt.def.Task; import org.jbpm.taskmgmt.exe.Assignable; import org.jbpm.taskmgmt.exe.TaskInstance; public class DDDayPlanSent implements IAssignment { public DDDayPlanSent() { } public void assign(Assignable arg0, ExecutionContext arg1) throws Exception { arg1.getTaskInstance().setBussId((String)arg1.getContextInstance().getVariable("businessId")); long taskId = arg1.getTaskInstance().getTask().getId(); String taskRoles = ""; String agencyRoles = ""; Connection connection = arg1.getJbpmContext().getConnection(); Statement statement = connection.createStatement(); ResultSet resultSet; for(resultSet = statement.executeQuery("select TASK_ROLE,AGENCY_ROLE from JBPM_EXT_PERMISSION where task_id='" + taskId + "' "); resultSet.next();) { taskRoles = resultSet.getString("TASK_ROLE"); agencyRoles = resultSet.getString("AGENCY_ROLE"); } resultSet.close(); statement.close(); String currentUserIds[] = DimsWorkflowHelper.getCurrentUsers(taskRoles, agencyRoles); arg0.setPooledActors(currentUserIds); } }
[ "you@example.com" ]
you@example.com
137ba5008770de7257f788e265f34b1b857bb4dc
fe5f78b0858506234d8059db2fda00b5ef9671aa
/src/main/java/com/petrz/instructors/data/service/SemesterService.java
9b4ddd4051cd6ef645e3820ec62efae4ff11d06e
[ "Unlicense" ]
permissive
andrey1025-zz/vaadin_instructor
21f48127133bd5a2c67c1db28a9c10135c36a173
4ba71f7cf789fd6e160ebddf5e70d74dc5b2b68e
refs/heads/main
2023-01-27T21:00:38.944986
2020-12-07T06:18:39
2020-12-07T06:18:39
null
0
0
null
null
null
null
UTF-8
Java
false
false
592
java
package com.petrz.instructors.data.service; import com.petrz.instructors.data.entity.Semester; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.vaadin.artur.helpers.CrudService; @Service public class SemesterService extends CrudService<Semester, Integer> { private SemesterRepository repository; public SemesterService(@Autowired SemesterRepository repository) { this.repository = repository; } @Override protected SemesterRepository getRepository() { return repository; } }
[ "62780077+andrey1025@users.noreply.github.com" ]
62780077+andrey1025@users.noreply.github.com
be5865ef5e1083e4dc13a47eebd8a605114f2750
aa6997aba1475b414c1688c9acb482ebf06511d9
/src/com/sun/org/apache/xml/internal/serializer/WriterToUTF8Buffered.java
b494bdb2d3ddd339fd98c3adf9acfe7455953468
[]
no_license
yueny/JDKSource1.8
eefb5bc88b80ae065db4bc63ac4697bd83f1383e
b88b99265ecf7a98777dd23bccaaff8846baaa98
refs/heads/master
2021-06-28T00:47:52.426412
2020-12-17T13:34:40
2020-12-17T13:34:40
196,523,101
4
2
null
null
null
null
UTF-8
Java
false
false
15,892
java
/* * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * Copyright 1999-2005 The Apache Software Foundation. * * 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. */ /* * $Id: WriterToUTF8Buffered.java,v 1.2.4.1 2005/09/15 08:15:31 suresh_emailid Exp $ */ package com.sun.org.apache.xml.internal.serializer; import java.io.IOException; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.io.Writer; /** * This class writes unicode characters to a byte stream (java.io.OutputStream) * as quickly as possible. It buffers the output in an internal * buffer which must be flushed to the OutputStream when done. This flushing * is done via the close() flush() or flushBuffer() method. * * This class is only used internally within Xalan. * * @xsl.usage internal */ final class WriterToUTF8Buffered extends Writer implements WriterChain { /** * number of bytes that the byte buffer can hold. * This is a fixed constant is used rather than m_outputBytes.lenght for performance. */ private static final int BYTES_MAX = 16 * 1024; /** * number of characters that the character buffer can hold. * This is 1/3 of the number of bytes because UTF-8 encoding * can expand one unicode character by up to 3 bytes. */ private static final int CHARS_MAX = (BYTES_MAX / 3); // private static final int /** * The byte stream to write to. (sc & sb remove final to compile in JDK 1.1.8) */ private final OutputStream m_os; /** * The internal buffer where data is stored. * (sc & sb remove final to compile in JDK 1.1.8) */ private final byte m_outputBytes[]; private final char m_inputChars[]; /** * The number of valid bytes in the buffer. This value is always * in the range <tt>0</tt> through <tt>m_outputBytes.length</tt>; elements * <tt>m_outputBytes[0]</tt> through <tt>m_outputBytes[count-1]</tt> contain valid * byte data. */ private int count; /** * Create an buffered UTF-8 writer. * * @param out the underlying output stream. */ public WriterToUTF8Buffered(OutputStream out) throws UnsupportedEncodingException { m_os = out; // get 3 extra bytes to make buffer overflow checking simpler and faster // we won't have to keep checking for a few extra characters m_outputBytes = new byte[BYTES_MAX + 3]; // Big enough to hold the input chars that will be transformed // into output bytes in m_ouputBytes. m_inputChars = new char[CHARS_MAX + 2]; count = 0; // the old body of this constructor, before the buffersize was changed to a constant // this(out, 8*1024); } /** * Create an buffered UTF-8 writer to write data to the * specified underlying output stream with the specified buffer * size. * * @param out the underlying output stream. * @param size the buffer size. * @exception IllegalArgumentException if size <= 0. */ // public WriterToUTF8Buffered(final OutputStream out, final int size) // { // // m_os = out; // // if (size <= 0) // { // throw new IllegalArgumentException( // SerializerMessages.createMessage(SerializerErrorResources.ER_BUFFER_SIZE_LESSTHAN_ZERO, null)); //"Buffer size <= 0"); // } // // m_outputBytes = new byte[size]; // count = 0; // } /** * Write a single character. The character to be written is contained in * the 16 low-order bits of the given integer value; the 16 high-order bits * are ignored. * * <p> Subclasses that intend to support efficient single-character output * should override this method. * * @param c int specifying a character to be written. * @throws IOException If an I/O error occurs */ public void write(final int c) throws IOException { /* If we are close to the end of the buffer then flush it. * Remember the buffer can hold a few more bytes than BYTES_MAX */ if (count >= BYTES_MAX) { flushBuffer(); } if (c < 0x80) { m_outputBytes[count++] = (byte) (c); } else if (c < 0x800) { m_outputBytes[count++] = (byte) (0xc0 + (c >> 6)); m_outputBytes[count++] = (byte) (0x80 + (c & 0x3f)); } else if (c < 0x10000) { m_outputBytes[count++] = (byte) (0xe0 + (c >> 12)); m_outputBytes[count++] = (byte) (0x80 + ((c >> 6) & 0x3f)); m_outputBytes[count++] = (byte) (0x80 + (c & 0x3f)); } else { m_outputBytes[count++] = (byte) (0xf0 + (c >> 18)); m_outputBytes[count++] = (byte) (0x80 + ((c >> 12) & 0x3f)); m_outputBytes[count++] = (byte) (0x80 + ((c >> 6) & 0x3f)); m_outputBytes[count++] = (byte) (0x80 + (c & 0x3f)); } } /** * Write a portion of an array of characters. * * @param chars Array of characters * @param start Offset from which to start writing characters * @param length Number of characters to write * @throws IOException If an I/O error occurs */ public void write(final char chars[], final int start, final int length) throws java.io.IOException { // We multiply the length by three since this is the maximum length // of the characters that we can put into the buffer. It is possible // for each Unicode character to expand to three bytes. int lengthx3 = 3 * length; if (lengthx3 >= BYTES_MAX - count) { // The requested length is greater than the unused part of the buffer flushBuffer(); if (lengthx3 > BYTES_MAX) { /* * The requested length exceeds the size of the buffer. * Cut the buffer up into chunks, each of which will * not cause an overflow to the output buffer m_outputBytes, * and make multiple recursive calls. * Be careful about integer overflows in multiplication. */ int split = length / CHARS_MAX; final int chunks; if (length % CHARS_MAX > 0) { chunks = split + 1; } else { chunks = split; } int end_chunk = start; for (int chunk = 1; chunk <= chunks; chunk++) { int start_chunk = end_chunk; end_chunk = start + (int) ((((long) length) * chunk) / chunks); // Adjust the end of the chunk if it ends on a high char // of a Unicode surrogate pair and low char of the pair // is not going to be in the same chunk final char c = chars[end_chunk - 1]; int ic = chars[end_chunk - 1]; if (c >= 0xD800 && c <= 0xDBFF) { // The last Java char that we were going // to process is the first of a // Java surrogate char pair that // represent a Unicode character. if (end_chunk < start + length) { // Avoid spanning by including the low // char in the current chunk of chars. end_chunk++; } else { /* This is the last char of the last chunk, * and it is the high char of a high/low pair with * no low char provided. * TODO: error message needed. * The char array incorrectly ends in a high char * of a high/low surrogate pair, but there is * no corresponding low as the high is the last char */ end_chunk--; } } int len_chunk = (end_chunk - start_chunk); this.write(chars, start_chunk, len_chunk); } return; } } final int n = length + start; final byte[] buf_loc = m_outputBytes; // local reference for faster access int count_loc = count; // local integer for faster access int i = start; { /* This block could be omitted and the code would produce * the same result. But this block exists to give the JIT * a better chance of optimizing a tight and common loop which * occurs when writing out ASCII characters. */ char c; for (; i < n && (c = chars[i]) < 0x80; i++) { buf_loc[count_loc++] = (byte) c; } } for (; i < n; i++) { final char c = chars[i]; if (c < 0x80) { buf_loc[count_loc++] = (byte) (c); } else if (c < 0x800) { buf_loc[count_loc++] = (byte) (0xc0 + (c >> 6)); buf_loc[count_loc++] = (byte) (0x80 + (c & 0x3f)); } /** * The following else if condition is added to support XML 1.1 Characters for * UTF-8: [1111 0uuu] [10uu zzzz] [10yy yyyy] [10xx xxxx]* * Unicode: [1101 10ww] [wwzz zzyy] (high surrogate) * [1101 11yy] [yyxx xxxx] (low surrogate) * * uuuuu = wwww + 1 */ else if (c >= 0xD800 && c <= 0xDBFF) { char high, low; high = c; i++; low = chars[i]; buf_loc[count_loc++] = (byte) (0xF0 | (((high + 0x40) >> 8) & 0xf0)); buf_loc[count_loc++] = (byte) (0x80 | (((high + 0x40) >> 2) & 0x3f)); buf_loc[count_loc++] = (byte) (0x80 | ((low >> 6) & 0x0f) + ((high << 4) & 0x30)); buf_loc[count_loc++] = (byte) (0x80 | (low & 0x3f)); } else { buf_loc[count_loc++] = (byte) (0xe0 + (c >> 12)); buf_loc[count_loc++] = (byte) (0x80 + ((c >> 6) & 0x3f)); buf_loc[count_loc++] = (byte) (0x80 + (c & 0x3f)); } } // Store the local integer back into the instance variable count = count_loc; } /** * Write a string. * * @param s String to be written * @throws IOException If an I/O error occurs */ public void write(final String s) throws IOException { // We multiply the length by three since this is the maximum length // of the characters that we can put into the buffer. It is possible // for each Unicode character to expand to three bytes. final int length = s.length(); int lengthx3 = 3 * length; if (lengthx3 >= BYTES_MAX - count) { // The requested length is greater than the unused part of the buffer flushBuffer(); if (lengthx3 > BYTES_MAX) { /* * The requested length exceeds the size of the buffer, * so break it up in chunks that don't exceed the buffer size. */ final int start = 0; int split = length / CHARS_MAX; final int chunks; if (length % CHARS_MAX > 0) { chunks = split + 1; } else { chunks = split; } int end_chunk = 0; for (int chunk = 1; chunk <= chunks; chunk++) { int start_chunk = end_chunk; end_chunk = start + (int) ((((long) length) * chunk) / chunks); s.getChars(start_chunk, end_chunk, m_inputChars, 0); int len_chunk = (end_chunk - start_chunk); // Adjust the end of the chunk if it ends on a high char // of a Unicode surrogate pair and low char of the pair // is not going to be in the same chunk final char c = m_inputChars[len_chunk - 1]; if (c >= 0xD800 && c <= 0xDBFF) { // Exclude char in this chunk, // to avoid spanning a Unicode character // that is in two Java chars as a high/low surrogate end_chunk--; len_chunk--; if (chunk == chunks) { /* TODO: error message needed. * The String incorrectly ends in a high char * of a high/low surrogate pair, but there is * no corresponding low as the high is the last char * Recover by ignoring this last char. */ } } this.write(m_inputChars, 0, len_chunk); } return; } } s.getChars(0, length, m_inputChars, 0); final char[] chars = m_inputChars; final int n = length; final byte[] buf_loc = m_outputBytes; // local reference for faster access int count_loc = count; // local integer for faster access int i = 0; { /* This block could be omitted and the code would produce * the same result. But this block exists to give the JIT * a better chance of optimizing a tight and common loop which * occurs when writing out ASCII characters. */ char c; for (; i < n && (c = chars[i]) < 0x80; i++) { buf_loc[count_loc++] = (byte) c; } } for (; i < n; i++) { final char c = chars[i]; if (c < 0x80) { buf_loc[count_loc++] = (byte) (c); } else if (c < 0x800) { buf_loc[count_loc++] = (byte) (0xc0 + (c >> 6)); buf_loc[count_loc++] = (byte) (0x80 + (c & 0x3f)); } /** * The following else if condition is added to support XML 1.1 Characters for * UTF-8: [1111 0uuu] [10uu zzzz] [10yy yyyy] [10xx xxxx]* * Unicode: [1101 10ww] [wwzz zzyy] (high surrogate) * [1101 11yy] [yyxx xxxx] (low surrogate) * * uuuuu = wwww + 1 */ else if (c >= 0xD800 && c <= 0xDBFF) { char high, low; high = c; i++; low = chars[i]; buf_loc[count_loc++] = (byte) (0xF0 | (((high + 0x40) >> 8) & 0xf0)); buf_loc[count_loc++] = (byte) (0x80 | (((high + 0x40) >> 2) & 0x3f)); buf_loc[count_loc++] = (byte) (0x80 | ((low >> 6) & 0x0f) + ((high << 4) & 0x30)); buf_loc[count_loc++] = (byte) (0x80 | (low & 0x3f)); } else { buf_loc[count_loc++] = (byte) (0xe0 + (c >> 12)); buf_loc[count_loc++] = (byte) (0x80 + ((c >> 6) & 0x3f)); buf_loc[count_loc++] = (byte) (0x80 + (c & 0x3f)); } } // Store the local integer back into the instance variable count = count_loc; } /** * Flush the internal buffer */ public void flushBuffer() throws IOException { if (count > 0) { m_os.write(m_outputBytes, 0, count); count = 0; } } /** * Flush the stream. If the stream has saved any characters from the * various write() methods in a buffer, write them immediately to their * intended destination. Then, if that destination is another character or * byte stream, flush it. Thus one flush() invocation will flush all the * buffers in a chain of Writers and OutputStreams. * * @throws IOException If an I/O error occurs */ public void flush() throws java.io.IOException { flushBuffer(); m_os.flush(); } /** * Close the stream, flushing it first. Once a stream has been closed, * further write() or flush() invocations will cause an IOException to be * thrown. Closing a previously-closed stream, however, has no effect. * * @throws IOException If an I/O error occurs */ public void close() throws java.io.IOException { flushBuffer(); m_os.close(); } /** * Get the output stream where the events will be serialized to. * * @return reference to the result stream, or null of only a writer was set. */ public OutputStream getOutputStream() { return m_os; } public Writer getWriter() { // Only one of getWriter() or getOutputStream() can return null // This type of writer wraps an OutputStream, not a Writer. return null; } }
[ "yueny09@163.com" ]
yueny09@163.com
01485d497df5e2763e1a4366937925d4f342fb24
90ebbeccd207b2b288a85c315ecce83e83cfa61f
/app/src/main/java/Adapter/CreditNoteAdapter.java
37860d6569aad4c6c1ccb333b63b989824310adc
[]
no_license
rajeev1505/JSON99retailsolution27june
9cbf0db65416fce84862b3782676222654e0d586
d4369696b4b36029ef190564a1750bd5036769a0
refs/heads/master
2021-01-23T12:04:43.614030
2016-12-22T07:47:01
2016-12-22T07:47:01
62,326,744
0
0
null
null
null
null
UTF-8
Java
false
false
2,848
java
package Adapter; import android.content.Context; import android.text.TextWatcher; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageButton; import android.widget.TextView; import com.mycompany.apps.ActivitySalesbill; import com.mycompany.apps.ActivitySalesreturn; import com.mycompany.apps.R; import java.util.ArrayList; import Pojo.CreditNote; import Pojo.Customer; import Pojo.Sales; import Pojo.Salesreturndetail; /** * Created by shilpa on 30/4/16. */ public class CreditNoteAdapter extends ArrayAdapter<CreditNote> { private final int layoutResourceId; ActivitySalesbill activity; private LayoutInflater mInflater; public CreditNoteAdapter(ActivitySalesbill activity, int layoutResourceId, ArrayList<CreditNote> mcreditnotelist) { super(activity, layoutResourceId, mcreditnotelist); this.layoutResourceId = layoutResourceId; this.CreditNotelist = mcreditnotelist; this.activity = activity; this.mInflater = mInflater; } public void setCreditNotelist(ArrayList<CreditNote> creditNotelist) { this.CreditNotelist = creditNotelist; } private ArrayList<CreditNote> CreditNotelist; public int getCount() { if (CreditNotelist.size() < 0) return 1; return CreditNotelist.size(); } public CreditNote getItem(int position) { return CreditNotelist.get(position); } public long getItemId(int position) { //.getCustomermobileno(); return position; } public static class ViewHolder { public TextView billno; public TextView creditnotevalue; } public View getView(final int position, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { holder = new ViewHolder(); LayoutInflater mInflater = (LayoutInflater) activity.getSystemService(Context.LAYOUT_INFLATER_SERVICE); convertView = mInflater.inflate(R.layout.display_creditnote_row, parent, false); holder.billno = (TextView) convertView.findViewById(R.id.billno); // holder.creditnotevalue = (TextView) convertView.findViewById(R.id.creditamount_tv); convertView.setTag(holder); } else { holder = (ViewHolder) convertView.getTag(); } holder.billno.setText(CreditNotelist.get(position).getReturnInvoiceno()); // holder.creditnotevalue.setText(CreditNotelist.get(position).getCreditnotevalue()); return convertView; } }
[ "diwanraj15@gmail.com" ]
diwanraj15@gmail.com
c50a02d565a7ff51bd4d92f14cdfd75766124ecd
411a9b53b24a245d43fcbf8884900ac6890ebc12
/IoT-rest/src/main/java/cz/vutbr/feec/iot/rest/ApiEndpoints.java
daa665c12a235398c4283dfefd1e840867632b66
[]
no_license
SedaQ/IoT-parent
c8bce6c3293ea9c1e6be00810adf015c8723c1ef
19a500b3696ef74a1c82f393ef98f98d8075046b
refs/heads/master
2021-07-03T17:18:19.372467
2017-09-25T12:28:47
2017-09-25T12:28:47
104,290,392
0
0
null
null
null
null
UTF-8
Java
false
false
219
java
package cz.vutbr.feec.iot.rest; /** * @author Pavel Šeda * */ public class ApiEndpoints { public static final String BASE_URL = "/api/rest"; public static final String ROOT_URI_USERS = BASE_URL + "/users"; }
[ "xpsedap00@vutbr.cz" ]
xpsedap00@vutbr.cz
8eb329bde93bd744a2f6e3ed9868bb3a004d8674
0ad84c9bd6e83abd5cff0761c26a3d72f8a6e51c
/src/main/java/state/connection/StateCerrado.java
b1292b775f04de1be264650a23e029ee8e36f491
[]
no_license
dsmontoro/PD.ECP1
1daba68a287d3ccc39d5506e549a30375eb71540
49d8a2108457f644c594125b93e6b070f5462443
refs/heads/master
2021-01-10T12:21:59.506506
2015-10-18T10:59:55
2015-10-18T10:59:55
43,964,763
0
0
null
null
null
null
UTF-8
Java
false
false
935
java
package state.connection; public class StateCerrado extends State { private static final Estado estado = Estado.CERRADO; @Override public void abrir(Conexion conexion) { conexion.setState(new StatePreparado()); } @Override public void cerrar(Conexion conexion) { } @Override public void parar(Conexion conexion) { throw new UnsupportedOperationException("Acción no permitida... "); } @Override public void iniciar(Conexion conexion) { throw new UnsupportedOperationException("Acción no permitida... "); } @Override public void enviar(String msg, Conexion conexion) { throw new UnsupportedOperationException("Acción no permitida... "); } @Override public void recibir(int respuesta, Conexion conexion) { throw new UnsupportedOperationException("Acción no permitida... "); } @Override public Estado getEstado() { return estado; } }
[ "dsm@alumnos.upm.es" ]
dsm@alumnos.upm.es
5d6b7b667b823e0015f90796d5dacda4561ac7c3
047a34b168ae085a6cc4fa8ab2784f5755b45ad3
/src/main/java/com/tomas/messenger/presentation/model/request/MessageDetailsRequest.java
6e64148ef79ea6a0a462e92653d3ea6a561bfa02
[]
no_license
TomasKadlcek/MessengerAPI
a98a48974c7af815060bd307d434123525e33926
f8bb80fd190ad2fd7ec99f7d59c8ec4a901f2e13
refs/heads/main
2023-01-20T18:32:01.504159
2020-12-02T15:02:58
2020-12-02T15:02:58
317,868,283
1
0
null
null
null
null
UTF-8
Java
false
false
493
java
package com.tomas.messenger.presentation.model.request; public class MessageDetailsRequest { private String receiverUserId; private String message; public String getReceiverUserIdId() { return receiverUserId; } public void setReceiverUserId(String receiverId) { this.receiverUserId = receiverId; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } }
[ "kadlcek.tomas@gmail.com" ]
kadlcek.tomas@gmail.com
6ee315bda7d6a28aa47275bae154ac8ef9839e5d
182f4e1c795d4eab5ad5fd3a6eab11be3c4c2588
/src/main/java/com/github/crob1140/confluence/content/SortDirection.java
aca1f23ad88f5844587996f4e8bc6028b37129e9
[ "MIT" ]
permissive
jeansalama/confluence-java-client
3b1db66027d6ba57ac9f8e71e27f81d583763f53
7aed4f9eb7ceb0907e0e7a97d8b3c50066172143
refs/heads/master
2023-03-23T20:45:50.050828
2019-09-01T03:56:33
2019-09-01T03:56:33
null
0
0
null
null
null
null
UTF-8
Java
false
false
516
java
package com.github.crob1140.confluence.content; /** * This enumerable represents the possible directions that can be used in an order-by clause */ public enum SortDirection { ASCENDING("asc"), DESCENDING("desc"); private String identifier; SortDirection(String identifier) { this.identifier = identifier; } /** * This method returns the identifier for the direction. * * @return The identifier for the direction. */ public String getIdentifier() { return this.identifier; } }
[ "mail@cjrobertson.net" ]
mail@cjrobertson.net
79d91367ae5af900aa5951b2d8d25b7090f2e28c
6da41ff4cb5b2534711d7db3196573ba6f2c4195
/src/main/java/com/tkextraction/repository/CVRepository.java
aac4e2c7ada4a1fa92cc379170dbadf4c99461b3
[]
no_license
IliyaDimchoglo/TKExtraction
291db05b185a421e904e1c002e98d852c49711fa
ce396032b5792f266c2f029087546d420f932a3f
refs/heads/master
2023-07-08T06:43:51.046062
2021-08-10T12:05:58
2021-08-10T12:05:58
394,581,625
2
0
null
null
null
null
UTF-8
Java
false
false
416
java
package com.tkextraction.repository; import com.tkextraction.domain.CVEntity; import org.springframework.data.jpa.repository.JpaRepository; import java.util.Optional; import java.util.UUID; public interface CVRepository extends JpaRepository<CVEntity, UUID> { Optional<CVEntity> findByProcessIdAndUserUserName(Long processId, String userName); Optional<CVEntity> findByUserUserName(String userName); }
[ "iliya1292.d@gmail.com" ]
iliya1292.d@gmail.com
25743fb0f4b28e92cc10373ab1b3105443e0d0ff
1ecf6fcce9fa81cf42d31629b2ebecd4caf4444c
/uizabase/src/test/java/vn/uiza/restapi/restclient/BaseRestClientTest.java
ebd3bc173a7b258692bab65380bf59c553d8abfe
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
uizaio/uiza-android-sdk-player
a913b4ee5e47bb160583cc5c6cb015ca3c6134ea
dec7c2247ee1cfce604b6cbe1b2bb490559fdf02
refs/heads/master
2021-06-02T12:09:07.895425
2019-08-15T08:02:58
2019-08-15T08:02:58
131,246,500
11
14
BSD-2-Clause
2019-12-23T12:15:48
2018-04-27T04:43:58
Java
UTF-8
Java
false
false
918
java
package vn.uiza.restapi.restclient; import android.text.TextUtils; import org.junit.Before; import org.junit.Ignore; import org.junit.runner.RunWith; import org.powermock.api.mockito.PowerMockito; import org.powermock.core.classloader.annotations.PowerMockIgnore; import org.powermock.core.classloader.annotations.PrepareForTest; import org.powermock.modules.junit4.PowerMockRunner; @RunWith(PowerMockRunner.class) @PrepareForTest(TextUtils.class) @PowerMockIgnore("javax.net.ssl.*") @Ignore(value = "This is base class, and no testcase here") public class BaseRestClientTest { String validURL = "https://uiza.io"; String inValidURL = "uiza.io"; String authorizationHeader = "Authorization"; String accessToken = "AccessToken"; String testHeader = "TEST"; String testHeaderValue = "TEST_VALUE"; @Before public void setup() { PowerMockito.mockStatic(TextUtils.class); } }
[ "framgia@b120652-lt2.framgia.com" ]
framgia@b120652-lt2.framgia.com
0494b85e52d5f1a4625a829b54e393573ba4673a
5206a46484578ef65012285f205a0f3e4b97b541
/src/coders/quickbill/Dashboard.java
9759fe12d4f1b807f56607adaa38f609324ca6bd
[]
no_license
CodersTechnologies/Coders-QuickBill-2017
48eecdb79b0f861f167a3bad807bd77349c04561
7f04a8cddb6f9d153fef2de8a93d412ca93fddc6
refs/heads/master
2021-01-20T10:30:12.793260
2017-09-21T10:24:58
2017-09-21T10:24:58
101,639,018
2
0
null
null
null
null
UTF-8
Java
false
false
40,662
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 coders.quickbill; import javax.swing.JFrame; import java.awt.Color; import java.awt.HeadlessException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import javax.swing.ImageIcon; import static java.lang.Thread.sleep; import java.util.Calendar; import java.util.GregorianCalendar; import javax.swing.JOptionPane; import static java.lang.Thread.sleep; import java.sql.SQLException; /** * * @author sunny */ public class Dashboard extends javax.swing.JFrame { Connection conn=null; PreparedStatement pst=null; ResultSet rs=null; /** * Creates new form Dashboard */ public Dashboard() { initComponents(); this.setIconImage(new ImageIcon(getClass().getResource("QB_Icon-32x32.png")).getImage()); conn=javaconnect.ConnectDB(); } /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always * regenerated by the Form Editor. */ @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jPanel1 = new javax.swing.JPanel(); lblProductName = new javax.swing.JLabel(); jPanel2 = new javax.swing.JPanel(); lblUser = new javax.swing.JLabel(); lblProduct = new javax.swing.JLabel(); lblSales = new javax.swing.JLabel(); lblReports = new javax.swing.JLabel(); lblSalesAccount = new javax.swing.JLabel(); lblCustomers = new javax.swing.JLabel(); lblAbout = new javax.swing.JLabel(); lblDealersAccount = new javax.swing.JLabel(); lblLicenseDetails = new javax.swing.JLabel(); jMenuBar1 = new javax.swing.JMenuBar(); mnuCompany = new javax.swing.JMenu(); mnuManageCompanyDetails = new javax.swing.JMenuItem(); mnuProducts = new javax.swing.JMenu(); mnuDirectProductManagement = new javax.swing.JMenuItem(); jSeparator1 = new javax.swing.JPopupMenu.Separator(); mnuPurchaseReturn = new javax.swing.JMenuItem(); jSeparator2 = new javax.swing.JPopupMenu.Separator(); mnuPurchaseInward = new javax.swing.JMenuItem(); mnuSales = new javax.swing.JMenu(); mnuPosTerminal = new javax.swing.JMenuItem(); jSeparator3 = new javax.swing.JPopupMenu.Separator(); mnuSalesReturn = new javax.swing.JMenuItem(); mnuGST = new javax.swing.JMenu(); mnuGSTRatesManagement = new javax.swing.JMenuItem(); mnuReports = new javax.swing.JMenu(); mnuSalesAccount = new javax.swing.JMenu(); mnuCustomers = new javax.swing.JMenu(); mnuDealerAccount = new javax.swing.JMenu(); jMenu1 = new javax.swing.JMenu(); mnuAbout = new javax.swing.JMenu(); mnuAboutQuickBill2017 = new javax.swing.JMenuItem(); jSeparator4 = new javax.swing.JPopupMenu.Separator(); mnuDeveloperInfo = new javax.swing.JMenuItem(); mnuClose = new javax.swing.JMenu(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setTitle("Coders QuickBill 2017"); addWindowListener(new java.awt.event.WindowAdapter() { public void windowOpened(java.awt.event.WindowEvent evt) { formWindowOpened(evt); } }); jPanel1.setBackground(new java.awt.Color(40, 40, 40)); lblProductName.setFont(new java.awt.Font("Ubuntu", 1, 48)); // NOI18N lblProductName.setForeground(java.awt.Color.white); lblProductName.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); lblProductName.setIcon(new javax.swing.ImageIcon(getClass().getResource("/coders/images/ProductLogo.png"))); // NOI18N jPanel2.setBackground(new java.awt.Color(40, 40, 40)); lblUser.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N lblUser.setForeground(java.awt.Color.white); lblUser.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); lblUser.setIcon(new javax.swing.ImageIcon(getClass().getResource("/coders/images/manage_user.png"))); // NOI18N lblUser.setText("Company"); lblUser.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); lblUser.setPreferredSize(new java.awt.Dimension(135, 150)); lblUser.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); lblUser.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { lblUserMouseClicked(evt); } public void mouseEntered(java.awt.event.MouseEvent evt) { lblUserMouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { lblUserMouseExited(evt); } }); lblProduct.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N lblProduct.setForeground(java.awt.Color.white); lblProduct.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); lblProduct.setIcon(new javax.swing.ImageIcon(getClass().getResource("/coders/images/product.png"))); // NOI18N lblProduct.setText("Products"); lblProduct.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); lblProduct.setPreferredSize(new java.awt.Dimension(135, 150)); lblProduct.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); lblProduct.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { lblProductMouseClicked(evt); } public void mouseEntered(java.awt.event.MouseEvent evt) { lblProductMouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { lblProductMouseExited(evt); } }); lblSales.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N lblSales.setForeground(java.awt.Color.white); lblSales.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); lblSales.setIcon(new javax.swing.ImageIcon(getClass().getResource("/coders/images/sales.png"))); // NOI18N lblSales.setText("Sales"); lblSales.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); lblSales.setPreferredSize(new java.awt.Dimension(135, 150)); lblSales.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); lblSales.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { lblSalesMouseClicked(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { lblSalesMouseExited(evt); } public void mouseEntered(java.awt.event.MouseEvent evt) { lblSalesMouseEntered(evt); } }); lblReports.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N lblReports.setForeground(java.awt.Color.white); lblReports.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); lblReports.setIcon(new javax.swing.ImageIcon(getClass().getResource("/coders/images/data_table.png"))); // NOI18N lblReports.setText("Reports"); lblReports.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); lblReports.setPreferredSize(new java.awt.Dimension(135, 150)); lblReports.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); lblReports.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { lblReportsMouseClicked(evt); } public void mouseEntered(java.awt.event.MouseEvent evt) { lblReportsMouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { lblReportsMouseExited(evt); } }); lblSalesAccount.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N lblSalesAccount.setForeground(java.awt.Color.white); lblSalesAccount.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); lblSalesAccount.setIcon(new javax.swing.ImageIcon(getClass().getResource("/coders/images/notebook.png"))); // NOI18N lblSalesAccount.setText("Sales Account"); lblSalesAccount.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); lblSalesAccount.setPreferredSize(new java.awt.Dimension(135, 150)); lblSalesAccount.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); lblSalesAccount.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { lblSalesAccountMouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { lblSalesAccountMouseExited(evt); } }); lblCustomers.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N lblCustomers.setForeground(java.awt.Color.white); lblCustomers.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); lblCustomers.setIcon(new javax.swing.ImageIcon(getClass().getResource("/coders/images/Customer_Male_Light_128px_533992_easyiconnet.png"))); // NOI18N lblCustomers.setText("Customers"); lblCustomers.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); lblCustomers.setPreferredSize(new java.awt.Dimension(135, 150)); lblCustomers.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); lblCustomers.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { lblCustomersMouseClicked(evt); } public void mouseEntered(java.awt.event.MouseEvent evt) { lblCustomersMouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { lblCustomersMouseExited(evt); } }); lblAbout.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N lblAbout.setForeground(java.awt.Color.white); lblAbout.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); lblAbout.setIcon(new javax.swing.ImageIcon(getClass().getResource("/coders/images/help.png"))); // NOI18N lblAbout.setText("About"); lblAbout.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); lblAbout.setPreferredSize(new java.awt.Dimension(135, 150)); lblAbout.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); lblAbout.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseEntered(java.awt.event.MouseEvent evt) { lblAboutMouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { lblAboutMouseExited(evt); } }); lblDealersAccount.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N lblDealersAccount.setForeground(java.awt.Color.white); lblDealersAccount.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); lblDealersAccount.setIcon(new javax.swing.ImageIcon(getClass().getResource("/coders/images/dealer.png"))); // NOI18N lblDealersAccount.setText("Dealers"); lblDealersAccount.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); lblDealersAccount.setPreferredSize(new java.awt.Dimension(135, 150)); lblDealersAccount.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); lblDealersAccount.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { lblDealersAccountMouseClicked(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { lblDealersAccountMouseExited(evt); } public void mouseEntered(java.awt.event.MouseEvent evt) { lblDealersAccountMouseEntered(evt); } }); javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() .addContainerGap() .addComponent(lblUser, javax.swing.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE) .addGap(18, 18, 18) .addComponent(lblProduct, javax.swing.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE) .addGap(18, 18, 18) .addComponent(lblSales, javax.swing.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE) .addGap(18, 18, 18) .addComponent(lblReports, javax.swing.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE) .addGap(18, 18, 18) .addComponent(lblSalesAccount, javax.swing.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE) .addGap(18, 18, 18) .addComponent(lblCustomers, javax.swing.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE) .addGap(18, 18, 18) .addComponent(lblDealersAccount, javax.swing.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE) .addGap(18, 18, 18) .addComponent(lblAbout, javax.swing.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE) .addGap(6, 6, 6)) ); jPanel2Layout.setVerticalGroup( jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel2Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(lblProduct, javax.swing.GroupLayout.DEFAULT_SIZE, 171, Short.MAX_VALUE) .addComponent(lblUser, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(lblSales, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(lblReports, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(lblSalesAccount, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(lblCustomers, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(lblAbout, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(lblDealersAccount, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap()) ); lblLicenseDetails.setFont(new java.awt.Font("Ubuntu", 0, 14)); // NOI18N lblLicenseDetails.setForeground(java.awt.Color.white); lblLicenseDetails.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap() .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(lblLicenseDetails, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(lblProductName, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap()) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap() .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(102, 102, 102) .addComponent(lblProductName) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(lblLicenseDetails, javax.swing.GroupLayout.PREFERRED_SIZE, 17, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(98, Short.MAX_VALUE)) ); jMenuBar1.setBackground(new java.awt.Color(53, 53, 53)); jMenuBar1.setForeground(java.awt.Color.white); jMenuBar1.setFont(new java.awt.Font("Segoe UI", 0, 13)); // NOI18N mnuCompany.setText("Company"); mnuCompany.setFont(new java.awt.Font("Ubuntu", 0, 13)); // NOI18N mnuManageCompanyDetails.setText("Manage Company Details"); mnuManageCompanyDetails.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { mnuManageCompanyDetailsActionPerformed(evt); } }); mnuCompany.add(mnuManageCompanyDetails); jMenuBar1.add(mnuCompany); mnuProducts.setText("Purchase"); mnuProducts.setFont(new java.awt.Font("Ubuntu", 0, 13)); // NOI18N mnuProducts.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { mnuProductsMouseClicked(evt); } }); mnuDirectProductManagement.setText("Direct Product Management"); mnuDirectProductManagement.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { mnuDirectProductManagementActionPerformed(evt); } }); mnuProducts.add(mnuDirectProductManagement); mnuProducts.add(jSeparator1); mnuPurchaseReturn.setText("Purchase Return"); mnuPurchaseReturn.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { mnuPurchaseReturnMouseClicked(evt); } }); mnuProducts.add(mnuPurchaseReturn); mnuProducts.add(jSeparator2); mnuPurchaseInward.setText("Purchase Invoice"); mnuPurchaseInward.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { mnuPurchaseInwardActionPerformed(evt); } }); mnuProducts.add(mnuPurchaseInward); jMenuBar1.add(mnuProducts); mnuSales.setText("Sales"); mnuSales.setFont(new java.awt.Font("Ubuntu", 0, 13)); // NOI18N mnuSales.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { mnuSalesMouseClicked(evt); } }); mnuPosTerminal.setText("POS Terminal"); mnuPosTerminal.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { mnuPosTerminalActionPerformed(evt); } }); mnuSales.add(mnuPosTerminal); mnuSales.add(jSeparator3); mnuSalesReturn.setText("Sales Return"); mnuSalesReturn.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { mnuSalesReturnActionPerformed(evt); } }); mnuSales.add(mnuSalesReturn); jMenuBar1.add(mnuSales); mnuGST.setText("GST"); mnuGST.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { mnuGSTMouseClicked(evt); } }); mnuGSTRatesManagement.setText("GST Rates Management"); mnuGSTRatesManagement.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { mnuGSTRatesManagementActionPerformed(evt); } }); mnuGST.add(mnuGSTRatesManagement); jMenuBar1.add(mnuGST); mnuReports.setText("Reports"); mnuReports.setFont(new java.awt.Font("Ubuntu", 0, 13)); // NOI18N jMenuBar1.add(mnuReports); mnuSalesAccount.setText("Sales Account"); mnuSalesAccount.setFont(new java.awt.Font("Ubuntu", 0, 13)); // NOI18N jMenuBar1.add(mnuSalesAccount); mnuCustomers.setText("Customers"); mnuCustomers.setFont(new java.awt.Font("Ubuntu", 0, 13)); // NOI18N mnuCustomers.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { mnuCustomersMouseClicked(evt); } }); jMenuBar1.add(mnuCustomers); mnuDealerAccount.setText("Dealers"); mnuDealerAccount.setFont(new java.awt.Font("Ubuntu", 0, 13)); // NOI18N mnuDealerAccount.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { mnuDealerAccountMouseClicked(evt); } }); jMenuBar1.add(mnuDealerAccount); jMenu1.setText("T&C"); jMenu1.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { jMenu1MouseClicked(evt); } }); jMenuBar1.add(jMenu1); mnuAbout.setText("About"); mnuAbout.setFont(new java.awt.Font("Ubuntu", 0, 13)); // NOI18N mnuAboutQuickBill2017.setText("Coders Quickbill 2017"); mnuAboutQuickBill2017.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { mnuAboutQuickBill2017ActionPerformed(evt); } }); mnuAbout.add(mnuAboutQuickBill2017); mnuAbout.add(jSeparator4); mnuDeveloperInfo.setText("Developer Info"); mnuDeveloperInfo.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { mnuDeveloperInfoActionPerformed(evt); } }); mnuAbout.add(mnuDeveloperInfo); jMenuBar1.add(mnuAbout); mnuClose.setText("Close"); mnuClose.setFont(new java.awt.Font("Ubuntu", 0, 13)); // NOI18N mnuClose.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { mnuCloseMouseClicked(evt); } }); jMenuBar1.add(mnuClose); setJMenuBar(jMenuBar1); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) ); setSize(new java.awt.Dimension(1282, 584)); setLocationRelativeTo(null); }// </editor-fold>//GEN-END:initComponents //Program to get license details String Company; public void getLicenseDetails(){ try{ String sql="Select * from Company"; pst=conn.prepareStatement(sql); rs=pst.executeQuery(); if(rs.next()){ Company=rs.getString("c_name"); lblLicenseDetails.setText("Licensed to : "+Company); } pst.close(); } catch(SQLException e){ JOptionPane.showMessageDialog(null, e,"getLicenseDettails() Exception",JOptionPane.ERROR_MESSAGE); } } private void formWindowOpened(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowOpened // TODO add your handling code here: this.setExtendedState(JFrame.MAXIMIZED_BOTH); getLicenseDetails(); }//GEN-LAST:event_formWindowOpened private void mnuCloseMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_mnuCloseMouseClicked // TODO add your handling code here: System.exit(0); }//GEN-LAST:event_mnuCloseMouseClicked private void lblUserMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblUserMouseClicked // TODO add your handling code here: ManageCompany.getObj().setVisible(true); }//GEN-LAST:event_lblUserMouseClicked private void lblProductMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblProductMouseClicked // TODO add your handling code here: ManageProducts.getObj().setVisible(true); }//GEN-LAST:event_lblProductMouseClicked private void lblUserMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblUserMouseEntered // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/manage_user_hover.png")); lblUser.setIcon(II); }//GEN-LAST:event_lblUserMouseEntered private void lblUserMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblUserMouseExited // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/manage_user.png")); lblUser.setIcon(II); }//GEN-LAST:event_lblUserMouseExited private void lblProductMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblProductMouseEntered // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/product_hover.png")); lblProduct.setIcon(II); }//GEN-LAST:event_lblProductMouseEntered private void lblProductMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblProductMouseExited // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/product.png")); lblProduct.setIcon(II); }//GEN-LAST:event_lblProductMouseExited private void lblSalesMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblSalesMouseEntered // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/sales_hover.png")); lblSales.setIcon(II); }//GEN-LAST:event_lblSalesMouseEntered private void lblSalesMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblSalesMouseExited // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/sales.png")); lblSales.setIcon(II); }//GEN-LAST:event_lblSalesMouseExited private void lblReportsMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblReportsMouseEntered // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/data_table_hover.png")); lblReports.setIcon(II); }//GEN-LAST:event_lblReportsMouseEntered private void lblReportsMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblReportsMouseExited // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/data_table.png")); lblReports.setIcon(II); }//GEN-LAST:event_lblReportsMouseExited private void lblSalesAccountMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblSalesAccountMouseEntered // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/notebook_hover.png")); lblSalesAccount.setIcon(II); }//GEN-LAST:event_lblSalesAccountMouseEntered private void lblSalesAccountMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblSalesAccountMouseExited // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/notebook.png")); lblSalesAccount.setIcon(II); }//GEN-LAST:event_lblSalesAccountMouseExited private void lblCustomersMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblCustomersMouseEntered // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/Customer_Male_Light_128px_533992_easyiconnet_hover.png")); lblCustomers.setIcon(II); }//GEN-LAST:event_lblCustomersMouseEntered private void lblCustomersMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblCustomersMouseExited // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/Customer_Male_Light_128px_533992_easyiconnet.png")); lblCustomers.setIcon(II); }//GEN-LAST:event_lblCustomersMouseExited private void lblDealersAccountMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblDealersAccountMouseEntered // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/dealer_hover.png")); lblDealersAccount.setIcon(II); }//GEN-LAST:event_lblDealersAccountMouseEntered private void lblDealersAccountMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblDealersAccountMouseExited // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/dealer.png")); lblDealersAccount.setIcon(II); }//GEN-LAST:event_lblDealersAccountMouseExited private void lblAboutMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblAboutMouseEntered // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/help_hover.png")); lblAbout.setIcon(II); }//GEN-LAST:event_lblAboutMouseEntered private void lblAboutMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblAboutMouseExited // TODO add your handling code here: ImageIcon II=new ImageIcon(getClass().getResource("/coders/images/help.png")); lblAbout.setIcon(II); }//GEN-LAST:event_lblAboutMouseExited private void lblSalesMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblSalesMouseClicked // TODO add your handling code here: ManageSales.getObj().setVisible(true); //ManageSales ms=new ManageSales();ms.setVisible(true); }//GEN-LAST:event_lblSalesMouseClicked private void lblCustomersMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblCustomersMouseClicked // TODO add your handling code here: ManageCustomer.getObj().setVisible(true); }//GEN-LAST:event_lblCustomersMouseClicked private void mnuSalesMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_mnuSalesMouseClicked // TODO add your handling code here: }//GEN-LAST:event_mnuSalesMouseClicked private void mnuProductsMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_mnuProductsMouseClicked // TODO add your handling code here: }//GEN-LAST:event_mnuProductsMouseClicked private void mnuCustomersMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_mnuCustomersMouseClicked // TODO add your handling code here: ManageCustomer.getObj().setVisible(true); }//GEN-LAST:event_mnuCustomersMouseClicked private void lblReportsMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblReportsMouseClicked // TODO add your handling code here: Reports.getObj().setVisible(true); }//GEN-LAST:event_lblReportsMouseClicked private void mnuPurchaseInwardActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuPurchaseInwardActionPerformed // TODO add your handling code here: PurchaseInvoice.getObj().setVisible(true); }//GEN-LAST:event_mnuPurchaseInwardActionPerformed private void mnuDirectProductManagementActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuDirectProductManagementActionPerformed // TODO add your handling code here: ManageProducts.getObj().setVisible(true); }//GEN-LAST:event_mnuDirectProductManagementActionPerformed private void mnuPosTerminalActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuPosTerminalActionPerformed // TODO add your handling code here: ManageSales.getObj().setVisible(true); }//GEN-LAST:event_mnuPosTerminalActionPerformed private void mnuManageCompanyDetailsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuManageCompanyDetailsActionPerformed // TODO add your handling code here: ManageCompany.getObj().setVisible(true); }//GEN-LAST:event_mnuManageCompanyDetailsActionPerformed private void mnuGSTMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_mnuGSTMouseClicked // TODO add your handling code here: }//GEN-LAST:event_mnuGSTMouseClicked private void mnuPurchaseReturnMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_mnuPurchaseReturnMouseClicked // TODO add your handling code here: }//GEN-LAST:event_mnuPurchaseReturnMouseClicked private void mnuSalesReturnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuSalesReturnActionPerformed // TODO add your handling code here: }//GEN-LAST:event_mnuSalesReturnActionPerformed private void mnuGSTRatesManagementActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuGSTRatesManagementActionPerformed // TODO add your handling code here: GSTRatesManagement.getObj().setVisible(true); }//GEN-LAST:event_mnuGSTRatesManagementActionPerformed private void lblDealersAccountMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblDealersAccountMouseClicked // TODO add your handling code here: ManageDealer.getObj().setVisible(true); }//GEN-LAST:event_lblDealersAccountMouseClicked private void mnuDeveloperInfoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuDeveloperInfoActionPerformed // TODO add your handling code here: DeveloperInfo di=new DeveloperInfo(); di.setVisible(true); }//GEN-LAST:event_mnuDeveloperInfoActionPerformed private void mnuAboutQuickBill2017ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_mnuAboutQuickBill2017ActionPerformed // TODO add your handling code here: AboutQuickbill aqb=new AboutQuickbill(); aqb.setVisible(true); }//GEN-LAST:event_mnuAboutQuickBill2017ActionPerformed private void mnuDealerAccountMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_mnuDealerAccountMouseClicked // TODO add your handling code here: ManageDealer md=new ManageDealer(); md.setVisible(true); }//GEN-LAST:event_mnuDealerAccountMouseClicked private void jMenu1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jMenu1MouseClicked // TODO add your handling code here: TermsAndConditions tc=new TermsAndConditions(); tc.setVisible(true); }//GEN-LAST:event_jMenu1MouseClicked /** * @param args the command line arguments */ public static void main(String args[]) { /* Set the Nimbus look and feel */ //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html */ try { for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { if ("Nimbus".equals(info.getName())) { javax.swing.UIManager.setLookAndFeel(info.getClassName()); break; } } } catch (ClassNotFoundException ex) { java.util.logging.Logger.getLogger(Dashboard.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (InstantiationException ex) { java.util.logging.Logger.getLogger(Dashboard.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (IllegalAccessException ex) { java.util.logging.Logger.getLogger(Dashboard.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } catch (javax.swing.UnsupportedLookAndFeelException ex) { java.util.logging.Logger.getLogger(Dashboard.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); } //</editor-fold> /* Create and display the form */ java.awt.EventQueue.invokeLater(new Runnable() { public void run() { try{ Thread.sleep(4500); } catch(Exception e){ } new Dashboard().setVisible(true); } }); } // Variables declaration - do not modify//GEN-BEGIN:variables private javax.swing.JMenu jMenu1; private javax.swing.JMenuBar jMenuBar1; private javax.swing.JPanel jPanel1; private javax.swing.JPanel jPanel2; private javax.swing.JPopupMenu.Separator jSeparator1; private javax.swing.JPopupMenu.Separator jSeparator2; private javax.swing.JPopupMenu.Separator jSeparator3; private javax.swing.JPopupMenu.Separator jSeparator4; private javax.swing.JLabel lblAbout; private javax.swing.JLabel lblCustomers; private javax.swing.JLabel lblDealersAccount; private javax.swing.JLabel lblLicenseDetails; private javax.swing.JLabel lblProduct; private javax.swing.JLabel lblProductName; private javax.swing.JLabel lblReports; private javax.swing.JLabel lblSales; private javax.swing.JLabel lblSalesAccount; private javax.swing.JLabel lblUser; private javax.swing.JMenu mnuAbout; private javax.swing.JMenuItem mnuAboutQuickBill2017; private javax.swing.JMenu mnuClose; private javax.swing.JMenu mnuCompany; private javax.swing.JMenu mnuCustomers; private javax.swing.JMenu mnuDealerAccount; private javax.swing.JMenuItem mnuDeveloperInfo; private javax.swing.JMenuItem mnuDirectProductManagement; private javax.swing.JMenu mnuGST; private javax.swing.JMenuItem mnuGSTRatesManagement; private javax.swing.JMenuItem mnuManageCompanyDetails; private javax.swing.JMenuItem mnuPosTerminal; private javax.swing.JMenu mnuProducts; private javax.swing.JMenuItem mnuPurchaseInward; private javax.swing.JMenuItem mnuPurchaseReturn; private javax.swing.JMenu mnuReports; private javax.swing.JMenu mnuSales; private javax.swing.JMenu mnuSalesAccount; private javax.swing.JMenuItem mnuSalesReturn; // End of variables declaration//GEN-END:variables }
[ "sunny@sunny-Inspiron-N5050" ]
sunny@sunny-Inspiron-N5050
bcf91dcd45400638ff50015f4dfd255245a51e25
13c2d3db2d49c40c74c2e6420a9cd89377f1c934
/program_data/JavaProgramData/63/1957.java
3979e586e189ba370a328f42f9a631a6eec9e555
[ "MIT" ]
permissive
qiuchili/ggnn_graph_classification
c2090fefe11f8bf650e734442eb96996a54dc112
291ff02404555511b94a4f477c6974ebd62dcf44
refs/heads/master
2021-10-18T14:54:26.154367
2018-10-21T23:34:14
2018-10-21T23:34:14
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,214
java
package <missing>; public class GlobalMembers { public static int Main() { int[][] a = new int[100][100]; int[][] b = new int[100][100]; int x1; int y1; int x2; int y2; int x3; int y3; int c; int d; int[][] e = new int[100][100]; char i; String tempVar = ConsoleInput.scanfRead(); if (tempVar != null) { x1 = Integer.parseInt(tempVar); } String tempVar2 = ConsoleInput.scanfRead(" "); if (tempVar2 != null) { y1 = Integer.parseInt(tempVar2); } for (c = 0;c <= x1 - 1;c++) { for (d = 0;d <= y1 - 1;d++) { String tempVar3 = ConsoleInput.scanfRead(); if (tempVar3 != null) { a[c][d] = Integer.parseInt(tempVar3); } String tempVar4 = ConsoleInput.scanfRead(null, 1); if (tempVar4 != null) { i = tempVar4.charAt(0); } if (i != ' ') { break; } else { ; } } } String tempVar5 = ConsoleInput.scanfRead(); if (tempVar5 != null) { x2 = Integer.parseInt(tempVar5); } String tempVar6 = ConsoleInput.scanfRead(" "); if (tempVar6 != null) { y2 = Integer.parseInt(tempVar6); } for (c = 0;c <= x2 - 1;c++) { for (d = 0;d <= y2 - 1;d++) { String tempVar7 = ConsoleInput.scanfRead(); if (tempVar7 != null) { b[c][d] = Integer.parseInt(tempVar7); } String tempVar8 = ConsoleInput.scanfRead(null, 1); if (tempVar8 != null) { i = tempVar8.charAt(0); } if (i != ' ') { break; } else { ; } } } x3 = x1; y3 = y2; // printf("%d\n",a[0][4]); for (c = 0;c <= x3 - 1;c++) { for (d = 0;d <= y3 - 1;d++) { e[c][d] = 0; for (i = 0;i <= x2 - 1;i++) { e[c][d] = e[c][d] + a[c][i] * b[i][d]; //printf("%d %d %d\n",i,c,d); //printf("%d %d %d\n",a[c][i],b[i][d],e[c][d]); } } } for (c = 0;c <= x3 - 1;c++) { for (d = 0;d <= y3 - 2;d++) { System.out.printf("%d ",e[c][d]); } System.out.printf("%d\n",e[c][y3 - 1]); } //printf("%d",e[0][1]); } }
[ "y.yu@open.ac.uk" ]
y.yu@open.ac.uk
89bcb2bbb61738b0118221153412c95c9d9e73e7
0c669c238f7106566f275b24549932f127e69f56
/app/src/main/java/com/jinhui/androidprojecthelper/base/baseadapter/ScaleInAnimation.java
805981c123c1dc7fefc097c9e9910ffb4cf96383
[]
no_license
jimmyleung/AndroidProjectHelper
28cfb74a9bcb7eb2efdf7ca7b04f0807c1b3bd53
e0f60a66514cd9b6abf0464e7f8500120abde240
refs/heads/master
2020-05-02T18:41:48.449758
2018-09-22T08:14:22
2018-09-22T08:14:22
null
0
0
null
null
null
null
UTF-8
Java
false
false
708
java
package com.jinhui.androidprojecthelper.base.baseadapter; import android.animation.Animator; import android.animation.ObjectAnimator; import android.view.View; public class ScaleInAnimation implements BaseAnimation { private static final float DEFAULT_SCALE_FROM = .5f; private final float mFrom; public ScaleInAnimation() { this(DEFAULT_SCALE_FROM); } public ScaleInAnimation(float from) { mFrom = from; } @Override public Animator[] getAnimators(View view) { ObjectAnimator scaleX = ObjectAnimator.ofFloat(view, "scaleX", mFrom, 1f); ObjectAnimator scaleY = ObjectAnimator.ofFloat(view, "scaleY", mFrom, 1f); return new ObjectAnimator[] { scaleX, scaleY }; } }
[ "1004260403@qq.com" ]
1004260403@qq.com
4fe322fedc156b0297a222ab8bd7b1021a3f4fbd
5b20d9882c6b42bc5f30bf42414cd2a734e30fd5
/FakeSearchView/app/src/main/java/com/github/leonardoxh/fakesearchview/FakeSearchView.java
dc60a16d3b0b58b70777d162438ed1622c73344f
[ "Apache-2.0" ]
permissive
longtaoge/FakeSearchView
bc1944ab5e60060cc9261638ec4a50eb32920a85
219efac5cbf5002d9d32eac03f0508418d784fd5
refs/heads/master
2021-01-18T13:18:57.440087
2015-04-22T14:45:25
2015-04-22T14:45:25
34,391,691
1
0
null
2015-04-22T13:24:01
2015-04-22T13:24:01
null
UTF-8
Java
false
false
3,786
java
/* * Copyright 2015 Leonardo Rossetto * * 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.github.leonardoxh.fakesearchview; import android.annotation.TargetApi; import android.content.Context; import android.text.Editable; import android.text.TextWatcher; import android.util.AttributeSet; import android.util.Log; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; import android.widget.EditText; import android.widget.FrameLayout; import android.widget.TextView; /** * The main lib actor this is a custom FrameLayout * wrapper with an EditText with a simple interface to perform the search * it collects the user input and pass to an Activity or a Fragment or where you need * * @author Leonardo Rossetto */ public class FakeSearchView extends FrameLayout implements TextWatcher, TextView.OnEditorActionListener { private OnSearchListener searchListener; public FakeSearchView(Context context, AttributeSet attrs) { super(context, attrs); init(context); } public FakeSearchView(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); init(context); } @TargetApi(21) public FakeSearchView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { super(context, attrs, defStyleAttr, defStyleRes); init(context); } public FakeSearchView(Context context) { super(context); init(context); } public void setOnSearchListener(OnSearchListener searchListener) { this.searchListener = searchListener; } /** * Inflate the layout to this FrameLayout wrapper * @param context */ private void init(Context context) { View view = LayoutInflater.from(context).inflate(R.layout.fake_search_view, this, true); EditText wrappedEditText = (EditText) view.findViewById(R.id.wrapped_search); wrappedEditText.addTextChangedListener(this); wrappedEditText.setOnEditorActionListener(this); } @Override public void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) { } @Override public void onTextChanged(CharSequence charSequence, int i, int i2, int i3) { if (searchListener != null) { searchListener.onSearch(charSequence); } else { Log.w(getClass().getName(), "SearchListener == null"); } } @Override public void afterTextChanged(Editable editable) { } @Override public boolean onEditorAction(TextView textView, int i, KeyEvent keyEvent) { if (searchListener != null) { searchListener.onSearchHint(textView.getText()); } else { Log.w(getClass().getName(), "SearchListener == null"); } return true; } /** * This interface is an custom method to wrapp the * TextWatcher implementation and provide the search constraint * * @author Leonardo Rossetto */ public interface OnSearchListener { /** * This method is called every time the EditText change it content * @param constraint the current input data */ void onSearch(CharSequence constraint); /** * This method is called when the user press the search button on the keyboard * @param constraint the current input data */ void onSearchHint(CharSequence constraint); } }
[ "leonardoxh@gmail.com" ]
leonardoxh@gmail.com
5042448a0d0475aa2da46528b7a08f65d04dcf0d
5f82aae041ab05a5e6c3d9ddd8319506191ab055
/Projects/Math/105/src/test/org/apache/commons/math/stat/descriptive/SummaryStatisticsImplTest.java
a57202933b987e97b34c848f071f98b8a33a88e2
[]
no_license
lingming/prapr_data
e9ddabdf971451d46f1ef2cdbee15ce342a6f9dc
be9ababc95df45fd66574c6af01122ed9df3db5d
refs/heads/master
2023-08-14T20:36:23.459190
2021-10-17T13:49:39
2021-10-17T13:49:39
null
0
0
null
null
null
null
UTF-8
Java
false
false
8,558
java
/* * Copyright 2003-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.commons.math.stat.descriptive; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.apache.commons.math.TestUtils; /** * Test cases for the {@link DescriptiveStatistics} class. * * @version $Revision$ $Date$ */ public final class SummaryStatisticsImplTest extends TestCase { private double one = 1; private float twoF = 2; private long twoL = 2; private int three = 3; private double mean = 2; private double sumSq = 18; private double sum = 8; private double var = 0.666666666666666666667; private double std = Math.sqrt(var); private double n = 4; private double min = 1; private double max = 3; private double tolerance = 10E-15; protected SummaryStatistics u = null; public SummaryStatisticsImplTest(String name) { super(name); } public void setUp() { u = SummaryStatistics.newInstance(); } public static Test Norun() { TestSuite suite = new TestSuite(SummaryStatisticsImplTest.class); suite.setName("Frequency Tests"); return suite; } /** test stats */ public void testStats() { assertEquals("total count",0,u.getN(),tolerance); u.addValue(one); u.addValue(twoF); u.addValue(twoL); u.addValue(three); assertEquals("N",n,u.getN(),tolerance); assertEquals("sum",sum,u.getSum(),tolerance); assertEquals("sumsq",sumSq,u.getSumsq(),tolerance); assertEquals("var",var,u.getVariance(),tolerance); assertEquals("std",std,u.getStandardDeviation(),tolerance); assertEquals("mean",mean,u.getMean(),tolerance); assertEquals("min",min,u.getMin(),tolerance); assertEquals("max",max,u.getMax(),tolerance); u.clear(); assertEquals("total count",0,u.getN(),tolerance); } public void testN0andN1Conditions() throws Exception { assertTrue("Mean of n = 0 set should be NaN", Double.isNaN( u.getMean() ) ); assertTrue("Standard Deviation of n = 0 set should be NaN", Double.isNaN( u.getStandardDeviation() ) ); assertTrue("Variance of n = 0 set should be NaN", Double.isNaN(u.getVariance() ) ); /* n=1 */ u.addValue(one); assertTrue("mean should be one (n = 1)", u.getMean() == one); assertTrue("geometric should be one (n = 1) instead it is " + u.getGeometricMean(), u.getGeometricMean() == one); assertTrue("Std should be zero (n = 1)", u.getStandardDeviation() == 0.0); assertTrue("variance should be zero (n = 1)", u.getVariance() == 0.0); /* n=2 */ u.addValue(twoF); assertTrue("Std should not be zero (n = 2)", u.getStandardDeviation() != 0.0); assertTrue("variance should not be zero (n = 2)", u.getVariance() != 0.0); } public void testProductAndGeometricMean() throws Exception { u.addValue( 1.0 ); u.addValue( 2.0 ); u.addValue( 3.0 ); u.addValue( 4.0 ); assertEquals( "Geometric mean not expected", 2.213364, u.getGeometricMean(), 0.00001 ); } public void testNaNContracts() { double nan = Double.NaN; assertTrue("mean not NaN",Double.isNaN(u.getMean())); assertTrue("min not NaN",Double.isNaN(u.getMin())); assertTrue("std dev not NaN",Double.isNaN(u.getStandardDeviation())); assertTrue("var not NaN",Double.isNaN(u.getVariance())); assertTrue("geom mean not NaN",Double.isNaN(u.getGeometricMean())); u.addValue(1.0); assertEquals( "mean not expected", 1.0, u.getMean(), Double.MIN_VALUE); assertEquals( "variance not expected", 0.0, u.getVariance(), Double.MIN_VALUE); assertEquals( "geometric mean not expected", 1.0, u.getGeometricMean(), Double.MIN_VALUE); u.addValue(-1.0); assertTrue("geom mean not NaN",Double.isNaN(u.getGeometricMean())); u.addValue(0.0); assertTrue("geom mean not NaN",Double.isNaN(u.getGeometricMean())); //FiXME: test all other NaN contract specs } public void testGetSummary() { StatisticalSummary summary = u.getSummary(); verifySummary(summary); u.addValue(1d); summary = u.getSummary(); verifySummary(summary); u.addValue(2d); summary = u.getSummary(); verifySummary(summary); u.addValue(2d); summary = u.getSummary(); verifySummary(summary); } public void testSerialization() { // Empty test TestUtils.checkSerializedEquality(u); SummaryStatistics s = (SummaryStatistics) TestUtils.serializeAndRecover(u); StatisticalSummary summary = s.getSummary(); verifySummary(summary); // Add some data u.addValue(2d); u.addValue(1d); u.addValue(3d); u.addValue(4d); u.addValue(5d); // Test again TestUtils.checkSerializedEquality(u); s = (SummaryStatistics) TestUtils.serializeAndRecover(u); summary = s.getSummary(); verifySummary(summary); } public void testEqualsAndHashCode() { SummaryStatistics t = null; int emptyHash = u.hashCode(); assertTrue("reflexive", u.equals(u)); assertFalse("non-null compared to null", u.equals(t)); assertFalse("wrong type", u.equals(new Double(0))); t = SummaryStatistics.newInstance(); assertTrue("empty instances should be equal", t.equals(u)); assertTrue("empty instances should be equal", u.equals(t)); assertEquals("empty hash code", emptyHash, t.hashCode()); // Add some data to u u.addValue(2d); u.addValue(1d); u.addValue(3d); u.addValue(4d); assertFalse("different n's should make instances not equal", t.equals(u)); assertFalse("different n's should make instances not equal", u.equals(t)); assertTrue("different n's should make hashcodes different", u.hashCode() != t.hashCode()); //Add data in different order to t, should not affect identity or hashcode t.addValue(4d); t.addValue(2d); t.addValue(3d); t.addValue(1d); assertTrue("summaries based on same data should be equal", t.equals(u)); assertTrue("summaries based on same data should be equal", u.equals(t)); assertEquals("summaries based on same data should have same hashcodes", u.hashCode(), t.hashCode()); // Clear and make sure summaries are indistinguishable from empty summary u.clear(); t.clear(); assertTrue("empty instances should be equal", t.equals(u)); assertTrue("empty instances should be equal", u.equals(t)); assertEquals("empty hash code", emptyHash, t.hashCode()); assertEquals("empty hash code", emptyHash, u.hashCode()); } private void verifySummary(StatisticalSummary s) { assertEquals("N",s.getN(),u.getN()); TestUtils.assertEquals("sum",s.getSum(),u.getSum(),tolerance); TestUtils.assertEquals("var",s.getVariance(),u.getVariance(),tolerance); TestUtils.assertEquals("std",s.getStandardDeviation(),u.getStandardDeviation(),tolerance); TestUtils.assertEquals("mean",s.getMean(),u.getMean(),tolerance); TestUtils.assertEquals("min",s.getMin(),u.getMin(),tolerance); TestUtils.assertEquals("max",s.getMax(),u.getMax(),tolerance); } }
[ "2890268106@qq.com" ]
2890268106@qq.com
7954fb1f54249b0ed8463730abf271bff70d1e5f
8f8f22d23c049015162ac38b3308a376fe57e25b
/modules/core/src/main/java/cgl/iotcloud/core/sensor/SCSensorUtils.java
59c639ef189da8088ab5d406946169c722f1ee07
[]
no_license
kouweizhong/IoTCloud
9b7470fa518c3845eb02d8763d2ae8fdca1b5a1d
8e6e0b6d4c1d81facfe0539eab28bfdc17a4bcf7
refs/heads/master
2020-03-26T10:51:56.431517
2018-02-25T16:18:58
2018-02-25T16:18:58
null
0
0
null
null
null
null
UTF-8
Java
false
false
7,318
java
package cgl.iotcloud.core.sensor; import cgl.iotcloud.core.Constants; import cgl.iotcloud.core.IOTRuntimeException; import cgl.iotcloud.core.endpoint.JMSEndpoint; import cgl.iotcloud.core.endpoint.StreamingEndpoint; import com.iotcloud.sensorInfo.xsd.*; import com.iotcloud.sensorInfo.xsd.Endpoint; import com.iotcloud.sensorInfo.xsd.Sensor; import org.apache.xmlbeans.XmlException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Utility class for converting sensor */ public class SCSensorUtils { private static Logger log = LoggerFactory.getLogger(SCSensorUtils.class); public static String convertToString(List<SCSensor> sensors) { AllSensorsDocument document = AllSensorsDocument.Factory.newInstance(); AllSensorsDocument.AllSensors allSensors = document.addNewAllSensors(); Sensor []sensorArray = new Sensor[sensors.size()]; for (int i = 0; i < sensors.size(); i++) { sensorArray[i] = convertToXML(sensors.get(i)); } if (sensors.size() > 0) { allSensors.setSensorArray(sensorArray); } return document.toString(); } public static String convertToString(SCSensor sensor) { SensorInfoDocument document = SensorInfoDocument.Factory.newInstance(); Sensor s = convertToXML(sensor); document.setSensorInfo(s); return document.toString(); } private static Sensor convertToXML(SCSensor sensor) { Sensor sensorInfo = Sensor.Factory.newInstance(); sensorInfo.setName(sensor.getName()); sensorInfo.setType(sensor.getType()); sensorInfo.setId(sensor.getId()); Endpoint controlEndpoint = sensorInfo.addNewControlEndpoint(); Endpoint dataEndpoint = sensorInfo.addNewDataEndpoint(); Endpoint updateEndpoint = sensorInfo.addNewUpdateEndpoint(); cgl.iotcloud.core.Endpoint epr = sensor.getControlEndpoint(); controlEndpoint.setAddress(epr.getAddress()); Properties properties = controlEndpoint.addNewProperties(); for (Map.Entry<String, String> e : epr.getProperties().entrySet()) { Property property = properties.addNewProperty(); property.setName(e.getKey()); property.setStringValue(e.getValue()); } epr = sensor.getDataEndpoint(); dataEndpoint.setAddress(epr.getAddress()); properties = dataEndpoint.addNewProperties(); for (Map.Entry<String, String> e : epr.getProperties().entrySet()) { Property property = properties.addNewProperty(); property.setName(e.getKey()); property.setStringValue(e.getValue()); } epr = sensor.getUpdateEndpoint(); updateEndpoint.setAddress(epr.getAddress()); properties = updateEndpoint.addNewProperties(); for (Map.Entry<String, String> e : epr.getProperties().entrySet()) { Property property = properties.addNewProperty(); property.setName(e.getKey()); property.setStringValue(e.getValue()); } return sensorInfo; } public static List<SCSensor> convertToSensors(InputStream in) { try { AllSensorsDocument document = AllSensorsDocument.Factory.parse(in); List<SCSensor> ss = new ArrayList<SCSensor>(); Sensor sensors[] = document.getAllSensors().getSensorArray(); for (Sensor s : sensors) { ss.add(convertToSensor(s)); } return ss; } catch (XmlException e) { handleException("Invalid XML returned", e); } catch (IOException e) { handleException("Error reading the XML from the input stream", e); } return null; } public static List<SCSensor> convertToSensors(String string) { try { AllSensorsDocument document = AllSensorsDocument.Factory.parse(string); List<SCSensor> ss = new ArrayList<SCSensor>(); Sensor sensors[] = document.getAllSensors().getSensorArray(); for (Sensor s : sensors) { ss.add(convertToSensor(s)); } return ss; } catch (XmlException e) { handleException("Invalid XML returned", e); } return null; } public static SCSensor convertToSensor(InputStream in) { try { SensorInfoDocument document = SensorInfoDocument.Factory.parse(in); return convertToSensor(document.getSensorInfo()); } catch (XmlException e) { handleException("Failed to convert the text to a XML", e); } catch (IOException e) { handleException("Error reading the XML from the input stream", e); } return null; } public static SCSensor convertToSensor(String string) { try { SensorInfoDocument document = SensorInfoDocument.Factory.parse(string); return convertToSensor(document.getSensorInfo()); } catch (XmlException e) { handleException("Failed to convert the text to a XML", e); } return null; } public static SCSensor convertToSensor(Sensor xmlSensor) { SCSensor sensor = new SCSensor(xmlSensor.getName()); sensor.setId(xmlSensor.getId()); sensor.setType(xmlSensor.getType()); cgl.iotcloud.core.Endpoint epr; if (sensor.getType().equals(Constants.SENSOR_TYPE_BLOCK)) { epr = convertToEndpoint(xmlSensor.getDataEndpoint(), 0); sensor.setDataEndpoint(epr); } else if (sensor.getType().equals(Constants.SENSOR_TYPE_STREAMING)) { epr = convertToEndpoint(xmlSensor.getDataEndpoint(), 1); sensor.setDataEndpoint(epr); } if (xmlSensor.getControlEndpoint() != null) { epr = convertToEndpoint(xmlSensor.getControlEndpoint(), 0); sensor.setControlEndpoint(epr); } if (xmlSensor.getUpdateEndpoint() != null) { epr = convertToEndpoint(xmlSensor.getUpdateEndpoint(), 0); sensor.setUpdateEndpoint(epr); } return sensor; } private static cgl.iotcloud.core.Endpoint convertToEndpoint(Endpoint endpoint, int type) { cgl.iotcloud.core.Endpoint epr; if (type == 0) { epr = new JMSEndpoint(); } else if (type == 1) { epr = new StreamingEndpoint(); } else { handleException(""); return null; } epr.setAddress(endpoint.getAddress()); Properties properties = endpoint.getProperties(); Map<String, String> props = new HashMap<String, String>(); for (Property p : properties.getPropertyArray()) { props.put(p.getName(), p.getStringValue()); } epr.setProperties(props); return epr; } private static void handleException(String s, Exception e) { log.error(s, e); throw new IOTRuntimeException(s, e); } private static void handleException(String s) { log.error(s); throw new IOTRuntimeException(s); } }
[ "supun06@gmail.com" ]
supun06@gmail.com
964f83615fd0d4fb5f34273a4b8d065794aa570b
371a934133856754c09afd654e52e0a739eb432a
/src/main/java/MathQuestion/core/QuestionCore.java
96f612f88d6e68ace750e3d4a014485bad2cad67
[]
no_license
fudannlp16/MathQuestion
21f167ecb7e515dd7a4bb77e423d31db21559657
243989d67f94f711c4f4e437f5f52e18e3cd4286
refs/heads/master
2021-06-15T02:04:15.540014
2017-03-12T10:53:00
2017-03-12T10:53:00
84,396,369
1
0
null
null
null
null
UTF-8
Java
false
false
3,509
java
package MathQuestion.core; /** * Created by liuxiaoyu on 16-11-6. */ import MathQuestion.tntity.ResultEntity; import MathQuestion.fencheng.fenchengReg; import MathQuestion.tntity.EQ; import MathQuestion.tntity.SO; import java.util.List; /** * 概率题目分成抽样语义标签提取 */ public class QuestionCore { /** * 获取分成抽样题目XML标签 * @param q1 * @return */ public static String getXML(String q1,String resources) { String q=q1.split("\n")[0]; Q1Analysis q1Analysis=new Q1Analysis(resources); ResultEntity stratificationSampling=new fenchengReg(resources).getResult(q1); String result="<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; result+="<Stratification>\n"; result+=" <TS>\n"; result+=" <name>"+stratificationSampling.getTSName()+"</name>\n"; result+=" <quantity>"+stratificationSampling.getQuantity()+"</quantity>\n"; result+=" <unit>"+stratificationSampling.getUnit()+"</unit>\n"; result+=" </TS>\n"; List<SO> sot=stratificationSampling.getSots(); if (sot!=null) { for (SO so : sot) { result+=" <SOT>\n"; result+=" <name>"+so.getName()+"</name>\n"; result+=" <quantity>"+so.getQuantity()+"</quantity>\n"; result+=" <unit>"+stratificationSampling.getUnit()+"</unit>\n"; result+=" </SOT>\n"; } } SO ss=stratificationSampling.getS(); result+=" <S>\n"; result+=" <name>"+ss.getName()+"</name>\n"; result+=" <quantity>"+ss.getQuantity()+"</quantity>\n"; result+=" <unit>"+stratificationSampling.getUnit()+"</unit>\n"; result+=" </S>\n"; List<SO> sos=stratificationSampling.getSoss(); if (sos!=null) { for (SO so : sos) { result+=" <SOS>\n"; result+=" <name>"+so.getName()+"</name>\n"; result+=" <quantity>"+so.getQuantity()+"</quantity>\n"; result+=" <unit>"+stratificationSampling.getUnit()+"</unit>\n"; result+=" </SOS>\n"; } } EQ eq=stratificationSampling.getEq(); if (eq==null) { result+=" <EQ>\n"; result+=" </EQ>\n"; } else { result+=" <EQ>\n"; result+=" <entityName>"+eq.getEntityName()+"</entityName>\n"; result+=" <relation>"+eq.getRelation()+"</relation>\n"; result+=" <value>"+eq.getValue()+"</value>\n"; result+=" </EQ>\n"; } result+=" <QUE>\n"; result+=" <description>"+stratificationSampling.getDescription()+"</description>\n"; result+=" <belong>"+stratificationSampling.getBelong()+"</belong>\n"; result+=" <name>"+stratificationSampling.getName()+"</name>\n"; result+=" <unit>"+stratificationSampling.getUnit()+"</unit>\n"; result+=" </QUE>\n"; result+="</Stratification>"; return result; } public static void main(String[] args) { System.out.println(getXML("某社区现有480个住户,其中中等收入家庭200户、低收入家庭160户,其他为高收入家庭。在建设幸福广东的某次分层抽样调查中,高收入家庭被抽取了6户,则该社区本次被抽取的总户数为","src/main/resources")); } }
[ "16210240075@fudan.edu.cn" ]
16210240075@fudan.edu.cn
e61bb82e47edaa36ded0dfeb97e62e55640e3924
da1a73dd07c05585454153e24ba3ce497e631af7
/src/main/java/io/dotinc/vivawallet/command/impl/CreateTransaction.java
b69bdfba69f8fbe6de6733172809caac2da0d0e8
[]
no_license
bulivlad/vivawallet-api
5fb7d09900862da1735b6323727b07bd0a22221b
d8d7951ab278cba40cbba5a8a3e4306922b9ebf0
refs/heads/master
2023-03-28T00:19:10.249310
2021-03-25T07:41:38
2021-03-25T07:41:38
289,017,145
0
0
null
null
null
null
UTF-8
Java
false
false
1,159
java
package io.dotinc.vivawallet.command.impl; import io.dotinc.vivawallet.MinimalistClient; import io.dotinc.vivawallet.command.Transaction; import io.dotinc.vivawallet.enums.TransactionAction; import io.dotinc.vivawallet.exception.VivaWalletException; import io.dotinc.vivawallet.model.transaction.create.CreateTransactionRequest; import io.dotinc.vivawallet.model.transaction.create.CreateTransactionResponse; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.ToString; import lombok.experimental.FieldDefaults; import java.io.IOException; /** * @author vbulimac on 21/08/2020. */ @ToString @AllArgsConstructor @FieldDefaults(level = AccessLevel.PRIVATE) public class CreateTransaction implements Transaction { CreateTransactionRequest createTransactionRequest; @Override public CreateTransactionResponse execute(String apiKeyBase64, TransactionAction transactionAction) throws IOException, VivaWalletException { return MinimalistClient.call(CreateTransactionResponse.class, "POST", path("/api/transactions/%s", createTransactionRequest.getTransactionId()), createTransactionRequest, apiKeyBase64); } }
[ "vbulimac@deloittece.com" ]
vbulimac@deloittece.com
0022bba1bb2980c3eb6fec9404edb35b35331766
f857d6dee05996f018006936ac51ea527966578c
/Veda2TestAutomation/src/com/viteos/veda/master/legalentitytestscripts/LegalEntityMaster_CheckerOperations_TC2.java
0bacd8d996d59234dfe5329107440b9f02b1bb4c
[]
no_license
MummanaSubramanya/VEDA_v2.0_QA
6d736a71507a09f34812fca30a87c444615c9a93
1760e3aacc0d2bc2e620d9080d49ce1dddf1dce6
refs/heads/master
2020-04-23T03:46:58.743651
2016-07-06T07:03:28
2016-07-06T07:03:28
null
0
0
null
null
null
null
UTF-8
Java
false
false
8,170
java
package com.viteos.veda.master.legalentitytestscripts; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import org.testng.Assert; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import com.tenx.framework.lib.Messages; import com.tenx.framework.lib.Utilities; import com.tenx.framework.reporting.Reporting; import com.viteos.veda.master.lib.Global; import com.viteos.veda.master.lib.NewUICommonFunctions; import com.viteos.veda.master.lib.NewUICommonFunctions.dashboardMainDropdownToSelect; import com.viteos.veda.master.lib.NewUICommonFunctions.dashboardSubDropdownToSelect; public class LegalEntityMaster_CheckerOperations_TC2 { static boolean bStatus; static String sRefrenceLESheetName = "LegalEntityDetailsTestData"; @BeforeMethod public static void setUp(){ Reporting.Functionality ="Legal Entity Master"; Reporting.Testcasename = "Open Application"; bStatus = NewUICommonFunctions.loginToApplication(Global.sCheckerUserName, Global.sCheckerPassword); if(!bStatus){ Reporting.logResults("Fail", "Login into application", "Login to application Failed.Error: "+Messages.errorMsg); Assert.fail(Messages.errorMsg); } Reporting.logResults("Pass", "Login into application ", "Login into application successfully"); } @Test public static void testCheckerOperations(){ try{ Map<String, Map<String, String>> mapAllLegalEntityDetails = Utilities.readMultipleTestData(Global.sLegalEntityTestDataFilePath,sRefrenceLESheetName,"Y"); Map<String, Map<String, String>> VerifyMap = new HashMap<String, Map<String, String>>(); for(int index = 1;index <= mapAllLegalEntityDetails.size();index++){ Map<String, String> mapLegalEntityDetails = mapAllLegalEntityDetails.get("Row"+index); if(mapLegalEntityDetails.get("VerifyCloneData")!=null && mapLegalEntityDetails.get("VerifyCloneData").equalsIgnoreCase("Yes")){ continue; } if(mapLegalEntityDetails.get("Entity Type")!=null && mapLegalEntityDetails.get("Clone")!=null){ if(mapLegalEntityDetails.get("Entity Type").equalsIgnoreCase("Feeder") || mapLegalEntityDetails.get("Clone").equalsIgnoreCase("Yes")){ continue; } } if(mapLegalEntityDetails.get("Entity Type") == null){ if(mapLegalEntityDetails.get("Clone")!=null && mapLegalEntityDetails.get("Clone").equalsIgnoreCase("Yes")){ continue; } } if(mapLegalEntityDetails.get("Clone") == null){ if(mapLegalEntityDetails.get("Entity Type") != null && mapLegalEntityDetails.get("Entity Type").equalsIgnoreCase("Feeder")){ continue; } } if(!mapLegalEntityDetails.get("OperationType").equalsIgnoreCase("Save") || mapLegalEntityDetails.get("ExpectedResults").equalsIgnoreCase("Fail")){ continue; } Map<String, String> innerMap = new HashMap<String, String>(); Reporting.Testcasename = mapLegalEntityDetails.get("TestcaseName"); bStatus = NewUICommonFunctions.selectMenu("Dashboard","None"); if(!bStatus){ Reporting.logResults("Fail", "Navigate to DashBoard", "Menu cannot be selected. Error: "+Messages.errorMsg); continue; } Reporting.logResults("Pass", "Navigate to DashBoard", "DashBoard Menu selected succesfully"); bStatus = NewUICommonFunctions.performOperationsOnTable(dashboardMainDropdownToSelect.MASTERS, dashboardSubDropdownToSelect.NEW,mapLegalEntityDetails.get("Legal Entity Name"),mapLegalEntityDetails.get("CheckerOperations")); if(bStatus && mapLegalEntityDetails.get("ExpectedResultsAfterCheckerOperations").equalsIgnoreCase("Pass")){ Reporting.logResults("Pass","Perform Checker Operation: "+mapLegalEntityDetails.get("CheckerOperations"), "Successfully Performed checker operations for Legal Entity: "+mapLegalEntityDetails.get("Legal Entity Name")); } if(!bStatus && mapLegalEntityDetails.get("ExpectedResultsAfterCheckerOperations").equalsIgnoreCase("Pass")){ Reporting.logResults("Fail","Perform Checker Operation: "+mapLegalEntityDetails.get("CheckerOperations"), "Cannot Perform Checker Operations. Error: "+Messages.errorMsg+". For Legal Entity: "+mapLegalEntityDetails.get("Legal Entity Name")); continue; } if(!bStatus && mapLegalEntityDetails.get("ExpectedResultsAfterCheckerOperations").equalsIgnoreCase("Fail")){ Reporting.logResults("Pass","Perform Checker Operation: "+mapLegalEntityDetails.get("CheckerOperations"), "Negative testcase - Cannot Perform Checker Operations for Legal Entity "+mapLegalEntityDetails.get("Legal Entity Name")); } if(bStatus && mapLegalEntityDetails.get("ExpectedResultsAfterCheckerOperations").equalsIgnoreCase("Fail")){ Reporting.logResults("Fail","Perform Checker Operation: "+mapLegalEntityDetails.get("CheckerOperations"), "Peformed Checker operations with negative testdata. for Legal Entity Name: "+mapLegalEntityDetails.get("Legal Entity Name")); continue; } if(mapLegalEntityDetails.get("CheckerOperations").equalsIgnoreCase("Approve") && bStatus){ innerMap.put("Status", "active"); innerMap.put("Legal Entity Name", mapLegalEntityDetails.get("Legal Entity Name")); VerifyMap.put(Reporting.Testcasename,innerMap ); } if(mapLegalEntityDetails.get("CheckerOperations").equalsIgnoreCase("Reject") && bStatus){ innerMap.put("Status", "inactive"); innerMap.put("Legal Entity Name", mapLegalEntityDetails.get("Legal Entity Name")); VerifyMap.put(Reporting.Testcasename,innerMap ); } } verifyValuesinSearchPanel(VerifyMap); } catch(Exception e){ e.printStackTrace(); } } @AfterMethod public static void tearDown(){ Reporting.Testcasename = "Close Application"; bStatus = NewUICommonFunctions.logoutFromApplication(); if(!bStatus){ Reporting.logResults("Fail", "Close Application","Cannot logout from application. Error "+Messages.errorMsg); Assert.fail("Cannot logout from application. Error "+Messages.errorMsg); } Reporting.logResults("Pass","Logout from Application","Logged Out from application successfully"); } public static void verifyValuesinSearchPanel(Map<String, Map<String, String>> verifyLE) { try{ for (Entry<String, Map<String, String>> test : verifyLE.entrySet()) { Reporting.Testcasename = test.getKey(); //Navigate to Series Master bStatus = NewUICommonFunctions.selectMenu("Fund Setup","Legal Entity"); if(!bStatus){ Reporting.logResults("Fail", "Navigate To Legal Entity Master","Cannot Navigate to Legal Entity Master"); continue; } Reporting.logResults("Pass","Navigate To Legal Entity Master", "Navigated to Legal Entity Master"); int time =10 ; if(test.getValue().get("Status").equalsIgnoreCase("inactive")){ time = 4; } // Search the Series in drop down bStatus = NewUICommonFunctions.verifyRecordIsDisplayedInTheGridTable("Legal Entity Name", test.getValue().get("Legal Entity Name"), test.getValue().get("Status"),"LegalEntity", time); if(bStatus && test.getValue().get("Status").equalsIgnoreCase("inactive")){ Reporting.logResults("Pass", "Verify Legal Entity Name shouldnot be in active state",test.getValue().get("Legal Entity Name")+" Legal Entity Name is not active state"); //continue; } if(!bStatus && test.getValue().get("Status").equalsIgnoreCase("inactive")){ Reporting.logResults("Fail", "Verify Legal Entity Name shouldnot be in active state",test.getValue().get("Legal Entity Name")+" Legal Entity Name is in active state"); } if(!bStatus && test.getValue().get("Status").equalsIgnoreCase("active")){ Reporting.logResults("Fail", "Verify Legal Entity Name should be in active state",test.getValue().get("Legal Entity Name")+" Legal Entity Name is not in active state"); //continue; } if(bStatus && test.getValue().get("Status").equalsIgnoreCase("active")){ Reporting.logResults("Pass", "Verify Legal Entity Name should be in active state",test.getValue().get("Legal Entity Name")+" Legal Entity Name is in active state"); } } } catch(Exception e){ e.printStackTrace(); } } }
[ "munni.ch12@gmail.com" ]
munni.ch12@gmail.com
d9b4bfa9228f9c8552be8eb3c218d08acb452700
6aefa64d30949edfff0cd9da8283ae93f57043fa
/agrest-cayenne/src/test/java/io/agrest/cayenne/POST/RelateIT.java
bd45f6267f4a9d06e87b98e43d5fd849ff226406
[ "Apache-2.0" ]
permissive
agrestio/agrest
75e58103fea11c797093e9a86b2475578c7fd7ac
328b9610b7a490d6fcb5c1554a3ef6bf7e5e4248
refs/heads/master
2023-09-05T02:29:17.222528
2023-07-31T11:48:20
2023-07-31T11:48:20
19,821,698
25
15
Apache-2.0
2023-07-29T16:43:45
2014-05-15T14:09:45
Java
UTF-8
Java
false
false
6,334
java
package io.agrest.cayenne.POST; import io.agrest.DataResponse; import io.agrest.cayenne.cayenne.main.E2; import io.agrest.cayenne.cayenne.main.E29; import io.agrest.cayenne.cayenne.main.E3; import io.agrest.cayenne.cayenne.main.E30; import io.agrest.cayenne.unit.main.MainDbTest; import io.agrest.cayenne.unit.main.MainModelTester; import io.agrest.jaxrs3.AgJaxrs; import io.bootique.junit5.BQTestTool; import jakarta.ws.rs.POST; import jakarta.ws.rs.Path; import jakarta.ws.rs.core.Configuration; import jakarta.ws.rs.core.Context; import jakarta.ws.rs.core.UriInfo; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; public class RelateIT extends MainDbTest { @BQTestTool static final MainModelTester tester = tester(Resource.class) .entitiesAndDependencies(E2.class, E3.class, E29.class, E30.class) .build(); @Test public void toOne() { tester.e2().insertColumns("id_", "name") .values(1, "xxx") .values(8, "yyy").exec(); tester.target("/e3") .post("{\"e2\":8,\"name\":\"MM\"}") .wasCreated() .replaceId("RID") .bodyEquals(1, "{\"id\":RID,\"name\":\"MM\",\"phoneNumber\":null}"); tester.e3().matcher().assertOneMatch(); tester.e3().matcher().eq("e2_id", 8).andEq("name", "MM").assertOneMatch(); } @Test public void toOne_Null() { tester.target("/e3") .post("{\"e2\":null,\"name\":\"MM\"}") .wasCreated() .replaceId("RID") .bodyEquals(1, "{\"id\":RID,\"name\":\"MM\",\"phoneNumber\":null}"); tester.e3().matcher().assertOneMatch(); tester.e3().matcher().eq("e2_id", null).assertOneMatch(); } @Test public void toOne_CompoundId() { tester.e29().insertColumns("id1", "id2") .values(11, 21) .values(12, 22).exec(); tester.target("/e30") .queryParam("include", "e29.id") .post("{\"e29\":{\"db:id1\":11,\"id2Prop\":21}}") .wasCreated() .replaceId("RID") .bodyEquals(1, "{\"id\":RID,\"e29\":{\"id\":{\"db:id1\":11,\"id2Prop\":21}}}"); tester.e30().matcher().assertOneMatch(); } @Test public void toOne_BadFK() { tester.target("/e3") .post("{\"e2\":15,\"name\":\"MM\"}") .wasNotFound() .bodyEquals("{\"message\":\"Related object 'E2' with id of '15' is not found\"}"); tester.e3().matcher().assertNoMatches(); } @Test public void toMany() { tester.e3().insertColumns("id_", "name") .values(1, "xxx") .values(8, "yyy").exec(); Long id = tester.target("/e2") .queryParam("include", E2.E3S.getName()) .queryParam("exclude", E2.ADDRESS.getName(), E2.E3S.dot(E3.NAME).getName(), E2.E3S.dot(E3.PHONE_NUMBER).getName()) .post("{\"e3s\":[1,8],\"name\":\"MM\"}") .wasCreated() .replaceId("RID") .bodyEquals(1, "{\"id\":RID,\"e3s\":[{\"id\":1},{\"id\":8}],\"name\":\"MM\"}") .getId(); assertNotNull(id); tester.e3().matcher().eq("e2_id", id).assertMatches(2); } @Test // so while e29 -> e30 is a multi-column join, e30's own ID is single column public void toMany_OverMultiKeyRelationship() { tester.e30().insertColumns("id") .values(100) .values(101) .values(102).exec(); tester.target("/e29") .queryParam("include", "e30s.id") .queryParam("exclude", "id") .post("{\"id2Prop\":54,\"e30s\":[100, 102]}") .wasCreated() .bodyEquals(1, "{\"e30s\":[{\"id\":100},{\"id\":102}],\"id2Prop\":54}"); tester.e29().matcher().assertOneMatch(); } @Test public void toMany_AsNewObjects() { tester.target("/e2") .queryParam("include", "name", "e3s.name") .post("{\"e3s\":[{\"name\":\"new_to_many1\"},{\"name\":\"new_to_many2\"}],\"name\":\"MM\"}") .wasCreated() .bodyEquals(1, "{\"e3s\":[],\"name\":\"MM\"}") .getId(); tester.e2().matcher().assertOneMatch(); tester.e3().matcher().assertNoMatches(); } @Test public void toOne_AsNewObject() { // While Agrest does not yet support processing full related objects, it should not fail either. // Testing this condition here. tester.target("/e3") .queryParam("include", "name", "e2.id") .post("{\"e2\":{\"name\":\"new_to_one\"},\"name\":\"MM\"}") .wasCreated() .replaceId("RID") .bodyEquals(1, "{\"e2\":null,\"name\":\"MM\"}"); tester.e3().matcher().assertOneMatch(); tester.e2().matcher().assertNoMatches(); } @Path("") public static class Resource { @Context private Configuration config; @POST @Path("e2") public DataResponse<E2> createE2(String targetData, @Context UriInfo uriInfo) { return AgJaxrs.create(E2.class, config).clientParams(uriInfo.getQueryParameters()).syncAndSelect(targetData); } @POST @Path("e3") public DataResponse<E3> create(@Context UriInfo uriInfo, String requestBody) { return AgJaxrs.create(E3.class, config).clientParams(uriInfo.getQueryParameters()).syncAndSelect(requestBody); } @POST @Path("e29") public DataResponse<E29> createE29(String targetData, @Context UriInfo uriInfo) { return AgJaxrs.create(E29.class, config) .clientParams(uriInfo.getQueryParameters()) .syncAndSelect(targetData); } @POST @Path("e30") public DataResponse<E30> createE30(String targetData, @Context UriInfo uriInfo) { return AgJaxrs.create(E30.class, config) .clientParams(uriInfo.getQueryParameters()) .syncAndSelect(targetData); } } }
[ "andrus@objectstyle.com" ]
andrus@objectstyle.com
4299ad57a18c1cd9eb9af393ca7c719d7829de53
ebabfc3286d09a2ae8840ff017610542b31cbf12
/teamapps-ux/src/main/java/org/teamapps/ux/component/field/upload/UploadedFileToRecordConverter.java
12b4951a758e52a85e10ff3eee1085a2c1032bbb
[ "Apache-2.0" ]
permissive
bumbeishvili/teamapps
e4a209f92fb221bb6023b449aac0239f2ba6f693
def03c0613f8c8929e4b2eb38b4fe127a9f16f4f
refs/heads/master
2020-05-17T14:05:47.556514
2019-05-22T07:31:24
2019-05-22T07:31:24
183,755,673
0
0
Apache-2.0
2019-04-27T09:51:38
2019-04-27T09:51:37
null
UTF-8
Java
false
false
928
java
/*- * ========================LICENSE_START================================= * TeamApps * --- * Copyright (C) 2014 - 2019 TeamApps.org * --- * 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. * =========================LICENSE_END================================== */ package org.teamapps.ux.component.field.upload; public interface UploadedFileToRecordConverter<RECORD> { RECORD convert(UploadedFile file); }
[ "info@teamapps.org" ]
info@teamapps.org
d828d500e917c79db3d6de94be2e2d0780c09d51
1665a423eaf7cffe71b3af4150bbb7677e9d2d54
/src/main/java/com/poker/model/Card.java
e671c1aee31f1b897de67cd2b6c4aa02a8efc0d4
[]
no_license
DKS1974/poker
824bb86b0943e5e9c9cb20cfd168926b1815795f
cbd7251e25fab2ab6d650170d7adeae70da71a5a
refs/heads/master
2021-02-04T04:54:00.890289
2020-02-27T22:14:25
2020-02-27T22:14:25
243,620,792
0
0
null
null
null
null
UTF-8
Java
false
false
277
java
package com.poker.model; import lombok.*; @NoArgsConstructor @Setter @Getter @Builder @AllArgsConstructor public class Card { private Ranks rank; private Suits suit; public @Override String toString() { return rank.getAsChar() + suit.name(); } }
[ "dominic.salmon@gmail.com" ]
dominic.salmon@gmail.com
ff8633e2ec58df60cc85af94e96f441176baaabb
b7968352a602687f59cb801dcec234d12d0a491b
/studentManage/src/main/webapp/js/web/dao/StudentDao.java
04a34d06cb8f537d4a47c472ea78f37229f6dcc5
[ "MIT" ]
permissive
IsSenHu/studentRedisManage
5338abbaac5a9a24ab465a6f27fed3121282eaee
b09e4e84c56a43149f06fa9b226b604eb38ea93d
refs/heads/master
2021-05-01T21:25:47.410618
2018-02-10T02:33:06
2018-02-10T02:33:06
120,977,382
0
0
null
null
null
null
UTF-8
Java
false
false
471
java
package com.husen.web.dao; import com.husen.web.pojo.Student; import java.util.List; public interface StudentDao { boolean addStudent(Student student) throws Exception; List<Student> pageStudent(long offset, long end) throws Exception; Long total() throws Exception; Student findStudentById(String studentId) throws Exception; boolean updateStudent(Student student) throws Exception; boolean deleteStudent(String studentId) throws Exception; }
[ "1178515826@qq.com" ]
1178515826@qq.com
ea17785a79ef8d6d9f17213cf964461fa64ef281
374ad03287670140e4a716aa211cdaf60f50c944
/ztr-framework/framework-dao-base/src/main/java/com/travelzen/framework/dao/rdbms/SequenceGenerator.java
901a40917614ef96afb40c0cf5d0f47ffe1efbab
[]
no_license
xxxJppp/firstproj
ca541f8cbe004a557faff577698c0424f1bbd1aa
00dcfbe731644eda62bd2d34d55144a3fb627181
refs/heads/master
2020-07-12T17:00:00.549410
2017-04-17T08:29:58
2017-04-17T08:29:58
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,575
java
package com.travelzen.framework.dao.rdbms; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import org.apache.commons.lang3.StringUtils; public class SequenceGenerator { private static Map<String, SequencePool> seqMap = new ConcurrentHashMap<String, SequencePool>(); private BatchSequenceDaoImpl batchSequenceDao; //每次请求分配的序列数个数 private final int allotment = 100; public synchronized String getNextSeq(String sequenceName, int width, int allotment) throws Exception { SequencePool pool = seqMap.get(sequenceName); if (seqMap.get(sequenceName) == null || pool.isEmpty()) { pool = refillPool(sequenceName, allotment); seqMap.put(sequenceName, pool); } if (width > 0) { return formatSequence(String.valueOf(pool.next()), width); } else { return String.valueOf(pool.next()); } } public synchronized String getNextSeq(String sequenceName, int width) throws Exception { return getNextSeq(sequenceName, width, allotment); } public synchronized String getNextSeq(String sequenceName) throws Exception { return getNextSeq(sequenceName, -1, allotment); } private SequencePool refillPool(String sequenceName, int allotment) throws Exception { long nextSeq = batchSequenceDao.getNextSeq(sequenceName, allotment); return new SequencePool(nextSeq, nextSeq + allotment - 1); } /** * description: 将传入的字符串的长度限制为一定值 * * @param is * @param width * @return */ private static String formatSequence(String is, int width) { if (is.length() < width) { return StringUtils.leftPad(is, width, '0'); } // for (; is.length() < width; is = "0" + is) ; else { is = is.substring(is.length() - width, is.length()); } return is; } private static class SequencePool { private long low; private long high; public SequencePool(long low, long high) { this.low = low; this.high = high; } public long next() { return low++; } public boolean isEmpty() { return low > high; } } public BatchSequenceDaoImpl getBatchSequenceDao() { return batchSequenceDao; } public void setBatchSequenceDao(BatchSequenceDaoImpl batchSequenceDao) { this.batchSequenceDao = batchSequenceDao; } }
[ "yining.ni@travelzen.com" ]
yining.ni@travelzen.com
41411b07f9c528eb5008565d150c46bba1930c39
e4b2b535b6f1e0c54f2f1424d6303db336512532
/app/src/main/java/com/exalpme/bozhilun/android/bean/B15PSleepBean.java
3ea63ffe41c56cc274a4075cfa8ca80a88ecfa22
[ "Apache-2.0" ]
permissive
axdx1314/RaceFitPro
56a7a4cefefc56373b94eb383d130f1bd4f7c6d9
6778c6c4fb11ba8697a64c6ddde8bfe95dbbb505
refs/heads/master
2020-03-17T08:29:10.096792
2018-05-23T02:08:23
2018-05-23T02:08:23
133,440,315
0
1
null
null
null
null
UTF-8
Java
false
false
5,411
java
package com.exalpme.bozhilun.android.bean; import android.os.Parcel; import android.os.Parcelable; import com.exalpme.bozhilun.android.bleutil.MyCommandManager; import com.exalpme.bozhilun.android.util.Common; import org.greenrobot.greendao.annotation.Entity; import org.greenrobot.greendao.annotation.Generated; import org.greenrobot.greendao.annotation.Id; import org.greenrobot.greendao.annotation.NotNull; /** * Created by thinkpad on 2017/3/17. */ @Entity public class B15PSleepBean implements Parcelable { @Id(autoincrement = true) private Long id; @NotNull private String deviceCode; @NotNull private String userId; @NotNull private String startTime; private String endTime; private int count; private int deepLen; private int sleepLen; private int shallowLen; private int sleepQuality; private String sleepCurveS; private String sleepCurveP; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getDeviceCode() { return deviceCode; } public void setDeviceCode(String deviceCode) { this.deviceCode = deviceCode; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getStartTime() { return startTime; } public void setStartTime(String startTime) { this.startTime = startTime; } public String getEndTime() { return endTime; } public void setEndTime(String endTime) { this.endTime = endTime; } public int getCount() { return count; } public void setCount(int count) { this.count = count; } public int getDeepLen() { return deepLen; } public void setDeepLen(int deepLen) { this.deepLen = deepLen; } public int getSleepLen() { return sleepLen; } public void setSleepLen(int sleepLen) { this.sleepLen = sleepLen; } public int getShallowLen() { return shallowLen; } public void setShallowLen(int shallowLen) { this.shallowLen = shallowLen; } public int getSleepQuality() { return sleepQuality; } public void setSleepQuality(int sleepQuality) { this.sleepQuality = sleepQuality; } public String getSleepCurveS() { return sleepCurveS; } public void setSleepCurveS(String sleepCurveS) { this.sleepCurveS = sleepCurveS; } public String getSleepCurveP() { return sleepCurveP; } public void setSleepCurveP(String sleepCurveP) { this.sleepCurveP = sleepCurveP; } protected B15PSleepBean(Parcel in) { deviceCode = in.readString(); userId = in.readString(); startTime = in.readString(); endTime = in.readString(); count = in.readInt(); deepLen = in.readInt(); sleepLen = in.readInt(); shallowLen = in.readInt(); sleepQuality = in.readInt(); sleepCurveS = in.readString(); sleepCurveP = in.readString(); } public B15PSleepBean(String startTime, String endTime, int count, int deepLen, int shallowLen, int sleepQuality) { this.deviceCode = MyCommandManager.ADDRESS; this.userId = Common.customer_id; this.startTime = startTime; this.endTime = endTime; this.count = count; this.deepLen = deepLen; this.shallowLen = shallowLen; this.sleepLen = deepLen + shallowLen; this.sleepQuality = sleepQuality; } @Generated(hash = 1037938592) public B15PSleepBean(Long id, @NotNull String deviceCode, @NotNull String userId, @NotNull String startTime, String endTime, int count, int deepLen, int sleepLen, int shallowLen, int sleepQuality, String sleepCurveS, String sleepCurveP) { this.id = id; this.deviceCode = deviceCode; this.userId = userId; this.startTime = startTime; this.endTime = endTime; this.count = count; this.deepLen = deepLen; this.sleepLen = sleepLen; this.shallowLen = shallowLen; this.sleepQuality = sleepQuality; this.sleepCurveS = sleepCurveS; this.sleepCurveP = sleepCurveP; } @Generated(hash = 764697241) public B15PSleepBean() { } public static final Creator<B15PSleepBean> CREATOR = new Creator<B15PSleepBean>() { @Override public B15PSleepBean createFromParcel(Parcel in) { return new B15PSleepBean(in); } @Override public B15PSleepBean[] newArray(int size) { return new B15PSleepBean[size]; } }; @Override public int describeContents() { return 0; } @Override public void writeToParcel(Parcel parcel, int i) { parcel.writeString(deviceCode); parcel.writeString(userId); parcel.writeString(startTime); parcel.writeString(endTime); parcel.writeInt(count); parcel.writeInt(deepLen); parcel.writeInt(sleepLen); parcel.writeInt(shallowLen); parcel.writeInt(sleepQuality); parcel.writeString(sleepCurveS); parcel.writeString(sleepCurveP); } }
[ "1598013489@qq.com" ]
1598013489@qq.com
7becde4b2b07d35a80a8db918422bedaccaffb9b
e2e1ed13113d2055e7764ae372312f66dd03d1b1
/ListViewTable/gen/com/android/listview/table/BuildConfig.java
87f54a5ebad43ece64a855222c40b3cbe13b6b98
[]
no_license
hello022546/ListViewTable
fd1053035dc219c6dac15289fcdb0e727b0fa653
bf6f394b6da51926e93f4fb17a57d1f9ec4e7e60
refs/heads/master
2021-05-29T11:12:44.077554
2014-10-06T01:59:19
2014-10-06T01:59:19
null
0
0
null
null
null
null
UTF-8
Java
false
false
168
java
/** Automatically generated file. DO NOT MODIFY */ package com.android.listview.table; public final class BuildConfig { public final static boolean DEBUG = true; }
[ "park@192.168.1.156" ]
park@192.168.1.156
f5978369c72614e0bbe512efa98cabdb1f59094e
60add028efbdd94f37be24a59e0d596afba997d5
/src/main/java/com/cs4everyone/algorithms/sort/QuickDualPivot.java
e39bd80ed0b7d1168cc64b5d204a89ce2b5dd758
[ "Apache-2.0" ]
permissive
pedro-abundio-wang/algorithms-in-java
202f9fe050bf55c62bc2879c8d9df92cdeff8fa4
994ecc0ab1c8012bef0a09f76caa0db284d85258
refs/heads/main
2023-08-31T15:11:49.703355
2021-10-25T03:33:31
2021-10-25T03:33:31
325,492,294
0
0
null
null
null
null
UTF-8
Java
false
false
1,231
java
package com.cs4everyone.algorithms.sort; public class QuickDualPivot { // quicksort the array array[] using dual-pivot quicksort public static void sort(Comparable[] array) { Knuth.shuffle(array); sort(array, 0, array.length - 1); } // quicksort the subarray array[low .. high] using dual-pivot quicksort private static void sort(Comparable[] array, int low, int high) { if (high <= low) return; // make sure array[low] <= array[high] if (less(array[high], array[low])) swap(array, low, high); int lt = low + 1, gt = high - 1; int i = low + 1; while (i <= gt) { if (less(array[i], array[low])) swap(array, lt++, i++); else if (less(array[high], array[i])) swap(array, i, gt--); else i++; } swap(array, low, --lt); swap(array, high, ++gt); // recursively sort three subarrays sort(array, low, lt - 1); if (less(array[lt], array[gt])) sort(array, lt + 1, gt - 1); sort(array, gt + 1, high); } private static boolean less(Comparable a, Comparable b) { return a.compareTo(b) < 0; } private static void swap(Comparable[] array, int i, int j) { Comparable swap = array[i]; array[i] = array[j]; array[j] = swap; } }
[ "pedro.abundio.wang@gmail.com" ]
pedro.abundio.wang@gmail.com
52b1e9473559e12957091ed89b3c3b51ae423092
387df90e72b2a7b22a6194e3b7dcea8affba340a
/bioeasy-common/src/main/java/com/bioeasy/common/utils/FileUtils.java
2b3ac0cc53883175532ffd9b1e5b868a1085bc18
[]
no_license
lihuiyao1986/bioeasy
d4d8d71a164fd043013683d8ae0e2cf8b88af692
78a6becc23927fc978a76c5c13ba1f557023417d
refs/heads/master
2020-07-22T21:34:38.425360
2016-11-15T14:44:40
2016-11-15T14:44:40
73,822,706
0
0
null
null
null
null
UTF-8
Java
false
false
11,778
java
package com.bioeasy.common.utils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.*; /** * 文件操作工具类 * 实现文件的创建、删除、复制、压缩、解压以及目录的创建、删除、复制、压缩解压等功能 */ public class FileUtils extends org.apache.commons.io.FileUtils { private static Logger log = LoggerFactory.getLogger(FileUtils.class); /** * 复制单个文件,如果目标文件存在,则不覆盖 * @param srcFileName 待复制的文件名 * @param descFileName 目标文件名 * @return 如果复制成功,则返回true,否则返回false */ public static boolean copyFile(String srcFileName, String descFileName) { return FileUtils.copyFileCover(srcFileName, descFileName, false); } /** * 复制单个文件 * @param srcFileName 待复制的文件名 * @param descFileName 目标文件名 * @param coverlay 如果目标文件已存在,是否覆盖 * @return 如果复制成功,则返回true,否则返回false */ public static boolean copyFileCover(String srcFileName, String descFileName, boolean coverlay) { File srcFile = new File(srcFileName); // 判断源文件是否存在 if (!srcFile.exists()) { log.debug("复制文件失败,源文件 " + srcFileName + " 不存在!"); return false; } // 判断源文件是否是合法的文件 else if (!srcFile.isFile()) { log.debug("复制文件失败," + srcFileName + " 不是一个文件!"); return false; } File descFile = new File(descFileName); // 判断目标文件是否存在 if (descFile.exists()) { // 如果目标文件存在,并且允许覆盖 if (coverlay) { log.debug("目标文件已存在,准备删除!"); if (!FileUtils.delFile(descFileName)) { log.debug("删除目标文件 " + descFileName + " 失败!"); return false; } } else { log.debug("复制文件失败,目标文件 " + descFileName + " 已存在!"); return false; } } else { if (!descFile.getParentFile().exists()) { // 如果目标文件所在的目录不存在,则创建目录 log.debug("目标文件所在的目录不存在,创建目录!"); // 创建目标文件所在的目录 if (!descFile.getParentFile().mkdirs()) { log.debug("创建目标文件所在的目录失败!"); return false; } } } // 准备复制文件 // 读取的位数 int readByte = 0; InputStream ins = null; OutputStream outs = null; try { // 打开源文件 ins = new FileInputStream(srcFile); // 打开目标文件的输出流 outs = new FileOutputStream(descFile); byte[] buf = new byte[1024]; // 一次读取1024个字节,当readByte为-1时表示文件已经读取完毕 while ((readByte = ins.read(buf)) != -1) { // 将读取的字节流写入到输出流 outs.write(buf, 0, readByte); } log.debug("复制单个文件 " + srcFileName + " 到" + descFileName + "成功!"); return true; } catch (Exception e) { log.debug("复制文件失败:" + e.getMessage()); return false; } finally { // 关闭输入输出流,首先关闭输出流,然后再关闭输入流 if (outs != null) { try { outs.close(); } catch (IOException oute) { oute.printStackTrace(); } } if (ins != null) { try { ins.close(); } catch (IOException ine) { ine.printStackTrace(); } } } } /** * 复制整个目录的内容,如果目标目录存在,则不覆盖 * @param srcDirName 源目录名 * @param descDirName 目标目录名 * @return 如果复制成功返回true,否则返回false */ public static boolean copyDirectory(String srcDirName, String descDirName) { return FileUtils.copyDirectoryCover(srcDirName, descDirName, false); } /** * 复制整个目录的内容 * @param srcDirName 源目录名 * @param descDirName 目标目录名 * @param coverlay 如果目标目录存在,是否覆盖 * @return 如果复制成功返回true,否则返回false */ public static boolean copyDirectoryCover(String srcDirName, String descDirName, boolean coverlay) { File srcDir = new File(srcDirName); // 判断源目录是否存在 if (!srcDir.exists()) { log.debug("复制目录失败,源目录 " + srcDirName + " 不存在!"); return false; } // 判断源目录是否是目录 else if (!srcDir.isDirectory()) { log.debug("复制目录失败," + srcDirName + " 不是一个目录!"); return false; } // 如果目标文件夹名不以文件分隔符结尾,自动添加文件分隔符 String descDirNames = descDirName; if (!descDirNames.endsWith(File.separator)) { descDirNames = descDirNames + File.separator; } File descDir = new File(descDirNames); // 如果目标文件夹存在 if (descDir.exists()) { if (coverlay) { // 允许覆盖目标目录 log.debug("目标目录已存在,准备删除!"); if (!FileUtils.delFile(descDirNames)) { log.debug("删除目录 " + descDirNames + " 失败!"); return false; } } else { log.debug("目标目录复制失败,目标目录 " + descDirNames + " 已存在!"); return false; } } else { // 创建目标目录 log.debug("目标目录不存在,准备创建!"); if (!descDir.mkdirs()) { log.debug("创建目标目录失败!"); return false; } } boolean flag = true; // 列出源目录下的所有文件名和子目录名 File[] files = srcDir.listFiles(); for (int i = 0; i < files.length; i++) { // 如果是一个单个文件,则直接复制 if (files[i].isFile()) { flag = FileUtils.copyFile(files[i].getAbsolutePath(), descDirName + files[i].getName()); // 如果拷贝文件失败,则退出循环 if (!flag) { break; } } // 如果是子目录,则继续复制目录 if (files[i].isDirectory()) { flag = FileUtils.copyDirectory(files[i] .getAbsolutePath(), descDirName + files[i].getName()); // 如果拷贝目录失败,则退出循环 if (!flag) { break; } } } if (!flag) { log.debug("复制目录 " + srcDirName + " 到 " + descDirName + " 失败!"); return false; } log.debug("复制目录 " + srcDirName + " 到 " + descDirName + " 成功!"); return true; } /** * * 删除文件,可以删除单个文件或文件夹 * * @param fileName 被删除的文件名 * @return 如果删除成功,则返回true,否是返回false */ public static boolean delFile(String fileName) { File file = new File(fileName); if (!file.exists()) { log.debug(fileName + " 文件不存在!"); return true; } else { if (file.isFile()) { return FileUtils.deleteFile(fileName); } else { return FileUtils.deleteDirectory(fileName); } } } /** * * 删除单个文件 * * @param fileName 被删除的文件名 * @return 如果删除成功,则返回true,否则返回false */ public static boolean deleteFile(String fileName) { File file = new File(fileName); if (file.exists() && file.isFile()) { if (file.delete()) { log.debug("删除文件 " + fileName + " 成功!"); return true; } else { log.debug("删除文件 " + fileName + " 失败!"); return false; } } else { log.debug(fileName + " 文件不存在!"); return true; } } /** * * 删除目录及目录下的文件 * * @param dirName 被删除的目录所在的文件路径 * @return 如果目录删除成功,则返回true,否则返回false */ public static boolean deleteDirectory(String dirName) { String dirNames = dirName; if (!dirNames.endsWith(File.separator)) { dirNames = dirNames + File.separator; } File dirFile = new File(dirNames); if (!dirFile.exists() || !dirFile.isDirectory()) { log.debug(dirNames + " 目录不存在!"); return true; } boolean flag = true; // 列出全部文件及子目录 File[] files = dirFile.listFiles(); for (int i = 0; i < files.length; i++) { // 删除子文件 if (files[i].isFile()) { flag = FileUtils.deleteFile(files[i].getAbsolutePath()); // 如果删除文件失败,则退出循环 if (!flag) { break; } } // 删除子目录 else if (files[i].isDirectory()) { flag = FileUtils.deleteDirectory(files[i] .getAbsolutePath()); // 如果删除子目录失败,则退出循环 if (!flag) { break; } } } if (!flag) { log.debug("删除目录失败!"); return false; } // 删除当前目录 if (dirFile.delete()) { log.debug("删除目录 " + dirName + " 成功!"); return true; } else { log.debug("删除目录 " + dirName + " 失败!"); return false; } } /** * 创建单个文件 * @param descFileName 文件名,包含路径 * @return 如果创建成功,则返回true,否则返回false */ public static boolean createFile(String descFileName) { File file = new File(descFileName); if (file.exists()) { log.debug("文件 " + descFileName + " 已存在!"); return false; } if (descFileName.endsWith(File.separator)) { log.debug(descFileName + " 为目录,不能创建目录!"); return false; } if (!file.getParentFile().exists()) { // 如果文件所在的目录不存在,则创建目录 if (!file.getParentFile().mkdirs()) { log.debug("创建文件所在的目录失败!"); return false; } } // 创建文件 try { if (file.createNewFile()) { log.debug(descFileName + " 文件创建成功!"); return true; } else { log.debug(descFileName + " 文件创建失败!"); return false; } } catch (Exception e) { e.printStackTrace(); log.debug(descFileName + " 文件创建失败!"); return false; } } /** * 创建目录 * @param descDirName 目录名,包含路径 * @return 如果创建成功,则返回true,否则返回false */ public static boolean createDirectory(String descDirName) { String descDirNames = descDirName; if (!descDirNames.endsWith(File.separator)) { descDirNames = descDirNames + File.separator; } File descDir = new File(descDirNames); if (descDir.exists()) { log.debug("目录 " + descDirNames + " 已存在!"); return false; } // 创建目录 if (descDir.mkdirs()) { log.debug("目录 " + descDirNames + " 创建成功!"); return true; } else { log.debug("目录 " + descDirNames + " 创建失败!"); return false; } } /** * 写入文件 */ public static void writeToFile(String fileName, String content, boolean append) { try { FileUtils.write(new File(fileName), content, "utf-8", append); log.debug("文件 " + fileName + " 写入成功!"); } catch (IOException e) { log.debug("文件 " + fileName + " 写入失败! " + e.getMessage()); } } /** * 写入文件 */ public static void writeToFile(String fileName, String content, String encoding, boolean append) { try { FileUtils.write(new File(fileName), content, encoding, append); log.debug("文件 " + fileName + " 写入成功!"); } catch (IOException e) { log.debug("文件 " + fileName + " 写入失败! " + e.getMessage()); } } /** * 修复路径,将 \\ 或 / 等替换为 File.separator * @param path * @return */ public static String path(String path){ String p = StringUtils.replace(path, "\\", "/"); p = StringUtils.join(StringUtils.split(p, "/"), "/"); if (!StringUtils.startsWithAny(p, "/") && StringUtils.startsWithAny(path, "\\", "/")){ p += "/"; } if (!StringUtils.endsWithAny(p, "/") && StringUtils.endsWithAny(path, "\\", "/")){ p = p + "/"; } if (path != null && path.startsWith("/")){ p = "/" + p; // linux下路径 } return p; } }
[ "zjh123456" ]
zjh123456
0e2e383fdfa50007e655ff69f426d5695c22275e
69f7759eeae8f293b05464e9e3d514aba102071f
/src/org/xgx/basic/concurrent/c5/Memoizer.java
1023dbc06f5f353c72259c62683f08acf7d02313
[]
no_license
mythsya/javabasic
2b33e54b64bca777707f0c0a879649e4336c5319
b7c82e2a02cc03bd2d983761485dba30213c56b6
refs/heads/master
2016-09-13T13:10:51.745011
2016-05-11T06:15:41
2016-05-11T06:15:41
58,472,688
0
0
null
null
null
null
UTF-8
Java
false
false
1,067
java
package org.xgx.basic.concurrent.c5; import java.util.concurrent.Callable; import java.util.concurrent.CancellationException; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.FutureTask; public class Memoizer<A, V> implements Computable<A, V> { private final ConcurrentHashMap<A, Future<V>> cache = new ConcurrentHashMap<>(); private final Computable<A, V> c; public Memoizer(final Computable<A, V> c) { this.c = c; } @Override public V compute(final A arg) throws InterruptedException { while (true) { Future<V> f = cache.get(arg); if (f == null) { Callable<V> eval = () -> c.compute(arg); FutureTask<V> ft = new FutureTask<>(eval); f = cache.putIfAbsent(arg, ft); if (f == null) { f = ft; ft.run(); } } try { return f.get(); } catch (CancellationException e) { cache.remove(arg, f); } catch (ExecutionException e) { throw new InterruptedException(e.getMessage()); } } } }
[ "xgx@ubuntu" ]
xgx@ubuntu
2ce60b5360a8873cbd2be6b5daa3ad8501fb93ee
ae63e93496afbef9bcec28ba5d0675d1b98c7b88
/app/src/main/java/com/leungjch/universemaker/universe/Star.java
798f56ee1ba40ac21fde44ac2780b998917341e8
[ "Apache-2.0" ]
permissive
leungjch/universe-maker-app
dd4235fb4d68bfb2d835f5c6ea1f3b189044c440
5d4bb0da39c34af1970d3941b7e33f7b6ae11c2f
refs/heads/master
2023-02-07T06:52:19.359950
2021-01-04T03:56:45
2021-01-04T03:56:45
291,570,869
3
0
null
null
null
null
UTF-8
Java
false
false
2,008
java
package com.leungjch.universemaker.universe; import android.graphics.Paint; import com.leungjch.universemaker.GameView; import com.leungjch.universemaker.helpers.MassRadiusTuple; import com.leungjch.universemaker.helpers.Vector2D; import java.util.Random; // Star is a subclass of a celestial body public class Star extends CelestialBody { Random rand = new Random(); // Constants for radii of stars public static final class SIZES { public static final MassRadiusTuple SMALL = new MassRadiusTuple(1000, 25); public static final MassRadiusTuple MEDIUM = new MassRadiusTuple(3000,50); public static final MassRadiusTuple LARGE = new MassRadiusTuple(10000,100); } public Star(GameView.SIZE_TYPE size, Paint starPaint) { Vector2D starVel = new Vector2D(0,0); Vector2D starAcc = new Vector2D(0,0); Vector2D starFnet = new Vector2D(0,0); switch (size) { case SMALL: super.setMass(Star.SIZES.SMALL.mass); super.setRadius(Star.SIZES.SMALL.radius); break; case MEDIUM: super.setMass(Star.SIZES.MEDIUM.mass); super.setRadius(Star.SIZES.MEDIUM.radius); break; case LARGE: super.setMass(Star.SIZES.LARGE.mass); super.setRadius(Star.SIZES.LARGE.radius); break; case RANDOM: double randRadius = Star.SIZES.SMALL.radius + rand.nextDouble()*(Star.SIZES.LARGE.radius - Star.SIZES.SMALL.radius); super.setRadius(Star.SIZES.SMALL.radius + rand.nextDouble()*(Star.SIZES.LARGE.radius - Star.SIZES.SMALL.radius)); // apply a standard density super.setMass(randRadius * Star.SIZES.LARGE.mass/ Star.SIZES.LARGE.radius); break; } super.setVel(starVel); super.setAcc(starAcc); super.setFnet(starFnet); super.setPaint(starPaint); } }
[ "justin.leung.ch@gmail.com" ]
justin.leung.ch@gmail.com
60abeb77f7f37e7c7b44f8011536dbcc9906e545
c74c2e590b6c6f967aff980ce465713b9e6fb7ef
/game-logic-reset/src/main/java/com/bdoemu/gameserver/model/skills/buffs/effects/SwimmingSpeedEffect.java
be54441e9b70318c665a3c5ea50803a396a1b659
[]
no_license
lingfan/bdoemu
812bb0abb219ddfc391adadf68079efa4af43353
9c49b29bfc9c5bfe3192b2a7fb1245ed459ef6c1
refs/heads/master
2021-01-01T13:10:13.075388
2019-12-02T09:23:20
2019-12-02T09:23:20
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,165
java
package com.bdoemu.gameserver.model.skills.buffs.effects; import com.bdoemu.gameserver.model.creature.Creature; import com.bdoemu.gameserver.model.creature.player.Player; import com.bdoemu.gameserver.model.skills.buffs.ABuffEffect; import com.bdoemu.gameserver.model.skills.buffs.ActiveBuff; import com.bdoemu.gameserver.model.skills.buffs.templates.BuffTemplate; import com.bdoemu.gameserver.model.skills.templates.SkillT; import com.bdoemu.gameserver.model.stats.elements.BuffElement; import java.util.ArrayList; import java.util.Collection; import java.util.List; /** * @ClassName SwimmingSpeedEffect * @Description TODO * @Author JiangBangMing * @Date 2019/7/12 10:18 * VERSION 1.0 */ public class SwimmingSpeedEffect extends ABuffEffect { @Override public Collection<ActiveBuff> initEffect(final Creature owner, final Collection<? extends Creature> targets, final SkillT skillT, final BuffTemplate buffTemplate) { final List<ActiveBuff> buffs = new ArrayList<ActiveBuff>(); final Integer[] params = buffTemplate.getParams(); final int swimmingValue = params[0]; final BuffElement element = new BuffElement(swimmingValue); for (final Creature target : targets) { buffs.add(new ActiveBuff(skillT, buffTemplate, owner, target, element)); } return buffs; } @Override public void applyEffect(final ActiveBuff activeBuff) { final Creature target = activeBuff.getTarget(); if (target.isPlayer()) { target.getGameStats().getSwimmingStat().addElement(activeBuff.getElement()); final Player player = (Player) target; // player.sendBroadcastItSelfPacket(new SMSetCharacterPublicPoints(player)); } } @Override public void endEffect(final ActiveBuff activeBuff) { final Creature target = activeBuff.getTarget(); if (target.isPlayer()) { target.getGameStats().getSwimmingStat().removeElement(activeBuff.getElement()); final Player player = (Player) target; // player.sendBroadcastItSelfPacket(new SMSetCharacterPublicPoints(player)); } } }
[ "511459965@qq.com" ]
511459965@qq.com
4c8de418dcfddad20ffa984adc69e9418966c1e7
5cd490e7a4e1deada9a8b502edeff06829bbe029
/app/src/main/java/com/example/doctruyen/ManDangNhap.java
68e90f93a9676be902d4e45773801dbd79efcb37
[]
no_license
BaiKaiTa/DocTruyen
3c761a569cc535e8adae246d05450f4116b5430b
933d07ccd8bc9d7741ce1b086e1205bd69227b65
refs/heads/main
2023-09-03T18:03:28.717578
2021-10-30T13:23:57
2021-10-30T13:23:57
421,880,971
0
0
null
null
null
null
UTF-8
Java
false
false
2,721
java
package com.example.doctruyen; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import com.example.doctruyen.database.databasedoctruyen; public class ManDangNhap extends AppCompatActivity { EditText edtTaiKhoan,edtMatKhau; Button btnDangNhap,btnDangKy; com.example.doctruyen.database.databasedoctruyen databasedoctruyen; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_man_dang_nhap); AnhXa(); //đối tượng databasedoctruyen = new databasedoctruyen(this); btnDangKy.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(ManDangNhap.this,ManDangKy.class); startActivity(intent); } }); btnDangNhap.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { String tentaikhoan = edtTaiKhoan.getText().toString(); String matkhau = edtMatKhau.getText().toString(); Cursor cursor = databasedoctruyen.getCData(); while (cursor.moveToNext()){ String datatentaikhoan = cursor.getString(1); String datamatkhau = cursor.getString(2); if (datatentaikhoan.equals(tentaikhoan) && datamatkhau.equals(matkhau)) { int phanquyen = cursor.getInt(4); int idd = cursor.getInt(0); String email = cursor.getString(3); String tentk = cursor.getString(1); //chuyển sang màn hình mainactivty Intent intent = new Intent(ManDangNhap.this,MainActivity.class); intent.putExtra("phanq", phanquyen); intent.putExtra("idd",idd); intent.putExtra("email",email); intent.putExtra("tentaikhoan", tentk); startActivity(intent); } } cursor.moveToFirst(); cursor.close(); } }); } private void AnhXa() { edtMatKhau = findViewById(R.id.matkhau); edtTaiKhoan = findViewById(R.id.taikhoan); btnDangKy = findViewById(R.id.dangky); btnDangNhap = findViewById(R.id.dangnhap); } }
[ "bykyta269@gmail.com" ]
bykyta269@gmail.com
f3e27458c86840987d6f5a7e3e4e422f2fa9d41c
898d37790e866039ed5fb315982592d1965b0c09
/app/src/main/java/com/example/midterm/MainActivity3.java
ac33c9200ccd200beeb7a5768194a5a7c46351da
[]
no_license
layaliElkordy/Midterm
3d125bbea92be2f63620be8c0f06bf8d2b2a7304
5bd6a1c01d5d13195006f03c9a53203767cc28e4
refs/heads/master
2023-03-21T22:12:26.187904
2021-03-08T15:11:07
2021-03-08T15:11:07
345,697,144
0
0
null
null
null
null
UTF-8
Java
false
false
334
java
package com.example.midterm; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; public class MainActivity3 extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main3); } }
[ "75898638+layaliElkordy@users.noreply.github.com" ]
75898638+layaliElkordy@users.noreply.github.com
06d65a8a96d5a4d4c4fe344a082bc5f69a58caaf
2ef484d237fccf39fecd1963bf956ffe6f1b80b3
/service/src/main/java/com/yanerwu/annotation/Id.java
bc0b1a41892eb90e1128d07b4e31d7fc4aff1c82
[]
no_license
zhi-heart/yanerwu
b279ac9d50da3b3573b2c54beb3e5f28c0307a15
31384ab075c8d906b52cef9f4c07243efb9f31cf
refs/heads/master
2021-01-23T03:12:08.053223
2018-01-23T08:59:21
2018-01-23T08:59:21
86,053,812
2
1
null
null
null
null
UTF-8
Java
false
false
345
java
package com.yanerwu.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Created by Zuz on 2017/4/27. */ @Target({ElementType.METHOD, ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) public @interface Id { }
[ "zhi_heart@aliyun.com" ]
zhi_heart@aliyun.com
9b88c0c3db45f72492d6dc94d8b49b12f49a5bdd
1dd6c249609b1806b04c4f6aeac1f8fe49526878
/src/java/org/chefx3d/model/MoveEntityTransientCommand.java
e53bac62a7fd19a01c58c5da21d8ad0fd5f50c06
[]
no_license
rmelton/ChefX3D
fd6c05d2fe5f5ffa3f33a61fecfa57859ce51ff0
d4580a8e885cdc8cd36ca384f309a16bb234f70e
refs/heads/master
2020-12-25T05:18:00.352831
2011-05-31T16:53:15
2011-05-31T16:53:15
null
0
0
null
null
null
null
UTF-8
Java
false
false
14,427
java
/***************************************************************************** * Copyright Yumetech, Inc (c) 2006-2007 * Java Source * * This source is licensed under the GNU LGPL v2.1 * Please read http://www.gnu.org/copyleft/lgpl.html for more information * * This software comes with the standard NO WARRANTY disclaimer for any * purpose. Use it at your own risk. If there's a problem you get to fix it. * ****************************************************************************/ package org.chefx3d.model; //External Imports import java.io.OutputStream; import java.io.PrintStream; import java.util.*; import org.w3c.dom.*; //Internal Imports import org.chefx3d.util.DOMUtils; import org.chefx3d.util.DefaultErrorReporter; import org.chefx3d.util.ErrorReporter; /** * A command for moving an entity. * * @author Alan Hudson * @version $Revision: 1.23 $ */ public class MoveEntityTransientCommand implements Command, DeadReckonedCommand, RuleDataAccessor, RuleBypassFlag { /** The model */ private BaseWorldModel model; /** The new entityID */ private int entityID; /** The entity to update */ private PositionableEntity entity; /** The position */ private double[] pos; /** The velocity */ private float[] linearVelocity; /** Is this a local add */ private boolean local; /** The transactionID */ private int transactionID; /** A list of strings of class names of rules to ignore*/ private HashSet<String> ignoreRuleList; /** The description of the <code>Command</code> */ private String description; /** The flag to indicate transient status */ private boolean transientState; /** The flag to indicate undoable status */ private boolean undoableState; /** The ErrorReporter for messages */ private ErrorReporter errorReporter; /** Should the command die */ private boolean shouldDie = false; /** Pick entity that would be the parent if placed at this position */ private Entity pickEntity = null; /** The rule bypass flag, default is false */ private boolean ruleBypassFlag; /** * Add an entity. * * @param model The model to change * @param transactionID The transactionID * @param entityID The unique entityID assigned by the view * @param position The position in world coordinates(meters, Y-UP, X3D * System). * @param velocity The velocity vector */ public MoveEntityTransientCommand( WorldModel model, int transactionID, int entityID, double[] position, float[] velocity) { // Cast to package definition to access protected methods this.model = (BaseWorldModel) model; this.entityID = entityID; this.transactionID = transactionID; this.pos = new double[3]; this.pos[0] = position[0]; this.pos[1] = position[1]; this.pos[2] = position[2]; linearVelocity = new float[3]; linearVelocity[0] = velocity[0]; linearVelocity[1] = velocity[1]; linearVelocity[2] = velocity[2]; description = "MoveEntityTransientCommand -> "+entityID; local = true; entity = (PositionableEntity)model.getEntity(entityID); ruleBypassFlag = false; init(); } /** * Overloaded constructor in order to specify the potential pick parent. * * @param model The model to change * @param transactionID The transaction id * @param entityID The entity id of the entity to update * @param position The position in world coordinates (meters, Y-UP, X3D * System) * @param velocity The velocity vector * @param pickParent The first entity returned from the pick parents */ public MoveEntityTransientCommand( WorldModel model, int transactionID, int entityID, double[] position, float[] velocity, Entity pickParent){ this(model, transactionID, entityID, position, velocity); pickEntity = pickParent; } /** * Basic constructor. * * @param model The model to change */ public MoveEntityTransientCommand(WorldModel model) { // Cast to package definition to access protected methods this.model = (BaseWorldModel) model; ruleBypassFlag = false; init(); } /** * Common initialization method. */ private void init() { errorReporter = DefaultErrorReporter.getDefaultReporter(); transientState = true; undoableState = false; } // ---------------------------------------------------------- // Methods required by DeadReckonedCommand // ---------------------------------------------------------- /** * Get the dead reckoning params. * * @param position The position data * @param orientation The orientation data * @param lVelocity The linear velocity * @param aVelocity The angular velocity */ public void getDeadReckoningParams(double[] position, float[] orientation, float[] lVelocity, float[] aVelocity) { position[0] = pos[0]; position[1] = pos[1]; position[2] = pos[2]; lVelocity[0] = linearVelocity[0]; lVelocity[1] = linearVelocity[1]; lVelocity[2] = linearVelocity[2]; } /** * Set the dead reckoning params. * * @param position The position data * @param orientation The orientation data * @param lVelocity The linear velocity * @param aVelocity The angular velocity */ public void setDeadReckoningParams(double[] position, float[] orientation, float[] lVelocity, float[] aVelocity) { pos[0] = position[0]; pos[1] = position[1]; pos[2] = position[2]; linearVelocity[0] = lVelocity[0]; linearVelocity[1] = lVelocity[1]; linearVelocity[2] = lVelocity[2]; } /** * Set the local flag. * * @param isLocal Is this a local update */ public void setLocal(boolean isLocal) { local = isLocal; } /** * Is the command locally generated. * * @return Is local */ public boolean isLocal() { return local; } /** * Get the position. * * @param position The preallocated array to fill in */ public void getPosition(double[] position) { position[0] = pos[0]; position[1] = pos[1]; position[2] = pos[2]; } /** * Execute the command. */ public void execute() { if (entity == null) return; entity.setPosition(pos, transientState); } /** * Undo the affects of this command. */ public void undo() { // ignore } /** * Redo the affects of this command. */ public void redo() { // ignore } /** * Get the text description of this <code>Command</code>. */ public String getDescription() { return description; } /** * Set the text description of this <code>Command</code>. */ public void setDescription(String desc) { description = desc; } /** * Get the state of this <code>Command</code>. */ public boolean isTransient() { return transientState; } /** * Get the transactionID for this command. * * @return The transactionID */ public int getTransactionID() { return transactionID; } /** * Get the undo setting of this <code>Command</code>. true = * <code>Command</code> may be undone false = <code>Command</code> may * never undone */ public boolean isUndoable() { return undoableState; } /** * Serialize this command. * * @param method What method should we use * @param os The stream to output to */ public void serialize(int method, OutputStream os) { switch (method) { case METHOD_XML: /* * <MoveEntityTransientCommand entityID='1' tID='' px='' py='' pz='' * vx='' vy='' vz=''/> */ StringBuilder sbuff = new StringBuilder(); sbuff.append("<MoveEntityTransientCommand entityID='"); sbuff.append(entityID); sbuff.append("' tID='"); sbuff.append(transactionID); sbuff.append("' px='"); sbuff.append(String.format("%.3f", pos[0])); sbuff.append("' py='"); sbuff.append(String.format("%.3f", pos[1])); sbuff.append("' pz='"); sbuff.append(String.format("%.3f", pos[2])); sbuff.append("' vx='"); sbuff.append(String.format("%.3f", linearVelocity[0])); sbuff.append("' vy='"); sbuff.append(String.format("%.3f", linearVelocity[1])); sbuff.append("' vz='"); sbuff.append(String.format("%.3f", linearVelocity[2])); sbuff.append("' />"); String st = sbuff.toString(); PrintStream ps = new PrintStream(os); ps.print(st); break; case METHOD_XML_FAST_INFOSET: errorReporter.messageReport("Unsupported serialization method"); break; } } /** * Deserialize a stream * * @param st The xml string to deserialize */ public void deserialize(String st) { Document doc = DOMUtils.parseXML(st); Element e = (Element) doc.getFirstChild(); String d; pos = new double[3]; d = e.getAttribute("px"); pos[0] = Double.parseDouble(d); d = e.getAttribute("py"); pos[1] = Double.parseDouble(d); d = e.getAttribute("pz"); pos[2] = Double.parseDouble(d); String f; linearVelocity = new float[3]; f = e.getAttribute("vx"); linearVelocity[0] = Float.parseFloat(f); f = e.getAttribute("vy"); linearVelocity[1] = Float.parseFloat(f); f = e.getAttribute("vz"); linearVelocity[2] = Float.parseFloat(f); entityID = Integer.parseInt(e.getAttribute("entityID")); transactionID = Integer.parseInt(e.getAttribute("tID")); entity = (PositionableEntity)model.getEntity(entityID); local = false; } /** * Register an error reporter with the command instance * so that any errors generated can be reported in a nice manner. * * @param reporter The new ErrorReporter to use. */ public void setErrorReporter(ErrorReporter reporter) { errorReporter = reporter; if(errorReporter == null) errorReporter = DefaultErrorReporter.getDefaultReporter(); } /** * Sets the position for the command. * * @param pos xyz indexed array with values to set */ public void setPosition(double[] pos){ this.pos[0] = pos[0]; this.pos[1] = pos[1]; this.pos[2] = pos[2]; } /** * Get the Entity * * @return Entity or null if it doesn't exist */ public Entity getEntity(){ return entity; } /** * Get the WorldModel * * @return WorldModel or null if it doesn't exist */ public WorldModel getWorldModel(){ return model; } public HashSet<String> getIgnoreRuleList() { // TODO Auto-generated method stub return ignoreRuleList; } public void setIgnoreRuleList(HashSet<String> ignoreRuleList) { this.ignoreRuleList = ignoreRuleList; } public void resetToStart() { // TODO Auto-generated method stub } /** * Set the die state of the command. Setting this to true will * only cause the command to die if the rule engine execution * returns false. * * @param die True to have command die and not execute */ public void setCommandShouldDie(boolean die) { shouldDie = die; } /** * Get the die value of the command. * * @return True to have command die, false otherwise */ public boolean shouldCommandDie() { return shouldDie; } /** * Get the pick parent entity * * @return Entity or null if not set */ public Entity getPickParentEntity(){ return pickEntity; } /** * Set the pick parent entity * * @param pickParent Pick parent entity to set */ public void setPickParentEntity(Entity pickParent) { pickEntity = pickParent; } /** * Compare external command to this one to see if they are the same. * * @param externalCommand command to compare against * @return True if the same, false otherwise */ public boolean isEqualTo(Command externalCommand) { // Check for appropriate command type(s) if (externalCommand instanceof MoveEntityTransientCommand) { if (((MoveEntityTransientCommand)externalCommand).transactionID == this.transactionID) { return true; } double[] position = new double[3]; ((MoveEntityTransientCommand)externalCommand).getPosition( position); if (((MoveEntityTransientCommand)externalCommand).getEntity() != entity) { return false; } else if (((MoveEntityTransientCommand)externalCommand). getPickParentEntity() != this.pickEntity) { return false; } else if (!Arrays.equals(position, this.pos)) { return false; } return true; } return false; } /** * Override object's equals method */ @Override public boolean equals(Object obj) { if (obj instanceof Command) { return isEqualTo((Command)obj); } return false; } //-------------------------------------------------------------------- // Routines required by RuleBypassFlag //-------------------------------------------------------------------- /** * Set the rule bypass flag value. * * @param ruleBypassFlag True to bypass rules, false otherwise */ public void setBypassRules(boolean bypass){ this.ruleBypassFlag = bypass; } /** * Get the rule bypass flag value. * * @return boolean True to bypass, false otherwise */ public boolean bypassRules() { return ruleBypassFlag; } }
[ "giles7777@gmail.com" ]
giles7777@gmail.com
bb6a6b5233171fd68c523b56f17f9c0e8e807ad9
c54db4844a5d93c0a6b57fdb680f306fe934fdb2
/4.Breath First Search/Topological Sorting.java
b4e90de440b3979cd69de8421a97125c14b9c260
[]
no_license
hanrick2000/9chapters_algorithm
17dd8e21331ff7dda1f91f76d53b7ea399a8704c
31da8a79fa143a502609552cc45cba076244aeba
refs/heads/master
2022-01-16T22:27:02.384855
2019-09-08T19:54:30
2019-09-08T19:54:30
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,716
java
/* Given an directed graph, a topological order of the graph nodes is defined as follow: For each directed edge A -> B in graph, A must before B in the order list. The first node in the order can be any node in the graph with no nodes direct to it. Find any topological order for the given graph. Notice You can assume that there is at least one topological order in the graph. Have you met this question in a real interview? Yes Clarification Learn more about representation of graphs Example For graph as follow: picture The topological order can be: [0, 1, 2, 3, 4, 5] [0, 2, 3, 1, 5, 4] ... Challenge Can you do it in both BFS and DFS? Tags LintCode Copyright Geeks for Geeks Topological Sort Depth First Search Breadth First Search Related Problems Medium Course Schedule 23 % Medium Course Schedule II 21 % Medium Sequence Reconstruction 19 % */ /** * Definition for Directed graph. * class DirectedGraphNode { * int label; * ArrayList<DirectedGraphNode> neighbors; * DirectedGraphNode(int x) { label = x; neighbors = new ArrayList<DirectedGraphNode>(); } * }; */ public class Solution { /* * @param graph: A list of Directed graph node * @return: Any topological order for the given graph. */ public ArrayList<DirectedGraphNode> topSort(ArrayList<DirectedGraphNode> graph) { // write your code here ArrayList<DirectedGraphNode> ans = new ArrayList<>(); if (graph == null || graph.size() == 0) { return ans; } Map<Integer, Integer> inDegree = new HashMap<>(); for (DirectedGraphNode node: graph) { ArrayList<DirectedGraphNode> neighbors = node.neighbors; for (DirectedGraphNode nei: neighbors) { int key = nei.label; if (inDegree.containsKey(key)) { inDegree.put(key, inDegree.get(key) + 1); } else { inDegree.put(key, 1); } } } Queue<DirectedGraphNode> queue = new LinkedList<>(); for (DirectedGraphNode node: graph) { if (!inDegree.containsKey(node.label)) { queue.offer(node); } } while (!queue.isEmpty()) { DirectedGraphNode node = queue.poll(); ans.add(node); ArrayList<DirectedGraphNode> neighbors = node.neighbors; for (DirectedGraphNode nei: neighbors) { int key = nei.label; inDegree.put(key, inDegree.get(key) - 1); if (inDegree.get(key) == 0) { queue.offer(nei); } } } return ans; } }
[ "fanchi@ualberta.ca" ]
fanchi@ualberta.ca
f91235458cf4f73856ed6866e73bb8f16c43f850
7ae75038fa483db726152aa2c546441eced38505
/two-fer/src/main/java/Twofer.java
d4f58b1c4c96e68c916444636ea872614c7a989b
[]
no_license
AsmitaHari/ExercismCode
41364f2de03ffb23f4c5fef1cf5e1708becc1491
ab0362b67c000769b865d5c2b438d730d4c9fac0
refs/heads/master
2022-12-24T04:51:50.689604
2020-09-18T23:09:29
2020-09-18T23:09:29
296,747,036
0
0
null
null
null
null
UTF-8
Java
false
false
287
java
public class Twofer { public String twofer(String name) { String message = new String("One for %s, one for me."); if (name == null) { return String.format(message,"you"); } else { return String.format(message, name); } } }
[ "50839635+AsmitaHari@users.noreply.github.com" ]
50839635+AsmitaHari@users.noreply.github.com
23b9beb09658d4dea3fb05b0f0a5b8e98195aa09
13c2d3db2d49c40c74c2e6420a9cd89377f1c934
/program_data/JavaProgramData/29/147.java
e2d7982cd52f59677e39e2caaceac10c2bde6932
[ "MIT" ]
permissive
qiuchili/ggnn_graph_classification
c2090fefe11f8bf650e734442eb96996a54dc112
291ff02404555511b94a4f477c6974ebd62dcf44
refs/heads/master
2021-10-18T14:54:26.154367
2018-10-21T23:34:14
2018-10-21T23:34:14
null
0
0
null
null
null
null
UTF-8
Java
false
false
763
java
package <missing>; public class GlobalMembers { public static int k(int n) { int i; int k1 = 1; int k2 = 2; int a; if (n > 1) { for (i = 1;i < n;i++) { a = k2; k2 = k1 + k2; k1 = a; } } else if (n = 1) { k2 = 2; } return k2; } public static int Main() { int n; String tempVar = ConsoleInput.scanfRead(); if (tempVar != null) { n = Integer.parseInt(tempVar); } int i; int j; for (i = 0;i < n;i++) { int num; String tempVar2 = ConsoleInput.scanfRead(); if (tempVar2 != null) { num = Integer.parseInt(tempVar2); } double sum = 2; for (j = 2;j <= num;j++) { sum = sum + ((double)k(j) / (double)k(j - 1)); } System.out.printf("%.3lf\n",sum); } } }
[ "y.yu@open.ac.uk" ]
y.yu@open.ac.uk
e76dfe219f1b469f3838f26675179e11549d2bcb
6c24145ec45c05059a36f79d7910579a57af424f
/library/src/main/java/me/drakeet/library/UIImageView.java
db29517d7411bdc7c4fe2de6e8e7b7aed19ff067
[ "MIT" ]
permissive
peterdocter/AndroidUIView
569232291448635be6cce037f5fdb8faa3d13c1a
7bc68ba1c1a8d94d7d2886bcd7cb686d45e4e9ed
refs/heads/master
2021-01-17T18:09:43.863422
2015-09-02T13:35:30
2015-09-02T13:35:30
null
0
0
null
null
null
null
UTF-8
Java
false
false
4,149
java
/* * The MIT License (MIT) * * Copyright (c) 2015 drakeet (http://drakeet.me) * * 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 me.drakeet.library; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.RectF; import android.util.AttributeSet; import android.view.MotionEvent; import android.widget.ImageView; /** * Created by drakeet on 3/27/15. */ public class UIImageView extends ImageView { private int WIDTH; private int HEIGHT; private int PAINT_ALPHA = 48; private int mPressedColor; private Paint mPaint; private int mShapeType; private int mRadius; public UIImageView(Context context) { super(context); } public UIImageView(Context context, AttributeSet attrs) { super(context, attrs); init(context, attrs); } public UIImageView(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); init(context, attrs); } private void init(final Context context, final AttributeSet attrs) { if (isInEditMode()) return; final TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.UIButton); mPressedColor = typedArray.getColor(R.styleable.UIButton_color_pressed, getResources().getColor(R.color.color_pressed)); PAINT_ALPHA = typedArray.getInteger(R.styleable.UIButton_alpha_pressed, PAINT_ALPHA); mShapeType = typedArray.getInt(R.styleable.UIButton_shape_type, 1); mRadius = typedArray.getDimensionPixelSize(R.styleable.UIButton_radius, getResources().getDimensionPixelSize(R.dimen.ui_radius)); typedArray.recycle(); mPaint = new Paint(); mPaint.setStyle(Paint.Style.FILL); mPaint.setColor(mPressedColor); this.setWillNotDraw(false); mPaint.setAlpha(0); mPaint.setAntiAlias(true); this.setDrawingCacheEnabled(true); this.setClickable(true); } @Override protected void onSizeChanged(int w, int h, int oldw, int oldh) { super.onSizeChanged(w, h, oldw, oldh); WIDTH = w; HEIGHT = h; } @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); if (mPaint == null) return; if (mShapeType == 0) { canvas.drawCircle(WIDTH/2, HEIGHT/2, WIDTH/2.1038f, mPaint); } else { RectF rectF = new RectF(); rectF.set(0, 0, WIDTH, HEIGHT); canvas.drawRoundRect(rectF, mRadius, mRadius, mPaint); } } @Override public boolean onTouchEvent(MotionEvent event) { switch (event.getAction()) { case MotionEvent.ACTION_DOWN: mPaint.setAlpha(PAINT_ALPHA); invalidate(); break; case MotionEvent.ACTION_CANCEL: case MotionEvent.ACTION_UP: mPaint.setAlpha(0); invalidate(); break; } return super.onTouchEvent(event); } }
[ "drakeet.me@gmail.com" ]
drakeet.me@gmail.com
a809710b7aada686ac1d28d06f1ecf88308ab677
0af8b92686a58eb0b64e319b22411432aca7a8f3
/single-large-project/src/main/java/org/gradle/test/performancenull_439/Productionnull_43877.java
3319675afc55a43a33b7a79ec8c9f98aebe48194
[]
no_license
gradle/performance-comparisons
b0d38db37c326e0ce271abebdb3c91769b860799
e53dc7182fafcf9fedf07920cbbea8b40ee4eef4
refs/heads/master
2023-08-14T19:24:39.164276
2022-11-24T05:18:33
2022-11-24T05:18:33
80,121,268
17
15
null
2022-09-30T08:04:35
2017-01-26T14:25:33
null
UTF-8
Java
false
false
588
java
package org.gradle.test.performancenull_439; public class Productionnull_43877 { private final String property; public Productionnull_43877(String param) { this.property = param; } public String getProperty() { return property; } private String prop0; public String getProp0() { return prop0; } public void setProp0(String value) { prop0 = value; } private String prop1; public String getProp1() { return prop1; } public void setProp1(String value) { prop1 = value; } }
[ "cedric.champeau@gmail.com" ]
cedric.champeau@gmail.com
52bcc87e632f6db71f7a4aeb4ef388e6629190f2
ec2f55cfe93425b4237d656242a4f5be2d61aed3
/AndroidLibrary/src/com/vlabs/ane/cameraroll/functions/LoadPhotoAtIndexFunction.java
87573441874ce191cb013d66168e145ad9161449
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
rivella50/ANE-CameraRoll
4d3c0e7b5fee598ae3215232f5f372e13e290d4b
ac0602a57e52f8948654b66f5e58503a9d9e4fdf
refs/heads/master
2020-12-30T09:37:57.399995
2013-04-23T13:30:36
2013-04-23T13:30:36
8,653,016
8
2
null
null
null
null
UTF-8
Java
false
false
338
java
package com.vlabs.ane.cameraroll.functions; import com.adobe.fre.FREContext; import com.adobe.fre.FREFunction; import com.adobe.fre.FREObject; public class LoadPhotoAtIndexFunction implements FREFunction { @Override public FREObject call(FREContext arg0, FREObject[] arg1) { // TODO Auto-generated method stub return null; } }
[ "valentin.treu@gmail.com" ]
valentin.treu@gmail.com
c27238ccb17f77c635592f0015ceacaa3bfd0c5b
dcbc03ccddb98fdc7fe2035edaa78b28a9629474
/src/com/chinaunicom/homework/servlet/LogoutServelt.java
256e8f8861dcd011c7b92de8d384b6acc9ce4196
[]
no_license
chengxinxiaofeng/chinaUnicomTrainPractice
9d3d3479781eca380fcfd2a9a5bff319e28941b5
661b71cfbc09cd2e28cb1bec21a6f2a1d676a908
refs/heads/master
2020-06-11T15:26:49.472217
2019-06-27T02:51:25
2019-06-27T02:51:25
194,010,901
0
0
null
null
null
null
UTF-8
Java
false
false
737
java
package com.chinaunicom.homework.servlet; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * 张永峰 * @author Administrator * 退出登录 * */ @WebServlet("/logout") public class LogoutServelt extends HttpServlet { private static final long serialVersionUID = 1L; @Override protected void doPost(HttpServletRequest req, HttpServletResponse resp) { doGet(req, resp); } @Override protected void doGet(HttpServletRequest request, HttpServletResponse resp) { request.getSession().removeAttribute("isLogin"); //request.getSession().invalidate(); } }
[ "zhangyf2327@chinaunicom.cn" ]
zhangyf2327@chinaunicom.cn
9baccd17d79fbe041b3a6a96b617ebb77054eab1
5dc8faa95699b22cd4b564ea2ee20aa2977bf8fd
/src/org/openelis/ui/widget/table/event/FilterHandler.java
e094c44a528517d53a91ac7871ffb41651530a00
[]
no_license
mbielicke/OpenELIS-UI
0b47cde80cb73edce965b402708923040c3ca9f6
32dcf69b17d419b877cd68a6cc7d1408729b1fad
refs/heads/master
2021-01-11T00:44:51.796516
2016-08-10T18:19:42
2016-08-10T18:19:42
70,498,177
0
0
null
null
null
null
UTF-8
Java
false
false
195
java
package org.openelis.ui.widget.table.event; import com.google.gwt.event.shared.EventHandler; public interface FilterHandler extends EventHandler { public void onFilter(FilterEvent event); }
[ "travis.schmidt@gmail.com" ]
travis.schmidt@gmail.com
f0b43ddc1f7d93220ce042999b93ea0a42cd794a
c7723fcf2a69a60b07fb866afa3bd0456474bc7b
/src/main/java/org/robotframework/formslibrary/operator/HorizontalScrollBarOperator.java
409c55d3313c3d14e19bb145f26caeff5916190c
[ "Apache-2.0" ]
permissive
dvanherbergen/robotframework-formslibrary
295db27bf5213dfb9784a5815a66229351b78a48
c71aadc994f40d828c35155f6a35c8d9d7a1e888
refs/heads/master
2020-04-12T03:46:44.091434
2017-04-20T14:42:41
2017-04-20T14:42:41
62,289,888
5
4
null
null
null
null
UTF-8
Java
false
false
2,296
java
package org.robotframework.formslibrary.operator; import java.awt.Component; import java.awt.Container; import org.robotframework.formslibrary.chooser.ByComponentTypeChooser; import org.robotframework.formslibrary.chooser.ByOrientationChooser; import org.robotframework.formslibrary.chooser.CompositeChooser; import org.robotframework.formslibrary.util.ComponentType; import org.robotframework.formslibrary.util.ObjectUtil; /** * Operator for working with horizontal scroll bars. */ public class HorizontalScrollBarOperator extends AbstractComponentOperator { /** * Initialize a HorizontalScrollBarOperator with the n'th horizontal scroll * bar in the current context. * * @param index * 0 (first), 1 (second), ... */ public HorizontalScrollBarOperator(int index) { super(new CompositeChooser(new ByOrientationChooser(ByOrientationChooser.Orientation.HORIZONTAL), new ByComponentTypeChooser(index, ComponentType.ALL_SCROLL_BAR_TYPES))); } /** * Scroll left by pressing the left arrow button in the scroll bar. * * @param count * number of times to press the button. */ public void scrollLeft(int count) { Component[] buttons = ((Container) getSource()).getComponents(); Component leftButton = null; if (buttons[1].getX() < buttons[0].getX()) { leftButton = buttons[1]; } else { leftButton = buttons[0]; } for (int i = 0; i < count; i++) { ObjectUtil.invokeMethod(leftButton, "simulatePush"); } } /** * Scroll right by pressing the right arrow button in the scroll bar. * * @param count * number of times to press the button. */ public void scrollRight(int count) { Component[] buttons = ((Container) getSource()).getComponents(); Component rightButton = null; if (buttons[1].getX() > buttons[0].getX()) { rightButton = buttons[1]; } else { rightButton = buttons[0]; } for (int i = 0; i < count; i++) { ObjectUtil.invokeMethod(rightButton, "simulatePush"); } } }
[ "davy.vanherbergen@gmail.com" ]
davy.vanherbergen@gmail.com
4fb40ed4f31260aea43819da0c588a65c7ac9302
f3332975a54623a1ef31aced2c20e355c7626fa0
/library/src/main/java/com/mobilesolutionworks/android/exe/WorksExecutor.java
e2bf5c6f04a75ed15cae100487b8f2e084f29941
[]
no_license
yunarta/works-base-android
1e55a04b6c71b65b9a2995d12f1092f1d28fb472
508533bb56cc38babb88c3e034eb9af8f464df03
refs/heads/master
2021-01-23T12:57:21.635940
2016-01-10T17:14:39
2016-01-10T17:14:39
46,443,289
0
2
null
null
null
null
UTF-8
Java
false
false
598
java
package com.mobilesolutionworks.android.exe; import android.os.Handler; import android.os.Looper; import java.util.concurrent.Executor; /** * Created by yunarta on 19/11/15. */ public class WorksExecutor { static class MainExecutor implements Executor { MainExecutor() { mHandler = new Handler(Looper.getMainLooper()); } private Handler mHandler; @Override public void execute(Runnable runnable) { mHandler.post(runnable); } } public static final Executor MAIN = new MainExecutor(); }
[ "yunarta@vcube.co.jp" ]
yunarta@vcube.co.jp
1a6a2c785f7d97e5e1a9f7a5fbee63f86c5e1647
f3ec391704c9c418d70808a38231ca66d16ab607
/SchoolProject/2ndFall2020/week1/httpServer/src/gk/company/Main.java
d5af930383bff753be528891404fa9e864348ff7
[]
no_license
gkwazy/SchoolProjects
efc457056fde56c9539b4f1d287396784ec80d5d
30068f02ad6291ee250dd43e981a2f656886ff98
refs/heads/master
2023-07-09T20:48:50.900596
2021-08-09T17:20:30
2021-08-09T17:20:30
394,379,015
0
0
null
null
null
null
UTF-8
Java
false
false
1,107
java
package gk.company; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.util.*; public class Main { private static ServerSocket server; public static void main(String[] args) throws IOException { server = new ServerSocket(8080); System.out.println("Listening for connection on port 8080 ...."); while(true) { Socket clientSocket = server.accept(); Thread serverThread = new Thread(() -> { System.out.println("started thread ... " + Thread.currentThread().getId()); try { HTTPRequest httpRequest = new HTTPRequest(); HTTPResponse httpResponse = new HTTPResponse(); String[] request = httpRequest.parseRequest(clientSocket); httpResponse.sendInfo(clientSocket, request); // clientSocket.close(); } catch (IOException | InterruptedException e) { e.printStackTrace(); } }); serverThread.start(); } } }
[ "35306836+gkwazy@users.noreply.github.com" ]
35306836+gkwazy@users.noreply.github.com
2c50cf961e76a3facae00a034236afb23c2e0eaf
a8e6cb7b256f8a2d7cef8100dcda91ef2eacbbd0
/reservation-api/src/main/java/ca/ulaval/glo4002/reservation/exceptions/RestException.java
2a70cee3a785f7ef3bcabe6a851257b7905c8d2a
[]
no_license
bigpkd/glo-4002-maitre-T
9354d9622cd5129ba2f339a2320c04f072a7136a
614699edac8f1969ddd0ad2321765275de063f34
refs/heads/master
2023-02-15T13:25:29.023813
2021-01-14T13:03:24
2021-01-14T13:03:24
329,617,060
0
0
null
null
null
null
UTF-8
Java
false
false
219
java
package ca.ulaval.glo4002.reservation.exceptions; public abstract class RestException extends RuntimeException { public RestException(String message) { super(message); } public abstract String getError(); }
[ "bigpkd@yahoo.fr" ]
bigpkd@yahoo.fr
20b4dd8bbcae6e83d252031e39b66f46023984e9
2dfada3a7c42b541b7af3da7e6f9cc3d87c424ec
/src/main/java/com/code/service/impl/CategoryServiceImp.java
c26b3d3d0c899f071742095a00c4c1af8a1064df
[ "Apache-2.0" ]
permissive
yanchhuong/WESERVDEV
a37993d976aa15e3e0f697ff05c4ddd5dc9fad61
727ceb61578f8185b690505fbbce16b2c0a640cf
refs/heads/master
2021-09-13T14:10:33.773601
2018-05-01T02:55:18
2018-05-01T02:55:18
113,276,071
0
0
null
null
null
null
UTF-8
Java
false
false
2,457
java
package com.code.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.code.dao.ICategoryRepository; import com.code.model.CategoryBean; import com.code.model.CategoryBean_R001; import com.code.service.ICategoryService; @Service(value = "categoryService") public class CategoryServiceImp implements ICategoryService{ private ICategoryRepository iCategoryRepo; @Autowired(required = true) public CategoryServiceImp(ICategoryRepository iCategory){ this.iCategoryRepo = iCategory; } @Transactional(readOnly = true) @Override public List<CategoryBean_R001> findAll() { return this.iCategoryRepo.findAlls(); } @Transactional(readOnly = false) @Override public void saveCategoryBean(CategoryBean input) { if(input.getCatgid() > 0) { this.iCategoryRepo.updateCategory(input); }else { this.iCategoryRepo.insertCategory(input); } } @Override public void delete(long CategoryBeanId) { this.iCategoryRepo.delete(CategoryBeanId); } @Override public long getCatgidCount() { return this.iCategoryRepo.getCatidCount(); } @Override public void removeMenuTree(int rootid) { this.iCategoryRepo.removeMenuTree(rootid); } @Override public List<CategoryBean> findByCategoryBeanFirstName(String CategoryBeanFirstName) { // TODO Auto-generated method stub return null; } @Override public List<CategoryBean> findByCategoryBeanNameAndSalary(String CategoryBeanFirstName, long CategoryBeanSalary) { // TODO Auto-generated method stub return null; } @Override public List<CategoryBean> findBySalary(long salary) { // TODO Auto-generated method stub return null; } @Override public List<CategoryBean> findByPriceRange(long price1, long price2) { // TODO Auto-generated method stub return null; } @Override public List<CategoryBean> findByNameMatch(String name) { // TODO Auto-generated method stub return null; } @Override public List<CategoryBean> findByNamedParam(String name, String author, long price) { // TODO Auto-generated method stub return null; } @Override public CategoryBean findOne(long CategoryBeanId) { // TODO Auto-generated method stub return null; } @Override public void updateMenu(long pid, String usercd, long catgid) { // TODO Auto-generated method stub } }
[ "yanchhuo_ng@yahoo.com" ]
yanchhuo_ng@yahoo.com
21c00bc5105bb9242f27808dadd67493d413a4f7
4119b75e437c7dbccab677e98b5c00918abf5ed1
/svn-webapp/src/main/java/com/tusia/dto/PieChartCommits.java
6b3a4eccf5ea23b309837280d8d836cd448720c4
[]
no_license
qulith/svn-stats
9b97a2f6bb7fab15cf4f547f9c73e467868c6b10
4e2ca7e7b8739570858c5cc9c025220ec5e419b0
refs/heads/master
2020-04-06T03:34:08.898088
2011-11-13T00:32:04
2011-11-13T00:32:04
2,753,850
0
0
null
null
null
null
UTF-8
Java
false
false
496
java
package com.tusia.dto; import org.json.simple.JSONArray; import org.json.simple.JSONObject; public class PieChartCommits { protected String name; protected int y = 0; public JSONArray getJson() { JSONArray retVal = new JSONArray(); retVal.add(name); retVal.add(y); return retVal; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getY() { return y; } public void setY(int y) { this.y = y; } }
[ "qulith@yahoo.com" ]
qulith@yahoo.com
4f6983536af3911a9a200e0bde18042354500b14
fa91450deb625cda070e82d5c31770be5ca1dec6
/Diff-Raw-Data/4/4_8fde77a843431037fde796c92b22f699bd28953f/ReactorTarget/4_8fde77a843431037fde796c92b22f699bd28953f_ReactorTarget_t.java
5d79d549d4b2c95cd6b85d1919eaf7f6cf5d425d
[]
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
930
java
package openccsensors.common.sensors.industrialcraft; import ic2.api.IReactor; import ic2.api.IC2Reactor; import java.util.HashMap; import java.util.Map; import net.minecraft.src.TileEntity; import net.minecraft.src.World; import openccsensors.common.api.ISensorTarget; import openccsensors.common.sensors.TileSensorTarget; public class ReactorTarget extends TileSensorTarget implements ISensorTarget { ReactorTarget(TileEntity targetEntity) { super(targetEntity); } public Map getDetailInformation(World world) { HashMap retMap = new HashMap(); IReactor reactor = (IReactor) world.getBlockTileEntity(xCoord, yCoord, zCoord); retMap.put("Heat", reactor.getHeat()); retMap.put("MaxHeat", reactor.getMaxHeat()); retMap.put("Output", reactor.getOutput() * new IC2Reactor().getEUOutput()); retMap.put("Active", reactor.produceEnergy()); return retMap; } }
[ "yuzhongxing88@gmail.com" ]
yuzhongxing88@gmail.com
8fc36f2a52e258554a05b460a02a24676dd5d229
13d11f557f625c7c57397ecb7e78bcfe64c8121c
/src/main/java/com/example/administrator/fragmenttest_04_44/BookDetailFragment.java
e50e53e7e7ddc398bea37de5b7c23eb58571b8cd
[]
no_license
shenquan/GithubFragmentTest_04_4.42
97cd3bfd71ae7253021e35d06beea77f2939dc44
e1b67a0f4ae586dba82fbf2988a1f628dfcd9c45
refs/heads/master
2021-01-10T03:47:06.430919
2016-01-14T16:20:01
2016-01-14T16:20:01
49,659,041
0
0
null
null
null
null
UTF-8
Java
false
false
1,640
java
package com.example.administrator.fragmenttest_04_44; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; /** * Created by Administrator on 2016/1/14. */ public class BookDetailFragment extends Fragment { public static final String ITEM_ID = "item_id"; // 保存该Fragment显示的Book对象 BookContent.Book book; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // 如果启动该Fragment时包含了ITEM_ID参数 if (getArguments().containsKey(ITEM_ID)) { book = BookContent.ITEM_MAP.get(getArguments() .getInt(ITEM_ID)); // ① } } // 重写该方法,该方法返回的View将作为Fragment显示的组件 @Override public View onCreateView(LayoutInflater inflater , ViewGroup container, Bundle savedInstanceState) { // 加载/res/layout/目录下的fragment_book_detail.xml布局文件 View rootView = inflater.inflate(R.layout.fragment_book_detail, container, false); if (book != null) { // 让book_title文本框显示book对象的title属性 ((TextView) rootView.findViewById(R.id.book_title)) .setText(book.title); // 让book_desc文本框显示book对象的desc属性 ((TextView) rootView.findViewById(R.id.book_desc)) .setText(book.desc); } return rootView; } }
[ "1173956412@qq.com" ]
1173956412@qq.com
08b32335db1db4d7e507d9557abf59568e7a54f3
b75f9e2399a67d4d25219d6bd55a31d93aa7255d
/MoodAnalyzerTest.java
76666e8b68e252397439a87cc06162c43933c530
[]
no_license
Ansh2103/Mood_Analyzer_Test
5e30728755356114997fd892ba4e35ab76b55dc6
7df31e1e8ab2c664b8ff0869560ec5c64cbe2a2a
refs/heads/master
2023-01-04T18:56:28.521936
2020-11-02T14:04:48
2020-11-02T14:04:48
309,381,387
0
0
null
null
null
null
UTF-8
Java
false
false
604
java
import org.junit.Assert; import org.junit.Test; public class MoodAnalyzerTest { @Test public void testMood_WhenStringContainSad_ShouldReturnSad() { MoodAnalyzer moodAnalyser = new MoodAnalyzer("I am in Sad Mood"); String isMoodSad = moodAnalyser.analyzeMood(); Assert.assertEquals("SAD" , isMoodSad); } @Test public void testMood_WhenStringContainHappy_ShouldReturnHappy() { MoodAnalyzer moodAnalyser = new MoodAnalyzer(null); String isMoodHappy = moodAnalyser.analyzeMood(); Assert.assertEquals("HAPPY", isMoodHappy); } }
[ "swayamshubham007.sm@gmail.com" ]
swayamshubham007.sm@gmail.com
6ccdb370e14249d603912584eac224506b9e6ad6
632b69bd7637a01077ec7754d5011c52f4541022
/FunctionalTest/src/main/java/com/accusoft/tests/ocs/common/utils/amazon/DownloadFileFromS3.java
93aeab81d0c25a88a66646a68ca37e04e7ae89da
[]
no_license
ArtemKasjanenko/FunctionalTest
7bcd150821bbd31a5f1d4d8dfeb20ad5ebba9679
7211865cc786b14a7b996cafc640d38a268feb4a
refs/heads/master
2021-01-21T21:42:36.108756
2016-02-04T14:33:37
2016-02-04T14:33:37
49,976,580
0
0
null
null
null
null
UTF-8
Java
false
false
5,786
java
package com.accusoft.tests.ocs.common.utils.amazon; import java.io.File; import java.util.List; import com.accusoft.tests.ocs.common.utils.FSUtils; import com.amazonaws.services.s3.AmazonS3; import com.amazonaws.services.s3.model.GetObjectRequest; import com.amazonaws.services.s3.model.S3ObjectSummary; public class DownloadFileFromS3 extends BasicS3Step { private final static int NUMBER_OF_S3_REQUEST_RETRIES = 10; private final static String ARG_S3_FILE_NAME = "awsS3FileName"; private final static String ARG_LOCAL_FILE_NAME = "localFileName"; private final static String ARG_OVERWRITE_EXISTING_FILE = "overwriteExistingFile"; private final static String ARG_AWS_ACCESS_KEY_ID = "awsAccessKeyId"; private final static String ARG_AWS_SECRET_ACCESS_KEY = "awsSecretAccessKey"; private final static String ARG_AWS_S3_BUCKET_NAME = "awsS3BucketName"; private static String s3FileName = null; private static String localFileName = null; private static boolean overwriteExistingFile = false; private static boolean checkExistanceOfFileInS3 = false; public static void main(String[] args) { initTestProperties(); run(); System.exit(0); } public static void initTestProperties() { s3FileName = FSUtils.prettifyFilePath(System .getProperty(ARG_S3_FILE_NAME)); localFileName = FSUtils.prettifyFilePath(System .getProperty(ARG_LOCAL_FILE_NAME)); overwriteExistingFile = Boolean.parseBoolean(FSUtils .prettifyFilePath(System.getProperty( ARG_OVERWRITE_EXISTING_FILE, "false"))); accessKeyId = FSUtils.prettifyFilePath(System .getProperty(ARG_AWS_ACCESS_KEY_ID)); secretAccessKey = FSUtils.prettifyFilePath(System .getProperty(ARG_AWS_SECRET_ACCESS_KEY)); bucketName = FSUtils.prettifyFilePath(System .getProperty(ARG_AWS_S3_BUCKET_NAME)); LOGGER.info("\nDOWNLOAD FILE FROM S3 STEP PROPERTIES:"); LOGGER.info("S3 FILE NAME: " + s3FileName); LOGGER.info("LOCAL FILE NAME: " + localFileName); LOGGER.info("OVERWRITE EXISTING FILE: " + overwriteExistingFile); LOGGER.info("ACCESS KEY ID: " + accessKeyId); LOGGER.info("SECRET ACCESS KEY: " + secretAccessKey); LOGGER.info("BUCKET NAME: " + bucketName); } public static void init(String accessKeyId_, String secretAccessKey_, String bucketName_, String s3FileName_, String localFileName_, boolean overwriteExistingFile_) { accessKeyId = accessKeyId_; secretAccessKey = secretAccessKey_; bucketName = bucketName_; s3FileName = s3FileName_; localFileName = localFileName_; overwriteExistingFile = overwriteExistingFile_; } public static void run(String accessKeyId_, String secretAccessKey_, String bucketName_, String s3FileName_, String localFileName_, boolean overwriteExistingFile_, boolean checkExistanceOfFileInS3_) { accessKeyId = accessKeyId_; secretAccessKey = secretAccessKey_; bucketName = bucketName_; s3FileName = s3FileName_; localFileName = localFileName_; overwriteExistingFile = overwriteExistingFile_; checkExistanceOfFileInS3 = checkExistanceOfFileInS3_; run(); } public static void run() { // if (s3FileName == null) { throw new RuntimeException("S3 File Name can not be null or empty"); } if (s3FileName.isEmpty()) { throw new RuntimeException("S3 File Name can not be null or empty"); } // Check if local file exists File localFile = new File(localFileName); boolean localFileExists = localFile.exists(); if (localFileExists) { LOGGER.info("Local file " + localFileName + " exists"); } AmazonS3 s3Client = getAwsClient(); // Check if file exists in S3 if(checkExistanceOfFileInS3){ String s3DirName = FSUtils.getParentFolderPath(s3FileName); List<S3ObjectSummary> fileList = Manager.getFolderContentList( getBucketName(), s3DirName, s3Client); boolean fileExistsInS3 = false; for (S3ObjectSummary file : fileList) { if (file.getKey().equalsIgnoreCase(s3FileName)) { LOGGER.info("File [" + s3FileName + "] exists inside S3 Bucket folder"); fileExistsInS3 = true; break; } } if (!fileExistsInS3) { throw new RuntimeException("Requested file does not exist in S3 " + s3FileName); } } if (overwriteExistingFile || !localFileExists) { // Creation of local dir String localDirPath = FSUtils .getParentFolderPath(localFileName); File localDir = new File(localDirPath); if (!localDir.exists()) { localDir.mkdirs(); } LOGGER.debug("Downloading S3 file " + FSUtils.prettifyFilePath(getBucketName() + File.pathSeparator + s3FileName) + "] to local file system [" + localFileName + "]"); boolean error = false; for (int retries = 1; retries <= NUMBER_OF_S3_REQUEST_RETRIES; retries++) { try { s3Client.getObject(new GetObjectRequest(getBucketName(), s3FileName), new File(localFileName)); error = false; break; } catch (Exception ex) { LOGGER.error("Some error during file transmission from AWS S3 bucket " + ex.getMessage()); LOGGER.error("Resending download request [" + (retries + 1) + "] from [" + NUMBER_OF_S3_REQUEST_RETRIES + "] in 1 second"); error = true; try { Thread.sleep(1000); } catch (InterruptedException e) { e.printStackTrace(); } } } if (error) { throw new RuntimeException("Can not download file from S3 [" + s3FileName + "] to local location [" + localFileName + "]"); } LOGGER.debug("AWS S3 File " + s3FileName + " is downloaded to " + localFileName); } } }
[ "kasjan787@gmail.com" ]
kasjan787@gmail.com
1e0d24cdb7a416ff20218662212a250e0926151f
f60d91838cc2471bcad3784a56be2aeece101f71
/spring-framework-4.3.15.RELEASE/spring-websocket/src/main/java/org/springframework/web/socket/server/support/package-info.java
33b4aec1832186c90212574e15ad6bfbf78eb8a3
[ "Apache-2.0" ]
permissive
fisher123456/spring-boot-1.5.11.RELEASE
b3af74913eb1a753a20c3dedecea090de82035dc
d3c27f632101e8be27ea2baeb4b546b5cae69607
refs/heads/master
2023-01-07T04:12:02.625478
2019-01-26T17:44:05
2019-01-26T17:44:05
167,649,054
0
0
Apache-2.0
2022-12-27T14:50:58
2019-01-26T04:21:05
Java
UTF-8
Java
false
false
162
java
/** * Server-side support classes including container-specific strategies * for upgrading a request. */ package org.springframework.web.socket.server.support;
[ "171509086@qq.com" ]
171509086@qq.com
a42749e2ff2bf641ec45289d2fcee6b1f763fb04
cc47da9d0dd0d0686b6e8f3dd8ad23305e9191a6
/src/main/java/de/uniks/se19/team_g/project_rbsg/ingame/model/Selectable.java
6189bf767fcdb14a7cc820cdcc166eefcf0b5b0e
[]
no_license
DerYeger/Project_RBSG
01f700b846ffc74c8b9875efb7d6d08bf23ba0e2
d92afb6c75fe7d6e48d8b5ae95241825d4310776
refs/heads/master
2023-03-14T04:42:24.022708
2021-02-27T17:29:37
2021-02-27T17:29:37
342,914,268
1
0
null
null
null
null
UTF-8
Java
false
false
361
java
package de.uniks.se19.team_g.project_rbsg.ingame.model; import javafx.beans.value.ObservableBooleanValue; import org.springframework.lang.Nullable; public interface Selectable { boolean isSelected(); void setSelectedIn(@Nullable Game game); ObservableBooleanValue selectedProperty(); default void clearSelection() {setSelectedIn(null);} }
[ "goatfryed@gmail.com" ]
goatfryed@gmail.com
a2e26dd9710d4fd2391aa588e640e950f74c6357
b69ac8ef168bfb98f1567315d1afbed7ab60c8c0
/src/com/mg_movie/adapter/RadioType.java
30d634d103fbef7aa66ac04f06a0f14f73f60cf8
[]
no_license
rockchow2002/MG_MOVIE
5d9e91492b41a11314d5aeabb82d7e2f34cd1b40
63816dc568793fa77b5c72588dfbd11acfa8f215
refs/heads/master
2021-01-21T06:00:43.426875
2013-09-30T09:33:08
2013-09-30T09:33:08
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,024
java
package com.mg_movie.adapter; import android.os.Parcel; import android.os.Parcelable; public class RadioType implements Parcelable { private String url; private String name; @Override public int describeContents() { return 0; } public RadioType() { } private RadioType(Parcel in) { readFromParcel(in); } public void readFromParcel(Parcel in) { url = in.readString(); name = in.readString(); } @Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(url); dest.writeString(name); } public static final Creator<RadioType> CREATOR = new Creator<RadioType>() { @Override public RadioType createFromParcel(Parcel source) { return new RadioType(source); } @Override public RadioType[] newArray(int size) { return new RadioType[size]; } }; public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getName() { return name; } public void setName(String name) { this.name = name; } }
[ "jwzhangjie@163.com" ]
jwzhangjie@163.com
8f660102cd6b1920b83d378116606289879e87e9
680f7d92cc608cc6850cd5c150226aacbb419c06
/andEngineLib/src/main/java/org/andengine/entity/particle/initializer/GravityParticleInitializer.java
1273061c3649dfac2f32e1b5c65d737cbc1b6090
[]
no_license
mnafian/IsometricMapExample
e002b3e165abb5e52ec13fb4f541de155688bbc0
9dc08b462f5ad02cf70eab16328437fe5c8ad141
refs/heads/master
2021-01-22T06:58:51.347531
2015-08-19T08:27:05
2015-08-19T08:27:05
35,424,784
1
0
null
null
null
null
UTF-8
Java
false
false
1,569
java
package org.andengine.entity.particle.initializer; import org.andengine.entity.IEntity; import android.hardware.SensorManager; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 12:04:00 - 15.03.2010 */ public class GravityParticleInitializer<T extends IEntity> extends AccelerationParticleInitializer<T> { // =========================================================== // Constants // =========================================================== // =========================================================== // Fields // =========================================================== // =========================================================== // Constructors // =========================================================== public GravityParticleInitializer() { super(0, SensorManager.GRAVITY_EARTH); } // =========================================================== // Getter & Setter // =========================================================== // =========================================================== // Methods for/from SuperClass/Interfaces // =========================================================== // =========================================================== // Methods // =========================================================== // =========================================================== // Inner and Anonymous Classes // =========================================================== }
[ "mnafian@icloud.com" ]
mnafian@icloud.com
6d65a248cd06438384d52e8d391738212e9e1aaf
b01df13858b253323428438451f75ffbd82b068a
/src/main/java/com/jerait/lifecontrol/desktop/MainPreloader.java
88bb9315cefec9768bf6d17bb8c16f1cb9ddc014
[]
no_license
sbobrov85/lifecontrol-desktop
37a4574e8c35216f35a7191c26653f3019d68d0f
a25e42e11d64587802f9ddd182a56f6c619e9fa5
refs/heads/master
2021-01-12T04:53:53.037333
2017-05-02T03:22:47
2017-05-02T03:22:47
77,807,702
0
0
null
null
null
null
UTF-8
Java
false
false
1,033
java
package com.jerait.lifecontrol.desktop; import com.jerait.lifecontrol.desktop.utils.GUI; import javafx.application.Preloader; import javafx.application.Preloader.StateChangeNotification.Type; import javafx.scene.Scene; import javafx.stage.Stage; import javafx.stage.StageStyle; /** * Main preloader class. */ public class MainPreloader extends Preloader { /** * Contain preloader stage object. */ private Stage preloaderStage; /** * {@inheritDoc} */ @Override public void start(Stage primaryStage) throws Exception { preloaderStage = primaryStage; preloaderStage.initStyle(StageStyle.UNDECORATED); Scene mainPreloader = GUI.getScene("MainPreloader"); preloaderStage.setScene(mainPreloader); preloaderStage.show(); } /** * {@inheritDoc} */ @Override public void handleStateChangeNotification( StateChangeNotification stateChangeNotification ) { if (stateChangeNotification.getType() == Type.BEFORE_START) { preloaderStage.hide(); } } }
[ "sbobrov85@gmail.com" ]
sbobrov85@gmail.com
83954e8da4438cf0a51b7925337592326d969ee7
a57ae3aec49e11b5977c80907d632fde5497da87
/algorithm1/src/jianzhioffer/T23.java
a532c4344d899b9060843f698e5f8742165a0ba1
[]
no_license
sy1121/algorithm1
39348239c900e5cfc1c2a09d1ac871088add5a04
49703f03f6262b49de8537374d88483dc4f8ace3
refs/heads/master
2021-01-17T18:11:04.283952
2019-07-04T09:54:18
2019-07-04T09:54:18
71,196,479
0
0
null
null
null
null
UTF-8
Java
false
false
517
java
package jianzhioffer; import java.util.LinkedList; import java.util.Queue; import algorithm.TreeNode; /** * 从上到下打印二叉树 * @author sy * */ public class T23 { public void printTree(TreeNode head){ if(head==null) return ; Queue<TreeNode> q=new LinkedList<TreeNode>(); q.add(head); while(!q.isEmpty()){ TreeNode cur=q.poll(); System.out.print(cur.val); if(cur.left!=null) q.offer(cur.left); if(cur.right!=null) q.offer(cur.right); } } }
[ "623559714@qq.com" ]
623559714@qq.com
44f169e6c1a2eb9e5bfa7f9662c5f57d0f6e2920
7fd5f572169a7e50d10ed0d5e5966a43a8293be4
/JavaProject/src/main/java/com/danner/java/jvm/memory/RuntimeConstantPoolOOM.java
214e7dc4ec151a84d5c6758cd6f08cfe59019840
[]
no_license
vendanner/program-language
0f57dfe1ec24ad2fe53fc2832ecc4265f830d50b
bafbeade9cde1da9f21dc927cc493961feb5df30
refs/heads/master
2023-08-05T07:04:04.536507
2022-04-26T01:11:01
2022-04-26T01:11:01
202,111,639
1
0
null
2023-07-22T14:26:51
2019-08-13T09:33:55
Python
UTF-8
Java
false
false
465
java
package com.danner.java.jvm.memory; import java.util.ArrayList; import java.util.List; /** * Java8 VM Args:-Xms10m -Xmx10m -XX:-UseGCOverheadLimit * JDK 8 运行时常量池在 heap 中,设置对大小10M */ public class RuntimeConstantPoolOOM { public static void main(String[] args) { List<String> list = new ArrayList<String>(); long i = 0L; while(true) { list.add(String.valueOf(i++).intern()); } } }
[ "18042304384@163.com" ]
18042304384@163.com
af77e52677ef2a64bb41f52f43a3c343a6a0038a
f69976ab2b2f80d76c08f1d0001045321c2f93ec
/app/src/main/java/com/shoppay/wyoilnew/modle/InterfaceWeixinPay.java
07be87f7e6e0e5938d5ec3bc1656f0281b5d6096
[]
no_license
yy471101598/chuanfooilnew
632ac7bee9c078385da7969fe8c7d5fb9c97efd8
5761ed60b0026f8e2b998f1285ba954f0baa6d4b
refs/heads/master
2020-04-06T14:54:26.427759
2019-01-15T09:53:23
2019-01-15T09:53:23
157,558,712
0
0
null
null
null
null
UTF-8
Java
false
false
218
java
package com.shoppay.wyoilnew.modle; import android.content.Context; public interface InterfaceWeixinPay { public void weixinPay(Context context,String moeny,String orderNo,String pName, InterfaceMVC interf); }
[ "471101598@qq.com" ]
471101598@qq.com
77150fff00cdfa5f400472cb68148bc6bb29fcb8
5bac73779fcd921b4e56e629593bbe7c0c83b049
/src/automatizedocumentation/AutomatizeDocumentation.java
864fb2d890abbdc5518daef8ec47f1729f42f472
[]
no_license
danianepg/automatize-documentation-gitlab
38a285c170ad85b14de7401fa3a676116bb2415a
896fab3bdecb4a1871ee04ce7c601cc2dc764d33
refs/heads/master
2022-11-15T07:01:36.473688
2020-07-14T21:50:41
2020-07-14T21:50:41
279,690,263
3
0
null
null
null
null
UTF-8
Java
false
false
6,819
java
package automatizedocumentation; import java.time.LocalDate; import java.util.ArrayList; import java.util.List; import org.gitlab4j.api.GitLabApi; import org.gitlab4j.api.GitLabApiException; import org.gitlab4j.api.models.CommitAction; import org.gitlab4j.api.models.CommitAction.Action; import org.gitlab4j.api.models.Issue; import org.gitlab4j.api.models.Milestone; import org.gitlab4j.api.models.Note; import org.gitlab4j.api.models.Project; import org.gitlab4j.api.models.RepositoryFile; import automatizedocumentation.utils.DateUtils; /** * Automatize documentation for GitLab * * @author Daniane P. Gomes * */ public class AutomatizeDocumentation { private final String url = "https://gitlab.com/"; private final String token = "PLACE_YOUR_TOKEN_HERE"; private final String projectRepository = "danianepg/automatize-documentation"; private final String changelogFilePath = "README.md"; private final String branch = "master"; private final String commitEmail = "danianepg@gmail.com"; private final String commitName = "Daniane P. Gomes"; private final GitLabApi gitLabApi; public AutomatizeDocumentation() { this.gitLabApi = new GitLabApi(this.url, this.token); } /** * Finds all issues on a project related to the most recent milestone and write * its descriptions and comments on a file on repository and on the project * Wiki. */ public void generateDocumentation() { try { final Integer projectId = this.getProject(this.gitLabApi).getId(); final Milestone milestone = this.getMostRecentMilestone(this.gitLabApi, projectId); final Integer mostRecentMilestoneId = milestone.getId(); final List<Issue> issues = this.gitLabApi.getIssuesApi().getIssues(projectId); System.out.println("Number of issues found: " + issues.size()); final StringBuilder changelogMessages = new StringBuilder(); final LocalDate from = DateUtils.toLocalDate(milestone.getStartDate()); final LocalDate to = DateUtils.toLocalDate(milestone.getDueDate()); final StringBuilder sprintTitle = new StringBuilder(); sprintTitle.append(milestone.getTitle()); sprintTitle.append(": from "); sprintTitle.append(from.format(DateUtils.getDateFormat())); sprintTitle.append(" to "); sprintTitle.append(to.format(DateUtils.getDateFormat())); changelogMessages.append("## " + sprintTitle.toString() + "\n\n"); this.getChangelogMessagesFromIssues(projectId, mostRecentMilestoneId, issues, changelogMessages); this.createCommit(this.gitLabApi, projectId, changelogMessages); this.createWiki(projectId, changelogMessages, sprintTitle.toString()); } catch (final Exception e) { e.printStackTrace(); } } /** * Create the wiki page. * * @param projectId * @param changelogMessages * @param sprintTitle * @throws GitLabApiException */ private void createWiki(final Integer projectId, final StringBuilder changelogMessages, final String sprintTitle) throws GitLabApiException { System.out.println("Creating wiki"); this.gitLabApi.getWikisApi().createPage(projectId, sprintTitle, changelogMessages.toString()); } /** * Get the content of an issue * * @param projectId * @param mostRecentMilestoneId * @param issues * @param changelogMessages * @throws GitLabApiException */ private void getChangelogMessagesFromIssues(final Integer projectId, final Integer mostRecentMilestoneId, final List<Issue> issues, final StringBuilder changelogMessages) throws GitLabApiException { issues.stream().forEach(i -> { System.out.println("Issue: " + i.getIid()); if (i.getMilestone() != null && i.getMilestone().getId().equals(mostRecentMilestoneId)) { // Get only solution from description final String description = i.getDescription(); changelogMessages.append("Issue " + i.getIid() + ": "); changelogMessages.append(description + "\n\n"); this.printIssuesLabels(i); changelogMessages.append(this.printIssuesNotes(projectId, i)); } }); } /** * Print the labels of an issue * * @param issue */ private void printIssuesLabels(final Issue issue) { System.out.println("Issue labels: "); issue.getLabels().stream().forEach(System.out::println); } /** * * @param projectId * @param i */ private StringBuilder printIssuesNotes(final Integer projectId, final Issue i) { final StringBuilder notes = new StringBuilder(); try { final List<Note> notesLst = this.gitLabApi.getNotesApi().getIssueNotes(projectId, i.getIid()); System.out.println("Number of notes found: " + notesLst.size()); final boolean isClosed = notesLst.stream().filter(n -> n.getBody().contains("closed")).findAny() .isPresent(); if (isClosed) { notesLst.stream().forEach(n -> { System.out.println("\t" + n.getBody()); notes.append("\n* " + n.getBody()); }); } } catch (final GitLabApiException e) { e.printStackTrace(); } return notes; } /** * * @param gitLabApi * @param projectId * @param changelogMessages * @throws GitLabApiException */ private void createCommit(final GitLabApi gitLabApi, final Integer projectId, final StringBuilder changelogMessages) throws GitLabApiException { System.out.println("Creating commit"); final RepositoryFile file = gitLabApi.getRepositoryFileApi().getFile(projectId, this.changelogFilePath, this.branch); final StringBuilder content = new StringBuilder(file.getDecodedContentAsString()); final CommitAction ca = new CommitAction(); ca.setFilePath(this.changelogFilePath); final Action action = Action.UPDATE; ca.setAction(action); content.append("\n\n"); content.append(changelogMessages.toString()); ca.setContent(content.toString()); final List<CommitAction> commitLst = new ArrayList<>(); commitLst.add(ca); gitLabApi.getCommitsApi().createCommit(projectId, this.branch, "My awesome commit", null, this.commitEmail, this.commitName, commitLst); } /** * * @param gitLabApi * @return * @throws GitLabApiException */ private Project getProject(final GitLabApi gitLabApi) throws GitLabApiException { return gitLabApi.getProjectApi().getProject(this.projectRepository); } /** * Get the most recent milestone * * @param gitLabApi * @param projectId * @return * @throws GitLabApiException */ private Milestone getMostRecentMilestone(final GitLabApi gitLabApi, final Integer projectId) throws GitLabApiException { final List<Milestone> milestones = gitLabApi.getMilestonesApi().getMilestones(projectId); System.out.println("Number of milestones found:" + milestones.size()); return milestones.get(0); } public static void main(final String[] args) { final AutomatizeDocumentation generateChangelog = new AutomatizeDocumentation(); generateChangelog.generateDocumentation(); } }
[ "danianepg@gmail.com" ]
danianepg@gmail.com
20c1ce3ee38d60a4b650486b97bafe9022166d36
11b248bd386d5354a13903eff3c90a2e397c2d82
/app/src/main/java/cn/ac/iie/RPMod/fidouafclient/util/Preferences.java
ea547bb0672dbfcf7886fb28572cb1a6a6fcb824
[]
no_license
JKRm/EBY_CHG_RP
cb4bdcb32ff97012129a7bf53c2ec4f5650d9528
5e067db18275917cec737163bc555af8b59164b4
refs/heads/master
2021-01-17T13:10:14.802233
2016-06-22T13:49:27
2016-06-22T13:49:27
59,728,609
0
0
null
null
null
null
UTF-8
Java
false
false
1,009
java
package cn.ac.iie.RPMod.fidouafclient.util; import android.content.SharedPreferences; public class Preferences { private static String PREFERANCES = "Preferances"; public static String getSettingsParam(String paramName) { SharedPreferences settings = getPrefferences(); return settings.getString(paramName, ""); } public static SharedPreferences getPrefferences() { SharedPreferences settings = ApplicationContextProvider.getContext() .getSharedPreferences(PREFERANCES, 0); return settings; } public static void setSettingsParam(String paramName, String paramValue) { SharedPreferences settings = getPrefferences(); SharedPreferences.Editor editor = settings.edit(); editor.putString(paramName, paramValue); editor.commit(); } public static void setSettingsParamLong(String paramName, long paramValue) { SharedPreferences settings = getPrefferences(); SharedPreferences.Editor editor = settings.edit(); editor.putLong(paramName, paramValue); editor.commit(); } }
[ "kouruiming@iie.ac.cn" ]
kouruiming@iie.ac.cn
216c453e64473423d09fcdb996a7e420a6876572
a9ef8a52f7465482a3d85382397a5ede688e770b
/web/src/main/java/cn/dunn/controller/ChatGroupController.java
5b96dd079cb8badab44cadc0a19ac2efc0b51579
[ "Apache-2.0" ]
permissive
weimeittx/im-server
d81906c19eca6ed0a6eaa52e287996757fc1087e
71dcfc01b421f2678499452bfde584186c301d98
refs/heads/master
2021-01-11T03:35:11.436861
2016-09-30T09:03:31
2016-09-30T09:03:31
68,942,422
0
0
null
null
null
null
UTF-8
Java
false
false
1,613
java
package cn.dunn.controller; import cn.dunn.mode.ChatGroup; import cn.dunn.mode.GroupMember; import cn.dunn.mode.HttpResult; import cn.dunn.mode.User; import cn.dunn.mongo.ChatGroupRepository; import cn.dunn.mongo.GroupMemberRepository; import cn.dunn.util.WebUtil; import org.bson.types.ObjectId; import org.springframework.data.mongodb.core.MongoTemplate; import org.springframework.data.mongodb.core.query.Criteria; import org.springframework.data.mongodb.core.query.Query; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import java.util.List; import java.util.stream.Collectors; @Controller @RequestMapping("/chatGroup") public class ChatGroupController { @Resource private ChatGroupRepository chatGroupRepository; @Resource private GroupMemberRepository groupMemberRepository; @Resource private MongoTemplate mongoTemplate; @RequestMapping("/getChatGroup") @ResponseBody public HttpResult getChatGroup(HttpServletRequest request) { List<ChatGroup> result = mongoTemplate.find(Query.query(Criteria.where("members").elemMatch(Criteria.where("$id").is(new ObjectId(WebUtil.loginUser(request).getId())))), ChatGroup.class); return new HttpResult(result); } @RequestMapping("getChatGroupMembers") @ResponseBody public HttpResult getChatGroupMembers(String id) { ChatGroup chatGroup = chatGroupRepository.findOne(id); return new HttpResult(chatGroup); } }
[ "422450455@qq.com" ]
422450455@qq.com