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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8c51f0f7bab05435d680bbf2fe5af187f36fbf7c | 655a0e7331a9d786e497224bc5fbefef027ac256 | /src/main/java/com/yfr/pojo/UnderCreateInfo.java | 164d20f05881333a08e5394bb4ac42c6db198ea2 | [] | no_license | wow060118/EduManagement | d5ffa5fb2183168dce8ed20c662fabaed0941332 | 717e5cd0a6ad543b96c5ba7c7f5f4a296706cdcd | refs/heads/master | 2023-01-12T13:38:51.500236 | 2019-07-08T12:37:30 | 2019-07-08T12:37:30 | 186,226,654 | 0 | 0 | null | 2023-01-03T08:06:18 | 2019-05-12T07:51:04 | Java | UTF-8 | Java | false | false | 3,192 | java | package com.yfr.pojo;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
public class UnderCreateInfo implements Serializable {
private int ucid;
private String title;
private String teamName;
private Date createTime;
private Date updateTime;
private String school;
private String pic;
private Long money;
private String student;
private String teacher;
private String video;
private String phone;
private String email;
private String fileName;
private String filePath;
private int uid;
private int type;
private int status;
public UnderCreateInfo() {
}
public int getUcid() {
return ucid;
}
public void setUcid(int ucid) {
this.ucid = ucid;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getTeamName() {
return teamName;
}
public void setTeamName(String teamName) {
this.teamName = teamName;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public String getSchool() {
return school;
}
public void setSchool(String school) {
this.school = school;
}
public String getPic() {
return pic;
}
public void setPic(String pic) {
this.pic = pic;
}
public Long getMoney() {
return money;
}
public void setMoney(Long money) {
this.money = money;
}
public String getStudent() {
return student;
}
public void setStudent(String student) {
this.student = student;
}
public String getTeacher() {
return teacher;
}
public void setTeacher(String teacher) {
this.teacher = teacher;
}
public String getVideo() {
return video;
}
public void setVideo(String video) {
this.video = video;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public String getFilePath() {
return filePath;
}
public void setFilePath(String filePath) {
this.filePath = filePath;
}
public int getUid() {
return uid;
}
public void setUid(int uid) {
this.uid = uid;
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
}
| [
"996015133@qq.com"
] | 996015133@qq.com |
fc381c7075e29c5c68483655b067f45d1d59212a | 1e8ec0e8f9a03f20fff73a4bf5d984953fef3953 | /src/test/java/com/Docker/configcicd/ConfigcicdApplicationTests.java | 048159cd214a615c780db53b957ba65a84852f21 | [] | no_license | Enzo1s/PracticaDocker | 3b75e4621528c5dec942ebf2d3e3e82c731b25f7 | 952c1960d07b5f821319924153e712fb727a7036 | refs/heads/main | 2023-07-10T18:54:36.180654 | 2021-07-29T20:48:49 | 2021-07-29T20:48:49 | 390,819,336 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 217 | java | package com.Docker.configcicd;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class ConfigcicdApplicationTests {
@Test
void contextLoads() {
}
}
| [
"enziitoomartin@gmail.com"
] | enziitoomartin@gmail.com |
865e8071d002af7a9c5165fea7886a7ca660ba32 | fa91450deb625cda070e82d5c31770be5ca1dec6 | /Diff-Raw-Data/31/31_a2ca71e26f7146483276caafcd2a76afa54376b4/MongoDBResourceSetProvider/31_a2ca71e26f7146483276caafcd2a76afa54376b4_MongoDBResourceSetProvider_t.java | 76b601928cc1f215266194b93967d6e04fda3e5a | [] | 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 | 2,582 | java | /*******************************************************************************
* Copyright (c) 2013 EclipseSource Muenchen GmbH.
*
* 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:
* Johannes Faltermeier
******************************************************************************/
package org.eclipse.emf.emfstore.client.mongodb;
import java.util.LinkedHashMap;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.emf.ecore.resource.URIConverter;
import org.eclipse.emf.ecore.resource.URIHandler;
import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
import org.eclipse.emf.emfstore.client.provider.ESResourceSetProvider;
import org.eclipse.emf.emfstore.internal.common.ResourceFactoryRegistry;
import org.eclipselabs.mongo.emf.ext.IResourceSetFactory;
/**
* MongoDB ResourceSet provider for EMFStore Client.
*
* @author jfaltermeier
*
*/
public class MongoDBResourceSetProvider implements ESResourceSetProvider {
private static IResourceSetFactory resourceSetFactory;
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.emfstore.client.provider.ESResourceSetProvider#getResourceSet()
*/
public ResourceSet getResourceSet() {
ResourceSetImpl resourceSet = (ResourceSetImpl) resourceSetFactory.createResourceSet();
resourceSet.setResourceFactoryRegistry(new ResourceFactoryRegistry());
resourceSet.setURIConverter(createURIConverter(resourceSet));
resourceSet.setURIResourceMap(new LinkedHashMap<URI, Resource>());
return resourceSet;
}
private URIConverter createURIConverter(ResourceSetImpl resourceSet) {
// reuse uri handlers set up by resourcesetfactory
EList<URIHandler> uriHandler = resourceSet.getURIConverter().getURIHandlers();
URIConverter uriConverter = new MongoURIConverter();
uriConverter.getURIHandlers().clear();
uriConverter.getURIHandlers().addAll(uriHandler);
return uriConverter;
}
/**
* Binds the resource set factory.
*
* @param resourceSetFactory the resource set factory
*/
void bindResourceSetFactory(IResourceSetFactory resourceSetFactory) {
this.resourceSetFactory = resourceSetFactory;
}
}
| [
"yuzhongxing88@gmail.com"
] | yuzhongxing88@gmail.com |
600d1ca88793cf179445ab57b9a185d9d26957c8 | 7913176ad5870cfd1b37308c935607941d6c2b4e | /app/src/main/java/com/example/lab/android/nuc/chat/view/activity/AboutActivity.java | 21031ab4f42f2fe6364e01be0f37410afe84bad6 | [
"Apache-2.0"
] | permissive | chineseliuyongchao/ChatWithChinese | e50f327a4a1bea2346adf13b260cba10ae176833 | 10136adda9298d09031a4fdaec27546639d156c6 | refs/heads/master | 2020-04-07T15:05:49.787484 | 2018-08-26T02:23:01 | 2018-08-26T02:23:01 | 158,473,061 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,031 | java | package com.example.lab.android.nuc.chat.view.activity;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.MenuItem;
import com.example.lab.android.nuc.chat.R;
public class AboutActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate( savedInstanceState );
setContentView( R.layout.activity_about );
//添加返回按钮
ActionBar actionBar = getSupportActionBar();
if (actionBar != null) {
// Show the Up button in the action bar.
actionBar.setDisplayHomeAsUpEnabled(true);
actionBar.setTitle( "关于" );
}
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()){
case android.R.id.home:
this.finish();
return true;
}
return super.onOptionsItemSelected( item );
}
}
| [
"1484290617@qq.com"
] | 1484290617@qq.com |
c01d618dcfd11057d9d0075ddd9ac2e2c01989b4 | e8d0ae5190a2b27403178a295a5e62b6db3a26c6 | /Chapter14/src/part01/sec01/exam01/Program_9.java | aff56588c34e4eef8d385f8dcdb9f8f5e5697cd2 | [] | no_license | unboxing0913/Java_Study | 2a5d0ec4bc5ac9be00988c22091e1a324b8bab8e | 612a36f5099fc6cd4ccf52e4c4aa16ecccc75ed6 | refs/heads/master | 2023-02-08T07:14:28.267122 | 2020-12-30T13:10:08 | 2020-12-30T13:10:08 | 325,555,237 | 0 | 0 | null | null | null | null | UHC | Java | false | false | 437 | java | package part01.sec01.exam01;
public class Program_9 {
public static void main(String[] args) {
Object[] arr=new Object[5];//모든클래스의 조상 Object[] 부모타입으로 다형성원리에 의해서 가능하다(객체일경우)
arr[0]="오렌지";
arr[1]=new Integer(52);
arr[2]=3.14;
arr[3]=new Character('귤');
arr[4]=true;
for(int cnt=0;cnt<arr.length;cnt++) {
System.out.println(arr[cnt]);
}
}
}
| [
"kaa0913@nave.com"
] | kaa0913@nave.com |
8d3dccf0037c242580ff5bf53054ca83ee10d605 | 68e4676b246cfef371a0de908fd3922f56b881d0 | /alipay-sdk-master/src/main/java/com/alipay/api/domain/ReportErrorFeature.java | d2f66dea151d39c3c1a87e35e080d3dc54c409f5 | [
"Apache-2.0"
] | permissive | everLuck666/BoruiSystem | c66872ac965df2c6d833c7b529c1f76805d5cb05 | 7e19e43e8bb42420e87398dcd737f80904611a56 | refs/heads/master | 2023-03-29T12:08:07.978557 | 2021-03-22T03:12:23 | 2021-03-22T03:12:23 | 335,288,821 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 551 | java | package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 错误上报的特征字段
*
* @author auto create
* @since 1.0, 2017-07-03 14:41:37
*/
public class ReportErrorFeature extends AlipayObject {
private static final long serialVersionUID = 7164779752472381333L;
/**
* 桌号
*/
@ApiField("table_num")
private String tableNum;
public String getTableNum() {
return this.tableNum;
}
public void setTableNum(String tableNum) {
this.tableNum = tableNum;
}
}
| [
"49854860+DFRUfO@users.noreply.github.com"
] | 49854860+DFRUfO@users.noreply.github.com |
b34b563888201a03dabaf4a46a2b7ae992484804 | 83919d4500296dc1741fd1f38ac7aebaa0777b55 | /SpaceshipGame/app/src/androidTest/java/tutdria/com/spaceshipgame/ApplicationTest.java | 5999410a0335db6912028d4cde3ed362fc5366de | [] | no_license | oliveiradavi/SpaceGameBeta | 1b219f8c48c2d94771f09f42011427d4983a29e0 | 1f3deb29d6de0f1da014cd3ba0bf9f6b943e7ab5 | refs/heads/master | 2021-01-19T03:59:17.429843 | 2016-07-06T06:41:55 | 2016-07-06T06:41:55 | 61,164,980 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 356 | java | package tutdria.com.spaceshipgame;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
} | [
"davijff@gmail.com"
] | davijff@gmail.com |
52bb456131e9696223258c417d94229c246291b2 | 9e539c4f1ee7c9b863769c0373dffce7a06c5c10 | /src/main/java/com/mitocode/model/Estudiante.java | cff6522baa794574063c42bde52b580ebd5fc47a | [] | no_license | JuankSuarez/matriculaestudiantes_backend | 1bfdd4936a82a84fcfc64e9d0bb4b94327b9d397 | 8b1defc76ec8cca33b1a192c244dd4d04de00f39 | refs/heads/master | 2023-01-18T19:27:51.980631 | 2020-11-19T04:46:35 | 2020-11-19T04:46:35 | 314,134,813 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,109 | java | package com.mitocode.model;
import java.time.LocalDate;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.format.annotation.DateTimeFormat;
@Document(collection = "estudiantes")
public class Estudiante {
@Id
private String id;
@NotEmpty
private String nombres;
@NotEmpty
private String apellidos;
@NotEmpty
private String dni;
private Integer edad;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getNombres() {
return nombres;
}
public void setNombres(String nombres) {
this.nombres = nombres;
}
public String getApellidos() {
return apellidos;
}
public void setApellidos(String apellidos) {
this.apellidos = apellidos;
}
public String getDni() {
return dni;
}
public void setDni(String dni) {
this.dni = dni;
}
public Integer getEdad() {
return edad;
}
public void setEdad(Integer edad) {
this.edad = edad;
}
}
| [
"juan.carlos.suarez@accenture.com"
] | juan.carlos.suarez@accenture.com |
63f104a50812106a04dd86c20f919b3d2aed0b4c | 7847f3d2c3f923c55e98ad852de2cbae35930707 | /app/src/test/java/com/developer/fabian/facebookrecipes/ExampleUnitTest.java | 86d5f746aa41247140b40cb8e939f5f51cc89e3e | [] | no_license | FabianVarela/FacebookRecipes | 37db5f8928f22c4989ed358483a9907b4fa34d9e | 844eee3f38369c2e1de3fbcf2e00b03d159359c6 | refs/heads/master | 2021-05-02T11:24:07.408943 | 2018-06-19T14:15:49 | 2018-06-19T14:15:49 | 120,775,748 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 414 | java | package com.developer.fabian.facebookrecipes;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} | [
"jfabian.303@gmail.com"
] | jfabian.303@gmail.com |
d2141db211f004c7336aa555e048e62c82ea29fc | d6b4a155485d7bf2b09997de6636fe39a1418a47 | /app/src/main/java/com/fuse_org/ktuburger/MainActivity.java | a2692911af401d4ef463e227de60cfff9d7ffe81 | [
"MIT"
] | permissive | FuseOrg/KTU_Burger | 28480f1acd1a7a624072e25daba9b11c16ca92aa | 8eed812f8b923ae1fecc108ad8fb8c998fa4594d | refs/heads/master | 2021-09-10T02:21:34.122994 | 2018-03-20T17:41:22 | 2018-03-20T17:41:22 | 123,887,747 | 0 | 4 | MIT | 2018-03-17T11:47:44 | 2018-03-05T08:21:57 | Java | UTF-8 | Java | false | false | 3,054 | java | package com.fuse_org.ktuburger;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.view.View;
import android.support.design.widget.NavigationView;
import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.view.MenuItem;
public class MainActivity extends AppCompatActivity
implements NavigationView.OnNavigationItemSelectedListener {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
drawer.addDrawerListener(toggle);
toggle.syncState();
NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view);
navigationView.setNavigationItemSelectedListener(this);
}
@Override
public void onBackPressed() {
DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
if (drawer.isDrawerOpen(GravityCompat.START)) {
drawer.closeDrawer(GravityCompat.START);
} else {
super.onBackPressed();
}
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();
//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
}
@SuppressWarnings("StatementWithEmptyBody")
@Override
public boolean onNavigationItemSelected(MenuItem item) {
// Handle navigation view item clicks here.
int id = item.getItemId();
if (id == R.id.nav_comprehensive) {
// Handle the camera action
}
else if (id == R.id.nav_share) {
}
else if (id == R.id.nav_send) {
}
else if (id == R.id.nav_about) {
}
DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
drawer.closeDrawer(GravityCompat.START);
return true;
}
}
| [
"jovialjohngeorge248@gmail.com"
] | jovialjohngeorge248@gmail.com |
a87c76e9ea7562dbe63c34a1ebcf736ed0a5d77e | b3cdbce2334be232be551eb69e190117e62ba323 | /compute/com/agiledeveloper/compute/Calculator.java | ddcfc583b1063b0d04ddcc3683b7956608f628b6 | [] | no_license | erikweibust/compute | 1f4ded4d47e965910c93b0e5f3aa17f49fece33a | eecd5499e17dfc663f81be69db24b28f0ed554cc | refs/heads/master | 2020-04-20T09:50:26.705629 | 2019-02-18T01:04:00 | 2019-02-18T01:04:00 | 168,775,245 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 361 | java | package com.agiledeveloper.compute;
import com.agiledeveloper.fibonacci.FibonacciRecursive;
public class Calculator {
public void foo() {
System.out.println("foo called...");
}
public int add( int op1, int op2 ) {
return op1 + op2;
}
public Fibonacci createFibonacci() {
return new FibonacciRecursive();
}
}
| [
"erik@weibust.net"
] | erik@weibust.net |
1a9cc5a44bf4d6162f60962969d52a5dfd68cfb1 | 03d0a69f734689583fd964c0c23011913fac7648 | /express-admin/src/main/java/weibo4j/Suggestion.java | 2c0cd88fa454937a39af4ba3700ca5f152ee669c | [] | no_license | zhouxinghang/express | 1edc94ae9e5c6b369891586a4dce2aad1fbb894c | a3e99e401a9a95dfbe5c266ee5366fedc0ba0126 | refs/heads/master | 2021-09-01T23:48:59.341458 | 2017-12-29T04:41:18 | 2017-12-29T07:47:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 6,901 | java | package weibo4j;
import weibo4j.model.*;
import weibo4j.org.json.JSONArray;
import weibo4j.org.json.JSONObject;
import weibo4j.util.WeiboConfig;
public class Suggestion extends Weibo {
private static final long serialVersionUID = 1861364044145921824L;
public Suggestion(String access_token) {
this.access_token = access_token;
}
// ---------------------------------推荐接口---------------------------------------------------
/**
* 返回系统推荐的热门用户列表
*
* @return list of the users
* @throws WeiboException
* when Weibo service or network is unavailable
* @version weibo4j-V2 1.0.1
* @see http://open.weibo.com/wiki/2/suggestions/users/hot
* @since JDK 1.5
*/
public JSONArray suggestionsUsersHot() throws WeiboException {
return client.get(
WeiboConfig.getValue("baseURL") + "suggestions/users/hot.json",
access_token).asJSONArray();
}
public JSONArray suggestionsUsersHot(String category) throws WeiboException {
return client
.get(WeiboConfig.getValue("baseURL")
+ "suggestions/users/hot.json",
new PostParameter[] { new PostParameter("category",
category) }, access_token).asJSONArray();
}
/**
* 获取用户可能感兴趣的人
*
* @return list of the user's id
* @throws WeiboException
* when Weibo service or network is unavailable
* @version weibo4j-V2 1.0.1
* @see http://open.weibo.com/wiki/2/suggestions/users/may_interested
* @since JDK 1.5
*/
public JSONArray suggestionsUsersMayInterested() throws WeiboException {
return client
.get(WeiboConfig.getValue("baseURL")
+ "suggestions/users/may_interested.json", access_token)
.asJSONArray();
}
public JSONArray suggestionsUsersMayInterested(int count, int page)
throws WeiboException {
return client.get(
WeiboConfig.getValue("baseURL")
+ "suggestions/users/may_interested.json",
new PostParameter[] { new PostParameter("count", count),
new PostParameter("page", page) }, access_token)
.asJSONArray();
}
/**
* 根据一段微博正文推荐相关微博用户
*
* @return list of the users
* @throws WeiboException
* when Weibo service or network is unavailable
* @version weibo4j-V2 1.0.1
* @see http://open.weibo.com/wiki/2/suggestions/users/by_status
* @since JDK 1.5
*/
public UserWapper suggestionsUsersByStatus(String content)
throws WeiboException {
return User.constructWapperUsers(client.get(
WeiboConfig.getValue("baseURL")
+ "suggestions/users/by_status.json",
new PostParameter[] { new PostParameter("content", content) },
access_token));
}
public UserWapper suggestionsUsersByStatus(String content, int num)
throws WeiboException {
return User.constructWapperUsers(client.get(
WeiboConfig.getValue("baseURL")
+ "suggestions/users/by_status.json",
new PostParameter[] { new PostParameter("content", content),
new PostParameter("num", num) }, access_token));
}
/**
* 当前登录用户的friends_timeline微博按兴趣推荐排序
*
* @param section
* 排序时间段,距现在n秒内的微博参加排序,最长支持24小时
* @return
* @throws WeiboException
* when Weibo service or network is unavailable
* @version weibo4j-V2 1.0.2
* @see http://open.weibo.com/wiki/2/suggestions/statuses/reorder
* @since JDK 1.5
*/
public StatusWapper suggestionsStatusesReorder(int section)
throws WeiboException {
return Status.constructWapperStatus(client.get(
WeiboConfig.getValue("baseURL")
+ "suggestions/statuses/reorder.json",
new PostParameter[] { new PostParameter("section", section) },
access_token));
}
public StatusWapper suggestionsStatusesReorder(int section, int count,
Paging page) throws WeiboException {
return Status
.constructWapperStatus(client.get(
WeiboConfig.getValue("baseURL")
+ "suggestions/statuses/reorder.json",
new PostParameter[] {
new PostParameter("section", section),
new PostParameter("count", count) }, page,
access_token));
}
/**
* 当前登录用户的friends_timeline微博按兴趣推荐排序的微博ID
*
* @param section
* 排序时间段,距现在n秒内的微博参加排序,最长支持24小时
* @return
* @throws WeiboException
* when Weibo service or network is unavailable
* @version weibo4j-V2 1.0.2
* @see http://open.weibo.com/wiki/2/suggestions/statuses/reorder/ids
* @since JDK 1.5
*/
public JSONObject suggestionStatusesReorderIds(int section)
throws WeiboException {
return client.get(
WeiboConfig.getValue("baseURL")
+ "suggestions/statuses/reorder/ids.json",
new PostParameter[] { new PostParameter("section", section) },
access_token).asJSONObject();
}
public JSONObject suggestionStatusesReorderIds(int section, int count,
Paging page) throws WeiboException {
return client
.get(WeiboConfig.getValue("baseURL")
+ "suggestions/statuses/reorder/ids.json",
new PostParameter[] {
new PostParameter("section", section),
new PostParameter("count", count) }, page,
access_token).asJSONObject();
}
/**
* 返回系统推荐的热门收藏
*
* @return list of the status
* @throws WeiboException
* when Weibo service or network is unavailable
* @version weibo4j-V2 1.0.1
* @see http://open.weibo.com/wiki/2/suggestions/favorites/hot
* @since JDK 1.5
*/
public JSONArray suggestionsFavoritesHot() throws WeiboException {
return client.get(
WeiboConfig.getValue("baseURL")
+ "suggestions/favorites/hot.json", access_token)
.asJSONArray();
}
public JSONArray suggestionsFavoritesHot(int page, int count)
throws WeiboException {
return client.get(
WeiboConfig.getValue("baseURL")
+ "suggestions/favorites/hot.json",
new PostParameter[] { new PostParameter("page", page),
new PostParameter("count", count) }, access_token)
.asJSONArray();
}
/**
* 把某人标识为不感兴趣的人
*
* @return user
* @throws WeiboException
* when Weibo service or network is unavailable
* @version weibo4j-V2 1.0.1
* @see http://open.weibo.com/wiki/2/suggestions/users/not_interested
* @since JDK 1.5
*/
public User suggestionsUsersNotInterested(String uid)
throws WeiboException {
return new User(client.post(
WeiboConfig.getValue("baseURL")
+ "suggestions/users/not_interested.json",
new PostParameter[] { new PostParameter("uid", uid) },
access_token).asJSONObject());
}
}
| [
"13633843273@163.com"
] | 13633843273@163.com |
b46225c58f6698ab2bc3736d123909b50c673a6e | 6017413bf27b37b3418632f2e11e334334f3dec6 | /week3/Point.java | a800e4fe4a76f07b2863132c2105798bb607d9dc | [] | no_license | ShangwuYao/Princeton-Algorithm | a4300d12439b7cef86b65176c174bd8e06144af4 | 80a7cb452f41dec0af69fb29ebef86db39bf784f | refs/heads/master | 2021-01-24T18:26:09.431977 | 2017-03-09T12:23:20 | 2017-03-09T12:23:20 | 84,439,202 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,930 | java |
/**
* Created by Administrator on 2017/2/10.
*/
import java.util.Comparator;
import edu.princeton.cs.algs4.StdDraw;
import edu.princeton.cs.algs4.In;
import edu.princeton.cs.algs4.StdOut;
public class Point implements Comparable<Point> {
private final int x; // x-coordinate of this point
private final int y; // y-coordinate of this point
/**
* Initializes a new point.
*
* @param x the <em>x</em>-coordinate of the point
* @param y the <em>y</em>-coordinate of the point
*/
public Point(int x, int y) {
/* DO NOT MODIFY */
this.x = x;
this.y = y;
}
/**
* Draws this point to standard draw.
*/
public void draw() {
/* DO NOT MODIFY */
StdDraw.point(x, y);
}
/**
* Draws the line segment between this point and the specified point
* to standard draw.
*
* @param that the other point
*/
public void drawTo(Point that) {
/* DO NOT MODIFY */
StdDraw.line(this.x, this.y, that.x, that.y);
}
/**
* Returns the slope between this point and the specified point.
* Formally, if the two points are (x0, y0) and (x1, y1), then the slope
* is (y1 - y0) / (x1 - x0). For completeness, the slope is defined to be
* +0.0 if the line segment connecting the two points is horizontal;
* Double.POSITIVE_INFINITY if the line segment is vertical;
* and Double.NEGATIVE_INFINITY if (x0, y0) and (x1, y1) are equal.
*
* @param that the other point
* @return the slope between this point and the specified point
*/
public double slopeTo(Point that) {
/* YOUR CODE HERE */
double slope;
if (that.x == this.x && that.y == this.y){
slope = Double.NEGATIVE_INFINITY;
}
else if (that.y == this.y) {
slope = +0.0;
}
else if (this.x == that.x){
slope = Double.POSITIVE_INFINITY;
}
else slope = ((double) that.y - this.y) / (that.x - this.x);
return slope;
}
/**
* Compares two points by y-coordinate, breaking ties by x-coordinate.
* Formally, the invoking point (x0, y0) is less than the argument point
* (x1, y1) if and only if either y0 < y1 or if y0 = y1 and x0 < x1.
*
* @param that the other point
* @return the value <tt>0</tt> if this point is equal to the argument
* point (x0 = x1 and y0 = y1);
* a negative integer if this point is less than the argument
* point; and a positive integer if this point is greater than the
* argument point
*/
public int compareTo(Point that) {
/* YOUR CODE HERE */
if (this.y < that.y || ((this.y ==that.y)&&(this.x<that.x)))
return -1;
else if (this.y == that.y && this.x == that.x) return 0;
return 1;
}
/**
* Compares two points by the slope they make with this point.
* The slope is defined as in the slopeTo() method.
*
* @return the Comparator that defines this ordering on points
*/
public Comparator<Point> slopeOrder() {
/* YOUR CODE HERE */
return new slopecompare();
}
private class slopecompare implements Comparator<Point>{
public int compare(Point p1,Point p2){
double slope1 = slopeTo(p1);
double slope2 = slopeTo(p2);
if (slope1 < slope2) return -1;
else if (slope1 == slope2) return 0;
return +1;
}
}
/**
* Returns a string representation of this point.
* This method is provide for debugging;
* your program should not rely on the format of the string representation.
*
* @return a string representation of this point
*/
public String toString() {
/* DO NOT MODIFY */
return "(" + x + ", " + y + ")";
}
/**
* Unit tests the Point data type.
*/
public static void main(String[] args) {
// read the n points from a file
In in = new In(args[0]);
int n = in.readInt();
Point[] points = new Point[n];
for (int i = 0; i < n; i++) {
int x = in.readInt();
int y = in.readInt();
points[i] = new Point(x, y);
}
// draw the points
StdDraw.enableDoubleBuffering();
StdDraw.setXscale(0, 32768);
StdDraw.setYscale(0, 32768);
for (Point p : points) {
p.draw();
}
StdDraw.show();
// print and draw the line segments
BruteCollinearPoints collinear = new BruteCollinearPoints(points);
//FastCollinearPoints collinear = new FastCollinearPoints(points);
for (LineSegment segment : collinear.segments()) {
StdOut.println(segment);
segment.draw();
}
StdDraw.show();
}
}
| [
"shangwuyao@gmail.com"
] | shangwuyao@gmail.com |
044687af41acc373932e2a70dfe2d3e5518883e5 | afe704d10d2e73cec2dd09952c5e9102b393a0fc | /java/src/SortColors.java | dabc868ee398cab1d08d9acf3a2c738e91cbabc1 | [
"MIT"
] | permissive | rupalph/coding-jedi | 43649b1ee661d94c2a48ed7196cd0645dc3bca06 | 5cec3ae8f056639e2e522f870500596527d1f142 | refs/heads/master | 2022-12-09T05:25:48.647664 | 2019-12-06T05:27:52 | 2019-12-06T05:27:52 | 135,075,844 | 0 | 0 | MIT | 2022-11-15T23:52:03 | 2018-05-27T19:35:16 | Java | UTF-8 | Java | false | false | 1,179 | java | import java.util.Arrays;
/**
* Created by rupalh on 5/12/18.
*/
public class SortColors {
public int[] callMe(int[] nums) {
int i = 0;
int j = nums.length - 1;
while (i < nums.length && nums[i] == 0)
i++;
while (j >= 0 && nums[j] == 2)
j--;
if (i >= nums.length || j < 0) return nums;
int start = i, end = j;
int cur = i;
while(cur<=end){
if(nums[cur]==0){
swap(nums,cur,start);
start++; cur++;
}
else if(nums[cur]==2){
swap(nums,cur,end);
end--;
}
else
cur++;
}
return nums;
}
void swap(int[] nums, int i, int j){
int t = nums[i];
nums[i] = nums[j];
nums[j] = t;
}
public static void main(String[] args){
SortColors sc=new SortColors();
int[] res = sc.callMe(new int[]{0,2,2,2,0,2,1,1});
System.out.println(Arrays.toString(res));
}
}
| [
"rharibhakti@apple.com"
] | rharibhakti@apple.com |
c46294ef15470977f5f8d2bb2a73fb41e25c36c2 | 9bb31fc991f49a4ead2f765f0f0904e6ff841985 | /Asaf Stuff/src/com/course/shapes/TestMyPoint.java | d50d76ac2a69b54f47ddd42ec34ce4bc2f17b51f | [] | no_license | Whoareyou2/git | a915093d51c0fd30d0a76ad73ff86ad7e36f86fc | 9bb357f0f95c4f9013255c825bfbeec67b617ee4 | refs/heads/master | 2016-08-12T09:48:16.226974 | 2015-12-23T18:27:07 | 2015-12-23T18:27:07 | 48,504,905 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 551 | java | package com.course.shapes;
public class TestMyPoint
{
public static void main(String[] args)
{
MyPoint p1 = new MyPoint();
MyPoint p2 = new MyPoint(3, 5);
p1.setX(7);
System.out.println(p1);
System.out.println(p2);
// Find the distance between p1 and (3 , 4)
System.out.println(p1.distance(3, 4));
// Find the distance between p1 and p2
System.out.println(p1.distance(p2));
System.out.println(p1.distance(p2.getX(), p2.getY()));
System.out.println(p1.distance(3, 5));
}
}
| [
"shlomoblitz@gmail.com"
] | shlomoblitz@gmail.com |
99b113da86f7a2526c2469851d50cd5986046db5 | 065c1f648e8dd061a20147ff9c0dbb6b5bc8b9be | /eclipsejdt_cluster/60088/src_0.java | 82b74146ef359b3f6a4e8539071d378cddd8507d | [] | no_license | martinezmatias/GenPat-data-C3 | 63cfe27efee2946831139747e6c20cf952f1d6f6 | b360265a6aa3bb21bd1d64f1fc43c3b37d0da2a4 | refs/heads/master | 2022-04-25T17:59:03.905613 | 2020-04-15T14:41:34 | 2020-04-15T14:41:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 11,249 | java | package org.eclipse.jdt.internal.compiler;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import org.eclipse.jdt.internal.compiler.ast.*;
import org.eclipse.jdt.internal.compiler.lookup.*;
/**
* A visitor interface for interating through the parse tree.
*/
public interface IAbstractSyntaxTreeVisitor {
void acceptProblem(IProblem problem);
void endVisit(AllocationExpression allocationExpression, BlockScope scope);
void endVisit(AND_AND_Expression and_and_Expression, BlockScope scope);
void endVisit(AnonymousLocalTypeDeclaration anonymousTypeDeclaration, BlockScope scope);
void endVisit(Argument argument, BlockScope scope);
void endVisit(ArrayAllocationExpression arrayAllocationExpression, BlockScope scope);
void endVisit(ArrayInitializer arrayInitializer, BlockScope scope);
void endVisit(ArrayQualifiedTypeReference arrayQualifiedTypeReference, BlockScope scope);
void endVisit(ArrayQualifiedTypeReference arrayQualifiedTypeReference, ClassScope scope);
void endVisit(ArrayReference arrayReference, BlockScope scope);
void endVisit(ArrayTypeReference arrayTypeReference, BlockScope scope);
void endVisit(ArrayTypeReference arrayTypeReference, ClassScope scope);
void endVisit(AssertStatement assertStatement, BlockScope scope);
void endVisit(Assignment assignment, BlockScope scope);
void endVisit(BinaryExpression binaryExpression, BlockScope scope);
void endVisit(Block block, BlockScope scope);
void endVisit(Break breakStatement, BlockScope scope);
void endVisit(Case caseStatement, BlockScope scope);
void endVisit(CastExpression castExpression, BlockScope scope);
void endVisit(CharLiteral charLiteral, BlockScope scope);
void endVisit(ClassLiteralAccess classLiteral, BlockScope scope);
void endVisit(Clinit clinit, ClassScope scope);
void endVisit(CompilationUnitDeclaration compilationUnitDeclaration, CompilationUnitScope scope);
void endVisit(CompoundAssignment compoundAssignment, BlockScope scope);
void endVisit(ConditionalExpression conditionalExpression, BlockScope scope);
void endVisit(ConstructorDeclaration constructorDeclaration, ClassScope scope);
void endVisit(Continue continueStatement, BlockScope scope);
void endVisit(DefaultCase defaultCaseStatement, BlockScope scope);
void endVisit(DoStatement doStatement, BlockScope scope);
void endVisit(DoubleLiteral doubleLiteral, BlockScope scope);
void endVisit(EqualExpression equalExpression, BlockScope scope);
void endVisit(EmptyStatement statement, BlockScope scope);
void endVisit(ExplicitConstructorCall explicitConstructor, BlockScope scope);
void endVisit(ExtendedStringLiteral extendedStringLiteral, BlockScope scope);
void endVisit(FalseLiteral falseLiteral, BlockScope scope);
void endVisit(FieldDeclaration fieldDeclaration, MethodScope scope);
void endVisit(FieldReference fieldReference, BlockScope scope);
void endVisit(FloatLiteral floatLiteral, BlockScope scope);
void endVisit(ForStatement forStatement, BlockScope scope);
void endVisit(IfStatement ifStatement, BlockScope scope);
void endVisit(ImportReference importRef, CompilationUnitScope scope);
void endVisit(Initializer initializer, MethodScope scope);
void endVisit(InstanceOfExpression instanceOfExpression, BlockScope scope);
void endVisit(IntLiteral intLiteral, BlockScope scope);
void endVisit(LabeledStatement labeledStatement, BlockScope scope);
void endVisit(LocalDeclaration localDeclaration, BlockScope scope);
void endVisit(LocalTypeDeclaration localTypeDeclaration, MethodScope scope);
void endVisit(LongLiteral longLiteral, BlockScope scope);
void endVisit(MemberTypeDeclaration memberTypeDeclaration, ClassScope scope);
void endVisit(MessageSend messageSend, BlockScope scope);
void endVisit(MethodDeclaration methodDeclaration, ClassScope scope);
void endVisit(NullLiteral nullLiteral, BlockScope scope);
void endVisit(OR_OR_Expression or_or_Expression, BlockScope scope);
void endVisit(PostfixExpression postfixExpression, BlockScope scope);
void endVisit(PrefixExpression prefixExpression, BlockScope scope);
void endVisit(QualifiedAllocationExpression qualifiedAllocationExpression, BlockScope scope);
void endVisit(QualifiedNameReference qualifiedNameReference, BlockScope scope);
void endVisit(QualifiedSuperReference qualifiedSuperReference, BlockScope scope);
void endVisit(QualifiedThisReference qualifiedThisReference, BlockScope scope);
void endVisit(QualifiedTypeReference qualifiedTypeReference, BlockScope scope);
void endVisit(QualifiedTypeReference qualifiedTypeReference, ClassScope scope);
void endVisit(ReturnStatement returnStatement, BlockScope scope);
void endVisit(SingleNameReference singleNameReference, BlockScope scope);
void endVisit(SingleTypeReference singleTypeReference, BlockScope scope);
void endVisit(SingleTypeReference singleTypeReference, ClassScope scope);
void endVisit(StringLiteral stringLiteral, BlockScope scope);
void endVisit(SuperReference superReference, BlockScope scope);
void endVisit(SwitchStatement switchStatement, BlockScope scope);
void endVisit(SynchronizedStatement synchronizedStatement, BlockScope scope);
void endVisit(ThisReference thisReference, BlockScope scope);
void endVisit(ThrowStatement throwStatement, BlockScope scope);
void endVisit(TrueLiteral trueLiteral, BlockScope scope);
void endVisit(TryStatement tryStatement, BlockScope scope);
void endVisit(TypeDeclaration typeDeclaration, BlockScope scope);
void endVisit(TypeDeclaration typeDeclaration, ClassScope scope);
void endVisit(TypeDeclaration typeDeclaration, CompilationUnitScope scope);
void endVisit(UnaryExpression unaryExpression, BlockScope scope);
void endVisit(WhileStatement whileStatement, BlockScope scope);
boolean visit(AllocationExpression allocationExpression, BlockScope scope);
boolean visit(AND_AND_Expression and_and_Expression, BlockScope scope);
boolean visit(AnonymousLocalTypeDeclaration anonymousTypeDeclaration, BlockScope scope);
boolean visit(Argument argument, BlockScope scope);
boolean visit(ArrayAllocationExpression arrayAllocationExpression, BlockScope scope);
boolean visit(ArrayInitializer arrayInitializer, BlockScope scope);
boolean visit(ArrayQualifiedTypeReference arrayQualifiedTypeReference, BlockScope scope);
boolean visit(ArrayQualifiedTypeReference arrayQualifiedTypeReference, ClassScope scope);
boolean visit(ArrayReference arrayReference, BlockScope scope);
boolean visit(ArrayTypeReference arrayTypeReference, BlockScope scope);
boolean visit(ArrayTypeReference arrayTypeReference, ClassScope scope);
boolean visit(AssertStatement assertStatement, BlockScope scope);
boolean visit(Assignment assignment, BlockScope scope);
boolean visit(BinaryExpression binaryExpression, BlockScope scope);
boolean visit(Block block, BlockScope scope);
boolean visit(Break breakStatement, BlockScope scope);
boolean visit(Case caseStatement, BlockScope scope);
boolean visit(CastExpression castExpression, BlockScope scope);
boolean visit(CharLiteral charLiteral, BlockScope scope);
boolean visit(ClassLiteralAccess classLiteral, BlockScope scope);
boolean visit(Clinit clinit, ClassScope scope);
boolean visit(CompilationUnitDeclaration compilationUnitDeclaration, CompilationUnitScope scope);
boolean visit(CompoundAssignment compoundAssignment, BlockScope scope);
boolean visit(ConditionalExpression conditionalExpression, BlockScope scope);
boolean visit(ConstructorDeclaration constructorDeclaration, ClassScope scope);
boolean visit(Continue continueStatement, BlockScope scope);
boolean visit(DefaultCase defaultCaseStatement, BlockScope scope);
boolean visit(DoStatement doStatement, BlockScope scope);
boolean visit(DoubleLiteral doubleLiteral, BlockScope scope);
boolean visit(EqualExpression equalExpression, BlockScope scope);
boolean visit(EmptyStatement statement, BlockScope scope);
boolean visit(ExplicitConstructorCall explicitConstructor, BlockScope scope);
boolean visit(ExtendedStringLiteral extendedStringLiteral, BlockScope scope);
boolean visit(FalseLiteral falseLiteral, BlockScope scope);
boolean visit(FieldDeclaration fieldDeclaration, MethodScope scope);
boolean visit(FieldReference fieldReference, BlockScope scope);
boolean visit(FloatLiteral floatLiteral, BlockScope scope);
boolean visit(ForStatement forStatement, BlockScope scope);
boolean visit(IfStatement ifStatement, BlockScope scope);
boolean visit(ImportReference importRef, CompilationUnitScope scope);
boolean visit(Initializer initializer, MethodScope scope);
boolean visit(InstanceOfExpression instanceOfExpression, BlockScope scope);
boolean visit(IntLiteral intLiteral, BlockScope scope);
boolean visit(LabeledStatement labeledStatement, BlockScope scope);
boolean visit(LocalDeclaration localDeclaration, BlockScope scope);
boolean visit(LocalTypeDeclaration localTypeDeclaration, MethodScope scope);
boolean visit(LongLiteral longLiteral, BlockScope scope);
boolean visit(MemberTypeDeclaration memberTypeDeclaration, ClassScope scope);
boolean visit(MessageSend messageSend, BlockScope scope);
boolean visit(MethodDeclaration methodDeclaration, ClassScope scope);
boolean visit(NullLiteral nullLiteral, BlockScope scope);
boolean visit(OR_OR_Expression or_or_Expression, BlockScope scope);
boolean visit(PostfixExpression postfixExpression, BlockScope scope);
boolean visit(PrefixExpression prefixExpression, BlockScope scope);
boolean visit(QualifiedAllocationExpression qualifiedAllocationExpression, BlockScope scope);
boolean visit(QualifiedNameReference qualifiedNameReference, BlockScope scope);
boolean visit(QualifiedSuperReference qualifiedSuperReference, BlockScope scope);
boolean visit(QualifiedThisReference qualifiedThisReference, BlockScope scope);
boolean visit(QualifiedTypeReference qualifiedTypeReference, BlockScope scope);
boolean visit(QualifiedTypeReference qualifiedTypeReference, ClassScope scope);
boolean visit(ReturnStatement returnStatement, BlockScope scope);
boolean visit(SingleNameReference singleNameReference, BlockScope scope);
boolean visit(SingleTypeReference singleTypeReference, BlockScope scope);
boolean visit(SingleTypeReference singleTypeReference, ClassScope scope);
boolean visit(StringLiteral stringLiteral, BlockScope scope);
boolean visit(SuperReference superReference, BlockScope scope);
boolean visit(SwitchStatement switchStatement, BlockScope scope);
boolean visit(SynchronizedStatement synchronizedStatement, BlockScope scope);
boolean visit(ThisReference thisReference, BlockScope scope);
boolean visit(ThrowStatement throwStatement, BlockScope scope);
boolean visit(TrueLiteral trueLiteral, BlockScope scope);
boolean visit(TryStatement tryStatement, BlockScope scope);
boolean visit(TypeDeclaration typeDeclaration, BlockScope scope);
boolean visit(TypeDeclaration typeDeclaration, ClassScope scope);
boolean visit(TypeDeclaration typeDeclaration, CompilationUnitScope scope);
boolean visit(UnaryExpression unaryExpression, BlockScope scope);
boolean visit(WhileStatement whileStatement, BlockScope scope);
}
| [
"375833274@qq.com"
] | 375833274@qq.com |
9aa065cda9731a800b20d780e5cfda7126e08176 | aa7f855525cbffd9bed7e54b11c8813b53b807b2 | /android/app/src/main/java/com/first_ui_practice/MainActivity.java | 11f3be872b96a95d1f5ccd9f09a1362bb2b76a00 | [] | no_license | randyher/first-ui-practice | 57745d42a720901f83c29fd103e6c8908693b4bb | cd62e9c3aed4f74366d66d5fd6192fb9df246632 | refs/heads/master | 2022-12-11T09:58:00.185728 | 2019-08-15T14:46:21 | 2019-08-15T14:46:21 | 202,558,890 | 0 | 0 | null | 2022-12-04T07:36:51 | 2019-08-15T14:45:29 | Makefile | UTF-8 | Java | false | false | 379 | java | package com.first_ui_practice;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript.
* This is used to schedule rendering of the component.
*/
@Override
protected String getMainComponentName() {
return "first_ui_practice";
}
}
| [
"github email address"
] | github email address |
923c8d75af4d596a168dc5f89d4137f89e82ea2a | bc4bf51cc41410d6e4483797f606e01cbb16aa38 | /Vendor/NCBI eutils/src/gov/nih/nlm/ncbi/www/soap/eutils/elink/ERROR.java | 10da216e3acb9796f18f223dfc10ce776f4f8a16 | [
"BSD-2-Clause"
] | permissive | milot-mirdita/GeMuDB | 088533f38c4093317c5802ed1babd05d5e39c944 | 336988a7e3baa29a4fcae0807353c12abc54143b | refs/heads/master | 2020-05-07T12:25:38.592087 | 2014-05-12T21:23:28 | 2014-05-12T21:23:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 17,395 | java |
/**
* ERROR.java
*
* This file was auto-generated from WSDL
* by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:34:40 IST)
*/
package gov.nih.nlm.ncbi.www.soap.eutils.elink;
/**
* ERROR bean class
*/
@SuppressWarnings({"unchecked","unused"})
public class ERROR
implements org.apache.axis2.databinding.ADBBean{
public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName(
"http://www.ncbi.nlm.nih.gov/soap/eutils/elink",
"ERROR",
"ns5");
/**
* field for ERROR
*/
protected java.lang.String localERROR ;
/**
* Auto generated getter method
* @return java.lang.String
*/
public java.lang.String getERROR(){
return localERROR;
}
/**
* Auto generated setter method
* @param param ERROR
*/
public void setERROR(java.lang.String param){
this.localERROR=param;
}
/**
*
* @param parentQName
* @param factory
* @return org.apache.axiom.om.OMElement
*/
public org.apache.axiom.om.OMElement getOMElement (
final javax.xml.namespace.QName parentQName,
final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{
org.apache.axiom.om.OMDataSource dataSource =
new org.apache.axis2.databinding.ADBDataSource(this,MY_QNAME);
return factory.createOMElement(dataSource,MY_QNAME);
}
public void serialize(final javax.xml.namespace.QName parentQName,
javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{
serialize(parentQName,xmlWriter,false);
}
public void serialize(final javax.xml.namespace.QName parentQName,
javax.xml.stream.XMLStreamWriter xmlWriter,
boolean serializeType)
throws javax.xml.stream.XMLStreamException, org.apache.axis2.databinding.ADBException{
//We can safely assume an element has only one type associated with it
java.lang.String namespace = "http://www.ncbi.nlm.nih.gov/soap/eutils/elink";
java.lang.String _localName = "ERROR";
writeStartElement(null, namespace, _localName, xmlWriter);
// add the type details if this is used in a simple type
if (serializeType){
java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://www.ncbi.nlm.nih.gov/soap/eutils/elink");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":ERROR",
xmlWriter);
} else {
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
"ERROR",
xmlWriter);
}
}
if (localERROR==null){
throw new org.apache.axis2.databinding.ADBException("ERROR cannot be null !!");
}else{
xmlWriter.writeCharacters(localERROR);
}
xmlWriter.writeEndElement();
}
private static java.lang.String generatePrefix(java.lang.String namespace) {
if(namespace.equals("http://www.ncbi.nlm.nih.gov/soap/eutils/elink")){
return "ns5";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
}
/**
* Utility method to write an element start tag.
*/
private void writeStartElement(java.lang.String prefix, java.lang.String namespace, java.lang.String localPart,
javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
java.lang.String writerPrefix = xmlWriter.getPrefix(namespace);
if (writerPrefix != null) {
xmlWriter.writeStartElement(namespace, localPart);
} else {
if (namespace.length() == 0) {
prefix = "";
} else if (prefix == null) {
prefix = generatePrefix(namespace);
}
xmlWriter.writeStartElement(prefix, localPart, namespace);
xmlWriter.writeNamespace(prefix, namespace);
xmlWriter.setPrefix(prefix, namespace);
}
}
/**
* Util method to write an attribute with the ns prefix
*/
private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,
java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{
if (xmlWriter.getPrefix(namespace) == null) {
xmlWriter.writeNamespace(prefix, namespace);
xmlWriter.setPrefix(prefix, namespace);
}
xmlWriter.writeAttribute(namespace,attName,attValue);
}
/**
* Util method to write an attribute without the ns prefix
*/
private void writeAttribute(java.lang.String namespace,java.lang.String attName,
java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{
if (namespace.equals("")) {
xmlWriter.writeAttribute(attName,attValue);
} else {
registerPrefix(xmlWriter, namespace);
xmlWriter.writeAttribute(namespace,attName,attValue);
}
}
/**
* Util method to write an attribute without the ns prefix
*/
private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName,
javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
java.lang.String attributeNamespace = qname.getNamespaceURI();
java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace);
if (attributePrefix == null) {
attributePrefix = registerPrefix(xmlWriter, attributeNamespace);
}
java.lang.String attributeValue;
if (attributePrefix.trim().length() > 0) {
attributeValue = attributePrefix + ":" + qname.getLocalPart();
} else {
attributeValue = qname.getLocalPart();
}
if (namespace.equals("")) {
xmlWriter.writeAttribute(attName, attributeValue);
} else {
registerPrefix(xmlWriter, namespace);
xmlWriter.writeAttribute(namespace, attName, attributeValue);
}
}
/**
* method to handle Qnames
*/
private void writeQName(javax.xml.namespace.QName qname,
javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
java.lang.String namespaceURI = qname.getNamespaceURI();
if (namespaceURI != null) {
java.lang.String prefix = xmlWriter.getPrefix(namespaceURI);
if (prefix == null) {
prefix = generatePrefix(namespaceURI);
xmlWriter.writeNamespace(prefix, namespaceURI);
xmlWriter.setPrefix(prefix,namespaceURI);
}
if (prefix.trim().length() > 0){
xmlWriter.writeCharacters(prefix + ":" + org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname));
} else {
// i.e this is the default namespace
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname));
}
} else {
xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qname));
}
}
private void writeQNames(javax.xml.namespace.QName[] qnames,
javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
if (qnames != null) {
// we have to store this data until last moment since it is not possible to write any
// namespace data after writing the charactor data
java.lang.StringBuffer stringToWrite = new java.lang.StringBuffer();
java.lang.String namespaceURI = null;
java.lang.String prefix = null;
for (int i = 0; i < qnames.length; i++) {
if (i > 0) {
stringToWrite.append(" ");
}
namespaceURI = qnames[i].getNamespaceURI();
if (namespaceURI != null) {
prefix = xmlWriter.getPrefix(namespaceURI);
if ((prefix == null) || (prefix.length() == 0)) {
prefix = generatePrefix(namespaceURI);
xmlWriter.writeNamespace(prefix, namespaceURI);
xmlWriter.setPrefix(prefix,namespaceURI);
}
if (prefix.trim().length() > 0){
stringToWrite.append(prefix).append(":").append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i]));
} else {
stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i]));
}
} else {
stringToWrite.append(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(qnames[i]));
}
}
xmlWriter.writeCharacters(stringToWrite.toString());
}
}
/**
* Register a namespace prefix
*/
private java.lang.String registerPrefix(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.String namespace) throws javax.xml.stream.XMLStreamException {
java.lang.String prefix = xmlWriter.getPrefix(namespace);
if (prefix == null) {
prefix = generatePrefix(namespace);
javax.xml.namespace.NamespaceContext nsContext = xmlWriter.getNamespaceContext();
while (true) {
java.lang.String uri = nsContext.getNamespaceURI(prefix);
if (uri == null || uri.length() == 0) {
break;
}
prefix = org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
}
xmlWriter.writeNamespace(prefix, namespace);
xmlWriter.setPrefix(prefix, namespace);
}
return prefix;
}
/**
* databinding method to get an XML representation of this object
*
*/
public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)
throws org.apache.axis2.databinding.ADBException{
//We can safely assume an element has only one type associated with it
return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(MY_QNAME,
new java.lang.Object[]{
org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader.ELEMENT_TEXT,
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localERROR)
},
null);
}
/**
* Factory class that keeps the parse method
*/
public static class Factory{
/**
* static method to create the object
* Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable
* If this object is not an element, it is a complex type and the reader is at the event just after the outer start element
* Postcondition: If this object is an element, the reader is positioned at its end element
* If this object is a complex type, the reader is positioned at the end element of its outer element
*/
public static ERROR parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{
ERROR object =
new ERROR();
int event;
java.lang.String nillableValue = null;
java.lang.String prefix ="";
java.lang.String namespaceuri ="";
try {
while (!reader.isStartElement() && !reader.isEndElement())
reader.next();
// Note all attributes that were handled. Used to differ normal attributes
// from anyAttributes.
java.util.Vector handledAttributes = new java.util.Vector();
while(!reader.isEndElement()) {
if (reader.isStartElement() ){
if (reader.isStartElement() && new javax.xml.namespace.QName("http://www.ncbi.nlm.nih.gov/soap/eutils/elink","ERROR").equals(reader.getName())){
nillableValue = reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil");
if ("true".equals(nillableValue) || "1".equals(nillableValue)){
throw new org.apache.axis2.databinding.ADBException("The element: "+"ERROR" +" cannot be null");
}
java.lang.String content = reader.getElementText();
object.setERROR(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(content));
} // End of if for expected property start element
else{
// A start element we are not expecting indicates an invalid parameter was passed
throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getName());
}
} else {
reader.next();
}
} // end of while loop
} catch (javax.xml.stream.XMLStreamException e) {
throw new java.lang.Exception(e);
}
return object;
}
}//end of factory class
}
| [
"root@proteinsuite.com"
] | root@proteinsuite.com |
aba46c641033f3ce9bd33aa3716becb6955473bf | 61d7a0774b5c2ebb79611feaa09358b56b89beea | /chatbothospital/src/test/java/by/jrr/chatbothospital/ChatBotHospitalApplicationTests.java | 4a47a793b44b330f1594c12e782bebeadf6d1041 | [] | no_license | vklda/ChatBotHospital | 51a0392676762757c835fd8750565e55ea446e9c | 634fe2b5910d71d8735250e2df031953500283e9 | refs/heads/main | 2023-03-08T07:02:16.238258 | 2021-02-28T14:02:42 | 2021-02-28T14:02:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 869 | java | package by.jrr.chatbothospital;
import by.jrr.chatbothospital.config.Mapper;
import by.jrr.chatbothospital.processor.HelpProcessor;
import by.jrr.chatbothospital.processor.NoneProcessor;
import by.jrr.chatbothospital.processor.SettingsProcessor;
import by.jrr.chatbothospital.processor.StartProcessor;
import by.jrr.chatbothospital.service.MessageService;
import by.jrr.chatbothospital.service.RequestDispatcher;
import by.jrr.chatbothospital.service.TelegramBotHospital;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest (classes = {TelegramBotHospital.class, Mapper.class, MessageService.class, RequestDispatcher.class, StartProcessor.class, SettingsProcessor.class, NoneProcessor.class, HelpProcessor.class})
public class ChatBotHospitalApplicationTests {
@Test
void contextLoads() {
}
}
| [
"asadchevaanastasia@gmail.com"
] | asadchevaanastasia@gmail.com |
f9d0733ef3130257a31b80b4c4bacfceefa34077 | c445902b730c66d49011519e5d17cc13929ab803 | /src/main/java/com/floatinvoice/business/InvoiceService.java | 8ac0fec9f15ecec51bf4336f3e457c52dfa020e5 | [] | no_license | dmgn/floatinvoice | 50f98a0e7a17d0ae78b46b93a8ad13025c2a72a9 | a8b49c3921466542380f8679a97026565c706650 | refs/heads/master | 2016-08-11T10:44:01.550326 | 2016-04-14T22:54:13 | 2016-04-14T22:54:13 | 49,912,245 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,232 | java | package com.floatinvoice.business;
import com.floatinvoice.messages.BaseMsg;
import com.floatinvoice.messages.InvoiceAccountInfoMsg;
import com.floatinvoice.messages.InvoiceDtlsMsg;
import com.floatinvoice.messages.ListMsg;
import com.floatinvoice.messages.LoanDtlsMsg;
import com.floatinvoice.messages.UploadMessage;
public interface InvoiceService {
ListMsg<InvoiceDtlsMsg> fetchAllNewInvoices( String acronym );
ListMsg<InvoiceDtlsMsg> fetchPendingInvoices( String acronym );
ListMsg<InvoiceDtlsMsg> fetchFundedInvoices( String acronym );
BaseMsg uploadInvoiceFile ( UploadMessage msg) throws Exception;
BaseMsg creditInvoice ( String refId ) throws Exception;
BaseMsg bidInvoice ( InvoiceDtlsMsg msg, String acronym ) throws Exception;
ListMsg<InvoiceDtlsMsg> fetchInvoicePoolDetails( String acronym, String poolRefId );
BaseMsg createInvoiceAccount(InvoiceAccountInfoMsg msg);
ListMsg<InvoiceDtlsMsg> fetchPaidInvoicePools(String acronym) throws Exception;
BaseMsg acceptBid( String candidateRefId );
ListMsg<InvoiceDtlsMsg> fetchAcceptedBidsBySME(String acronym) throws Exception;
ListMsg<LoanDtlsMsg> viewFundedInvoicesByFinancier( String acronym );
}
| [
"naikgautamg@gmail.com"
] | naikgautamg@gmail.com |
85b1710df2246347b5565abb1a05db713685488b | 8db21b4782aead385da5ec3978915baf4e4a082b | /com.jiuqi.rpa.core/src/com/jiuqi/rpa/action/browser/openbrowser/OpenBrowserAction.java | a00b060e31bb8560041ea660d3f5838fcf3da076 | [] | no_license | hihod/uni-studio-based-on-jiuqi | 5fd26938476edb4feec47e30ae35a9dfc10cfaa0 | c106df0a6f5542ca0026c14cead63870b9b490e5 | refs/heads/master | 2022-01-31T21:54:28.815046 | 2019-08-19T03:13:23 | 2019-08-19T03:13:23 | null | 0 | 0 | null | null | null | null | GB18030 | Java | false | false | 1,099 | java | package com.jiuqi.rpa.action.browser.openbrowser;
import com.jiuqi.rpa.action.Action;
import com.jiuqi.rpa.action.ActionException;
import com.jiuqi.rpa.action.IActionOutput;
import com.jiuqi.rpa.lib.Context;
import com.jiuqi.rpa.lib.browser.UIBrowser;
import com.jiuqi.rpa.lib.browser.WebBrowserLibary;
/**
* 打开浏览器活动
*
* @author wangshanyu
*/
public class OpenBrowserAction extends Action {
private OpenBrowserInput input;
private OpenBrowserOutput output;
/**
* 活动输入
*
* @param input
*/
public OpenBrowserAction(OpenBrowserInput input) {
super(input);
this.input = input;
this.output = new OpenBrowserOutput();
}
@Override
protected IActionOutput run() throws ActionException {
Context context = getContext();
try {
UIBrowser browser = WebBrowserLibary.open(input.getBrowserType(),input.getUrl());
context.add(browser);
this.output.setBrowser(browser);
return this.output;
} catch (Exception e) {
throw new ActionException("打开浏览器活动异常"+e.getMessage(), e);
}
}
}
| [
"mrliangpengyv@gmail.com"
] | mrliangpengyv@gmail.com |
fe92e3f8b8247d15a87bff00e111d01e73458a9e | 937e365880468c93a7963e783ca5de4d6eb4e74b | /src/Gun37/InstanceModifiers/publicModifier/same/ChromeBrowser.java | 765d34db0a9ea5e33482d9960fe53b824fac45f4 | [] | no_license | YusufSahin90/JavaKursu | 1d098b02fb526db5ad9d32eb8f5d48ae45be10b5 | 6eabec70504c666cbf842088e54688532b3b3180 | refs/heads/master | 2023-01-22T10:45:33.010985 | 2020-11-24T19:13:11 | 2020-11-24T19:13:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 404 | java | package Gun37.InstanceModifiers.publicModifier.same;
public class ChromeBrowser {
public static void main(String[] args) {
// public oldugundan rahalıkla ulaşabliyorum aynı paket içinden.
SearchEngine google = new SearchEngine("chrome");
google.name = "Chrome";
System.out.println("google = " + google);
// toString methoduna gider o da public
}
}
| [
"69377854+flashh670@users.noreply.github.com"
] | 69377854+flashh670@users.noreply.github.com |
d81161e79809d35ba3883314cdff4dd79e70d8cc | cf8785eb6aeeacc1508afd96defba78b38d2d08f | /Thread/src/threadPool_0525/demo89.java | 36a56b41e92596d197cc245d78b6ac938b71a6ae | [
"Apache-2.0"
] | permissive | guyihan-zb/xiangmu | 1830fa9026d4553fd9f550ea0898f8d65f3189d9 | 51c296deb3a3d949704405e2e046718e3ced2303 | refs/heads/main | 2023-08-13T22:08:22.333897 | 2021-10-05T14:20:55 | 2021-10-05T14:20:55 | 354,703,255 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,051 | java | package threadPool_0525;
import java.util.Random;
/**
* [description]
*
* @author: zhangbo
* @date: 2021-05-25
* @time: 21:17
*/
public class demo89 {
static class MyBlockingQueue{
private int[] values; //实际存储数据的数组
private int first; //队首
private int last; //队尾
private int size; //队列元素的实际大小
public MyBlockingQueue(int initial){
//初始化变量
values = new int [initial];
first = 0;
last = 0;
size = 0;
}
//添加元素
public void offer(int val){
synchronized (this){
//判断边界值
if(size == values.length){
try {
this.wait();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
values[last] = val;
last ++;
size ++;
if(last==values.length){
last = 0;
}
this.notify();
}
}
//查询方法
public int poll(){
int result = -1;
synchronized (this){
//判断边界值
if(size == 0){
//队列为空,阻塞等待
try {
this.wait();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
result = values[first++];
size--;
//判断是否为第一个元素
if(first==values.length){
first = 0;
}
//尝试唤醒生产者
this.notify();
}
return result;
}
}
public static void main(String[] args) {
MyBlockingQueue myBlockingQueue = new MyBlockingQueue(100);
Thread t1 = new Thread(new Runnable() {
@Override
public void run() {
//每隔500毫秒生产一条数据
while(true){
int num = new Random().nextInt(10);
System.out.println("生产了随机数" + num);
myBlockingQueue.offer(num);
try {
Thread.sleep(500);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
});
t1.start();
Thread t2 = new Thread(new Runnable() {
@Override
public void run() {
//每隔500毫秒生产一条数据
while(true){
int result = myBlockingQueue.poll();
System.out.println("消费了数据"+ result);
}
}
});
t2.start();
}
}
| [
"2092332348@qq.com"
] | 2092332348@qq.com |
1cc2d350fb560d734339509cd7e18b1a687b2d36 | ce5311579cd772034ce71ec49c8be8c2faa31fe4 | /modules/core/nuxeo-core-api/src/main/java/org/nuxeo/ecm/core/blob/BlobStatus.java | 5d9f4b33b7f2e2fbbf1a0e36301b54bf7fdb2b03 | [
"Apache-2.0"
] | permissive | bjalon/nuxeo | c02c6df2dfae8208fffe8bd397d0a62d1e6cc242 | f0a2d3a97848b5be6b1490922dd7c2aba128e675 | refs/heads/master | 2023-08-24T11:59:42.851168 | 2021-07-14T08:13:25 | 2021-07-14T08:13:25 | 385,863,409 | 0 | 0 | Apache-2.0 | 2021-07-14T08:11:08 | 2021-07-14T08:11:07 | null | UTF-8 | Java | false | false | 1,957 | java | /*
* (C) Copyright 2020 Nuxeo (http://nuxeo.com/) and others.
*
* 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.
*
* Contributors:
* Florent Guillaume
*/
package org.nuxeo.ecm.core.blob;
import java.time.Instant;
/**
* Status associated to a blob in storage.
*
* @since 11.1
*/
public class BlobStatus {
protected String storageClass;
protected boolean downloadable = true;
protected Instant downloadableUntil;
public BlobStatus withStorageClass(String storageClass) {
this.storageClass = storageClass;
return this;
}
public BlobStatus withDownloadable(boolean downloadable) {
this.downloadable = downloadable;
return this;
}
public BlobStatus withDownloadableUntil(Instant downloadableUntil) {
this.downloadableUntil = downloadableUntil;
return this;
}
/**
* The storage class, or {@code null} for the standard storage class.
*/
public String getStorageClass() {
return storageClass;
}
/**
* Whether the blob can be immediately downloaded.
*/
public boolean isDownloadable() {
return downloadable;
}
/**
* If the blob can be download for a limited time, until when.
* <p>
* Returns {@code null} if the blob is always downloadable, or is not immediately downloadable.
*/
public Instant getDownloadableUntil() {
return downloadableUntil;
}
}
| [
"fg@nuxeo.com"
] | fg@nuxeo.com |
42b3dda96195924d00e17e1af505d4652c461bea | ca2d1fe0d857fc6206c8bada7a17c84ef69c092f | /src/main/java/vc/thinker/dal/test/controller/UserController.java | 6101145b92d97f11c1110de95dfa710e6f4c7811 | [] | no_license | Ares-yan/message-service | 8755d592baa03b0bedf9205d7fa8c9cbf675f78b | d336ba0e41790c3d7a36c9a3c8ee57161caa0ad8 | refs/heads/master | 2022-06-26T09:48:43.610845 | 2019-07-12T06:32:50 | 2019-07-12T06:32:50 | 196,514,997 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,038 | java | package vc.thinker.dal.test.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.*;
import vc.thinker.dal.test.service.IUserService;
import vc.thinker.dal.test.entity.User;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 前端控制器
* </p>
*
* @author YZM
* @since 2019-07-05
*/
@Api(tags = {"用户"})
@RestController
@RequestMapping("test/user")
public class UserController {
@Autowired
private IUserService targetService;
// @Value("${service.port}")
// String port;
/**
* 查询分页数据
*/
@ApiOperation(value = "查询分页数据")
@PostMapping("page")
public Page page(@RequestParam(name = "pageNum", defaultValue = "1") int pageNum,@RequestParam(name = "pageSize", defaultValue = "20") int pageSize){
return null;
}
/**
* 根据id查询
*/
@ApiOperation(value = "根据id查询数据")
@GetMapping("test/{id}")
public String test(@PathVariable("id") Long id){
User user = targetService.getById(id);
return user.toString() + "8761";
}
/**
* 根据id查询
*/
@ApiOperation(value = "根据id查询数据")
@GetMapping("detail/{id}")
public User detail(@PathVariable("id") Long id){
return targetService.getById(id);
}
/**
* 新增
*/
@ApiOperation(value = "新增数据")
@PatchMapping("save")
public User save(@RequestBody User user){
return null;
}
/**
* 删除
*/
@ApiOperation(value = "删除数据")
@DeleteMapping("delete")
public String delete(@RequestParam("ids") List<String> ids){
return null;
}
}
| [
"yanzhuomin@thinker.vc"
] | yanzhuomin@thinker.vc |
a22bea574da3cb08440d31f82b49d970189bee15 | b4136baea6ea007c8b8c9485374b903937ed36bf | /app/src/main/java/com/df/slideview/MyAdapter.java | 71751f43d9dda5cfbfc502b46620e43651a06cdf | [] | no_license | yansha87/SlideView | f1229eee24c5e24274c957d980b2d9a0ca2bf4b1 | 6b94256dccb186cc5701705795ca2317edde7f80 | refs/heads/master | 2021-01-25T09:38:47.366703 | 2016-08-09T08:24:25 | 2016-08-09T08:24:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,105 | java | package com.df.slideview;
import android.content.Context;
import android.support.design.widget.Snackbar;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.windy.slideview.RecyclingPagerAdapter;
/**
* Created by dingfeng on 2016/8/8.
*/
public class MyAdapter extends RecyclingPagerAdapter {
private Context mContext;
private String[] mUrls;
private int size;
private boolean isInfiniteLoop = false;
public MyAdapter(Context context, String[] urls) {
this.mContext = context;
this.mUrls = urls;
this.size = urls.length;
}
@Override
public int getCount() {
// Infinite loop
return isInfiniteLoop ? Integer.MAX_VALUE : mUrls.length;
}
private int getPosition(int position) {
return isInfiniteLoop ? position % size : position;
}
public boolean isInfiniteLoop() {
return isInfiniteLoop;
}
// 设置循环
public void setInfiniteLoop(boolean isInfiniteLoop) {
this.isInfiniteLoop = isInfiniteLoop;
}
@Override
public View getView(final int position, View convertView, ViewGroup container) {
final ViewHolder holder;
if (convertView == null) {
holder = new ViewHolder();
convertView = LayoutInflater.from(mContext).inflate(R.layout.item_pager, null);
holder.image = (ImageView) convertView.findViewById(R.id.image);
convertView.setTag(holder);
} else {
holder = (ViewHolder) convertView.getTag();
}
Glide.with(mContext).load(mUrls[getPosition(position)]).into(holder.image);
convertView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Snackbar.make(v, "onClick: " + getPosition(position), Snackbar.LENGTH_SHORT).show();
}
});
return convertView;
}
private static class ViewHolder {
ImageView image;
}
}
| [
"dingfengnupt@sina.com"
] | dingfengnupt@sina.com |
966d7e8d965954b4ca4bdf32967c40dad4646ecb | d4e2718e2635c3a90cba485f81095ac3ab11336d | /java/src/main/java/com/erden/test/App.java | fc2af4c83aaa997c0c2600fbbb5060965a5704d2 | [] | no_license | xxslaev/git-demo | 6b09f30b2022d75a89a774d0a628e1786396e281 | 5fe60cdcce06a76ddbde9dd57503b53499c8999b | refs/heads/main | 2023-02-02T04:14:15.262764 | 2020-12-22T05:36:22 | 2020-12-22T05:36:22 | 321,863,776 | 0 | 0 | null | 2020-12-18T09:42:26 | 2020-12-16T04:05:16 | null | UTF-8 | Java | false | false | 177 | java | package com.erden.test;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
| [
"xxslaev@gmail.com"
] | xxslaev@gmail.com |
b68d582870716f10b33c75136919bacda2013afa | 56345576b8ac92922f790de794b1296e3cd887f4 | /src/Main.java | 7ada0a8764d73f98292e9e2c993d1aa51dee661e | [] | no_license | sdvic/JSoupStudy | d9b08e62dd2d3a4548d702d73d99845d802a3b91 | 7777f7b55ea5b10453fac3de68d54ba8dc4372a1 | refs/heads/master | 2021-01-20T06:46:57.873867 | 2017-08-26T22:40:01 | 2017-08-26T22:40:01 | 101,517,122 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,045 | java | import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import static org.jsoup.Jsoup.connect;
import java.net.*;
import java.io.*;
public class Main
{
public static void main(String[] args) throws Exception
{
// Document doc = connect("http://www.oracle.com").get();
// Elements images = doc.select("img[src~=(?i)\\.(png|jpe?g|gif)]");
// for (Element image : images)
// {
// System.out.println("src : " + image.attr("src"));
// System.out.println("height : " + image.attr("height"));
// System.out.println("width : " + image.attr("width"));
// System.out.println("alt : " + image.attr("alt"));
// }
URL oracle = new URL("http://www.cnn.com/");
BufferedReader in = new BufferedReader(
new InputStreamReader(oracle.openStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
System.out.println(inputLine);
in.close();
}
}
| [
"gvw@san.rr.com"
] | gvw@san.rr.com |
4fa34fde9892f7845a484c4f8bfdfa2fb99b5ef8 | a5de97af54055beca26563e0dd1c52d99182d8f6 | /structure-editor/src/main/java/gov/nist/hit/hl7/igamt/structure/domain/SegmentStructureMetadata.java | 8d296054338a7d1c34ae75958a9098db4d0219d6 | [] | no_license | usnistgov/hl7-igamt | 77331007562eeb03aad96d17a4b627165ef4cdc5 | dcee50821ea1f3cc2ee9a3ea66709661760bd4f6 | refs/heads/master | 2023-09-02T15:38:18.271533 | 2021-11-29T17:41:35 | 2021-11-29T17:41:35 | 122,214,311 | 10 | 2 | null | 2023-07-19T16:50:00 | 2018-02-20T15:10:33 | Java | UTF-8 | Java | false | false | 813 | java | package gov.nist.hit.hl7.igamt.structure.domain;
public class SegmentStructureMetadata {
String name;
String identifier;
String description;
String hl7Version;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getIdentifier() {
return identifier;
}
public void setIdentifier(String identifier) {
this.identifier = identifier;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getHl7Version() {
return hl7Version;
}
public void setHl7Version(String hl7Version) {
this.hl7Version = hl7Version;
}
}
| [
"hossam.tamri@nist.gov"
] | hossam.tamri@nist.gov |
52418cecc35f24ea6e082bd13efd5e168f5ee5ed | 51352980ac793bdaeeff4aef212694da02611312 | /src/org/usfirst/frc3172/Samuel/commands/DriveForwardL.java | 97b997a6af779ea7a6057e224dc5041e96e2c876 | [] | no_license | HorsePOWER-3172/2015_Robot | b1da000e9e2dca01ef0af737f8e0becd71dbb260 | ec2f31361c2af864761232c812af6f69b1358aae | refs/heads/master | 2021-05-10T14:53:27.143328 | 2018-03-16T01:17:10 | 2018-03-16T01:17:10 | 118,535,596 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,665 | java | // RobotBuilder Version: 1.5
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks indicating autogenerated code or it will be lost on an
// update. Deleting the comments indicating the section will prevent
// it from being updated in the future.
package org.usfirst.frc3172.Samuel.commands;
import edu.wpi.first.wpilibj.command.Command;
import org.usfirst.frc3172.Samuel.Robot;
/**
*
*/
public class DriveForwardL extends Command {
public DriveForwardL() {
// Use requires() here to declare subsystem dependencies
// eg. requires(chassis);
// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES
requires(Robot.drive);
// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES
}
// Called just before this Command runs the first time
protected void initialize() {
Robot.drive.forwardLeft();
}
// Called repeatedly when this Command is scheduled to run
protected void execute() {
Robot.drive.forwardLeft();
}
// Make this return true when this Command no longer needs to run execute()
protected boolean isFinished() {
return false;
}
// Called once after isFinished returns true
protected void end() {
Robot.drive.stop();
}
// Called when another command which requires one or more of the same
// subsystems is scheduled to run
protected void interrupted() {
end();
}
}
| [
"mathewsreece@gmail.com"
] | mathewsreece@gmail.com |
e86bf2180816a7ac752029f84d649e5ba42c8ad7 | f787964b2eb70971c558892c37f3036dda7f5cb8 | /.JETEmitters/src/org/talend/designer/codegen/translators/databases/postgresql/TPostgresqlCommitMainJava.java | 4f037985e7b36fe0e005aef9637b6cd2a56c2299 | [] | no_license | sharrake/SampleTalendWorkspace | 1746e1600ec667efc8a929c8fc33ca1e3d1f09f5 | b518c24aca165408eaef0353a7bb208ac4c9bd96 | refs/heads/master | 2021-01-10T04:19:48.039640 | 2015-11-23T11:16:36 | 2015-11-23T11:16:36 | 46,714,207 | 0 | 4 | null | null | null | null | UTF-8 | Java | false | false | 20,538 | java | package org.talend.designer.codegen.translators.databases.postgresql;
import org.talend.core.model.process.INode;
import org.talend.core.model.process.ElementParameterParser;
import org.talend.designer.codegen.config.CodeGeneratorArgument;
import org.talend.core.model.utils.NodeUtil;
public class TPostgresqlCommitMainJava
{
protected static String nl;
public static synchronized TPostgresqlCommitMainJava create(String lineSeparator)
{
nl = lineSeparator;
TPostgresqlCommitMainJava result = new TPostgresqlCommitMainJava();
nl = null;
return result;
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected final String TEXT_1 = "\t\t\t\tlog.info(\"";
protected final String TEXT_2 = " - Retrieving records from the datasource.\");" + NL + "\t\t\t";
protected final String TEXT_3 = NL + "\t\t\t\tlog.info(\"";
protected final String TEXT_4 = " - Retrieved records count: \"+ nb_line_";
protected final String TEXT_5 = " + \" .\");" + NL + "\t\t\t";
protected final String TEXT_6 = NL + "\t\t\t\tlog.info(\"";
protected final String TEXT_7 = " - Retrieved records count: \"+ globalMap.get(\"";
protected final String TEXT_8 = "_NB_LINE\") + \" .\");" + NL + "\t\t\t";
protected final String TEXT_9 = NL + "\t\t\t\tlog.info(\"";
protected final String TEXT_10 = " - Retrieved records count: \"+ nb_line_";
protected final String TEXT_11 = " + \" .\");" + NL + "\t\t\t";
protected final String TEXT_12 = NL + "\t\t\t\tlog.info(\"";
protected final String TEXT_13 = " - Written records count: \" + nb_line_";
protected final String TEXT_14 = " + \" .\");" + NL + "\t\t\t";
protected final String TEXT_15 = NL + "\t\t\t\tfinal StringBuffer log4jSb_";
protected final String TEXT_16 = " = new StringBuffer();" + NL + "\t\t\t";
protected final String TEXT_17 = NL + "\t\t\t\tlog.debug(\"";
protected final String TEXT_18 = " - Retrieving the record \" + (nb_line_";
protected final String TEXT_19 = ") + \".\");" + NL + "\t\t\t";
protected final String TEXT_20 = NL + "\t\t\t\tlog.debug(\"";
protected final String TEXT_21 = " - Writing the record \" + nb_line_";
protected final String TEXT_22 = " + \" to the file.\");" + NL + "\t\t\t";
protected final String TEXT_23 = NL + "\t\t\t\tlog.debug(\"";
protected final String TEXT_24 = " - Processing the record \" + nb_line_";
protected final String TEXT_25 = " + \".\");" + NL + "\t\t\t";
protected final String TEXT_26 = NL + "\t\t\t\tlog.info(\"";
protected final String TEXT_27 = " - Processed records count: \" + nb_line_";
protected final String TEXT_28 = " + \" .\");" + NL + "\t\t\t";
protected final String TEXT_29 = NL + "\t\t\t\tif(conn_";
protected final String TEXT_30 = " != null) {" + NL + "\t\t\t\t\tif(conn_";
protected final String TEXT_31 = ".getMetaData() != null) {" + NL + "\t\t\t\t\t\t";
protected final String TEXT_32 = NL + "\t\t\t\t\t\tlog.info(\"";
protected final String TEXT_33 = " - Uses an existing connection ";
protected final String TEXT_34 = ".\");" + NL + "\t\t\t\t\t\t";
protected final String TEXT_35 = NL + "\t\t\t\t\t\tlog.info(\"";
protected final String TEXT_36 = " - Uses an existing connection with username '\" + conn_";
protected final String TEXT_37 = ".getMetaData().getUserName() + \"'. Connection URL: \" + conn_";
protected final String TEXT_38 = ".getMetaData().getURL() + \".\");" + NL + "\t\t\t\t\t\t";
protected final String TEXT_39 = NL + "\t\t\t\t\t}" + NL + "\t\t\t\t}" + NL + "\t\t\t";
protected final String TEXT_40 = NL + "\t\t\tconn_";
protected final String TEXT_41 = " = java.sql.DriverManager.getConnection(url_";
protected final String TEXT_42 = ", dbUser_";
protected final String TEXT_43 = ", dbPwd_";
protected final String TEXT_44 = ");" + NL + "\t\t\t";
protected final String TEXT_45 = NL + "\t\t\tconn_";
protected final String TEXT_46 = ".rollback();" + NL + "\t\t\t";
protected final String TEXT_47 = NL + "\t\t\tconn_";
protected final String TEXT_48 = ".commit();" + NL + "\t\t\t";
protected final String TEXT_49 = NL + "\t\t\tconn_";
protected final String TEXT_50 = ".close();" + NL + "\t\t\t";
protected final String TEXT_51 = NL + "\t\t\t\tconn_";
protected final String TEXT_52 = ".setAutoCommit(";
protected final String TEXT_53 = ");" + NL + "\t\t\t";
protected final String TEXT_54 = NL + "\t\t\t\tlog.";
protected final String TEXT_55 = "(\"";
protected final String TEXT_56 = " - \" + ";
protected final String TEXT_57 = ".getMessage());" + NL + "\t\t\t";
protected final String TEXT_58 = NL + "\t \t\tlog.";
protected final String TEXT_59 = "(\"";
protected final String TEXT_60 = "\");" + NL + "\t\t\t";
protected final String TEXT_61 = NL + "\t\t\t\tpstmt_";
protected final String TEXT_62 = ".executeBatch();" + NL + "\t\t\t";
protected final String TEXT_63 = NL + "\t\t\t\tint countSum_";
protected final String TEXT_64 = " = 0;" + NL + "\t\t\t\tfor(int countEach_";
protected final String TEXT_65 = ": pstmt_";
protected final String TEXT_66 = ".executeBatch()) {" + NL + "\t\t\t\t\tcountSum_";
protected final String TEXT_67 = " += (countEach_";
protected final String TEXT_68 = " < 0 ? 0 : ";
protected final String TEXT_69 = ");" + NL + "\t\t\t\t}" + NL + "\t\t\t";
protected final String TEXT_70 = NL + "\tjava.sql.Connection conn_";
protected final String TEXT_71 = " = (java.sql.Connection)globalMap.get(\"";
protected final String TEXT_72 = "\");";
protected final String TEXT_73 = NL + "\t\tif (null == conn_";
protected final String TEXT_74 = ") {" + NL + "\t\t\tjava.util.Map<String, routines.system.TalendDataSource> dataSources_";
protected final String TEXT_75 = " = (java.util.Map<String, routines.system.TalendDataSource>) globalMap.get(KEY_DB_DATASOURCES); " + NL + "\t\t\tif(dataSources_";
protected final String TEXT_76 = "!=null) {" + NL + "\t\t\t\tif(dataSources_";
protected final String TEXT_77 = ".get(";
protected final String TEXT_78 = ")!=null) {" + NL + "\t\t\t\t\tconn_";
protected final String TEXT_79 = " = dataSources_";
protected final String TEXT_80 = ".get(";
protected final String TEXT_81 = ").getConnection();" + NL + "\t\t\t\t}" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t";
protected final String TEXT_82 = NL + "\tif(conn_";
protected final String TEXT_83 = " != null && !conn_";
protected final String TEXT_84 = ".isClosed())" + NL + "\t{" + NL + "\t";
protected final String TEXT_85 = NL + "\t\ttry{" + NL + "\t";
protected final String TEXT_86 = NL + "\t\t\t";
protected final String TEXT_87 = NL + "\t";
protected final String TEXT_88 = NL + "\t\t}finally{" + NL + "\t\t\t";
protected final String TEXT_89 = NL + "\t }" + NL + "\t";
protected final String TEXT_90 = NL + "\t}";
protected final String TEXT_91 = NL;
public String generate(Object argument)
{
final StringBuffer stringBuffer = new StringBuffer();
//this util class use by set log4j debug paramters
class DefaultLog4jFileUtil {
INode node = null;
String cid = null;
boolean isLog4jEnabled = false;
String label = null;
public DefaultLog4jFileUtil(){
}
public DefaultLog4jFileUtil(INode node) {
this.node = node;
this.cid = node.getUniqueName();
this.label = cid;
this.isLog4jEnabled = ("true").equals(org.talend.core.model.process.ElementParameterParser.getValue(node.getProcess(), "__LOG4J_ACTIVATE__"));
}
public void setCid(String cid) {
this.cid = cid;
}
//for all tFileinput* components
public void startRetriveDataInfo() {
if (isLog4jEnabled) {
stringBuffer.append(TEXT_1);
stringBuffer.append(label);
stringBuffer.append(TEXT_2);
}
}
public void retrievedDataNumberInfo() {
if (isLog4jEnabled) {
stringBuffer.append(TEXT_3);
stringBuffer.append(label);
stringBuffer.append(TEXT_4);
stringBuffer.append(cid);
stringBuffer.append(TEXT_5);
}
}
public void retrievedDataNumberInfoFromGlobalMap(INode node) {
if (isLog4jEnabled) {
stringBuffer.append(TEXT_6);
stringBuffer.append(label);
stringBuffer.append(TEXT_7);
stringBuffer.append(cid );
stringBuffer.append(TEXT_8);
}
}
//for all tFileinput* components
public void retrievedDataNumberInfo(INode node) {
if (isLog4jEnabled) {
stringBuffer.append(TEXT_9);
stringBuffer.append(label);
stringBuffer.append(TEXT_10);
stringBuffer.append(cid);
stringBuffer.append(TEXT_11);
}
}
public void writeDataFinishInfo(INode node) {
if(isLog4jEnabled){
stringBuffer.append(TEXT_12);
stringBuffer.append(label);
stringBuffer.append(TEXT_13);
stringBuffer.append(cid );
stringBuffer.append(TEXT_14);
}
}
//TODO delete it and remove all log4jSb parameter from components
public void componentStartInfo(INode node) {
if (isLog4jEnabled) {
stringBuffer.append(TEXT_15);
stringBuffer.append(cid);
stringBuffer.append(TEXT_16);
}
}
//TODO rename or delete it
public void debugRetriveData(INode node,boolean hasIncreased) {
if(isLog4jEnabled){
stringBuffer.append(TEXT_17);
stringBuffer.append(label);
stringBuffer.append(TEXT_18);
stringBuffer.append(cid);
stringBuffer.append(hasIncreased?"":"+1");
stringBuffer.append(TEXT_19);
}
}
//TODO rename or delete it
public void debugRetriveData(INode node) {
debugRetriveData(node,true);
}
//TODO rename or delete it
public void debugWriteData(INode node) {
if(isLog4jEnabled){
stringBuffer.append(TEXT_20);
stringBuffer.append(label);
stringBuffer.append(TEXT_21);
stringBuffer.append(cid );
stringBuffer.append(TEXT_22);
}
}
public void logCurrentRowNumberInfo() {
if(isLog4jEnabled){
stringBuffer.append(TEXT_23);
stringBuffer.append(label);
stringBuffer.append(TEXT_24);
stringBuffer.append(cid );
stringBuffer.append(TEXT_25);
}
}
public void logDataCountInfo() {
if(isLog4jEnabled){
stringBuffer.append(TEXT_26);
stringBuffer.append(label);
stringBuffer.append(TEXT_27);
stringBuffer.append(cid );
stringBuffer.append(TEXT_28);
}
}
}
final DefaultLog4jFileUtil log4jFileUtil = new DefaultLog4jFileUtil((INode)(((org.talend.designer.codegen.config.CodeGeneratorArgument)argument).getArgument()));
class DefaultLog4jCodeGenerateUtil extends DefaultLog4jFileUtil{
String connection = "";
boolean hasInit = false;
String dataAction ;
String dataOperationPrefix;
String useBatchSize;
String batchSize;
String dbSchema;
boolean logCommitCounter = false;
public DefaultLog4jCodeGenerateUtil(){
}
public DefaultLog4jCodeGenerateUtil(INode node) {
super(node);
init();
}
public void beforeComponentProcess(INode node){
this.node = node;
init();
}
private void init() {
if(hasInit){
return;
}
this.cid = node.getUniqueName();
this.isLog4jEnabled = ("true").equals(ElementParameterParser.getValue(node.getProcess(), "__LOG4J_ACTIVATE__"));
String useConn = ElementParameterParser.getValue(node,"__USE_EXISTING_CONNECTION__");
if(useConn == null || "".equals(useConn) || "true".equals(useConn)){
connection = ElementParameterParser.getValue(node,"__CONNECTION__");
if(!"".equals(connection)){
connection = "'" + connection+"' ";
}
}
//for output
dataAction = ElementParameterParser.getValue(node,"__DATA_ACTION__");
if(dataAction != null && !("").equals(dataAction)){
logCommitCounter=true;
}
useBatchSize = ElementParameterParser.getValue(node, "__USE_BATCH_SIZE__");
batchSize =ElementParameterParser.getValue(node, "__BATCH_SIZE__");
hasInit = true;
}
public void debugDriverClassName() {
logInfo(node,"debug",cid+" - Driver ClassName: \"+driverClass_"+cid+"+\".");
}
public void debugConnectionParams(INode node) {
beforeComponentProcess(node);
debugDriverClassName();
}
public void useExistConnection(INode node){
beforeComponentProcess(node);
if(isLog4jEnabled) {
stringBuffer.append(TEXT_29);
stringBuffer.append(cid);
stringBuffer.append(TEXT_30);
stringBuffer.append(cid);
stringBuffer.append(TEXT_31);
if (cid.startsWith("tImpala") || cid.startsWith("tHive")) {
stringBuffer.append(TEXT_32);
stringBuffer.append(cid);
stringBuffer.append(TEXT_33);
stringBuffer.append(connection );
stringBuffer.append(TEXT_34);
} else {
stringBuffer.append(TEXT_35);
stringBuffer.append(cid);
stringBuffer.append(TEXT_36);
stringBuffer.append(cid);
stringBuffer.append(TEXT_37);
stringBuffer.append(cid);
stringBuffer.append(TEXT_38);
}
stringBuffer.append(TEXT_39);
}
}
public void connect(INode node){
beforeComponentProcess(node);
connect();
}
public void connect(){
connect_begin();
stringBuffer.append(TEXT_40);
stringBuffer.append(cid);
stringBuffer.append(TEXT_41);
stringBuffer.append(cid );
stringBuffer.append(TEXT_42);
stringBuffer.append(cid);
stringBuffer.append(TEXT_43);
stringBuffer.append(cid);
stringBuffer.append(TEXT_44);
connect_end();
}
public void connect_begin(){
logInfo(node,"info",cid+" - Connection attempt to '\" + url_"+cid+" + \"' with the username '\" + dbUser_"+cid+" + \"'.");
}
public void connect_begin_noUser(){
logInfo(node,"info",cid+" - Connection attempt to '\" + url_"+cid+" + \"'.");
}
public void connect_end(){
logInfo(node,"info",cid+" - Connection to '\" + url_"+cid+" + \"' has succeeded.");
}
public void rollback(INode node){
beforeComponentProcess(node);
logInfo(node,"debug",cid+" - Connection "+connection+"starting to rollback.");
stringBuffer.append(TEXT_45);
stringBuffer.append(cid);
stringBuffer.append(TEXT_46);
logInfo(node,"debug",cid+" - Connection "+connection+"rollback has succeeded.");
}
public void commit(INode node){
beforeComponentProcess(node);
commit();
}
private void commit(){
commit_begin();
stringBuffer.append(TEXT_47);
stringBuffer.append(cid);
stringBuffer.append(TEXT_48);
commit_end();
}
private void commit_begin(){
if(logCommitCounter){
logInfo(node,"debug",cid+" - Connection "+connection+"starting to commit \" + commitCounter_"+cid+"+ \" records.");
}else{
logInfo(node,"debug",cid+" - Connection "+connection+"starting to commit.");
}
}
private void commit_end(){
logInfo(node,"debug",cid+" - Connection "+connection+"commit has succeeded.");
}
public void close(INode node){
beforeComponentProcess(node);
close();
}
private void close(){
close_begin();
stringBuffer.append(TEXT_49);
stringBuffer.append(cid);
stringBuffer.append(TEXT_50);
close_end();
}
public void close_begin(){
logInfo(node,"info",cid+" - Closing the connection "+connection+"to the database.");
}
public void close_end(){
logInfo(node,"info",cid+" - Connection "+connection+"to the database closed.");
}
public void autoCommit(INode node,boolean autoCommit){
beforeComponentProcess(node);
logInfo(node,"debug",cid+" - Connection is set auto commit to '"+autoCommit+"'.");
stringBuffer.append(TEXT_51);
stringBuffer.append(cid);
stringBuffer.append(TEXT_52);
stringBuffer.append(autoCommit);
stringBuffer.append(TEXT_53);
}
public void query(INode node){
beforeComponentProcess(node);
//for input
String dbquery= ElementParameterParser.getValue(node, "__QUERY__");
dbquery = dbquery.replaceAll("\n"," ");
dbquery = dbquery.replaceAll("\r"," ");
logInfo(node,"info",cid+" - Executing the query: '\" + "+dbquery +" + \"'.");
}
public void retrieveRecordsCount(INode node){
beforeComponentProcess(node);
logInfo(node,"info",cid+" - Retrieved records count: \"+nb_line_"+cid+" + \" .");
}
public void logError(INode node,String logLevel,String exception){
beforeComponentProcess(node);
if(isLog4jEnabled){
stringBuffer.append(TEXT_54);
stringBuffer.append(logLevel);
stringBuffer.append(TEXT_55);
stringBuffer.append(cid);
stringBuffer.append(TEXT_56);
stringBuffer.append(exception);
stringBuffer.append(TEXT_57);
}
}
public void logError(INode node,String logLevel){
logError(node,logLevel,"e");
}
public void logInfo(INode node,String logLevel,String message){
beforeComponentProcess(node);
if(isLog4jEnabled){
stringBuffer.append(TEXT_58);
stringBuffer.append(logLevel);
stringBuffer.append(TEXT_59);
stringBuffer.append(message);
stringBuffer.append(TEXT_60);
}
}
/**
*batchType :
* 1: do not get return value of executeBatch();
* 2: get return value of executeBatch();
*
*/
public void executeBatch(INode node,int batchType){
beforeComponentProcess(node);
boolean logBatch = ("true").equals(useBatchSize) && !("").equals(batchSize) && !("0").equals(batchSize);
if(logBatch){
logInfo(node,"debug",cid+" - Executing the "+dataAction+" batch.");
}
if(batchType==1){
stringBuffer.append(TEXT_61);
stringBuffer.append(cid );
stringBuffer.append(TEXT_62);
}else if(batchType==2){
boolean isMysqlBatchInsert = false;
if ((node.getUniqueName().contains("tMysqlOutput")||node.getUniqueName().contains("tAmazonMysqlOutput")) && ("INSERT").equals(dataAction)) {
isMysqlBatchInsert = true;
}
stringBuffer.append(TEXT_63);
stringBuffer.append(cid);
stringBuffer.append(TEXT_64);
stringBuffer.append(cid);
stringBuffer.append(TEXT_65);
stringBuffer.append(cid );
stringBuffer.append(TEXT_66);
stringBuffer.append(cid);
stringBuffer.append(TEXT_67);
stringBuffer.append(cid);
stringBuffer.append(TEXT_68);
stringBuffer.append(isMysqlBatchInsert? "1" : "countEach_"+cid );
stringBuffer.append(TEXT_69);
}
if(logBatch){
logInfo(node,"debug",cid+" - The "+dataAction+" batch execution has succeeded.");
}
}
}
DefaultLog4jCodeGenerateUtil log4jCodeGenerateUtil = new DefaultLog4jCodeGenerateUtil();
CodeGeneratorArgument codeGenArgument = (CodeGeneratorArgument) argument;
INode node = (INode)codeGenArgument.getArgument();
String cid = node.getUniqueName();
String connection = ElementParameterParser.getValue(node,"__CONNECTION__");
boolean close = ("true").equals(ElementParameterParser.getValue(node,"__CLOSE__"));
String conn = "conn_" + connection;
stringBuffer.append(TEXT_70);
stringBuffer.append(cid);
stringBuffer.append(TEXT_71);
stringBuffer.append(conn);
stringBuffer.append(TEXT_72);
INode connectionNode = NodeUtil.getNodeByUniqueName(node.getProcess(),connection);
boolean specify_alias = "true".equals(ElementParameterParser.getValue(connectionNode, "__SPECIFY_DATASOURCE_ALIAS__"));
if(specify_alias){
String alias = ElementParameterParser.getValue(connectionNode, "__DATASOURCE_ALIAS__");
stringBuffer.append(TEXT_73);
stringBuffer.append(cid);
stringBuffer.append(TEXT_74);
stringBuffer.append(cid);
stringBuffer.append(TEXT_75);
stringBuffer.append(cid);
stringBuffer.append(TEXT_76);
stringBuffer.append(cid);
stringBuffer.append(TEXT_77);
stringBuffer.append((null != alias && !("".equals(alias)))?alias:"\"\"");
stringBuffer.append(TEXT_78);
stringBuffer.append(cid);
stringBuffer.append(TEXT_79);
stringBuffer.append(cid);
stringBuffer.append(TEXT_80);
stringBuffer.append((null != alias && !("".equals(alias)))?alias:"\"\"");
stringBuffer.append(TEXT_81);
}
stringBuffer.append(TEXT_82);
stringBuffer.append(cid);
stringBuffer.append(TEXT_83);
stringBuffer.append(cid);
stringBuffer.append(TEXT_84);
if(close){
stringBuffer.append(TEXT_85);
}
stringBuffer.append(TEXT_86);
log4jCodeGenerateUtil.commit(node);
stringBuffer.append(TEXT_87);
if(close){
stringBuffer.append(TEXT_88);
log4jCodeGenerateUtil.close(node);
stringBuffer.append(TEXT_89);
}
stringBuffer.append(TEXT_90);
stringBuffer.append(TEXT_91);
return stringBuffer.toString();
}
}
| [
"rakesh.ramotra@gmail.com"
] | rakesh.ramotra@gmail.com |
9610a23fc554c977d1e3ed21176da76f12a2f2dc | a432a7dd85979786bfc6c262390523158df3b17d | /src/main/java/com/lrajeew/api/user/UserUGC1API.java | d5fd03834b6abcbdc03e8bb9a1d7e89fb695f4c1 | [] | no_license | lrajeew/apiautomation | 54886b6f6ffa466a6d161f038102b44e8308233d | ec85c1f80975563d5f0749403afa7a5b470b6784 | refs/heads/master | 2020-05-20T08:56:09.395703 | 2014-09-17T06:42:07 | 2014-09-17T06:42:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,769 | java | package com.lrajeew.api.user;
import java.io.IOException;
import javax.ws.rs.core.MediaType;
import org.apache.log4j.Logger;
import com.lrajeew.api.Authenticator;
import com.lrajeew.api.BaseAPI;
import com.lrajeew.api.attendee.AttendeeByEmailAPI;
import com.lrajeew.model.AttendeeRequestVO;
import com.lrajeew.model.AuthenticationResponseVO;
import com.lrajeew.model.AuthenticationVO;
import com.lrajeew.model.Info;
import com.lrajeew.model.ResponseType;
import com.lrajeew.util.ApiConsatants;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.ClientResponse;
import com.sun.jersey.api.client.WebResource;
public class UserUGC1API extends BaseAPI {
private static UserUGC1API apiCall;
private UserUGC1API() {
}
public static UserUGC1API getInstance() {
if (apiCall == null) {
apiCall = new UserUGC1API();
}
return apiCall;
}
private static Logger LOGGER = Logger.getLogger(UserUGC1API.class);
@Info(url="/users/<emailAddress>,<emailAddress>,�?disc=email")
public ClientResponse query(AuthenticationVO authData,
AttendeeRequestVO requestVO, ResponseType responseType)
throws IOException {
AuthenticationResponseVO authResponse = Authenticator
.authenticate(authData);
String apiEndpoint = ApiConsatants.VIVA_API + "/users/lahirua@live.com,sfrancolla@gmail.com?disc=email&"+ "rep="+responseType.getType();
Client client = Client.create();
WebResource webResource = client.resource(apiEndpoint);
ClientResponse response = webResource
.accept(MediaType.APPLICATION_JSON)
.header("Authorization",
authResponse.getTokenType() + " "
+ authResponse.getAccessToken())
.get(ClientResponse.class);
return response;
}
}
| [
"lahiru.ananda@gtnexus.com"
] | lahiru.ananda@gtnexus.com |
d5c602132752b0cbf91e84451ccb004ed305e40a | f08d26535fe34346a94bcaa99039d56b7b28acbf | /app/src/main/java/co/deonna/helloworld/StockUpdateViewHolder.java | 2fb1d3d14a8a699e2e6ad5c9918c0e21eeed73a5 | [] | no_license | deonna/reactive-android | bb30f576d3a4a0929f60a10c1bdcbeaea716cc77 | 70730eaff92edf106e925a5232c2e5a466c94230 | refs/heads/master | 2021-06-21T04:43:24.261129 | 2017-07-21T15:25:50 | 2017-07-21T15:25:50 | 93,806,896 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,178 | java | package co.deonna.helloworld;
import android.support.v7.widget.RecyclerView;
import android.text.format.DateFormat;
import android.view.View;
import android.widget.TextView;
import java.math.BigDecimal;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.Date;
import butterknife.BindView;
import butterknife.ButterKnife;
/**
* Created by deonna on 6/8/17.
*/
public class StockUpdateViewHolder extends RecyclerView.ViewHolder {
private static final NumberFormat PRICE_FORMAT = new DecimalFormat("#0.00");
@BindView(R.id.stock_item_symbol)
TextView stockSymbol;
@BindView(R.id.stock_item_date)
TextView date;
@BindView(R.id.stock_item_price )
TextView price;
public StockUpdateViewHolder(View v) {
super(v);
ButterKnife.bind(this, v);
}
public void setStockSymbol(String stockSymbol) {
this.stockSymbol.setText(stockSymbol);
}
public void setPrice(BigDecimal price) {
this.price.setText(PRICE_FORMAT.format(price.floatValue()));
}
public void setDate(Date date) {
this.date.setText(DateFormat.format("yyyy-MM-dd hh:mm", date));
}
} | [
"dnhodges@gmail.com"
] | dnhodges@gmail.com |
966437ef56c74626d6da9945353ef9cff715ac31 | d35e29b35dcc98f8ac736f79117a21e57024b08f | /demos/substance-demo/src/main/java/org/pushingpixels/demo/substance/main/check/svg/filetypes/ext_sol.java | bb9a23553956597e3cc9085e5344e5d5c5848594 | [
"BSD-3-Clause"
] | permissive | shaneorama/radiance | b810dffb8a353ac9102a52c85f54739a347a1a10 | c14988b53a4c12b511265f3b3b0cc28fb1e1bbe3 | refs/heads/master | 2020-09-02T12:37:24.029021 | 2019-11-02T00:41:38 | 2019-11-02T00:41:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 24,857 | java | package org.pushingpixels.demo.substance.main.check.svg.filetypes;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.lang.ref.WeakReference;
import java.util.Base64;
import javax.imageio.ImageIO;
import javax.swing.plaf.UIResource;
import org.pushingpixels.neon.icon.ResizableIcon;
import org.pushingpixels.neon.icon.ResizableIconUIResource;
/**
* This class has been automatically generated using <a
* href="https://github.com/kirill-grouchnikov/radiance">Photon SVG transcoder</a>.
*/
public class ext_sol implements ResizableIcon {
@SuppressWarnings("unused")
private void innerPaint(Graphics2D g) {
Shape shape = null;
Paint paint = null;
Stroke stroke = null;
Shape clip = null;
float origAlpha = 1.0f;
Composite origComposite = g.getComposite();
if (origComposite instanceof AlphaComposite) {
AlphaComposite origAlphaComposite =
(AlphaComposite)origComposite;
if (origAlphaComposite.getRule() == AlphaComposite.SRC_OVER) {
origAlpha = origAlphaComposite.getAlpha();
}
}
AffineTransform defaultTransform_ = g.getTransform();
//
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0 = g.getTransform();
g.transform(new AffineTransform(0.009999999776482582f, 0.0f, 0.0f, 0.009999999776482582f, 0.13999999687075615f, -0.0f));
// _0
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_0 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_0
shape = new GeneralPath();
((GeneralPath)shape).moveTo(45.0, 1.0);
((GeneralPath)shape).lineTo(72.0, 27.7);
((GeneralPath)shape).lineTo(72.0, 99.0);
((GeneralPath)shape).lineTo(0.0, 99.0);
((GeneralPath)shape).lineTo(0.0, 1.0);
((GeneralPath)shape).lineTo(45.0, 1.0);
((GeneralPath)shape).closePath();
paint = new LinearGradientPaint(new Point2D.Double(36.0, 3.0), new Point2D.Double(36.0, 101.0), new float[] {0.0f,0.139f,0.359f,0.617f,1.0f}, new Color[] {new Color(200, 212, 219, 255),new Color(216, 225, 230, 255),new Color(235, 240, 243, 255),new Color(249, 250, 251, 255),new Color(255, 255, 255, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 102.0f));
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_0);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_1 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_1
shape = new GeneralPath();
((GeneralPath)shape).moveTo(45.0, 1.0);
((GeneralPath)shape).lineTo(72.0, 27.7);
((GeneralPath)shape).lineTo(72.0, 99.0);
((GeneralPath)shape).lineTo(0.0, 99.0);
((GeneralPath)shape).lineTo(0.0, 1.0);
((GeneralPath)shape).lineTo(45.0, 1.0);
((GeneralPath)shape).closePath();
paint = new Color(0, 0, 0, 0);
g.setPaint(paint);
g.fill(shape);
paint = new Color(113, 145, 161, 255);
stroke = new BasicStroke(2.0f,0,0,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(45.0, 1.0);
((GeneralPath)shape).lineTo(72.0, 27.7);
((GeneralPath)shape).lineTo(72.0, 99.0);
((GeneralPath)shape).lineTo(0.0, 99.0);
((GeneralPath)shape).lineTo(0.0, 1.0);
((GeneralPath)shape).lineTo(45.0, 1.0);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_1);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_2 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_2
shape = new GeneralPath();
((GeneralPath)shape).moveTo(45.0, 1.0);
((GeneralPath)shape).lineTo(72.0, 27.7);
((GeneralPath)shape).lineTo(45.0, 27.7);
((GeneralPath)shape).lineTo(45.0, 1.0);
((GeneralPath)shape).closePath();
paint = new LinearGradientPaint(new Point2D.Double(45.0369987487793, 74.18699645996094), new Point2D.Double(58.5369987487793, 87.68699645996094), new float[] {0.0f,0.35f,0.532f,0.675f,0.799f,0.908f,1.0f}, new Color[] {new Color(255, 255, 255, 255),new Color(250, 251, 251, 255),new Color(237, 241, 244, 255),new Color(221, 229, 233, 255),new Color(199, 211, 218, 255),new Color(173, 189, 199, 255),new Color(146, 165, 176, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 102.0f));
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_2);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_3 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_3
shape = new GeneralPath();
((GeneralPath)shape).moveTo(45.0, 1.0);
((GeneralPath)shape).lineTo(72.0, 27.7);
((GeneralPath)shape).lineTo(45.0, 27.7);
((GeneralPath)shape).lineTo(45.0, 1.0);
((GeneralPath)shape).closePath();
paint = new Color(0, 0, 0, 0);
g.setPaint(paint);
g.fill(shape);
paint = new Color(113, 145, 161, 255);
stroke = new BasicStroke(2.0f,0,2,4.0f,null,0.0f);
shape = new GeneralPath();
((GeneralPath)shape).moveTo(45.0, 1.0);
((GeneralPath)shape).lineTo(72.0, 27.7);
((GeneralPath)shape).lineTo(45.0, 27.7);
((GeneralPath)shape).lineTo(45.0, 1.0);
((GeneralPath)shape).closePath();
g.setPaint(paint);
g.setStroke(stroke);
g.draw(shape);
g.setTransform(defaultTransform__0_3);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_4 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_4
shape = new GeneralPath();
((GeneralPath)shape).moveTo(8.9, 85.4);
((GeneralPath)shape).lineTo(12.799999, 85.0);
((GeneralPath)shape).curveTo(12.999999, 86.3, 13.499999, 87.3, 14.199999, 87.9);
((GeneralPath)shape).curveTo(14.899999, 88.5, 15.899999, 88.8, 17.099998, 88.8);
((GeneralPath)shape).curveTo(18.399998, 88.8, 19.399998, 88.5, 19.999998, 88.0);
((GeneralPath)shape).curveTo(20.699999, 87.4, 20.999998, 86.8, 20.999998, 86.1);
((GeneralPath)shape).curveTo(20.999998, 85.6, 20.899998, 85.2, 20.599998, 84.9);
((GeneralPath)shape).curveTo(20.3, 84.6, 19.8, 84.3, 19.099998, 84.0);
((GeneralPath)shape).curveTo(18.599998, 83.8, 17.499998, 83.5, 15.899999, 83.1);
((GeneralPath)shape).curveTo(13.699999, 82.6, 12.199999, 81.9, 11.299999, 81.1);
((GeneralPath)shape).curveTo(10.099999, 80.0, 9.499999, 78.7, 9.499999, 77.1);
((GeneralPath)shape).curveTo(9.499999, 76.1, 9.799999, 75.1, 10.399999, 74.2);
((GeneralPath)shape).curveTo(10.999999, 73.299995, 11.799998, 72.6, 12.899999, 72.2);
((GeneralPath)shape).curveTo(13.999999, 71.7, 15.299999, 71.5, 16.8, 71.5);
((GeneralPath)shape).curveTo(19.3, 71.5, 21.199999, 72.1, 22.5, 73.2);
((GeneralPath)shape).curveTo(23.800001, 74.299995, 24.4, 75.799995, 24.5, 77.6);
((GeneralPath)shape).lineTo(20.5, 77.799995);
((GeneralPath)shape).curveTo(20.3, 76.799995, 20.0, 75.99999, 19.4, 75.6);
((GeneralPath)shape).curveTo(18.8, 75.1, 18.0, 74.9, 16.8, 74.9);
((GeneralPath)shape).curveTo(15.599999, 74.9, 14.699999, 75.1, 13.999999, 75.6);
((GeneralPath)shape).curveTo(13.599999, 75.9, 13.399999, 76.299995, 13.399999, 76.799995);
((GeneralPath)shape).curveTo(13.399999, 77.299995, 13.599998, 77.7, 13.999999, 77.99999);
((GeneralPath)shape).curveTo(14.499999, 78.399994, 15.799999, 78.899994, 17.699999, 79.299995);
((GeneralPath)shape).curveTo(19.599998, 79.7, 21.099998, 80.2, 22.099998, 80.7);
((GeneralPath)shape).curveTo(23.099998, 81.2, 23.8, 81.899994, 24.3, 82.7);
((GeneralPath)shape).curveTo(24.8, 83.5, 25.099998, 84.6, 25.099998, 85.899994);
((GeneralPath)shape).curveTo(25.099998, 86.99999, 24.8, 88.09999, 24.099998, 89.09999);
((GeneralPath)shape).curveTo(23.499998, 90.09999, 22.599998, 90.79999, 21.399998, 91.29999);
((GeneralPath)shape).curveTo(20.199997, 91.79999, 18.799997, 91.999985, 16.999998, 91.999985);
((GeneralPath)shape).curveTo(14.499998, 91.999985, 12.499998, 91.39999, 11.199998, 90.19998);
((GeneralPath)shape).curveTo(9.899998, 89.29998, 9.099998, 87.59998, 8.899998, 85.39998);
((GeneralPath)shape).closePath();
((GeneralPath)shape).moveTo(27.7, 82.0);
((GeneralPath)shape).curveTo(27.7, 80.0, 28.0, 78.2, 28.6, 76.9);
((GeneralPath)shape).curveTo(29.1, 75.9, 29.7, 75.0, 30.5, 74.200005);
((GeneralPath)shape).curveTo(31.3, 73.4, 32.2, 72.8, 33.1, 72.4);
((GeneralPath)shape).curveTo(34.3, 71.9, 35.8, 71.6, 37.399998, 71.6);
((GeneralPath)shape).curveTo(40.399998, 71.6, 42.699997, 72.5, 44.499996, 74.299995);
((GeneralPath)shape).curveTo(46.299995, 76.1, 47.199997, 78.7, 47.199997, 81.899994);
((GeneralPath)shape).curveTo(47.199997, 85.09999, 46.299995, 87.7, 44.6, 89.49999);
((GeneralPath)shape).curveTo(42.8, 91.299995, 40.5, 92.19999, 37.5, 92.19999);
((GeneralPath)shape).curveTo(34.5, 92.19999, 32.1, 91.29999, 30.4, 89.49999);
((GeneralPath)shape).curveTo(28.6, 87.69999, 27.699999, 85.19999, 27.699999, 81.99999);
((GeneralPath)shape).closePath();
((GeneralPath)shape).moveTo(31.900002, 81.8);
((GeneralPath)shape).curveTo(31.900002, 84.100006, 32.4, 85.8, 33.5, 87.0);
((GeneralPath)shape).curveTo(34.5, 88.2, 35.9, 88.8, 37.5, 88.8);
((GeneralPath)shape).curveTo(39.1, 88.8, 40.4, 88.200005, 41.5, 87.100006);
((GeneralPath)shape).curveTo(42.5, 85.90001, 43.1, 84.200005, 43.1, 81.90001);
((GeneralPath)shape).curveTo(43.1, 79.600006, 42.6, 77.90001, 41.6, 76.80001);
((GeneralPath)shape).curveTo(40.6, 75.70001, 39.3, 75.10001, 37.6, 75.10001);
((GeneralPath)shape).curveTo(35.899998, 75.10001, 34.6, 75.70001, 33.6, 76.80001);
((GeneralPath)shape).curveTo(32.399998, 77.80001, 31.899998, 79.50001, 31.899998, 81.80001);
((GeneralPath)shape).closePath();
((GeneralPath)shape).moveTo(50.5, 91.9);
((GeneralPath)shape).lineTo(50.5, 72.0);
((GeneralPath)shape).lineTo(54.5, 72.0);
((GeneralPath)shape).lineTo(54.5, 88.5);
((GeneralPath)shape).lineTo(64.6, 88.5);
((GeneralPath)shape).lineTo(64.6, 91.9);
((GeneralPath)shape).lineTo(50.5, 91.9);
((GeneralPath)shape).closePath();
paint = new Color(76, 108, 123, 255);
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_4);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_5 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_5
shape = new Ellipse2D.Double(24.799999237060547, 34.79999923706055, 22.399999618530273, 22.399999618530273);
paint = new LinearGradientPaint(new Point2D.Double(24.767000198364258, 54.0), new Point2D.Double(47.233001708984375, 54.0), new float[] {0.0f,1.0f}, new Color[] {new Color(173, 204, 220, 255),new Color(76, 108, 123, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 100.0f));
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_5);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_6 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_6
shape = new GeneralPath();
((GeneralPath)shape).moveTo(35.2, 33.4);
((GeneralPath)shape).lineTo(36.8, 33.4);
((GeneralPath)shape).curveTo(37.3, 33.4, 37.7, 33.0, 37.7, 32.5);
((GeneralPath)shape).lineTo(37.7, 26.9);
((GeneralPath)shape).curveTo(37.7, 26.4, 37.3, 26.0, 36.8, 26.0);
((GeneralPath)shape).lineTo(35.2, 26.0);
((GeneralPath)shape).curveTo(34.7, 26.0, 34.3, 26.4, 34.3, 26.9);
((GeneralPath)shape).lineTo(34.3, 32.5);
((GeneralPath)shape).curveTo(34.3, 33.0, 34.7, 33.4, 35.2, 33.4);
((GeneralPath)shape).closePath();
paint = new LinearGradientPaint(new Point2D.Double(34.28799819946289, 70.30000305175781), new Point2D.Double(37.71200180053711, 70.30000305175781), new float[] {0.0f,1.0f}, new Color[] {new Color(173, 204, 220, 255),new Color(76, 108, 123, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 100.0f));
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_6);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_7 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_7
shape = new GeneralPath();
((GeneralPath)shape).moveTo(48.6, 45.2);
((GeneralPath)shape).lineTo(48.6, 46.8);
((GeneralPath)shape).curveTo(48.6, 47.3, 49.0, 47.7, 49.5, 47.7);
((GeneralPath)shape).lineTo(55.1, 47.7);
((GeneralPath)shape).curveTo(55.6, 47.7, 56.0, 47.3, 56.0, 46.8);
((GeneralPath)shape).lineTo(56.0, 45.2);
((GeneralPath)shape).curveTo(56.0, 44.7, 55.6, 44.3, 55.1, 44.3);
((GeneralPath)shape).lineTo(49.5, 44.3);
((GeneralPath)shape).curveTo(49.0, 44.3, 48.6, 44.7, 48.6, 45.2);
((GeneralPath)shape).closePath();
paint = new LinearGradientPaint(new Point2D.Double(48.55699920654297, 54.0), new Point2D.Double(56.0, 54.0), new float[] {0.0f,1.0f}, new Color[] {new Color(173, 204, 220, 255),new Color(76, 108, 123, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 100.0f));
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_7);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_8 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_8
shape = new GeneralPath();
((GeneralPath)shape).moveTo(36.8, 66.0);
((GeneralPath)shape).curveTo(37.3, 66.0, 37.7, 65.6, 37.7, 65.1);
((GeneralPath)shape).lineTo(37.7, 59.5);
((GeneralPath)shape).curveTo(37.7, 59.0, 37.3, 58.6, 36.8, 58.6);
((GeneralPath)shape).lineTo(35.2, 58.6);
((GeneralPath)shape).curveTo(34.7, 58.6, 34.3, 59.0, 34.3, 59.5);
((GeneralPath)shape).lineTo(34.3, 65.1);
((GeneralPath)shape).curveTo(34.3, 65.6, 34.7, 66.0, 35.2, 66.0);
((GeneralPath)shape).lineTo(36.8, 66.0);
((GeneralPath)shape).closePath();
paint = new LinearGradientPaint(new Point2D.Double(34.28799819946289, 37.70000076293945), new Point2D.Double(37.71200180053711, 37.70000076293945), new float[] {0.0f,1.0f}, new Color[] {new Color(173, 204, 220, 255),new Color(76, 108, 123, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 100.0f));
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_8);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_9 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_9
shape = new GeneralPath();
((GeneralPath)shape).moveTo(16.9, 47.7);
((GeneralPath)shape).lineTo(22.5, 47.7);
((GeneralPath)shape).curveTo(23.0, 47.7, 23.4, 47.3, 23.4, 46.8);
((GeneralPath)shape).lineTo(23.4, 45.2);
((GeneralPath)shape).curveTo(23.4, 44.7, 23.0, 44.3, 22.5, 44.3);
((GeneralPath)shape).lineTo(16.9, 44.3);
((GeneralPath)shape).curveTo(16.4, 44.3, 16.0, 44.7, 16.0, 45.2);
((GeneralPath)shape).lineTo(16.0, 46.8);
((GeneralPath)shape).curveTo(16.0, 47.3, 16.4, 47.7, 16.9, 47.7);
((GeneralPath)shape).closePath();
paint = new LinearGradientPaint(new Point2D.Double(16.0, 54.0), new Point2D.Double(23.44300079345703, 54.0), new float[] {0.0f,1.0f}, new Color[] {new Color(173, 204, 220, 255),new Color(76, 108, 123, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 100.0f));
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_9);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_10 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_10
shape = new GeneralPath();
((GeneralPath)shape).moveTo(45.4, 37.7);
((GeneralPath)shape).curveTo(45.800003, 38.100002, 46.300003, 38.100002, 46.7, 37.7);
((GeneralPath)shape).lineTo(50.7, 33.7);
((GeneralPath)shape).curveTo(51.100002, 33.3, 51.100002, 32.8, 50.7, 32.4);
((GeneralPath)shape).lineTo(49.600002, 31.300001);
((GeneralPath)shape).curveTo(49.2, 30.900002, 48.7, 30.900002, 48.300003, 31.300001);
((GeneralPath)shape).lineTo(44.300003, 35.300003);
((GeneralPath)shape).curveTo(43.9, 35.700005, 43.9, 36.200005, 44.300003, 36.600002);
((GeneralPath)shape).lineTo(45.4, 37.7);
((GeneralPath)shape).closePath();
paint = new LinearGradientPaint(new Point2D.Double(44.047000885009766, 65.5), new Point2D.Double(50.974998474121094, 65.5), new float[] {0.0f,1.0f}, new Color[] {new Color(173, 204, 220, 255),new Color(76, 108, 123, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 100.0f));
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_10);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_11 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_11
shape = new GeneralPath();
((GeneralPath)shape).moveTo(49.6, 60.7);
((GeneralPath)shape).lineTo(50.699997, 59.600002);
((GeneralPath)shape).curveTo(51.1, 59.2, 51.1, 58.7, 50.699997, 58.300003);
((GeneralPath)shape).lineTo(46.699997, 54.300003);
((GeneralPath)shape).curveTo(46.299995, 53.9, 45.799995, 53.9, 45.399998, 54.300003);
((GeneralPath)shape).lineTo(44.3, 55.4);
((GeneralPath)shape).curveTo(43.899998, 55.800003, 43.899998, 56.300003, 44.3, 56.7);
((GeneralPath)shape).lineTo(48.3, 60.7);
((GeneralPath)shape).curveTo(48.6, 61.100002, 49.2, 61.100002, 49.6, 60.7);
((GeneralPath)shape).closePath();
paint = new LinearGradientPaint(new Point2D.Double(44.047000885009766, 42.5), new Point2D.Double(50.974998474121094, 42.5), new float[] {0.0f,1.0f}, new Color[] {new Color(173, 204, 220, 255),new Color(76, 108, 123, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 100.0f));
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_11);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_12 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_12
shape = new GeneralPath();
((GeneralPath)shape).moveTo(23.7, 60.7);
((GeneralPath)shape).lineTo(27.7, 56.7);
((GeneralPath)shape).curveTo(28.1, 56.3, 28.1, 55.8, 27.7, 55.4);
((GeneralPath)shape).lineTo(26.6, 54.300003);
((GeneralPath)shape).curveTo(26.2, 53.9, 25.7, 53.9, 25.300001, 54.300003);
((GeneralPath)shape).lineTo(21.300001, 58.300003);
((GeneralPath)shape).curveTo(20.900002, 58.700005, 20.900002, 59.200005, 21.300001, 59.600002);
((GeneralPath)shape).lineTo(22.400002, 60.7);
((GeneralPath)shape).curveTo(22.800001, 61.100002, 23.400002, 61.100002, 23.7, 60.7);
((GeneralPath)shape).closePath();
paint = new LinearGradientPaint(new Point2D.Double(21.024999618530273, 42.5), new Point2D.Double(27.952999114990234, 42.5), new float[] {0.0f,1.0f}, new Color[] {new Color(173, 204, 220, 255),new Color(76, 108, 123, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 100.0f));
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_12);
g.setComposite(AlphaComposite.getInstance(3, 1.0f * origAlpha));
AffineTransform defaultTransform__0_13 = g.getTransform();
g.transform(new AffineTransform(1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f));
// _0_13
shape = new GeneralPath();
((GeneralPath)shape).moveTo(25.3, 37.7);
((GeneralPath)shape).curveTo(25.699999, 38.100002, 26.199999, 38.100002, 26.599998, 37.7);
((GeneralPath)shape).lineTo(27.699999, 36.600002);
((GeneralPath)shape).curveTo(28.099998, 36.2, 28.099998, 35.7, 27.699999, 35.300003);
((GeneralPath)shape).lineTo(23.699999, 31.300003);
((GeneralPath)shape).curveTo(23.3, 30.900003, 22.8, 30.900003, 22.4, 31.300003);
((GeneralPath)shape).lineTo(21.3, 32.4);
((GeneralPath)shape).curveTo(20.9, 32.800003, 20.9, 33.300003, 21.3, 33.7);
((GeneralPath)shape).lineTo(25.3, 37.7);
((GeneralPath)shape).closePath();
paint = new LinearGradientPaint(new Point2D.Double(21.024999618530273, 65.5), new Point2D.Double(27.952999114990234, 65.5), new float[] {0.0f,1.0f}, new Color[] {new Color(173, 204, 220, 255),new Color(76, 108, 123, 255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f, 0.0f, 0.0f, -1.0f, 0.0f, 100.0f));
g.setPaint(paint);
g.fill(shape);
g.setTransform(defaultTransform__0_13);
g.setTransform(defaultTransform__0);
g.setTransform(defaultTransform_);
}
/**
* Returns the X of the bounding box of the original SVG image.
*
* @return The X of the bounding box of the original SVG image.
*/
public static double getOrigX() {
return 0.12999999523162842;
}
/**
* Returns the Y of the bounding box of the original SVG image.
*
* @return The Y of the bounding box of the original SVG image.
*/
public static double getOrigY() {
return 0.0;
}
/**
* Returns the width of the bounding box of the original SVG image.
*
* @return The width of the bounding box of the original SVG image.
*/
public static double getOrigWidth() {
return 0.7400000095367432;
}
/**
* Returns the height of the bounding box of the original SVG image.
*
* @return The height of the bounding box of the original SVG image.
*/
public static double getOrigHeight() {
return 1.0;
}
/** The current width of this resizable icon. */
private int width;
/** The current height of this resizable icon. */
private int height;
/**
* Creates a new transcoded SVG image. This is marked as private to indicate that app
* code should be using the {@link #of(int, int)} method to obtain a pre-configured instance.
*/
private ext_sol() {
this.width = (int) getOrigWidth();
this.height = (int) getOrigHeight();
}
@Override
public int getIconHeight() {
return height;
}
@Override
public int getIconWidth() {
return width;
}
@Override
public void setDimension(Dimension newDimension) {
this.width = newDimension.width;
this.height = newDimension.height;
}
@Override
public void paintIcon(Component c, Graphics g, int x, int y) {
Graphics2D g2d = (Graphics2D) g.create();
g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
RenderingHints.VALUE_INTERPOLATION_BICUBIC);
g2d.translate(x, y);
double coef1 = (double) this.width / getOrigWidth();
double coef2 = (double) this.height / getOrigHeight();
double coef = Math.min(coef1, coef2);
g2d.clipRect(0, 0, this.width, this.height);
g2d.scale(coef, coef);
g2d.translate(-getOrigX(), -getOrigY());
if (coef1 != coef2) {
if (coef1 < coef2) {
int extraDy = (int) ((getOrigWidth() - getOrigHeight()) / 2.0);
g2d.translate(0, extraDy);
} else {
int extraDx = (int) ((getOrigHeight() - getOrigWidth()) / 2.0);
g2d.translate(extraDx, 0);
}
}
Graphics2D g2ForInner = (Graphics2D) g2d.create();
innerPaint(g2ForInner);
g2ForInner.dispose();
g2d.dispose();
}
/**
* Returns a new instance of this icon with specified dimensions.
*
* @param width Required width of the icon
* @param height Required height of the icon
* @return A new instance of this icon with specified dimensions.
*/
public static ResizableIcon of(int width, int height) {
ext_sol base = new ext_sol();
base.width = width;
base.height = height;
return base;
}
/**
* Returns a new {@link UIResource} instance of this icon with specified dimensions.
*
* @param width Required width of the icon
* @param height Required height of the icon
* @return A new {@link UIResource} instance of this icon with specified dimensions.
*/
public static ResizableIconUIResource uiResourceOf(int width, int height) {
ext_sol base = new ext_sol();
base.width = width;
base.height = height;
return new ResizableIconUIResource(base);
}
/**
* Returns a factory that returns instances of this icon on demand.
*
* @return Factory that returns instances of this icon on demand.
*/
public static Factory factory() {
return ext_sol::new;
}
}
| [
"kirill.grouchnikov@gmail.com"
] | kirill.grouchnikov@gmail.com |
ba8406dcc421bc77235153411ad113fe3b0efe2d | 18db917aa9c19153e6e2c1a7e759c01e629baac0 | /src/main/java/exercises/Counter.java | 5bec80d81aaaf718f01ad69f451771750b17767d | [] | no_license | DKramar/Student | 8c17bb1b559d94e5780857d974e6359cc0cd3b43 | 8ddae77d864ef75b335b21a1f420b47896505e04 | refs/heads/master | 2021-11-23T19:06:28.903029 | 2021-10-05T14:40:58 | 2021-10-05T14:40:58 | 218,239,909 | 0 | 0 | null | 2021-10-05T14:47:50 | 2019-10-29T08:35:49 | Java | UTF-8 | Java | false | false | 328 | java | package exercises;
public class Counter {
public static void main(String[] args) throws InterruptedException {
System.out.println("... 0%");
for (int i = 5; i < 101; i +=5) { //
Thread.sleep(1000);
System.out.print("\r..." + i + "%");
}
System.out.println();
}
}
| [
"denis.kramar@nixsolutions.com"
] | denis.kramar@nixsolutions.com |
fdc602c3b15f338c26e498048200c83101d6312f | 592a6a0e863e82386e98519ea21b036613778eb9 | /cloudaliababa-provider-payment9002/src/main/java/com/cl/PaymentMain9002.java | eb6d503ce436d34c60d2cfca31736989089d5efd | [] | no_license | cldbg/springcloudTest | 7c00ffeda14509d2eba1ddb60a84e5562c092d3d | 8205c4724272a468c5e647afc927c897a48e0680 | refs/heads/master | 2023-07-06T12:03:06.245486 | 2021-08-11T09:18:01 | 2021-08-11T09:18:01 | 391,249,332 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 458 | java | package com.cl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
* @author chenglei
* @create 2021-08-09 11:11
*/
@SpringBootApplication
@EnableDiscoveryClient
public class PaymentMain9002 {
public static void main(String[] args) {
SpringApplication.run(PaymentMain9002.class, args);
}
}
| [
"282449144@qq.com"
] | 282449144@qq.com |
2f78122f020bd4515aa43158e6333d7fe815ed77 | 9270b467b4b9033992358e8e740756645ccc2c5a | /dbzhw-shopping-pay/src/main/java/com/dbzhw/manager/PayManager.java | 8dcfffca60cae93d942242849da315958ba8f614 | [] | no_license | 6formyself/dbzhw-shopping | f6948ecc54881a4ccec6dc7feca301321533cdc4 | 840641d09e90674f0723d3654cd0527f93428585 | refs/heads/master | 2022-12-21T11:00:17.916773 | 2019-06-29T01:35:11 | 2019-06-29T01:35:11 | 192,160,672 | 1 | 0 | null | 2022-12-06T00:32:28 | 2019-06-16T07:04:06 | Java | UTF-8 | Java | false | false | 212 | java | package com.dbzhw.manager;
import com.alipay.api.AlipayApiException;
import com.dbzhw.entity.PaymentInfo;
public interface PayManager {
String payInfo(PaymentInfo paymentInfo) throws AlipayApiException;
}
| [
"2248393941@qq.com"
] | 2248393941@qq.com |
10a30e5bc5c3b0a4cfa0207304339f94fcc9a840 | 722851fe4510bfc0201e15d73f8222a78dea08bb | /Recursos/Exemplos/ExemploRMI/RMIClient/Main.java | 18f19437cb77805ab27ad8ef93a2eae97828c95c | [] | no_license | jonas12/SD-LI61D-1112 | 274db61a068bd81c665e001e56aa5346c7c98dda | 88fffd8072e3c7747cf7be451a65c14ae77bfab9 | refs/heads/master | 2021-01-20T09:12:42.199088 | 2012-07-19T07:39:00 | 2012-07-19T07:39:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 929 | java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package rmiclient;
import RMIInterface.RMIInterface;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
/**
*
* @author lassuncao
*/
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
try {
Registry registry = LocateRegistry.getRegistry("localhost");
RMIInterface stub = (RMIInterface) registry.lookup("Hello Server");
System.out.println("ADD(3+2)="+stub.add( new Integer(2), new Integer(3)).intValue());
String response = stub.sayHello("luis");
System.out.println("response: " + response);
} catch (Exception e) {
System.err.println("Client exception: " + e.toString());
e.printStackTrace();
}
}
}
| [
"jnfpires@gmail.com"
] | jnfpires@gmail.com |
bab5b65994f7a922c05f73d6b5ddd542ae2aa9ec | d83bbd9dfaf9a39f5785f8272537779746ce1942 | /financial-api-client/src/main/java/io/swagger/client/ApiCallback.java | 474dc0deccac3b45a0f0d680c814a8e0f7b4f53e | [] | no_license | jeanabraham/ibm-apiconnect-poc | cd860dc43836617359373cfd4eca32a9fbef44bb | 31b0a4e6a4e345275e78142e355fbb8a7e60e0c1 | refs/heads/master | 2021-04-12T11:04:20.643071 | 2017-06-19T18:37:03 | 2017-06-19T18:37:03 | 94,537,765 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,274 | java | /*
* Financial
* At a high-level: - To execute a transfer immediately, use frequency IMMEDIATE and set the transferDate to the current date (today) - To schedule a transfer to execute once at a specific date, use frequency ONCE and set the transferDate to the desired date. Transfer date must be greater than current date and must not exceed a configurable date such as 1 year from the current date. - To schedule a recurring transfer, use frequency other than IMMEDIATE or ONCE and specify one of openEnded flag, transferCount or endDate.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package io.swagger.client;
import java.io.IOException;
import java.util.Map;
import java.util.List;
/**
* Callback for asynchronous API call.
*
* @param <T> The return type
*/
public interface ApiCallback<T> {
/**
* This is called when the API call fails.
*
* @param e The exception causing the failure
* @param statusCode Status code of the response if available, otherwise it would be 0
* @param responseHeaders Headers of the response if available, otherwise it would be null
*/
void onFailure(ApiException e, int statusCode, Map<String, List<String>> responseHeaders);
/**
* This is called when the API call succeeded.
*
* @param result The result deserialized from response
* @param statusCode Status code of the response
* @param responseHeaders Headers of the response
*/
void onSuccess(T result, int statusCode, Map<String, List<String>> responseHeaders);
/**
* This is called when the API upload processing.
*
* @param bytesWritten bytes Written
* @param contentLength content length of request body
* @param done write end
*/
void onUploadProgress(long bytesWritten, long contentLength, boolean done);
/**
* This is called when the API downlond processing.
*
* @param bytesRead bytes Read
* @param contentLength content lenngth of the response
* @param done Read end
*/
void onDownloadProgress(long bytesRead, long contentLength, boolean done);
}
| [
"jean.abraham.is@gmail.com"
] | jean.abraham.is@gmail.com |
af588a7f8970d74457756515ac828269193d71a9 | 67ad37a8be383df36d94c154d8cd09ca5106d5ef | /xaos.tools.module/src/main/java/module-info.java | b325ec4471cfb3d6c8ed2e9e12b7e2449ced21b1 | [
"Apache-2.0"
] | permissive | shroffk/XAOS | 7f901d4e6db3a35832ff4993c0a08e308008db4a | 054d41966702271fdefa130f4102a56f555f3c59 | refs/heads/master | 2020-05-18T17:47:43.123122 | 2018-12-20T12:37:20 | 2018-12-20T12:37:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,116 | java | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
* Copyright (C) 2018 by European Spallation Source ERIC.
*
* 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.
*/
/**
* @author claudio.rosati@esss.se
*/
module xaos.tools {
requires java.compiler;
requires org.apache.commons.collections4;
exports se.europeanspallationsource.xaos.tools.annotation;
exports se.europeanspallationsource.xaos.tools.lang;
uses javax.annotation.processing.Processor;
provides javax.annotation.processing.Processor
with se.europeanspallationsource.xaos.tools.annotation.impl.ServiceProviderProcessor;
}
| [
"Claudio.Rosati@esss.se"
] | Claudio.Rosati@esss.se |
ebb6be9409851139c694d559b6bbac8d23c29dab | f168cf1f22bf7cdfc38ea2c6f955f9cffcd86e47 | /java/RomanCipher.java | b4cddd0dce1e36fbc694c588875a7010687e91b0 | [] | no_license | selmgl/early_work | fabda56137d7544891a39a170dfc75b7d150bc84 | fc0698b20657a301604c7c2d9fdabdee1482258a | refs/heads/master | 2021-01-22T03:39:22.008192 | 2017-06-23T14:41:41 | 2017-06-23T14:41:41 | 92,390,540 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,883 | java | /*
/* Java Programming : Roman Cipher
*/
/** Simple implementation of a roman cipher based on ascii letters */
public class RomanCipher {
protected Boolean debug = true;
protected char[] encoder = new char[26];
// default constructor
public RomanCipher(Boolean debug) {
this.debug = debug;
System.out.println("New instance of cipher created");
}
// the basic cipher method
// roman rotation cipher from character given
public String cipherText(String s, char coder) {
int rotation = coder - 'A';
char[] producedMsg = s.toCharArray();
// fill encoder
for (int i=0; i<26; i++)
encoder[i] = (char) ('A'+(i+rotation)%26);
if (debug) System.out.println("Encoder: "+new String(encoder));
// encode given string
for (int i=0; i < producedMsg.length; i++) {
if (Character.isUpperCase(producedMsg[i])) {
// determine int equivalent of letter to code
int j = producedMsg[i] - 'A'; // always >= 0
if (debug) System.out.println("Letter "+ producedMsg[i] + " replaced by letter "+encoder[j]);
producedMsg[i] = encoder[j]; // encode message
}
}
String output = new String(producedMsg);
return output;
}
// reverse cipher (for validation)
public String decipherText(String s, char coder) {
char revcode = (char) (2*'A'-coder);
if (debug) System.out.println("revcode is: "+revcode);
if (debug) System.out.println("revcode B is: "+ (char) ('A'-1));
return this.cipherText(s,revcode);
}
public static void main(String[] args) {
RomanCipher cipher = new RomanCipher(false);
String toCode = "THIS WILL BE ENCODED WITH ONE LETTER ROTATION";
System.out.println("Original Text: "+ toCode);
String coded = cipher.cipherText(toCode, 'B');
System.out.println("Coded Text: "+ coded);
String decoded = cipher.decipherText(coded, 'B');
System.out.println("Decoded Text: "+ decoded);
}
}
| [
"lussier.guillaume@gmail.com"
] | lussier.guillaume@gmail.com |
cabccb42319bc77ff58506ec07c404170ede19ba | 2183c8e8e53c8e156f060419d800324a68e62724 | /jaxrs-zipkin-sample/src/main/java/net/gitschthaler/services/GreeterService.java | 9aed636febb5d3157dfc712b91b2cccace78c178 | [
"MIT"
] | permissive | wgitscht/jaxrs-zipkin-sample | 8ea2ecb4f2f6e4ddea31b3982807770139e1efbb | 6057961059db1bc48e3339fe8ea360dc4dc127c0 | refs/heads/master | 2020-04-11T19:46:55.743059 | 2018-12-17T21:42:37 | 2018-12-17T21:42:37 | 162,046,673 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 711 | java | package net.gitschthaler.services;
import java.util.logging.Logger;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import net.gitschthaler.model.Greeting;
@Path("/greeter")
public class GreeterService {
private static final Logger logger = Logger.getLogger(GreeterService.class.getName());
@GET
@Path("/")
@Produces(MediaType.APPLICATION_JSON)
public Response doGreet() throws WebApplicationException {
Greeting greeting = new Greeting("hi");
return Response.status(Response.Status.CREATED).entity(greeting).build();
}
}
| [
"werner@gitschthaler.net"
] | werner@gitschthaler.net |
688fa97d2b77428c2a58c4e7c8ca7f6c0fdc7620 | 44b350455a4dd5163de100dac3f90c2cc9768caf | /代码/src/装饰模式/ConcreteComponent.java | b37350d8120b58acb8de359b8947c9ed46bb3295 | [] | no_license | lixinmiao/DesignMode | e6aaa73560959b06a3d85858c60d2622ec25b482 | 58662838967ca60228854f3afbdc30c908f4aac6 | refs/heads/master | 2021-09-01T18:07:01.420103 | 2017-12-28T06:20:30 | 2017-12-28T06:20:30 | 115,388,589 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 167 | java | package 装饰模式;
public class ConcreteComponent implements Component{
@Override
public void sampleOperation() {
// TODO Auto-generated method stub
}
}
| [
"814558375@qq.com"
] | 814558375@qq.com |
bae8f9516a8ca5b5c03b1a6a4ac3cc3d9ca9e9b5 | f5211a4da54461a7cefcf10d71a7e6485de277cf | /app/src/androidTest/java/com/duohuan/billing/ExampleInstrumentedTest.java | 3b582ad9aaf8619c154c54bdaba08c482da4e9d4 | [] | no_license | dufei816/MyApplication2 | badbe732f184c1f0c818fcce19e85549097b58e4 | a219e31ce330d82942406bf475ed43861ea0e6c1 | refs/heads/master | 2020-05-25T03:46:32.326438 | 2019-06-22T10:59:28 | 2019-06-22T10:59:28 | 187,612,109 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 722 | java | package com.duohuan.billing;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.duohuan.billing", appContext.getPackageName());
}
}
| [
"503342279@qq.com"
] | 503342279@qq.com |
a306ef9015eb380a78951c24ac1924cf898a4eb3 | 89abcd2bfcac1aa5b9c974ff70204c58d9ddce5e | /src/server/movement/AranMovement.java | b8f03883c3a1341a0131ae9d1feaa18003701ccb | [] | no_license | dragosos/project-psx | 5fa08474f7a019f27378c2aab1764f1483a5be89 | c6ceb882987835a369e0cd5892bbc0ac7512dfd5 | refs/heads/master | 2020-08-27T03:15:32.849111 | 2013-02-02T18:12:10 | 2013-02-02T18:12:10 | 35,724,374 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 553 | java | package server.movement;
import java.awt.Point;
import tools.data.output.LittleEndianWriter;
/**
*
* @author Someone
*/
public class AranMovement extends AbstractLifeMovement {
public AranMovement(int type, Point position, int duration, int newstate) {
super(type, position, duration, newstate);
}
public int getType(){
return getType();
}
@Override
public void serialize(LittleEndianWriter lew) {
lew.write(getType());
lew.write(getNewstate());
lew.writeShort(getDuration());
}
} | [
"Absolution@live.com@9f5d949e-5bc3-93d2-5d8b-07072dac6022"
] | Absolution@live.com@9f5d949e-5bc3-93d2-5d8b-07072dac6022 |
1600422b29ce68f766b256e9c41f68cf74478957 | 0381a6cd2469114f334ab1e346c67baa97048d59 | /src/observer/CurrentConditionsDisplay.java | 99235f75298030f951773f4c58c8e0091479ade9 | [] | no_license | sjq597/HeadFirst | fdee50e2c6829206d862ac029d48ee6b897dbb5f | 38be0e4a914f11f6401568cb48a9267962a03da8 | refs/heads/master | 2021-01-15T11:40:17.704500 | 2014-11-03T14:00:04 | 2014-11-03T14:00:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,465 | java | /**
* 当前观测值布告板
*/
package observer;
/**
* @author Administrator
*
*/
public class CurrentConditionsDisplay implements Observer, DisplayElemnet {
private float temperature;
private float humidity;
private Subject weatherData;
//构造器需要weatherDatad对象(也就是主题)作为注册用
public CurrentConditionsDisplay(Subject weatherData) {
// TODO Auto-generated constructor stub
//保存Subject的引用,以后可能会想要取消注册,有其引用会比较方便
this.setWeatherData(weatherData);
//注意是调用主题WeatherData把CurrentConditionsDisplay这个观察者注册,
//切忌写成this.weatherData.registerObserver(weatherData)
weatherData.registerObserver(this);
}
/* (non-Javadoc)
* @see observer.DisplayElemnet#display()
*/
@Override
public void display() {
// TODO Auto-generated method stub
System.out.println("Current conditions: " + temperature + "F degrees and " + humidity + "% humidity");
}
/* (non-Javadoc)
* @see observer.Observer#update(float, float, float)
*/
@Override
public void update(float temp, float humidity, float pressure) {
// TODO Auto-generated method stub
//同理,把温度和湿度保存起来,理由同上
this.temperature = temp;
this.humidity = humidity;
display();
}
public void setWeatherData(Subject weatherData) {
this.weatherData = weatherData;
}
public Subject getWeatherData() {
return weatherData;
}
}
| [
"sjq597@gmail.com"
] | sjq597@gmail.com |
d41830c4b30b7e9bb96c20b1ae84b06d002626de | e8333d24b903fdf6a0ff1e18329b4f782e579e13 | /src/main/java/com/accenture/microservices/config/LoggingAspectConfiguration.java | b8f95c90684b3cbb89fbde2e8c0938bba5ab07a6 | [] | no_license | Zomahd/microservices | 315609b60d3455e675fba7b02294d86341a1b6b0 | 40287f628682ec5483152a13de90cb647d22b5f7 | refs/heads/master | 2020-04-24T00:25:25.849354 | 2019-02-19T23:19:02 | 2019-02-19T23:19:02 | 171,562,779 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 516 | java | package com.accenture.microservices.config;
import com.accenture.microservices.aop.logging.LoggingAspect;
import io.github.jhipster.config.JHipsterConstants;
import org.springframework.context.annotation.*;
import org.springframework.core.env.Environment;
@Configuration
@EnableAspectJAutoProxy
public class LoggingAspectConfiguration {
@Bean
@Profile(JHipsterConstants.SPRING_PROFILE_DEVELOPMENT)
public LoggingAspect loggingAspect(Environment env) {
return new LoggingAspect(env);
}
}
| [
"jhipster-bot@jhipster.tech"
] | jhipster-bot@jhipster.tech |
b23b03aa4b31e3841702d25ba141966d0857ded9 | 530efa052facba52f69fcf92140ee53011de67ba | /src/main/java/com/service/impl/WarnRecordServiceImpl.java | 98bcc907f3ac57dfc90569979059193390aece89 | [] | no_license | noknow132/StoreManager_AGV | 544248250407ca105e75dd00c8f4d3a66aea0880 | 7f2ee846df019dd95156be42ce3e2cb23fd1473e | refs/heads/master | 2021-04-06T11:17:55.416421 | 2018-03-14T13:46:07 | 2018-03-26T07:27:41 | 124,820,823 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 573 | java | package com.service.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dao.IWarnRecordDao;
import com.service.IWarnRecordService;
@Service
public class WarnRecordServiceImpl implements IWarnRecordService{
@Autowired
private IWarnRecordDao warnRecordDao;
//查询报警记录
@Override
public List<Map<String,Object>> searchWarnRecord(String type,String no) {
return warnRecordDao.searchWarnRecord(type,no);
}
}
| [
"noknow132@foxmail.com"
] | noknow132@foxmail.com |
7e9ac3f9eaf630f59303a86e0abaa16352d4baba | cf7d4fc2ae407914f29580da62b0592b9c139fab | /SpringBoot_HelloWorld/src/main/java/com/springboot/HelloWorld.java | 1736aee65d102d2d50407d2ffc21fe840d5ccf4c | [] | no_license | lzgblog/SpringBoot | 52ab6f49706c0a967376d9bbb5f5c1f393cbdf62 | 09689099c002f6886b0df285057adc828e339b65 | refs/heads/master | 2020-05-07T08:08:01.017234 | 2019-04-09T07:57:20 | 2019-04-09T07:57:20 | 180,310,748 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 356 | java | package com.springboot;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
public class HelloWorld {
@ResponseBody
@RequestMapping("/hello")
public String hello(){
return "hello springboot";
}
}
| [
"‘1558095899@qq.com’"
] | ‘1558095899@qq.com’ |
4dcd3d500457c48154e057c03be68568a2bf99e8 | 245873c08e60191fea6516fbeb7484151c39e1e8 | /Learning/java/H2TLCS/Chapter1/Hello.java | e3fac11509707d08307491d446b0621ad92f5ae1 | [] | no_license | YX0824/umat-2 | c44676f4eb6cb1693b21625fbaec98e33210a93d | d7c8c00807f978d928a67e57987e8e3718eb04c1 | refs/heads/master | 2022-03-26T17:41:46.142927 | 2012-08-06T14:02:31 | 2012-08-06T14:02:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 319 | java | // This prohram is first of this book.
class Hello {
// main : generate some simple output.
public static void main(String[] args) {
System.out.println("Hello World");
}
}
// format of class definition
// class CLASSNAME {
// public static void main (String[] args) {
// STATEMENTS
// }
//}
// | [
"madhusoodan.shanbhag@gmail.com"
] | madhusoodan.shanbhag@gmail.com |
2575318e2b0c498787430940cb0a3e05c06fa435 | a95f41ba7e9d0543dad13fb2f8e819c833c79a2f | /src/Access_Modifier1/Protected_class.java | 7663c5483511bd96dd2e43df32b03eceb38ceb77 | [] | no_license | selenium-web/java_program | 02b45d6268832313bf742e91f09d7a7cf77a1359 | 4f2dc883c3519c2c5cd26c422e938bdd48a2f242 | refs/heads/master | 2022-12-15T22:15:40.323548 | 2020-08-31T02:46:36 | 2020-08-31T02:46:36 | 291,597,297 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 596 | java | package Access_Modifier1;
import Access_Modifier.Private_class;
public class Protected_class extends Private_class{
public static void main(String[] args) {
Private_class pc=new Private_class(); // protected variables and methods can not be access in child
// class of outside package if we create object of parent class.
pc.country="India";
pc.hide();
// protected variables and methods can be access in child
// class of outside package if we create object of child class.
Protected_class pc4=new Protected_class();
pc4.country="India";
pc4.hide();
}
}
| [
"abhiingole5@gmail.com"
] | abhiingole5@gmail.com |
916a673a67bd472497e6a1a7526c3529d0f01030 | 573e5d108da2c70893d7096ccf31deaa9ebc60df | /sampleframework/src/test/java/Com/stepdef/search_steps.java | 7436b757c13adda2bc0546bcc0764335034f7c2f | [] | no_license | RaginiBoo/SeleniumWorks | b96f2011d7cd0a96016f359241770307fd089100 | a69ef23fb6141ab32eb7316080d8dcad26018477 | refs/heads/master | 2021-02-18T00:58:47.053316 | 2020-03-12T08:53:55 | 2020-03-12T08:53:55 | 245,142,751 | 0 | 0 | null | 2020-10-13T20:06:02 | 2020-03-05T11:16:11 | HTML | UTF-8 | Java | false | false | 600 | java | package Com.stepdef;
import Com.pages.login;
import Com.pages.search;
import cucumber.api.java.en.And;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
public class search_steps {
search sea =new search();
@Given("^the user launched the chrome browser and open carawale$")
public void open()
{
sea.url();
}
@When ("enter the car name")
public void search1()
{
sea.search();
}
@And ("click the search icon it will navigate to next page")
public void enter_name()
{
sea.enter_search_name();
}
}
| [
"BLTuser@BLT1227"
] | BLTuser@BLT1227 |
72e009470b41decd1b3cf2c25de0d9fc9537a4f6 | fa91450deb625cda070e82d5c31770be5ca1dec6 | /Diff-Raw-Data/2/2_9617e5c456fdb8b11e4e2c77892fcf75c30e7b71/MollomClient/2_9617e5c456fdb8b11e4e2c77892fcf75c30e7b71_MollomClient_t.java | 4eea9da03f749e573c468d926f52aba346608e4e | [] | 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 | 24,949 | java | package com.mollom.client;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.ClientHandlerException;
import com.sun.jersey.api.client.ClientResponse;
import com.sun.jersey.api.client.WebResource;
import com.sun.jersey.core.util.MultivaluedMapImpl;
import java.io.IOException;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.MultivaluedMap;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
/**
* Primary interaction point with all of the Mollom services.
*/
public class MollomClient {
private final static Logger logger = Logger.getLogger("com.mollom.client.MollomClient");
private final Client client;
private final int retries;
private final Unmarshaller unmarshaller;
private final DocumentBuilder documentBuilder;
private final WebResource contentResource;
private final WebResource captchaResource;
private final WebResource feedbackResource;
private final WebResource blacklistResource;
private final WebResource whitelistResource;
/**
* Constructs a new MollomClient instance.
*
* MollomClient instances are expensive resources. It is recommended to share
* a single MollomClient instance between multiple threads. Requests and
* responses are guaranteed to be thread-safe.
*/
MollomClient(Client client, WebResource contentResource, WebResource captchaResource,
WebResource feedbackResource, WebResource blacklistResource,
WebResource whitelistResource, int retries) {
this.client = client;
this.contentResource = contentResource;
this.captchaResource = captchaResource;
this.feedbackResource = feedbackResource;
this.blacklistResource = blacklistResource;
this.whitelistResource = whitelistResource;
this.retries = retries;
try {
JAXBContext jaxbContext = JAXBContext.newInstance(Content.class, Captcha.class, BlacklistEntry.class, WhitelistEntry.class);
this.unmarshaller = jaxbContext.createUnmarshaller();
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
this.documentBuilder = documentBuilderFactory.newDocumentBuilder();
} catch (JAXBException | ParserConfigurationException e) {
throw new MollomConfigurationException("Failed to initialize MollomClient.", e);
}
}
/**
* Checks content.
*
* Injects the Mollom classification scores into the given Content object.
*/
public void checkContent(Content content)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
MultivaluedMap<String, String> postParams = new MultivaluedMapImpl();
if (content.getAuthorIp() != null) {
postParams.putSingle("authorIp", content.getAuthorIp());
}
if (content.getAuthorId() != null) {
postParams.putSingle("authorId", content.getAuthorId());
}
if (content.getAuthorOpenIds() != null) {
// Exception: authorOpenID is the only API parameter that accepts multiple
// values as a space-separated list.
String openIds = "";
for (String authorOpenId : content.getAuthorOpenIds()) {
openIds += authorOpenId += " ";
}
postParams.putSingle("authorOpenid", openIds);
}
if (content.getAuthorName() != null) {
postParams.putSingle("authorName", content.getAuthorName());
}
if (content.getAuthorMail() != null) {
postParams.putSingle("authorMail", content.getAuthorMail());
}
if (content.getAuthorUrl() != null) {
postParams.putSingle("authorUrl", content.getAuthorUrl());
}
if (content.getHoneypot() != null) {
postParams.putSingle("honeypot", content.getHoneypot());
}
if (content.getPostTitle() != null) {
postParams.putSingle("postTitle", content.getPostTitle());
}
if (content.getPostBody() != null) {
postParams.putSingle("postBody", content.getPostBody());
}
if (content.getContextUrl() != null) {
postParams.putSingle("contextUrl", content.getContextUrl());
}
if (content.getContextTitle() != null) {
postParams.putSingle("contextTitle", content.getContextTitle());
}
if (content.getChecks() != null) {
List<String> checks = new ArrayList<>();
for (Check check : content.getChecks()) {
checks.add(check.toString());
}
postParams.put("checks", checks);
}
List<Check> requestedChecks = Arrays.asList(content.getChecks());
if (requestedChecks.contains(Check.SPAM)) {
if (!content.isAllowUnsure()) {
postParams.putSingle("unsure", "0");
}
if (content.getStrictness() != Strictness.NORMAL) {
postParams.putSingle("strictness", content.getStrictness().toString());
}
}
// Only send the stored parameter after the content was stored.
// @see Content.setStored()
if (content.getStored() != -1) {
postParams.putSingle("stored", Integer.toString(content.getStored()));
}
if (content.getUrl() != null) {
postParams.putSingle("url", content.getUrl());
}
// If the Content has an ID already (subsequent post after e.g. previewing
// the content or asking the user to solve a CAPTCHA), re-check the content.
ClientResponse response;
if (content.getId() == null) { // Check new content
response = request("POST", contentResource, postParams);
} else { // Recheck existing content
response = request("POST", contentResource.path(content.getId()), postParams);
}
// Parse the response into a new Content object.
Content returnedContent = parseBody(response.getEntity(String.class), "content", Content.class);
// Merge classification results into the original Content object.
content.setId(returnedContent.getId());
content.setReason(returnedContent.getReason());
if (requestedChecks.contains(Check.SPAM)) {
content.setSpamClassification(returnedContent.getSpamClassification());
content.setSpamScore(returnedContent.getSpamScore());
}
if (requestedChecks.contains(Check.QUALITY)) {
content.setQualityScore(returnedContent.getQualityScore());
}
if (requestedChecks.contains(Check.PROFANITY)) {
content.setProfanityScore(returnedContent.getProfanityScore());
}
if (requestedChecks.contains(Check.LANGUAGE)) {
content.setLanguages(returnedContent.getLanguages());
}
}
/**
* Creates a new CAPTCHA resource.
*
* Use this to create a standalone CAPTCHA that is not associated with a
* content.
*
* @return The created Captcha object, or null on failure.
*/
public Captcha createCaptcha(CaptchaType captchaType, boolean ssl)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
return createCaptcha(captchaType, ssl, null);
}
/**
* Creates a new CAPTCHA resource linked to an unsure content.
*
* The passed in Content object must have been classified as unsure. The newly
* created CAPTCHA is associated with that content.
*
* @return The created Captcha object, or null on failure.
*/
public Captcha createCaptcha(CaptchaType captchaType, boolean ssl, Content content)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
MultivaluedMap<String, String> postParams = new MultivaluedMapImpl();
postParams.putSingle("type", captchaType.toString());
postParams.putSingle("ssl", ssl ? "1" : "0");
if (content != null && content.getId() != null) {
postParams.putSingle("contentId", content.getId());
}
ClientResponse response = request("POST", captchaResource, postParams);
return parseBody(response.getEntity(String.class), "captcha", Captcha.class);
}
/**
* Checks a CAPTCHA solution.
*
* Injects the Mollom check results into the given Captcha object.
*/
public void checkCaptcha(Captcha captcha)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
MultivaluedMap<String, String> postParams = new MultivaluedMapImpl();
if (captcha.getSolution() == null) {
throw new MollomIllegalUsageException("Cannot check a CAPTCHA without a solution.");
}
postParams.putSingle("solution", captcha.getSolution());
if (captcha.getAuthorIp() != null) {
postParams.putSingle("authorIp", captcha.getAuthorIp());
}
if (captcha.getAuthorId() != null) {
postParams.putSingle("authorId", captcha.getAuthorId());
}
if (captcha.getAuthorOpenIds() != null) {
// Exception: authorOpenID is the only API parameter that accepts multiple
// values as a space-separated list.
String openIds = "";
for (String authorOpenId : captcha.getAuthorOpenIds()) {
openIds += authorOpenId += " ";
}
postParams.putSingle("authorOpenid", openIds);
}
if (captcha.getAuthorName() != null) {
postParams.putSingle("authorName", captcha.getAuthorName());
}
if (captcha.getAuthorMail() != null) {
postParams.putSingle("authorMail", captcha.getAuthorMail());
}
if (captcha.getAuthorUrl() != null) {
postParams.putSingle("authorUrl", captcha.getAuthorUrl());
}
if (captcha.getRateLimit() > -1) {
postParams.putSingle("rateLimit", Integer.toString(captcha.getRateLimit()));
}
ClientResponse response = request("POST", captchaResource.path(captcha.getId()), postParams);
Captcha returnedCaptcha = parseBody(response.getEntity(String.class), "captcha", Captcha.class);
captcha.setSolved(returnedCaptcha.isSolved() ? 1 : 0);
captcha.setReason(returnedCaptcha.getReason());
}
/**
* Sends feedback for a previously checked content.
*/
public void sendFeedback(Content content, FeedbackReason reason)
throws MollomIllegalUsageException, MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
sendFeedback(content, null, reason);
}
/**
* Sends feedback for a previously checked CAPTCHA.
*
* Only used for standalone CAPTCHAs. For CAPTCHAs pertaining to content that
* was classified as unsure, it is sufficient to send feedback for the content
* only.
*/
public void sendFeedback(Captcha captcha, FeedbackReason reason)
throws MollomIllegalUsageException, MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
sendFeedback(null, captcha, reason);
}
private void sendFeedback(Content content, Captcha captcha, FeedbackReason reason)
throws MollomIllegalUsageException, MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
if (content.getId() == null && captcha.getId() == null) {
throw new MollomIllegalUsageException("Cannot send feedback without a Content or Captcha ID.");
}
if (reason == null) {
throw new MollomIllegalUsageException("Cannot send feedback without a reason.");
}
MultivaluedMap<String, String> postParams = new MultivaluedMapImpl();
if (content != null) {
postParams.putSingle("contentId", content.getId());
}
if (captcha != null) {
postParams.putSingle("captchaId", captcha.getId());
}
postParams.putSingle("reason", reason.toString());
request("POST", feedbackResource, postParams);
}
/**
* Notify Mollom that the content has been stored on the client-side.
*
* @see MollomClient#markAsStored(Content, String, String, String)
*/
public void markAsStored(Content content)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
markAsStored(content, null, null, null);
}
/**
* Notify Mollom that the content has been stored on the client-side.
*/
public void markAsStored(Content content, String url, String contextUrl, String contextTitle)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
content.setChecks(); // Don't re-check anything
content.setStored(true);
// The final/resulting URL of a new content is typically known after
// accepting and storing a content only; supply it to Mollom.
if (url != null) {
content.setUrl(url);
}
// The context of a content is known before accepting and storing a content
// already and should thus be supplied with the regular checkContent() calls
// already.
if (contextUrl != null) {
content.setContextUrl(contextUrl);
}
if (contextTitle != null) {
content.setContextTitle(contextTitle);
}
checkContent(content);
}
/**
* Notify Mollom that the content has been deleted on the client-side.
*/
public void markAsDeleted(Content content)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
content.setChecks(); // Don't re-check anything
content.setStored(false);
// TODO: Ideally send the stored parameter only.
checkContent(content);
}
/**
* Saves a blacklist entry.
*
* If the entry already exists, update it with the new properties.
*/
public void saveBlacklistEntry(BlacklistEntry blacklistEntry)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
MultivaluedMap<String, String> postParams = new MultivaluedMapImpl();
if (blacklistEntry.getValue() == null) {
throw new MollomIllegalUsageException("Blacklist entries must have a value in order to be saved.");
}
postParams.putSingle("value", blacklistEntry.getValue());
postParams.putSingle("reason", blacklistEntry.getReason().toString());
postParams.putSingle("context", blacklistEntry.getContext().toString());
postParams.putSingle("match", blacklistEntry.getMatch().toString());
postParams.putSingle("status", blacklistEntry.isEnabled() ? "1" : "0");
if (blacklistEntry.getNote() != null) {
postParams.putSingle("note", blacklistEntry.getNote());
}
ClientResponse response;
if (blacklistEntry.getId() != null) { // Update existing entry
response = request("POST", blacklistResource.path(blacklistEntry.getId()), postParams);
} else { // Create new entry
response = request("POST", blacklistResource, postParams);
}
BlacklistEntry returnedBlacklistEntry = parseBody(response.getEntity(String.class), "entry", BlacklistEntry.class);
blacklistEntry.setId(returnedBlacklistEntry.getId());
blacklistEntry.setCreated(returnedBlacklistEntry.getCreated());
blacklistEntry.setStatus(returnedBlacklistEntry.isEnabled() ? 1 : 0);
// The stored value is not necessarily the given value; at minimum,
// converted to lowercase.
blacklistEntry.setValue(returnedBlacklistEntry.getValue());
}
/**
* Deletes a blacklist entry.
*/
public void deleteBlacklistEntry(BlacklistEntry blacklistEntry)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
request("POST", blacklistResource.path(blacklistEntry.getId()).path("delete"), new MultivaluedMapImpl());
}
/**
* Lists all blacklist entries for this public key.
*
* @return A list of all blacklist entries.
*/
public List<BlacklistEntry> listBlacklistEntries()
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
ClientResponse response = request("GET", blacklistResource);
return parseList(response.getEntity(String.class), "entry", BlacklistEntry.class);
}
/**
* Retrieves a blacklist entry with a given ID.
*
* @return The blacklist entry or null if not found.
*/
public BlacklistEntry getBlacklistEntry(String blacklistEntryId)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
ClientResponse response = request("GET", blacklistResource.path(blacklistEntryId));
return parseBody(response.getEntity(String.class), "entry", BlacklistEntry.class);
}
/**
* Saves a whitelist entry.
*
* If the entry already exists, update it with the new properties.
*/
public void saveWhitelistEntry(WhitelistEntry whitelistEntry)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
if (whitelistEntry.getContext() == Context.ALLFIELDS
|| whitelistEntry.getContext() == Context.LINKS
|| whitelistEntry.getContext() == Context.POSTTITLE) {
throw new MollomConfigurationException("Given context not supported for WhitelistEntry.");
}
MultivaluedMap<String, String> postParams = new MultivaluedMapImpl();
if (whitelistEntry.getValue() == null) {
throw new MollomIllegalUsageException("Whitelist entries must have a value to be saved.");
}
postParams.putSingle("value", whitelistEntry.getValue());
postParams.putSingle("context", whitelistEntry.getContext().toString());
postParams.putSingle("status", whitelistEntry.isEnabled() ? "1" : "0");
if (whitelistEntry.getNote() != null) {
postParams.putSingle("note", whitelistEntry.getNote());
}
ClientResponse response;
if (whitelistEntry.getId() != null) { // Update existing entry
response = request("POST", whitelistResource.path(whitelistEntry.getId()), postParams);
} else { // Create new entry
response = request("POST", whitelistResource, postParams);
}
WhitelistEntry returnedWhitelistEntry = parseBody(response.getEntity(String.class), "entry", WhitelistEntry.class);
whitelistEntry.setId(returnedWhitelistEntry.getId());
whitelistEntry.setCreated(returnedWhitelistEntry.getCreated());
whitelistEntry.setStatus(returnedWhitelistEntry.isEnabled() ? 1 : 0);
// The stored value is not necessarily the given value; at minimum,
// converted to lowercase.
whitelistEntry.setValue(returnedWhitelistEntry.getValue());
}
/**
* Deletes a whitelist entry.
*/
public void deleteWhitelistEntry(WhitelistEntry whitelistEntry)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
request("POST", whitelistResource.path(whitelistEntry.getId()).path("delete"), new MultivaluedMapImpl());
}
/**
* Lists all whitelist entries for this public key.
*
* @return A list of all whitelist entries.
*/
public List<WhitelistEntry> listWhitelistEntries()
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
ClientResponse response = request("GET", whitelistResource);
return parseList(response.getEntity(String.class), "entry", WhitelistEntry.class);
}
/**
* Retrieves a whitelist entry with a given ID.
*
* @return The whitelist entry or null if not found.
*/
public WhitelistEntry getWhitelistEntry(String whitelistEntryId)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
ClientResponse response = request("GET", whitelistResource.path(whitelistEntryId));
return parseBody(response.getEntity(String.class), "entry", WhitelistEntry.class);
}
/**
* Destroys the MollomClient object.
*
* Not doing this can cause connection leaks.
*
* The MollomClient instance must not be reused after this method is called;
* otherwise, undefined behavior will occur.
*/
public void destroy() {
client.destroy();
}
private ClientResponse request(String method, WebResource resource)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
return request(method, resource, null);
}
private ClientResponse request(String method, WebResource resource, MultivaluedMap<String, String> params)
throws MollomRequestException, MollomUnexpectedResponseException, MollomNoResponseException {
for (int retryAttemptNumber = 0; retryAttemptNumber <= retries; retryAttemptNumber++) {
try {
ClientResponse response;
if (params != null) {
response = resource
.accept(MediaType.APPLICATION_XML)
.type(MediaType.APPLICATION_FORM_URLENCODED)
.method(method, ClientResponse.class, params);
} else {
response = resource
.accept(MediaType.APPLICATION_XML)
.type(MediaType.APPLICATION_FORM_URLENCODED)
.method(method, ClientResponse.class);
}
if (response.getStatus() >= 400 && response.getStatus() < 500) {
throw new MollomRequestException(response.getEntity(String.class));
} else if (response.getStatus() < 200 || response.getStatus() >= 300) {
throw new MollomUnexpectedResponseException(response.getEntity(String.class));
}
return response;
} catch (ClientHandlerException e) {
logger.log(Level.WARNING, "Failed to contact Mollom service.", e);
}
}
throw new MollomNoResponseException("Failed to contact Mollom service after retries.");
}
/**
* Parses an object out of a response body.
*
* Expects XML in the format of:
* <response>
* <code>200</code>
* <bodyTag>...</bodyTag>
* </response>
*
* @return JAXB unmarshalled expectedType object from the response.
*
* @throws MollomUnexpectedResponseException
* Unable to parse the response from the Mollom server. Usually this means
* there is a version mismatch between the client library and the Mollom API.
*/
private <T> T parseBody(String xml, String bodyTag, Class<T> expectedType) throws MollomUnexpectedResponseException {
try {
// We have to parse the XML into a Document before passing it to JAXB to
// get the body, because the Mollom service response returns the object
// wrapped in a <Response> object.
Document document = documentBuilder.parse(new InputSource(new StringReader(xml)));
Node bodyNode = document.getElementsByTagName(bodyTag).item(0);
return unmarshaller.unmarshal(bodyNode, expectedType).getValue();
} catch (SAXException | IOException | JAXBException e) {
throw new MollomUnexpectedResponseException("Issue parsing response from Mollom server.", e);
}
}
/**
* Parses a list of objects out of a response body.
*
* Expects XML in the format of:
* <response>
* <code>200</code>
* <list>
* <bodyTag>...</bodyTag>
* ...
* </list>
* </response>
*
* @return List of JAXB unmarshalled expectedType objects from the response.
*
* @throws MollomUnexpectedResponseException
* Unable to parse the response from the Mollom server. Usually this means
* there is a version mismatch between the client library and the Mollom API.
*
* @todo Support the listCount, listOffset, listTotal response parameters
* (required for implementing client-side pagination of e.g. blacklist entries);
* cf. http://mollom.com/api#response-list
*/
private <T> List<T> parseList(String xml, String bodyTag, Class<T> expectedType) throws MollomUnexpectedResponseException {
try {
// We have to parse the XML into a Document before passing it to JAXB to
// get the body, because the Mollom service response returns the object
// wrapped in a <Response> object.
Document document = documentBuilder.parse(new InputSource(new StringReader(xml)));
List<T> list = new ArrayList<>();
NodeList bodyNodes = document.getElementsByTagName(bodyTag);
for (int i = 0; i < bodyNodes.getLength(); i++) {
Node bodyNode = bodyNodes.item(i);
list.add(unmarshaller.unmarshal(bodyNode, expectedType).getValue());
}
return list;
} catch (SAXException | IOException | JAXBException e) {
throw new MollomUnexpectedResponseException("Issue parsing response from Mollom server.", e);
}
}
}
| [
"yuzhongxing88@gmail.com"
] | yuzhongxing88@gmail.com |
f2235cf6c87b882ad686cee5d3d033f01dc7af0d | 736db566642fd26ea2b325526628e31209150fd7 | /src/main/java/com/ryl/crud/controller/TransactionController.java | c0963aa80fc37f61b8c7ebd46d8810c52b7572e0 | [] | no_license | RenYongliang/ssm-crud | aa1bd39d529504a1b113f43c5d49523e69b6df9f | b2982412b86c39327048bd109a3050af4035404d | refs/heads/master | 2020-04-13T22:55:14.664478 | 2019-01-07T04:55:52 | 2019-01-07T04:55:52 | 163,489,872 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 695 | java | package com.ryl.crud.controller;
import com.ryl.crud.service.ITransactionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
@RequestMapping("/account")
public class TransactionController {
@Autowired
ITransactionService iTransactionService;
@RequestMapping("/business")
@ResponseBody
public String business(){
if(iTransactionService.business()){
return "操作成功";
}
return "操作失败";
}
}
| [
"1017632646@qq.com"
] | 1017632646@qq.com |
3c5f03a1d038cbc15eb743f222a984661a648360 | 3421875cad87894b7613d3322acec5a4cc13d46a | /IDeseve/Tree/remove-all-nodes-which-lie-on-path-having-sum-less-than-k.java | f695b15cb8a0919a8c9805d3383972b2209649d6 | [] | no_license | ashish3x3/competitive-programming-python | 2cd21a0552c03c35d4338bb674bf2bc5d711298b | 6ddb05569065491006607d892001c317b1b644b1 | refs/heads/master | 2021-09-07T23:30:27.849279 | 2018-03-03T03:52:20 | 2018-03-03T03:52:20 | 80,297,913 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,622 | java |
http://www.ideserve.co.in/learn/remove-all-nodes-which-lie-on-path-having-sum-less-than-k
It is recommended to go through Post-order Traversal of a binary tree first because deleting nodes of a binary tree is done in bottom-up manner by first deleting children and then parent.
While traversing down we pass sum as a parameter which is the sum of all the nodes on the current path including the current node.
Recursively traverse left and right subtrees passing the sum.
Once we reach a leaf node, we check if its path sum is less than k. If it is, then return null.
While backtracking from recursive steps, find maximum of left and right path sum. If the maximum sum becomes less than k, then we delete the current node by setting it to null.
Please note that by the time we come to delete a node, its children would have already been deleted and hence the current node which we will be deleting will be a leaf node.
public void deleteKLessPath(int k) {
int sum[] = new int[1];
deleteKLessPath(this.root, sum, k);
if (sum[0] < k)
root = null;
}
public Node deleteKLessPath(Node node, int[] sum, int k) {
if (node == null)
return null;
int[] ls = new int[1];
int[] rs = new int[1];
ls[0] = rs[0] = sum[0] + node.data;
node.left = deleteKLessPath(node.left, ls, k);
node.right = deleteKLessPath(node.right, rs, k);
sum[0] = ls[0] > rs[0] ? ls[0] : rs[0];
if (sum[0] < k) {
node = null;
}
return node;
}
Time Complexity is O(n)
Space Complexity is O(1) | [
"aks133844@gmail.com"
] | aks133844@gmail.com |
3f0e5e99e04dc5b467548355e5c313eb778b0289 | c6b4e207fea0ecdb289ad9ec2d49fbae5c575360 | /src/main/java/com/pfly/rest/security/EntryPointUnauthorizedHandler.java | 737f47577f2e28aef61c841b51f3c91c1739d03c | [] | no_license | martin-ivanov/pFly-backend | a6b888547647f5602c34a229d48fb56e7723d8a1 | 099c45be3e68abffb4e273c472978efc7af1d2cc | refs/heads/master | 2021-01-20T18:02:21.358087 | 2016-10-09T08:17:12 | 2016-10-09T08:19:46 | 60,379,704 | 0 | 2 | null | null | null | null | UTF-8 | Java | false | false | 747 | java | package com.pfly.rest.security;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.AuthenticationEntryPoint;
import org.springframework.stereotype.Component;
@Component
public class EntryPointUnauthorizedHandler implements AuthenticationEntryPoint {
@Override
public void commence(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, AuthenticationException e) throws IOException, ServletException {
httpServletResponse.sendError(HttpServletResponse.SC_UNAUTHORIZED, "Access Denied");
}
}
| [
"ivanov9237@gmail.com"
] | ivanov9237@gmail.com |
d8aa80df423d69176e95c702544f227546fa756d | 5b303da11f72c6acc2c946c9f2b248643e753004 | /src/hackerRankproblems/Statistics/InterquartileRange.java | 9fa34e08adf6411c889bf6c62919a6aec174a08a | [] | no_license | MauriPastorini/my-competitive-programming-repo | 4687ceaa1fb6b44b49bd1a449e7c33f14915bef6 | a851c29eeef03e6d22289acfb75fc4107271d841 | refs/heads/master | 2020-03-18T20:28:32.374744 | 2018-06-01T18:51:45 | 2018-06-01T18:51:45 | 135,218,302 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,552 | java | package hackerRankproblems.Statistics;
import java.util.Arrays;
import java.util.Scanner;
public class InterquartileRange {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int N = in.nextInt();
int nAux = N;
int[] numsAux = new int[N];
int[] frequencies = new int[N];
for (int i = 0; i < N; i++) {
numsAux[i] = in.nextInt();
}
int totalArraySpace = 0;
for (int i = 0; i < N; i++) {
frequencies[i] = in.nextInt();
totalArraySpace += frequencies[i];
}
int[] nums = new int[totalArraySpace];
int pos = 0;
for (int i = 0; i < numsAux.length; i++) {
for (int j = 0; j < frequencies[i]; j++) {
nums[pos++] = numsAux[i];
}
}
Arrays.sort(nums,0,nums.length);
double q1 = calculateMedian(0, nums.length / 2 - 1, nums);
double q3;
if (nums.length % 2 == 0) {
q3 = calculateMedian(nums.length / 2, nums.length - 1, nums);
} else {
q3 = calculateMedian(nums.length / 2 + 1, nums.length - 1, nums);
}
System.out.println(Math.round((q3 - q1) * 10) / 10.0);
}
private static double calculateMedian(int start, int end, int[] nums) {
int size = end - start + 1;
int mid = start + size / 2;
if (size % 2 == 0) {
return (nums[mid] + nums[mid - 1]) / 2.0;
} else {
return nums[mid];
}
}
}
| [
"mauri295@gmail.com"
] | mauri295@gmail.com |
6842aa5b758ff1f5ae5273ec9053cd283548dbff | dd66f580d332e4fbfc69f9c828c5dab7ddaa8d63 | /demos/substance-samples/src/main/java/org/pushingpixels/samples/substance/cookbook/ScaledResizableIcon.java | 0f7dab7fe18117c5c60065d66ddc87facd87ee30 | [
"BSD-3-Clause"
] | permissive | spslinger/radiance | 44f06d939afc3e27c0d4997b2fd89a27aff39fdf | 7cf51ee22014df1368c04f5f9f6ecbea93695231 | refs/heads/master | 2020-03-31T18:00:48.170702 | 2018-10-11T12:49:29 | 2018-10-11T12:49:29 | 152,442,895 | 0 | 0 | BSD-3-Clause | 2018-10-11T12:49:31 | 2018-10-10T15:04:46 | Java | UTF-8 | Java | false | false | 2,870 | java | /*
* Copyright (c) 2005-2018 Substance Kirill Grouchnikov. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* o Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* o Neither the name of Substance Kirill Grouchnikov nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.pushingpixels.samples.substance.cookbook;
import org.pushingpixels.neon.icon.ResizableIcon;
import java.awt.*;
/**
* Custom implementation of resizable icon that allows scaling down another
* resizable icon during the painting.
*
* @author Kirill Grouchnikov
*/
public class ScaledResizableIcon implements ResizableIcon {
private ResizableIcon delegate;
private double scaleFactor;
public ScaledResizableIcon(ResizableIcon delegate, double scaleFactor) {
this.delegate = delegate;
this.scaleFactor = scaleFactor;
}
public int getIconHeight() {
return delegate.getIconHeight();
}
public int getIconWidth() {
return delegate.getIconWidth();
}
public void paintIcon(Component c, Graphics g, int x, int y) {
Graphics2D g2d = (Graphics2D) g.create();
double dx = this.getIconWidth() * (1.0 - this.scaleFactor) / 2;
double dy = this.getIconHeight() * (1.0 - this.scaleFactor) / 2;
g2d.translate((int) dx, (int) dy);
g2d.scale(this.scaleFactor, this.scaleFactor);
g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
RenderingHints.VALUE_ANTIALIAS_ON);
delegate.paintIcon(c, g2d, x, y);
g2d.dispose();
}
public void setDimension(Dimension newDimension) {
delegate.setDimension(newDimension);
}
}
| [
"kirill.grouchnikov@gmail.com"
] | kirill.grouchnikov@gmail.com |
3741d7814a79529fc65464ff2c78eede9e968f35 | 560d1b235454ccd652de55321752f53e8ece1648 | /TelerikListViewXF/TelerikListViewXF.Droid/obj/Debug/android/src/com/telerik/widget/chart/R.java | 27f528259a9863868047a695bf5ccde9463a4ed1 | [] | no_license | mbcrump/XamarinQ22015 | b14d1c60ec73d5a2b0fd07cd1758e673fc55646a | 8ea8fdde6c37f7ce1c56f83344fce996b163304d | refs/heads/master | 2021-01-19T18:30:17.572786 | 2015-06-24T14:29:05 | 2015-06-24T14:29:05 | 37,875,540 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 480,620 | java | /* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.telerik.widget.chart;
public final class R {
public static final class anim {
public static final int abc_fade_in=0x7f040000;
public static final int abc_fade_out=0x7f040001;
public static final int abc_slide_in_bottom=0x7f040002;
public static final int abc_slide_in_top=0x7f040003;
public static final int abc_slide_out_bottom=0x7f040004;
public static final int abc_slide_out_top=0x7f040005;
public static final int drawer_slide_in_top=0x7f040006;
public static final int drawer_slide_out_top=0x7f040007;
}
public static final class attr {
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int AreaSeriesStyle=0x7f0100f5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int AxisStyle=0x7f0100e9;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int BarSeriesStyle=0x7f0100f1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int CartesianAxisStyle=0x7f0100ea;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int CartesianCustomAnnotationStyle=0x7f0100f9;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int CartesianPlotBandAnnotationStyle=0x7f0100f8;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int CartesianStrokedAnnotationStyle=0x7f0100f7;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int CategoricalAxisStyle=0x7f0100eb;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int CategoricalSeriesStyle=0x7f0100f3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int CategoricalStrokedSeriesStyle=0x7f0100f4;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int ChartAnnotationStyle=0x7f0100f6;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int ChartSeriesStyle=0x7f0100ef;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int DateTimeCategoricalAxisStyle=0x7f0100ec;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int DateTimeContinuousAxisStyle=0x7f0100ed;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int LineAxisStyle=0x7f0100f0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int RadChartBaseStyle=0x7f0100ee;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int RangeBarSeriesStyle=0x7f0100f2;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int TestBarSeriesStyle=0x7f0100fa;
/** Custom divider drawable to use for elements in the action bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarDivider=0x7f01005a;
/** Custom item state list drawable background for action bar items.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarItemBackground=0x7f01005b;
/**
Reference to a theme that should be used to inflate popups
shown by widgets in the action bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarPopupTheme=0x7f010054;
/**
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), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>May be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>wrap_content</code></td><td>0</td><td></td></tr>
</table>
*/
public static final int actionBarSize=0x7f010059;
/**
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>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarSplitStyle=0x7f010056;
/** Reference to a style for the Action Bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarStyle=0x7f010055;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarTabBarStyle=0x7f010050;
/** Default style for tabs within an action bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarTabStyle=0x7f01004f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarTabTextStyle=0x7f010051;
/**
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>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarTheme=0x7f010057;
/**
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>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarWidgetTheme=0x7f010058;
/** Default action button style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionButtonStyle=0x7f010072;
/** Default ActionBar dropdown style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionDropDownStyle=0x7f01006d;
/**
An optional layout to be used as an action view.
See {@link android.view.MenuItem#setActionView(android.view.View)}
for more info.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionLayout=0x7f01002c;
/**
TextAppearance style that will be applied to text that
appears within action menu items.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionMenuTextAppearance=0x7f01005c;
/** Color for text that appears within action menu items.
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 to 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=0x7f01005d;
/** Background drawable to use for action mode UI
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeBackground=0x7f010060;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeCloseButtonStyle=0x7f01005f;
/** Drawable to use for the close action mode button
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeCloseDrawable=0x7f010062;
/** Drawable to use for the Copy action button in Contextual Action Bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeCopyDrawable=0x7f010064;
/** Drawable to use for the Cut action button in Contextual Action Bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeCutDrawable=0x7f010063;
/** Drawable to use for the Find action button in WebView selection action modes
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeFindDrawable=0x7f010068;
/** Drawable to use for the Paste action button in Contextual Action Bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModePasteDrawable=0x7f010065;
/** PopupWindow style to use for action modes when showing as a window overlay.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModePopupWindowStyle=0x7f01006a;
/** Drawable to use for the Select all action button in Contextual Action Bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeSelectAllDrawable=0x7f010066;
/** Drawable to use for the Share action button in WebView selection action modes
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeShareDrawable=0x7f010067;
/** Background drawable to use for action mode UI in the lower split bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeSplitBackground=0x7f010061;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeStyle=0x7f01005e;
/** Drawable to use for the Web Search action button in WebView selection action modes
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeWebSearchDrawable=0x7f010069;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionOverflowButtonStyle=0x7f010052;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionOverflowMenuStyle=0x7f010053;
/**
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>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int actionProviderClass=0x7f01002e;
/**
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>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int actionViewClass=0x7f01002d;
/** Default ActivityChooserView style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int activityChooserViewStyle=0x7f010079;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int applyDefaultPalette=0x7f0100ca;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int areBarsRounded=0x7f0100c7;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>None</code></td><td>0</td><td></td></tr>
<tr><td><code>Multiline</code></td><td>1</td><td></td></tr>
<tr><td><code>Rotate</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int axisLabelFitMode=0x7f0100d6;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>Visible</code></td><td>0</td><td></td></tr>
<tr><td><code>Hidden</code></td><td>1</td><td></td></tr>
<tr><td><code>Clip</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int axisLastLabelVisibility=0x7f0100d3;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int axisTitle=0x7f0100d7;
/** Specifies a background drawable for the action bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int background=0x7f01000c;
/** 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 to 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=0x7f01000e;
/** 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 to 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=0x7f01000d;
/** The size of the bars when they are parallel to each other
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int barSize=0x7f010026;
/**
A style that may be applied to Buttons placed within a
LinearLayout with the style buttonBarStyle to form a button bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarButtonStyle=0x7f010074;
/**
A style that may be applied to horizontal LinearLayouts
to form a button bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarStyle=0x7f010073;
/** <p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int calendarBackground=0x7f0100b0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int calendarStyle=0x7f0100b9;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int clipToBounds=0x7f0100ce;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int clipToPlotArea=0x7f0100ba;
/** Close button icon
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int closeIcon=0x7f010035;
/** Specifies a layout to use for the "close" item at the starting edge.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int closeItemLayout=0x7f01001c;
/** Text to set as the content description for the collapse button.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int collapseContentDescription=0x7f0100a4;
/** Icon drawable to use for the collapse button.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int collapseIcon=0x7f0100a3;
/** The drawing color for the bars
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int color=0x7f010020;
/**
Bright complement to the primary branding color. By default, this is the color applied
to framework controls (via colorControlActivated).
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorAccent=0x7f010094;
/** The color applied to framework buttons in their normal state.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorButtonNormal=0x7f010098;
/** The color applied to framework controls in their activated (ex. checked) state.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorControlActivated=0x7f010096;
/** The color applied to framework control highlights (ex. ripples, list selectors).
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorControlHighlight=0x7f010097;
/** The color applied to framework controls in their normal state.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorControlNormal=0x7f010095;
/**
The primary branding color for the app. By default, this is the color applied to the
action bar background.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorPrimary=0x7f010092;
/**
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>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorPrimaryDark=0x7f010093;
/** The color applied to framework switch thumbs in their normal state.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorSwitchThumbNormal=0x7f010099;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>None</code></td><td>0</td><td></td></tr>
<tr><td><code>Cluster</code></td><td>1</td><td></td></tr>
<tr><td><code>Stack</code></td><td>2</td><td></td></tr>
<tr><td><code>Stack100</code></td><td>3</td><td></td></tr>
</table>
*/
public static final int combineMode=0x7f0100d1;
/** Commit icon shown in the query suggestion row
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int commitIcon=0x7f010039;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int content=0x7f0100e6;
/**
Minimum inset for content views within a bar. Navigation buttons and
menu views are excepted. Only valid for some themes and configurations.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetEnd=0x7f010017;
/**
Minimum inset for content views within a bar. Navigation buttons and
menu views are excepted. Only valid for some themes and configurations.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetLeft=0x7f010018;
/**
Minimum inset for content views within a bar. Navigation buttons and
menu views are excepted. Only valid for some themes and configurations.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetRight=0x7f010019;
/**
Minimum inset for content views within a bar. Navigation buttons and
menu views are excepted. Only valid for some themes and configurations.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetStart=0x7f010016;
/** Specifies a layout for custom navigation. Overrides navigationMode.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int customNavigationLayout=0x7f01000f;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int dateFormat=0x7f0100de;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>Year</code></td><td>0</td><td></td></tr>
<tr><td><code>Quarter</code></td><td>1</td><td></td></tr>
<tr><td><code>Month</code></td><td>2</td><td></td></tr>
<tr><td><code>Week</code></td><td>3</td><td></td></tr>
<tr><td><code>Hour</code></td><td>4</td><td></td></tr>
<tr><td><code>Minute</code></td><td>5</td><td></td></tr>
<tr><td><code>Second</code></td><td>6</td><td></td></tr>
<tr><td><code>Millisecond</code></td><td>7</td><td></td></tr>
<tr><td><code>Date</code></td><td>8</td><td></td></tr>
<tr><td><code>TimeOfDay</code></td><td>9</td><td></td></tr>
<tr><td><code>Day</code></td><td>10</td><td></td></tr>
<tr><td><code>DayOfWeek</code></td><td>11</td><td></td></tr>
<tr><td><code>DayOfYear</code></td><td>12</td><td></td></tr>
</table>
*/
public static final int dateTimeComponent=0x7f0100df;
/**
Whether this spinner should mark child views as enabled/disabled when
the spinner itself is enabled/disabled.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int disableChildrenWhenDisabled=0x7f010040;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>Month</code></td><td>0</td><td></td></tr>
<tr><td><code>Year</code></td><td>1</td><td></td></tr>
<tr><td><code>Week</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int displayMode=0x7f0100b6;
/** 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><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>useLogo</code></td><td>0x1</td><td></td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr>
</table>
*/
public static final int displayOptions=0x7f010005;
/** Specifies the drawable used for item dividers.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int divider=0x7f01000b;
/** A drawable that may be used as a horizontal divider between visual elements.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dividerHorizontal=0x7f010078;
/** Size of padding on either end of a divider.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int dividerPadding=0x7f01002a;
/** A drawable that may be used as a vertical divider between visual elements.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dividerVertical=0x7f010077;
/** The total size of the drawable
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int drawableSize=0x7f010022;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int drawerArrowStyle=0x7f010000;
/** ListPopupWindow compatibility
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dropDownListViewStyle=0x7f01008a;
/** The preferred item height for dropdown lists.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int dropdownListPreferredItemHeight=0x7f01006e;
/** EditText background drawable.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int editTextBackground=0x7f01007f;
/** 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 to 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=0x7f01007e;
/** Elevation for the action bar itself
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int elevation=0x7f01001a;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int emptyContent=0x7f0100cf;
/**
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>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int expandActivityOverflowButtonDrawable=0x7f01001e;
/** <p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int fillColor=0x7f0100c6;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int fillViewport=0x7f0100ac;
/** The max gap between the bars when they are parallel to each other
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int gapBetweenBars=0x7f010023;
/** <p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int gapLength=0x7f0100bc;
/** Go button icon
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int goIcon=0x7f010036;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int height=0x7f010001;
/** Set true to hide the action bar on a vertical nested scroll of content.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int hideOnContentScroll=0x7f010015;
/** Specifies a drawable to use for the 'home as up' indicator.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int homeAsUpIndicator=0x7f010071;
/** Specifies a layout to use for the "home" section of the action bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int homeLayout=0x7f010010;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>left</code></td><td>0</td><td></td></tr>
<tr><td><code>center</code></td><td>1</td><td></td></tr>
<tr><td><code>right</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int horizontalAlignment=0x7f0100e7;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>Left</code></td><td>0</td><td></td></tr>
<tr><td><code>Right</code></td><td>1</td><td></td></tr>
</table>
*/
public static final int horizontalLocation=0x7f0100dc;
/** <p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int horizontalOffset=0x7f0100e4;
/** Specifies the drawable used for the application icon.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int icon=0x7f010009;
/**
The default state of the SearchView. If true, it will be iconified when not in
use and expanded when clicked.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int iconifiedByDefault=0x7f010033;
/** Specifies a style resource to use for an indeterminate progress spinner.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int indeterminateProgressStyle=0x7f010012;
/** The maximal number of items initially shown in the activity list.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int initialActivityCount=0x7f01001d;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int isLightTheme=0x7f010002;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int isYearModeCompact=0x7f0100b8;
/**
Specifies padding that should be applied to the left and right sides of
system-provided items in the bar.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int itemPadding=0x7f010014;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int label=0x7f0100e3;
/** <p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int labelColor=0x7f0100be;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int labelFont=0x7f0100c2;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int labelFontStyle=0x7f0100c3;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int labelFormat=0x7f0100c9;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int labelInterval=0x7f0100d9;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int labelMargin=0x7f0100c0;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int labelOffset=0x7f0100d5;
/** <p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int labelRotationAngle=0x7f0100d2;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int labelSize=0x7f0100bf;
/** The layout to use for the search view.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int layout=0x7f010032;
/** <p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int lineColor=0x7f0100da;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int lineThickness=0x7f0100c1;
/** Drawable used as a background for selected list items.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listChoiceBackgroundIndicator=0x7f010091;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listPopupWindowStyle=0x7f01008b;
/** The preferred list item height.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemHeight=0x7f010085;
/** A larger, more robust list item height.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemHeightLarge=0x7f010087;
/** A smaller, sleeker list item height.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemHeightSmall=0x7f010086;
/** The preferred padding along the left edge of list items.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemPaddingLeft=0x7f010088;
/** The preferred padding along the right edge of list items.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemPaddingRight=0x7f010089;
/** Specifies the drawable used for the application logo.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int logo=0x7f01000a;
/** <p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int majorStep=0x7f0100e1;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>Year</code></td><td>0</td><td></td></tr>
<tr><td><code>Quarter</code></td><td>1</td><td></td></tr>
<tr><td><code>Month</code></td><td>2</td><td></td></tr>
<tr><td><code>Week</code></td><td>3</td><td></td></tr>
<tr><td><code>Day</code></td><td>4</td><td></td></tr>
<tr><td><code>Hour</code></td><td>5</td><td></td></tr>
<tr><td><code>Minute</code></td><td>6</td><td></td></tr>
<tr><td><code>Second</code></td><td>7</td><td></td></tr>
<tr><td><code>Millisecond</code></td><td>8</td><td></td></tr>
</table>
*/
public static final int majorStepUnit=0x7f0100e2;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int majorTickInterval=0x7f0100db;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int majorTickOffset=0x7f0100d4;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int maxButtonHeight=0x7f0100a1;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int maxZoom=0x7f0100cd;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int maximumTicks=0x7f0100e0;
/**
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>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int measureWithLargestChild=0x7f010028;
/** The size of the middle bar when top and bottom bars merge into middle bar to form an arrow
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int middleBarArrowSize=0x7f010025;
/**
Text to set as the content description for the navigation button
located at the start of the toolbar.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int navigationContentDescription=0x7f0100a6;
/**
Icon drawable to use for the navigation button located at
the start of the toolbar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int navigationIcon=0x7f0100a5;
/** 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><code>normal</code></td><td>0</td><td> Normal static title text </td></tr>
<tr><td><code>listMode</code></td><td>1</td><td> The action bar will use a selection list for navigation. </td></tr>
<tr><td><code>tabMode</code></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=0x7f010004;
/** Whether the popup window should overlap its anchor view.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int overlapAnchor=0x7f010030;
/** Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int paddingEnd=0x7f0100a8;
/** Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int paddingStart=0x7f0100a7;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int palette=0x7f0100d0;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int pan=0x7f0100cb;
/** The background of a panel when it is inset from the left and right edges of the screen.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int panelBackground=0x7f01008e;
/** Default Panel Menu style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int panelMenuListTheme=0x7f010090;
/** Default Panel Menu width.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int panelMenuListWidth=0x7f01008f;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>BetweenTicks</code></td><td>0</td><td></td></tr>
<tr><td><code>OnTicks</code></td><td>1</td><td></td></tr>
<tr><td><code>OnTicksPadded</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int plotMode=0x7f0100bd;
/** <p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int pointerFill=0x7f0100ab;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int pointerMargin=0x7f0100aa;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int pointerSize=0x7f0100a9;
/** Default PopupMenu style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int popupMenuStyle=0x7f01007c;
/**
Reference to a layout to use for displaying a prompt in the dropdown for
spinnerMode="dropdown". This layout must contain a TextView with the id
{@code @android:id/text1} to be populated with the prompt text.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int popupPromptView=0x7f01003f;
/**
Reference to a theme that should be used to inflate popups
shown by widgets in the action bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int popupTheme=0x7f01001b;
/** Default PopupWindow style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int popupWindowStyle=0x7f01007d;
/** Whether space should be reserved in layout when an icon is missing.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int preserveIconSpacing=0x7f01002f;
/** Specifies the horizontal padding on either end for an embedded progress bar.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int progressBarPadding=0x7f010013;
/** Specifies a style resource to use for an embedded progress bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int progressBarStyle=0x7f010011;
/** The prompt to display when the spinner's dialog is shown.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int prompt=0x7f01003d;
/** Background for the section containing the search query
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int queryBackground=0x7f01003b;
/** An optional query hint string to be displayed in the empty query field.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int queryHint=0x7f010034;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int radScrollViewStyle=0x7f0100ae;
/** <p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int roundBarsRadius=0x7f0100c8;
/** <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><code>vertical</code></td><td>1</td><td></td></tr>
<tr><td><code>horizontal</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int scrollMode=0x7f0100ad;
/** Search icon
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int searchIcon=0x7f010037;
/** Style for the search query widget.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int searchViewStyle=0x7f010084;
/**
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>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int selectableItemBackground=0x7f010075;
/** Background drawable for borderless standalone items that need focus/pressed states.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int selectableItemBackgroundBorderless=0x7f010076;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>Single</code></td><td>0</td><td></td></tr>
<tr><td><code>Range</code></td><td>1</td><td></td></tr>
<tr><td><code>Multiple</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int selectionMode=0x7f0100b5;
/** 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><code>never</code></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><code>ifRoom</code></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><code>always</code></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><code>withText</code></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>
<tr><td><code>collapseActionView</code></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>
</table>
*/
public static final int showAsAction=0x7f01002b;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int showCellDecorations=0x7f0100b4;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int showDayNames=0x7f0100b2;
/** 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><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>beginning</code></td><td>1</td><td></td></tr>
<tr><td><code>middle</code></td><td>2</td><td></td></tr>
<tr><td><code>end</code></td><td>4</td><td></td></tr>
</table>
*/
public static final int showDividers=0x7f010029;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int showGridLines=0x7f0100b3;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int showLabels=0x7f0100bb;
/** Whether to draw on/off text.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int showText=0x7f010047;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int showTitle=0x7f0100b1;
/** Whether bars should rotate or not during transition
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int spinBars=0x7f010021;
/** Default Spinner style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int spinnerDropDownItemStyle=0x7f010070;
/** Display mode for spinner options.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>dialog</code></td><td>0</td><td> Spinner options will be presented to the user as a dialog window. </td></tr>
<tr><td><code>dropdown</code></td><td>1</td><td>
Spinner options will be presented to the user as an inline dropdown
anchored to the spinner widget itself.
</td></tr>
</table>
*/
public static final int spinnerMode=0x7f01003e;
/** Default Spinner style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int spinnerStyle=0x7f01006f;
/** Whether to split the track and leave a gap for the thumb drawable.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int splitTrack=0x7f010046;
/** State identifier indicating the popup will be above the anchor.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int state_above_anchor=0x7f010031;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int state_calendar_cell_today=0x7f0100af;
/** <p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int strokeColor=0x7f0100c4;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int strokeWidth=0x7f0100c5;
/** Background for the section containing the action (e.g. voice search)
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int submitBackground=0x7f01003c;
/** Specifies subtitle text used for navigationMode="normal"
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int subtitle=0x7f010006;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int subtitleTextAppearance=0x7f01009b;
/** Specifies a style to use for subtitle text.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int subtitleTextStyle=0x7f010008;
/** Layout for query suggestion rows
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int suggestionRowLayout=0x7f01003a;
/** Minimum width for the switch component
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int switchMinWidth=0x7f010044;
/** Minimum space between the switch and caption text
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int switchPadding=0x7f010045;
/** Default style for the Switch widget.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int switchStyle=0x7f010080;
/** TextAppearance style for text displayed on the switch thumb.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int switchTextAppearance=0x7f010043;
/** 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 to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
*/
public static final int textAllCaps=0x7f01001f;
/** Text color, typeface, size, and style for the text inside of a popup menu.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceLargePopupMenu=0x7f01006b;
/** The preferred TextAppearance for the primary text of list items.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceListItem=0x7f01008c;
/** The preferred TextAppearance for the primary text of small list items.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceListItemSmall=0x7f01008d;
/** Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceSearchResultSubtitle=0x7f010082;
/** Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceSearchResultTitle=0x7f010081;
/** Text color, typeface, size, and style for small text inside of a popup menu.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceSmallPopupMenu=0x7f01006c;
/** 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 to 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=0x7f010083;
/**
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. During XML inflation, any child views under the
view with a theme override will inherit the themed context.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int theme=0x7f0100a2;
/** The thickness (stroke size) for the bar paint
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int thickness=0x7f010027;
/** Amount of padding on either side of text within the switch thumb.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int thumbTextPadding=0x7f010042;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tickThickness=0x7f0100d8;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int title=0x7f010003;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginBottom=0x7f0100a0;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginEnd=0x7f01009e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginStart=0x7f01009d;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginTop=0x7f01009f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMargins=0x7f01009c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int titleTextAppearance=0x7f01009a;
/** Specifies a style to use for title text.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int titleTextStyle=0x7f010007;
/** Default Toolar NavigationButtonStyle
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int toolbarNavigationButtonStyle=0x7f01007b;
/** Default Toolbar style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int toolbarStyle=0x7f01007a;
/** The size of the top and bottom bars when they merge to the middle bar to form an arrow
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int topBottomBarArrowSize=0x7f010024;
/** Drawable to use as the "track" that the switch thumb slides within.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int track=0x7f010041;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>top</code></td><td>0</td><td></td></tr>
<tr><td><code>bottom</code></td><td>1</td><td></td></tr>
<tr><td><code>center</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int verticalAlignment=0x7f0100e8;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>Bottom</code></td><td>0</td><td></td></tr>
<tr><td><code>Top</code></td><td>1</td><td></td></tr>
</table>
*/
public static final int verticalLocation=0x7f0100dd;
/** <p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int verticalOffset=0x7f0100e5;
/** Voice button icon
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int voiceIcon=0x7f010038;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>None</code></td><td>0</td><td></td></tr>
<tr><td><code>Inline</code></td><td>1</td><td></td></tr>
<tr><td><code>Block</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int weekNumberDisplayMode=0x7f0100b7;
/**
Flag indicating whether this window should have an Action Bar
in place of the usual title bar.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowActionBar=0x7f010048;
/**
Flag indicating whether this window's Action Bar should overlay
application content. Does nothing if the window would not
have an Action Bar.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowActionBarOverlay=0x7f010049;
/**
Flag indicating whether action modes should overlay window content
when there is not reserved space for their UI (such as an Action Bar).
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowActionModeOverlay=0x7f01004a;
/**
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), 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.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowFixedHeightMajor=0x7f01004e;
/**
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), 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.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowFixedHeightMinor=0x7f01004c;
/**
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), 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.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowFixedWidthMajor=0x7f01004b;
/**
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), 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.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowFixedWidthMinor=0x7f01004d;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int zoom=0x7f0100cc;
}
public static final class bool {
public static final int abc_action_bar_embed_tabs=0x7f060000;
public static final int abc_action_bar_embed_tabs_pre_jb=0x7f060001;
public static final int abc_action_bar_expanded_action_views_exclusive=0x7f060002;
public static final int abc_config_actionMenuItemAllCaps=0x7f060003;
public static final int abc_config_allowActionMenuItemTextWithIcon=0x7f060004;
public static final int abc_config_showMenuShortcutsWhenKeyboardPresent=0x7f060005;
}
public static final class color {
public static final int abc_background_cache_hint_selector_material_dark=0x7f07003c;
public static final int abc_background_cache_hint_selector_material_light=0x7f07003d;
public static final int abc_input_method_navigation_guard=0x7f070000;
public static final int abc_primary_text_disable_only_material_dark=0x7f07003e;
public static final int abc_primary_text_disable_only_material_light=0x7f07003f;
public static final int abc_primary_text_material_dark=0x7f070040;
public static final int abc_primary_text_material_light=0x7f070041;
public static final int abc_search_url_text=0x7f070042;
public static final int abc_search_url_text_normal=0x7f070001;
public static final int abc_search_url_text_pressed=0x7f070002;
public static final int abc_search_url_text_selected=0x7f070003;
public static final int abc_secondary_text_material_dark=0x7f070043;
public static final int abc_secondary_text_material_light=0x7f070044;
public static final int accent_material_dark=0x7f070004;
public static final int accent_material_light=0x7f070005;
public static final int background_floating_material_dark=0x7f070006;
public static final int background_floating_material_light=0x7f070007;
public static final int background_material_dark=0x7f070008;
public static final int background_material_light=0x7f070009;
public static final int black=0x7f07003a;
public static final int bright_foreground_disabled_material_dark=0x7f07000a;
public static final int bright_foreground_disabled_material_light=0x7f07000b;
public static final int bright_foreground_inverse_material_dark=0x7f07000c;
public static final int bright_foreground_inverse_material_light=0x7f07000d;
public static final int bright_foreground_material_dark=0x7f07000e;
public static final int bright_foreground_material_light=0x7f07000f;
public static final int button_material_dark=0x7f070010;
public static final int button_material_light=0x7f070011;
public static final int dim_foreground_disabled_material_dark=0x7f070012;
public static final int dim_foreground_disabled_material_light=0x7f070013;
public static final int dim_foreground_material_dark=0x7f070014;
public static final int dim_foreground_material_light=0x7f070015;
public static final int groupHeaderTextColor=0x7f070037;
public static final int highlighted_text_material_dark=0x7f070016;
public static final int highlighted_text_material_light=0x7f070017;
public static final int hint_foreground_material_dark=0x7f070018;
public static final int hint_foreground_material_light=0x7f070019;
public static final int link_text_material_dark=0x7f07001a;
public static final int link_text_material_light=0x7f07001b;
public static final int listAccentColor=0x7f070036;
public static final int listItemTextColor=0x7f070035;
public static final int material_blue_grey_800=0x7f07001c;
public static final int material_blue_grey_900=0x7f07001d;
public static final int material_blue_grey_950=0x7f07001e;
public static final int material_deep_teal_200=0x7f07001f;
public static final int material_deep_teal_500=0x7f070020;
public static final int pressedColor=0x7f070034;
public static final int primary_dark_material_dark=0x7f070021;
public static final int primary_dark_material_light=0x7f070022;
public static final int primary_material_dark=0x7f070023;
public static final int primary_material_light=0x7f070024;
public static final int primary_text_default_material_dark=0x7f070025;
public static final int primary_text_default_material_light=0x7f070026;
public static final int primary_text_disabled_material_dark=0x7f070027;
public static final int primary_text_disabled_material_light=0x7f070028;
public static final int red=0x7f07003b;
public static final int ripple_material_dark=0x7f070029;
public static final int ripple_material_light=0x7f07002a;
public static final int secondary_text_default_material_dark=0x7f07002b;
public static final int secondary_text_default_material_light=0x7f07002c;
public static final int secondary_text_disabled_material_dark=0x7f07002d;
public static final int secondary_text_disabled_material_light=0x7f07002e;
public static final int selectionColor=0x7f070033;
public static final int shadeColor=0x7f070038;
public static final int shadeColorCenter=0x7f070039;
public static final int switch_thumb_normal_material_dark=0x7f07002f;
public static final int switch_thumb_normal_material_light=0x7f070030;
public static final int transparent=0x7f070031;
public static final int white=0x7f070032;
}
public static final class dimen {
public static final int abc_action_bar_default_height_material=0x7f080000;
public static final int abc_action_bar_default_padding_material=0x7f080001;
public static final int abc_action_bar_icon_vertical_padding_material=0x7f080002;
public static final int abc_action_bar_progress_bar_size=0x7f080003;
public static final int abc_action_bar_stacked_max_height=0x7f080004;
public static final int abc_action_bar_stacked_tab_max_width=0x7f080005;
public static final int abc_action_bar_subtitle_bottom_margin_material=0x7f080006;
public static final int abc_action_bar_subtitle_top_margin_material=0x7f080007;
public static final int abc_action_button_min_height_material=0x7f080008;
public static final int abc_action_button_min_width_material=0x7f080009;
public static final int abc_action_button_min_width_overflow_material=0x7f08000a;
public static final int abc_config_prefDialogWidth=0x7f08000b;
public static final int abc_control_inset_material=0x7f08000c;
public static final int abc_control_padding_material=0x7f08000d;
public static final int abc_dropdownitem_icon_width=0x7f08000e;
public static final int abc_dropdownitem_text_padding_left=0x7f08000f;
public static final int abc_dropdownitem_text_padding_right=0x7f080010;
public static final int abc_panel_menu_list_width=0x7f080011;
public static final int abc_search_view_preferred_width=0x7f080012;
public static final int abc_search_view_text_min_width=0x7f080013;
public static final int abc_text_size_body_1_material=0x7f080014;
public static final int abc_text_size_body_2_material=0x7f080015;
public static final int abc_text_size_button_material=0x7f080016;
public static final int abc_text_size_caption_material=0x7f080017;
public static final int abc_text_size_display_1_material=0x7f080018;
public static final int abc_text_size_display_2_material=0x7f080019;
public static final int abc_text_size_display_3_material=0x7f08001a;
public static final int abc_text_size_display_4_material=0x7f08001b;
public static final int abc_text_size_headline_material=0x7f08001c;
public static final int abc_text_size_large_material=0x7f08001d;
public static final int abc_text_size_medium_material=0x7f08001e;
public static final int abc_text_size_menu_material=0x7f08001f;
public static final int abc_text_size_small_material=0x7f080020;
public static final int abc_text_size_subhead_material=0x7f080021;
public static final int abc_text_size_subtitle_material_toolbar=0x7f080022;
public static final int abc_text_size_title_material=0x7f080023;
public static final int abc_text_size_title_material_toolbar=0x7f080024;
public static final int date_text_size_year_mode=0x7f08002c;
public static final int dialog_fixed_height_major=0x7f080025;
public static final int dialog_fixed_height_minor=0x7f080026;
public static final int dialog_fixed_width_major=0x7f080027;
public static final int dialog_fixed_width_minor=0x7f080028;
public static final int disabled_alpha_material_dark=0x7f080029;
public static final int disabled_alpha_material_light=0x7f08002a;
public static final int legend_stroke_width=0x7f08002b;
public static final int trackball_indicator_radius=0x7f08002d;
}
public static final class drawable {
public static final int abc_ab_share_pack_holo_dark=0x7f020000;
public static final int abc_ab_share_pack_holo_light=0x7f020001;
public static final int abc_btn_check_material=0x7f020002;
public static final int abc_btn_check_to_on_mtrl_000=0x7f020003;
public static final int abc_btn_check_to_on_mtrl_015=0x7f020004;
public static final int abc_btn_radio_material=0x7f020005;
public static final int abc_btn_radio_to_on_mtrl_000=0x7f020006;
public static final int abc_btn_radio_to_on_mtrl_015=0x7f020007;
public static final int abc_btn_switch_to_on_mtrl_00001=0x7f020008;
public static final int abc_btn_switch_to_on_mtrl_00012=0x7f020009;
public static final int abc_cab_background_internal_bg=0x7f02000a;
public static final int abc_cab_background_top_material=0x7f02000b;
public static final int abc_cab_background_top_mtrl_alpha=0x7f02000c;
public static final int abc_edit_text_material=0x7f02000d;
public static final int abc_ic_ab_back_mtrl_am_alpha=0x7f02000e;
public static final int abc_ic_clear_mtrl_alpha=0x7f02000f;
public static final int abc_ic_commit_search_api_mtrl_alpha=0x7f020010;
public static final int abc_ic_go_search_api_mtrl_alpha=0x7f020011;
public static final int abc_ic_menu_copy_mtrl_am_alpha=0x7f020012;
public static final int abc_ic_menu_cut_mtrl_alpha=0x7f020013;
public static final int abc_ic_menu_moreoverflow_mtrl_alpha=0x7f020014;
public static final int abc_ic_menu_paste_mtrl_am_alpha=0x7f020015;
public static final int abc_ic_menu_selectall_mtrl_alpha=0x7f020016;
public static final int abc_ic_menu_share_mtrl_alpha=0x7f020017;
public static final int abc_ic_search_api_mtrl_alpha=0x7f020018;
public static final int abc_ic_voice_search_api_mtrl_alpha=0x7f020019;
public static final int abc_item_background_holo_dark=0x7f02001a;
public static final int abc_item_background_holo_light=0x7f02001b;
public static final int abc_list_divider_mtrl_alpha=0x7f02001c;
public static final int abc_list_focused_holo=0x7f02001d;
public static final int abc_list_longpressed_holo=0x7f02001e;
public static final int abc_list_pressed_holo_dark=0x7f02001f;
public static final int abc_list_pressed_holo_light=0x7f020020;
public static final int abc_list_selector_background_transition_holo_dark=0x7f020021;
public static final int abc_list_selector_background_transition_holo_light=0x7f020022;
public static final int abc_list_selector_disabled_holo_dark=0x7f020023;
public static final int abc_list_selector_disabled_holo_light=0x7f020024;
public static final int abc_list_selector_holo_dark=0x7f020025;
public static final int abc_list_selector_holo_light=0x7f020026;
public static final int abc_menu_hardkey_panel_mtrl_mult=0x7f020027;
public static final int abc_popup_background_mtrl_mult=0x7f020028;
public static final int abc_spinner_mtrl_am_alpha=0x7f020029;
public static final int abc_switch_thumb_material=0x7f02002a;
public static final int abc_switch_track_mtrl_alpha=0x7f02002b;
public static final int abc_tab_indicator_material=0x7f02002c;
public static final int abc_tab_indicator_mtrl_alpha=0x7f02002d;
public static final int abc_textfield_activated_mtrl_alpha=0x7f02002e;
public static final int abc_textfield_default_mtrl_alpha=0x7f02002f;
public static final int abc_textfield_search_activated_mtrl_alpha=0x7f020030;
public static final int abc_textfield_search_default_mtrl_alpha=0x7f020031;
public static final int abc_textfield_search_material=0x7f020032;
public static final int gingerbread_background=0x7f020033;
public static final int hamburger=0x7f020034;
public static final int hmb=0x7f020035;
public static final int icon=0x7f020036;
public static final int pressable_item_background=0x7f020037;
public static final int selectable_item_background=0x7f020038;
public static final int shade_bottom=0x7f020039;
public static final int shade_corner=0x7f02003a;
public static final int shade_right=0x7f02003b;
}
public static final class id {
public static final int BetweenTicks=0x7f090029;
public static final int Block=0x7f090026;
public static final int Bottom=0x7f090036;
public static final int Clip=0x7f09002f;
public static final int Cluster=0x7f09002c;
public static final int Date=0x7f090038;
public static final int Day=0x7f090039;
public static final int DayOfWeek=0x7f09003a;
public static final int DayOfYear=0x7f09003b;
public static final int Hidden=0x7f090030;
public static final int Hour=0x7f09003c;
public static final int Inline=0x7f090027;
public static final int Left=0x7f090034;
public static final int Millisecond=0x7f09003d;
public static final int Minute=0x7f09003e;
public static final int Month=0x7f090023;
public static final int Multiline=0x7f090032;
public static final int Multiple=0x7f090020;
public static final int None=0x7f090028;
public static final int OnTicks=0x7f09002a;
public static final int OnTicksPadded=0x7f09002b;
public static final int Quarter=0x7f09003f;
public static final int Range=0x7f090021;
public static final int Right=0x7f090035;
public static final int Rotate=0x7f090033;
public static final int Second=0x7f090040;
public static final int Single=0x7f090022;
public static final int Stack=0x7f09002d;
public static final int Stack100=0x7f09002e;
public static final int TimeOfDay=0x7f090041;
public static final int Top=0x7f090037;
public static final int Visible=0x7f090031;
public static final int Week=0x7f090024;
public static final int Year=0x7f090025;
public static final int action_bar=0x7f09005a;
public static final int action_bar_activity_content=0x7f090000;
public static final int action_bar_container=0x7f090059;
public static final int action_bar_root=0x7f090055;
public static final int action_bar_spinner=0x7f090001;
public static final int action_bar_subtitle=0x7f090048;
public static final int action_bar_title=0x7f090047;
public static final int action_context_bar=0x7f09005b;
public static final int action_menu_divider=0x7f090002;
public static final int action_menu_presenter=0x7f090003;
public static final int action_mode_bar=0x7f090057;
public static final int action_mode_bar_stub=0x7f090056;
public static final int action_mode_close_button=0x7f090049;
public static final int activity_chooser_view_content=0x7f09004a;
public static final int always=0x7f090016;
public static final int areaText=0x7f090071;
public static final int beginning=0x7f090013;
public static final int bottom=0x7f090045;
public static final int center=0x7f090042;
public static final int chart_data_point_content_container=0x7f090081;
public static final int chart_layout_root=0x7f09007a;
public static final int chart_tooltip_category=0x7f090069;
public static final int chart_tooltip_pointer=0x7f090080;
public static final int chart_tooltip_value=0x7f09006a;
public static final int chart_trackball_category=0x7f090072;
public static final int chart_trackball_value=0x7f090074;
public static final int checkbox=0x7f090052;
public static final int closeText=0x7f09006d;
public static final int collapseActionView=0x7f090017;
public static final int decor_content_parent=0x7f090058;
public static final int default_activity_button=0x7f09004d;
public static final int dialog=0x7f09001b;
public static final int disableHome=0x7f09000c;
public static final int dropdown=0x7f09001c;
public static final int edit_query=0x7f09005c;
public static final int emptyContent=0x7f09007b;
public static final int end=0x7f090014;
public static final int expand_activities_button=0x7f09004b;
public static final int expanded_menu=0x7f090051;
public static final int groupHeaderText=0x7f09007e;
public static final int highText=0x7f09006b;
public static final int home=0x7f090004;
public static final int homeAsUp=0x7f09000d;
public static final int horizontal=0x7f09001e;
public static final int icon=0x7f09004f;
public static final int ifRoom=0x7f090018;
public static final int image=0x7f09004c;
public static final int imageView=0x7f090075;
public static final int left=0x7f090043;
public static final int legendItemIconView=0x7f090076;
public static final int legendItemTitleView=0x7f090077;
public static final int legendListView=0x7f09007d;
public static final int listMode=0x7f090009;
public static final int list_item=0x7f09004e;
public static final int lowText=0x7f09006e;
public static final int middle=0x7f090015;
public static final int navItemsLayout=0x7f090078;
public static final int navigationItemText=0x7f090079;
public static final int never=0x7f090019;
public static final int none=0x7f09000e;
public static final int normal=0x7f09000a;
public static final int openText=0x7f09006c;
public static final int progress_circular=0x7f090005;
public static final int progress_horizontal=0x7f090006;
public static final int radio=0x7f090054;
public static final int renderSurface=0x7f09007c;
public static final int right=0x7f090044;
public static final int search_badge=0x7f09005e;
public static final int search_bar=0x7f09005d;
public static final int search_button=0x7f09005f;
public static final int search_close_btn=0x7f090064;
public static final int search_edit_frame=0x7f090060;
public static final int search_go_btn=0x7f090066;
public static final int search_mag_icon=0x7f090061;
public static final int search_plate=0x7f090062;
public static final int search_src_text=0x7f090063;
public static final int search_voice_btn=0x7f090067;
public static final int shortcut=0x7f090053;
public static final int showCustom=0x7f09000f;
public static final int showHome=0x7f090010;
public static final int showTitle=0x7f090011;
public static final int split_action_bar=0x7f090007;
public static final int submit_area=0x7f090065;
public static final int tabMode=0x7f09000b;
public static final int text1=0x7f09007f;
public static final int title=0x7f090050;
public static final int tooltip_content_container=0x7f090068;
public static final int top=0x7f090046;
public static final int trackball_points_list=0x7f090073;
public static final int up=0x7f090008;
public static final int useLogo=0x7f090012;
public static final int vertical=0x7f09001f;
public static final int withText=0x7f09001a;
public static final int wrap_content=0x7f09001d;
public static final int xText=0x7f09006f;
public static final int yText=0x7f090070;
}
public static final class integer {
public static final int abc_max_action_buttons=0x7f0a0000;
}
public static final class layout {
public static final int abc_action_bar_title_item=0x7f030000;
public static final int abc_action_bar_up_container=0x7f030001;
public static final int abc_action_bar_view_list_nav_layout=0x7f030002;
public static final int abc_action_menu_item_layout=0x7f030003;
public static final int abc_action_menu_layout=0x7f030004;
public static final int abc_action_mode_bar=0x7f030005;
public static final int abc_action_mode_close_item_material=0x7f030006;
public static final int abc_activity_chooser_view=0x7f030007;
public static final int abc_activity_chooser_view_include=0x7f030008;
public static final int abc_activity_chooser_view_list_item=0x7f030009;
public static final int abc_expanded_menu_layout=0x7f03000a;
public static final int abc_list_menu_item_checkbox=0x7f03000b;
public static final int abc_list_menu_item_icon=0x7f03000c;
public static final int abc_list_menu_item_layout=0x7f03000d;
public static final int abc_list_menu_item_radio=0x7f03000e;
public static final int abc_popup_menu_item_layout=0x7f03000f;
public static final int abc_screen_content_include=0x7f030010;
public static final int abc_screen_simple=0x7f030011;
public static final int abc_screen_simple_overlay_action_mode=0x7f030012;
public static final int abc_screen_toolbar=0x7f030013;
public static final int abc_search_dropdown_item_icons_2line=0x7f030014;
public static final int abc_search_view=0x7f030015;
public static final int abc_simple_dropdown_hint=0x7f030016;
public static final int default_tooltip_content=0x7f030017;
public static final int default_tooltip_ohlc_content=0x7f030018;
public static final int default_tooltip_scatter_bubble_content=0x7f030019;
public static final int default_tooltip_scatter_content=0x7f03001a;
public static final int default_trackball_content=0x7f03001b;
public static final int default_trackball_item_content=0x7f03001c;
public static final int drawer_blur_fade_layer=0x7f03001d;
public static final int legend_item_view=0x7f03001e;
public static final int navigation_drawer_content=0x7f03001f;
public static final int navigation_item_view=0x7f030020;
public static final int ohlc_trackball_item_content=0x7f030021;
public static final int on_demand_automatic=0x7f030022;
public static final int on_demand_manual=0x7f030023;
public static final int radchartbase=0x7f030024;
public static final int radlegendcontrol=0x7f030025;
public static final int range_trackball_item_content=0x7f030026;
public static final int simple_empty_content=0x7f030027;
public static final int simple_group_header_item=0x7f030028;
public static final int simple_list_item=0x7f030029;
public static final int support_simple_spinner_dropdown_item=0x7f03002a;
public static final int tooltip_container=0x7f03002b;
public static final int trackball_container=0x7f03002c;
public static final int trial_message=0x7f03002d;
}
public static final class string {
public static final int ApplicationName=0x7f0b0011;
public static final int Hello=0x7f0b0010;
public static final int abc_action_bar_home_description=0x7f0b0000;
public static final int abc_action_bar_home_description_format=0x7f0b0001;
public static final int abc_action_bar_home_subtitle_description_format=0x7f0b0002;
public static final int abc_action_bar_up_description=0x7f0b0003;
public static final int abc_action_menu_overflow_description=0x7f0b0004;
public static final int abc_action_mode_done=0x7f0b0005;
public static final int abc_activity_chooser_view_see_all=0x7f0b0006;
public static final int abc_activitychooserview_choose_application=0x7f0b0007;
public static final int abc_searchview_description_clear=0x7f0b0008;
public static final int abc_searchview_description_query=0x7f0b0009;
public static final int abc_searchview_description_search=0x7f0b000a;
public static final int abc_searchview_description_submit=0x7f0b000b;
public static final int abc_searchview_description_voice=0x7f0b000c;
public static final int abc_shareactionprovider_share_with=0x7f0b000d;
public static final int abc_shareactionprovider_share_with_application=0x7f0b000e;
public static final int abc_toolbar_collapse_description=0x7f0b000f;
public static final int list_view_default_empty_content=0x7f0b0014;
public static final int on_demand_manual_button_busy=0x7f0b0013;
public static final int on_demand_manual_button_idle=0x7f0b0012;
public static final int trial_message=0x7f0b0015;
public static final int trial_message_caption=0x7f0b0016;
}
public static final class style {
/**
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
*/
public static final int AppBaseTheme=0x7f0c00ed;
/** Application theme.
ALL customizations that are NOT specific to a particular API-level can go here.
*/
public static final int AppTheme=0x7f0c00ee;
public static final int AxisStyle=0x7f0c00ef;
public static final int AxisStyle_LineAxisStyle=0x7f0c00f2;
public static final int AxisStyle_LineAxisStyle_CartesianAxisStyle=0x7f0c00f9;
public static final int AxisStyle_LineAxisStyle_CartesianAxisStyle_CategoricalAxisStyle=0x7f0c00fa;
public static final int AxisStyle_LineAxisStyle_CartesianAxisStyle_CategoricalAxisStyle_DateTimeCategoricalAxisStyle=0x7f0c00fb;
public static final int AxisStyle_LineAxisStyle_CartesianAxisStyle_CategoricalAxisStyle_TestDateTimeCategoricalAxisStyle=0x7f0c00fc;
public static final int AxisStyle_LineAxisStyle_CartesianAxisStyle_DateTimeContinuousAxisStyle=0x7f0c00fd;
public static final int Base_TextAppearance_AppCompat=0x7f0c0000;
public static final int Base_TextAppearance_AppCompat_Body1=0x7f0c0001;
public static final int Base_TextAppearance_AppCompat_Body2=0x7f0c0002;
public static final int Base_TextAppearance_AppCompat_Button=0x7f0c0003;
public static final int Base_TextAppearance_AppCompat_Caption=0x7f0c0004;
public static final int Base_TextAppearance_AppCompat_Display1=0x7f0c0005;
public static final int Base_TextAppearance_AppCompat_Display2=0x7f0c0006;
public static final int Base_TextAppearance_AppCompat_Display3=0x7f0c0007;
public static final int Base_TextAppearance_AppCompat_Display4=0x7f0c0008;
public static final int Base_TextAppearance_AppCompat_Headline=0x7f0c0009;
public static final int Base_TextAppearance_AppCompat_Inverse=0x7f0c000a;
public static final int Base_TextAppearance_AppCompat_Large=0x7f0c000b;
public static final int Base_TextAppearance_AppCompat_Large_Inverse=0x7f0c000c;
public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0c000d;
public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0c000e;
public static final int Base_TextAppearance_AppCompat_Medium=0x7f0c000f;
public static final int Base_TextAppearance_AppCompat_Medium_Inverse=0x7f0c0010;
public static final int Base_TextAppearance_AppCompat_Menu=0x7f0c0011;
public static final int Base_TextAppearance_AppCompat_SearchResult=0x7f0c0012;
public static final int Base_TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0c0013;
public static final int Base_TextAppearance_AppCompat_SearchResult_Title=0x7f0c0014;
public static final int Base_TextAppearance_AppCompat_Small=0x7f0c0015;
public static final int Base_TextAppearance_AppCompat_Small_Inverse=0x7f0c0016;
public static final int Base_TextAppearance_AppCompat_Subhead=0x7f0c0017;
public static final int Base_TextAppearance_AppCompat_Subhead_Inverse=0x7f0c0018;
public static final int Base_TextAppearance_AppCompat_Title=0x7f0c0019;
public static final int Base_TextAppearance_AppCompat_Title_Inverse=0x7f0c001a;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0c001b;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0c001c;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0c001d;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0c001e;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0c001f;
public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0c0020;
public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0c0021;
public static final int Base_TextAppearance_AppCompat_Widget_DropDownItem=0x7f0c0022;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0c0023;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0c0024;
public static final int Base_TextAppearance_AppCompat_Widget_Switch=0x7f0c0025;
public static final int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0c0026;
public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0c0027;
public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0c0028;
public static final int Base_Theme_AppCompat=0x7f0c0029;
public static final int Base_Theme_AppCompat_CompactMenu=0x7f0c002a;
public static final int Base_Theme_AppCompat_Dialog=0x7f0c002b;
public static final int Base_Theme_AppCompat_Dialog_FixedSize=0x7f0c002c;
public static final int Base_Theme_AppCompat_DialogWhenLarge=0x7f0c002d;
public static final int Base_Theme_AppCompat_Light=0x7f0c002e;
public static final int Base_Theme_AppCompat_Light_DarkActionBar=0x7f0c002f;
public static final int Base_Theme_AppCompat_Light_Dialog=0x7f0c0030;
public static final int Base_Theme_AppCompat_Light_Dialog_FixedSize=0x7f0c0031;
public static final int Base_Theme_AppCompat_Light_DialogWhenLarge=0x7f0c0032;
public static final int Base_ThemeOverlay_AppCompat=0x7f0c0033;
public static final int Base_ThemeOverlay_AppCompat_ActionBar=0x7f0c0034;
public static final int Base_ThemeOverlay_AppCompat_Dark=0x7f0c0035;
public static final int Base_ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0c0036;
public static final int Base_ThemeOverlay_AppCompat_Light=0x7f0c0037;
public static final int Base_V11_Theme_AppCompat=0x7f0c00df;
public static final int Base_V11_Theme_AppCompat_Dialog=0x7f0c00e0;
public static final int Base_V11_Theme_AppCompat_Light=0x7f0c00e1;
public static final int Base_V11_Theme_AppCompat_Light_Dialog=0x7f0c00e2;
public static final int Base_V14_Theme_AppCompat=0x7f0c00e3;
public static final int Base_V14_Theme_AppCompat_Dialog=0x7f0c00e4;
public static final int Base_V14_Theme_AppCompat_Light=0x7f0c00e5;
public static final int Base_V14_Theme_AppCompat_Light_Dialog=0x7f0c00e6;
public static final int Base_V21_Theme_AppCompat=0x7f0c00e7;
public static final int Base_V21_Theme_AppCompat_Dialog=0x7f0c00e8;
public static final int Base_V21_Theme_AppCompat_Light=0x7f0c00e9;
public static final int Base_V21_Theme_AppCompat_Light_Dialog=0x7f0c00ea;
public static final int Base_V7_Theme_AppCompat=0x7f0c0038;
public static final int Base_V7_Theme_AppCompat_Dialog=0x7f0c0039;
public static final int Base_V7_Theme_AppCompat_Light=0x7f0c003a;
public static final int Base_Widget_AppCompat_ActionBar=0x7f0c003b;
public static final int Base_Widget_AppCompat_ActionBar_Solid=0x7f0c003c;
public static final int Base_Widget_AppCompat_ActionBar_TabBar=0x7f0c003d;
public static final int Base_Widget_AppCompat_ActionBar_TabText=0x7f0c003e;
public static final int Base_Widget_AppCompat_ActionBar_TabView=0x7f0c003f;
public static final int Base_Widget_AppCompat_ActionButton=0x7f0c0040;
public static final int Base_Widget_AppCompat_ActionButton_CloseMode=0x7f0c0041;
public static final int Base_Widget_AppCompat_ActionButton_Overflow=0x7f0c0042;
public static final int Base_Widget_AppCompat_ActionMode=0x7f0c0043;
public static final int Base_Widget_AppCompat_ActivityChooserView=0x7f0c0044;
public static final int Base_Widget_AppCompat_AutoCompleteTextView=0x7f0c0045;
public static final int Base_Widget_AppCompat_CompoundButton_Switch=0x7f0c0046;
public static final int Base_Widget_AppCompat_DrawerArrowToggle=0x7f0c0047;
public static final int Base_Widget_AppCompat_DropDownItem_Spinner=0x7f0c0048;
public static final int Base_Widget_AppCompat_EditText=0x7f0c0049;
public static final int Base_Widget_AppCompat_Light_ActionBar=0x7f0c004a;
public static final int Base_Widget_AppCompat_Light_ActionBar_Solid=0x7f0c004b;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabBar=0x7f0c004c;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabText=0x7f0c004d;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0c004e;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabView=0x7f0c004f;
public static final int Base_Widget_AppCompat_Light_ActivityChooserView=0x7f0c0050;
public static final int Base_Widget_AppCompat_Light_AutoCompleteTextView=0x7f0c0051;
public static final int Base_Widget_AppCompat_Light_PopupMenu=0x7f0c0052;
public static final int Base_Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0c0053;
public static final int Base_Widget_AppCompat_ListPopupWindow=0x7f0c0054;
public static final int Base_Widget_AppCompat_ListView_DropDown=0x7f0c0055;
public static final int Base_Widget_AppCompat_ListView_Menu=0x7f0c0056;
public static final int Base_Widget_AppCompat_PopupMenu=0x7f0c0057;
public static final int Base_Widget_AppCompat_PopupMenu_Overflow=0x7f0c0058;
public static final int Base_Widget_AppCompat_PopupWindow=0x7f0c0059;
public static final int Base_Widget_AppCompat_ProgressBar=0x7f0c005a;
public static final int Base_Widget_AppCompat_ProgressBar_Horizontal=0x7f0c005b;
public static final int Base_Widget_AppCompat_SearchView=0x7f0c005c;
public static final int Base_Widget_AppCompat_Spinner=0x7f0c005d;
public static final int Base_Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f0c005e;
public static final int Base_Widget_AppCompat_Toolbar=0x7f0c005f;
public static final int Base_Widget_AppCompat_Toolbar_Button_Navigation=0x7f0c0060;
public static final int ChartAnnotationStyle=0x7f0c00fe;
public static final int ChartAnnotationStyle_CartesianCustomAnnotationStyle=0x7f0c0101;
public static final int ChartAnnotationStyle_CartesianStrokedAnnotationStyle=0x7f0c00ff;
public static final int ChartAnnotationStyle_CartesianStrokedAnnotationStyle_CartesianPlotBandAnnotationStyle=0x7f0c0100;
public static final int ChartSeriesStyle=0x7f0c00f1;
public static final int ChartSeriesStyle_CategoricalSeriesStyle=0x7f0c00f6;
public static final int ChartSeriesStyle_CategoricalSeriesStyle_BarSeriesStyle=0x7f0c00f3;
public static final int ChartSeriesStyle_CategoricalSeriesStyle_CategoricalStrokedSeriesStyle=0x7f0c00f7;
public static final int ChartSeriesStyle_CategoricalSeriesStyle_CategoricalStrokedSeriesStyle_AreaSeriesStyle=0x7f0c00f8;
public static final int ChartSeriesStyle_CategoricalSeriesStyle_RangeBarSeriesStyle=0x7f0c00f4;
public static final int ChartSeriesStyle_CategoricalSeriesStyle_TestBarSeriesStyle=0x7f0c00f5;
public static final int Platform_AppCompat=0x7f0c0061;
public static final int Platform_AppCompat_Dialog=0x7f0c0062;
public static final int Platform_AppCompat_Light=0x7f0c0063;
public static final int Platform_AppCompat_Light_Dialog=0x7f0c0064;
public static final int RadChartBaseStyle=0x7f0c00f0;
public static final int RadScrollViewStyle=0x7f0c00eb;
public static final int RadScrollViewTheme=0x7f0c00ec;
public static final int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem=0x7f0c0065;
public static final int RtlOverlay_Widget_AppCompat_ActionButton_CloseMode=0x7f0c0066;
public static final int RtlOverlay_Widget_AppCompat_ActionButton_Overflow=0x7f0c0067;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem=0x7f0c0068;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup=0x7f0c0069;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text=0x7f0c006a;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown=0x7f0c006b;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1=0x7f0c006c;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2=0x7f0c006d;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Query=0x7f0c006e;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Text=0x7f0c006f;
public static final int RtlOverlay_Widget_AppCompat_SearchView_MagIcon=0x7f0c0070;
public static final int TextAppearance_AppCompat=0x7f0c0071;
public static final int TextAppearance_AppCompat_Body1=0x7f0c0072;
public static final int TextAppearance_AppCompat_Body2=0x7f0c0073;
public static final int TextAppearance_AppCompat_Button=0x7f0c0074;
public static final int TextAppearance_AppCompat_Caption=0x7f0c0075;
public static final int TextAppearance_AppCompat_Display1=0x7f0c0076;
public static final int TextAppearance_AppCompat_Display2=0x7f0c0077;
public static final int TextAppearance_AppCompat_Display3=0x7f0c0078;
public static final int TextAppearance_AppCompat_Display4=0x7f0c0079;
public static final int TextAppearance_AppCompat_Headline=0x7f0c007a;
public static final int TextAppearance_AppCompat_Inverse=0x7f0c007b;
public static final int TextAppearance_AppCompat_Large=0x7f0c007c;
public static final int TextAppearance_AppCompat_Large_Inverse=0x7f0c007d;
public static final int TextAppearance_AppCompat_Light_SearchResult_Subtitle=0x7f0c007e;
public static final int TextAppearance_AppCompat_Light_SearchResult_Title=0x7f0c007f;
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0c0080;
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0c0081;
public static final int TextAppearance_AppCompat_Medium=0x7f0c0082;
public static final int TextAppearance_AppCompat_Medium_Inverse=0x7f0c0083;
public static final int TextAppearance_AppCompat_Menu=0x7f0c0084;
public static final int TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0c0085;
public static final int TextAppearance_AppCompat_SearchResult_Title=0x7f0c0086;
public static final int TextAppearance_AppCompat_Small=0x7f0c0087;
public static final int TextAppearance_AppCompat_Small_Inverse=0x7f0c0088;
public static final int TextAppearance_AppCompat_Subhead=0x7f0c0089;
public static final int TextAppearance_AppCompat_Subhead_Inverse=0x7f0c008a;
public static final int TextAppearance_AppCompat_Title=0x7f0c008b;
public static final int TextAppearance_AppCompat_Title_Inverse=0x7f0c008c;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0c008d;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0c008e;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0c008f;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0c0090;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0c0091;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0c0092;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse=0x7f0c0093;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0c0094;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse=0x7f0c0095;
public static final int TextAppearance_AppCompat_Widget_DropDownItem=0x7f0c0096;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0c0097;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0c0098;
public static final int TextAppearance_AppCompat_Widget_Switch=0x7f0c0099;
public static final int TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0c009a;
public static final int TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0c009b;
public static final int TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0c009c;
public static final int Theme_AppCompat=0x7f0c009d;
public static final int Theme_AppCompat_CompactMenu=0x7f0c009e;
public static final int Theme_AppCompat_Dialog=0x7f0c009f;
public static final int Theme_AppCompat_DialogWhenLarge=0x7f0c00a0;
public static final int Theme_AppCompat_Light=0x7f0c00a1;
public static final int Theme_AppCompat_Light_DarkActionBar=0x7f0c00a2;
public static final int Theme_AppCompat_Light_Dialog=0x7f0c00a3;
public static final int Theme_AppCompat_Light_DialogWhenLarge=0x7f0c00a4;
public static final int Theme_AppCompat_Light_NoActionBar=0x7f0c00a5;
public static final int Theme_AppCompat_NoActionBar=0x7f0c00a6;
public static final int Theme_ChartTheme=0x7f0c0102;
public static final int ThemeOverlay_AppCompat=0x7f0c00a7;
public static final int ThemeOverlay_AppCompat_ActionBar=0x7f0c00a8;
public static final int ThemeOverlay_AppCompat_Dark=0x7f0c00a9;
public static final int ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0c00aa;
public static final int ThemeOverlay_AppCompat_Light=0x7f0c00ab;
public static final int Widget_AppCompat_ActionBar=0x7f0c00ac;
public static final int Widget_AppCompat_ActionBar_Solid=0x7f0c00ad;
public static final int Widget_AppCompat_ActionBar_TabBar=0x7f0c00ae;
public static final int Widget_AppCompat_ActionBar_TabText=0x7f0c00af;
public static final int Widget_AppCompat_ActionBar_TabView=0x7f0c00b0;
public static final int Widget_AppCompat_ActionButton=0x7f0c00b1;
public static final int Widget_AppCompat_ActionButton_CloseMode=0x7f0c00b2;
public static final int Widget_AppCompat_ActionButton_Overflow=0x7f0c00b3;
public static final int Widget_AppCompat_ActionMode=0x7f0c00b4;
public static final int Widget_AppCompat_ActivityChooserView=0x7f0c00b5;
public static final int Widget_AppCompat_AutoCompleteTextView=0x7f0c00b6;
public static final int Widget_AppCompat_CompoundButton_Switch=0x7f0c00b7;
public static final int Widget_AppCompat_DrawerArrowToggle=0x7f0c00b8;
public static final int Widget_AppCompat_DropDownItem_Spinner=0x7f0c00b9;
public static final int Widget_AppCompat_EditText=0x7f0c00ba;
public static final int Widget_AppCompat_Light_ActionBar=0x7f0c00bb;
public static final int Widget_AppCompat_Light_ActionBar_Solid=0x7f0c00bc;
public static final int Widget_AppCompat_Light_ActionBar_Solid_Inverse=0x7f0c00bd;
public static final int Widget_AppCompat_Light_ActionBar_TabBar=0x7f0c00be;
public static final int Widget_AppCompat_Light_ActionBar_TabBar_Inverse=0x7f0c00bf;
public static final int Widget_AppCompat_Light_ActionBar_TabText=0x7f0c00c0;
public static final int Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0c00c1;
public static final int Widget_AppCompat_Light_ActionBar_TabView=0x7f0c00c2;
public static final int Widget_AppCompat_Light_ActionBar_TabView_Inverse=0x7f0c00c3;
public static final int Widget_AppCompat_Light_ActionButton=0x7f0c00c4;
public static final int Widget_AppCompat_Light_ActionButton_CloseMode=0x7f0c00c5;
public static final int Widget_AppCompat_Light_ActionButton_Overflow=0x7f0c00c6;
public static final int Widget_AppCompat_Light_ActionMode_Inverse=0x7f0c00c7;
public static final int Widget_AppCompat_Light_ActivityChooserView=0x7f0c00c8;
public static final int Widget_AppCompat_Light_AutoCompleteTextView=0x7f0c00c9;
public static final int Widget_AppCompat_Light_DropDownItem_Spinner=0x7f0c00ca;
public static final int Widget_AppCompat_Light_ListPopupWindow=0x7f0c00cb;
public static final int Widget_AppCompat_Light_ListView_DropDown=0x7f0c00cc;
public static final int Widget_AppCompat_Light_PopupMenu=0x7f0c00cd;
public static final int Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0c00ce;
public static final int Widget_AppCompat_Light_SearchView=0x7f0c00cf;
public static final int Widget_AppCompat_Light_Spinner_DropDown_ActionBar=0x7f0c00d0;
public static final int Widget_AppCompat_ListPopupWindow=0x7f0c00d1;
public static final int Widget_AppCompat_ListView_DropDown=0x7f0c00d2;
public static final int Widget_AppCompat_ListView_Menu=0x7f0c00d3;
public static final int Widget_AppCompat_PopupMenu=0x7f0c00d4;
public static final int Widget_AppCompat_PopupMenu_Overflow=0x7f0c00d5;
public static final int Widget_AppCompat_PopupWindow=0x7f0c00d6;
public static final int Widget_AppCompat_ProgressBar=0x7f0c00d7;
public static final int Widget_AppCompat_ProgressBar_Horizontal=0x7f0c00d8;
public static final int Widget_AppCompat_SearchView=0x7f0c00d9;
public static final int Widget_AppCompat_Spinner=0x7f0c00da;
public static final int Widget_AppCompat_Spinner_DropDown=0x7f0c00db;
public static final int Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f0c00dc;
public static final int Widget_AppCompat_Toolbar=0x7f0c00dd;
public static final int Widget_AppCompat_Toolbar_Button_Navigation=0x7f0c00de;
}
public static final class xml {
public static final int chart_palettes_dark_selected=0x7f050000;
public static final int chart_palettes_default_dark=0x7f050001;
public static final int chart_palettes_default_light=0x7f050002;
public static final int chart_palettes_light_selected=0x7f050003;
}
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 TelerikListViewXF.Droid:background}</code></td><td> Specifies a background drawable for the action bar.</td></tr>
<tr><td><code>{@link #ActionBar_backgroundSplit TelerikListViewXF.Droid: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 TelerikListViewXF.Droid: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 TelerikListViewXF.Droid:contentInsetEnd}</code></td><td>
Minimum inset for content views within a bar.</td></tr>
<tr><td><code>{@link #ActionBar_contentInsetLeft TelerikListViewXF.Droid:contentInsetLeft}</code></td><td>
Minimum inset for content views within a bar.</td></tr>
<tr><td><code>{@link #ActionBar_contentInsetRight TelerikListViewXF.Droid:contentInsetRight}</code></td><td>
Minimum inset for content views within a bar.</td></tr>
<tr><td><code>{@link #ActionBar_contentInsetStart TelerikListViewXF.Droid:contentInsetStart}</code></td><td>
Minimum inset for content views within a bar.</td></tr>
<tr><td><code>{@link #ActionBar_customNavigationLayout TelerikListViewXF.Droid:customNavigationLayout}</code></td><td> Specifies a layout for custom navigation.</td></tr>
<tr><td><code>{@link #ActionBar_displayOptions TelerikListViewXF.Droid:displayOptions}</code></td><td> Options affecting how the action bar is displayed.</td></tr>
<tr><td><code>{@link #ActionBar_divider TelerikListViewXF.Droid:divider}</code></td><td> Specifies the drawable used for item dividers.</td></tr>
<tr><td><code>{@link #ActionBar_elevation TelerikListViewXF.Droid:elevation}</code></td><td> Elevation for the action bar itself </td></tr>
<tr><td><code>{@link #ActionBar_height TelerikListViewXF.Droid:height}</code></td><td> Specifies a fixed height.</td></tr>
<tr><td><code>{@link #ActionBar_hideOnContentScroll TelerikListViewXF.Droid: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 TelerikListViewXF.Droid:homeAsUpIndicator}</code></td><td> Up navigation glyph </td></tr>
<tr><td><code>{@link #ActionBar_homeLayout TelerikListViewXF.Droid: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 TelerikListViewXF.Droid:icon}</code></td><td> Specifies the drawable used for the application icon.</td></tr>
<tr><td><code>{@link #ActionBar_indeterminateProgressStyle TelerikListViewXF.Droid:indeterminateProgressStyle}</code></td><td> Specifies a style resource to use for an indeterminate progress spinner.</td></tr>
<tr><td><code>{@link #ActionBar_itemPadding TelerikListViewXF.Droid: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 TelerikListViewXF.Droid:logo}</code></td><td> Specifies the drawable used for the application logo.</td></tr>
<tr><td><code>{@link #ActionBar_navigationMode TelerikListViewXF.Droid:navigationMode}</code></td><td> The type of navigation to use.</td></tr>
<tr><td><code>{@link #ActionBar_popupTheme TelerikListViewXF.Droid: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 TelerikListViewXF.Droid:progressBarPadding}</code></td><td> Specifies the horizontal padding on either end for an embedded progress bar.</td></tr>
<tr><td><code>{@link #ActionBar_progressBarStyle TelerikListViewXF.Droid:progressBarStyle}</code></td><td> Specifies a style resource to use for an embedded progress bar.</td></tr>
<tr><td><code>{@link #ActionBar_subtitle TelerikListViewXF.Droid:subtitle}</code></td><td> Specifies subtitle text used for navigationMode="normal" </td></tr>
<tr><td><code>{@link #ActionBar_subtitleTextStyle TelerikListViewXF.Droid:subtitleTextStyle}</code></td><td> Specifies a style to use for subtitle text.</td></tr>
<tr><td><code>{@link #ActionBar_title TelerikListViewXF.Droid:title}</code></td><td> Specifies title text used for navigationMode="normal" </td></tr>
<tr><td><code>{@link #ActionBar_titleTextStyle TelerikListViewXF.Droid: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_contentInsetLeft
@see #ActionBar_contentInsetRight
@see #ActionBar_contentInsetStart
@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 = {
0x7f010001, 0x7f010003, 0x7f010004, 0x7f010005,
0x7f010006, 0x7f010007, 0x7f010008, 0x7f010009,
0x7f01000a, 0x7f01000b, 0x7f01000c, 0x7f01000d,
0x7f01000e, 0x7f01000f, 0x7f010010, 0x7f010011,
0x7f010012, 0x7f010013, 0x7f010014, 0x7f010015,
0x7f010016, 0x7f010017, 0x7f010018, 0x7f010019,
0x7f01001a, 0x7f01001b, 0x7f010071
};
/**
<p>
@attr description
Specifies a background drawable for the action bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:background
*/
public static final int ActionBar_background = 10;
/**
<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 to 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>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:backgroundSplit
*/
public static final int ActionBar_backgroundSplit = 12;
/**
<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 to 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>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:backgroundStacked
*/
public static final int ActionBar_backgroundStacked = 11;
/**
<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>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:contentInsetEnd
*/
public static final int ActionBar_contentInsetEnd = 21;
/**
<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>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:contentInsetLeft
*/
public static final int ActionBar_contentInsetLeft = 22;
/**
<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>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:contentInsetRight
*/
public static final int ActionBar_contentInsetRight = 23;
/**
<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>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:contentInsetStart
*/
public static final int ActionBar_contentInsetStart = 20;
/**
<p>
@attr description
Specifies a layout for custom navigation. Overrides navigationMode.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:customNavigationLayout
*/
public static final int ActionBar_customNavigationLayout = 13;
/**
<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><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>useLogo</code></td><td>0x1</td><td></td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr>
</table>
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:displayOptions
*/
public static final int ActionBar_displayOptions = 3;
/**
<p>
@attr description
Specifies the drawable used for item dividers.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:divider
*/
public static final int ActionBar_divider = 9;
/**
<p>
@attr description
Elevation for the action bar itself
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:elevation
*/
public static final int ActionBar_elevation = 24;
/**
<p>
@attr description
Specifies a fixed height.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:height
*/
public static final int ActionBar_height = 0;
/**
<p>
@attr description
Set true to hide the action bar on a vertical nested scroll of content.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:hideOnContentScroll
*/
public static final int ActionBar_hideOnContentScroll = 19;
/**
<p>
@attr description
Up navigation glyph
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:homeAsUpIndicator
*/
public static final int ActionBar_homeAsUpIndicator = 26;
/**
<p>
@attr description
Specifies a layout to use for the "home" section of the action bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:homeLayout
*/
public static final int ActionBar_homeLayout = 14;
/**
<p>
@attr description
Specifies the drawable used for the application icon.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:icon
*/
public static final int ActionBar_icon = 7;
/**
<p>
@attr description
Specifies a style resource to use for an indeterminate progress spinner.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:indeterminateProgressStyle
*/
public static final int ActionBar_indeterminateProgressStyle = 16;
/**
<p>
@attr description
Specifies padding that should be applied to the left and right sides of
system-provided items in the bar.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:itemPadding
*/
public static final int ActionBar_itemPadding = 18;
/**
<p>
@attr description
Specifies the drawable used for the application logo.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:logo
*/
public static final int ActionBar_logo = 8;
/**
<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><code>normal</code></td><td>0</td><td> Normal static title text </td></tr>
<tr><td><code>listMode</code></td><td>1</td><td> The action bar will use a selection list for navigation. </td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td> The action bar will use a series of horizontal tabs for navigation. </td></tr>
</table>
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:navigationMode
*/
public static final int ActionBar_navigationMode = 2;
/**
<p>
@attr description
Reference to a theme that should be used to inflate popups
shown by widgets in the action bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:popupTheme
*/
public static final int ActionBar_popupTheme = 25;
/**
<p>
@attr description
Specifies the horizontal padding on either end for an embedded progress bar.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:progressBarPadding
*/
public static final int ActionBar_progressBarPadding = 17;
/**
<p>
@attr description
Specifies a style resource to use for an embedded progress bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:progressBarStyle
*/
public static final int ActionBar_progressBarStyle = 15;
/**
<p>
@attr description
Specifies subtitle text used for navigationMode="normal"
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:subtitle
*/
public static final int ActionBar_subtitle = 4;
/**
<p>
@attr description
Specifies a style to use for subtitle text.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:subtitleTextStyle
*/
public static final int ActionBar_subtitleTextStyle = 6;
/**
<p>
@attr description
Specifies title text used for navigationMode="normal"
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:title
*/
public static final int ActionBar_title = 1;
/**
<p>
@attr description
Specifies a style to use for title text.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:titleTextStyle
*/
public static final int ActionBar_titleTextStyle = 5;
/** 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.
@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.
@attr name android:minWidth
*/
public static final int ActionMenuItemView_android_minWidth = 0;
/** Size of padding on either end of a divider.
*/
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 TelerikListViewXF.Droid:background}</code></td><td> Specifies a background for the action mode bar.</td></tr>
<tr><td><code>{@link #ActionMode_backgroundSplit TelerikListViewXF.Droid:backgroundSplit}</code></td><td> Specifies a background for the split action mode bar.</td></tr>
<tr><td><code>{@link #ActionMode_closeItemLayout TelerikListViewXF.Droid: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 TelerikListViewXF.Droid:height}</code></td><td> Specifies a fixed height for the action mode bar.</td></tr>
<tr><td><code>{@link #ActionMode_subtitleTextStyle TelerikListViewXF.Droid:subtitleTextStyle}</code></td><td> Specifies a style to use for subtitle text.</td></tr>
<tr><td><code>{@link #ActionMode_titleTextStyle TelerikListViewXF.Droid: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 = {
0x7f010001, 0x7f010007, 0x7f010008, 0x7f01000c,
0x7f01000e, 0x7f01001c
};
/**
<p>
@attr description
Specifies a background for the action mode bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:background
*/
public static final int ActionMode_background = 3;
/**
<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 to 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>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:backgroundSplit
*/
public static final int ActionMode_backgroundSplit = 4;
/**
<p>
@attr description
Specifies a layout to use for the "close" item at the starting edge.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:closeItemLayout
*/
public static final int ActionMode_closeItemLayout = 5;
/**
<p>
@attr description
Specifies a fixed height for the action mode bar.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:height
*/
public static final int ActionMode_height = 0;
/**
<p>
@attr description
Specifies a style to use for subtitle text.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:subtitleTextStyle
*/
public static final int ActionMode_subtitleTextStyle = 2;
/**
<p>
@attr description
Specifies a style to use for title text.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:titleTextStyle
*/
public static final int ActionMode_titleTextStyle = 1;
/** 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 TelerikListViewXF.Droid: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 TelerikListViewXF.Droid: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 = {
0x7f01001d, 0x7f01001e
};
/**
<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>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:expandActivityOverflowButtonDrawable
*/
public static final int ActivityChooserView_expandActivityOverflowButtonDrawable = 1;
/**
<p>
@attr description
The maximal number of items initially shown in the activity list.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:initialActivityCount
*/
public static final int ActivityChooserView_initialActivityCount = 0;
/** Attributes that can be used with a AreaSeries.
<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 #AreaSeries_fillColor TelerikListViewXF.Droid:fillColor}</code></td><td></td></tr>
</table>
@see #AreaSeries_fillColor
*/
public static final int[] AreaSeries = {
0x7f0100c6
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#fillColor}
attribute's value can be found in the {@link #AreaSeries} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:fillColor
*/
public static final int AreaSeries_fillColor = 0;
/** Attributes that can be used with a Axis.
<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 #Axis_axisLabelFitMode TelerikListViewXF.Droid:axisLabelFitMode}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_axisLastLabelVisibility TelerikListViewXF.Droid:axisLastLabelVisibility}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_axisTitle TelerikListViewXF.Droid:axisTitle}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_labelColor TelerikListViewXF.Droid:labelColor}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_labelFont TelerikListViewXF.Droid:labelFont}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_labelFontStyle TelerikListViewXF.Droid:labelFontStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_labelFormat TelerikListViewXF.Droid:labelFormat}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_labelInterval TelerikListViewXF.Droid:labelInterval}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_labelMargin TelerikListViewXF.Droid:labelMargin}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_labelOffset TelerikListViewXF.Droid:labelOffset}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_labelRotationAngle TelerikListViewXF.Droid:labelRotationAngle}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_labelSize TelerikListViewXF.Droid:labelSize}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_lineThickness TelerikListViewXF.Droid:lineThickness}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_majorTickOffset TelerikListViewXF.Droid:majorTickOffset}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_showLabels TelerikListViewXF.Droid:showLabels}</code></td><td></td></tr>
<tr><td><code>{@link #Axis_tickThickness TelerikListViewXF.Droid:tickThickness}</code></td><td></td></tr>
</table>
@see #Axis_axisLabelFitMode
@see #Axis_axisLastLabelVisibility
@see #Axis_axisTitle
@see #Axis_labelColor
@see #Axis_labelFont
@see #Axis_labelFontStyle
@see #Axis_labelFormat
@see #Axis_labelInterval
@see #Axis_labelMargin
@see #Axis_labelOffset
@see #Axis_labelRotationAngle
@see #Axis_labelSize
@see #Axis_lineThickness
@see #Axis_majorTickOffset
@see #Axis_showLabels
@see #Axis_tickThickness
*/
public static final int[] Axis = {
0x7f0100bb, 0x7f0100be, 0x7f0100bf, 0x7f0100c0,
0x7f0100c1, 0x7f0100c2, 0x7f0100c3, 0x7f0100c9,
0x7f0100d2, 0x7f0100d3, 0x7f0100d4, 0x7f0100d5,
0x7f0100d6, 0x7f0100d7, 0x7f0100d8, 0x7f0100d9
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#axisLabelFitMode}
attribute's value can be found in the {@link #Axis} 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><code>None</code></td><td>0</td><td></td></tr>
<tr><td><code>Multiline</code></td><td>1</td><td></td></tr>
<tr><td><code>Rotate</code></td><td>2</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:axisLabelFitMode
*/
public static final int Axis_axisLabelFitMode = 12;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#axisLastLabelVisibility}
attribute's value can be found in the {@link #Axis} 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><code>Visible</code></td><td>0</td><td></td></tr>
<tr><td><code>Hidden</code></td><td>1</td><td></td></tr>
<tr><td><code>Clip</code></td><td>2</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:axisLastLabelVisibility
*/
public static final int Axis_axisLastLabelVisibility = 9;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#axisTitle}
attribute's value can be found in the {@link #Axis} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:axisTitle
*/
public static final int Axis_axisTitle = 13;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelColor}
attribute's value can be found in the {@link #Axis} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelColor
*/
public static final int Axis_labelColor = 1;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelFont}
attribute's value can be found in the {@link #Axis} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelFont
*/
public static final int Axis_labelFont = 5;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelFontStyle}
attribute's value can be found in the {@link #Axis} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelFontStyle
*/
public static final int Axis_labelFontStyle = 6;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelFormat}
attribute's value can be found in the {@link #Axis} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelFormat
*/
public static final int Axis_labelFormat = 7;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelInterval}
attribute's value can be found in the {@link #Axis} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelInterval
*/
public static final int Axis_labelInterval = 15;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelMargin}
attribute's value can be found in the {@link #Axis} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelMargin
*/
public static final int Axis_labelMargin = 3;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelOffset}
attribute's value can be found in the {@link #Axis} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelOffset
*/
public static final int Axis_labelOffset = 11;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelRotationAngle}
attribute's value can be found in the {@link #Axis} array.
<p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelRotationAngle
*/
public static final int Axis_labelRotationAngle = 8;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelSize}
attribute's value can be found in the {@link #Axis} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelSize
*/
public static final int Axis_labelSize = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#lineThickness}
attribute's value can be found in the {@link #Axis} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:lineThickness
*/
public static final int Axis_lineThickness = 4;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#majorTickOffset}
attribute's value can be found in the {@link #Axis} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:majorTickOffset
*/
public static final int Axis_majorTickOffset = 10;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#showLabels}
attribute's value can be found in the {@link #Axis} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:showLabels
*/
public static final int Axis_showLabels = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#tickThickness}
attribute's value can be found in the {@link #Axis} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:tickThickness
*/
public static final int Axis_tickThickness = 14;
/** Attributes that can be used with a BarSeries.
<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 #BarSeries_areBarsRounded TelerikListViewXF.Droid:areBarsRounded}</code></td><td></td></tr>
<tr><td><code>{@link #BarSeries_fillColor TelerikListViewXF.Droid:fillColor}</code></td><td></td></tr>
<tr><td><code>{@link #BarSeries_roundBarsRadius TelerikListViewXF.Droid:roundBarsRadius}</code></td><td></td></tr>
<tr><td><code>{@link #BarSeries_strokeColor TelerikListViewXF.Droid:strokeColor}</code></td><td></td></tr>
<tr><td><code>{@link #BarSeries_strokeWidth TelerikListViewXF.Droid:strokeWidth}</code></td><td></td></tr>
</table>
@see #BarSeries_areBarsRounded
@see #BarSeries_fillColor
@see #BarSeries_roundBarsRadius
@see #BarSeries_strokeColor
@see #BarSeries_strokeWidth
*/
public static final int[] BarSeries = {
0x7f0100c4, 0x7f0100c5, 0x7f0100c6, 0x7f0100c7,
0x7f0100c8
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#areBarsRounded}
attribute's value can be found in the {@link #BarSeries} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:areBarsRounded
*/
public static final int BarSeries_areBarsRounded = 3;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#fillColor}
attribute's value can be found in the {@link #BarSeries} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:fillColor
*/
public static final int BarSeries_fillColor = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#roundBarsRadius}
attribute's value can be found in the {@link #BarSeries} array.
<p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:roundBarsRadius
*/
public static final int BarSeries_roundBarsRadius = 4;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#strokeColor}
attribute's value can be found in the {@link #BarSeries} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:strokeColor
*/
public static final int BarSeries_strokeColor = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#strokeWidth}
attribute's value can be found in the {@link #BarSeries} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:strokeWidth
*/
public static final int BarSeries_strokeWidth = 1;
/** Attributes that can be used with a CalendarCellState.
<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 #CalendarCellState_state_calendar_cell_today TelerikListViewXF.Droid:state_calendar_cell_today}</code></td><td></td></tr>
</table>
@see #CalendarCellState_state_calendar_cell_today
*/
public static final int[] CalendarCellState = {
0x7f0100af
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#state_calendar_cell_today}
attribute's value can be found in the {@link #CalendarCellState} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:state_calendar_cell_today
*/
public static final int CalendarCellState_state_calendar_cell_today = 0;
/** Attributes that can be used with a CalendarTheme.
<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 #CalendarTheme_calendarStyle TelerikListViewXF.Droid:calendarStyle}</code></td><td></td></tr>
</table>
@see #CalendarTheme_calendarStyle
*/
public static final int[] CalendarTheme = {
0x7f0100b9
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#calendarStyle}
attribute's value can be found in the {@link #CalendarTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:calendarStyle
*/
public static final int CalendarTheme_calendarStyle = 0;
/** Attributes that can be used with a CartesianAxis.
<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 #CartesianAxis_horizontalLocation TelerikListViewXF.Droid:horizontalLocation}</code></td><td></td></tr>
<tr><td><code>{@link #CartesianAxis_verticalLocation TelerikListViewXF.Droid:verticalLocation}</code></td><td></td></tr>
</table>
@see #CartesianAxis_horizontalLocation
@see #CartesianAxis_verticalLocation
*/
public static final int[] CartesianAxis = {
0x7f0100dc, 0x7f0100dd
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#horizontalLocation}
attribute's value can be found in the {@link #CartesianAxis} 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><code>Left</code></td><td>0</td><td></td></tr>
<tr><td><code>Right</code></td><td>1</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:horizontalLocation
*/
public static final int CartesianAxis_horizontalLocation = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#verticalLocation}
attribute's value can be found in the {@link #CartesianAxis} 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><code>Bottom</code></td><td>0</td><td></td></tr>
<tr><td><code>Top</code></td><td>1</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:verticalLocation
*/
public static final int CartesianAxis_verticalLocation = 1;
/** Attributes that can be used with a CartesianCustomAnnotation.
<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 #CartesianCustomAnnotation_content TelerikListViewXF.Droid:content}</code></td><td></td></tr>
<tr><td><code>{@link #CartesianCustomAnnotation_horizontalAlignment TelerikListViewXF.Droid:horizontalAlignment}</code></td><td></td></tr>
<tr><td><code>{@link #CartesianCustomAnnotation_horizontalOffset TelerikListViewXF.Droid:horizontalOffset}</code></td><td></td></tr>
<tr><td><code>{@link #CartesianCustomAnnotation_verticalAlignment TelerikListViewXF.Droid:verticalAlignment}</code></td><td></td></tr>
<tr><td><code>{@link #CartesianCustomAnnotation_verticalOffset TelerikListViewXF.Droid:verticalOffset}</code></td><td></td></tr>
</table>
@see #CartesianCustomAnnotation_content
@see #CartesianCustomAnnotation_horizontalAlignment
@see #CartesianCustomAnnotation_horizontalOffset
@see #CartesianCustomAnnotation_verticalAlignment
@see #CartesianCustomAnnotation_verticalOffset
*/
public static final int[] CartesianCustomAnnotation = {
0x7f0100e4, 0x7f0100e5, 0x7f0100e6, 0x7f0100e7,
0x7f0100e8
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#content}
attribute's value can be found in the {@link #CartesianCustomAnnotation} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:content
*/
public static final int CartesianCustomAnnotation_content = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#horizontalAlignment}
attribute's value can be found in the {@link #CartesianCustomAnnotation} 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><code>left</code></td><td>0</td><td></td></tr>
<tr><td><code>center</code></td><td>1</td><td></td></tr>
<tr><td><code>right</code></td><td>2</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:horizontalAlignment
*/
public static final int CartesianCustomAnnotation_horizontalAlignment = 3;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#horizontalOffset}
attribute's value can be found in the {@link #CartesianCustomAnnotation} array.
<p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:horizontalOffset
*/
public static final int CartesianCustomAnnotation_horizontalOffset = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#verticalAlignment}
attribute's value can be found in the {@link #CartesianCustomAnnotation} 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><code>top</code></td><td>0</td><td></td></tr>
<tr><td><code>bottom</code></td><td>1</td><td></td></tr>
<tr><td><code>center</code></td><td>2</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:verticalAlignment
*/
public static final int CartesianCustomAnnotation_verticalAlignment = 4;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#verticalOffset}
attribute's value can be found in the {@link #CartesianCustomAnnotation} array.
<p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:verticalOffset
*/
public static final int CartesianCustomAnnotation_verticalOffset = 1;
/** Attributes that can be used with a CartesianPlotBandAnnotation.
<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 #CartesianPlotBandAnnotation_fillColor TelerikListViewXF.Droid:fillColor}</code></td><td></td></tr>
</table>
@see #CartesianPlotBandAnnotation_fillColor
*/
public static final int[] CartesianPlotBandAnnotation = {
0x7f0100c6
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#fillColor}
attribute's value can be found in the {@link #CartesianPlotBandAnnotation} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:fillColor
*/
public static final int CartesianPlotBandAnnotation_fillColor = 0;
/** Attributes that can be used with a CartesianStrokedAnnotation.
<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 #CartesianStrokedAnnotation_label TelerikListViewXF.Droid:label}</code></td><td></td></tr>
<tr><td><code>{@link #CartesianStrokedAnnotation_strokeColor TelerikListViewXF.Droid:strokeColor}</code></td><td></td></tr>
<tr><td><code>{@link #CartesianStrokedAnnotation_strokeWidth TelerikListViewXF.Droid:strokeWidth}</code></td><td></td></tr>
</table>
@see #CartesianStrokedAnnotation_label
@see #CartesianStrokedAnnotation_strokeColor
@see #CartesianStrokedAnnotation_strokeWidth
*/
public static final int[] CartesianStrokedAnnotation = {
0x7f0100c4, 0x7f0100c5, 0x7f0100e3
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#label}
attribute's value can be found in the {@link #CartesianStrokedAnnotation} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:label
*/
public static final int CartesianStrokedAnnotation_label = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#strokeColor}
attribute's value can be found in the {@link #CartesianStrokedAnnotation} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:strokeColor
*/
public static final int CartesianStrokedAnnotation_strokeColor = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#strokeWidth}
attribute's value can be found in the {@link #CartesianStrokedAnnotation} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:strokeWidth
*/
public static final int CartesianStrokedAnnotation_strokeWidth = 1;
/** Attributes that can be used with a CategoricalAxis.
<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 #CategoricalAxis_gapLength TelerikListViewXF.Droid:gapLength}</code></td><td></td></tr>
<tr><td><code>{@link #CategoricalAxis_majorTickInterval TelerikListViewXF.Droid:majorTickInterval}</code></td><td></td></tr>
<tr><td><code>{@link #CategoricalAxis_plotMode TelerikListViewXF.Droid:plotMode}</code></td><td></td></tr>
</table>
@see #CategoricalAxis_gapLength
@see #CategoricalAxis_majorTickInterval
@see #CategoricalAxis_plotMode
*/
public static final int[] CategoricalAxis = {
0x7f0100bc, 0x7f0100bd, 0x7f0100db
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#gapLength}
attribute's value can be found in the {@link #CategoricalAxis} array.
<p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:gapLength
*/
public static final int CategoricalAxis_gapLength = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#majorTickInterval}
attribute's value can be found in the {@link #CategoricalAxis} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:majorTickInterval
*/
public static final int CategoricalAxis_majorTickInterval = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#plotMode}
attribute's value can be found in the {@link #CategoricalAxis} 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><code>BetweenTicks</code></td><td>0</td><td></td></tr>
<tr><td><code>OnTicks</code></td><td>1</td><td></td></tr>
<tr><td><code>OnTicksPadded</code></td><td>2</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:plotMode
*/
public static final int CategoricalAxis_plotMode = 1;
/** Attributes that can be used with a CategoricalSeries.
<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 #CategoricalSeries_combineMode TelerikListViewXF.Droid:combineMode}</code></td><td></td></tr>
</table>
@see #CategoricalSeries_combineMode
*/
public static final int[] CategoricalSeries = {
0x7f0100d1
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#combineMode}
attribute's value can be found in the {@link #CategoricalSeries} 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><code>None</code></td><td>0</td><td></td></tr>
<tr><td><code>Cluster</code></td><td>1</td><td></td></tr>
<tr><td><code>Stack</code></td><td>2</td><td></td></tr>
<tr><td><code>Stack100</code></td><td>3</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:combineMode
*/
public static final int CategoricalSeries_combineMode = 0;
/** Attributes that can be used with a CategoricalStrokedSeries.
<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 #CategoricalStrokedSeries_strokeColor TelerikListViewXF.Droid:strokeColor}</code></td><td></td></tr>
<tr><td><code>{@link #CategoricalStrokedSeries_strokeWidth TelerikListViewXF.Droid:strokeWidth}</code></td><td></td></tr>
</table>
@see #CategoricalStrokedSeries_strokeColor
@see #CategoricalStrokedSeries_strokeWidth
*/
public static final int[] CategoricalStrokedSeries = {
0x7f0100c4, 0x7f0100c5
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#strokeColor}
attribute's value can be found in the {@link #CategoricalStrokedSeries} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:strokeColor
*/
public static final int CategoricalStrokedSeries_strokeColor = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#strokeWidth}
attribute's value can be found in the {@link #CategoricalStrokedSeries} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:strokeWidth
*/
public static final int CategoricalStrokedSeries_strokeWidth = 1;
/** Attributes that can be used with a ChartAnnotation.
<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 #ChartAnnotation_clipToPlotArea TelerikListViewXF.Droid:clipToPlotArea}</code></td><td></td></tr>
</table>
@see #ChartAnnotation_clipToPlotArea
*/
public static final int[] ChartAnnotation = {
0x7f0100ba
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#clipToPlotArea}
attribute's value can be found in the {@link #ChartAnnotation} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:clipToPlotArea
*/
public static final int ChartAnnotation_clipToPlotArea = 0;
/** Attributes that can be used with a ChartSeries.
<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 #ChartSeries_clipToPlotArea TelerikListViewXF.Droid:clipToPlotArea}</code></td><td></td></tr>
<tr><td><code>{@link #ChartSeries_labelColor TelerikListViewXF.Droid:labelColor}</code></td><td></td></tr>
<tr><td><code>{@link #ChartSeries_labelFont TelerikListViewXF.Droid:labelFont}</code></td><td></td></tr>
<tr><td><code>{@link #ChartSeries_labelFontStyle TelerikListViewXF.Droid:labelFontStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartSeries_labelFormat TelerikListViewXF.Droid:labelFormat}</code></td><td></td></tr>
<tr><td><code>{@link #ChartSeries_labelSize TelerikListViewXF.Droid:labelSize}</code></td><td></td></tr>
<tr><td><code>{@link #ChartSeries_showLabels TelerikListViewXF.Droid:showLabels}</code></td><td></td></tr>
</table>
@see #ChartSeries_clipToPlotArea
@see #ChartSeries_labelColor
@see #ChartSeries_labelFont
@see #ChartSeries_labelFontStyle
@see #ChartSeries_labelFormat
@see #ChartSeries_labelSize
@see #ChartSeries_showLabels
*/
public static final int[] ChartSeries = {
0x7f0100ba, 0x7f0100bb, 0x7f0100be, 0x7f0100bf,
0x7f0100c2, 0x7f0100c3, 0x7f0100c9
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#clipToPlotArea}
attribute's value can be found in the {@link #ChartSeries} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:clipToPlotArea
*/
public static final int ChartSeries_clipToPlotArea = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelColor}
attribute's value can be found in the {@link #ChartSeries} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelColor
*/
public static final int ChartSeries_labelColor = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelFont}
attribute's value can be found in the {@link #ChartSeries} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelFont
*/
public static final int ChartSeries_labelFont = 4;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelFontStyle}
attribute's value can be found in the {@link #ChartSeries} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelFontStyle
*/
public static final int ChartSeries_labelFontStyle = 5;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelFormat}
attribute's value can be found in the {@link #ChartSeries} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelFormat
*/
public static final int ChartSeries_labelFormat = 6;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#labelSize}
attribute's value can be found in the {@link #ChartSeries} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:labelSize
*/
public static final int ChartSeries_labelSize = 3;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#showLabels}
attribute's value can be found in the {@link #ChartSeries} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:showLabels
*/
public static final int ChartSeries_showLabels = 1;
/** Attributes that can be used with a ChartTheme.
<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 #ChartTheme_AreaSeriesStyle TelerikListViewXF.Droid:AreaSeriesStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_AxisStyle TelerikListViewXF.Droid:AxisStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_BarSeriesStyle TelerikListViewXF.Droid:BarSeriesStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_CartesianAxisStyle TelerikListViewXF.Droid:CartesianAxisStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_CartesianCustomAnnotationStyle TelerikListViewXF.Droid:CartesianCustomAnnotationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_CartesianPlotBandAnnotationStyle TelerikListViewXF.Droid:CartesianPlotBandAnnotationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_CartesianStrokedAnnotationStyle TelerikListViewXF.Droid:CartesianStrokedAnnotationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_CategoricalAxisStyle TelerikListViewXF.Droid:CategoricalAxisStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_CategoricalSeriesStyle TelerikListViewXF.Droid:CategoricalSeriesStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_CategoricalStrokedSeriesStyle TelerikListViewXF.Droid:CategoricalStrokedSeriesStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_ChartAnnotationStyle TelerikListViewXF.Droid:ChartAnnotationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_ChartSeriesStyle TelerikListViewXF.Droid:ChartSeriesStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_DateTimeCategoricalAxisStyle TelerikListViewXF.Droid:DateTimeCategoricalAxisStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_DateTimeContinuousAxisStyle TelerikListViewXF.Droid:DateTimeContinuousAxisStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_LineAxisStyle TelerikListViewXF.Droid:LineAxisStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_RadChartBaseStyle TelerikListViewXF.Droid:RadChartBaseStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_RangeBarSeriesStyle TelerikListViewXF.Droid:RangeBarSeriesStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ChartTheme_TestBarSeriesStyle TelerikListViewXF.Droid:TestBarSeriesStyle}</code></td><td></td></tr>
</table>
@see #ChartTheme_AreaSeriesStyle
@see #ChartTheme_AxisStyle
@see #ChartTheme_BarSeriesStyle
@see #ChartTheme_CartesianAxisStyle
@see #ChartTheme_CartesianCustomAnnotationStyle
@see #ChartTheme_CartesianPlotBandAnnotationStyle
@see #ChartTheme_CartesianStrokedAnnotationStyle
@see #ChartTheme_CategoricalAxisStyle
@see #ChartTheme_CategoricalSeriesStyle
@see #ChartTheme_CategoricalStrokedSeriesStyle
@see #ChartTheme_ChartAnnotationStyle
@see #ChartTheme_ChartSeriesStyle
@see #ChartTheme_DateTimeCategoricalAxisStyle
@see #ChartTheme_DateTimeContinuousAxisStyle
@see #ChartTheme_LineAxisStyle
@see #ChartTheme_RadChartBaseStyle
@see #ChartTheme_RangeBarSeriesStyle
@see #ChartTheme_TestBarSeriesStyle
*/
public static final int[] ChartTheme = {
0x7f0100e9, 0x7f0100ea, 0x7f0100eb, 0x7f0100ec,
0x7f0100ed, 0x7f0100ee, 0x7f0100ef, 0x7f0100f0,
0x7f0100f1, 0x7f0100f2, 0x7f0100f3, 0x7f0100f4,
0x7f0100f5, 0x7f0100f6, 0x7f0100f7, 0x7f0100f8,
0x7f0100f9, 0x7f0100fa
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#AreaSeriesStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:AreaSeriesStyle
*/
public static final int ChartTheme_AreaSeriesStyle = 12;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#AxisStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:AxisStyle
*/
public static final int ChartTheme_AxisStyle = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#BarSeriesStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:BarSeriesStyle
*/
public static final int ChartTheme_BarSeriesStyle = 8;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#CartesianAxisStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:CartesianAxisStyle
*/
public static final int ChartTheme_CartesianAxisStyle = 1;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#CartesianCustomAnnotationStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:CartesianCustomAnnotationStyle
*/
public static final int ChartTheme_CartesianCustomAnnotationStyle = 16;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#CartesianPlotBandAnnotationStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:CartesianPlotBandAnnotationStyle
*/
public static final int ChartTheme_CartesianPlotBandAnnotationStyle = 15;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#CartesianStrokedAnnotationStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:CartesianStrokedAnnotationStyle
*/
public static final int ChartTheme_CartesianStrokedAnnotationStyle = 14;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#CategoricalAxisStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:CategoricalAxisStyle
*/
public static final int ChartTheme_CategoricalAxisStyle = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#CategoricalSeriesStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:CategoricalSeriesStyle
*/
public static final int ChartTheme_CategoricalSeriesStyle = 10;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#CategoricalStrokedSeriesStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:CategoricalStrokedSeriesStyle
*/
public static final int ChartTheme_CategoricalStrokedSeriesStyle = 11;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#ChartAnnotationStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:ChartAnnotationStyle
*/
public static final int ChartTheme_ChartAnnotationStyle = 13;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#ChartSeriesStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:ChartSeriesStyle
*/
public static final int ChartTheme_ChartSeriesStyle = 6;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#DateTimeCategoricalAxisStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:DateTimeCategoricalAxisStyle
*/
public static final int ChartTheme_DateTimeCategoricalAxisStyle = 3;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#DateTimeContinuousAxisStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:DateTimeContinuousAxisStyle
*/
public static final int ChartTheme_DateTimeContinuousAxisStyle = 4;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#LineAxisStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:LineAxisStyle
*/
public static final int ChartTheme_LineAxisStyle = 7;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#RadChartBaseStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:RadChartBaseStyle
*/
public static final int ChartTheme_RadChartBaseStyle = 5;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#RangeBarSeriesStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:RangeBarSeriesStyle
*/
public static final int ChartTheme_RangeBarSeriesStyle = 9;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#TestBarSeriesStyle}
attribute's value can be found in the {@link #ChartTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:TestBarSeriesStyle
*/
public static final int ChartTheme_TestBarSeriesStyle = 17;
/** Attributes that can be used with a CompatTextView.
<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 #CompatTextView_textAllCaps TelerikListViewXF.Droid:textAllCaps}</code></td><td> Present the text in ALL CAPS.</td></tr>
</table>
@see #CompatTextView_textAllCaps
*/
public static final int[] CompatTextView = {
0x7f01001f
};
/**
<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 to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:textAllCaps
*/
public static final int CompatTextView_textAllCaps = 0;
/** Attributes that can be used with a DateTimeCategoricalAxis.
<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 #DateTimeCategoricalAxis_dateFormat TelerikListViewXF.Droid:dateFormat}</code></td><td></td></tr>
<tr><td><code>{@link #DateTimeCategoricalAxis_dateTimeComponent TelerikListViewXF.Droid:dateTimeComponent}</code></td><td></td></tr>
</table>
@see #DateTimeCategoricalAxis_dateFormat
@see #DateTimeCategoricalAxis_dateTimeComponent
*/
public static final int[] DateTimeCategoricalAxis = {
0x7f0100de, 0x7f0100df
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#dateFormat}
attribute's value can be found in the {@link #DateTimeCategoricalAxis} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:dateFormat
*/
public static final int DateTimeCategoricalAxis_dateFormat = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#dateTimeComponent}
attribute's value can be found in the {@link #DateTimeCategoricalAxis} 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><code>Year</code></td><td>0</td><td></td></tr>
<tr><td><code>Quarter</code></td><td>1</td><td></td></tr>
<tr><td><code>Month</code></td><td>2</td><td></td></tr>
<tr><td><code>Week</code></td><td>3</td><td></td></tr>
<tr><td><code>Hour</code></td><td>4</td><td></td></tr>
<tr><td><code>Minute</code></td><td>5</td><td></td></tr>
<tr><td><code>Second</code></td><td>6</td><td></td></tr>
<tr><td><code>Millisecond</code></td><td>7</td><td></td></tr>
<tr><td><code>Date</code></td><td>8</td><td></td></tr>
<tr><td><code>TimeOfDay</code></td><td>9</td><td></td></tr>
<tr><td><code>Day</code></td><td>10</td><td></td></tr>
<tr><td><code>DayOfWeek</code></td><td>11</td><td></td></tr>
<tr><td><code>DayOfYear</code></td><td>12</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:dateTimeComponent
*/
public static final int DateTimeCategoricalAxis_dateTimeComponent = 1;
/** Attributes that can be used with a DateTimeContinuousAxis.
<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 #DateTimeContinuousAxis_gapLength TelerikListViewXF.Droid:gapLength}</code></td><td></td></tr>
<tr><td><code>{@link #DateTimeContinuousAxis_majorStep TelerikListViewXF.Droid:majorStep}</code></td><td></td></tr>
<tr><td><code>{@link #DateTimeContinuousAxis_majorStepUnit TelerikListViewXF.Droid:majorStepUnit}</code></td><td></td></tr>
<tr><td><code>{@link #DateTimeContinuousAxis_maximumTicks TelerikListViewXF.Droid:maximumTicks}</code></td><td></td></tr>
<tr><td><code>{@link #DateTimeContinuousAxis_plotMode TelerikListViewXF.Droid:plotMode}</code></td><td></td></tr>
</table>
@see #DateTimeContinuousAxis_gapLength
@see #DateTimeContinuousAxis_majorStep
@see #DateTimeContinuousAxis_majorStepUnit
@see #DateTimeContinuousAxis_maximumTicks
@see #DateTimeContinuousAxis_plotMode
*/
public static final int[] DateTimeContinuousAxis = {
0x7f0100bc, 0x7f0100bd, 0x7f0100e0, 0x7f0100e1,
0x7f0100e2
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#gapLength}
attribute's value can be found in the {@link #DateTimeContinuousAxis} array.
<p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:gapLength
*/
public static final int DateTimeContinuousAxis_gapLength = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#majorStep}
attribute's value can be found in the {@link #DateTimeContinuousAxis} array.
<p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:majorStep
*/
public static final int DateTimeContinuousAxis_majorStep = 3;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#majorStepUnit}
attribute's value can be found in the {@link #DateTimeContinuousAxis} 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><code>Year</code></td><td>0</td><td></td></tr>
<tr><td><code>Quarter</code></td><td>1</td><td></td></tr>
<tr><td><code>Month</code></td><td>2</td><td></td></tr>
<tr><td><code>Week</code></td><td>3</td><td></td></tr>
<tr><td><code>Day</code></td><td>4</td><td></td></tr>
<tr><td><code>Hour</code></td><td>5</td><td></td></tr>
<tr><td><code>Minute</code></td><td>6</td><td></td></tr>
<tr><td><code>Second</code></td><td>7</td><td></td></tr>
<tr><td><code>Millisecond</code></td><td>8</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:majorStepUnit
*/
public static final int DateTimeContinuousAxis_majorStepUnit = 4;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#maximumTicks}
attribute's value can be found in the {@link #DateTimeContinuousAxis} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:maximumTicks
*/
public static final int DateTimeContinuousAxis_maximumTicks = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#plotMode}
attribute's value can be found in the {@link #DateTimeContinuousAxis} 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><code>BetweenTicks</code></td><td>0</td><td></td></tr>
<tr><td><code>OnTicks</code></td><td>1</td><td></td></tr>
<tr><td><code>OnTicksPadded</code></td><td>2</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:plotMode
*/
public static final int DateTimeContinuousAxis_plotMode = 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_barSize TelerikListViewXF.Droid:barSize}</code></td><td> The size of the bars when they are parallel to each other </td></tr>
<tr><td><code>{@link #DrawerArrowToggle_color TelerikListViewXF.Droid:color}</code></td><td> The drawing color for the bars </td></tr>
<tr><td><code>{@link #DrawerArrowToggle_drawableSize TelerikListViewXF.Droid:drawableSize}</code></td><td> The total size of the drawable </td></tr>
<tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars TelerikListViewXF.Droid:gapBetweenBars}</code></td><td> The max gap between the bars when they are parallel to each other </td></tr>
<tr><td><code>{@link #DrawerArrowToggle_middleBarArrowSize TelerikListViewXF.Droid:middleBarArrowSize}</code></td><td> The size of the middle bar when top and bottom bars merge into middle bar to form an arrow </td></tr>
<tr><td><code>{@link #DrawerArrowToggle_spinBars TelerikListViewXF.Droid:spinBars}</code></td><td> Whether bars should rotate or not during transition </td></tr>
<tr><td><code>{@link #DrawerArrowToggle_thickness TelerikListViewXF.Droid:thickness}</code></td><td> The thickness (stroke size) for the bar paint </td></tr>
<tr><td><code>{@link #DrawerArrowToggle_topBottomBarArrowSize TelerikListViewXF.Droid:topBottomBarArrowSize}</code></td><td> The size of the top and bottom bars when they merge to the middle bar to form an arrow </td></tr>
</table>
@see #DrawerArrowToggle_barSize
@see #DrawerArrowToggle_color
@see #DrawerArrowToggle_drawableSize
@see #DrawerArrowToggle_gapBetweenBars
@see #DrawerArrowToggle_middleBarArrowSize
@see #DrawerArrowToggle_spinBars
@see #DrawerArrowToggle_thickness
@see #DrawerArrowToggle_topBottomBarArrowSize
*/
public static final int[] DrawerArrowToggle = {
0x7f010020, 0x7f010021, 0x7f010022, 0x7f010023,
0x7f010024, 0x7f010025, 0x7f010026, 0x7f010027
};
/**
<p>
@attr description
The size of the bars when they are parallel to each other
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:barSize
*/
public static final int DrawerArrowToggle_barSize = 6;
/**
<p>
@attr description
The drawing color for the bars
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:color
*/
public static final int DrawerArrowToggle_color = 0;
/**
<p>
@attr description
The total size of the drawable
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:drawableSize
*/
public static final int DrawerArrowToggle_drawableSize = 2;
/**
<p>
@attr description
The max gap between the bars when they are parallel to each other
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:gapBetweenBars
*/
public static final int DrawerArrowToggle_gapBetweenBars = 3;
/**
<p>
@attr description
The size of the middle bar when top and bottom bars merge into middle bar to form an arrow
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:middleBarArrowSize
*/
public static final int DrawerArrowToggle_middleBarArrowSize = 5;
/**
<p>
@attr description
Whether bars should rotate or not during transition
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:spinBars
*/
public static final int DrawerArrowToggle_spinBars = 1;
/**
<p>
@attr description
The thickness (stroke size) for the bar paint
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:thickness
*/
public static final int DrawerArrowToggle_thickness = 7;
/**
<p>
@attr description
The size of the top and bottom bars when they merge to the middle bar to form an arrow
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:topBottomBarArrowSize
*/
public static final int DrawerArrowToggle_topBottomBarArrowSize = 4;
/** Attributes that can be used with a LineAxis.
<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 #LineAxis_lineColor TelerikListViewXF.Droid:lineColor}</code></td><td></td></tr>
</table>
@see #LineAxis_lineColor
*/
public static final int[] LineAxis = {
0x7f0100da
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#lineColor}
attribute's value can be found in the {@link #LineAxis} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:lineColor
*/
public static final int LineAxis_lineColor = 0;
/** Attributes that can be used with a LinearLayoutCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAligned android:baselineAligned}</code></td><td>
When set to false, prevents the layout from aligning its children's
baselines.</td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAlignedChildIndex android:baselineAlignedChildIndex}</code></td><td>
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).</td></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>
Should the layout be a column or a row? Use "horizontal"
for a row, "vertical" for a column.</td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_weightSum android:weightSum}</code></td><td>
Defines the maximum weight sum.</td></tr>
<tr><td><code>{@link #LinearLayoutCompat_divider TelerikListViewXF.Droid:divider}</code></td><td> Drawable to use as a vertical divider between buttons.</td></tr>
<tr><td><code>{@link #LinearLayoutCompat_dividerPadding TelerikListViewXF.Droid:dividerPadding}</code></td><td> Size of padding on either end of a divider.</td></tr>
<tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild TelerikListViewXF.Droid: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 TelerikListViewXF.Droid:showDividers}</code></td><td> Setting for which dividers to show.</td></tr>
</table>
@see #LinearLayoutCompat_android_baselineAligned
@see #LinearLayoutCompat_android_baselineAlignedChildIndex
@see #LinearLayoutCompat_android_gravity
@see #LinearLayoutCompat_android_orientation
@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, 0x7f01000b, 0x7f010028, 0x7f010029,
0x7f01002a
};
/**
<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>This corresponds to the global attribute
resource symbol {@link android.R.attr#baselineAligned}.
@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>This corresponds to the global attribute
resource symbol {@link android.R.attr#baselineAlignedChildIndex}.
@attr name android:baselineAlignedChildIndex
*/
public static final int LinearLayoutCompat_android_baselineAlignedChildIndex = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@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>This corresponds to the global attribute
resource symbol {@link android.R.attr#orientation}.
@attr name android:orientation
*/
public static final int LinearLayoutCompat_android_orientation = 1;
/**
<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>This corresponds to the global attribute
resource symbol {@link android.R.attr#weightSum}.
@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>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:divider
*/
public static final int LinearLayoutCompat_divider = 5;
/**
<p>
@attr description
Size of padding on either end of a divider.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:dividerPadding
*/
public static final int LinearLayoutCompat_dividerPadding = 8;
/**
<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>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:measureWithLargestChild
*/
public static final int LinearLayoutCompat_measureWithLargestChild = 6;
/**
<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><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>beginning</code></td><td>1</td><td></td></tr>
<tr><td><code>middle</code></td><td>2</td><td></td></tr>
<tr><td><code>end</code></td><td>4</td><td></td></tr>
</table>
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:showDividers
*/
public static final int LinearLayoutCompat_showDividers = 7;
/** 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_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>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_width android:layout_width}</code></td><td></td></tr>
</table>
@see #LinearLayoutCompat_Layout_android_layout_gravity
@see #LinearLayoutCompat_Layout_android_layout_height
@see #LinearLayoutCompat_Layout_android_layout_weight
@see #LinearLayoutCompat_Layout_android_layout_width
*/
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.
@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_height}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@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.
@attr name android:layout_weight
*/
public static final int LinearLayoutCompat_Layout_android_layout_weight = 3;
/**
<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.
@attr name android:layout_width
*/
public static final int LinearLayoutCompat_Layout_android_layout_width = 1;
/** 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> Amount of pixels by which the drop down should be offset horizontally.</td></tr>
<tr><td><code>{@link #ListPopupWindow_android_dropDownVerticalOffset android:dropDownVerticalOffset}</code></td><td> Amount of pixels by which the drop down should be offset vertically.</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>This corresponds to the global attribute
resource symbol {@link android.R.attr#dropDownHorizontalOffset}.
@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>This corresponds to the global attribute
resource symbol {@link android.R.attr#dropDownVerticalOffset}.
@attr name android:dropDownVerticalOffset
*/
public static final int ListPopupWindow_android_dropDownVerticalOffset = 1;
/** Attributes that can be used with a MenuGroup.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuGroup_android_checkableBehavior android:checkableBehavior}</code></td><td> Whether the items are capable of displaying a check mark.</td></tr>
<tr><td><code>{@link #MenuGroup_android_enabled android:enabled}</code></td><td> Whether the items are enabled.</td></tr>
<tr><td><code>{@link #MenuGroup_android_id android:id}</code></td><td> The ID of the group.</td></tr>
<tr><td><code>{@link #MenuGroup_android_menuCategory android:menuCategory}</code></td><td>
The category applied to all items within this group.</td></tr>
<tr><td><code>{@link #MenuGroup_android_orderInCategory android:orderInCategory}</code></td><td>
The order within the category applied to all items within this group.</td></tr>
<tr><td><code>{@link #MenuGroup_android_visible android:visible}</code></td><td> Whether the items are shown/visible.</td></tr>
</table>
@see #MenuGroup_android_checkableBehavior
@see #MenuGroup_android_enabled
@see #MenuGroup_android_id
@see #MenuGroup_android_menuCategory
@see #MenuGroup_android_orderInCategory
@see #MenuGroup_android_visible
*/
public static final int[] MenuGroup = {
0x0101000e, 0x010100d0, 0x01010194, 0x010101de,
0x010101df, 0x010101e0
};
/**
<p>
@attr description
Whether the items are capable of displaying a check mark.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#checkableBehavior}.
@attr name android:checkableBehavior
*/
public static final int MenuGroup_android_checkableBehavior = 5;
/**
<p>
@attr description
Whether the items are enabled.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#enabled}.
@attr name android:enabled
*/
public static final int MenuGroup_android_enabled = 0;
/**
<p>
@attr description
The ID of the group.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#id}.
@attr name android:id
*/
public static final int MenuGroup_android_id = 1;
/**
<p>
@attr description
The category applied to all items within this group.
(This will be or'ed with the orderInCategory attribute.)
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#menuCategory}.
@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>This corresponds to the global attribute
resource symbol {@link android.R.attr#orderInCategory}.
@attr name android:orderInCategory
*/
public static final int MenuGroup_android_orderInCategory = 4;
/**
<p>
@attr description
Whether the items are shown/visible.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#visible}.
@attr name android:visible
*/
public static final int MenuGroup_android_visible = 2;
/** 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_actionLayout TelerikListViewXF.Droid:actionLayout}</code></td><td>
An optional layout to be used as an action view.</td></tr>
<tr><td><code>{@link #MenuItem_actionProviderClass TelerikListViewXF.Droid: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 TelerikListViewXF.Droid: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_android_alphabeticShortcut android:alphabeticShortcut}</code></td><td>
The alphabetic shortcut key.</td></tr>
<tr><td><code>{@link #MenuItem_android_checkable android:checkable}</code></td><td> Whether the item is capable of displaying a check mark.</td></tr>
<tr><td><code>{@link #MenuItem_android_checked android:checked}</code></td><td>
Whether the item is checked.</td></tr>
<tr><td><code>{@link #MenuItem_android_enabled android:enabled}</code></td><td> Whether the item is enabled.</td></tr>
<tr><td><code>{@link #MenuItem_android_icon android:icon}</code></td><td>
The icon associated with this item.</td></tr>
<tr><td><code>{@link #MenuItem_android_id android:id}</code></td><td> The ID of the item.</td></tr>
<tr><td><code>{@link #MenuItem_android_menuCategory android:menuCategory}</code></td><td>
The category applied to the item.</td></tr>
<tr><td><code>{@link #MenuItem_android_numericShortcut android:numericShortcut}</code></td><td>
The numeric shortcut key.</td></tr>
<tr><td><code>{@link #MenuItem_android_onClick android:onClick}</code></td><td>
Name of a method on the Context used to inflate the menu that will be
called when the item is clicked.</td></tr>
<tr><td><code>{@link #MenuItem_android_orderInCategory android:orderInCategory}</code></td><td>
The order within the category applied to the item.</td></tr>
<tr><td><code>{@link #MenuItem_android_title android:title}</code></td><td> The title associated with the item.</td></tr>
<tr><td><code>{@link #MenuItem_android_titleCondensed android:titleCondensed}</code></td><td>
The condensed title associated with the item.</td></tr>
<tr><td><code>{@link #MenuItem_android_visible android:visible}</code></td><td> Whether the item is shown/visible.</td></tr>
<tr><td><code>{@link #MenuItem_showAsAction TelerikListViewXF.Droid:showAsAction}</code></td><td> How this item should display in the Action Bar, if present.</td></tr>
</table>
@see #MenuItem_actionLayout
@see #MenuItem_actionProviderClass
@see #MenuItem_actionViewClass
@see #MenuItem_android_alphabeticShortcut
@see #MenuItem_android_checkable
@see #MenuItem_android_checked
@see #MenuItem_android_enabled
@see #MenuItem_android_icon
@see #MenuItem_android_id
@see #MenuItem_android_menuCategory
@see #MenuItem_android_numericShortcut
@see #MenuItem_android_onClick
@see #MenuItem_android_orderInCategory
@see #MenuItem_android_title
@see #MenuItem_android_titleCondensed
@see #MenuItem_android_visible
@see #MenuItem_showAsAction
*/
public static final int[] MenuItem = {
0x01010002, 0x0101000e, 0x010100d0, 0x01010106,
0x01010194, 0x010101de, 0x010101df, 0x010101e1,
0x010101e2, 0x010101e3, 0x010101e4, 0x010101e5,
0x0101026f, 0x7f01002b, 0x7f01002c, 0x7f01002d,
0x7f01002e
};
/**
<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>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionLayout
*/
public static final int MenuItem_actionLayout = 14;
/**
<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>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionProviderClass
*/
public static final int MenuItem_actionProviderClass = 16;
/**
<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>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionViewClass
*/
public static final int MenuItem_actionViewClass = 15;
/**
<p>
@attr description
The alphabetic shortcut key. This is the shortcut when using a keyboard
with alphabetic keys.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#alphabeticShortcut}.
@attr name android:alphabeticShortcut
*/
public static final int MenuItem_android_alphabeticShortcut = 9;
/**
<p>
@attr description
Whether the item is capable of displaying a check mark.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#checkable}.
@attr name android:checkable
*/
public static final int MenuItem_android_checkable = 11;
/**
<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>This corresponds to the global attribute
resource symbol {@link android.R.attr#checked}.
@attr name android:checked
*/
public static final int MenuItem_android_checked = 3;
/**
<p>
@attr description
Whether the item is enabled.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#enabled}.
@attr name android:enabled
*/
public static final int MenuItem_android_enabled = 1;
/**
<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>This corresponds to the global attribute
resource symbol {@link android.R.attr#icon}.
@attr name android:icon
*/
public static final int MenuItem_android_icon = 0;
/**
<p>
@attr description
The ID of the item.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#id}.
@attr name android:id
*/
public static final int MenuItem_android_id = 2;
/**
<p>
@attr description
The category applied to the item.
(This will be or'ed with the orderInCategory attribute.)
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#menuCategory}.
@attr name android:menuCategory
*/
public static final int MenuItem_android_menuCategory = 5;
/**
<p>
@attr description
The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key)
keyboard.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#numericShortcut}.
@attr name android:numericShortcut
*/
public static final int MenuItem_android_numericShortcut = 10;
/**
<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>This corresponds to the global attribute
resource symbol {@link android.R.attr#onClick}.
@attr name android:onClick
*/
public static final int MenuItem_android_onClick = 12;
/**
<p>
@attr description
The order within the category applied to the item.
(This will be or'ed with the category attribute.)
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#orderInCategory}.
@attr name android:orderInCategory
*/
public static final int MenuItem_android_orderInCategory = 6;
/**
<p>
@attr description
The title associated with the item.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#title}.
@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>This corresponds to the global attribute
resource symbol {@link android.R.attr#titleCondensed}.
@attr name android:titleCondensed
*/
public static final int MenuItem_android_titleCondensed = 8;
/**
<p>
@attr description
Whether the item is shown/visible.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#visible}.
@attr name android:visible
*/
public static final int MenuItem_android_visible = 4;
/**
<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><code>never</code></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><code>ifRoom</code></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><code>always</code></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><code>withText</code></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>
<tr><td><code>collapseActionView</code></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>
</table>
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:showAsAction
*/
public static final int MenuItem_showAsAction = 13;
/** 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_headerBackground android:headerBackground}</code></td><td> Default background for the menu header.</td></tr>
<tr><td><code>{@link #MenuView_android_horizontalDivider android:horizontalDivider}</code></td><td> Default horizontal divider between rows of menu items.</td></tr>
<tr><td><code>{@link #MenuView_android_itemBackground android:itemBackground}</code></td><td> Default background for each menu item.</td></tr>
<tr><td><code>{@link #MenuView_android_itemIconDisabledAlpha android:itemIconDisabledAlpha}</code></td><td> Default disabled icon alpha for each menu item that shows an icon.</td></tr>
<tr><td><code>{@link #MenuView_android_itemTextAppearance android:itemTextAppearance}</code></td><td> Default appearance of menu item text.</td></tr>
<tr><td><code>{@link #MenuView_android_verticalDivider android:verticalDivider}</code></td><td> Default vertical divider between menu items.</td></tr>
<tr><td><code>{@link #MenuView_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td> Default animations for the menu.</td></tr>
<tr><td><code>{@link #MenuView_preserveIconSpacing TelerikListViewXF.Droid:preserveIconSpacing}</code></td><td> Whether space should be reserved in layout when an icon is missing.</td></tr>
</table>
@see #MenuView_android_headerBackground
@see #MenuView_android_horizontalDivider
@see #MenuView_android_itemBackground
@see #MenuView_android_itemIconDisabledAlpha
@see #MenuView_android_itemTextAppearance
@see #MenuView_android_verticalDivider
@see #MenuView_android_windowAnimationStyle
@see #MenuView_preserveIconSpacing
*/
public static final int[] MenuView = {
0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e,
0x0101012f, 0x01010130, 0x01010131, 0x7f01002f
};
/**
<p>
@attr description
Default background for the menu header.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#headerBackground}.
@attr name android:headerBackground
*/
public static final int MenuView_android_headerBackground = 4;
/**
<p>
@attr description
Default horizontal divider between rows of menu items.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#horizontalDivider}.
@attr name android:horizontalDivider
*/
public static final int MenuView_android_horizontalDivider = 2;
/**
<p>
@attr description
Default background for each menu item.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#itemBackground}.
@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>This corresponds to the global attribute
resource symbol {@link android.R.attr#itemIconDisabledAlpha}.
@attr name android:itemIconDisabledAlpha
*/
public static final int MenuView_android_itemIconDisabledAlpha = 6;
/**
<p>
@attr description
Default appearance of menu item text.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#itemTextAppearance}.
@attr name android:itemTextAppearance
*/
public static final int MenuView_android_itemTextAppearance = 1;
/**
<p>
@attr description
Default vertical divider between menu items.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#verticalDivider}.
@attr name android:verticalDivider
*/
public static final int MenuView_android_verticalDivider = 3;
/**
<p>
@attr description
Default animations for the menu.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#windowAnimationStyle}.
@attr name android:windowAnimationStyle
*/
public static final int MenuView_android_windowAnimationStyle = 0;
/**
<p>
@attr description
Whether space should be reserved in layout when an icon is missing.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:preserveIconSpacing
*/
public static final int MenuView_preserveIconSpacing = 7;
/** Attributes that can be used with a PointerLayout.
<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 #PointerLayout_pointerFill TelerikListViewXF.Droid:pointerFill}</code></td><td></td></tr>
<tr><td><code>{@link #PointerLayout_pointerMargin TelerikListViewXF.Droid:pointerMargin}</code></td><td></td></tr>
<tr><td><code>{@link #PointerLayout_pointerSize TelerikListViewXF.Droid:pointerSize}</code></td><td></td></tr>
</table>
@see #PointerLayout_pointerFill
@see #PointerLayout_pointerMargin
@see #PointerLayout_pointerSize
*/
public static final int[] PointerLayout = {
0x7f0100a9, 0x7f0100aa, 0x7f0100ab
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#pointerFill}
attribute's value can be found in the {@link #PointerLayout} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:pointerFill
*/
public static final int PointerLayout_pointerFill = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#pointerMargin}
attribute's value can be found in the {@link #PointerLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:pointerMargin
*/
public static final int PointerLayout_pointerMargin = 1;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#pointerSize}
attribute's value can be found in the {@link #PointerLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:pointerSize
*/
public static final int PointerLayout_pointerSize = 0;
/** 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_overlapAnchor TelerikListViewXF.Droid:overlapAnchor}</code></td><td> Whether the popup window should overlap its anchor view.</td></tr>
</table>
@see #PopupWindow_android_popupBackground
@see #PopupWindow_overlapAnchor
*/
public static final int[] PopupWindow = {
0x01010176, 0x7f010030
};
/**
<p>This symbol is the offset where the {@link android.R.attr#popupBackground}
attribute's value can be found in the {@link #PopupWindow} array.
@attr name android:popupBackground
*/
public static final int PopupWindow_android_popupBackground = 0;
/**
<p>
@attr description
Whether the popup window should overlap its anchor view.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:overlapAnchor
*/
public static final int PopupWindow_overlapAnchor = 1;
/** 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 TelerikListViewXF.Droid: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 = {
0x7f010031
};
/**
<p>
@attr description
State identifier indicating the popup will be above the anchor.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:state_above_anchor
*/
public static final int PopupWindowBackgroundState_state_above_anchor = 0;
/** Attributes that can be used with a RadCalendarView.
<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 #RadCalendarView_calendarBackground TelerikListViewXF.Droid:calendarBackground}</code></td><td></td></tr>
<tr><td><code>{@link #RadCalendarView_displayMode TelerikListViewXF.Droid:displayMode}</code></td><td></td></tr>
<tr><td><code>{@link #RadCalendarView_isYearModeCompact TelerikListViewXF.Droid:isYearModeCompact}</code></td><td></td></tr>
<tr><td><code>{@link #RadCalendarView_selectionMode TelerikListViewXF.Droid:selectionMode}</code></td><td></td></tr>
<tr><td><code>{@link #RadCalendarView_showCellDecorations TelerikListViewXF.Droid:showCellDecorations}</code></td><td></td></tr>
<tr><td><code>{@link #RadCalendarView_showDayNames TelerikListViewXF.Droid:showDayNames}</code></td><td></td></tr>
<tr><td><code>{@link #RadCalendarView_showGridLines TelerikListViewXF.Droid:showGridLines}</code></td><td></td></tr>
<tr><td><code>{@link #RadCalendarView_showTitle TelerikListViewXF.Droid:showTitle}</code></td><td></td></tr>
<tr><td><code>{@link #RadCalendarView_weekNumberDisplayMode TelerikListViewXF.Droid:weekNumberDisplayMode}</code></td><td></td></tr>
</table>
@see #RadCalendarView_calendarBackground
@see #RadCalendarView_displayMode
@see #RadCalendarView_isYearModeCompact
@see #RadCalendarView_selectionMode
@see #RadCalendarView_showCellDecorations
@see #RadCalendarView_showDayNames
@see #RadCalendarView_showGridLines
@see #RadCalendarView_showTitle
@see #RadCalendarView_weekNumberDisplayMode
*/
public static final int[] RadCalendarView = {
0x7f0100b0, 0x7f0100b1, 0x7f0100b2, 0x7f0100b3,
0x7f0100b4, 0x7f0100b5, 0x7f0100b6, 0x7f0100b7,
0x7f0100b8
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#calendarBackground}
attribute's value can be found in the {@link #RadCalendarView} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:calendarBackground
*/
public static final int RadCalendarView_calendarBackground = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#displayMode}
attribute's value can be found in the {@link #RadCalendarView} 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><code>Month</code></td><td>0</td><td></td></tr>
<tr><td><code>Year</code></td><td>1</td><td></td></tr>
<tr><td><code>Week</code></td><td>2</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:displayMode
*/
public static final int RadCalendarView_displayMode = 6;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#isYearModeCompact}
attribute's value can be found in the {@link #RadCalendarView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:isYearModeCompact
*/
public static final int RadCalendarView_isYearModeCompact = 8;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#selectionMode}
attribute's value can be found in the {@link #RadCalendarView} 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><code>Single</code></td><td>0</td><td></td></tr>
<tr><td><code>Range</code></td><td>1</td><td></td></tr>
<tr><td><code>Multiple</code></td><td>2</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:selectionMode
*/
public static final int RadCalendarView_selectionMode = 5;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#showCellDecorations}
attribute's value can be found in the {@link #RadCalendarView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:showCellDecorations
*/
public static final int RadCalendarView_showCellDecorations = 4;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#showDayNames}
attribute's value can be found in the {@link #RadCalendarView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:showDayNames
*/
public static final int RadCalendarView_showDayNames = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#showGridLines}
attribute's value can be found in the {@link #RadCalendarView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:showGridLines
*/
public static final int RadCalendarView_showGridLines = 3;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#showTitle}
attribute's value can be found in the {@link #RadCalendarView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:showTitle
*/
public static final int RadCalendarView_showTitle = 1;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#weekNumberDisplayMode}
attribute's value can be found in the {@link #RadCalendarView} 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><code>None</code></td><td>0</td><td></td></tr>
<tr><td><code>Inline</code></td><td>1</td><td></td></tr>
<tr><td><code>Block</code></td><td>2</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid:weekNumberDisplayMode
*/
public static final int RadCalendarView_weekNumberDisplayMode = 7;
/** Attributes that can be used with a RadChartViewBase.
<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 #RadChartViewBase_clipToBounds TelerikListViewXF.Droid:clipToBounds}</code></td><td></td></tr>
<tr><td><code>{@link #RadChartViewBase_emptyContent TelerikListViewXF.Droid:emptyContent}</code></td><td></td></tr>
<tr><td><code>{@link #RadChartViewBase_maxZoom TelerikListViewXF.Droid:maxZoom}</code></td><td></td></tr>
<tr><td><code>{@link #RadChartViewBase_palette TelerikListViewXF.Droid:palette}</code></td><td></td></tr>
<tr><td><code>{@link #RadChartViewBase_pan TelerikListViewXF.Droid:pan}</code></td><td></td></tr>
<tr><td><code>{@link #RadChartViewBase_zoom TelerikListViewXF.Droid:zoom}</code></td><td></td></tr>
</table>
@see #RadChartViewBase_clipToBounds
@see #RadChartViewBase_emptyContent
@see #RadChartViewBase_maxZoom
@see #RadChartViewBase_palette
@see #RadChartViewBase_pan
@see #RadChartViewBase_zoom
*/
public static final int[] RadChartViewBase = {
0x7f0100cb, 0x7f0100cc, 0x7f0100cd, 0x7f0100ce,
0x7f0100cf, 0x7f0100d0
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#clipToBounds}
attribute's value can be found in the {@link #RadChartViewBase} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:clipToBounds
*/
public static final int RadChartViewBase_clipToBounds = 3;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#emptyContent}
attribute's value can be found in the {@link #RadChartViewBase} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:emptyContent
*/
public static final int RadChartViewBase_emptyContent = 4;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#maxZoom}
attribute's value can be found in the {@link #RadChartViewBase} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:maxZoom
*/
public static final int RadChartViewBase_maxZoom = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#palette}
attribute's value can be found in the {@link #RadChartViewBase} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:palette
*/
public static final int RadChartViewBase_palette = 5;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#pan}
attribute's value can be found in the {@link #RadChartViewBase} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:pan
*/
public static final int RadChartViewBase_pan = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#zoom}
attribute's value can be found in the {@link #RadChartViewBase} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:zoom
*/
public static final int RadChartViewBase_zoom = 1;
/** 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 TelerikListViewXF.Droid:fillViewport}</code></td><td></td></tr>
<tr><td><code>{@link #RadScrollView_scrollMode TelerikListViewXF.Droid:scrollMode}</code></td><td></td></tr>
</table>
@see #RadScrollView_fillViewport
@see #RadScrollView_scrollMode
*/
public static final int[] RadScrollView = {
0x7f0100ac, 0x7f0100ad
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#fillViewport}
attribute's value can be found in the {@link #RadScrollView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:fillViewport
*/
public static final int RadScrollView_fillViewport = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.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><code>vertical</code></td><td>1</td><td></td></tr>
<tr><td><code>horizontal</code></td><td>2</td><td></td></tr>
</table>
@attr name TelerikListViewXF.Droid: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 TelerikListViewXF.Droid:radScrollViewStyle}</code></td><td></td></tr>
</table>
@see #RadScrollViewTheme_radScrollViewStyle
*/
public static final int[] RadScrollViewTheme = {
0x7f0100ae
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#radScrollViewStyle}
attribute's value can be found in the {@link #RadScrollViewTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:radScrollViewStyle
*/
public static final int RadScrollViewTheme_radScrollViewStyle = 0;
/** Attributes that can be used with a RangeBarSeries.
<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 #RangeBarSeries_areBarsRounded TelerikListViewXF.Droid:areBarsRounded}</code></td><td></td></tr>
<tr><td><code>{@link #RangeBarSeries_fillColor TelerikListViewXF.Droid:fillColor}</code></td><td></td></tr>
<tr><td><code>{@link #RangeBarSeries_roundBarsRadius TelerikListViewXF.Droid:roundBarsRadius}</code></td><td></td></tr>
<tr><td><code>{@link #RangeBarSeries_strokeColor TelerikListViewXF.Droid:strokeColor}</code></td><td></td></tr>
<tr><td><code>{@link #RangeBarSeries_strokeWidth TelerikListViewXF.Droid:strokeWidth}</code></td><td></td></tr>
</table>
@see #RangeBarSeries_areBarsRounded
@see #RangeBarSeries_fillColor
@see #RangeBarSeries_roundBarsRadius
@see #RangeBarSeries_strokeColor
@see #RangeBarSeries_strokeWidth
*/
public static final int[] RangeBarSeries = {
0x7f0100c4, 0x7f0100c5, 0x7f0100c6, 0x7f0100c7,
0x7f0100c8
};
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#areBarsRounded}
attribute's value can be found in the {@link #RangeBarSeries} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:areBarsRounded
*/
public static final int RangeBarSeries_areBarsRounded = 3;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#fillColor}
attribute's value can be found in the {@link #RangeBarSeries} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:fillColor
*/
public static final int RangeBarSeries_fillColor = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#roundBarsRadius}
attribute's value can be found in the {@link #RangeBarSeries} array.
<p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:roundBarsRadius
*/
public static final int RangeBarSeries_roundBarsRadius = 4;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#strokeColor}
attribute's value can be found in the {@link #RangeBarSeries} array.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:strokeColor
*/
public static final int RangeBarSeries_strokeColor = 0;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#strokeWidth}
attribute's value can be found in the {@link #RangeBarSeries} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:strokeWidth
*/
public static final int RangeBarSeries_strokeWidth = 1;
/** Attributes that can be used with a SearchView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SearchView_android_focusable android:focusable}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_imeOptions android:imeOptions}</code></td><td> The IME options to set on the query text field.</td></tr>
<tr><td><code>{@link #SearchView_android_inputType android:inputType}</code></td><td> The input type to set on the query text field.</td></tr>
<tr><td><code>{@link #SearchView_android_maxWidth android:maxWidth}</code></td><td> An optional maximum width of the SearchView.</td></tr>
<tr><td><code>{@link #SearchView_closeIcon TelerikListViewXF.Droid:closeIcon}</code></td><td> Close button icon </td></tr>
<tr><td><code>{@link #SearchView_commitIcon TelerikListViewXF.Droid:commitIcon}</code></td><td> Commit icon shown in the query suggestion row </td></tr>
<tr><td><code>{@link #SearchView_goIcon TelerikListViewXF.Droid:goIcon}</code></td><td> Go button icon </td></tr>
<tr><td><code>{@link #SearchView_iconifiedByDefault TelerikListViewXF.Droid:iconifiedByDefault}</code></td><td>
The default state of the SearchView.</td></tr>
<tr><td><code>{@link #SearchView_layout TelerikListViewXF.Droid:layout}</code></td><td> The layout to use for the search view.</td></tr>
<tr><td><code>{@link #SearchView_queryBackground TelerikListViewXF.Droid:queryBackground}</code></td><td> Background for the section containing the search query </td></tr>
<tr><td><code>{@link #SearchView_queryHint TelerikListViewXF.Droid:queryHint}</code></td><td> An optional query hint string to be displayed in the empty query field.</td></tr>
<tr><td><code>{@link #SearchView_searchIcon TelerikListViewXF.Droid:searchIcon}</code></td><td> Search icon </td></tr>
<tr><td><code>{@link #SearchView_submitBackground TelerikListViewXF.Droid:submitBackground}</code></td><td> Background for the section containing the action (e.</td></tr>
<tr><td><code>{@link #SearchView_suggestionRowLayout TelerikListViewXF.Droid:suggestionRowLayout}</code></td><td> Layout for query suggestion rows </td></tr>
<tr><td><code>{@link #SearchView_voiceIcon TelerikListViewXF.Droid:voiceIcon}</code></td><td> Voice button icon </td></tr>
</table>
@see #SearchView_android_focusable
@see #SearchView_android_imeOptions
@see #SearchView_android_inputType
@see #SearchView_android_maxWidth
@see #SearchView_closeIcon
@see #SearchView_commitIcon
@see #SearchView_goIcon
@see #SearchView_iconifiedByDefault
@see #SearchView_layout
@see #SearchView_queryBackground
@see #SearchView_queryHint
@see #SearchView_searchIcon
@see #SearchView_submitBackground
@see #SearchView_suggestionRowLayout
@see #SearchView_voiceIcon
*/
public static final int[] SearchView = {
0x010100da, 0x0101011f, 0x01010220, 0x01010264,
0x7f010032, 0x7f010033, 0x7f010034, 0x7f010035,
0x7f010036, 0x7f010037, 0x7f010038, 0x7f010039,
0x7f01003a, 0x7f01003b, 0x7f01003c
};
/**
<p>This symbol is the offset where the {@link android.R.attr#focusable}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:focusable
*/
public static final int SearchView_android_focusable = 0;
/**
<p>
@attr description
The IME options to set on the query text field.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#imeOptions}.
@attr name android:imeOptions
*/
public static final int SearchView_android_imeOptions = 3;
/**
<p>
@attr description
The input type to set on the query text field.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#inputType}.
@attr name android:inputType
*/
public static final int SearchView_android_inputType = 2;
/**
<p>
@attr description
An optional maximum width of the SearchView.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#maxWidth}.
@attr name android:maxWidth
*/
public static final int SearchView_android_maxWidth = 1;
/**
<p>
@attr description
Close button icon
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:closeIcon
*/
public static final int SearchView_closeIcon = 7;
/**
<p>
@attr description
Commit icon shown in the query suggestion row
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:commitIcon
*/
public static final int SearchView_commitIcon = 11;
/**
<p>
@attr description
Go button icon
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:goIcon
*/
public static final int SearchView_goIcon = 8;
/**
<p>
@attr description
The default state of the SearchView. If true, it will be iconified when not in
use and expanded when clicked.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:iconifiedByDefault
*/
public static final int SearchView_iconifiedByDefault = 5;
/**
<p>
@attr description
The layout to use for the search view.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:layout
*/
public static final int SearchView_layout = 4;
/**
<p>
@attr description
Background for the section containing the search query
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:queryBackground
*/
public static final int SearchView_queryBackground = 13;
/**
<p>
@attr description
An optional query hint string to be displayed in the empty query field.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:queryHint
*/
public static final int SearchView_queryHint = 6;
/**
<p>
@attr description
Search icon
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:searchIcon
*/
public static final int SearchView_searchIcon = 9;
/**
<p>
@attr description
Background for the section containing the action (e.g. voice search)
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:submitBackground
*/
public static final int SearchView_submitBackground = 14;
/**
<p>
@attr description
Layout for query suggestion rows
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:suggestionRowLayout
*/
public static final int SearchView_suggestionRowLayout = 12;
/**
<p>
@attr description
Voice button icon
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:voiceIcon
*/
public static final int SearchView_voiceIcon = 10;
/** 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_background android:background}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_dropDownHorizontalOffset android:dropDownHorizontalOffset}</code></td><td>
Horizontal offset from the spinner widget for positioning the dropdown
in spinnerMode="dropdown".</td></tr>
<tr><td><code>{@link #Spinner_android_dropDownSelector android:dropDownSelector}</code></td><td> List selector to use for spinnerMode="dropdown" display.</td></tr>
<tr><td><code>{@link #Spinner_android_dropDownVerticalOffset android:dropDownVerticalOffset}</code></td><td>
Vertical offset from the spinner widget for positioning the dropdown in
spinnerMode="dropdown".</td></tr>
<tr><td><code>{@link #Spinner_android_dropDownWidth android:dropDownWidth}</code></td><td> Width of the dropdown in spinnerMode="dropdown".</td></tr>
<tr><td><code>{@link #Spinner_android_gravity android:gravity}</code></td><td> Gravity setting for positioning the currently selected item.</td></tr>
<tr><td><code>{@link #Spinner_android_popupBackground android:popupBackground}</code></td><td> Background drawable to use for the dropdown in spinnerMode="dropdown".</td></tr>
<tr><td><code>{@link #Spinner_disableChildrenWhenDisabled TelerikListViewXF.Droid:disableChildrenWhenDisabled}</code></td><td>
Whether this spinner should mark child views as enabled/disabled when
the spinner itself is enabled/disabled.</td></tr>
<tr><td><code>{@link #Spinner_popupPromptView TelerikListViewXF.Droid:popupPromptView}</code></td><td>
Reference to a layout to use for displaying a prompt in the dropdown for
spinnerMode="dropdown".</td></tr>
<tr><td><code>{@link #Spinner_prompt TelerikListViewXF.Droid:prompt}</code></td><td> The prompt to display when the spinner's dialog is shown.</td></tr>
<tr><td><code>{@link #Spinner_spinnerMode TelerikListViewXF.Droid:spinnerMode}</code></td><td> Display mode for spinner options.</td></tr>
</table>
@see #Spinner_android_background
@see #Spinner_android_dropDownHorizontalOffset
@see #Spinner_android_dropDownSelector
@see #Spinner_android_dropDownVerticalOffset
@see #Spinner_android_dropDownWidth
@see #Spinner_android_gravity
@see #Spinner_android_popupBackground
@see #Spinner_disableChildrenWhenDisabled
@see #Spinner_popupPromptView
@see #Spinner_prompt
@see #Spinner_spinnerMode
*/
public static final int[] Spinner = {
0x010100af, 0x010100d4, 0x01010175, 0x01010176,
0x01010262, 0x010102ac, 0x010102ad, 0x7f01003d,
0x7f01003e, 0x7f01003f, 0x7f010040
};
/**
<p>This symbol is the offset where the {@link android.R.attr#background}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:background
*/
public static final int Spinner_android_background = 1;
/**
<p>
@attr description
Horizontal offset from the spinner widget for positioning the dropdown
in spinnerMode="dropdown".
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#dropDownHorizontalOffset}.
@attr name android:dropDownHorizontalOffset
*/
public static final int Spinner_android_dropDownHorizontalOffset = 5;
/**
<p>
@attr description
List selector to use for spinnerMode="dropdown" display.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#dropDownSelector}.
@attr name android:dropDownSelector
*/
public static final int Spinner_android_dropDownSelector = 2;
/**
<p>
@attr description
Vertical offset from the spinner widget for positioning the dropdown in
spinnerMode="dropdown".
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#dropDownVerticalOffset}.
@attr name android:dropDownVerticalOffset
*/
public static final int Spinner_android_dropDownVerticalOffset = 6;
/**
<p>
@attr description
Width of the dropdown in spinnerMode="dropdown".
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#dropDownWidth}.
@attr name android:dropDownWidth
*/
public static final int Spinner_android_dropDownWidth = 4;
/**
<p>
@attr description
Gravity setting for positioning the currently selected item.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#gravity}.
@attr name android:gravity
*/
public static final int Spinner_android_gravity = 0;
/**
<p>
@attr description
Background drawable to use for the dropdown in spinnerMode="dropdown".
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#popupBackground}.
@attr name android:popupBackground
*/
public static final int Spinner_android_popupBackground = 3;
/**
<p>
@attr description
Whether this spinner should mark child views as enabled/disabled when
the spinner itself is enabled/disabled.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:disableChildrenWhenDisabled
*/
public static final int Spinner_disableChildrenWhenDisabled = 10;
/**
<p>
@attr description
Reference to a layout to use for displaying a prompt in the dropdown for
spinnerMode="dropdown". This layout must contain a TextView with the id
{@code @android:id/text1} to be populated with the prompt text.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:popupPromptView
*/
public static final int Spinner_popupPromptView = 9;
/**
<p>
@attr description
The prompt to display when the spinner's dialog is shown.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:prompt
*/
public static final int Spinner_prompt = 7;
/**
<p>
@attr description
Display mode for spinner options.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>dialog</code></td><td>0</td><td> Spinner options will be presented to the user as a dialog window. </td></tr>
<tr><td><code>dropdown</code></td><td>1</td><td>
Spinner options will be presented to the user as an inline dropdown
anchored to the spinner widget itself.
</td></tr>
</table>
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:spinnerMode
*/
public static final int Spinner_spinnerMode = 8;
/** 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_textOff android:textOff}</code></td><td> Text to use when the switch is in the unchecked/"off" state.</td></tr>
<tr><td><code>{@link #SwitchCompat_android_textOn android:textOn}</code></td><td> Text to use when the switch is in the checked/"on" state.</td></tr>
<tr><td><code>{@link #SwitchCompat_android_thumb android:thumb}</code></td><td> Drawable to use as the "thumb" that switches back and forth.</td></tr>
<tr><td><code>{@link #SwitchCompat_showText TelerikListViewXF.Droid:showText}</code></td><td> Whether to draw on/off text.</td></tr>
<tr><td><code>{@link #SwitchCompat_splitTrack TelerikListViewXF.Droid: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 TelerikListViewXF.Droid:switchMinWidth}</code></td><td> Minimum width for the switch component </td></tr>
<tr><td><code>{@link #SwitchCompat_switchPadding TelerikListViewXF.Droid:switchPadding}</code></td><td> Minimum space between the switch and caption text </td></tr>
<tr><td><code>{@link #SwitchCompat_switchTextAppearance TelerikListViewXF.Droid:switchTextAppearance}</code></td><td> TextAppearance style for text displayed on the switch thumb.</td></tr>
<tr><td><code>{@link #SwitchCompat_thumbTextPadding TelerikListViewXF.Droid:thumbTextPadding}</code></td><td> Amount of padding on either side of text within the switch thumb.</td></tr>
<tr><td><code>{@link #SwitchCompat_track TelerikListViewXF.Droid:track}</code></td><td> Drawable to use as the "track" that the switch thumb slides within.</td></tr>
</table>
@see #SwitchCompat_android_textOff
@see #SwitchCompat_android_textOn
@see #SwitchCompat_android_thumb
@see #SwitchCompat_showText
@see #SwitchCompat_splitTrack
@see #SwitchCompat_switchMinWidth
@see #SwitchCompat_switchPadding
@see #SwitchCompat_switchTextAppearance
@see #SwitchCompat_thumbTextPadding
@see #SwitchCompat_track
*/
public static final int[] SwitchCompat = {
0x01010124, 0x01010125, 0x01010142, 0x7f010041,
0x7f010042, 0x7f010043, 0x7f010044, 0x7f010045,
0x7f010046, 0x7f010047
};
/**
<p>
@attr description
Text to use when the switch is in the unchecked/"off" state.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#textOff}.
@attr name android:textOff
*/
public static final int SwitchCompat_android_textOff = 1;
/**
<p>
@attr description
Text to use when the switch is in the checked/"on" state.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#textOn}.
@attr name android:textOn
*/
public static final int SwitchCompat_android_textOn = 0;
/**
<p>
@attr description
Drawable to use as the "thumb" that switches back and forth.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#thumb}.
@attr name android:thumb
*/
public static final int SwitchCompat_android_thumb = 2;
/**
<p>
@attr description
Whether to draw on/off text.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:showText
*/
public static final int SwitchCompat_showText = 9;
/**
<p>
@attr description
Whether to split the track and leave a gap for the thumb drawable.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:splitTrack
*/
public static final int SwitchCompat_splitTrack = 8;
/**
<p>
@attr description
Minimum width for the switch component
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:switchMinWidth
*/
public static final int SwitchCompat_switchMinWidth = 6;
/**
<p>
@attr description
Minimum space between the switch and caption text
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:switchPadding
*/
public static final int SwitchCompat_switchPadding = 7;
/**
<p>
@attr description
TextAppearance style for text displayed on the switch thumb.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:switchTextAppearance
*/
public static final int SwitchCompat_switchTextAppearance = 5;
/**
<p>
@attr description
Amount of padding on either side of text within the switch thumb.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:thumbTextPadding
*/
public static final int SwitchCompat_thumbTextPadding = 4;
/**
<p>
@attr description
Drawable to use as the "track" that the switch thumb slides within.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:track
*/
public static final int SwitchCompat_track = 3;
/** Attributes that can be used with a Theme.
<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 #Theme_actionBarDivider TelerikListViewXF.Droid:actionBarDivider}</code></td><td> Custom divider drawable to use for elements in the action bar.</td></tr>
<tr><td><code>{@link #Theme_actionBarItemBackground TelerikListViewXF.Droid:actionBarItemBackground}</code></td><td> Custom item state list drawable background for action bar items.</td></tr>
<tr><td><code>{@link #Theme_actionBarPopupTheme TelerikListViewXF.Droid: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 #Theme_actionBarSize TelerikListViewXF.Droid:actionBarSize}</code></td><td>
Size of the Action Bar, including the contextual
bar used to present Action Modes.</td></tr>
<tr><td><code>{@link #Theme_actionBarSplitStyle TelerikListViewXF.Droid:actionBarSplitStyle}</code></td><td>
Reference to a style for the split Action Bar.</td></tr>
<tr><td><code>{@link #Theme_actionBarStyle TelerikListViewXF.Droid:actionBarStyle}</code></td><td> Reference to a style for the Action Bar </td></tr>
<tr><td><code>{@link #Theme_actionBarTabBarStyle TelerikListViewXF.Droid:actionBarTabBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTabStyle TelerikListViewXF.Droid:actionBarTabStyle}</code></td><td> Default style for tabs within an action bar </td></tr>
<tr><td><code>{@link #Theme_actionBarTabTextStyle TelerikListViewXF.Droid:actionBarTabTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTheme TelerikListViewXF.Droid:actionBarTheme}</code></td><td>
Reference to a theme that should be used to inflate the
action bar.</td></tr>
<tr><td><code>{@link #Theme_actionBarWidgetTheme TelerikListViewXF.Droid: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 #Theme_actionButtonStyle TelerikListViewXF.Droid:actionButtonStyle}</code></td><td> Default action button style.</td></tr>
<tr><td><code>{@link #Theme_actionDropDownStyle TelerikListViewXF.Droid:actionDropDownStyle}</code></td><td> Default ActionBar dropdown style.</td></tr>
<tr><td><code>{@link #Theme_actionMenuTextAppearance TelerikListViewXF.Droid:actionMenuTextAppearance}</code></td><td>
TextAppearance style that will be applied to text that
appears within action menu items.</td></tr>
<tr><td><code>{@link #Theme_actionMenuTextColor TelerikListViewXF.Droid:actionMenuTextColor}</code></td><td> Color for text that appears within action menu items.</td></tr>
<tr><td><code>{@link #Theme_actionModeBackground TelerikListViewXF.Droid:actionModeBackground}</code></td><td> Background drawable to use for action mode UI </td></tr>
<tr><td><code>{@link #Theme_actionModeCloseButtonStyle TelerikListViewXF.Droid:actionModeCloseButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCloseDrawable TelerikListViewXF.Droid:actionModeCloseDrawable}</code></td><td> Drawable to use for the close action mode button </td></tr>
<tr><td><code>{@link #Theme_actionModeCopyDrawable TelerikListViewXF.Droid:actionModeCopyDrawable}</code></td><td> Drawable to use for the Copy action button in Contextual Action Bar </td></tr>
<tr><td><code>{@link #Theme_actionModeCutDrawable TelerikListViewXF.Droid:actionModeCutDrawable}</code></td><td> Drawable to use for the Cut action button in Contextual Action Bar </td></tr>
<tr><td><code>{@link #Theme_actionModeFindDrawable TelerikListViewXF.Droid:actionModeFindDrawable}</code></td><td> Drawable to use for the Find action button in WebView selection action modes </td></tr>
<tr><td><code>{@link #Theme_actionModePasteDrawable TelerikListViewXF.Droid:actionModePasteDrawable}</code></td><td> Drawable to use for the Paste action button in Contextual Action Bar </td></tr>
<tr><td><code>{@link #Theme_actionModePopupWindowStyle TelerikListViewXF.Droid:actionModePopupWindowStyle}</code></td><td> PopupWindow style to use for action modes when showing as a window overlay.</td></tr>
<tr><td><code>{@link #Theme_actionModeSelectAllDrawable TelerikListViewXF.Droid:actionModeSelectAllDrawable}</code></td><td> Drawable to use for the Select all action button in Contextual Action Bar </td></tr>
<tr><td><code>{@link #Theme_actionModeShareDrawable TelerikListViewXF.Droid:actionModeShareDrawable}</code></td><td> Drawable to use for the Share action button in WebView selection action modes </td></tr>
<tr><td><code>{@link #Theme_actionModeSplitBackground TelerikListViewXF.Droid:actionModeSplitBackground}</code></td><td> Background drawable to use for action mode UI in the lower split bar </td></tr>
<tr><td><code>{@link #Theme_actionModeStyle TelerikListViewXF.Droid:actionModeStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeWebSearchDrawable TelerikListViewXF.Droid:actionModeWebSearchDrawable}</code></td><td> Drawable to use for the Web Search action button in WebView selection action modes </td></tr>
<tr><td><code>{@link #Theme_actionOverflowButtonStyle TelerikListViewXF.Droid:actionOverflowButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionOverflowMenuStyle TelerikListViewXF.Droid:actionOverflowMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_activityChooserViewStyle TelerikListViewXF.Droid:activityChooserViewStyle}</code></td><td> Default ActivityChooserView style.</td></tr>
<tr><td><code>{@link #Theme_android_windowIsFloating android:windowIsFloating}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarButtonStyle TelerikListViewXF.Droid:buttonBarButtonStyle}</code></td><td>
A style that may be applied to Buttons placed within a
LinearLayout with the style buttonBarStyle to form a button bar.</td></tr>
<tr><td><code>{@link #Theme_buttonBarStyle TelerikListViewXF.Droid:buttonBarStyle}</code></td><td>
A style that may be applied to horizontal LinearLayouts
to form a button bar.</td></tr>
<tr><td><code>{@link #Theme_colorAccent TelerikListViewXF.Droid:colorAccent}</code></td><td>
Bright complement to the primary branding color.</td></tr>
<tr><td><code>{@link #Theme_colorButtonNormal TelerikListViewXF.Droid:colorButtonNormal}</code></td><td> The color applied to framework buttons in their normal state.</td></tr>
<tr><td><code>{@link #Theme_colorControlActivated TelerikListViewXF.Droid:colorControlActivated}</code></td><td> The color applied to framework controls in their activated (ex.</td></tr>
<tr><td><code>{@link #Theme_colorControlHighlight TelerikListViewXF.Droid:colorControlHighlight}</code></td><td> The color applied to framework control highlights (ex.</td></tr>
<tr><td><code>{@link #Theme_colorControlNormal TelerikListViewXF.Droid:colorControlNormal}</code></td><td> The color applied to framework controls in their normal state.</td></tr>
<tr><td><code>{@link #Theme_colorPrimary TelerikListViewXF.Droid:colorPrimary}</code></td><td>
The primary branding color for the app.</td></tr>
<tr><td><code>{@link #Theme_colorPrimaryDark TelerikListViewXF.Droid:colorPrimaryDark}</code></td><td>
Dark variant of the primary branding color.</td></tr>
<tr><td><code>{@link #Theme_colorSwitchThumbNormal TelerikListViewXF.Droid:colorSwitchThumbNormal}</code></td><td> The color applied to framework switch thumbs in their normal state.</td></tr>
<tr><td><code>{@link #Theme_dividerHorizontal TelerikListViewXF.Droid:dividerHorizontal}</code></td><td> A drawable that may be used as a horizontal divider between visual elements.</td></tr>
<tr><td><code>{@link #Theme_dividerVertical TelerikListViewXF.Droid:dividerVertical}</code></td><td> A drawable that may be used as a vertical divider between visual elements.</td></tr>
<tr><td><code>{@link #Theme_dropDownListViewStyle TelerikListViewXF.Droid:dropDownListViewStyle}</code></td><td> ListPopupWindow compatibility </td></tr>
<tr><td><code>{@link #Theme_dropdownListPreferredItemHeight TelerikListViewXF.Droid:dropdownListPreferredItemHeight}</code></td><td> The preferred item height for dropdown lists.</td></tr>
<tr><td><code>{@link #Theme_editTextBackground TelerikListViewXF.Droid:editTextBackground}</code></td><td> EditText background drawable.</td></tr>
<tr><td><code>{@link #Theme_editTextColor TelerikListViewXF.Droid:editTextColor}</code></td><td> EditText text foreground color.</td></tr>
<tr><td><code>{@link #Theme_homeAsUpIndicator TelerikListViewXF.Droid:homeAsUpIndicator}</code></td><td> Specifies a drawable to use for the 'home as up' indicator.</td></tr>
<tr><td><code>{@link #Theme_listChoiceBackgroundIndicator TelerikListViewXF.Droid:listChoiceBackgroundIndicator}</code></td><td> Drawable used as a background for selected list items.</td></tr>
<tr><td><code>{@link #Theme_listPopupWindowStyle TelerikListViewXF.Droid:listPopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemHeight TelerikListViewXF.Droid:listPreferredItemHeight}</code></td><td> The preferred list item height.</td></tr>
<tr><td><code>{@link #Theme_listPreferredItemHeightLarge TelerikListViewXF.Droid:listPreferredItemHeightLarge}</code></td><td> A larger, more robust list item height.</td></tr>
<tr><td><code>{@link #Theme_listPreferredItemHeightSmall TelerikListViewXF.Droid:listPreferredItemHeightSmall}</code></td><td> A smaller, sleeker list item height.</td></tr>
<tr><td><code>{@link #Theme_listPreferredItemPaddingLeft TelerikListViewXF.Droid:listPreferredItemPaddingLeft}</code></td><td> The preferred padding along the left edge of list items.</td></tr>
<tr><td><code>{@link #Theme_listPreferredItemPaddingRight TelerikListViewXF.Droid:listPreferredItemPaddingRight}</code></td><td> The preferred padding along the right edge of list items.</td></tr>
<tr><td><code>{@link #Theme_panelBackground TelerikListViewXF.Droid: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 #Theme_panelMenuListTheme TelerikListViewXF.Droid:panelMenuListTheme}</code></td><td> Default Panel Menu style.</td></tr>
<tr><td><code>{@link #Theme_panelMenuListWidth TelerikListViewXF.Droid:panelMenuListWidth}</code></td><td> Default Panel Menu width.</td></tr>
<tr><td><code>{@link #Theme_popupMenuStyle TelerikListViewXF.Droid:popupMenuStyle}</code></td><td> Default PopupMenu style.</td></tr>
<tr><td><code>{@link #Theme_popupWindowStyle TelerikListViewXF.Droid:popupWindowStyle}</code></td><td> Default PopupWindow style.</td></tr>
<tr><td><code>{@link #Theme_searchViewStyle TelerikListViewXF.Droid:searchViewStyle}</code></td><td> Style for the search query widget.</td></tr>
<tr><td><code>{@link #Theme_selectableItemBackground TelerikListViewXF.Droid: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 #Theme_selectableItemBackgroundBorderless TelerikListViewXF.Droid:selectableItemBackgroundBorderless}</code></td><td> Background drawable for borderless standalone items that need focus/pressed states.</td></tr>
<tr><td><code>{@link #Theme_spinnerDropDownItemStyle TelerikListViewXF.Droid:spinnerDropDownItemStyle}</code></td><td> Default Spinner style.</td></tr>
<tr><td><code>{@link #Theme_spinnerStyle TelerikListViewXF.Droid:spinnerStyle}</code></td><td> Default Spinner style.</td></tr>
<tr><td><code>{@link #Theme_switchStyle TelerikListViewXF.Droid:switchStyle}</code></td><td> Default style for the Switch widget.</td></tr>
<tr><td><code>{@link #Theme_textAppearanceLargePopupMenu TelerikListViewXF.Droid:textAppearanceLargePopupMenu}</code></td><td> Text color, typeface, size, and style for the text inside of a popup menu.</td></tr>
<tr><td><code>{@link #Theme_textAppearanceListItem TelerikListViewXF.Droid:textAppearanceListItem}</code></td><td> The preferred TextAppearance for the primary text of list items.</td></tr>
<tr><td><code>{@link #Theme_textAppearanceListItemSmall TelerikListViewXF.Droid:textAppearanceListItemSmall}</code></td><td> The preferred TextAppearance for the primary text of small list items.</td></tr>
<tr><td><code>{@link #Theme_textAppearanceSearchResultSubtitle TelerikListViewXF.Droid:textAppearanceSearchResultSubtitle}</code></td><td> Text color, typeface, size, and style for system search result subtitle.</td></tr>
<tr><td><code>{@link #Theme_textAppearanceSearchResultTitle TelerikListViewXF.Droid:textAppearanceSearchResultTitle}</code></td><td> Text color, typeface, size, and style for system search result title.</td></tr>
<tr><td><code>{@link #Theme_textAppearanceSmallPopupMenu TelerikListViewXF.Droid:textAppearanceSmallPopupMenu}</code></td><td> Text color, typeface, size, and style for small text inside of a popup menu.</td></tr>
<tr><td><code>{@link #Theme_textColorSearchUrl TelerikListViewXF.Droid:textColorSearchUrl}</code></td><td> Text color for urls in search suggestions, used by things like global search </td></tr>
<tr><td><code>{@link #Theme_toolbarNavigationButtonStyle TelerikListViewXF.Droid:toolbarNavigationButtonStyle}</code></td><td> Default Toolar NavigationButtonStyle </td></tr>
<tr><td><code>{@link #Theme_toolbarStyle TelerikListViewXF.Droid:toolbarStyle}</code></td><td> Default Toolbar style.</td></tr>
<tr><td><code>{@link #Theme_windowActionBar TelerikListViewXF.Droid: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 #Theme_windowActionBarOverlay TelerikListViewXF.Droid:windowActionBarOverlay}</code></td><td>
Flag indicating whether this window's Action Bar should overlay
application content.</td></tr>
<tr><td><code>{@link #Theme_windowActionModeOverlay TelerikListViewXF.Droid: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 #Theme_windowFixedHeightMajor TelerikListViewXF.Droid: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 #Theme_windowFixedHeightMinor TelerikListViewXF.Droid: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 #Theme_windowFixedWidthMajor TelerikListViewXF.Droid: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 #Theme_windowFixedWidthMinor TelerikListViewXF.Droid:windowFixedWidthMinor}</code></td><td>
A fixed width for the window along the minor axis of the screen,
that is, when in portrait.</td></tr>
</table>
@see #Theme_actionBarDivider
@see #Theme_actionBarItemBackground
@see #Theme_actionBarPopupTheme
@see #Theme_actionBarSize
@see #Theme_actionBarSplitStyle
@see #Theme_actionBarStyle
@see #Theme_actionBarTabBarStyle
@see #Theme_actionBarTabStyle
@see #Theme_actionBarTabTextStyle
@see #Theme_actionBarTheme
@see #Theme_actionBarWidgetTheme
@see #Theme_actionButtonStyle
@see #Theme_actionDropDownStyle
@see #Theme_actionMenuTextAppearance
@see #Theme_actionMenuTextColor
@see #Theme_actionModeBackground
@see #Theme_actionModeCloseButtonStyle
@see #Theme_actionModeCloseDrawable
@see #Theme_actionModeCopyDrawable
@see #Theme_actionModeCutDrawable
@see #Theme_actionModeFindDrawable
@see #Theme_actionModePasteDrawable
@see #Theme_actionModePopupWindowStyle
@see #Theme_actionModeSelectAllDrawable
@see #Theme_actionModeShareDrawable
@see #Theme_actionModeSplitBackground
@see #Theme_actionModeStyle
@see #Theme_actionModeWebSearchDrawable
@see #Theme_actionOverflowButtonStyle
@see #Theme_actionOverflowMenuStyle
@see #Theme_activityChooserViewStyle
@see #Theme_android_windowIsFloating
@see #Theme_buttonBarButtonStyle
@see #Theme_buttonBarStyle
@see #Theme_colorAccent
@see #Theme_colorButtonNormal
@see #Theme_colorControlActivated
@see #Theme_colorControlHighlight
@see #Theme_colorControlNormal
@see #Theme_colorPrimary
@see #Theme_colorPrimaryDark
@see #Theme_colorSwitchThumbNormal
@see #Theme_dividerHorizontal
@see #Theme_dividerVertical
@see #Theme_dropDownListViewStyle
@see #Theme_dropdownListPreferredItemHeight
@see #Theme_editTextBackground
@see #Theme_editTextColor
@see #Theme_homeAsUpIndicator
@see #Theme_listChoiceBackgroundIndicator
@see #Theme_listPopupWindowStyle
@see #Theme_listPreferredItemHeight
@see #Theme_listPreferredItemHeightLarge
@see #Theme_listPreferredItemHeightSmall
@see #Theme_listPreferredItemPaddingLeft
@see #Theme_listPreferredItemPaddingRight
@see #Theme_panelBackground
@see #Theme_panelMenuListTheme
@see #Theme_panelMenuListWidth
@see #Theme_popupMenuStyle
@see #Theme_popupWindowStyle
@see #Theme_searchViewStyle
@see #Theme_selectableItemBackground
@see #Theme_selectableItemBackgroundBorderless
@see #Theme_spinnerDropDownItemStyle
@see #Theme_spinnerStyle
@see #Theme_switchStyle
@see #Theme_textAppearanceLargePopupMenu
@see #Theme_textAppearanceListItem
@see #Theme_textAppearanceListItemSmall
@see #Theme_textAppearanceSearchResultSubtitle
@see #Theme_textAppearanceSearchResultTitle
@see #Theme_textAppearanceSmallPopupMenu
@see #Theme_textColorSearchUrl
@see #Theme_toolbarNavigationButtonStyle
@see #Theme_toolbarStyle
@see #Theme_windowActionBar
@see #Theme_windowActionBarOverlay
@see #Theme_windowActionModeOverlay
@see #Theme_windowFixedHeightMajor
@see #Theme_windowFixedHeightMinor
@see #Theme_windowFixedWidthMajor
@see #Theme_windowFixedWidthMinor
*/
public static final int[] Theme = {
0x01010057, 0x7f010048, 0x7f010049, 0x7f01004a,
0x7f01004b, 0x7f01004c, 0x7f01004d, 0x7f01004e,
0x7f01004f, 0x7f010050, 0x7f010051, 0x7f010052,
0x7f010053, 0x7f010054, 0x7f010055, 0x7f010056,
0x7f010057, 0x7f010058, 0x7f010059, 0x7f01005a,
0x7f01005b, 0x7f01005c, 0x7f01005d, 0x7f01005e,
0x7f01005f, 0x7f010060, 0x7f010061, 0x7f010062,
0x7f010063, 0x7f010064, 0x7f010065, 0x7f010066,
0x7f010067, 0x7f010068, 0x7f010069, 0x7f01006a,
0x7f01006b, 0x7f01006c, 0x7f01006d, 0x7f01006e,
0x7f01006f, 0x7f010070, 0x7f010071, 0x7f010072,
0x7f010073, 0x7f010074, 0x7f010075, 0x7f010076,
0x7f010077, 0x7f010078, 0x7f010079, 0x7f01007a,
0x7f01007b, 0x7f01007c, 0x7f01007d, 0x7f01007e,
0x7f01007f, 0x7f010080, 0x7f010081, 0x7f010082,
0x7f010083, 0x7f010084, 0x7f010085, 0x7f010086,
0x7f010087, 0x7f010088, 0x7f010089, 0x7f01008a,
0x7f01008b, 0x7f01008c, 0x7f01008d, 0x7f01008e,
0x7f01008f, 0x7f010090, 0x7f010091, 0x7f010092,
0x7f010093, 0x7f010094, 0x7f010095, 0x7f010096,
0x7f010097, 0x7f010098, 0x7f010099
};
/**
<p>
@attr description
Custom divider drawable to use for elements in the action bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionBarDivider
*/
public static final int Theme_actionBarDivider = 19;
/**
<p>
@attr description
Custom item state list drawable background for action bar items.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionBarItemBackground
*/
public static final int Theme_actionBarItemBackground = 20;
/**
<p>
@attr description
Reference to a theme that should be used to inflate popups
shown by widgets in the action bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionBarPopupTheme
*/
public static final int Theme_actionBarPopupTheme = 13;
/**
<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), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>May be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>wrap_content</code></td><td>0</td><td></td></tr>
</table>
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionBarSize
*/
public static final int Theme_actionBarSize = 18;
/**
<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>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionBarSplitStyle
*/
public static final int Theme_actionBarSplitStyle = 15;
/**
<p>
@attr description
Reference to a style for the Action Bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionBarStyle
*/
public static final int Theme_actionBarStyle = 14;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#actionBarTabBarStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:actionBarTabBarStyle
*/
public static final int Theme_actionBarTabBarStyle = 9;
/**
<p>
@attr description
Default style for tabs within an action bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionBarTabStyle
*/
public static final int Theme_actionBarTabStyle = 8;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#actionBarTabTextStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:actionBarTabTextStyle
*/
public static final int Theme_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>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionBarTheme
*/
public static final int Theme_actionBarTheme = 16;
/**
<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>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionBarWidgetTheme
*/
public static final int Theme_actionBarWidgetTheme = 17;
/**
<p>
@attr description
Default action button style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionButtonStyle
*/
public static final int Theme_actionButtonStyle = 43;
/**
<p>
@attr description
Default ActionBar dropdown style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionDropDownStyle
*/
public static final int Theme_actionDropDownStyle = 38;
/**
<p>
@attr description
TextAppearance style that will be applied to text that
appears within action menu items.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionMenuTextAppearance
*/
public static final int Theme_actionMenuTextAppearance = 21;
/**
<p>
@attr description
Color for text that appears within action menu items.
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 to 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>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionMenuTextColor
*/
public static final int Theme_actionMenuTextColor = 22;
/**
<p>
@attr description
Background drawable to use for action mode UI
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionModeBackground
*/
public static final int Theme_actionModeBackground = 25;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#actionModeCloseButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:actionModeCloseButtonStyle
*/
public static final int Theme_actionModeCloseButtonStyle = 24;
/**
<p>
@attr description
Drawable to use for the close action mode button
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionModeCloseDrawable
*/
public static final int Theme_actionModeCloseDrawable = 27;
/**
<p>
@attr description
Drawable to use for the Copy action button in Contextual Action Bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionModeCopyDrawable
*/
public static final int Theme_actionModeCopyDrawable = 29;
/**
<p>
@attr description
Drawable to use for the Cut action button in Contextual Action Bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionModeCutDrawable
*/
public static final int Theme_actionModeCutDrawable = 28;
/**
<p>
@attr description
Drawable to use for the Find action button in WebView selection action modes
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionModeFindDrawable
*/
public static final int Theme_actionModeFindDrawable = 33;
/**
<p>
@attr description
Drawable to use for the Paste action button in Contextual Action Bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionModePasteDrawable
*/
public static final int Theme_actionModePasteDrawable = 30;
/**
<p>
@attr description
PopupWindow style to use for action modes when showing as a window overlay.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionModePopupWindowStyle
*/
public static final int Theme_actionModePopupWindowStyle = 35;
/**
<p>
@attr description
Drawable to use for the Select all action button in Contextual Action Bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionModeSelectAllDrawable
*/
public static final int Theme_actionModeSelectAllDrawable = 31;
/**
<p>
@attr description
Drawable to use for the Share action button in WebView selection action modes
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionModeShareDrawable
*/
public static final int Theme_actionModeShareDrawable = 32;
/**
<p>
@attr description
Background drawable to use for action mode UI in the lower split bar
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionModeSplitBackground
*/
public static final int Theme_actionModeSplitBackground = 26;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#actionModeStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:actionModeStyle
*/
public static final int Theme_actionModeStyle = 23;
/**
<p>
@attr description
Drawable to use for the Web Search action button in WebView selection action modes
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:actionModeWebSearchDrawable
*/
public static final int Theme_actionModeWebSearchDrawable = 34;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#actionOverflowButtonStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:actionOverflowButtonStyle
*/
public static final int Theme_actionOverflowButtonStyle = 11;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#actionOverflowMenuStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:actionOverflowMenuStyle
*/
public static final int Theme_actionOverflowMenuStyle = 12;
/**
<p>
@attr description
Default ActivityChooserView style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:activityChooserViewStyle
*/
public static final int Theme_activityChooserViewStyle = 50;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowIsFloating}
attribute's value can be found in the {@link #Theme} array.
@attr name android:windowIsFloating
*/
public static final int Theme_android_windowIsFloating = 0;
/**
<p>
@attr description
A style that may be applied to Buttons placed within a
LinearLayout with the style buttonBarStyle to form a button bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:buttonBarButtonStyle
*/
public static final int Theme_buttonBarButtonStyle = 45;
/**
<p>
@attr description
A style that may be applied to horizontal LinearLayouts
to form a button bar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:buttonBarStyle
*/
public static final int Theme_buttonBarStyle = 44;
/**
<p>
@attr description
Bright complement to the primary branding color. By default, this is the color applied
to framework controls (via colorControlActivated).
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:colorAccent
*/
public static final int Theme_colorAccent = 77;
/**
<p>
@attr description
The color applied to framework buttons in their normal state.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:colorButtonNormal
*/
public static final int Theme_colorButtonNormal = 81;
/**
<p>
@attr description
The color applied to framework controls in their activated (ex. checked) state.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:colorControlActivated
*/
public static final int Theme_colorControlActivated = 79;
/**
<p>
@attr description
The color applied to framework control highlights (ex. ripples, list selectors).
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:colorControlHighlight
*/
public static final int Theme_colorControlHighlight = 80;
/**
<p>
@attr description
The color applied to framework controls in their normal state.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:colorControlNormal
*/
public static final int Theme_colorControlNormal = 78;
/**
<p>
@attr description
The primary branding color for the app. By default, this is the color applied to the
action bar background.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:colorPrimary
*/
public static final int Theme_colorPrimary = 75;
/**
<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>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:colorPrimaryDark
*/
public static final int Theme_colorPrimaryDark = 76;
/**
<p>
@attr description
The color applied to framework switch thumbs in their normal state.
<p>Must be a color value, in 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>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:colorSwitchThumbNormal
*/
public static final int Theme_colorSwitchThumbNormal = 82;
/**
<p>
@attr description
A drawable that may be used as a horizontal divider between visual elements.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:dividerHorizontal
*/
public static final int Theme_dividerHorizontal = 49;
/**
<p>
@attr description
A drawable that may be used as a vertical divider between visual elements.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:dividerVertical
*/
public static final int Theme_dividerVertical = 48;
/**
<p>
@attr description
ListPopupWindow compatibility
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:dropDownListViewStyle
*/
public static final int Theme_dropDownListViewStyle = 67;
/**
<p>
@attr description
The preferred item height for dropdown lists.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:dropdownListPreferredItemHeight
*/
public static final int Theme_dropdownListPreferredItemHeight = 39;
/**
<p>
@attr description
EditText background drawable.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:editTextBackground
*/
public static final int Theme_editTextBackground = 56;
/**
<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 to 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>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:editTextColor
*/
public static final int Theme_editTextColor = 55;
/**
<p>
@attr description
Specifies a drawable to use for the 'home as up' indicator.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:homeAsUpIndicator
*/
public static final int Theme_homeAsUpIndicator = 42;
/**
<p>
@attr description
Drawable used as a background for selected list items.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:listChoiceBackgroundIndicator
*/
public static final int Theme_listChoiceBackgroundIndicator = 74;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#listPopupWindowStyle}
attribute's value can be found in the {@link #Theme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:listPopupWindowStyle
*/
public static final int Theme_listPopupWindowStyle = 68;
/**
<p>
@attr description
The preferred list item height.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:listPreferredItemHeight
*/
public static final int Theme_listPreferredItemHeight = 62;
/**
<p>
@attr description
A larger, more robust list item height.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:listPreferredItemHeightLarge
*/
public static final int Theme_listPreferredItemHeightLarge = 64;
/**
<p>
@attr description
A smaller, sleeker list item height.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:listPreferredItemHeightSmall
*/
public static final int Theme_listPreferredItemHeightSmall = 63;
/**
<p>
@attr description
The preferred padding along the left edge of list items.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:listPreferredItemPaddingLeft
*/
public static final int Theme_listPreferredItemPaddingLeft = 65;
/**
<p>
@attr description
The preferred padding along the right edge of list items.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:listPreferredItemPaddingRight
*/
public static final int Theme_listPreferredItemPaddingRight = 66;
/**
<p>
@attr description
The background of a panel when it is inset from the left and right edges of the screen.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:panelBackground
*/
public static final int Theme_panelBackground = 71;
/**
<p>
@attr description
Default Panel Menu style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:panelMenuListTheme
*/
public static final int Theme_panelMenuListTheme = 73;
/**
<p>
@attr description
Default Panel Menu width.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:panelMenuListWidth
*/
public static final int Theme_panelMenuListWidth = 72;
/**
<p>
@attr description
Default PopupMenu style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:popupMenuStyle
*/
public static final int Theme_popupMenuStyle = 53;
/**
<p>
@attr description
Default PopupWindow style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:popupWindowStyle
*/
public static final int Theme_popupWindowStyle = 54;
/**
<p>
@attr description
Style for the search query widget.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:searchViewStyle
*/
public static final int Theme_searchViewStyle = 61;
/**
<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>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:selectableItemBackground
*/
public static final int Theme_selectableItemBackground = 46;
/**
<p>
@attr description
Background drawable for borderless standalone items that need focus/pressed states.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:selectableItemBackgroundBorderless
*/
public static final int Theme_selectableItemBackgroundBorderless = 47;
/**
<p>
@attr description
Default Spinner style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:spinnerDropDownItemStyle
*/
public static final int Theme_spinnerDropDownItemStyle = 41;
/**
<p>
@attr description
Default Spinner style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:spinnerStyle
*/
public static final int Theme_spinnerStyle = 40;
/**
<p>
@attr description
Default style for the Switch widget.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:switchStyle
*/
public static final int Theme_switchStyle = 57;
/**
<p>
@attr description
Text color, typeface, size, and style for the text inside of a popup menu.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:textAppearanceLargePopupMenu
*/
public static final int Theme_textAppearanceLargePopupMenu = 36;
/**
<p>
@attr description
The preferred TextAppearance for the primary text of list items.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:textAppearanceListItem
*/
public static final int Theme_textAppearanceListItem = 69;
/**
<p>
@attr description
The preferred TextAppearance for the primary text of small list items.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:textAppearanceListItemSmall
*/
public static final int Theme_textAppearanceListItemSmall = 70;
/**
<p>
@attr description
Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:textAppearanceSearchResultSubtitle
*/
public static final int Theme_textAppearanceSearchResultSubtitle = 59;
/**
<p>
@attr description
Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:textAppearanceSearchResultTitle
*/
public static final int Theme_textAppearanceSearchResultTitle = 58;
/**
<p>
@attr description
Text color, typeface, size, and style for small text inside of a popup menu.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:textAppearanceSmallPopupMenu
*/
public static final int Theme_textAppearanceSmallPopupMenu = 37;
/**
<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 to 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>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:textColorSearchUrl
*/
public static final int Theme_textColorSearchUrl = 60;
/**
<p>
@attr description
Default Toolar NavigationButtonStyle
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:toolbarNavigationButtonStyle
*/
public static final int Theme_toolbarNavigationButtonStyle = 52;
/**
<p>
@attr description
Default Toolbar style.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:toolbarStyle
*/
public static final int Theme_toolbarStyle = 51;
/**
<p>
@attr description
Flag indicating whether this window should have an Action Bar
in place of the usual title bar.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:windowActionBar
*/
public static final int Theme_windowActionBar = 1;
/**
<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>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:windowActionBarOverlay
*/
public static final int Theme_windowActionBarOverlay = 2;
/**
<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>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:windowActionModeOverlay
*/
public static final int Theme_windowActionModeOverlay = 3;
/**
<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), 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.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:windowFixedHeightMajor
*/
public static final int Theme_windowFixedHeightMajor = 7;
/**
<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), 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.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:windowFixedHeightMinor
*/
public static final int Theme_windowFixedHeightMinor = 5;
/**
<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), 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.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:windowFixedWidthMajor
*/
public static final int Theme_windowFixedWidthMajor = 4;
/**
<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), 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.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:windowFixedWidthMinor
*/
public static final int Theme_windowFixedWidthMinor = 6;
/** 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> Allows us to read in the minHeight attr pre-v16 </td></tr>
<tr><td><code>{@link #Toolbar_collapseContentDescription TelerikListViewXF.Droid:collapseContentDescription}</code></td><td> Text to set as the content description for the collapse button.</td></tr>
<tr><td><code>{@link #Toolbar_collapseIcon TelerikListViewXF.Droid:collapseIcon}</code></td><td> Icon drawable to use for the collapse button.</td></tr>
<tr><td><code>{@link #Toolbar_contentInsetEnd TelerikListViewXF.Droid:contentInsetEnd}</code></td><td>
Minimum inset for content views within a bar.</td></tr>
<tr><td><code>{@link #Toolbar_contentInsetLeft TelerikListViewXF.Droid:contentInsetLeft}</code></td><td>
Minimum inset for content views within a bar.</td></tr>
<tr><td><code>{@link #Toolbar_contentInsetRight TelerikListViewXF.Droid:contentInsetRight}</code></td><td>
Minimum inset for content views within a bar.</td></tr>
<tr><td><code>{@link #Toolbar_contentInsetStart TelerikListViewXF.Droid:contentInsetStart}</code></td><td>
Minimum inset for content views within a bar.</td></tr>
<tr><td><code>{@link #Toolbar_maxButtonHeight TelerikListViewXF.Droid:maxButtonHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationContentDescription TelerikListViewXF.Droid: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 TelerikListViewXF.Droid: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 TelerikListViewXF.Droid:popupTheme}</code></td><td>
Reference to a theme that should be used to inflate popups
shown by widgets in the toolbar.</td></tr>
<tr><td><code>{@link #Toolbar_subtitle TelerikListViewXF.Droid:subtitle}</code></td><td> Specifies subtitle text used for navigationMode="normal" </td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextAppearance TelerikListViewXF.Droid:subtitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_theme TelerikListViewXF.Droid:theme}</code></td><td>
Specifies a theme override for a view.</td></tr>
<tr><td><code>{@link #Toolbar_title TelerikListViewXF.Droid:title}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginBottom TelerikListViewXF.Droid:titleMarginBottom}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginEnd TelerikListViewXF.Droid:titleMarginEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginStart TelerikListViewXF.Droid:titleMarginStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginTop TelerikListViewXF.Droid:titleMarginTop}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMargins TelerikListViewXF.Droid:titleMargins}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextAppearance TelerikListViewXF.Droid:titleTextAppearance}</code></td><td></td></tr>
</table>
@see #Toolbar_android_gravity
@see #Toolbar_android_minHeight
@see #Toolbar_collapseContentDescription
@see #Toolbar_collapseIcon
@see #Toolbar_contentInsetEnd
@see #Toolbar_contentInsetLeft
@see #Toolbar_contentInsetRight
@see #Toolbar_contentInsetStart
@see #Toolbar_maxButtonHeight
@see #Toolbar_navigationContentDescription
@see #Toolbar_navigationIcon
@see #Toolbar_popupTheme
@see #Toolbar_subtitle
@see #Toolbar_subtitleTextAppearance
@see #Toolbar_theme
@see #Toolbar_title
@see #Toolbar_titleMarginBottom
@see #Toolbar_titleMarginEnd
@see #Toolbar_titleMarginStart
@see #Toolbar_titleMarginTop
@see #Toolbar_titleMargins
@see #Toolbar_titleTextAppearance
*/
public static final int[] Toolbar = {
0x010100af, 0x01010140, 0x7f010003, 0x7f010006,
0x7f010016, 0x7f010017, 0x7f010018, 0x7f010019,
0x7f01001b, 0x7f01009a, 0x7f01009b, 0x7f01009c,
0x7f01009d, 0x7f01009e, 0x7f01009f, 0x7f0100a0,
0x7f0100a1, 0x7f0100a2, 0x7f0100a3, 0x7f0100a4,
0x7f0100a5, 0x7f0100a6
};
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #Toolbar} array.
@attr name android:gravity
*/
public static final int Toolbar_android_gravity = 0;
/**
<p>
@attr description
Allows us to read in the minHeight attr pre-v16
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#minHeight}.
@attr name android:minHeight
*/
public static final int Toolbar_android_minHeight = 1;
/**
<p>
@attr description
Text to set as the content description for the collapse button.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:collapseContentDescription
*/
public static final int Toolbar_collapseContentDescription = 19;
/**
<p>
@attr description
Icon drawable to use for the collapse button.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:collapseIcon
*/
public static final int Toolbar_collapseIcon = 18;
/**
<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>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:contentInsetEnd
*/
public static final int Toolbar_contentInsetEnd = 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>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:contentInsetLeft
*/
public static final int Toolbar_contentInsetLeft = 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>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:contentInsetRight
*/
public static final int Toolbar_contentInsetRight = 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>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:contentInsetStart
*/
public static final int Toolbar_contentInsetStart = 4;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#maxButtonHeight}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:maxButtonHeight
*/
public static final int Toolbar_maxButtonHeight = 16;
/**
<p>
@attr description
Text to set as the content description for the navigation button
located at the start of the toolbar.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:navigationContentDescription
*/
public static final int Toolbar_navigationContentDescription = 21;
/**
<p>
@attr description
Icon drawable to use for the navigation button located at
the start of the toolbar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:navigationIcon
*/
public static final int Toolbar_navigationIcon = 20;
/**
<p>
@attr description
Reference to a theme that should be used to inflate popups
shown by widgets in the toolbar.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:popupTheme
*/
public static final int Toolbar_popupTheme = 8;
/**
<p>
@attr description
Specifies subtitle text used for navigationMode="normal"
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:subtitle
*/
public static final int Toolbar_subtitle = 3;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#subtitleTextAppearance}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:subtitleTextAppearance
*/
public static final int Toolbar_subtitleTextAppearance = 10;
/**
<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. During XML inflation, any child views under the
view with a theme override will inherit the themed context.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:theme
*/
public static final int Toolbar_theme = 17;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#title}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:title
*/
public static final int Toolbar_title = 2;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#titleMarginBottom}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:titleMarginBottom
*/
public static final int Toolbar_titleMarginBottom = 15;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#titleMarginEnd}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:titleMarginEnd
*/
public static final int Toolbar_titleMarginEnd = 13;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#titleMarginStart}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:titleMarginStart
*/
public static final int Toolbar_titleMarginStart = 12;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#titleMarginTop}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:titleMarginTop
*/
public static final int Toolbar_titleMarginTop = 14;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#titleMargins}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name TelerikListViewXF.Droid:titleMargins
*/
public static final int Toolbar_titleMargins = 11;
/**
<p>This symbol is the offset where the {@link TelerikListViewXF.Droid.R.attr#titleTextAppearance}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name TelerikListViewXF.Droid:titleTextAppearance
*/
public static final int Toolbar_titleTextAppearance = 9;
/** 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_focusable android:focusable}</code></td><td>
Boolean that controls whether a view can take focus.</td></tr>
<tr><td><code>{@link #View_paddingEnd TelerikListViewXF.Droid: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 TelerikListViewXF.Droid:paddingStart}</code></td><td> Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}.</td></tr>
</table>
@see #View_android_focusable
@see #View_paddingEnd
@see #View_paddingStart
*/
public static final int[] View = {
0x010100da, 0x7f0100a7, 0x7f0100a8
};
/**
<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>This corresponds to the global attribute
resource symbol {@link android.R.attr#focusable}.
@attr name android:focusable
*/
public static final int View_android_focusable = 0;
/**
<p>
@attr description
Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid: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>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>This is a private symbol.
@attr name TelerikListViewXF.Droid:paddingStart
*/
public static final int View_paddingStart = 1;
/** 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_inflatedId android:inflatedId}</code></td><td> Overrides the id of the inflated View with this value.</td></tr>
<tr><td><code>{@link #ViewStubCompat_android_layout android:layout}</code></td><td>
Supply an identifier for the layout resource to inflate when the ViewStub
becomes visible or when forced to do so.</td></tr>
</table>
@see #ViewStubCompat_android_id
@see #ViewStubCompat_android_inflatedId
@see #ViewStubCompat_android_layout
*/
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.
@attr name android:id
*/
public static final int ViewStubCompat_android_id = 0;
/**
<p>
@attr description
Overrides the id of the inflated View with this value.
<p>This corresponds to the global attribute
resource symbol {@link android.R.attr#inflatedId}.
@attr name android:inflatedId
*/
public static final int ViewStubCompat_android_inflatedId = 2;
/**
<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>This corresponds to the global attribute
resource symbol {@link android.R.attr#layout}.
@attr name android:layout
*/
public static final int ViewStubCompat_android_layout = 1;
};
}
| [
"mbcrump29@gmail.com"
] | mbcrump29@gmail.com |
a2d000daa8a52fbac34ac87e3bde5c993a03710d | ad3f12e1be728a54ea1fdd3adec1247392015bd8 | /app/src/main/java/org/akupeduli/workshophari3/Day3Test1Activity.java | 62bebf19eb9d142f6f9110ea9ab03c62e8f8a118 | [] | no_license | dzakiafif/workshop-h3 | ad6053671c17dbe6110f862f9135c2e84af98e9d | 630bd08e4a098b6ae0688d7cf151109dc90761c9 | refs/heads/master | 2020-12-03T17:36:22.783178 | 2016-08-31T15:00:52 | 2016-08-31T15:00:52 | 67,047,624 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,679 | java | package org.akupeduli.workshophari3;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;
public class Day3Test1Activity extends AppCompatActivity {
private static final int INTENT_CODE_DETAIL = 1;
RadioGroup grupWisata;
RadioButton radioPantai, radioAir;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_day3_test1);
radioAir = (RadioButton)findViewById(R.id.radioAir);
radioPantai= (RadioButton)findViewById(R.id.radioPantai);
grupWisata = (RadioGroup)findViewById(R.id.grupWisata);
((Button)findViewById(R.id.button19)).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
//kita buat intent untuk membuka halaman detail
Intent intent = new Intent(Day3Test1Activity.this,
Day3TestDetailActivity.class);
//cek ID button mana yang terpilih
int checkId = grupWisata.getCheckedRadioButtonId();
String mode = "";
//berdasarkan ID button yg terpilih, kita set mode dengan
//membandingkan dengan ID dari radio button
if(checkId == radioAir.getId()){
mode = "mata-air";
}
if(checkId == radioPantai.getId()){
mode = "pantai";
}
//pasang mode ke intent agar bisa dibaca di activity detail
intent.putExtra("mode", mode);
//start activity detail dengan code INTENT_CODE_DETAIL
startActivityForResult(intent, INTENT_CODE_DETAIL);
}
});
}
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
//cek apakah intent code sama
if(requestCode == INTENT_CODE_DETAIL){
//cek apakah hasil selesai
if(resultCode == RESULT_OK){
TextView textDetail = (TextView)findViewById(R.id.textDetail);
//kita simpan data kembalian dari string extra
String dataKembalian = data.getStringExtra("result");
//lalu ditampilkan
textDetail.setText("Detail grup yang anda pilih: " + dataKembalian);
}
}
}
}
| [
"dzakiafif12@gmail.com"
] | dzakiafif12@gmail.com |
f5ec29bb41ec2a316ee993239e84e5d6af0044d9 | 6a4449fc160907f5327bd11a16edbb7b7a4aa4df | /Pokedex-master/app/src/main/java/tech/alvarez/pokedex/ListaAdapter.java | feefd180b856734748c4ed6a7ad01daccb1703fb | [] | no_license | Enrique-07/pokedex | b9d70a42f46627b403c9a0ec834b3dd1f3b49fda | f09f502e91e1e287064ee842e619402f38ca5a76 | refs/heads/master | 2020-05-18T19:53:14.659212 | 2019-05-02T17:04:14 | 2019-05-02T17:04:14 | 184,619,659 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,025 | java | package tech.alvarez.pokedex;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import java.util.ArrayList;
import tech.alvarez.pokedex.models.datos;
public class ListaAdapter extends RecyclerView.Adapter<ListaAdapter.ViewHolder> {
private ArrayList<datos> dataset;
private Context context;
public ListaAdapter(Context context) {
this.context = context;
dataset = new ArrayList<>();
}
@Override
public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_datos, parent, false);
return new ViewHolder(view);
}
@Override
public void onBindViewHolder(ViewHolder holder, int position) {
Pokemon p = dataset.get(position);
holder.nombreTextView.setText(p.getName());
Glide.with(context)
//.load("http://pokeapi.co/media/sprites/pokemon/" + p.getNumber() + ".png")
.centerCrop()
.crossFade()
.diskCacheStrategy(DiskCacheStrategy.ALL)
.into(holder.fotoImageView);
}
@Override
public int getItemCount() {
return dataset.size();
}
public void adicionarLista(ArrayList<datos> lista) {
dataset.addAll(lista);
notifyDataSetChanged();
}
public class ViewHolder extends RecyclerView.ViewHolder {
private ImageView fotoImageView;
private TextView nombreTextView;
public ViewHolder(View itemView) {
super(itemView);
fotoImageView = (ImageView) itemView.findViewById(R.id.fotoImageView);
nombreTextView = (TextView) itemView.findViewById(R.id.nombreTextView);
}
}
}
| [
"enrique.lima.sandoval@gmail.com"
] | enrique.lima.sandoval@gmail.com |
64db7765763903df3211c2e3e29fdf0ae6c175fe | 496c9b5a443ef1de1d807e9e957c268ed8c7ea50 | /retrofit/retrofit_json2/src/main/java/com/example/retrofit_json2/adapter/CustomAdapter.java | c00a93f2fac5deea9ec5da92efd5607e8272c70a | [] | no_license | sujitmore21/android_daily_java | 4711c62b2bd9e036d598cc4e1b5ac0a99403a400 | b76acad190812f81017c81040a05289196e2574e | refs/heads/master | 2020-06-06T07:47:01.395446 | 2019-07-24T15:16:41 | 2019-07-24T15:16:41 | 192,681,448 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,107 | java | package com.example.retrofit_json2.adapter;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import com.example.retrofit_json2.R;
import com.example.retrofit_json2.model.RetroPhoto;
import com.jakewharton.picasso.OkHttp3Downloader;
import com.squareup.picasso.Picasso;
import java.util.List;
public class CustomAdapter extends RecyclerView.Adapter<CustomAdapter.CustomViewHolder> {
private List<RetroPhoto> dataList;
private Context context;
public CustomAdapter(Context context,List<RetroPhoto> dataList){
this.context = context;
this.dataList = dataList;
}
class CustomViewHolder extends RecyclerView.ViewHolder {
public final View mView;
TextView txtTitle;
private ImageView coverImage;
CustomViewHolder(View itemView) {
super(itemView);
mView = itemView;
txtTitle = mView.findViewById(R.id.title);
coverImage = mView.findViewById(R.id.coverImage);
}
}
@Override
public CustomViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
LayoutInflater layoutInflater = LayoutInflater.from(parent.getContext());
View view = layoutInflater.inflate(R.layout.custom_row, parent, false);
return new CustomViewHolder(view);
}
@Override
public void onBindViewHolder(CustomViewHolder holder, int position) {
holder.txtTitle.setText(dataList.get(position).getTitle());
Picasso.Builder builder = new Picasso.Builder(context);
builder.downloader(new OkHttp3Downloader(context));
builder.build().load(dataList.get(position).getThumbnailUrl())
.placeholder((R.drawable.ic_launcher_background))
.error(R.drawable.ic_launcher_background)
.into(holder.coverImage);
}
@Override
public int getItemCount() {
return dataList.size();
}
}
| [
"sujitmore21@gmail.com"
] | sujitmore21@gmail.com |
30a298c1a7bbe09350004859560d3c4dbee67c36 | b4c6013f346e178222cc579ede4da019c7f8c221 | /src/main/java/org/cafebabepy/runtime/module/_weakref/PyWeakRefModule.java | 9b56f63ec9f2bd95d48839f895e8487b5e2ba44a | [
"BSD-3-Clause",
"OpenSSL",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"GPL-1.0-or-later",
"LicenseRef-scancode-unicode"
] | permissive | cafebabepy/cafebabepy | e69248c4f3d9bab00e93ee749d273bc2c9244f8d | 4ab0e67b8cd79f2ca7cab6281bc811d3b9bc69c1 | refs/heads/develop | 2022-12-09T21:14:56.651792 | 2019-07-01T09:05:23 | 2019-07-01T09:05:23 | 90,854,936 | 9 | 1 | BSD-3-Clause | 2018-01-02T02:13:51 | 2017-05-10T11:05:11 | Java | UTF-8 | Java | false | false | 585 | java | package org.cafebabepy.runtime.module._weakref;
import org.cafebabepy.runtime.Python;
import org.cafebabepy.runtime.module.AbstractCafeBabePyModule;
import org.cafebabepy.runtime.module.DefinePyModule;
/**
* Created by yotchang4s on 2018/10/28.
*/
@DefinePyModule(name = "_weakref")
public class PyWeakRefModule extends AbstractCafeBabePyModule {
// FIXME stub
public PyWeakRefModule(Python runtime) {
super(runtime);
}
@Override
public void initialize() {
getFrame().getLocals().put("ref", this.runtime.typeOrThrow("weakref", false));
}
} | [
"yoshiaki.shibutani@f-code.co.jp"
] | yoshiaki.shibutani@f-code.co.jp |
ee5af13894bc320bc346e388512ddfca864a36f7 | 3f9d01e55fd7feb75cd944878db9f9630ca1be85 | /src/main/java/com/cbm/pos/web/controller/CheckInController.java | 2fcd77e257769f64c962f72c4d3bf7afde7f7666 | [] | no_license | raouf505/cbm-posx | f3021b7936e34e3aa8a09dc786cb2df9c7583f24 | f5d56260b2f3113f0fb77d14e8bd6ef2eddd3e37 | refs/heads/master | 2021-01-10T04:59:52.562467 | 2014-09-04T03:55:54 | 2014-09-04T03:55:54 | 49,307,278 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,514 | java | package com.cbm.pos.web.controller;
import java.util.List;
import java.util.Locale;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import com.cbm.pos.content.PageContent;
//import com.cbm.pos.web.domain.Bill;
//import com.cbm.pos.web.service.BillService;
@Controller
@RequestMapping("/checkIn")
public class CheckInController extends CommonController {
private static final Logger logger = LoggerFactory.getLogger(CheckInController.class);
// @Autowired
// private BillService billService;
@RequestMapping
public String show(Locale locale, Model model) {
logger.info("Show checkIn request handler triggered");
model.addAttribute("pageContent", contentManagerService.getContent(locale.toString(), "checkInPage", PageContent.class));
return "checkIn";
}
// @RequestMapping(value = "/crudService", method = RequestMethod.GET)
// public @ResponseBody List<Bill> listAll() {
// logger.info("crudService - listAll handler triggered");
//
// return billService.listAll();
// }
}
| [
"chrisbol82@gmail.com"
] | chrisbol82@gmail.com |
128cd87511aa1812c2b25121eab8536625d9e2ec | 490988adb3f6dd0969500c6b29b7fe2a46082a9f | /src/com/danda/chapter9/nine9/testProgram.java | da359dd863e312e2c694c993932d63ac5ff59bfa | [] | no_license | AJmods/CAPS-Java-Projects | 7fa9af7baba1ad86494c952834970c38af87366d | 95afbd0d168169ee1cf6001e141ab79b117ed120 | refs/heads/master | 2020-09-24T07:35:40.638138 | 2020-05-22T17:13:08 | 2020-05-22T17:13:08 | 225,703,213 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 567 | java | package com.danda.chapter9.nine9;
public class testProgram {
public static void main(String[] args) {
RegularPolygon[] polygons = new RegularPolygon[3];
polygons[0] = new RegularPolygon();
polygons[1] = new RegularPolygon(6,4);
polygons[2] = new RegularPolygon(10,4,5.6,7.8);
for (int i = 0; i < polygons.length; i++)
{
System.out.println("Polygon " + i + " perimeter is " + polygons[i].getPerimeter());
System.out.println("Polygon " + i + " area is " + polygons[i].getArea());
}
}
}
| [
"ev3guy@gmail.com"
] | ev3guy@gmail.com |
7ca01c497b216f77c915753daee28a68e4c0e65b | d1dc96dbf60e58c635672b72fb7ecae2d7d98d2f | /src/test/java/org/radarcns/management/web/rest/SourceDataResourceIntTest.java | bb98000ef937e0e62cd925319cf1d8c7aadc3c4c | [
"Apache-2.0"
] | permissive | qtieng/QSG-ManagementPortal | 22eaae7af41a673788296deadbe9e515d145296f | ca75b37e2862aa439b311bc05122e88ac2fe0c0e | refs/heads/master | 2020-03-08T07:47:44.034341 | 2018-04-04T03:00:42 | 2018-04-04T03:00:42 | 128,003,612 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 17,359 | java | package org.radarcns.management.web.rest;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.hasItem;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.delete;
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.request.MockMvcRequestBuilders.put;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import java.util.List;
import javax.persistence.EntityManager;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.MockitoAnnotations;
import org.radarcns.management.ManagementPortalTestApp;
import org.radarcns.management.domain.SourceData;
import org.radarcns.management.domain.enumeration.ProcessingState;
import org.radarcns.management.repository.SourceDataRepository;
import org.radarcns.management.security.JwtAuthenticationFilter;
import org.radarcns.management.service.SourceDataService;
import org.radarcns.management.service.dto.SourceDataDTO;
import org.radarcns.management.service.mapper.SourceDataMapper;
import org.radarcns.management.web.rest.errors.ExceptionTranslator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.web.PageableHandlerMethodArgumentResolver;
import org.springframework.http.MediaType;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.mock.web.MockFilterConfig;
import org.springframework.security.test.context.support.WithMockUser;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.util.ReflectionTestUtils;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
import org.springframework.transaction.annotation.Transactional;
/**
* Test class for the SourceDataResource REST controller.
*
* @see SourceDataResource
*/
@RunWith(SpringRunner.class)
@SpringBootTest(classes = ManagementPortalTestApp.class)
@WithMockUser
public class SourceDataResourceIntTest {
private static final String DEFAULT_SOURCE_DATA_TYPE = "AAAAAAAAAA";
private static final String UPDATED_SOURCE_DATA_TYPE = "BBBBBBBBBB";
private static final String DEFAULT_SOURCE_DATA_NAME = "AAAAAAAAAAAAA";
private static final String UPDATED_SOURCE_DATA_NAME = "BBBBBBBBBBAAA";
private static final ProcessingState DEFAULT_PROCESSING_STATE = ProcessingState.RAW;
private static final ProcessingState UPDATED_PROCESSING_STATE = ProcessingState.DERIVED;
private static final String DEFAULT_KEY_SCHEMA = "AAAAAAAAAAC";
private static final String UPDATED_KEY_SCHEMA = "BBBBBBBBBBC";
private static final String DEFAULT_VALUE_SCHEMA = "AAAAAAAAAAA";
private static final String UPDATED_VALUE_SCHEMA = "BBBBBBBBBBB";
private static final String DEFAULT_FREQUENCY = "AAAAAAAAAAAA";
private static final String UPDATED_FREQUENCY = "BBBBBBBBBBBB";
private static final String DEFAULT_UNTI = "AAAAAAAAAAAAAAC";
private static final String UPDATED_UNIT = "BBBBBBBBBBBBBBC";
private static final String DEFAULT_TOPIC = "AAAAAAAAAAAAAAA";
private static final String UPDATED_TOPIC = "BBBBBBBBBBBBBBB";
@Autowired
private SourceDataRepository sourceDataRepository;
@Autowired
private SourceDataMapper sourceDataMapper;
@Autowired
private SourceDataService sourceDataService;
@Autowired
private MappingJackson2HttpMessageConverter jacksonMessageConverter;
@Autowired
private PageableHandlerMethodArgumentResolver pageableArgumentResolver;
@Autowired
private ExceptionTranslator exceptionTranslator;
@Autowired
private EntityManager em;
@Autowired
private HttpServletRequest servletRequest;
private MockMvc restSourceDataMockMvc;
private SourceData sourceData;
@Before
public void setUp() throws ServletException {
MockitoAnnotations.initMocks(this);
SourceDataResource sourceDataResource = new SourceDataResource();
ReflectionTestUtils.setField(sourceDataResource, "sourceDataService", sourceDataService);
ReflectionTestUtils.setField(sourceDataResource, "servletRequest", servletRequest);
JwtAuthenticationFilter filter = new JwtAuthenticationFilter();
filter.init(new MockFilterConfig());
this.restSourceDataMockMvc = MockMvcBuilders.standaloneSetup(sourceDataResource)
.setCustomArgumentResolvers(pageableArgumentResolver)
.setControllerAdvice(exceptionTranslator)
.setMessageConverters(jacksonMessageConverter)
.addFilter(filter)
.defaultRequest(get("/").with(OAuthHelper.bearerToken())).build();
}
/**
* Create an entity for this test.
*
* <p>This is a static method, as tests for other entities might also need it,
* if they test an entity which requires the current entity.</p>
*/
public static SourceData createEntity(EntityManager em) {
SourceData sourceData = new SourceData()
.sourceDataType(DEFAULT_SOURCE_DATA_TYPE)
.sourceDataName(DEFAULT_SOURCE_DATA_NAME)
.processingState(DEFAULT_PROCESSING_STATE)
.keySchema(DEFAULT_KEY_SCHEMA)
.valueSchema(DEFAULT_VALUE_SCHEMA)
.topic(DEFAULT_TOPIC)
.unit(DEFAULT_UNTI)
.frequency(DEFAULT_FREQUENCY);
return sourceData;
}
@Before
public void initTest() {
sourceData = createEntity(em);
}
@Test
@Transactional
public void createSourceData() throws Exception {
int databaseSizeBeforeCreate = sourceDataRepository.findAll().size();
// Create the SourceData
SourceDataDTO sourceDataDto = sourceDataMapper.sourceDataToSourceDataDTO(sourceData);
restSourceDataMockMvc.perform(post("/api/source-data")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(sourceDataDto)))
.andExpect(status().isCreated());
// Validate the SourceData in the database
List<SourceData> sourceDataList = sourceDataRepository.findAll();
assertThat(sourceDataList).hasSize(databaseSizeBeforeCreate + 1);
SourceData testSourceData = sourceDataList.get(sourceDataList.size() - 1);
assertThat(testSourceData.getSourceDataType()).isEqualTo(DEFAULT_SOURCE_DATA_TYPE);
assertThat(testSourceData.getSourceDataName()).isEqualTo(DEFAULT_SOURCE_DATA_NAME);
assertThat(testSourceData.getProcessingState()).isEqualTo(DEFAULT_PROCESSING_STATE);
assertThat(testSourceData.getKeySchema()).isEqualTo(DEFAULT_KEY_SCHEMA);
assertThat(testSourceData.getValueSchema()).isEqualTo(DEFAULT_VALUE_SCHEMA);
assertThat(testSourceData.getFrequency()).isEqualTo(DEFAULT_FREQUENCY);
assertThat(testSourceData.getTopic()).isEqualTo(DEFAULT_TOPIC);
assertThat(testSourceData.getUnit()).isEqualTo(DEFAULT_UNTI);
}
@Test
@Transactional
public void createSourceDataWithExistingId() throws Exception {
int databaseSizeBeforeCreate = sourceDataRepository.findAll().size();
// Create the SourceData with an existing ID
sourceData.setId(1L);
SourceDataDTO sourceDataDto = sourceDataMapper.sourceDataToSourceDataDTO(sourceData);
// An entity with an existing ID cannot be created, so this API call must fail
restSourceDataMockMvc.perform(post("/api/source-data")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(sourceDataDto)))
.andExpect(status().isBadRequest());
// Validate the Alice in the database
List<SourceData> sourceDataList = sourceDataRepository.findAll();
assertThat(sourceDataList).hasSize(databaseSizeBeforeCreate);
}
@Test
@Transactional
public void checkSourceDataTypeIsRequired() throws Exception {
int databaseSizeBeforeTest = sourceDataRepository.findAll().size();
// set the field null
sourceData.setSourceDataType(null);
// Create the SourceData, which fails.
SourceDataDTO sourceDataDto = sourceDataMapper.sourceDataToSourceDataDTO(sourceData);
restSourceDataMockMvc.perform(post("/api/source-data")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(sourceDataDto)))
.andExpect(status().isBadRequest());
List<SourceData> sourceDataList = sourceDataRepository.findAll();
assertThat(sourceDataList).hasSize(databaseSizeBeforeTest);
}
@Test
@Transactional
public void getAllSourceData() throws Exception {
// Initialize the database
sourceDataRepository.saveAndFlush(sourceData);
// Get all the sourceDataList
restSourceDataMockMvc.perform(get("/api/source-data?sort=id,desc"))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE))
.andExpect(jsonPath("$.[*].id").value(hasItem(sourceData.getId().intValue())))
.andExpect(jsonPath("$.[*].sourceDataType").value(
hasItem(DEFAULT_SOURCE_DATA_TYPE)))
.andExpect(jsonPath("$.[*].sourceDataName").value(
hasItem(DEFAULT_SOURCE_DATA_NAME)))
.andExpect(jsonPath("$.[*].processingState").value(
hasItem(DEFAULT_PROCESSING_STATE.toString())))
.andExpect(jsonPath("$.[*].keySchema").value(hasItem(DEFAULT_KEY_SCHEMA)))
.andExpect(jsonPath("$.[*].valueSchema").value(hasItem(DEFAULT_VALUE_SCHEMA)))
.andExpect(jsonPath("$.[*].unit").value(hasItem(DEFAULT_UNTI)))
.andExpect(jsonPath("$.[*].topic").value(hasItem(DEFAULT_TOPIC)))
.andExpect(jsonPath("$.[*].frequency").value(hasItem(DEFAULT_FREQUENCY)));
}
@Test
@Transactional
public void getAllSourceDataWithPagination() throws Exception {
// Initialize the database
sourceDataRepository.saveAndFlush(sourceData);
// Get all the sourceDataList
restSourceDataMockMvc.perform(get("/api/source-data?page=0&size=5&sort=id,desc"))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE))
.andExpect(jsonPath("$.[*].id").value(hasItem(sourceData.getId().intValue())))
.andExpect(jsonPath("$.[*].sourceDataType").value(
hasItem(DEFAULT_SOURCE_DATA_TYPE)))
.andExpect(jsonPath("$.[*].sourceDataName").value(
hasItem(DEFAULT_SOURCE_DATA_NAME)))
.andExpect(jsonPath("$.[*].processingState").value(
hasItem(DEFAULT_PROCESSING_STATE.toString())))
.andExpect(jsonPath("$.[*].keySchema").value(hasItem(DEFAULT_KEY_SCHEMA)))
.andExpect(jsonPath("$.[*].valueSchema").value(hasItem(DEFAULT_VALUE_SCHEMA)))
.andExpect(jsonPath("$.[*].unit").value(hasItem(DEFAULT_UNTI)))
.andExpect(jsonPath("$.[*].topic").value(hasItem(DEFAULT_TOPIC)))
.andExpect(jsonPath("$.[*].frequency").value(hasItem(DEFAULT_FREQUENCY)));
}
@Test
@Transactional
public void getSourceData() throws Exception {
// Initialize the database
sourceDataRepository.saveAndFlush(sourceData);
// Get the sourceData
restSourceDataMockMvc.perform(get("/api/source-data/{sourceDataName}",
sourceData.getSourceDataName()))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE))
.andExpect(jsonPath("$.id").value(sourceData.getId().intValue()))
.andExpect(jsonPath("$.sourceDataType").value(DEFAULT_SOURCE_DATA_TYPE))
.andExpect(jsonPath("$.sourceDataName").value(DEFAULT_SOURCE_DATA_NAME))
.andExpect(jsonPath("$.processingState").value(DEFAULT_PROCESSING_STATE.toString()))
.andExpect(jsonPath("$.keySchema").value(DEFAULT_KEY_SCHEMA))
.andExpect(jsonPath("$.valueSchema").value(DEFAULT_VALUE_SCHEMA))
.andExpect(jsonPath("$.unit").value(DEFAULT_UNTI))
.andExpect(jsonPath("$.topic").value(DEFAULT_TOPIC))
.andExpect(jsonPath("$.frequency").value(DEFAULT_FREQUENCY));
}
@Test
@Transactional
public void getNonExistingSourceData() throws Exception {
// Get the sourceData
restSourceDataMockMvc.perform(get("/api/source-data/{sourceDataName}",
DEFAULT_SOURCE_DATA_NAME + DEFAULT_SOURCE_DATA_NAME))
.andExpect(status().isNotFound());
}
@Test
@Transactional
public void updateSourceData() throws Exception {
// Initialize the database
sourceDataRepository.saveAndFlush(sourceData);
int databaseSizeBeforeUpdate = sourceDataRepository.findAll().size();
// Update the sourceData
SourceData updatedSourceData = sourceDataRepository.findOne(sourceData.getId());
updatedSourceData
.sourceDataType(UPDATED_SOURCE_DATA_TYPE)
.sourceDataName(UPDATED_SOURCE_DATA_NAME)
.processingState(UPDATED_PROCESSING_STATE)
.keySchema(UPDATED_KEY_SCHEMA)
.valueSchema(UPDATED_VALUE_SCHEMA)
.topic(UPDATED_TOPIC)
.unit(UPDATED_UNIT)
.frequency(UPDATED_FREQUENCY);
SourceDataDTO sourceDataDto = sourceDataMapper.sourceDataToSourceDataDTO(updatedSourceData);
restSourceDataMockMvc.perform(put("/api/source-data")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(sourceDataDto)))
.andExpect(status().isOk());
// Validate the SourceData in the database
List<SourceData> sourceDataList = sourceDataRepository.findAll();
assertThat(sourceDataList).hasSize(databaseSizeBeforeUpdate);
SourceData testSourceData = sourceDataList.get(sourceDataList.size() - 1);
assertThat(testSourceData.getSourceDataType()).isEqualTo(UPDATED_SOURCE_DATA_TYPE);
assertThat(testSourceData.getSourceDataName()).isEqualTo(UPDATED_SOURCE_DATA_NAME);
assertThat(testSourceData.getProcessingState()).isEqualTo(UPDATED_PROCESSING_STATE);
assertThat(testSourceData.getKeySchema()).isEqualTo(UPDATED_KEY_SCHEMA);
assertThat(testSourceData.getValueSchema()).isEqualTo(UPDATED_VALUE_SCHEMA);
assertThat(testSourceData.getTopic()).isEqualTo(UPDATED_TOPIC);
assertThat(testSourceData.getUnit()).isEqualTo(UPDATED_UNIT);
assertThat(testSourceData.getFrequency()).isEqualTo(UPDATED_FREQUENCY);
}
@Test
@Transactional
public void updateNonExistingSourceData() throws Exception {
int databaseSizeBeforeUpdate = sourceDataRepository.findAll().size();
// Create the SourceData
SourceDataDTO sourceDataDto = sourceDataMapper.sourceDataToSourceDataDTO(sourceData);
// If the entity doesn't have an ID, it will be created instead of just being updated
restSourceDataMockMvc.perform(put("/api/source-data")
.contentType(TestUtil.APPLICATION_JSON_UTF8)
.content(TestUtil.convertObjectToJsonBytes(sourceDataDto)))
.andExpect(status().isCreated());
// Validate the SourceData in the database
List<SourceData> sourceDataList = sourceDataRepository.findAll();
assertThat(sourceDataList).hasSize(databaseSizeBeforeUpdate + 1);
}
@Test
@Transactional
public void deleteSourceData() throws Exception {
// Initialize the database
sourceDataRepository.saveAndFlush(sourceData);
int databaseSizeBeforeDelete = sourceDataRepository.findAll().size();
// Get the sourceData
restSourceDataMockMvc.perform(delete("/api/source-data/{sourceDataName}",
sourceData.getSourceDataName())
.accept(TestUtil.APPLICATION_JSON_UTF8))
.andExpect(status().isOk());
// Validate the database is empty
List<SourceData> sourceDataList = sourceDataRepository.findAll();
assertThat(sourceDataList).hasSize(databaseSizeBeforeDelete - 1);
}
@Test
@Transactional
public void equalsVerifier() throws Exception {
TestUtil.equalsVerifier(SourceData.class);
}
}
| [
"qtieng@gmail.com"
] | qtieng@gmail.com |
544043f3aa7e47f83f5f1b0ab946f6ce745b507a | 438f5e6ab1b915d7062f738d521e47b636b3b6d9 | /src/com/jmz/adapter/MyOrderProductInfoAdapter.java | 02c11d4ec4e7a99d5eedf78e09d1f1e0dac73971 | [] | no_license | hg2008518/jinmu | 00d8148c60cfa7683dd7e3adb8f5158d01784184 | 4a48707d45774a81f840dc0b6f0ba97a7eb4ca77 | refs/heads/master | 2021-01-21T21:09:36.374199 | 2017-05-24T16:14:35 | 2017-05-24T16:14:35 | 92,311,530 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,681 | java | package com.jmz.adapter;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.content.Context;
import android.graphics.Bitmap;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.jmz.MyApplication;
import com.jmz.ParentActivity;
import com.jmz.R;
import com.jmz.bean.OrderProduct;
import com.jmz.uitl.BitmapUtlie;
import com.jmz.uitl.Config;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.listener.SimpleImageLoadingListener;
/**
* 购物车订单预览商品适配器
*
* @author Administrator
*
*/
public class MyOrderProductInfoAdapter extends BaseAdapter {
private Context context;
private List<OrderProduct> orderProducts;
private ViewHolder holder;
public ParentActivity activity;
private HashMap<Integer, Bitmap> map ;
public MyOrderProductInfoAdapter(Context context, List<OrderProduct> orderProducts) {
this.context = context;
this.orderProducts = orderProducts;
activity = (ParentActivity) context;
map = new HashMap<Integer, Bitmap>();
}
@Override
public int getCount() {
return orderProducts.size();
}
@Override
public Object getItem(int position) {
return position;
}
@Override
public long getItemId(int id) {
return 0;
}
@Override
public View getView(final int position, View view, ViewGroup parent) {
if (view == null) {
holder = new ViewHolder();
view = LayoutInflater.from(context).inflate(
R.layout.adapter_myorderproductinfo_product_listadapter, null);
holder.productImg = (ImageView) view
.findViewById(R.id.adapter_myorderinfo_product_img);
holder.productTitle = (TextView) view
.findViewById(R.id.adapter_myorderinfo_product_title);
holder.productAttr = (TextView) view
.findViewById(R.id.adapter_myorderinfo_product_attr);
holder.productNumber = (TextView) view
.findViewById(R.id.adapter_myorderinfo_product_number);
holder.productPrice = (TextView) view
.findViewById(R.id.adapter_myorderinfo_product_price);
holder.productMoney = (TextView) view
.findViewById(R.id.adapter_myorderinfo_product_money);
view.setTag(holder);
} else {
holder = (ViewHolder) view.getTag();
}
holder.productTitle.setText(orderProducts.get(position).getProductTitle());
holder.productAttr.setText(orderProducts.get(position).getProductAttribute());
holder.productNumber.setText("数量:"
+ orderProducts.get(position).getQuantity()+"件");
holder.productPrice.setText("价格:"
+ context.getString(R.string.yuanicon)
+ orderProducts.get(position).getShopPrice());
holder.productMoney.setText("小计:"
+ orderProducts.get(position).getShopMoney());
//设置图片
LayoutParams ImgParams = holder.productImg.getLayoutParams();
ImgParams.width = activity.screenWidth * 3 / 10;
ImgParams.height = activity.screenWidth * 3 / 10;
holder.productImg.setLayoutParams(ImgParams);
ImageLoader.getInstance().displayImage(Config.JMZG
+ orderProducts.get(position).getImageUrl()
.replace(".jpg", "_1.jpg"), holder.productImg,
MyApplication.getInstance().getOptions());
return view;
}
/**
* 销毁bitmap
*/
public void destroy() {
if (holder.productImg != null) {
holder.productImg.setImageBitmap(null);
}
System.gc();
}
private static class ViewHolder {
protected TextView productAttr;
protected TextView productTitle, productNumber, productPrice, productMoney;
protected ImageView productImg;
}
}
| [
"573398478@qq.com"
] | 573398478@qq.com |
0d351e43090707a7d7d71927e1ecf8cf53ac33ca | 29f78bfb928fb6f191b08624ac81b54878b80ded | /generated_SPs_SCs/ehealth/SPs/SP_healthcareserviceprovider11/src/main/java/SP_healthcareserviceprovider11/resource/Resource_restServiceName_1.java | ac61b93932d4ed4b1c1ab03fda600cbd739718ce | [] | no_license | MSPL4SOA/MSPL4SOA-tool | 8a78e73b4ac7123cf1815796a70f26784866f272 | 9f3419e416c600cba13968390ee89110446d80fb | refs/heads/master | 2020-04-17T17:30:27.410359 | 2018-07-27T14:18:55 | 2018-07-27T14:18:55 | 66,304,158 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 1,831 | java | package SP_radar1.resource;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.DELETE;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Response;
import SP_radar1.output.OutputDataClassName_1_1;
import SP_radar1.output.OutputDataClassName_1_2;
import SP_radar1.output.OutputDataClassName_1_3;
@Path("ServiceName_1")
public interface Resource_restServiceName_1 {
@GET
@Path("/CapabilityName_1_1/{InputName_1_1_1}/{InputName_1_1_2}/{InputName_1_1_5}/{InputName_1_1_3}/{InputName_1_1_4}/")
@Produces({ "text/xml" })
public Response CapabilityName_1_1(
@PathParam("InputName_1_1_1") Integer InputName_1_1_1
, @PathParam("InputName_1_1_2") Integer InputName_1_1_2
, @PathParam("InputName_1_1_5") Float InputName_1_1_5
, @PathParam("InputName_1_1_3") Float InputName_1_1_3
, @PathParam("InputName_1_1_4") String InputName_1_1_4
);
@GET
@Path("/CapabilityName_1_2/{InputName_1_2_1}/{InputName_1_2_4}/{InputName_1_2_2}/{InputName_1_2_3}/")
@Produces({ "text/xml" })
public Response CapabilityName_1_2(
@PathParam("InputName_1_2_1") Float InputName_1_2_1
, @PathParam("InputName_1_2_4") String InputName_1_2_4
, @PathParam("InputName_1_2_2") Float InputName_1_2_2
, @PathParam("InputName_1_2_3") String InputName_1_2_3
);
@GET
@Path("/CapabilityName_1_3/{InputName_1_3_5}/{InputName_1_3_3}/{InputName_1_3_4}/{InputName_1_3_1}/{InputName_1_3_2}/")
@Produces({ "text/xml" })
public Response CapabilityName_1_3(
@PathParam("InputName_1_3_5") Integer InputName_1_3_5
, @PathParam("InputName_1_3_3") Float InputName_1_3_3
, @PathParam("InputName_1_3_4") String InputName_1_3_4
, @PathParam("InputName_1_3_1") Float InputName_1_3_1
, @PathParam("InputName_1_3_2") Integer InputName_1_3_2
);
}
| [
"akram.kamoun@gmail.com"
] | akram.kamoun@gmail.com |
3b557a1eceae041a7b544554df5caa5b0b1be3b8 | cbea23d5e087a862edcf2383678d5df7b0caab67 | /aws-java-sdk-amplifyuibuilder/src/main/java/com/amazonaws/services/amplifyuibuilder/model/transform/UpdateComponentRequestMarshaller.java | 5f87ab95d190a03994b58e942b8ecd50063857ff | [
"Apache-2.0"
] | permissive | phambryan/aws-sdk-for-java | 66a614a8bfe4176bf57e2bd69f898eee5222bb59 | 0f75a8096efdb4831da8c6793390759d97a25019 | refs/heads/master | 2021-12-14T21:26:52.580137 | 2021-12-03T22:50:27 | 2021-12-03T22:50:27 | 4,263,342 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,438 | java | /*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.amplifyuibuilder.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.amplifyuibuilder.model.*;
import com.amazonaws.util.IdempotentUtils;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* UpdateComponentRequestMarshaller
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
@SdkInternalApi
public class UpdateComponentRequestMarshaller {
private static final MarshallingInfo<String> APPID_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PATH)
.marshallLocationName("appId").build();
private static final MarshallingInfo<String> CLIENTTOKEN_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
.marshallLocation(MarshallLocation.QUERY_PARAM).marshallLocationName("clientToken")
.defaultValueSupplier(com.amazonaws.util.IdempotentUtils.getGenerator()).build();
private static final MarshallingInfo<String> ENVIRONMENTNAME_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
.marshallLocation(MarshallLocation.PATH).marshallLocationName("environmentName").build();
private static final MarshallingInfo<String> ID_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PATH)
.marshallLocationName("id").build();
private static final MarshallingInfo<StructuredPojo> UPDATEDCOMPONENT_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).isExplicitPayloadMember(true).build();
private static final UpdateComponentRequestMarshaller instance = new UpdateComponentRequestMarshaller();
public static UpdateComponentRequestMarshaller getInstance() {
return instance;
}
/**
* Marshall the given parameter object.
*/
public void marshall(UpdateComponentRequest updateComponentRequest, ProtocolMarshaller protocolMarshaller) {
if (updateComponentRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarshaller.marshall(updateComponentRequest.getAppId(), APPID_BINDING);
protocolMarshaller.marshall(updateComponentRequest.getClientToken(), CLIENTTOKEN_BINDING);
protocolMarshaller.marshall(updateComponentRequest.getEnvironmentName(), ENVIRONMENTNAME_BINDING);
protocolMarshaller.marshall(updateComponentRequest.getId(), ID_BINDING);
protocolMarshaller.marshall(updateComponentRequest.getUpdatedComponent(), UPDATEDCOMPONENT_BINDING);
} catch (Exception e) {
throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
}
}
}
| [
""
] | |
3c96e8727ccc6d91c00d681fae38e1be747b5c7b | 4aa90348abcb2119011728dc067afd501f275374 | /app/src/main/java/com/tencent/mm/plugin/fingerprint/a$1.java | 97f99dafe8304f4a323aec2637ba7219c7c9e6b1 | [] | no_license | jambestwick/HackWechat | 0d4ceb2d79ccddb45004ca667e9a6a984a80f0f6 | 6a34899c8bfd50d19e5a5ec36a58218598172a6b | refs/heads/master | 2022-01-27T12:48:43.446804 | 2021-12-29T10:36:30 | 2021-12-29T10:36:30 | 249,366,791 | 0 | 0 | null | 2020-03-23T07:48:32 | 2020-03-23T07:48:32 | null | UTF-8 | Java | false | false | 335 | java | package com.tencent.mm.plugin.fingerprint;
import com.tencent.mm.sdk.platformtools.x;
class a$1 implements Runnable {
final /* synthetic */ a myW;
a$1(a aVar) {
this.myW = aVar;
}
public final void run() {
x.i("MicroMsg.SubCoreFingerPrint", "alvinluo post 1500ms delayed");
a.aJV();
}
}
| [
"malin.myemail@163.com"
] | malin.myemail@163.com |
2c219c43491f9a04647e7738437b16306ee25784 | 12df7cf0450309c97b6966666ecf7d2029f613ec | /src/Base.java | 3ecb069c282bd77ea83de63a8d1b0158ea733004 | [] | no_license | liangbx361/KotlinPractice | abcc403393633b2c0ff8dc31520095ed8f00a32e | 85428602054a925fd0dbc2c974fef4c3c79cd382 | refs/heads/master | 2021-04-06T05:25:53.994403 | 2019-02-01T10:30:30 | 2019-02-01T10:30:30 | 124,368,045 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 504 | java | /**
* Created by liangbx on 2018/10/12.
*/
public class Base
{
private String baseName = "base";
public Base()
{
callName();
}
public void callName()
{
System. out. println(baseName);
}
static class Sub extends Base
{
private String baseName = "sub";
public void callName()
{
System. out. println (baseName) ;
}
}
public static void main(String[] args)
{
Base b = new Sub();
}
}
| [
"liangbaoxian@cyou-inc.com"
] | liangbaoxian@cyou-inc.com |
c8e5a4e7cad428ce36c4166c0fd3c9c74089b419 | 0eac197b770189252a88341a47fe264510710ce9 | /src/eu/opends/jakarta/ReportHelper.java | 473b3e16a85616460286a94485c563e07f8574e7 | [] | no_license | bathejasumeet/OpenDS | c75a9ff9a5d98937977b2b40b4d3947734d86c3e | 312e733446f0bb1e473086873d8e229e58c78e17 | refs/heads/master | 2020-04-14T20:34:09.244113 | 2019-01-05T11:04:57 | 2019-01-05T11:04:57 | 164,098,714 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,673 | java | /*
* This file is part of OpenDS (Open Source Driving Simulator).
* Copyright (C) 2016 Rafael Math
*
* OpenDS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* OpenDS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with OpenDS. If not, see <http://www.gnu.org/licenses/>.
*/
package eu.opends.jakarta;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Date;
import java.util.HashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.jme3.math.FastMath;
import eu.opends.car.Car;
import eu.opends.jasperReport.JasperReport;
import eu.opends.main.Simulator;
/**
* Class for handling database connection and logging to database
*
* @author Rafael Math
*/
public class ReportHelper extends JasperReport {
/**
* Constructor, that creates database connection and prepared statement for
* fast query execution
*/
public ReportHelper(String reportTemplate, String url, String user, String pass, String table,
boolean useAdditionalTable, float maxDeviation) {
super(reportTemplate, url, user, pass, table, useAdditionalTable);
try {
// Creating prepared statement for faster query execution all "?"
// then have to be assigned some value using
// statement.set[Float,Int,Long,String,etc]
statement = connection.prepareStatement(getInsertStatement(table));
PreparedStatement clearStatement = connection.prepareStatement("TRUNCATE TABLE " + table);
clearStatement.executeUpdate();
if (useAdditionalTable) {
String additionalTable = table + "_" + Simulator.getOutputFolder().replace("analyzerData/", "");
// create new table
String createStatement = getCreateStatement(additionalTable);
PreparedStatement newTableStatement = connection.prepareStatement(createStatement);
newTableStatement.executeUpdate();
additionalStatement = connection.prepareStatement(getInsertStatement(additionalTable));
}
parameters.put("maxDeviation", new Float(FastMath.abs(maxDeviation)));
} catch (Exception e) {
e.getStackTrace();
}
}
private String getInsertStatement(String table) {
return "INSERT INTO `" + table + "` (timestamp, translation) VALUES (?, ?);";
}
private String getCreateStatement(String table) {
return "CREATE TABLE IF NOT EXISTS `" + table + "` (" + "`timestamp` bigint(13) default NULL,"
+ "`translation` varchar(100) default NULL,";
}
// Method, which writes record to database. It assigns to each "?" in
// prepared statement definite value and then executes
// update inserting record in database
public void addDataSet(long timestamp, String translation) {
try {
statement.setLong(1, timestamp);
statement.setString(2, translation);
statement.executeUpdate();
if (useAdditionalTable) {
additionalStatement.setLong(1, timestamp);
additionalStatement.setString(2, translation);
additionalStatement.executeUpdate();
}
} catch (SQLException ex) {
Logger.getLogger(JasperReport.class.getName()).log(Level.SEVERE, null, ex);
}
}
public void recordTranslation(String translation) {
HashMap<Long, String> trail = new HashMap<>();
long timestamp = new Date().getTime();
trail.put(timestamp, translation);
}
}
| [
"bathejasumeet@gmail.com"
] | bathejasumeet@gmail.com |
f13d21aedb2fd41cbe42d859852bf1d1e27fb431 | ec9e1b6825c13d2e2665712267235c73d4eafeff | /src/main/java/com/cs/fabric/sdk/utils/ClientConfig.java | a07b7474672c06040cef16dc1198f73e62df4b21 | [] | no_license | qixuecheng/Fabric-Demo | 602d77d6b683caac388a2d65f163dd0e513504ef | 5f531bb4072cd40c75bdefd96396e64b57d4fad3 | refs/heads/master | 2021-05-02T14:12:49.203386 | 2018-02-08T05:44:03 | 2018-02-08T05:44:03 | 120,715,649 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 13,798 | java | /*
* Copyright 2016, 2017 IBM, DTCC, Fujitsu Australia Software Technology, IBM - All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* 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.cs.fabric.sdk.utils;
import java.io.File;
import java.nio.file.Paths;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hyperledger.fabric.sdk.helper.Utils;
import com.cs.fabric.sdkintegration.SampleOrg;
/**
* Config allows for a global config of the toolkit. Central location for all
* toolkit configuration defaults. Has a local config file that can override any
* property defaults. Config file can be relocated via a system property
* "org.hyperledger.fabric.sdk.configuration". Any property can be overridden
* with environment variable and then overridden
* with a java system property. Property hierarchy goes System property
* overrides environment variable which overrides config file for default values specified here.
*/
/**
* Test Configuration
*/
public class ClientConfig {
private static final Log logger = LogFactory.getLog(ClientConfig.class);
private static final String PROPBASE = "org.hyperledger.fabric.sdktest.";
private static final String GOSSIPWAITTIME = PROPBASE + "GossipWaitTime";
private static final String INVOKEWAITTIME = PROPBASE + "InvokeWaitTime";
private static final String DEPLOYWAITTIME = PROPBASE + "DeployWaitTime";
private static final String PROPOSALWAITTIME = PROPBASE + "ProposalWaitTime";
private static final String INTEGRATIONTESTS_ORG = PROPBASE + "integration.org.";
private static final Pattern orgPat = Pattern
.compile("^" + Pattern.quote(INTEGRATIONTESTS_ORG) + "([^\\.]+)\\.mspid$");
private static final String INTEGRATIONTESTSTLS = PROPBASE + "integrationtests.tls";
private static ClientConfig config;
private final static Properties sdkProperties = new Properties();
private final boolean runningTLS;
private final boolean runningFabricCATLS;
private final boolean runningFabricTLS;
private final static HashMap<String, SampleOrg> sampleOrgs = new HashMap<>();
private ClientConfig() {
// Default values
defaultProperty(GOSSIPWAITTIME, "5000000");
defaultProperty(INVOKEWAITTIME, "100000");
defaultProperty(DEPLOYWAITTIME, "120000000");
defaultProperty(PROPOSALWAITTIME, "12000000");
/***
* Org1
**/
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg1.mspid", "Org1MSP");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg1.domname", "org1.example.com");
//defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg1.ca_location", "http://localhost:7054");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg1.peer_locations",
"peer0.org1.example.com@grpcs://10.11.6.118:7051");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg1.orderer_locations",
"orderer.example.com@grpcs://10.11.6.118:7050");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg1.eventhub_locations",
"peer0.org1.example.com@grpcs://10.11.6.118:7053");
/***
* Org2
**/
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg2.mspid", "Org2MSP");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg2.domname", "org2.example.com");
//defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg2.ca_location", "http://10.11.6.119:7051");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg2.peer_locations",
"peer0.org2.example.com@grpcs://10.11.6.119:7051");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg2.orderer_locations",
"orderer.example.com@grpcs://10.11.6.118:7050");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg2.eventhub_locations",
"peer0.org2.example.com@grpcs://10.11.6.118:7053");
/***
* Org3
**/
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg3.mspid", "Org3MSP");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg3.domname", "org3.example.com");
//defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg2.ca_location", "http://10.11.6.119:7051");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg3.peer_locations",
"peer0.org3.example.com@grpcs://10.11.6.120:7051");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg3.orderer_locations",
"orderer.example.com@grpcs://10.11.6.120:7050");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg3.eventhub_locations",
"peer0.org3.example.com@grpcs://10.11.6.120:7053");
/***
* Org4
**/
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg4.mspid", "Org4MSP");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg4.domname", "org4.example.com");
//defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg2.ca_location", "http://10.11.6.119:7051");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg4.peer_locations",
"peer0.org4.example.com@grpcs://10.11.6.121:7051");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg4.orderer_locations",
"orderer.example.com@grpcs://10.11.6.121:7050");
defaultProperty(INTEGRATIONTESTS_ORG + "peerOrg4.eventhub_locations",
"peer0.org4.example.com@grpcs://10.11.6.121:7053");
defaultProperty(INTEGRATIONTESTSTLS, null);
runningTLS = null != sdkProperties.getProperty(INTEGRATIONTESTSTLS, null);
runningFabricCATLS = runningTLS;
runningFabricTLS = runningTLS;
for (Map.Entry<Object, Object> x : sdkProperties.entrySet()) {
final String key = x.getKey() + "";
final String val = x.getValue() + "";
if (key.startsWith(INTEGRATIONTESTS_ORG)) {
Matcher match = orgPat.matcher(key);
if (match.matches() && match.groupCount() == 1) {
String orgName = match.group(1).trim();
sampleOrgs.put(orgName, new SampleOrg(orgName, val.trim()));
}
}
}
for (Map.Entry<String, SampleOrg> org : sampleOrgs.entrySet()) {
final SampleOrg sampleOrg = org.getValue();
final String orgName = org.getKey();
String peerNames = sdkProperties.getProperty(INTEGRATIONTESTS_ORG + orgName + ".peer_locations");
String[] ps = peerNames.split("[ \t]*,[ \t]*");
for (String peer : ps) {
String[] nl = peer.split("[ \t]*@[ \t]*");
sampleOrg.addPeerLocation(nl[0], grpcTLSify(nl[1]));
}
final String domainName = sdkProperties.getProperty(INTEGRATIONTESTS_ORG + orgName + ".domname");
sampleOrg.setDomainName(domainName);
String ordererNames = sdkProperties.getProperty(INTEGRATIONTESTS_ORG + orgName + ".orderer_locations");
ps = ordererNames.split("[ \t]*,[ \t]*");
for (String peer : ps) {
String[] nl = peer.split("[ \t]*@[ \t]*");
sampleOrg.addOrdererLocation(nl[0], grpcTLSify(nl[1]));
}
String eventHubNames = sdkProperties.getProperty(INTEGRATIONTESTS_ORG + orgName + ".eventhub_locations");
ps = eventHubNames.split("[ \t]*,[ \t]*");
for (String peer : ps) {
String[] nl = peer.split("[ \t]*@[ \t]*");
sampleOrg.addEventHubLocation(nl[0], grpcTLSify(nl[1]));
}
//sampleOrg.setCALocation(
//httpTLSify(sdkProperties.getProperty((INTEGRATIONTESTS_ORG + org.getKey() + ".ca_location"))));
if (runningFabricCATLS) {
String cert = "src/test/fixture/sdkintegration/e2e-2Orgs/channel/crypto-config/peerOrganizations/DNAME/ca/ca.DNAME-cert.pem"
.replaceAll("DNAME", domainName);
File cf = new File(cert);
if (!cf.exists() || !cf.isFile()) {
throw new RuntimeException("TEST is missing cert file " + cf.getAbsolutePath());
}
Properties properties = new Properties();
properties.setProperty("pemFile", cf.getAbsolutePath());
properties.setProperty("allowAllHostNames", "true");// testing
// environment
// only NOT
// FOR
// PRODUCTION!
sampleOrg.setCAProperties(properties);
}
}
}
private String grpcTLSify(String location) {
location = location.trim();
Exception e = Utils.checkGrpcUrl(location);
if (e != null) {
throw new RuntimeException(String.format("Bad TEST parameters for grpc url %s", location), e);
}
return runningFabricTLS ? location.replaceFirst("^grpc://", "grpcs://") : location;
}
private String httpTLSify(String location) {
location = location.trim();
return runningFabricCATLS ? location.replaceFirst("^http://", "https://") : location;
}
/**
* getConfig return back singleton for SDK configuration.
*
* @return Global configuration
*/
public static ClientConfig getConfig() {
if (null == config) {
config = new ClientConfig();
}
return config;
}
/**
* getProperty return back property for the given value.
*
* @param property
* @return String value for the property
*/
private String getProperty(String property) {
String ret = sdkProperties.getProperty(property);
if (null == ret) {
logger.warn(String.format("No configuration value found for '%s'", property));
}
return ret;
}
/**
* getProperty returns the value for given property key. If not found, it
* will set the property to defaultValueidea-IC-171.3780.107
*
* @param property
* @param defaultValue
* @return property value as a String
*/
private String getProperty(String property, String defaultValue) {
return sdkProperties.getProperty(property, defaultValue);
}
static private void defaultProperty(String key, String value) {
String ret = System.getProperty(key);
if (ret != null) {
sdkProperties.put(key, ret);
} else {
String envKey = key.toUpperCase().replaceAll("\\.", "_");
ret = System.getenv(envKey);
if (null != ret) {
sdkProperties.put(key, ret);
} else {
if (null == sdkProperties.getProperty(key) && value != null) {
sdkProperties.put(key, value);
}
}
}
}
public int getTransactionWaitTime() {
return Integer.parseInt(getProperty(INVOKEWAITTIME));
}
public int getDeployWaitTime() {
return Integer.parseInt(getProperty(DEPLOYWAITTIME));
}
public int getGossipWaitTime() {
return Integer.parseInt(getProperty(GOSSIPWAITTIME));
}
/**
* Time to wait for proposal to complete
*
* @return
*/
public long getProposalWaitTime() {
return Integer.parseInt(getProperty(PROPOSALWAITTIME));
}
public Collection<SampleOrg> getIntegrationTestsSampleOrgs() {
return Collections.unmodifiableCollection(sampleOrgs.values());
}
public SampleOrg getIntegrationTestsSampleOrg(String name) {
return sampleOrgs.get(name);
}
private final static String tlsbase = "src/test/fixture/sdkintegration/e2e-2Orgs/tls/";
public Properties getPeerProperties(String name) {
return getEndPointProperties("peer", name);
}
public Properties getOrdererProperties(String name) {
return getEndPointProperties("orderer", name);
}
private Properties getEndPointProperties(final String type, final String name) {
final String domainName = getDomainName(name);
File cert = Paths.get(getTestChannlePath(), "crypto-config/ordererOrganizations".replace("orderer", type),
domainName, type + "s", name, "tls/server.crt").toFile();
if (!cert.exists()) {
throw new RuntimeException(String.format("Missing cert file for: %s. Could not find at location: %s", name,
cert.getAbsolutePath()));
}
Properties ret = new Properties();
ret.setProperty("pemFile", cert.getAbsolutePath());
// ret.setProperty("trustServerCertificate", "true"); //testing
// environment only NOT FOR PRODUCTION!
ret.setProperty("hostnameOverride", name);
ret.setProperty("sslProvider", "openSSL");
ret.setProperty("negotiationType", "TLS");
return ret;
}
public Properties getEventHubProperties(String name) {
return getEndPointProperties("peer", name); // uses same as named peer
}
private Properties getTLSProperties(String type, String name) {
Properties ret = null;
if (runningFabricTLS) {
String cert = tlsbase + "/" + type + "/" + name + "/cert.pem";
File cf = new File(cert);
if (!cf.exists() || !cf.isFile()) {
throw new RuntimeException("Missing cert file " + cf.getAbsolutePath());
}
ret = new Properties();
ret.setProperty("pemFile", cert);
ret.setProperty("trustServerCertificate", "true"); // testing
// environment
// only NOT FOR
// PRODUCTION!
ret.setProperty("sslProvider", "openSSL");
ret.setProperty("negotiationType", "TLS");
}
return ret;
}
private Properties getTLSProperties(String cert) {
Properties ret = null;
if (runningFabricTLS) {
// String cert = tlsbase + "/" + type + "/" + name + "/ca.pem";
File cf = new File(tlsbase + cert);
if (!cf.exists() || !cf.isFile()) {
throw new RuntimeException("TEST error missing cert file " + cf.getAbsolutePath());
}
ret = new Properties();
ret.setProperty("pemFile", cf.getAbsolutePath());
ret.setProperty("trustServerCertificate", "true"); // testing
// environment
// only NOT FOR
// PRODUCTION!
ret.setProperty("sslProvider", "openSSL");
ret.setProperty("negotiationType", "TLS");
}
return ret;
}
public String getTestChannlePath() {
return "src/test/fixture/sdkintegration/e2e-2Orgs/channel";
}
private String getDomainName(final String name) {
int dot = name.indexOf(".");
if (-1 == dot) {
return null;
} else {
return name.substring(dot + 1);
}
}
}
| [
"529489422@qq.com"
] | 529489422@qq.com |
3e646b317ec5914b82413d8d39ba52664c3927a3 | bd67ccb1bb311be2efc9f098013dbaeb406bdc27 | /src/main/java/com/codebox/builders/ExtensionBuilder.java | a0c5a5fbcecfa740f39bcf7a9aa770989c626137 | [
"Apache-2.0"
] | permissive | hazendaz/javabean-tester | 85b24e6d04d16b6442b50c6ddb9c44299dc920ae | 40a624378be657403b822a179a53c59abb16d048 | refs/heads/master | 2023-08-17T06:07:24.295303 | 2023-08-15T21:29:41 | 2023-08-15T21:29:41 | 18,314,851 | 10 | 7 | Apache-2.0 | 2023-09-14T17:48:41 | 2014-04-01T02:11:13 | Java | UTF-8 | Java | false | false | 5,263 | java | /*
* JavaBean Tester (https://github.com/hazendaz/javabean-tester)
*
* Copyright 2012-2021 Hazendaz.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of The Apache Software License,
* Version 2.0 which accompanies this distribution, and is available at
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Contributors:
* CodeBox (Rob Dawson).
* Hazendaz (Jeremy Landis).
*/
package com.codebox.builders;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import javassist.CannotCompileException;
import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtField;
import javassist.CtMethod;
import javassist.NotFoundException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* The Class ExtensionBuilder.
*
* @param <T>
* the generic type
*/
public class ExtensionBuilder<T> {
/** The Constant LOGGER. */
private static final Logger LOGGER = LoggerFactory.getLogger(ExtensionBuilder.class);
/**
* Generate.
*
* @param clazz
* the clazz
*
* @return the class
*
* @throws NotFoundException
* the not found exception
* @throws CannotCompileException
* the cannot compile exception
*/
public Class<?> generate(final Class<T> clazz) throws NotFoundException, CannotCompileException {
try {
// If extension already recreated, return it
return Class.forName(clazz.getName() + "Extension");
} catch (final ClassNotFoundException e) {
// No extension exists, so create it
ExtensionBuilder.LOGGER.trace("No extension exists, so create it", e);
}
final ClassPool pool = ClassPool.getDefault();
final CtClass cc = pool.makeClass(clazz.getName() + "Extension");
// add super class
cc.setSuperclass(ExtensionBuilder.resolveCtClass(clazz));
final Map<String, Class<?>> properties = new HashMap<>();
properties.put("jbExtension1", String.class);
properties.put("jbExtension2", String.class);
properties.put("jbExtension3", String.class);
properties.put("jbExtension4", String.class);
for (final Entry<String, Class<?>> entry : properties.entrySet()) {
// Add field
cc.addField(new CtField(ExtensionBuilder.resolveCtClass(entry.getValue()), entry.getKey(), cc));
// Add getter
cc.addMethod(ExtensionBuilder.generateGetter(cc, entry.getKey(), entry.getValue()));
// Add setter
cc.addMethod(ExtensionBuilder.generateSetter(cc, entry.getKey(), entry.getValue()));
}
return cc.toClass();
}
/**
* Generate getter.
*
* @param declaringClass
* the declaring class
* @param fieldName
* the field name
* @param fieldClass
* the field class
*
* @return the ct method
*
* @throws CannotCompileException
* the cannot compile exception
*/
private static CtMethod generateGetter(final CtClass declaringClass, final String fieldName,
final Class<?> fieldClass) throws CannotCompileException {
final StringBuilder sb = new StringBuilder();
sb.append("public ");
sb.append(fieldClass.getName());
sb.append(" get");
sb.append(fieldName.substring(0, 1).toUpperCase());
sb.append(fieldName.substring(1));
sb.append("(){");
sb.append("return this.");
sb.append(fieldName);
sb.append(";");
sb.append("}");
return CtMethod.make(sb.toString(), declaringClass);
}
/**
* Generate setter.
*
* @param declaringClass
* the declaring class
* @param fieldName
* the field name
* @param fieldClass
* the field class
*
* @return the ct method
*
* @throws CannotCompileException
* the cannot compile exception
*/
private static CtMethod generateSetter(final CtClass declaringClass, final String fieldName,
final Class<?> fieldClass) throws CannotCompileException {
final StringBuilder sb = new StringBuilder();
sb.append("public void set");
sb.append(fieldName.substring(0, 1).toUpperCase());
sb.append(fieldName.substring(1));
sb.append("(");
sb.append(fieldClass.getName());
sb.append(" ");
sb.append(fieldName);
sb.append(")");
sb.append("{");
sb.append("this.");
sb.append(fieldName);
sb.append("=");
sb.append(fieldName);
sb.append(";");
sb.append("}");
return CtMethod.make(sb.toString(), declaringClass);
}
/**
* Resolve ct class.
*
* @param clazz
* the clazz
*
* @return the ct class
*
* @throws NotFoundException
* the not found exception
*/
private static CtClass resolveCtClass(final Class<?> clazz) throws NotFoundException {
return ClassPool.getDefault().get(clazz.getName());
}
}
| [
"jeremylandis@hotmail.com"
] | jeremylandis@hotmail.com |
859bdfa8fb595b90565facc8424f9cc43da219a5 | 51b62c602dc9f9e13a0a48daa946935f1b52a95e | /BlueSTSDK/src/test/java/com/st/BlueSTSDK/Utils/NumberConversionTest.java | e83bf7980962dab0ad4f70fbf492f0b4f412974b | [
"BSD-2-Clause"
] | permissive | appliedrd/BlueSTSDK_Android | 68d256c9fbc23984f2e6e4d36d92efe23385257f | ec424bd7327fb21b87ad10ea192867b8c889355f | refs/heads/master_REVC | 2023-01-10T13:43:45.023487 | 2021-11-09T13:28:50 | 2021-11-09T13:28:50 | 210,871,949 | 0 | 0 | BSD-3-Clause | 2021-07-13T18:26:38 | 2019-09-25T14:56:11 | Java | UTF-8 | Java | false | false | 16,564 | java | /*******************************************************************************
* COPYRIGHT(c) 2015 STMicroelectronics
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************/
package com.st.BlueSTSDK.Utils;
import org.junit.Assert;
import org.junit.Test;
public class NumberConversionTest {
@Test
public void testByteToUInt8() throws Exception {
short number = NumberConversion.byteToUInt8(new byte[]{0x00});
Assert.assertEquals(0, number);
number = NumberConversion.byteToUInt8(new byte[]{14});
Assert.assertEquals(14, number);
number = NumberConversion.byteToUInt8(new byte[]{(byte) 0x7F});
Assert.assertEquals(127, number);
number = NumberConversion.byteToUInt8(new byte[]{(byte) 0xFF});
Assert.assertEquals(255, number);
}
@Test
public void testInt16ToBytesLE() {
byte[] b = NumberConversion.LittleEndian.int16ToBytes((short) 0x0000);
Assert.assertArrayEquals(new byte[]{(byte) 0x00, (byte) 0x00}, b);
b = NumberConversion.LittleEndian.int16ToBytes((short) 0x1000); //MIN_VALUE
Assert.assertArrayEquals(new byte[]{(byte) 0x00, (byte) 0x10}, b);
b = NumberConversion.LittleEndian.int16ToBytes((short) 0xFFFF); //-1
Assert.assertArrayEquals(new byte[]{(byte) 0xFF, (byte) 0xFF}, b);
b = NumberConversion.LittleEndian.int16ToBytes((short) 0x00FF);
Assert.assertArrayEquals(new byte[]{(byte) 0xFF, (byte) 0x00}, b);
b = NumberConversion.LittleEndian.int16ToBytes((short) 0x7FFF); //MAX VALUE
Assert.assertArrayEquals(new byte[]{(byte) 0xFF, (byte) 0x7F}, b);
}
@Test
public void testInt16ToBytesBE() {
byte[] b = NumberConversion.BigEndian.int16ToBytes((short) 0x0000);
Assert.assertArrayEquals(new byte[]{(byte) 0x00, (byte) 0x00}, b);
b = NumberConversion.BigEndian.int16ToBytes((short) 0x1000); //MIN_VALUE
Assert.assertArrayEquals(new byte[]{(byte) 0x10, (byte) 0x00}, b);
b = NumberConversion.BigEndian.int16ToBytes((short) 0xFFFF); //-1
Assert.assertArrayEquals(new byte[]{(byte) 0xFF, (byte) 0xFF}, b);
b = NumberConversion.BigEndian.int16ToBytes((short) 0x00FF);
Assert.assertArrayEquals(new byte[]{(byte) 0x00, (byte) 0xFF}, b);
b = NumberConversion.BigEndian.int16ToBytes((short) 0x7FFF); //MAX VALUE
Assert.assertArrayEquals(new byte[]{(byte) 0x7F, (byte) 0xFF}, b);
}
@Test
public void bytesToUInt16LE() {
int number = NumberConversion.LittleEndian.bytesToUInt16(new byte[]{(byte) 0x00, (byte) 0x00});
Assert.assertEquals(0, number);
number = NumberConversion.LittleEndian.bytesToUInt16(new byte[]{(byte) 0x00, (byte) 0x7F});
Assert.assertEquals(32512, number);
number = NumberConversion.LittleEndian.bytesToUInt16(new byte[]{(byte) 0x00, (byte) 0xFF});
Assert.assertEquals(65280, number);
number = NumberConversion.LittleEndian.bytesToUInt16(new byte[]{(byte) 0xFF, (byte) 0x7F});
Assert.assertEquals(32767, number);
number = NumberConversion.LittleEndian.bytesToUInt16(new byte[]{(byte) 0xFF, (byte) 0xFF});
Assert.assertEquals(65535, number);
number = NumberConversion.LittleEndian.bytesToUInt16(new byte[]{(byte) 0x7F, (byte) 0x00});
Assert.assertEquals(127, number);
number = NumberConversion.LittleEndian.bytesToUInt16(new byte[]{(byte) 0xFF, (byte) 0x00});
Assert.assertEquals(255, number);
}
@Test
public void bytesToUInt16BE() {
int number = NumberConversion.BigEndian.bytesToUInt16(new byte[]{(byte) 0x00, (byte) 0x00});
Assert.assertEquals(0, number);
number = NumberConversion.BigEndian.bytesToUInt16(new byte[]{(byte) 0x7F, (byte) 0x00});
Assert.assertEquals(32512, number);
number = NumberConversion.BigEndian.bytesToUInt16(new byte[]{(byte) 0xFF, (byte) 0x00});
Assert.assertEquals(65280, number);
number = NumberConversion.BigEndian.bytesToUInt16(new byte[]{(byte) 0x7F, (byte) 0xFF});
Assert.assertEquals(32767, number);
number = NumberConversion.BigEndian.bytesToUInt16(new byte[]{(byte) 0xFF, (byte) 0xFF});
Assert.assertEquals(65535, number);
number = NumberConversion.BigEndian.bytesToUInt16(new byte[]{(byte) 0x00, (byte) 0x7F});
Assert.assertEquals(127, number);
number = NumberConversion.BigEndian.bytesToUInt16(new byte[]{(byte) 0x00, (byte) 0xFF});
Assert.assertEquals(255, number);
}
@Test
public void bytesToInt16LE() {
short number = NumberConversion.LittleEndian.bytesToInt16(new byte[]{(byte) 0x00, (byte) 0x00});
Assert.assertEquals(0, number);
number = NumberConversion.LittleEndian.bytesToInt16(new byte[]{(byte) 0xFF, (byte) 0xFF});
Assert.assertEquals(-1, number);
number = NumberConversion.LittleEndian.bytesToInt16(new byte[]{(byte) 0xFF, (byte) 0x7F});
Assert.assertEquals(32767, number);
number = NumberConversion.LittleEndian.bytesToInt16(new byte[]{(byte) 0x00, (byte) 0x80});
Assert.assertEquals(-32768, number);
number = NumberConversion.LittleEndian.bytesToInt16(new byte[]{(byte) 0xFF, (byte) 0x00});
Assert.assertEquals(255, number);
number = NumberConversion.LittleEndian.bytesToInt16(new byte[]{(byte) 0x00, (byte) 0xFF});
Assert.assertEquals(-256, number);
}
@Test
public void bytesToInt16BE() {
short number = NumberConversion.BigEndian.bytesToInt16(new byte[]{(byte) 0x00, (byte) 0x00});
Assert.assertEquals(0, number);
number = NumberConversion.BigEndian.bytesToInt16(new byte[]{(byte) 0xFF, (byte) 0xFF});
Assert.assertEquals(-1, number);
number = NumberConversion.BigEndian.bytesToInt16(new byte[]{(byte) 0x7F, (byte) 0xFF});
Assert.assertEquals(32767, number);
number = NumberConversion.BigEndian.bytesToInt16(new byte[]{(byte) 0x80, (byte) 0x00});
Assert.assertEquals(-32768, number);
number = NumberConversion.BigEndian.bytesToInt16(new byte[]{(byte) 0x00, (byte) 0xFF});
Assert.assertEquals(255, number);
number = NumberConversion.BigEndian.bytesToInt16(new byte[]{(byte) 0xFF, (byte) 0x00});
Assert.assertEquals(-256, number);
}
@Test
public void testInt32ToBytesLE() {
byte[] b = NumberConversion.LittleEndian.int32ToBytes(0x00000000);
Assert.assertArrayEquals(new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00}, b);
b = NumberConversion.LittleEndian.int32ToBytes(0xFF000000);
Assert.assertArrayEquals(new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0xFF}, b);
b = NumberConversion.LittleEndian.int32ToBytes(0x00FF0000);
Assert.assertArrayEquals(new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0xFF, (byte) 0x00}, b);
b = NumberConversion.LittleEndian.int32ToBytes(0x0000FF00);
Assert.assertArrayEquals(new byte[]{(byte) 0x00, (byte) 0xFF, (byte) 0x00, (byte) 0x00}, b);
b = NumberConversion.LittleEndian.int32ToBytes(0x000000FF);
Assert.assertArrayEquals(new byte[]{(byte) 0xFF, (byte) 0x00, (byte) 0x00, (byte) 0x00}, b);
b = NumberConversion.LittleEndian.int32ToBytes(0x12345678);
Assert.assertArrayEquals(new byte[]{(byte) 0x78, (byte) 0x56, (byte) 0x34, (byte) 0x12}, b);
}
@Test
public void testInt32ToBytesBE() {
byte[] b = NumberConversion.BigEndian.int32ToBytes(0x00000000);
Assert.assertArrayEquals(new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00}, b);
b = NumberConversion.BigEndian.int32ToBytes(0x000000FF);
Assert.assertArrayEquals(new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0xFF}, b);
b = NumberConversion.BigEndian.int32ToBytes(0x0000FF00);
Assert.assertArrayEquals(new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0xFF, (byte) 0x00}, b);
b = NumberConversion.BigEndian.int32ToBytes(0x00FF0000);
Assert.assertArrayEquals(new byte[]{(byte) 0x00, (byte) 0xFF, (byte) 0x00, (byte) 0x00}, b);
b = NumberConversion.BigEndian.int32ToBytes(0xFF000000);
Assert.assertArrayEquals(new byte[]{(byte) 0xFF, (byte) 0x00, (byte) 0x00, (byte) 0x00}, b);
b = NumberConversion.BigEndian.int32ToBytes(0x12345678);
Assert.assertArrayEquals(new byte[]{(byte) 0x12, (byte) 0x34, (byte) 0x56, (byte) 0x78}, b);
}
@Test
public void bytesToUInt32LE() {
long number = NumberConversion.LittleEndian.bytesToUInt32(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(0, number);
number = NumberConversion.LittleEndian.bytesToUInt32(
new byte[]{(byte) 0xFF, (byte) 0x00, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(255, number);
number = NumberConversion.LittleEndian.bytesToUInt32(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0xFF, (byte) 0xFF});
Assert.assertEquals(4294901760L, number);
number = NumberConversion.LittleEndian.bytesToUInt32(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x80});
Assert.assertEquals(2147483648L, number);
number = NumberConversion.LittleEndian.bytesToUInt32(
new byte[]{(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F});
Assert.assertEquals(2147483647L, number);
number = NumberConversion.LittleEndian.bytesToUInt32(
new byte[]{(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF});
Assert.assertEquals(4294967295L, number);
}
@Test
public void bytesToUInt32BE() {
long number = NumberConversion.BigEndian.bytesToUInt32(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(0, number);
number = NumberConversion.BigEndian.bytesToUInt32(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0xFF});
Assert.assertEquals(255, number);
number = NumberConversion.BigEndian.bytesToUInt32(
new byte[]{(byte) 0xFF, (byte) 0xFF, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(4294901760L, number);
number = NumberConversion.BigEndian.bytesToUInt32(
new byte[]{(byte) 0x80, (byte) 0x00, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(2147483648L, number);
number = NumberConversion.BigEndian.bytesToUInt32(
new byte[]{(byte) 0x7F, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF});
Assert.assertEquals(2147483647L, number);
number = NumberConversion.BigEndian.bytesToUInt32(
new byte[]{(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF});
Assert.assertEquals(4294967295L, number);
}
@Test
public void bytesToInt32LE() {
int number = NumberConversion.LittleEndian.bytesToInt32(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(0, number);
number = NumberConversion.LittleEndian.bytesToInt32(
new byte[]{(byte) 0xFF, (byte) 0x00, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(255, number);
number = NumberConversion.LittleEndian.bytesToInt32(
new byte[]{(byte) 0x00, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF});
Assert.assertEquals(-256, number);
number = NumberConversion.LittleEndian.bytesToInt32(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x80});
Assert.assertEquals(-2147483648, number);
number = NumberConversion.LittleEndian.bytesToInt32(
new byte[]{(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F});
Assert.assertEquals(2147483647, number);
}
@Test
public void bytesToInt32BE() {
int number = NumberConversion.BigEndian.bytesToInt32(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(0, number);
number = NumberConversion.BigEndian.bytesToInt32(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0xFF});
Assert.assertEquals(255, number);
number = NumberConversion.BigEndian.bytesToInt32(
new byte[]{(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x00});
Assert.assertEquals(-256, number);
number = NumberConversion.BigEndian.bytesToInt32(
new byte[]{(byte) 0x80, (byte) 0x00, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(-2147483648, number);
number = NumberConversion.BigEndian.bytesToInt32(
new byte[]{(byte) 0x7F, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF});
Assert.assertEquals(2147483647, number);
}
private static final float FLOAT_DELTA=1e-6f;
@Test
public void bytesToFloatBE(){
float number = NumberConversion.BigEndian.bytesToFloat(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(0.0f, number, FLOAT_DELTA);
//+1 = 0x3F800000
number = NumberConversion.BigEndian.bytesToFloat(
new byte[]{(byte) 0x3F, (byte) 0x80, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(1f, number,FLOAT_DELTA);
//-1 = 0xBF800000
number = NumberConversion.BigEndian.bytesToFloat(
new byte[]{(byte) 0xBF, (byte) 0x80, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(-1f, number,FLOAT_DELTA);
//3.14159265359 = 0x40490FDB
number = NumberConversion.BigEndian.bytesToFloat(
new byte[]{(byte) 0x40, (byte) 0x49, (byte) 0x0F, (byte) 0xDB});
Assert.assertEquals(3.14159265359, number,FLOAT_DELTA);
//12345.6789 = 0x4640E6B7
number = NumberConversion.BigEndian.bytesToFloat(
new byte[]{(byte) 0x46, (byte) 0x40, (byte) 0xE6, (byte) 0xB7});
Assert.assertEquals(12345.6789f, number,FLOAT_DELTA);
}
@Test
public void bytesToFloatLE(){
float number = NumberConversion.LittleEndian.bytesToFloat(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00});
Assert.assertEquals(0.0f, number, FLOAT_DELTA);
number = NumberConversion.LittleEndian.bytesToFloat(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x80, (byte) 0x3F});
Assert.assertEquals(1.0f, number,FLOAT_DELTA);
number = NumberConversion.LittleEndian.bytesToFloat(
new byte[]{(byte) 0x00, (byte) 0x00, (byte) 0x80, (byte) 0xBF});
Assert.assertEquals(-1.0f, number,FLOAT_DELTA);
//3.14159265359 = 0x40490FDB
number = NumberConversion.LittleEndian.bytesToFloat(
new byte[]{(byte) 0xDB, (byte) 0x0F, (byte) 0x49, (byte) 0x40});
Assert.assertEquals(3.14159265359, number,FLOAT_DELTA);
}
}
| [
"giovanni.visentini@st.com"
] | giovanni.visentini@st.com |
faa2e129203d9de0e87cfd4bbdeea7a66f92918f | f93219598bf03973364364ae5608a7a4590b9430 | /src/main/java/game/util/MapFuncs.java | f237130e6edcdba4918119a9403a85471f8cfba9 | [] | no_license | nathanbaney/adsgame | 96262250b1beefa0806d17a876bdabe24bea6c38 | 32c33eec519050002f60e4aa93f39ca4e7eb342f | refs/heads/master | 2021-06-22T03:35:27.697435 | 2021-01-08T16:59:32 | 2021-01-08T16:59:32 | 173,869,088 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,703 | java | package game.util;
import game.Tile;
import game.grids.Grid;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import java.awt.*;
import java.io.File;
import java.io.IOException;
import java.util.HashSet;
import java.util.Set;
public class MapFuncs {
public static Set<Character> solidGlyphs = new HashSet<>();
public static void load(File map, Grid grid){
parseDocument(parseXML(map, grid), grid);
}
private static Document parseXML(File map, Grid grid){
Document doc = null;
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
try {
DocumentBuilder db = dbf.newDocumentBuilder();
doc = db.parse(map);
}catch(ParserConfigurationException pce) {
pce.printStackTrace();
}catch(SAXException se) {
se.printStackTrace();
}catch(IOException ioe) {
ioe.printStackTrace();
}
return doc;
}
private static void parseDocument(Document doc, Grid grid){
Element docEle = doc.getDocumentElement();
NodeList rowList = docEle.getElementsByTagName("row");
if(rowList != null && rowList.getLength() > 0) {
for(int ii = 0 ; ii < rowList.getLength();ii++) {
Element tempRow = (Element)rowList.item(ii);
NodeList cells = tempRow.getElementsByTagName("cell");
for (int jj = 0; jj < cells.getLength(); jj++){
Element tempCell = (Element)cells.item(jj);
grid.putTile(jj, ii, makeTileFromElement(tempCell));
}
}
}
}
private static Tile makeTileFromElement(Element element){
char glyph = (char)Integer.parseInt(element.getElementsByTagName("ascii").item(0).getFirstChild().getNodeValue());
Color foreground = Color.decode(element.getElementsByTagName("fgd").item(0).getFirstChild().getNodeValue());
Color background = Color.decode(element.getElementsByTagName("bkg").item(0).getFirstChild().getNodeValue());
return new Tile(glyph, foreground, background, isWalkable(glyph), VisionFuncs.isSeeThrough(glyph));
}
public static boolean isWalkable(char glyph){
if (solidGlyphs.contains(glyph)){
return false;
}else{
return true;
}
}
public static void initializeSolidGlyphs(){
for (int ii = 179; ii < 224; ii++){
solidGlyphs.add((char)ii);
}
}
}
| [
"Tmne4h4t"
] | Tmne4h4t |
882ce2de7f647a5fc9473477c8e36734ed0fbd77 | 2fe12f3edcd1ffd64deaa2771e4fdde8b925a742 | /jlox/lox/LoxFunction.java | 9c00b806aae646d034ca93d95edbf5fb435d3db7 | [] | no_license | stjordanis/CraftingInterpreters-2 | d12b470c10e61d3b88e81e3ca57ad3579c376a1f | d484142c363d916cf16e3a2864ccce1edcbb2aa9 | refs/heads/master | 2022-05-31T00:22:03.164721 | 2020-04-30T16:59:33 | 2020-04-30T16:59:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,362 | java | package com.craftinginterpreters.lox;
import java.util.List;
class LoxFunction implements LoxCallable {
private final Stmt.Function declaration;
private final Environment closure;
private final boolean isInitializer;
LoxFunction(Stmt.Function declaration, Environment closure,
boolean isInitializer) {
this.isInitializer = isInitializer;
this.closure = closure;
this.declaration = declaration;
}
LoxFunction bind(LoxInstance instance) {
Environment environment = new Environment(closure);
environment.define("this", instance);
return new LoxFunction(declaration, environment, isInitializer);
}
@Override
public String toString() {
return "<fn " + declaration.name.lexeme + ">";
}
@Override
public int arity() {
return declaration.parameters.size();
}
@Override
public Object call(Interpreter interpreter, List<Object> arguments) {
Environment environment = new Environment(closure);
for (int i = 0; i < declaration.parameters.size(); i++) {
environment.define(declaration.parameters.get(i).lexeme,
arguments.get(i));
}
try {
interpreter.executeBlock(declaration.body, environment);
} catch (Return returnValue) {
return returnValue.value;
}
if (isInitializer) return closure.getAt(0, "this");
return null;
}
} | [
"JohnDTill@gmail.com"
] | JohnDTill@gmail.com |
38f5ccf39ad7254bb80aec94d4f147035ee5b76e | f85aa7a05c83190a756b3235f51875031d0c27c8 | /src/com/qixingjun/observer2/Test.java | ebbc650f53a5b11bbb576e399bfc98dc6169bf97 | [] | no_license | huanghengmin/designpatterns | ff58fa9fb8c4fd6d2d8ff144f3d6dc322cff9b28 | 1c68cba718553d60b0bf2b484b169579ee796989 | refs/heads/master | 2021-01-21T23:16:36.399085 | 2017-02-27T02:05:10 | 2017-02-27T02:05:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,053 | java | package com.qixingjun.observer2;
/**
* @Author XingJun Qi
* @MyBlog www.qixingjun.tech
* @Version 1.0.0
* @Date 2017/2/26
* @Description
*/
public class Test {
public static void main(String[] args) {
//创建目标对象
ConcreteSubject concreteSubject = new ConcreteSubject();
//创建观察者对象
SubObserver subObserver1 = new SubObserver();
SubObserver subObserver2 = new SubObserver();
SubObserver subObserver3 = new SubObserver();
//将上面三个观察者对象添加到目标对象subject的观察者容器中
concreteSubject.addObserver(subObserver1);
concreteSubject.addObserver(subObserver2);
concreteSubject.addObserver(subObserver3);
//改变subject的状态
concreteSubject.setState(666);
//观察者的状态是否发生了改变?:是的
System.out.println(subObserver1.getMyState());
System.out.println(subObserver2.getMyState());
System.out.println(subObserver3.getMyState());
}
}
| [
"18862141550@163.com"
] | 18862141550@163.com |
6b8a620d668b72bbed056c9e0fd856cc1137e6a0 | 9b75d8540ff2e55f9ff66918cc5676ae19c3bbe3 | /cab.snapp.passenger.play_184.apk-decompiled/sources/com/koushikdutta/async/http/spdy/j.java | 2efe0f348aa2c4c1e12927adaa10b9a9f172c537 | [] | no_license | BaseMax/PopularAndroidSource | a395ccac5c0a7334d90c2594db8273aca39550ed | bcae15340907797a91d39f89b9d7266e0292a184 | refs/heads/master | 2020-08-05T08:19:34.146858 | 2019-10-06T20:06:31 | 2019-10-06T20:06:31 | 212,433,298 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 31,318 | java | package com.koushikdutta.async.http.spdy;
import androidx.appcompat.widget.ActivityChooserView;
import androidx.core.view.MotionEventCompat;
import com.koushikdutta.async.a.d;
import com.koushikdutta.async.http.Protocol;
import com.koushikdutta.async.http.spdy.e;
import com.koushikdutta.async.http.spdy.i;
import com.koushikdutta.async.k;
import com.koushikdutta.async.l;
import com.koushikdutta.async.n;
import com.koushikdutta.async.p;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.util.List;
import java.util.Locale;
import java.util.logging.Level;
import java.util.logging.Logger;
final class j implements r {
/* access modifiers changed from: private */
/* renamed from: a reason: collision with root package name */
public static final Logger f4793a = Logger.getLogger(j.class.getName());
/* access modifiers changed from: private */
/* renamed from: b reason: collision with root package name */
public static final c f4794b = c.encodeUtf8("PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n");
static final class a {
/* renamed from: a reason: collision with root package name */
private static final String[] f4795a = {"DATA", "HEADERS", "PRIORITY", "RST_STREAM", "SETTINGS", "PUSH_PROMISE", "PING", "GOAWAY", "WINDOW_UPDATE", "CONTINUATION"};
/* renamed from: b reason: collision with root package name */
private static final String[] f4796b = new String[64];
private static final String[] c = new String[256];
a() {
}
static String a(boolean z, int i, int i2, byte b2, byte b3) {
String str;
String[] strArr = f4795a;
String format = b2 < strArr.length ? strArr[b2] : String.format(Locale.ENGLISH, "0x%02x", new Object[]{Byte.valueOf(b2)});
if (b3 == 0) {
str = "";
} else {
if (!(b2 == 2 || b2 == 3)) {
if (b2 == 4 || b2 == 6) {
str = b3 == 1 ? "ACK" : c[b3];
} else if (!(b2 == 7 || b2 == 8)) {
String[] strArr2 = f4796b;
String str2 = b3 < strArr2.length ? strArr2[b3] : c[b3];
str = (b2 != 5 || (b3 & 4) == 0) ? (b2 != 0 || (b3 & 32) == 0) ? str2 : str2.replace("PRIORITY", "COMPRESSED") : str2.replace("HEADERS", "PUSH_PROMISE");
}
}
str = c[b3];
}
Locale locale = Locale.ENGLISH;
Object[] objArr = new Object[5];
objArr[0] = z ? "<<" : ">>";
objArr[1] = Integer.valueOf(i);
objArr[2] = Integer.valueOf(i2);
objArr[3] = format;
objArr[4] = str;
return String.format(locale, "%s 0x%08x %5d %-13s %s", objArr);
}
static {
int i = 0;
int i2 = 0;
while (true) {
String[] strArr = c;
if (i2 >= strArr.length) {
break;
}
strArr[i2] = String.format(Locale.ENGLISH, "%8s", new Object[]{Integer.toBinaryString(i2)}).replace(' ', '0');
i2++;
}
String[] strArr2 = f4796b;
strArr2[0] = "";
strArr2[1] = "END_STREAM";
strArr2[2] = "END_SEGMENT";
strArr2[3] = "END_STREAM|END_SEGMENT";
int[] iArr = {1, 2, 3};
strArr2[8] = "PADDED";
for (int i3 = 0; i3 < 3; i3++) {
int i4 = iArr[i3];
f4796b[i4 | 8] = f4796b[i4] + "|PADDED";
}
String[] strArr3 = f4796b;
strArr3[4] = "END_HEADERS";
strArr3[32] = "PRIORITY";
strArr3[36] = "END_HEADERS|PRIORITY";
int[] iArr2 = {4, 32, 36};
for (int i5 = 0; i5 < 3; i5++) {
int i6 = iArr2[i5];
for (int i7 = 0; i7 < 3; i7++) {
int i8 = iArr[i7];
String[] strArr4 = f4796b;
int i9 = i8 | i6;
strArr4[i9] = f4796b[i8] + '|' + f4796b[i6];
f4796b[i9 | 8] = f4796b[i8] + '|' + f4796b[i6] + "|PADDED";
}
}
while (true) {
String[] strArr5 = f4796b;
if (i < strArr5.length) {
if (strArr5[i] == null) {
strArr5[i] = c[i];
}
i++;
} else {
return;
}
}
}
}
static final class b implements e {
/* renamed from: a reason: collision with root package name */
final e.a f4797a;
/* renamed from: b reason: collision with root package name */
final p f4798b;
final i.a c;
int d;
int e;
byte f;
byte g;
short h;
int i;
final d j = new d() {
public final void onDataAvailable(n nVar, l lVar) {
try {
boolean z = true;
short s = 0;
switch (b.this.g) {
case 0:
b bVar = b.this;
short s2 = b.this.h;
byte b2 = b.this.f;
int i = b.this.i;
boolean z2 = (b2 & 1) != 0;
if ((b2 & 32) == 0) {
z = false;
}
if (!z) {
if ((b2 & 8) != 0) {
s = (short) (lVar.get() & com.pusher.java_websocket.drafts.c.END_OF_FRAME);
}
j.a(s2, b2, s);
bVar.f4797a.data(z2, i, lVar);
lVar.skip(s);
break;
} else {
throw j.c("PROTOCOL_ERROR: FLAG_COMPRESSED without SETTINGS_COMPRESS_DATA", new Object[0]);
}
case 1:
b bVar2 = b.this;
short s3 = b.this.h;
byte b3 = b.this.f;
int i2 = b.this.i;
if (i2 != 0) {
if ((b3 & 8) != 0) {
s = (short) (lVar.get() & com.pusher.java_websocket.drafts.c.END_OF_FRAME);
}
if ((b3 & 32) != 0) {
bVar2.a(lVar, i2);
s3 = (short) (s3 - 5);
}
j.a(s3, b3, s);
bVar2.k = bVar2.g;
bVar2.a(lVar, s, b3, i2);
break;
} else {
throw j.c("PROTOCOL_ERROR: TYPE_HEADERS streamId == 0", new Object[0]);
}
case 2:
b bVar3 = b.this;
short s4 = b.this.h;
int i3 = b.this.i;
if (s4 != 5) {
throw j.c("TYPE_PRIORITY length: %d != 5", Short.valueOf(s4));
} else if (i3 != 0) {
bVar3.a(lVar, i3);
break;
} else {
throw j.c("TYPE_PRIORITY streamId == 0", new Object[0]);
}
case 3:
b bVar4 = b.this;
short s5 = b.this.h;
int i4 = b.this.i;
if (s5 != 4) {
throw j.c("TYPE_RST_STREAM length: %d != 4", Short.valueOf(s5));
} else if (i4 != 0) {
int i5 = lVar.getInt();
d fromHttp2 = d.fromHttp2(i5);
if (fromHttp2 != null) {
bVar4.f4797a.rstStream(i4, fromHttp2);
break;
} else {
throw j.c("TYPE_RST_STREAM unexpected error code: %d", Integer.valueOf(i5));
}
} else {
throw j.c("TYPE_RST_STREAM streamId == 0", new Object[0]);
}
case 4:
b bVar5 = b.this;
short s6 = b.this.h;
byte b4 = b.this.f;
if (b.this.i != 0) {
throw j.c("TYPE_SETTINGS streamId != 0", new Object[0]);
} else if ((b4 & 1) != 0) {
if (s6 == 0) {
bVar5.f4797a.ackSettings();
break;
} else {
throw j.c("FRAME_SIZE_ERROR ack frame should be empty!", new Object[0]);
}
} else if (s6 % 6 == 0) {
m mVar = new m();
for (int i6 = 0; i6 < s6; i6 += 6) {
short s7 = lVar.getShort();
int i7 = lVar.getInt();
if (s7 != 1) {
if (s7 != 2) {
if (s7 == 3) {
s7 = 4;
} else if (s7 == 4) {
s7 = 7;
if (i7 < 0) {
throw j.c("PROTOCOL_ERROR SETTINGS_INITIAL_WINDOW_SIZE > 2^31 - 1", new Object[0]);
}
} else if (s7 != 5) {
throw j.c("PROTOCOL_ERROR invalid settings id: %s", Short.valueOf(s7));
}
} else if (i7 == 0) {
continue;
} else if (i7 != 1) {
throw j.c("PROTOCOL_ERROR SETTINGS_ENABLE_PUSH != 0 or 1", new Object[0]);
}
}
mVar.set(s7, 0, i7);
}
bVar5.f4797a.settings(false, mVar);
if (mVar.a() >= 0) {
i.a aVar = bVar5.c;
aVar.c = mVar.a();
aVar.d = aVar.c;
aVar.a();
break;
}
} else {
throw j.c("TYPE_SETTINGS length %% 6 != 0: %s", Short.valueOf(s6));
}
break;
case 5:
b bVar6 = b.this;
short s8 = b.this.h;
byte b5 = b.this.f;
int i8 = b.this.i;
if (i8 != 0) {
if ((b5 & 8) != 0) {
s = (short) (lVar.get() & com.pusher.java_websocket.drafts.c.END_OF_FRAME);
}
bVar6.m = lVar.getInt() & ActivityChooserView.ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED;
j.a((short) (s8 - 4), b5, s);
bVar6.k = 5;
bVar6.a(lVar, s, b5, i8);
break;
} else {
throw j.c("PROTOCOL_ERROR: TYPE_PUSH_PROMISE streamId == 0", new Object[0]);
}
case 6:
b bVar7 = b.this;
short s9 = b.this.h;
byte b6 = b.this.f;
int i9 = b.this.i;
if (s9 != 8) {
throw j.c("TYPE_PING length != 8: %s", Short.valueOf(s9));
} else if (i9 == 0) {
int i10 = lVar.getInt();
int i11 = lVar.getInt();
if ((b6 & 1) == 0) {
z = false;
}
bVar7.f4797a.ping(z, i10, i11);
break;
} else {
throw j.c("TYPE_PING streamId != 0", new Object[0]);
}
case 7:
b bVar8 = b.this;
short s10 = b.this.h;
int i12 = b.this.i;
if (s10 < 8) {
throw j.c("TYPE_GOAWAY length < 8: %s", Short.valueOf(s10));
} else if (i12 == 0) {
int i13 = lVar.getInt();
int i14 = lVar.getInt();
int i15 = s10 - 8;
d fromHttp22 = d.fromHttp2(i14);
if (fromHttp22 != null) {
c cVar = c.EMPTY;
if (i15 > 0) {
cVar = c.of(lVar.getBytes(i15));
}
bVar8.f4797a.goAway(i13, fromHttp22, cVar);
break;
} else {
throw j.c("TYPE_GOAWAY unexpected error code: %d", Integer.valueOf(i14));
}
} else {
throw j.c("TYPE_GOAWAY streamId != 0", new Object[0]);
}
case 8:
b bVar9 = b.this;
short s11 = b.this.h;
int i16 = b.this.i;
if (s11 == 4) {
long j = ((long) lVar.getInt()) & 2147483647L;
if (j != 0) {
bVar9.f4797a.windowUpdate(i16, j);
break;
} else {
throw j.c("windowSizeIncrement was 0", Long.valueOf(j));
}
} else {
throw j.c("TYPE_WINDOW_UPDATE length !=4: %s", Short.valueOf(s11));
}
case 9:
b bVar10 = b.this;
byte b7 = b.this.f;
int i17 = b.this.i;
if (i17 == bVar10.l) {
bVar10.a(lVar, 0, b7, i17);
break;
} else {
throw new IOException("continuation stream id mismatch");
}
default:
lVar.recycle();
break;
}
b.this.a();
} catch (IOException e) {
b.this.f4797a.error(e);
}
}
};
byte k;
int l;
int m;
private final n n;
private final boolean o;
private final d p = new d() {
public final void onDataAvailable(n nVar, l lVar) {
lVar.order(ByteOrder.BIG_ENDIAN);
b.this.d = lVar.getInt();
b.this.e = lVar.getInt();
b bVar = b.this;
bVar.h = (short) ((bVar.d & 1073676288) >> 16);
b bVar2 = b.this;
bVar2.g = (byte) ((bVar2.d & MotionEventCompat.ACTION_POINTER_INDEX_MASK) >> 8);
b bVar3 = b.this;
bVar3.f = (byte) (bVar3.d & 255);
b bVar4 = b.this;
bVar4.i = bVar4.e & ActivityChooserView.ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED;
if (j.f4793a.isLoggable(Level.FINE)) {
j.f4793a.fine(a.a(true, b.this.i, b.this.h, b.this.g, b.this.f));
}
b.this.f4798b.read(b.this.h, b.this.j);
}
};
b(n nVar, e.a aVar, boolean z) {
this.n = nVar;
this.o = z;
this.c = new i.a();
this.f4797a = aVar;
this.f4798b = new p();
a();
}
/* access modifiers changed from: package-private */
public final void a() {
this.n.setDataCallback(this.f4798b);
this.f4798b.read(8, this.p);
}
/* access modifiers changed from: package-private */
public final void a(l lVar, short s, byte b2, int i2) throws IOException {
lVar.skip(s);
this.c.refill(lVar);
i.a aVar = this.c;
while (aVar.f4792b.hasRemaining()) {
byte b3 = aVar.f4792b.get() & com.pusher.java_websocket.drafts.c.END_OF_FRAME;
if (b3 == 128) {
throw new IOException("index == 0");
} else if ((b3 & 128) == 128) {
int a2 = aVar.a(b3, 127) - 1;
if (aVar.c(a2)) {
int i3 = a2 - aVar.g;
if (i3 <= i.f4789a.length - 1) {
g gVar = i.f4789a[i3];
if (aVar.d == 0) {
aVar.f4791a.add(gVar);
} else {
aVar.a(gVar);
}
} else {
throw new IOException("Header index too large " + (i3 + 1));
}
} else {
int a3 = aVar.a(a2);
if (!aVar.h.get(a3)) {
aVar.f4791a.add(aVar.e[a3]);
aVar.i.set(a3);
}
aVar.h.toggle(a3);
}
} else if (b3 == 64) {
aVar.a(new g(i.a(aVar.e()), aVar.e()));
} else if ((b3 & 64) == 64) {
aVar.a(new g(aVar.b(aVar.a(b3, 63) - 1), aVar.e()));
} else if ((b3 & 32) == 32) {
if ((b3 & 16) != 16) {
aVar.d = aVar.a(b3, 15);
if (aVar.d < 0 || aVar.d > aVar.c) {
throw new IOException("Invalid header table byte count " + aVar.d);
}
aVar.a();
} else if ((b3 & 15) == 0) {
aVar.b();
} else {
throw new IOException("Invalid header table state change ".concat(String.valueOf(b3)));
}
} else if (b3 == 16 || b3 == 0) {
aVar.f4791a.add(new g(i.a(aVar.e()), aVar.e()));
} else {
aVar.f4791a.add(new g(aVar.b(aVar.a(b3, 15) - 1), aVar.e()));
}
}
this.c.c();
if ((b2 & 4) != 0) {
byte b4 = this.k;
if (b4 == 1) {
this.f4797a.headers(false, (b2 & 1) != 0, i2, -1, this.c.d(), HeadersMode.HTTP_20_HEADERS);
} else if (b4 == 5) {
this.f4797a.pushPromise(i2, this.m, this.c.d());
} else {
throw new AssertionError("unknown header type");
}
} else {
this.l = i2;
}
}
/* access modifiers changed from: package-private */
public final void a(l lVar, int i2) throws IOException {
int i3 = lVar.getInt();
this.f4797a.priority(i2, i3 & ActivityChooserView.ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED, (lVar.get() & com.pusher.java_websocket.drafts.c.END_OF_FRAME) + 1, (Integer.MIN_VALUE & i3) != 0);
}
}
static final class c implements f {
/* renamed from: a reason: collision with root package name */
private final k f4801a;
/* renamed from: b reason: collision with root package name */
private final boolean f4802b;
private final i.b c;
private boolean d;
private final l e = new l();
c(k kVar, boolean z) {
this.f4801a = kVar;
this.f4802b = z;
this.c = new i.b();
}
public final synchronized void ackSettings() throws IOException {
if (!this.d) {
a(0, 0, (byte) 4, (byte) 1);
} else {
throw new IOException("closed");
}
}
public final synchronized void connectionPreface() throws IOException {
if (this.d) {
throw new IOException("closed");
} else if (this.f4802b) {
if (j.f4793a.isLoggable(Level.FINE)) {
j.f4793a.fine(String.format(Locale.ENGLISH, ">> CONNECTION %s", new Object[]{j.f4794b.hex()}));
}
this.f4801a.write(new l(j.f4794b.toByteArray()));
}
}
public final synchronized void synStream(boolean z, boolean z2, int i, int i2, List<g> list) throws IOException {
if (!z2) {
try {
if (!this.d) {
a(z, i, list);
} else {
throw new IOException("closed");
}
} catch (Throwable th) {
throw th;
}
} else {
throw new UnsupportedOperationException();
}
}
public final synchronized void synReply(boolean z, int i, List<g> list) throws IOException {
if (!this.d) {
a(z, i, list);
} else {
throw new IOException("closed");
}
}
public final synchronized void headers(int i, List<g> list) throws IOException {
if (!this.d) {
a(false, i, list);
} else {
throw new IOException("closed");
}
}
public final synchronized void pushPromise(int i, int i2, List<g> list) throws IOException {
if (!this.d) {
l a2 = i.b.a(list);
long remaining = (long) a2.remaining();
int min = (int) Math.min(16379, remaining);
long j = (long) min;
a(i, min + 4, (byte) 5, remaining == j ? (byte) 4 : 0);
ByteBuffer order = l.obtain(8192).order(ByteOrder.BIG_ENDIAN);
order.putInt(i2 & ActivityChooserView.ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED);
order.flip();
this.e.add(order);
a2.get(this.e, min);
this.f4801a.write(this.e);
if (remaining > j) {
a(a2, i);
}
} else {
throw new IOException("closed");
}
}
private void a(boolean z, int i, List<g> list) throws IOException {
if (!this.d) {
l a2 = i.b.a(list);
long remaining = (long) a2.remaining();
int min = (int) Math.min(16383, remaining);
long j = (long) min;
byte b2 = remaining == j ? (byte) 4 : 0;
if (z) {
b2 = (byte) (b2 | 1);
}
a(i, min, (byte) 1, b2);
a2.get(this.e, min);
this.f4801a.write(this.e);
if (remaining > j) {
a(a2, i);
return;
}
return;
}
throw new IOException("closed");
}
private void a(l lVar, int i) throws IOException {
while (lVar.hasRemaining()) {
int min = Math.min(16383, lVar.remaining());
a(i, min, (byte) 9, lVar.remaining() - min == 0 ? (byte) 4 : 0);
lVar.get(this.e, min);
this.f4801a.write(this.e);
}
}
public final synchronized void rstStream(int i, d dVar) throws IOException {
if (this.d) {
throw new IOException("closed");
} else if (dVar.spdyRstCode != -1) {
a(i, 4, (byte) 3, (byte) 0);
ByteBuffer order = l.obtain(8192).order(ByteOrder.BIG_ENDIAN);
order.putInt(dVar.httpCode);
order.flip();
this.f4801a.write(this.e.add(order));
} else {
throw new IllegalArgumentException();
}
}
public final synchronized void data(boolean z, int i, l lVar) throws IOException {
if (!this.d) {
a(i, lVar.remaining(), (byte) 0, z ? (byte) 1 : 0);
this.f4801a.write(lVar);
} else {
throw new IOException("closed");
}
}
public final synchronized void settings(m mVar) throws IOException {
if (!this.d) {
int i = 0;
a(0, Integer.bitCount(mVar.f4809a) * 6, (byte) 4, (byte) 0);
ByteBuffer order = l.obtain(8192).order(ByteOrder.BIG_ENDIAN);
while (i < 10) {
if (mVar.a(i)) {
order.putShort((short) (i == 4 ? 3 : i == 7 ? 4 : i));
order.putInt(mVar.f4810b[i]);
}
i++;
}
order.flip();
this.f4801a.write(this.e.add(order));
} else {
throw new IOException("closed");
}
}
public final synchronized void ping(boolean z, int i, int i2) throws IOException {
if (!this.d) {
a(0, 8, (byte) 6, z ? (byte) 1 : 0);
ByteBuffer order = l.obtain(256).order(ByteOrder.BIG_ENDIAN);
order.putInt(i);
order.putInt(i2);
order.flip();
this.f4801a.write(this.e.add(order));
} else {
throw new IOException("closed");
}
}
public final synchronized void goAway(int i, d dVar, byte[] bArr) throws IOException {
if (this.d) {
throw new IOException("closed");
} else if (dVar.httpCode != -1) {
a(0, bArr.length + 8, (byte) 7, (byte) 0);
ByteBuffer order = l.obtain(256).order(ByteOrder.BIG_ENDIAN);
order.putInt(i);
order.putInt(dVar.httpCode);
order.put(bArr);
order.flip();
this.f4801a.write(this.e.add(order));
} else {
throw j.b("errorCode.httpCode == -1", new Object[0]);
}
}
public final synchronized void windowUpdate(int i, long j) throws IOException {
if (this.d) {
throw new IOException("closed");
} else if (j == 0 || j > 2147483647L) {
throw j.b("windowSizeIncrement == 0 || windowSizeIncrement > 0x7fffffffL: %s", new Object[]{Long.valueOf(j)});
} else {
a(i, 4, (byte) 8, (byte) 0);
ByteBuffer order = l.obtain(256).order(ByteOrder.BIG_ENDIAN);
order.putInt((int) j);
order.flip();
this.f4801a.write(this.e.add(order));
}
}
public final synchronized void close() throws IOException {
this.d = true;
}
private void a(int i, int i2, byte b2, byte b3) throws IOException {
if (j.f4793a.isLoggable(Level.FINE)) {
j.f4793a.fine(a.a(false, i, i2, b2, b3));
}
if (i2 > 16383) {
throw j.b("FRAME_SIZE_ERROR length > %d: %d", new Object[]{16383, Integer.valueOf(i2)});
} else if ((Integer.MIN_VALUE & i) == 0) {
ByteBuffer order = l.obtain(256).order(ByteOrder.BIG_ENDIAN);
order.putInt(((i2 & 16383) << 16) | ((b2 & com.pusher.java_websocket.drafts.c.END_OF_FRAME) << 8) | (b3 & com.pusher.java_websocket.drafts.c.END_OF_FRAME));
order.putInt(i & ActivityChooserView.ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED);
order.flip();
this.f4801a.write(this.e.add(order));
} else {
throw j.b("reserved bit set: %s", new Object[]{Integer.valueOf(i)});
}
}
}
public final int maxFrameSize() {
return 16383;
}
j() {
}
public final Protocol getProtocol() {
return Protocol.HTTP_2;
}
public final e newReader(n nVar, e.a aVar, boolean z) {
return new b(nVar, aVar, z);
}
public final f newWriter(k kVar, boolean z) {
return new c(kVar, z);
}
/* access modifiers changed from: private */
public static IOException c(String str, Object... objArr) throws IOException {
throw new IOException(String.format(Locale.ENGLISH, str, objArr));
}
static /* synthetic */ short a(short s, byte b2, short s2) throws IOException {
if ((b2 & 8) != 0) {
s = (short) (s - 1);
}
if (s2 <= s) {
return (short) (s - s2);
}
throw c("PROTOCOL_ERROR padding %s > remaining length %s", Short.valueOf(s2), Short.valueOf(s));
}
static /* synthetic */ IllegalArgumentException b(String str, Object[] objArr) {
throw new IllegalArgumentException(String.format(Locale.ENGLISH, str, objArr));
}
}
| [
"MaxBaseCode@gmail.com"
] | MaxBaseCode@gmail.com |
ac82acae38c47f6d8d238962a5c46b96f264c1bf | db7fdddf1a542a88243fce0b8b5729cbb9ffb554 | /src/main/java/netty/nio/Server.java | cc7b0830143f8ca4f60c05648dd54f9485498c2f | [] | no_license | star12138/myTest | d8a9ae3859c216bbf7606fb4fc50f16c6390aae6 | 5e13c2a6ea012c95eb47a0f02f72640421d7801f | refs/heads/master | 2022-12-21T23:32:14.691589 | 2020-06-19T02:08:09 | 2020-06-19T02:08:09 | 177,903,745 | 0 | 0 | null | 2022-12-10T03:31:38 | 2019-03-27T02:28:29 | Java | UTF-8 | Java | false | false | 3,711 | java | package netty.nio;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;
import java.util.Iterator;
/**
* @Auther: Administrator
* @Date: 2020/6/9 10:23
* @Description:
* Java的NIO模式的Selector网络通讯,
* 其实就是一个简单的Reactor模型。
* 可以说是Reactor模型的朴素原型。
*
* 实际上的Reactor模式,是基于Java NIO的,在他的基础上,抽象出来两个组件——Reactor和Handler两个组件:
*
* (1)Reactor:负责响应IO事件,当检测到一个新的事件,将其发送给相应的Handler去处理;新的事件包含连接建立就绪、读就绪、写就绪等。
*
* (2)Handler:将自身(handler)与事件绑定,负责事件的处理,完成channel的读入,完成处理业务逻辑后,负责将结果写出channel。
*
*
*/
class Server {
private static int SOCKET_SERVER_PORT = 8080;
public static void testServer() throws IOException {
// 1、获取Selector选择器
Selector selector = Selector.open();
// 2、获取通道
ServerSocketChannel serverSocketChannel = ServerSocketChannel.open();
// 3.设置为非阻塞
serverSocketChannel.configureBlocking(false);
// 4、绑定连接
serverSocketChannel.bind(new InetSocketAddress(SOCKET_SERVER_PORT));
// 5、将通道注册到选择器上,并注册的操作为:“接收”操作
serverSocketChannel.register(selector, SelectionKey.OP_ACCEPT);
// 6、采用轮询的方式,查询获取“准备就绪”的注册过的操作
while (selector.select() > 0) {
// 7、获取当前选择器中所有注册的选择键(“已经准备就绪的操作”)
Iterator<SelectionKey> selectedKeys = selector.selectedKeys().iterator();
while (selectedKeys.hasNext()) {
// 8、获取“准备就绪”的时间
SelectionKey selectedKey = selectedKeys.next();
// 9、判断key是具体的什么事件
if (selectedKey.isAcceptable()) {
// 10、若接受的事件是“接收就绪” 操作,就获取客户端连接
SocketChannel socketChannel = serverSocketChannel.accept();
// 11、切换为非阻塞模式
socketChannel.configureBlocking(false);
// 12、将该通道注册到selector选择器上
socketChannel.register(selector, SelectionKey.OP_READ);
} else if (selectedKey.isReadable()) {
// 13、获取该选择器上的“读就绪”状态的通道
SocketChannel socketChannel = (SocketChannel) selectedKey.channel();
// 14、读取数据
ByteBuffer byteBuffer = ByteBuffer.allocate(1024);
int length = 0;
while ((length = socketChannel.read(byteBuffer)) != -1) {
byteBuffer.flip();
System.out.println(new String(byteBuffer.array(), 0, length));
byteBuffer.clear();
}
socketChannel.close();
}
// 15、移除选择键
selectedKeys.remove();
}
}
// 7、关闭连接
serverSocketChannel.close();
}
public static void main(String[] args) throws IOException {
testServer();
}
}
| [
"844821765@qq.com"
] | 844821765@qq.com |
c1bc4798eb12727de297d2326ca3ff0c39552317 | 81b25323a70a319eace36059a60d2940adbc0456 | /src/main/java/com/project/fleetapp/controllers/ContactController.java | 03dce097fd1e7c27602215e1f4c002e4195fad98 | [] | no_license | Tanzim06/FleetApp | 54a6a5e379e48010ffd4ce0e3d1ed018e20ec6a1 | 2b872898b731ebee4c5d79c2fcbad364054c79c5 | refs/heads/master | 2022-12-30T07:32:19.507113 | 2020-10-23T04:40:23 | 2020-10-23T04:40:23 | 297,137,190 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,878 | java | package com.project.fleetapp.controllers;
import com.project.fleetapp.models.Country;
import com.project.fleetapp.models.Contact;
import com.project.fleetapp.services.CountryService;
import com.project.fleetapp.services.ContactService;
import com.project.fleetapp.services.StateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Optional;
@Controller
public class ContactController {
@Autowired private StateService stateService;
@Autowired private CountryService countryService;
@Autowired private ContactService contactService;
//Get All Contacts
@GetMapping("/contacts")
public String findAll(Model model){
model.addAttribute("countries", countryService.getCountries());
model.addAttribute("states", stateService.getStates());
model.addAttribute("contacts", contactService.findAll());
return "contact";
}
@RequestMapping("contacts/findById")
@ResponseBody
public Optional<Contact> findById(Integer id)
{
Optional<Contact> o= contactService.findById(id);
return o;
}
//Add Contact
@PostMapping(value="contacts/addNew")
public String addNew(Contact contact) {
contactService.save(contact);
return "redirect:/contacts";
}
@RequestMapping(value="contacts/update", method = {RequestMethod.PUT, RequestMethod.GET})
public String update(Contact contact) {
contactService.save(contact);
return "redirect:/contacts";
}
@RequestMapping(value="contacts/delete", method = {RequestMethod.DELETE, RequestMethod.GET})
public String delete(Integer id) {
contactService.delete(id);
return "redirect:/contacts";
}
/*@RequestMapping(value="/contact", method=RequestMethod.GET)
public String getContact() {
return "contact";
}*/
}
| [
"tanzim06@ymail.com"
] | tanzim06@ymail.com |
4ddf65aa8d553e77d58b530666d251d35636f92b | 35c010449a4bb05c2c79af0f7b9a6216e83b52f2 | /src/Main.java | b8d68b820f8bc19aaf08272da67568b027f4e555 | [] | no_license | banjtamara/Zavrsni-Projekat | 4a7c128a7478b72c0a2ed09f3b54dca9ef84913a | c83881ff8dfe91143a94df1e1996295169360075 | refs/heads/master | 2020-05-05T05:05:07.921921 | 2019-04-05T18:56:23 | 2019-04-05T18:56:23 | 179,738,091 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,453 | java | import java.util.Scanner;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import utils.*;
import strana.LogIn;
import strana.DashboardPage;
import strana.popuniLogIn;
import strana.popunitiFormu;
import strana.PostPisi;
public class Main {
public static void main(String[] args) {
WebDriver driver = new ChromeDriver();
driver.get(constant.url);
String SheetName = "Registracija";
String FileName = "Data (5).xls";
try {
Excel.setExcelFile(constant.PathExcel + constant.FileName, "Registracija");
for (int i = 1; i < 2; i++) {
popunitiFormu.popuniFormu(driver, i);
popuniLogIn.popuniLogIn(driver, i);
}
popuniLogIn.popuniLogInJedan(driver, 2);
Thread.sleep(2000);
//DashboardPage.clickDugmeMake(driver);
//pisiPost.(driver, Excel.);
Excel.setExcelFile(constant.PathExcel + constant.FileName, "Tekst");
//DashboardPage.sendKeysLokacija(driver, "abc");
PostPisi.postPisi(driver, 3);
//PostPisi.postPisi(driver, 1);
DashboardPage.editPostButton(driver);
Thread.sleep(2000);
DashboardPage.sendKeysPostDescription(driver, Excel.getCellData(5, 0));
DashboardPage.clickPostChangeButton(driver);
Thread.sleep(2000);
for (int i = 0; i < 2; i++) {
DashboardPage.deletePostButton(driver);
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
driver.quit();
}
}
}
| [
"tbanjeglav.84@gmail.com"
] | tbanjeglav.84@gmail.com |
760bc5f9da4a0917b15f164762240f0d28a030ed | e506691f2c4f84078c8009034462f25e4780b425 | /app/src/main/java/wyz/whaley/pinterest/http/utils/AKImageLoader.java | 684ab2547aaf14449a36cc715aa85bf07682a0fe | [] | no_license | alwayskim/PinterestDemo | 62668a311532e8d24ee41f43ffefd6cea2a2321b | 273803a1970eea9451426a35a9ecfc1093dabfa8 | refs/heads/master | 2021-07-16T18:54:20.711458 | 2016-11-12T09:17:42 | 2016-11-12T09:17:42 | 59,337,565 | 5 | 0 | null | null | null | null | UTF-8 | Java | false | false | 13,883 | java | package wyz.whaley.pinterest.http.utils;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.util.Log;
import android.view.animation.AccelerateDecelerateInterpolator;
import android.view.animation.AlphaAnimation;
import android.view.animation.Animation;
import android.widget.ImageView;
import android.widget.Toast;
import java.io.IOException;
import java.io.OutputStream;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import wyz.whaley.pinterest.http.AKHttpRequestEngine;
import wyz.whaley.pinterest.http.AKHttpTask;
import wyz.whaley.pinterest.http.AKRequest;
import wyz.whaley.pinterest.http.AKResponseListener;
import wyz.whaley.pinterest.utils.BitmapUtils;
import wyz.whaley.pinterest.utils.DataUtils;
import wyz.whaley.pinterest.widget.AKGifImageView;
public class AKImageLoader {
private static AKImageLoader instance;
private Animation mFadeIn;
private final int mAnimDuration = 500;
private final int mCacheDuration = 250;
private AKCache<String, Bitmap> mAKCache;
private static final String TAG = "ImageLoader";
private ExecutorService cacheThread = Executors.newSingleThreadExecutor();
private AKImageLoader() {
mAKCache = new AKCache<String, Bitmap>() {
@Override
protected int akSizeOf(String key, Bitmap value) {
return value.getByteCount();
}
};
}
public static AKImageLoader getInstance() {
if (instance == null) {
synchronized (AKImageLoader.class) {
if (instance == null) {
instance = new AKImageLoader();
}
}
}
return instance;
}
public AKCache<String, Bitmap> getCache() {
return mAKCache;
}
public void displayImage(final Activity activity, final AKGifImageView imageView,
final String url, final boolean isFling, int needWidth) {
final Bitmap bitmap;
imageView.clearAnimation();
imageView.setTag(url);
if (mAKCache.get(url) != null) {
bitmap = mAKCache.get(url);
imageView.setImageBitmap(bitmap);
Log.i(TAG, "cached already " + " : " + imageView.getTag());
} else {
if (!isFling) {
getImageFromDiskAsyn(activity, imageView, url, isFling, needWidth);
} else {
Log.i(TAG, "JUMP");
}
}
}
private void getImageFromDiskAsyn(final Activity activity, final ImageView imageView,
final String url, final boolean isFling, final int needWidth) {
final int imageViewWidth = imageView.getWidth();
Runnable cacheQueryRun = new Runnable() {
@Override
public void run() {
final long time = System.currentTimeMillis();
Bitmap bitmap = AKImageDiskCache.readImage(activity, url);
if (imageView != null) {
if (bitmap != null) {
if (imageViewWidth > 0) {
bitmap = BitmapUtils.resizeBitmap(bitmap, imageViewWidth);
} else if (needWidth > 0) {
bitmap = BitmapUtils.resizeBitmap(bitmap, needWidth);
}
mAKCache.put(url, bitmap);
Log.i(TAG, "image disk query time = " + (System.currentTimeMillis() - time));
}
final Bitmap bit = bitmap;
imageView.post(new Runnable() {
@Override
public void run() {
if (imageView.getTag().equals(url) && imageView != null) {
if (bit != null) {
Log.w(TAG, "image disk cached !!");
// final Bitmap bit = mAKCache.get(url);
imageView.setImageBitmap(bit);
mFadeIn = new AlphaAnimation(0.3f, 1f);
mFadeIn.setInterpolator(new AccelerateDecelerateInterpolator());
mFadeIn.setDuration(mCacheDuration);
// imageView.startAnimation(mFadeIn);
mAKCache.put(url, bit);
return;
} else {
AKImageRequest imageRequest = new AKImageRequest(url, new AKResponseListener() {
@Override
public void onSuccess(final Object bitmap) {
if (bitmap instanceof byte[] && bitmap != null) {
Bitmap bit = BitmapFactory.decodeByteArray((byte[]) bitmap, 0, ((byte[]) bitmap).length);
if (imageViewWidth > 0) {
bit = BitmapUtils.resizeBitmap(bit, imageViewWidth);
} else if (needWidth > 0) {
bit = BitmapUtils.resizeBitmap(bit, needWidth);
}
mAKCache.put(url, bit);
activity.runOnUiThread((new Runnable() {
@Override
public void run() {
if (imageView.getTag().equals(url) && imageView != null) {
imageView.setImageBitmap(mAKCache.get(url));
mFadeIn = new AlphaAnimation(0.3f, 1f);
mFadeIn.setInterpolator(new AccelerateDecelerateInterpolator());
mFadeIn.setDuration(mAnimDuration);
imageView.startAnimation(mFadeIn);
Log.i(TAG, "success in imageview Tag compare " + " : " + imageView.getTag());
} else {
Log.i(TAG, "failed in imageview Tag compare " + ": pos : " + " tag: " + imageView.getTag() + "mUrl : " + url);
}
}
}));
AKCacheTask.getInstace().add(new Runnable() {
@Override
public void run() {
// byte[] bytes = BitmapUtils.Bitmap2Bytes((Bitmap) bitmap);
byte[] bytes = (byte[]) bitmap;
AKImageDiskCache diskCache = new AKImageDiskCache(activity);
OutputStream outPut = diskCache.getOutPutStream(url, activity);
try {
if (bytes != null) {
outPut.write(bytes);
diskCache.commitSave();
outPut.close();
}
} catch (IOException e) {
diskCache.abort();
e.printStackTrace();
}
}
});
}
}
@Override
public void onFailed(final Exception e) {
Log.i(TAG, "request failed : " + url + " Exception : " + e.toString());
if (imageView != null) {
activity.runOnUiThread(new Runnable() {
@Override
public void run() {
Toast.makeText(activity, "pos : " + " " + e.toString(), Toast.LENGTH_LONG).show();
}
});
}
}
}, AKHttpRequestEngine.REQUEST_GET, activity);
imageView.setTag(imageRequest);
AKHttpTask.getInstace().add(imageRequest);
}
}
}
});
}
}
};
AKCacheTask.getInstace().add(cacheQueryRun);
}
public void displayAvatar(final Activity activity, final ImageView imageView, final String url, final boolean isFling) {
final Bitmap bitmap;
imageView.setTag(url);
if (mAKCache.get(url) != null) {
bitmap = mAKCache.get(url);
imageView.setImageBitmap(bitmap);
Log.i(TAG, "cached already " + " : " + imageView.getTag());
} else {
if (!isFling) {
Log.i(TAG, "request image " + " : " + url);
getImageFromDiskAsyn(activity, imageView, url, isFling, -1);
} else {
Log.i(TAG, "JUMP");
}
}
}
public void displayDetailImage(final Activity activity, final ImageView imageView, final int screenWidth, final String lowUrl,
final String highUrl, final LoadImageListener listener) {
Bitmap bitmap;
imageView.setTag(highUrl);
imageView.clearAnimation();
if (mAKCache.get(highUrl) != null) {
bitmap = BitmapUtils.resizeBitmap(mAKCache.get(highUrl), screenWidth);
imageView.setImageBitmap(bitmap);
listener.onFinished();
return;
}
if (mAKCache.get(lowUrl) != null) {
bitmap = BitmapUtils.resizeBitmap(mAKCache.get(lowUrl), screenWidth);
imageView.setImageBitmap(bitmap);
Log.i(TAG, "cached already " + " : " + imageView.getTag());
}
Log.i(TAG, "request image " + " : " + highUrl);
imageView.clearAnimation();
AKImageRequest imageRequest = new AKImageRequest(highUrl, new AKResponseListener() {
@Override
public void onSuccess(final Object bitmap) {
if (bitmap instanceof byte[] && bitmap != null) {
final Bitmap bit = BitmapFactory.decodeByteArray((byte[]) bitmap, 0, ((byte[]) bitmap).length);
mAKCache.put(highUrl, bit);
activity.runOnUiThread((new Runnable() {
@Override
public void run() {
if (imageView != null) {
imageView.setImageBitmap(BitmapUtils.resizeBitmap(mAKCache.get(highUrl), screenWidth));
listener.onFinished();
Log.i(TAG, "success in imageview Tag compare " + " : " + imageView.getTag());
} else {
Log.i(TAG, "failed in imageview Tag compare " + ": pos : "
+ " tag: " + imageView.getTag() + "mUrl : " + highUrl);
}
}
}));
}
}
@Override
public void onFailed(final Exception e) {
Log.i(TAG, "request failed : " + highUrl + " Exception : " + e.toString());
if (imageView != null) {
activity.runOnUiThread(new Runnable() {
@Override
public void run() {
Toast.makeText(activity, "pos : " + " " + e.toString(), Toast.LENGTH_LONG).show();
}
});
}
}
}, AKHttpRequestEngine.REQUEST_GET, AKRequest.Priority.HIGH, activity);
imageView.setTag(imageRequest);
// AKHttpTask.getInstace().addToRequestQueue(imageRequest);
AKHttpTask.getInstace().add(imageRequest);
}
public interface LoadImageListener {
void onFinished();
void onUpdateProgress();
}
}
| [
"120944116@qq.com"
] | 120944116@qq.com |
8ce70bfd721d1c3cf171b5e6d9fee4452bcc1bb2 | eeb5759717f78eb4d9197b935b957ffc3a9090ab | /yichen-common/src/main/java/com/asiainfo/common/core/page/PageDomain.java | b0396ffd392750aabdb3a3435a4410c8c7a915cb | [
"MIT"
] | permissive | Follow-T/codex | 86f5c47caec698dc57ea1ac89f9f7be98acc5749 | 1d90f4725ada1023ffac84cf0231b957799e2055 | refs/heads/master | 2022-11-09T04:59:15.715716 | 2019-08-12T04:21:24 | 2019-08-12T04:21:24 | 201,854,559 | 0 | 1 | MIT | 2022-10-12T20:30:19 | 2019-08-12T03:55:32 | JavaScript | UTF-8 | Java | false | false | 1,285 | java | package com.asiainfo.common.core.page;
import com.asiainfo.common.utils.StringUtils;
/**
* 分页数据
*
* @author yichen
*/
public class PageDomain
{
/** 当前记录起始索引 */
private Integer pageNum;
/** 每页显示记录数 */
private Integer pageSize;
/** 排序列 */
private String orderByColumn;
/** 排序的方向 "desc" 或者 "asc". */
private String isAsc;
public String getOrderBy()
{
if (StringUtils.isEmpty(orderByColumn))
{
return "";
}
return StringUtils.toUnderScoreCase(orderByColumn) + " " + isAsc;
}
public Integer getPageNum()
{
return pageNum;
}
public void setPageNum(Integer pageNum)
{
this.pageNum = pageNum;
}
public Integer getPageSize()
{
return pageSize;
}
public void setPageSize(Integer pageSize)
{
this.pageSize = pageSize;
}
public String getOrderByColumn()
{
return orderByColumn;
}
public void setOrderByColumn(String orderByColumn)
{
this.orderByColumn = orderByColumn;
}
public String getIsAsc()
{
return isAsc;
}
public void setIsAsc(String isAsc)
{
this.isAsc = isAsc;
}
}
| [
"945614282@qq.com"
] | 945614282@qq.com |
8e38d5eb3fc174e4818e1b44e83a16b6559374f4 | 4b5f72eafacc5d7387e8cc3f993b9ba98ad7f52c | /app/src/androidTest/java/com/example/chungmin/helpu/ui_test/ProjectMessageTest.java | 40180fb13f08377eede57de5bdc08a608f711383 | [] | no_license | mincc/HelpU | ee9f24f12dcb4f8693203c811cb67cf5dae0784b | ce61c901fd6c5176e7c42c34e275ea66b06fd826 | refs/heads/master | 2020-03-29T13:28:23.082146 | 2015-10-23T06:57:57 | 2015-10-23T06:57:57 | 39,824,218 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 16,382 | java | package com.example.chungmin.helpu.ui_test;
import android.app.Activity;
import android.support.test.espresso.matcher.ViewMatchers;
import android.support.test.rule.ActivityTestRule;
import android.util.Log;
import com.example.chungmin.helpu.R;
import com.example.chungmin.helpu.activities.CustomerRequestJobList;
import com.example.chungmin.helpu.activities.CustomerRequestList;
import com.example.chungmin.helpu.activities.Hire;
import com.example.chungmin.helpu.activities.MainActivity;
import com.example.chungmin.helpu.activities.Work;
import com.example.chungmin.helpu.ui_test.common.ActivityUtils;
import com.example.chungmin.helpu.ui_test.common.AutoAction;
import com.example.chungmin.helpu.ui_test.custom.CustomMatchers;
import com.example.chungmin.helpu.ui_test.custom.CustomViewActions;
import com.example.chungmin.helpu.ui_test.custom.Utils;
import com.example.chungmin.helpu.models.CustomerRequest;
import com.example.chungmin.helpu.models.ServiceProvider;
import com.example.chungmin.helpu.models.User;
import org.hamcrest.Matchers;
import org.junit.Assert;
import org.junit.Rule;
import HelpUTestUtilities.ValueGenerator;
import static android.os.SystemClock.sleep;
import static android.support.test.espresso.Espresso.onData;
import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso.action.ViewActions.click;
import static android.support.test.espresso.action.ViewActions.scrollTo;
import static android.support.test.espresso.action.ViewActions.typeText;
import static android.support.test.espresso.matcher.ViewMatchers.hasSibling;
import static android.support.test.espresso.matcher.ViewMatchers.withId;
import static android.support.test.espresso.matcher.ViewMatchers.withText;
import static org.hamcrest.CoreMatchers.allOf;
/**
* Created by Chung Min on 9/14/2015.
*/
public class ProjectMessageTest {
Activity mActivity = null;
String mClassName = "";
String mTag = "ProjectMessageTest";
String message = "";
User mUserCustomer = new User();
User mUserServiceProvider = new User();
ServiceProvider mServiceProvider;
int mServiceId = ValueGenerator.getRandomInt((short) 1, (short) 10);
int mCustomerRequestId = 0; //0;
String mProjectStatus = "";
String mRandomPrice = "";
double mRandomRatingValue = 0.0;
int mTimer = 25 * 1000;
boolean mIsPartialTest = false;
@Rule
public final ActivityTestRule<MainActivity> main = new ActivityTestRule<>(MainActivity.class);
@org.junit.Ignore
public void isDisplayObjectExist() {
// //TextView
// onView(withText(R.string.strWelcome)).check(matches(isDisplayed()));
// onView(withText(R.string.strTotalRequestHire)).check(matches(isDisplayed()));
// onView(withText(R.string.strTotalServiceProviderWork)).check(matches(isDisplayed()));
// onView(withText(R.string.strJobOffer)).check(matches(isDisplayed()));
// onView(withText(R.string.strJobOfferDone)).check(matches(isDisplayed()));
//
// //EditText
// onView(withId(R.id.etUsername)).check(matches(isDisplayed()));
//
// //Button
// onView(withId(R.id.btnHire)).check(matches(isDisplayed()));
// onView(withId(R.id.btnWork)).check(matches(isDisplayed()));
// onView(withId(R.id.btnLogout)).check(matches(isDisplayed()));
}
@org.junit.Ignore
public void process() {
mIsPartialTest = false;
mActivity = main.getActivity();
message = "pre-set service Id : " + mServiceId;
Log.d(mTag, message);
//register mUserCustomer
createCustomerUser();
//register mUserServiceProvider
createServiceProviderUser();
//mUserServiceProvider register service he or she provide
serviceProviderCreateWork();
//mUserCustomer want to hire someone (Project Status - New, Match, Pick)
customerCreateHire();
//Project Status - Pick, SelectedNotification, ConfirmRequest
serviceProviderConfirmRequest();
//Project Status - ConfirmRequestNotification
customerConfirmRequest();
//Project Status - Confirm Quotation
serviceProviderCreateQuotation();
//Project Status - Confirm Quotation Notification
customerConfirmQuotation();
//Project Status - Deal Notification, Plan Start Date
serviceProviderDeal();
//Project Status - Plan Start Date Notification
customerPlanStartDate();
//Project Status - Start Service
serviceProviderStartService();
//Project Status - Service Start Notification, Service End
customerServiceEnd();
//Project Status - Service End Notification, Service Provider Rating
serviceProviderRating();
//Project Status - Service Provider Rating Notification
customerRating();
//Project Status - Customer Rating Notification, Project Close
serviceProviderProjectDone();
}
@org.junit.Ignore
public void partialProcessTesting() {
mIsPartialTest = true;
mCustomerRequestId = 148;
mActivity = main.getActivity();
AutoAction.autoLogout();
//Project Status - Service Provider Rating Notification
customerRating();
//Project Status - Customer Rating Notification, Project Close
serviceProviderProjectDone();
}
private void loginUser(String type, boolean isPartialTest) {
if (type == "Customer") {
if (isPartialTest == true) {
AutoAction.autoLogin("Annita60", "xtvPFwS");
} else {
AutoAction.autoLogin(mUserCustomer.getUsername(), mUserCustomer.getPassword());
}
} else {
if (isPartialTest == true) {
AutoAction.autoLogin("Jacqueline65", "XOvSdAr");
} else {
AutoAction.autoLogin(mUserServiceProvider.getUsername(), mUserServiceProvider.getPassword());
}
}
}
private void serviceProviderProjectDone() {
Log.d(mTag, "serviceProviderProjectDone");
loginUser("ServiceProvider", mIsPartialTest);
sleep(mTimer); //check notification trigger or not (Customer Rating Notification...)
ActivityUtils.fromActivityToActivity(MainActivity.class, CustomerRequestJobList.class, "JobDone");
onView(Matchers.allOf(ViewMatchers.withText(R.string.strEnter), hasSibling(withText(mCustomerRequestId + ""))))
.perform(click());
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strPrjClose), mProjectStatus);
AutoAction.autoLogout();
}
private void customerRating() {
Log.d(mTag, "customerRating");
loginUser("Customer", mIsPartialTest);
sleep(mTimer); //check notification trigger or not (Service Provider Rating ...)
custGoToTargetCR();
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strSvcPdrRtgNtf), mProjectStatus);
mRandomRatingValue = Math.round(ValueGenerator.getRandomDoubleNumber(0.5, 5.0) - 0.5) + 0.5;
onView(withId(R.id.ratingBar)).perform(CustomViewActions.setRating(mRandomRatingValue));
onView(withId(R.id.btnSubmit)).perform(scrollTo(), click());
custGoToTargetCR();
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strCustRtg), mProjectStatus);
AutoAction.autoLogout();
}
private void serviceProviderRating() {
Log.d(mTag, "serviceProviderRating");
loginUser("ServiceProvider", mIsPartialTest);
sleep(mTimer); //check notification trigger or not (Service Done...)
spdrGoToTargetCR();
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strSvcDoneNtf), mProjectStatus);
//round to nearest 0.5
mRandomRatingValue = Math.round(ValueGenerator.getRandomDoubleNumber(0.5, 5.0) - 0.5) + 0.5;
onView(withId(R.id.ratingBar)).perform(CustomViewActions.setRating(mRandomRatingValue));
onView(withId(R.id.btnSubmit)).perform(scrollTo(), click());
spdrGoToTargetCR();
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strSPdrRtg), mProjectStatus);
AutoAction.autoLogout();
}
private void customerServiceEnd() {
Log.d(mTag, "customerServiceEnd");
loginUser("Customer", mIsPartialTest);
sleep(mTimer); //check notification trigger or not (Service Start...)
custGoToTargetCR();
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strSvcSttNtf), mProjectStatus);
onView(withId(R.id.btnTask))
.perform(click());
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strSvcDone), mProjectStatus);
AutoAction.autoLogout();
}
private void serviceProviderStartService() {
Log.d(mTag, "serviceProviderStartService");
loginUser("ServiceProvider", mIsPartialTest);
spdrGoToTargetCR();
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strPlanStartDateNtf), mProjectStatus);
onView(withId(R.id.btnTask))
.perform(click());
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strSvcStr), mProjectStatus);
AutoAction.autoLogout();
}
private void customerPlanStartDate() {
Log.d(mTag, "customerPlanStartDate");
loginUser("Customer", mIsPartialTest);
sleep(mTimer); //check notification trigger or not
custGoToTargetCR();
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strPlanStartDateNtf), mProjectStatus);
AutoAction.autoLogout();
}
private void serviceProviderDeal() {
Log.d(mTag, "serviceProviderDeal");
loginUser("ServiceProvider", mIsPartialTest);
sleep(mTimer); //check notification trigger or not
spdrGoToTargetCR();
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strDealNtf), mProjectStatus);
onView(withId(R.id.btnTask))
.perform(click());
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strPlanStrtDate), mProjectStatus);
AutoAction.autoLogout();
}
private void customerConfirmQuotation() {
Log.d(mTag, "customerConfirmQuotation");
loginUser("Customer", mIsPartialTest);
sleep(mTimer); //check notification trigger or not
custGoToTargetCR();
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strCfmQttNtf), mProjectStatus);
onView(withId(R.id.btnTask))
.perform(click());
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strDeal), mProjectStatus);
AutoAction.autoLogout();
}
private void serviceProviderCreateQuotation() {
Log.d(mTag, "serviceProviderCreateQuotation");
loginUser("ServiceProvider", mIsPartialTest);
spdrGoToTargetCR();
mRandomPrice = String.valueOf(ValueGenerator.getRandomDoubleNumber((double) 100.00, (double) 200.00));
onView(withId(R.id.etQuotation)).perform(typeText(mRandomPrice), ActivityUtils.closeSoftKeyboard());
onView(withId(R.id.btnDone)).perform(click());
String actualPrice = Utils.getText(withId(R.id.tvQuotation));
Assert.assertEquals(mRandomPrice, actualPrice);
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strCfmQtt), mProjectStatus);
AutoAction.autoLogout();
}
private void customerConfirmRequest() {
Log.d(mTag, "customerConfirmRequest");
loginUser("Customer", mIsPartialTest);
sleep(mTimer); //check notification trigger or not
custGoToTargetCR();
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strCfmRqtNtf), mProjectStatus);
AutoAction.autoLogout();
}
private void serviceProviderConfirmRequest() {
Log.d(mTag, "serviceProviderConfirmRequest");
loginUser("ServiceProvider", mIsPartialTest);
sleep(mTimer); //check notification trigger or not
spdrGoToTargetCR();
onView(withId(R.id.btnTask)).perform(click());
mProjectStatus = Utils.getText(withId(R.id.tvProjectStatus));
Assert.assertEquals(mActivity.getString(R.string.strCfmRqt), mProjectStatus);
AutoAction.autoLogout();
}
public void createCustomerUser() {
Log.d(mTag, "createCustomerUser - register mUserCustomer");
mUserCustomer = AutoAction.userLogin(false);
message = "mUserCustomer username : " + mUserCustomer.getUsername();
Log.d(mTag, message);
message = "mUserCustomer password : " + mUserCustomer.getPassword();
Log.d(mTag, message);
}
public void createServiceProviderUser() {
Log.d(mTag, "createServiceProviderUser - register mUserServiceProvider");
mUserServiceProvider = AutoAction.userLogin(false);
message = "mUserServiceProvider username : " + mUserServiceProvider.getUsername();
Log.d(mTag, message);
message = "mUserServiceProvider password : " + mUserServiceProvider.getPassword();
Log.d(mTag, message);
}
public void serviceProviderCreateWork() {
Log.d(mTag, "serviceProviderCreateWork - mUserServiceProvider register service he or she provide");
AutoAction.goToActivity(MainActivity.class, Work.class);
mServiceProvider = AutoAction.autoWork(false, mServiceId);
message = "mUserServiceProvider email : " + mServiceProvider.getEmail();
Log.d(mTag, message);
message = "mUserServiceProvider phone : " + mServiceProvider.getPhone();
Log.d(mTag, message);
message = "mUserServiceProvider service Id: " + mServiceProvider.getServiceId();
Log.d(mTag, message);
AutoAction.autoLogout();
}
private void customerCreateHire() {
Log.d(mTag, "customerCreateHire - mUserCustomer want to hire someone");
AutoAction.autoLogin(mUserCustomer.getUsername(), mUserCustomer.getPassword());
AutoAction.goToActivity(MainActivity.class, Hire.class);
CustomerRequest customerRequest = AutoAction.autoHire(false, mServiceId);
message = "mUserCustomer service Id : " + customerRequest.getServiceId();
Log.d(mTag, message);
message = "mUserCustomer description : " + customerRequest.getDescription();
Log.d(mTag, message);
onData(CustomMatchers.serviceProviderWithEmail(mServiceProvider.getEmail()))
.perform(click());
// onData(allOf(instanceOf(ServiceProvider.class),
// (Matcher<? super Object>) CustomMatchers.serviceProviderWithEmail(mServiceProvider.getEmail())))
// .perform(click());
mCustomerRequestId = Integer.parseInt(Utils.getText(withId(R.id.tvCustomerRequestId)));
AutoAction.autoLogout();
}
private void spdrGoToTargetCR() {
ActivityUtils.fromActivityToActivity(MainActivity.class, CustomerRequestJobList.class, "JobOffer");
onView(Matchers.allOf(withText(R.string.strEnter), hasSibling(withText(mCustomerRequestId + ""))))
.perform(click());
}
private void custGoToTargetCR() {
ActivityUtils.fromActivityToActivity(MainActivity.class, CustomerRequestList.class);
onView(Matchers.allOf(withText(R.string.strEnter), hasSibling(withText(mCustomerRequestId + ""))))
.perform(click());
}
}
| [
"bengsnail2002@yahoo.com"
] | bengsnail2002@yahoo.com |
3780e17bc9e12addeafb8f80138e7286ef42f909 | 300ba8025a69ff2f3d31a999da19f3efde169bb3 | /app/src/main/java/com/bhargav/hcms/TotalHealthTips/Tabs/Hair_Loss/HairlossTab4.java | 36bb8fa38c1f83e921c19f01c66df4bce0132d6f | [] | no_license | bhargav944/HCMS | 849ba41e46949614d0289e2d0aaa3171f46e0339 | 669cf36cf8ebd5414afb923ae2cab48fe4a6204a | refs/heads/master | 2020-09-22T02:59:59.901157 | 2019-11-17T13:27:23 | 2019-11-17T13:27:23 | 157,401,002 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,142 | java | package com.bhargav.hcms.TotalHealthTips.Tabs.Hair_Loss;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.bhargav.hcms.R;
import com.bhargav.hcms.models.TotalHlthModels.ModelOverall;
import com.bhargav.hcms.views.TotalHlthView.OverallView;
import com.firebase.ui.database.FirebaseRecyclerAdapter;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
/**
* Created by Gurramkonda Bhargav on 07-07-2018.
*/
public class HairlossTab4 extends Fragment {
FirebaseAuth firebaseAuth;
RecyclerView mRecyclerView;
FirebaseDatabase mFirebaseDatabase;
DatabaseReference mRef;
private static final String ARG_PARAM1 = "param1";
private static final String ARG_PARAM2 = "param2";
private String mParam1;
private String mParam2;
private OnFragmentInteractionListener mListener;
public HairlossTab4() {
}
public static HairlossTab4 newInstance(String param1, String param2) {
HairlossTab4 fragment = new HairlossTab4();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.hairlossfragment_tab4, container, false);
firebaseAuth = FirebaseAuth.getInstance();
firebaseAuth = FirebaseAuth.getInstance();
mRecyclerView = view.findViewById(R.id.recyclerView);
mRecyclerView.setHasFixedSize(true);
mRecyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));
mFirebaseDatabase = FirebaseDatabase.getInstance();
mRef = mFirebaseDatabase.getReference("Total Health Tips").child("Hair Loss").child("Hair Loss 4");
return view;
}
@Override
public void onStart() {
super.onStart();
FirebaseRecyclerAdapter<ModelOverall, OverallView> firebaseRecyclerAdapter =
new FirebaseRecyclerAdapter<ModelOverall, OverallView>(
ModelOverall.class,
R.layout.healthtips_overall_list,
OverallView.class,
mRef
) {
@Override
protected void populateViewHolder(OverallView overallView, ModelOverall modelOverall, int i) {
overallView.setDetails(getActivity(),modelOverall.getImage(), modelOverall.getTitle(), modelOverall.getDescription());
}
};
mRecyclerView.setAdapter(firebaseRecyclerAdapter);
}
public void onButtonPressed(Uri uri) {
if (mListener != null) {
mListener.onFragmentInteraction(uri);
}
}
@Override
public void onAttach(Context context) {
super.onAttach(context);
if (context instanceof HairlossTab4.OnFragmentInteractionListener) {
mListener = (HairlossTab4.OnFragmentInteractionListener) context;
} else {
throw new RuntimeException(context.toString()
+ " must implement OnFragmentInteractionListener");
}
}
@Override
public void onDetach() {
super.onDetach();
mListener = null;
}
public interface OnFragmentInteractionListener {
void onFragmentInteraction(Uri uri);
}
}
| [
"bhargav.gurramkonda@gmail.com"
] | bhargav.gurramkonda@gmail.com |
f224f2a9686f737d18bd3f632d798ba3124d206f | b3123b382dbeedf3f5d4adc6b963e051c34815d2 | /SM-FX/src/com/saiton/ccs/util/SerialController.java | fd54921e42a8917853345b55fa21f71b1abbc986 | [] | no_license | SaitonSolutions/Scale-Management | 4b5fc119f897f86c995bc2080cf1d3bcde8295f7 | ddadc303105415c933daaae2b6aec355e96b77fb | refs/heads/master | 2020-06-11T04:44:57.447322 | 2020-01-24T01:24:13 | 2020-01-24T01:24:13 | 76,003,951 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 5,107 | java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.saiton.ccs.util;
import com.saiton.ccs.scale.ScaleController;
import com.saiton.ccs.scale.ScaleRegisterController;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.OutputStream;
import gnu.io.CommPortIdentifier;
import gnu.io.SerialPort;
import gnu.io.SerialPortEvent;
import gnu.io.SerialPortEventListener;
import java.io.IOException;
import java.io.InputStream;
import java.util.Enumeration;
public class SerialController implements SerialPortEventListener {
SerialPort serialPort;
/**
* The port we're normally going to use.
*/
// private static final String PORT_NAMES[] = {
// // "/dev/cu.usbserial", // Mac OS X
// "/dev/tty.usbmodem1421", // Mac OS X
// // "/dev/ttyUSB0", // Linux
// // "COM5", // Windows
// };
// String port = "/dev/cu.usbmodem1421";
//private BufferedReader input;
private InputStream input;
// private BufferedReader input;
private OutputStream output;
private static final int TIME_OUT = 2000;
// private static final int DATA_RATE = 1200;
public void initialize(String port, int DATA_RATE) {
CommPortIdentifier portId = null;
Enumeration portEnum = CommPortIdentifier.getPortIdentifiers();
//First, Find an instance of serial port as set in PORT_NAMES.
while (portEnum.hasMoreElements()) {
CommPortIdentifier currPortId = (CommPortIdentifier) portEnum.
nextElement();
// for (String portName : PORT_NAMES) {
if (currPortId.getName().equals(port)) {
System.out.println("Initialized");
portId = currPortId;
break;
}
// }
}
if (portId == null) {
System.out.println("Could not find COM port.");
return;
}
try {
serialPort = (SerialPort) portId.open(this.getClass().getName(),
TIME_OUT);
serialPort.setSerialPortParams(DATA_RATE,
SerialPort.DATABITS_8,
SerialPort.STOPBITS_1,
SerialPort.PARITY_NONE);
// serialPort.setFlowControlMode(SerialPort.FLOWCONTROL_RTSCTS_IN
// | SerialPort.FLOWCONTROL_RTSCTS_OUT);
// serialPort.setRTS(false);
// open the streams
// input = new BufferedReader(new InputStreamReader(serialPort.
// getInputStream()));
input = serialPort.
getInputStream();
output = serialPort.getOutputStream();
serialPort.addEventListener(this);
serialPort.notifyOnDataAvailable(true);
} catch (Exception e) {
System.err.println(e.toString());
}
}
public synchronized void close() {
if (serialPort != null) {
serialPort.removeEventListener();
serialPort.close();
}
}
public synchronized void serialEvent(SerialPortEvent oEvent) {
if (oEvent.getEventType() == SerialPortEvent.DATA_AVAILABLE) {
try {
String inputLine = null;
byte[] readBuffer = new byte[100];
StringBuilder sb = new StringBuilder();
try {
while (input.available() > 0) {
int numBytes = input.read(readBuffer);
}
// ScaleController.currentReading = new String(readBuffer);
System.out.print("CurrentReading Value = "+ScaleController.currentReading);
System.out.print("Original Value = "
+ new String(readBuffer));
ScaleController.currentReading = new String(readBuffer);
} catch (IOException e) {
e.printStackTrace();
}
System.out.println("Reading from serial monitor"
+ ScaleController.currentReading);
close();
} catch (Exception e) {
// System.out.println("Input Issue detected.");
// e.printStackTrace();
}
}
}
//<editor-fold defaultstate="collapsed" desc="Main Method">
//public static void main(String[] args) throws Exception {
// SerialController main = new SerialController();
// main.initialize();
// Thread t=new Thread() {
// public void run() {
// //the following line will keep this app alive for 1000 seconds,
// //waiting for events to occur and responding to them (printing incoming messages to console).
// try {Thread.sleep(1000000);} catch (InterruptedException ie) {}
// }
// };
// t.start();
// System.out.println("Started");
//}
//</editor-fold>
}
| [
"lightway29@gmail.com"
] | lightway29@gmail.com |
7e816fff316d903b4e9c59a272f3fc7bdedad2ae | 027968beee95118f0ce699d17ec331f0d8564980 | /src/test/java/com/tsoyolv/transfermoney/SharedObjectInMultipleThreadsTest.java | 52411544feb09b588a1bfbd7127ffb05ae631c78 | [] | no_license | tsoyolv/transfer-money | 8f42ee1b5bffeb41a94f9d1ac65bb57bdeabb28d | 9bb2e8b20617c0c54a0319ad7480a277f56976f1 | refs/heads/master | 2020-04-28T04:48:53.697684 | 2019-03-27T18:47:26 | 2019-03-27T18:47:26 | 174,995,060 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 1,058 | java | package com.tsoyolv.transfermoney;
import com.tsoyolv.transfermoney.logic.entity.Account;
import org.junit.Test;
import java.math.BigDecimal;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
public class SharedObjectInMultipleThreadsTest {
@Test
public void testMultipleThreads() throws InterruptedException {
ExecutorService executor = Executors.newFixedThreadPool(10);
Account account = new Account(1L, "", new BigDecimal(100));
for (int i = 0; i < 10; i++) {
executor.execute(new Task(account));
}
executor.shutdown();
System.out.println("Shutdown");
executor.awaitTermination(1, TimeUnit.MINUTES);
}
private class Task implements Runnable {
private Account account;
public Task(Account account) {
this.account = account;
}
@Override
public void run() {
System.out.println(System.identityHashCode(account));
}
}
}
| [
"tsoyolv@gmail.com"
] | tsoyolv@gmail.com |
0dd9dc80c29a80ed9820c555a003dfd7b0d9a767 | 952c0bbb0e76668f2d0c1082f23b1767c9d077aa | /src/iterator/IteratorTest.java | fd6c9560124fb1300e57dda3a232b57aa175b6b7 | [] | no_license | statkr/PatternsJava | a3f09160ee88dad6ee5d22ce290cfcb4677f6ba2 | 8364429cbaf9d84ca399a333558eab690a086127 | refs/heads/master | 2020-03-19T14:31:27.581534 | 2018-05-05T13:56:03 | 2018-05-05T13:56:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 652 | java | package iterator;
import command.PrintColumn;
import command.PrintRows;
import factory.SchoolBoy;
import factory.Student;
import org.junit.Test;
import java.io.IOException;
import java.util.Iterator;
public class IteratorTest {
@Test
public void testIterator() throws IOException {
SchoolBoy schoolBoy = new SchoolBoy("Ilya Kurganskiy", 0);
schoolBoy.addSubject("Math", 5);
schoolBoy.addSubject("Prog", 5);
schoolBoy.addSubject("Russian", 4);
Iterator<String> iterator = schoolBoy.iterator();
while (iterator.hasNext()) {
System.out.println(iterator.next());
}
}
}
| [
"zmei95@gmail.com"
] | zmei95@gmail.com |
f709baffaf3625b795a8cc53267a786c1f0f768d | d32133a0fdb94010ac6f8f926d6b42503b4d48fe | /src/com/fesLabs/web/json/mongo/MongoCursorProxy.java | be88f679ed7e10863d6fdf255382d06857a4ba71 | [] | no_license | fes/JSONSerialize | 896c77cb3130181929bc22575457fb2f5a1fcf3e | 7ab90609eefc1b0ba9dd60d4b12e974b03409298 | refs/heads/master | 2021-01-25T05:27:55.981956 | 2010-03-18T03:34:00 | 2010-03-18T03:34:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 930 | java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.fesLabs.web.json.mongo;
import com.fesLabs.web.json.JsonClass;
import com.fesLabs.web.json.JsonSerialize;
import com.mongodb.DBCursor;
import com.mongodb.DBObject;
/**
*
* @author fes
*/
public class MongoCursorProxy {
DBCursor cursor = null;
public MongoCursorProxy(DBCursor cursor) {
this.cursor = cursor;
}
public boolean hasNext() {
return this.cursor.hasNext();
}
public Object next() {
JsonClass jc = nextJson();
if(jc == null) {
return null;
}
return JsonSerialize.deserializeUnknown(jc);
}
public JsonClass nextJson() {
DBObject dbo = this.cursor.next();
if(dbo == null) {
return null;
}
return MongoConvert.DBObjectToJson(dbo);
}
public int count() {
return this.cursor.count();
}
public void skip(int count) {
this.cursor = this.cursor.skip(count);
}
}
| [
"fes@frank-swiderskis-macbook-pro.local"
] | fes@frank-swiderskis-macbook-pro.local |
ad2ca43ffc1eed596e05dd989f23790e11661058 | 2d7477d2153203c41780eda9f35bc5d69ecf80eb | /reactive-client-core/src/main/java/com/reactiveclient/metadata/request/ReactiveRequest.java | 4166572738fcb73564461acfbddc63183af7f3f2 | [
"MIT"
] | permissive | jgsqware/projectAlpha | 9fa358a5105b3bf9c683c7802fe879c54bf43e80 | 69f55910d663aa7cace0d896a2124971451326ed | refs/heads/master | 2021-01-18T22:23:11.330664 | 2017-04-03T08:19:41 | 2017-04-03T08:19:41 | 87,050,147 | 0 | 0 | null | 2017-04-03T07:48:02 | 2017-04-03T07:48:02 | null | UTF-8 | Java | false | false | 1,127 | java | package com.reactiveclient.metadata.request;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.web.util.UriBuilder;
import java.net.URI;
import java.util.List;
import java.util.Map;
import static java.util.Arrays.asList;
@EqualsAndHashCode
@AllArgsConstructor
public class ReactiveRequest {
private UriBuilder uriBuilder;
@Setter
@Getter
private HttpMethod httpMethod;
@Setter
@Getter
private HttpHeaders httpHeaders;
@Setter
@Getter
private Map<String, Object> variables;
@Getter
private Object body;
public URI expand(){
return uriBuilder.build(variables);
}
public List<String> header(String header) {
return httpHeaders.get(header);
}
public void addHeader(String header, String... values) {
addHeader(header, asList(values));
}
public void addHeader(String header, List<String> values) {
httpHeaders.put(header, values);
}
}
| [
"j.brixhe@gmail.com"
] | j.brixhe@gmail.com |
70fb45f91734fb540113689d9efd8ac16c074f61 | 1e952c9d27a07c1df93702ae0d73c50923098a02 | /webdsl.editor/editor/java/webdsl/StartNewEmptyProjectWizardAction.java | 89d66769a70bdad9e63360a32328cab183f7107a | [
"Apache-2.0"
] | permissive | webdsl/webdsl-editor | c3d4e9d75f7fab6373e37fdb8fdf9f3d3d3f85d4 | 44c01d35f8197bc21dbe6a0578b686f2b04e2a84 | refs/heads/master | 2022-04-27T05:59:29.815903 | 2022-03-09T21:40:11 | 2022-03-09T21:40:11 | 37,920,295 | 10 | 2 | null | null | null | null | UTF-8 | Java | false | false | 724 | java | package webdsl;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.ui.IViewActionDelegate;
import org.eclipse.ui.IViewPart;
public class StartNewEmptyProjectWizardAction implements IViewActionDelegate {
ISelection selection;
public void init(IViewPart view) { }
public void run(IAction action) {
WebDSLEditorWizard wizard = new NewEmptyProjectWizard();
WizardDialog dialog = new WizardDialog(null, wizard);
dialog.create();
dialog.open();
}
public void selectionChanged(IAction action, ISelection selection) {
this.selection = selection;
}
}
| [
"dgroenewegen@gmail.com"
] | dgroenewegen@gmail.com |
32f3b3e1342871cc64226211110e9b7dc15dd875 | 26dd4e457ba478db5755ddf1de308180625bbf95 | /Hotel/src/main/java/ru/kpfu/itis/hotel/dto/VkUserDto.java | 6efc915411785ea29df15e3db0018562a1cc0a71 | [] | no_license | ShamilNur/java-programming-4-kfu | 710ca099f8edc2854f4e88718243188d5d05ace2 | 231cab4636564c15318448919ff96ef43a46995d | refs/heads/master | 2023-07-11T13:20:52.720650 | 2021-08-21T13:07:48 | 2021-08-21T13:07:48 | 397,082,270 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 578 | java | package ru.kpfu.itis.hotel.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 20.02.2021
* Hotel
*
* @author Shamil Nurkaev @nshamil
* 11-903
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class VkUserDto {
private Long id;
@JsonProperty("first_name")
private String firstName;
@JsonProperty("last_name")
private String lastName;
}
| [
"nurkaievs@mail.ru"
] | nurkaievs@mail.ru |
44270532e3820a2d014031be22e0f4644fe27c20 | 29dce71d3b25a79eaa4d55665ec46f33f2afe08e | /android/src/com/heyzap/sdk/HeyzapAnalytics.java | 91c85d7e5b3aa97e19ce4c11f7ec96aff3d5eabd | [
"Apache-2.0"
] | permissive | digicrafts/Heyzap-ANE | 850aa1bdeac8afe60aeca967eda2cb0b4cabc6ee | ee5f61f29522c8ef1b96c426a328eec6090bef57 | refs/heads/master | 2020-04-11T03:05:13.411659 | 2013-03-08T03:17:42 | 2013-03-08T03:17:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,436 | java | package com.heyzap.sdk;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLEncoder;
import java.util.concurrent.Executors;
import java.util.concurrent.ExecutorService;
import org.json.JSONObject;
import com.heyzap.http.JsonHttpResponseHandler;
import com.heyzap.http.RequestParams;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.net.Uri;
import android.os.Build;
import android.provider.Settings;
import android.util.Log;
class HeyzapAnalytics {
public static final String LOG_TAG = "HeyzapSDK";
private static final String HEYZAP_ANALYTICS_ID_PREF = "heyzap_button_analytics_id";
private static final String HEYZAP_ENDPOINT = "http://android.heyzap.com/mobile/track_sdk_event";
static final String HEYZAP_SDK_PLATFORM = "android";
static final String HEYZAP_SDK_VERSION = "3.4.17";
private static boolean loaded = false;
private static String trackHash = "";
public static synchronized void trackEvent(final Context context, final String eventType) {
Log.d(LOG_TAG, "Tracking " + eventType + " event.");
// Load the device id and any previous tracking hash
if(!loaded) {
init(context);
loaded = true;
}
RequestParams params = new RequestParams();
params.put("track_hash", trackHash);
params.put("type", eventType);
SDKRestClient.get(context, "/mobile/track_sdk_event", params);
}
public static String getAnalyticsReferrer(Context context) {
return getAnalyticsReferrer(context, null);
}
public static String getAnalyticsReferrer(Context context, String additionalParams) {
String referrerTrackHash = getTrackHash(context);
String referrer;
if(referrerTrackHash != null) {
referrer = "utm_medium=device&utm_source=heyzap_track&utm_campaign=" + referrerTrackHash;
} else {
referrer = "utm_medium=device&utm_source=sdk&utm_campaign=" + context.getPackageName();
}
if (additionalParams != null ) referrer += "&" + additionalParams;
return URLEncoder.encode(referrer);
}
private static void init(final Context context) {
Utils.load(context);
new Thread(new Runnable(){
@Override
public void run(){
// Load up previous tracking hash
String tempTrackHash = getTrackHash(context);
if(tempTrackHash != null) {
trackHash = tempTrackHash;
}
}
}).start();
}
private static void setTrackHash(Context context, String newTrackHash) {
if(newTrackHash != null && !newTrackHash.trim().equals("") && !trackHash.equals(newTrackHash)) {
trackHash = newTrackHash;
SharedPreferences prefs = context.getSharedPreferences(HEYZAP_ANALYTICS_ID_PREF, Context.MODE_PRIVATE);
Editor editor = prefs.edit();
editor.putString(HEYZAP_ANALYTICS_ID_PREF, trackHash);
editor.commit();
}
}
private static String getTrackHash(Context context) {
if(trackHash == null){
final SharedPreferences prefs = context.getSharedPreferences(HEYZAP_ANALYTICS_ID_PREF, Context.MODE_PRIVATE);
if(prefs != null) {
trackHash = prefs.getString(HEYZAP_ANALYTICS_ID_PREF, null);
}
}
if (trackHash != null && trackHash.trim().equals("")) return null;
return trackHash;
}
private static String convertStreamToString(InputStream is) {
BufferedReader reader = new BufferedReader(new InputStreamReader(is));
StringBuilder sb = new StringBuilder();
String line = null;
try {
while ((line = reader.readLine()) != null) {
sb.append(line + "\n");
}
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
is.close();
} catch (IOException e) {
e.printStackTrace();
}
}
return sb.toString();
}
}
| [
"tsangwailam@gmail.com"
] | tsangwailam@gmail.com |
17934f074970a4760fa11e63e372bc161a60cb82 | c173832fd576d45c875063a1a480672fbd59ca04 | /seguridad/tags/apps20120808/apps/LOCALGIS-Workbench/src/main/java/com/geopista/ui/cursortool/MultiClickTool.java | f6a4042146919bd0ef6f89495801acb670da5314 | [] | no_license | jormaral/allocalgis | 1308616b0f3ac8aa68fb0820a7dfa89d5a64d0e6 | bd5b454b9c2e8ee24f70017ae597a32301364a54 | refs/heads/master | 2021-01-16T18:08:36.542315 | 2016-04-12T11:43:18 | 2016-04-12T11:43:18 | 50,914,723 | 0 | 0 | null | 2016-02-02T11:04:27 | 2016-02-02T11:04:27 | null | ISO-8859-2 | Java | false | false | 24,816 | java |
/*
* The Unified Mapping Platform (JUMP) is an extensible, interactive GUI
* for visualizing and manipulating spatial features with geometry and attributes.
*
* Copyright (C) 2003 Vivid Solutions
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* For more information, contact:
*
* Vivid Solutions
* Suite #1A
* 2328 Government Street
* Victoria BC V8T 5G5
* Canada
*
* (250)385-6040
* www.vividsolutions.com
*/
package com.geopista.ui.cursortool;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.Shape;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.awt.geom.GeneralPath;
import java.awt.geom.NoninvertibleTransformException;
import java.awt.geom.Point2D;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.ResourceBundle;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import com.geopista.app.AppContext;
import com.geopista.editor.GeopistaEditor;
import com.geopista.editor.WorkbenchGuiComponent;
import com.vividsolutions.jts.geom.Coordinate;
import com.vividsolutions.jts.geom.GeometryFactory;
import com.vividsolutions.jts.geom.LinearRing;
import com.vividsolutions.jts.geom.Polygon;
import com.vividsolutions.jts.util.Assert;
import com.vividsolutions.jump.I18N;
import com.vividsolutions.jump.workbench.ui.ILayerViewPanel;
import com.vividsolutions.jump.workbench.ui.LayerViewPanel;
/**
* A VisualIndicatorTool that allows the user to draw shapes with multiple
* vertices. Double-clicking ends the gesture.
*/
public abstract class MultiClickTool extends AbstractCursorTool {
//24.iii.03 Dropped drag handling because it's too easy to do a micro-drag when
//we mean a click. [Jon Aquino]
private List coordinates = new ArrayList();
private Coordinate tentativeCoordinate;
private boolean isSelectedRel = false;
private static AppContext appContext = (AppContext) AppContext
.getApplicationContext();
public MultiClickTool() {
Locale loc=Locale.getDefault();
ResourceBundle bundle2 = ResourceBundle.getBundle("com.geopista.ui.cursortool.languages.MultiClickTooli18n",loc,this.getClass().getClassLoader());
I18N.plugInsResourceBundle.put("MultiClickTool",bundle2);
}
/**
* Will return an empty List once the shape is cleared.
* @see MultiClickTool#clearShape
*/
public List getCoordinates() {
return Collections.unmodifiableList(coordinates);
}
public void cancelGesture() {
//It's important to clear the data when #cancelGesture is called.
//Otherwise, you get behaviour like the following:
// -- Combine a DragTool with a MultiClickTool using OrCompositeTool
// -- Drag a box. A box appears. Release the mouse.
// -- Move the mouse. You see a rubber band from MultiClickTool because
// the points haven't been cleared. [Jon Aquino]
//this.deactivate();
super.cancelGesture();
coordinates.clear();
isSelectedRel = ((JCheckBox)getComponentPanel(addPanel, "RelCoord")).isSelected();
removePanel(toolbox,addPanel,initialSize);
getPanel().getContext().setStatusMessage("");
if (getPanel().getContext() instanceof GeopistaEditor){
((GeopistaEditor)getPanel().getContext()).setTimeMessage("");
}
else if (getPanel().getContext() instanceof WorkbenchGuiComponent){
((WorkbenchGuiComponent)getPanel().getContext()).setTimeMessage("");
}
}
public void mouseReleased(MouseEvent e) {
try {
//Para que no se borren los puntos introducidos a través del panel
//al pulsar por primera vez con el ratón
//numberClicks++;
//Can't assert that coordinates is not empty at this point because
//of the following situation: NClickTool, n=1, user double-clicks.
//Two events are generated: clickCount=1 and clickCount=2.
//When #mouseReleased is called with the clickCount=1 event,
//coordinates is not empty. But then #finishGesture is called and the
//coordinates are cleared. When #mouseReleased is then called with
//the clickCount=2 event, coordinates is empty! [Jon Aquino]
//Even though drawing is done in #mouseLocationChanged, call it here
//also so that #isGestureInProgress returns true on a mouse click.
//This is mainly for the benefit of OrCompositeTool, which
//calls #isGestureInProgress. [Jon Aquino]
//Can't do this in #mouseClicked because #finishGesture may be called
//by #mouseReleased (below), which happens before #mouseClicked,
//resulting in an IndexOutOfBoundsException in #redrawShape. [Jon Aquino]
if (e.getClickCount() == 1) {
//A double-click will generate two events: one with click-count = 1 and
//another with click-count = 2. Handle the click-count = 1 event and
//ignore the rest. Otherwise, the following problem can occur:
// -- A click-count = 1 event is generated; #redrawShape is called
// -- #isFinishingClick returns true; #finishGesture is called
// -- #finishGesture clears the points
// -- A click-count = 2 event is generated; #redrawShape is called.
// An IndexOutOfBoundsException is thrown because points is empty.
//[Jon Aquino]
tentativeCoordinate = snap(e.getPoint());
redrawShape();
}
super.mouseReleased(e);
//Check for finish at #mouseReleased rather than #mouseClicked.
//#mouseReleased is a more general condition, as it applies to both
//drags and clicks. [Jon Aquino]
if (isFinishingRelease(e)) {
finishGesture();
}
} catch (Throwable t) {
t.printStackTrace();
getPanel().getContext().handleThrowable(t);
}
}
protected void mouseLocationChanged(Point2D e) {
// Si estamos pintando un polígono o una linea
// Mostramos la longitud y el area del mismo
try {
ArrayList currentCoordinates = new ArrayList(getCoordinates());
currentCoordinates.add(getPanel().getViewport().toModelCoordinate(e));
if (isShapeOnScreen()){
display(currentCoordinates, getPanel());
}
} catch (Throwable t) {
getPanel().getContext().handleThrowable(t);
}
try {
if (coordinates.isEmpty()) {
return;
}
tentativeCoordinate = snap(e);
redrawShape();
} catch (Throwable t) {
getPanel().getContext().handleThrowable(t);
}
}
protected void mouseLocationChanged(MouseEvent e) {
try {
if (coordinates.isEmpty()) {
return;
}
tentativeCoordinate = snap(e.getPoint());
redrawShape();
} catch (Throwable t) {
getPanel().getContext().handleThrowable(t);
}
}
public void mouseMoved(MouseEvent e) {
updatePanelCoords(e.getPoint());
mouseLocationChanged(e.getPoint());
}
public void mouseDragged(MouseEvent e) {
updatePanelCoords(e.getPoint());
mouseLocationChanged(e.getPoint());
}
protected void add(Coordinate c) {
coordinates.add(c);
}
public void mousePressed(MouseEvent e) {
try {
super.mousePressed(e);
Assert.isTrue(e.getClickCount() > 0);
//Don't add more than one point for double-clicks. A double-click will
//generate two events: one with click-count = 1 and another with
//click-count = 2. Handle the click-count = 1 event and ignore the rest.
//[Jon Aquino]
if (e.getClickCount() != 1) {
return;
}
add(snap(e.getPoint()));
//Meessage for panel of coordinates
getPanel().getContext().setStatusMessage(I18N.get("MultiClickTool","ReturnAdd"));
} catch (Throwable t) {
getPanel().getContext().handleThrowable(t);
}
}
protected Shape getShape() throws NoninvertibleTransformException {
GeneralPath path = new GeneralPath();
if(!coordinates.isEmpty()){
Point2D firstPoint = getPanel().getViewport().toViewPoint((Coordinate)coordinates.get(0));
path.moveTo((float) firstPoint.getX(), (float) firstPoint.getY());
for (int i = 1; i < coordinates.size(); i++) { //start 1 [Jon Aquino]
Coordinate nextCoordinate = (Coordinate) coordinates.get(i);
Point2D nextPoint = getPanel().getViewport().toViewPoint(nextCoordinate);
path.lineTo((int) nextPoint.getX(), (int) nextPoint.getY());
}
Point2D tentativePoint = getPanel().getViewport().toViewPoint(tentativeCoordinate);
path.lineTo((int) tentativePoint.getX(), (int) tentativePoint.getY());
}
return path;
}
protected boolean isFinishingRelease(MouseEvent e) {
return e.getClickCount() == 2;
}
protected Coordinate[] toArray(List coordinates) {
return (Coordinate[]) coordinates.toArray(new Coordinate[] { });
}
protected void finishGesture() throws Exception {
clearShape();
try {
fireGestureFinished();
} finally {
coordinates.clear();
}
}
public void activate(ILayerViewPanel layerViewPanel) {
super.activate((LayerViewPanel)layerViewPanel);
toolbox = getPanelToolBox();
GridBagLayout gridBagLayout = new GridBagLayout();
JLabel X = new JLabel("X");
final JTextField textX = new JTextField(10);
textX.setName("X");
addPanel = new JPanel();
addPanel.setLayout(gridBagLayout);
JLabel Y = new JLabel("Y");
final JTextField textY = new JTextField(10);
textY.setName("Y");
JCheckBox relativeCheckBox = new JCheckBox();
relativeCheckBox.setText(I18N.get("MultiClickTool","RelativeCoordinates"));
relativeCheckBox.setName("RelCoord");
relativeCheckBox.setSelected(isSelectedRel);
if(this.getName().compareTo("Draw Point")==0){
relativeCheckBox.setEnabled(false);
}
textX.addKeyListener(new KeyAdapter()
{
public void keyTyped(KeyEvent e)
{
char caracter = e.getKeyChar();
if(((caracter < '0') || (caracter > '9')) &&
(caracter != KeyEvent.VK_BACK_SPACE) && (caracter != ',') && (caracter != '-'))
{
e.consume();
}
}
public void keyPressed(KeyEvent e)
{
int caracter = e.getKeyChar();
if(caracter==KeyEvent.VK_ENTER){
try{
Point2D newPoint = readTextXY(e);
MultiClickTool.this.clickReturn(newPoint);
}catch(Throwable t){
getPanel().getContext().handleThrowable(t);
}
}
if((e.isControlDown())&&(caracter==KeyEvent.VK_ENTER)){
try{
MultiClickTool.this.clickCtrlReturn();
}catch(Throwable t){
getPanel().getContext().handleThrowable(t);
}
}
}
public void keyReleased(KeyEvent e)
{
try{
Point2D newPoint = readTextXY(e);
MultiClickTool.this.mouseLocationChanged(newPoint);
}catch(Throwable t){
getPanel().getContext().handleThrowable(t);
}
}
});
textY.addKeyListener(new KeyAdapter()
{
public void keyTyped(KeyEvent e)
{
char caracter = e.getKeyChar();
if(((caracter < '0') || (caracter > '9')) &&
(caracter != KeyEvent.VK_BACK_SPACE) && (caracter != ',') && (caracter != '-'))
{
e.consume();
}
}
public void keyPressed(KeyEvent e)
{
int caracter = e.getKeyChar();
if(caracter==KeyEvent.VK_ENTER){
try{
Point2D newPoint = readTextXY(e);
MultiClickTool.this.clickReturn(newPoint);
}catch(Throwable t){
getPanel().getContext().handleThrowable(t);
}
}
if((e.isControlDown())&&(caracter==KeyEvent.VK_ENTER)){
try{
MultiClickTool.this.clickCtrlReturn();
}catch(Throwable t){
getPanel().getContext().handleThrowable(t);
}
}
}
public void keyReleased(KeyEvent e)
{
try{
Point2D newPoint = readTextXY(e);
MultiClickTool.this.mouseLocationChanged(newPoint);
}catch(Throwable t){
getPanel().getContext().handleThrowable(t);
}
}
});
addPanel.add(X, new GridBagConstraints(
0,
1,
1,
1,
0.0,
0.0,
GridBagConstraints.CENTER,
GridBagConstraints.HORIZONTAL,
new Insets(2, 2, 2, 2),
0,
0));
addPanel.add(textX, new GridBagConstraints(
1,
1,
1,
1,
0.0,
0.0,
GridBagConstraints.CENTER,
GridBagConstraints.HORIZONTAL,
new Insets(2, 2, 2, 2),
0,
0));
addPanel.add(Y, new GridBagConstraints(
0,
2,
1,
1,
0.0,
0.0,
GridBagConstraints.CENTER,
GridBagConstraints.HORIZONTAL,
new Insets(2, 2, 2, 2),
0,
0));
addPanel.add(textY, new GridBagConstraints(
1,
2,
1,
1,
0.0,
0.0,
GridBagConstraints.CENTER,
GridBagConstraints.HORIZONTAL,
new Insets(2, 2, 2, 2),
0,
0));
addPanel.add(relativeCheckBox, new GridBagConstraints(
0,
3,
2,
2,
0.0,
0.0,
GridBagConstraints.CENTER,
GridBagConstraints.HORIZONTAL,
new Insets(2, 2, 2, 2),
0,
0));
Dimension finalSize = new Dimension();
Dimension initialSizePanel = new Dimension();
initialSizePanel = addPanel.getPreferredSize();
if(initialSize==null){
initialSize = toolbox.getSize();
}
toolbox.getContentPane().add(addPanel,BorderLayout.SOUTH);
finalSize.height = initialSizePanel.height + initialSize.height;
if(initialSizePanel.width > initialSize.width){
finalSize.width = initialSizePanel.width;
}
else{
finalSize.width = initialSize.width;
}
toolbox.setSize(finalSize);
toolbox.repaint();
}
protected void updatePanelCoords(Point2D e) {
try {
//Fix the coordinates in the fileld X and Y
JPanel panel = getAddPanel(toolbox,addPanel);
JTextField textFieldX = (JTextField)getComponentPanel(panel, "X");
JTextField textFieldY = (JTextField)getComponentPanel(panel, "Y");
JCheckBox relCheckBox = (JCheckBox)getComponentPanel(panel, "RelCoord");
if(relCheckBox.isSelected()){
if(!coordinates.isEmpty()){
Coordinate lastCoordinate = (Coordinate) coordinates.get(coordinates.size()-1);
String messageCoordinateX = "" + getPanel().format(getPanel().getViewport().toModelCoordinate(e).x-lastCoordinate.x);
textFieldX.setText(messageCoordinateX);
String messageCoordinateY = "" + getPanel().format(getPanel().getViewport().toModelCoordinate(e).y-lastCoordinate.y);
textFieldY.setText(messageCoordinateY);
//Meessage for panel of coordinates
getPanel().getContext().setStatusMessage(I18N.get("MultiClickTool","ReturnAdd"));
}
else{
//Message needed for relative coordinates
getPanel().getContext().setStatusMessage(I18N.get("MultiClickTool","OnePoint"));
}
}
else{
String messageCoordinateX = "" + getPanel().format(getPanel().getViewport().toModelCoordinate(e).x);
textFieldX.setText(messageCoordinateX);
String messageCoordinateY = "" + getPanel().format(getPanel().getViewport().toModelCoordinate(e).y);
textFieldY.setText(messageCoordinateY);
//Meessage for panel of coordinates
getPanel().getContext().setStatusMessage(I18N.get("MultiClickTool","ReturnAdd"));
}
} catch (Throwable t) {
getPanel().getContext().handleThrowable(t);
}
}
public void clickReturn(Point2D newPoint){
try {
add(snap(newPoint));
getPanel().getContext().setStatusMessage(I18N.get("MultiClickTool","ReturnAdd"));
updatePanelCoords(newPoint);
} catch (Throwable t) {
getPanel().getContext().handleThrowable(t);
}
}
public void clickCtrlReturn() throws Exception{
MultiClickTool.this.finishGesture();
}
public Point2D readTextXY(KeyEvent e) throws NoninvertibleTransformException{
JTextField textX = (JTextField) getComponentPanel(getAddPanel(toolbox,addPanel),"X");
JTextField textY = (JTextField) getComponentPanel(getAddPanel(toolbox,addPanel),"Y");
double X,Y;
if((textX.getText().length()>0)&&(!textX.getText().equals(","))&&(!textX.getText().equals("-"))){
X = Double.parseDouble(textX.getText().replace(',', '.'));
}
else{
X=0;
}
if((textY.getText().length()>0)&&(!textY.getText().equals(","))&&(!textY.getText().equals("-"))){
Y = Double.parseDouble(textY.getText().replace(',', '.'));
}
else{
Y=0;
}
//For the relative coordinates
JPanel panel = getAddPanel(toolbox,addPanel);
JCheckBox relCheckBox = (JCheckBox)getComponentPanel(panel, "RelCoord");
if((relCheckBox.isSelected())&&(!coordinates.isEmpty())){
Coordinate firstCoordinate = (Coordinate) coordinates.get(coordinates.size()-1);
X = X + firstCoordinate.x;
Y = Y + firstCoordinate.y;
}
Coordinate coordinatePoint = new Coordinate(X,Y);
Point2D viewPoint2D = getPanel().getViewport().toViewPoint(coordinatePoint);
return viewPoint2D;
}
//Miguel
// Copiado de GeopistaMeasueTool.java
private void display(List coordinates, LayerViewPanel panel)
throws NoninvertibleTransformException {
display(distance(coordinates), panel,getArea(coordinates));
}
/**
* @param distance
* @param panel
* @param area
*/
private void display(double distance, LayerViewPanel panel, double area) {
String unitName = appContext.getUserPreference("unidad.nombre","",true);
String unitEquivalence = appContext.getUserPreference("unidad.equivalence","",true);
String areaString = null;
DecimalFormat decimalFormat = new DecimalFormat();
decimalFormat.setMaximumFractionDigits(3);
String parseArea = decimalFormat.format(area);
if(unitEquivalence!=null&&!unitEquivalence.equals(""))
{
String parseEquivalence = decimalFormat.format(area/(Double.valueOf(unitEquivalence).doubleValue()));
areaString = parseArea+" m2 ( "+parseEquivalence+" "+unitName+" ) ";
}
else
{
areaString = parseArea +" m2 ";
}
if (getPanel().getContext() instanceof GeopistaEditor){
((GeopistaEditor)getPanel().getContext()).setTimeMessage(I18N.get("GeopistaMeasureTool.Distance") +
" "+panel.format(distance)+" " +I18N.get("GeopistaMeasureTool.Area")+" "+areaString);
}
else if (getPanel().getContext() instanceof WorkbenchGuiComponent){
((WorkbenchGuiComponent)getPanel().getContext()).setTimeMessage(I18N.get("GeopistaMeasureTool.Distance") +
" "+panel.format(distance)+" " +I18N.get("GeopistaMeasureTool.Area")+" "+areaString);
}
}
/**
* @param coordinates
* @return
*/
private double distance(List coordinates) {
double distance = 0;
for (int i = 1; i < coordinates.size(); i++) {
distance += ((Coordinate) coordinates.get(i - 1)).distance((Coordinate) coordinates.get(
i));
}
return distance;
}
/**
* @param sourceCoordinates
* @return
*/
private double getArea(List sourceCoordinates)
{
List coordinates = new ArrayList(sourceCoordinates);
if(coordinates.size()>=3)
{
GeometryFactory factory = new GeometryFactory();
Iterator coordinatesIter = coordinates.iterator();
if(coordinates.get(0)!=coordinates.get(coordinates.size()-1))
{
coordinates.add(coordinates.get(0));
}
Object[] objectArray = coordinates.toArray(new Coordinate[coordinates.size()]);
LinearRing multi = factory.createLinearRing((Coordinate[]) objectArray);
Polygon poligono = factory.createPolygon(multi, null);
return poligono.getArea();
}
else
{
return 0.0;
}
}
}
| [
"jorge.martin@cenatic.es"
] | jorge.martin@cenatic.es |
6105bf2b2753227b480820abd5a7f09bbb870c9a | 71ad704598e9551b80eea5a2ec8afdd8d6abdbea | /config-client/src/test/java/com/szh/configclient/ConfigClientApplicationTests.java | e608b680cd5e863f05aae507252e8bc23e8f798c | [] | no_license | oaHeZgnoS/SpringCloud-Learning | 7b89fb890e7e45cf4ccaf9464598701be61404bc | 54863325c763a2f9832a7b60bd3d6abccc50bf10 | refs/heads/master | 2021-07-18T14:13:17.075763 | 2020-09-09T03:05:43 | 2020-09-09T03:05:43 | 211,804,405 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 343 | java | package com.szh.configclient;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class ConfigClientApplicationTests {
@Test
public void contextLoads() {
}
}
| [
"1434928030@qq.com"
] | 1434928030@qq.com |
a433d2e843b45c54d0aad436bef539d8269734db | 62d5e6ed12c64eebef93826c05317c56fbb42a1d | /app/src/main/java/com/londonsoftware/calisthenics/calisthenics/IntLevel4Week1.java | 5f2b134269b1eba97f29da3b9ae8b689e43a6279 | [] | no_license | aasif1297/PPHProject | db9045dfea1c9e2406d98e72f189f078aa479af4 | bfbfbde3a48f65f971885c0a2398b91d8be259b4 | refs/heads/master | 2020-05-09T14:46:21.795511 | 2019-04-13T20:10:42 | 2019-04-13T20:10:42 | 181,204,532 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 19,439 | java | package com.londonsoftware.calisthenics.calisthenics;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.ImageButton;
import android.widget.RatingBar;
public class IntLevel4Week1 extends Fragment implements CompoundButton.OnCheckedChangeListener, RatingBar.OnRatingBarChangeListener{
private static final String TAG = "INT1_Level4_Week1";
private static final String SHARED_PREFS101= "sharedPrefs101";
private CheckBox complete_workout_monday71;
private CheckBox complete_workout_tuesday71;
private CheckBox complete_workout_thursday71;
private CheckBox complete_workout_friday71;
private CheckBox complete_workout_saturday71;
RatingBar ratingBar;
SharedPreferences sharedPreferences_rating;
SharedPreferences.Editor editor_rating;
private static final String CHECKBOX_MONDAY71 = "checkboxMonday71";
private static final String CHECKBOX_TUESDAY71 = "checkboxTuesday71";
private static final String CHECKBOX_THURSDAY71 = "checkboxThursday71";
private static final String CHECKBOX_FRIDAY71 = "checkboxFriday71";
private static final String CHECKBOX_SATURDAY71 = "checkboxSaturday71";
private boolean checkboxSaveMonday71;
private boolean checkboxSaveTuesday71;
private boolean checkboxSaveThursday71;
private boolean checkboxSaveFriday71;
private boolean checkboxSaveSaturday71;
@Nullable
@Override
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.int_level4_week1,container,false);
complete_workout_monday71 = (CheckBox) view.findViewById(R.id.checkBox_int4wk1_monday);
complete_workout_tuesday71 = (CheckBox) view.findViewById(R.id.checkBox_int4wk1Tuesday);
complete_workout_thursday71 = (CheckBox) view.findViewById(R.id.checkBox_int4wk1_thursday);
complete_workout_friday71 = (CheckBox) view.findViewById(R.id.checkBox_int4wk1friday);
complete_workout_saturday71 = (CheckBox) view.findViewById(R.id.checkBox_int4wk1_saturday);
ratingBar = (RatingBar) view.findViewById(R.id.ratingBar_i4w1);
ratingBar.setOnRatingBarChangeListener(this);
sharedPreferences_rating = getActivity().getSharedPreferences("something101", Context.MODE_PRIVATE);
float rating = sharedPreferences_rating.getFloat("float101", 0f);
ratingBar.setRating(rating);
ratingBar.setStepSize(1f);
ImageButton mon_ringmuscleup = view.findViewById(R.id.mon_ringmuscleup);
ImageButton mon_muscleup2 = view.findViewById(R.id.mon_muscleup2);
ImageButton mon_muscleup3 = view.findViewById(R.id.mon_muscleup3);
ImageButton mon_sbd = view.findViewById(R.id.mon_sbd);
ImageButton mon_pulls = view.findViewById(R.id.mon_pulls);
ImageButton mon_isometric = view.findViewById(R.id.mon_isometric);
ImageButton mon_pushups = view.findViewById(R.id.mon_pushups);
ImageButton tues_weightedsquats = view.findViewById(R.id.tues_weightedsquats);
ImageButton tues_weightedsquats2 = view.findViewById(R.id.tues_weightedsquats2);
ImageButton tues_bulgarian = view.findViewById(R.id.tues_bulgarian);
ImageButton tues_wallsit = view.findViewById(R.id.tues_wallsit);
ImageButton tues_onecalfraise = view.findViewById(R.id.tues_onecalfraise);
ImageButton tues_bandedmuscleups = view.findViewById(R.id.tues_bandedmuscleups);
ImageButton wed_foamrolling = view.findViewById(R.id.foamicon);
ImageButton thurs_muscleups = view.findViewById(R.id.thurs_muscleups);
ImageButton thurs_ringmuscleups = view.findViewById(R.id.thurs_ringmuscleups);
ImageButton thurs_ringmuscleups2 = view.findViewById(R.id.thurs_ringmuscleups2);
ImageButton thurs_muscleups2 = view.findViewById(R.id.thurs_muscleups2);
ImageButton thurs_ringpulls = view.findViewById(R.id.thurs_ringpulls);
ImageButton thurs_ringdips = view.findViewById(R.id.thurs_ringdips);
ImageButton thurs_ringmuscleups3 = view.findViewById(R.id.thurs_ringmuscleups3);
ImageButton thurs_muscleups3 = view.findViewById(R.id.thurs_muscleups3);
ImageButton thurs_sbd = view.findViewById(R.id.thurs_sbd);
ImageButton thurs_pulls = view.findViewById(R.id.thurs_pulls);
ImageButton thurs_ringpushups = view.findViewById(R.id.thurs_ringpushups);
ImageButton fri_backextensions = view.findViewById(R.id.fri_backextensions);
ImageButton fri_dragonflags = view.findViewById(R.id.fri_dragonflags);
ImageButton fri_leverraises = view.findViewById(R.id.fri_leverraises);
ImageButton fri_windshield = view.findViewById(R.id.fri_windshield);
ImageButton fri_romantwists = view.findViewById(R.id.fri_romantwists);
ImageButton sat_frontsquats = view.findViewById(R.id.sat_frontsquats);
ImageButton sat_muscleups = view.findViewById(R.id.sat_muscleups);
ImageButton sat_ringmuscleups = view.findViewById(R.id.sat_ringmuscleups);
ImageButton sat_pulls = view.findViewById(R.id.sat_pulls);
ImageButton sat_dips = view.findViewById(R.id.sat_dips);
ImageButton sat_pushups = view.findViewById(R.id.sat_pushups);
ImageButton sun_foamrolling = view.findViewById(R.id.foamicon2);
mon_isometric.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Isometrics.class);
startActivity(intent);
}
});
mon_muscleup2.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Normal_Muscleups.class);
startActivity(intent);
}
});
mon_muscleup3.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Normal_Muscleups.class);
startActivity(intent);
}
});
mon_pulls.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Normal_Pullup.class);
startActivity(intent);
}
});
mon_pushups.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_PushUp.class);
startActivity(intent);
}
});
mon_ringmuscleup.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Ring_Muscleup.class);
startActivity(intent);
}
});
mon_sbd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_SB_Dips.class);
startActivity(intent);
}
});
tues_bandedmuscleups.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Banded_Muscleup.class);
startActivity(intent);
}
});
tues_bulgarian.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Bulgarian.class);
startActivity(intent);
}
});
tues_onecalfraise.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Oneleg_CalfRaises.class);
startActivity(intent);
}
});
tues_wallsit.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Wallsit.class);
startActivity(intent);
}
});
tues_weightedsquats.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Weighted_Squats.class);
startActivity(intent);
}
});
tues_weightedsquats2.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Weighted_Squats.class);
startActivity(intent);
}
});
wed_foamrolling.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Foamroll.class);
startActivity(intent);
}
});
thurs_muscleups.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Normal_Muscleups.class);
startActivity(intent);
}
});
thurs_muscleups2.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Normal_Muscleups.class);
startActivity(intent);
}
});
thurs_muscleups3.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Normal_Muscleups.class);
startActivity(intent);
}
});
thurs_pulls.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Normal_Pullup.class);
startActivity(intent);
}
});
thurs_ringdips.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Ring_Dips.class);
startActivity(intent);
}
});
thurs_ringmuscleups.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Ring_Muscleup.class);
startActivity(intent);
}
});
thurs_ringmuscleups2.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Ring_Muscleup.class);
startActivity(intent);
}
});
thurs_ringmuscleups3.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Ring_Muscleup.class);
startActivity(intent);
}
});
thurs_ringpulls.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Ringpulls.class);
startActivity(intent);
}
});
thurs_ringpushups.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Ringpushups.class);
startActivity(intent);
}
});
thurs_sbd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_SB_Dips.class);
startActivity(intent);
}
});
fri_backextensions.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_BackExtensions.class);
startActivity(intent);
}
});
fri_dragonflags.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Dragonflags.class);
startActivity(intent);
}
});
fri_leverraises.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Kneetuck_Raises.class);
startActivity(intent);
}
});
fri_romantwists.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Romantwists.class);
startActivity(intent);
}
});
fri_windshield.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Windshield_Wipers.class);
startActivity(intent);
}
});
sat_dips.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Dips.class);
startActivity(intent);
}
});
sat_frontsquats.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_FrontSquats.class);
startActivity(intent);
}
});
sat_muscleups.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Normal_Muscleups.class);
startActivity(intent);
}
});
sat_pulls.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Normal_Pullup.class);
startActivity(intent);
}
});
sat_pushups.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_PushUp.class);
startActivity(intent);
}
});
sat_ringmuscleups.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Ring_Muscleup.class);
startActivity(intent);
}
});
sun_foamrolling.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getActivity(), Youtube_Foamroll.class);
startActivity(intent);
}
});
complete_workout_monday71.setOnCheckedChangeListener(this);
complete_workout_tuesday71.setOnCheckedChangeListener(this);
complete_workout_thursday71.setOnCheckedChangeListener(this);
complete_workout_friday71.setOnCheckedChangeListener(this);
complete_workout_saturday71.setOnCheckedChangeListener(this);
loadData();
updateViews();
return view;
}
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
saveData();
switch (buttonView.getId()) {
case R.id.checkBox_int4wk1_monday:
break;
case R.id.checkBox_int4wk1Tuesday:
break;
case R.id.checkBox_int4wk1_thursday:
break;
case R.id.checkBox_int4wk1friday:
break;
case R.id.checkBox_int4wk1_saturday:
break;
}
}
public void saveData(){
SharedPreferences sharedPreferences = getActivity().getSharedPreferences(SHARED_PREFS101, Context.MODE_PRIVATE);
SharedPreferences.Editor editor = sharedPreferences.edit();
editor.putBoolean(CHECKBOX_MONDAY71, complete_workout_monday71.isChecked());
editor.putBoolean(CHECKBOX_TUESDAY71, complete_workout_tuesday71.isChecked());
editor.putBoolean(CHECKBOX_THURSDAY71, complete_workout_thursday71.isChecked());
editor.putBoolean(CHECKBOX_FRIDAY71, complete_workout_friday71.isChecked());
editor.putBoolean(CHECKBOX_SATURDAY71, complete_workout_saturday71.isChecked());
editor.apply();
}
public void loadData(){
SharedPreferences sharedPreferences = getActivity().getSharedPreferences(SHARED_PREFS101, Context.MODE_PRIVATE);
checkboxSaveMonday71 = sharedPreferences.getBoolean(CHECKBOX_MONDAY71, false);
checkboxSaveTuesday71 = sharedPreferences.getBoolean(CHECKBOX_TUESDAY71, false);
checkboxSaveThursday71 = sharedPreferences.getBoolean(CHECKBOX_THURSDAY71, false);
checkboxSaveFriday71 = sharedPreferences.getBoolean(CHECKBOX_FRIDAY71, false);
checkboxSaveSaturday71 = sharedPreferences.getBoolean(CHECKBOX_SATURDAY71, false);
}
public void updateViews() {
complete_workout_monday71.setChecked(checkboxSaveMonday71);
complete_workout_tuesday71.setChecked(checkboxSaveTuesday71);
complete_workout_thursday71.setChecked(checkboxSaveThursday71);
complete_workout_friday71.setChecked(checkboxSaveFriday71);
complete_workout_saturday71.setChecked(checkboxSaveSaturday71);
}
@Override
public void onRatingChanged(RatingBar ratingBar, float rating, boolean fromUser) {
final int numStars = ratingBar.getNumStars();
editor_rating = sharedPreferences_rating.edit();
editor_rating.putFloat("float101", rating);
editor_rating.putInt("numStars101", numStars);
editor_rating.apply();
}
}
| [
"aasif1297@gmail.com"
] | aasif1297@gmail.com |
680264ba4700c9048b1e1223724bf11545346e08 | 11dab87301876d8bf2d00fc86490fade7c3c9086 | /src/org/ramadda/plugins/gtfs/GtfsTripTypeHandler.java | 56cf397787e1aded729c966ec1b1598c0cef9b76 | [
"Apache-2.0"
] | permissive | geodesystems/ramadda | c9af6f72fc2645f5ff76b5470edbfd7e41f2a4f7 | 9c279e310efda34258ea3477355c845c19097d66 | refs/heads/master | 2023-08-16T15:42:29.367654 | 2023-08-16T14:14:53 | 2023-08-16T14:14:53 | 39,629,064 | 16 | 5 | Apache-2.0 | 2018-12-27T00:43:14 | 2015-07-24T11:26:13 | Java | UTF-8 | Java | false | false | 16,276 | java | /**
Copyright (c) 2008-2023 Geode Systems LLC
SPDX-License-Identifier: Apache-2.0
*/
package org.ramadda.plugins.gtfs;
import org.ramadda.repository.*;
import org.ramadda.repository.map.*;
import org.ramadda.repository.metadata.*;
import org.ramadda.repository.type.*;
import org.ramadda.util.HtmlUtils;
import org.ramadda.util.JQuery;
import org.ramadda.util.Utils;
import org.ramadda.util.WikiUtil;
import org.w3c.dom.*;
import ucar.unidata.util.IOUtil;
import ucar.unidata.util.Misc;
import ucar.unidata.util.StringUtil;
import ucar.unidata.xml.XmlUtil;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Hashtable;
import java.util.List;
import java.util.TimeZone;
/**
*
*
*/
public class GtfsTripTypeHandler extends GenericTypeHandler {
/** _more_ */
public static final String TYPE_TRIP = "type_gtfs_trip";
/** _more_ */
private static int IDX = 0;
/** _more_ */
public static final int IDX_TRIP_ID = IDX++;
/** _more_ */
public static final int IDX_DIRECTION = IDX++;
/** _more_ */
public static final int IDX_HEADSIGN = IDX++;
/** _more_ */
public static final int IDX_STARTTIME = IDX++;
/** _more_ */
public static final int IDX_ENDTIME = IDX++;
/** _more_ */
public static final int IDX_SERVICE_ID = IDX++;
/** _more_ */
public static final int IDX_SERVICE_NAME = IDX++;
/** _more_ */
public static final int IDX_WEEK = IDX++;
/** _more_ */
public static final int IDX_STOPS = IDX++;
/** _more_ */
public static final int IDX_STOP_IDS = IDX++;
/** _more_ */
public static final int IDX_BLOCK_ID = IDX++;
/** _more_ */
public static final int IDX_WHEELCHAIR_ACCESSIBLE = IDX++;
/** _more_ */
public static final int IDX_BIKES_ALLOWED = IDX++;
/** _more_ */
public static final int IDX_POINTS = IDX++;
/** _more_ */
public static final int IDX_AGENCY_ID = IDX++;
/** _more_ */
public static final int IDX_FIRST_STOP = IDX++;
/** _more_ */
public static final int IDX_LAST_STOP = IDX++;
/**
* _more_
*
* @param repository _more_
* @param entryNode _more_
*
* @throws Exception _more_
*/
public GtfsTripTypeHandler(Repository repository, Element entryNode)
throws Exception {
super(repository, entryNode);
}
/**
* _more_
*
* @param wikiUtil _more_
* @param request _more_
* @param originalEntry _more_
* @param entry _more_
* @param tag _more_
* @param props _more_
*
* @return _more_
*
* @throws Exception _more_
*/
@Override
public String getWikiInclude(WikiUtil wikiUtil, Request request,
Entry originalEntry, Entry entry,
String tag, Hashtable props)
throws Exception {
if (tag.equals("gtfs.trip.title")) {
StringBuilder sb = new StringBuilder();
sb.append(HtmlUtils.cssLink(getRepository().getUrlBase()
+ "/gtfs/gtfs.css"));
Entry route = entry.getAncestor("type_gtfs_route");
if (route != null) {
HtmlUtils.div(sb, Gtfs.getRouteTitle(request, route, true),
HtmlUtils.cssClass("ramadda-page-title"));
}
String headsign =
(String) entry.getStringValue(GtfsTripTypeHandler.IDX_HEADSIGN,
(String) null);
String sked = Gtfs.getWeekString(
(boolean[]) getRepository().decodeObject(
entry.getStringValue(IDX_WEEK, "")));
if ( !Utils.stringDefined(sked)) {
sked = "No scheduled days";
}
String label = (Utils.stringDefined(headsign)
? "To " + headsign + " - "
: "") + sked + " - " + Gtfs.getTimeRange(entry);
HtmlUtils.div(
sb, getPageHandler().getEntryHref(request, entry, label),
HtmlUtils.cssClass("ramadda-page-heading"));
return sb.toString();
}
if (tag.equals("gtfs.trip.info")) {
StringBuilder sb = new StringBuilder();
sb.append(HtmlUtils.formTable());
Entry route = entry.getAncestor("type_gtfs_route");
if (route != null) {
((GtfsRouteTypeHandler) route.getTypeHandler()).addRouteInfo(
request, route, sb);
}
sb.append(HtmlUtils.formEntry(msgLabel("Direction"),
getFieldHtml(request, entry,props,
"direction", true)));
sb.append(HtmlUtils.formEntry(msgLabel("Wheelchair accessible"),
getFieldHtml(request, entry,props,
"wheelchair_accessible",
true)));
sb.append(HtmlUtils.formEntry(msgLabel("Bikes allowed"),
getFieldHtml(request, entry,props,
"bikes_allowed", true)));
sb.append(HtmlUtils.formTableClose());
return sb.toString();
}
if (tag.equals("gtfs.trip.schedule")) {
StringBuilder sb = new StringBuilder();
String suffix = "";
if (entry.hasDate()) {
Date now = new Date();
String dttm = getDateHandler().formatYYYYMMDD(
new Date(entry.getStartDate())) + " - "
+ getDateHandler().formatYYYYMMDD(
new Date(entry.getEndDate()));
if ((now.getTime() < entry.getStartDate())
|| (now.getTime() > entry.getEndDate())) {
sb.append(
HtmlUtils.note(
HtmlUtils.b(
"Out of service. Only valid between: "
+ dttm)));
} else {
suffix = " (" + msg("effective") + " " + dttm + ")";
}
}
sb.append("\n:heading Schedule" + suffix + "\n");
showSchedule(request, sb, entry);
return sb.toString();
}
if (tag.equals("gtfs.trip.list")) {
Entry agency =
entry.getAncestor(GtfsAgencyTypeHandler.TYPE_AGENCY);
List<Entry> vehicles = Gtfs.getVehiclesForTrip(request, agency,
entry);
Hashtable<String, Entry> vehicleMap = new Hashtable<String,
Entry>();
for (Entry vehicle : vehicles) {
vehicleMap.put(
(String) vehicle.getStringValue(
GtfsVehicleTypeHandler.IDX_STOP_ID, ""), vehicle);
}
StringBuilder tmp = new StringBuilder();
List<Gtfs.StopTime> stops = Gtfs.getStopsForTrip(request, entry,
null);
StringBuilder sb = new StringBuilder();
sb.append(HtmlUtils.cssLink(getRepository().getUrlBase()
+ "/gtfs/gtfs.css"));
if ((stops != null) && (stops.size() > 0)) {
sb.append(
"<div style=\"max-height:400px; overflow-y:auto; border-bottom: 1px #cccccc solid; border-top: 1px #cccccc solid;\" >");
sb.append(
"<table id=\"gtfs-stops-list-" + entry.getId()
+ "\" class=\"gtfs-table gtfs-stops-list\" width=\"100%\">\n");
sb.append("<tr>");
sb.append(HtmlUtils.col("Stop",
HtmlUtils.cssClass("gtfs-header")));
sb.append(HtmlUtils.col("Arrival",
HtmlUtils.cssClass("gtfs-header")));
sb.append(HtmlUtils.col("Departure",
HtmlUtils.cssClass("gtfs-header")));
sb.append(HtmlUtils.col(" ",
HtmlUtils.cssClass("gtfs-header")));
sb.append("</tr>");
Entry myRoute = entry.getParentEntry();
for (Gtfs.StopTime stopTime : stops) {
String stopId = (String) stopTime.entry.getStringValue(
GtfsStopTypeHandler.IDX_STOP_ID, "");
Entry vehicle = vehicleMap.get(stopId);
String lbl =
HtmlUtils.href(
request.entryUrl(
getRepository().URL_ENTRY_SHOW,
stopTime.entry), stopTime.entry.getLabel());
if (vehicle != null) {
lbl = getPageHandler()
.getEntryHref(request, vehicle, HtmlUtils
.img(vehicle.getTypeHandler()
.getTypeIconUrl()) + " "
+ vehicle.getName() + " "
+ vehicle
.getStringValue(GtfsVehicleTypeHandler
.IDX_STATUS, "")) + "<br>"
+ lbl;
}
String arrival = Gtfs.formatTime(stopTime.startTime);
String departure = Gtfs.formatTime(stopTime.endTime);
List<Entry> routes = Gtfs.getRoutesForStop(request,
stopTime.entry);
// StringBuilder routesSB = new StringBuilder("<div style=\"max-width:100%;overflow-x:auto;\"><table cellspacing=0 cellpadding=0><tr style=\"border-bottom:0px;\">");
StringBuilder routesSB = new StringBuilder("");
for (Entry route : routes) {
if (route.getId().equals(myRoute.getId())) {
continue;
}
// routesSB.append("<td style=\"padding:0px;\" >");
routesSB.append(Gtfs.getRouteTitle(request, route,
true, false));
// routesSB.append("</td>");
}
// routesSB.append("</tr></table></div>");
sb.append(HtmlUtils
.row(HtmlUtils
.cols(lbl, arrival, departure, routesSB
.toString()), " valign=top "
+ HtmlUtils
.attr("data-mapid", stopTime.entry
.getId()) + HtmlUtils
.attr("data-latitude", ""
+ stopTime.entry
.getLatitude()) + HtmlUtils
.attr("data-longitude", ""
+ stopTime
.entry.getLongitude())));
}
sb.append("</table>");
sb.append("</div>");
String js = "gtfsTripMap.highlightMarkers('#gtfs-stops-list-"
+ entry.getId()
+ " tr', null, null, '"
+ entry.getId() + "');";
sb.append(HtmlUtils.script(JQuery.ready(js)));
}
return sb.toString();
}
return super.getWikiInclude(wikiUtil, request, originalEntry, entry,
tag, props);
}
/**
* _more_
*
* @param request _more_
* @param sb _more_
* @param entry _more_
*
* @throws Exception On badness
*/
public void showSchedule(Request request, Appendable sb, Entry entry)
throws Exception {
boolean[] week =
(boolean[]) getRepository().decodeObject(entry.getStringValue(IDX_WEEK,
""));
sb.append(
"<table class=\"gtfs-table gtfs-schedule\" width=\"100%\">\n");
sb.append("<tr>");
for (int i = 0; i < 7; i++) {
sb.append(HtmlUtils.td(Gtfs.DAYS_MEDIUM[i],
HtmlUtils.cssClass("gtfs-header")));
}
sb.append("</tr>\n");
sb.append("<tr>");
for (int i = 0; i < 7; i++) {
boolean on = ((week != null)
? week[i]
: false);
sb.append(HtmlUtils.td(on
? "ON"
: " ", HtmlUtils.cssClass(on
? "gtfs-day gtfs-day-on"
: "gtfs-day gtfs-day-off")));
}
sb.append("</tr>\n");
sb.append("</table>\n");
}
/**
* _more_
*
* @param entry _more_
*
* @return _more_
*/
@Override
public String getEntryName(Entry entry) {
return entry.getName();
}
/**
* _more_
*
* @param entry _more_
* @param mapInfo _more_
* @param sb _more_
*/
@Override
public void initMapAttrs(Entry entry, MapInfo mapInfo, StringBuilder sb) {
super.initMapAttrs(entry, mapInfo, sb);
Entry route = entry.getAncestor("type_gtfs_route");
String color =
getColor(route.getStringValue(GtfsRouteTypeHandler.IDX_COLOR,
"#ff0000"));
sb.append("'strokeColor':'" + color + "','strokeWidth':4");
}
/**
* _more_
*
* @param c _more_
*
* @return _more_
*/
public String getColor(String c) {
if (c.startsWith("#")) {
return c;
}
return "#" + c;
}
/**
*
* @param request _more_
* @param entry _more_
* @param map _more_
*
* @return _more_
*
* @throws Exception _more_
*/
@Override
public boolean addToMap(Request request, Entry entry, MapInfo map)
throws Exception {
super.addToMap(request, entry, map);
//Note: This is a cut-and-paste from GtfsRouteTypeHandler
String s = entry.getStringValue(IDX_POINTS, "");
if (Utils.stringDefined(s)) {
s = Utils.uncompress(s);
List<double[]> points = new ArrayList<double[]>();
Utils.parsePointString(s, points);
map.addLines(entry, entry.getId() + "_polygon", points, null);
}
List<Gtfs.StopTime> stops = Gtfs.getStopsForTrip(request, entry,
null);
if (stops != null) {
for (Gtfs.StopTime stopTime : stops) {
map.addMarker(request, stopTime.entry);
}
}
Entry route = entry.getAncestor("type_gtfs_route");
Entry agency = entry.getAncestor(GtfsAgencyTypeHandler.TYPE_AGENCY);
List<Entry> vehicles = Gtfs.getVehiclesForTrip(request, agency,
entry);
Gtfs.addToMap(request, vehicles, map);
return false;
}
/**
* _more_
*
* @param request _more_
* @param trips _more_
* @param onlyToday _more_
* @param onlyFuture _more_
*
* @return _more_
*
* @throws Exception _more_
*/
}
| [
"jeff.mcwhirter@gmail.com"
] | jeff.mcwhirter@gmail.com |
7c80a106b8a14e39051bbc7e92e219725b1fd985 | 200298272d1329fbee846623998795fe741f5e94 | /app/src/main/java/com/coolweather/android/util/Utility.java | e2b7934f8f584ae5fa9eaeead614859613554df2 | [
"Apache-2.0"
] | permissive | lvxing0529/coolweather | 4c3891a789c3dcb1d58e566591aa4d75af1fb26c | 1dd927f05658ec0463d5ae96b808f32fe755a751 | refs/heads/master | 2021-07-20T04:46:02.741589 | 2017-10-31T06:14:09 | 2017-10-31T06:14:09 | 104,171,066 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,498 | java | package com.coolweather.android.util;
import android.text.TextUtils;
import com.coolweather.android.db.City;
import com.coolweather.android.db.County;
import com.coolweather.android.db.Province;
import com.coolweather.android.gson.Weather;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
/**
* Created by lvxing on 2017/9/22.
*/
public class Utility {
/*
* 解析和处理服务器返回的省级数据
*/
public static boolean handleProvinceResponse(String resonse){
if (!TextUtils.isEmpty(resonse)){
try {
JSONArray allProvinces=new JSONArray(resonse);
for (int i=0;i<allProvinces.length();i++) {
JSONObject provinceObject = allProvinces.getJSONObject(i);
Province province = new Province();
province.setProvinceName(provinceObject.getString("name"));
province.setProvinceCode(provinceObject.getInt("id"));
province.save();
}
return true;
}catch (JSONException e){
e.printStackTrace();
}
}
return false;
}
/*
* 解析和处理服务器返回的市级数据*/
public static boolean handleCityResponse(String response,int provinceId){
if (!TextUtils.isEmpty(response)){
try {
JSONArray allCities=new JSONArray(response);
for (int i=0;i<allCities.length();i++) {
JSONObject cityObject = allCities.getJSONObject(i);
City city = new City();
city.setCityName(cityObject.getString("name"));
city.setCityCode(cityObject.getInt("id"));
city.setProvinceId(provinceId);
city.save();
}
return true;
}catch (JSONException e){
e.printStackTrace();
}
}
return false;
}
/*
* 解析和处理服务器返回的其他数据*/
public static boolean handleCountyResponse(String response,int cityId){
if (!TextUtils.isEmpty(response)){
try {
JSONArray allCounties=new JSONArray(response);
for (int i=0;i<allCounties.length();i++) {
JSONObject countyObject = allCounties.getJSONObject(i);
County county = new County();
county.setCountyName(countyObject.getString("name"));
county.setWeatherId(countyObject.getString("weather_id"));
county.setCityId(cityId);
county.save();
}
return true;
}catch (JSONException e){
e.printStackTrace();
}
}
return false;
}
/*
* 将返回的JSON数据解析成Weather实体类*/
public static Weather handleWeatherResponse(String response){
try {
JSONObject jsonObject=new JSONObject(response);
JSONArray jsonArray=jsonObject.getJSONArray("HeWeather");
String weatherContent=jsonArray.getJSONObject(0).toString();
return new Gson().fromJson(weatherContent,Weather.class);
}catch (Exception e){
e.printStackTrace();
}
return null;
}
}
| [
"1322678544@qq.com"
] | 1322678544@qq.com |
ac2454cd32aa89cd3fe217be54bfe0f1fd77cc32 | f9d449f15588d8514afb4b80f011a33f93534e13 | /Assignment2/assignment2/src/main/java/controllers/QuitController.java | f3bcd5ec4709c7d1e2326723e8c97274b9a38984 | [] | no_license | SebastianUrda/Assignments | 7bd769a7a6d5dd6c63a0e2fba5610c01a603d177 | ecd0cce85022faca1802a12dd1c015a1f1315da2 | refs/heads/master | 2020-03-07T20:54:48.251338 | 2018-04-28T09:30:42 | 2018-04-28T09:30:42 | 127,710,942 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 517 | java | package controllers;
import org.hibernate.SessionFactory;
import javafx.stage.Stage;
import Hibernate.HibernateUtil;
import views.Ask;
public class QuitController {
public static void closeProgram(Stage window){
boolean answer = Ask.display("Confirmation", "Are you sure you want to quit?");
if(answer) {
SessionFactory sessionFactory = HibernateUtil.getSessionFactory();
sessionFactory.close();
window.close();
}
}
public static void closeWindow(Stage window){
window.close();
}
}
| [
"george.georg12@gmail.com"
] | george.georg12@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.