blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 7
332
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
50
| license_type
stringclasses 2
values | repo_name
stringlengths 7
115
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 557
values | visit_date
timestamp[us] | revision_date
timestamp[us] | committer_date
timestamp[us] | github_id
int64 5.85k
684M
โ | star_events_count
int64 0
77.7k
| fork_events_count
int64 0
48k
| gha_license_id
stringclasses 17
values | gha_event_created_at
timestamp[us] | gha_created_at
timestamp[us] | gha_language
stringclasses 82
values | src_encoding
stringclasses 28
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 2
classes | length_bytes
int64 7
5.41M
| extension
stringclasses 11
values | content
stringlengths 7
5.41M
| authors
listlengths 1
1
| author
stringlengths 0
161
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
268e72de729f9e6d7fa8fa55541f9c3728c24603 | 85a50cdcdf26b7955fdb2f7c69528fc8ac0f19ee | /Tax/src/main/java/org/tax/constant/JSONConst.java | 05ca882169faf1f54a653f8946721a3b905154d9 | []
| no_license | sduwyhong/Tax | 63f0c9c858e20f9a3ad6b9b8f1a7fa6893252d8f | 285e9b75d5a34a902dcec685b39081cba3d142fb | refs/heads/master | 2020-03-22T12:53:54.562562 | 2018-07-26T01:03:05 | 2018-07-26T01:03:05 | 140,069,453 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 643 | java | package org.tax.constant;
public interface JSONConst {
public static final String MESSAGE = "message";
public static final String FILENAME = "fileName";
public static final String SUCCESS = "success";
public static final String FAILURE = "failed";
public static final String INCORRECT_CODE = "incorrect validate code";
public static final String INCORRECT_LOGININFO = "incorrect login information";
public static final String PERMISSION_DENIED = "permission denied";
public static final String PERMISSION_ALLOWED = "permission allowed";
public static final String REPOSITORY_NOT_ENOUGH = "repository not enough";
}
| [
"[email protected]"
]
| |
4db466cfb79b794e96dc58c9082d8abd82cc5db6 | b8b5bd124c39ac4e31d98efc6b345c8ca7c30bbd | /03 BACKEND/fasesoft-ejb/src/main/java/com/fasesoft/modelo/enums/FuncionAgrupamientoJPQL.java | 57339cacc05520ce2d2bbcd38dfb38ce7f1c8ab1 | []
| no_license | ABasto94/FASESOFT | 10604182ed4732bbcecb4fbd27c76dca0a58a378 | c65b636dbebc355acfd59e93f4499e6957bd5976 | refs/heads/master | 2020-12-12T12:55:06.246077 | 2020-01-15T16:03:47 | 2020-01-15T16:03:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 222 | java | package com.fasesoft.modelo.enums;
/**
* Funcion de agrupamiento utilizado en las consultas jpql tipo select
*
* @author GeneradorCRUD
*/
public enum FuncionAgrupamientoJPQL {
COUNT, DISTINCT, NINGUNA;
}
| [
"[email protected]"
]
| |
f15a15a4df117beeaefb72994d0d700ba24a9d62 | bdfa99d23b8d531a6b851057e374210879800601 | /src/stms/model/base/BaseUserLog.java | bdeb7258b022595bf7cd333a9c37bb26e7acba41 | []
| no_license | NanCarp/sdys | 10af79a0d83a7ffae776ae78b2782e20d7443c49 | 77f51f17972a7253e03263f0d10f12d9ff81e891 | refs/heads/master | 2021-01-22T10:56:41.344011 | 2017-07-28T00:13:48 | 2017-07-28T00:13:48 | 92,661,907 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,366 | java | package stms.model.base;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.IBean;
/**
* Generated by JFinal, do not modify this file.
*/
@SuppressWarnings({"serial", "unchecked"})
public abstract class BaseUserLog<M extends BaseUserLog<M>> extends Model<M> implements IBean {
public M setId(java.lang.Integer id) {
set("id", id);
return (M)this;
}
public java.lang.Integer getId() {
return get("id");
}
public M setUserAccount(java.lang.String userAccount) {
set("user_account", userAccount);
return (M)this;
}
public java.lang.String getUserAccount() {
return get("user_account");
}
public M setIp(java.lang.String ip) {
set("ip", ip);
return (M)this;
}
public java.lang.String getIp() {
return get("ip");
}
public M setAgent(java.lang.String agent) {
set("agent", agent);
return (M)this;
}
public java.lang.String getAgent() {
return get("agent");
}
public M setLoginTime(java.util.Date loginTime) {
set("login_time", loginTime);
return (M)this;
}
public java.util.Date getLoginTime() {
return get("login_time");
}
public M setLogoutTime(java.util.Date logoutTime) {
set("logout_time", logoutTime);
return (M)this;
}
public java.util.Date getLogoutTime() {
return get("logout_time");
}
}
| [
"[email protected]"
]
| |
3a38dd41e619dc919ff31ce8300184934712af92 | ff2048739a203cb0f624f4eb29d39a6d417a97a5 | /DaTang/src/com/newer/datang/data/entity/Task.java | a4efd198ae4713715906fa7565a9c882df10741a | []
| no_license | FinalJouk/Test | c0742f8c3cf2a5094c9bc0adb809e160e5f80c75 | 46f7cb1b5a9f402e209d30078c84731d4c360e03 | refs/heads/master | 2021-09-11T13:14:02.849312 | 2018-04-07T11:48:31 | 2018-04-07T11:48:31 | 100,597,089 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,268 | java | package com.newer.datang.data.entity;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
/**
* ไปปๅกๅฎไฝ็ฑป
* @author zxl
*
*/
public class Task {
private Integer taskId;//ไปปๅก็ผๅท
private String taskName;//ไปปๅกๅ็งฐ
@DateTimeFormat(pattern="yyyy-MM-dd")
private Date beginDate;//ๅผๅงๆถ้ด
@DateTimeFormat(pattern="yyyy-MM-dd")
private Date endDate;//็ปๆๆถ้ด
@DateTimeFormat(pattern="yyyy-MM-dd")
private Date realBeginDate;//ๅฎ้
ๅผๅงๆถ้ด
@DateTimeFormat(pattern="yyyy-MM-dd")
private Date realEndDate;//ๅฎ้
็ปๆๆถ้ด
private String status;//ไปปๅก็ถๆ
private EmpLoyee implementor;//ๅฎๆฝไบบ
private EmpLoyee assigner;//ๅ้
ไบบ
private String taskDesc;//ไปปๅกๆ่ฟฐ
private Integer planCount;//ๅ
ณ่็่ฎกๅ้ๅ
public Integer getTaskId() {
return taskId;
}
public void setTaskId(Integer taskId) {
this.taskId = taskId;
}
public String getTaskName() {
return taskName;
}
public void setTaskName(String taskName) {
this.taskName = taskName;
}
public Date getBeginDate() {
return beginDate;
}
public void setBeginDate(Date beginDate) {
this.beginDate = beginDate;
}
public Date getEndDate() {
return endDate;
}
public void setEndDate(Date endDate) {
this.endDate = endDate;
}
public Date getRealBeginDate() {
return realBeginDate;
}
public void setRealBeginDate(Date realBeginDate) {
this.realBeginDate = realBeginDate;
}
public Date getRealEndDate() {
return realEndDate;
}
public void setRealEndDate(Date realEndDate) {
this.realEndDate = realEndDate;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public EmpLoyee getImplementor() {
return implementor;
}
public void setImplementor(EmpLoyee implementor) {
this.implementor = implementor;
}
public EmpLoyee getAssigner() {
return assigner;
}
public void setAssigner(EmpLoyee assigner) {
this.assigner = assigner;
}
public String getTaskDesc() {
return taskDesc;
}
public void setTaskDesc(String taskDesc) {
this.taskDesc = taskDesc;
}
public Integer getPlanCount() {
return planCount;
}
public void setPlanCount(Integer planCount) {
this.planCount = planCount;
}
public Task() {
super();
// TODO Auto-generated constructor stub
}
public Task(Integer taskId, String taskName, Date beginDate, Date endDate, Date realBeginDate, Date realEndDate,
String status, EmpLoyee implementor, EmpLoyee assigner, String taskDesc, Integer planCount) {
super();
this.taskId = taskId;
this.taskName = taskName;
this.beginDate = beginDate;
this.endDate = endDate;
this.realBeginDate = realBeginDate;
this.realEndDate = realEndDate;
this.status = status;
this.implementor = implementor;
this.assigner = assigner;
this.taskDesc = taskDesc;
this.planCount = planCount;
}
@Override
public String toString() {
return "Task [taskId=" + taskId + ", taskName=" + taskName + ", beginDate=" + beginDate + ", endDate=" + endDate
+ ", realBeginDate=" + realBeginDate + ", realEndDate=" + realEndDate + ", status=" + status
+ ", implementor=" + implementor + ", assigner=" + assigner + ", taskDesc=" + taskDesc + ", planCount="
+ planCount + "]";
}
}
| [
"[email protected]"
]
| |
102299ac25b7812395cb461a85ef3c31f1d45153 | 2347b864ddd9c54ab34b750f03cbe9dcaf557538 | /BasicPrograms/BasicPrograms/oct/oct27/StrngRvrseWithMthd.java | 87cf1ee779f631b951dd664ef96478d101ddeae1 | []
| no_license | gituserid123/Basic | 5fed2c2bcbaefa9b901b79acb46283100a22f67f | adb92ec27aee410de9bbafe61c88c6001e43a8af | refs/heads/master | 2021-09-10T10:07:07.921296 | 2017-11-21T07:35:12 | 2017-11-21T07:35:12 | 106,676,467 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 500 | java | package oct27;
public class StrngRvrseWithMthd {
static void StringRvrse(String s) {
char[] ch = new char[s.length()];
ch = s.toCharArray();
for (int i = 0; i < s.length() - 1; i++)
ch[i] = s.charAt(i);
for (int i = s.length() - 1; i >= 0; i--)
System.out.print(ch[i]);
}
public static void main(String[] args) {
// TODO Auto-generated method stub
String s = "stub";
System.out.println("reversed string: ");
StrngRvrseWithMthd.StringRvrse(s);
}
}
| [
"[email protected]"
]
| |
71c43dd2985ac89289e6c3a3f8381f0b8ba8e253 | b24818a948152b06c7d85ac442e9b37cb6becbbc | /src/main/java/com/ash/experiments/performance/whitespace/Class3818.java | 52b3c87cec01a883840c58d8784b79feffa60fe2 | []
| no_license | ajorpheus/whitespace-perf-test | d0797b6aa3eea1435eaa1032612f0874537c58b8 | d2b695aa09c6066fbba0aceb230fa4e308670b32 | refs/heads/master | 2020-04-17T23:38:39.420657 | 2014-06-02T09:27:17 | 2014-06-02T09:27:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 41 | java | public class Class3818 {}
| [
"[email protected]"
]
| |
6a950af1553d75ea5b8ddbb5c06369be82d61a52 | 5c07294f73dcb4aa0c8ae8e70d1fb1790ee3dce6 | /server-core/src/main/java/io/onedev/server/util/usermatcher/CodeWriters.java | fa35d059c835eba8483dc541f76e8ed4e3783e6a | [
"MIT"
]
| permissive | jianghobryan/onedev | a21753af5ba35682f96db5fa2a12b0c475e503b3 | 5cbb1ccc6602a1f8c6d8359f23faed9dd2fdb38c | refs/heads/master | 2020-09-06T12:16:53.527559 | 2019-11-01T07:16:43 | 2019-11-07T14:26:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 598 | java | package io.onedev.server.util.usermatcher;
import io.onedev.server.model.Project;
import io.onedev.server.model.User;
import io.onedev.server.security.permission.ProjectPermission;
import io.onedev.server.security.permission.WriteCode;
public class CodeWriters implements UserMatcherCriteria {
private static final long serialVersionUID = 1L;
@Override
public boolean matches(Project project, User user) {
return user.asSubject().isPermitted(new ProjectPermission(project, new WriteCode()));
}
@Override
public String toString() {
return "code writers";
}
}
| [
"[email protected]"
]
| |
641d87db8ff506f44c4124780dd3a86168429791 | 9f4ef39a222256029e2ba6eb53c606753e812a1f | /test/entities/DatabaseTest.java | 7411e2460d71a09dd251cd68f9f66ce2a2a27bff | [
"Apache-2.0"
]
| permissive | dayelostraco/Play2.4-Java-Microservice-Seed | 6a400cc518727d9f158d1712cfad3edbb216e40a | 750e7efbf0abc98a6db0331ca54077afedfc7ed4 | refs/heads/master | 2021-01-18T17:59:24.051009 | 2017-03-31T15:08:20 | 2017-03-31T15:08:20 | 86,832,045 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,040 | java | package entities;
import play.db.Database;
import play.db.Databases;
import play.db.evolutions.*;
import java.sql.Connection;
import org.junit.*;
import static org.junit.Assert.*;
public class DatabaseTest {
Database database;
@Before
public void setupDatabase() {
database = Databases.inMemory();
Evolutions.applyEvolutions(database, Evolutions.forDefault(new Evolution(
1,
"create table test (id bigint not null, name varchar(255));",
"drop table test;"
)));
}
@After
public void shutdownDatabase() {
Evolutions.cleanupEvolutions(database);
database.shutdown();
}
@Test
public void testDatabase() throws Exception {
Connection connection = database.getConnection();
connection.prepareStatement("insert into test values (10, 'testing')").execute();
assertTrue(
connection.prepareStatement("select * from test where id = 10")
.executeQuery().next()
);
}
}
| [
"[email protected]"
]
| |
0056cca2fffd70dc26a49ab23864c7fbb7e823eb | 4901f839469449b46e7d844bb21c3f8e7ee0f367 | /LibraryJavaProject/src/com/ibm/ils/library/datastore/exceptions/SystemUnavailableException.java | 69b72b801d740b8573ae077bf1400cacdc6ae33b | []
| no_license | BegBang/library | e86a3364ed90b1d67cd9c1e17a68e1a7c80073ee | 7566f47b1e631b9413485f3603de2dfe8818600e | refs/heads/master | 2021-01-13T01:36:08.555306 | 2012-06-03T11:08:37 | 2012-06-03T11:08:37 | 3,603,223 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 413 | java | package com.ibm.ils.library.datastore.exceptions;
@SuppressWarnings("serial")
public class SystemUnavailableException extends Exception {
@SuppressWarnings("unused")
private Exception exception;
public SystemUnavailableException(String message) {
super(message);
}
public SystemUnavailableException(Exception exception) {
super("System is currently unavailable");
this.exception = exception;
}
}
| [
"[email protected]"
]
| |
2c7c9f37bd221af26fc5a6d199a36e7c12a57424 | bd395b330663d88f97c83aa9edcdbe440a6c0575 | /src/main/java/com/atguigu/topn/FlowBean.java | 998dd7b4d0d16d8938a1be8c301be199f1c4b198 | []
| no_license | yaozhoucn/Hadoop_Hdfs_Study | abd8b2a4d2f5e6613988b7fb89970c6671b63c8e | 48e1d83bc43482998f3bd32328aeeb07cdfbd973 | refs/heads/master | 2023-06-14T01:11:17.898516 | 2021-07-15T07:12:03 | 2021-07-15T07:12:03 | 386,198,877 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,911 | java | package com.atguigu.topn;
import org.apache.hadoop.io.WritableComparable;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
/**
* Created by WXHang on HANG at 2020/12/24 9:56
*/
public class FlowBean implements WritableComparable<FlowBean> {
String phone;
Long upFlow;
Long downFlow;
Long sumFlow;
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public Long getUpFlow() {
return upFlow;
}
public void setUpFlow(Long upFlow) {
this.upFlow = upFlow;
}
public Long getDownFlow() {
return downFlow;
}
public void setDownFlow(Long downFlow) {
this.downFlow = downFlow;
}
public Long getSumFlow() {
return sumFlow;
}
public void setSumFlow(Long sumFlow) {
this.sumFlow = sumFlow;
}
@Override
public String toString() {
return this.phone + "\t" + this.upFlow + "\t" + this.downFlow + "\t" + this.sumFlow;
}
public FlowBean(String phone, Long upFlow, Long downFlow, Long sumFlow) {
this.phone = phone;
this.upFlow = upFlow;
this.downFlow = downFlow;
this.sumFlow = sumFlow;
}
public FlowBean() {
}
@Override
public int compareTo(FlowBean o) {
return Long.compare(o.sumFlow,this.sumFlow);
}
@Override
public void write(DataOutput dataOutput) throws IOException {
dataOutput.writeUTF(phone);
dataOutput.writeLong(upFlow);
dataOutput.writeLong(downFlow);
dataOutput.writeLong(sumFlow);
}
@Override
public void readFields(DataInput dataInput) throws IOException {
this.phone = dataInput.readUTF();
this.upFlow = dataInput.readLong();
this.downFlow = dataInput.readLong();
this.sumFlow =dataInput.readLong();
}
}
| [
"[email protected]"
]
| |
6386abd51abc22dd2a097c134c5062263635966c | 84d579829fb8acd43485a5435a542cffe48b5ad6 | /src/com/testing/android/test/BasicTest.java | a4e2c2491b66629af54489ef2f15dace583212f1 | []
| no_license | annamane/LMSTest | 6e3e0770d04effb310b2f7fce3cbf549ac1f3f29 | 1beaa7e51865dc927aa3d862cdf42a0bc34422ef | refs/heads/master | 2021-01-19T10:02:56.101504 | 2013-03-07T15:58:53 | 2013-03-07T15:58:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,831 | java | package com.testing.android.test;
import java.util.ArrayList;
import android.test.ActivityInstrumentationTestCase2;
import android.util.Log;
import android.widget.Button;
import com.jayway.android.robotium.solo.Solo;
@SuppressWarnings({ "unchecked", "rawtypes" })
public class BasicTest extends ActivityInstrumentationTestCase2{
private static String TARGET_PACKAGE_ID = "com.testing.android";
private static String LAUNCHER_ACTIVITY_FULL_CLASSNAME = "com.testing.android.LibraryHomeActivity";
private static Class launcherActivityClass;
static{
try
{
launcherActivityClass = Class.forName(LAUNCHER_ACTIVITY_FULL_CLASSNAME);
} catch (ClassNotFoundException e){
throw new RuntimeException(e);
}
}
public BasicTest()throws ClassNotFoundException{
super(TARGET_PACKAGE_ID,launcherActivityClass);
}
private Solo solo;
@Override
protected void setUp() throws Exception
{
solo = new Solo(getInstrumentation(),getActivity());
}
public void test1() {
//Verify Text present in the view
ArrayList<Button> buttons = solo.getCurrentButtons();
assertEquals("Expected 5 buttons on the homescreen", 5, buttons.size());
for (Button button: buttons) {
Log.i("button text:", (String) button.getText());
}
assertTrue(solo.searchText("List of Books"));
assertTrue(solo.searchText("Add Member"));
assertTrue(solo.searchText("Add Book"));
assertTrue(solo.searchText("Check Out"));
assertTrue(solo.searchText("Check In"));
}
public void test2() {
//Adding a member
solo.clickOnButton("Add Member");
assertTrue(solo.searchText("Enter Name"));
assertTrue(solo.searchText("Phone Number"));
}
public void test3() {
//Adding a member
solo.clickOnButton("Add Member");
solo.enterText(0, "Venkat");
solo.enterText(1, "123");
solo.clickOnButton("Save");
}
public void test4() {
//Adding a member
solo.clickOnButton("Add Book");
assertTrue(solo.searchText("Book Name"));
assertTrue(solo.searchText("Author name"));
}
public void test5() {
//Adding a book
solo.clickOnButton("Add Book");
solo.enterText(0, "Android");
solo.enterText(1, "Katra");
solo.clickOnButton("Save");
solo.clickOnButton("List of Books");
assertTrue(solo.searchText("Android"));
assertTrue(solo.searchText("Katra"));
}
public void test7() {
//Finding a Book
solo.clickOnButton("List of Books");
assertFalse(solo.searchText("Android"));
assertFalse(solo.searchText("Katra"));
}
public void test6() {
//Adding a member
solo.clickOnButton("Check Out");
solo.clickOnButton("Check In");
//assertTrue(solo.searchText("Enter Name"));
//assertTrue(solo.searchText("Phone Number"));
}
@Override
public void tearDown() throws Exception {
solo.finishOpenedActivities();
}
} | [
"[email protected]"
]
| |
6e9be6fa4a96298883f189154d64c6f342f93622 | 7013c65b0b074249e1df7d13900528fbb8f1d199 | /VolunteersInJava/src/volunteers/Doctor.java | 3b1c870486f6338611ebac10b52374c144917a05 | []
| no_license | Tamar212/tamarProjects | defe2f4d78acbfcc0e33b3f2c63339c29b4baa4e | 723659ba406d4f46d7d62b2d50de1cc2023a0651 | refs/heads/main | 2023-05-06T15:29:16.055843 | 2021-05-29T19:44:18 | 2021-05-29T19:44:18 | 372,055,374 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,033 | 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 volunteers;
/**
*
* @author user
*/
public class Doctor extends Volunteer {
private int vetek;
private Toar toar;
public Doctor(int vetek, Toar toar, PersonalDetails volunteer, boolean bool, int basisBonus,Volunteer.day whichDay) {
super(volunteer, bool, basisBonus, whichDay);
this.vetek = vetek;
this.toar = toar;
}
public int calcBonus() {
if(toar.equals(Toar.a)){
return 3+vetek+this.getBasisBonus();
}
if(toar.equals(Toar.b)){
return 2+vetek+this.getBasisBonus();
}
return 1+vetek+this.getBasisBonus();
}
@Override
public String toString() {
return super.toString() + "Doctor{" + "vetek=" + vetek + ", toar=" + toar + '}';
}
public enum Toar{
a,
b,
c
}
}
| [
"[email protected]"
]
| |
52aea32295e6cc614cd53b2dcc83063e00901063 | 40a6d17d2fd7bd7f800d5562d8bb9a76fb571ab4 | /pxlab/src/main/java/de/pxlab/pxl/FatalError.java | 16faed4809fc0873138fa19dc9b74e3eaf7677a5 | [
"MIT"
]
| permissive | manuelgentile/pxlab | cb6970e2782af16feb1f8bf8e71465ebc48aa683 | c8d29347d36c3e758bac4115999fc88143c84f87 | refs/heads/master | 2021-01-13T02:26:40.208893 | 2012-08-08T13:49:53 | 2012-08-08T13:49:53 | 5,121,970 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 791 | java | package de.pxlab.pxl;
import java.awt.Frame;
import de.pxlab.awtx.MessageDialog;
/**
* This is a modal dialog which is called upon fatal errors.
*
* @author H. Irtel
* @version 0.2.3
*/
public class FatalError extends MessageDialog {
/**
* Create a fatal error dialog window showing the given error message. The
* window is closed when the user presses the 'close' button. The dialog
* blocks program execution until it is closed.
*/
public FatalError(String message) {
super(Base.getFrame(), " Error", message);
setButtonLabel(" Exit ");
if (Debug.isActive(Debug.ERR_STACK_TRACE)) {
new RuntimeException().printStackTrace();
}
setVisible(true);
}
public void closeDialog() {
super.closeDialog();
System.exit(3);
}
}
| [
"[email protected]"
]
| |
8f2038b457fa327cb6c2f7b0f0387b5377618448 | c40efb977101232d91e99af0b78778bad3e0950a | /game_server/src/com/hifun/soul/gameserver/human/occupation/template/CharacterOccupationInitPropVO.java | d0080447bd97ac20b4f6510b0a6a88ffc711e8cd | []
| no_license | cietwwl/server | 2bca79a17be6d5e6fee65e57d0df1fc753fb35e3 | d18804f8c182eaa2509666aec10a2212ababc13c | refs/heads/master | 2020-06-14T15:12:16.679591 | 2014-11-19T14:48:04 | 2014-11-19T14:48:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 16,308 | java | package com.hifun.soul.gameserver.human.occupation.template;
import com.hifun.soul.core.annotation.ExcelRowBinding;
import com.hifun.soul.common.exception.TemplateConfigException;
import com.hifun.soul.core.annotation.ExcelCellBinding;
import com.hifun.soul.core.template.TemplateObject;
/**
* ่ง่ฒ่ไธๅบ็กๅฑๆงๆจก็
*
* @author SevenSoul
*/
@ExcelRowBinding
public abstract class CharacterOccupationInitPropVO extends TemplateObject {
/** ๅ้ */
@ExcelCellBinding(offset = 1)
protected int power;
/** ๆๆท */
@ExcelCellBinding(offset = 2)
protected int agile;
/** ไฝๅ */
@ExcelCellBinding(offset = 3)
protected int stamina;
/** ๆบๅ */
@ExcelCellBinding(offset = 4)
protected int intelligence;
/** ็ฒพ็ฅ */
@ExcelCellBinding(offset = 5)
protected int spirit;
/** ่ก้ */
@ExcelCellBinding(offset = 6)
protected int hp;
/** ๆ่ฝๆปๅปๅ */
@ExcelCellBinding(offset = 7)
protected int skillAttack;
/** ๆ่ฝ้ฒๅพกๅ */
@ExcelCellBinding(offset = 8)
protected int skillDefense;
/** ๅฎ็ณๆปๅปๅ */
@ExcelCellBinding(offset = 9)
protected int gemAttack;
/** ๅฎ็ณ้ฒๅพกๅ */
@ExcelCellBinding(offset = 10)
protected int gemDefense;
/** ๅฝไธญๅ */
@ExcelCellBinding(offset = 11)
protected int hit;
/** ้ช้ฟ */
@ExcelCellBinding(offset = 12)
protected int dodge;
/** ๆดๅป */
@ExcelCellBinding(offset = 13)
protected int critical;
/** ้งๆง */
@ExcelCellBinding(offset = 14)
protected int uncritical;
/** ๆดๅปไผคๅฎณ */
@ExcelCellBinding(offset = 15)
protected int criticalDamage;
/** ้งๆงไผคๅฎณ */
@ExcelCellBinding(offset = 16)
protected int uncriticalDamage;
/** ๆ ผๆก */
@ExcelCellBinding(offset = 17)
protected int parry;
/** ๆ ผๆกไผคๅฎณ */
@ExcelCellBinding(offset = 18)
protected int parryDamage;
/** ็ ดๅป */
@ExcelCellBinding(offset = 19)
protected int unparry;
/** ็ ดๅปไผคๅฎณ */
@ExcelCellBinding(offset = 20)
protected int unparryDamage;
/** ็บข้ญๅๅงๅผ */
@ExcelCellBinding(offset = 21)
protected int redInit;
/** ้ป้ญๅๅงๅผ */
@ExcelCellBinding(offset = 22)
protected int yellowInit;
/** ่้ญๅๅงๅผ */
@ExcelCellBinding(offset = 23)
protected int blueInit;
/** ็ปฟ้ญๅๅงๅผ */
@ExcelCellBinding(offset = 24)
protected int greenInit;
/** ็ดซ้ญๅๅงๅผ */
@ExcelCellBinding(offset = 25)
protected int purpleInit;
/** ็บข้ญไธ้ */
@ExcelCellBinding(offset = 26)
protected int redMax;
/** ้ป้ญไธ้ */
@ExcelCellBinding(offset = 27)
protected int yellowMax;
/** ่้ญไธ้ */
@ExcelCellBinding(offset = 28)
protected int blueMax;
/** ็ปฟ้ญไธ้ */
@ExcelCellBinding(offset = 29)
protected int greenMax;
/** ็ดซ้ญไธ้ */
@ExcelCellBinding(offset = 30)
protected int purpleMax;
/** ๆถ้ค็บข้ญๅ ๆๅผ */
@ExcelCellBinding(offset = 31)
protected int redEliminateBonus;
/** ๆถ้ค้ป้ญๅ ๆๅผ */
@ExcelCellBinding(offset = 32)
protected int yellowEliminateBonus;
/** ่้ญ้ป้ญๅ ๆๅผ */
@ExcelCellBinding(offset = 33)
protected int blueEliminateBonus;
/** ๆถ้ค็ปฟ้ญๅ ๆๅผ */
@ExcelCellBinding(offset = 34)
protected int greenEliminateBonus;
/** ๆถ้ค็ดซ้ญๅ ๆๅผ */
@ExcelCellBinding(offset = 35)
protected int purpleEliminateBonus;
/** ๅ
ๆป */
@ExcelCellBinding(offset = 36)
protected int firstAttack;
/** ็ฉ็ๆๆง */
@ExcelCellBinding(offset = 37)
protected int physicalResistance;
/** ๆณๆฏๆๆง */
@ExcelCellBinding(offset = 38)
protected int magicResistance;
public int getPower() {
return this.power;
}
public void setPower(int power) {
if (power < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
2, "[ ๅ้]power็ๅผไธๅพๅฐไบ0");
}
this.power = power;
}
public int getAgile() {
return this.agile;
}
public void setAgile(int agile) {
if (agile < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
3, "[ ๆๆท]agile็ๅผไธๅพๅฐไบ0");
}
this.agile = agile;
}
public int getStamina() {
return this.stamina;
}
public void setStamina(int stamina) {
if (stamina < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
4, "[ ไฝๅ]stamina็ๅผไธๅพๅฐไบ0");
}
this.stamina = stamina;
}
public int getIntelligence() {
return this.intelligence;
}
public void setIntelligence(int intelligence) {
if (intelligence < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
5, "[ ๆบๅ]intelligence็ๅผไธๅพๅฐไบ0");
}
this.intelligence = intelligence;
}
public int getSpirit() {
return this.spirit;
}
public void setSpirit(int spirit) {
if (spirit < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
6, "[ ็ฒพ็ฅ]spirit็ๅผไธๅพๅฐไบ0");
}
this.spirit = spirit;
}
public int getHp() {
return this.hp;
}
public void setHp(int hp) {
if (hp < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
7, "[ ่ก้]hp็ๅผไธๅพๅฐไบ0");
}
this.hp = hp;
}
public int getSkillAttack() {
return this.skillAttack;
}
public void setSkillAttack(int skillAttack) {
if (skillAttack < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
8, "[ ๆ่ฝๆปๅปๅ]skillAttack็ๅผไธๅพๅฐไบ0");
}
this.skillAttack = skillAttack;
}
public int getSkillDefense() {
return this.skillDefense;
}
public void setSkillDefense(int skillDefense) {
if (skillDefense < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
9, "[ ๆ่ฝ้ฒๅพกๅ]skillDefense็ๅผไธๅพๅฐไบ0");
}
this.skillDefense = skillDefense;
}
public int getGemAttack() {
return this.gemAttack;
}
public void setGemAttack(int gemAttack) {
if (gemAttack < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
10, "[ ๅฎ็ณๆปๅปๅ]gemAttack็ๅผไธๅพๅฐไบ0");
}
this.gemAttack = gemAttack;
}
public int getGemDefense() {
return this.gemDefense;
}
public void setGemDefense(int gemDefense) {
if (gemDefense < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
11, "[ ๅฎ็ณ้ฒๅพกๅ]gemDefense็ๅผไธๅพๅฐไบ0");
}
this.gemDefense = gemDefense;
}
public int getHit() {
return this.hit;
}
public void setHit(int hit) {
if (hit < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
12, "[ ๅฝไธญๅ]hit็ๅผไธๅพๅฐไบ0");
}
this.hit = hit;
}
public int getDodge() {
return this.dodge;
}
public void setDodge(int dodge) {
if (dodge < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
13, "[ ้ช้ฟ]dodge็ๅผไธๅพๅฐไบ0");
}
this.dodge = dodge;
}
public int getCritical() {
return this.critical;
}
public void setCritical(int critical) {
if (critical < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
14, "[ ๆดๅป]critical็ๅผไธๅพๅฐไบ0");
}
this.critical = critical;
}
public int getUncritical() {
return this.uncritical;
}
public void setUncritical(int uncritical) {
if (uncritical < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
15, "[ ้งๆง]uncritical็ๅผไธๅพๅฐไบ0");
}
this.uncritical = uncritical;
}
public int getCriticalDamage() {
return this.criticalDamage;
}
public void setCriticalDamage(int criticalDamage) {
if (criticalDamage < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
16, "[ ๆดๅปไผคๅฎณ]criticalDamage็ๅผไธๅพๅฐไบ0");
}
this.criticalDamage = criticalDamage;
}
public int getUncriticalDamage() {
return this.uncriticalDamage;
}
public void setUncriticalDamage(int uncriticalDamage) {
if (uncriticalDamage < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
17, "[ ้งๆงไผคๅฎณ]uncriticalDamage็ๅผไธๅพๅฐไบ0");
}
this.uncriticalDamage = uncriticalDamage;
}
public int getParry() {
return this.parry;
}
public void setParry(int parry) {
if (parry < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
18, "[ ๆ ผๆก]parry็ๅผไธๅพๅฐไบ0");
}
this.parry = parry;
}
public int getParryDamage() {
return this.parryDamage;
}
public void setParryDamage(int parryDamage) {
if (parryDamage < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
19, "[ ๆ ผๆกไผคๅฎณ]parryDamage็ๅผไธๅพๅฐไบ0");
}
this.parryDamage = parryDamage;
}
public int getUnparry() {
return this.unparry;
}
public void setUnparry(int unparry) {
if (unparry < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
20, "[ ็ ดๅป]unparry็ๅผไธๅพๅฐไบ0");
}
this.unparry = unparry;
}
public int getUnparryDamage() {
return this.unparryDamage;
}
public void setUnparryDamage(int unparryDamage) {
if (unparryDamage < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
21, "[ ็ ดๅปไผคๅฎณ]unparryDamage็ๅผไธๅพๅฐไบ0");
}
this.unparryDamage = unparryDamage;
}
public int getRedInit() {
return this.redInit;
}
public void setRedInit(int redInit) {
if (redInit < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
22, "[ ็บข้ญๅๅงๅผ]redInit็ๅผไธๅพๅฐไบ0");
}
this.redInit = redInit;
}
public int getYellowInit() {
return this.yellowInit;
}
public void setYellowInit(int yellowInit) {
if (yellowInit < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
23, "[ ้ป้ญๅๅงๅผ]yellowInit็ๅผไธๅพๅฐไบ0");
}
this.yellowInit = yellowInit;
}
public int getBlueInit() {
return this.blueInit;
}
public void setBlueInit(int blueInit) {
if (blueInit < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
24, "[ ่้ญๅๅงๅผ]blueInit็ๅผไธๅพๅฐไบ0");
}
this.blueInit = blueInit;
}
public int getGreenInit() {
return this.greenInit;
}
public void setGreenInit(int greenInit) {
if (greenInit < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
25, "[ ็ปฟ้ญๅๅงๅผ]greenInit็ๅผไธๅพๅฐไบ0");
}
this.greenInit = greenInit;
}
public int getPurpleInit() {
return this.purpleInit;
}
public void setPurpleInit(int purpleInit) {
if (purpleInit < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
26, "[ ็ดซ้ญๅๅงๅผ]purpleInit็ๅผไธๅพๅฐไบ0");
}
this.purpleInit = purpleInit;
}
public int getRedMax() {
return this.redMax;
}
public void setRedMax(int redMax) {
if (redMax < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
27, "[ ็บข้ญไธ้]redMax็ๅผไธๅพๅฐไบ0");
}
this.redMax = redMax;
}
public int getYellowMax() {
return this.yellowMax;
}
public void setYellowMax(int yellowMax) {
if (yellowMax < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
28, "[ ้ป้ญไธ้]yellowMax็ๅผไธๅพๅฐไบ0");
}
this.yellowMax = yellowMax;
}
public int getBlueMax() {
return this.blueMax;
}
public void setBlueMax(int blueMax) {
if (blueMax < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
29, "[ ่้ญไธ้]blueMax็ๅผไธๅพๅฐไบ0");
}
this.blueMax = blueMax;
}
public int getGreenMax() {
return this.greenMax;
}
public void setGreenMax(int greenMax) {
if (greenMax < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
30, "[ ็ปฟ้ญไธ้]greenMax็ๅผไธๅพๅฐไบ0");
}
this.greenMax = greenMax;
}
public int getPurpleMax() {
return this.purpleMax;
}
public void setPurpleMax(int purpleMax) {
if (purpleMax < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
31, "[ ็ดซ้ญไธ้]purpleMax็ๅผไธๅพๅฐไบ0");
}
this.purpleMax = purpleMax;
}
public int getRedEliminateBonus() {
return this.redEliminateBonus;
}
public void setRedEliminateBonus(int redEliminateBonus) {
if (redEliminateBonus < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
32, "[ ๆถ้ค็บข้ญๅ ๆๅผ]redEliminateBonus็ๅผไธๅพๅฐไบ0");
}
this.redEliminateBonus = redEliminateBonus;
}
public int getYellowEliminateBonus() {
return this.yellowEliminateBonus;
}
public void setYellowEliminateBonus(int yellowEliminateBonus) {
if (yellowEliminateBonus < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
33, "[ ๆถ้ค้ป้ญๅ ๆๅผ]yellowEliminateBonus็ๅผไธๅพๅฐไบ0");
}
this.yellowEliminateBonus = yellowEliminateBonus;
}
public int getBlueEliminateBonus() {
return this.blueEliminateBonus;
}
public void setBlueEliminateBonus(int blueEliminateBonus) {
if (blueEliminateBonus < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
34, "[ ่้ญ้ป้ญๅ ๆๅผ]blueEliminateBonus็ๅผไธๅพๅฐไบ0");
}
this.blueEliminateBonus = blueEliminateBonus;
}
public int getGreenEliminateBonus() {
return this.greenEliminateBonus;
}
public void setGreenEliminateBonus(int greenEliminateBonus) {
if (greenEliminateBonus < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
35, "[ ๆถ้ค็ปฟ้ญๅ ๆๅผ]greenEliminateBonus็ๅผไธๅพๅฐไบ0");
}
this.greenEliminateBonus = greenEliminateBonus;
}
public int getPurpleEliminateBonus() {
return this.purpleEliminateBonus;
}
public void setPurpleEliminateBonus(int purpleEliminateBonus) {
if (purpleEliminateBonus < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
36, "[ ๆถ้ค็ดซ้ญๅ ๆๅผ]purpleEliminateBonus็ๅผไธๅพๅฐไบ0");
}
this.purpleEliminateBonus = purpleEliminateBonus;
}
public int getFirstAttack() {
return this.firstAttack;
}
public void setFirstAttack(int firstAttack) {
if (firstAttack < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
37, "[ ๅ
ๆป]firstAttack็ๅผไธๅพๅฐไบ0");
}
this.firstAttack = firstAttack;
}
public int getPhysicalResistance() {
return this.physicalResistance;
}
public void setPhysicalResistance(int physicalResistance) {
if (physicalResistance < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
38, "[ ็ฉ็ๆๆง]physicalResistance็ๅผไธๅพๅฐไบ0");
}
this.physicalResistance = physicalResistance;
}
public int getMagicResistance() {
return this.magicResistance;
}
public void setMagicResistance(int magicResistance) {
if (magicResistance < 0) {
throw new TemplateConfigException(this.getSheetName(), this.getId(),
39, "[ ๆณๆฏๆๆง]magicResistance็ๅผไธๅพๅฐไบ0");
}
this.magicResistance = magicResistance;
}
@Override
public String toString() {
return "CharacterOccupationInitPropVO[power=" + power + ",agile=" + agile + ",stamina=" + stamina + ",intelligence=" + intelligence + ",spirit=" + spirit + ",hp=" + hp + ",skillAttack=" + skillAttack + ",skillDefense=" + skillDefense + ",gemAttack=" + gemAttack + ",gemDefense=" + gemDefense + ",hit=" + hit + ",dodge=" + dodge + ",critical=" + critical + ",uncritical=" + uncritical + ",criticalDamage=" + criticalDamage + ",uncriticalDamage=" + uncriticalDamage + ",parry=" + parry + ",parryDamage=" + parryDamage + ",unparry=" + unparry + ",unparryDamage=" + unparryDamage + ",redInit=" + redInit + ",yellowInit=" + yellowInit + ",blueInit=" + blueInit + ",greenInit=" + greenInit + ",purpleInit=" + purpleInit + ",redMax=" + redMax + ",yellowMax=" + yellowMax + ",blueMax=" + blueMax + ",greenMax=" + greenMax + ",purpleMax=" + purpleMax + ",redEliminateBonus=" + redEliminateBonus + ",yellowEliminateBonus=" + yellowEliminateBonus + ",blueEliminateBonus=" + blueEliminateBonus + ",greenEliminateBonus=" + greenEliminateBonus + ",purpleEliminateBonus=" + purpleEliminateBonus + ",firstAttack=" + firstAttack + ",physicalResistance=" + physicalResistance + ",magicResistance=" + magicResistance + ",]";
}
} | [
"[email protected]"
]
| |
3ae019b081120f01c54f105c8c7d8c99a6b772c9 | b632cceb9fedcbe7c9e5f4a6433c447b78151f68 | /modules/web/src/ru/artemaa/stocks/web/industry/IndustryBrowse.java | 934f20b167b99b8317566326c9c77cc18faf7a0e | []
| no_license | MrArtemAA/MyStocks | 678199151125dd8bcce7486a1f3ad92d273b6580 | ec97aba9d7c59954a279854087897dfe733a9a6f | refs/heads/master | 2021-01-01T19:35:56.128734 | 2019-06-11T19:33:08 | 2019-06-11T19:33:08 | 98,617,778 | 0 | 1 | null | 2019-06-11T19:33:09 | 2017-07-28T06:44:32 | Java | UTF-8 | Java | false | false | 169 | java | package ru.artemaa.stocks.web.industry;
import com.haulmont.cuba.gui.components.EntityCombinedScreen;
public class IndustryBrowse extends EntityCombinedScreen {
} | [
"[email protected]"
]
| |
c192cf0dcdc200cc5d5e768edced4eec0326efde | 9a5d1f0ec55c6e5fe3353b18d3fce66c3746b43b | /src/algorithms/Compression.java | 8663e6835e08dd23d9123d8dc7fc3bb932fd0edf | []
| no_license | hashimamani/algorithms | 9b9592999a55fad83fce18cd1f3436ea378a8985 | 7b756c6700c93df1231853d81f69b1a5fde21e90 | refs/heads/master | 2020-06-02T04:15:51.245882 | 2019-06-09T17:00:01 | 2019-06-09T17:00:01 | 191,032,970 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,283 | 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 algorithms;
/**
*
* @author AMANI
*/
public class Compression {
/**
* @param args the command line arguments
*/
public static String compress(String x) {
String compressed = "";
int i = 0;
Character init = x.charAt(i);
return recurseCompression(i, compressed, init, x);
}
public static String recurseCompression(int i, String compressed, Character curr, String x) {
int counter = 0;
while (i < x.length()) {
if (x.charAt(i) == curr) {
counter++;
compressed = x.charAt(i) + "" + counter;
i++;
} else {
return compressed + recurseCompression(i, compressed, x.charAt(i), x);
}
}
return compressed;
}
public static void main(String[] args) {
// TODO code application logic here
System.out.println("Compressed string = " + compress("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbcdeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"));
}
}
| [
"[email protected]"
]
| |
a3fef8b6111b7aee08a2e4e7bde6bcb2e1d3c791 | 87c3d981d3bede3341a1f86547834b933992c0b2 | /app/src/main/java/jokes/test/com/onlineassignment/apiservice/config/RetrofitInstance.java | 8222a8e415483b92aa1692f96714880d69742bc1 | []
| no_license | gauravit2/OnlineRepository | e1d7db85c5d5a1c8bfc74d5e65a2860d8db3f834 | 8ddd4b50ebaa5d73012e9b070558e84ccd01b88b | refs/heads/master | 2021-05-05T14:15:49.664421 | 2020-06-13T10:02:45 | 2020-06-13T10:02:45 | 118,437,481 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,408 | java | package jokes.test.com.onlineassignment.apiservice.config;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import okhttp3.Dispatcher;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
/**
* Created by Gaurav on 1/17/2018.
* Return retrofit instance
*/
public class RetrofitInstance {
//Base url
private static String BASE_URL = "http://api.icndb.com";
/**
* Create OkHttpClient instance with timeout
* @return Instance of OkHttpClient
*/
public static OkHttpClient getClient() {
OkHttpClient client = new OkHttpClient.Builder()
.readTimeout(15, TimeUnit.SECONDS)
.build();
return client;
}
/**
* Configure retrofit instance
* @return retrofit object
*/
public static Retrofit getRetrofitInstance() {
Gson gson = new GsonBuilder()
.setLenient()
.create();
OkHttpClient client = getClient();
Dispatcher dispatcher = client.dispatcher();
dispatcher.setMaxRequests(3);
return new Retrofit.Builder()
.addConverterFactory(GsonConverterFactory.create(gson))
.baseUrl(BASE_URL)
.client(client)
.build();
}
}
| [
"[email protected]"
]
| |
5645c119011496ebb871924731f8e62dd2c51fb4 | cf1d79b3c8ee1e99f5bc1537125ee05c2a94ff6c | /src/ZhouCe2/DiYiTi.java | 5cf6b5bb50c73f236750896ab2a674ff6ad9a60d | []
| no_license | plj8157/Javase1 | 3d439a49da432b26b65822d2bc3b53ecff567ab7 | 5ac808f8552280321f49234a7a145baac7937034 | refs/heads/master | 2020-06-06T09:06:42.690828 | 2019-07-05T00:00:20 | 2019-07-05T00:00:20 | 192,696,834 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 448 | java | package ZhouCe2;
public class DiYiTi {
public static void main(String[] args) {
String names[][]=new String[2][3];
names[0][0]="tom";
names[0][1]="jack";
names[0][2]="mike";
names[1][0]="zhangsan";
names[1][1]="lisi";
names[1][2]="wangwu";
for (int i=0;i<2;i++){
for(int j=0;j<names[i].length;j++){
System.out.println(names[i][j]);
}
} System.out.println();
}
}
| [
"[email protected]"
]
| |
2dc1f54bf69ea8a0ac243c1324cffe09358a6d4e | 580d68023eb51096896208ba6148412256a3c6a4 | /app/src/main/java/com/jinke/community/ui/adapter/BrokenDetailsAdapter.java | 66069dfe897e9d74548b9eef779ea78903a66af0 | []
| no_license | li4cheng/JKCommunity | 9904760d4def97687fca566692a1c63ad4f1f560 | b8a97eaf1393ac5599fbad6b300f8302110b9fa3 | refs/heads/master | 2022-01-05T21:52:22.601526 | 2018-06-25T02:11:15 | 2018-06-25T02:11:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,235 | java | package com.jinke.community.ui.adapter;
import android.content.Context;
import android.support.annotation.NonNull;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.jinke.community.R;
import com.jinke.community.ui.adapter.base.BaseViewHolder;
import com.jinke.community.ui.adapter.base.CommonAdapter;
import java.util.List;
/**
* Created by root on 17-8-11.
*/
public class BrokenDetailsAdapter extends CommonAdapter<String> {
private Context mContext;
public BrokenDetailsAdapter(@NonNull Context context, int layoutResId, @NonNull List<String> dataList) {
super(context, layoutResId, dataList);
this.mContext = context;
}
@Override
protected void convert(BaseViewHolder baseViewHolder, String s, int position) {
ImageView image = (ImageView) baseViewHolder.getViewByViewId(R.id.simpleImage);
// LogUtils.i("ๅพ็ๅฐๅ"+s);
// image.setImageURI(s);
Glide.with(mContext).load(s).error(mContext.getResources().getDrawable(R.drawable.icon_fail_pic))
.placeholder(mContext.getResources().getDrawable(R.drawable.icon_fail_pic)).crossFade(1000).
into(image);
}
}
| [
"[email protected]"
]
| |
6caaf533dac28c4cb404a4be98f1a67cb432b721 | c420f2e97ec792c7213bb050d3a49fdd84a6a220 | /src/main/java/com/haulmont/testtask/presenters/IViewListener.java | 235948d2cc0b42e474a65953ffc44760ef4adcf5 | []
| no_license | Shaper2111/University | 9655880f5e2e862c8c917a893da05b622bf3e3ed | 23963d2c30497bbd036d14d00840791c795a67c1 | refs/heads/master | 2021-01-18T12:44:47.560616 | 2016-10-14T14:36:49 | 2016-10-14T14:36:49 | 68,597,958 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 195 | java | package com.haulmont.testtask.presenters;
/**
* Base presenters interface.
*
* @version 1.0.0 14.10.2016
* @author Leonid Gubarkov
*/
public interface IViewListener {
void showData();
} | [
"[email protected]"
]
| |
7eb794d1dd58be196fb34dcc3dc29c3d2754f78c | 54bc5ed2b7b0c4764a3e079d0f624d2112e4c8ca | /order-service/src/main/java/model/OrderItem.java | 3208e63a85656c760871368c388361b3221403d3 | []
| no_license | Maderal15/Exercicio1 | 661336b86996e6b9d25d61ac1ef7f5d717a52c37 | 6d653f3c932c36251d87cf03dc781ffb83edfd90 | refs/heads/master | 2020-04-28T19:45:13.335234 | 2019-03-23T18:12:00 | 2019-03-23T18:12:00 | 175,521,584 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 210 | java | package model;
import lombok.*;
@Getter
@Setter
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
public class OrderItem {
private int id;
private String name;
private double preco;
}
| [
"[email protected]"
]
| |
e1cbaacab69c41b5de1974da676b0edfab508beb | 2e772ada3087864721dea743df246b826377f0c3 | /src/main/java/kr/co/softbridge/sobroplatform/commons/FormatUtils.java | deb8b0c5ade81dcc4bcf0a86a88c9bf461be50cc | []
| no_license | jykang21/javaAPI | 0577a77f5c5711109020a8b75789cf6981f59315 | c920b2cac561baa2150ac185b448bf88020df856 | refs/heads/master | 2023-08-19T03:39:07.940518 | 2021-09-29T01:48:37 | 2021-09-29T01:48:37 | 411,493,090 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,789 | java | package kr.co.softbridge.sobroplatform.commons;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
/**
* ํฌ๋งท ์ ํธ
*/
public class FormatUtils {
public static class PATTERNS {
public static String NORMAL = "YYYY-MM-dd";
public static String WITH_TIME = "YYYY-MM-dd'T'HH:mm:ss";
}
/**
* ISO 8601 -> datetime ํ์ ๋ ์ง ๋ณํ
* @param datetime
* @return datetime ํ์ ์ผ์
* 2021-01-01T13:20:30 --> 2021-01-01 13:20:30
*/
public static String ISO8601ToDatetime (String datetime) {
return datetime.replace("T", " ");
}
/**
* datetime -> ISO 8601 ํ์ ๋ ์ง ๋ณํ
* @param datetime
* @return ISO 8601 ํ์ ์ผ์
* 2021-01-01 13:20:30 --> 2021-01-01T13:20:30
*/
public static String DatetimeToISO8601 (String datetime) {
return datetime.replace(" ", "T");
}
/**
* date ๋ฌธ์์ด ๋ณํ
* @param localDateTime
* @param pattern - ๋ณํ ํจํด
* "YYYY-MM-dd"
* "YYYY-MM-ddTHH:mm:ss
* @return
*/
public static String dateToStringByPattern(LocalDateTime localDateTime, String pattern) {
DateTimeFormatter formatter = DateTimeFormatter.ofPattern(pattern);
return localDateTime.format(formatter);
}
/**
* date ๋ฌธ์์ด ๋ณํ
* @param localDate
* @param pattern - ๋ณํ ํจํด
* "YYYY-MM-dd"
* "YYYY-MM-ddTHH:mm:ss
* @return
*/
public static String dateToStringByPattern(LocalDate localDate, String pattern) {
DateTimeFormatter formatter = DateTimeFormatter.ofPattern(pattern);
return localDate.format(formatter);
}
}
| [
"sb.jykang@DESKTOP-0D8580A"
]
| sb.jykang@DESKTOP-0D8580A |
b2199dc94c161adcb5432298edc8c64f08e9d1e8 | 96736f3d40d517b98472283c1b4f70f6bbd646cd | /2019.12.16 ๋ฐ์ดํฐ ๊ด๋ฆฌ/src/๋ฐฐ์ด10.java | 64b9b1c13df48a99f1072204b820d3befade9f74 | []
| no_license | caskercasker/javaStudy | d77064e38372b1f405e45d6dde9fc5570ddea4ad | 3e153d227e043fa8cd2d5bc9c2dceb517e8162f1 | refs/heads/master | 2020-09-29T14:05:37.848322 | 2020-01-22T02:05:03 | 2020-01-22T02:05:03 | 227,052,024 | 0 | 0 | null | null | null | null | WINDOWS-1252 | Java | false | false | 798 | java | import java.util.Scanner;
public class ยนรจยฟยญ10 {
public static void main(String[] args) {
// TODO Auto-generated method stub
int[] a = new int[5];
int[] buf = new int[5];
Scanner scan = new Scanner(System.in);
/*
* int[] rank = {0,0,0,0,0}; for(int i=0; i<a.length; i++) {
* System.out.println((i+1)+"ยนรธยคล รยคยผรถ รรยทร "); a[i] = scan.nextInt(); }
*
* for (int i=0; i<a.length; i++) { rank[i]=1; for (int j=0; j<a.length; j++) {
* if(a[i]<a[j]) rank[i]++; } }
*
* for(int i=0; i<rank.length; i++) { System.out.print((rank[i])+" "); }
*
*/
for (int i=0; i<a.length; i++) {
for (int j=0; j<a.length; j++) {
if(a[i]<a[j]) {
buf[i] = a[i];
buf[j] = a[j];
}
}
}
for(int i:buf)
System.out.println("buf[i]"+" ");
}
}
| [
"sist@DESKTOP-SM05CIM"
]
| sist@DESKTOP-SM05CIM |
bd2d36ed52aae9628f5bb22dc4852d43ce13664a | f766da239d8b3fdee881c4c652e72df1e1de6e81 | /app/src/main/java/com/suchi/flipcardanimationlist/MainActivity.java | 45f59a7bf94a94157424c787d953ad7be84dafcc | []
| no_license | imuur/RecycleViewFlipCardAnimation | 255c050d9ae31f9b782543b3283366acdb3ed3af | 70cd7e09a094eda721dc9c018bb78e31d4a46231 | refs/heads/master | 2020-04-28T11:31:55.059397 | 2018-07-05T15:54:32 | 2018-07-05T15:54:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,088 | java | package com.suchi.flipcardanimationlist;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import org.greenrobot.eventbus.EventBus;
import java.util.ArrayList;
public class MainActivity extends AppCompatActivity {
private Button btn_flip;
private RecyclerView list;
private ArrayList<ListData> arrayList;
public static boolean isFront = false;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
btn_flip = findViewById(R.id.btn_flip);
list = findViewById(R.id.rc_list);
setList();
FlipListener();
setAdapter();
}
private void setList() {
arrayList = new ArrayList<>();
for (int i = 0; i < 10; i++) {
ListData data = new ListData();
data.setBackText("Byee");
data.setFrontText("Hi");
arrayList.add(data);
}
}
private void setAdapter() {
list.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false));
list.setHasFixedSize(true);
ListAdapter adapter = new ListAdapter(this, arrayList);
list.addItemDecoration(new DividerItemDecoration(this, DividerItemDecoration.VERTICAL_LIST));
list.setAdapter(adapter);
}
private void FlipListener() {
btn_flip.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
EventData data = new EventData();
if (isFront) {
isFront = false;
data.setFront(false);
} else {
isFront = true;
data.setFront(true);
}
data.setPosition(0);
EventBus.getDefault().post(data);
}
});
}
}
| [
"[email protected]"
]
| |
8c425d8431a9bc910bf0a4511805b9e43fa1946b | 7ca9b609bbea135d137139e94e03e760ab4b78c7 | /src/lib/TableColumnAdjuster.java | 3c9ac36dca8021cc04dd4aa187fc9587d6513d0a | []
| no_license | theBunt/3BallSplitBowling | 4ab00ab926d0aaa58f993175167c1a2da03e0c7b | fab354e19a533541bbf1963f15b208498f25f397 | refs/heads/master | 2021-01-16T19:44:24.221231 | 2015-03-20T16:53:47 | 2015-03-20T16:53:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 12,315 | java | package lib;
import java.awt.*;
import java.awt.event.*;
import java.beans.*;
import java.util.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.table.*;
/*
* Class to manage the widths of colunmns in a table.
*
* Various properties control how the width of the column is calculated.
* Another property controls whether column width calculation should be dynamic.
* Finally, various Actions will be added to the table to allow the user
* to customize the functionality.
*
* This class was designed to be used with tables that use an auto resize mode
* of AUTO_RESIZE_OFF. With all other modes you are constrained as the width
* of the columns must fit inside the table. So if you increase one column, one
* or more of the other columns must decrease. Because of this the resize mode
* of RESIZE_ALL_COLUMNS will work the best.
*/
public class TableColumnAdjuster implements PropertyChangeListener, TableModelListener
{
private JTable table;
private int spacing;
private boolean isColumnHeaderIncluded;
private boolean isColumnDataIncluded;
private boolean isOnlyAdjustLarger;
private boolean isDynamicAdjustment;
private Map<TableColumn, Integer> columnSizes = new HashMap<TableColumn, Integer>();
/*
* Specify the table and use default spacing
*/
public TableColumnAdjuster(JTable table)
{
this(table, 20);
}
/*
* Specify the table and spacing
*/
public TableColumnAdjuster(JTable table, int spacing)
{
this.table = table;
this.spacing = spacing;
setColumnHeaderIncluded( true );
setColumnDataIncluded( true );
setOnlyAdjustLarger( false );
setDynamicAdjustment( false );
installActions();
}
/*
* Adjust the widths of all the columns in the table
*/
public void adjustColumns()
{
TableColumnModel tcm = table.getColumnModel();
for (int i = 0; i < tcm.getColumnCount(); i++)
{
adjustColumn(i);
}
}
/*
* Adjust the width of the specified column in the table
*/
public void adjustColumn(final int column)
{
TableColumn tableColumn = table.getColumnModel().getColumn(column);
if (! tableColumn.getResizable()) return;
int columnHeaderWidth = getColumnHeaderWidth( column );
int columnDataWidth = getColumnDataWidth( column );
int preferredWidth = Math.max(columnHeaderWidth, columnDataWidth);
updateTableColumn(column, preferredWidth);
}
/*
* Calculated the width based on the column name
*/
private int getColumnHeaderWidth(int column)
{
if (! isColumnHeaderIncluded) return 0;
TableColumn tableColumn = table.getColumnModel().getColumn(column);
Object value = tableColumn.getHeaderValue();
TableCellRenderer renderer = tableColumn.getHeaderRenderer();
if (renderer == null)
{
renderer = table.getTableHeader().getDefaultRenderer();
}
Component c = renderer.getTableCellRendererComponent(table, value, false, false, -1, column);
return c.getPreferredSize().width;
}
/*
* Calculate the width based on the widest cell renderer for the
* given column.
*/
private int getColumnDataWidth(int column)
{
if (! isColumnDataIncluded) return 0;
int preferredWidth = 0;
int maxWidth = table.getColumnModel().getColumn(column).getMaxWidth();
for (int row = 0; row < table.getRowCount(); row++)
{
preferredWidth = Math.max(preferredWidth, getCellDataWidth(row, column));
// We've exceeded the maximum width, no need to check other rows
if (preferredWidth >= maxWidth)
break;
}
return preferredWidth;
}
/*
* Get the preferred width for the specified cell
*/
private int getCellDataWidth(int row, int column)
{
// Inovke the renderer for the cell to calculate the preferred width
TableCellRenderer cellRenderer = table.getCellRenderer(row, column);
Component c = table.prepareRenderer(cellRenderer, row, column);
int width = c.getPreferredSize().width + table.getIntercellSpacing().width;
return width;
}
/*
* Update the TableColumn with the newly calculated width
*/
private void updateTableColumn(int column, int width)
{
final TableColumn tableColumn = table.getColumnModel().getColumn(column);
if (! tableColumn.getResizable()) return;
width += spacing;
// Don't shrink the column width
if (isOnlyAdjustLarger)
{
width = Math.max(width, tableColumn.getPreferredWidth());
}
columnSizes.put(tableColumn, new Integer(tableColumn.getWidth()));
table.getTableHeader().setResizingColumn(tableColumn);
tableColumn.setWidth(width);
}
/*
* Restore the widths of the columns in the table to its previous width
*/
public void restoreColumns()
{
TableColumnModel tcm = table.getColumnModel();
for (int i = 0; i < tcm.getColumnCount(); i++)
{
restoreColumn(i);
}
}
/*
* Restore the width of the specified column to its previous width
*/
private void restoreColumn(int column)
{
TableColumn tableColumn = table.getColumnModel().getColumn(column);
Integer width = columnSizes.get(tableColumn);
if (width != null)
{
table.getTableHeader().setResizingColumn(tableColumn);
tableColumn.setWidth( width.intValue() );
}
}
/*
* Indicates whether to include the header in the width calculation
*/
public void setColumnHeaderIncluded(boolean isColumnHeaderIncluded)
{
this.isColumnHeaderIncluded = isColumnHeaderIncluded;
}
/*
* Indicates whether to include the model data in the width calculation
*/
public void setColumnDataIncluded(boolean isColumnDataIncluded)
{
this.isColumnDataIncluded = isColumnDataIncluded;
}
/*
* Indicates whether columns can only be increased in size
*/
public void setOnlyAdjustLarger(boolean isOnlyAdjustLarger)
{
this.isOnlyAdjustLarger = isOnlyAdjustLarger;
}
/*
* Indicate whether changes to the model should cause the width to be
* dynamically recalculated.
*/
public void setDynamicAdjustment(boolean isDynamicAdjustment)
{
// May need to add or remove the TableModelListener when changed
if (this.isDynamicAdjustment != isDynamicAdjustment)
{
if (isDynamicAdjustment)
{
table.addPropertyChangeListener( this );
table.getModel().addTableModelListener( this );
}
else
{
table.removePropertyChangeListener( this );
table.getModel().removeTableModelListener( this );
}
}
this.isDynamicAdjustment = isDynamicAdjustment;
}
//
// Implement the PropertyChangeListener
//
public void propertyChange(PropertyChangeEvent e)
{
// When the TableModel changes we need to update the listeners
// and column widths
if ("model".equals(e.getPropertyName()))
{
TableModel model = (TableModel)e.getOldValue();
model.removeTableModelListener( this );
model = (TableModel)e.getNewValue();
model.addTableModelListener( this );
adjustColumns();
}
}
//
// Implement the TableModelListener
//
public void tableChanged(TableModelEvent e)
{
if (! isColumnDataIncluded) return;
// A cell has been updated
if (e.getType() == TableModelEvent.UPDATE)
{
int column = table.convertColumnIndexToView(e.getColumn());
// Only need to worry about an increase in width for this cell
if (isOnlyAdjustLarger)
{
int row = e.getFirstRow();
TableColumn tableColumn = table.getColumnModel().getColumn(column);
if (tableColumn.getResizable())
{
int width = getCellDataWidth(row, column);
updateTableColumn(column, width);
}
}
// Could be an increase of decrease so check all rows
else
{
adjustColumn( column );
}
}
// The update affected more than one column so adjust all columns
else
{
adjustColumns();
}
}
/*
* Install Actions to give user control of certain functionality.
*/
private void installActions()
{
installColumnAction(true, true, "adjustColumn", "control ADD");
installColumnAction(false, true, "adjustColumns", "control shift ADD");
installColumnAction(true, false, "restoreColumn", "control SUBTRACT");
installColumnAction(false, false, "restoreColumns", "control shift SUBTRACT");
installToggleAction(true, false, "toggleDynamic", "control MULTIPLY");
installToggleAction(false, true, "toggleLarger", "control DIVIDE");
}
/*
* Update the input and action maps with a new ColumnAction
*/
private void installColumnAction(
boolean isSelectedColumn, boolean isAdjust, String key, String keyStroke)
{
Action action = new ColumnAction(isSelectedColumn, isAdjust);
KeyStroke ks = KeyStroke.getKeyStroke( keyStroke );
table.getInputMap().put(ks, key);
table.getActionMap().put(key, action);
}
/*
* Update the input and action maps with new ToggleAction
*/
private void installToggleAction(
boolean isToggleDynamic, boolean isToggleLarger, String key, String keyStroke)
{
Action action = new ToggleAction(isToggleDynamic, isToggleLarger);
KeyStroke ks = KeyStroke.getKeyStroke( keyStroke );
table.getInputMap().put(ks, key);
table.getActionMap().put(key, action);
}
/*
* Action to adjust or restore the width of a single column or all columns
*/
class ColumnAction extends AbstractAction
{
private boolean isSelectedColumn;
private boolean isAdjust;
public ColumnAction(boolean isSelectedColumn, boolean isAdjust)
{
this.isSelectedColumn = isSelectedColumn;
this.isAdjust = isAdjust;
}
@Override
public void actionPerformed(ActionEvent e)
{
// Handle selected column(s) width change actions
if (isSelectedColumn)
{
int[] columns = table.getSelectedColumns();
for (int i = 0; i < columns.length; i++)
{
if (isAdjust)
adjustColumn(columns[i]);
else
restoreColumn(columns[i]);
}
}
else
{
if (isAdjust)
adjustColumns();
else
restoreColumns();
}
}
}
/*
* Toggle properties of the TableColumnAdjuster so the user can
* customize the functionality to their preferences
*/
class ToggleAction extends AbstractAction
{
private boolean isToggleDynamic;
private boolean isToggleLarger;
public ToggleAction(boolean isToggleDynamic, boolean isToggleLarger)
{
this.isToggleDynamic = isToggleDynamic;
this.isToggleLarger = isToggleLarger;
}
@Override
public void actionPerformed(ActionEvent e)
{
if (isToggleDynamic)
{
setDynamicAdjustment(! isDynamicAdjustment);
return;
}
if (isToggleLarger)
{
setOnlyAdjustLarger(! isOnlyAdjustLarger);
return;
}
}
}
} | [
"[email protected]"
]
| |
8dbc1bb865f2b3b82af2e985791e6e7ae15c88bb | 1349e8fab61dfbdcf4900fcd1c20edf9d018a266 | /persistence/src/main/java/fi/foyt/fni/persistence/dao/chat/MultiUserChatMessageDAO.java | c1906b2173d84801f25c3f903c0058424aaa4a93 | []
| no_license | anttileppa/fni | a4d7d44590d0ad4db4fd0622a8342c8cefbbba1b | 2ae833883e40389d14431b85d70288e8ea02e9b9 | refs/heads/master | 2021-01-18T16:55:46.616122 | 2013-11-15T03:47:47 | 2013-11-15T03:47:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,354 | java | package fi.foyt.fni.persistence.dao.chat;
import java.util.Date;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Root;
import fi.foyt.fni.persistence.dao.DAO;
import fi.foyt.fni.persistence.dao.GenericDAO;
import fi.foyt.fni.persistence.model.chat.MultiUserChatMessage;
import fi.foyt.fni.persistence.model.chat.MultiUserChatMessage_;
import fi.foyt.fni.persistence.model.chat.XmppUser;
@DAO
public class MultiUserChatMessageDAO extends GenericDAO<MultiUserChatMessage> {
private static final long serialVersionUID = 1L;
MultiUserChatMessageDAO() {
}
public MultiUserChatMessage create(String roomJid, XmppUser from, String body, String subject, Date sent) {
MultiUserChatMessage multiUserChatMessage = new MultiUserChatMessage();
multiUserChatMessage.setBody(body);
multiUserChatMessage.setFrom(from);
multiUserChatMessage.setSent(sent);
multiUserChatMessage.setSubject(subject);
multiUserChatMessage.setRoomJid(roomJid);
getEntityManager().persist(multiUserChatMessage);
return multiUserChatMessage;
}
public List<MultiUserChatMessage> listByRoomJid(String roomJid) {
EntityManager entityManager = getEntityManager();
CriteriaBuilder criteriaBuilder = entityManager.getCriteriaBuilder();
CriteriaQuery<MultiUserChatMessage> criteria = criteriaBuilder.createQuery(MultiUserChatMessage.class);
Root<MultiUserChatMessage> root = criteria.from(MultiUserChatMessage.class);
criteria.select(root);
criteria.where(criteriaBuilder.equal(root.get(MultiUserChatMessage_.roomJid), roomJid));
return entityManager.createQuery(criteria).getResultList();
}
public Long countByTo(String roomJid) {
EntityManager entityManager = getEntityManager();
CriteriaBuilder criteriaBuilder = entityManager.getCriteriaBuilder();
CriteriaQuery<Long> criteria = criteriaBuilder.createQuery(Long.class);
Root<MultiUserChatMessage> root = criteria.from(MultiUserChatMessage.class);
criteria.select(criteriaBuilder.count(root));
criteria.where(criteriaBuilder.equal(root.get(MultiUserChatMessage_.roomJid), roomJid));
return entityManager.createQuery(criteria).getSingleResult();
}
} | [
"[email protected]"
]
| |
a0709df1594268c6a8aa9f69317771c8d3ffd0ef | d1d8b2d917cfa3112ae6a01487731ea7075180a3 | /Algorithms/Binary Search/Practice/Aggressive Cows/App.java | b6dd9a50cd716ff87dee0e0e5d87601b36f86f07 | []
| no_license | pancakewaffles/Stuff-I-learnt | de020cd18acd4099af2870346a94eca995ae909c | c1b079bfa79531216daff490384e836aac5ad381 | refs/heads/master | 2021-03-26T17:18:15.947953 | 2018-04-17T07:35:32 | 2018-04-17T07:35:32 | 129,332,669 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,754 | java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class App {
// F(x,pos[],C) is a function which returns 1 if it is possible to place C cows with a min distance of x
private static int F(int x, int[] pos,int C){
int cowsplaced = 1, lastpos = pos[0];
for(int i = 0;i<pos.length;i++){
if((pos[i] - lastpos) >= x){
cowsplaced++;
if(cowsplaced == C){
return 1;
}else{
lastpos=pos[i];
}
}
}
return 0;
}
private static int bin_search(int[] pos,int left, int right, int C)
{
if(right-left>1){
int mid = left + (right-left)/2;
if( F(mid,pos,C) == 1 ){ // In the right side or at mid
return bin_search(pos,mid,right,C);
}
if( F(mid,pos,C) == 0){ // In the left side
return bin_search(pos,left,mid-1,C);
}
}
if(F(right,pos,C)==1){
return right;
}else{
return left;
}
}
public static void main(String[] args) {
//Modified bin_search
try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
int T = Integer.parseInt(br.readLine());
while(T>0){
String[] s = br.readLine().split("\\s+");
int N = Integer.parseInt(s[0]); // Number of stalls
int C = Integer.parseInt(s[1]); // Number of cows
int[] posCowStalls = new int[N];
for(int i = 0;i<N;i++){
posCowStalls[i] = Integer.parseInt(br.readLine());
}
Arrays.sort(posCowStalls);
int maxDiff = posCowStalls[N-1]-posCowStalls[0];
int ans = bin_search(posCowStalls,0,maxDiff,C);
System.out.println(ans);
T--;
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
};
}
}
| [
"[email protected]"
]
| |
5b47daa5e47f9ec046644f2ddf73c9d7b069a41c | 8d3372f4a8ba7f49e0531fd0716d47c53a86fb17 | /Interfaces/src/JavaInterfaces/TestInterface.java | 1720e330623ad4a41f34c3e40f27bf1568fcdf50 | []
| no_license | arpitnaugraiya/Java-Tutorials | a91b43f77f4d21dd7d9eb6e8ff8106d7528d91c4 | 7d21af401706b1233cd151bcd35ed4adb71ee4fe | refs/heads/master | 2021-01-11T20:24:07.721725 | 2017-01-17T17:19:52 | 2017-01-17T17:19:52 | 79,109,655 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 307 | java | package JavaInterfaces;
/**
* Created by arpit on 10/1/17.
*/
public class TestInterface {
public static void main(String []args){
RectanglePlus rp1 = new RectanglePlus(10,20);
RectanglePlus rp2 = new RectanglePlus(10,15);
System.out.println(rp1.isLargerThan(rp2));
}
}
| [
"sonu,[email protected]"
]
| sonu,[email protected] |
a4543b93629018e65d2bc85c5721cf9193b12229 | c4c321beed135313d811fc350322bf38bddfa82c | /common-library/src/main/java/com/jinyi/ihome/module/owner/UserRoomTo.java | 84bb1a37feac06cc572aa6e2b737c236893a3864 | []
| no_license | hupulin/joyProperty | ebf97ef80d28ec03de0df9bb13afdaf02ea540de | a0336ca57b44a997bde6299f2c2e05deea6a1555 | refs/heads/master | 2021-09-04T11:35:18.404336 | 2017-12-27T02:00:23 | 2017-12-27T02:00:23 | 113,118,715 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 2,477 | java | /* */ package com.jinyi.ihome.module.owner;
/* */
/* */ import java.io.Serializable;
/* */ import java.math.BigDecimal;
/* */
/* */ public class UserRoomTo
/* */ implements Serializable
/* */ {
/* */ private String roomNo;
/* */ private BigDecimal roomArea;
/* */ private BigDecimal yearPrice;
/* */
/* */ public String getRoomNo()
/* */ {
/* 15 */ return this.roomNo;
/* */ }
/* 17 */ public BigDecimal getRoomArea() { return this.roomArea; }
/* */ public BigDecimal getYearPrice() {
/* 19 */ return this.yearPrice;
/* */ }
/* */
/* */ public void setRoomNo(String roomNo)
/* */ {
/* 12 */ this.roomNo = roomNo; }
/* 12 */ public void setRoomArea(BigDecimal roomArea) { this.roomArea = roomArea; }
/* 12 */ public void setYearPrice(BigDecimal yearPrice) { this.yearPrice = yearPrice; }
/* 12 */ public boolean equals(Object o) { if (o == this) return true; if (!(o instanceof UserRoomTo)) return false; UserRoomTo other = (UserRoomTo)o; if (!other.canEqual(this)) return false; Object this$roomNo = getRoomNo(); Object other$roomNo = other.getRoomNo(); if (this$roomNo == null ? other$roomNo != null : !this$roomNo.equals(other$roomNo)) return false; Object this$roomArea = getRoomArea(); Object other$roomArea = other.getRoomArea(); if (this$roomArea == null ? other$roomArea != null : !this$roomArea.equals(other$roomArea)) return false; Object this$yearPrice = getYearPrice(); Object other$yearPrice = other.getYearPrice(); return this$yearPrice == null ? other$yearPrice == null : this$yearPrice.equals(other$yearPrice); }
/* 12 */ protected boolean canEqual(Object other) { return other instanceof UserRoomTo; }
/* 12 */ public int hashCode() { int PRIME = 59; int result = 1; Object $roomNo = getRoomNo(); result = result * 59 + ($roomNo == null ? 0 : $roomNo.hashCode()); Object $roomArea = getRoomArea(); result = result * 59 + ($roomArea == null ? 0 : $roomArea.hashCode()); Object $yearPrice = getYearPrice(); result = result * 59 + ($yearPrice == null ? 0 : $yearPrice.hashCode()); return result; }
/* 12 */ public String toString() { return "UserRoomTo(roomNo=" + getRoomNo() + ", roomArea=" + getRoomArea() + ", yearPrice=" + getYearPrice() + ")"; }
/* */
/* */ }
/* Location: C:\Users\xzz\Desktop\ๆฐๅปบๆไปถๅคน\ihome-to-1.0.jar
* Qualified Name: com.jinyi.ihome.module.owner.UserRoomTo
* JD-Core Version: 0.6.2
*/ | [
"[email protected]"
]
| |
82018f4c165ae7ebd672fafd296c949a4dadaece | 902c09971de602c6d704743460f3cbc6672b780f | /app/src/main/java/com/example/shootingranges/BasicActivity.java | e2be0ab7797f45fb06b9581015bde65de016c1f4 | []
| no_license | BijalPatel1/Master-of-Arms | 9b69eea497f85d5991d6cd8b60efddd317a006fe | 5cdf4d4c4b5c35c85206e10d1da57efed1fc5c50 | refs/heads/master | 2022-11-12T01:32:11.838514 | 2020-07-07T05:50:24 | 2020-07-07T05:50:24 | 273,166,157 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,728 | java | package com.example.shootingranges;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.telephony.SmsManager;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
public class BasicActivity extends AppCompatActivity {
public String id,name,email,phone;
Button apply;
int minteger = 1;
//final int SEND_SMS_PERMISSION_REQUEST_CODE=1;
DatabaseHelper db;
String path;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_basic);
setTitle("Basic Course Details");
getSupportActionBar().setBackgroundDrawable(new ColorDrawable(getResources().getColor(R.color.black)));
db=new DatabaseHelper(this);
Intent intent=getIntent();
id=intent.getStringExtra("Id");
name=intent.getStringExtra("Name");
email=intent.getStringExtra("Email");
phone=intent.getStringExtra("Phone");
apply=(Button)findViewById(R.id.btnApply);
apply.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
//apply.setEnabled(false);
/*if(checkPermission(Manifest.permission.SEND_SMS))
{
apply.setEnabled(true);
}
else
{
ActivityCompat.requestPermissions(this,new String[]{Manifest.permission.SEND_SMS},SEND_SMS_PERMISSION_REQUEST_CODE);
}*/
//public void basicCourse(View view)
//{
minteger = minteger + 1;
if(minteger>2)
{
Toast.makeText(getApplicationContext(), "Already Applied for the Basic Course!!!", Toast.LENGTH_SHORT).show();
Intent intent = new Intent(BasicActivity.this, BasicActivity2.class);
intent.putExtra("Id", id);
intent.putExtra("Name", name);
intent.putExtra("Phone", phone);
startActivity(intent);
}
else
{
Boolean course = db.updateData(id);
if (course == true) {
/*if(checkPermission(Manifest.permission.SEND_SMS)) {
SmsManager smsManager = SmsManager.getDefault();*/
// Toast.makeText(this, "Message sent", Toast.LENGTH_SHORT).show();
//Email Code
new Thread(new Runnable() {
public void run() {
try {
GmailSender sender = new GmailSender(
"[email protected]",
"Ptks@12345");
//sender.addAttachment(Environment.DIRECTORY_PICTURES.concat(path));
//Toast.makeText(getApplicationContext(),"s",Toast.LENGTH_LONG).show();
sender.sendMail("Confirmation Enrollment of Basic Course", "Successfully applied for the Basic Cousre. ",
"[email protected]",
email);
// Toast.makeText(getApplicationContext(),"Mail is sent",Toast.LENGTH_LONG).show();
} catch (Exception e) {
Toast.makeText(getApplicationContext(), "Error", Toast.LENGTH_LONG).show();
}
}
}).start();
Intent intent = new Intent(BasicActivity.this, BasicActivity2.class);
intent.putExtra("Id", id);
intent.putExtra("Name", name);
intent.putExtra("Phone", phone);
//smsManager.sendTextMessage(phone,null,"PTKS Institute\nApplied Successfully for Basic Course.",null,null);
startActivity(intent);
}
else
{
//Toast.makeText(this,"Permission sent",Toast.LENGTH_SHORT).show();
Toast.makeText(getApplicationContext(),"Cant send mail",Toast.LENGTH_LONG).show();
}
// }
}
}
});
}
}
/* public boolean checkPermission(String permission)
{
int check= ContextCompat.checkSelfPermission(this,permission);
return (check== PackageManager.PERMISSION_GRANTED);
}*/
//}
| [
"[email protected]"
]
| |
5b09be9e83dec0c883d25d9d8d264b8ed5fec9e6 | c4a9f6e8b5f8cf9fef4268d58315982b37ea65b1 | /src/main/java/org/com/thread/c3/t1/MyList.java | 7f7bf4828dbafd62a1cceaf1fcfc6ac639215601 | []
| no_license | aizijie123456/muggle | a2333994972a83a4959aec18c51a7a673a105ab0 | 841188e722987919630034ffc86d6eb9d1901524 | refs/heads/master | 2022-12-26T21:11:36.759912 | 2017-07-21T09:05:38 | 2017-07-21T09:05:38 | 97,208,698 | 0 | 0 | null | 2022-12-16T11:45:16 | 2017-07-14T07:56:50 | Java | UTF-8 | Java | false | false | 252 | java | package org.com.thread.c3.t1;
import java.util.ArrayList;
import java.util.List;
public class MyList {
private List<Object> list = new ArrayList();
public void add() {
list.add("aizijie");
}
public int getSize() {
return list.size();
}
}
| [
"[email protected]"
]
| |
70af97045e7386821d7b1aa250018400da462bcd | 3073dbece206d792a2f66e828adc31b0f957cfcf | /easy-common/src/main/java/com/nf/easybuy/exception/DatabaseDataRuntimeException.java | 368593738e55d1fbceab924b2702cf47c9141e81 | []
| no_license | mike-system/idea_text | e36d8c19669b398f64a9dc9f437e425c95ed7857 | 8add30ac5ed4838be02af5d0341f4fa0c0a59f68 | refs/heads/master | 2022-12-26T04:28:42.151376 | 2019-12-15T14:18:05 | 2019-12-15T14:18:05 | 228,187,034 | 0 | 0 | null | 2022-12-16T02:42:12 | 2019-12-15T13:16:11 | JavaScript | UTF-8 | Java | false | false | 375 | java | package com.nf.easybuy.exception;
/**
* Created with IntelliJ IDEA.
* Description:
* User: nongfu ๅๅคซ
* Date: 2019-11-12
* Time: 14:53
*/
public class DatabaseDataRuntimeException extends RuntimeException {
public DatabaseDataRuntimeException() {
super();
}
public DatabaseDataRuntimeException(String message) {
super(message);
}
}
| [
"[email protected]"
]
| |
2b1ab5a8f82c0c51b327d9fe717d4fe729f6e156 | ba5052f12571d87ed9870bbf13c79c73e0402dc6 | /src/main/java/razmo/apps/PlayerWindow.java | b4a1b22734b45ede2bd32b5c8042f6f90fd0d111 | [
"MIT"
]
| permissive | xedaros/JMediaPlayer | 289c40d376cf275ec4c06ceb3ff026172862832f | 91d1cdafe6ca50f86b7a3aa6ef3c3747523f13fd | refs/heads/master | 2021-01-25T06:36:37.715990 | 2014-04-08T14:20:26 | 2014-04-08T14:20:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 16,879 | java | package razmo.apps;
import java.awt.Component;
import java.awt.Frame;
import java.io.File;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.FileDialog;
import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.TableItem;
import org.eclipse.swt.awt.SWT_AWT;
import org.eclipse.swt.custom.StackLayout;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.wb.swt.SWTResourceManager;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.MenuItem;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.events.*;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormAttachment;
import org.eclipse.swt.layout.FillLayout;
public class PlayerWindow
{
private Shell shell = null;
private Display display = null;
private Button btnPlay = null;
private Button btnStop = null;
private Button btnPrevious = null;
private Button btnNext = null;
private Button btnSwitch = null;
private Table playlistView = null;
private Frame screenFrame = null;
private MenuItem mntmAddSongs = null;
private MenuItem mntmQuit = null;
private MenuItem mntmDelete = null;
private MenuItem mntmPlay = null;
private Composite main_composite = null;
private Composite screen_composite = null;
private Composite playlist_composite = null;
private StackLayout main_composite_layout = null;
private FormData fd_main_composite = null;
private FormData fd_screen_composite = null;
private FormData fd_controle_composite = null;
private boolean display_playlist = true;
/**
* Open the window.
*/
public void open()
{
display = Display.getDefault();
createContents();
createListeners();
shell.open();
shell.layout();
while (!shell.isDisposed())
{
if (!display.readAndDispatch())
{
display.sleep();
}
}
}
/**
* Create contents of the window.
* @wbp.parser.entryPoint
*/
protected void createContents()
{
shell = new Shell(display, SWT.SHELL_TRIM);
shell.setMinimumSize(new Point(600, 400));
shell.setSize(450, 300);
shell.setText("Sound Player");
shell.setLayout(new FormLayout());
fd_main_composite = new FormData();
fd_main_composite.bottom = new FormAttachment(0, 300);
fd_main_composite.right = new FormAttachment(0, 600);
fd_main_composite.top = new FormAttachment(0);
fd_main_composite.left = new FormAttachment(0);
main_composite = new Composite(shell, SWT.NONE);
main_composite_layout = new StackLayout();
main_composite.setLayout(main_composite_layout);
main_composite.setLayoutData(fd_main_composite);
playlist_composite = new Composite(main_composite, SWT.NONE);
GridLayout gl_playlist_composite = new GridLayout(1, false);
gl_playlist_composite.marginRight = 6;
gl_playlist_composite.verticalSpacing = 0;
gl_playlist_composite.marginWidth = 0;
gl_playlist_composite.marginHeight = 0;
gl_playlist_composite.horizontalSpacing = 0;
playlist_composite.setLayout(gl_playlist_composite);
playlistView = new Table(playlist_composite, SWT.BORDER | SWT.FULL_SELECTION);
GridData gd_playlistView = new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1);
gd_playlistView.heightHint = 318;
playlistView.setLayoutData(gd_playlistView);
playlistView.setLinesVisible(true);
TableColumn NameColumn = new TableColumn(playlistView, SWT.NONE);
NameColumn.setResizable(false);
NameColumn.setWidth(569);
NameColumn.setText("Name");
Menu menu_3 = new Menu(playlistView);
playlistView.setMenu(menu_3);
mntmPlay = new MenuItem(menu_3, SWT.NONE);
mntmPlay.setText("Play");
mntmDelete = new MenuItem(menu_3, SWT.NONE);
mntmDelete.setText("Delete");
Composite controle_composite = new Composite(shell, SWT.NONE);
fd_controle_composite = new FormData();
fd_controle_composite.bottom = new FormAttachment(0, 350);
fd_controle_composite.right = new FormAttachment(0, 600);
fd_controle_composite.top = new FormAttachment(0, 300);
fd_controle_composite.left = new FormAttachment(0);
controle_composite.setLayoutData(fd_controle_composite);
controle_composite.setLayout(new GridLayout(6, false));
switchToPlaylist();
btnPlay = new Button(controle_composite, SWT.NONE);
btnPlay.setEnabled(false);
btnPlay.setImage(SWTResourceManager.getImage("/home/jamal/Development/java/JMediaPlayer/images/play.png"));
btnStop = new Button(controle_composite, SWT.NONE);
btnStop.setEnabled(false);
btnStop.setImage(SWTResourceManager.getImage("/home/jamal/Development/java/JMediaPlayer/images/stop.png"));
btnPrevious = new Button(controle_composite, SWT.NONE);
btnPrevious.setEnabled(false);
btnPrevious.setImage(SWTResourceManager.getImage("/home/jamal/Development/java/JMediaPlayer/images/skip_previous.png"));
btnNext = new Button(controle_composite, SWT.NONE);
btnNext.setEnabled(false);
btnNext.setImage(SWTResourceManager.getImage("/home/jamal/Development/java/JMediaPlayer/images/skip_next.png"));
btnSwitch = new Button(controle_composite, SWT.NONE);
btnSwitch.setEnabled(false);
btnSwitch.setImage(SWTResourceManager.getImage("/home/jamal/Development/java/JMediaPlayer/images/list_2.png"));
btnSwitch.setVisible(true);
Composite composite = new Composite(controle_composite, SWT.NONE);
composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
composite.setLayout(new FillLayout(SWT.HORIZONTAL));
Menu menu = new Menu(shell, SWT.BAR);
shell.setMenuBar(menu);
MenuItem mntmFile_1 = new MenuItem(menu, SWT.CASCADE);
mntmFile_1.setText("File");
Menu menu_2 = new Menu(mntmFile_1);
mntmFile_1.setMenu(menu_2);
mntmAddSongs = new MenuItem(menu_2, SWT.NONE);
mntmAddSongs.setText("Add media");
mntmAddSongs.setAccelerator(SWT.CTRL+'O');
new MenuItem(menu_2, SWT.SEPARATOR);
mntmQuit = new MenuItem(menu_2, SWT.NONE);
mntmQuit.setText("Quit");
}
protected void resize()
{
Integer width = shell.getBounds().width;
Integer height = shell.getBounds().height;
fd_main_composite.bottom = new FormAttachment(0, height - 100);
fd_main_composite.right = new FormAttachment(0, width);
fd_controle_composite.top = new FormAttachment(0, height - 100);
fd_controle_composite.right = new FormAttachment(0, width - 5);
fd_controle_composite.bottom = new FormAttachment(0, height - 50);
}
protected void switchToScreen()
{
main_composite_layout.topControl = screen_composite;
main_composite.layout();
display_playlist = false;
}
protected void switchToPlaylist()
{
main_composite_layout.topControl = playlist_composite;
main_composite.layout();
display_playlist = true;
}
protected void createListeners()
{
shell.addControlListener(new ControlAdapter() {
@Override
public void controlResized(ControlEvent e) {
resize();
}
});
mntmPlay.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
}
});
mntmDelete.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
Integer id = playlistView.getSelectionIndex();
MediaPlayer.getInstance().getPlaylist().removeMedium(id);
playlistView.remove(id);
}
});
btnSwitch.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
if (display_playlist)
{
switchToScreen();
}
else
{
switchToPlaylist();
}
}
});
playlistView.addMouseListener(new MouseAdapter() {
@Override
public void mouseDoubleClick(MouseEvent e) {
playlistPlay();
}
});
btnPlay.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent arg0) {
playlistPlay();
}
});
btnNext.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
playlistViewNext();
}
});
btnPrevious.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
playlistViewPrevious();
}
});
btnStop.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent arg0) {
MediaPlayer.getInstance().stop();
btnStop.setEnabled(false);
btnPrevious.setEnabled(false);
btnNext.setEnabled(false);
btnPlay.setEnabled(false);
btnSwitch.setEnabled(false);
if (MediaPlayer.getInstance().getPlaylist().count() > 0)
{
btnPlay.setEnabled(true);
}
switchToPlaylist();
screenFrame.dispose();
screen_composite.dispose();
btnPlay.setImage(SWTResourceManager.getImage("/home/jamal/Development/java/JMediaPlayer/images/play.png"));
}
});
shell.addDisposeListener(new DisposeListener() {
public void widgetDisposed(DisposeEvent arg0) {
MediaPlayer.getInstance().stop();
screenFrame.dispose();
screen_composite.dispose();
try
{
MediaPlayer.getInstance().finalize();
}
catch (Throwable e)
{
}
}
});
mntmQuit.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
shell.close();
}
});
mntmAddSongs.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent arg0) {
FileDialog fileDialog = new FileDialog(shell, SWT.MULTI);
String extensions[] = {"*.avi;*.mp3"};
fileDialog.setFilterExtensions(extensions);
fileDialog.open();
String files[] = fileDialog.getFileNames();
String directory = fileDialog.getFilterPath();
for (String file : files)
{
String path = directory+File.separator+file;
if (MediaPlayer.getInstance().getPlaylist().hasMedium(path) == false)
{
TableItem item = new TableItem(playlistView, SWT.None);
String[] data = {file};
item.setText(data);
Integer id = playlistView.indexOf(item);
MediaPlayer.getInstance().getPlaylist().addMedium(id, file, path);
}
}
if (MediaPlayer.getInstance().getPlaylist().count() > 0)
{
btnPlay.setEnabled(true);
}
}
});
}
public void playlistPlay()
{
if (playlistView.getItemCount() != 0)
{
Integer index = playlistView.getSelectionIndex();
if (index == -1)
{
index = 0;
playlistView.select(index);
}
if (MediaPlayer.getInstance().getPlaylist().hasMedium(index))
{
if (index == MediaPlayer.getInstance().getPlaylist().getCurrent() && MediaPlayer.getInstance().hasPlayerInstance())
{
if (MediaPlayer.getInstance().isPause())
{
MediaPlayer.getInstance().play();
btnPlay.setImage(SWTResourceManager.getImage("/home/jamal/Development/java/JMediaPlayer/images/pause.png"));
}
else
{
MediaPlayer.getInstance().pause();
btnPlay.setImage(SWTResourceManager.getImage("/home/jamal/Development/java/JMediaPlayer/images/play.png"));
}
}
else
{
MediaPlayer.getInstance().stop();
if (MediaPlayer.getInstance().initPlayer(index))
{
Component media_visual = MediaPlayer.getInstance().getVisual();
if (media_visual != null)
{
screen_composite = new Composite(main_composite, SWT.BACKGROUND | SWT.EMBEDDED);
fd_screen_composite = new FormData();
fd_screen_composite.bottom = new FormAttachment(0, 300);
fd_screen_composite.left = new FormAttachment(0);
fd_screen_composite.top = new FormAttachment(0);
fd_screen_composite.right = new FormAttachment(0, 600);
screen_composite.setLayoutData(fd_screen_composite);
screenFrame = SWT_AWT.new_Frame(screen_composite);
screenFrame.add(media_visual);
switchToScreen();
btnSwitch.setEnabled(true);
}
else
{
btnSwitch.setEnabled(false);
}
MediaPlayer.getInstance().play();
btnPlay.setImage(SWTResourceManager.getImage("/home/jamal/Development/java/JMediaPlayer/images/pause.png"));
btnStop.setEnabled(true);
btnPrevious.setEnabled(true);
btnNext.setEnabled(true);
}
else
{
MessageBox messageBox = new MessageBox(shell, SWT.ICON_ERROR);
messageBox.setText("Error");
messageBox.setMessage("Can't read this file");
messageBox.open();
}
}
}
}
}
public void playlistViewNext()
{
int index = MediaPlayer.getInstance().getPlaylist().next();
if (index != -1)
{
playlistView.setSelection(index);
}
}
public void playlistViewPrevious()
{
int index = MediaPlayer.getInstance().getPlaylist().previous();
if (index != -1)
{
playlistView.setSelection(index);
}
}
}
| [
"[email protected]"
]
| |
1a76f3274d687d947f3f4f81fbb25a558ac81b0b | 1490a4dd19639a67f65b1ae7c8da8d16a22dd814 | /Peer.java | fc216708f7a85863e9a0b35f3fe45adeb1e6e1f4 | []
| no_license | shobhitdutia/ContentAddressableNetwork | c5ea2702968465440ed22d9e9bf1bb4983145169 | d3083a0e8309537b754eaadf9ba8e2bf01f07a66 | refs/heads/master | 2020-12-24T15:23:22.517190 | 2014-04-05T20:38:50 | 2014-04-05T20:38:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 38,995 | java | /*
* Peer.java
*
* Version:
* $Id$
*
* Revisions:
* $Log$
*/
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.InetAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.UnknownHostException;
import java.rmi.Naming;
import java.rmi.NotBoundException;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Random;
import java.util.Scanner;
import java.util.Set;
import java.util.Vector;
/**
* This program is the peer node in CAN
*
* @author Shobhit Dutia
*/
public class Peer extends Thread{
static Coordinate currentCoordinate;
static Map<String, Coordinate> neighborMap=new HashMap<String, Coordinate> ();
static Set<String> keywordSet=new HashSet<String>();
static String currentIp;
ServerSocket ss;
public Peer() {
currentCoordinate=new Coordinate();
currentCoordinate.lx=0;
currentCoordinate.ly=0;
currentCoordinate.hx=0;
currentCoordinate.hy=0;
}
/**
* The main program.
*
* @param args command line arguments (ignored)
*/
public static void main(String[] args) throws UnknownHostException {
Scanner sc=new Scanner(System.in);
int ch;
Peer p=new Peer();
System.out.println("1. join");
System.out.println("2. exit");
ch=sc.nextInt();
switch(ch) {
case 1:
try {
System.out.println("Enter IP address of bootstrap server ");
String bootStrapIp=sc.next();
p.joinSystem(bootStrapIp);
System.out.println("Join successful! Starting to listen ...");
p.start(); //start listening after peer has joined the system
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
break;
case 2:
System.out.println("Good bye");
System.exit(0);
break;
default:
System.out.println("Wrong choice! Enter again");
break;
}
boolean flag=true;
while(flag) {
System.out.println("1. Insert");
System.out.println("2. Leave");
System.out.println("3. Search");
System.out.println("4. Display peer info");
ch=sc.nextInt();
try {
switch(ch) {
case 1:
p.insert();
break;
case 2:
flag=false;
p.leave();
break;
case 3:
p.search();
break;
case 4:
p.displayInfo();
break;
}
} catch (IOException | ClassNotFoundException e) {
e.printStackTrace();
}
}
sc.close();
System.exit(0);
}
private void leave() throws UnknownHostException, IOException {
//Vector<String> neighborsTobeNotifiedforDeletion=new Vector<String>();
Map<String, Coordinate> neighborsTobeNotifiedforDeletion=new HashMap<String, Coordinate> ();
String leavingNodePosition=null;
for(Map.Entry<String, Coordinate> entry: neighborMap.entrySet()) {
Coordinate neighbor=entry.getValue();
Coordinate neighborCoordinate=new Coordinate();
//check if removing the node forms a rectangle or square
if((currentCoordinate.ly==neighbor.ly&¤tCoordinate.hy==neighbor.hy)||
(currentCoordinate.lx==neighbor.lx&¤tCoordinate.hx==neighbor.hx)) {
//check if 2 zones having same ly and hy are merged
if(currentCoordinate.ly==neighbor.ly&¤tCoordinate.hy==neighbor.hy) {
//check if node which is leaving is left rectangle
if(currentCoordinate.lx<neighbor.lx) {
leavingNodePosition="left";
System.out.println("My neighbor map is" +neighborMap);
for(Map.Entry<String, Coordinate> entry1: neighborMap.entrySet()) {
Coordinate neighbor1=entry1.getValue();
if(entry1.getValue()==entry.getValue()) {
//continue;
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//inform all top common, bottom common and left nodes to delete current node and inform about new merged node
//check for top both
if(currentCoordinate.hy==neighbor1.ly&&neighbor1.lx<(currentCoordinate.hx)
&&neighbor1.hx>currentCoordinate.hx) {
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//check for bottom both
else if(currentCoordinate.ly==neighbor1.hy&&neighbor1.lx<(currentCoordinate.hx)
&&neighbor1.hx>currentCoordinate.hx) {
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//check for left
else if(currentCoordinate.lx==neighbor1.hx) {
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//special case top left
else if(currentCoordinate.hy==neighbor1.ly&&neighbor1.hx<=currentCoordinate.hx) {
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//special case bottom left
else if(currentCoordinate.ly==neighbor1.hy&&neighbor1.hx<=currentCoordinate.hx) {
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
}
//update neighbor's coordinate and send it
neighborCoordinate.ly=currentCoordinate.ly;
neighborCoordinate.hy=currentCoordinate.hy;
neighborCoordinate.lx=currentCoordinate.lx;
neighborCoordinate.hx=neighbor.hx;
}//end of left rectangle check
//or check if leaving node is a right side rectangle node
else if(currentCoordinate.lx>neighbor.lx) {
leavingNodePosition="right";
System.out.println("My neighbor map is" +neighborMap);
for(Map.Entry<String, Coordinate> entry1: neighborMap.entrySet()) {
Coordinate neighbor1=entry1.getValue();
if(entry1.getValue()==entry.getValue()) {
//continue;
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//inform all top common, bottom common and right nodes to delete current node and inform about new merged node
//check for top both
if(currentCoordinate.hy==neighbor1.ly&&neighbor1.lx<(currentCoordinate.lx)
&&neighbor1.hx>currentCoordinate.lx) {
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//check for bottom both
else if(currentCoordinate.ly==neighbor1.hy&&neighbor1.lx<(currentCoordinate.lx)
&&neighbor1.hx>currentCoordinate.lx) {
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//check for right
else if(currentCoordinate.hx==neighbor1.lx) {
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//special case top right
else if(currentCoordinate.hy==neighbor1.ly&&neighbor1.lx>=currentCoordinate.lx) {
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//special case bottom right
else if(currentCoordinate.ly==neighbor1.hy&&neighbor1.lx>=currentCoordinate.lx) {
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
}
neighborCoordinate.ly=currentCoordinate.ly;
neighborCoordinate.hy=currentCoordinate.hy;
neighborCoordinate.lx=neighbor.lx;
neighborCoordinate.hx=currentCoordinate.hx;
}//end of right rectangle check
}
//check if 2 zones having same lx and hx are merged
else if(currentCoordinate.lx==neighbor.lx&¤tCoordinate.hx==neighbor.hx) {
//--------------------------------------------------------------//
//check if node which is leaving is bottom rectangle
if(currentCoordinate.ly<neighbor.ly) {
leavingNodePosition="bottom";
System.out.println("My neighbor map is" +neighborMap);
for(Map.Entry<String, Coordinate> entry1: neighborMap.entrySet()) {
Coordinate neighbor1=entry1.getValue();
if(entry1.getValue()==entry.getValue()) {
//continue;
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//inform all left common, right common and bottom nodes to delete current node and inform about new merged node
//check for left both
if(currentCoordinate.lx==neighbor1.hx&&neighbor1.ly<(currentCoordinate.hy)
&&neighbor1.hy>currentCoordinate.hy) {
System.out.println("left both true");
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//check for right both
else if(currentCoordinate.hx==neighbor1.lx&&neighbor1.ly<(currentCoordinate.hy)
&&neighbor1.hy>currentCoordinate.hy) {
System.out.println("right both");
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//check for bottom
else if(currentCoordinate.ly==neighbor1.hy) {
System.out.println("bottom true");
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//special case bottom right
else if(currentCoordinate.hx==neighbor1.lx&&neighbor1.hy<=currentCoordinate.hy) {
System.out.println("bottom right true");
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//special case bottom left
else if(currentCoordinate.lx==neighbor1.hx&&neighbor1.hy<=currentCoordinate.hy) {
System.out.println("bottom left true");
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
}
//update neighbor's coordinate and send it
neighborCoordinate.lx=currentCoordinate.lx;
neighborCoordinate.hx=currentCoordinate.hx;
neighborCoordinate.ly=currentCoordinate.ly;
neighborCoordinate.hy=neighbor.hy;
}//end of left rectangle check
//or check if leaving node is a top rectangle node
else if(currentCoordinate.ly>neighbor.ly) {
leavingNodePosition="top";
System.out.println("My neighbor map is" +neighborMap);
for(Map.Entry<String, Coordinate> entry1: neighborMap.entrySet()) {
Coordinate neighbor1=entry1.getValue();
System.out.println("checking same");
if(entry1.getValue()==entry.getValue()) {
System.out.println("Same true");
//continue;
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//inform all left common, right common and top nodes to delete current node and inform about new merged node
//check for left both
else if(currentCoordinate.lx==neighbor1.hx&&neighbor1.ly<(currentCoordinate.ly)
&&neighbor1.hy>currentCoordinate.ly) {
System.out.println("left both true");
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//check for right both
else if(currentCoordinate.hx==neighbor1.lx&&neighbor1.ly<(currentCoordinate.ly)
&&neighbor1.hy>currentCoordinate.ly) {
System.out.println("right both true");
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//check for top
else if(currentCoordinate.hy==neighbor1.ly) {
System.out.println("top true");
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//special case top right
else if(currentCoordinate.hx==neighbor1.lx&&neighbor1.ly>=currentCoordinate.ly) {
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
//special case top left
else if(currentCoordinate.lx==neighbor1.hx&&neighbor1.ly>=currentCoordinate.ly) {
neighborsTobeNotifiedforDeletion.put(entry1.getKey(),entry1.getValue());
}
}
neighborCoordinate.lx=currentCoordinate.lx;
neighborCoordinate.hx=currentCoordinate.hx;
neighborCoordinate.ly=neighbor.ly;
neighborCoordinate.hy=currentCoordinate.hy;
}//end of right rectangle check
//--------------------------------------------------------------//
}
System.out.println(leavingNodePosition);
//inform neighbor list for deletion of current node
for(String ipaddressOfNeighbor:neighborsTobeNotifiedforDeletion.keySet()) {
Socket neighborSocket=new Socket(ipaddressOfNeighbor,8080);
String deleteCurrentNode="true";
System.out.println("sent "+deleteCurrentNode+" update to ip"+ipaddressOfNeighbor);
ObjectOutputStream out = new ObjectOutputStream (neighborSocket.getOutputStream ());
out.writeObject("update");
out.writeObject(currentCoordinate); //sending coordinates of node to all its neighbors
out.writeObject(currentIp);
out.writeObject(deleteCurrentNode);
neighborSocket.close();
}
//contact neighbor node to update its own neighbors and neighbors which current node deleted
Socket neighborSocket=new Socket(entry.getKey(),8080);
neighborsTobeNotifiedforDeletion.remove(entry.getKey());
ObjectOutputStream out = new ObjectOutputStream (neighborSocket.getOutputStream ());
out.writeObject("updateNeighborForMerge");
out.writeObject(neighborCoordinate); //sending updated coordinates to neighbor
//send deleted neighbor list to neighbor so that it can add those
out.writeObject(neighborsTobeNotifiedforDeletion);
out.writeObject(leavingNodePosition);
neighborSocket.close();
System.out.println("Node leave successful");
break;
}
}//end of for loop
}//end of leave
/**
* Search function.
*
* @exception UnknownHostException
* @exception IOException
* @exception ClassNotFoundException
*
*/
private void search() throws UnknownHostException, IOException, ClassNotFoundException {
Scanner sc=new Scanner(System.in);
System.out.println("Enter the name of the keyword which you want to search");
String keyword=sc.next();
double x=0, y=0;
System.out.println("keyword is "+keyword);
char character;
for (int i = 0; i < keyword.length(); i++) {
character=keyword.charAt(i);
if(i%2!=0) {
x+=((double)character);
}
else {
y=y+((double)character);
}
}
x=x%10;
y=y%10;
System.out.println("Searching Keyword on x:"+x+" y:"+y);
//sc.close();
//check if coordinates are in the region
if((x>=currentCoordinate.lx&&x<=currentCoordinate.hx)&&(y>=currentCoordinate.ly&&y<=currentCoordinate.hy)) {
if(keywordSet.contains(keyword)) {
System.out.println("Keyword "+keyword+" found on current machine" );
}
else {
System.out.println("Failure!");
}
}
else {
String ipaddressOfNeighbor=computeMin(x,y);
Socket sock=new Socket(ipaddressOfNeighbor, 8080);
System.out.println("Forwarding search request to "+ipaddressOfNeighbor+" to reach x:"+x+", y:"+y);
ObjectOutputStream out = new ObjectOutputStream (sock.getOutputStream ());
out.writeObject("search");
out.writeObject(x);
out.writeObject(y);
out.writeObject(currentIp);
out.writeObject(keyword);
sock.close();
//client requesting ack of insert
ServerSocket clientServerSocket =new ServerSocket(8081); //note different port number in use
Socket acceptDataFromServer=clientServerSocket.accept();
ObjectInputStream in = new ObjectInputStream(acceptDataFromServer.getInputStream());
String responsefromPeer=(String)in.readObject();
System.out.println(responsefromPeer);
acceptDataFromServer.close();
clientServerSocket.close();
}
}
/**
* Insert function.
*
* @exception UnknownHostException
* @exception IOException
* @exception ClassNotFoundException
*/
private void insert() throws UnknownHostException, IOException, ClassNotFoundException {
Scanner sc=new Scanner(System.in);
System.out.println("Enter the name of the keyword which you want to insert");
String keyword=sc.next();
double x=0, y=0;
char character;
for (int i = 0; i < keyword.length(); i++) {
character=keyword.charAt(i);
if(i%2!=0) {
x+=((double)character)%10;
}
else {
y=y+((double)character)%10;
}
x=x%10;
y=y%10;
}
System.out.println("Insertion target coordinates x:"+x+" y:"+y);
//check if coordinates are in the region
if((x>=currentCoordinate.lx&&x<=currentCoordinate.hx)&&(y>=currentCoordinate.ly&&y<=currentCoordinate.hy)) {
keywordSet.add(keyword);
System.out.println("Inserting keyword "+keyword+" on current zone");
}
else {
String ipaddressOfNeighbor=computeMin(x,y);
Socket sock=new Socket(ipaddressOfNeighbor, 8080);
//give the designated file coordinates to target peer
System.out.println("Forwarding inserting request to "+ipaddressOfNeighbor+" to reach x:"+x+", y:"+y);
ObjectOutputStream out = new ObjectOutputStream (sock.getOutputStream ());
out.writeObject("insert");
out.writeObject(x);
out.writeObject(y);
out.writeObject(currentIp);
out.writeObject(keyword);
sock.close();
//client requesting ack of insert
ServerSocket clientServerSocket =new ServerSocket(8081); //note different port number in use
Socket acceptDataFromServer=clientServerSocket.accept();
ObjectInputStream in = new ObjectInputStream(acceptDataFromServer.getInputStream());
String responsefromPeer=(String)in.readObject();
System.out.println(responsefromPeer);
acceptDataFromServer.close();
clientServerSocket.close();
}
}
/**
* Display peer information.
*
* @exception UnknownHostException
*
*/
private void displayInfo() throws UnknownHostException {
System.out.println("IP address: "+InetAddress.getLocalHost().getHostAddress());
System.out.println("Coordinates of peer are:");
System.out.print("lx: "+currentCoordinate.lx+" ");
System.out.print("hx: "+currentCoordinate.hx+" ");
System.out.print("ly: "+currentCoordinate.ly+" ");
System.out.print("hy: "+currentCoordinate.hy+"\n");
System.out.println("Neighbouring coordinates are:");
//System.out.println(neighborMap);
for(Map.Entry<String, Coordinate> entry: neighborMap.entrySet()) {
Coordinate neighbor=entry.getValue();
System.out.print("lx: "+neighbor.lx+" ");
System.out.print("hx: "+neighbor.hx+" ");
System.out.print("ly: "+neighbor.ly+" ");
System.out.print("hy: "+neighbor.hy+"\n");
}
}
/**
* Thread run method.
*
*/
public void run() {
try {
this.listenToConnections();
} catch (IOException | ClassNotFoundException e) {
e.printStackTrace();
}
}
/**
* join method.
* @param bootStrapIp
*
* @exception UnknownHostException
* @exception ClassNotFoundException
*
*/
@SuppressWarnings("unchecked")
public void joinSystem(String bootStrapIp) throws UnknownHostException, ClassNotFoundException {
currentIp=InetAddress.getLocalHost().getHostAddress();
//select a random point
Random r=new Random();
double x=(double)r.nextInt(11), y=(double)r.nextInt(11);
System.out.println("Random point:"+x+", "+y);
try {//contact bootstrap server
//JoinInterface obj=(JoinInterface)Naming.lookup("//129.21.37.28:12459/Shobhit_bootstrapObject");
JoinInterface obj=(JoinInterface)Naming.lookup("//"+bootStrapIp+":12459/Shobhit_bootstrapObject");
String ipaddressOfBootStrapNode=obj.joinRequest(currentIp); //get ip address of bootstrap node from bootstrap server
if(ipaddressOfBootStrapNode!=null) { //if node is not the 1st one to join
//connect to bootstrap node
System.out.println("Connecting to bootstrap node!"+ipaddressOfBootStrapNode);
Socket sock=new Socket(ipaddressOfBootStrapNode, 8080);
//give the random coordinates selected by the joining node and IP(to keep track of neighbouring node) to the bootstrap node for routing
System.out.println("Sending x:"+x+", y:"+y+" ip="+currentIp);
ObjectOutputStream out = new ObjectOutputStream (sock.getOutputStream ());
out.writeObject("join");
out.writeObject(x);
out.writeObject(y);
out.writeObject(currentIp);
sock.close();
ServerSocket clientServerSocket =new ServerSocket(8080); //client actin as a server to accept neighbor list and coordinates
Socket acceptDataFromServer=clientServerSocket.accept();
ObjectInputStream in = new ObjectInputStream(acceptDataFromServer.getInputStream());
neighborMap=(Map<String, Coordinate>) in.readObject(); //get neighbor list
currentCoordinate=(Coordinate) in.readObject(); //get current coordinates
keywordSet=(Set<String>)in.readObject();
acceptDataFromServer.close();
clientServerSocket.close();
}
else {
//node owns whole zone since its the 1st peer
System.out.println("I am the first peer!");
currentCoordinate.hx=10;
currentCoordinate.hy=10;
}
} catch (NotBoundException | IOException e) {
e.printStackTrace();
}
}
/**
* Listen to incoming connections.
*
* @exception IOException
* @exception ClassNotFoundException
*
*/
@SuppressWarnings("unchecked")
public void listenToConnections() throws IOException, ClassNotFoundException {
ss=new ServerSocket(8080);
while(true) {
//System.out.println("\nI am listening for incoming requests on port 8080");
Socket client=ss.accept();
//System.out.println("Incoming request from peer!");
ObjectInputStream in = new ObjectInputStream(client.getInputStream());
String requestType=(String)in.readObject();
String ipaddressOfClient=null;
double x=0, y = 0;
if(requestType.equals("join")) {
x=(Double)in.readObject();
y=(Double)in.readObject();
ipaddressOfClient= (String) in.readObject();
}
else if(requestType.equals("update")) {
Coordinate updatedCoordinate=(Coordinate)in.readObject();
String incomingIpAddress=(String) in.readObject();
String deleteNeighborNode=(String) in.readObject();
System.out.println("--------"+deleteNeighborNode);
if(deleteNeighborNode.equals("true")) {
//System.out.println("went into true.. deleting incoming ip"+incomingIpAddress);
neighborMap.remove(incomingIpAddress);
}
else {
neighborMap.put(incomingIpAddress, updatedCoordinate);
}
client.close();
continue;
}
else if(requestType.equals("updateNeighborForMerge")) {
Coordinate updatedCoordinateOfMyself=(Coordinate)in.readObject();
//currentCoordinate=updatedCoordinateOfMyself;
Map<String, Coordinate> neighborsTobeNotifiedforAddition=new HashMap<String, Coordinate> ();
neighborsTobeNotifiedforAddition=(Map<String,Coordinate>) in.readObject();
String leavingNodePosition=(String) in.readObject();
client.close();
Vector<String> neighborsTobeNotifiedforAdditionVector=new Vector<String>();
//add peers neighbors as own and get a list of all neighbors to be notified in a vector
for(Map.Entry<String, Coordinate> entry: neighborsTobeNotifiedforAddition.entrySet()) {
neighborMap.put(entry.getKey(), entry.getValue());
neighborsTobeNotifiedforAdditionVector.add(entry.getKey());
}
//contact original neighbor list and previous node's deleted neighbor list to update new coordinates
for(Map.Entry<String, Coordinate> entry: neighborMap.entrySet()) {
Coordinate neighbor=entry.getValue();
if(neighborsTobeNotifiedforAdditionVector.contains(entry.getKey())) {
continue;
}
if(leavingNodePosition=="left"||leavingNodePosition=="right") {
//top check
if(currentCoordinate.hy==neighbor.ly) {
System.out.println("addedT");
neighborsTobeNotifiedforAdditionVector.add(entry.getKey());
}
//bottom check
else if(currentCoordinate.ly==neighbor.hy) {
System.out.println("addedB");
neighborsTobeNotifiedforAdditionVector.add(entry.getKey());
}
//right check or left check
else if(leavingNodePosition=="left") {
if(currentCoordinate.hx==neighbor.lx) {
System.out.println("addedL");
neighborsTobeNotifiedforAdditionVector.add(entry.getKey());
}
}
else if(leavingNodePosition=="right") {
System.out.println("addedR");
if(currentCoordinate.lx==neighbor.hx) {
neighborsTobeNotifiedforAdditionVector.add(entry.getKey());
}
}
}
else if(leavingNodePosition=="top"||leavingNodePosition=="bottom") {
//left check
if(currentCoordinate.lx==neighbor.hx) {
System.out.println("addedL");
neighborsTobeNotifiedforAdditionVector.add(entry.getKey());
}
//right check
else if(currentCoordinate.hx==neighbor.lx) {
System.out.println("addedR");
neighborsTobeNotifiedforAdditionVector.add(entry.getKey());
}
//top or bottom check
else if(leavingNodePosition=="bottom") {
System.out.println("addedB");
if(currentCoordinate.hy==neighbor.ly) {
neighborsTobeNotifiedforAdditionVector.add(entry.getKey());
}
}
else if(leavingNodePosition=="top") {
System.out.println("addedT");
if(currentCoordinate.ly==neighbor.hy) {
neighborsTobeNotifiedforAdditionVector.add(entry.getKey());
}
}
}
}
System.out.println(neighborsTobeNotifiedforAdditionVector+" basdasdasdasdsadooo yeahhhhhhh");
//update current coordinates
currentCoordinate=updatedCoordinateOfMyself;
for(String ipaddressOfNeighbor:neighborsTobeNotifiedforAdditionVector) {
Socket neighborSocket=new Socket(ipaddressOfNeighbor,8080);
String deleteCurrentNode="false";
ObjectOutputStream out = new ObjectOutputStream (neighborSocket.getOutputStream ());
out.writeObject("update");
out.writeObject(currentCoordinate); //sending coordinates of node to all its neighbors
out.writeObject(currentIp);
out.writeObject(deleteCurrentNode);
neighborSocket.close();
}
continue;
}
else if(requestType.equals("insert")) {
x=(Double)in.readObject();
y=(Double)in.readObject();
ipaddressOfClient=(String) in.readObject();
String keyword= (String) in.readObject();
if((x>=currentCoordinate.lx&&x<=currentCoordinate.hx)&&(y>=currentCoordinate.ly&&y<=currentCoordinate.hy)) { //check if incoming node request coordinate are in the region
keywordSet.add(keyword);
Socket sock=new Socket(ipaddressOfClient, 8081);//note different port number in use
System.out.println("Inserted keyword "+keyword+" successfully on peer "+currentIp);
ObjectOutputStream out = new ObjectOutputStream (sock.getOutputStream ());
out.writeObject("Inserted keyword "+keyword+" successfully on peer "+currentIp);
sock.close();
}
else {
String ipaddressOfNeighbor=computeMin(x,y);
Socket sock=new Socket(ipaddressOfNeighbor, 8080);
//give the designated file coordinates to target peer
System.out.println("Routing insert request to neighbor for x:"+x+", y:"+y);
ObjectOutputStream out = new ObjectOutputStream (sock.getOutputStream ());
out.writeObject("insert");
out.writeObject(x);
out.writeObject(y);
out.writeObject(ipaddressOfClient);
out.writeObject(keyword);
sock.close();
}
continue;
}
else if(requestType.equals("search")) {
x=(Double)in.readObject();
y=(Double)in.readObject();
ipaddressOfClient=(String) in.readObject();
String keyword= (String) in.readObject();
if((x>=currentCoordinate.lx&&x<=currentCoordinate.hx)&&(y>=currentCoordinate.ly&&y<=currentCoordinate.hy)) { //check if incoming node request coordinate are in the region
String result=String.valueOf(keywordSet.contains(keyword));
if(result.equals("true")) {
result="Found on peer "+currentIp;
}
else {
result="Failure on "+currentIp;
}
System.out.println(result);
Socket sock=new Socket(ipaddressOfClient, 8081); //note different port number in use
ObjectOutputStream out = new ObjectOutputStream (sock.getOutputStream ());
out.writeObject(result);
sock.close();
}
else {
String ipaddressOfNeighbor=computeMin(x,y);
Socket sock=new Socket(ipaddressOfNeighbor, 8080);
//give the designated file coordinates to target peer
System.out.println("Routing search request to neighbor for x:"+x+", y:"+y);
ObjectOutputStream out = new ObjectOutputStream (sock.getOutputStream ());
out.writeObject("search");
out.writeObject(x);
out.writeObject(y);
out.writeObject(ipaddressOfClient);
out.writeObject(keyword);
sock.close();
}
continue;
}
//System.out.println(x+" "+y+" "+ipaddressOfClient);
client.close();
//check if current node has to be splitted
if((x>=currentCoordinate.lx&&x<=currentCoordinate.hx)&&(y>=currentCoordinate.ly&&y<=currentCoordinate.hy)) { //check if incoming node request coordinate are in the region
Socket newPeerSocket=new Socket(ipaddressOfClient,8080);
ObjectOutputStream out = new ObjectOutputStream (newPeerSocket.getOutputStream ());
Coordinate neighborCoordinate=new Coordinate();
System.out.println("Splitting current zone");
out.writeObject(splitzone(neighborCoordinate, ipaddressOfClient)); //split zone and send neighbor's information to calling node
out.writeObject(neighborCoordinate);
out.writeObject(updateKeywordList());
newPeerSocket.close();
}
else {
//for all neighbours, check which neighbour is closest
String ipaddressOfNeighbor=computeMin(x,y);
//forward request to the given ip address
System.out.println("Routing join request to neighbor "+ipaddressOfNeighbor);
Socket sock=new Socket(ipaddressOfNeighbor, 8080);
ObjectOutputStream out1 = new ObjectOutputStream (sock.getOutputStream ());
out1.writeObject("join");
out1.writeObject(x);
out1.writeObject(y);
out1.writeObject(ipaddressOfClient);
sock.close();
}
}
}
/**
* update current keyword list to transfer selected keywords to neighbor zone
*
* @return keywords of neighbor
*/
private Set<String> updateKeywordList() {
Set<String>neighborKeywordSet=new HashSet<String>();
Vector<String>keywordsToBeDeleted=new Vector<String>();
for(String keyword: keywordSet) {
double x=0, y=0;
char character;
for (int i = 0; i < keyword.length(); i++) {
character=keyword.charAt(i);
if(i%2!=0) {
x+=((double)character)%10;
}
else {
y=y+((double)character)%10;
}
x=x%10;
y=y%10;
}
//check if coordinates are in the region
if((x>=currentCoordinate.lx&&x<=currentCoordinate.hx)&&(y>=currentCoordinate.ly&&y<=currentCoordinate.hy)) {
break;
}
else {
keywordsToBeDeleted.add(keyword);
neighborKeywordSet.add(keyword);
}
}
for(String keyword: keywordsToBeDeleted) { //to avoid concurrent modification exception
keywordSet.remove(keyword);
}
return neighborKeywordSet;
}
/**
* Splitting current zone when a new node joins
*
* @return neighbor list of new node
*/
private Map<String, Coordinate> splitzone(Coordinate neighborCoordinate, String ipaddressOfClient) throws UnknownHostException, IOException {
double width=currentCoordinate.hx-currentCoordinate.lx;
double height=currentCoordinate.hy-currentCoordinate.ly;
Map<String, Coordinate> neighborMapofJoiningNode=new HashMap<String, Coordinate> ();
Vector<String> neighborDeletionListIp=new Vector<String>();
Vector<String> neighborsTobeNotifiedforDeletion=new Vector<String>();
if(width==height) {
neighborCoordinate.lx=currentCoordinate.lx+(currentCoordinate.hx-currentCoordinate.lx)/2;
neighborCoordinate.ly=currentCoordinate.ly;
neighborCoordinate.hx=currentCoordinate.hx;
neighborCoordinate.hy=currentCoordinate.hy;
for(Map.Entry<String, Coordinate> entry: neighborMap.entrySet()) {
//return right side's neighbor's ip address and coordinates to the new neighbor
Coordinate neighbor=entry.getValue();
//check right
if(currentCoordinate.hx==neighbor.lx) {
neighborDeletionListIp.add(entry.getKey()); //maintain a list of nodes to be deleted
neighborMapofJoiningNode.put(entry.getKey(), entry.getValue());
neighborsTobeNotifiedforDeletion.add(entry.getKey());
}
//check top right
else if(currentCoordinate.hy==neighbor.ly&&neighbor.lx>=(currentCoordinate.lx+((currentCoordinate.hx-currentCoordinate.lx)/2))) {
neighborDeletionListIp.add(entry.getKey());
neighborMapofJoiningNode.put(entry.getKey(), entry.getValue());
neighborsTobeNotifiedforDeletion.add(entry.getKey()); //inform neighbor to delete node
}
//check bottom right
else if(currentCoordinate.ly==neighbor.hy&&neighbor.lx>=(currentCoordinate.lx+((currentCoordinate.hx-currentCoordinate.lx)/2))) {
neighborDeletionListIp.add(entry.getKey());
neighborMapofJoiningNode.put(entry.getKey(), entry.getValue());
neighborsTobeNotifiedforDeletion.add(entry.getKey()); //inform neighbor to delete node
}
//check for top both - add it to both the nodes
else if(currentCoordinate.hy==neighbor.ly&&neighbor.lx<(currentCoordinate.lx+((currentCoordinate.hx-currentCoordinate.lx)/2))
&&neighbor.hx>(currentCoordinate.lx+((currentCoordinate.hx-currentCoordinate.lx)/2))) {
neighborMapofJoiningNode.put(entry.getKey(), entry.getValue());
}
//check for bottom both- add it to both the nodes
else if(currentCoordinate.ly==neighbor.hy&&neighbor.lx<(currentCoordinate.lx+((currentCoordinate.hx-currentCoordinate.lx)/2))
&&neighbor.hx>(currentCoordinate.lx+((currentCoordinate.hx-currentCoordinate.lx)/2))) {
neighborMapofJoiningNode.put(entry.getKey(), entry.getValue());
}
}
currentCoordinate.hx=(currentCoordinate.lx+((currentCoordinate.hx-currentCoordinate.lx)/2));
neighborMapofJoiningNode.put(currentIp, currentCoordinate); //add itself to joining node's neighbor list
neighborMap.put(ipaddressOfClient, neighborCoordinate); //add client peer as a neighbor to itself
}
else {
neighborCoordinate.lx=currentCoordinate.lx;
neighborCoordinate.ly=currentCoordinate.ly+((currentCoordinate.hy-currentCoordinate.ly)/2); /////////
neighborCoordinate.hx=currentCoordinate.hx;
neighborCoordinate.hy=currentCoordinate.hy;
for(Map.Entry<String, Coordinate> entry: neighborMap.entrySet()) {
//check top
Coordinate neighbor=entry.getValue();
if(currentCoordinate.hy==neighbor.ly) {
neighborDeletionListIp.add(entry.getKey());
neighborMapofJoiningNode.put(entry.getKey(), entry.getValue());
neighborsTobeNotifiedforDeletion.add(entry.getKey());
}
//check for left top
if(currentCoordinate.lx==neighbor.hx&&neighbor.ly>=(currentCoordinate.ly+((currentCoordinate.hy-currentCoordinate.ly)/2))) {
neighborDeletionListIp.add(entry.getKey());
neighborMapofJoiningNode.put(entry.getKey(), entry.getValue());
//inform neighbor to delete node
neighborsTobeNotifiedforDeletion.add(entry.getKey());
}
//check for left both
if(currentCoordinate.lx==neighbor.hx&&neighbor.ly<(currentCoordinate.ly+((currentCoordinate.hy-currentCoordinate.ly)/2))
&&neighbor.hy>(currentCoordinate.ly+((currentCoordinate.hy-currentCoordinate.ly)/2))) {
neighborMapofJoiningNode.put(entry.getKey(), entry.getValue());
}
//check for right top
if(currentCoordinate.hx==neighbor.lx&&neighbor.ly>=(currentCoordinate.ly+((currentCoordinate.hy-currentCoordinate.ly)/2))) {
neighborDeletionListIp.add(entry.getKey());
neighborMapofJoiningNode.put(entry.getKey(), entry.getValue());
//inform neighbor to delete node
neighborsTobeNotifiedforDeletion.add(entry.getKey());
}
//check for right both
if(currentCoordinate.hx==neighbor.lx&&neighbor.hy>(currentCoordinate.ly+((currentCoordinate.hy-currentCoordinate.ly)/2))
&&neighbor.ly<(currentCoordinate.ly+((currentCoordinate.hy-currentCoordinate.ly)/2))) {
neighborMapofJoiningNode.put(entry.getKey(), entry.getValue());
}
}
currentCoordinate.hy=(currentCoordinate.ly+((currentCoordinate.hy-currentCoordinate.ly)/2));
neighborMapofJoiningNode.put(currentIp, currentCoordinate); //add itself to joining node's neighbor list
neighborMap.put(ipaddressOfClient, neighborCoordinate);//add client peer as a neighbor to itself
}
//update all neighboring nodes with new coordinates
for(String ipaddressOfNeighbor: neighborMap.keySet()) {
String deleteCurrentNode="false";
if(neighborsTobeNotifiedforDeletion.contains(ipaddressOfNeighbor)) {
System.out.println("informing ip "+ipaddressOfNeighbor+" to delete me");
deleteCurrentNode="true";
}
Socket neighborSocket=new Socket(ipaddressOfNeighbor,8080);
ObjectOutputStream out = new ObjectOutputStream (neighborSocket.getOutputStream ());
out.writeObject("update");
out.writeObject(currentCoordinate); //sending coordinates of node to all its neighbors
out.writeObject(currentIp);
out.writeObject(deleteCurrentNode);
neighborSocket.close();
}
//update all neighboring nodes of new node with new node's coordinates
for(String ipaddressOfNewPeersNeighbor: neighborMapofJoiningNode.keySet()) {
String deleteCurrentNode="false";
Socket neighborSocket=new Socket(ipaddressOfNewPeersNeighbor,8080);
ObjectOutputStream out = new ObjectOutputStream (neighborSocket.getOutputStream ());
out.writeObject("update");
out.writeObject(neighborCoordinate); //sending coordinates of node to all its neighbors
out.writeObject(ipaddressOfClient);
out.writeObject(deleteCurrentNode);
neighborSocket.close();
}
//delete unneeded nodes from current neighbor list
for(String ipOfNeighborTobeDeleted: neighborDeletionListIp) {
neighborMap.remove(ipOfNeighborTobeDeleted); //remove right side node as neighbor to current node
}
//updateNeighbors(n, neighborMapofJoiningNode);
return neighborMapofJoiningNode;
}
/**
* Compute minimum neighbor to route data
*
* @return ip address of neighbor closest to target
*/
private String computeMin(double x, double y) {
double min=1000000000;
double minDistToNeighbor;
String ipaddressOfNeighbor=null;
//for all neighbours, check which neighbour is closest
for(Map.Entry<String, Coordinate> entry: neighborMap.entrySet()) {
minDistToNeighbor=minNeighbor(x,y, entry.getValue());
if(minDistToNeighbor<min) {
min=minDistToNeighbor;
ipaddressOfNeighbor=entry.getKey();
}
}
return ipaddressOfNeighbor;
}
/**
* calculate shortest distance from one zone to target point
*
* @return minimum distance
*/
private double minNeighbor(double x, double y, Coordinate neighbor) {
double minArray[]=new double[4];
double min;
min=minArray[0]=Math.sqrt(Math.pow(y - neighbor.ly, 2) + Math.pow(x - neighbor.lx, 2));
minArray[1]=Math.sqrt(Math.pow(y - neighbor.hy, 2) + Math.pow(x - neighbor.lx, 2));
minArray[2]=Math.sqrt(Math.pow(y - neighbor.ly, 2) + Math.pow(x - neighbor.hx, 2));
minArray[3]=Math.sqrt(Math.pow(y - neighbor.hy, 2) + Math.pow(x - neighbor.hx, 2));
for (int i = 0; i < minArray.length; i++) {
if(min<minArray[i]) {
min=minArray[i];
}
}
return min;
}
}
| [
"[email protected]"
]
| |
c7476863659ad6f28cff3ad21da71145513c12a2 | 647ec12ce50f06e7380fdbfb5b71e9e2d1ac03b4 | /com.tencent.minihd.qq/assets/exlibs.2.jar/classes.jar/com/tencent/imageservice/PNGReader.java | dbaedc7c3a7f9596282079d0839d11ef65b9fa78 | []
| no_license | tsuzcx/qq_apk | 0d5e792c3c7351ab781957bac465c55c505caf61 | afe46ef5640d0ba6850cdefd3c11badbd725a3f6 | refs/heads/main | 2022-07-02T10:32:11.651957 | 2022-02-01T12:41:38 | 2022-02-01T12:41:38 | 453,860,108 | 36 | 9 | null | 2022-01-31T09:46:26 | 2022-01-31T02:43:22 | Java | UTF-8 | Java | false | false | 2,874 | java | package com.tencent.imageservice;
import android.util.Log;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
public class PNGReader
{
private static final int IHDR = 1229472850;
public static final long SIGNATURE = -8552249625308161526L;
byte bit_depth;
byte color_type;
int height = 0;
int width = 0;
private int readInt(InputStream paramInputStream)
throws Exception
{
byte[] arrayOfByte = new byte[4];
paramInputStream.read(arrayOfByte, 0, 4);
return (arrayOfByte[0] & 0xFF) << 24 | (arrayOfByte[1] & 0xFF) << 16 | (arrayOfByte[2] & 0xFF) << 8 | arrayOfByte[3] & 0xFF;
}
private int readInt(byte[] paramArrayOfByte, int paramInt)
throws Exception
{
int j = paramInt + 1;
paramInt = paramArrayOfByte[paramInt];
int i = j + 1;
j = paramArrayOfByte[j];
int k = i + 1;
return (paramInt & 0xFF) << 24 | (j & 0xFF) << 16 | (paramArrayOfByte[i] & 0xFF) << 8 | paramArrayOfByte[k] & 0xFF;
}
private long readLong(InputStream paramInputStream)
throws Exception
{
byte[] arrayOfByte = new byte[8];
paramInputStream.read(arrayOfByte, 0, 8);
return (arrayOfByte[0] & 0xFF) << 56 | (arrayOfByte[1] & 0xFF) << 48 | (arrayOfByte[2] & 0xFF) << 40 | (arrayOfByte[3] & 0xFF) << 32 | (arrayOfByte[4] & 0xFF) << 24 | (arrayOfByte[5] & 0xFF) << 16 | (arrayOfByte[6] & 0xFF) << 8 | arrayOfByte[7] & 0xFF;
}
private boolean read_IHDR(InputStream paramInputStream)
throws Exception
{
if ((readInt(paramInputStream) != 13) || (readInt(paramInputStream) != 1229472850)) {
return false;
}
byte[] arrayOfByte = new byte[13];
paramInputStream.read(arrayOfByte, 0, 13);
this.width = readInt(arrayOfByte, 0);
this.height = readInt(arrayOfByte, 4);
this.bit_depth = arrayOfByte[8];
this.color_type = arrayOfByte[9];
return true;
}
public boolean isTransparentPng(String paramString)
{
try
{
unpackImage(new FileInputStream(paramString));
if (((this.bit_depth == 8) || (this.bit_depth == 16)) && (this.color_type == 6)) {
return true;
}
}
catch (Exception paramString)
{
for (;;)
{
Log.w("ImageProcessService", paramString.toString());
}
}
return false;
}
public void unpackImage(InputStream paramInputStream)
throws Exception
{
if (readLong(paramInputStream) != -8552249625308161526L) {}
while (read_IHDR(paramInputStream)) {
return;
}
throw new IOException("NOT A VALID PNG IMAGE");
}
}
/* Location: L:\local\mybackup\temp\qq_apk\com.tencent.minihd.qq\assets\exlibs.2.jar\classes.jar
* Qualified Name: com.tencent.imageservice.PNGReader
* JD-Core Version: 0.7.0.1
*/ | [
"[email protected]"
]
| |
d39f3d6a607ca01b4b879ce71c7eae027d461afc | a6ac2b46a6709425388ba545565eaae53516a245 | /presentation/build/generated/source/r/debug/com/bumptech/glide/R.java | 671ed387e6013a9e1cfd58cf1b8be0fc44063ef7 | []
| no_license | Lst11/AD09-H2 | a8a7b15dbfe4dad7d898936abf3d5ac118caa965 | 9b05d21a0ac4fc2bcd462f59e043e8da00b51021 | refs/heads/master | 2020-04-02T13:40:22.378305 | 2018-10-28T18:43:43 | 2018-10-28T18:43:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 10,267 | java | /* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package com.bumptech.glide;
public final class R {
public static final class attr {
public static final int coordinatorLayoutStyle = 0x7f02005e;
public static final int font = 0x7f020078;
public static final int fontProviderAuthority = 0x7f02007a;
public static final int fontProviderCerts = 0x7f02007b;
public static final int fontProviderFetchStrategy = 0x7f02007c;
public static final int fontProviderFetchTimeout = 0x7f02007d;
public static final int fontProviderPackage = 0x7f02007e;
public static final int fontProviderQuery = 0x7f02007f;
public static final int fontStyle = 0x7f020080;
public static final int fontWeight = 0x7f020082;
public static final int keylines = 0x7f020092;
public static final int layout_anchor = 0x7f020096;
public static final int layout_anchorGravity = 0x7f020097;
public static final int layout_behavior = 0x7f020098;
public static final int layout_dodgeInsetEdges = 0x7f020099;
public static final int layout_insetEdge = 0x7f02009a;
public static final int layout_keyline = 0x7f02009b;
public static final int statusBarBackground = 0x7f0200d9;
}
public static final class bool {
public static final int abc_action_bar_embed_tabs = 0x7f030000;
}
public static final class color {
public static final int notification_action_color_filter = 0x7f04004a;
public static final int notification_icon_bg_color = 0x7f04004b;
public static final int ripple_material_light = 0x7f040058;
public static final int secondary_text_default_material_light = 0x7f04005a;
}
public static final class dimen {
public static final int compat_button_inset_horizontal_material = 0x7f05004b;
public static final int compat_button_inset_vertical_material = 0x7f05004c;
public static final int compat_button_padding_horizontal_material = 0x7f05004d;
public static final int compat_button_padding_vertical_material = 0x7f05004e;
public static final int compat_control_corner_material = 0x7f05004f;
public static final int notification_action_icon_size = 0x7f050061;
public static final int notification_action_text_size = 0x7f050062;
public static final int notification_big_circle_margin = 0x7f050063;
public static final int notification_content_margin_start = 0x7f050064;
public static final int notification_large_icon_height = 0x7f050065;
public static final int notification_large_icon_width = 0x7f050066;
public static final int notification_main_column_padding_top = 0x7f050067;
public static final int notification_media_narrow_margin = 0x7f050068;
public static final int notification_right_icon_size = 0x7f050069;
public static final int notification_right_side_padding_top = 0x7f05006a;
public static final int notification_small_icon_background_padding = 0x7f05006b;
public static final int notification_small_icon_size_as_large = 0x7f05006c;
public static final int notification_subtext_size = 0x7f05006d;
public static final int notification_top_pad = 0x7f05006e;
public static final int notification_top_pad_large_text = 0x7f05006f;
}
public static final class drawable {
public static final int notification_action_background = 0x7f06005a;
public static final int notification_bg = 0x7f06005b;
public static final int notification_bg_low = 0x7f06005c;
public static final int notification_bg_low_normal = 0x7f06005d;
public static final int notification_bg_low_pressed = 0x7f06005e;
public static final int notification_bg_normal = 0x7f06005f;
public static final int notification_bg_normal_pressed = 0x7f060060;
public static final int notification_icon_background = 0x7f060061;
public static final int notification_template_icon_bg = 0x7f060062;
public static final int notification_template_icon_low_bg = 0x7f060063;
public static final int notification_tile_bg = 0x7f060064;
public static final int notify_panel_notification_icon_bg = 0x7f060065;
}
public static final class id {
public static final int action_container = 0x7f07000e;
public static final int action_divider = 0x7f070010;
public static final int action_image = 0x7f070011;
public static final int action_text = 0x7f070017;
public static final int actions = 0x7f070018;
public static final int async = 0x7f07001e;
public static final int blocking = 0x7f070020;
public static final int bottom = 0x7f070021;
public static final int chronometer = 0x7f070027;
public static final int end = 0x7f070034;
public static final int forever = 0x7f07003a;
public static final int glide_custom_view_target_tag = 0x7f07003b;
public static final int icon = 0x7f07003f;
public static final int icon_group = 0x7f070040;
public static final int info = 0x7f070043;
public static final int italic = 0x7f070044;
public static final int left = 0x7f070046;
public static final int line1 = 0x7f070047;
public static final int line3 = 0x7f070048;
public static final int none = 0x7f07004f;
public static final int normal = 0x7f070050;
public static final int notification_background = 0x7f070051;
public static final int notification_main_column = 0x7f070052;
public static final int notification_main_column_container = 0x7f070053;
public static final int right = 0x7f07005a;
public static final int right_icon = 0x7f07005b;
public static final int right_side = 0x7f07005c;
public static final int start = 0x7f070075;
public static final int tag_transition_group = 0x7f070079;
public static final int text = 0x7f07007c;
public static final int text2 = 0x7f07007d;
public static final int time = 0x7f070085;
public static final int title = 0x7f070086;
public static final int top = 0x7f070089;
}
public static final class integer {
public static final int status_bar_notification_info_maxnum = 0x7f080004;
}
public static final class layout {
public static final int notification_action = 0x7f09001e;
public static final int notification_action_tombstone = 0x7f09001f;
public static final int notification_template_custom_big = 0x7f090020;
public static final int notification_template_icon_group = 0x7f090021;
public static final int notification_template_part_chronometer = 0x7f090022;
public static final int notification_template_part_time = 0x7f090023;
}
public static final class string {
public static final int status_bar_notification_info_overflow = 0x7f0b0029;
}
public static final class style {
public static final int TextAppearance_Compat_Notification = 0x7f0c00ec;
public static final int TextAppearance_Compat_Notification_Info = 0x7f0c00ed;
public static final int TextAppearance_Compat_Notification_Line2 = 0x7f0c00ee;
public static final int TextAppearance_Compat_Notification_Time = 0x7f0c00ef;
public static final int TextAppearance_Compat_Notification_Title = 0x7f0c00f0;
public static final int Widget_Compat_NotificationActionContainer = 0x7f0c0158;
public static final int Widget_Compat_NotificationActionText = 0x7f0c0159;
public static final int Widget_Support_CoordinatorLayout = 0x7f0c015a;
}
public static final class styleable {
public static final int[] CoordinatorLayout = { 0x7f020092, 0x7f0200d9 };
public static final int CoordinatorLayout_keylines = 0;
public static final int CoordinatorLayout_statusBarBackground = 1;
public static final int[] CoordinatorLayout_Layout = { 0x010100b3, 0x7f020096, 0x7f020097, 0x7f020098, 0x7f020099, 0x7f02009a, 0x7f02009b };
public static final int CoordinatorLayout_Layout_android_layout_gravity = 0;
public static final int CoordinatorLayout_Layout_layout_anchor = 1;
public static final int CoordinatorLayout_Layout_layout_anchorGravity = 2;
public static final int CoordinatorLayout_Layout_layout_behavior = 3;
public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges = 4;
public static final int CoordinatorLayout_Layout_layout_insetEdge = 5;
public static final int CoordinatorLayout_Layout_layout_keyline = 6;
public static final int[] FontFamily = { 0x7f02007a, 0x7f02007b, 0x7f02007c, 0x7f02007d, 0x7f02007e, 0x7f02007f };
public static final int FontFamily_fontProviderAuthority = 0;
public static final int FontFamily_fontProviderCerts = 1;
public static final int FontFamily_fontProviderFetchStrategy = 2;
public static final int FontFamily_fontProviderFetchTimeout = 3;
public static final int FontFamily_fontProviderPackage = 4;
public static final int FontFamily_fontProviderQuery = 5;
public static final int[] FontFamilyFont = { 0x01010532, 0x01010533, 0x0101053f, 0x0101056f, 0x01010570, 0x7f020078, 0x7f020080, 0x7f020081, 0x7f020082, 0x7f02010c };
public static final int FontFamilyFont_android_font = 0;
public static final int FontFamilyFont_android_fontWeight = 1;
public static final int FontFamilyFont_android_fontStyle = 2;
public static final int FontFamilyFont_android_ttcIndex = 3;
public static final int FontFamilyFont_android_fontVariationSettings = 4;
public static final int FontFamilyFont_font = 5;
public static final int FontFamilyFont_fontStyle = 6;
public static final int FontFamilyFont_fontVariationSettings = 7;
public static final int FontFamilyFont_fontWeight = 8;
public static final int FontFamilyFont_ttcIndex = 9;
}
}
| [
"[email protected]"
]
| |
e58188980fcbf7fe9e68afc577f07ef19f73defd | 5a99d86aaec7043beaf8299781526063934d5301 | /src/main/java/com/credera/querydsl/rest/exception/BranchNotFoundException.java | 6f0fbb202ef665c29c436712a969fe055f0570fc | []
| no_license | jamesvrooney/querydslblog | bfbdddd035db922e91e42eb9bc08f1d116472c8b | 43c09d646fb543f159d319ccabd81ead69320146 | refs/heads/master | 2020-12-30T16:28:44.028289 | 2015-05-01T18:39:58 | 2015-05-01T18:39:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 424 | java | package com.credera.querydsl.rest.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus( value = HttpStatus.NOT_FOUND )
public class BranchNotFoundException extends RuntimeException{
private static final long serialVersionUID = 6798538651671463342L;
public BranchNotFoundException(String message) {
super(message);
}
}
| [
"[email protected]"
]
| |
68c02144c9a471ad59155c3018f1f09859a95609 | 2d9dbe0ef62fafc60849342a9145582d5af80dcb | /src/hh/szu/sevice/ProductService.java | b9620d68a01f5809c618eb69a5ac4cc7641db792 | []
| no_license | XIAOguojia/Myshop | 56adff62c82b890e6ef863b3a70dacb3cfbf038f | 3352f565aa65dcc3a58e339838676bdb4132ea66 | refs/heads/master | 2020-03-21T02:10:21.724448 | 2019-01-03T07:30:16 | 2019-01-03T07:30:16 | 137,984,543 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,873 | java | package hh.szu.sevice;
import hh.szu.dao.ProductDao;
import hh.szu.domain.Category;
import hh.szu.domain.Order;
import hh.szu.domain.PageBean;
import hh.szu.domain.Product;
import hh.szu.utils.DataSourceUtils;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
/**
* Created by intellij IDEA
*
* @author Raven
* Date:2018/7/29
* Time:14:00
*/
public class ProductService {
//่ทๅพ็ญ้จๅๅ
public List<Product> findHotProductList() {
ProductDao dao = new ProductDao();
List<Product> hotProductList = null;
try {
hotProductList = dao.findHotProductList();
} catch (SQLException e) {
e.printStackTrace();
}
return hotProductList;
}
//่ทๅพๆๆฐๅๅ
public List<Product> findNewProductList() {
ProductDao dao = new ProductDao();
List<Product> newProductList = null;
try {
newProductList = dao.findNewProductList();
} catch (SQLException e) {
e.printStackTrace();
}
return newProductList;
}
//ๅๅคๅ็ฑปๆฐๆฎ
public List<Category> findAllCategory() {
ProductDao dao = new ProductDao();
List<Category> categoryList = null;
try {
categoryList = dao.findAllCategory();
} catch (SQLException e) {
e.printStackTrace();
}
return categoryList;
}
public PageBean findProductListByCategory(String cid, int currentPage, int curretCount) {
ProductDao dao = new ProductDao();
PageBean<Product> pageBean = new PageBean<>();
//ๅฐ่ฃ
ๅฝๅ้กต
pageBean.setCurrentPage(currentPage);
//ๅฐ่ฃ
ๆฏ้กต็ๆกๆฐ
pageBean.setCurrentCount(curretCount);
//ๅฐ่ฃ
ๆปๆกๆฐ
int totalCount = 0;
try {
totalCount = dao.getTotalCount(cid);
} catch (SQLException e) {
e.printStackTrace();
}
pageBean.setTotalCount(totalCount);
//ๅฐ่ฃ
ๆป้กตๆฐ
int totalPage = (int) Math.ceil(1.0 * totalCount / curretCount);
pageBean.setTotalPage(totalPage);
//ๅฐ่ฃ
ๅฝๅ้กต็ๆพ็คบๆฐๆฎ
int index = (currentPage - 1) * curretCount;
List<Product> list = null;
try {
list = dao.findProductByPage(cid, index, curretCount);
} catch (SQLException e) {
e.printStackTrace();
}
pageBean.setList(list);
return pageBean;
}
public Product findProductByPid(String pid) {
ProductDao dao = new ProductDao();
Product product = null;
try {
product = dao.findProductByPid(pid);
} catch (SQLException e) {
e.printStackTrace();
}
return product;
}
//ๆไบค่ฎขๅ ๅฐ่ฎขๅๅ่ฎขๅ้กน็ๆฐๆฎๅญๅจๅฐๆฐๆฎๅบไธญ
public void submitOrder(Order order) {
try {
//1ใๅผๅฏไบๅก
DataSourceUtils.startTransaction();
ProductDao dao = new ProductDao();
//2ใ่ฐ็จdaoๅญๅจorder่กจๆฐๆฎ็ๆนๆณ
dao.addOrders(order);
//3ใ่ฐ็จdaoๅญๅจorderItem็ๆนๆณ
dao.addOrderItem(order);
} catch (SQLException e) {
try {
//ๆไปปไฝๅผๅธธๅๅๆปไบๅก
DataSourceUtils.rollback();
} catch (SQLException e1) {
e1.printStackTrace();
}
e.printStackTrace();
}finally {
try {
//ไบๅกๆไบคๅฎๆ๏ผ็ถๅ้ๆพ่ตๆบ
DataSourceUtils.commitAndRelease();
} catch (SQLException e) {
e.printStackTrace();
}
}
}
public void updateOrder(Order order) {
ProductDao dao =new ProductDao();
try {
dao.updateOrder(order);
} catch (SQLException e) {
e.printStackTrace();
}
}
public void updateOrderState(String r6_order) {
ProductDao dao =new ProductDao();
try {
dao.updateOrderState(r6_order);
} catch (SQLException e) {
e.printStackTrace();
}
}
public List<Order> findAllOrders(String uid) {
ProductDao dao = new ProductDao();
List<Order> orderList = null;
try {
orderList = dao.findAllOrders(uid);
} catch (SQLException e) {
e.printStackTrace();
}
return orderList;
}
public List<Map<String, Object>> findAllOrderItemByOid(String oid) {
ProductDao dao = new ProductDao();
List<Map<String,Object>> mapList =null;
try {
mapList= dao.findAllOrderItemByOid(oid);
} catch (SQLException e) {
e.printStackTrace();
}
return mapList;
}
}
| [
"[email protected]"
]
| |
856322d358bf6ff3001daa53b42c622a153d4a5c | d68460f1dff5ff7096da32d4717adbe131dd8bea | /src/capacites/Initiative.java | 6c355b92559ac9e29de7b65c7dbd5b7b619a94d9 | []
| no_license | NBSamael/TRPG | 4cee723689c47c2e1b9f15473e12941e918f36fa | e5207626c12b6827cba3058617cc57661c98dcd9 | refs/heads/master | 2020-03-31T01:22:48.536619 | 2014-11-06T12:58:06 | 2014-11-06T12:58:06 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | Java | false | false | 268 | java | package capacites;
import personnages.Personnage;
public class Initiative extends Capacite {
public Initiative(Personnage owner) {
super(owner);
this.type = "Init";
this.nom = "Initiative";
this.description = "Une unitรฉ disposant...";
}
}
| [
"[email protected]"
]
| |
b5b120a5a840986fd792cd27651852e80ee335e6 | ad1075410cf0e9271ebd61ec3269e5a4c7b30dfe | /android/app/build/generated/source/r/release/com/bukalelang/R.java | 1b589a9638de9ddb5d7b20119411fa1c074dce31 | []
| no_license | BukaLelang/front-end | 690255c9cd49ce05ef5f98074d8130125b7e4d87 | fc1a5ed6ac403bb17437c3d5ced692eac5a4ceda | refs/heads/master | 2021-01-19T19:11:54.146614 | 2017-05-01T06:00:11 | 2017-05-01T06:00:11 | 88,405,208 | 7 | 1 | null | null | null | null | UTF-8 | Java | false | false | 413,048 | 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.bukalelang;
public final class R {
public static final class anim {
public static final int abc_fade_in=0x7f050000;
public static final int abc_fade_out=0x7f050001;
public static final int abc_grow_fade_in_from_bottom=0x7f050002;
public static final int abc_popup_enter=0x7f050003;
public static final int abc_popup_exit=0x7f050004;
public static final int abc_shrink_fade_out_from_bottom=0x7f050005;
public static final int abc_slide_in_bottom=0x7f050006;
public static final int abc_slide_in_top=0x7f050007;
public static final int abc_slide_out_bottom=0x7f050008;
public static final int abc_slide_out_top=0x7f050009;
public static final int catalyst_push_up_in=0x7f05000a;
public static final int catalyst_push_up_out=0x7f05000b;
public static final int fade_in=0x7f05000c;
public static final int fade_out=0x7f05000d;
public static final int slide_down=0x7f05000e;
public static final int slide_up=0x7f05000f;
}
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 actionBarDivider=0x7f010080;
/** <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=0x7f010081;
/** <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=0x7f01007a;
/** <p>May be a dimension value, which is a floating point number appended with a unit such 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=0x7f01007f;
/** <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=0x7f01007c;
/** <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=0x7f01007b;
/** <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=0x7f010076;
/** <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=0x7f010075;
/** <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=0x7f010077;
/** <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=0x7f01007d;
/** <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=0x7f01007e;
/** <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=0x7f01009a;
/** <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=0x7f010096;
/** <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=0x7f01004c;
/** <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=0x7f010082;
/** <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=0x7f010083;
/** <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=0x7f010086;
/** <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=0x7f010085;
/** <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=0x7f010088;
/** <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=0x7f01008a;
/** <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=0x7f010089;
/** <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=0x7f01008e;
/** <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=0x7f01008b;
/** <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=0x7f010090;
/** <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=0x7f01008c;
/** <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=0x7f01008d;
/** <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=0x7f010087;
/** <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=0x7f010084;
/** <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=0x7f01008f;
/** <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=0x7f010078;
/** <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=0x7f010079;
/** <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=0x7f01004e;
/** <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=0x7f01004d;
/** <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=0x7f0100a2;
/** <p>Must be one of the following constant values.</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>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
*/
public static final int actualImageScaleType=0x7f01003a;
/** <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 actualImageUri=0x7f010063;
/** <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 alertDialogButtonGroupStyle=0x7f0100c4;
/** <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 alertDialogCenterButtons=0x7f0100c5;
/** <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 alertDialogStyle=0x7f0100c3;
/** <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 alertDialogTheme=0x7f0100c6;
/** <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 arrowHeadLength=0x7f01002b;
/** <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 arrowShaftLength=0x7f01002c;
/** <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 autoCompleteTextViewStyle=0x7f0100cb;
/** <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;
/** <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 backgroundImage=0x7f01003b;
/** <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;
/** <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;
/** <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 backgroundTint=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>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
*/
public static final int backgroundTintMode=0x7f0100e8;
/** <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 barLength=0x7f01002d;
/** <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 borderlessButtonStyle=0x7f01009f;
/** <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=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 buttonBarNegativeButtonStyle=0x7f0100c9;
/** <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 buttonBarNeutralButtonStyle=0x7f0100ca;
/** <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 buttonBarPositiveButtonStyle=0x7f0100c8;
/** <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=0x7f01009b;
/** <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 buttonPanelSideLayout=0x7f01001f;
/** <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 buttonStyle=0x7f0100cc;
/** <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 buttonStyleSmall=0x7f0100cd;
/** <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 buttonTint=0x7f010025;
/** <p>Must be one of the following constant values.</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>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
*/
public static final int buttonTintMode=0x7f010026;
/** <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 checkboxStyle=0x7f0100ce;
/** <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 checkedTextViewStyle=0x7f0100cf;
/** <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=0x7f01005a;
/** <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;
/** <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=0x7f0100de;
/** <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=0x7f0100dd;
/** <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=0x7f010027;
/** <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=0x7f0100bc;
/** <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=0x7f0100c0;
/** <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=0x7f0100be;
/** <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=0x7f0100bf;
/** <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=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 colorPrimary=0x7f0100ba;
/** <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=0x7f0100bb;
/** <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=0x7f0100c1;
/** <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=0x7f01005f;
/** <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;
/** <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;
/** <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;
/** <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;
/** <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 controlBackground=0x7f0100c2;
/** <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 defaultQueryHint=0x7f010059;
/** <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 dialogPreferredPadding=0x7f010094;
/** <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 dialogTheme=0x7f010093;
/** <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;
/** <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;
/** <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=0x7f0100a1;
/** <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=0x7f01004a;
/** <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=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 drawableSize=0x7f010029;
/** <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;
/** <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=0x7f0100b2;
/** <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=0x7f010097;
/** <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=0x7f0100a8;
/** <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=0x7f0100a7;
/** <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 editTextStyle=0x7f0100d0;
/** <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 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 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 fadeDuration=0x7f01002f;
/** <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 failureImage=0x7f010035;
/** <p>Must be one of the following constant values.</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>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
*/
public static final int failureImageScaleType=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 gapBetweenBars=0x7f01002a;
/** <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=0x7f01005b;
/** <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;
/** <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;
/** <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=0x7f010099;
/** <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 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;
/** <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=0x7f010057;
/** <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;
/** <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 dimension value, which is a floating point number appended with a unit such 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 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=0x7f010056;
/** <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 layoutManager=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 listChoiceBackgroundIndicator=0x7f0100b9;
/** <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 listDividerAlertDialog=0x7f010095;
/** <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 listItemLayout=0x7f010023;
/** <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 listLayout=0x7f010020;
/** <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=0x7f0100b3;
/** <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=0x7f0100ad;
/** <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=0x7f0100af;
/** <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=0x7f0100ae;
/** <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=0x7f0100b0;
/** <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=0x7f0100b1;
/** <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 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 logoDescription=0x7f0100e1;
/** <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=0x7f0100dc;
/** <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=0x7f010048;
/** <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 multiChoiceItemLayout=0x7f010021;
/** <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=0x7f0100e0;
/** <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=0x7f0100df;
/** <p>Must be one of the following constant values.</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></td></tr>
<tr><td><code>listMode</code></td><td>1</td><td></td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int navigationMode=0x7f010004;
/** <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=0x7f010050;
/** <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 overlayImage=0x7f01003c;
/** <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=0x7f0100e5;
/** <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=0x7f0100e4;
/** <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=0x7f0100b6;
/** <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=0x7f0100b8;
/** <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=0x7f0100b7;
/** <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 placeholderImage=0x7f010031;
/** <p>Must be one of the following constant values.</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>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
*/
public static final int placeholderImageScaleType=0x7f010032;
/** <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=0x7f0100a5;
/** <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;
/** <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=0x7f0100a6;
/** <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=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 pressedStateOverlayImage=0x7f01003d;
/** <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 progressBarAutoRotateInterval=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 progressBarImage=0x7f010037;
/** <p>Must be one of the following constant values.</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>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
*/
public static final int progressBarImageScaleType=0x7f010038;
/** <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;
/** <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;
/** <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=0x7f010061;
/** <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=0x7f010058;
/** <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 radioButtonStyle=0x7f0100d1;
/** <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 ratingBarStyle=0x7f0100d2;
/** <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 retryImage=0x7f010033;
/** <p>Must be one of the following constant values.</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>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
*/
public static final int retryImageScaleType=0x7f010034;
/** <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 reverseLayout=0x7f010054;
/** <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 roundAsCircle=0x7f01003e;
/** <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 roundBottomLeft=0x7f010043;
/** <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 roundBottomRight=0x7f010042;
/** <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 roundTopLeft=0x7f010040;
/** <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 roundTopRight=0x7f010041;
/** <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 roundWithOverlayColor=0x7f010044;
/** <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 roundedCornerRadius=0x7f01003f;
/** <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 roundingBorderColor=0x7f010046;
/** <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 roundingBorderPadding=0x7f010047;
/** <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 roundingBorderWidth=0x7f010045;
/** <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 searchHintIcon=0x7f01005d;
/** <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=0x7f01005c;
/** <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=0x7f0100ac;
/** <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=0x7f01009d;
/** <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=0x7f01009e;
/** <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></td></tr>
<tr><td><code>ifRoom</code></td><td>1</td><td></td></tr>
<tr><td><code>always</code></td><td>2</td><td></td></tr>
<tr><td><code>withText</code></td><td>4</td><td></td></tr>
<tr><td><code>collapseActionView</code></td><td>8</td><td></td></tr>
</table>
*/
public static final int showAsAction=0x7f01004b;
/** <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=0x7f010049;
/** <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=0x7f01006a;
/** <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 singleChoiceItemLayout=0x7f010022;
/** <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 spanCount=0x7f010053;
/** <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=0x7f010028;
/** <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=0x7f010098;
/** <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=0x7f0100d3;
/** <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=0x7f010069;
/** <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 stackFromEnd=0x7f010055;
/** <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=0x7f010051;
/** <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=0x7f010062;
/** <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=0x7f0100d6;
/** <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 subtitleTextColor=0x7f0100e3;
/** <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;
/** <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=0x7f010060;
/** <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=0x7f010067;
/** <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=0x7f010068;
/** <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=0x7f0100d4;
/** <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=0x7f010066;
/** <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=0x7f010024;
/** <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=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 textAppearanceListItem=0x7f0100b4;
/** <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=0x7f0100b5;
/** <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=0x7f0100aa;
/** <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=0x7f0100a9;
/** <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=0x7f010092;
/** <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 textColorAlertDialogListItem=0x7f0100c7;
/** <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=0x7f0100ab;
/** <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=0x7f0100e6;
/** <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=0x7f01002e;
/** <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=0x7f010065;
/** <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=0x7f0100db;
/** <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=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 titleMarginStart=0x7f0100d8;
/** <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=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 titleMargins=0x7f0100d7;
/** <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=0x7f0100d5;
/** <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 titleTextColor=0x7f0100e2;
/** <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;
/** <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=0x7f0100a4;
/** <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=0x7f0100a3;
/** <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=0x7f010064;
/** <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 viewAspectRatio=0x7f010030;
/** <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=0x7f01005e;
/** <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=0x7f01006b;
/** <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=0x7f01006d;
/** <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=0x7f01006e;
/** <p>May be a dimension value, which is a floating point number appended with a unit such 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=0x7f010072;
/** <p>May be a dimension value, which is a floating point number appended with a unit such 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=0x7f010070;
/** <p>May be a dimension value, which is a floating point number appended with a unit such 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=0x7f01006f;
/** <p>May be a dimension value, which is a floating point number appended with a unit such 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=0x7f010071;
/** <p>May be a dimension value, which is a floating point number appended with a unit such 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 windowMinWidthMajor=0x7f010073;
/** <p>May be a dimension value, which is a floating point number appended with a unit such 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 windowMinWidthMinor=0x7f010074;
/** <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 windowNoTitle=0x7f01006c;
}
public static final class bool {
public static final int abc_action_bar_embed_tabs=0x7f0a0002;
public static final int abc_action_bar_embed_tabs_pre_jb=0x7f0a0000;
public static final int abc_action_bar_expanded_action_views_exclusive=0x7f0a0003;
public static final int abc_config_actionMenuItemAllCaps=0x7f0a0004;
public static final int abc_config_allowActionMenuItemTextWithIcon=0x7f0a0001;
public static final int abc_config_closeDialogWhenTouchOutside=0x7f0a0005;
public static final int abc_config_showMenuShortcutsWhenKeyboardPresent=0x7f0a0006;
}
public static final class color {
public static final int abc_background_cache_hint_selector_material_dark=0x7f0c003b;
public static final int abc_background_cache_hint_selector_material_light=0x7f0c003c;
public static final int abc_color_highlight_material=0x7f0c003d;
public static final int abc_input_method_navigation_guard=0x7f0c0000;
public static final int abc_primary_text_disable_only_material_dark=0x7f0c003e;
public static final int abc_primary_text_disable_only_material_light=0x7f0c003f;
public static final int abc_primary_text_material_dark=0x7f0c0040;
public static final int abc_primary_text_material_light=0x7f0c0041;
public static final int abc_search_url_text=0x7f0c0042;
public static final int abc_search_url_text_normal=0x7f0c0001;
public static final int abc_search_url_text_pressed=0x7f0c0002;
public static final int abc_search_url_text_selected=0x7f0c0003;
public static final int abc_secondary_text_material_dark=0x7f0c0043;
public static final int abc_secondary_text_material_light=0x7f0c0044;
public static final int accent_material_dark=0x7f0c0004;
public static final int accent_material_light=0x7f0c0005;
public static final int background_floating_material_dark=0x7f0c0006;
public static final int background_floating_material_light=0x7f0c0007;
public static final int background_material_dark=0x7f0c0008;
public static final int background_material_light=0x7f0c0009;
public static final int bright_foreground_disabled_material_dark=0x7f0c000a;
public static final int bright_foreground_disabled_material_light=0x7f0c000b;
public static final int bright_foreground_inverse_material_dark=0x7f0c000c;
public static final int bright_foreground_inverse_material_light=0x7f0c000d;
public static final int bright_foreground_material_dark=0x7f0c000e;
public static final int bright_foreground_material_light=0x7f0c000f;
public static final int button_material_dark=0x7f0c0010;
public static final int button_material_light=0x7f0c0011;
public static final int catalyst_redbox_background=0x7f0c0012;
public static final int dim_foreground_disabled_material_dark=0x7f0c0013;
public static final int dim_foreground_disabled_material_light=0x7f0c0014;
public static final int dim_foreground_material_dark=0x7f0c0015;
public static final int dim_foreground_material_light=0x7f0c0016;
public static final int foreground_material_dark=0x7f0c0017;
public static final int foreground_material_light=0x7f0c0018;
public static final int highlighted_text_material_dark=0x7f0c0019;
public static final int highlighted_text_material_light=0x7f0c001a;
public static final int hint_foreground_material_dark=0x7f0c001b;
public static final int hint_foreground_material_light=0x7f0c001c;
public static final int material_blue_grey_800=0x7f0c001d;
public static final int material_blue_grey_900=0x7f0c001e;
public static final int material_blue_grey_950=0x7f0c001f;
public static final int material_deep_teal_200=0x7f0c0020;
public static final int material_deep_teal_500=0x7f0c0021;
public static final int material_grey_100=0x7f0c0022;
public static final int material_grey_300=0x7f0c0023;
public static final int material_grey_50=0x7f0c0024;
public static final int material_grey_600=0x7f0c0025;
public static final int material_grey_800=0x7f0c0026;
public static final int material_grey_850=0x7f0c0027;
public static final int material_grey_900=0x7f0c0028;
public static final int primary_dark_material_dark=0x7f0c0029;
public static final int primary_dark_material_light=0x7f0c002a;
public static final int primary_material_dark=0x7f0c002b;
public static final int primary_material_light=0x7f0c002c;
public static final int primary_text_default_material_dark=0x7f0c002d;
public static final int primary_text_default_material_light=0x7f0c002e;
public static final int primary_text_disabled_material_dark=0x7f0c002f;
public static final int primary_text_disabled_material_light=0x7f0c0030;
public static final int ripple_material_dark=0x7f0c0031;
public static final int ripple_material_light=0x7f0c0032;
public static final int secondary_text_default_material_dark=0x7f0c0033;
public static final int secondary_text_default_material_light=0x7f0c0034;
public static final int secondary_text_disabled_material_dark=0x7f0c0035;
public static final int secondary_text_disabled_material_light=0x7f0c0036;
public static final int switch_thumb_disabled_material_dark=0x7f0c0037;
public static final int switch_thumb_disabled_material_light=0x7f0c0038;
public static final int switch_thumb_material_dark=0x7f0c0045;
public static final int switch_thumb_material_light=0x7f0c0046;
public static final int switch_thumb_normal_material_dark=0x7f0c0039;
public static final int switch_thumb_normal_material_light=0x7f0c003a;
}
public static final class dimen {
public static final int abc_action_bar_content_inset_material=0x7f08000b;
public static final int abc_action_bar_default_height_material=0x7f080001;
public static final int abc_action_bar_default_padding_end_material=0x7f08000c;
public static final int abc_action_bar_default_padding_start_material=0x7f08000d;
public static final int abc_action_bar_icon_vertical_padding_material=0x7f08000f;
public static final int abc_action_bar_overflow_padding_end_material=0x7f080010;
public static final int abc_action_bar_overflow_padding_start_material=0x7f080011;
public static final int abc_action_bar_progress_bar_size=0x7f080002;
public static final int abc_action_bar_stacked_max_height=0x7f080012;
public static final int abc_action_bar_stacked_tab_max_width=0x7f080013;
public static final int abc_action_bar_subtitle_bottom_margin_material=0x7f080014;
public static final int abc_action_bar_subtitle_top_margin_material=0x7f080015;
public static final int abc_action_button_min_height_material=0x7f080016;
public static final int abc_action_button_min_width_material=0x7f080017;
public static final int abc_action_button_min_width_overflow_material=0x7f080018;
public static final int abc_alert_dialog_button_bar_height=0x7f080000;
public static final int abc_button_inset_horizontal_material=0x7f080019;
public static final int abc_button_inset_vertical_material=0x7f08001a;
public static final int abc_button_padding_horizontal_material=0x7f08001b;
public static final int abc_button_padding_vertical_material=0x7f08001c;
public static final int abc_config_prefDialogWidth=0x7f080005;
public static final int abc_control_corner_material=0x7f08001d;
public static final int abc_control_inset_material=0x7f08001e;
public static final int abc_control_padding_material=0x7f08001f;
public static final int abc_dialog_list_padding_vertical_material=0x7f080020;
public static final int abc_dialog_min_width_major=0x7f080021;
public static final int abc_dialog_min_width_minor=0x7f080022;
public static final int abc_dialog_padding_material=0x7f080023;
public static final int abc_dialog_padding_top_material=0x7f080024;
public static final int abc_disabled_alpha_material_dark=0x7f080025;
public static final int abc_disabled_alpha_material_light=0x7f080026;
public static final int abc_dropdownitem_icon_width=0x7f080027;
public static final int abc_dropdownitem_text_padding_left=0x7f080028;
public static final int abc_dropdownitem_text_padding_right=0x7f080029;
public static final int abc_edit_text_inset_bottom_material=0x7f08002a;
public static final int abc_edit_text_inset_horizontal_material=0x7f08002b;
public static final int abc_edit_text_inset_top_material=0x7f08002c;
public static final int abc_floating_window_z=0x7f08002d;
public static final int abc_list_item_padding_horizontal_material=0x7f08002e;
public static final int abc_panel_menu_list_width=0x7f08002f;
public static final int abc_search_view_preferred_width=0x7f080030;
public static final int abc_search_view_text_min_width=0x7f080006;
public static final int abc_switch_padding=0x7f08000e;
public static final int abc_text_size_body_1_material=0x7f080031;
public static final int abc_text_size_body_2_material=0x7f080032;
public static final int abc_text_size_button_material=0x7f080033;
public static final int abc_text_size_caption_material=0x7f080034;
public static final int abc_text_size_display_1_material=0x7f080035;
public static final int abc_text_size_display_2_material=0x7f080036;
public static final int abc_text_size_display_3_material=0x7f080037;
public static final int abc_text_size_display_4_material=0x7f080038;
public static final int abc_text_size_headline_material=0x7f080039;
public static final int abc_text_size_large_material=0x7f08003a;
public static final int abc_text_size_medium_material=0x7f08003b;
public static final int abc_text_size_menu_material=0x7f08003c;
public static final int abc_text_size_small_material=0x7f08003d;
public static final int abc_text_size_subhead_material=0x7f08003e;
public static final int abc_text_size_subtitle_material_toolbar=0x7f080003;
public static final int abc_text_size_title_material=0x7f08003f;
public static final int abc_text_size_title_material_toolbar=0x7f080004;
public static final int dialog_fixed_height_major=0x7f080007;
public static final int dialog_fixed_height_minor=0x7f080008;
public static final int dialog_fixed_width_major=0x7f080009;
public static final int dialog_fixed_width_minor=0x7f08000a;
public static final int disabled_alpha_material_dark=0x7f080040;
public static final int disabled_alpha_material_light=0x7f080041;
public static final int highlight_alpha_material_colored=0x7f080042;
public static final int highlight_alpha_material_dark=0x7f080043;
public static final int highlight_alpha_material_light=0x7f080044;
public static final int item_touch_helper_max_drag_scroll_per_frame=0x7f080045;
public static final int item_touch_helper_swipe_escape_max_velocity=0x7f080046;
public static final int item_touch_helper_swipe_escape_velocity=0x7f080047;
public static final int notification_large_icon_height=0x7f080048;
public static final int notification_large_icon_width=0x7f080049;
public static final int notification_subtext_size=0x7f08004a;
}
public static final class drawable {
public static final int abc_ab_share_pack_mtrl_alpha=0x7f020000;
public static final int abc_action_bar_item_background_material=0x7f020001;
public static final int abc_btn_borderless_material=0x7f020002;
public static final int abc_btn_check_material=0x7f020003;
public static final int abc_btn_check_to_on_mtrl_000=0x7f020004;
public static final int abc_btn_check_to_on_mtrl_015=0x7f020005;
public static final int abc_btn_colored_material=0x7f020006;
public static final int abc_btn_default_mtrl_shape=0x7f020007;
public static final int abc_btn_radio_material=0x7f020008;
public static final int abc_btn_radio_to_on_mtrl_000=0x7f020009;
public static final int abc_btn_radio_to_on_mtrl_015=0x7f02000a;
public static final int abc_btn_rating_star_off_mtrl_alpha=0x7f02000b;
public static final int abc_btn_rating_star_on_mtrl_alpha=0x7f02000c;
public static final int abc_btn_switch_to_on_mtrl_00001=0x7f02000d;
public static final int abc_btn_switch_to_on_mtrl_00012=0x7f02000e;
public static final int abc_cab_background_internal_bg=0x7f02000f;
public static final int abc_cab_background_top_material=0x7f020010;
public static final int abc_cab_background_top_mtrl_alpha=0x7f020011;
public static final int abc_control_background_material=0x7f020012;
public static final int abc_dialog_material_background_dark=0x7f020013;
public static final int abc_dialog_material_background_light=0x7f020014;
public static final int abc_edit_text_material=0x7f020015;
public static final int abc_ic_ab_back_mtrl_am_alpha=0x7f020016;
public static final int abc_ic_clear_mtrl_alpha=0x7f020017;
public static final int abc_ic_commit_search_api_mtrl_alpha=0x7f020018;
public static final int abc_ic_go_search_api_mtrl_alpha=0x7f020019;
public static final int abc_ic_menu_copy_mtrl_am_alpha=0x7f02001a;
public static final int abc_ic_menu_cut_mtrl_alpha=0x7f02001b;
public static final int abc_ic_menu_moreoverflow_mtrl_alpha=0x7f02001c;
public static final int abc_ic_menu_paste_mtrl_am_alpha=0x7f02001d;
public static final int abc_ic_menu_selectall_mtrl_alpha=0x7f02001e;
public static final int abc_ic_menu_share_mtrl_alpha=0x7f02001f;
public static final int abc_ic_search_api_mtrl_alpha=0x7f020020;
public static final int abc_ic_voice_search_api_mtrl_alpha=0x7f020021;
public static final int abc_item_background_holo_dark=0x7f020022;
public static final int abc_item_background_holo_light=0x7f020023;
public static final int abc_list_divider_mtrl_alpha=0x7f020024;
public static final int abc_list_focused_holo=0x7f020025;
public static final int abc_list_longpressed_holo=0x7f020026;
public static final int abc_list_pressed_holo_dark=0x7f020027;
public static final int abc_list_pressed_holo_light=0x7f020028;
public static final int abc_list_selector_background_transition_holo_dark=0x7f020029;
public static final int abc_list_selector_background_transition_holo_light=0x7f02002a;
public static final int abc_list_selector_disabled_holo_dark=0x7f02002b;
public static final int abc_list_selector_disabled_holo_light=0x7f02002c;
public static final int abc_list_selector_holo_dark=0x7f02002d;
public static final int abc_list_selector_holo_light=0x7f02002e;
public static final int abc_menu_hardkey_panel_mtrl_mult=0x7f02002f;
public static final int abc_popup_background_mtrl_mult=0x7f020030;
public static final int abc_ratingbar_full_material=0x7f020031;
public static final int abc_spinner_mtrl_am_alpha=0x7f020032;
public static final int abc_spinner_textfield_background_material=0x7f020033;
public static final int abc_switch_thumb_material=0x7f020034;
public static final int abc_switch_track_mtrl_alpha=0x7f020035;
public static final int abc_tab_indicator_material=0x7f020036;
public static final int abc_tab_indicator_mtrl_alpha=0x7f020037;
public static final int abc_text_cursor_material=0x7f020038;
public static final int abc_textfield_activated_mtrl_alpha=0x7f020039;
public static final int abc_textfield_default_mtrl_alpha=0x7f02003a;
public static final int abc_textfield_search_activated_mtrl_alpha=0x7f02003b;
public static final int abc_textfield_search_default_mtrl_alpha=0x7f02003c;
public static final int abc_textfield_search_material=0x7f02003d;
public static final int node_modules_reactnative_libraries_customcomponents_navigationexperimental_assets_backicon=0x7f02003e;
public static final int node_modules_reactnativedatepicker_date_icon=0x7f02003f;
public static final int node_modules_reactnativeexperimentalnavigation_assets_back=0x7f020040;
public static final int node_modules_reactnativerouterflux_src_back_chevron=0x7f020041;
public static final int node_modules_reactnativerouterflux_src_menu_burger=0x7f020042;
public static final int notification_template_icon_bg=0x7f020044;
public static final int src_assets_images_bukalelangbannerversireverse=0x7f020043;
}
public static final class id {
public static final int action0=0x7f0d0057;
public static final int action_bar=0x7f0d0047;
public static final int action_bar_activity_content=0x7f0d0000;
public static final int action_bar_container=0x7f0d0046;
public static final int action_bar_root=0x7f0d0042;
public static final int action_bar_spinner=0x7f0d0001;
public static final int action_bar_subtitle=0x7f0d002b;
public static final int action_bar_title=0x7f0d002a;
public static final int action_context_bar=0x7f0d0048;
public static final int action_divider=0x7f0d005b;
public static final int action_menu_divider=0x7f0d0002;
public static final int action_menu_presenter=0x7f0d0003;
public static final int action_mode_bar=0x7f0d0044;
public static final int action_mode_bar_stub=0x7f0d0043;
public static final int action_mode_close_button=0x7f0d002c;
public static final int activity_chooser_view_content=0x7f0d002d;
public static final int alertTitle=0x7f0d0037;
public static final int always=0x7f0d0024;
public static final int beginning=0x7f0d0021;
public static final int buttonPanel=0x7f0d003d;
public static final int cancel_action=0x7f0d0058;
public static final int catalyst_redbox_title=0x7f0d0066;
public static final int center=0x7f0d0019;
public static final int centerCrop=0x7f0d001a;
public static final int centerInside=0x7f0d001b;
public static final int checkbox=0x7f0d003f;
public static final int chronometer=0x7f0d005e;
public static final int collapseActionView=0x7f0d0025;
public static final int contentPanel=0x7f0d0038;
public static final int custom=0x7f0d003c;
public static final int customPanel=0x7f0d003b;
public static final int decor_content_parent=0x7f0d0045;
public static final int default_activity_button=0x7f0d0030;
public static final int disableHome=0x7f0d000d;
public static final int edit_query=0x7f0d0049;
public static final int end=0x7f0d0022;
public static final int end_padder=0x7f0d0063;
public static final int expand_activities_button=0x7f0d002e;
public static final int expanded_menu=0x7f0d003e;
public static final int fitCenter=0x7f0d001c;
public static final int fitEnd=0x7f0d001d;
public static final int fitStart=0x7f0d001e;
public static final int fitXY=0x7f0d001f;
public static final int focusCrop=0x7f0d0020;
public static final int fps_text=0x7f0d0056;
public static final int home=0x7f0d0004;
public static final int homeAsUp=0x7f0d000e;
public static final int icon=0x7f0d0032;
public static final int ifRoom=0x7f0d0026;
public static final int image=0x7f0d002f;
public static final int info=0x7f0d0062;
public static final int item_touch_helper_previous_elevation=0x7f0d0005;
public static final int line1=0x7f0d005c;
public static final int line3=0x7f0d0060;
public static final int listMode=0x7f0d000a;
public static final int list_item=0x7f0d0031;
public static final int media_actions=0x7f0d005a;
public static final int middle=0x7f0d0023;
public static final int multiply=0x7f0d0014;
public static final int never=0x7f0d0027;
public static final int none=0x7f0d000f;
public static final int normal=0x7f0d000b;
public static final int parentPanel=0x7f0d0034;
public static final int progress_circular=0x7f0d0006;
public static final int progress_horizontal=0x7f0d0007;
public static final int radio=0x7f0d0041;
public static final int rn_frame_file=0x7f0d0065;
public static final int rn_frame_method=0x7f0d0064;
public static final int rn_redbox_copy_button=0x7f0d006d;
public static final int rn_redbox_dismiss_button=0x7f0d006b;
public static final int rn_redbox_line_separator=0x7f0d0068;
public static final int rn_redbox_loading_indicator=0x7f0d0069;
public static final int rn_redbox_reload_button=0x7f0d006c;
public static final int rn_redbox_report_button=0x7f0d006e;
public static final int rn_redbox_report_label=0x7f0d006a;
public static final int rn_redbox_stack=0x7f0d0067;
public static final int screen=0x7f0d0015;
public static final int scrollView=0x7f0d0039;
public static final int search_badge=0x7f0d004b;
public static final int search_bar=0x7f0d004a;
public static final int search_button=0x7f0d004c;
public static final int search_close_btn=0x7f0d0051;
public static final int search_edit_frame=0x7f0d004d;
public static final int search_go_btn=0x7f0d0053;
public static final int search_mag_icon=0x7f0d004e;
public static final int search_plate=0x7f0d004f;
public static final int search_src_text=0x7f0d0050;
public static final int search_voice_btn=0x7f0d0054;
public static final int select_dialog_listview=0x7f0d0055;
public static final int shortcut=0x7f0d0040;
public static final int showCustom=0x7f0d0010;
public static final int showHome=0x7f0d0011;
public static final int showTitle=0x7f0d0012;
public static final int split_action_bar=0x7f0d0008;
public static final int src_atop=0x7f0d0016;
public static final int src_in=0x7f0d0017;
public static final int src_over=0x7f0d0018;
public static final int status_bar_latest_event_content=0x7f0d0059;
public static final int submit_area=0x7f0d0052;
public static final int tabMode=0x7f0d000c;
public static final int text=0x7f0d0061;
public static final int text2=0x7f0d005f;
public static final int textSpacerNoButtons=0x7f0d003a;
public static final int time=0x7f0d005d;
public static final int title=0x7f0d0033;
public static final int title_template=0x7f0d0036;
public static final int topPanel=0x7f0d0035;
public static final int up=0x7f0d0009;
public static final int useLogo=0x7f0d0013;
public static final int withText=0x7f0d0028;
public static final int wrap_content=0x7f0d0029;
}
public static final class integer {
public static final int abc_config_activityDefaultDur=0x7f0b0001;
public static final int abc_config_activityShortDur=0x7f0b0002;
public static final int abc_max_action_buttons=0x7f0b0000;
public static final int cancel_button_image_alpha=0x7f0b0003;
public static final int status_bar_notification_info_maxnum=0x7f0b0004;
}
public static final class layout {
public static final int abc_action_bar_title_item=0x7f040000;
public static final int abc_action_bar_up_container=0x7f040001;
public static final int abc_action_bar_view_list_nav_layout=0x7f040002;
public static final int abc_action_menu_item_layout=0x7f040003;
public static final int abc_action_menu_layout=0x7f040004;
public static final int abc_action_mode_bar=0x7f040005;
public static final int abc_action_mode_close_item_material=0x7f040006;
public static final int abc_activity_chooser_view=0x7f040007;
public static final int abc_activity_chooser_view_list_item=0x7f040008;
public static final int abc_alert_dialog_material=0x7f040009;
public static final int abc_dialog_title_material=0x7f04000a;
public static final int abc_expanded_menu_layout=0x7f04000b;
public static final int abc_list_menu_item_checkbox=0x7f04000c;
public static final int abc_list_menu_item_icon=0x7f04000d;
public static final int abc_list_menu_item_layout=0x7f04000e;
public static final int abc_list_menu_item_radio=0x7f04000f;
public static final int abc_popup_menu_item_layout=0x7f040010;
public static final int abc_screen_content_include=0x7f040011;
public static final int abc_screen_simple=0x7f040012;
public static final int abc_screen_simple_overlay_action_mode=0x7f040013;
public static final int abc_screen_toolbar=0x7f040014;
public static final int abc_search_dropdown_item_icons_2line=0x7f040015;
public static final int abc_search_view=0x7f040016;
public static final int abc_select_dialog_material=0x7f040017;
public static final int fps_view=0x7f040018;
public static final int list_item=0x7f040019;
public static final int notification_media_action=0x7f04001a;
public static final int notification_media_cancel_action=0x7f04001b;
public static final int notification_template_big_media=0x7f04001c;
public static final int notification_template_big_media_narrow=0x7f04001d;
public static final int notification_template_lines=0x7f04001e;
public static final int notification_template_media=0x7f04001f;
public static final int notification_template_part_chronometer=0x7f040020;
public static final int notification_template_part_time=0x7f040021;
public static final int redbox_item_frame=0x7f040022;
public static final int redbox_item_title=0x7f040023;
public static final int redbox_view=0x7f040024;
public static final int select_dialog_item_material=0x7f040025;
public static final int select_dialog_multichoice_material=0x7f040026;
public static final int select_dialog_singlechoice_material=0x7f040027;
public static final int support_simple_spinner_dropdown_item=0x7f040028;
}
public static final class mipmap {
public static final int ic_launcher=0x7f030000;
}
public static final class string {
public static final int abc_action_bar_home_description=0x7f070000;
public static final int abc_action_bar_home_description_format=0x7f070001;
public static final int abc_action_bar_home_subtitle_description_format=0x7f070002;
public static final int abc_action_bar_up_description=0x7f070003;
public static final int abc_action_menu_overflow_description=0x7f070004;
public static final int abc_action_mode_done=0x7f070005;
public static final int abc_activity_chooser_view_see_all=0x7f070006;
public static final int abc_activitychooserview_choose_application=0x7f070007;
public static final int abc_search_hint=0x7f070008;
public static final int abc_searchview_description_clear=0x7f070009;
public static final int abc_searchview_description_query=0x7f07000a;
public static final int abc_searchview_description_search=0x7f07000b;
public static final int abc_searchview_description_submit=0x7f07000c;
public static final int abc_searchview_description_voice=0x7f07000d;
public static final int abc_shareactionprovider_share_with=0x7f07000e;
public static final int abc_shareactionprovider_share_with_application=0x7f07000f;
public static final int abc_toolbar_collapse_description=0x7f070010;
public static final int app_name=0x7f070012;
public static final int catalyst_copy_button=0x7f070013;
public static final int catalyst_debugjs=0x7f070014;
public static final int catalyst_debugjs_off=0x7f070015;
public static final int catalyst_dismiss_button=0x7f070016;
public static final int catalyst_element_inspector=0x7f070017;
public static final int catalyst_heap_capture=0x7f070018;
public static final int catalyst_hot_module_replacement=0x7f070019;
public static final int catalyst_hot_module_replacement_off=0x7f07001a;
public static final int catalyst_jsload_error=0x7f07001b;
public static final int catalyst_jsload_message=0x7f07001c;
public static final int catalyst_jsload_title=0x7f07001d;
public static final int catalyst_live_reload=0x7f07001e;
public static final int catalyst_live_reload_off=0x7f07001f;
public static final int catalyst_perf_monitor=0x7f070020;
public static final int catalyst_perf_monitor_off=0x7f070021;
public static final int catalyst_poke_sampling_profiler=0x7f070022;
public static final int catalyst_reload_button=0x7f070023;
public static final int catalyst_reloadjs=0x7f070024;
public static final int catalyst_remotedbg_error=0x7f070025;
public static final int catalyst_remotedbg_message=0x7f070026;
public static final int catalyst_report_button=0x7f070027;
public static final int catalyst_settings=0x7f070028;
public static final int catalyst_settings_title=0x7f070029;
public static final int status_bar_notification_info_overflow=0x7f070011;
}
public static final class style {
public static final int AlertDialog_AppCompat=0x7f09007a;
public static final int AlertDialog_AppCompat_Light=0x7f09007b;
public static final int Animation_AppCompat_Dialog=0x7f09007c;
public static final int Animation_AppCompat_DropDownUp=0x7f09007d;
public static final int Animation_Catalyst_RedBox=0x7f09007e;
/** Customize your theme here.
*/
public static final int AppTheme=0x7f09007f;
public static final int Base_AlertDialog_AppCompat=0x7f090080;
public static final int Base_AlertDialog_AppCompat_Light=0x7f090081;
public static final int Base_Animation_AppCompat_Dialog=0x7f090082;
public static final int Base_Animation_AppCompat_DropDownUp=0x7f090083;
public static final int Base_DialogWindowTitle_AppCompat=0x7f090084;
public static final int Base_DialogWindowTitleBackground_AppCompat=0x7f090085;
public static final int Base_TextAppearance_AppCompat=0x7f09002d;
public static final int Base_TextAppearance_AppCompat_Body1=0x7f09002e;
public static final int Base_TextAppearance_AppCompat_Body2=0x7f09002f;
public static final int Base_TextAppearance_AppCompat_Button=0x7f090018;
public static final int Base_TextAppearance_AppCompat_Caption=0x7f090030;
public static final int Base_TextAppearance_AppCompat_Display1=0x7f090031;
public static final int Base_TextAppearance_AppCompat_Display2=0x7f090032;
public static final int Base_TextAppearance_AppCompat_Display3=0x7f090033;
public static final int Base_TextAppearance_AppCompat_Display4=0x7f090034;
public static final int Base_TextAppearance_AppCompat_Headline=0x7f090035;
public static final int Base_TextAppearance_AppCompat_Inverse=0x7f090003;
public static final int Base_TextAppearance_AppCompat_Large=0x7f090036;
public static final int Base_TextAppearance_AppCompat_Large_Inverse=0x7f090004;
public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f090037;
public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f090038;
public static final int Base_TextAppearance_AppCompat_Medium=0x7f090039;
public static final int Base_TextAppearance_AppCompat_Medium_Inverse=0x7f090005;
public static final int Base_TextAppearance_AppCompat_Menu=0x7f09003a;
public static final int Base_TextAppearance_AppCompat_SearchResult=0x7f090086;
public static final int Base_TextAppearance_AppCompat_SearchResult_Subtitle=0x7f09003b;
public static final int Base_TextAppearance_AppCompat_SearchResult_Title=0x7f09003c;
public static final int Base_TextAppearance_AppCompat_Small=0x7f09003d;
public static final int Base_TextAppearance_AppCompat_Small_Inverse=0x7f090006;
public static final int Base_TextAppearance_AppCompat_Subhead=0x7f09003e;
public static final int Base_TextAppearance_AppCompat_Subhead_Inverse=0x7f090007;
public static final int Base_TextAppearance_AppCompat_Title=0x7f09003f;
public static final int Base_TextAppearance_AppCompat_Title_Inverse=0x7f090008;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f090040;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f090041;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f090042;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f090043;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f090044;
public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f090045;
public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f090046;
public static final int Base_TextAppearance_AppCompat_Widget_Button=0x7f090047;
public static final int Base_TextAppearance_AppCompat_Widget_Button_Inverse=0x7f090076;
public static final int Base_TextAppearance_AppCompat_Widget_DropDownItem=0x7f090087;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f090048;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f090049;
public static final int Base_TextAppearance_AppCompat_Widget_Switch=0x7f09004a;
public static final int Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f09004b;
public static final int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f090088;
public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f09004c;
public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f09004d;
public static final int Base_Theme_AppCompat=0x7f09004e;
public static final int Base_Theme_AppCompat_CompactMenu=0x7f090089;
public static final int Base_Theme_AppCompat_Dialog=0x7f090009;
public static final int Base_Theme_AppCompat_Dialog_Alert=0x7f09008a;
public static final int Base_Theme_AppCompat_Dialog_FixedSize=0x7f09008b;
public static final int Base_Theme_AppCompat_Dialog_MinWidth=0x7f09008c;
public static final int Base_Theme_AppCompat_DialogWhenLarge=0x7f090001;
public static final int Base_Theme_AppCompat_Light=0x7f09004f;
public static final int Base_Theme_AppCompat_Light_DarkActionBar=0x7f09008d;
public static final int Base_Theme_AppCompat_Light_Dialog=0x7f09000a;
public static final int Base_Theme_AppCompat_Light_Dialog_Alert=0x7f09008e;
public static final int Base_Theme_AppCompat_Light_Dialog_FixedSize=0x7f09008f;
public static final int Base_Theme_AppCompat_Light_Dialog_MinWidth=0x7f090090;
public static final int Base_Theme_AppCompat_Light_DialogWhenLarge=0x7f090002;
public static final int Base_ThemeOverlay_AppCompat=0x7f090091;
public static final int Base_ThemeOverlay_AppCompat_ActionBar=0x7f090092;
public static final int Base_ThemeOverlay_AppCompat_Dark=0x7f090093;
public static final int Base_ThemeOverlay_AppCompat_Dark_ActionBar=0x7f090094;
public static final int Base_ThemeOverlay_AppCompat_Light=0x7f090095;
public static final int Base_V11_Theme_AppCompat_Dialog=0x7f09000b;
public static final int Base_V11_Theme_AppCompat_Light_Dialog=0x7f09000c;
public static final int Base_V12_Widget_AppCompat_AutoCompleteTextView=0x7f090014;
public static final int Base_V12_Widget_AppCompat_EditText=0x7f090015;
public static final int Base_V21_Theme_AppCompat=0x7f090050;
public static final int Base_V21_Theme_AppCompat_Dialog=0x7f090051;
public static final int Base_V21_Theme_AppCompat_Light=0x7f090052;
public static final int Base_V21_Theme_AppCompat_Light_Dialog=0x7f090053;
public static final int Base_V22_Theme_AppCompat=0x7f090074;
public static final int Base_V22_Theme_AppCompat_Light=0x7f090075;
public static final int Base_V23_Theme_AppCompat=0x7f090077;
public static final int Base_V23_Theme_AppCompat_Light=0x7f090078;
public static final int Base_V7_Theme_AppCompat=0x7f090096;
public static final int Base_V7_Theme_AppCompat_Dialog=0x7f090097;
public static final int Base_V7_Theme_AppCompat_Light=0x7f090098;
public static final int Base_V7_Theme_AppCompat_Light_Dialog=0x7f090099;
public static final int Base_V7_Widget_AppCompat_AutoCompleteTextView=0x7f09009a;
public static final int Base_V7_Widget_AppCompat_EditText=0x7f09009b;
public static final int Base_Widget_AppCompat_ActionBar=0x7f09009c;
public static final int Base_Widget_AppCompat_ActionBar_Solid=0x7f09009d;
public static final int Base_Widget_AppCompat_ActionBar_TabBar=0x7f09009e;
public static final int Base_Widget_AppCompat_ActionBar_TabText=0x7f090054;
public static final int Base_Widget_AppCompat_ActionBar_TabView=0x7f090055;
public static final int Base_Widget_AppCompat_ActionButton=0x7f090056;
public static final int Base_Widget_AppCompat_ActionButton_CloseMode=0x7f090057;
public static final int Base_Widget_AppCompat_ActionButton_Overflow=0x7f090058;
public static final int Base_Widget_AppCompat_ActionMode=0x7f09009f;
public static final int Base_Widget_AppCompat_ActivityChooserView=0x7f0900a0;
public static final int Base_Widget_AppCompat_AutoCompleteTextView=0x7f090016;
public static final int Base_Widget_AppCompat_Button=0x7f090059;
public static final int Base_Widget_AppCompat_Button_Borderless=0x7f09005a;
public static final int Base_Widget_AppCompat_Button_Borderless_Colored=0x7f09005b;
public static final int Base_Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0900a1;
public static final int Base_Widget_AppCompat_Button_Colored=0x7f090079;
public static final int Base_Widget_AppCompat_Button_Small=0x7f09005c;
public static final int Base_Widget_AppCompat_ButtonBar=0x7f09005d;
public static final int Base_Widget_AppCompat_ButtonBar_AlertDialog=0x7f0900a2;
public static final int Base_Widget_AppCompat_CompoundButton_CheckBox=0x7f09005e;
public static final int Base_Widget_AppCompat_CompoundButton_RadioButton=0x7f09005f;
public static final int Base_Widget_AppCompat_CompoundButton_Switch=0x7f0900a3;
public static final int Base_Widget_AppCompat_DrawerArrowToggle=0x7f090000;
public static final int Base_Widget_AppCompat_DrawerArrowToggle_Common=0x7f0900a4;
public static final int Base_Widget_AppCompat_DropDownItem_Spinner=0x7f090060;
public static final int Base_Widget_AppCompat_EditText=0x7f090017;
public static final int Base_Widget_AppCompat_Light_ActionBar=0x7f0900a5;
public static final int Base_Widget_AppCompat_Light_ActionBar_Solid=0x7f0900a6;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabBar=0x7f0900a7;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabText=0x7f090061;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f090062;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabView=0x7f090063;
public static final int Base_Widget_AppCompat_Light_PopupMenu=0x7f090064;
public static final int Base_Widget_AppCompat_Light_PopupMenu_Overflow=0x7f090065;
public static final int Base_Widget_AppCompat_ListPopupWindow=0x7f090066;
public static final int Base_Widget_AppCompat_ListView=0x7f090067;
public static final int Base_Widget_AppCompat_ListView_DropDown=0x7f090068;
public static final int Base_Widget_AppCompat_ListView_Menu=0x7f090069;
public static final int Base_Widget_AppCompat_PopupMenu=0x7f09006a;
public static final int Base_Widget_AppCompat_PopupMenu_Overflow=0x7f09006b;
public static final int Base_Widget_AppCompat_PopupWindow=0x7f0900a8;
public static final int Base_Widget_AppCompat_ProgressBar=0x7f09000d;
public static final int Base_Widget_AppCompat_ProgressBar_Horizontal=0x7f09000e;
public static final int Base_Widget_AppCompat_RatingBar=0x7f09006c;
public static final int Base_Widget_AppCompat_SearchView=0x7f0900a9;
public static final int Base_Widget_AppCompat_SearchView_ActionBar=0x7f0900aa;
public static final int Base_Widget_AppCompat_Spinner=0x7f09006d;
public static final int Base_Widget_AppCompat_Spinner_Underlined=0x7f09006e;
public static final int Base_Widget_AppCompat_TextView_SpinnerItem=0x7f09006f;
public static final int Base_Widget_AppCompat_Toolbar=0x7f0900ab;
public static final int Base_Widget_AppCompat_Toolbar_Button_Navigation=0x7f090070;
public static final int CalendarDatePickerDialog=0x7f0900ac;
public static final int CalendarDatePickerStyle=0x7f0900ad;
public static final int DefaultExplainingPermissionsTheme=0x7f0900ae;
public static final int DialogAnimationFade=0x7f0900af;
public static final int DialogAnimationSlide=0x7f0900b0;
public static final int Platform_AppCompat=0x7f09000f;
public static final int Platform_AppCompat_Light=0x7f090010;
public static final int Platform_ThemeOverlay_AppCompat=0x7f090071;
public static final int Platform_ThemeOverlay_AppCompat_Dark=0x7f090072;
public static final int Platform_ThemeOverlay_AppCompat_Light=0x7f090073;
public static final int Platform_V11_AppCompat=0x7f090011;
public static final int Platform_V11_AppCompat_Light=0x7f090012;
public static final int Platform_V14_AppCompat=0x7f090019;
public static final int Platform_V14_AppCompat_Light=0x7f09001a;
public static final int Platform_Widget_AppCompat_Spinner=0x7f090013;
public static final int RtlOverlay_DialogWindowTitle_AppCompat=0x7f090020;
public static final int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem=0x7f090021;
public static final int RtlOverlay_Widget_AppCompat_ActionButton_Overflow=0x7f090022;
public static final int RtlOverlay_Widget_AppCompat_DialogTitle_Icon=0x7f090023;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem=0x7f090024;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup=0x7f090025;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text=0x7f090026;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown=0x7f090027;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1=0x7f090028;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2=0x7f090029;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Query=0x7f09002a;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Text=0x7f09002b;
public static final int RtlOverlay_Widget_AppCompat_SearchView_MagIcon=0x7f09002c;
public static final int SpinnerDatePickerDialog=0x7f0900b1;
public static final int SpinnerDatePickerStyle=0x7f0900b2;
public static final int TextAppearance_AppCompat=0x7f0900b3;
public static final int TextAppearance_AppCompat_Body1=0x7f0900b4;
public static final int TextAppearance_AppCompat_Body2=0x7f0900b5;
public static final int TextAppearance_AppCompat_Button=0x7f0900b6;
public static final int TextAppearance_AppCompat_Caption=0x7f0900b7;
public static final int TextAppearance_AppCompat_Display1=0x7f0900b8;
public static final int TextAppearance_AppCompat_Display2=0x7f0900b9;
public static final int TextAppearance_AppCompat_Display3=0x7f0900ba;
public static final int TextAppearance_AppCompat_Display4=0x7f0900bb;
public static final int TextAppearance_AppCompat_Headline=0x7f0900bc;
public static final int TextAppearance_AppCompat_Inverse=0x7f0900bd;
public static final int TextAppearance_AppCompat_Large=0x7f0900be;
public static final int TextAppearance_AppCompat_Large_Inverse=0x7f0900bf;
public static final int TextAppearance_AppCompat_Light_SearchResult_Subtitle=0x7f0900c0;
public static final int TextAppearance_AppCompat_Light_SearchResult_Title=0x7f0900c1;
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0900c2;
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0900c3;
public static final int TextAppearance_AppCompat_Medium=0x7f0900c4;
public static final int TextAppearance_AppCompat_Medium_Inverse=0x7f0900c5;
public static final int TextAppearance_AppCompat_Menu=0x7f0900c6;
public static final int TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0900c7;
public static final int TextAppearance_AppCompat_SearchResult_Title=0x7f0900c8;
public static final int TextAppearance_AppCompat_Small=0x7f0900c9;
public static final int TextAppearance_AppCompat_Small_Inverse=0x7f0900ca;
public static final int TextAppearance_AppCompat_Subhead=0x7f0900cb;
public static final int TextAppearance_AppCompat_Subhead_Inverse=0x7f0900cc;
public static final int TextAppearance_AppCompat_Title=0x7f0900cd;
public static final int TextAppearance_AppCompat_Title_Inverse=0x7f0900ce;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0900cf;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0900d0;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0900d1;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0900d2;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0900d3;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0900d4;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse=0x7f0900d5;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0900d6;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse=0x7f0900d7;
public static final int TextAppearance_AppCompat_Widget_Button=0x7f0900d8;
public static final int TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0900d9;
public static final int TextAppearance_AppCompat_Widget_DropDownItem=0x7f0900da;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0900db;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0900dc;
public static final int TextAppearance_AppCompat_Widget_Switch=0x7f0900dd;
public static final int TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0900de;
public static final int TextAppearance_StatusBar_EventContent=0x7f09001b;
public static final int TextAppearance_StatusBar_EventContent_Info=0x7f09001c;
public static final int TextAppearance_StatusBar_EventContent_Line2=0x7f09001d;
public static final int TextAppearance_StatusBar_EventContent_Time=0x7f09001e;
public static final int TextAppearance_StatusBar_EventContent_Title=0x7f09001f;
public static final int TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0900df;
public static final int TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0900e0;
public static final int TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0900e1;
public static final int Theme=0x7f0900e2;
public static final int Theme_AppCompat=0x7f0900e3;
public static final int Theme_AppCompat_CompactMenu=0x7f0900e4;
public static final int Theme_AppCompat_Dialog=0x7f0900e5;
public static final int Theme_AppCompat_Dialog_Alert=0x7f0900e6;
public static final int Theme_AppCompat_Dialog_MinWidth=0x7f0900e7;
public static final int Theme_AppCompat_DialogWhenLarge=0x7f0900e8;
public static final int Theme_AppCompat_Light=0x7f0900e9;
public static final int Theme_AppCompat_Light_DarkActionBar=0x7f0900ea;
public static final int Theme_AppCompat_Light_Dialog=0x7f0900eb;
public static final int Theme_AppCompat_Light_Dialog_Alert=0x7f0900ec;
public static final int Theme_AppCompat_Light_Dialog_MinWidth=0x7f0900ed;
public static final int Theme_AppCompat_Light_DialogWhenLarge=0x7f0900ee;
public static final int Theme_AppCompat_Light_NoActionBar=0x7f0900ef;
public static final int Theme_AppCompat_NoActionBar=0x7f0900f0;
public static final int Theme_Catalyst=0x7f0900f1;
public static final int Theme_Catalyst_RedBox=0x7f0900f2;
public static final int Theme_FullScreenDialog=0x7f0900f3;
public static final int Theme_FullScreenDialogAnimatedFade=0x7f0900f4;
public static final int Theme_FullScreenDialogAnimatedSlide=0x7f0900f5;
public static final int Theme_ReactNative_AppCompat_Light=0x7f0900f6;
public static final int Theme_ReactNative_AppCompat_Light_NoActionBar_FullScreen=0x7f0900f7;
public static final int ThemeOverlay_AppCompat=0x7f0900f8;
public static final int ThemeOverlay_AppCompat_ActionBar=0x7f0900f9;
public static final int ThemeOverlay_AppCompat_Dark=0x7f0900fa;
public static final int ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0900fb;
public static final int ThemeOverlay_AppCompat_Light=0x7f0900fc;
public static final int Widget_AppCompat_ActionBar=0x7f0900fd;
public static final int Widget_AppCompat_ActionBar_Solid=0x7f0900fe;
public static final int Widget_AppCompat_ActionBar_TabBar=0x7f0900ff;
public static final int Widget_AppCompat_ActionBar_TabText=0x7f090100;
public static final int Widget_AppCompat_ActionBar_TabView=0x7f090101;
public static final int Widget_AppCompat_ActionButton=0x7f090102;
public static final int Widget_AppCompat_ActionButton_CloseMode=0x7f090103;
public static final int Widget_AppCompat_ActionButton_Overflow=0x7f090104;
public static final int Widget_AppCompat_ActionMode=0x7f090105;
public static final int Widget_AppCompat_ActivityChooserView=0x7f090106;
public static final int Widget_AppCompat_AutoCompleteTextView=0x7f090107;
public static final int Widget_AppCompat_Button=0x7f090108;
public static final int Widget_AppCompat_Button_Borderless=0x7f090109;
public static final int Widget_AppCompat_Button_Borderless_Colored=0x7f09010a;
public static final int Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f09010b;
public static final int Widget_AppCompat_Button_Colored=0x7f09010c;
public static final int Widget_AppCompat_Button_Small=0x7f09010d;
public static final int Widget_AppCompat_ButtonBar=0x7f09010e;
public static final int Widget_AppCompat_ButtonBar_AlertDialog=0x7f09010f;
public static final int Widget_AppCompat_CompoundButton_CheckBox=0x7f090110;
public static final int Widget_AppCompat_CompoundButton_RadioButton=0x7f090111;
public static final int Widget_AppCompat_CompoundButton_Switch=0x7f090112;
public static final int Widget_AppCompat_DrawerArrowToggle=0x7f090113;
public static final int Widget_AppCompat_DropDownItem_Spinner=0x7f090114;
public static final int Widget_AppCompat_EditText=0x7f090115;
public static final int Widget_AppCompat_Light_ActionBar=0x7f090116;
public static final int Widget_AppCompat_Light_ActionBar_Solid=0x7f090117;
public static final int Widget_AppCompat_Light_ActionBar_Solid_Inverse=0x7f090118;
public static final int Widget_AppCompat_Light_ActionBar_TabBar=0x7f090119;
public static final int Widget_AppCompat_Light_ActionBar_TabBar_Inverse=0x7f09011a;
public static final int Widget_AppCompat_Light_ActionBar_TabText=0x7f09011b;
public static final int Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f09011c;
public static final int Widget_AppCompat_Light_ActionBar_TabView=0x7f09011d;
public static final int Widget_AppCompat_Light_ActionBar_TabView_Inverse=0x7f09011e;
public static final int Widget_AppCompat_Light_ActionButton=0x7f09011f;
public static final int Widget_AppCompat_Light_ActionButton_CloseMode=0x7f090120;
public static final int Widget_AppCompat_Light_ActionButton_Overflow=0x7f090121;
public static final int Widget_AppCompat_Light_ActionMode_Inverse=0x7f090122;
public static final int Widget_AppCompat_Light_ActivityChooserView=0x7f090123;
public static final int Widget_AppCompat_Light_AutoCompleteTextView=0x7f090124;
public static final int Widget_AppCompat_Light_DropDownItem_Spinner=0x7f090125;
public static final int Widget_AppCompat_Light_ListPopupWindow=0x7f090126;
public static final int Widget_AppCompat_Light_ListView_DropDown=0x7f090127;
public static final int Widget_AppCompat_Light_PopupMenu=0x7f090128;
public static final int Widget_AppCompat_Light_PopupMenu_Overflow=0x7f090129;
public static final int Widget_AppCompat_Light_SearchView=0x7f09012a;
public static final int Widget_AppCompat_Light_Spinner_DropDown_ActionBar=0x7f09012b;
public static final int Widget_AppCompat_ListPopupWindow=0x7f09012c;
public static final int Widget_AppCompat_ListView=0x7f09012d;
public static final int Widget_AppCompat_ListView_DropDown=0x7f09012e;
public static final int Widget_AppCompat_ListView_Menu=0x7f09012f;
public static final int Widget_AppCompat_PopupMenu=0x7f090130;
public static final int Widget_AppCompat_PopupMenu_Overflow=0x7f090131;
public static final int Widget_AppCompat_PopupWindow=0x7f090132;
public static final int Widget_AppCompat_ProgressBar=0x7f090133;
public static final int Widget_AppCompat_ProgressBar_Horizontal=0x7f090134;
public static final int Widget_AppCompat_RatingBar=0x7f090135;
public static final int Widget_AppCompat_SearchView=0x7f090136;
public static final int Widget_AppCompat_SearchView_ActionBar=0x7f090137;
public static final int Widget_AppCompat_Spinner=0x7f090138;
public static final int Widget_AppCompat_Spinner_DropDown=0x7f090139;
public static final int Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f09013a;
public static final int Widget_AppCompat_Spinner_Underlined=0x7f09013b;
public static final int Widget_AppCompat_TextView_SpinnerItem=0x7f09013c;
public static final int Widget_AppCompat_Toolbar=0x7f09013d;
public static final int Widget_AppCompat_Toolbar_Button_Navigation=0x7f09013e;
}
public static final class xml {
public static final int preferences=0x7f060000;
public static final int provider_paths=0x7f060001;
}
public static final class styleable {
/** Attributes that can be used with a ActionBar.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionBar_background com.bukalelang:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundSplit com.bukalelang:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundStacked com.bukalelang:backgroundStacked}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetEnd com.bukalelang:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetLeft com.bukalelang:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetRight com.bukalelang:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetStart com.bukalelang:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_customNavigationLayout com.bukalelang:customNavigationLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_displayOptions com.bukalelang:displayOptions}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_divider com.bukalelang:divider}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_elevation com.bukalelang:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_height com.bukalelang:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_hideOnContentScroll com.bukalelang:hideOnContentScroll}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeAsUpIndicator com.bukalelang:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeLayout com.bukalelang:homeLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_icon com.bukalelang:icon}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_indeterminateProgressStyle com.bukalelang:indeterminateProgressStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_itemPadding com.bukalelang:itemPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_logo com.bukalelang:logo}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_navigationMode com.bukalelang:navigationMode}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_popupTheme com.bukalelang:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarPadding com.bukalelang:progressBarPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarStyle com.bukalelang:progressBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitle com.bukalelang:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitleTextStyle com.bukalelang:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_title com.bukalelang:title}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_titleTextStyle com.bukalelang:titleTextStyle}</code></td><td></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, 0x7f010099
};
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#background}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:background
*/
public static final int ActionBar_background = 10;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#backgroundSplit}
attribute's value can be found in the {@link #ActionBar} array.
<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>".
@attr name com.bukalelang:backgroundSplit
*/
public static final int ActionBar_backgroundSplit = 12;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#backgroundStacked}
attribute's value can be found in the {@link #ActionBar} array.
<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>".
@attr name com.bukalelang:backgroundStacked
*/
public static final int ActionBar_backgroundStacked = 11;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#contentInsetEnd}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:contentInsetEnd
*/
public static final int ActionBar_contentInsetEnd = 21;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#contentInsetLeft}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:contentInsetLeft
*/
public static final int ActionBar_contentInsetLeft = 22;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#contentInsetRight}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:contentInsetRight
*/
public static final int ActionBar_contentInsetRight = 23;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#contentInsetStart}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:contentInsetStart
*/
public static final int ActionBar_contentInsetStart = 20;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#customNavigationLayout}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:customNavigationLayout
*/
public static final int ActionBar_customNavigationLayout = 13;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#displayOptions}
attribute's value can be found in the {@link #ActionBar} 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>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>
@attr name com.bukalelang:displayOptions
*/
public static final int ActionBar_displayOptions = 3;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#divider}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:divider
*/
public static final int ActionBar_divider = 9;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#elevation}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:elevation
*/
public static final int ActionBar_elevation = 24;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#height}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:height
*/
public static final int ActionBar_height = 0;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#hideOnContentScroll}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:hideOnContentScroll
*/
public static final int ActionBar_hideOnContentScroll = 19;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#homeAsUpIndicator}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:homeAsUpIndicator
*/
public static final int ActionBar_homeAsUpIndicator = 26;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#homeLayout}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:homeLayout
*/
public static final int ActionBar_homeLayout = 14;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#icon}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:icon
*/
public static final int ActionBar_icon = 7;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#indeterminateProgressStyle}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:indeterminateProgressStyle
*/
public static final int ActionBar_indeterminateProgressStyle = 16;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#itemPadding}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:itemPadding
*/
public static final int ActionBar_itemPadding = 18;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#logo}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:logo
*/
public static final int ActionBar_logo = 8;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#navigationMode}
attribute's value can be found in the {@link #ActionBar} 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>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>listMode</code></td><td>1</td><td></td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td></td></tr>
</table>
@attr name com.bukalelang:navigationMode
*/
public static final int ActionBar_navigationMode = 2;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#popupTheme}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:popupTheme
*/
public static final int ActionBar_popupTheme = 25;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#progressBarPadding}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:progressBarPadding
*/
public static final int ActionBar_progressBarPadding = 17;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#progressBarStyle}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:progressBarStyle
*/
public static final int ActionBar_progressBarStyle = 15;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#subtitle}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:subtitle
*/
public static final int ActionBar_subtitle = 4;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#subtitleTextStyle}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:subtitleTextStyle
*/
public static final int ActionBar_subtitleTextStyle = 6;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#title}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang:title
*/
public static final int ActionBar_title = 1;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#titleTextStyle}
attribute's value can be found in the {@link #ActionBar} 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 com.bukalelang: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;
/** Attributes that can be used with a ActionMenuView.
*/
public static final int[] ActionMenuView = {
};
/** Attributes that can be used with a ActionMode.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionMode_background com.bukalelang:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_backgroundSplit com.bukalelang:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_closeItemLayout com.bukalelang:closeItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_height com.bukalelang:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_subtitleTextStyle com.bukalelang:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_titleTextStyle com.bukalelang:titleTextStyle}</code></td><td></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>This symbol is the offset where the {@link com.bukalelang.R.attr#background}
attribute's value can be found in the {@link #ActionMode} 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 com.bukalelang:background
*/
public static final int ActionMode_background = 3;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#backgroundSplit}
attribute's value can be found in the {@link #ActionMode} array.
<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>".
@attr name com.bukalelang:backgroundSplit
*/
public static final int ActionMode_backgroundSplit = 4;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#closeItemLayout}
attribute's value can be found in the {@link #ActionMode} 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 com.bukalelang:closeItemLayout
*/
public static final int ActionMode_closeItemLayout = 5;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#height}
attribute's value can be found in the {@link #ActionMode} 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 com.bukalelang:height
*/
public static final int ActionMode_height = 0;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#subtitleTextStyle}
attribute's value can be found in the {@link #ActionMode} 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 com.bukalelang:subtitleTextStyle
*/
public static final int ActionMode_subtitleTextStyle = 2;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#titleTextStyle}
attribute's value can be found in the {@link #ActionMode} 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 com.bukalelang: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 com.bukalelang:expandActivityOverflowButtonDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #ActivityChooserView_initialActivityCount com.bukalelang:initialActivityCount}</code></td><td></td></tr>
</table>
@see #ActivityChooserView_expandActivityOverflowButtonDrawable
@see #ActivityChooserView_initialActivityCount
*/
public static final int[] ActivityChooserView = {
0x7f01001d, 0x7f01001e
};
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#expandActivityOverflowButtonDrawable}
attribute's value can be found in the {@link #ActivityChooserView} 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 com.bukalelang:expandActivityOverflowButtonDrawable
*/
public static final int ActivityChooserView_expandActivityOverflowButtonDrawable = 1;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#initialActivityCount}
attribute's value can be found in the {@link #ActivityChooserView} 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 com.bukalelang:initialActivityCount
*/
public static final int ActivityChooserView_initialActivityCount = 0;
/** Attributes that can be used with a AlertDialog.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AlertDialog_android_layout android:layout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_buttonPanelSideLayout com.bukalelang:buttonPanelSideLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_listItemLayout com.bukalelang:listItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_listLayout com.bukalelang:listLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_multiChoiceItemLayout com.bukalelang:multiChoiceItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_singleChoiceItemLayout com.bukalelang:singleChoiceItemLayout}</code></td><td></td></tr>
</table>
@see #AlertDialog_android_layout
@see #AlertDialog_buttonPanelSideLayout
@see #AlertDialog_listItemLayout
@see #AlertDialog_listLayout
@see #AlertDialog_multiChoiceItemLayout
@see #AlertDialog_singleChoiceItemLayout
*/
public static final int[] AlertDialog = {
0x010100f2, 0x7f01001f, 0x7f010020, 0x7f010021,
0x7f010022, 0x7f010023
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #AlertDialog} array.
@attr name android:layout
*/
public static final int AlertDialog_android_layout = 0;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#buttonPanelSideLayout}
attribute's value can be found in the {@link #AlertDialog} 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 com.bukalelang:buttonPanelSideLayout
*/
public static final int AlertDialog_buttonPanelSideLayout = 1;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#listItemLayout}
attribute's value can be found in the {@link #AlertDialog} 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 com.bukalelang:listItemLayout
*/
public static final int AlertDialog_listItemLayout = 5;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#listLayout}
attribute's value can be found in the {@link #AlertDialog} 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 com.bukalelang:listLayout
*/
public static final int AlertDialog_listLayout = 2;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#multiChoiceItemLayout}
attribute's value can be found in the {@link #AlertDialog} 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 com.bukalelang:multiChoiceItemLayout
*/
public static final int AlertDialog_multiChoiceItemLayout = 3;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#singleChoiceItemLayout}
attribute's value can be found in the {@link #AlertDialog} 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 com.bukalelang:singleChoiceItemLayout
*/
public static final int AlertDialog_singleChoiceItemLayout = 4;
/** Attributes that can be used with a AppCompatTextView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AppCompatTextView_android_textAppearance android:textAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTextView_textAllCaps com.bukalelang:textAllCaps}</code></td><td></td></tr>
</table>
@see #AppCompatTextView_android_textAppearance
@see #AppCompatTextView_textAllCaps
*/
public static final int[] AppCompatTextView = {
0x01010034, 0x7f010024
};
/**
<p>This symbol is the offset where the {@link android.R.attr#textAppearance}
attribute's value can be found in the {@link #AppCompatTextView} array.
@attr name android:textAppearance
*/
public static final int AppCompatTextView_android_textAppearance = 0;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#textAllCaps}
attribute's value can be found in the {@link #AppCompatTextView} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or 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>".
@attr name com.bukalelang:textAllCaps
*/
public static final int AppCompatTextView_textAllCaps = 1;
/** Attributes that can be used with a CompoundButton.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #CompoundButton_android_button android:button}</code></td><td></td></tr>
<tr><td><code>{@link #CompoundButton_buttonTint com.bukalelang:buttonTint}</code></td><td></td></tr>
<tr><td><code>{@link #CompoundButton_buttonTintMode com.bukalelang:buttonTintMode}</code></td><td></td></tr>
</table>
@see #CompoundButton_android_button
@see #CompoundButton_buttonTint
@see #CompoundButton_buttonTintMode
*/
public static final int[] CompoundButton = {
0x01010107, 0x7f010025, 0x7f010026
};
/**
<p>This symbol is the offset where the {@link android.R.attr#button}
attribute's value can be found in the {@link #CompoundButton} array.
@attr name android:button
*/
public static final int CompoundButton_android_button = 0;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#buttonTint}
attribute's value can be found in the {@link #CompoundButton} 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 com.bukalelang:buttonTint
*/
public static final int CompoundButton_buttonTint = 1;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#buttonTintMode}
attribute's value can be found in the {@link #CompoundButton} 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>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name com.bukalelang:buttonTintMode
*/
public static final int CompoundButton_buttonTintMode = 2;
/** Attributes that can be used with a DrawerArrowToggle.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #DrawerArrowToggle_arrowHeadLength com.bukalelang:arrowHeadLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_arrowShaftLength com.bukalelang:arrowShaftLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_barLength com.bukalelang:barLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_color com.bukalelang:color}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_drawableSize com.bukalelang:drawableSize}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars com.bukalelang:gapBetweenBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_spinBars com.bukalelang:spinBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_thickness com.bukalelang:thickness}</code></td><td></td></tr>
</table>
@see #DrawerArrowToggle_arrowHeadLength
@see #DrawerArrowToggle_arrowShaftLength
@see #DrawerArrowToggle_barLength
@see #DrawerArrowToggle_color
@see #DrawerArrowToggle_drawableSize
@see #DrawerArrowToggle_gapBetweenBars
@see #DrawerArrowToggle_spinBars
@see #DrawerArrowToggle_thickness
*/
public static final int[] DrawerArrowToggle = {
0x7f010027, 0x7f010028, 0x7f010029, 0x7f01002a,
0x7f01002b, 0x7f01002c, 0x7f01002d, 0x7f01002e
};
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#arrowHeadLength}
attribute's value can be found in the {@link #DrawerArrowToggle} 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 com.bukalelang:arrowHeadLength
*/
public static final int DrawerArrowToggle_arrowHeadLength = 4;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#arrowShaftLength}
attribute's value can be found in the {@link #DrawerArrowToggle} 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 com.bukalelang:arrowShaftLength
*/
public static final int DrawerArrowToggle_arrowShaftLength = 5;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#barLength}
attribute's value can be found in the {@link #DrawerArrowToggle} 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 com.bukalelang:barLength
*/
public static final int DrawerArrowToggle_barLength = 6;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#color}
attribute's value can be found in the {@link #DrawerArrowToggle} 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 com.bukalelang:color
*/
public static final int DrawerArrowToggle_color = 0;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#drawableSize}
attribute's value can be found in the {@link #DrawerArrowToggle} 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 com.bukalelang:drawableSize
*/
public static final int DrawerArrowToggle_drawableSize = 2;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#gapBetweenBars}
attribute's value can be found in the {@link #DrawerArrowToggle} 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 com.bukalelang:gapBetweenBars
*/
public static final int DrawerArrowToggle_gapBetweenBars = 3;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#spinBars}
attribute's value can be found in the {@link #DrawerArrowToggle} 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 com.bukalelang:spinBars
*/
public static final int DrawerArrowToggle_spinBars = 1;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#thickness}
attribute's value can be found in the {@link #DrawerArrowToggle} 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 com.bukalelang:thickness
*/
public static final int DrawerArrowToggle_thickness = 7;
/** Attributes that can be used with a GenericDraweeHierarchy.
<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 #GenericDraweeHierarchy_actualImageScaleType com.bukalelang:actualImageScaleType}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_backgroundImage com.bukalelang:backgroundImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_fadeDuration com.bukalelang:fadeDuration}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_failureImage com.bukalelang:failureImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_failureImageScaleType com.bukalelang:failureImageScaleType}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_overlayImage com.bukalelang:overlayImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_placeholderImage com.bukalelang:placeholderImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_placeholderImageScaleType com.bukalelang:placeholderImageScaleType}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_pressedStateOverlayImage com.bukalelang:pressedStateOverlayImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_progressBarAutoRotateInterval com.bukalelang:progressBarAutoRotateInterval}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_progressBarImage com.bukalelang:progressBarImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_progressBarImageScaleType com.bukalelang:progressBarImageScaleType}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_retryImage com.bukalelang:retryImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_retryImageScaleType com.bukalelang:retryImageScaleType}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundAsCircle com.bukalelang:roundAsCircle}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundBottomLeft com.bukalelang:roundBottomLeft}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundBottomRight com.bukalelang:roundBottomRight}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundTopLeft com.bukalelang:roundTopLeft}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundTopRight com.bukalelang:roundTopRight}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundWithOverlayColor com.bukalelang:roundWithOverlayColor}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundedCornerRadius com.bukalelang:roundedCornerRadius}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundingBorderColor com.bukalelang:roundingBorderColor}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundingBorderPadding com.bukalelang:roundingBorderPadding}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundingBorderWidth com.bukalelang:roundingBorderWidth}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_viewAspectRatio com.bukalelang:viewAspectRatio}</code></td><td></td></tr>
</table>
@see #GenericDraweeHierarchy_actualImageScaleType
@see #GenericDraweeHierarchy_backgroundImage
@see #GenericDraweeHierarchy_fadeDuration
@see #GenericDraweeHierarchy_failureImage
@see #GenericDraweeHierarchy_failureImageScaleType
@see #GenericDraweeHierarchy_overlayImage
@see #GenericDraweeHierarchy_placeholderImage
@see #GenericDraweeHierarchy_placeholderImageScaleType
@see #GenericDraweeHierarchy_pressedStateOverlayImage
@see #GenericDraweeHierarchy_progressBarAutoRotateInterval
@see #GenericDraweeHierarchy_progressBarImage
@see #GenericDraweeHierarchy_progressBarImageScaleType
@see #GenericDraweeHierarchy_retryImage
@see #GenericDraweeHierarchy_retryImageScaleType
@see #GenericDraweeHierarchy_roundAsCircle
@see #GenericDraweeHierarchy_roundBottomLeft
@see #GenericDraweeHierarchy_roundBottomRight
@see #GenericDraweeHierarchy_roundTopLeft
@see #GenericDraweeHierarchy_roundTopRight
@see #GenericDraweeHierarchy_roundWithOverlayColor
@see #GenericDraweeHierarchy_roundedCornerRadius
@see #GenericDraweeHierarchy_roundingBorderColor
@see #GenericDraweeHierarchy_roundingBorderPadding
@see #GenericDraweeHierarchy_roundingBorderWidth
@see #GenericDraweeHierarchy_viewAspectRatio
*/
public static final int[] GenericDraweeHierarchy = {
0x7f01002f, 0x7f010030, 0x7f010031, 0x7f010032,
0x7f010033, 0x7f010034, 0x7f010035, 0x7f010036,
0x7f010037, 0x7f010038, 0x7f010039, 0x7f01003a,
0x7f01003b, 0x7f01003c, 0x7f01003d, 0x7f01003e,
0x7f01003f, 0x7f010040, 0x7f010041, 0x7f010042,
0x7f010043, 0x7f010044, 0x7f010045, 0x7f010046,
0x7f010047
};
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actualImageScaleType}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
@attr name com.bukalelang:actualImageScaleType
*/
public static final int GenericDraweeHierarchy_actualImageScaleType = 11;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#backgroundImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:backgroundImage
*/
public static final int GenericDraweeHierarchy_backgroundImage = 12;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#fadeDuration}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:fadeDuration
*/
public static final int GenericDraweeHierarchy_fadeDuration = 0;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#failureImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:failureImage
*/
public static final int GenericDraweeHierarchy_failureImage = 6;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#failureImageScaleType}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
@attr name com.bukalelang:failureImageScaleType
*/
public static final int GenericDraweeHierarchy_failureImageScaleType = 7;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#overlayImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:overlayImage
*/
public static final int GenericDraweeHierarchy_overlayImage = 13;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#placeholderImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:placeholderImage
*/
public static final int GenericDraweeHierarchy_placeholderImage = 2;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#placeholderImageScaleType}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
@attr name com.bukalelang:placeholderImageScaleType
*/
public static final int GenericDraweeHierarchy_placeholderImageScaleType = 3;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#pressedStateOverlayImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:pressedStateOverlayImage
*/
public static final int GenericDraweeHierarchy_pressedStateOverlayImage = 14;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#progressBarAutoRotateInterval}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:progressBarAutoRotateInterval
*/
public static final int GenericDraweeHierarchy_progressBarAutoRotateInterval = 10;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#progressBarImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:progressBarImage
*/
public static final int GenericDraweeHierarchy_progressBarImage = 8;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#progressBarImageScaleType}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
@attr name com.bukalelang:progressBarImageScaleType
*/
public static final int GenericDraweeHierarchy_progressBarImageScaleType = 9;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#retryImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:retryImage
*/
public static final int GenericDraweeHierarchy_retryImage = 4;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#retryImageScaleType}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
@attr name com.bukalelang:retryImageScaleType
*/
public static final int GenericDraweeHierarchy_retryImageScaleType = 5;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#roundAsCircle}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:roundAsCircle
*/
public static final int GenericDraweeHierarchy_roundAsCircle = 15;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#roundBottomLeft}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:roundBottomLeft
*/
public static final int GenericDraweeHierarchy_roundBottomLeft = 20;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#roundBottomRight}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:roundBottomRight
*/
public static final int GenericDraweeHierarchy_roundBottomRight = 19;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#roundTopLeft}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:roundTopLeft
*/
public static final int GenericDraweeHierarchy_roundTopLeft = 17;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#roundTopRight}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:roundTopRight
*/
public static final int GenericDraweeHierarchy_roundTopRight = 18;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#roundWithOverlayColor}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:roundWithOverlayColor
*/
public static final int GenericDraweeHierarchy_roundWithOverlayColor = 21;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#roundedCornerRadius}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:roundedCornerRadius
*/
public static final int GenericDraweeHierarchy_roundedCornerRadius = 16;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#roundingBorderColor}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:roundingBorderColor
*/
public static final int GenericDraweeHierarchy_roundingBorderColor = 23;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#roundingBorderPadding}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:roundingBorderPadding
*/
public static final int GenericDraweeHierarchy_roundingBorderPadding = 24;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#roundingBorderWidth}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:roundingBorderWidth
*/
public static final int GenericDraweeHierarchy_roundingBorderWidth = 22;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#viewAspectRatio}
attribute's value can be found in the {@link #GenericDraweeHierarchy} 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 com.bukalelang:viewAspectRatio
*/
public static final int GenericDraweeHierarchy_viewAspectRatio = 1;
/** Attributes that can be used with a LinearLayoutCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAligned android:baselineAligned}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAlignedChildIndex android:baselineAlignedChildIndex}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_orientation android:orientation}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_weightSum android:weightSum}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_divider com.bukalelang:divider}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_dividerPadding com.bukalelang:dividerPadding}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild com.bukalelang:measureWithLargestChild}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_showDividers com.bukalelang:showDividers}</code></td><td></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, 0x7f010048, 0x7f010049,
0x7f01004a
};
/**
<p>This symbol is the offset where the {@link android.R.attr#baselineAligned}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:baselineAligned
*/
public static final int LinearLayoutCompat_android_baselineAligned = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#baselineAlignedChildIndex}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@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>This symbol is the offset where the {@link android.R.attr#orientation}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:orientation
*/
public static final int LinearLayoutCompat_android_orientation = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#weightSum}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:weightSum
*/
public static final int LinearLayoutCompat_android_weightSum = 4;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#divider}
attribute's value can be found in the {@link #LinearLayoutCompat} 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 com.bukalelang:divider
*/
public static final int LinearLayoutCompat_divider = 5;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#dividerPadding}
attribute's value can be found in the {@link #LinearLayoutCompat} 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 com.bukalelang:dividerPadding
*/
public static final int LinearLayoutCompat_dividerPadding = 8;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#measureWithLargestChild}
attribute's value can be found in the {@link #LinearLayoutCompat} 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 com.bukalelang:measureWithLargestChild
*/
public static final int LinearLayoutCompat_measureWithLargestChild = 6;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#showDividers}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><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>
@attr name com.bukalelang: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></td></tr>
<tr><td><code>{@link #ListPopupWindow_android_dropDownVerticalOffset android:dropDownVerticalOffset}</code></td><td></td></tr>
</table>
@see #ListPopupWindow_android_dropDownHorizontalOffset
@see #ListPopupWindow_android_dropDownVerticalOffset
*/
public static final int[] ListPopupWindow = {
0x010102ac, 0x010102ad
};
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownHorizontalOffset}
attribute's value can be found in the {@link #ListPopupWindow} array.
@attr name android:dropDownHorizontalOffset
*/
public static final int ListPopupWindow_android_dropDownHorizontalOffset = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownVerticalOffset}
attribute's value can be found in the {@link #ListPopupWindow} array.
@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></td></tr>
<tr><td><code>{@link #MenuGroup_android_enabled android:enabled}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_menuCategory android:menuCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_orderInCategory android:orderInCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_visible android:visible}</code></td><td></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>This symbol is the offset where the {@link android.R.attr#checkableBehavior}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:checkableBehavior
*/
public static final int MenuGroup_android_checkableBehavior = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#enabled}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:enabled
*/
public static final int MenuGroup_android_enabled = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:id
*/
public static final int MenuGroup_android_id = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#menuCategory}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:menuCategory
*/
public static final int MenuGroup_android_menuCategory = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#orderInCategory}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:orderInCategory
*/
public static final int MenuGroup_android_orderInCategory = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#visible}
attribute's value can be found in the {@link #MenuGroup} array.
@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 com.bukalelang:actionLayout}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionProviderClass com.bukalelang:actionProviderClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionViewClass com.bukalelang:actionViewClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_alphabeticShortcut android:alphabeticShortcut}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_checkable android:checkable}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_checked android:checked}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_enabled android:enabled}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_icon android:icon}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_menuCategory android:menuCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_numericShortcut android:numericShortcut}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_onClick android:onClick}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_orderInCategory android:orderInCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_title android:title}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_titleCondensed android:titleCondensed}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_visible android:visible}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_showAsAction com.bukalelang:showAsAction}</code></td><td></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, 0x7f01004b, 0x7f01004c, 0x7f01004d,
0x7f01004e
};
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionLayout}
attribute's value can be found in the {@link #MenuItem} 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 com.bukalelang:actionLayout
*/
public static final int MenuItem_actionLayout = 14;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionProviderClass}
attribute's value can be found in the {@link #MenuItem} 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 com.bukalelang:actionProviderClass
*/
public static final int MenuItem_actionProviderClass = 16;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionViewClass}
attribute's value can be found in the {@link #MenuItem} 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 com.bukalelang:actionViewClass
*/
public static final int MenuItem_actionViewClass = 15;
/**
<p>This symbol is the offset where the {@link android.R.attr#alphabeticShortcut}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:alphabeticShortcut
*/
public static final int MenuItem_android_alphabeticShortcut = 9;
/**
<p>This symbol is the offset where the {@link android.R.attr#checkable}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:checkable
*/
public static final int MenuItem_android_checkable = 11;
/**
<p>This symbol is the offset where the {@link android.R.attr#checked}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:checked
*/
public static final int MenuItem_android_checked = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#enabled}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:enabled
*/
public static final int MenuItem_android_enabled = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#icon}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:icon
*/
public static final int MenuItem_android_icon = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:id
*/
public static final int MenuItem_android_id = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#menuCategory}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:menuCategory
*/
public static final int MenuItem_android_menuCategory = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#numericShortcut}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:numericShortcut
*/
public static final int MenuItem_android_numericShortcut = 10;
/**
<p>This symbol is the offset where the {@link android.R.attr#onClick}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:onClick
*/
public static final int MenuItem_android_onClick = 12;
/**
<p>This symbol is the offset where the {@link android.R.attr#orderInCategory}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:orderInCategory
*/
public static final int MenuItem_android_orderInCategory = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#title}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:title
*/
public static final int MenuItem_android_title = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#titleCondensed}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:titleCondensed
*/
public static final int MenuItem_android_titleCondensed = 8;
/**
<p>This symbol is the offset where the {@link android.R.attr#visible}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:visible
*/
public static final int MenuItem_android_visible = 4;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#showAsAction}
attribute's value can be found in the {@link #MenuItem} 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>never</code></td><td>0</td><td></td></tr>
<tr><td><code>ifRoom</code></td><td>1</td><td></td></tr>
<tr><td><code>always</code></td><td>2</td><td></td></tr>
<tr><td><code>withText</code></td><td>4</td><td></td></tr>
<tr><td><code>collapseActionView</code></td><td>8</td><td></td></tr>
</table>
@attr name com.bukalelang: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></td></tr>
<tr><td><code>{@link #MenuView_android_horizontalDivider android:horizontalDivider}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemBackground android:itemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemIconDisabledAlpha android:itemIconDisabledAlpha}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemTextAppearance android:itemTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_verticalDivider android:verticalDivider}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_preserveIconSpacing com.bukalelang:preserveIconSpacing}</code></td><td></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, 0x7f01004f
};
/**
<p>This symbol is the offset where the {@link android.R.attr#headerBackground}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:headerBackground
*/
public static final int MenuView_android_headerBackground = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#horizontalDivider}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:horizontalDivider
*/
public static final int MenuView_android_horizontalDivider = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemBackground}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemBackground
*/
public static final int MenuView_android_itemBackground = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemIconDisabledAlpha}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemIconDisabledAlpha
*/
public static final int MenuView_android_itemIconDisabledAlpha = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemTextAppearance}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemTextAppearance
*/
public static final int MenuView_android_itemTextAppearance = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#verticalDivider}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:verticalDivider
*/
public static final int MenuView_android_verticalDivider = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:windowAnimationStyle
*/
public static final int MenuView_android_windowAnimationStyle = 0;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#preserveIconSpacing}
attribute's value can be found in the {@link #MenuView} 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 com.bukalelang:preserveIconSpacing
*/
public static final int MenuView_preserveIconSpacing = 7;
/** 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 com.bukalelang:overlapAnchor}</code></td><td></td></tr>
</table>
@see #PopupWindow_android_popupBackground
@see #PopupWindow_overlapAnchor
*/
public static final int[] PopupWindow = {
0x01010176, 0x7f010050
};
/**
<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>This symbol is the offset where the {@link com.bukalelang.R.attr#overlapAnchor}
attribute's value can be found in the {@link #PopupWindow} 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 com.bukalelang: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 com.bukalelang:state_above_anchor}</code></td><td></td></tr>
</table>
@see #PopupWindowBackgroundState_state_above_anchor
*/
public static final int[] PopupWindowBackgroundState = {
0x7f010051
};
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#state_above_anchor}
attribute's value can be found in the {@link #PopupWindowBackgroundState} 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 com.bukalelang:state_above_anchor
*/
public static final int PopupWindowBackgroundState_state_above_anchor = 0;
/** Attributes that can be used with a RecyclerView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #RecyclerView_android_orientation android:orientation}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_layoutManager com.bukalelang:layoutManager}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_reverseLayout com.bukalelang:reverseLayout}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_spanCount com.bukalelang:spanCount}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_stackFromEnd com.bukalelang:stackFromEnd}</code></td><td></td></tr>
</table>
@see #RecyclerView_android_orientation
@see #RecyclerView_layoutManager
@see #RecyclerView_reverseLayout
@see #RecyclerView_spanCount
@see #RecyclerView_stackFromEnd
*/
public static final int[] RecyclerView = {
0x010100c4, 0x7f010052, 0x7f010053, 0x7f010054,
0x7f010055
};
/**
<p>This symbol is the offset where the {@link android.R.attr#orientation}
attribute's value can be found in the {@link #RecyclerView} array.
@attr name android:orientation
*/
public static final int RecyclerView_android_orientation = 0;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#layoutManager}
attribute's value can be found in the {@link #RecyclerView} 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 com.bukalelang:layoutManager
*/
public static final int RecyclerView_layoutManager = 1;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#reverseLayout}
attribute's value can be found in the {@link #RecyclerView} 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 com.bukalelang:reverseLayout
*/
public static final int RecyclerView_reverseLayout = 3;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#spanCount}
attribute's value can be found in the {@link #RecyclerView} 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 com.bukalelang:spanCount
*/
public static final int RecyclerView_spanCount = 2;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#stackFromEnd}
attribute's value can be found in the {@link #RecyclerView} 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 com.bukalelang:stackFromEnd
*/
public static final int RecyclerView_stackFromEnd = 4;
/** 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></td></tr>
<tr><td><code>{@link #SearchView_android_inputType android:inputType}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_maxWidth android:maxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_closeIcon com.bukalelang:closeIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_commitIcon com.bukalelang:commitIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_defaultQueryHint com.bukalelang:defaultQueryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_goIcon com.bukalelang:goIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_iconifiedByDefault com.bukalelang:iconifiedByDefault}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_layout com.bukalelang:layout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryBackground com.bukalelang:queryBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryHint com.bukalelang:queryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchHintIcon com.bukalelang:searchHintIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchIcon com.bukalelang:searchIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_submitBackground com.bukalelang:submitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_suggestionRowLayout com.bukalelang:suggestionRowLayout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_voiceIcon com.bukalelang:voiceIcon}</code></td><td></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_defaultQueryHint
@see #SearchView_goIcon
@see #SearchView_iconifiedByDefault
@see #SearchView_layout
@see #SearchView_queryBackground
@see #SearchView_queryHint
@see #SearchView_searchHintIcon
@see #SearchView_searchIcon
@see #SearchView_submitBackground
@see #SearchView_suggestionRowLayout
@see #SearchView_voiceIcon
*/
public static final int[] SearchView = {
0x010100da, 0x0101011f, 0x01010220, 0x01010264,
0x7f010056, 0x7f010057, 0x7f010058, 0x7f010059,
0x7f01005a, 0x7f01005b, 0x7f01005c, 0x7f01005d,
0x7f01005e, 0x7f01005f, 0x7f010060, 0x7f010061,
0x7f010062
};
/**
<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>This symbol is the offset where the {@link android.R.attr#imeOptions}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:imeOptions
*/
public static final int SearchView_android_imeOptions = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#inputType}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:inputType
*/
public static final int SearchView_android_inputType = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#maxWidth}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:maxWidth
*/
public static final int SearchView_android_maxWidth = 1;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#closeIcon}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:closeIcon
*/
public static final int SearchView_closeIcon = 8;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#commitIcon}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:commitIcon
*/
public static final int SearchView_commitIcon = 13;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#defaultQueryHint}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:defaultQueryHint
*/
public static final int SearchView_defaultQueryHint = 7;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#goIcon}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:goIcon
*/
public static final int SearchView_goIcon = 9;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#iconifiedByDefault}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:iconifiedByDefault
*/
public static final int SearchView_iconifiedByDefault = 5;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#layout}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:layout
*/
public static final int SearchView_layout = 4;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#queryBackground}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:queryBackground
*/
public static final int SearchView_queryBackground = 15;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#queryHint}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:queryHint
*/
public static final int SearchView_queryHint = 6;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#searchHintIcon}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:searchHintIcon
*/
public static final int SearchView_searchHintIcon = 11;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#searchIcon}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:searchIcon
*/
public static final int SearchView_searchIcon = 10;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#submitBackground}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:submitBackground
*/
public static final int SearchView_submitBackground = 16;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#suggestionRowLayout}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:suggestionRowLayout
*/
public static final int SearchView_suggestionRowLayout = 14;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#voiceIcon}
attribute's value can be found in the {@link #SearchView} 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 com.bukalelang:voiceIcon
*/
public static final int SearchView_voiceIcon = 12;
/** Attributes that can be used with a SimpleDraweeView.
<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 #SimpleDraweeView_actualImageUri com.bukalelang:actualImageUri}</code></td><td></td></tr>
</table>
@see #SimpleDraweeView_actualImageUri
*/
public static final int[] SimpleDraweeView = {
0x7f010063
};
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actualImageUri}
attribute's value can be found in the {@link #SimpleDraweeView} 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 com.bukalelang:actualImageUri
*/
public static final int SimpleDraweeView_actualImageUri = 0;
/** 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_dropDownWidth android:dropDownWidth}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_popupBackground android:popupBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_prompt android:prompt}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_popupTheme com.bukalelang:popupTheme}</code></td><td></td></tr>
</table>
@see #Spinner_android_dropDownWidth
@see #Spinner_android_popupBackground
@see #Spinner_android_prompt
@see #Spinner_popupTheme
*/
public static final int[] Spinner = {
0x01010176, 0x0101017b, 0x01010262, 0x7f01001b
};
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownWidth}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:dropDownWidth
*/
public static final int Spinner_android_dropDownWidth = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#popupBackground}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:popupBackground
*/
public static final int Spinner_android_popupBackground = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#prompt}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:prompt
*/
public static final int Spinner_android_prompt = 1;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#popupTheme}
attribute's value can be found in the {@link #Spinner} 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 com.bukalelang:popupTheme
*/
public static final int Spinner_popupTheme = 3;
/** 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></td></tr>
<tr><td><code>{@link #SwitchCompat_android_textOn android:textOn}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_android_thumb android:thumb}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_showText com.bukalelang:showText}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_splitTrack com.bukalelang:splitTrack}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchMinWidth com.bukalelang:switchMinWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchPadding com.bukalelang:switchPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchTextAppearance com.bukalelang:switchTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_thumbTextPadding com.bukalelang:thumbTextPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_track com.bukalelang:track}</code></td><td></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, 0x7f010064,
0x7f010065, 0x7f010066, 0x7f010067, 0x7f010068,
0x7f010069, 0x7f01006a
};
/**
<p>This symbol is the offset where the {@link android.R.attr#textOff}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:textOff
*/
public static final int SwitchCompat_android_textOff = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#textOn}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:textOn
*/
public static final int SwitchCompat_android_textOn = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#thumb}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:thumb
*/
public static final int SwitchCompat_android_thumb = 2;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#showText}
attribute's value can be found in the {@link #SwitchCompat} 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 com.bukalelang:showText
*/
public static final int SwitchCompat_showText = 9;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#splitTrack}
attribute's value can be found in the {@link #SwitchCompat} 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 com.bukalelang:splitTrack
*/
public static final int SwitchCompat_splitTrack = 8;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#switchMinWidth}
attribute's value can be found in the {@link #SwitchCompat} 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 com.bukalelang:switchMinWidth
*/
public static final int SwitchCompat_switchMinWidth = 6;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#switchPadding}
attribute's value can be found in the {@link #SwitchCompat} 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 com.bukalelang:switchPadding
*/
public static final int SwitchCompat_switchPadding = 7;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#switchTextAppearance}
attribute's value can be found in the {@link #SwitchCompat} 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 com.bukalelang:switchTextAppearance
*/
public static final int SwitchCompat_switchTextAppearance = 5;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#thumbTextPadding}
attribute's value can be found in the {@link #SwitchCompat} 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 com.bukalelang:thumbTextPadding
*/
public static final int SwitchCompat_thumbTextPadding = 4;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#track}
attribute's value can be found in the {@link #SwitchCompat} 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 com.bukalelang:track
*/
public static final int SwitchCompat_track = 3;
/** Attributes that can be used with a TextAppearance.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #TextAppearance_android_shadowColor android:shadowColor}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_shadowDx android:shadowDx}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_shadowDy android:shadowDy}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_shadowRadius android:shadowRadius}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textColor android:textColor}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textSize android:textSize}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textStyle android:textStyle}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_typeface android:typeface}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_textAllCaps com.bukalelang:textAllCaps}</code></td><td></td></tr>
</table>
@see #TextAppearance_android_shadowColor
@see #TextAppearance_android_shadowDx
@see #TextAppearance_android_shadowDy
@see #TextAppearance_android_shadowRadius
@see #TextAppearance_android_textColor
@see #TextAppearance_android_textSize
@see #TextAppearance_android_textStyle
@see #TextAppearance_android_typeface
@see #TextAppearance_textAllCaps
*/
public static final int[] TextAppearance = {
0x01010095, 0x01010096, 0x01010097, 0x01010098,
0x01010161, 0x01010162, 0x01010163, 0x01010164,
0x7f010024
};
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowColor}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowColor
*/
public static final int TextAppearance_android_shadowColor = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDx}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowDx
*/
public static final int TextAppearance_android_shadowDx = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDy}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowDy
*/
public static final int TextAppearance_android_shadowDy = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowRadius}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowRadius
*/
public static final int TextAppearance_android_shadowRadius = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#textColor}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textColor
*/
public static final int TextAppearance_android_textColor = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#textSize}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textSize
*/
public static final int TextAppearance_android_textSize = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#textStyle}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textStyle
*/
public static final int TextAppearance_android_textStyle = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#typeface}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:typeface
*/
public static final int TextAppearance_android_typeface = 1;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#textAllCaps}
attribute's value can be found in the {@link #TextAppearance} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or 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>".
@attr name com.bukalelang:textAllCaps
*/
public static final int TextAppearance_textAllCaps = 8;
/** Attributes that can be used with a TextStyle.
<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 #TextStyle_android_ellipsize android:ellipsize}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_maxLines android:maxLines}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_shadowColor android:shadowColor}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_shadowDx android:shadowDx}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_shadowDy android:shadowDy}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_shadowRadius android:shadowRadius}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_singleLine android:singleLine}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_textAppearance android:textAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_textColor android:textColor}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_textSize android:textSize}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_textStyle android:textStyle}</code></td><td></td></tr>
</table>
@see #TextStyle_android_ellipsize
@see #TextStyle_android_maxLines
@see #TextStyle_android_shadowColor
@see #TextStyle_android_shadowDx
@see #TextStyle_android_shadowDy
@see #TextStyle_android_shadowRadius
@see #TextStyle_android_singleLine
@see #TextStyle_android_textAppearance
@see #TextStyle_android_textColor
@see #TextStyle_android_textSize
@see #TextStyle_android_textStyle
*/
public static final int[] TextStyle = {
0x01010034, 0x01010095, 0x01010097, 0x01010098,
0x010100ab, 0x01010153, 0x0101015d, 0x01010161,
0x01010162, 0x01010163, 0x01010164
};
/**
<p>This symbol is the offset where the {@link android.R.attr#ellipsize}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:ellipsize
*/
public static final int TextStyle_android_ellipsize = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#maxLines}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:maxLines
*/
public static final int TextStyle_android_maxLines = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowColor}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:shadowColor
*/
public static final int TextStyle_android_shadowColor = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDx}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:shadowDx
*/
public static final int TextStyle_android_shadowDx = 8;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDy}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:shadowDy
*/
public static final int TextStyle_android_shadowDy = 9;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowRadius}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:shadowRadius
*/
public static final int TextStyle_android_shadowRadius = 10;
/**
<p>This symbol is the offset where the {@link android.R.attr#singleLine}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:singleLine
*/
public static final int TextStyle_android_singleLine = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#textAppearance}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:textAppearance
*/
public static final int TextStyle_android_textAppearance = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#textColor}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:textColor
*/
public static final int TextStyle_android_textColor = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#textSize}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:textSize
*/
public static final int TextStyle_android_textSize = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#textStyle}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:textStyle
*/
public static final int TextStyle_android_textStyle = 2;
/** 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 com.bukalelang:actionBarDivider}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarItemBackground com.bukalelang:actionBarItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarPopupTheme com.bukalelang:actionBarPopupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarSize com.bukalelang:actionBarSize}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarSplitStyle com.bukalelang:actionBarSplitStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarStyle com.bukalelang:actionBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTabBarStyle com.bukalelang:actionBarTabBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTabStyle com.bukalelang:actionBarTabStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTabTextStyle com.bukalelang:actionBarTabTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarTheme com.bukalelang:actionBarTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionBarWidgetTheme com.bukalelang:actionBarWidgetTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionButtonStyle com.bukalelang:actionButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionDropDownStyle com.bukalelang:actionDropDownStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionMenuTextAppearance com.bukalelang:actionMenuTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionMenuTextColor com.bukalelang:actionMenuTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeBackground com.bukalelang:actionModeBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCloseButtonStyle com.bukalelang:actionModeCloseButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCloseDrawable com.bukalelang:actionModeCloseDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCopyDrawable com.bukalelang:actionModeCopyDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeCutDrawable com.bukalelang:actionModeCutDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeFindDrawable com.bukalelang:actionModeFindDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModePasteDrawable com.bukalelang:actionModePasteDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModePopupWindowStyle com.bukalelang:actionModePopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeSelectAllDrawable com.bukalelang:actionModeSelectAllDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeShareDrawable com.bukalelang:actionModeShareDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeSplitBackground com.bukalelang:actionModeSplitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeStyle com.bukalelang:actionModeStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionModeWebSearchDrawable com.bukalelang:actionModeWebSearchDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionOverflowButtonStyle com.bukalelang:actionOverflowButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_actionOverflowMenuStyle com.bukalelang:actionOverflowMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_activityChooserViewStyle com.bukalelang:activityChooserViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_alertDialogButtonGroupStyle com.bukalelang:alertDialogButtonGroupStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_alertDialogCenterButtons com.bukalelang:alertDialogCenterButtons}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_alertDialogStyle com.bukalelang:alertDialogStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_alertDialogTheme com.bukalelang:alertDialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_android_windowIsFloating android:windowIsFloating}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_autoCompleteTextViewStyle com.bukalelang:autoCompleteTextViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_borderlessButtonStyle com.bukalelang:borderlessButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarButtonStyle com.bukalelang:buttonBarButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarNegativeButtonStyle com.bukalelang:buttonBarNegativeButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarNeutralButtonStyle com.bukalelang:buttonBarNeutralButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarPositiveButtonStyle com.bukalelang:buttonBarPositiveButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonBarStyle com.bukalelang:buttonBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonStyle com.bukalelang:buttonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_buttonStyleSmall com.bukalelang:buttonStyleSmall}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_checkboxStyle com.bukalelang:checkboxStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_checkedTextViewStyle com.bukalelang:checkedTextViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorAccent com.bukalelang:colorAccent}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorButtonNormal com.bukalelang:colorButtonNormal}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorControlActivated com.bukalelang:colorControlActivated}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorControlHighlight com.bukalelang:colorControlHighlight}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorControlNormal com.bukalelang:colorControlNormal}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorPrimary com.bukalelang:colorPrimary}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorPrimaryDark com.bukalelang:colorPrimaryDark}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_colorSwitchThumbNormal com.bukalelang:colorSwitchThumbNormal}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_controlBackground com.bukalelang:controlBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dialogPreferredPadding com.bukalelang:dialogPreferredPadding}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dialogTheme com.bukalelang:dialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dividerHorizontal com.bukalelang:dividerHorizontal}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dividerVertical com.bukalelang:dividerVertical}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dropDownListViewStyle com.bukalelang:dropDownListViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_dropdownListPreferredItemHeight com.bukalelang:dropdownListPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_editTextBackground com.bukalelang:editTextBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_editTextColor com.bukalelang:editTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_editTextStyle com.bukalelang:editTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_homeAsUpIndicator com.bukalelang:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listChoiceBackgroundIndicator com.bukalelang:listChoiceBackgroundIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listDividerAlertDialog com.bukalelang:listDividerAlertDialog}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPopupWindowStyle com.bukalelang:listPopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemHeight com.bukalelang:listPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemHeightLarge com.bukalelang:listPreferredItemHeightLarge}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemHeightSmall com.bukalelang:listPreferredItemHeightSmall}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemPaddingLeft com.bukalelang:listPreferredItemPaddingLeft}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_listPreferredItemPaddingRight com.bukalelang:listPreferredItemPaddingRight}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_panelBackground com.bukalelang:panelBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_panelMenuListTheme com.bukalelang:panelMenuListTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_panelMenuListWidth com.bukalelang:panelMenuListWidth}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_popupMenuStyle com.bukalelang:popupMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_popupWindowStyle com.bukalelang:popupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_radioButtonStyle com.bukalelang:radioButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_ratingBarStyle com.bukalelang:ratingBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_searchViewStyle com.bukalelang:searchViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_selectableItemBackground com.bukalelang:selectableItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_selectableItemBackgroundBorderless com.bukalelang:selectableItemBackgroundBorderless}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_spinnerDropDownItemStyle com.bukalelang:spinnerDropDownItemStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_spinnerStyle com.bukalelang:spinnerStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_switchStyle com.bukalelang:switchStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceLargePopupMenu com.bukalelang:textAppearanceLargePopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceListItem com.bukalelang:textAppearanceListItem}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceListItemSmall com.bukalelang:textAppearanceListItemSmall}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceSearchResultSubtitle com.bukalelang:textAppearanceSearchResultSubtitle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceSearchResultTitle com.bukalelang:textAppearanceSearchResultTitle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textAppearanceSmallPopupMenu com.bukalelang:textAppearanceSmallPopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textColorAlertDialogListItem com.bukalelang:textColorAlertDialogListItem}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_textColorSearchUrl com.bukalelang:textColorSearchUrl}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_toolbarNavigationButtonStyle com.bukalelang:toolbarNavigationButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_toolbarStyle com.bukalelang:toolbarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowActionBar com.bukalelang:windowActionBar}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowActionBarOverlay com.bukalelang:windowActionBarOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowActionModeOverlay com.bukalelang:windowActionModeOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowFixedHeightMajor com.bukalelang:windowFixedHeightMajor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowFixedHeightMinor com.bukalelang:windowFixedHeightMinor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowFixedWidthMajor com.bukalelang:windowFixedWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowFixedWidthMinor com.bukalelang:windowFixedWidthMinor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowMinWidthMajor com.bukalelang:windowMinWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowMinWidthMinor com.bukalelang:windowMinWidthMinor}</code></td><td></td></tr>
<tr><td><code>{@link #Theme_windowNoTitle com.bukalelang:windowNoTitle}</code></td><td></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_alertDialogButtonGroupStyle
@see #Theme_alertDialogCenterButtons
@see #Theme_alertDialogStyle
@see #Theme_alertDialogTheme
@see #Theme_android_windowAnimationStyle
@see #Theme_android_windowIsFloating
@see #Theme_autoCompleteTextViewStyle
@see #Theme_borderlessButtonStyle
@see #Theme_buttonBarButtonStyle
@see #Theme_buttonBarNegativeButtonStyle
@see #Theme_buttonBarNeutralButtonStyle
@see #Theme_buttonBarPositiveButtonStyle
@see #Theme_buttonBarStyle
@see #Theme_buttonStyle
@see #Theme_buttonStyleSmall
@see #Theme_checkboxStyle
@see #Theme_checkedTextViewStyle
@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_controlBackground
@see #Theme_dialogPreferredPadding
@see #Theme_dialogTheme
@see #Theme_dividerHorizontal
@see #Theme_dividerVertical
@see #Theme_dropDownListViewStyle
@see #Theme_dropdownListPreferredItemHeight
@see #Theme_editTextBackground
@see #Theme_editTextColor
@see #Theme_editTextStyle
@see #Theme_homeAsUpIndicator
@see #Theme_listChoiceBackgroundIndicator
@see #Theme_listDividerAlertDialog
@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_radioButtonStyle
@see #Theme_ratingBarStyle
@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_textColorAlertDialogListItem
@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
@see #Theme_windowMinWidthMajor
@see #Theme_windowMinWidthMinor
@see #Theme_windowNoTitle
*/
public static final int[] Theme = {
0x01010057, 0x010100ae, 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, 0x7f01009a, 0x7f01009b, 0x7f01009c,
0x7f01009d, 0x7f01009e, 0x7f01009f, 0x7f0100a0,
0x7f0100a1, 0x7f0100a2, 0x7f0100a3, 0x7f0100a4,
0x7f0100a5, 0x7f0100a6, 0x7f0100a7, 0x7f0100a8,
0x7f0100a9, 0x7f0100aa, 0x7f0100ab, 0x7f0100ac,
0x7f0100ad, 0x7f0100ae, 0x7f0100af, 0x7f0100b0,
0x7f0100b1, 0x7f0100b2, 0x7f0100b3, 0x7f0100b4,
0x7f0100b5, 0x7f0100b6, 0x7f0100b7, 0x7f0100b8,
0x7f0100b9, 0x7f0100ba, 0x7f0100bb, 0x7f0100bc,
0x7f0100bd, 0x7f0100be, 0x7f0100bf, 0x7f0100c0,
0x7f0100c1, 0x7f0100c2, 0x7f0100c3, 0x7f0100c4,
0x7f0100c5, 0x7f0100c6, 0x7f0100c7, 0x7f0100c8,
0x7f0100c9, 0x7f0100ca, 0x7f0100cb, 0x7f0100cc,
0x7f0100cd, 0x7f0100ce, 0x7f0100cf, 0x7f0100d0,
0x7f0100d1, 0x7f0100d2, 0x7f0100d3, 0x7f0100d4
};
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionBarDivider}
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 com.bukalelang:actionBarDivider
*/
public static final int Theme_actionBarDivider = 23;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionBarItemBackground}
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 com.bukalelang:actionBarItemBackground
*/
public static final int Theme_actionBarItemBackground = 24;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionBarPopupTheme}
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 com.bukalelang:actionBarPopupTheme
*/
public static final int Theme_actionBarPopupTheme = 17;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionBarSize}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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>
@attr name com.bukalelang:actionBarSize
*/
public static final int Theme_actionBarSize = 22;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionBarSplitStyle}
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 com.bukalelang:actionBarSplitStyle
*/
public static final int Theme_actionBarSplitStyle = 19;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionBarStyle}
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 com.bukalelang:actionBarStyle
*/
public static final int Theme_actionBarStyle = 18;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:actionBarTabBarStyle
*/
public static final int Theme_actionBarTabBarStyle = 13;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionBarTabStyle}
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 com.bukalelang:actionBarTabStyle
*/
public static final int Theme_actionBarTabStyle = 12;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:actionBarTabTextStyle
*/
public static final int Theme_actionBarTabTextStyle = 14;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionBarTheme}
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 com.bukalelang:actionBarTheme
*/
public static final int Theme_actionBarTheme = 20;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionBarWidgetTheme}
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 com.bukalelang:actionBarWidgetTheme
*/
public static final int Theme_actionBarWidgetTheme = 21;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionButtonStyle}
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 com.bukalelang:actionButtonStyle
*/
public static final int Theme_actionButtonStyle = 49;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionDropDownStyle}
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 com.bukalelang:actionDropDownStyle
*/
public static final int Theme_actionDropDownStyle = 45;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionMenuTextAppearance}
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 com.bukalelang:actionMenuTextAppearance
*/
public static final int Theme_actionMenuTextAppearance = 25;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionMenuTextColor}
attribute's value can be found in the {@link #Theme} array.
<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>".
@attr name com.bukalelang:actionMenuTextColor
*/
public static final int Theme_actionMenuTextColor = 26;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionModeBackground}
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 com.bukalelang:actionModeBackground
*/
public static final int Theme_actionModeBackground = 29;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:actionModeCloseButtonStyle
*/
public static final int Theme_actionModeCloseButtonStyle = 28;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionModeCloseDrawable}
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 com.bukalelang:actionModeCloseDrawable
*/
public static final int Theme_actionModeCloseDrawable = 31;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionModeCopyDrawable}
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 com.bukalelang:actionModeCopyDrawable
*/
public static final int Theme_actionModeCopyDrawable = 33;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionModeCutDrawable}
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 com.bukalelang:actionModeCutDrawable
*/
public static final int Theme_actionModeCutDrawable = 32;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionModeFindDrawable}
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 com.bukalelang:actionModeFindDrawable
*/
public static final int Theme_actionModeFindDrawable = 37;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionModePasteDrawable}
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 com.bukalelang:actionModePasteDrawable
*/
public static final int Theme_actionModePasteDrawable = 34;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionModePopupWindowStyle}
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 com.bukalelang:actionModePopupWindowStyle
*/
public static final int Theme_actionModePopupWindowStyle = 39;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionModeSelectAllDrawable}
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 com.bukalelang:actionModeSelectAllDrawable
*/
public static final int Theme_actionModeSelectAllDrawable = 35;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionModeShareDrawable}
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 com.bukalelang:actionModeShareDrawable
*/
public static final int Theme_actionModeShareDrawable = 36;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionModeSplitBackground}
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 com.bukalelang:actionModeSplitBackground
*/
public static final int Theme_actionModeSplitBackground = 30;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:actionModeStyle
*/
public static final int Theme_actionModeStyle = 27;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#actionModeWebSearchDrawable}
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 com.bukalelang:actionModeWebSearchDrawable
*/
public static final int Theme_actionModeWebSearchDrawable = 38;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:actionOverflowButtonStyle
*/
public static final int Theme_actionOverflowButtonStyle = 15;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:actionOverflowMenuStyle
*/
public static final int Theme_actionOverflowMenuStyle = 16;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#activityChooserViewStyle}
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 com.bukalelang:activityChooserViewStyle
*/
public static final int Theme_activityChooserViewStyle = 57;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#alertDialogButtonGroupStyle}
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 com.bukalelang:alertDialogButtonGroupStyle
*/
public static final int Theme_alertDialogButtonGroupStyle = 91;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#alertDialogCenterButtons}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:alertDialogCenterButtons
*/
public static final int Theme_alertDialogCenterButtons = 92;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#alertDialogStyle}
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 com.bukalelang:alertDialogStyle
*/
public static final int Theme_alertDialogStyle = 90;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#alertDialogTheme}
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 com.bukalelang:alertDialogTheme
*/
public static final int Theme_alertDialogTheme = 93;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle}
attribute's value can be found in the {@link #Theme} array.
@attr name android:windowAnimationStyle
*/
public static final int Theme_android_windowAnimationStyle = 1;
/**
<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>This symbol is the offset where the {@link com.bukalelang.R.attr#autoCompleteTextViewStyle}
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 com.bukalelang:autoCompleteTextViewStyle
*/
public static final int Theme_autoCompleteTextViewStyle = 98;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#borderlessButtonStyle}
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 com.bukalelang:borderlessButtonStyle
*/
public static final int Theme_borderlessButtonStyle = 54;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#buttonBarButtonStyle}
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 com.bukalelang:buttonBarButtonStyle
*/
public static final int Theme_buttonBarButtonStyle = 51;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#buttonBarNegativeButtonStyle}
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 com.bukalelang:buttonBarNegativeButtonStyle
*/
public static final int Theme_buttonBarNegativeButtonStyle = 96;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#buttonBarNeutralButtonStyle}
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 com.bukalelang:buttonBarNeutralButtonStyle
*/
public static final int Theme_buttonBarNeutralButtonStyle = 97;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#buttonBarPositiveButtonStyle}
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 com.bukalelang:buttonBarPositiveButtonStyle
*/
public static final int Theme_buttonBarPositiveButtonStyle = 95;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#buttonBarStyle}
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 com.bukalelang:buttonBarStyle
*/
public static final int Theme_buttonBarStyle = 50;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#buttonStyle}
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 com.bukalelang:buttonStyle
*/
public static final int Theme_buttonStyle = 99;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#buttonStyleSmall}
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 com.bukalelang:buttonStyleSmall
*/
public static final int Theme_buttonStyleSmall = 100;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#checkboxStyle}
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 com.bukalelang:checkboxStyle
*/
public static final int Theme_checkboxStyle = 101;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#checkedTextViewStyle}
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 com.bukalelang:checkedTextViewStyle
*/
public static final int Theme_checkedTextViewStyle = 102;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#colorAccent}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:colorAccent
*/
public static final int Theme_colorAccent = 83;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#colorButtonNormal}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:colorButtonNormal
*/
public static final int Theme_colorButtonNormal = 87;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#colorControlActivated}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:colorControlActivated
*/
public static final int Theme_colorControlActivated = 85;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#colorControlHighlight}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:colorControlHighlight
*/
public static final int Theme_colorControlHighlight = 86;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#colorControlNormal}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:colorControlNormal
*/
public static final int Theme_colorControlNormal = 84;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#colorPrimary}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:colorPrimary
*/
public static final int Theme_colorPrimary = 81;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#colorPrimaryDark}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:colorPrimaryDark
*/
public static final int Theme_colorPrimaryDark = 82;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#colorSwitchThumbNormal}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:colorSwitchThumbNormal
*/
public static final int Theme_colorSwitchThumbNormal = 88;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#controlBackground}
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 com.bukalelang:controlBackground
*/
public static final int Theme_controlBackground = 89;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#dialogPreferredPadding}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:dialogPreferredPadding
*/
public static final int Theme_dialogPreferredPadding = 43;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#dialogTheme}
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 com.bukalelang:dialogTheme
*/
public static final int Theme_dialogTheme = 42;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#dividerHorizontal}
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 com.bukalelang:dividerHorizontal
*/
public static final int Theme_dividerHorizontal = 56;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#dividerVertical}
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 com.bukalelang:dividerVertical
*/
public static final int Theme_dividerVertical = 55;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#dropDownListViewStyle}
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 com.bukalelang:dropDownListViewStyle
*/
public static final int Theme_dropDownListViewStyle = 73;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#dropdownListPreferredItemHeight}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:dropdownListPreferredItemHeight
*/
public static final int Theme_dropdownListPreferredItemHeight = 46;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#editTextBackground}
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 com.bukalelang:editTextBackground
*/
public static final int Theme_editTextBackground = 63;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#editTextColor}
attribute's value can be found in the {@link #Theme} array.
<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>".
@attr name com.bukalelang:editTextColor
*/
public static final int Theme_editTextColor = 62;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#editTextStyle}
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 com.bukalelang:editTextStyle
*/
public static final int Theme_editTextStyle = 103;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#homeAsUpIndicator}
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 com.bukalelang:homeAsUpIndicator
*/
public static final int Theme_homeAsUpIndicator = 48;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#listChoiceBackgroundIndicator}
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 com.bukalelang:listChoiceBackgroundIndicator
*/
public static final int Theme_listChoiceBackgroundIndicator = 80;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#listDividerAlertDialog}
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 com.bukalelang:listDividerAlertDialog
*/
public static final int Theme_listDividerAlertDialog = 44;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:listPopupWindowStyle
*/
public static final int Theme_listPopupWindowStyle = 74;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#listPreferredItemHeight}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:listPreferredItemHeight
*/
public static final int Theme_listPreferredItemHeight = 68;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#listPreferredItemHeightLarge}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:listPreferredItemHeightLarge
*/
public static final int Theme_listPreferredItemHeightLarge = 70;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#listPreferredItemHeightSmall}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:listPreferredItemHeightSmall
*/
public static final int Theme_listPreferredItemHeightSmall = 69;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#listPreferredItemPaddingLeft}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:listPreferredItemPaddingLeft
*/
public static final int Theme_listPreferredItemPaddingLeft = 71;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#listPreferredItemPaddingRight}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:listPreferredItemPaddingRight
*/
public static final int Theme_listPreferredItemPaddingRight = 72;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#panelBackground}
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 com.bukalelang:panelBackground
*/
public static final int Theme_panelBackground = 77;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#panelMenuListTheme}
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 com.bukalelang:panelMenuListTheme
*/
public static final int Theme_panelMenuListTheme = 79;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#panelMenuListWidth}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:panelMenuListWidth
*/
public static final int Theme_panelMenuListWidth = 78;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#popupMenuStyle}
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 com.bukalelang:popupMenuStyle
*/
public static final int Theme_popupMenuStyle = 60;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#popupWindowStyle}
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 com.bukalelang:popupWindowStyle
*/
public static final int Theme_popupWindowStyle = 61;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#radioButtonStyle}
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 com.bukalelang:radioButtonStyle
*/
public static final int Theme_radioButtonStyle = 104;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#ratingBarStyle}
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 com.bukalelang:ratingBarStyle
*/
public static final int Theme_ratingBarStyle = 105;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#searchViewStyle}
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 com.bukalelang:searchViewStyle
*/
public static final int Theme_searchViewStyle = 67;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#selectableItemBackground}
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 com.bukalelang:selectableItemBackground
*/
public static final int Theme_selectableItemBackground = 52;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#selectableItemBackgroundBorderless}
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 com.bukalelang:selectableItemBackgroundBorderless
*/
public static final int Theme_selectableItemBackgroundBorderless = 53;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#spinnerDropDownItemStyle}
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 com.bukalelang:spinnerDropDownItemStyle
*/
public static final int Theme_spinnerDropDownItemStyle = 47;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#spinnerStyle}
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 com.bukalelang:spinnerStyle
*/
public static final int Theme_spinnerStyle = 106;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#switchStyle}
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 com.bukalelang:switchStyle
*/
public static final int Theme_switchStyle = 107;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#textAppearanceLargePopupMenu}
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 com.bukalelang:textAppearanceLargePopupMenu
*/
public static final int Theme_textAppearanceLargePopupMenu = 40;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#textAppearanceListItem}
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 com.bukalelang:textAppearanceListItem
*/
public static final int Theme_textAppearanceListItem = 75;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#textAppearanceListItemSmall}
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 com.bukalelang:textAppearanceListItemSmall
*/
public static final int Theme_textAppearanceListItemSmall = 76;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#textAppearanceSearchResultSubtitle}
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 com.bukalelang:textAppearanceSearchResultSubtitle
*/
public static final int Theme_textAppearanceSearchResultSubtitle = 65;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#textAppearanceSearchResultTitle}
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 com.bukalelang:textAppearanceSearchResultTitle
*/
public static final int Theme_textAppearanceSearchResultTitle = 64;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#textAppearanceSmallPopupMenu}
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 com.bukalelang:textAppearanceSmallPopupMenu
*/
public static final int Theme_textAppearanceSmallPopupMenu = 41;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#textColorAlertDialogListItem}
attribute's value can be found in the {@link #Theme} array.
<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>".
@attr name com.bukalelang:textColorAlertDialogListItem
*/
public static final int Theme_textColorAlertDialogListItem = 94;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#textColorSearchUrl}
attribute's value can be found in the {@link #Theme} array.
<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>".
@attr name com.bukalelang:textColorSearchUrl
*/
public static final int Theme_textColorSearchUrl = 66;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#toolbarNavigationButtonStyle}
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 com.bukalelang:toolbarNavigationButtonStyle
*/
public static final int Theme_toolbarNavigationButtonStyle = 59;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#toolbarStyle}
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 com.bukalelang:toolbarStyle
*/
public static final int Theme_toolbarStyle = 58;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#windowActionBar}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:windowActionBar
*/
public static final int Theme_windowActionBar = 2;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#windowActionBarOverlay}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:windowActionBarOverlay
*/
public static final int Theme_windowActionBarOverlay = 4;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#windowActionModeOverlay}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:windowActionModeOverlay
*/
public static final int Theme_windowActionModeOverlay = 5;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#windowFixedHeightMajor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
@attr name com.bukalelang:windowFixedHeightMajor
*/
public static final int Theme_windowFixedHeightMajor = 9;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#windowFixedHeightMinor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
@attr name com.bukalelang:windowFixedHeightMinor
*/
public static final int Theme_windowFixedHeightMinor = 7;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#windowFixedWidthMajor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
@attr name com.bukalelang:windowFixedWidthMajor
*/
public static final int Theme_windowFixedWidthMajor = 6;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#windowFixedWidthMinor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
@attr name com.bukalelang:windowFixedWidthMinor
*/
public static final int Theme_windowFixedWidthMinor = 8;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#windowMinWidthMajor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
@attr name com.bukalelang:windowMinWidthMajor
*/
public static final int Theme_windowMinWidthMajor = 10;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#windowMinWidthMinor}
attribute's value can be found in the {@link #Theme} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), 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.
@attr name com.bukalelang:windowMinWidthMinor
*/
public static final int Theme_windowMinWidthMinor = 11;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#windowNoTitle}
attribute's value can be found in the {@link #Theme} 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 com.bukalelang:windowNoTitle
*/
public static final int Theme_windowNoTitle = 3;
/** Attributes that can be used with a Toolbar.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #Toolbar_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_android_minHeight android:minHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseContentDescription com.bukalelang:collapseContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseIcon com.bukalelang:collapseIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetEnd com.bukalelang:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetLeft com.bukalelang:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetRight com.bukalelang:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetStart com.bukalelang:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_logo com.bukalelang:logo}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_logoDescription com.bukalelang:logoDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_maxButtonHeight com.bukalelang:maxButtonHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationContentDescription com.bukalelang:navigationContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationIcon com.bukalelang:navigationIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_popupTheme com.bukalelang:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitle com.bukalelang:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextAppearance com.bukalelang:subtitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextColor com.bukalelang:subtitleTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_title com.bukalelang:title}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginBottom com.bukalelang:titleMarginBottom}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginEnd com.bukalelang:titleMarginEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginStart com.bukalelang:titleMarginStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginTop com.bukalelang:titleMarginTop}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMargins com.bukalelang:titleMargins}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextAppearance com.bukalelang:titleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextColor com.bukalelang:titleTextColor}</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_logo
@see #Toolbar_logoDescription
@see #Toolbar_maxButtonHeight
@see #Toolbar_navigationContentDescription
@see #Toolbar_navigationIcon
@see #Toolbar_popupTheme
@see #Toolbar_subtitle
@see #Toolbar_subtitleTextAppearance
@see #Toolbar_subtitleTextColor
@see #Toolbar_title
@see #Toolbar_titleMarginBottom
@see #Toolbar_titleMarginEnd
@see #Toolbar_titleMarginStart
@see #Toolbar_titleMarginTop
@see #Toolbar_titleMargins
@see #Toolbar_titleTextAppearance
@see #Toolbar_titleTextColor
*/
public static final int[] Toolbar = {
0x010100af, 0x01010140, 0x7f010003, 0x7f010006,
0x7f01000a, 0x7f010016, 0x7f010017, 0x7f010018,
0x7f010019, 0x7f01001b, 0x7f0100d5, 0x7f0100d6,
0x7f0100d7, 0x7f0100d8, 0x7f0100d9, 0x7f0100da,
0x7f0100db, 0x7f0100dc, 0x7f0100dd, 0x7f0100de,
0x7f0100df, 0x7f0100e0, 0x7f0100e1, 0x7f0100e2,
0x7f0100e3
};
/**
<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>This symbol is the offset where the {@link android.R.attr#minHeight}
attribute's value can be found in the {@link #Toolbar} array.
@attr name android:minHeight
*/
public static final int Toolbar_android_minHeight = 1;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#collapseContentDescription}
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 com.bukalelang:collapseContentDescription
*/
public static final int Toolbar_collapseContentDescription = 19;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#collapseIcon}
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 com.bukalelang:collapseIcon
*/
public static final int Toolbar_collapseIcon = 18;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#contentInsetEnd}
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 com.bukalelang:contentInsetEnd
*/
public static final int Toolbar_contentInsetEnd = 6;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#contentInsetLeft}
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 com.bukalelang:contentInsetLeft
*/
public static final int Toolbar_contentInsetLeft = 7;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#contentInsetRight}
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 com.bukalelang:contentInsetRight
*/
public static final int Toolbar_contentInsetRight = 8;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#contentInsetStart}
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 com.bukalelang:contentInsetStart
*/
public static final int Toolbar_contentInsetStart = 5;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#logo}
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 com.bukalelang:logo
*/
public static final int Toolbar_logo = 4;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#logoDescription}
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 com.bukalelang:logoDescription
*/
public static final int Toolbar_logoDescription = 22;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:maxButtonHeight
*/
public static final int Toolbar_maxButtonHeight = 17;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#navigationContentDescription}
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 com.bukalelang:navigationContentDescription
*/
public static final int Toolbar_navigationContentDescription = 21;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#navigationIcon}
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 com.bukalelang:navigationIcon
*/
public static final int Toolbar_navigationIcon = 20;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#popupTheme}
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 com.bukalelang:popupTheme
*/
public static final int Toolbar_popupTheme = 9;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#subtitle}
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 com.bukalelang:subtitle
*/
public static final int Toolbar_subtitle = 3;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:subtitleTextAppearance
*/
public static final int Toolbar_subtitleTextAppearance = 11;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#subtitleTextColor}
attribute's value can be found in the {@link #Toolbar} 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 com.bukalelang:subtitleTextColor
*/
public static final int Toolbar_subtitleTextColor = 24;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:title
*/
public static final int Toolbar_title = 2;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:titleMarginBottom
*/
public static final int Toolbar_titleMarginBottom = 16;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:titleMarginEnd
*/
public static final int Toolbar_titleMarginEnd = 14;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:titleMarginStart
*/
public static final int Toolbar_titleMarginStart = 13;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:titleMarginTop
*/
public static final int Toolbar_titleMarginTop = 15;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:titleMargins
*/
public static final int Toolbar_titleMargins = 12;
/**
<p>This symbol is the offset where the {@link com.bukalelang.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 com.bukalelang:titleTextAppearance
*/
public static final int Toolbar_titleTextAppearance = 10;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#titleTextColor}
attribute's value can be found in the {@link #Toolbar} 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 com.bukalelang:titleTextColor
*/
public static final int Toolbar_titleTextColor = 23;
/** 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></td></tr>
<tr><td><code>{@link #View_android_theme android:theme}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingEnd com.bukalelang:paddingEnd}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingStart com.bukalelang:paddingStart}</code></td><td></td></tr>
<tr><td><code>{@link #View_theme com.bukalelang:theme}</code></td><td></td></tr>
</table>
@see #View_android_focusable
@see #View_android_theme
@see #View_paddingEnd
@see #View_paddingStart
@see #View_theme
*/
public static final int[] View = {
0x01010000, 0x010100da, 0x7f0100e4, 0x7f0100e5,
0x7f0100e6
};
/**
<p>This symbol is the offset where the {@link android.R.attr#focusable}
attribute's value can be found in the {@link #View} array.
@attr name android:focusable
*/
public static final int View_android_focusable = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#theme}
attribute's value can be found in the {@link #View} array.
@attr name android:theme
*/
public static final int View_android_theme = 0;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#paddingEnd}
attribute's value can be found in the {@link #View} 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 com.bukalelang:paddingEnd
*/
public static final int View_paddingEnd = 3;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#paddingStart}
attribute's value can be found in the {@link #View} 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 com.bukalelang:paddingStart
*/
public static final int View_paddingStart = 2;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#theme}
attribute's value can be found in the {@link #View} 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 com.bukalelang:theme
*/
public static final int View_theme = 4;
/** Attributes that can be used with a ViewBackgroundHelper.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ViewBackgroundHelper_android_background android:background}</code></td><td></td></tr>
<tr><td><code>{@link #ViewBackgroundHelper_backgroundTint com.bukalelang:backgroundTint}</code></td><td></td></tr>
<tr><td><code>{@link #ViewBackgroundHelper_backgroundTintMode com.bukalelang:backgroundTintMode}</code></td><td></td></tr>
</table>
@see #ViewBackgroundHelper_android_background
@see #ViewBackgroundHelper_backgroundTint
@see #ViewBackgroundHelper_backgroundTintMode
*/
public static final int[] ViewBackgroundHelper = {
0x010100d4, 0x7f0100e7, 0x7f0100e8
};
/**
<p>This symbol is the offset where the {@link android.R.attr#background}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
@attr name android:background
*/
public static final int ViewBackgroundHelper_android_background = 0;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#backgroundTint}
attribute's value can be found in the {@link #ViewBackgroundHelper} 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 com.bukalelang:backgroundTint
*/
public static final int ViewBackgroundHelper_backgroundTint = 1;
/**
<p>This symbol is the offset where the {@link com.bukalelang.R.attr#backgroundTintMode}
attribute's value can be found in the {@link #ViewBackgroundHelper} 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>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name com.bukalelang:backgroundTintMode
*/
public static final int ViewBackgroundHelper_backgroundTintMode = 2;
/** Attributes that can be used with a ViewStubCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ViewStubCompat_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #ViewStubCompat_android_inflatedId android:inflatedId}</code></td><td></td></tr>
<tr><td><code>{@link #ViewStubCompat_android_layout android:layout}</code></td><td></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>This symbol is the offset where the {@link android.R.attr#inflatedId}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:inflatedId
*/
public static final int ViewStubCompat_android_inflatedId = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:layout
*/
public static final int ViewStubCompat_android_layout = 1;
};
}
| [
"email\": null"
]
| email": null |
2f1f160440f456a166f04ad329d943b2ec114799 | 44be22514193bc876968dcc7ee79dda0cf62fed9 | /sample/sample-server/src/main/java/com/bizmda/bizsip/sample/serveradaptor/server/controller/Server7AdaptorController.java | 418923cb0ce9dc79b41a32ddbc36120d327af9a2 | [
"Apache-2.0"
]
| permissive | zxxfire/Biz-SIP-Cloud | 73b3f69d7832f2ef31506a8109ded65cea9e2dae | 6a1edd07074dbbf78f2bab2a7557f64c779bc2d3 | refs/heads/master | 2023-03-16T05:20:18.448324 | 2021-03-09T10:16:29 | 2021-03-09T10:16:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,624 | java | package com.bizmda.bizsip.sample.serveradaptor.server.controller;
import cn.hutool.json.JSONObject;
import com.bizmda.bizsip.common.BizException;
import com.bizmda.bizsip.common.BizMessage;
import com.bizmda.bizsip.serveradaptor.ServerAdaptor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.PostConstruct;
import javax.servlet.http.HttpServletResponse;
/**
* @author ๅฒๆญฃ็จ
*/
@Slf4j
@RestController
public class Server7AdaptorController {
@Autowired
private ServerAdaptor serverAdaptor;
@PostConstruct
public void init() {
try {
this.serverAdaptor.init("server7");
} catch (BizException e) {
log.error("ๆๅก็ซฏ้้
ๅจๅๅงๅๅคฑ่ดฅ๏ผ",e);
}
}
@PostMapping(value = "/server7", consumes = "application/json", produces = "application/json")
public BizMessage<JSONObject> doService(@RequestBody BizMessage<JSONObject> inMessage, HttpServletResponse response) {
log.debug("inMessage:{}", inMessage);
JSONObject outMessage = null;
try {
outMessage = this.serverAdaptor.process(inMessage.getData());
return BizMessage.buildSuccessMessage(inMessage,outMessage);
} catch (BizException e) {
log.error("ๆๅก็ซฏ้้
ๅจๆง่กๅบ้",e);
return BizMessage.buildFailMessage(inMessage,e);
}
}
} | [
"[email protected]"
]
| |
d7034935898f8645fb65b7feb253e221de5849ca | 6664f992c3f207e1c797bbc6a1254bb77b23a24f | /Practice/src/practice06/PTra06_06.java | c643353f5b7e89757b9c2fa3c794843944dd7c4f | []
| no_license | YamaguchiKatsuya/JavaBasic | 470ec6c15d9ea981613c195d40d25504a6c78e63 | 1bfdcb0fcbdbfdf78d568de4dd1c82a8a734564e | refs/heads/master | 2020-04-05T06:27:24.905604 | 2018-11-15T08:38:28 | 2018-11-15T08:38:28 | 156,638,711 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 727 | java | package practice06;
/*
* PTra06_06.java
* ไฝๆ LIKEIT 2017
*------------------------------------------------------------
* Copyright(c) Rhizome Inc. All Rights Reserved.
*/
public class PTra06_06 {
public static void main(String[] args) {
// โ
forๆใไฝฟใฃใฆใไปฅไธใฎใใใชๅบๅใซใชใใใใซใใฆใใ ใใ
/*
* ๅบๅ็ตๆไพ
* -----------------------------------
* โกโกโกโกโก
* โ โกโกโกโก
* โ โ โกโกโก
* โ โ โ โกโก
* โ โ โ โ โก
*/
for (int i = 0; i < 5; i++) {
for (int j = 0; j < i ; j++) {
System.out.print("โ ");
}
for (int j = 5; j > i ; j--) {
System.out.print("โก");
}
System.out.println();
}
}
}
| [
"[email protected]"
]
| |
a272c6a46c011e6ea4f06144bfb925d07cf95adf | ee1d126be59583b3f871bb9e082e44056e1ce61c | /ExeAbstract/src/exeabstract/ExeAbstract.java | 303f8b165a0204af104db2762b0a9df7faefc37b | []
| no_license | finfanterodal/PROG_EXAMPLES | e8bedac2a463626b5db766c21d1b6e7e0c43c3f2 | f03a49b05c5f9de5f930df8a0e1104927c633852 | refs/heads/master | 2020-05-19T18:12:49.400914 | 2019-05-06T08:08:50 | 2019-05-06T08:08:50 | 174,346,710 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 436 | 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 exeabstract;
/**
*
* @author finfanterodal
*/
public class ExeAbstract {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
}
}
| [
"[email protected]"
]
| |
1134169588a553c249c597a804ac0041d60ded54 | 69db0598676947787f6a7f7794b7516c96e4bb80 | /src/main/java/tn/iit/ws/WsApplication.java | 99bbaf82311fdbf6a8c1c8996e3e34515bdf8c0d | []
| no_license | FouratiOmar/MyApp | b392a771ecf53e56fed4a415b0fed8de7b1aa8a6 | 983b4fd3e5e49053580bb9192dd4de8d187a8adf | refs/heads/master | 2020-05-02T22:57:28.455476 | 2019-03-28T19:22:34 | 2019-03-28T19:22:34 | 178,268,038 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 293 | java | package tn.iit.ws;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class WsApplication {
public static void main(String[] args) {
SpringApplication.run(WsApplication.class, args);
}
}
| [
"[email protected]"
]
| |
07ddc84eb908062659aeb018f185b00ddd79c612 | 27ec2748e38b0a2d02d4febf6d77eaf932236efe | /src/main/java/com/github/jparkie/pdd/impl/BSBFSDDeDuplicator.java | e6f9920deaecb9bf5dcb4abe6ce21f9bf029bfc6 | [
"Apache-2.0"
]
| permissive | emrul/PDD | ccc266c3e2174b7ba88b49cabb7134211745d282 | 272ad0cf8552fe4d4c468e93b80bf325c823680f | refs/heads/master | 2020-06-21T04:35:15.257400 | 2017-03-05T17:59:17 | 2017-03-05T17:59:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 10,117 | java | package com.github.jparkie.pdd.impl;
import com.github.jparkie.pdd.BitArray;
import com.github.jparkie.pdd.Murmur3_x86_32;
import com.github.jparkie.pdd.Platform;
import com.github.jparkie.pdd.ProbabilisticDeDuplicator;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.Arrays;
import java.util.SplittableRandom;
/**
* De-Duplication by a Biased Sampling based Bloom Filter with Single Deletion (BSBFSD).
* <p>
* Described by Suman K. Bera, Sourav Dutta, Ankur Narang, Souvik Bhattacherjee in
* Advanced Bloom Filter Based Algorithms for Efficient Approximate Data De-Duplication in Streams:
* <p>
* https://arxiv.org/abs/1212.3964
*/
public class BSBFSDDeDuplicator implements ProbabilisticDeDuplicator, Serializable {
long numBits;
int numHashFunctions;
BitArray[] bloomFilters;
double reportedDuplicateProbability;
private transient int[] hashBuffer;
private transient SplittableRandom random;
public BSBFSDDeDuplicator(long numBits, int numHashFunctions) {
this(numBits, numHashFunctions, bloomFilters(numBits, numHashFunctions), 0D);
}
BSBFSDDeDuplicator(
long numBits,
int numHashFunctions,
BitArray[] bloomFilters,
double reportedDuplicateProbability
) {
this.numBits = numBits;
this.numHashFunctions = numHashFunctions;
this.bloomFilters = bloomFilters;
this.reportedDuplicateProbability = reportedDuplicateProbability;
this.hashBuffer = new int[this.bloomFilters.length];
this.random = new SplittableRandom(generateRandomSeed(numBits, numHashFunctions));
}
private BSBFSDDeDuplicator() {
}
public static BSBFSDDeDuplicator create(long numBits, double fpp) {
return new BSBFSDDeDuplicator(numBits, optimalNumOfHashFunctions(fpp));
}
private static int optimalNumOfHashFunctions(double fpp) {
if (fpp <= 0D || fpp >= 1D) {
final String error = String.format("fpp must be in the range (0, 1), but got %f", fpp);
throw new IllegalArgumentException(error);
}
/*
* From Advanced Bloom Filter Based Algorithms for Efficient Approximate Data De-Duplication in Streams:
* As a trade-off we set k as the arithmetic mean of 1 and ln(fpp) / ln(1 - 1/e).
*/
return (int) Math.ceil(((Math.log(fpp) / Math.log(1D - (1D / Math.E))) + 1D) / 2D);
}
private static BitArray[] bloomFilters(long numBits, int numHashFunctions) {
if (numBits <= 0L) {
final String error = String.format("numBits must be positive, but got %d", numBits);
throw new IllegalArgumentException(error);
}
if (numHashFunctions <= 0) {
final String error = String.format("numHashFunctions must be positive, but got %d", numHashFunctions);
throw new IllegalArgumentException(error);
}
final long bloomFilterBits = numBits / numHashFunctions;
final BitArray[] bloomFilters = new BitArray[numHashFunctions];
for (int index = 0; index < numHashFunctions; index++) {
bloomFilters[index] = new BitArray(bloomFilterBits);
}
return bloomFilters;
}
private static long generateRandomSeed(long numBits, int numHashFunctions) {
return 31L * numBits + numHashFunctions;
}
@Override
public long numBits() {
return numBits;
}
@Override
public int numHashFunctions() {
return numHashFunctions;
}
@Override
public boolean classifyDistinct(byte[] element) {
/*
* Algorithm 3: BSBFSD(S)
* Require: Threshold FPR (FPRt), Memory in bits (M), and Stream (S)
* Ensure: Detecting duplicate and distinct elements in S
*
* Compute the value of k from FPRt.
* Construct k Bloom filters each having M/k bits of memory.
*
* for each element e of S do
* Hash e into k bit positions, H = h1,ยทยทยท ,hk.
* if all bit at positions H are set then
* Result โ DISTINCT
* else
* Result โ DUPLICATE
* end if
* if e is DISTINCT then
* Randomly select a Bloom filter Bi.
* Randomly select a bit hห from the Bth Bloom Filter
* Reset hหi to 0.
* Set all the bits in H to 1.
* end if
* end for
*/
fillHashBuffer(element, hashBuffer);
final boolean temporaryIsDistinct = !containsHashBuffer(bloomFilters, hashBuffer);
if (temporaryIsDistinct) {
setHashBuffer(bloomFilters, hashBuffer, random);
}
updateReportedDuplicateProbability();
return temporaryIsDistinct;
}
@Override
public boolean peekDistinct(byte[] element) {
fillHashBuffer(element, hashBuffer);
return !containsHashBuffer(bloomFilters, hashBuffer);
}
@Override
public double estimateFpp(double actuallyDistinctProbability) {
return actuallyDistinctProbability * reportedDuplicateProbability;
}
@Override
public double estimateFnp(double actuallyDistinctProbability) {
return (1 - actuallyDistinctProbability) * (1 - reportedDuplicateProbability);
}
@Override
public void reset() {
final int bloomFiltersLength = bloomFilters.length;
for (int index = 0; index < bloomFiltersLength; index++) {
bloomFilters[index] = new BitArray(bloomFilters[index].bitSize());
}
reportedDuplicateProbability = 0D;
}
private void fillHashBuffer(byte[] element, int[] hashBuffer) {
/*
* Adam Kirsch and Michael Mitzenmacher. 2008. Less hashing, same performance: Building a better Bloom filter.
* Random Struct. Algorithms 33, 2 (September 2008), 187-218. DOI=http://dx.doi.org/10.1002/rsa.v33:2
*/
final int hashBufferLength = hashBuffer.length;
final int hash1 = Murmur3_x86_32.hashUnsafeBytes(element, Platform.BYTE_ARRAY_OFFSET, element.length, 0);
final int hash2 = Murmur3_x86_32.hashUnsafeBytes(element, Platform.BYTE_ARRAY_OFFSET, element.length, hash1);
for (int index = 0; index < hashBufferLength; index++) {
int combinedHash = hash1 + ((index + 1) * hash2);
if (combinedHash < 0) {
combinedHash = ~combinedHash;
}
hashBuffer[index] = combinedHash;
}
}
private boolean containsHashBuffer(BitArray[] bloomFilters, int[] hashBuffer) {
final int hashBufferLength = hashBuffer.length;
for (int index = 0; index < hashBufferLength; index++) {
final int combinedHash = hashBuffer[index];
final BitArray bloomFilter = bloomFilters[index];
if (!bloomFilter.get(combinedHash % bloomFilter.bitSize())) {
return false;
}
}
return true;
}
private void setHashBuffer(BitArray[] bloomFilters, int[] hashBuffer, SplittableRandom random) {
final int hashBufferLength = hashBuffer.length;
final BitArray randomBloomFilter = bloomFilters[random.nextInt(hashBufferLength)];
randomBloomFilter.clear(random.nextLong(randomBloomFilter.bitSize()));
for (int index = 0; index < hashBufferLength; index++) {
final int combinedHash = hashBuffer[index];
final BitArray bloomFilter = bloomFilters[index];
bloomFilter.set(combinedHash % bloomFilter.bitSize());
}
}
private void updateReportedDuplicateProbability() {
/*
* X_{m+1} = \left[ \left(X_m\right)^{\frac{1}{k}} \left\{ X_m + \left( 1 - X_m \right) \left( 1 - \frac{1}{ks}
* \right) \right\} + \left( 1 - X_m \right) \frac{1}{s} \right]^k
*/
final double K = bloomFilters.length;
final double S = bloomFilters[0].bitSize();
final double X = reportedDuplicateProbability;
final double calculation1 = Math.pow(X, 1D / K);
final double calculation2 = X + (1D - X) * (1D - (1D / (K * S)));
final double calculation3 = (1D - X) * (1D / S);
final double calculation4 = calculation1 * calculation2 + calculation3;
reportedDuplicateProbability = Math.pow(calculation4, K);
}
@Override
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (other == null || getClass() != other.getClass()) {
return false;
}
final BSBFSDDeDuplicator that = (BSBFSDDeDuplicator) other;
if (numBits != that.numBits) {
return false;
}
if (numHashFunctions != that.numHashFunctions) {
return false;
}
if (!Arrays.equals(bloomFilters, that.bloomFilters)) {
return false;
}
return true;
}
@Override
public int hashCode() {
int result;
result = (int) (numBits ^ (numBits >>> 32));
result = 31 * result + numHashFunctions;
result = 31 * result + Arrays.hashCode(bloomFilters);
return result;
}
// http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html
private void writeObject(ObjectOutputStream out) throws IOException {
BSBFSDDeDuplicatorSerializers.VERSION_2.writeTo(this, out);
}
// http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
final BSBFSDDeDuplicator tempDeDuplicator = BSBFSDDeDuplicatorSerializers.VERSION_2.readFrom(in);
this.numBits = tempDeDuplicator.numBits;
this.numHashFunctions = tempDeDuplicator.numHashFunctions;
this.bloomFilters = tempDeDuplicator.bloomFilters;
this.hashBuffer = new int[this.bloomFilters.length];
this.random = new SplittableRandom(generateRandomSeed(this.numBits, this.numHashFunctions));
}
}
| [
"[email protected]"
]
| |
0e2097ba8252b287f32a4c7fa4e33afcf01c8fd3 | 96f3291063efe2fe573d8bdc0412fcf9136435f1 | /testngparallelexecution/Common.java | e2cb2872efdcf863d1c50dc4cdb7c045a2ece7d6 | []
| no_license | nmahesh532/Flipkart | ac6da086cdb6801a5b4768b6afc890ca1527cce8 | 30fb0097af4b1fe64bb0ea9401da852a157734a9 | refs/heads/master-testscript1 | 2023-05-13T23:59:46.281119 | 2019-11-15T10:02:47 | 2019-11-15T10:02:47 | 206,730,135 | 0 | 0 | null | 2023-05-09T18:34:33 | 2019-09-06T06:42:15 | Java | UTF-8 | Java | false | false | 1,211 | java | package abcpack;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Parameters;
public class Common {
WebDriver d;
@Parameters("browser")
@BeforeMethod
public void setup(String browser)
{
// Launch the browser
if(browser.equals("FF"))
{
System.setProperty("webdriver.gecko.driver","E:\\Driver Executables\\geckodriver.exe");
d=new FirefoxDriver();
}
else if(browser.equals("GC"))
{
System.setProperty("webdriver.chrome.driver", "E:\\Driver Executables\\chromedriver.exe");
d=new ChromeDriver();
}
else if(browser.equals("IE"))
{
System.setProperty("webdriver.ie.driver", "E:\\Driver Executables\\IEDriverServer.exe");
d=new InternetExplorerDriver();
}
d.manage().timeouts().implicitlyWait(60,TimeUnit.SECONDS);
d.manage().timeouts().pageLoadTimeout(5,TimeUnit.MINUTES);
}
@AfterMethod
public void tearDown()
{
// Close the browser
d.quit();
}
}
| [
"[email protected]"
]
| |
8d45a5be7cb3206b3608821e9793a6b954982872 | f819f77fa04162e48d57558af31719a21ebb3434 | /extras/indexing/src/test/java/mvm/rya/indexing/external/PrecomputedJoinStorageSupplierTest.java | 99b0e89cd1b6df9496bf5e135678af645e65a369 | [
"Apache-2.0"
]
| permissive | AmilaWijayarathna/incubator-rya | 7a3e518f2c83e1f0fc0eb03da8069b4a0dc90b39 | c38fb2f20800b961949958b4526f22ae1b277b2b | refs/heads/master | 2021-01-16T21:20:52.609788 | 2016-06-04T19:08:39 | 2016-06-04T19:08:39 | 52,783,828 | 0 | 0 | null | 2016-06-04T19:08:40 | 2016-02-29T10:41:15 | Java | UTF-8 | Java | false | false | 3,505 | java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package mvm.rya.indexing.external;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import org.apache.hadoop.conf.Configuration;
import org.apache.rya.indexing.pcj.storage.PrecomputedJoinStorage;
import org.junit.Test;
import com.google.common.base.Supplier;
import mvm.rya.indexing.external.PrecomputedJoinIndexerConfig.PrecomputedJoinStorageType;
import mvm.rya.indexing.external.accumulo.AccumuloPcjStorage;
import mvm.rya.indexing.external.accumulo.AccumuloPcjStorageSupplier;
/**
* Tests the methods of {@link PrecomputedJoinStorageSupplier}.
*/
public class PrecomputedJoinStorageSupplierTest {
@Test(expected = NullPointerException.class)
public void notConfigured() {
// Create a supplier that does not return any configuration.
final Supplier<Configuration> configSupplier = mock(Supplier.class);
final PrecomputedJoinStorageSupplier storageSupplier = new PrecomputedJoinStorageSupplier(configSupplier, mock(AccumuloPcjStorageSupplier.class));
// Try to get the storage.
storageSupplier.get();
}
@Test(expected = IllegalArgumentException.class)
public void storageTypeNotSet() {
// Create a supplier that does not return any configuration.
final Supplier<Configuration> configSupplier = mock(Supplier.class);
when(configSupplier.get()).thenReturn( new Configuration() );
final PrecomputedJoinStorageSupplier storageSupplier = new PrecomputedJoinStorageSupplier(configSupplier, mock(AccumuloPcjStorageSupplier.class));
// Try to get the storage.
storageSupplier.get();
}
@Test
public void configuredForAccumulo() {
// Create a supplier that does not return any configuration.
final Supplier<Configuration> configSupplier = mock(Supplier.class);
final Configuration config = new Configuration();
config.set(PrecomputedJoinIndexerConfig.PCJ_STORAGE_TYPE, PrecomputedJoinStorageType.ACCUMULO.toString());
when(configSupplier.get()).thenReturn( config );
final AccumuloPcjStorageSupplier accumuloSupplier = mock(AccumuloPcjStorageSupplier.class);
final AccumuloPcjStorage mockAccumuloStorage = mock(AccumuloPcjStorage.class);
when(accumuloSupplier.get()).thenReturn(mockAccumuloStorage);
final PrecomputedJoinStorageSupplier storageSupplier = new PrecomputedJoinStorageSupplier(configSupplier, accumuloSupplier);
// Ensure the mock AccumuloPcjStorage is what was returned.
final PrecomputedJoinStorage storage = storageSupplier.get();
assertEquals(mockAccumuloStorage, storage);
}
} | [
"[email protected]"
]
| |
7d70a0f7436d6cd523a30e1db3c370631875c9a6 | 4f37081ed62e44afa0b2465388a8adf9b5490b13 | /chrome/android/javatests/src/org/chromium/chrome/browser/vr_shell/TestVrShellDelegate.java | f08cff5f6bbdc9140d94f35f3b7df4daecc1b798 | [
"BSD-3-Clause"
]
| permissive | zowhair/chromium | 05b9eed58a680941c3595d52c3c77b620ef2c3ac | d84d5ef83e401ec210fcb14a92803bf339e1ccce | refs/heads/master | 2023-03-04T23:15:10.914156 | 2018-03-15T11:27:44 | 2018-03-15T11:27:44 | 125,359,706 | 1 | 0 | null | 2018-03-15T11:50:44 | 2018-03-15T11:50:43 | null | UTF-8 | Java | false | false | 4,090 | java | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.vr_shell;
import android.os.Handler;
import org.junit.Assert;
import org.chromium.base.ThreadUtils;
import org.chromium.chrome.browser.ChromeActivity;
/**
* Class for accessing VrShellDelegate internals for testing purposes.
* This does two things:
* - Prevents us from needing @VisibleForTesting annotations everywhere in production code
* - Allows us to have test-specific behavior if necessary without changing production code
*/
public class TestVrShellDelegate extends VrShellDelegate {
// Arbitrary but valid delay to make sure that we actually did cancel the DON flow instead of
// running into crbug.com/762724
private static final int DON_CANCEL_DELAY_MS = 200;
private boolean mOnResumeCalled;
private static TestVrShellDelegate sInstance;
protected TestVrShellDelegate(ChromeActivity activity) {
super(activity, VrShellDelegate.getVrClassesWrapper());
}
public static void createTestVrShellDelegate(final ChromeActivity activity) {
ThreadUtils.runOnUiThreadBlocking(new Runnable() {
@Override
public void run() {
sInstance = new TestVrShellDelegate(activity);
}
});
}
public static TestVrShellDelegate getInstance() {
return sInstance;
}
public static boolean isDisplayingUrlForTesting() {
return VrShellDelegate.isDisplayingUrl();
}
public static VrShell getVrShellForTesting() {
return VrShellDelegate.getVrShell();
}
@Override
public void shutdownVr(boolean disableVrMode, boolean stayingInChrome) {
super.shutdownVr(disableVrMode, stayingInChrome);
}
public void overrideDaydreamApiForTesting(VrDaydreamApi api) {
super.overrideDaydreamApi(api);
}
public void overrideVrCoreVersionCheckerForTesting(VrCoreVersionChecker versionChecker) {
super.overrideVrCoreVersionChecker(versionChecker);
}
public void setFeedbackFrequencyForTesting(int frequency) {
super.setFeedbackFrequency(frequency);
}
@Override
public boolean isListeningForWebVrActivate() {
return super.isListeningForWebVrActivate();
}
@Override
public boolean isClearActivatePending() {
return super.isClearActivatePending();
}
@Override
public boolean isVrEntryComplete() {
return super.isVrEntryComplete();
}
@Override
public boolean isShowingDoff() {
return super.isShowingDoff();
}
@Override
public void acceptDoffPromptForTesting() {
super.acceptDoffPromptForTesting();
}
/**
* Wait a short period of time before running if we think the DON flow was cancelled.
*
* The same as the production onResume, except that in the case of mProbablyInDon still being
* set, the decision that the DON flow was cancelled is delayed until later to see if the
* broadcast is just late. This is caused by crbug.com/762724.
* TODO(bsheedy): Remove this when the root cause is fixed.
*/
@Override
protected void onResume() {
if (!getDonSucceeded() && getProbablyInDon()) {
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
TestVrShellDelegate.super.onResume();
mOnResumeCalled = true;
}
}, DON_CANCEL_DELAY_MS);
} else {
super.onResume();
mOnResumeCalled = true;
}
}
/**
* Make sure that onResume is called before onPause.
*
* This is necessary since we don't want weird problems to show up caused by the delayed
* onResume being called after onPause.
*/
@Override
protected void onPause() {
Assert.assertTrue(mOnResumeCalled);
mOnResumeCalled = false;
super.onPause();
}
} | [
"[email protected]"
]
| |
c1978cabe5f4b8387509d811ad7f88f0f60a9bb0 | 812200484f294084e83c1798f22acddb6074ae8f | /src/main/java/ma/cigma/app_ecom_exam/web/ErrorResponse.java | c8afa87b37efaba2c711913b24ac4510f7345049 | []
| no_license | redapp88/ecomm_app_exam_back | 233b2dc5d52551ece44fae01dd3cb9ae0d7f69b8 | 65155df3e4df43d60388d5be2db2c115a7b8d2f6 | refs/heads/main | 2023-03-22T10:46:50.821999 | 2021-03-13T12:12:22 | 2021-03-13T12:12:22 | 341,532,145 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 243 | java | package ma.cigma.app_ecom_exam.web;
public class ErrorResponse {
private String message;
public ErrorResponse(String message) {
this.message = message;
}
public String getMessage() {
return message;
}
}
| [
"[email protected]"
]
| |
fdda8a57be3d5c2d4a34b42709ee4fa957e9bbe1 | 69cf922d09600aa4ce8917ac4b1890439d57c39b | /src/main/java/restapi/demo/CityrestapiApplication.java | 32b6c671b0e0568638abe7bbeb24b2388983f211 | []
| no_license | michaelr231/JavaApi | 0b432e7679d2c6156bd5de04f340fabdfdf4be7b | 8f518184980ebb7070a1be370fcee35ddb220828 | refs/heads/master | 2023-02-11T21:17:00.687066 | 2021-01-13T20:04:24 | 2021-01-13T20:04:24 | 329,418,806 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,291 | java | package restapi.demo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import restapi.demo.Model.City;
import restapi.demo.repository.cityRepository;
//********** Michael Riversky task for WebTech Innovation
// the routes are: localhost:9191/api/getallcities - to get all cities
// the routes are: localhost:9191/api/id/street - to return all cities with autocomplete street name by cityId
// the routes are: localhost:9191/api/add - to add city to mysql
// 1. get all cities : done
// 2. get by city Id and substring of street name the cities: done
// 3. add city to database: done
//***********
@SpringBootApplication
public class CityrestapiApplication implements CommandLineRunner {
@Autowired
private cityRepository cityRepository;
public static void main(String[] args) {
SpringApplication.run(CityrestapiApplication.class, args);
}
@Override
public void run(String... args) throws Exception {
cityRepository.save(new City('0' ,"Tel-aviv","Herzel"));
cityRepository.save(new City('1', "Yehud","BenGurion"));
cityRepository.save(new City('2',"Rishon-Lezion", "LeviAshkol"));
}
}
| [
"[email protected]"
]
| |
cec6a7025857ba1776f9dfcf46d185dbf505e6a0 | b2b4a739bcec1686283e2a9269fbbf945de1ea1d | /src/main/java/com/zol/backserver/util/log/LogLayout.java | c1f9a254e2002d152461a407cc06d53fce80975a | []
| no_license | xujiabin/jiabinzolback | fef43b69e6816b4de5d8dfee9d078b1d17d075e2 | e75b4d3f408902e3cd30de0d92ecf5f1ab318da8 | refs/heads/master | 2021-01-01T16:55:11.182439 | 2015-04-01T03:22:43 | 2015-04-01T03:22:43 | 33,164,647 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,521 | java | package com.zol.backserver.util.log;
import java.sql.Timestamp;
import org.apache.log4j.PatternLayout;
import org.apache.log4j.spi.LoggingEvent;
/**
* ้ๅ้่ฏฏๆฅๅฟๆๅฐไฟกๆฏ
*/
public class LogLayout extends PatternLayout {
StringBuffer sbuf;
@Override
public String getContentType() {
return "text/html;charset=utf-8";
}
public LogLayout(){
sbuf = new StringBuffer(128);
}
@Override
public String format(LoggingEvent event) {
StringBuffer sb=new StringBuffer();
String []s=event.getThrowableStrRep();
if(s!=null){
int len=s.length;
for(int i=0;i<len;i++){
sb.append(s[i]+"\r\n");
}
}
sbuf.setLength(0);
sbuf.append("้่ฏฏ็ญ็บง๏ผ"+event.getLevel().toString()+"\r\n");
sbuf.append("้่ฏฏๆถ้ด๏ผ"+new Timestamp(System.currentTimeMillis())+"\r\n");
sbuf.append("้่ฏฏๆๅจ็ฑป๏ผ"+event.getLocationInformation().getClassName()+"\r\n");
sbuf.append("้่ฏฏๆๅจๆนๆณ๏ผ"+event.getLocationInformation().getMethodName()+"\r\n");
sbuf.append("้่ฏฏ่ก๏ผ"+event.getLocationInformation().getLineNumber()+"\r\n");
sbuf.append("้ไฟกๆฏ๏ผ"+event.getMessage()+"\r\n");
sbuf.append("ๅ ๆ ไฟกๆฏ๏ผ"+sb+"\r\n");
sbuf.append("===============================================\r\n");
return sbuf.toString();
}
@Override
public boolean ignoresThrowable() {
// TODO Auto-generated method stub
return false;
}
@Override
public void activateOptions() {
// TODO Auto-generated method stub
}
}
| [
"[email protected]"
]
| |
179f7961098c3cbfb7fc454a23f1f596c96bcf52 | f1c62a0c610f9bb011147ef999790be434145d6e | /src/main/java/com/test/hplus/exceptions/ApplicationException.java | 6d56b5fe71b8787ca24fb558913686f5fa58178b | []
| no_license | AnatolSich/spring-boot-mvc-examples | 5cb0ca1398a25bccb0464435bd70e721c5dcf08e | be2d1a6a6052bda4e97929e5509afb67d2dbc8ba | refs/heads/master | 2023-04-07T02:44:56.230926 | 2021-04-18T17:55:37 | 2021-04-18T17:55:37 | 357,523,978 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 180 | java | package com.test.hplus.exceptions;
public class ApplicationException extends RuntimeException {
public ApplicationException(String message) {
super(message);
}
}
| [
"[email protected]"
]
| |
6b7f37f7312f55ec65c311168d4b323386572adc | 805926a50c27c1884a2bc329d8c7cd4bf8bc2b8a | /Minggu5/baru/IkanSemua.java | 6090aa2f41b6b11b2045d795e352b417bc04605d | []
| no_license | Thorabr17/Prolan-12 | bda436a9fc40c1c064a0531ab0f76b5c55caf853 | a7cfde567ddedd25af2eaf66555ed2c100303bcc | refs/heads/master | 2020-04-05T13:31:11.034179 | 2017-07-17T01:51:43 | 2017-07-17T01:51:43 | 83,257,478 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,303 | java | //Kelas utama
//Perhatikan kata "main"
public class IkanSemua {
public static void main(String[] args) {
//instansiasi kelas
//menggunakan "new"
System.out.println("Berikut daftar klasifiksi ikan beserta contoh serta jenisnya :");
System.out.println("");
IkanLaut ikanlaut = new IkanLaut(100, "Ikan Laut", "Merupakan jenis ikan yang hidup di laut.");
Lumba2 lumba2 = new Lumba2(110, "Lumba-lumba", "Merupakan ikan yang hidupdi laut dan akrab dengan manusia.", "Ikan Laut");
Hiu hiu = new Hiu(120, "Hiu", "Merupakan Predator laut yang sangat berbahaya", "Ikan Laut");
HiuPutih hiuputih = new HiuPutih(121, "Hiu Putih", "Merupakan jenis hiu yang berbahaya .", "Hiu");
HiuMacan hiumacan = new HiuMacan(122, "Hiu Macan", "Merupakan jenis hiu yang sangat lincah.", "Hiu");
HiuMartil hiumartil = new HiuMartil(123, "Hiu Martil", "Hiu jenis ini memiliki mulut yang seperti martil.", "Hiu");
Paus paus = new Paus(130, "Paus", "Merupakan ikan terbesar di bumi.", "Ikan Laut");
PausBiru pausbiru = new PausBiru(131, "Paus Biru", "Merupakan jenis paus yang paling besar.", "Paus");
PausOrcha pausorcha = new PausOrcha(132, "Paus Orcha", "Merupakan paus yang sering memakan daging.", "Paus");
PausBintik pausbintik = new PausBintik(133, "Paus Bintik", "paus ini memiliki ciri bintik-bintik pad tubuhnya.", "Paus");
IkanSungai ikansungai = new IkanSungai(200, "Ikan Sungai", "Merupkan jenis ikan yang hidup di sungai atau air tawar");
IkanHias ikanhias = new IkanHias(210, "Ikan hias", "Digolongkan ke dalam ikan yang sering dipelihara.", "Ikan Sungai");
IkanMas ikanmas = new IkanMas(211, "Ikan Mas", "Ikan ini dapat dipelihara dan di konsumsi.", "Ikan Hias");
IkanCupang ikancupang = new IkanCupang(212, "Ikan cupang", "Ikan ini dapat dipelihara dan bisa di adu .", "Ikan Hias");
Piranha piranha = new Piranha(220, "Piranha", "Ikan ini adalah ikan sungai paling berbahaya.", "Ikan Sungai");
Lele lele = new Lele(230, "Lele", "Ikan ini memiliki keunikan kumis yang panjang.", "Ikan Sungai");
//Pemanggilan konstruktor masing - masing
ikanlaut.TampilkanRincian();
System.out.println("");
lumba2.TampilkanRincian();
System.out.println("");
hiu.TampilkanRincian();
System.out.println("");
hiuputih.TampilkanRincian();
System.out.println("");
hiumacan.TampilkanRincian();
System.out.println("");
hiumartil.TampilkanRincian();
System.out.println("");
paus.TampilkanRincian();
System.out.println("");
pausbiru.TampilkanRincian();
System.out.println("");
pausorcha.TampilkanRincian();
System.out.println("");
pausbintik.TampilkanRincian();
System.out.println("");
ikansungai.TampilkanRincian();
System.out.println("");
ikanhias.TampilkanRincian();
System.out.println("");
ikanmas.TampilkanRincian();
System.out.println("");
ikancupang.TampilkanRincian();
System.out.println("");
piranha.TampilkanRincian();
System.out.println("");
lele.TampilkanRincian();
System.out.println("");
System.out.println("");
System.out.println("==============");
}
}
| [
"[email protected]"
]
| |
367443973a474eb9df1982dccea3c9709bfee7b3 | 5935d20d16638a070e2546e14eec00678fcf7fe8 | /src/pl/com/bottega/clientServer/chatServer/ChatClient.java | 568ee718a71a7a5105e06b1ddc179105f64fb91a | []
| no_license | freszczypior/JDBC_IO_ClientServer | 336aa512969fee2ebb18421a73cf3d3efd0a43e4 | 2dd9efe11340868379b1bac107b9bdaa929ebec8 | refs/heads/master | 2021-08-28T17:18:33.301098 | 2017-12-12T22:35:06 | 2017-12-12T22:35:06 | 109,981,336 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,413 | java | package pl.com.bottega.clientServer.chatServer;
import java.io.*;
import java.net.Socket;
import java.util.Scanner;
public class ChatClient {
private static final String HOST = "localhost";
private static final int PORT = 6662;
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.print("Podaj swoje imiฤ: ");
String msg = scanner.nextLine();
try {
Socket socket = new Socket(HOST, PORT);
OutputStream os = socket.getOutputStream();
InputStream is = socket.getInputStream();
PrintWriter pw = new PrintWriter(os);
pw.println(msg);
pw.flush();
new Thread(() -> {
BufferedReader br = new BufferedReader(new InputStreamReader(is));
String line;
try {
while (!(line = br.readLine()).trim().equals(""))
System.out.println(line);
} catch (IOException e) {
e.printStackTrace();
}
}).start();
while (true) {
msg = scanner.nextLine();
if (msg.trim() != "") {
pw.println(msg);
pw.flush();
}
}
} catch (IOException e) {
e.printStackTrace();
}
}
} | [
"[email protected]"
]
| |
29e3a225c74cbef81410dc78908903547e9d1f03 | 4993da3cf01c1096fd75d96ce5ebdcea8be6148b | /src/com/logicdevil/todolist/DataHandler.java | dfeb18335864612edb447a854047f588502cad7a | []
| no_license | logicdevil/to-do-list | 0a2fcb618ecfdcb7b675b5f6585b47f14e9dcdd7 | 9c93361c639438f192efdc2274d12e0ed065ba69 | refs/heads/master | 2021-01-01T19:13:07.861006 | 2017-08-23T17:16:53 | 2017-08-23T17:16:53 | 98,539,081 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 20,351 | java | package com.logicdevil.todolist;
import javax.swing.*;
import javax.swing.text.AttributeSet;
import javax.swing.text.BadLocationException;
import javax.swing.text.PlainDocument;
import java.awt.*;
import java.text.Format;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.sql.*;
import java.util.Formatter;
import java.util.HashMap;
/**
* Created by daymond on 7/26/17.
*/
public class DataHandler {
private MainPanel mainPanel;
private NewTaskPanel newTaskPanel;
private JFrame mainFrame;
private ArrayList<Task> tasks;
private ArrayList<String> birthdays;
private ArrayList<JCheckBox> checkBoxes;
public DataHandler(JFrame mF) {mainFrame = mF;}
void setMainPanel(MainPanel mP) {mainPanel = mP;}
void hideMainPanel() {mainPanel.setVisible(false);}
void showMainPanel() {mainPanel.setVisible(true);}
void addNewTaskPanelToFrame(NewTaskPanel nTP) {
newTaskPanel = nTP;
mainFrame.add(nTP);
}
void removeNewTaskPanelFromFrame() {
mainFrame.remove(newTaskPanel);
newTaskPanel = null;
}
void removeCompletedTasks() {
ArrayList<Integer> ids = new ArrayList<>();
for(JCheckBox cB : checkBoxes)
if(cB.isSelected())
ids.add(tasks.get(checkBoxes.indexOf(cB)).getId());
if(ids.size() != 0) {
StringBuilder idsString = new StringBuilder();
for (int id : ids)
idsString.append(id).append(", ");
idsString.delete(idsString.length() - 2, idsString.length());
Connection conn = null;
PreparedStatement ps = null;
try {
conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/to_do_list?useSSL=false", "to_do_list", "");
ps = conn.prepareStatement("INSERT INTO completedTasks (SELECT * FROM futureTasks WHERE task_id IN (" + idsString + "))");
ps.execute();
ps = conn.prepareStatement("DELETE FROM futureTasks WHERE task_id IN (" + idsString + ")");
ps.execute();
} catch (SQLException e) {
if (conn == null)
JOptionPane.showMessageDialog(null, "failed to connect to database");
else if (ps == null)
JOptionPane.showMessageDialog(null, "failed to fetch resultset");
else
JOptionPane.showMessageDialog(null, "error: " + e.getMessage());
} finally {
if (ps != null)
try { ps.close(); }
catch (Exception e) { JOptionPane.showMessageDialog(null, "Can't close PreparedStatement: " + e.getMessage()); }
if (conn != null)
try { conn.close(); }
catch (Exception e) { JOptionPane.showMessageDialog(null, "Can't close Connection: " + e.getMessage()); }
}
}
}
/*
---------------------------------Create string for tooltip text for tasks----------------------
*/
String getToolTipText(Task t) {
StringBuilder s = new StringBuilder("<html>" + t.getTitle() + "<br>");
String description = t.getDescription();
if(description.length() > 80) { //separates the description text into several parts
String temp;
int start = 0, end = 79;
while (true) {
if (end > description.length()) {
end = description.length();
temp = description.substring(start, end);
s.append(temp);
s.append("<br>");
break;
}
int tempInt = description.substring(0, end).lastIndexOf(' ');
end = (tempInt == -1) ? end : tempInt;
temp = description.substring(start, end);
s.append(temp);
s.append("<br>");
start = end;
if(start >= description.length())
break;
end += 79;
}
}
else s.append(description).append("<br>");
s.append("Frequency: ").append(t.getFrequency());
s.append("; Priority: ").append(t.getPriority());
s.append("; Date: ").append(t.getDate().format(DateTimeFormatter.ofPattern("dd.MM.yyyy"))).append("</html>");
return s.toString();
}
/*
-------------------------------------------Update time of topPanel's label------------------------------
*/
void updateDateTime(JLabel dateLabel, JLabel timeLabel) {
timeLabel.setText(LocalTime.now().format(DateTimeFormatter.ofPattern("HH:mm")));
int hour = (timeLabel.getText().charAt(0) - 48) * 10 + (timeLabel.getText().charAt(1) - 48);
if(hour == 0)
dateLabel.setText(LocalDate.now().format(DateTimeFormatter.ofPattern("dd.MM.yyyy")));
}
LocalTime getTime() {
return LocalTime.now();
}
LocalDate getDate() { return LocalDate.now(); }
/*
-------------------------------------------Create string of nearest birthdays--------------------------
*/
String getBirthdaysString() {
StringBuilder stringBuilder = new StringBuilder("<html>");
LocalDate date = LocalDate.now();
for(String s : birthdays) {
stringBuilder.append("Birthday of ").append(s.substring(8)).append(" in ");
stringBuilder.append(date.until(LocalDate.parse(s.subSequence(0,8), DateTimeFormatter.ofPattern("ddMMyyyy"))).getDays());
stringBuilder.append(" days<br><p style='margin-top:2'>");
}
if(birthdays.size() == 0)
stringBuilder.append("Within 30 days no birthday<br> is expected");
return stringBuilder.toString();
}
/*
-------------------------------------------Create array of tasks from database--------------------------
*/
ArrayList<Task> getTaskList() {
tasks = new ArrayList<>();
birthdays = new ArrayList<>();
Connection conn = null;
Statement st = null;
Statement st2 = null;
ResultSet rs = null;
ResultSet dopRS = null;
PreparedStatement preparedStmt = null;
try {
Class.forName("com.mysql.jdbc.Driver").newInstance(); //load the driver
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "failed to load jdbc driver class");
System.exit(0);
}
try {
conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/to_do_list?useSSL=false","to_do_list","");
st = conn.createStatement();
st2=conn.createStatement();
LocalDate currentDate = LocalDate.now();
int currentDay = currentDate.getDayOfMonth(), currentMonth = currentDate.getMonthValue(), currentYear = currentDate.getYear();
rs = st.executeQuery("SELECT * FROM futureTasks WHERE (day=" + currentDay + " AND month=" + currentMonth +
" AND year=" + currentYear + ") OR (year<" + currentYear + ") OR (year =" + currentYear + " AND month<" +
currentMonth + ") OR (year=" + currentYear + " AND month=" + currentMonth + " AND day<" + currentDay
+ ") ORDER BY year, month, day, priority");
while (rs.next()) {
int id = rs.getInt(1);
String title = rs.getString(2);
String description = rs.getString(3);
int priority = rs.getInt(4);
String frequency = rs.getString(5);
int day = rs.getInt(6);
int month = rs.getInt(7);
int year = rs.getInt(8);
String time = rs.getString(9);
if("birthday".equals(frequency)) {
tasks.add(0, new Task("Birthday of " + title + " (" +
LocalDate.of(year, month, day).format(DateTimeFormatter.ofPattern("dd.MM.yyyy")) + ")",
description, LocalDate.of(year, month, day), time,1, frequency, id));
} else
tasks.add(new Task(title, description, LocalDate.of(year,month,day), time, priority, frequency, id));
if(!frequency.equals("one time")) {
LocalDate date = LocalDate.now();
switch(frequency) {
case "every year":
case "birthday":
date = date.plusYears(1);
break;
case "every month":
date = date.plusMonths(1);
break;
case "every week":
date = date.plusWeeks(1);
break;
case "every day":
date = date.plusDays(1);
break;
default:break;
}
dopRS = st2.executeQuery("SELECT task_id FROM futureTasks WHERE title='" + title + "' AND frequency='" + frequency +
"' AND day=" + date.getDayOfMonth() + " AND month=" + date.getMonthValue() + " AND year=" + date.getYear());
if(!dopRS.next()) {
String query = "INSERT INTO futureTasks (title, description, priority, frequency, day, month, year, time)"
+ " VALUES (?, ?, ?, ?, ?, ?, ?, ?)";
preparedStmt = conn.prepareStatement(query);
preparedStmt.setString(1, title);
preparedStmt.setString(2, description);
preparedStmt.setInt(3, priority);
preparedStmt.setString(4, frequency);
preparedStmt.setInt(5, date.getDayOfMonth());
preparedStmt.setInt(6, date.getMonthValue());
preparedStmt.setInt(7, date.getYear());
preparedStmt.setString(8, time);
preparedStmt.execute();
}
}
}
LocalDate futureDate = LocalDate.now().plusMonths(1); //here will be executed birthdays
int futureDay = futureDate.getDayOfMonth(), futureMonth = futureDate.getMonthValue(), futureYear = futureDate.getYear();
rs = st.executeQuery("SELECT * FROM futureTasks WHERE frequency='birthday' AND ((day=" + futureDay + " AND month=" + futureMonth +
" AND year=" + futureYear + ") OR (year<" + futureYear + ") OR (year =" + futureYear + " AND month<" +
futureMonth + ") OR (year=" + futureYear + " AND month=" + futureMonth + " AND day<" + futureDay
+ ")) ORDER BY year, month, day");
while (rs.next()) {
LocalDate date = LocalDate.of(rs.getInt("year"), rs.getInt("month"), rs.getInt("day"));
birthdays.add(date.format(DateTimeFormatter.ofPattern("ddMMyyyy")) + rs.getString("title"));
}
} catch (SQLException e) {
if (conn == null) {
JOptionPane.showMessageDialog(null, "failed to connect to database");
System.exit(0);
} else
if (st == null) {
JOptionPane.showMessageDialog(null, "failed to create statement");
System.exit(0);
} else
if (rs == null || preparedStmt == null || dopRS == null) {
JOptionPane.showMessageDialog(null, "failed to fetch resultset");
} else {
JOptionPane.showMessageDialog(null, "error: " + e.getMessage());
}
} finally {
if (rs != null)
try { rs.close(); }
catch (Exception e) {JOptionPane.showMessageDialog(null, "Can't close ResultSet: " + e.getMessage());}
if (dopRS != null)
try { dopRS.close(); }
catch (Exception e) {JOptionPane.showMessageDialog(null, "Can't close ResultSet2: " + e.getMessage());}
if (preparedStmt != null)
try { preparedStmt.close(); }
catch (Exception e) {JOptionPane.showMessageDialog(null, "Can't close PreparedStatement: " + e.getMessage());}
if (st != null)
try { st.close(); }
catch (Exception e) {JOptionPane.showMessageDialog(null, "Can't close Statement: " + e.getMessage());}
if (conn != null)
try { conn.close(); }
catch (Exception e) {JOptionPane.showMessageDialog(null, "Can't close Connection: " + e.getMessage());}
}
return tasks;
}
void setCheckBoxes(ArrayList<JCheckBox> cB) {
checkBoxes = cB;
}
void createNewTask(HashMap<String, JComponent> map) {
boolean isTimeNeeded = ((JCheckBox)map.get("timeCheckBox")).isSelected();
boolean isCanBeCreated = true;
String hour = ((JComboBox<String>) map.get("hourComboBox")).getSelectedItem().toString();
String minute = ((JComboBox<String>) map.get("minuteComboBox")).getSelectedItem().toString();
String time = (isTimeNeeded) ? hour + ":" + minute : "nn:nn";
int day = Integer.parseInt(((JComboBox<Integer>) map.get("dayComboBox")).getSelectedItem().toString());
int month = Integer.parseInt(((JComboBox<Integer>) map.get("monthComboBox")).getSelectedItem().toString());
int year = Integer.parseInt(((JComboBox<Integer>) map.get("yearComboBox")).getSelectedItem().toString());
if(isTimeNeeded && LocalTime.parse(time).isBefore(LocalTime.now()) && LocalDate.of(year, month, day).isEqual(LocalDate.now())) {
isCanBeCreated = false;
(map.get("invalidTimeLabel")).setForeground(new Color(255,100,100));
}
else (map.get("invalidTimeLabel")).setForeground(new Color(50, 50, 50));
if(LocalDate.of(year, month, day).isBefore(LocalDate.now())) {
isCanBeCreated = false;
(map.get("invalidDateLabel")).setForeground(new Color(255,100,100));
}
else (map.get("invalidDateLabel")).setForeground(new Color(50, 50, 50));
String frequency = ((JComboBox<String>)map.get("frequencyComboBox")).getSelectedItem().toString();
boolean isBirthday = ("birthday".equals(frequency));
int priority = Integer.parseInt(((JComboBox<String>)map.get("priorityComboBox")).getSelectedItem().toString().substring(0, 1));
String title = ((JTextArea)map.get("titleTextArea")).getText();
String description = ((JTextArea)map.get("descriptionTextArea")).getText();
description = description.substring(0, (description.length() > 400) ? 400 : description.length());
title = (isBirthday) ? title.substring(0, ((title.length() > 20) ? 20 : title.length()))
: title.substring(0, (title.length() > 80) ? 80 : title.length());
if(isCanBeCreated) {
Connection conn = null;
Statement st = null;
ResultSet rs = null;
PreparedStatement preparedStmt = null;
/* try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "failed to load jdbc driver class");
System.exit(0);
}*/
try {
conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/to_do_list?useSSL=false","to_do_list","");
st = conn.createStatement();
rs = st.executeQuery("SELECT title, day, month, year, frequency FROM futureTasks WHERE day=" + day + " AND month=" + month +
" AND year=" + year + " AND title='" + title + "' AND frequency='" + frequency + "'");
if (rs.next()) {
JOptionPane.showMessageDialog(null, "A similar task is exist: " +
"\ntitle: " + rs.getString("title") +
"\ndate: " + rs.getInt("day") + "." + rs.getInt("month") + "." + rs.getInt("year") +
"\nfrequency: " + rs.getString("frequency") +
"\ntry another date/title/frequency");
}
else {
String query = "INSERT INTO futureTasks (title, description, priority, frequency, day, month, year, time)"
+ " values (?, ?, ?, ?, ?, ?, ?, ?)";
preparedStmt = conn.prepareStatement(query);
preparedStmt.setString (1, title);
preparedStmt.setString (2, description);
preparedStmt.setInt(3, priority);
preparedStmt.setString(4, frequency);
preparedStmt.setInt(5, day);
preparedStmt.setInt(6, month);
preparedStmt.setInt(7, year);
preparedStmt.setString(8, time);
preparedStmt.execute();
mainPanel.update(this);
this.showMainPanel();
this.removeNewTaskPanelFromFrame();
}
} catch (SQLException e) {
if (conn == null) {
JOptionPane.showMessageDialog(null, "failed to connect to database");
} else
if (st == null) {
JOptionPane.showMessageDialog(null, "failed to create statement");
} else
if (rs == null) {
JOptionPane.showMessageDialog(null, "failed to fetch resultset");
} else
JOptionPane.showMessageDialog(null, "error " + e.getMessage());
} finally {
if (rs != null)
try { rs.close(); }
catch (Exception e) {JOptionPane.showMessageDialog(null, "Can't close ResultSet: " + e.getMessage());}
if (preparedStmt != null)
try { preparedStmt.close(); }
catch (Exception e) {JOptionPane.showMessageDialog(null, "Can't close PreparedStatement: " + e.getMessage());}
if (st != null)
try { st.close(); }
catch (Exception e) {JOptionPane.showMessageDialog(null, "Can't close Statement: " + e.getMessage());}
if (conn != null)
try { conn.close(); }
catch (Exception e) {JOptionPane.showMessageDialog(null, "Can't close Connection: " + e.getMessage());}
}
}
}
void frequencyWasChanged(NewTaskLabelTemplate titleLabel, JTextArea titleTextArea, JComboBox<String> frequencyComboBox) {
if("birthday".equals(frequencyComboBox.getSelectedItem().toString())) {
titleLabel.setText("Enter the name and (or) the surname (up to 20 symbols):");
String text = titleTextArea.getText();
text = text.substring(0, (text.length() > 20) ? 20 : text.length());
titleTextArea.setDocument(new PlainDocument() {
@Override
public void insertString(int offs, String str, AttributeSet a) throws BadLocationException {
if (getLength() < 20) {
super.insertString(offs, str, a);
}
}
});
titleTextArea.setText(text);
}
else {
titleLabel.setText("Enter a title (up to 80 symbols):");
String text = titleTextArea.getText();
text = text.substring(0, (text.length() > 80) ? 80 : text.length());
titleTextArea.setDocument(new PlainDocument() {
@Override
public void insertString(int offs, String str, AttributeSet a) throws BadLocationException {
if (getLength() < 80) {
super.insertString(offs, str, a);
}
}
});
titleTextArea.setText(text);
}
}
}
| [
"[email protected]"
]
| |
19109f9afe3cdb289bfecd43707751f7e2fc29ed | a9959dc178c136c077a4acd7b2807f0749f1729c | /addons/uimafit-s4-sdk/src/main/java/com/ontotext/s4/api/types/sbt/Quantitative_Concept.java | 1c2c7d8e13114f0c567e9349ef450316829192ed | [
"Apache-2.0"
]
| permissive | AndreiD/S4 | 5985fca87b8e3de8427e2e8a6db7b2fd0c3a4d91 | cb33a1157666ff07cf27e8b0f60945bb412bce69 | refs/heads/master | 2020-12-24T11:53:34.060483 | 2015-03-20T12:52:32 | 2015-03-20T12:52:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 6,414 | java |
/* First created by JCasGen Tue Mar 10 17:57:38 EET 2015 */
package com.ontotext.s4.api.types.sbt;
import org.apache.uima.jcas.JCas;
import org.apache.uima.jcas.JCasRegistry;
import org.apache.uima.jcas.cas.TOP_Type;
import org.apache.uima.jcas.tcas.Annotation;
/** Automatically generated type for Quantitative_Concept
* Updated by JCasGen Tue Mar 10 17:57:38 EET 2015
* XML source: desc/sbt_typesystem.xml
* @generated */
public class Quantitative_Concept extends Annotation {
/** @generated
* @ordered
*/
@SuppressWarnings ("hiding")
public final static int typeIndexID = JCasRegistry.register(Quantitative_Concept.class);
/** @generated
* @ordered
*/
@SuppressWarnings ("hiding")
public final static int type = typeIndexID;
/** @generated
* @return index of the type
*/
@Override
public int getTypeIndexID() {return typeIndexID;}
/** Never called. Disable default constructor
* @generated */
protected Quantitative_Concept() {/* intentionally empty block */}
/** Internal - constructor used by generator
* @generated
* @param addr low level Feature Structure reference
* @param type the type of this Feature Structure
*/
public Quantitative_Concept(int addr, TOP_Type type) {
super(addr, type);
readObject();
}
/** @generated
* @param jcas JCas to which this Feature Structure belongs
*/
public Quantitative_Concept(JCas jcas) {
super(jcas);
readObject();
}
/** @generated
* @param jcas JCas to which this Feature Structure belongs
* @param begin offset to the begin spot in the SofA
* @param end offset to the end spot in the SofA
*/
public Quantitative_Concept(JCas jcas, int begin, int end) {
super(jcas);
setBegin(begin);
setEnd(end);
readObject();
}
/**
* <!-- begin-user-doc -->
* Write your own initialization here
* <!-- end-user-doc -->
*
* @generated modifiable
*/
private void readObject() {/*default - does nothing empty block */}
//*--------------*
//* Feature: string
/** getter for string - gets Feature <string> for type <Quantitative_Concept>
* @generated
* @return value of the feature
*/
public String getString() {
if (Quantitative_Concept_Type.featOkTst && ((Quantitative_Concept_Type)jcasType).casFeat_string == null)
jcasType.jcas.throwFeatMissing("string", "com.ontotext.s4.api.types.sbt.Quantitative_Concept");
return jcasType.ll_cas.ll_getStringValue(addr, ((Quantitative_Concept_Type)jcasType).casFeatCode_string);}
/** setter for string - sets Feature <string> for type <Quantitative_Concept>
* @generated
* @param v value to set into the feature
*/
public void setString(String v) {
if (Quantitative_Concept_Type.featOkTst && ((Quantitative_Concept_Type)jcasType).casFeat_string == null)
jcasType.jcas.throwFeatMissing("string", "com.ontotext.s4.api.types.sbt.Quantitative_Concept");
jcasType.ll_cas.ll_setStringValue(addr, ((Quantitative_Concept_Type)jcasType).casFeatCode_string, v);}
//*--------------*
//* Feature: class_feature
/** getter for class_feature - gets Feature <class_feature> for type <Quantitative_Concept>
* @generated
* @return value of the feature
*/
public String getClass_feature() {
if (Quantitative_Concept_Type.featOkTst && ((Quantitative_Concept_Type)jcasType).casFeat_class_feature == null)
jcasType.jcas.throwFeatMissing("class_feature", "com.ontotext.s4.api.types.sbt.Quantitative_Concept");
return jcasType.ll_cas.ll_getStringValue(addr, ((Quantitative_Concept_Type)jcasType).casFeatCode_class_feature);}
/** setter for class_feature - sets Feature <class_feature> for type <Quantitative_Concept>
* @generated
* @param v value to set into the feature
*/
public void setClass_feature(String v) {
if (Quantitative_Concept_Type.featOkTst && ((Quantitative_Concept_Type)jcasType).casFeat_class_feature == null)
jcasType.jcas.throwFeatMissing("class_feature", "com.ontotext.s4.api.types.sbt.Quantitative_Concept");
jcasType.ll_cas.ll_setStringValue(addr, ((Quantitative_Concept_Type)jcasType).casFeatCode_class_feature, v);}
//*--------------*
//* Feature: inst
/** getter for inst - gets Feature <inst> for type <Quantitative_Concept>
* @generated
* @return value of the feature
*/
public String getInst() {
if (Quantitative_Concept_Type.featOkTst && ((Quantitative_Concept_Type)jcasType).casFeat_inst == null)
jcasType.jcas.throwFeatMissing("inst", "com.ontotext.s4.api.types.sbt.Quantitative_Concept");
return jcasType.ll_cas.ll_getStringValue(addr, ((Quantitative_Concept_Type)jcasType).casFeatCode_inst);}
/** setter for inst - sets Feature <inst> for type <Quantitative_Concept>
* @generated
* @param v value to set into the feature
*/
public void setInst(String v) {
if (Quantitative_Concept_Type.featOkTst && ((Quantitative_Concept_Type)jcasType).casFeat_inst == null)
jcasType.jcas.throwFeatMissing("inst", "com.ontotext.s4.api.types.sbt.Quantitative_Concept");
jcasType.ll_cas.ll_setStringValue(addr, ((Quantitative_Concept_Type)jcasType).casFeatCode_inst, v);}
//*--------------*
//* Feature: type_feature
/** getter for type_feature - gets Feature <type_feature> for type <Quantitative_Concept>
* @generated
* @return value of the feature
*/
public String getType_feature() {
if (Quantitative_Concept_Type.featOkTst && ((Quantitative_Concept_Type)jcasType).casFeat_type_feature == null)
jcasType.jcas.throwFeatMissing("type_feature", "com.ontotext.s4.api.types.sbt.Quantitative_Concept");
return jcasType.ll_cas.ll_getStringValue(addr, ((Quantitative_Concept_Type)jcasType).casFeatCode_type_feature);}
/** setter for type_feature - sets Feature <type_feature> for type <Quantitative_Concept>
* @generated
* @param v value to set into the feature
*/
public void setType_feature(String v) {
if (Quantitative_Concept_Type.featOkTst && ((Quantitative_Concept_Type)jcasType).casFeat_type_feature == null)
jcasType.jcas.throwFeatMissing("type_feature", "com.ontotext.s4.api.types.sbt.Quantitative_Concept");
jcasType.ll_cas.ll_setStringValue(addr, ((Quantitative_Concept_Type)jcasType).casFeatCode_type_feature, v);}
}
| [
"[email protected]"
]
| |
ec622a8c00b2207e0fa7e56c8820a392568cb672 | 326ef460559a7c46853c2db86ddd2f0cec69622e | /src/main/java/io/webfolder/cdp/type/css/CSSStyle.java | 6da2d74c99e0b0c591cbd588a34f0f0faddcd349 | [
"LicenseRef-scancode-warranty-disclaimer"
]
| no_license | 1621740748/cdp4j | 3138cb68ca046a776d7f868f492dfb5e2b1e4bea | 35e8aee6eaaf8341687999d6291677fde13b280e | refs/heads/master | 2020-05-21T17:09:47.533197 | 2019-05-11T11:57:52 | 2019-05-11T11:57:52 | 186,118,198 | 0 | 1 | null | 2019-05-11T10:20:52 | 2019-05-11T10:20:52 | null | UTF-8 | Java | false | false | 3,162 | java | /**
* cdp4j Commercial License
*
* Copyright 2017, 2019 WebFolder Oร
*
* Permission is hereby granted, to "____" obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modify, merge,
* publish, distribute and sublicense of the Software, and to permit persons to whom
* the Software is furnished to do so, subject to the following conditions:
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
* PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package io.webfolder.cdp.type.css;
import java.util.ArrayList;
import java.util.List;
/**
* CSS style representation
*/
public class CSSStyle {
private String styleSheetId;
private List<CSSProperty> cssProperties = new ArrayList<>();
private List<ShorthandEntry> shorthandEntries = new ArrayList<>();
private String cssText;
private SourceRange range;
/**
* The css style sheet identifier (absent for user agent stylesheet and user-specified
* stylesheet rules) this rule came from.
*/
public String getStyleSheetId() {
return styleSheetId;
}
/**
* The css style sheet identifier (absent for user agent stylesheet and user-specified
* stylesheet rules) this rule came from.
*/
public void setStyleSheetId(String styleSheetId) {
this.styleSheetId = styleSheetId;
}
/**
* CSS properties in the style.
*/
public List<CSSProperty> getCssProperties() {
return cssProperties;
}
/**
* CSS properties in the style.
*/
public void setCssProperties(List<CSSProperty> cssProperties) {
this.cssProperties = cssProperties;
}
/**
* Computed values for all shorthands found in the style.
*/
public List<ShorthandEntry> getShorthandEntries() {
return shorthandEntries;
}
/**
* Computed values for all shorthands found in the style.
*/
public void setShorthandEntries(List<ShorthandEntry> shorthandEntries) {
this.shorthandEntries = shorthandEntries;
}
/**
* Style declaration text (if available).
*/
public String getCssText() {
return cssText;
}
/**
* Style declaration text (if available).
*/
public void setCssText(String cssText) {
this.cssText = cssText;
}
/**
* Style declaration range in the enclosing stylesheet (if available).
*/
public SourceRange getRange() {
return range;
}
/**
* Style declaration range in the enclosing stylesheet (if available).
*/
public void setRange(SourceRange range) {
this.range = range;
}
}
| [
"[email protected]"
]
| |
b929c83132ff76be240f8bc81799e0514df4684a | b77a9880028b6789dc6447a8e0c9ceb9cc64ba91 | /http-service/src/test/java/net/runelite/http/service/hiscore/HiscoreServiceTest.java | 95a8ab081cfd057436aac8f0d100bdc365f7e02a | [
"BSD-2-Clause",
"LicenseRef-scancode-free-unknown"
]
| permissive | IRRunelite/irrunelite | e8afa2df193d8ebda6e912956171e6b49204e362 | 650358866415d51c186ec45df15d04adace35643 | refs/heads/master | 2020-03-19T00:35:16.232112 | 2018-06-06T17:21:19 | 2018-06-06T17:21:19 | 135,491,506 | 1 | 1 | BSD-2-Clause | 2018-06-06T17:21:20 | 2018-05-30T20:00:24 | Java | UTF-8 | Java | false | false | 3,359 | java | /*
* Copyright (c) 2017, Adam <[email protected]>
* All rights reserved.
*
* 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.
*
* 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 net.runelite.http.service.hiscore;
import java.io.IOException;
import net.runelite.http.api.hiscore.HiscoreEndpoint;
import net.runelite.http.api.hiscore.HiscoreResult;
import okhttp3.mockwebserver.MockResponse;
import okhttp3.mockwebserver.MockWebServer;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
public class HiscoreServiceTest
{
private static final String RESPONSE = "654683,705,1304518\n"
+ "679419,50,107181\n"
+ "550667,48,85764\n"
+ "861497,50,101366\n"
+ "891591,48,87843\n"
+ "-1,1,4\n"
+ "840255,27,10073\n"
+ "1371912,10,1310\n"
+ "432193,56,199795\n"
+ "495638,56,198304\n"
+ "514466,37,27502\n"
+ "456981,54,159727\n"
+ "459159,49,93010\n"
+ "1028855,8,823\n"
+ "862906,29,12749\n"
+ "795020,31,16097\n"
+ "673591,5,495\n"
+ "352676,51,112259\n"
+ "428419,40,37235\n"
+ "461887,43,51971\n"
+ "598582,1,10\n"
+ "638177,1,0\n"
+ "516239,9,1000\n"
+ "492790,1,0\n"
+ "-1,-1\n"
+ "-1,-1\n"
+ "531,1432\n"
+ "-1,-1\n"
+ "-1,-1\n"
+ "-1,-1\n"
+ "-1,-1\n"
+ "-1,-1\n"
+ "254,92";
private final MockWebServer server = new MockWebServer();
@Before
public void before() throws IOException
{
server.enqueue(new MockResponse().setBody(RESPONSE));
server.start();
}
@After
public void after() throws IOException
{
server.shutdown();
}
@Test
public void testNormalLookup() throws Exception
{
HiscoreTestService hiscores = new HiscoreTestService(server.url("/"));
HiscoreResult result = hiscores.lookupUsername("zezima", HiscoreEndpoint.NORMAL).build();
Assert.assertEquals(50, result.getAttack().getLevel());
Assert.assertEquals(159727L, result.getFishing().getExperience());
Assert.assertEquals(492790, result.getConstruction().getRank());
Assert.assertEquals(1432, result.getClueScrollAll().getLevel());
Assert.assertEquals(254, result.getClueScrollMaster().getRank());
}
}
| [
"[email protected]"
]
| |
b4c3a7ce8a9c22e7aa6e613ac5a7b88294a09f19 | 33fc75e370bfb6cde2c656ebbe8c4fa45868e2e1 | /spring-lesson04-aop/src/main/java/app/core/App2.java | 89a6fbf7a0280e063b76845126711d841e324353 | []
| no_license | eldarba/822-130 | d6a9f001dff1789a67e680396dee450e9bc73c7a | 43d3c83f5d73b0e0d8bbc21ffb5ef18ca5736e3a | refs/heads/master | 2023-04-28T00:06:00.613703 | 2021-05-10T12:04:36 | 2021-05-10T12:04:36 | 313,205,642 | 2 | 3 | null | null | null | null | UTF-8 | Java | false | false | 959 | java | package app.core;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import app.core.aspects.LogAspectX;
import app.core.dao.company.CompanyDao;
import app.core.dao.coupon.CouponDao;
import app.core.dao.coupon.CouponDao2;
public class App2 {
public static void main(String[] args) {
try (AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(Config.class)) {
// get the beans
CompanyDao companyDao = ctx.getBean(CompanyDao.class);
System.out.println(companyDao.getClass());
CouponDao couponDao = ctx.getBean(CouponDao.class);
CouponDao2 couponDao2 = ctx.getBean(CouponDao2.class);
// invoke beans methods
companyDao.addCompany(101, "AAA");
companyDao.sayHello();
couponDao.addCoupon();
couponDao.doWork();
couponDao2.delete();
System.out.println("==== stats:");
System.out.println("get invoked: " + LogAspectX.getGetCounter() + " times");
}
}
}
| [
"[email protected]"
]
| |
d8fd528f23558d855fd91fc052f07bd65079bcff | 86eee037429cc11e9be6987baff0e5ee6e3da1d6 | /src/main/java/builder/House.java | ccb4506a3f473d6badb2f00ca2d1e9568e358cd7 | []
| no_license | yinliren/JavaDesignPattern | bf7389a27ede71f8334d62843a280e8410dc1297 | cde137a8d8055f0746f4336f6832a68150e1911e | refs/heads/master | 2023-05-08T17:01:19.516906 | 2021-05-21T22:35:48 | 2021-05-21T22:35:48 | 369,668,282 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 525 | java | package builder;
//Product
public class House {
private String base;
private String wall;
private String roofed;
public String getBase() {
return base;
}
public void setBase(String base) {
this.base = base;
}
public String getWall() {
return wall;
}
public void setWall(String wall) {
this.wall = wall;
}
public String getRoofed() {
return roofed;
}
public void setRoofed(String roofed) {
this.roofed = roofed;
}
} | [
"[email protected]"
]
| |
4eaa35f726d89f5064a1fc45a4973da3e3352797 | dbb1f5e16eebbf49887bfa224e7e873c1aa85c7a | /ch08/src/ch03/C.java | c581e3b94e5dc95841e10240ac7d293a59f758ca | []
| no_license | unisung/java1 | e747fbfe188fd2c300cad1cba7d5a9f3502cdb5a | 7ec648f985789a36cae1674d76297d774e30d7c7 | refs/heads/master | 2023-01-29T19:06:38.458936 | 2020-12-07T02:03:35 | 2020-12-07T02:03:35 | 313,873,511 | 4 | 1 | null | null | null | null | UHC | Java | false | false | 555 | java | package ch03;
public class C implements InterC {
@Override
public void method2() {
System.out.println("์ค์ฒด๋ฉ์๋2");
}
@Override
public void method1() {
System.out.println("์ค์ฒด๋ฉ์๋1");
}
@Override
public void method3() {
System.out.println("์ค์ฒด๋ฉ์๋3");
}
public static void main(String[] args) {
InterA a=new C();
a.method1();
//a.method2();
//a.method3();
InterB b=new C();
b.method1();
b.method2();
//b.method3();
InterC c=new C();
c.method1();
c.method2();
c.method3();
}
}
| [
"[email protected]"
]
| |
64361c1f0758511f70264f2bf2a0bca49ebaa291 | 03b39d5c2be001c0e72d07f60d422c8b8417bbb1 | /src/main/java/com/money/api/config/AuthorizationServerConfig.java | 943f774ff5c6f2f2d6e423dbc00db2c23d72c1ec | []
| no_license | victommasi/money-api | cbbe8ce5e03859be3d1dbee02c590004f95dd9e9 | 0a4b40fca8235f06d30037cfdfcaeb229c652cdb | refs/heads/master | 2021-06-26T04:25:22.525953 | 2017-09-10T13:45:15 | 2017-09-10T13:45:15 | 100,311,904 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,145 | java | package com.money.api.config;
import com.money.api.config.token.CustomTokenEnhancer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer;
import org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;
import org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer;
import org.springframework.security.oauth2.provider.token.TokenEnhancer;
import org.springframework.security.oauth2.provider.token.TokenEnhancerChain;
import org.springframework.security.oauth2.provider.token.TokenStore;
import org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter;
import org.springframework.security.oauth2.provider.token.store.JwtTokenStore;
import java.util.Arrays;
@Profile("oauth-security")
@Configuration
@EnableAuthorizationServer
public class AuthorizationServerConfig extends AuthorizationServerConfigurerAdapter {
@Autowired
private AuthenticationManager authenticationManager;
@Override
public void configure(ClientDetailsServiceConfigurer clients) throws Exception {
clients.inMemory()
.withClient("angular")
.secret("@ngul@r")
.scopes("read", "write")
.authorizedGrantTypes("password", "refresh_token")
.accessTokenValiditySeconds(1800)
.refreshTokenValiditySeconds(3600 / 24)
.and()
.withClient("mobile")
.secret("m0b1l3")
.scopes("read")
.authorizedGrantTypes("password", "refresh_token")
.accessTokenValiditySeconds(1800)
.refreshTokenValiditySeconds(3600 / 24);
}
@Override
public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {
TokenEnhancerChain tokenEnhancerChain = new TokenEnhancerChain();
tokenEnhancerChain.setTokenEnhancers(Arrays.asList(tokenEnhancer(), accessTokenConverter()));
endpoints
.tokenStore(tokenStore())
.tokenEnhancer(tokenEnhancerChain)
.reuseRefreshTokens(false)
.authenticationManager(authenticationManager);
}
@Bean
public TokenEnhancer tokenEnhancer() { return new CustomTokenEnhancer(); }
@Bean
public JwtAccessTokenConverter accessTokenConverter() {
JwtAccessTokenConverter jwtConverter = new JwtAccessTokenConverter();
jwtConverter.setSigningKey("victommasi");
return jwtConverter;
}
@Bean
public TokenStore tokenStore() {
return new JwtTokenStore(accessTokenConverter());
}
}
| [
"[email protected]"
]
| |
02e44e9041e00e670a83a7a705c10e70b6f114ec | 94743a1242c8c0f4f7142c9667029bf288ef7677 | /Settings/Versions/ClientV03/ClientV03/src/clientv03/GameInterface.java | b1fbe7c94d9e47e9942a069f6bcfb32009f76b38 | []
| no_license | nnrogers515/Java-Game-GUI | 7bcc91380a1e515b3608d6dd505728c555e1664c | 83f8b4badd9ac70ae620a1398d4f561c8eae805e | refs/heads/master | 2020-07-20T21:27:06.763384 | 2019-11-07T21:10:31 | 2019-11-07T21:10:31 | 206,711,784 | 4 | 0 | null | 2019-11-13T02:40:43 | 2019-09-06T04:19:47 | Java | UTF-8 | Java | false | false | 28,199 | java |
package clientv03;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.PasswordField;
import javafx.scene.control.ProgressBar;
import javafx.scene.control.SplitPane;
import javafx.scene.control.Tab;
import javafx.scene.control.TabPane;
import javafx.scene.control.TextArea;
import javafx.scene.control.TextField;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.StackPane;
import javafx.scene.layout.VBox;
import javafx.scene.text.Text;
import javafx.scene.text.TextAlignment;
import javafx.stage.Stage;
public class GameInterface {
//Initialization of TextAreas For The Chat And Game
private static final TextArea DIALOGUEAREA = new TextArea();
private static final TextArea CHATAREA = new TextArea();
//Initialization of TextField For User Input
private static final TextField MAININPUTAREA = new TextField ();
//Initialization of tabs
private static final TabPane TABPANE = new TabPane();
//Initialization of VBoxes
private static final VBox INVENTORY = new VBox();
private static final VBox QUEST = new VBox();
private static final VBox TARGET = new VBox();
private static final VBox COOLDOWN = new VBox();
private static final VBox FRIENDS = new VBox();
private static final VBox GUILD = new VBox();
private static final VBox MASTERIES = new VBox();
//Intialization of Buttons
private static final Button BUTTON1 = new Button();
private static final Button BUTTON2 = new Button();
private static final Button BUTTON3 = new Button();
private static final Button BUTTON4 = new Button();
private static final Button BUTTON5 = new Button();
private static final Button BUTTON6 = new Button();
private static final Button BUTTON7 = new Button();
private static final Button BUTTON8 = new Button();
private static final Button BUTTON9 = new Button();
private static final Button BUTTON10 = new Button();
//Initialization of Filler Text and Minimap
private static final Text REGIONNAME = new Text();
private static final Text CHARACTERNAME = new Text();
private static final Text CHARCTERLEVEL = new Text();
private static final Text CHARCTERRACE = new Text();
private static final Text CHARCTERCLASS = new Text();
private static final VBox MINIMAP = new VBox();
private static final HBox BUFFS = new HBox();
//Initialization of Health & Mana Bars
private static final ProgressBar HEALTHBAR = new ProgressBar(1);
private static final ProgressBar MANABAR = new ProgressBar(1);
private static final ProgressBar EXPBAR = new ProgressBar(1);
//Initialization of scene sizes
private static final double GAMEINTERFACEHEIGHT = 500;
private static final double GAMEINTERFACEWIDTH = 800;
//Initialization of Player's name
private static String playerName;
//Text File Read-in
private static final String FONTSIZEGENERAL = "-fx-font-size: 18;";
private static final String FONTSIZESMALL = "-fx-font-size: 10;";
private static final String CHATSTYLE = "-fx-focus-color: transparent; -fx-control-inner-background:#000000; -fx-font-family: Consolas; -fx-highlight-fill: #00ff00; -fx-highlight-text-fill: #000000; -fx-text-fill: #00ffff";
private static final String MAININPUTSTYLE = "-fx-focus-color: transparent; ";
//Initialization of Past input
private static String [] lastText = new String[0];
private static int currentLastTextIndex = 0;
private static boolean currentlyIndexing = false;
//Initialization of CurrentStage and Scene
private static Stage current;
private static final Scene CURRENTSCENE = gameInterface();
GameInterface(Stage currentStage)
{
current = currentStage;
current.setScene(CURRENTSCENE);
current.setMinWidth(GAMEINTERFACEWIDTH);
current.setMinHeight(GAMEINTERFACEHEIGHT);
current.setResizable(true);
current.show();
eventHandlerKeyEventListenersGameInterface();
}
//This Method Initializes the entire game interface
private static final Scene gameInterface()
{
//Initialization of Visual Items
final GridPane grid = new GridPane();
final StackPane pane = new StackPane();
final VBox rightSide = new VBox();
final BorderPane borderPane = new BorderPane();
final VBox upperLeft = new VBox();
final VBox upperRight = new VBox();
final VBox upperRightSide = new VBox();
final VBox targetAreaPane = new VBox();
final VBox cooldownAreaPane = new VBox();
final GridPane gridInner = new GridPane();
final VBox leftSide = new VBox();
final SplitPane resourceSplit = new SplitPane();
//Initialization of Constants
final double MAXWIDTHBORDERPANE = 300;
final double MAXHEIGHTCHATAREA = 400;
final double HEIGHTMAININPUTAREA = 20;
final double HEIGHTRESOURCEAREA = 20;
final double SQUARENUMBER = 50;
//Initialization Inventory Quest and Content
Tab characterTab = new Tab();
HBox character = new HBox();
character.getChildren().add(characterGrid(character));
character.setAlignment(Pos.TOP_CENTER);
characterTab.setContent(character);
characterTab.setStyle("-fx-focus-color: transparent; ");
characterTab.setText("Character");
TABPANE.getTabs().add(characterTab);
characterTab.setClosable(false);
//Initialization Inventory Tab and Content
Tab inventoryTab = new Tab();
INVENTORY.getChildren().add(new Label("Inventory"));
INVENTORY.setAlignment(Pos.TOP_CENTER);
inventoryTab.setContent(INVENTORY);
inventoryTab.setStyle("-fx-focus-color: transparent; ");
inventoryTab.setText("Inventory");
TABPANE.getTabs().add(inventoryTab);
inventoryTab.setClosable(false);
//Initialization Inventory Quest and Content
Tab questTab = new Tab();
QUEST.getChildren().add(new Label("Quest"));
QUEST.setAlignment(Pos.TOP_CENTER);
questTab.setContent(QUEST);
questTab.setStyle("-fx-focus-color: transparent; ");
questTab.setText("Quest");
TABPANE.getTabs().add(questTab);
questTab.setClosable(false);
//Initialization Inventory Quest and Content
Tab masteriesTab = new Tab();
MASTERIES.getChildren().add(new Label("Masteries"));
MASTERIES.setAlignment(Pos.TOP_CENTER);
masteriesTab.setContent(MASTERIES);
masteriesTab.setStyle("-fx-focus-color: transparent; ");
masteriesTab.setText("Masteries");
TABPANE.getTabs().add(masteriesTab);
masteriesTab.setClosable(false);
//Initialization Social Tab and Content
final Tab GuildTab = new Tab();
final VBox social = new VBox();
final Text friendsTitle = new Text("Friends List");
final Text guildTitle = new Text("Guild");
final VBox friendsFiller = new VBox();
final VBox guildFiller = new VBox();
friendsFiller.getChildren().add(new Label("No Friends"));
guildFiller.getChildren().add(new Label("No Guild"));
guildTitle.setStyle(FONTSIZEGENERAL);
friendsTitle.setStyle(FONTSIZEGENERAL);
friendsFiller.setStyle("-fx-border-style: solid none none none; -fx-border-width: 1; "
+ "-fx-border-insets: -2; -fx-border-radius: 5; -fx-border-color: black;");
guildFiller.setStyle("-fx-border-style: solid none none none; -fx-border-width: 1; "
+ "-fx-border-insets: -2; -fx-border-radius: 5; -fx-border-color: black;");
FRIENDS.setStyle("-fx-border-style: solid inside; -fx-border-width: 1; "
+ "-fx-border-insets: 1; -fx-border-radius: 5; -fx-border-color: black;");
FRIENDS.prefHeightProperty().bind(social.heightProperty());
FRIENDS.prefWidthProperty().bind(social.widthProperty());
FRIENDS.getChildren().addAll(friendsTitle, friendsFiller);
GUILD.setStyle("-fx-border-style: solid inside; -fx-border-width: 1; "
+ "-fx-border-insets: 1; -fx-border-radius: 5; -fx-border-color: black;");
GUILD.prefHeightProperty().bind(social.heightProperty());
GUILD.prefWidthProperty().bind(social.widthProperty());
GUILD.getChildren().addAll(guildTitle, guildFiller);
social.getChildren().addAll(FRIENDS, GUILD);
social.setAlignment(Pos.TOP_CENTER);
GuildTab.setContent(social);
GuildTab.setStyle("-fx-focus-color: transparent; ");
GuildTab.setText("Social");
TABPANE.getTabs().add(GuildTab);
GuildTab.setClosable(false);
//Initialization Target Area
Text targetArea = new Text("Target Area");
TARGET.getChildren().add(new Label("Creature 1"));
TARGET.getChildren().add(new Label("Creature 2"));
TARGET.getChildren().add(new Label("Creature 3"));
TARGET.getChildren().add(new Label("Player 1"));
TARGET.getChildren().add(new Label("Player 2"));
TARGET.getChildren().add(new Label("Player 3"));
TARGET.setStyle("-fx-border-style: solid none none none; -fx-border-width: 1; "
+ "-fx-border-insets: -2; -fx-border-radius: 5; -fx-border-color: black;");
TARGET.setAlignment(Pos.TOP_LEFT);
targetArea.setStyle(FONTSIZEGENERAL);
targetAreaPane.getChildren().addAll(targetArea,TARGET);
targetAreaPane.setMinWidth(200);
targetAreaPane.prefHeightProperty().bind(upperRight.heightProperty());
targetAreaPane.prefWidthProperty().bind(upperRight.widthProperty());
targetAreaPane.setStyle("-fx-border-style: solid inside;" +
"-fx-border-width: 1;" + "-fx-border-insets: 1;" + "-fx-border-radius: 5;" +
"-fx-border-color: black;");
//Initialization Target Area
Text cooldownArea = new Text("Cooldown Area");
COOLDOWN.setAlignment(Pos.TOP_LEFT);
COOLDOWN.getChildren().add(new Label("Skill 1 10 Seconds"));
COOLDOWN.setStyle("-fx-border-style: solid none none none; -fx-border-width: 1; "
+ "-fx-border-insets: -2; -fx-border-radius: 5; -fx-border-color: black;");
cooldownArea.setStyle(FONTSIZEGENERAL);
cooldownArea.setTextAlignment(TextAlignment.CENTER);
cooldownAreaPane.getChildren().addAll(cooldownArea,COOLDOWN);
cooldownAreaPane.setMinWidth(200);
cooldownAreaPane.prefHeightProperty().bind(upperRight.heightProperty());
cooldownAreaPane.prefWidthProperty().bind(upperRight.widthProperty());
cooldownAreaPane.setStyle("-fx-border-style: solid inside; -fx-border-width: 1; "
+ "-fx-border-insets: 1; -fx-border-radius: 5; -fx-border-color: black;");
//Initialization skill hotbar
HBox skillHotbar = new HBox();
//Button Names
BUTTON1.setText("1");
BUTTON2.setText("2");
BUTTON3.setText("3");
BUTTON4.setText("4");
BUTTON5.setText("5");
BUTTON6.setText("6");
BUTTON7.setText("7");
BUTTON8.setText("8");
BUTTON9.setText("9");
BUTTON10.setText("10");
//Button Size
BUTTON1.setMaxWidth(SQUARENUMBER);
BUTTON1.prefHeightProperty().bind(pane.heightProperty());
BUTTON1.prefWidthProperty().bind(pane.widthProperty());
BUTTON2.setMaxWidth(SQUARENUMBER);
BUTTON2.prefHeightProperty().bind(pane.heightProperty());
BUTTON2.prefWidthProperty().bind(pane.widthProperty());
BUTTON3.setMaxWidth(SQUARENUMBER);
BUTTON3.prefHeightProperty().bind(pane.heightProperty());
BUTTON3.prefWidthProperty().bind(pane.widthProperty());
BUTTON4.setMaxWidth(SQUARENUMBER);
BUTTON4.prefHeightProperty().bind(pane.heightProperty());
BUTTON4.prefWidthProperty().bind(pane.widthProperty());
BUTTON5.setMaxWidth(SQUARENUMBER);
BUTTON5.prefHeightProperty().bind(pane.heightProperty());
BUTTON5.prefWidthProperty().bind(pane.widthProperty());
BUTTON6.setMaxWidth(SQUARENUMBER);
BUTTON6.prefHeightProperty().bind(pane.heightProperty());
BUTTON6.prefWidthProperty().bind(pane.widthProperty());
BUTTON7.setMaxWidth(SQUARENUMBER);
BUTTON7.prefHeightProperty().bind(pane.heightProperty());
BUTTON7.prefWidthProperty().bind(pane.widthProperty());
BUTTON8.setMaxWidth(SQUARENUMBER);
BUTTON8.prefHeightProperty().bind(pane.heightProperty());
BUTTON8.prefWidthProperty().bind(pane.widthProperty());
BUTTON9.setMaxWidth(SQUARENUMBER);
BUTTON9.prefHeightProperty().bind(pane.heightProperty());
BUTTON9.prefWidthProperty().bind(pane.widthProperty());
BUTTON10.setMaxWidth(SQUARENUMBER);
BUTTON10.prefHeightProperty().bind(pane.heightProperty());
BUTTON10.prefWidthProperty().bind(pane.widthProperty());
//Hotbar Size
skillHotbar.setMaxHeight(SQUARENUMBER);
skillHotbar.prefHeightProperty().bind(pane.heightProperty());
skillHotbar.prefWidthProperty().bind(pane.widthProperty());
skillHotbar.setAlignment(Pos.CENTER);
skillHotbar.getChildren().addAll(BUTTON1, BUTTON2, BUTTON3, BUTTON4, BUTTON5, BUTTON6, BUTTON7, BUTTON8, BUTTON9, BUTTON10);
//Initialization of Entire Right Side of the Window
borderPane.setCenter(TABPANE);
borderPane.prefHeightProperty().bind(rightSide.heightProperty());
borderPane.prefWidthProperty().bind(rightSide.widthProperty());
borderPane.setMaxWidth(MAXWIDTHBORDERPANE);
//Initialization of MiniMap and Region Name Visual Appearance
REGIONNAME.setText("Region Name");
REGIONNAME.setStyle(FONTSIZEGENERAL);
MINIMAP.setStyle("-fx-border-style: solid inside; -fx-border-width: 1; "
+ "-fx-border-insets: 1; -fx-border-radius: 180; -fx-border-color: black;");
MINIMAP.prefHeightProperty().bind(upperRightSide.heightProperty());
MINIMAP.prefWidthProperty().bind(upperRightSide.widthProperty());
MINIMAP.setMaxHeight(MAXWIDTHBORDERPANE/2);
MINIMAP.setMaxWidth(MAXWIDTHBORDERPANE/2);
//Implementation of Minimap and Region Name
upperRightSide.setAlignment(Pos.CENTER);
upperRightSide.getChildren().addAll(REGIONNAME, MINIMAP);
upperRightSide.prefHeightProperty().bind(rightSide.heightProperty());
upperRightSide.prefWidthProperty().bind(rightSide.widthProperty());
upperRightSide.setMaxHeight(MAXWIDTHBORDERPANE);
upperRightSide.setMaxWidth(MAXWIDTHBORDERPANE);
upperRightSide.setStyle("-fx-border-style: solid inside; -fx-border-width: 1; "
+ "-fx-border-insets: 1; -fx-border-radius: 0; -fx-border-color: black;");
//Initialization of Health Bar
HEALTHBAR.prefHeight(HEIGHTRESOURCEAREA);
HEALTHBAR.prefWidthProperty().bind(pane.widthProperty());
HEALTHBAR.setStyle("-fx-accent: red;");
//Initialization of Exp Bar
EXPBAR.prefHeight(HEIGHTRESOURCEAREA);
EXPBAR.prefWidthProperty().bind(pane.widthProperty());
EXPBAR.setStyle("-fx-accent: yellow;");
//Initialization of Mana Bar
MANABAR.setPrefHeight(HEIGHTRESOURCEAREA);
MANABAR.prefWidthProperty().bind(pane.widthProperty());
//Initialization of Main Text Area For Game Information To Be Output
DIALOGUEAREA.prefHeightProperty().bind(pane.heightProperty());
DIALOGUEAREA.prefWidthProperty().bind(pane.widthProperty());
DIALOGUEAREA.setWrapText(true);
DIALOGUEAREA.setEditable(false);
DIALOGUEAREA.setStyle("-fx-focus-color: transparent; -fx-control-inner-background:#000000; -fx-font-family: Consolas; -fx-highlight-fill: #00ff00; -fx-highlight-text-fill: #000000; -fx-text-fill: #00ffff");
//Initialization of the Input Area For the Users Input
MAININPUTAREA.setPrefHeight(HEIGHTMAININPUTAREA);
MAININPUTAREA.prefWidthProperty().bind(pane.widthProperty());
MAININPUTAREA.setStyle(MAININPUTSTYLE);
//Initialization of Main Text Area For User Chat System To Be Output
CHATAREA.setMaxHeight(MAXHEIGHTCHATAREA);
CHATAREA.prefWidthProperty().bind(pane.widthProperty());
CHATAREA.prefHeightProperty().bind(pane.heightProperty());
CHATAREA.setWrapText(true);
CHATAREA.setEditable(false);
CHATAREA.setStyle(CHATSTYLE);
//Initialization of the Row Where Health Bar and Mana Bar are Located
resourceSplit.getItems().addAll(HEALTHBAR, MANABAR);
//Initialization of Entire Left Side of the Window
upperLeft.getChildren().addAll(DIALOGUEAREA,skillHotbar);
upperRight.getChildren().addAll(targetAreaPane,cooldownAreaPane);
upperRight.prefWidthProperty().bind(gridInner.widthProperty());
upperRight.prefHeightProperty().bind(gridInner.heightProperty());
gridInner.addColumn(0, upperLeft);
gridInner.addColumn(1, upperRight);
leftSide.getChildren().addAll(gridInner, CHATAREA, resourceSplit, EXPBAR, MAININPUTAREA);
rightSide.getChildren().addAll(upperRightSide, borderPane);
rightSide.prefHeightProperty().bind(pane.heightProperty());
rightSide.prefWidthProperty().bind(pane.widthProperty());
rightSide.setMinWidth(MAXWIDTHBORDERPANE);
//Initialization of Grid Where the Left and Right Side Come Together
grid.addColumn(0, leftSide);
grid.addColumn(1, rightSide);
//Initialization of the scene
pane.getChildren().add(grid);
return new Scene(pane, GAMEINTERFACEWIDTH, GAMEINTERFACEHEIGHT);
}
private static final GridPane characterGrid(HBox character)
{
//Initialization of Character Information
CHARACTERNAME.setText("Bob");
CHARACTERNAME.setStyle(FONTSIZEGENERAL);
CHARCTERLEVEL.setText("Level: 20/1/2");
CHARCTERLEVEL.setStyle(FONTSIZEGENERAL);
CHARCTERRACE.setText("Human");
CHARCTERRACE.setStyle(FONTSIZEGENERAL);
CHARCTERCLASS.setText("Mage/Fighter/Rogue");
CHARCTERCLASS.setStyle(FONTSIZEGENERAL);
//Initialization of Character Active Effects
Text activeEffectsTitle = new Text("Active Effects");
activeEffectsTitle.setStyle(FONTSIZEGENERAL);
Button testButton = new Button();
testButton.setText("25");
testButton.setStyle(FONTSIZESMALL);
testButton.setPrefWidth(25);
BUFFS.getChildren().add(testButton);
BUFFS.setPrefHeight(25);
BUFFS.prefWidthProperty().bind(character.widthProperty());
//Initialization of Character Stats
Text statsTitle = new Text("Stats");
statsTitle.setStyle(FONTSIZEGENERAL);
//STRENGTH
Text STR = new Text("STR:");
STR.setStyle(FONTSIZEGENERAL);
Text STRVALUE = new Text(" 22");
STRVALUE.setStyle(FONTSIZEGENERAL);
//DEXTERITY
Text DEX = new Text("DEX:");
DEX.setStyle(FONTSIZEGENERAL);
Text DEXVALUE = new Text(" 22");
DEXVALUE.setStyle(FONTSIZEGENERAL);
//CONSTITUTION
Text CON = new Text("CON:");
CON.setStyle(FONTSIZEGENERAL);
Text CONVALUE = new Text(" 22");
CONVALUE.setStyle(FONTSIZEGENERAL);
//INTELLECT
Text INT = new Text("INT:");
INT.setStyle(FONTSIZEGENERAL);
Text INTVALUE = new Text(" 22");
INTVALUE.setStyle(FONTSIZEGENERAL);
//WISDOM
Text WIS = new Text("WIS:");
WIS.setStyle(FONTSIZEGENERAL);
Text WISVALUE = new Text(" 22");
WISVALUE.setStyle(FONTSIZEGENERAL);
//CHARISMA
Text CHA = new Text("CHA:");
CHA.setStyle(FONTSIZEGENERAL);
Text CHAVALUE = new Text(" 22");
CHAVALUE.setStyle(FONTSIZEGENERAL);
//Character Information Build
HBox rowTwo = new HBox();
rowTwo.getChildren().addAll(CHARCTERLEVEL, CHARCTERRACE);
rowTwo.prefWidthProperty().bind(character.widthProperty());
rowTwo.setSpacing(100);
HBox statsRowOne = new HBox();
statsRowOne.getChildren().addAll(STR, STRVALUE, DEX, DEXVALUE, CON, CONVALUE);
statsRowOne.setSpacing(25);
statsRowOne.prefWidthProperty().bind(character.widthProperty());
HBox statsRowTwo = new HBox();
statsRowTwo.getChildren().addAll(INT, INTVALUE, WIS, WISVALUE, CHA, CHAVALUE);
statsRowTwo.setSpacing(25);
statsRowTwo.prefWidthProperty().bind(character.widthProperty());
//Character Grid Build and Adjustment
GridPane characterGrid = new GridPane();
characterGrid.addRow(0, CHARACTERNAME);
characterGrid.addRow(1, rowTwo);
characterGrid.addRow(2, CHARCTERCLASS);
characterGrid.addRow(3, activeEffectsTitle);
characterGrid.addRow(4, BUFFS);
characterGrid.addRow(5, statsTitle);
characterGrid.addRow(6, statsRowOne);
characterGrid.addRow(7, statsRowTwo);
characterGrid.setPadding(new Insets(10, 20, 10, 20));
//Return Newly Built Character Grid
return characterGrid;
}
private static void eventHandlerKeyEventListenersGameInterface()
{
//Input text area on key press event handlers
MAININPUTAREA.setOnKeyPressed(e->
{
switch(e.getCode())
{
case ENTER:
String command = MAININPUTAREA.getText();
MAININPUTAREA.setText("");
if(!(command.equalsIgnoreCase("")))
{
MAININPUTAREA.requestFocus();
addToLastText(command);
currentlyIndexing = false;
CHATAREA.appendText(playerName + ":" + command + "\n");
}
else
CHATAREA.requestFocus();
break;
case UP:
if(currentLastTextIndex >= 0 && lastText.length > 0)
{
MAININPUTAREA.setText(lastText[currentLastTextIndex]);
if(currentLastTextIndex > 0 && currentlyIndexing)
currentLastTextIndex --;
currentlyIndexing = true;
}
break;
case DOWN:
if(currentLastTextIndex < lastText.length && lastText.length > 0 && currentlyIndexing)
{
MAININPUTAREA.setText(lastText[currentLastTextIndex]);
if(currentLastTextIndex < lastText.length - 1)
currentLastTextIndex ++;
}
break;
case BACK_SPACE:
currentlyIndexing = false;
break;
case ESCAPE:
Settings settings = new Settings(current);
break;
}
});
//In game event text area on key press event handlers
DIALOGUEAREA.setOnKeyPressed(globalHotkeys());
//Global Key Press Event Handlers
CHATAREA.setOnKeyPressed(globalHotkeys());
TARGET.setOnKeyPressed(globalHotkeys());
COOLDOWN.setOnKeyPressed(globalHotkeys());
INVENTORY.setOnKeyPressed(globalHotkeys());
FRIENDS.setOnKeyPressed(globalHotkeys());
MASTERIES.setOnKeyPressed(globalHotkeys());
QUEST.setOnKeyPressed(globalHotkeys());
GUILD.setOnKeyPressed(globalHotkeys());
HEALTHBAR.setOnKeyPressed(globalHotkeys());
MANABAR.setOnKeyPressed(globalHotkeys());
EXPBAR.setOnKeyPressed(globalHotkeys());
TABPANE.setOnKeyPressed(globalHotkeys());
BUTTON1.setOnKeyPressed(globalHotkeys());
BUTTON2.setOnKeyPressed(globalHotkeys());
BUTTON3.setOnKeyPressed(globalHotkeys());
BUTTON4.setOnKeyPressed(globalHotkeys());
BUTTON5.setOnKeyPressed(globalHotkeys());
BUTTON6.setOnKeyPressed(globalHotkeys());
BUTTON7.setOnKeyPressed(globalHotkeys());
BUTTON8.setOnKeyPressed(globalHotkeys());
BUTTON9.setOnKeyPressed(globalHotkeys());
BUTTON10.setOnKeyPressed(globalHotkeys());
}
//This method add text into the array of past text if its not part of the current list
private static void addToLastText(String command)
{
boolean existText = false;
for(int indexLastText = 0; indexLastText < lastText.length; indexLastText++)
{
if(lastText[indexLastText].equalsIgnoreCase(command))
existText = true;
}
if(!existText)
{
String []newLastText = new String[lastText.length + 1];
for(int indexLastText = 0; indexLastText < lastText.length; indexLastText++)
newLastText[indexLastText] = lastText[indexLastText];
newLastText[lastText.length] = command;
lastText = newLastText;
currentLastTextIndex = lastText.length - 1;
}
}
private static EventHandler<KeyEvent> globalHotkeys()
{
return (KeyEvent keyEvent) -> {
switch(keyEvent.getCode())
{
case ENTER:
MAININPUTAREA.requestFocus();
MAININPUTAREA.selectAll();
break;
case C:
TABPANE.getSelectionModel().select(0);
break;
case I:
TABPANE.getSelectionModel().select(1);
break;
case Q:
TABPANE.getSelectionModel().select(2);
break;
case M:
TABPANE.getSelectionModel().select(3);
break;
case S:
TABPANE.getSelectionModel().select(4);
break;
case ESCAPE:
Settings settings = new Settings(current);
break;
}
};
}
}
| [
"[email protected]"
]
| |
87a8af35784b4d5d3e12afdd4a6937524bed1a5e | 2e8d00a19c5a297cb72b68fa2106b14b0c778ee8 | /src/de/pangaea/metadataportal/utils/KeyValuePairs.java | 4471e61b3ed0e8dbf963fc5fc9d99a498a824561 | [
"Apache-2.0"
]
| permissive | pangaea-data-publisher/panfmp | 894242e1a9c849c341e9e1a3b40cfb7ead3eede3 | 091115564e1b5c9716d322db62f2274e454a5cbe | refs/heads/master | 2023-08-09T07:11:50.615647 | 2023-07-21T17:43:31 | 2023-07-21T17:43:31 | 184,415,486 | 6 | 1 | Apache-2.0 | 2020-10-30T23:00:30 | 2019-05-01T12:50:42 | Java | UTF-8 | Java | false | false | 3,755 | java | /*
* Copyright panFMP Developers Team c/o Uwe Schindler
*
* 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 de.pangaea.metadataportal.utils;
import java.io.IOException;
import java.util.LinkedHashMap;
import java.util.Map;
import org.elasticsearch.common.xcontent.XContentBuilder;
import org.elasticsearch.common.xcontent.XContentFactory;
/**
* Key/Value pairs used to build JSON. This behaves like a {@code Map} where
* you can add element, but duplicate elements make the values an array.
* It also supports adding {@code KeyValuePairs} as value, in which case an object is created in the resulting JSON.
* */
public final class KeyValuePairs {
private final Map<String,Object[]> map = new LinkedHashMap<>();
public KeyValuePairs() {
}
public void add(final String key, final Object value) {
Object[] existingVals = map.get(key);
if (existingVals == null) {
map.put(key, new Object[] { value });
} else {
Object[] newVals = new Object[existingVals.length + 1];
System.arraycopy(existingVals, 0, newVals, 0, existingVals.length);
newVals[existingVals.length] = value;
map.put(key, newVals);
}
}
public void add(final String key, final Object... values) {
if (values.length == 0) return;
Object[] existingVals = map.get(key);
if (existingVals == null) {
map.put(key, values);
} else {
Object[] newVals = new Object[existingVals.length + values.length];
System.arraycopy(existingVals, 0, newVals, 0, existingVals.length);
System.arraycopy(values, 0, newVals, existingVals.length, values.length);
map.put(key, newVals);
}
}
public int size() {
return map.size();
}
public boolean isEmpty() {
return map.isEmpty();
}
private void serializeValue(final XContentBuilder builder, Object o) throws IOException {
if (o instanceof KeyValuePairs) {
((KeyValuePairs) o).serializeToContentBuilder(builder);
} else {
builder.value(o);
}
}
/**
* Serializes the object to a sequence of fields. The empty object will be serialized as {@code null}.
*/
public void serializeToContentBuilder(final XContentBuilder builder) throws IOException {
if (map.isEmpty()) {
builder.nullValue();
} else {
builder.startObject();
for (final Map.Entry<String,Object[]> e : map.entrySet()) {
final Object[] val = e.getValue();
switch (val.length) {
case 0:
break;
case 1:
builder.field(e.getKey());
serializeValue(builder, val[0]);
break;
default:
builder.startArray(e.getKey());
for (final Object o : val) {
serializeValue(builder, o);
}
builder.endArray();
}
}
builder.endObject();
}
}
/**
* {@inheritDoc}
* <p>This should be used for debugging only!
*/
@Override
public String toString() {
try {
final XContentBuilder builder = XContentFactory.jsonBuilder();
serializeToContentBuilder(builder);
return builder.string();
} catch (IOException ioe) {
throw new AssertionError(ioe);
}
}
}
| [
"[email protected]"
]
| |
bede5bee821a02f11d64a0e08077cf7adb65645c | 877169085796ddd7ce3aba2cb4822cf8f3f1d8ed | /jdbc/src/stored/procedures/StoredProcedures.java | 1d230d0d4e79567b72f4bd0e6cf8bead30081e02 | []
| no_license | jaworskimateusz/jdbc | 420a9c3365c7a9ba94a4adc88c41df9bb8a26856 | 72e1a75e63ce2f5de2978647cdeca3b27b070886 | refs/heads/master | 2020-03-30T16:14:52.200132 | 2018-10-09T18:13:34 | 2018-10-09T18:13:34 | 151,400,207 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 752 | java | package stored.procedures;
import java.sql.*;
public class StoredProcedures {
public static void main(String[] args) {
Connection connection = null;
CallableStatement statement = null;
String URL = "jdbc:mysql://localhost:3306/demo?useSSL=false";
String user = "student";
String password = "student";
try {
connection = DriverManager.getConnection(URL, user, password);
String department = "Engineering";
int increaseAmount = 10000;
statement = connection
.prepareCall("call increase_salaries_for_department(?,?)");
statement.setString(1, department);
statement.setDouble(2, increaseAmount);
statement.execute();
} catch(Exception e) {
e.printStackTrace();
} finally {
//close method
}
}
}
| [
"[email protected]"
]
| |
e232108fa3cb5c5bb9ef4458357bbe7f141e220c | 961e785c201232a8b4f52167db5e02833e8bbc2c | /open18_seam2/src/model/org/open18/model/Round.java | 7e598667f7f298824423f54819802c03ed51f550 | []
| no_license | seam/migration | 02fd2884544e4339ef1a4950fe28750ad515d137 | d441fad0e911d8c535229abe9d1ae04ff3fe50a2 | refs/heads/develop | 2020-06-05T04:15:55.638023 | 2012-07-18T22:36:55 | 2012-07-18T22:36:55 | 3,203,503 | 15 | 2 | null | 2013-05-29T10:24:16 | 2012-01-17T21:42:16 | Java | UTF-8 | Java | false | false | 2,743 | java | package org.open18.model;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.PreRemove;
import javax.persistence.PreUpdate;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;
import javax.persistence.Version;
import org.hibernate.validator.Length;
import org.hibernate.validator.NotNull;
import org.jboss.seam.annotations.security.Restrict;
import org.jboss.seam.annotations.Name;
import org.open18.model.enums.Weather;
@Entity
@Table(name = "ROUND")
@Name("round")
public class Round implements Serializable {
private Long id;
private Integer version;
private Date date;
private String notes;
private Golfer golfer;
private TeeSet teeSet;
private Integer totalScore;
private Weather weather;
private boolean selected;
@Id @GeneratedValue
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
@Version
public Integer getVersion() {
return version;
}
private void setVersion(Integer version) {
this.version = version;
}
@Temporal(TemporalType.DATE)
@NotNull
public Date getDate() {
return this.date;
}
public void setDate(Date date) {
this.date = date;
}
@Lob
@Length(max = 50000)
public String getNotes() {
return this.notes;
}
public void setNotes(String comment) {
this.notes = comment;
}
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "GOLFER_ID", nullable = false)
@NotNull
public Golfer getGolfer() {
return golfer;
}
public void setGolfer(Golfer golfer) {
this.golfer = golfer;
}
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "TEE_SET_ID", nullable = false)
@NotNull
public TeeSet getTeeSet() {
return teeSet;
}
public void setTeeSet(TeeSet teeSet) {
this.teeSet = teeSet;
}
@Column(name = "TOTAL_SCORE")
@NotNull
public Integer getTotalScore() {
return totalScore;
}
public void setTotalScore(Integer totalScore) {
this.totalScore = totalScore;
}
@Enumerated(EnumType.STRING)
@NotNull
public Weather getWeather() {
return this.weather;
}
public void setWeather(Weather weather) {
this.weather = weather;
}
@Transient
public boolean isSelected() {
return selected;
}
public void setSelected(boolean selected) {
this.selected = selected;
}
@PreUpdate @PreRemove
@Restrict
public void restrict() {}
}
| [
"[email protected]"
]
| |
c4c7be35a824d74b13f533d70311cba429be2304 | db0b4f6c4d214441010726d46ded5c3db6afbdc7 | /10ListsArrayLists/src/ArrayListExamples.java | 1126757f347d3ab90de9d4a06905340a19710118 | []
| no_license | younyxy/Java-SE-11-Developer-1Z0-819-Preparation | 0e579aba136b2d696e7db7203b9926a369c5d0f1 | 5aa082ffe200d0f38013b87f8b96e8b6bafbbf6b | refs/heads/main | 2023-04-26T02:50:40.146735 | 2021-05-11T05:47:45 | 2021-05-11T05:47:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,420 | java | /*
Learn Programming Academy's Java 1Z0-815 Certification Exam Course
Section 10: Programming Abstractly Through Interfaces
Topic: Declare and Use List and ArrayList instances;
*/
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
public class ArrayListExamples {
public static void main(String[] args) {
ArrayList<String> firstArray = new ArrayList(List.of("ABC", "DEF", "GHI", "JKL", "MNO"));
ArrayList<String> secondArray = new ArrayList(List.of("ABC", "DEF", "GHI", "JKL", "MNO"));
ArrayList<String> thirdArray = new ArrayList<>();
// isEmpty() returns true if there are no elements in array
System.out.println("thirdArray.isEmpty() = " + thirdArray.isEmpty());
// .equals() returns true if element values are equal
System.out.println("firstArray.equals(secondArray)) = "
+ (firstArray.equals(secondArray)));
System.out.println("firstArray.equals(thirdArray)) = "
+ (firstArray.equals(thirdArray)));
// .contains() returns true if element values are equal
System.out.println("firstArray.contains(\"DEF\")) = "
+ (firstArray.contains("DEF")));
System.out.println("firstArray.contains(\"ZZZ\")) = "
+ (firstArray.contains("ZZZ")));
// .containsAll() must find all elements in the list,
// order does not matter
System.out.println("firstArray.containsAll(\"ABC,DEF\")) = "
+ (firstArray.containsAll(List.of("ABC", "DEF"))));
System.out.println("firstArray.containsAll(\"DEF,ABC\")) = "
+ (firstArray.containsAll(List.of("DEF", "ABC"))));
System.out.println("firstArray.containsAll(\"ZZZ,ABC\")) = "
+ (firstArray.containsAll(List.of("ZZZ", "ABC"))));
// .indexOf returns -1 if element not found or the
// index of element if found
System.out.println("firstArray.indexOf(\"DEF\")) = "
+ (firstArray.indexOf("DEF")));
System.out.println("firstArray.indexOf(\"ZZZ\")) = "
+ (firstArray.indexOf("ZZZ")));
// .lastIndexOf returns -1 if element not found or the
// index of element if found
System.out.println("firstArray.lastIndexOf(\"DEF\")) = "
+ (firstArray.lastIndexOf("DEF")));
System.out.println("firstArray.lastIndexOf(\"ZZZ\")) = "
+ (firstArray.lastIndexOf("ZZZ")));
// sublist returns a reduced list, using starting index,
// and ending index
System.out.println("firstArray.subList(2,4)) = "
+ (firstArray.subList(2, 4)));
Iterator forwardIt = firstArray.iterator();
while (forwardIt.hasNext()) {
System.out.print(forwardIt.next() + " ");
}
// The ListIterator allows you to specify a starting index
ListIterator traverseIt = firstArray.listIterator(2);
if (traverseIt.hasNext())
System.out.println("\ntraverseIt.next() = " + traverseIt.next());
// Reset ListIterator for example
traverseIt = firstArray.listIterator(2);
if (traverseIt.hasPrevious()) {
System.out.println("traverseIt.previous() = " + traverseIt.previous());
}
}
} | [
"[email protected]"
]
| |
cff9291553a3d11e6016370695df8eca9149a1fa | 97e7cea0d906b4b4c44e6a19b2331130fd7e55d3 | /src/main/java/com/abreham/demo/services/TransferService.java | b60e251a5a07258899764fd8d54a112e578ec44d | []
| no_license | abreham-gebremedin/springapp | 0a7032884312005c0ee73d29166ac4d772fae769 | 05bdc6d07a53525c4fa082c7d2a81c8c17173dd9 | refs/heads/main | 2023-03-23T01:36:19.183650 | 2021-03-22T04:50:25 | 2021-03-22T04:50:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,127 | java | package com.abreham.demo.services;
import static com.abreham.demo.exceptions.TransferException.INSUFFICIENT_BALANCE_EXCEPTION;
import static com.abreham.demo.exceptions.TransferException.INVALID_TRANSFER_ID_EXCEPTION;
import static com.abreham.demo.exceptions.TransferException.SAME_ACCOUNT_TRANSFER_EXCEPTION;
import java.util.Date;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.abreham.demo.domains.Account;
import com.abreham.demo.domains.Transfer;
import com.abreham.demo.exceptions.AccountException;
import com.abreham.demo.exceptions.TransferException;
import com.abreham.demo.repositories.TransferRepository;
import com.abreham.demo.wrappers.TransferRequest;
import com.abreham.demo.wrappers.TransferStatus;
/**
* Transfer Service that defines the main business logic of creating, reading, updating and deleting transfers.
*
* @author Biniam Asnake
*/
@Service
public class TransferService {
private final AccountService accountService;
private final TransferRepository transferRepository;
@Autowired
public TransferService(AccountService accountService, TransferRepository transferRepository) {
this.accountService = accountService;
this.transferRepository = transferRepository;
}
/**
* Retrieves transfer based on id
*
* @param transferId: Long variable representing the ID of the transfer
* @return Transfer object if found. Otherwise, null
*/
public Transfer getTransferById(Long transferId) {
return transferRepository.findById(transferId)
.orElseThrow(() -> new TransferException(INVALID_TRANSFER_ID_EXCEPTION));
}
/**
* Main business logic for transferring money from one account to another.
* <p>
* Requirements for successful money transfer:
* 1. Sender AND receiver accounts must not be null
* 2. Both sender and receiver cannot be the same account
* 3. The Senders account balance should be equal or greater than the transfer amount.
* <p>
* Otherwise, money transfer is not possible.
*
* @param transferRequest: transfer object containing information about the money transfer
* @return The created Transfer object if everything is successful.
* Otherwise, either AccountException or TransferException will be thrown.
*/
public Transfer transferMoney(TransferRequest transferRequest) throws AccountException, TransferException {
Account sender = accountService.getAccountById(transferRequest.getSenderId());
Account receiver = accountService.getAccountById(transferRequest.getReceiverId());
// This operation can be replaced by overriding equals() and hashcode() in Account domain.
// We are doing this here not to add so much code on Account domain. Similar implementation is provided in Transfer domain class.
if (sender.getId().equals(receiver.getId())) {
throw new TransferException(SAME_ACCOUNT_TRANSFER_EXCEPTION);
}
if (sender.getBalance() < transferRequest.getAmount()) {
throw new TransferException(INSUFFICIENT_BALANCE_EXCEPTION);
} else {
Double newSenderBalance = sender.getBalance() - transferRequest.getAmount();
Account updatedSenderAccount = accountService.updateAccountBalance(sender, newSenderBalance);
Double newReceiverBalance = receiver.getBalance() + transferRequest.getAmount();
Account updatedReceiverAccount = accountService.updateAccountBalance(receiver, newReceiverBalance);
Transfer transfer = Transfer.builder()
.sender(updatedSenderAccount)
.receiver(updatedReceiverAccount)
.amount(transferRequest.getAmount())
.reason(transferRequest.getReason())
.date(new Date())
.status(TransferStatus.SUCCESSFUL)
.build();
return transferRepository.save(transfer);
}
}
/**
* Deletes transfer from the database
*
* @param transferId: Id of the transfer to be deleted
* @return True if deletion is successful. Else, False will be returned
*/
public Boolean deleteById(Long transferId) {
try {
transferRepository.deleteById(transferId);
return Boolean.TRUE;
} catch(Exception e) {
e.printStackTrace();
return Boolean.FALSE;
}
}
}
| [
"[email protected]"
]
| |
88dc81613363b13489392122bc4875a370f225d8 | 0ed5a51ca309ef128a4f99646b7490a70431bb85 | /payment-service/src/main/java/io/navadappsMC/paymentservice/models/Payment.java | 7ed432c6f789124c2835c659d9368dccdaec2c4d | []
| no_license | navadapps/mc | 24df1dbd561b7f03b298893960d4ebc3b10e0ad5 | e2aa0717e055e7fcd16e45650ab396e95b36e225 | refs/heads/master | 2022-12-11T16:44:49.910047 | 2020-09-05T14:49:47 | 2020-09-05T14:49:47 | 290,763,942 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 481 | java | package io.navadappsMC.paymentservice.models;
public class Payment {
private int order_id;
private double amount;
public Payment(int order_id, double amount) {
super();
this.order_id = order_id;
this.amount = amount;
}
public int getOrder_id() {
return order_id;
}
public void setOrder_id(int order_id) {
this.order_id = order_id;
}
public double getAmount() {
return amount;
}
public void setAmount(double amount) {
this.amount = amount;
}
}
| [
"[email protected]"
]
| |
7b81fe3232874ca765483a8557ba5b57d41c30d1 | 35d81c8f5340c912fd5fa3ec4dd4e9570b6c17d2 | /src/main/java/frc/team2485/WarlordsLib/motorcontrol/base/PIDMotorController.java | bf8fb01ce90a9fa84de69e05e9112dc2eb1235e9 | []
| no_license | team2485/WarlordsLib | 6a6748c9b5c1a27a4427aed3bd1db09dbfd1015f | 47c7677fd33b033ff367e357589fd047849b97e9 | refs/heads/main | 2022-03-19T12:35:16.349717 | 2021-07-15T00:04:35 | 2021-07-15T00:04:35 | 204,611,026 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 1,724 | java | package frc.team2485.WarlordsLib.motorcontrol.base;
public interface PIDMotorController<ControlMode, FeedbackEnum> {
/**
* Set proportional coefficient
* @param p proportional coefficient
*/
void setP(double p);
/**
* Get proportional coefficient
* @return proportional coefficient
*/
double getP();
/**
* Set integrator coefficient
* @param i integral coefficient
*/
void setI(double i);
/**
* Get integrator coefficient
* @return integrator coefficient
*/
double getI();
/**
* Set derivative coefficient
* @param d derivative coefficient
*/
void setD(double d);
/**
* Get derivative coeffficient
* @return derivative coefficient
*/
double getD();
/**
* Set setpoint (does not set actual motor)
* @param setpoint setpoint of pid
*/
void setSetpoint(double setpoint);
/**
* Get setpoint
* @return setpoint
*/
double getSetpoint();
/**
* Run the PID of the motor controller based on the setpoint
*/
void runPID();
/**
* Run the PID of the motor controller based on the setpoint
*/
void runPID(double target);
/**
* Get output of PID based on mode
* @return pid output
*/
double getSensorOutput();
/**
* Reset integrators and pid here.
*/
void resetPID();
/**
* Reset encoder position here
* @param position set encoder position
*/
void setEncoderPosition(double position);
void setFeedbackDeviceType(FeedbackEnum feedbackDeviceType);
ControlMode getControlMode();
void setControlMode(ControlMode controlMode);
}
| [
"[email protected]"
]
| |
c600166c5efb4634f25b13611130fc9d7e3341ea | 244810d0f46f5f04b0d1f476814231b6f3880d5f | /src/main/java/com/massivecraft/factions/util/AsciiCompass.java | 5fe951298626555d2b32ff6cc5a0558deb3d7de7 | []
| no_license | uf0h/FactionsUUID | 90dcf5058f930a1ef5abefbed43dc8d6b0b671ca | 1119c42b82bf7b05d2608995a1700696191318c2 | refs/heads/master | 2022-12-27T16:37:01.681926 | 2020-10-18T00:39:03 | 2020-10-18T00:39:03 | 157,115,011 | 0 | 0 | null | 2018-11-24T07:03:54 | 2018-11-11T19:49:23 | Java | UTF-8 | Java | false | false | 3,230 | java | package com.massivecraft.factions.util;
import java.util.ArrayList;
import org.bukkit.ChatColor;
public class AsciiCompass {
public enum Point {
N('N'),
NE('/'),
E('E'),
SE('\\'),
S('S'),
SW('/'),
W('W'),
NW('\\');
public final char asciiChar;
Point(final char asciiChar) {
this.asciiChar = asciiChar;
}
public String getTranslation() {
if (this == N) {
return TL.COMPASS_SHORT_NORTH.toString();
}
if (this == E) {
return TL.COMPASS_SHORT_EAST.toString();
}
if (this == S) {
return TL.COMPASS_SHORT_SOUTH.toString();
}
if (this == W) {
return TL.COMPASS_SHORT_WEST.toString();
}
return toString();
}
public String toString(boolean isActive, ChatColor colorActive, String colorDefault) {
return (isActive ? colorActive : colorDefault) + getTranslation();
}
@Override
public String toString() {
return String.valueOf(this.asciiChar);
}
}
public static AsciiCompass.Point getCompassPointForDirection(double inDegrees) {
double degrees = (inDegrees - 180) % 360;
if (degrees < 0) {
degrees += 360;
}
if (0 <= degrees && degrees < 22.5) {
return AsciiCompass.Point.N;
} else if (22.5 <= degrees && degrees < 67.5) {
return AsciiCompass.Point.NE;
} else if (67.5 <= degrees && degrees < 112.5) {
return AsciiCompass.Point.E;
} else if (112.5 <= degrees && degrees < 157.5) {
return AsciiCompass.Point.SE;
} else if (157.5 <= degrees && degrees < 202.5) {
return AsciiCompass.Point.S;
} else if (202.5 <= degrees && degrees < 247.5) {
return AsciiCompass.Point.SW;
} else if (247.5 <= degrees && degrees < 292.5) {
return AsciiCompass.Point.W;
} else if (292.5 <= degrees && degrees < 337.5) {
return AsciiCompass.Point.NW;
} else if (337.5 <= degrees && degrees < 360.0) {
return AsciiCompass.Point.N;
} else {
return null;
}
}
public static ArrayList<String> getAsciiCompass(Point point, ChatColor colorActive, String colorDefault) {
ArrayList<String> ret = new ArrayList<>();
String row;
row = "";
row += Point.NW.toString(Point.NW == point, colorActive, colorDefault);
row += Point.N.toString(Point.N == point, colorActive, colorDefault);
row += Point.NE.toString(Point.NE == point, colorActive, colorDefault);
ret.add(row);
row = "";
row += Point.W.toString(Point.W == point, colorActive, colorDefault);
row += colorDefault + "+";
row += Point.E.toString(Point.E == point, colorActive, colorDefault);
ret.add(row);
row = "";
row += Point.SW.toString(Point.SW == point, colorActive, colorDefault);
row += Point.S.toString(Point.S == point, colorActive, colorDefault);
row += Point.SE.toString(Point.SE == point, colorActive, colorDefault);
ret.add(row);
return ret;
}
public static ArrayList<String> getAsciiCompass(double inDegrees, ChatColor colorActive,
String colorDefault) {
return getAsciiCompass(getCompassPointForDirection(inDegrees), colorActive, colorDefault);
}
}
| [
"[email protected]"
]
| |
8f8d943bb0c86365a23315b2af5dbe2875035345 | f9404098f8f849f1d38c43096c9139e0c15bff0a | /app/src/androidTest/java/com/gea/phone/ExampleInstrumentedTest.java | a0cc0e093947e67ef7f77f84fb7e702cd39662c7 | []
| no_license | georgealromhin/phone-app | 2e4009bef6c71634713b33dc357d8dc4b1956bba | 12f1fa3b6e0c9765edfc01d561139fc03917bd6b | refs/heads/master | 2022-03-31T16:16:05.121393 | 2020-01-31T16:06:43 | 2020-01-31T16:06:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 742 | java | package com.gea.phone;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("com.gea.phone", appContext.getPackageName());
}
}
| [
"[email protected]"
]
| |
20a4432909605598d480128989d92e4994c8fb32 | 454304f80b32571f3f9c82a0e9077d374d5f5768 | /Exercises/src/SetCalculator.java | 0c3e7d3c5d6ae85c68f1291acc76bc435e79bacc | []
| no_license | Michael-Odhiambo/Generic-Programming | 5b6bfa85aa1fc789228a66438c65a2b1718b76c0 | b5cae1ffccb752b040c47d06615f531f778fef37 | refs/heads/main | 2023-08-11T23:17:26.578861 | 2021-10-10T16:10:35 | 2021-10-10T16:10:35 | 413,021,055 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 6,538 | java | /**
* In mathematics, several operations are defined on sets. The union of two sets A and B is
* a set that contains all the elements that are in A together with all the elements that are in
* B. The intersection of A and B is the set that contains elements that are in both A and B.
* The difference of A and B is the set that contains all the elements of A except for those elements
* that are also in B
*
* Suppose that A and B are variables of type set in Java. The mathematical operations on A and B can
* be computed using methods from the Set interface. In particular: A.addAll(B) computes the union of
* A and B; A.retainAll(B) computes the intersection of A and B; and A.removeAll(B) computes the difference
* of A and B. ( These operations change the contents of the set A, while the mathematical operations
* create a new set without changing A, but that difference is not relevant to this exercise. )
*
* For this exercise, you should write a program that can be used as a set "set calculator" for simple
* operations on sets of non-negative integers. ( Negative integers are not allowed. ) For input and output,
* a set of such integers will be written as a list of integers, separated by commas and, optionally, spaces
* and enclosed in square brackets. For example: [1, 2, 3] or [17, 42, 9, 53, 108]. The characters +, *, and -
* will be used for the union, intersection, and difference operations. The user of the program will type in
* lines of input containing two sets, separated by an operator. The program should perform the operation and
* print the resulting set.
*
* To represent sets of non-negative integers, use sets of type TreeSet<Integer>. Read the user's input, create
* two TreeSets, and use the appropriate TreeSet method to perform the requested operation on the two sets. Your
* program should be able to read and process any number of lines of input. If a line contains a syntax error,
* your program should not crash. It should report the error and move on to the next line of input. ( Note: To
* print out a Set, A, of Integers, you can just say System.out.print(A). I've chosen the syntax for sets to be the
* same as that used by the system for outputting a set.
*/
import java.util.TreeSet;
public class SetCalculator {
public static void main( String[] args ) {
System.out.println( "This program will compute union, intersection and " );
System.out.println( "set difference of sets of integers." );
System.out.println("");
System.out.println("");
System.out.println( "Enter set computations ( press return to end )" );
while ( true ) {
System.out.println( "\n?" );
TextIO.skipBlanks();
if ( TextIO.peek() == '\n' ) {
// The input line is empty.
// Exit the loop and end the program.
break;
}
try {
calc(); // Reads and processes on line of input.
}
catch ( IllegalArgumentException e ) {
// An error was found in the input line.
System.out.println( "Error in input: " + e.getMessage() );
}
TextIO.getln(); // Read and discard the rest of the line. If there was no error,
// the only thing that is discarded is the end-of-line character.
}
}
/**
* Read a line of input, consisting of two sets separated by an operator. Perform
* the operation and output the value. If any syntax error is found in the input, an
* IllegalArgumentException is thrown.
*/
private static void calc() {
TreeSet<Integer> A, B; // The two sets of integers.
char op; // The operator, +, *, or -.
A = readSet(); // Read the first set.
TextIO.skipBlanks();
if ( TextIO.peek() != '*' && TextIO.peek() != '+' && TextIO.peek() != '-' )
throw new IllegalArgumentException( "Expected *, +, or - after first set." );
op = TextIO.getAnyChar(); // Read the operator.
B = readSet(); // Read the second set.
TextIO.skipBlanks();
if ( TextIO.peek() != '\n' )
throw new IllegalArgumentException( "Extra unexpected input." );
/*
Perform the operation. This modifies set A to represent the answer. Display the answer
by printing out A. The output format for a set of integers is the same at the input format
used in this program.
*/
if ( op == '+' )
A.addAll(B);
else if ( op == '*' )
A.retainAll(B);
else
A.removeAll(B);
System.out.print( "Value: " + A );
}
/**
* Reads a set of non-negative integers from standard input, and stores them in a TreeSet that contains
* objects belonging to the wrapper class Integer. The set must be enclosed between square brackets and
* must contain a list of zero or more non-negative integers, separated by commas. Spaces are allowed anywhere.
* If the input is not of the correct form, an IllegalArgumentException is thrown.
*/
private static TreeSet<Integer> readSet() {
TreeSet<Integer> set = new TreeSet<>();
TextIO.skipBlanks();
if ( TextIO.peek() != '[' )
throw new IllegalArgumentException( "Expected '[' at start of set." );
TextIO.getAnyChar(); // Read the '['
TextIO.skipBlanks();
if ( TextIO.peek() == ']' ) {
// The set has no integers. This is the empty set, which is legal. Return the value.
TextIO.getAnyChar(); // Read the ']'
return set;
}
while ( true ) {
// Read the next integer and add it to the set.
TextIO.skipBlanks();
if ( !Character.isDigit( TextIO.peek() ) )
throw new IllegalArgumentException( "Expected an integer." );
int n = TextIO.getInt(); // Read the integer.
set.add( Integer.valueOf(n) );
TextIO.skipBlanks();
if ( TextIO.peek() == ']' )
break; // ']' marks the end of the set.
else if ( TextIO.peek() == ',' )
TextIO.getAnyChar(); // Read a comma and continue.
else
throw new IllegalArgumentException( "Expected ',' or ']'." );
}
TextIO.getAnyChar(); // Read the ']' that ended the set.
return set;
}
}
| [
"[email protected]"
]
| |
26b0dc05f439eb8f92599bc9d9d9878bedb92208 | ef86556c33da1319001d2b33763a9c900954130b | /android_kk4.4.2_1.0.0-ALL/frameworks/base/core/java/android/iline/SgPropertyBase.java | 15aeb12d7a2f751cb0040470fc3903ae75639c27 | []
| no_license | xinxiwei/android | 777eecdf4e90f203696b18494e4937cb8f56cf05 | b85086b7d6bab57ee2a524690537a75a606e0bf0 | refs/heads/master | 2021-05-07T01:06:44.522998 | 2018-02-06T07:24:14 | 2018-02-06T07:24:14 | 110,308,593 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,508 | java | package android.iline;
/**
* Created by QueKai on 2017/4/28.
* ้้ๅฎไนๅฎไฝ็ฑป
*/
public class SgPropertyBase {
private int propID;//้้ๅฎไนID
private String propName;//้้ๅฎไนๅ
private int propType;//้้ๅฎไน็ฑปๅ
private int chanNum;//้้้้ๆฐ
private int routeId;//็นๆฃ่ฎกๅID
private float minFreq;//ไธ้้ข็
private float maxFreq;//ไธ้้ข็
private float calibExpecteValue;//ๆ กๅๆๆๅผ
private int coupleType;//่ฆๅๆนๅผ
private int rangeMode;//้็จๆจกๅผ
private int signalType;//ไฟกๅท็ฑปๅ
private int sensorType;//ไผ ๆๅจ็ฑปๅ
private int rangeAcceleration;//
private int rangeDistanceValue;//
private int rangeSpeendValue;//
private int syncMode;//ๅๆญฅๆนๅผ
private float trigLevel;//่งฆๅ็ตๅนณ
private float daqFreq;//ๅฎ้
้ๆ ท้ข็
private int waveLength;//ๆณขๅฝข้ฟๅบฆ
private int versionMode;
private int voltageRange;//้็จ
public int getVoltageRange() {
return voltageRange;
}
public void setVoltageRange(int voltageRange) {
this.voltageRange = voltageRange;
}
public int getVersionMode(){
return versionMode;
}
public void setVersionMode(int versionMode){
this.versionMode=versionMode;
}
public int getPropID() {
return propID;
}
public void setPropID(int propID) {
this.propID = propID;
}
public String getPropName() {
return propName;
}
public void setPropName(String propName) {
this.propName = propName;
}
public int getPropType() {
return propType;
}
public void setPropType(int propType) {
this.propType = propType;
}
public int getChanNum() {
return chanNum;
}
public void setChanNum(int chanNum) {
this.chanNum = chanNum;
}
public int getRouteId() {
return routeId;
}
public void setRouteId(int routeId) {
this.routeId = routeId;
}
public float getMinFreq() {
return minFreq;
}
public void setMinFreq(float minFreq) {
this.minFreq = minFreq;
}
public float getMaxFreq() {
return maxFreq;
}
public void setMaxFreq(float maxFreq) {
this.maxFreq = maxFreq;
}
public float getCalibExpecteValue() {
return calibExpecteValue;
}
public void setCalibExpecteValue(float calibExpecteValue) {
this.calibExpecteValue = calibExpecteValue;
}
public int getCoupleType() {
return coupleType;
}
public void setCoupleType(int coupleType) {
this.coupleType = coupleType;
}
public int getRangeMode() {
return rangeMode;
}
public void setRangeMode(int rangeMode) {
this.rangeMode = rangeMode;
}
public int getSignalType() {
return signalType;
}
public void setSignalType(int signalType) {
this.signalType = signalType;
}
public int getSensorType() {
return sensorType;
}
public void setSensorType(int sensorType) {
this.sensorType = sensorType;
}
public float getTrigLevel() {
return trigLevel;
}
public void setTrigLevel(float trigLevel) {
this.trigLevel = trigLevel;
}
public int getDistanceRange() {
return rangeDistanceValue;
}
public void setDistanceRange(int range) {
this.rangeDistanceValue = range;
}
public int getAccelerationRange() {
return rangeAcceleration;
}
public void setAccelerationRange(int range) {
this.rangeAcceleration = range;
}
public int getSpeendRange() {
return rangeSpeendValue;
}
public void setSpeendRange(int range) {
this.rangeSpeendValue = range;
}
public int getSyncMode() {
return syncMode;
}
public void setSyncMode(int syncMode) {
this.syncMode = syncMode;
}
public float getDaqFreq() {
return daqFreq;
}
public void setDaqFreq(float daqFreq) {
this.daqFreq = daqFreq;
}
public int getWaveLength() {
return waveLength;
}
public void setWaveLength(int waveLength) {
this.waveLength = waveLength;
}
}
| [
"[email protected]"
]
| |
f3e74811e7279dd85f76f84709438be1f5c4fa48 | 1a01743ad40f1fe4bcd0ed99094ff72cd21a9863 | /HealthApp/app/src/main/java/com/healthapp/healthapp/DatabaseAccess/Ratings.java | 3b79edc54dfc8405d79f950fe7f52041eba934b4 | []
| no_license | BryenBuie/COP-4331-Healthy-Food-App-master | 5cb29ca2d8ccfbcef2bcc74da03c316a2bed4868 | 9bb80aa80c9a3850dde87f0f5f1d559889cb2272 | refs/heads/master | 2021-01-13T01:00:21.261639 | 2015-11-19T15:45:08 | 2015-11-19T15:45:08 | 46,502,405 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,755 | java | package com.healthapp.healthapp.DatabaseAccess;
import android.os.AsyncTask;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
/**
* Created by Chris on 11/17/2015.
*/
public abstract class Ratings extends AsyncTask<User,Void,ResultSet>{
//User has selected a specific item, collect all reviews on the item
//
//INPUT: the ID of the food item and the connection to the database
//
//OUTPUT: this function outputs a ResultSet, which is the results to the query being executed
// The ResultSet will consist of the following variables:
//
// the Rating (int), the Comment (String) associated with the rating, and the Username (String) of the User who left the rating
//
// These variables will now be available to be used in the parent function
public ResultSet doInBackground(User obj) throws SQLException {
//Variables
Statement stmt = null;
ResultSet rs = null;
//Query
String query = "SELECT U.username, R.rating, R.comment "
+ "FROM "
+ "Rating as R "
+ "inner join "
+ "Users as U "
+ "on "
+ "R.Users_idUsers = U.idUsers "
+ "WHERE R.foodID = " + obj.foodID;
//Execute
try {
stmt = obj.con.createStatement();
rs = stmt.executeQuery(query);
}
//Exception
catch (SQLException e ) {
}
//Close
finally {
if (stmt != null) { stmt.close(); }
}
//Return ResultSet
return rs;
}
public ResultSet onPostExecution(ResultSet result){
return result;
}
}
| [
"[email protected]"
]
| |
368d0e2e996f88c03f65d273c976bbc61e59090a | 0d445f6e47390b5ed73edc7a43b82904e0c2fa4a | /src/main/java/cn/yang/spring4/h_aopTest/impl/RescuingPrincessQuest.java | 1e77849e55634cdddde61eeb3b3b88a714c83fbf | []
| no_license | yangjingScarlett/spring4 | 344fe660929cf2f34ee214627706a1eee6d9b971 | e4b3c1f472c2bd6353f618d796ab641a953eb124 | refs/heads/master | 2021-01-20T04:53:38.546181 | 2017-12-08T01:24:12 | 2017-12-08T01:24:12 | 101,392,142 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 367 | java | package cn.yang.spring4.h_aopTest.impl;
import cn.yang.spring4.h_aopTest.Quest;
import org.springframework.stereotype.Component;
/**
* Created by yangjing on 2017/12/6
*/
@Component
public class RescuingPrincessQuest implements Quest {
public String embark(int count) {
String str = "ๆง่ก็ฌฌ" + count + "ไธชไปปๅก๏ผ";
return str;
}
}
| [
"[email protected]"
]
| |
99f1620d190336e12198f177b3cf6e8bf86c7ff8 | da2296e083ab28bf75f40bc82b428193c676fda0 | /sistemi-ux/src/com/brunoveizaj/sistemi/ui/services/HelperService.java | edb4730901081d2fa08897cee9096a45943980f2 | []
| no_license | brunoveizaj13/sistemi | 607f09297f08eb1bc6a841847c92c075845452da | 3d3166dbe372715d28fd4c3908a3384ddc9b8b7b | refs/heads/master | 2020-04-26T09:24:01.979325 | 2019-04-04T22:37:23 | 2019-04-04T22:37:23 | 173,453,938 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,974 | java | package com.brunoveizaj.sistemi.ui.services;
import java.util.List;
import com.brunoveizaj.sistemi.ui.api.clients.HelperClient;
import com.brunoveizaj.sistemi.ui.models.InstitutionDTO;
import com.brunoveizaj.sistemi.ui.models.MonthYear;
import com.brunoveizaj.sistemi.ui.models.MunicipalityDTO;
import com.brunoveizaj.sistemi.ui.models.PartyDTO;
import com.brunoveizaj.sistemi.ui.models.PatronageTypeDTO;
import com.brunoveizaj.sistemi.ui.models.PoiTypeDTO;
import com.brunoveizaj.sistemi.ui.models.QvDTO;
import com.brunoveizaj.sistemi.ui.models.RegionDTO;
import com.brunoveizaj.sistemi.ui.models.RoleDTO;
import com.brunoveizaj.sistemi.ui.models.UnitDTO;
public class HelperService {
public List<PartyDTO> listParty()
{
return new HelperClient().listParty();
}
public PartyDTO findParty(String code)
{
return new HelperClient().findParty(code);
}
public List<PoiTypeDTO> listPoiType()
{
return new HelperClient().listPoiType();
}
public PoiTypeDTO findPoiType(Integer id)
{
return new HelperClient().findPoiType(id);
}
public List<PatronageTypeDTO> listPatronageType()
{
return new HelperClient().listPatronageType();
}
public PatronageTypeDTO findPatronageType(Integer id)
{
return new HelperClient().findPatronageType(id);
}
public List<RoleDTO> listRole()
{
return new HelperClient().listRole();
}
public RoleDTO findRole(String code)
{
return new HelperClient().findRole(code);
}
public List<InstitutionDTO> listInstitution()
{
return new HelperClient().listInstitution();
}
public InstitutionDTO findInstitution(Integer id)
{
return new HelperClient().findInstitution(id);
}
public List<RegionDTO> listRegion()
{
return new HelperClient().listRegion();
}
public RegionDTO findRegion(Integer id)
{
return new HelperClient().findRegion(id);
}
public List<MunicipalityDTO> listMunicipality(Integer regionId, String name)
{
return new HelperClient().listMunicipality(regionId, name);
}
public MunicipalityDTO findMunicipality(Integer id)
{
return new HelperClient().findMunicipality(id);
}
public List<UnitDTO> listUnit(Integer regionId, Integer municipalityId, String name)
{
return new HelperClient().listUnit(regionId, municipalityId, name);
}
public UnitDTO findUnit(Integer id)
{
return new HelperClient().findUnit(id);
}
public List<QvDTO> listQv(Integer regionId, Integer municipalityId, Integer unitId, String code)
{
return new HelperClient().listQv(regionId, municipalityId, unitId, code);
}
public QvDTO findQv(Integer id)
{
return new HelperClient().findQv(id);
}
public List<MonthYear> listpayrollMonthYears()
{
return new HelperClient().listpayrollMonthYears();
}
}
| [
"Bruno@DESKTOP-6U4H5FR"
]
| Bruno@DESKTOP-6U4H5FR |
1143d7e9d773c02db5d9044a8e6939fcc71ca8eb | 5fd2681a5c42463bae0ec2d891d194d8fa130663 | /2012_2/MappaNavale.java | 425b50a0cc69a1944e0ce31abc1ef5cbeb33f040 | []
| no_license | h3r0n/Esercizi-MAP | c8b7b3a1cfb48146f90c0e2168ad3fc70ecc4be6 | 8aff72272088696f46af54e60a7807c09cbe8507 | refs/heads/master | 2020-06-01T14:23:19.578396 | 2019-06-09T17:01:43 | 2019-06-09T17:01:43 | 190,811,978 | 0 | 1 | null | 2019-06-13T10:26:05 | 2019-06-07T21:40:06 | Java | UTF-8 | Java | false | false | 2,158 | java | import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
class Nave implements Serializable {
}
class Cella extends HashSet<Nave> implements Serializable {
}
public class MappaNavale implements Serializable {
public Cella[][] matrice;
public MappaNavale(int x, int y) {
matrice = new Cella[x][y];
for (int i = 0; i < x; i++)
for (int j = 0; j < y; j++) {
matrice[i][j] = new Cella();
}
}
public static MappaNavale creaMappa(int x, int y) {
return new MappaNavale(x, y);
}
public static void assegnaNaveACella(Cella c, Nave n) {
if (c == null) {
c = new Cella();
}
c.add(n);
}
public Cella getCella(int x, int y) {
return matrice[x][y];
}
public static int contaNavi(Cella c) {
return c.size();
}
public void save() throws FileNotFoundException, IOException {
ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream("file.dat"));
out.writeObject(this);
out.close();
}
public static MappaNavale load() throws FileNotFoundException, IOException, ClassNotFoundException {
ObjectInputStream in = new ObjectInputStream(new FileInputStream("file.dat"));
MappaNavale m = (MappaNavale) in.readObject();
in.close();
return m;
}
public static void main(String[] args) throws FileNotFoundException, IOException, ClassNotFoundException {
MappaNavale m = new MappaNavale(10,10);
Cella c = m.getCella(5, 5);
Cella d = m.getCella(0, 0);
MappaNavale.assegnaNaveACella(c, new Nave());
MappaNavale.assegnaNaveACella(c, new Nave());
m.save();
m = null;
m = MappaNavale.load();
System.out.println(MappaNavale.contaNavi(c));
System.out.println(MappaNavale.contaNavi(d));
}
}
| [
"[email protected]"
]
| |
56ed95783d6aa3ff475bbdfd0b77727c97f61cfa | 180418b437fef4b6f61e9e677ee83a95126fb081 | /Ex13.java | 092ccb50a45a4ddbe0c97c2acce915cf77677685 | []
| no_license | JoaoVictorMaciel/Exercicios-05-05 | 622c696cc51f6878f540db480517963e0771c842 | abca303d459ab6f5a687e86223c091a89ff5992f | refs/heads/master | 2023-04-28T12:13:34.608746 | 2021-05-14T00:27:35 | 2021-05-14T00:27:35 | 364,597,900 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 662 | java | package PackExer;
import java.util.Scanner;
public class Ex13 {
public static void main(String[] args) {
float[][] a = new float[3][3];
int cont=0,l,c;
Scanner leia = new Scanner(System.in);
for(l=0;l<3;l++)
{
for(c=0;c<3;c++)
{
System.out.printf("Entre com o valor [%d][%d]: ",l+1,c+1);
a[l][c] = leia.nextFloat();
if(a[l][c]>10)
{
cont++;
}
}
}
System.out.println("A Matriz ficou: \n");
for(l=0;l<3;l++)
{
for(c=0;c<3;c++)
{
System.out.printf("\t %2.0f \t",a[l][c]);
}
System.out.println("\n");
}
System.out.println("\nQuantidade de numeros maiores que 10: "+cont);
}
}
| [
"[email protected]"
]
| |
02a768bc394ac4d1990ad92739d042c08293cec6 | cbceb5936cbd8c86ce386b3c864989b89e51c5e3 | /IT_T2_Lievano_Jorge/src/gramatica/GramaticaVaciaException.java | 9aaad2fcd4b4b8f6548a1fa1eb242ffacf468f0b | []
| no_license | JorgeLievano/CYK | c76f8ceb166b367b8af96bfb82cafb24477bd4ec | abb7b1ca9a8211c720e9f116e523fe8742bafd67 | refs/heads/master | 2020-05-22T18:00:18.268982 | 2019-05-13T17:14:52 | 2019-05-13T17:14:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 389 | java | package gramatica;
/**
* excepcion relacionada a operaciones con una GNFC sin reglas de produccion establecidas
* @author JORGE
*
*/
public class GramaticaVaciaException extends Exception {
/**
* constructor de la excepcion donde se indica que la gramatica esta vacia
*/
public GramaticaVaciaException(){
super("La gramatica no contiene ninguna regla de produccion");
}
}
| [
"[email protected]"
]
| |
abbaf8f09abe97176de10f94874f49a6da3407a0 | 50d469c3cbf724aa3655016607f7041ea45c7487 | /src/taskManager/observers/Observer.java | 6f1a44513007b89730a5d1076c3ebd23c9c59f3d | []
| no_license | vkhande1/taskManager-Using-Observer-Pattern | 3e0747b8be64dd70df8a689dae13ed6a88949f6d | ac911c06a47247cee7234f033906cfc5ed2f080b | refs/heads/master | 2021-01-10T01:30:51.023676 | 2016-03-01T07:53:16 | 2016-03-01T07:53:16 | 52,858,609 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 111 | java | package taskManager.observers;
public interface Observer {
public void update(String sendupdates);
}
| [
"[email protected]"
]
| |
8519702911a3fa6be8379a9ea80a4196f8554e86 | 36df62e996587b5c58e23c1d69a2370c986bcd77 | /src/main/java/com/example/demospringboot/service/implementation/RoleServiceImpl.java | 06f2755077058899d8109e4a68f2b86cbe7cd4d9 | []
| no_license | wasoffsatyadara/spring-boot-java-demo | 4e2e123c51e878aa5fe6695d63b4bc43970f436b | 88117416eebb0a3093e066a59f06d38e419ec1bc | refs/heads/master | 2020-04-01T21:34:18.118607 | 2018-10-18T17:44:49 | 2018-10-18T17:44:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 579 | java | package com.example.demospringboot.service.implementation;
import com.example.demospringboot.model.Role;
import com.example.demospringboot.repository.RoleRepository;
import com.example.demospringboot.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class RoleServiceImpl implements RoleService {
@Autowired
private RoleRepository roleRepository;
@Override
public List<Role> getAllRole() {
return roleRepository.findAll();
}
}
| [
"[email protected]"
]
| |
f7cf748aeef0640d16798dd2c4fde1daeddf05f0 | 04853ec6bbcf5daadf956b7ef72e8e9ffd3e392b | /src/main/java/com/laowang/dataObject/Result.java | 61776d1725ab63415efd0b4300d1417f4fa5c694 | []
| no_license | tellen7/Spring-Boot-Demo | 088e1694bd3bd6bafb34e6b9a1f59bcae460a9b3 | 3e4ef54c76e3cdfa9cc17601ab447e413ac0c0d5 | refs/heads/master | 2020-03-06T17:58:47.703253 | 2018-03-27T14:24:54 | 2018-03-27T14:24:54 | 126,997,866 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 934 | java | package com.laowang.dataObject;
/**
* Created by wangyonghao8 on 2018/3/27.
*/
//http่ฟๅ่ฏทๆฑ็ๆๅคๅฑๅฏน่ฑก,็จไบ็ปไธ่ฟๅๆฐๆฎๆ ผๅผ
public class Result<T> {
//้่ฏฏ็
private Integer code;
//่ฟๅ็ไฟกๆฏ
private String message;
//่ฟๅ็ๆฐๆฎๅฏน่ฑก
private T data;
public Integer getCode() {
return code;
}
public void setCode(Integer code) {
this.code = code;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public T getData() {
return data;
}
public void setData(T data) {
this.data = data;
}
@Override
public String toString() {
return "Result{" +
"code=" + code +
", message='" + message + '\'' +
", data=" + data +
'}';
}
}
| [
"[email protected]"
]
| |
856f3bf4371fa0da6a8c0f61bfd9b4d6bedead0a | 3efa417c5668b2e7d1c377c41d976ed31fd26fdc | /src/br/com/mind5/paymentPartner/partnerMoip/multiOrderMoip/model/decisionTree/MultmoipRootPay.java | 7ecea24af3baae7e6984d76efdcdc848720d2a97 | []
| no_license | grazianiborcai/Agenda_WS | 4b2656716cc49a413636933665d6ad8b821394ef | e8815a951f76d498eb3379394a54d2aa1655f779 | refs/heads/master | 2023-05-24T19:39:22.215816 | 2023-05-15T15:15:15 | 2023-05-15T15:15:15 | 109,902,084 | 0 | 0 | null | 2022-06-29T19:44:56 | 2017-11-07T23:14:21 | Java | UTF-8 | Java | false | false | 3,140 | java | package br.com.mind5.paymentPartner.partnerMoip.multiOrderMoip.model.decisionTree;
import java.util.ArrayList;
import java.util.List;
import br.com.mind5.model.action.ActionLazy;
import br.com.mind5.model.action.ActionStd;
import br.com.mind5.model.action.commom.ActionLazyCommom;
import br.com.mind5.model.checker.ModelChecker;
import br.com.mind5.model.checker.ModelCheckerHelperQueue;
import br.com.mind5.model.checker.ModelCheckerOption;
import br.com.mind5.model.decisionTree.DeciTreeOption;
import br.com.mind5.model.decisionTree.DeciTreeTemplateRead;
import br.com.mind5.paymentPartner.partnerMoip.multiOrderMoip.info.MultmoipInfo;
import br.com.mind5.paymentPartner.partnerMoip.multiOrderMoip.model.action.MultmoipVisiNodePlace;
import br.com.mind5.paymentPartner.partnerMoip.multiOrderMoip.model.action.MultmoipVisiPaymoipPay;
import br.com.mind5.paymentPartner.partnerMoip.multiOrderMoip.model.checker.MultmoipCheckPay;
import br.com.mind5.paymentPartner.partnerMoip.multiOrderMoip.model.checker.MultmoipCheckPayord;
import br.com.mind5.paymentPartner.partnerMoip.multiOrderMoip.model.checker.MultmoipCheckPayormarch;
public final class MultmoipRootPay extends DeciTreeTemplateRead<MultmoipInfo> {
public MultmoipRootPay(DeciTreeOption<MultmoipInfo> option) {
super(option);
}
@Override protected ModelChecker<MultmoipInfo> buildCheckerHook(DeciTreeOption<MultmoipInfo> option) {
List<ModelChecker<MultmoipInfo>> queue = new ArrayList<>();
ModelChecker<MultmoipInfo> checker;
ModelCheckerOption checkerOption;
checkerOption = new ModelCheckerOption();
checkerOption.conn = option.conn;
checkerOption.schemaName = option.schemaName;
checkerOption.expectedResult = ModelCheckerOption.SUCCESS;
checker = new MultmoipCheckPay(checkerOption);
queue.add(checker);
checkerOption = new ModelCheckerOption();
checkerOption.conn = option.conn;
checkerOption.schemaName = option.schemaName;
checkerOption.expectedResult = ModelCheckerOption.EXIST_ON_DB;
checker = new MultmoipCheckPayord(checkerOption);
queue.add(checker);
checkerOption = new ModelCheckerOption();
checkerOption.conn = option.conn;
checkerOption.schemaName = option.schemaName;
checkerOption.expectedResult = ModelCheckerOption.EXIST_ON_DB;
checker = new MultmoipCheckPayormarch(checkerOption);
queue.add(checker);
return new ModelCheckerHelperQueue<>(queue);
}
@Override protected List<ActionStd<MultmoipInfo>> buildActionsOnPassedHook(DeciTreeOption<MultmoipInfo> option) {
List<ActionStd<MultmoipInfo>> actions = new ArrayList<>();
ActionStd<MultmoipInfo> placeOrdmoip = new MultmoipNodeOrdmoip(option).toAction();
ActionLazy<MultmoipInfo> placeMultiorder = new ActionLazyCommom<MultmoipInfo>(option, MultmoipVisiNodePlace.class);
ActionLazy<MultmoipInfo> payMultiorder = new ActionLazyCommom<MultmoipInfo>(option, MultmoipVisiPaymoipPay.class);
placeOrdmoip.addPostAction(placeMultiorder);
placeMultiorder.addPostAction(payMultiorder);
actions.add(placeOrdmoip);
return actions;
}
}
| [
"[email protected]"
]
| |
f8747387dbec1b013a1dec79dd59b679b7173f57 | ae012fb4134fa1a56c901c054da641f0d67e2801 | /0project03/src/main/java/java76/pms/service/support/DefaultBoardService.java | 49f3df09d2fe63127ad34a19272ff9ed997c3ba7 | []
| no_license | zxqw1541/javaexam | 52a8e3e74535af54b6eaf61a3ca029e829556adc | 49a945f8eb7247d3042bffd59f6c9c5a5a81ada5 | refs/heads/master | 2021-01-18T15:06:51.838333 | 2015-12-24T03:40:17 | 2015-12-24T03:40:17 | 47,953,735 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,339 | java | package java76.pms.service.support;
import java.util.HashMap;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java76.pms.dao.BoardDao;
import java76.pms.domain.Board;
import java76.pms.service.BoardService;
@Service
public class DefaultBoardService implements BoardService {
@Autowired BoardDao boardDao;
public List<Board> getBoardList(
int pageNo, int pageSize, String keyword, String align) {
HashMap<String,Object> paramMap = new HashMap<>();
paramMap.put("startIndex", (pageNo - 1) * pageSize);
paramMap.put("length", pageSize);
paramMap.put("keyword", keyword);
paramMap.put("align", align);
return boardDao.selectList(paramMap);
}
@Transactional
public void register(Board board) {
boardDao.insert(board);
}
@Transactional
public void remove(int no, String password){
HashMap<String,Object> paramMap = new HashMap<>();
paramMap.put("no", no);
paramMap.put("password", password);
boardDao.delete(paramMap);
}
@Transactional
public void change(Board board) {
boardDao.update(board);
}
public Board retrieve(int no) {
return boardDao.selectOne(no);
}
}
| [
"[email protected]"
]
| |
de08d44028953441459dddd9f86065271d5e4798 | 637f6c148d9fbe23893fe933e36c12614270d361 | /mdeforge-view-service/src/main/java/org/mdeforge/mdeforgeviewservice/messaging/ArtifactHistoryEventHandlers.java | c1a5114c3c96f3237020d5fafa8e08cabd02f9dc | []
| no_license | carloselpapa10/MDEForge | 464786f4ba77f86f178b925e803a629dbac0e19d | 59049ca789452aa052887cf50ed5c22be22cbc21 | refs/heads/master | 2020-03-07T21:24:35.923196 | 2018-04-18T21:25:57 | 2018-04-18T21:25:57 | 127,725,633 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,667 | java | package org.mdeforge.mdeforgeviewservice.messaging;
import org.springframework.stereotype.Component;
import org.mdeforge.servicemodel.artifact.api.events.ArtifactCompletedEvent;
import org.mdeforge.servicemodel.artifact.api.events.ArtifactCreatedEvent;
import org.mdeforge.servicemodel.artifact.api.events.ArtifactRejectedEvent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import io.eventuate.tram.events.subscriber.DomainEventEnvelope;
import io.eventuate.tram.events.subscriber.DomainEventHandlers;
import io.eventuate.tram.events.subscriber.DomainEventHandlersBuilder;
@Component
public class ArtifactHistoryEventHandlers {
private static final Logger log = LoggerFactory.getLogger(ArtifactHistoryEventHandlers.class);
public DomainEventHandlers domainEventHandlers() {
return DomainEventHandlersBuilder
.forAggregateType("org.mdeforge.artifactservice.model.Artifact")
.onEvent(ArtifactCreatedEvent.class, this::handleArtifactCreatedEvent)
.onEvent(ArtifactCompletedEvent.class, this::handleArtifactCompletedEvent)
.onEvent(ArtifactRejectedEvent.class, this::handleArtifactRejectedEvent)
.build();
}
private void handleArtifactCreatedEvent(DomainEventEnvelope<ArtifactCreatedEvent> dee) {
log.info("handleArtifactCreatedEvent() - ArtifactHistoryEventHandlers");
}
private void handleArtifactCompletedEvent(DomainEventEnvelope<ArtifactCompletedEvent> dee) {
log.info("handleArtifactCompletedEvent() - ArtifactHistoryEventHandlers");
}
private void handleArtifactRejectedEvent(DomainEventEnvelope<ArtifactRejectedEvent> dee) {
log.info("handleArtifactRejectedEvent() - ArtifactHistoryEventHandlers");
}
} | [
"[email protected]"
]
| |
593d184929fd1623322d0148f3116b282f2fbb68 | f9452cf6217adb92f7164ba5dea2325b529c6693 | /ShifumiServ/src/main/java/com/mti/model/Shot.java | b59f952a7ae859295a364ef3de3a338330e555e5 | []
| no_license | jcze91/ChifoumiSpoke | b67d6e2ece57950488dcc4c1ceb07593abd3da86 | 3266f86147fb20751114278213e90ef668e5b177 | refs/heads/master | 2021-01-01T15:40:56.820894 | 2014-11-15T16:44:21 | 2014-11-15T16:44:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,676 | java | package com.mti.model;
import java.util.ArrayList;
/**
* Created by Yayap on 14/11/14.
*/
public class Shot {
/**
* Type du coup choisi
*/
private ShotKind kind;
/**
* Set le type du coup
* @param kind
*/
public void setKind(ShotKind kind) {
this.kind = kind;
}
/**
*
* @return le type du coup
*/
public ShotKind getKind() {
return kind;
}
/**
* Liste contenant les types de coups qui battent
* le coup choisi
*/
private ArrayList<ShotKind> isCrushedBy;
/**
* Set la liste des types de coups qui battent
* le coup choisi
* @param isCrushedBy
*/
public void setIsCrushedBy(ArrayList<ShotKind> isCrushedBy) {
this.isCrushedBy = isCrushedBy;
}
/**
*
* @return la liste des types de coups qui battent
* le coup choisi
*/
public ArrayList<ShotKind> getIsCrushedBy() {
return isCrushedBy;
}
/**
* Liste contenant les types de coups qui sont
* battus par le coup choisi
*/
private ArrayList<ShotKind> crushes;
/**
* Set la liste contenant les types de coups qui sont
* battus par le coup choisi
* @param crushes
*/
public void setCrushes(ArrayList<ShotKind> crushes) {
this.crushes = crushes;
}
/**
*
* @return la liste contenant les types de coups qui sont
* battus par le coup choisi
*/
public ArrayList<ShotKind> getCrushes() {
return crushes;
}
/**
*
* @return un string reprรฉsentant le type choisi
*/
@Override
public String toString()
{
switch (kind){
case PAPER:
return "Paper";
case ROCK:
return "Rock";
case SCISSORS:
return "Scissors";
case SPOKE:
return "Spoke";
case LIZARD:
return "Lizard";
default:
return null;
}
}
/**
* Crรฉer le Shot et initialise toutes les listes
* en fonction du type choisi
* @param kind
*/
public Shot(ShotKind kind) {
this.kind = kind;
this.crushes = new ArrayList<ShotKind>();
this.isCrushedBy = new ArrayList<ShotKind>();
switch (kind){
case PAPER:
this.crushes.add(ShotKind.ROCK);
this.crushes.add(ShotKind.SPOKE);
this.isCrushedBy.add(ShotKind.SCISSORS);
this.isCrushedBy.add(ShotKind.LIZARD);
break;
case ROCK:
this.crushes.add(ShotKind.LIZARD);
this.crushes.add(ShotKind.SCISSORS);
this.isCrushedBy.add(ShotKind.SPOKE);
this.isCrushedBy.add(ShotKind.PAPER);
break;
case SCISSORS:
this.crushes.add(ShotKind.PAPER);
this.crushes.add(ShotKind.LIZARD);
this.isCrushedBy.add(ShotKind.ROCK);
this.isCrushedBy.add(ShotKind.SPOKE);
break;
case SPOKE:
this.crushes.add(ShotKind.SCISSORS);
this.crushes.add(ShotKind.ROCK);
this.isCrushedBy.add(ShotKind.PAPER);
this.isCrushedBy.add(ShotKind.LIZARD);
break;
case LIZARD:
this.crushes.add(ShotKind.PAPER);
this.crushes.add(ShotKind.SPOKE);
this.isCrushedBy.add(ShotKind.ROCK);
this.isCrushedBy.add(ShotKind.SCISSORS);
break;
}
}
}
| [
"[email protected]"
]
| |
687624f3d3f8c1c56be81b6f57075c4855496ea6 | 842918b834b511c90d1fa691366e8e6f5aa0dc09 | /src/main/java/io/empowerhack/hub/controller/AuthenticationController.java | d5f8f2cb3fa3274e16072f7488ccb956f2fc97c8 | [
"MIT"
]
| permissive | empowerhack/hub | 96f9596e613ba8f2d754c10d637044bdb56f4227 | 871f644794503f488b430a52f8ad28a979c1bc59 | refs/heads/dev | 2021-01-21T04:18:58.330444 | 2016-04-13T05:30:55 | 2016-04-13T05:30:55 | 50,142,001 | 16 | 5 | null | 2016-02-26T12:46:28 | 2016-01-21T22:46:31 | Java | UTF-8 | Java | false | false | 418 | java | package io.empowerhack.hub.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@Controller
public final class AuthenticationController {
@RequestMapping(value = {"/login"}, method = RequestMethod.GET)
public String login() {
return "authentication/login";
}
}
| [
"[email protected]"
]
| |
76d889d43914ac738887f3b19ab3f5910e9556b0 | 05612d68060e912d20d399b8b08844332d806a06 | /src/main/java/me/cjmcrae/reportingengine/service/impl/InstructionServiceImpl.java | 285b3266b6346d3adac230893b0942cb6bc2b369 | []
| no_license | Althum2000/jpm-test | c130d7822bfa6f503fb346fed7bb5637bc58d291 | 8b141388049b390ec66f7945c577e544000ed85f | refs/heads/master | 2020-03-19T07:09:29.677461 | 2018-06-05T07:47:38 | 2018-06-05T07:47:38 | 136,091,201 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,905 | java | /******************************************************************
* Copyright 2018 Abstract Software Ltd. All rights reserved.
*
* No part of this code may be reproduced, distributed or ported
* to another programming language without the express written
* consent of Abstract Software Ltd.
******************************************************************/
package me.cjmcrae.reportingengine.service.impl;
import java.util.ArrayList;
import java.util.List;
import me.cjmcrae.reportingengine.exception.InvalidCurrencyException;
import me.cjmcrae.reportingengine.model.Instruction;
import me.cjmcrae.reportingengine.model.ProcessedInstruction;
import me.cjmcrae.reportingengine.service.CalculationService;
import me.cjmcrae.reportingengine.service.CurrencyService;
import me.cjmcrae.reportingengine.service.InstructionService;
/**
*
* Author: Colin J McRae
* Date: 04-Jun-2018
*
*/
public class InstructionServiceImpl implements InstructionService {
private final CurrencyService currencyService;
private final CalculationService calculationService;
public InstructionServiceImpl() {
currencyService = new CurrencyServiceImpl();
calculationService = new CalculationServiceImpl();
}
@Override
public List<ProcessedInstruction> processInstructions(List<Instruction> instructions) {
List<ProcessedInstruction> processedInstructions = new ArrayList<>();
instructions.forEach(instruction -> {
ProcessedInstruction processedInstruction = this.processInstruction(instruction);
processedInstructions.add(processedInstruction);
});
return processedInstructions;
}
private ProcessedInstruction processInstruction(Instruction instruction) {
ProcessedInstruction processedInstruction = new ProcessedInstruction(instruction);
try{
//check the currency of the instruction
if(!currencyService.isAllowable(instruction.getCurrency().getCode())){
throw new InvalidCurrencyException("Instruction has an invalid currency code.");
}
//calculate the total trade value
processedInstruction.setTotalTradeAmount(calculationService.calculateTradeTotalValue(instruction.getPricePerUnit(),
instruction.getUnits(), instruction.getAgreedFx()));
//update the settlement date if required
processedInstruction.setRevisedSettlementDate(calculationService.calculateRevisedSettlementDate(instruction.getSettlementDate(),
instruction.getCurrency()));
processedInstruction.setProcessedSuccessfully(true);
} catch(InvalidCurrencyException e){
processedInstruction.setProcessedSuccessfully(false);
processedInstruction.setErrorMessage(e.getMessage());
}
return processedInstruction;
}
}
| [
"[email protected]"
]
| |
296ccd0bf8a91ded767bcacee7d638f4470e0b3a | 774b50fe5091754f23ef556c07a4d1aab56efe27 | /oag/src/main/java/org/oagis/model/v101/ChangeIssueInventoryType.java | 3f1ff8115eb2e6bf42a584e948bfdc1f0f023eb1 | []
| no_license | otw1248/thirdpartiess | daa297c2f44adb1ffb6530f88eceab6b7f37b109 | 4cbc4501443d807121656e47014d70277ff30abc | refs/heads/master | 2022-12-07T17:10:17.320160 | 2022-11-28T10:56:19 | 2022-11-28T10:56:19 | 33,661,485 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,054 | java | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.04.09 at 04:19:37 PM CST
//
package org.oagis.model.v101;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ChangeIssueInventoryType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="ChangeIssueInventoryType">
* <complexContent>
* <extension base="{http://www.openapplications.org/oagis/10}BusinessObjectDocumentType">
* <sequence>
* <element name="DataArea" type="{http://www.openapplications.org/oagis/10}ChangeIssueInventoryDataAreaType"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ChangeIssueInventoryType", propOrder = {
"dataArea"
})
public class ChangeIssueInventoryType
extends BusinessObjectDocumentType
{
@XmlElement(name = "DataArea", required = true)
protected ChangeIssueInventoryDataAreaType dataArea;
/**
* Gets the value of the dataArea property.
*
* @return
* possible object is
* {@link ChangeIssueInventoryDataAreaType }
*
*/
public ChangeIssueInventoryDataAreaType getDataArea() {
return dataArea;
}
/**
* Sets the value of the dataArea property.
*
* @param value
* allowed object is
* {@link ChangeIssueInventoryDataAreaType }
*
*/
public void setDataArea(ChangeIssueInventoryDataAreaType value) {
this.dataArea = value;
}
}
| [
"[email protected]"
]
| |
8b09e6ce5ca733bb309cb1e499e9192b8d86cc5a | d0f3cf10457465dde3eca11d9b87e3f98919e27f | /src/test/java/ru/strobo/sh/HomeControllApplicationTests.java | c87a1463cd2b8b030346132d9a36b6f090193a5f | []
| no_license | KBaukov/homeControl | 933c3bb50c66b523bd66e4c4abc1ab48543ecf26 | 4b0f90923439e8f291bf975d009d0307ca407376 | refs/heads/master | 2021-05-05T00:51:58.381658 | 2018-05-04T12:51:24 | 2018-05-04T12:51:24 | 119,562,867 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 335 | java | package ru.strobo.sh;
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 HomeControllApplicationTests {
@Test
public void contextLoads() {
}
}
| [
"[email protected]"
]
| |
d988ce61b35498d1b015a4b5b3d16dffaf9f0565 | 378d88c960bb4d943095c16468aebd24b80d4ae4 | /core/src/main/java/hu/psprog/leaflet/lcfa/core/domain/content/HomePageContent.java | d628b76aca862e6c3ef10b9a77ae37af4402b7c7 | []
| no_license | petersmith-hun/leaflet-content-front-application | 2e99aa438a9acb8da237e9cc5e3ffd88357eb1a5 | 3ce6ad8a7b9f513c26d02f1a2368e2a79dda294f | refs/heads/master | 2023-07-22T12:08:01.390960 | 2023-07-09T15:25:55 | 2023-07-09T15:25:55 | 167,618,380 | 1 | 0 | null | 2023-07-09T15:25:57 | 2019-01-25T21:47:24 | Java | UTF-8 | Java | false | false | 480 | java | package hu.psprog.leaflet.lcfa.core.domain.content;
import hu.psprog.leaflet.lcfa.core.domain.common.PaginationAttributes;
import lombok.Builder;
import java.util.List;
/**
* Domain class holding all the necessary information for home page rendering.
*
* @author Peter Smith
*/
@Builder
public record HomePageContent(
List<EntrySummary> entries,
List<CategorySummary> categories,
List<TagSummary> tags,
PaginationAttributes pagination
) { }
| [
"[email protected]"
]
| |
54d553d9a214f1a39ef44ce6ba65e64c37070650 | 891ca5f3ecb6b0b6bc6d776797a0837fb81df39f | /aws-base/src/main/java/pl/kania/base/model/ProductQuantity.java | 81b7a2af07e027aaf998eba4081d552268b23321 | [
"MIT"
]
| permissive | jaskier07/AWS-recipe-manager | 54616603a78d22b793f9376cb062effbb5fab487 | 3f301093a72a1f3a8baa74b5b369028cd28f17e0 | refs/heads/master | 2023-03-19T17:59:46.689137 | 2021-03-15T21:07:57 | 2021-03-15T21:07:57 | 312,400,060 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 938 | java | package pl.kania.base.model;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import javax.persistence.*;
@Getter
@Entity
@IdClass(ProductQuantityPK.class)
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class ProductQuantity {
@Id
@ManyToOne(cascade = {CascadeType.PERSIST})
@JoinColumn(name = "ID_PRODUCT", referencedColumnName = "id")
private Product product;
@Id
@ManyToOne(cascade = {CascadeType.PERSIST})
@JoinColumn(name = "ID_RECIPE", referencedColumnName = "id")
private Recipe recipe;
@Column(name = "AMOUNT")
private double amount;
@Column(name = "AMOUNT_TYPE")
private AmountType amountType;
public ProductQuantity(Product product, Recipe recipe, double amount, AmountType amountType) {
this.product = product;
this.recipe = recipe;
this.amount = amount;
this.amountType = amountType;
}
}
| [
"[email protected]"
]
| |
d46b190c0b9734753d24c2243dbef689bc52d438 | 761c3755d4684148a6aa8d898ee1b34c887f43f6 | /dk.dtu.compute.mbse.petrinet/src/dk/dtu/compute/mbse/petrinet/impl/NodeImpl.java | cdfc032c56550195123b6e98ddad55c56687b71e | []
| no_license | tobiasf670/MBSE | 6717d12b08865a71950bb3831b67dda6d2a4c0bf | af2271a037887b9ee88ab9ff5bd634520156b357 | refs/heads/master | 2021-01-19T10:29:13.713815 | 2017-02-16T13:41:05 | 2017-02-16T13:41:05 | 82,183,885 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 6,919 | java | /**
*/
package dk.dtu.compute.mbse.petrinet.impl;
import dk.dtu.compute.mbse.petrinet.Arc;
import dk.dtu.compute.mbse.petrinet.Node;
import dk.dtu.compute.mbse.petrinet.PetrinetPackage;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
import org.eclipse.emf.ecore.util.InternalEList;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Node</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* </p>
* <ul>
* <li>{@link dk.dtu.compute.mbse.petrinet.impl.NodeImpl#getName <em>Name</em>}</li>
* <li>{@link dk.dtu.compute.mbse.petrinet.impl.NodeImpl#getIn <em>In</em>}</li>
* <li>{@link dk.dtu.compute.mbse.petrinet.impl.NodeImpl#getOut <em>Out</em>}</li>
* </ul>
*
* @generated
*/
public abstract class NodeImpl extends MinimalEObjectImpl.Container implements Node {
/**
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected static final String NAME_EDEFAULT = null;
/**
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getName()
* @generated
* @ordered
*/
protected String name = NAME_EDEFAULT;
/**
* The cached value of the '{@link #getIn() <em>In</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getIn()
* @generated
* @ordered
*/
protected EList<Arc> in;
/**
* The cached value of the '{@link #getOut() <em>Out</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #getOut()
* @generated
* @ordered
*/
protected EList<Arc> out;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected NodeImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return PetrinetPackage.Literals.NODE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public String getName() {
return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, PetrinetPackage.NODE__NAME, oldName, name));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<Arc> getIn() {
if (in == null) {
in = new EObjectWithInverseResolvingEList<Arc>(Arc.class, this, PetrinetPackage.NODE__IN, PetrinetPackage.ARC__TARGET);
}
return in;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EList<Arc> getOut() {
if (out == null) {
out = new EObjectWithInverseResolvingEList<Arc>(Arc.class, this, PetrinetPackage.NODE__OUT, PetrinetPackage.ARC__SOURCE);
}
return out;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PetrinetPackage.NODE__IN:
return ((InternalEList<InternalEObject>)(InternalEList<?>)getIn()).basicAdd(otherEnd, msgs);
case PetrinetPackage.NODE__OUT:
return ((InternalEList<InternalEObject>)(InternalEList<?>)getOut()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
case PetrinetPackage.NODE__IN:
return ((InternalEList<?>)getIn()).basicRemove(otherEnd, msgs);
case PetrinetPackage.NODE__OUT:
return ((InternalEList<?>)getOut()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case PetrinetPackage.NODE__NAME:
return getName();
case PetrinetPackage.NODE__IN:
return getIn();
case PetrinetPackage.NODE__OUT:
return getOut();
}
return super.eGet(featureID, resolve, coreType);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case PetrinetPackage.NODE__NAME:
setName((String)newValue);
return;
case PetrinetPackage.NODE__IN:
getIn().clear();
getIn().addAll((Collection<? extends Arc>)newValue);
return;
case PetrinetPackage.NODE__OUT:
getOut().clear();
getOut().addAll((Collection<? extends Arc>)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case PetrinetPackage.NODE__NAME:
setName(NAME_EDEFAULT);
return;
case PetrinetPackage.NODE__IN:
getIn().clear();
return;
case PetrinetPackage.NODE__OUT:
getOut().clear();
return;
}
super.eUnset(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case PetrinetPackage.NODE__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case PetrinetPackage.NODE__IN:
return in != null && !in.isEmpty();
case PetrinetPackage.NODE__OUT:
return out != null && !out.isEmpty();
}
return super.eIsSet(featureID);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
result.append(name);
result.append(')');
return result.toString();
}
} //NodeImpl
| [
"[email protected]"
]
| |
5dd180c84af72b0b275d326cfad49fa9d984a8a8 | 0c7e91769c7f00950cecb86c3990a7d4234a1b21 | /feign-core/src/test/java/feign/FeignTest.java | fba37b919f511e79b5c7637d2766285ae8f54467 | [
"Apache-2.0"
]
| permissive | gnomix/feign | 683f7bd3caa78f12a35211a4e2849ddf81d63c0b | 6195a81aa25c75ed31bcccb157fc14f8b8649b20 | refs/heads/master | 2021-01-18T03:56:28.903067 | 2013-08-06T18:33:08 | 2013-08-06T18:33:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 16,626 | java | /*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package feign;
import com.google.common.base.Joiner;
import com.google.mockwebserver.MockResponse;
import com.google.mockwebserver.MockWebServer;
import com.google.mockwebserver.SocketPolicy;
import dagger.Lazy;
import dagger.Module;
import dagger.Provides;
import feign.codec.Decoder;
import feign.codec.Encoder;
import feign.codec.ErrorDecoder;
import feign.codec.StringDecoder;
import org.testng.annotations.Test;
import javax.inject.Named;
import javax.inject.Singleton;
import javax.net.ssl.SSLSocketFactory;
import java.io.IOException;
import java.io.Reader;
import java.lang.reflect.Type;
import java.net.URI;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.atomic.AtomicBoolean;
import static dagger.Provides.Type.SET;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
import static org.testng.Assert.fail;
@Test
// unbound wildcards are not currently injectable in dagger.
@SuppressWarnings("rawtypes")
public class FeignTest {
@Test public void closeShutsdownExecutorService() throws IOException, InterruptedException {
final ExecutorService service = Executors.newCachedThreadPool();
new Feign(new Lazy<Executor>() {
@Override public Executor get() {
return service;
}
}) {
@Override public <T> T newInstance(Target<T> target) {
return null;
}
}.close();
assertTrue(service.isShutdown());
}
interface TestInterface {
@RequestLine("POST /") String post();
@RequestLine("POST /")
@Body("%7B\"customer_name\": \"{customer_name}\", \"user_name\": \"{user_name}\", \"password\": \"{password}\"%7D")
void login(
@Named("customer_name") String customer, @Named("user_name") String user, @Named("password") String password);
@RequestLine("POST /") void body(List<String> contents);
@RequestLine("POST /") void form(
@Named("customer_name") String customer, @Named("user_name") String user, @Named("password") String password);
@RequestLine("GET /{1}/{2}") Response uriParam(@Named("1") String one, URI endpoint, @Named("2") String two);
@RequestLine("POST /") Observable<Void> observableVoid();
@RequestLine("POST /") Observable<String> observableString();
@RequestLine("POST /") Observable<Response> observableResponse();
@dagger.Module(overrides = true, library = true)
static class Module {
@Provides(type = SET) Encoder defaultEncoder() {
return new Encoder.Text<Object>() {
@Override public String encode(Object object) {
return object.toString();
}
};
}
@Provides(type = SET) Encoder formEncoder() {
return new Encoder.Text<Map<String, ?>>() {
@Override public String encode(Map<String, ?> object) {
return Joiner.on(',').withKeyValueSeparator("=").join(object);
}
};
}
// just run synchronously
@Provides @Singleton @Named("http") Executor httpExecutor() {
return new Executor() {
@Override public void execute(Runnable command) {
command.run();
}
};
}
}
}
@Test
public void observableVoid() throws IOException, InterruptedException {
final MockWebServer server = new MockWebServer();
server.enqueue(new MockResponse().setResponseCode(200).setBody("foo"));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "http://localhost:" + server.getPort(), new TestInterface.Module());
final AtomicBoolean success = new AtomicBoolean();
Observer<Void> observer = new Observer<Void>() {
@Override public void onNext(Void element) {
fail("on next isn't valid for void");
}
@Override public void onSuccess() {
success.set(true);
}
@Override public void onFailure(Throwable cause) {
fail(cause.getMessage());
}
};
api.observableVoid().subscribe(observer);
assertTrue(success.get());
assertEquals(server.getRequestCount(), 1);
} finally {
server.shutdown();
}
}
@Test
public void observableResponse() throws IOException, InterruptedException {
final MockWebServer server = new MockWebServer();
server.enqueue(new MockResponse().setResponseCode(200).setBody("foo"));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "http://localhost:" + server.getPort(), new TestInterface.Module());
final AtomicBoolean success = new AtomicBoolean();
Observer<Response> observer = new Observer<Response>() {
@Override public void onNext(Response element) {
assertEquals(element.status(), 200);
}
@Override public void onSuccess() {
success.set(true);
}
@Override public void onFailure(Throwable cause) {
fail(cause.getMessage());
}
};
api.observableResponse().subscribe(observer);
assertTrue(success.get());
assertEquals(server.getRequestCount(), 1);
} finally {
server.shutdown();
}
}
@Test
public void incrementString() throws IOException, InterruptedException {
final MockWebServer server = new MockWebServer();
server.enqueue(new MockResponse().setResponseCode(200).setBody("foo"));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "http://localhost:" + server.getPort(), new TestInterface.Module());
final AtomicBoolean success = new AtomicBoolean();
Observer<String> observer = new Observer<String>() {
@Override public void onNext(String element) {
assertEquals(element, "foo");
}
@Override public void onSuccess() {
success.set(true);
}
@Override public void onFailure(Throwable cause) {
fail(cause.getMessage());
}
};
api.observableString().subscribe(observer);
assertTrue(success.get());
assertEquals(server.getRequestCount(), 1);
} finally {
server.shutdown();
}
}
@Test
public void multipleObservers() throws IOException, InterruptedException {
final MockWebServer server = new MockWebServer();
server.enqueue(new MockResponse().setResponseCode(200).setBody("foo"));
server.enqueue(new MockResponse().setResponseCode(200).setBody("foo"));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "http://localhost:" + server.getPort(), new TestInterface.Module());
final CountDownLatch latch = new CountDownLatch(2);
Observer<String> observer = new Observer<String>() {
@Override public void onNext(String element) {
assertEquals(element, "foo");
}
@Override public void onSuccess() {
latch.countDown();
}
@Override public void onFailure(Throwable cause) {
fail(cause.getMessage());
}
};
Observable<String> observable = api.observableString();
observable.subscribe(observer);
observable.subscribe(observer);
latch.await();
assertEquals(server.getRequestCount(), 2);
} finally {
server.shutdown();
}
}
@Test
public void postTemplateParamsResolve() throws IOException, InterruptedException {
final MockWebServer server = new MockWebServer();
server.enqueue(new MockResponse().setResponseCode(200).setBody("foo"));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "http://localhost:" + server.getPort(), new TestInterface.Module());
api.login("netflix", "denominator", "password");
assertEquals(new String(server.takeRequest().getBody()),
"{\"customer_name\": \"netflix\", \"user_name\": \"denominator\", \"password\": \"password\"}");
} finally {
server.shutdown();
}
}
@Test
public void postFormParams() throws IOException, InterruptedException {
final MockWebServer server = new MockWebServer();
server.enqueue(new MockResponse().setResponseCode(200).setBody("foo"));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "http://localhost:" + server.getPort(), new TestInterface.Module());
api.form("netflix", "denominator", "password");
assertEquals(new String(server.takeRequest().getBody()),
"customer_name=netflix,user_name=denominator,password=password");
} finally {
server.shutdown();
}
}
@Test
public void postBodyParam() throws IOException, InterruptedException {
final MockWebServer server = new MockWebServer();
server.enqueue(new MockResponse().setResponseCode(200).setBody("foo"));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "http://localhost:" + server.getPort(), new TestInterface.Module());
api.body(Arrays.asList("netflix", "denominator", "password"));
assertEquals(new String(server.takeRequest().getBody()), "[netflix, denominator, password]");
} finally {
server.shutdown();
}
}
@Test public void toKeyMethodFormatsAsExpected() throws Exception {
assertEquals(Feign.configKey(TestInterface.class.getDeclaredMethod("post")), "TestInterface#post()");
assertEquals(Feign.configKey(TestInterface.class.getDeclaredMethod("uriParam", String.class, URI.class,
String.class)), "TestInterface#uriParam(String,URI,String)");
}
@dagger.Module(overrides = true, library = true, includes = TestInterface.Module.class)
static class IllegalArgumentExceptionOn404 {
@Provides @Singleton ErrorDecoder errorDecoder() {
return new ErrorDecoder.Default() {
@Override
public Exception decode(String methodKey, Response response) {
if (response.status() == 404)
return new IllegalArgumentException("zone not found");
return super.decode(methodKey, response);
}
};
}
}
@Test(expectedExceptions = IllegalArgumentException.class, expectedExceptionsMessageRegExp = "zone not found")
public void canOverrideErrorDecoder() throws IOException, InterruptedException {
final MockWebServer server = new MockWebServer();
server.enqueue(new MockResponse().setResponseCode(404).setBody("foo"));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "http://localhost:" + server.getPort(),
new IllegalArgumentExceptionOn404());
api.post();
} finally {
server.shutdown();
}
}
@Test public void retriesLostConnectionBeforeRead() throws IOException, InterruptedException {
MockWebServer server = new MockWebServer();
server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_AT_START));
server.enqueue(new MockResponse().setResponseCode(200).setBody("success!".getBytes()));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "http://localhost:" + server.getPort(),
new TestInterface.Module());
api.post();
assertEquals(server.getRequestCount(), 2);
} finally {
server.shutdown();
}
}
@dagger.Module(overrides = true, library = true, includes = TestInterface.Module.class)
static class DecodeFail {
@Provides(type = SET) Decoder decoder() {
return new Decoder.TextStream<String>() {
@Override
public String decode(Reader reader, Type type) throws IOException {
return "fail";
}
};
}
}
public void overrideTypeSpecificDecoder() throws IOException, InterruptedException {
MockWebServer server = new MockWebServer();
server.enqueue(new MockResponse().setResponseCode(200).setBody("success!".getBytes()));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "http://localhost:" + server.getPort(),
new DecodeFail());
assertEquals(api.post(), "fail");
} finally {
server.shutdown();
assertEquals(server.getRequestCount(), 1);
}
}
@dagger.Module(overrides = true, library = true, includes = TestInterface.Module.class)
static class RetryableExceptionOnRetry {
@Provides(type = SET) Decoder decoder() {
return new StringDecoder() {
@Override
public String decode(Reader reader, Type type) throws RetryableException, IOException {
String string = super.decode(reader, type);
if ("retry!".equals(string))
throw new RetryableException(string, null);
return string;
}
};
}
}
/**
* when you must parse a 2xx status to determine if the operation succeeded or not.
*/
public void retryableExceptionInDecoder() throws IOException, InterruptedException {
MockWebServer server = new MockWebServer();
server.enqueue(new MockResponse().setResponseCode(200).setBody("retry!".getBytes()));
server.enqueue(new MockResponse().setResponseCode(200).setBody("success!".getBytes()));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "http://localhost:" + server.getPort(),
new RetryableExceptionOnRetry());
assertEquals(api.post(), "success!");
} finally {
server.shutdown();
assertEquals(server.getRequestCount(), 2);
}
}
@dagger.Module(overrides = true, library = true, includes = TestInterface.Module.class)
static class IOEOnDecode {
@Provides(type = SET) Decoder decoder() {
return new Decoder.TextStream<String>() {
@Override
public String decode(Reader reader, Type type) throws IOException {
throw new IOException("error reading response");
}
};
}
}
@Test(expectedExceptions = FeignException.class, expectedExceptionsMessageRegExp = "error reading response POST http://.*")
public void doesntRetryAfterResponseIsSent() throws IOException, InterruptedException {
MockWebServer server = new MockWebServer();
server.enqueue(new MockResponse().setResponseCode(200).setBody("success!".getBytes()));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "http://localhost:" + server.getPort(),
new IOEOnDecode());
api.post();
} finally {
server.shutdown();
assertEquals(server.getRequestCount(), 1);
}
}
@Module(injects = Client.Default.class, overrides = true)
static class TrustSSLSockets {
@Provides SSLSocketFactory trustingSSLSocketFactory() {
return TrustingSSLSocketFactory.get();
}
}
@Test public void canOverrideSSLSocketFactory() throws IOException, InterruptedException {
MockWebServer server = new MockWebServer();
server.useHttps(TrustingSSLSocketFactory.get(), false);
server.enqueue(new MockResponse().setResponseCode(200).setBody("success!".getBytes()));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "https://localhost:" + server.getPort(),
new TestInterface.Module(), new TrustSSLSockets());
api.post();
} finally {
server.shutdown();
}
}
@Test public void retriesFailedHandshake() throws IOException, InterruptedException {
MockWebServer server = new MockWebServer();
server.useHttps(TrustingSSLSocketFactory.get(), false);
server.enqueue(new MockResponse().setSocketPolicy(SocketPolicy.FAIL_HANDSHAKE));
server.enqueue(new MockResponse().setResponseCode(200).setBody("success!".getBytes()));
server.play();
try {
TestInterface api = Feign.create(TestInterface.class, "https://localhost:" + server.getPort(),
new TestInterface.Module(), new TrustSSLSockets());
api.post();
assertEquals(server.getRequestCount(), 2);
} finally {
server.shutdown();
}
}
}
| [
"[email protected]"
]
| |
786f5691d76c010113e0dc0a733dad57f470393a | f4300afeee2ac601cbea6da02dce852f878b6be8 | /src/ClassandObjects/DeclaringClasses.java | 12e0eef328a91870497410abf8560ed179b29fa2 | []
| no_license | rink0123/Study_JAVA | a7c0b2db9ec440535f60dd5b527d368887bd6843 | 7868057050611bd227e83054ee35c705ce9ba9a9 | refs/heads/master | 2023-03-11T05:20:36.057659 | 2021-02-28T11:32:02 | 2021-02-28T11:32:02 | 337,955,464 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 5,104 | java | package ClassandObjects;
/**
* <h3>ํด๋์ค ์ ์ธ(Declaring Classes)</h3>
*
* <h4>์ฐธ๊ณ ์ฌ์ดํธ</h4>
* <ul>
* <li><a href="https://docs.oracle.com/javase/tutorial/java/javaOO/classes.html">
* Java Tutorials > Classes and Objects > Classes</a></li>
* <li><a href="https://docs.oracle.com/javase/tutorial/java/javaOO/classdecl.html">
* Java Tutorials > Classes and Objects > Declaring Classes</a></li>
* <li><a href="http://www.tcpschool.com/java/java_class_intro">TCP School > JAVA > 26) ํด๋์ค์ ๊ฐ๋
</a></li>
* <li><a href="http://www.tcpschool.com/java/java_class_component">TCP School > JAVA > 27) ํด๋์ค์ ๊ตฌ์ฑ</a></li>
* <li><a href="http://www.tcpschool.com/java/java_class_declaration">TCP School > JAVA > 28) ํด๋์ค์ ์ ์ธ</a></li>
* </ul>
*
* @since JDK 11
* @version 1.0.0.RELEASE
* @author ๊ฐ๋ฏผ์ฑ
*/
public class DeclaringClasses {
/*
* ๊ฐ์ฒด ์งํฅ ํ๋ก๊ทธ๋๋ฐ(OOP, Object-Oriented Programming)
* 1. ๋ชจ๋ ๋ฐ์ดํฐ๋ฅผ ๊ฐ์ฒด(object)๋ก ์ทจ๊ธํ๋ฉฐ, ์ด๋ฌํ ๊ฐ์ฒด๊ฐ ๋ฐ๋ก ํ๋ก๊ทธ๋๋ฐ์ ์ค์ฌ์ด ๋๋ค.
* 2. ๊ฐ์ฒด(object)๋ ๊ฐ๋จํ ์ด์ผ๊ธฐํ์๋ฉด ์ค์ํ์์ ์ฐ๋ฆฌ๊ฐ ์ธ์ํ ์ ์๋ ์ฌ๋ฌผ๋ก ์ค๋ช
ํ ์ ์๋ค.
* ์ด๋ฌํ ๊ฐ์ฒด์ ์ํ(state)์ ํ๋(behavior)์ ๊ตฌ์ฒดํํ๋ ํํ์ ํ๋ก๊ทธ๋๋ฐ์ด ๋ฐ๋ก ๊ฐ์ฒด ์งํฅ ํ๋ก๊ทธ๋๋ฐ์ด๋ค.
* 3. ๊ฐ์ฒด๋ฅผ ๋ง๋ค์ด ๋ด๊ธฐ ์ํ ์ค๊ณ๋์ ๊ฐ์ ๊ฐ๋
์ ํด๋์ค(class)๋ผ๊ณ ํ๋ค.
*
*
* class(ํด๋์ค)
* 1. class๋ ๊ฐ์ฒด ์งํฅ ํ๋ก๊ทธ๋๋ฐ(OOP, Object-Oriented Programming)๋ฅผ ์ ์ํ๋ ๊ฐ๋
์ค ํ๋๋ก,
* ํน์ ๊ฐ์ฒด๋ฅผ ์์ฑํ๊ธฐ ์ํด variable(๋ณ์)์ method(ํจ์)๋ฅผ ์ ์ํ๋ ์ผ์ข
์ ํ(Blueprint, ์ฒญ์ฌ์ง)์ด๋ค.
* 2. ๊ฐ์ฒด๋ฅผ ์ ์ํ๊ธฐ ์ํ ์ํ(member variable=field)์ ๊ฐ์ฒด์ ํ๋์ ๋ํ๋ด๋ method(ํจ์)๋ก ๊ตฌ์ฑ๋๋ค.
* ๋ํ, ์์ฑ๋ ๊ฐ์ฒด์ field๋ฅผ ์ด๊ธฐํํด์ฃผ๋ ํน๋ณํ method์ธ constructor(์์ฑ์)๋ฅผ ๊ฐ์ง๋ค.
* 3. ๊ฐ์ฒด๋ class๋ก ๊ท์ ๋ instance๋ก์, ๋ณ์ ๋์ ์ค์ ๊ฐ์ ๊ฐ์ง๋ค.
*
*
* class ์ ์ธ ๋ฐฉ๋ฒ
* public class Car { -> ์์๋๋ก ์ ๊ทผ์ ์ด์, ํค์๋, class๋ช
.
* private String modelName; -> class ํ๋;.
* private int modelYear;
* ...
* public void brake() {} -> class ๋ฉ์๋;.
* ...
* } -> class์ ๋ฉค๋ฒ
*
*
* instance(๊ฐ์ฒดํ)
* 1. ํด๋์ค๋ก๋ถํฐ ๊ฐ์ฒด๋ฅผ ์ ์ธํ๋ ๊ณผ์ ์ ํด๋์ค์ ์ธ์คํด์คํ(=๊ฐ์ฒดํ)๋ผ๊ณ ํ๋ค.
* ๋ํ, ์ด๋ ๊ฒ ์ ์ธ๋ ํด๋น ํด๋์ค ํ์
์ ๊ฐ์ฒด๋ฅผ ์ธ์คํด์ค(instance)๋ผ๊ณ ํ๋ค.
* ์ฆ, ์ธ์คํด์ค๋ ๋ฉ๋ชจ๋ฆฌ์ ํ ๋น๋ ๊ฐ์ฒด๋ฅผ ์๋ฏธํ๋ค.
* 2. ํ๋์ ํด๋์ค๋ก๋ถํฐ ์ฌ๋ฌ ๊ฐ์ ์ธ์คํด์ค๋ฅผ ์์ฑํ ์ ์๋ค.
* 3. ์์ฑ๋ ์ธ์คํด์ค๋ ๋
๋ฆฝ๋ ๋ฉ๋ชจ๋ฆฌ ๊ณต๊ฐ์ ์ ์ฅ๋ ์์ ๋ง์ ํ๋๋ฅผ ๊ฐ์ง ์ ์๋ค.
* 4. ํด๋น ํด๋์ค์ ๋ชจ๋ method(ํจ์)๋ ํด๋น ํด๋์ค์์ ์์ฑ๋ ๋ชจ๋ ์ธ์คํด์ค๊ฐ ๊ณต์ ํ๊ฒ ๋๋ค.
*
*
* instance ์ ์ธ ๋ฐฉ๋ฒ
* 1. Car myCar; -> ํด๋์ค์ด๋ฆ ๊ฐ์ฒด์ฐธ์กฐ๋ณ์์ด๋ฆ;
* myCar = new Car(); -> ๊ฐ์ฒด์ฐธ์กฐ๋ณ์์ด๋ฆ = new ํด๋์ค์ด๋ฆ();
* 2. Car myCar = new Car(); -> ํด๋์ค์ด๋ฆ ๊ฐ์ฒด์ฐธ์กฐ๋ณ์์ด๋ฆ = new ํด๋์ค์ด๋ฆ();
*/
// ํ๋ cadence, speed, gear๋ ๊ฐ์ฒด์ ์ํ๋ฅผ ๋ํ๋ธ๋ค.
int cadence = 0;
int speed = 0;
int gear = 1;
// ๋ฉ์๋(changeCadence, changeGear, speedUp ๋ฑ)๋ ์ธ๋ถ์ ์ํธ ์์ฉ์ ์ ์ํ๋ค.
public void changeCadence(int newValue) {
cadence = newValue;
}
public void changeGear(int newValue) {
gear = newValue;
}
public void speedUp(int increment) {
speed = speed + increment;
}
public void applyBrakes(int decrement) {
speed = speed - decrement;
}
public void printStates() {
System.out.printf("cadence: %d, speed: %d, gear: %d\n", cadence, speed, gear);
}
public static void main(String[] args) {
// ๋ณ์๋ช
๋ง ๋ค๋ฅธ ๋ ๊ฐ์ง ๊ฐ์ ๊ฐ์ฒด ์์ฑ.
DeclaringClasses bike1 = new DeclaringClasses();
DeclaringClasses bike2 = new DeclaringClasses();
// ํด๋น ๊ฐ์ฒด์ ๋ฉ์๋ ํธ์ถ.
bike1.changeCadence(50);
bike1.speedUp(10);
bike1.changeGear(2);
bike1.printStates();
// ๊ฒฐ๊ณผ: cadence: 50, speed: 10, gear: 2
bike2.changeCadence(50);
bike2.speedUp(10);
bike2.changeGear(2);
bike2.changeCadence(40);
bike2.speedUp(10);
bike2.changeGear(3);
bike2.printStates();
// ๊ฒฐ๊ณผ: cadence: 40, speed: 20, gear: 3
/*
* ๋ณ์๋ช
๋ง ๋ค๋ฅธ ๊ฐ์ ํด๋์ค๋ฅผ ๊ฐ์ฒดํํ์ฌ ํด๋น ๊ฐ์ฒด ๋ด๋ถ์ method๋ฅผ ์คํํ๋ฉด ์๋ก ๋ค๋ฅธ ๊ฐ์ด ๋์จ๋ค.
* ๊ทธ ์ด์ ๋ ๊ฒฐ์ ์ ์ธ ํค์๋์ธ new๋ฅผ ํตํด ์๋ก์ด ๋ฉ๋ชจ๋ฆฌ ์์ญ์ ๋ง๋ค์ด ์๊ธฐ ์์ ์๊ฒ ๋์
ํด ๋
๋ฆฝ์ ์ธ ๊ฐ์ฒด๊ฐ ๋ ๊ฒ์ด๋ค.
* ๋ํ ๋
๋ฆฝ๋ ๊ฐ์ฒด๋ฅผ ๊ตฌ๋ถํ๊ธฐ ์ํด์ ๋ณ์๋ช
์ ์๋ก ๋ค๋ฅด๊ฒ ํด์ผํ๋ค๋ ๊ฒ์ด๋ค.
*/
}
} | [
"[email protected]"
]
| |
cda20ecb04bb9c532fe15ab7ca19247b925a8c57 | 28699fe5e297bb6f640e51b5b6cd039a956c6cdd | /app/src/main/java/mabwe/com/cropper/CropImageViewOptions.java | 47221438ce492f649a62232973a578b3e411e06d | []
| no_license | yashank7879/Mabwe | bb8a386a4a871506b6af88f452dfd1b7c144e0f6 | 89752e6da5fdaa554da878dbcb1b577fd2bd0431 | refs/heads/master | 2020-04-18T01:49:49.280365 | 2019-01-23T07:17:16 | 2019-01-23T07:17:16 | 167,136,275 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 981 | java | // "Therefore those skilled at the unorthodox
// are infinite as heaven and earth,
// inexhaustible as the great rivers.
// When they come to an end,
// they begin again,
// like the days and months;
// they die and are reborn,
// like the four seasons."
//
// - Sun Tsu,
// "The Art of War"
package mabwe.com.cropper;
import android.util.Pair;
/**
* The crop image view options that can be changed live.
*/
final class CropImageViewOptions {
public CropImageView.ScaleType scaleType = CropImageView.ScaleType.CENTER_INSIDE;
public CropImageView.CropShape cropShape = CropImageView.CropShape.RECTANGLE;
public CropImageView.Guidelines guidelines = CropImageView.Guidelines.ON_TOUCH;
public Pair<Integer, Integer> aspectRatio = new Pair<>(1, 1);
public boolean autoZoomEnabled;
public int maxZoomLevel;
public boolean fixAspectRatio;
public boolean multitouch;
public boolean showCropOverlay;
public boolean showProgressBar;
}
| [
"[email protected]"
]
| |
03abf06bdd7670af7a27dab9243293c125976e64 | 7cc39b1ee93832aed70e14224f8a3d991570cca6 | /aws-java-sdk-kinesisanalyticsv2/src/main/java/com/amazonaws/services/kinesisanalyticsv2/model/ReferenceDataSourceDescription.java | 1be01931372de46d5db7ad523ff512dcfba61b6c | [
"Apache-2.0"
]
| permissive | yijiangliu/aws-sdk-java | 74e626e096fe4cee22291809576bb7dc70aef94d | b75779a2ab0fe14c91da1e54be25b770385affac | refs/heads/master | 2022-12-17T10:24:59.549226 | 2020-08-19T23:46:40 | 2020-08-19T23:46:40 | 289,107,793 | 1 | 0 | Apache-2.0 | 2020-08-20T20:49:17 | 2020-08-20T20:49:16 | null | UTF-8 | Java | false | false | 12,491 | java | /*
* Copyright 2015-2020 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.kinesisanalyticsv2.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
* <p>
* For an SQL-based Amazon Kinesis Data Analytics application, describes the reference data source configured for an
* application.
* </p>
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ReferenceDataSourceDescription"
* target="_top">AWS API Documentation</a>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class ReferenceDataSourceDescription implements Serializable, Cloneable, StructuredPojo {
/**
* <p>
* The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the
* reference data source to your application using the <a>CreateApplication</a> or <a>UpdateApplication</a>
* operation.
* </p>
*/
private String referenceId;
/**
* <p>
* The in-application table name created by the specific reference data source configuration.
* </p>
*/
private String tableName;
/**
* <p>
* Provides the Amazon S3 bucket name, the object key name that contains the reference data.
* </p>
*/
private S3ReferenceDataSourceDescription s3ReferenceDataSourceDescription;
/**
* <p>
* Describes the format of the data in the streaming source, and how each data element maps to corresponding columns
* created in the in-application stream.
* </p>
*/
private SourceSchema referenceSchema;
/**
* <p>
* The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the
* reference data source to your application using the <a>CreateApplication</a> or <a>UpdateApplication</a>
* operation.
* </p>
*
* @param referenceId
* The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the
* reference data source to your application using the <a>CreateApplication</a> or <a>UpdateApplication</a>
* operation.
*/
public void setReferenceId(String referenceId) {
this.referenceId = referenceId;
}
/**
* <p>
* The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the
* reference data source to your application using the <a>CreateApplication</a> or <a>UpdateApplication</a>
* operation.
* </p>
*
* @return The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the
* reference data source to your application using the <a>CreateApplication</a> or <a>UpdateApplication</a>
* operation.
*/
public String getReferenceId() {
return this.referenceId;
}
/**
* <p>
* The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the
* reference data source to your application using the <a>CreateApplication</a> or <a>UpdateApplication</a>
* operation.
* </p>
*
* @param referenceId
* The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the
* reference data source to your application using the <a>CreateApplication</a> or <a>UpdateApplication</a>
* operation.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ReferenceDataSourceDescription withReferenceId(String referenceId) {
setReferenceId(referenceId);
return this;
}
/**
* <p>
* The in-application table name created by the specific reference data source configuration.
* </p>
*
* @param tableName
* The in-application table name created by the specific reference data source configuration.
*/
public void setTableName(String tableName) {
this.tableName = tableName;
}
/**
* <p>
* The in-application table name created by the specific reference data source configuration.
* </p>
*
* @return The in-application table name created by the specific reference data source configuration.
*/
public String getTableName() {
return this.tableName;
}
/**
* <p>
* The in-application table name created by the specific reference data source configuration.
* </p>
*
* @param tableName
* The in-application table name created by the specific reference data source configuration.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ReferenceDataSourceDescription withTableName(String tableName) {
setTableName(tableName);
return this;
}
/**
* <p>
* Provides the Amazon S3 bucket name, the object key name that contains the reference data.
* </p>
*
* @param s3ReferenceDataSourceDescription
* Provides the Amazon S3 bucket name, the object key name that contains the reference data.
*/
public void setS3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription s3ReferenceDataSourceDescription) {
this.s3ReferenceDataSourceDescription = s3ReferenceDataSourceDescription;
}
/**
* <p>
* Provides the Amazon S3 bucket name, the object key name that contains the reference data.
* </p>
*
* @return Provides the Amazon S3 bucket name, the object key name that contains the reference data.
*/
public S3ReferenceDataSourceDescription getS3ReferenceDataSourceDescription() {
return this.s3ReferenceDataSourceDescription;
}
/**
* <p>
* Provides the Amazon S3 bucket name, the object key name that contains the reference data.
* </p>
*
* @param s3ReferenceDataSourceDescription
* Provides the Amazon S3 bucket name, the object key name that contains the reference data.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ReferenceDataSourceDescription withS3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription s3ReferenceDataSourceDescription) {
setS3ReferenceDataSourceDescription(s3ReferenceDataSourceDescription);
return this;
}
/**
* <p>
* Describes the format of the data in the streaming source, and how each data element maps to corresponding columns
* created in the in-application stream.
* </p>
*
* @param referenceSchema
* Describes the format of the data in the streaming source, and how each data element maps to corresponding
* columns created in the in-application stream.
*/
public void setReferenceSchema(SourceSchema referenceSchema) {
this.referenceSchema = referenceSchema;
}
/**
* <p>
* Describes the format of the data in the streaming source, and how each data element maps to corresponding columns
* created in the in-application stream.
* </p>
*
* @return Describes the format of the data in the streaming source, and how each data element maps to corresponding
* columns created in the in-application stream.
*/
public SourceSchema getReferenceSchema() {
return this.referenceSchema;
}
/**
* <p>
* Describes the format of the data in the streaming source, and how each data element maps to corresponding columns
* created in the in-application stream.
* </p>
*
* @param referenceSchema
* Describes the format of the data in the streaming source, and how each data element maps to corresponding
* columns created in the in-application stream.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ReferenceDataSourceDescription withReferenceSchema(SourceSchema referenceSchema) {
setReferenceSchema(referenceSchema);
return this;
}
/**
* Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
* redacted from this string using a placeholder value.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getReferenceId() != null)
sb.append("ReferenceId: ").append(getReferenceId()).append(",");
if (getTableName() != null)
sb.append("TableName: ").append(getTableName()).append(",");
if (getS3ReferenceDataSourceDescription() != null)
sb.append("S3ReferenceDataSourceDescription: ").append(getS3ReferenceDataSourceDescription()).append(",");
if (getReferenceSchema() != null)
sb.append("ReferenceSchema: ").append(getReferenceSchema());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof ReferenceDataSourceDescription == false)
return false;
ReferenceDataSourceDescription other = (ReferenceDataSourceDescription) obj;
if (other.getReferenceId() == null ^ this.getReferenceId() == null)
return false;
if (other.getReferenceId() != null && other.getReferenceId().equals(this.getReferenceId()) == false)
return false;
if (other.getTableName() == null ^ this.getTableName() == null)
return false;
if (other.getTableName() != null && other.getTableName().equals(this.getTableName()) == false)
return false;
if (other.getS3ReferenceDataSourceDescription() == null ^ this.getS3ReferenceDataSourceDescription() == null)
return false;
if (other.getS3ReferenceDataSourceDescription() != null
&& other.getS3ReferenceDataSourceDescription().equals(this.getS3ReferenceDataSourceDescription()) == false)
return false;
if (other.getReferenceSchema() == null ^ this.getReferenceSchema() == null)
return false;
if (other.getReferenceSchema() != null && other.getReferenceSchema().equals(this.getReferenceSchema()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getReferenceId() == null) ? 0 : getReferenceId().hashCode());
hashCode = prime * hashCode + ((getTableName() == null) ? 0 : getTableName().hashCode());
hashCode = prime * hashCode + ((getS3ReferenceDataSourceDescription() == null) ? 0 : getS3ReferenceDataSourceDescription().hashCode());
hashCode = prime * hashCode + ((getReferenceSchema() == null) ? 0 : getReferenceSchema().hashCode());
return hashCode;
}
@Override
public ReferenceDataSourceDescription clone() {
try {
return (ReferenceDataSourceDescription) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
@com.amazonaws.annotation.SdkInternalApi
@Override
public void marshall(ProtocolMarshaller protocolMarshaller) {
com.amazonaws.services.kinesisanalyticsv2.model.transform.ReferenceDataSourceDescriptionMarshaller.getInstance().marshall(this, protocolMarshaller);
}
}
| [
""
]
| |
5be633d8127186e5d749976cb0bda7ffb00ca480 | 48e835e6f176a8ac9ae3ca718e8922891f1e5a18 | /benchmark/training/org/nd4j/autodiff/execution/GraphExecutionerTest.java | 6aa350420f7ec6a320382ffc86232e8b91577887 | []
| no_license | STAMP-project/dspot-experiments | f2c7a639d6616ae0adfc491b4cb4eefcb83d04e5 | 121487e65cdce6988081b67f21bbc6731354a47f | refs/heads/master | 2023-02-07T14:40:12.919811 | 2019-11-06T07:17:09 | 2019-11-06T07:17:09 | 75,710,758 | 14 | 19 | null | 2023-01-26T23:57:41 | 2016-12-06T08:27:42 | null | UTF-8 | Java | false | false | 3,109 | java | package org.nd4j.autodiff.execution;
import OutputMode.EXPLICIT;
import OutputMode.IMPLICIT;
import OutputMode.VARIABLE_SPACE;
import lombok.extern.slf4j.Slf4j;
import org.junit.Assert;
import org.junit.Test;
import org.nd4j.autodiff.execution.conf.ExecutorConfiguration;
import org.nd4j.autodiff.samediff.SDVariable;
import org.nd4j.autodiff.samediff.SameDiff;
import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.factory.Nd4j;
/**
* Comparative tests for native executioner vs sequential execution
*
* @author [email protected]
*/
@Slf4j
public class GraphExecutionerTest {
protected static ExecutorConfiguration configVarSpace = ExecutorConfiguration.builder().outputMode(VARIABLE_SPACE).build();
protected static ExecutorConfiguration configExplicit = ExecutorConfiguration.builder().outputMode(EXPLICIT).build();
protected static ExecutorConfiguration configImplicit = ExecutorConfiguration.builder().outputMode(IMPLICIT).build();
/**
* VarSpace should dump everything. 4 variables in our case
*
* @throws Exception
*
*/
@Test
public void testEquality1() throws Exception {
GraphExecutioner executionerA = new BasicGraphExecutioner();
GraphExecutioner executionerB = new NativeGraphExecutioner();
SameDiff sameDiff = SameDiff.create();
INDArray ones = Nd4j.ones(4);
SDVariable sdVariable = sameDiff.var("ones", ones);
SDVariable scalarOne = sameDiff.var("add1", Nd4j.scalar(1.0));
SDVariable result = sdVariable.addi(scalarOne);
SDVariable total = sameDiff.sum(result, Integer.MAX_VALUE);
log.info("TOTAL: {}; Id: {}", total.getVarName(), total);
INDArray[] resB = executionerB.executeGraph(sameDiff, GraphExecutionerTest.configVarSpace);
Assert.assertEquals(6, resB.length);
Assert.assertEquals(Nd4j.create(new float[]{ 2.0F, 2.0F, 2.0F, 2.0F }), resB[4]);
Assert.assertEquals(Nd4j.scalar(1), resB[1]);
Assert.assertEquals(Nd4j.scalar(8.0), resB[5]);
}
/**
* Implicit should return tree edges. So, one variable
*
* @throws Exception
*
*/
@Test
public void testEquality2() throws Exception {
GraphExecutioner executionerA = new BasicGraphExecutioner();
GraphExecutioner executionerB = new NativeGraphExecutioner();
SameDiff sameDiff = SameDiff.create();
INDArray ones = Nd4j.ones(4);
SDVariable sdVariable = sameDiff.var("ones", ones);
SDVariable scalarOne = sameDiff.var("add1", Nd4j.scalar(1.0));
SDVariable result = sdVariable.addi(scalarOne);
SDVariable total = sameDiff.sum(result, Integer.MAX_VALUE);
// log.info("ID: {}",sameDiff.getGraph().getVertex(1).getValue().getId());
INDArray[] resB = executionerB.executeGraph(sameDiff, GraphExecutionerTest.configImplicit);
Assert.assertEquals(1, resB.length);
Assert.assertEquals(Nd4j.scalar(8.0), resB[0]);
// INDArray resA = executionerA.executeGraph(sameDiff)[0];
// assertEquals(resA, resB);
}
}
| [
"[email protected]"
]
| |
c4de12e5fb6c86115f4fa918545f29bdc9d191f6 | 4761a66291f892ca829523b0a855ee304f1ca5d0 | /android/android_framework/dex-maker/src/main/java/com/android/dx/dex/file/TypeIdsSection.java | c2ef6d097e11b8a0fb1fd84d318640c13795d75b | [
"Apache-2.0"
]
| permissive | Tornaco/Thanox | dacd0e01c37c1c0e0a22b72132933cef02f171c8 | 98b077e268c75f598dfba73c7425a25639d8982b | refs/heads/master | 2023-09-06T03:58:39.010663 | 2023-09-05T01:25:18 | 2023-09-05T01:25:18 | 228,014,878 | 1,539 | 85 | Apache-2.0 | 2023-09-06T21:21:12 | 2019-12-14T11:54:54 | Java | UTF-8 | Java | false | false | 5,107 | java | /*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.dx.dex.file;
import com.android.dex.DexFormat;
import com.android.dex.DexIndexOverflowException;
import com.android.dx.rop.cst.Constant;
import com.android.dx.rop.cst.CstType;
import com.android.dx.rop.type.Type;
import com.android.dx.util.AnnotatedOutput;
import com.android.dx.util.Hex;
import java.util.Collection;
import java.util.TreeMap;
/** Type identifiers list section of a {@code .dex} file. */
public final class TypeIdsSection extends UniformItemSection {
/** {@code non-null;} map from types to {@link TypeIdItem} instances */
private final TreeMap<Type, TypeIdItem> typeIds;
/**
* Constructs an instance. The file offset is initially unknown.
*
* @param file {@code non-null;} file that this instance is part of
*/
public TypeIdsSection(DexFile file) {
super("type_ids", file, 4);
typeIds = new TreeMap<Type, TypeIdItem>();
}
/** {@inheritDoc} */
@Override
public Collection<? extends Item> items() {
return typeIds.values();
}
/** {@inheritDoc} */
@Override
public IndexedItem get(Constant cst) {
if (cst == null) {
throw new NullPointerException("cst == null");
}
throwIfNotPrepared();
Type type = ((CstType) cst).getClassType();
IndexedItem result = typeIds.get(type);
if (result == null) {
throw new IllegalArgumentException("not found: " + cst);
}
return result;
}
/**
* Writes the portion of the file header that refers to this instance.
*
* @param out {@code non-null;} where to write
*/
public void writeHeaderPart(AnnotatedOutput out) {
throwIfNotPrepared();
int sz = typeIds.size();
int offset = (sz == 0) ? 0 : getFileOffset();
if (sz > DexFormat.MAX_TYPE_IDX + 1) {
throw new DexIndexOverflowException(
String.format(
"Too many type identifiers to fit in one dex file: %1$d; max is %2$d.%n"
+ "You may try using multi-dex. If multi-dex is enabled then the list of "
+ "classes for the boot dex list is too large.",
items().size(), DexFormat.MAX_MEMBER_IDX + 1));
}
if (out.annotates()) {
out.annotate(4, "type_ids_size: " + Hex.u4(sz));
out.annotate(4, "type_ids_off: " + Hex.u4(offset));
}
out.writeInt(sz);
out.writeInt(offset);
}
/**
* Interns an element into this instance.
*
* @param type {@code non-null;} the type to intern
* @return {@code non-null;} the interned reference
*/
public synchronized TypeIdItem intern(Type type) {
if (type == null) {
throw new NullPointerException("type == null");
}
throwIfPrepared();
TypeIdItem result = typeIds.get(type);
if (result == null) {
result = new TypeIdItem(new CstType(type));
typeIds.put(type, result);
}
return result;
}
/**
* Interns an element into this instance.
*
* @param type {@code non-null;} the type to intern
* @return {@code non-null;} the interned reference
*/
public synchronized TypeIdItem intern(CstType type) {
if (type == null) {
throw new NullPointerException("type == null");
}
throwIfPrepared();
Type typePerSe = type.getClassType();
TypeIdItem result = typeIds.get(typePerSe);
if (result == null) {
result = new TypeIdItem(type);
typeIds.put(typePerSe, result);
}
return result;
}
/**
* Gets the index of the given type, which must have been added to this instance.
*
* @param type {@code non-null;} the type to look up
* @return {@code >= 0;} the reference's index
*/
public int indexOf(Type type) {
if (type == null) {
throw new NullPointerException("type == null");
}
throwIfNotPrepared();
TypeIdItem item = typeIds.get(type);
if (item == null) {
throw new IllegalArgumentException("not found: " + type);
}
return item.getIndex();
}
/**
* Gets the index of the given type, which must have been added to this instance.
*
* @param type {@code non-null;} the type to look up
* @return {@code >= 0;} the reference's index
*/
public int indexOf(CstType type) {
if (type == null) {
throw new NullPointerException("type == null");
}
return indexOf(type.getClassType());
}
/** {@inheritDoc} */
@Override
protected void orderItems() {
int idx = 0;
for (Object i : items()) {
((TypeIdItem) i).setIndex(idx);
idx++;
}
}
}
| [
"[email protected]"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.