blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
4
410
content_id
stringlengths
40
40
detected_licenses
listlengths
0
51
license_type
stringclasses
2 values
repo_name
stringlengths
5
132
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
80
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
5.85k
689M
โŒ€
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
131 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
9.45M
extension
stringclasses
32 values
content
stringlengths
3
9.45M
authors
listlengths
1
1
author_id
stringlengths
0
313
48ee2ccb90ba8262a20d95df18041ab83d193e84
3e7117bf4bd6eb65d9b351bc6c7a65b955ac13aa
/app/src/main/java/com/zxtcode/remembertheword/adpater/WordPagerAdapter.java
462fa9dbc8ce50eb43f66ffaa43985421ad30a59
[]
no_license
yx123lan/RememberTheWord
b7dcc6861920fff78b797d27b71389c3238c48b2
27a6842a66f30b26ba03a6cd1eeb04c5047c00c1
refs/heads/master
2021-01-21T10:33:42.751008
2017-03-14T17:18:08
2017-03-14T17:18:08
83,448,545
0
1
null
null
null
null
UTF-8
Java
false
false
604
java
package com.zxtcode.remembertheword.adpater; import android.app.Fragment; import android.app.FragmentManager; import android.support.wearable.view.FragmentGridPagerAdapter; /** * Created by tarent on 2017/3/1. */ public class WordPagerAdapter extends FragmentGridPagerAdapter { public WordPagerAdapter(FragmentManager fm) { super(fm); } @Override public Fragment getFragment(int i, int i1) { return null; } @Override public int getRowCount() { return 0; } @Override public int getColumnCount(int i) { return 0; } }
[ "lan4627@gmail.com" ]
lan4627@gmail.com
7865f17626cb5d7fb947ee8d6172947cde2834d9
8a91917fe1950fde58508e9de11f1558d0627106
/app/src/main/java/xyz/regin/dbflow/source/SourceList.java
18fddf4c059d53bfbe447b7fb73b52f7d54b6c52
[]
no_license
sajadsoft1/DbFlow
6e379b0608aae6212a9a50354082105bd5a6e7c4
2c83dbe70ac77ba27f49150e545c3e08b9323e5f
refs/heads/master
2021-01-01T18:10:11.479084
2016-12-16T07:32:45
2016-12-16T07:32:45
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,376
java
package xyz.regin.dbflow.source; import java.util.ArrayList; import xyz.regin.dbflow.bean.ContentBean; /** * ----------Dragon be here!----------/ * ใ€€ใ€€ใ€€โ”โ”“ใ€€ใ€€ใ€€โ”โ”“ * ใ€€ใ€€โ”โ”›โ”ปโ”โ”โ”โ”›โ”ปโ”“ * ใ€€ใ€€โ”ƒใ€€ใ€€ใ€€ใ€€ใ€€ใ€€ใ€€โ”ƒ * ใ€€ใ€€โ”ƒใ€€ใ€€ใ€€โ”ใ€€ใ€€ใ€€โ”ƒ * ใ€€ใ€€โ”ƒใ€€โ”ณโ”›ใ€€โ”—โ”ณใ€€โ”ƒ * ใ€€ใ€€โ”ƒใ€€ใ€€ใ€€ใ€€ใ€€ใ€€ใ€€โ”ƒ * ใ€€ใ€€โ”ƒใ€€ใ€€ใ€€โ”ปใ€€ใ€€ใ€€โ”ƒ * ใ€€ใ€€โ”ƒใ€€ใ€€ใ€€ใ€€ใ€€ใ€€ใ€€โ”ƒ * ใ€€ใ€€โ”—โ”โ”“ใ€€ใ€€ใ€€โ”โ”โ”› * ใ€€ใ€€ใ€€ใ€€โ”ƒใ€€ใ€€ใ€€โ”ƒ็ฅžๅ…ฝไฟไฝ‘ * ใ€€ใ€€ใ€€ใ€€โ”ƒใ€€ใ€€ใ€€โ”ƒไปฃ็ ๆ— BUG๏ผ * ใ€€ใ€€ใ€€ใ€€โ”ƒใ€€ใ€€ใ€€โ”—โ”โ”โ”โ”“ * ใ€€ใ€€ใ€€ใ€€โ”ƒใ€€ใ€€ใ€€ใ€€ใ€€ใ€€ใ€€โ”ฃโ”“ * ใ€€ใ€€ใ€€ใ€€โ”ƒใ€€ใ€€ใ€€ใ€€ใ€€ใ€€ใ€€โ”โ”› * ใ€€ใ€€ใ€€ใ€€โ”—โ”“โ”“โ”โ”โ”ณโ”“โ”โ”› * ใ€€ใ€€ใ€€ใ€€ใ€€โ”ƒโ”ซโ”ซใ€€โ”ƒโ”ซโ”ซ * ใ€€ใ€€ใ€€ใ€€ใ€€โ”—โ”ปโ”›ใ€€โ”—โ”ปโ”› * โ”โ”โ”โ”โ”โ”็ฅžๅ…ฝๅ‡บๆฒกโ”โ”โ”โ”โ”โ” * * @author Reginer on 2016/12/12 15:54. * Description:ๆ•ฐๆฎ้›†ๅˆ */ public class SourceList { private static ArrayList<ContentBean> mList; public static ArrayList<ContentBean> getList() { if (mList == null || mList.isEmpty()) { mList = new ArrayList<>(); for (int i = 0; i < 30; i++) { mList.add(new ContentBean("็†Š" + i, i + "@qq.com", String.valueOf(i), i + "git")); } } return mList; } }
[ "282921012@qq.com" ]
282921012@qq.com
74c30da2cfd8eb6560f634f42b0b6e83ac6597f3
4668b35edc1f945f9bf0adc0075b7994339eaf08
/Cadastro_Professores/src/Hibernate_Daos/Dao_Turma.java
938c92c37daef5b92ff729de2094f72fdafbf741
[]
no_license
tiagolgo/grupo6_ne3a_2012_2
767993c4359cbf0805f67a0d632f18f80dd3033f
4d9588bbe4f2235e139c8c691b97b97edbfae86b
refs/heads/master
2021-03-12T22:49:11.208535
2013-05-10T00:18:28
2013-05-10T00:18:28
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,998
java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Hibernate_Daos; import java.util.List; import modelo.curricular.Turma; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.criterion.Restrictions; public class Dao_Turma extends Dao_Basic { public Dao_Turma(Session sessรฃo) { super(sessรฃo); } public void getTurma_Serie() { } public void getTurma_Curso() { } public void getTurma_Turno() { } public Turma verificaExistรชncia(int serie, String seriaรงรฃo, String turno) { return (Turma) this.session.createCriteria( Turma.class) .add(Restrictions.eq("serie", serie)) .add(Restrictions.eq("seriacao", seriaรงรฃo)) .add(Restrictions.eq("turno", turno)) // .add(Restrictions.eq("id_Curso", turno)) .uniqueResult(); } public Turma verifica(int serie, String seriacao, String turno, String curso){ return (Turma) this.session.createSQLQuery( "select*from Turma where (serie=? and seriacao=? and turno=? and id_Curso=(select id from Curso where nome=?))") .setInteger(0, serie) .setString(1, seriacao) .setString(2, turno) .setString(3, curso) .uniqueResult(); } public Turma turmaID(int id){ return (Turma) this.session.createCriteria(Turma.class).add(Restrictions.eq("id", id)).uniqueResult(); } public List todasTurmas(){ return this.session.createCriteria(Turma.class).list(); } public List turma_NomeCurso(String curso){ Query cq = this.session.createQuery("from Turma where id_Curso =(select id from Curso where nome= :curso)"); cq.setParameter("curso", curso); return cq.list(); } }
[ "tiagolgo@hotmail.com" ]
tiagolgo@hotmail.com
db50c3af4be8142570572a9b2a0ffe95bc8b9cf4
50e6d0e764cc08ca94ef29713f67565114d6cb0a
/Eclipse Projects/Solynchron/net.sf.rcpforms.test/src/net/sf/rcpforms/test/formpart/PersonFormPart.java
c3fd488b1b65f27fbcb9a2f70937823e5ee7acdc
[]
no_license
plamkata/TestProjects
638b6000b435d87a6cc767e9b0f34ddb12f9b748
c137d926f0f4aa785334f58505d1cc64846b2a6f
refs/heads/master
2021-01-17T06:27:48.307225
2013-07-04T12:14:33
2013-07-04T12:14:33
null
0
0
null
null
null
null
UTF-8
Java
false
false
4,665
java
package net.sf.rcpforms.test.formpart; import java.util.Date; import net.sf.rcpforms.bindingvalidation.ValidationManager; import net.sf.rcpforms.bindingvalidation.forms.RCPFormPart; import net.sf.rcpforms.modeladapter.converter.AbstractModelValidator; import net.sf.rcpforms.modeladapter.converter.RequiredValidator; import net.sf.rcpforms.widgetwrapper.builder.GridBuilder; import net.sf.rcpforms.widgetwrapper.wrapper.EControlState; import net.sf.rcpforms.widgetwrapper.wrapper.RCPCombo; import net.sf.rcpforms.widgetwrapper.wrapper.RCPSection; import net.sf.rcpforms.widgetwrapper.wrapper.RCPText; import org.eclipse.core.runtime.IStatus; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.forms.widgets.FormToolkit; import org.eclipse.ui.forms.widgets.Section; public class PersonFormPart extends RCPFormPart { public static final String BIRTHDATE_LABEL = "Birthdate:"; public static final String COUNTRY_LABEL = "Country:"; public static final String CITY_LABEL = "City:"; public static final String STREET_NUMBER_LABEL = "Street/Number:"; public static final String FIRSTNAME_LABEL = "Firstname:"; public static final String NAME_LABEL = "Name:"; /** * Class DateFutureValidator is an example for a custom validator * * @author Remo Loetscher */ public static final class DateFutureValidator extends AbstractModelValidator { @Override public Object[] getProperties() { return new String[]{PersonDataModel.P_Birthdate}; } @Override public IStatus validate(Object value) { PersonDataModel model = (PersonDataModel) value; IStatus result = ok(); if (model.getBirthdate() != null && model.getBirthdate().after(new Date())) { result = error("Birthdate has to be in the past!"); } return result; } } private RCPSection section; private RCPText name; private RCPText firstName; private RCPText street; private RCPText streetNumber; private RCPText city; private RCPCombo country; private RCPText birthdate; @Override public void bind(ValidationManager bm, Object modelBean) { bm.bindValue(name, modelBean, PersonDataModel.P_Name); bm.bindValue(firstName, modelBean, PersonDataModel.P_FirstName); bm.bindValue(street, modelBean, PersonDataModel.P_Street); bm.bindValue(streetNumber, modelBean, PersonDataModel.P_StreetNumber); bm.bindValue(city, modelBean, PersonDataModel.P_City); bm.bindValue(country, modelBean, PersonDataModel.P_Country); bm.bindValue(birthdate, modelBean, PersonDataModel.P_Birthdate); // add required validator bm.addValidator(this, new RequiredValidator(PersonDataModel.P_Name, PersonDataModel.P_FirstName, PersonDataModel.P_Birthdate)); // add date validator bm.addValidator(this, new DateFutureValidator()); } @Override public void createUI(FormToolkit toolkit, Composite parent) { // create RCPForm elements section = new RCPSection("This title will be invisible", Section.NO_TITLE); name = new RCPText(NAME_LABEL); name.setState(EControlState.MANDATORY, true); firstName = new RCPText(FIRSTNAME_LABEL); firstName.setState(EControlState.MANDATORY, true); street = new RCPText(STREET_NUMBER_LABEL); streetNumber = new RCPText(null); city = new RCPText(CITY_LABEL); country = new RCPCombo(COUNTRY_LABEL); birthdate = new RCPText(BIRTHDATE_LABEL); birthdate.setState(EControlState.MANDATORY, true); // add elements to container GridBuilder formPartBuilder = new GridBuilder(toolkit, parent, 2); GridBuilder sectionBuilder = formPartBuilder.addContainer(section, 4); // 1st line sectionBuilder.addLineGrabAndFill(name, 3); // 2nd line sectionBuilder.addLine(firstName); // 3rd line sectionBuilder.add(street); sectionBuilder.add(streetNumber); sectionBuilder.fillLine(); // 4th line sectionBuilder.addLine(city); // 5th line sectionBuilder.addLine(country); // 6th line sectionBuilder.addLine(birthdate, 10); } @Override public void setState(EControlState state, boolean value) { section.setState(state, value); } }
[ "paleksandrov@everbread.com" ]
paleksandrov@everbread.com
325d74ac45f64fcba26bf8fd94be73ef098046d0
b85d0ce8280cff639a80de8bf35e2ad110ac7e16
/com/fossil/np.java
9b77f86beb8c965ce7142b1e5f247195f89aa15d
[]
no_license
MathiasMonstrey/fosil_decompiled
3d90433663db67efdc93775145afc0f4a3dd150c
667c5eea80c829164220222e8fa64bf7185c9aae
refs/heads/master
2020-03-19T12:18:30.615455
2018-06-07T17:26:09
2018-06-07T17:26:09
136,509,743
1
0
null
null
null
null
UTF-8
Java
false
false
1,116
java
package com.fossil; import android.annotation.TargetApi; import android.content.Context; import android.graphics.Canvas; import android.widget.EdgeEffect; @TargetApi(14) class np { public static Object m12801r(Context context) { return new EdgeEffect(context); } public static void m12796a(Object obj, int i, int i2) { ((EdgeEffect) obj).setSize(i, i2); } public static boolean aN(Object obj) { return ((EdgeEffect) obj).isFinished(); } public static void m12800p(Object obj) { ((EdgeEffect) obj).finish(); } public static boolean m12797a(Object obj, float f) { ((EdgeEffect) obj).onPull(f); return true; } public static boolean aO(Object obj) { EdgeEffect edgeEffect = (EdgeEffect) obj; edgeEffect.onRelease(); return edgeEffect.isFinished(); } public static boolean m12799k(Object obj, int i) { ((EdgeEffect) obj).onAbsorb(i); return true; } public static boolean m12798a(Object obj, Canvas canvas) { return ((EdgeEffect) obj).draw(canvas); } }
[ "me@mathiasmonstrey.be" ]
me@mathiasmonstrey.be
36da3f2c3fc417332350691957c9218a5d28916e
49ca3c46da6c6a3043b072e523642801df8f2d94
/enchancedForLoop/App.java
7c2e46043e3d5cfd4129adeb05a9fbd45a3ad682
[]
no_license
mosot624/Tutorial1
12ab9d2542c1ad3e92bc997714fb21f4744cd9d2
9578d760947fbd65cd1c95e94ba1263c724ac8aa
refs/heads/master
2021-07-20T08:12:04.560516
2017-10-29T22:15:40
2017-10-29T22:15:40
null
0
0
null
null
null
null
UTF-8
Java
false
false
441
java
package enchancedForLoop; import java.util.ArrayList; import java.util.List; public class App { public static void main(String[] args) { List<Integer> array1 = new ArrayList<Integer>(); int counter =0; int sum = 0; for (int i = 1; i <= 100; i++) { array1.add(i); counter++; } counter =1; for(int x: array1){ sum += x; System.out.printf("%d.) %d %n",counter,sum); counter++; } } }
[ "noreply@github.com" ]
mosot624.noreply@github.com
19572581dcebfbe1adcb8aa15b7d4129342691af
118a8dfcf48078b083a53101db37815fa6d8a06b
/ZEngine - Base/src/com/zekrom_64/ze/base/util/ZEStringUtil.java
81399f92b8e4a94ded1e3d79a362660b1ac2d67c
[]
no_license
Zekrom64/ZEngine
3d97c5a3bd64b3929febb93968167fa5d6c38af9
7b20347eed796d33acc8d63b0c2b7a4c782f7d90
refs/heads/master
2021-01-11T14:37:01.036022
2019-06-13T18:13:08
2019-06-13T18:13:08
80,166,128
0
0
null
null
null
null
UTF-8
Java
false
false
3,252
java
package com.zekrom_64.ze.base.util; import java.util.Arrays; /** Collection of methods for operating on strings. * * @author Zekrom_64 * */ public class ZEStringUtil { /** Converts a string into a comment. This prepends a '#' character at * the beginning of each line, and replaces newlines with the system line * separator given by {@link java.lang.System#lineSeparator() System.lineSeparator()}. * * @param cmt The comment string * @return Formatted comment */ public static String makeComment(String cmt) { StringBuilder buf = new StringBuilder(); String[] lines = cmt.replace("\r", "").split("\n"); String lf = System.lineSeparator(); for(String l : lines) buf.append('#').append(l).append(lf); int len = buf.length(); buf.delete(len-lf.length(), len); return buf.toString(); } /** Converts the string into a 'safe' format compatible with most charsets. If a * character is outside the bounds of UTF-8, or is not alphanumeric (0-9,a-z,A-Z), * it is converted to '\xxxx' where x is the hexadecimal value of the character in * UTF-16. Else, the character is left as-is. * * @param s The source string * @return The safe string */ public static String formatSafe(String s) { StringBuilder buf = new StringBuilder(); buf.ensureCapacity(s.length()); char[] chars = s.toCharArray(); for(char c : chars) { if (c>0xFF||(!Character.isLetterOrDigit(c))) { String hexstr = Integer.toHexString(c); StringBuffer hex = new StringBuffer(); for(int i = hexstr.length(); i < 4; i++) hex.append('0'); hex.append(hexstr); buf.append(hex.toString()); } else buf.append(c); } return buf.toString(); } /** Parses a 'safe' string formatted by {@link #formatSafe(String)}, converting it * back to a regular string. * * @param s Safe string * @return Equivalent source string */ public static String parseSafe(String s) { StringBuilder sb = new StringBuilder(); sb.ensureCapacity(s.length()); char[] hexDigits = new char[4]; for(int i = 0; i < s.length(); i++) { char c = s.charAt(i); if (c == '\\') { for(int j = 0; j < 4 && i < s.length(); j++, i++) { hexDigits[j] = s.charAt(i); } sb.append((char)Integer.parseInt(new String(hexDigits), 16)); } else sb.append(c); } return sb.toString(); } /** Indents the input string using one tab (\t) character. * * @param input Input string * @return Indented string */ public static String indent(String input) { StringBuilder buf = new StringBuilder(); String[] lines = input.replace("\r","").split("\n"); for(String l : lines) buf.append('\t').append(l).append('\n'); return buf.toString(); } /** Indents the input string using the number of tab (\t) characters given * by the <tt>nIndent</tt> parameter. * * @param input Input string * @param nIndent Number of indents * @return Indented string */ public static String indent(String input, int nIndent) { StringBuilder buf = new StringBuilder(); char[] tabs = new char[nIndent]; Arrays.fill(tabs, '\t'); String[] lines = input.replace("\r","").split("\n"); for(String l : lines) { buf.append(tabs, 0, nIndent); buf.append(l).append('\n'); } return buf.toString(); } }
[ "bfgmusicscores@gmail.com" ]
bfgmusicscores@gmail.com
e1edbb4f43a35d442a407dc285e77818b877279a
a9e7c7aee4b5a0d1ce0f34fb95cb67a2d3017ef0
/UsersInWeb/src/main/java/com/romanenko/controller/UserController.java
24cfbf4898e3f61cff7039c571fa9f5d5b9f134f
[]
no_license
romanenkoi/mvc-jquery
ec9aa33bdf1d241674eedb18efd440ed11ccb640
65d4632c886fd30186420ac7a1aff6a083893e5e
refs/heads/master
2016-09-15T20:22:36.632895
2014-04-18T15:17:53
2014-04-18T15:17:53
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,909
java
package com.romanenko.controller; import com.romanenko.dao.implementation.RoleGetter; import com.romanenko.dao.exceptions.DaoException; import com.romanenko.entity.Role; import com.romanenko.entity.User; import com.romanenko.dto.UserListDto; import com.romanenko.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; @Controller @RequestMapping("/users") public class UserController { @Autowired private RoleGetter getter; @Autowired private UserService service; public void setService(UserService service) { this.service = service; } @RequestMapping public String getUsersPage() { return "users"; } @RequestMapping(value="/records") public @ResponseBody UserListDto getUsers() { UserListDto userListDto = new UserListDto(); userListDto.setUsers(service.findAll()); return userListDto; } @RequestMapping(value="/get") public @ResponseBody User get(@RequestBody User user) { return service.read(user); } @RequestMapping(value="/create", method=RequestMethod.POST) public @ResponseBody User create( @RequestParam String username, @RequestParam String password, @RequestParam String firstName, @RequestParam String lastName, @RequestParam Integer role) { Role newRole = null; try { newRole = getter.findByRoleId(role.toString()); } catch (DaoException e) { //NOP } User newUser = new User(); newUser.setUsername(username); newUser.setPassword(password); newUser.setFirstName(firstName); newUser.setLastName(lastName); newUser.setRole(newRole); return service.create(newUser); } @RequestMapping(value="/update", method=RequestMethod.POST) public @ResponseBody User update( @RequestParam String username, @RequestParam String firstName, @RequestParam String lastName, @RequestParam Integer role) { Role newRole = null; try { newRole = getter.findByRoleId(role.toString()); } catch (DaoException e) { //NOP } User existingUser = new User(); existingUser.setUsername(username); existingUser.setFirstName(firstName); existingUser.setLastName(lastName); existingUser.setRole(newRole); return service.update(existingUser); } @RequestMapping(value="/delete", method=RequestMethod.POST) public @ResponseBody Boolean delete( @RequestParam String username) { User existingUser = new User(); existingUser.setUsername(username); return service.delete(existingUser); } }
[ "romanenk_85@mail.ru" ]
romanenk_85@mail.ru
934dc2c56fde4dec1d8a592889c5de65a3835828
03a4d1546700df5f1b094c69d651f54b3d0fbc2e
/socialppm/common/testsrc/java/org/apache/shindig/social/opensocial/jpa/spi/integration/JpaRestfulJsonDataTest.java
5923dc9fef3e02c5b66a41df71175dfbdef4e4f2
[]
no_license
go4chaitu/OpenSocialProject
6d20239881f0f9a78dc4e9b53813550d47c7d46b
3ff600efffb345d0430b8ee78424758291c17a03
refs/heads/master
2016-09-01T20:22:31.894011
2013-06-03T15:59:41
2013-06-03T15:59:41
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,281
java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.shindig.social.opensocial.jpa.spi.integration; import org.apache.shindig.social.dataservice.integration.RestfulJsonDataTest; import org.apache.shindig.social.opensocial.jpa.spi.SpiDatabaseBootstrap; import com.google.inject.Injector; import org.junit.After; import org.junit.Before; /** * JPA restful Json data test, which wraps around shindig's <code>RestfulJsonDataTest</code> * but uses the JPA AppDataService implementation <code>AppDataServiceDb</code> */ public class JpaRestfulJsonDataTest extends RestfulJsonDataTest { /** The bootstrap. */ private SpiDatabaseBootstrap bootstrap; /** * Calls super.setup so to initialise servlet and easy mock objects. * Note that super.setup (i.e. AbstractLargeRestfulTests) also injects SocialApiTestsGuiceModule, * which will be overriden here to use the JPA guice bindings * * @throws Exception the exception */ @Before public void setUp() { // Init config try { Injector injector = JpaRestfulTestConfigHelper.init(); this.setServlet(JpaRestfulTestConfigHelper.getDataServiceServlet(injector)); // Bootstrap hibernate and associated test db, and setup db with test data this.bootstrap = injector.getInstance(SpiDatabaseBootstrap.class); this.bootstrap.init(); } catch (Exception e) { System.out.println(e); fail(); } } @After public void tearDown() throws Exception { this.bootstrap.tearDown(); } }
[ "go4chaitu@gmail.com" ]
go4chaitu@gmail.com
ef6a1476c71ac091252857ad4c7903c7242d3a30
2fe0bf3e35629a49fec75c7cc883886bc781c282
/app/src/main/java/com/alexandergor/uvapp/UVSApp.java
3305510547547c21f64da212af250793498962c2
[]
no_license
VolunteerService/android-mobile-app
5daa435854ef99d6f42aa5eeab8401427b64ff5c
61ba357ef01aebc5a8048990fef57a86e27184fb
refs/heads/master
2021-08-17T07:34:29.673124
2017-11-20T23:16:31
2017-11-20T23:16:31
106,193,081
0
0
null
2017-11-12T14:28:38
2017-10-08T16:51:58
Java
UTF-8
Java
false
false
2,419
java
package com.alexandergor.uvapp; import android.app.Application; import android.util.Log; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import java.io.IOException; import java.util.Objects; import io.realm.Realm; import io.realm.RealmConfiguration; import okhttp3.Interceptor; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; import retrofit2.Retrofit; import retrofit2.converter.gson.GsonConverterFactory; public class UVSApp extends Application { private static UVSApiClient uvsApiClient; private static Retrofit retrofit; private static OkHttpClient.Builder httpClient = new OkHttpClient.Builder(); private static String authToken; public static modelProfile UserProfile; @Override public void onCreate() { super.onCreate(); Realm.init(getApplicationContext()); RealmConfiguration realmConfiguration = new RealmConfiguration.Builder() .schemaVersion(5) .migration(new ModelsMigration()) .build(); Realm.setDefaultConfiguration(realmConfiguration); Realm realm = Realm.getDefaultInstance(); Log.i("Realm", realm.getPath()); } public static UVSApiClient getUvsApiClient(String newToken) { if(!Objects.equals(newToken, authToken)) { return buildApiClient(newToken); } return uvsApiClient; } public static UVSApiClient buildApiClient(final String authToken) { Gson gson = new GsonBuilder() .setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'") .create(); Retrofit.Builder builder = new Retrofit.Builder() .baseUrl(BuildConfig.API_SERVER_URL) .addConverterFactory(GsonConverterFactory.create(gson)); httpClient.addInterceptor(new Interceptor() { @Override public Response intercept(Chain chain) throws IOException { Request original = chain.request(); Request.Builder builder = original.newBuilder() .header("Authorization", "Bearer " + authToken); Request request = builder.build(); return chain.proceed(request); } }); builder.client(httpClient.build()); retrofit = builder.build(); return retrofit.create(UVSApiClient.class); } }
[ "ornot.work@gmail.com" ]
ornot.work@gmail.com
7c4f67cbb1cf817ea9eff786d9cf2808c29e75e3
3ecd8d4cc0eb39785ccc3a7be813723e2a8d1321
/nerdstreasury/nerdstreasury-shared/src/main/java/de/antonafanasjew/projects/nerdstreasury/misc/TestCollectionHolder.java
9aaec5075759f3f0e12023a355559f5969a82516
[]
no_license
armitage81/NerdsTreasury
0fb2d20aaa89d2d46902a9f9661dea25e35ea4f2
e2d412fa9de2b2ad6a2a3cad33aca45f69febb3e
refs/heads/master
2021-05-13T22:55:11.571445
2018-01-15T09:33:02
2018-01-15T09:33:02
116,498,993
0
0
null
null
null
null
UTF-8
Java
false
false
726
java
package de.antonafanasjew.projects.nerdstreasury.misc; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; public class TestCollectionHolder { private List<String> l; private Set<Integer> s; private Map<String, Integer> m; private Properties p; public List<String> getL() { return l; } public void setL(List<String> l) { this.l = l; } public Set<Integer> getS() { return s; } public void setS(Set<Integer> s) { this.s = s; } public Map<String, Integer> getM() { return m; } public void setM(Map<String, Integer> m) { this.m = m; } public Properties getP() { return p; } public void setP(Properties p) { this.p = p; } }
[ "contact@anton-afanasjew.de" ]
contact@anton-afanasjew.de
f24ce33fc697d82cd040c601a8195a662f9b6b3f
fcc3ccbf344dc184f487df90da04719e68ef4faa
/modules/gui-ripper-iph/src/edu/umd/cs/guitar/ripper/IphRipperConfiguration.java
f1d301a1df0db2f2b119647156686bdfe6327bf7
[]
no_license
HohoTest/iGUITAR
7626f3e75582153feddd7377283a75d99ce73575
a819a4764934c3724b3e88d4782ae7f3010b2027
refs/heads/master
2020-04-03T02:28:28.275233
2011-09-26T07:10:50
2011-09-26T07:10:50
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,636
java
package edu.umd.cs.guitar.ripper; import org.kohsuke.args4j.Option; import edu.umd.cs.guitar.util.Util; ; /** * Class contains the runtime configurations of JFC GUITAR Ripper * * <p> * * @author <a href="mailto:baonn@cs.umd.edu"> Bao Nguyen </a> */ public class IphRipperConfiguration extends GRipperConfiguration { // GUITAR server parameters @Option(name = "-p", usage = "destination server port", aliases = "--server-port") static public String PORT; @Option(name = "-sh", usage = "destination server host", aliases = "--server-host") static public String SERVER_HOST; // GUITAR runtime parameters @Option(name = "-g", usage = "destination GUI file path", aliases = "--gui-file") static public String GUI_FILE = "GUITAR-Default.GUI"; @Option(name = "-l", usage = "log file name ", aliases = "--log-file") static public String LOG_FILE = Util.getTimeStamp() + ".log"; @Option(name = "-i", usage = "initial waiting time for the application to get stablized before being ripped", aliases = "--initial-wait") static public Integer INITIAL_WAITING_TIME = 500; // Application Under Test //@Option(name = "-c", usage = "<REQUIRED> main class name for the Application Under Test ", aliases = "--main-class", required = true) @Option(name = "-c", usage = "<REQUIRED> main class name for the Application Under Test ", aliases = "--main-class") static public String MAIN_CLASS = null; @Option(name = "-a", usage = "arguments for the Application Under Test, separated by a colon (:) ", aliases = "--arguments") static public String ARGUMENT_LIST; @Option(name = "-u", usage = "URLs for the Application Under Test, separated by a colon (:) ", aliases = "--urls") static public String URL_LIST; @Option(name = "-j", usage = "Java Virtual Machine options for the Application Under Test", aliases = "--jvm-options") static public String JVM_OPTIONS; @Option(name = "-cf", usage = "configure file for the ripper defining terminal, ignored components and ignored windows", aliases = "--configure-file") public static String CONFIG_FILE = //"resources" + File.separator + "config" // + File.separator + "configuration.xml"; @Option(name = "-ce", usage = "customized event list (usually aut-specific events)", aliases = "--event-list") public static String CUSTOMIZED_EVENT_LIST = null; @Option(name = "-jar", usage = "Automatically looking for the main class name in jar file specified b-c") public static boolean USE_JAR = false; }
[ "rongjian.lan@gmail.com" ]
rongjian.lan@gmail.com
26ea3dd257dfe4621f2ba8e4b8a5ae848de8144f
7315fdd7a3ad551484e07d055224b8040b7fd5e3
/Modules/3 - JPF/Autoworld/autoworld-master/autoworld-master/src/be/vdab/util/mens/Mens.java
c1af013bd2c0614bfe4b63d96a2626afce368b88
[]
no_license
YThibos/JavaEECursus
4dd95bf2f59710e4cbdb47218970d76e65cee565
a9f03499c6ec248cd5a9eb549301612298ad69d3
refs/heads/master
2020-04-11T04:30:55.256623
2016-02-17T08:45:12
2016-02-17T08:45:12
null
0
0
null
null
null
null
UTF-8
Java
false
false
612
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 be.vdab.util.mens; import java.util.Collection; import java.util.List; /** * * @author yannick.thibos */ public class Mens { private String naam; private Rijbewijs[] rijbewijzen; Mens(String naam) { this.naam = naam; } Mens(String naam, Rijbewijs rijbewijs) { this.naam = naam; rijbewijzen = new Rijbewijs[1]; rijbewijzen[0] = rijbewijs; } }
[ "yannick.thibos@gmail.com" ]
yannick.thibos@gmail.com
3cb8e8ae601899a58afc81c4deb4aee4fbe2dde3
f78c021d28c7db3f2968fd250301b3e1ebd619d2
/module2/src/abstract_class_interface/bai_tap/colorable/Square.java
9e8c2770f055ca213e7df664ac8071462530be69
[]
no_license
thanghaqn2000/A1020I1-HoDucThang
c8819bde9a7c98d5feab5896c6747ea56847b735
76536e9374bee04fd197a124dcf39821d0d73e05
refs/heads/main
2023-08-30T06:44:27.095226
2021-10-24T13:13:27
2021-10-24T13:13:27
309,363,526
0
1
null
null
null
null
UTF-8
Java
false
false
835
java
package abstract_class_interface.bai_tap.colorable; public class Square extends Shape implements Colorable { private double side = 1; public Square(double side) { this.side = side; } public Square(String color, boolean filled, double side) { super(color, filled); this.side = side; } public double getSide() { return side; } public void setSide(double side) { this.side = side; } public double getPerimeter() { return side * 4; } public double getArea() { return side * side; } @Override public String toString() { return "Square{" + "side=" + side + '}'; } @Override public void howToColor() { System.out.println(" Color all four sides.."); } }
[ "57361234+thanghaqn2000@users.noreply.github.com" ]
57361234+thanghaqn2000@users.noreply.github.com
edf5a4aa25ab28abfa81b423ccff1acde37e0ce9
bdada8dd2fee5ed621fb4663adf2ae91edf7f390
/xc-rep/src/main/java/com/xzsoft/xsr/core/controller/SumReportController.java
cf0de6029c27ad5fa0863a18e81ae8e86af2625e
[]
no_license
yl23250/xc
abaf7dbbdf1ec3b32abe16a1aeca19ee29568387
47877dc79e8ea8947f526bb21a1242cae5d70dd8
refs/heads/master
2020-09-16T20:49:54.040706
2018-06-23T13:25:56
2018-06-23T13:25:56
null
0
0
null
null
null
null
UTF-8
Java
false
false
3,884
java
package com.xzsoft.xsr.core.controller; import java.io.IOException; import java.text.DateFormat; import java.util.Date; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import com.xzsoft.xsr.core.service.ProgressBarMsg; import com.xzsoft.xsr.core.service.SumReportService; @Controller @RequestMapping("/sumReportController.do") public class SumReportController { private static Logger log = Logger.getLogger(CheckFormulaController.class.getName()); @Autowired SumReportService sumReportService; @Autowired ProgressBarMsg progressBarMsg; /** * ๆŠฅ่กจๆฑ‡ๆ€ป */ @RequestMapping(params = "method=SumReport", method = RequestMethod.POST) public void SumReport(HttpServletRequest request, HttpServletResponse response) { HttpSession session = request.getSession(); String userId = (String) request.getSession().getAttribute("userId"); String suitId = (String) request.getSession().getAttribute("suitId"); String periodId = request.getParameter("period"); // ๆœŸ้—ดID String cnyId = request.getParameter("currency"); // ๅธ็งID String hrchyId = request.getParameter("hrchyId"); // ็ป„็ป‡ID String entityId = request.getParameter("entityId"); // ๆฏๅ…ฌๅธID String mdltypeId = request.getParameter("mdltypeId"); // ๆจกๆฟ้›†ID String[] mdlshtlist = request.getParameter("mdlshtIdlist").split(","); // ๆจกๆฟๅˆ—่กจ String corpIdList = request.getParameter("corpIdList"); // ๆฑ‡ๆ€ปๅ•ไฝ่Œƒๅ›ด String adjId = request.getParameter("adjId");// ่ฐƒๆ•ดๅ•ไฝ String isOpFormula = request.getParameter("isOpFormulaValue");// ๅˆคๆ–ญ่ฏฅๆฑ‡ๆ€ปๅ…ฌๅธๆ˜ฏๅฆๆœ‰ๆฑ‡ๆ€ปๆƒ้™ String scrollBarMark = request.getParameter("scrollBarMark"); // ๆปšๅŠจๆก String json = ""; StringBuffer flag = new StringBuffer(); // ๅ‰็ซฏๅˆคๆ–ญ่ฏฅ็”จๆˆทๆˆ–่Œ่ดฃๆ˜ฏๅฆๅฏน่ฏฅๆฑ‡ๆ€ปๅ…ฌๅธๆœ‰ๆƒ้™ // ๅพช็Žฏๆฑ‡ๆ€ปๅ„ๆจก็‰ˆ if (mdlshtlist.length > 0) { for (int i = 0; i < mdlshtlist.length; i++) { String mdlshtId = mdlshtlist[i]; // ่ฎฐๅฝ•ๆŠฅ่กจๆฑ‡ๆ€ป่ฟ›ๅบฆๆกไฟกๆฏ progressBarMsg.progressMsgIntoSession(session, mdlshtId, i + 1, mdlshtlist.length, "bbhz", scrollBarMark); log.warn("ๅŠŸ่ƒฝๅ็งฐ๏ผšๆŠฅ่กจๆฑ‡ๆ€ป--ๆ•ฐๆฎๆฑ‡ๆ€ป๏ผŒ" + " ๆ“ไฝœ็”จๆˆท๏ผš" + userId + " ๆฑ‡ๆ€ปๆจกๆฟ๏ผš" + mdlshtId + " ๆœŸ้—ดID:" + periodId + " ๆ‰ง่กŒๆ—ถ้—ด๏ผš" + DateFormat.getDateTimeInstance().format(new Date())); try { String msg = sumReportService.SumReport(userId, suitId, hrchyId, entityId, periodId, mdltypeId, mdlshtId, cnyId, corpIdList, adjId); flag.append(msg); if (msg.toString().equals("N")) { log.info("ๅคฑ่ดฅ๏ผšๆจก็‰ˆ" + mdlshtId + "ๅทฒ้”ๅฎš"); } else { log.info("ๆˆๅŠŸ๏ผš" + mdlshtId); } } catch (Exception e) { log.info("ๅคฑ่ดฅ๏ผš" + mdlshtId); } } if (!flag.toString().equals("") || flag.toString() == "") { json = "{flag:0,msg:'ๆ•ฐๆฎๆฑ‡ๆ€ปๆˆๅŠŸ๏ผ<br/><font color=\"red\">ๆณจๆ„๏ผš</font><br/>ๆ‰€้€‰ๆŠฅ่กจไธญๅญ˜ๅœจโ€œๅทฒ้”ๅฎšโ€็Šถๆ€ๆŠฅ่กจ๏ผŒไธ่ฟ›่กŒๆฑ‡ๆ€ป๏ผ›<br/>ๅฆ‚้œ€ๆฑ‡ๆ€ป๏ผŒ่ฏทๅฐ†่ฏฅ็Šถๆ€ๆŠฅ่กจ่ฟ›่กŒ่งฃ้”๏ผŒๅ†ๆฑ‡ๆ€ป๏ผ'}"; } else { json = "{flag:0,msg:'ๆ•ฐๆฎๆฑ‡ๆ€ปๆˆๅŠŸ๏ผ'}"; } } // ๆš‚ๆ—ถๅšไธไบ† if ("1".equals(isOpFormula)) { // === ๆ‰ง่กŒ่กจๅ†…ๅ…ฌๅผ่ฟ็ฎ— } // ่พ“ๅ‡บJSON response.setContentType("text/html;charset=utf-8"); try { response.getWriter().write(json); response.getWriter().close(); } catch (IOException e) { log.error("ไผ ่พ“jsonไธฒๅ‡บ้”™", e); } } }
[ "381666890@qq.com" ]
381666890@qq.com
661ca2d546819aa1ebcadda892e11d792a552a4b
1fa9953e789b3c54dc191e8a52f6fc935f6611f9
/src/com/android/criminalintent/Crime.java
5891c7ef4e2c0d2d841dcb48136ba20b71be5f7d
[]
no_license
tianyi2013/OfficeCrime
7b1b7a76c0f0636c6af82d13207d8213ef24bc29
3af9cb83946c40aff2797e53600b0c5ed660f898
refs/heads/master
2021-01-13T14:20:19.929267
2014-02-19T22:30:56
2014-02-19T22:30:56
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,210
java
package com.android.criminalintent; import java.util.Date; import java.util.UUID; import org.json.JSONException; import org.json.JSONObject; public class Crime { private static final String JSON_ID = "id"; private static final String JSON_TITLE = "title"; private static final String JSON_SOLVED = "solved"; private static final String JSON_DATE = "date"; private static final String JSON_PHOTO = "photo"; private Date date; private UUID id; private boolean solved; private String title; private Photo photo; public Crime() { id = UUID.randomUUID(); date = new Date(); } public Crime(JSONObject json) throws JSONException { id = UUID.fromString((String) json.get(JSON_ID)); if (json.has(JSON_TITLE)) { title = (String) json.getString(JSON_TITLE); } if (json.has(JSON_DATE)) { date = new Date(json.getLong(JSON_DATE)); } if (json.has(JSON_SOLVED)) { solved = json.getBoolean(JSON_SOLVED); } if (json.has(JSON_PHOTO)) { photo = new Photo(json.getJSONObject(JSON_PHOTO)); } } public Date getDate() { return date; } public UUID getId() { return id; } public String getTitle() { return title; } public boolean isSolved() { return solved; } public void setDate(Date date) { this.date = date; } public void setSolved(boolean solved) { this.solved = solved; } public void setTitle(String title) { this.title = title; } @Override public String toString() { return title; } public Photo getPhoto() { return photo; } public void setPhoto(Photo photo) { this.photo = photo; } public JSONObject toJSON() throws JSONException { JSONObject json = new JSONObject(); json.put(JSON_ID, id); json.put(JSON_TITLE, title); json.put(JSON_SOLVED, solved); json.put(JSON_DATE, date.getTime()); if (photo != null) { json.put(JSON_PHOTO, photo.toJSON()); } return json; } }
[ "mr.tianyichen@gmail.com" ]
mr.tianyichen@gmail.com
d507024985007d71959fa25fac9571134806da2c
1d0c6eb5dd000fe5551242da6abcf62f89ad894e
/src/de/yadrone/apps/paperchase/PaperChase.java
8e48e6afeab89f259d3da6d3717b1531837e4fa9
[]
no_license
sebastianphansen/CDIO_DRONE
27e2e75bee23a355eb10da847a61d2fb0598ffbb
afa970c9b6085664c7cb196281bb5e8d94cfa26e
refs/heads/master
2021-06-18T13:08:11.542403
2017-06-19T10:49:43
2017-06-19T10:49:43
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,322
java
package de.yadrone.apps.paperchase; import de.yadrone.apps.controlcenter.plugins.altitude.AltitudeChart; import de.yadrone.apps.controlcenter.plugins.configuration.ConfigurationPanel; import de.yadrone.apps.controlcenter.plugins.statistics.StatisticsPanel; import de.yadrone.apps.paperchase.controller.PaperChaseAbstractController; import de.yadrone.apps.paperchase.controller.PaperChaseAutoController; import de.yadrone.apps.paperchase.controller.PaperChaseKeyboardController; import de.yadrone.base.ARDrone; import de.yadrone.base.IARDrone; import de.yadrone.base.command.VideoChannel; public class PaperChase { public final static int IMAGE_WIDTH = 640; // 640 or 1280 public final static int IMAGE_HEIGHT = 360; // 360 or 720 public final static int TOLERANCE = 80; private IARDrone drone = null; private PaperChaseAbstractController autoController; private QRCodeScanner scanner = null; private ObjectDetection objectdetection = null; public PaperChase() { drone = new ARDrone(); drone.start(); drone.up(); drone.getCommandManager().setVideoChannel(VideoChannel.HORI); new AltitudeChart(); new ConfigurationPanel(); new StatisticsPanel(); PaperChaseGUI gui = new PaperChaseGUI(drone, this); // keyboard controller is always enabled and cannot be disabled (for safety reasons) PaperChaseKeyboardController keyboardController = new PaperChaseKeyboardController(drone); keyboardController.start(); // auto controller is instantiated, but not started autoController = new PaperChaseAutoController(drone); scanner = new QRCodeScanner(); scanner.addListener(gui); objectdetection = new ObjectDetection(); drone.getVideoManager().addImageListener(objectdetection); drone.getVideoManager().addImageListener(gui); drone.getVideoManager().addImageListener(scanner); drone.setMinAltitude(2000); drone.setMaxAltitude(2500); } public void enableAutoControl(boolean enable) { if (enable) { System.out.println("AUTOCONTROL ER SLร…ET TIL"); scanner.addListener(autoController); autoController.start(); } else { autoController.stopController(); scanner.removeListener(autoController); // only auto autoController registers as TagListener } } public static void main(String[] args) { new PaperChase(); } }
[ "sebastian.p.hansen@gmail.com" ]
sebastian.p.hansen@gmail.com
4aba63c98551f7d0edbb90c9a42b28726d96a3da
733f5e7cc90fabd36fe98f05402b3e21aa3308fa
/src/main/java/com/manager/utils/MissionTypes.java
9da71181a8eb3db7af81f88744221e745669a9ef
[]
no_license
HodAlpert/Manager
407ea2c7ade4f76a59375a8b809c8402426f37d3
318a6432c30aebb36c657f4b45927747ebadbaa2
refs/heads/master
2020-05-03T11:17:06.216923
2019-04-09T09:50:19
2019-04-09T09:50:19
null
0
0
null
null
null
null
UTF-8
Java
false
false
93
java
package com.manager.utils; public enum MissionTypes { ToImage, ToHTML, ToText }
[ "hod.alpert@stratoscalse.com" ]
hod.alpert@stratoscalse.com
3a3ad26a2494d3da4c1ef5496333314289b1db2c
2ddf176b79437efe3738885572c2b58daefd0fe4
/ddybuy_TestFastdfs/src/main/java/com/ddybuy/testfastdfs/Test1.java
b8c7add246f39b3f34ad4a0d83e31ad30aa4b9f9
[]
no_license
LCQ198232/ddybuy_parent
da48edb277141d7cc454cf1ff1e950b77695ade4
6b248cf7ddab255798e92f4f8c3201917465d588
refs/heads/master
2022-07-15T21:57:08.298804
2019-10-11T10:28:46
2019-10-11T10:28:46
214,408,328
0
0
null
2022-06-21T02:01:37
2019-10-11T10:28:18
JavaScript
UTF-8
Java
false
false
1,371
java
package com.ddybuy.testfastdfs; import org.csource.common.MyException; import org.csource.fastdfs.*; import java.io.IOException; public class Test1 { public static void main(String[] args) { try { //ๅŠ ่ฝฝ้…็ฝฎ ClientGlobal.init("fastdfs.properties"); //ๅˆ›ๅปบไธ€ไธช TrackerClient ๅฏน่ฑก TrackerClient trackerClient=new TrackerClient(); //ไฝฟ็”จ TrackerClient ๅฏน่ฑกๅˆ›ๅปบ่ฟžๆŽฅ๏ผŒ่Žทๅพ—ไธ€ไธช TrackerServer ๅฏน่ฑก TrackerServer connection = trackerClient.getConnection(); //ๅˆ›ๅปบไธ€ไธช StorageServer ็š„ๅผ•็”จ๏ผŒๅ€ผไธบ nul StorageServer storageServer=null; //ๅˆ›ๅปบไธ€ไธช StorageClient ๅฏน่ฑก๏ผŒ้œ€่ฆไธคไธชๅ‚ๆ•ฐ TrackerServer ๅฏน่ฑกใ€StorageServer ็š„ๅผ•็”จ StorageClient storageClient=new StorageClient(storageServer,storageServer); //ไฝฟ็”จ StorageClient ๅฏน่ฑกไธŠไผ ๅ›พ็‰‡ใ€‚ String[] strings = storageClient.upload_file("C:\\Users\\LCQ\\Desktop\\a.mp4","mp4",null); for (String str:strings) { System.out.println(str); } System.out.println("ไธŠไผ ๅ›พ็‰‡ๆˆๅŠŸ"); connection.close(); } catch (IOException e) { e.printStackTrace(); } catch (MyException e) { e.printStackTrace(); } } }
[ "1982326493@qq.com" ]
1982326493@qq.com
d5b085cf87ee65de67f2661e9b98c481cabe6457
c8e66b5add6ea9d37fa6cdc204f72b094b820626
/app/src/main/java/com/iconlab/turkgram/Signupactivity.java
e0fc3119023ff1a9545508993d014580530a44d9
[]
no_license
IconlabLTS/test
027f5c6d6aaed9a3a66dc5e63e481bf12e36581d
f920876a599c4736f458b577b96e136a39ca0c95
refs/heads/master
2022-12-05T17:59:44.148887
2020-08-22T19:18:49
2020-08-22T19:18:49
null
0
0
null
null
null
null
UTF-8
Java
false
false
3,448
java
package com.iconlab.turkgram; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.Toast; import com.google.android.gms.tasks.OnFailureListener; import com.google.android.gms.tasks.OnSuccessListener; import com.google.firebase.auth.AuthResult; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.auth.FirebaseUser; public class Signupactivity extends AppCompatActivity { EditText editText; EditText password; FirebaseAuth firebaseAuth; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_signup); editText = findViewById(R.id.email); password = findViewById(R.id.password); firebaseAuth = FirebaseAuth.getInstance(); FirebaseUser firebaseUser = firebaseAuth.getCurrentUser(); if (firebaseUser != null) { Intent intent2 = new Intent(Signupactivity.this, feed_activity.class); startActivity(intent2); finish(); } } public void giris(View view) { String giris = editText.getText().toString(); String password1 = password.getText().toString(); if (giris.length() > 0){ if(password1.length() > 0){ firebaseAuth.signInWithEmailAndPassword(giris, password1).addOnSuccessListener(new OnSuccessListener<AuthResult>() { @Override public void onSuccess(AuthResult authResult) { Intent intent = new Intent(Signupactivity.this, feed_activity.class); startActivity(intent); finish(); } }).addOnFailureListener(new OnFailureListener() { @Override public void onFailure(@NonNull Exception e) { Toast.makeText(Signupactivity.this, e.getLocalizedMessage(), Toast.LENGTH_SHORT).show(); } }); }else{ Toast.makeText(this, "Lรผtfen Sifre ve Mail adres girin", Toast.LENGTH_SHORT).show(); }} } public void kayit(View view) { String giris = editText.getText().toString(); String password1 = password.getText().toString(); if (giris.length() > 0) { if (password1.length() > 0) { firebaseAuth.createUserWithEmailAndPassword(giris, password1).addOnSuccessListener(new OnSuccessListener<AuthResult>() { @Override public void onSuccess(AuthResult authResult) { Toast.makeText(Signupactivity.this, "Kayit oldunuz", Toast.LENGTH_LONG).show(); Intent intent = new Intent(Signupactivity.this, feed_activity.class); startActivity(intent); finish(); } }).addOnFailureListener(new OnFailureListener() { @Override public void onFailure(@NonNull Exception e) { Toast.makeText(Signupactivity.this, e.getLocalizedMessage(), Toast.LENGTH_LONG).show(); } }); }else{ Toast.makeText(this, "Lรผtfen Sifre ve Mail adres girin", Toast.LENGTH_SHORT).show(); } } } }
[ "irfan87548754@gmail.com" ]
irfan87548754@gmail.com
021fc06af60bb3824ce2e93893e4ba32d7054020
fe1f2c68a0540195b227ebee1621819766ac073b
/OVO_jdgui/myobfuscated/ps.java
ec1ae45b68b40d46ac2ea1d3ce16d1e1cb566680
[]
no_license
Sulley01/KPI_4
41d1fd816a3c0b2ab42cff54a4d83c1d536e19d3
04ed45324f255746869510f0b201120bbe4785e3
refs/heads/master
2020-03-09T05:03:37.279585
2018-04-18T16:52:10
2018-04-18T16:52:10
128,602,787
2
1
null
null
null
null
UTF-8
Java
false
false
10,895
java
package myobfuscated; final class ps { protected int a; protected byte[] b; protected int c; protected int d; protected int[][] e; protected int[] f = new int['ฤ€']; protected int[] g = new int['ฤ€']; protected int[] h = new int['ฤ€']; protected int[] i = new int[32]; public ps(byte[] paramArrayOfByte, int paramInt1, int paramInt2) { this.b = paramArrayOfByte; this.c = paramInt1; this.d = paramInt2; this.e = new int['ฤ€'][]; paramInt1 = 0; while (paramInt1 < 256) { this.e[paramInt1] = new int[4]; paramArrayOfByte = this.e[paramInt1]; paramInt2 = (paramInt1 << 12) / 256; paramArrayOfByte[2] = paramInt2; paramArrayOfByte[1] = paramInt2; paramArrayOfByte[0] = paramInt2; this.h[paramInt1] = 256; this.g[paramInt1] = 0; paramInt1 += 1; } } public final int a(int paramInt1, int paramInt2, int paramInt3) { int m = this.f[paramInt2]; int j = -1; int k = 1000; int n = m - 1; int[] arrayOfInt; int i1; if ((m < 256) || (n >= 0)) { if (m >= 256) { break label398; } arrayOfInt = this.e[m]; i1 = arrayOfInt[1] - paramInt2; if (i1 >= k) { i1 = 256; m = j; j = i1; } } for (;;) { i1 = n; int i2; if (n >= 0) { arrayOfInt = this.e[n]; i2 = paramInt2 - arrayOfInt[1]; if (i2 >= k) { i1 = -1; n = j; j = m; m = n; n = i1; break; i2 = m + 1; m = i1; if (i1 < 0) { m = -i1; } i3 = arrayOfInt[0] - paramInt1; i1 = i3; if (i3 < 0) { i1 = -i3; } i3 = i1 + m; if (i3 >= k) { break label387; } i1 = arrayOfInt[2] - paramInt3; m = i1; if (i1 < 0) { m = -i1; } i1 = i3 + m; if (i1 >= k) { break label387; } m = arrayOfInt[3]; k = i1; j = i2; continue; } n -= 1; i1 = i2; if (i2 < 0) { i1 = -i2; } int i3 = arrayOfInt[0] - paramInt1; i2 = i3; if (i3 < 0) { i2 = -i3; } i3 = i2 + i1; i1 = n; if (i3 < k) { i2 = arrayOfInt[2] - paramInt3; i1 = i2; if (i2 < 0) { i1 = -i2; } i2 = i1 + i3; i1 = n; if (i2 < k) { i1 = arrayOfInt[3]; m = j; k = i2; j = i1; break; return j; } } } n = j; j = m; m = n; n = i1; break; label387: m = j; j = i2; continue; label398: i1 = m; m = j; j = i1; } } public final byte[] a() { byte[] arrayOfByte = new byte['ฬ€']; int[] arrayOfInt = new int['ฤ€']; int j = 0; while (j < 256) { arrayOfInt[this.e[j][3]] = j; j += 1; } j = 0; int k = 0; while (j < 256) { int m = arrayOfInt[j]; int n = k + 1; arrayOfByte[k] = ((byte)this.e[m][0]); int i1 = n + 1; arrayOfByte[n] = ((byte)this.e[m][1]); k = i1 + 1; arrayOfByte[i1] = ((byte)this.e[m][2]); j += 1; } return arrayOfByte; } public final void b() { int m = 0; int k = 0; int j = 0; if (j < 256) { int[] arrayOfInt1 = this.e[j]; int n = arrayOfInt1[1]; int i1 = j + 1; int i2 = j; while (i1 < 256) { arrayOfInt2 = this.e[i1]; int i3 = n; if (arrayOfInt2[1] < n) { i3 = arrayOfInt2[1]; i2 = i1; } i1 += 1; n = i3; } int[] arrayOfInt2 = this.e[i2]; if (j != i2) { i1 = arrayOfInt2[0]; arrayOfInt2[0] = arrayOfInt1[0]; arrayOfInt1[0] = i1; i1 = arrayOfInt2[1]; arrayOfInt2[1] = arrayOfInt1[1]; arrayOfInt1[1] = i1; i1 = arrayOfInt2[2]; arrayOfInt2[2] = arrayOfInt1[2]; arrayOfInt1[2] = i1; i1 = arrayOfInt2[3]; arrayOfInt2[3] = arrayOfInt1[3]; arrayOfInt1[3] = i1; } if (n == k) { break label277; } this.f[k] = (m + j >> 1); k += 1; while (k < n) { this.f[k] = j; k += 1; } k = n; m = j; } label277: for (;;) { j += 1; break; this.f[k] = (m + 255 >> 1); j = k + 1; while (j < 256) { this.f[j] = 255; j += 1; } return; } } public final void c() { if (this.c < 1509) { this.d = 1; } this.a = ((this.d - 1) / 3 + 30); byte[] arrayOfByte = this.b; int i13 = this.c; int i14 = this.c / (this.d * 3); int m = i14 / 100; int j = 0; while (j < 32) { this.i[j] = ((1024 - j * j) * 256 / 1024 * 1024); j += 1; } int i2; int i7; int i8; int i6; int i1; int i15; int i16; int i17; int i3; int i4; int n; int k; label201: Object localObject; int i10; int i9; if (this.c < 1509) { j = 3; i2 = 0; i7 = 1024; i8 = 32; i6 = 2048; i1 = 0; if (i1 >= i14) { break label1010; } i15 = (arrayOfByte[(i2 + 0)] & 0xFF) << 4; i16 = (arrayOfByte[(i2 + 1)] & 0xFF) << 4; i17 = (arrayOfByte[(i2 + 2)] & 0xFF) << 4; i5 = Integer.MAX_VALUE; i3 = Integer.MAX_VALUE; i4 = -1; n = -1; k = 0; if (k >= 256) { break label465; } localObject = this.e[k]; i10 = localObject[0] - i15; i9 = i10; if (i10 < 0) { i9 = -i10; } int i11 = localObject[1] - i16; i10 = i11; if (i11 < 0) { i10 = -i11; } int i12 = localObject[2] - i17; i11 = i12; if (i12 < 0) { i11 = -i12; } i10 = i10 + i9 + i11; if (i10 >= i5) { break label1057; } i4 = i10; } for (int i5 = k;; i5 = i9) { i9 = i10 - (this.g[k] >> 12); if (i9 < i3) { n = k; i3 = i9; } for (;;) { i9 = this.h[k] >> 10; localObject = this.h; localObject[k] -= i9; localObject = this.g; localObject[k] = ((i9 << 10) + localObject[k]); k += 1; i9 = i5; i5 = i4; i4 = i9; break label201; if (this.c % 499 != 0) { j = 1497; break; } if (this.c % 491 != 0) { j = 1473; break; } if (this.c % 487 != 0) { j = 1461; break; } j = 1509; break; label465: localObject = this.h; localObject[i4] += 64; localObject = this.g; localObject[i4] -= 65536; localObject = this.e[n]; localObject[0] -= (localObject[0] - i15) * i7 / 1024; localObject[1] -= (localObject[1] - i16) * i7 / 1024; localObject[2] -= (localObject[2] - i17) * i7 / 1024; if (i8 != 0) { i5 = n - i8; if (i5 >= -1) { break label1051; } i5 = -1; } label641: label1010: label1041: label1044: label1051: for (;;) { k = n + i8; i9 = k; if (k > 256) { i9 = 256; } i3 = 1; i4 = n - 1; k = n + 1; n = i3; for (;;) { if ((k < i9) || (i4 > i5)) { localObject = this.i; i3 = n + 1; i10 = localObject[n]; if (k >= i9) { break label1041; } localObject = this.e; n = k + 1; localObject = localObject[k]; } for (;;) { try { localObject[0] -= (localObject[0] - i15) * i10 / 262144; localObject[1] -= (localObject[1] - i16) * i10 / 262144; localObject[2] -= (localObject[2] - i17) * i10 / 262144; k = n; } catch (Exception localException2) { k = n; continue; i2 = k; i8 = n; } if (i4 <= i5) { break label1044; } localObject = this.e; n = i4 - 1; localObject = localObject[i4]; try { localObject[0] -= (localObject[0] - i15) * i10 / 262144; localObject[1] -= (localObject[1] - i16) * i10 / 262144; localObject[2] -= i10 * (localObject[2] - i17) / 262144; i4 = n; n = i3; } catch (Exception localException1) { i4 = n; n = i3; } break label641; k = i2 + j; if (k >= i13) { k -= this.c; i1 += 1; if (m == 0) { m = 1; if (i1 % m == 0) { i7 -= i7 / this.a; i6 -= i6 / 30; i2 = i6 >> 6; n = i2; if (i2 <= 1) { n = 0; } i2 = 0; if (i2 < n) { this.i[i2] = ((n * n - i2 * i2) * 256 / (n * n) * i7); i2 += 1; continue; return; } break; } i2 = k; break; } continue; } } n = i3; } } } label1057: i9 = i4; i4 = i5; } } public final void d() { int j = 0; while (j < 256) { int[] arrayOfInt = this.e[j]; arrayOfInt[0] >>= 4; arrayOfInt = this.e[j]; arrayOfInt[1] >>= 4; arrayOfInt = this.e[j]; arrayOfInt[2] >>= 4; this.e[j][3] = j; j += 1; } } } /* Location: C:\dex2jar-2.0\classes-dex2jar.jar!\myobfuscated\ps.class * Java compiler version: 6 (50.0) * JD-Core Version: 0.7.1 */
[ "sullivan.alvin@ymail.com" ]
sullivan.alvin@ymail.com
d2c783d3dd5344a7f99c591942c0c5ff6c663301
788838edd81ddcf6b1fe3f750338fac056174334
/app/src/main/java/com/m2team/colorpicker/MainActivity.java
187017c867cee36d456053d4202b77ae8a6825ee
[]
no_license
hoangminh1190/ColorPicker
fb28caf047c281114496bcce38077ea322adb024
c07eba3e604a2fcbb1a9a904d0dddd28261b6677
refs/heads/master
2016-09-03T00:53:39.476273
2015-07-08T16:28:05
2015-07-08T16:28:05
37,474,691
0
0
null
null
null
null
UTF-8
Java
false
false
11,398
java
package com.m2team.colorpicker; import android.annotation.TargetApi; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.provider.MediaStore; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.view.Menu; import android.view.MenuItem; import android.view.View; import com.google.android.gms.ads.AdListener; import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.InterstitialAd; import com.m2team.colorpicker.utils.Applog; import com.m2team.colorpicker.utils.Constant; import com.m2team.colorpicker.utils.Utils; import com.rey.material.app.Dialog; import com.rey.material.app.DialogFragment; import com.rey.material.app.SimpleDialog; import com.rey.material.widget.Button; import com.rey.material.widget.SnackBar; import de.psdev.licensesdialog.LicensesDialog; import de.psdev.licensesdialog.licenses.ApacheSoftwareLicense20; import de.psdev.licensesdialog.licenses.MITLicense; import de.psdev.licensesdialog.model.Notice; import de.psdev.licensesdialog.model.Notices; public class MainActivity extends AppCompatActivity implements View.OnClickListener { private static final int REQUEST_IMAGE_CAPTURE = 1; private static final int REQUEST_IMAGE_PICKUP = 2; private SnackBar mSnackBar; private Context mContext; private String path; private Uri uri; private InterstitialAd mInterstitialAd; private int action; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); init(); mInterstitialAd = new InterstitialAd(this); mInterstitialAd.setAdUnitId(getString(R.string.ires_ad_home_colors_unit_id)); mInterstitialAd.setAdListener(new AdListener() { @Override public void onAdClosed() { requestNewInterstitial(); openActivity(); } }); requestNewInterstitial(); } private void openActivity() { Intent intent = null; if (action == 2) { intent = new Intent(this, LiveColorPickerActivity.class); } else if (action == 3) { intent = new Intent(this, CreatePaletteActivity.class); } else if (action == 4) { intent = new Intent(mContext, MainSettingActivity.class); intent.putExtra("index", MainSettingActivity.Tab.MATERIAL_COLOR.ordinal()); } else if (action == 5) { intent = new Intent(this, MainSettingActivity.class); intent.putExtra("index", MainSettingActivity.Tab.CONVERT.ordinal()); } if (intent != null) startActivity(intent); } private void requestNewInterstitial() { AdRequest adRequest = new AdRequest.Builder() .addTestDevice(getString(R.string.test_device_id_n910f)) .addTestDevice(getString(R.string.test_device_id_htc)) .build(); mInterstitialAd.loadAd(adRequest); } private void init() { mContext = this; Button btn_take_photo = (Button) findViewById(R.id.btn_take_photo); btn_take_photo.setOnClickListener(this); Button btn_load_photo = (Button) findViewById(R.id.btn_load_photo); btn_load_photo.setOnClickListener(this); Button btn_live_picker = (Button) findViewById(R.id.btn_live_picker); btn_live_picker.setOnClickListener(this); Button btn_create_palette = (Button) findViewById(R.id.btn_create_palette); btn_create_palette.setOnClickListener(this); Button btn_material_colors = (Button) findViewById(R.id.btn_material_color_list); btn_material_colors.setOnClickListener(this); Button btn_convert = (Button) findViewById(R.id.btn_convert); btn_convert.setOnClickListener(this); mSnackBar = (SnackBar) findViewById(R.id.snackbar); if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA)) { btn_take_photo.setVisibility(View.GONE); btn_live_picker.setVisibility(View.GONE); } else { btn_take_photo.setVisibility(View.VISIBLE); btn_live_picker.setVisibility(View.VISIBLE); } } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.menu_main, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.action_license: final Notices notices = new Notices(); notices.addNotice(new Notice("MaterialLibrary", "", "Copyright 2015 Rey Pham.", new ApacheSoftwareLicense20())); notices.addNotice(new Notice("Subsampling Scale Image View", "", "Copyright 2015 David Morrissey", new ApacheSoftwareLicense20())); notices.addNotice(new Notice("Universal Image Loader", "https://github.com/nostra13/Android-Universal-Image-Loader/", "Copyright 2011-2015 Sergey Tarasevich", new ApacheSoftwareLicense20())); notices.addNotice(new Notice("Camera Color Picker", "http://tvbarthel.github.io/CameraColorPicker/", "Copyright (C) 2014 tvbarthel", new ApacheSoftwareLicense20())); notices.addNotice(new Notice("Android-Material-Design-Colors", "https://github.com/wada811/Android-Material-Design-Colors/", "Copyright 2014 wada811", new ApacheSoftwareLicense20())); notices.addNotice(new Notice("Material Color Picker", "", "Copyright (c) 2015 Aidan Grabe", new MITLicense())); new LicensesDialog.Builder(this).setNotices(notices).setIncludeOwnLicense(true).build().show(); break; } return super.onOptionsItemSelected(item); } @TargetApi(Build.VERSION_CODES.LOLLIPOP) @Override public void onClick(View v) { switch (v.getId()) { case R.id.btn_take_photo: action = 0; if (getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA)) { dispatchTakePictureIntent(); } else { Utils.showMessage(mSnackBar, "Your device does not support camera"); } break; case R.id.btn_load_photo: action = 1; Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("image/*"); startActivityForResult(intent, REQUEST_IMAGE_PICKUP); break; case R.id.btn_live_picker: action = 2; if (mInterstitialAd.isLoaded()) mInterstitialAd.show(); else openActivity(); break; case R.id.btn_create_palette: action = 3; openActivity(); break; case R.id.btn_material_color_list: action = 4; if (mInterstitialAd.isLoaded()) mInterstitialAd.show(); else openActivity(); break; case R.id.btn_convert: action = 5; openActivity(); break; } } private void dispatchTakePictureIntent() { Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); if (takePictureIntent.resolveActivity(getPackageManager()) != null) { ContentValues values = new ContentValues(); values.put(MediaStore.Images.Media.TITLE, "Camera_" + System.currentTimeMillis()); uri = getContentResolver().insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); path = Utils.getPath(mContext, uri); takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); startActivityForResult(takePictureIntent, REQUEST_IMAGE_CAPTURE); } } @Override protected void onSaveInstanceState(Bundle outState) { if (!TextUtils.isEmpty(path)) outState.putString("path", path); if (uri != null) outState.putString("uri", uri.toString()); super.onSaveInstanceState(outState); } @Override protected void onRestoreInstanceState(Bundle savedInstanceState) { path = savedInstanceState.getString("path"); String str = savedInstanceState.getString("uri"); if (!TextUtils.isEmpty(str)) uri = Uri.parse(str); super.onRestoreInstanceState(savedInstanceState); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == REQUEST_IMAGE_CAPTURE && resultCode == RESULT_OK) { Intent intent = new Intent(mContext, ImageColorPickerActivity.class); if (data != null) { Uri resultURI = data.getData(); if (resultURI == null) { try { resultURI = (Uri) data.getExtras().get("data"); if (resultURI != null) uri = resultURI; } catch (ClassCastException e) { e.printStackTrace(); Applog.e("ClassCastException onActivityResult"); } } } intent.putExtra("path", path); intent.putExtra("uri", uri != null ? uri.toString() : ""); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); } else if (requestCode == REQUEST_IMAGE_PICKUP && resultCode == RESULT_OK) { if (data != null) { Uri uri = data.getData(); if (uri == null) { try { uri = (Uri) data.getExtras().get("data"); } catch (ClassCastException e) { e.printStackTrace(); Applog.e("ClassCastException onActivityResult"); } } String path = Utils.getPath(mContext, uri); Intent intent = new Intent(mContext, ImageColorPickerActivity.class); intent.putExtra("path", path); intent.putExtra("uri", uri != null ? uri.toString() : ""); startActivity(intent); } else { mSnackBar.applyStyle(R.style.SnackBarMultiLine); Utils.showMessage(mSnackBar, "Error when choose photo. Please try again"); } } } @Override public void onBackPressed() { Dialog.Builder builder = new SimpleDialog.Builder(R.style.SimpleDialogLight) { @Override public void onPositiveActionClicked(DialogFragment fragment) { finish(); Utils.clearStringSet(MainActivity.this, Constant.COLOR_RECENT_LIST); } }; ((SimpleDialog.Builder) builder).message("DO YOU WANT TO EXIT?") .positiveAction("OK") .negativeAction("CANCEL"); DialogFragment fragment = DialogFragment.newInstance(builder); fragment.show(getSupportFragmentManager(), null); } }
[ "hoangminh1190@gmail.com" ]
hoangminh1190@gmail.com
6f6135c8062d6606a853dee10f7bbd4418913ddb
25f5949b11acced05ec36dcc680a2932433c6f68
/src/main/java/com/lkk/everything/core/interceptor/impl/FilePrintInterceptor.java
34365b7486f7d73ed033ddb992f947fc0039e145
[]
no_license
likunhong01/my-everything
1164ff883471f33e05559bf4e84110ce5a819298
3b2bb3be56311510dbb244fa6ba5d5dd7c1e504d
refs/heads/master
2020-04-23T19:14:40.994408
2019-02-23T13:47:26
2019-02-23T13:47:26
171,396,532
1
0
null
null
null
null
UTF-8
Java
false
false
298
java
package com.lkk.everything.core.interceptor.impl; import com.lkk.everything.core.interceptor.FileInterceptor; import java.io.File; public class FilePrintInterceptor implements FileInterceptor { @Override public void apply(File file) { System.out.println(file.getName()); } }
[ "42308753+likunhong01@users.noreply.github.com" ]
42308753+likunhong01@users.noreply.github.com
25c45b7f8bc922cc01d4ba16ab161180e59ef5d7
594054b690c84f2c4e910389eb3de4dc8e65b74b
/AddressBookDemo/src/main/java/com/chakrar/contacts/Contact.java
6bbb4a4028f77473e4a4a445f882812a576bb0ba
[]
no_license
skanel/Docker-Demo
eb9c0e300270b511b7da996d4a1f84c008f57cb6
e167a8971f37ef7b6c104d85b6cae0ea506f488f
refs/heads/master
2021-05-09T21:31:52.771493
2016-11-15T23:10:41
2016-11-15T23:10:41
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,231
java
package com.chakrar.contacts; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "contactsdemo") public class Contact implements Serializable, Comparable<Contact> { /** * */ private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy=GenerationType.IDENTITY) private int id; @Column(name = "name") private String name; @Column(name = "phone") private String phone; @Column(name = "email") private String email; public Contact() { } /** * @return the id */ public int getId() { return id; } /** * @param id the id to set */ public void setId(int id) { this.id = id; } /** * @return the name */ public String getName() { return name; } /** * @param name the name to set */ public void setName(String name) { this.name = name; } /** * @return the phone */ public String getPhone() { return phone; } /** * @param phone the phone to set */ public void setPhone(String phone) { this.phone = phone; } /** * @return the email */ public String getEmail() { return email; } /** * @param email the email to set */ public void setEmail(String email) { this.email = email; } public Contact(String name, String phone, String email) { super(); this.name = name; this.phone = phone; this.email = email; } public Contact(Integer contactId, String name, String phone, String email) { super(); this.id = contactId; this.name = name; this.phone = phone; this.email = email; } /* (non-Javadoc) * @see java.lang.Object#toString() */ @Override public String toString() { return "Contact [id=" + id + ", name=" + name + ", phone=" + phone + ", email=" + email + "]"; } @Override public int compareTo(Contact c) { // TODO Auto-generated method stub return new Integer(this.id).compareTo(c.getId()); } }
[ "ratnopam.chakrabarti@ericsson.com" ]
ratnopam.chakrabarti@ericsson.com
c3ff08db1acf2f176289918302dff99a24cdf6d0
2ceb874289627a8c83f15a379f1e5750b0305200
/user-api/src/main/java/com/me2me/user/mapper/SystemConfigMapper.java
b0e1086b7ed481d234b5e03345cb61d969a2ec9e
[]
no_license
hushunjian/me2me-app
73a691576d29565f5a51eed9025e256df6b5c9ce
5da0a720b72193a041150fae1266fceb33ba8518
refs/heads/master
2023-01-07T15:59:26.013478
2021-04-03T09:50:07
2021-04-03T09:50:07
120,296,809
0
2
null
2022-12-16T07:54:57
2018-02-05T11:37:31
Java
UTF-8
Java
false
false
3,063
java
package com.me2me.user.mapper; import com.me2me.user.model.SystemConfig; import com.me2me.user.model.SystemConfigExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface SystemConfigMapper { /** * This method was generated by MyBatis Generator. * This method corresponds to the database table system_config * * @mbggenerated Thu Feb 23 17:42:10 CST 2017 */ int countByExample(SystemConfigExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table system_config * * @mbggenerated Thu Feb 23 17:42:10 CST 2017 */ int deleteByExample(SystemConfigExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table system_config * * @mbggenerated Thu Feb 23 17:42:10 CST 2017 */ int deleteByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table system_config * * @mbggenerated Thu Feb 23 17:42:10 CST 2017 */ int insert(SystemConfig record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table system_config * * @mbggenerated Thu Feb 23 17:42:10 CST 2017 */ int insertSelective(SystemConfig record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table system_config * * @mbggenerated Thu Feb 23 17:42:10 CST 2017 */ List<SystemConfig> selectByExample(SystemConfigExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table system_config * * @mbggenerated Thu Feb 23 17:42:10 CST 2017 */ SystemConfig selectByPrimaryKey(Long id); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table system_config * * @mbggenerated Thu Feb 23 17:42:10 CST 2017 */ int updateByExampleSelective(@Param("record") SystemConfig record, @Param("example") SystemConfigExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table system_config * * @mbggenerated Thu Feb 23 17:42:10 CST 2017 */ int updateByExample(@Param("record") SystemConfig record, @Param("example") SystemConfigExample example); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table system_config * * @mbggenerated Thu Feb 23 17:42:10 CST 2017 */ int updateByPrimaryKeySelective(SystemConfig record); /** * This method was generated by MyBatis Generator. * This method corresponds to the database table system_config * * @mbggenerated Thu Feb 23 17:42:10 CST 2017 */ int updateByPrimaryKey(SystemConfig record); }
[ "hushunjian950420@163.com" ]
hushunjian950420@163.com
be9641793ff616b78db0a2ed3cdba0957447050c
99c723d7cc7f98d03f81dd9d0c7bacda3b220738
/bytekit-core/src/main/java/com/alibaba/bytekit/asm/instrument/InstrumentTransformer.java
7892353f2f2f2b8008e09e0ad478b5d26f5e933a
[ "Apache-2.0" ]
permissive
kevin-wang001/bytekit
26f111226afda94fb6291f572b6c9c5a632f7ab4
124cbbb6ae504ce48fa5a1fe990dcc8ffbb8bfda
refs/heads/master
2023-08-01T09:20:50.276140
2021-09-13T13:03:44
2021-09-13T13:03:44
null
0
0
null
null
null
null
UTF-8
Java
false
false
5,624
java
package com.alibaba.bytekit.asm.instrument; import java.lang.instrument.ClassFileTransformer; import java.lang.instrument.IllegalClassFormatException; import java.security.ProtectionDomain; import java.util.List; import com.alibaba.bytekit.asm.inst.impl.InstrumentImpl; import com.alibaba.bytekit.log.Logger; import com.alibaba.bytekit.log.Loggers; import com.alibaba.bytekit.utils.AsmUtils; import com.alibaba.bytekit.utils.ReflectUtils; import com.alibaba.deps.org.objectweb.asm.ClassReader; import com.alibaba.deps.org.objectweb.asm.Opcodes; import com.alibaba.deps.org.objectweb.asm.Type; import com.alibaba.deps.org.objectweb.asm.tree.ClassNode; import com.alibaba.deps.org.objectweb.asm.tree.MethodNode; /** * * @author hengyunabc 2020-11-13 * */ public class InstrumentTransformer implements ClassFileTransformer { private final Logger logger = Loggers.getLogger(getClass()); private InstrumentParseResult instrumentParseResult; public InstrumentTransformer(InstrumentParseResult instrumentParseResult) { this.instrumentParseResult = instrumentParseResult; } @Override public byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException { List<InstrumentConfig> instrumentConfigs = instrumentParseResult.getInstrumentConfigs(); ClassNode originClassNode = null; ClassNode targetClassNode = null; ClassReader classReader = null; for (InstrumentConfig config : instrumentConfigs) { if (config.getClassMatcher().match(loader, className, classBeingRedefined, protectionDomain, classfileBuffer)) { if (originClassNode == null) { originClassNode = new ClassNode(Opcodes.ASM9); classReader = AsmUtils.toClassNode(classfileBuffer, originClassNode); targetClassNode = AsmUtils.copy(originClassNode); } // ๅŒน้…ไธŠ๏ผŒๅˆ™่ฟ›่กŒๅญ—่Š‚็ ๆ›ฟๆขๅค„็† ClassNode instrumentClassNode = config.getInstrumentClassNode(); // ๅฆ‚ๆžœ @Instrument ็š„ๅญ—่Š‚็ ็š„็ฑปๅ ๅ’Œ ็›ฎๆ ‡ๅญ—่Š‚็ ็š„็ฑปๅไธไธ€ๆ ท๏ผŒๅˆ™ไฟฎๆ”นไธบไธ€่‡ด if (!originClassNode.name.equals(instrumentClassNode.name)) { byte[] renameClass = AsmUtils.renameClass(AsmUtils.toBytes(instrumentClassNode), Type.getObjectType(originClassNode.name).getClassName()); instrumentClassNode = AsmUtils.toClassNode(renameClass); } // ๆŸฅๆ‰พ @Instrument ๅญ—่Š‚็ ้‡Œ็š„ method๏ผŒๅฆ‚ๆžœๅœจๅŽŸๆฅ็š„ๆœ‰ๅŒๆ ท็š„๏ผŒๅˆ™ๅค„็†ๆ›ฟๆข๏ผ›ๅฆ‚ๆžœๆฒกๆœ‰๏ผŒๅˆ™ๅคๅˆถ่ฟ‡ๅŽป for (MethodNode methodNode : instrumentClassNode.methods) { // ๅชๅค„็†้ž abstractๅ‡ฝๆ•ฐ if (AsmUtils.isAbstract(methodNode)) { continue; } // ไธๅค„็†ๆž„้€ ๅ‡ฝๆ•ฐ if (AsmUtils.isConstructor(methodNode)) { continue; } // ไปŽๅŽŸๆฅ็š„็ฑป้‡ŒๆŸฅๆ‰พๅฏนๅบ”็š„ๅ‡ฝๆ•ฐ MethodNode findMethod = AsmUtils.findMethod(originClassNode.methods, methodNode); if (findMethod != null) { MethodNode updatedMethodNode = InstrumentImpl.replaceInvokeOrigin(originClassNode.name, findMethod, methodNode); updatedMethodNode.access = findMethod.access; AsmUtils.replaceMethod(targetClassNode, updatedMethodNode); } else { // TODO ๆœ‰ไธ€ไบ›็‰นๅˆซๆณจ่งฃๆ ‡่ฎฐ็š„ๅ‡ฝๆ•ฐ๏ผŒๅนถไธ”ๅœจๅŽŸๆฅ็ฑป้‡Œๆฒกๆ‰พๅˆฐๅฏนๅบ”็š„๏ผŒๅˆ™ๅคๅˆถๅ‡ฝๆ•ฐ่ฟ‡ๅŽป // ไธ่ƒฝๅ…จ้ƒจๅคๅˆถ๏ผŒๆฏ”ๅฆ‚ๅŒน้…ๅˆฐไธ€ไธชๆŽฅๅฃ๏ผŒไฝ†ๅทฒ็ป็ˆถ็ฑป้‡Œๅฎž็Žฐไบ†ๆŽฅๅฃ // AsmUtils.addMethod(targetClassNode, methodNode); } } // ๅค„็†@NewField } } if (targetClassNode != null) { // TODO ๆ”ฏๆŒ bootstrap classloader? if (loader != null) { List<DefineConfig> defineConfigs = instrumentParseResult.getDefineConfigs(); for (DefineConfig defineConfig : defineConfigs) { try { ReflectUtils.defineClass(defineConfig.getClassName(), defineConfig.getClassBytes(), loader); } catch (Throwable e) { Throwable cause = e.getCause(); if (cause instanceof LinkageError) { String errorMessage = cause.getMessage(); if (errorMessage != null && errorMessage.contains("duplicate class definition")) { // ignore continue; } } if (logger.isInfoEnabled()) { logger.info("transform class: " + className + " error! can not define class: " + defineConfig.getClassName(), e); } return null; } } } byte[] resutlBytes = AsmUtils.toBytes(targetClassNode, loader, classReader); return resutlBytes; } return null; } }
[ "hengyunabc@gmail.com" ]
hengyunabc@gmail.com
81b65baecaf45b699a48f6c3dcc926a9ad1e692b
47b2dfcb254997c76c8ad6fad5dabe820654339f
/reCapProject/etiyaReCarProject-main/reCapProject/reCapProject/src/main/java/com/etiya/reCapProject/business/concretes/IndividualCustomerManager.java
6a7b5d6881a3c9096499b30a61202179f2ceea2d
[]
no_license
GulaySahin/EtiyaCamp
0157477d7e17c107f182d8a4abc165f25a19172c
cfca3a98b6fe7aef08eadf20b1344354e94593ba
refs/heads/main
2023-09-01T20:55:29.487567
2021-10-03T14:31:45
2021-10-03T14:31:45
397,737,452
2
0
null
null
null
null
UTF-8
Java
false
false
3,480
java
package com.etiya.reCapProject.business.concretes; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.etiya.reCapProject.business.abstracts.IndividualCustomerService; import com.etiya.reCapProject.business.constants.Messages; import com.etiya.reCapProject.core.utilities.results.DataResult; import com.etiya.reCapProject.core.utilities.results.Result; import com.etiya.reCapProject.core.utilities.results.SuccessDataResult; import com.etiya.reCapProject.core.utilities.results.SuccessResult; import com.etiya.reCapProject.dataAccess.abstracts.IndividualCustomerDao; import com.etiya.reCapProject.entities.concretes.IndividualCustomer; import com.etiya.reCapProject.entities.requests.individualCustomerRequest.AddIndividualCustomerRequest; import com.etiya.reCapProject.entities.requests.individualCustomerRequest.DeleteIndividualCustomerRequest; import com.etiya.reCapProject.entities.requests.individualCustomerRequest.UpdateIndividualCustomerRequest; @Service public class IndividualCustomerManager implements IndividualCustomerService { private IndividualCustomerDao individualCustomerDao; @Autowired public IndividualCustomerManager(IndividualCustomerDao individualCustomerDao) { super(); this.individualCustomerDao = individualCustomerDao; } @Override public Result add(AddIndividualCustomerRequest addIndividualCustomerRequest) { IndividualCustomer individualCustomer = new IndividualCustomer(); individualCustomer.setFirstName(addIndividualCustomerRequest.getFirstName()); individualCustomer.setLastName(addIndividualCustomerRequest.getLastName()); individualCustomer.setEMail(addIndividualCustomerRequest.getEMail()); individualCustomer.setPassword(addIndividualCustomerRequest.getPassword()); individualCustomer.setIdentityNumber(addIndividualCustomerRequest.getIdentityNumber()); this.individualCustomerDao.save(individualCustomer); return new SuccessResult(Messages.Add); } @Override public Result update(UpdateIndividualCustomerRequest updateIndividualCustomerRequest) { IndividualCustomer individualCustomer= this.individualCustomerDao.getByIdentityNumber (updateIndividualCustomerRequest.getIdentityNumber()); individualCustomer.setId(updateIndividualCustomerRequest.getId()); individualCustomer.setFirstName(updateIndividualCustomerRequest.getFirstName()); individualCustomer.setLastName(updateIndividualCustomerRequest.getLastName()); individualCustomer.setEMail(updateIndividualCustomerRequest.getEMail()); individualCustomer.setPassword(updateIndividualCustomerRequest.getPassword()); individualCustomer.setIdentityNumber(updateIndividualCustomerRequest.getIdentityNumber()); this.individualCustomerDao.save(individualCustomer); return new SuccessResult(Messages.Update); } @Override public Result delete(DeleteIndividualCustomerRequest deleteIndividualCustomerRequest) { IndividualCustomer individualCustomer= new IndividualCustomer(); individualCustomer.setId(this.individualCustomerDao.getByIdentityNumber (deleteIndividualCustomerRequest.getIdentityNumber()).getId()); this.individualCustomerDao.deleteById(individualCustomer.getId()); return new SuccessResult(Messages.Delete); } @Override public DataResult<List<IndividualCustomer>> getAll() { return new SuccessDataResult<List<IndividualCustomer>>(this.individualCustomerDao.findAll(),Messages.List); } }
[ "gulay_431@hotmail.com" ]
gulay_431@hotmail.com
95af37f4948f7a9bfc6e453d358d2b3fa2f2b2e9
58a45011b5308ff90b5f3204124fd2fb9e1227b6
/app/src/main/java/com/webmyne/connect/commissionHistory/ui/CommissionHistoryFilterPresenterImpl.java
aaa940556f80cd159c7c5f122f08d3830134a674
[]
no_license
rsv355/Connect
d2b9cb3e73349d2929efeb4590b6a372538521e4
fbb453b95764c951d07c38510a13e1bd0f409085
refs/heads/master
2021-01-19T03:17:09.542973
2016-07-08T13:48:36
2016-07-08T13:48:36
51,826,245
0
0
null
null
null
null
UTF-8
Java
false
false
6,788
java
package com.webmyne.connect.commissionHistory.ui; import android.app.Activity; import android.content.Context; import com.rengwuxian.materialedittext.MaterialEditText; import com.wdullaer.materialdatetimepicker.date.DatePickerDialog; import com.webmyne.connect.R; import com.webmyne.connect.Utils.ComplexPreferences; import com.webmyne.connect.Utils.Constants; import com.webmyne.connect.Utils.Functions; import com.webmyne.connect.commissionHistory.model.CommissionHistoryRequest; import com.webmyne.connect.commissionHistory.presenter.CommissionHistoryPresenter; import com.webmyne.connect.leadHistory.model.LeadHistoryRequest; import com.webmyne.connect.leadHistory.model.LeadStatusObject; import com.webmyne.connect.leadHistory.model.LeadStatuses; import com.webmyne.connect.leadHistory.ui.LeadsHistoryFilterPresenter; import com.webmyne.connect.leadHistory.ui.LeadsHistoryFilterView; import com.webmyne.connect.postLead.model.VerticalDataObject; import com.webmyne.connect.postLead.model.Verticals; import com.webmyne.connect.user.model.UserLoginOutput; import java.util.Calendar; import java.util.HashMap; /** * Created by priyasindkar on 14-03-2016. */ public class CommissionHistoryFilterPresenterImpl implements CommissionHistoryFilterPresenter { private Context mContext; private CommissionHistoryFilterView commissionHistoryFilterView; public CommissionHistoryFilterPresenterImpl(Context mContext,CommissionHistoryFilterView commissionHistoryFilterView) { this.mContext = mContext; this.commissionHistoryFilterView = commissionHistoryFilterView; } @Override public void setUI() { HashMap<Integer, VerticalDataObject> verticals = new HashMap<>(); for (int i = 0; i < Constants.TOTAL_VERTICALS; i++) { int verticalIndex = Verticals.getVerticalCode(i); String verticalName = Verticals.getVerticalName(i); String verticalShortName = Verticals.getVerticalShortName(i); int verticalId = Verticals.getVerticalId(i); VerticalDataObject verticalDataObject = new VerticalDataObject(); verticalDataObject.setVerticalId(verticalId); verticalDataObject.setVerticalName(verticalName); verticalDataObject.setVerticalShortName(verticalShortName); verticalDataObject.setVerticalIndexNo(verticalIndex); verticals.put(verticalIndex, verticalDataObject); } commissionHistoryFilterView.setUI(verticals); } @Override public void showDatePicker(final MaterialEditText editText, final String otherDate, final boolean isStartDate) { Calendar now = Calendar.getInstance(); DatePickerDialog dpd = DatePickerDialog.newInstance( new DatePickerDialog.OnDateSetListener() { @Override public void onDateSet(DatePickerDialog view, int year, int monthOfYear, int dayOfMonth) { String date = year + "-" + String.format("%02d", ++monthOfYear) + "-" + String.format("%02d", dayOfMonth); if (otherDate.trim().length() > 0) { if (isStartDate) { if (Functions.validateStartEndDates(date, otherDate)) { if (commissionHistoryFilterView != null) { commissionHistoryFilterView.setDate(date, editText); } } else { if (commissionHistoryFilterView != null) { commissionHistoryFilterView.setDateError(editText, mContext.getString(R.string.error_start_date)); } } } else { if (Functions.validateStartEndDates(otherDate, date)) { if (commissionHistoryFilterView != null) { commissionHistoryFilterView.setDate(date, editText); } } else { if (commissionHistoryFilterView != null) { commissionHistoryFilterView.setDateError(editText, mContext.getString(R.string.error_end_date)); } } } } else { if (commissionHistoryFilterView != null) { commissionHistoryFilterView.setDate(date, editText); } } } }, now.get(Calendar.YEAR), now.get(Calendar.MONTH), now.get(Calendar.DAY_OF_MONTH) ); Activity activity = (Activity) mContext; dpd.show(activity.getFragmentManager(), "Datepickerdialog"); } @Override public void onVerticalSelected(int verticalId, boolean isChecked, HashMap<Integer, Integer> selectedVerticals) { if (isChecked) { if (!selectedVerticals.containsKey(verticalId)) selectedVerticals.put(verticalId, verticalId); } else { if (selectedVerticals.containsKey(verticalId)) selectedVerticals.remove(new Integer(verticalId)); } if (commissionHistoryFilterView != null) { commissionHistoryFilterView.onVerticalSelected(selectedVerticals); } } @Override public void onFilterDataSet(String keyword, String startDate, String endDate, HashMap<Integer, Integer> verticals) { ComplexPreferences complexPreferences = new ComplexPreferences(mContext, "login-user", mContext.MODE_PRIVATE); UserLoginOutput currentUser = complexPreferences.getObject("loggedInUser", UserLoginOutput.class); CommissionHistoryRequest commissionHistoryRequest = new CommissionHistoryRequest(); commissionHistoryRequest.setUserID(currentUser.getUserID()); commissionHistoryRequest.setSearchInput(keyword); commissionHistoryRequest.setStartDate(startDate); commissionHistoryRequest.setEndDate(endDate); commissionHistoryRequest.setLastLeadID(0); int[] verticalArray; verticalArray = Functions.convertHashMapToIntArray(verticals); commissionHistoryRequest.setLstLeadTypeId(verticalArray); if(commissionHistoryFilterView != null) { commissionHistoryFilterView.setFilter(commissionHistoryRequest); } } @Override public void onDestroy() { commissionHistoryFilterView = null; } }
[ "sindkar.priya@gmail.com" ]
sindkar.priya@gmail.com
829f5202cfbb4afbd4b86b5b46c727082da5e89d
4aeb18b8620961fbc040f4a5a005b948097e168c
/src/main/java/com/freitech/kotetsu/exceptions/BusinessException.java
4f4daaa993763b632f41046acdaf62a405bedb68
[ "MIT" ]
permissive
masamiShim/freitec-app-base
023dc84da0646c9717b1186a63f3212cdf6e28dd
72ab746e6706871f244850475357d9aae5d80bd5
refs/heads/master
2021-05-12T20:02:36.794419
2018-06-14T15:12:33
2018-06-14T15:12:33
117,111,792
0
0
null
null
null
null
UTF-8
Java
false
false
130
java
package com.freitech.kotetsu.exceptions; @SuppressWarnings("serial") public class BusinessException extends RuntimeException{ }
[ "contact.shimbuichi@gmail.com" ]
contact.shimbuichi@gmail.com
f81649a8e7929b3b14fe86d5c35ead1bd79ec22c
e9a7b7c70a5592bb78efda2ebc9e856180119e75
/app_androidx/module-test/src/main/java/com/test1moudle/v/activity/BlueToothActivity.java
d9e6d3cc1e3da9c494082359a2f6a7c91f71ba7a
[]
no_license
xiao349305433/LSY
f34b216e85b8c09d964136d75a28fb58e80801f8
56cf6a85456c81e144536f8982210970373c3897
refs/heads/master
2023-02-09T01:49:08.071297
2020-12-29T16:05:49
2020-12-29T16:05:49
325,332,864
0
0
null
null
null
null
UTF-8
Java
false
false
4,244
java
package com.test1moudle.v.activity; import android.bluetooth.BluetoothGatt; import androidx.recyclerview.widget.RecyclerView; import com.alibaba.android.arouter.facade.annotation.Route; import com.clj.fastble.data.BleDevice; import com.clj.fastble.exception.BleException; import com.test1moudle.R; import com.test1moudle.p.adapter.BlueToothBinder; import com.wu.loushanyun.base.util.DataParser; import com.wu.loushanyun.basemvp.init.BleBlueToothTool; import com.wu.loushanyun.basemvp.m.Interface.MBleGattCallback; import com.wu.loushanyun.basemvp.m.Interface.MBleNotifyCallback; import com.wu.loushanyun.basemvp.m.Interface.MBleScanCallback; import com.wu.loushanyun.basemvp.m.Interface.MBleWriteCallback; import java.util.ArrayList; import java.util.List; import met.hx.com.base.base.BaseAttribute; import met.hx.com.base.base.activity.BaseNoPresenterActivity; import met.hx.com.base.base.multitype.MultiTypeAdapter; import met.hx.com.base.baseconfig.C; import met.hx.com.base.baseevent.Event; @Route(path = C.BlueToothActivity) public class BlueToothActivity extends BaseNoPresenterActivity implements MBleScanCallback, MBleGattCallback, MBleWriteCallback, MBleNotifyCallback { private MultiTypeAdapter multiTypeAdapter; private List<BleDevice> bleDevices; private RecyclerView recyclerview; private BleBlueToothTool bleBlueToothTool; private BleDevice bleDevice; private String SUUID = "0000ffe0-0000-1000-8000-00805f9b34fb"; // private String WUUID="0000ffe0-0000-1000-8000-00805f9b34fb"; private String WUUID = "0000ffe1-0000-1000-8000-00805f9b34fb"; @Override protected void initLifeCycle() { super.initLifeCycle(); bleBlueToothTool = new BleBlueToothTool(SUUID,WUUID); registerLifeCycle(bleBlueToothTool); } @Override protected void initEventListener() { } @Override protected void onEventRunEnd(Event event, int code) { } @Override protected void onInitAttribute(BaseAttribute ba) { ba.mActivityLayoutId = R.layout.m_test_activity_demo1; ba.mHasTitle = true; ba.mTitleText = "้™„่ฟ‘่“็‰™ๅˆ—่กจ"; } @Override protected void initView() { recyclerview = (RecyclerView) findViewById(R.id.recyclerview); multiTypeAdapter = new MultiTypeAdapter(); bleDevices = new ArrayList<>(); multiTypeAdapter.register(BleDevice.class, new BlueToothBinder(new BlueToothBinder.OnClickTextListener() { @Override public void onClickText(BleDevice item) { BlueToothActivity.this.bleDevice = item; bleBlueToothTool.connect(item, BlueToothActivity.this,BlueToothActivity.this); } @Override public void onClickButton(BleDevice item) { bleBlueToothTool.write(bleDevice, DataParser.CMD_CHECK, BlueToothActivity.this); } })); multiTypeAdapter.setItems(bleDevices); recyclerview.setAdapter(multiTypeAdapter); bleBlueToothTool.startScan(this); } @Override public void onStartConnect() { } @Override public void onConnectFail(BleDevice bleDevice, BleException exception) { } @Override public void onConnectSuccess(BleDevice bleDevice, BluetoothGatt gatt, int status) { } @Override public void onDisConnected(boolean isActiveDisConnected, BleDevice device, BluetoothGatt gatt, int status) { } @Override public void onNotifySuccess() { } @Override public void onNotifyFailure(BleException exception) { } @Override public void onCharacteristicChanged(byte[] data) { } @Override public void onScanStarted(boolean success) { } @Override public void onScanning(BleDevice bleDevice) { bleDevices.add(bleDevice); multiTypeAdapter.notifyDataSetChanged(); } @Override public void onLeScan(BleDevice bleDevice) { } @Override public void onScanFinished(List<BleDevice> scanResultList) { } @Override public void onWriteSuccess(int current, int total, byte[] justWrite) { } @Override public void onWriteFailure(BleException exception) { } }
[ "xiao349305433@qq.com" ]
xiao349305433@qq.com
780b2fe5135f1eb340917dcfc8a11b871a059f1e
d79354f014b2d12847ddf6048b3228d683fe5e4f
/implementations/java/org.hl7.fhir.r4/src/org/hl7/fhir/r4/test/ProfileUtilitiesTests.java
65e07eb9aac0569e2bdfd4448f99e47c8647aa2c
[ "BSD-3-Clause" ]
permissive
lkp1802/fhir-svn
76ee3ee99f47b0e38b385f4ce2a1ccef5ab50567
f545ab50c7725a1a27294c7f2d23fb0c64b414ba
refs/heads/master
2020-03-09T14:48:48.478816
2018-06-26T15:21:17
2018-06-26T15:21:17
128,843,856
0
0
null
2018-04-09T23:04:46
2018-04-09T23:04:46
null
UTF-8
Java
false
false
45,978
java
package org.hl7.fhir.r4.test; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.hl7.fhir.r4.conformance.ProfileComparer; import org.hl7.fhir.r4.conformance.ProfileComparer.ProfileComparison; import org.hl7.fhir.r4.conformance.ProfileUtilities; import org.hl7.fhir.r4.context.SimpleWorkerContext; import org.hl7.fhir.r4.formats.IParser.OutputStyle; import org.hl7.fhir.r4.formats.XmlParser; import org.hl7.fhir.r4.model.Base; import org.hl7.fhir.r4.model.CodeType; import org.hl7.fhir.r4.model.ElementDefinition; import org.hl7.fhir.r4.model.ElementDefinition.DiscriminatorType; import org.hl7.fhir.r4.model.ElementDefinition.SlicingRules; import org.hl7.fhir.r4.model.Enumerations.BindingStrength; import org.hl7.fhir.r4.model.Reference; import org.hl7.fhir.r4.model.StructureDefinition; import org.hl7.fhir.r4.model.StructureDefinition.TypeDerivationRule; import org.hl7.fhir.r4.test.support.TestingUtilities; import org.hl7.fhir.r4.utils.EOperationOutcome; import org.hl7.fhir.exceptions.DefinitionException; import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.exceptions.FHIRFormatError; import org.hl7.fhir.utilities.CSFile; import org.hl7.fhir.utilities.Utilities; import org.hl7.fhir.utilities.validation.ValidationMessage; import org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity; import static org.junit.Assert.*; import org.hl7.fhir.exceptions.FHIRException; import org.hl7.fhir.r4.utils.SnomedExpressions; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class ProfileUtilitiesTests { // private String root; // private SimpleWorkerContext context; // private ProfileComparer comp; // //// public ProfileUtilitiesTests(String root) { //// super(); //// this.root = root; //// } // //// public ProfileUtilitiesTests() { //// super(); //// root = TestingUtilities.home(); //// //// } // // public static void main(String[] args) throws EOperationOutcome, Exception { // // new ProfileUtilitiesTests().execute(args); // ProfileUtilitiesTests put = new ProfileUtilitiesTests(); // put.root = "C:\\work\\org.hl7.fhir\\build\\publish"; // put.testSnapshotGeneration(); // // StructureDefinition p = (StructureDefinition) new XmlParser().parse(new FileInputStream("C:\\work\\org.hl7.fhir\\build\\publish\\lipid-report-cholesterol.profile.xml")); // // new ProfileUtilities(context, messages, null).generateSchematrons(new FileOutputStream("c:\\temp\\test.sch"), p); // } // // public void execute(String[] args) throws FileNotFoundException, IOException, FHIRException { // System.out.println("loading context"); // context = SimpleWorkerContext.fromPack(Utilities.path(root, "validation.zip")); // comp = new ProfileComparer(context); // // compare("patient-daf-dafpatient.profile.xml", "patient-qicore-qicore-patient.profile.xml"); // compare("encounter-daf-dafencounter.profile.xml", "encounter-qicore-qicore-encounter.profile.xml"); // compare("substance-daf-dafsubstance.profile.xml", "substance-qicore-qicore-substance.profile.xml"); // compare("medication-daf-dafmedication.profile.xml", "medication-qicore-qicore-medication.profile.xml"); // compare("procedure-daf-dafprocedure.profile.xml", "procedure-qicore-qicore-procedure.profile.xml"); // compare("familymemberhistory-daf-daffamilymemberhistory.profile.xml", "familymemberhistory-qicore-qicore-familymemberhistory.profile.xml"); // compare("immunization-daf-dafimmunization.profile.xml", "immunization-qicore-qicore-immunization.profile.xml"); // compare("condition-daf-dafcondition.profile.xml", "condition-qicore-qicore-condition.profile.xml"); // compare("allergyintolerance-daf-dafallergyintolerance.profile.xml", "allergyintolerance-qicore-qicore-allergyintolerance.profile.xml"); // compare("medicationadministration-daf-dafmedicationadministration.profile.xml", "medicationadministration-qicore-qicore-medicationadministration.profile.xml"); // compare("medicationdispense-daf-dafmedicationdispense.profile.xml", "medicationdispense-qicore-qicore-medicationdispense.profile.xml"); // compare("medicationprescription-daf-dafmedicationprescription.profile.xml", "medicationprescription-qicore-qicore-medicationprescription.profile.xml"); // compare("medicationstatement-daf-dafmedicationstatement.profile.xml", "medicationstatement-qicore-qicore-medicationstatement.profile.xml"); // compare("observation-daf-smokingstatus-dafsmokingstatus.profile.xml", "observation-qicore-qicore-observation.profile.xml"); // compare("observation-daf-vitalsigns-dafvitalsigns.profile.xml", "observation-qicore-qicore-observation.profile.xml"); //// compare("observation-daf-results-dafresultobs.profile.xml", "observation-qicore-qicore-observation.profile.xml"); //// compare("diagnosticorder-daf-dafdiagnosticorder.profile.xml", "diagnosticorder-qicore-qicore-diagnosticorder.profile.xml"); //// compare("diagnosticreport-daf-dafdiagnosticreport.profile.xml", "diagnosticreport-qicore-qicore-diagnosticreport.profile.xml"); // // System.out.println("processing output"); // for (ProfileComparison outcome : comp.getComparisons()) { // if (outcome.getSubset() != null) // new XmlParser().setOutputStyle(OutputStyle.PRETTY).compose(new FileOutputStream("C:\\temp\\intersection-"+outcome.getId()+".xml"), outcome.getSubset()); // if (outcome.getSuperset() != null) // new XmlParser().setOutputStyle(OutputStyle.PRETTY).compose(new FileOutputStream("C:\\temp\\union-"+outcome.getId()+".xml"), outcome.getSuperset()); // // System.out.println("\r\n"+outcome.getId()+": Comparison of "+outcome.getLeft().getUrl()+" and "+outcome.getRight().getUrl()); // for (ValidationMessage vm : outcome.getMessages()) // if (vm.getLevel() == IssueSeverity.INFORMATION) // System.out.println(vm.summary()); // for (ValidationMessage vm : outcome.getMessages()) // if (vm.getLevel() == IssueSeverity.WARNING) // System.out.println(vm.summary()); // for (ValidationMessage vm : outcome.getMessages()) // if (vm.getLevel() == IssueSeverity.ERROR) // System.out.println(vm.summary()); // for (ValidationMessage vm : outcome.getMessages()) // if (vm.getLevel() == IssueSeverity.FATAL) // System.out.println(vm.summary()); // System.out.println("done. "+Integer.toString(outcome.getMessages().size())+" messages"); // System.out.println("================================================================="); // } // } // // private void compare(String fn1, String fn2) throws FHIRFormatError, FileNotFoundException, IOException, DefinitionException { // System.out.println("Compare "+fn1+" to "+fn2); // System.out.println(" .. load"); // StructureDefinition left = (StructureDefinition) new XmlParser().parse(new FileInputStream(Utilities.path(root, fn1))); // StructureDefinition right = (StructureDefinition) new XmlParser().parse(new FileInputStream(Utilities.path(root, fn2))); // System.out.println(" .. compare"); // comp.compareProfiles(left, right); // // } // // public void testSnapshotGeneration() throws EOperationOutcome, Exception { // System.out.println("Loading"); // context = SimpleWorkerContext.fromPack(Utilities.path(root, "definitions.xml.zip")); // System.out.println("Loaded "+Integer.toString(context.totalCount())+" resources"); // // // simple tests // testSimple(); // testSimple2(); // testCardinalityChange(); // testDocumentationAppend(); // textTypeNarrowing1(); // textTypeNarrowing2(); // testMapping(); // // // ok, now we test walking into a new type: // testTypeWalk(); // // todo: testTypeWalk2(); // // // slicing tests // testSlicingSimple(); // testSlicingExtension(false); // testSlicingExtension(true); // testSlicingExtensionComplex(true); // testSlicingExtensionComplex(false); // testSlicingTask8742(); // System.out.println("Success"); // } // // /** // * This is simple: we just create an empty differential, generate the snapshot, and then insist it must match the base // * // * @param context2 // * @ // * @throws EOperationOutcome // */ @Test public void testSimple() throws FHIRException, FileNotFoundException, IOException { if (TestingUtilities.context == null) TestingUtilities.context = SimpleWorkerContext.fromPack(Utilities.path(TestingUtilities.home(), "publish", "definitions.xml.zip")); StructureDefinition focus = new StructureDefinition(); StructureDefinition base = TestingUtilities.context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/Patient").copy(); focus.setUrl(Utilities.makeUuidUrn()); focus.setBaseDefinition(base.getUrl()); focus.setType("Patient"); focus.setDerivation(TypeDerivationRule.CONSTRAINT); List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); new ProfileUtilities(TestingUtilities.context, messages, null).generateSnapshot(base, focus, focus.getUrl(), "Simple Test"); boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size(); for (int i = 0; i < base.getSnapshot().getElement().size(); i++) { ElementDefinition b = base.getSnapshot().getElement().get(i); ElementDefinition f = focus.getSnapshot().getElement().get(i); if (ok) { if (!f.hasBase()) ok = false; else if (!b.getPath().equals(f.getPath())) ok = false; else { b.setBase(null); f.setBase(null); ok = Base.compareDeep(b, f, true); } } } if (!ok) { compareXml(base, focus); throw new FHIRException("Snap shot generation simple test failed"); } else System.out.println("Snap shot generation simple test passed"); } // // /** // * This is simple: we just create an empty differential, generate the snapshot, and then insist it must match the base. for a different resource with recursion // * // * @param context2 // * @ // * @throws EOperationOutcome // */ @Test public void testSimple2() throws EOperationOutcome, Exception { if (TestingUtilities.context == null) TestingUtilities.context = SimpleWorkerContext.fromPack(Utilities.path(TestingUtilities.home(), "publish", "definitions.xml.zip")); StructureDefinition base = TestingUtilities.context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/ValueSet").copy(); StructureDefinition focus = base.copy(); focus.setUrl(Utilities.makeUuidUrn()); focus.setSnapshot(null); focus.setDifferential(null); List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); new ProfileUtilities(TestingUtilities.context, messages, null).generateSnapshot(base, focus, focus.getUrl(), "Simple Test" ); boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size(); for (int i = 0; i < base.getSnapshot().getElement().size(); i++) { if (ok) { ElementDefinition b = base.getSnapshot().getElement().get(i); ElementDefinition f = focus.getSnapshot().getElement().get(i); if (!f.hasBase() || !b.getPath().equals(f.getPath())) ok = false; else { f.setBase(null); b.setBase(null); ok = Base.compareDeep(b, f, true); } } } if (!ok) { compareXml(base, focus); System.out.println("Snap shot generation simple test failed"); throw new FHIRException("Snap shot generation simple test failed"); } else System.out.println("Snap shot generation simple test passed"); } // /** // * Change one cardinality. // * // * @param context2 // * @ // * @throws EOperationOutcome // */ // private void testCardinalityChange() throws EOperationOutcome, Exception { // StructureDefinition focus = new StructureDefinition(); // StructureDefinition base = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/Patient").copy(); // focus.setUrl(Utilities.makeUuidUrn()); // focus.setBaseDefinition(base.getUrl()); // focus.setType(base.getType()); // focus.setDerivation(TypeDerivationRule.CONSTRAINT); // ElementDefinition id = focus.getDifferential().addElement(); // id.setPath("Patient.identifier"); // id.setMin(1); // List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); // new ProfileUtilities(context, messages, null).generateSnapshot(base, focus, focus.getUrl(), "Simple Test" ); // // boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size(); // for (int i = 0; i < base.getSnapshot().getElement().size(); i++) { // if (ok) { // ElementDefinition b = base.getSnapshot().getElement().get(i); // ElementDefinition f = focus.getSnapshot().getElement().get(i); // if (!f.hasBase() || !b.getPath().equals(f.getBase().getPath())) // ok = false; // else { // f.setBase(null); // if (f.getPath().equals("Patient.identifier")) { // ok = f.getMin() == 1; // if (ok) // f.setMin(0); // } // ok = ok && Base.compareDeep(b, f, true); // } // } // } // // if (!ok) { // compareXml(base, focus); // throw new FHIRException("Snap shot generation chenge cardinality test failed"); // } else // System.out.println("Snap shot generation chenge cardinality test passed"); // } // // /** // * check that documentation appending is working // * // * @param context2 // * @ // * @throws EOperationOutcome // */ // private void testDocumentationAppend() throws EOperationOutcome, Exception { // StructureDefinition focus = new StructureDefinition(); // StructureDefinition base = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/Patient").copy(); // focus.setUrl(Utilities.makeUuidUrn()); // focus.setBaseDefinition(base.getUrl()); // focus.setType(base.getType()); // focus.setDerivation(TypeDerivationRule.CONSTRAINT); // ElementDefinition id = focus.getDifferential().addElement(); // id.setPath("Patient.identifier"); // id.setDefinition("... some more doco"); // List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); // new ProfileUtilities(context, messages, null).generateSnapshot(base, focus, focus.getUrl(), "Simple Test" ); // // boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size(); // for (int i = 0; i < base.getSnapshot().getElement().size(); i++) { // if (ok) { // ElementDefinition b = base.getSnapshot().getElement().get(i); // ElementDefinition f = focus.getSnapshot().getElement().get(i); // if (!f.hasBase() || !b.getPath().equals(f.getBase().getPath())) // ok = false; // else { // f.setBase(null); // if (f.getPath().equals("Patient.identifier")) { // ok = f.getDefinition().length() > b.getDefinition().length(); // if (ok) { // f.setDefinition(null); // b.setDefinition(null); // } // } // ok = ok && Base.compareDeep(b, f, true); // } // } // } // // if (!ok) { // compareXml(base, focus); // throw new FHIRException("Snap shot generation documentation append failed"); // } else // System.out.println("Snap shot generation documentation append test passed"); // } // // // /** // * check that narrowing types is working // * this one doesn't rename the path // * // * @param context2 // * @ // * @throws EOperationOutcome // */ // private void textTypeNarrowing1() throws EOperationOutcome, Exception { // StructureDefinition focus = new StructureDefinition(); // StructureDefinition base = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/Patient").copy(); // focus.setUrl(Utilities.makeUuidUrn()); // focus.setBaseDefinition(base.getUrl()); // focus.setType(base.getType()); // focus.setDerivation(TypeDerivationRule.CONSTRAINT); // ElementDefinition id = focus.getDifferential().addElement(); // id.setPath("Patient.deceased[x]"); // id.addType().setCode("dateTime"); // List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); // new ProfileUtilities(context, messages, null).generateSnapshot(base, focus, focus.getUrl(), "Simple Test" ); // // boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size(); // for (int i = 0; i < base.getSnapshot().getElement().size(); i++) { // if (ok) { // ElementDefinition b = base.getSnapshot().getElement().get(i); // ElementDefinition f = focus.getSnapshot().getElement().get(i); // if (!f.hasBase() || !b.getPath().equals(f.getBase().getPath())) // ok = false; // else { // f.setBase(null); // if (f.getPath().equals("Patient.deceasedDateTime")) { // ok = f.getType().size() == 1 && f.getType().get(0).getCode().equals("dateTime"); // if (ok) { // f.getType().clear(); // b.getType().clear(); // f.setPath(b.getPath()); // } // } // ok = ok && Base.compareDeep(b, f, true); // } // } // } // // if (!ok) { // compareXml(base, focus); // throw new FHIRException("Snap shot generation narrow type 1 failed"); // } else // System.out.println("Snap shot generation narrow type 1 test passed"); // } // // /** // * check that narrowing types is working // * this one renames the path // * // * @param context2 // * @ // * @throws EOperationOutcome // */ // private void textTypeNarrowing2() throws EOperationOutcome, Exception { // StructureDefinition focus = new StructureDefinition(); // StructureDefinition base = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/Patient").copy(); // focus.setUrl(Utilities.makeUuidUrn()); // focus.setBaseDefinition(base.getUrl()); // focus.setType(base.getType()); // focus.setDerivation(TypeDerivationRule.CONSTRAINT); // ElementDefinition id = focus.getDifferential().addElement(); // id.setPath("Patient.deceasedDateTime"); // id.addType().setCode("dateTime"); // List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); // new ProfileUtilities(context, messages, null).generateSnapshot(base, focus, focus.getUrl(), "Simple Test" ); // // boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size(); // for (int i = 0; i < base.getSnapshot().getElement().size(); i++) { // if (ok) { // ElementDefinition b = base.getSnapshot().getElement().get(i); // ElementDefinition f = focus.getSnapshot().getElement().get(i); // if (!f.hasBase() || !b.getPath().equals(f.getBase().getPath())) // ok = false; // else { // f.setBase(null); // if (f.getPath().equals("Patient.deceasedDateTime")) { // ok = f.getType().size() == 1 && f.getType().get(0).getCode().equals("dateTime"); // if (ok) { // f.getType().clear(); // b.getType().clear(); // f.setPath(b.getPath()); // } // } // ok = ok && Base.compareDeep(b, f, true); // } // } // } // // if (!ok) { // compareXml(base, focus); // throw new FHIRException("Snap shot generation narrow type 2 failed"); // } else // System.out.println("Snap shot generation narrow type 2 test passed"); // } // // /** // * check that mapping resolution is working // * // * @param context2 // * @ // * @throws EOperationOutcome // */ // private void testMapping() throws EOperationOutcome, Exception { // StructureDefinition focus = new StructureDefinition(); // StructureDefinition base = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/Patient").copy(); // focus.setUrl(Utilities.makeUuidUrn()); // focus.setBaseDefinition(base.getUrl()); // focus.setType(base.getType()); // focus.setDerivation(TypeDerivationRule.CONSTRAINT); // ElementDefinition id = focus.getDifferential().addElement(); // id.setPath("Patient.identifier"); // id.addMapping().setIdentity("rim").setMap("test"); // List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); // new ProfileUtilities(context, messages, null).generateSnapshot(base, focus, focus.getUrl(), "Simple Test" ); // // boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size(); // for (int i = 0; i < base.getSnapshot().getElement().size(); i++) { // if (ok) { // ElementDefinition b = base.getSnapshot().getElement().get(i); // ElementDefinition f = focus.getSnapshot().getElement().get(i); // if (!f.hasBase() || !b.getPath().equals(f.getBase().getPath())) // ok = false; // else { // f.setBase(null); // if (f.getPath().equals("Patient.identifier")) { // ok = f.getMapping().size() > b.getMapping().size(); // if (ok) { // f.getMapping().clear(); // b.getMapping().clear(); // } // } // ok = ok && Base.compareDeep(b, f, true); // } // } // } // // if (!ok) { // compareXml(base, focus); // throw new FHIRException("Snap shot generation mapping changes failed"); // } else // System.out.println("Snap shot generation mapping changes test passed"); // } // // /** // * Walking into a type // * // * @param context2 // * @ // * @throws EOperationOutcome // */ // private void testTypeWalk() throws EOperationOutcome, Exception { // StructureDefinition focus = new StructureDefinition(); // StructureDefinition base = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/Patient").copy(); // focus.setUrl(Utilities.makeUuidUrn()); // focus.setBaseDefinition(base.getUrl()); // focus.setType(base.getType()); // focus.setDerivation(TypeDerivationRule.CONSTRAINT); // ElementDefinition id = focus.getDifferential().addElement(); // id.setPath("Patient.identifier"); // id.setMustSupport(true); // id = focus.getDifferential().addElement(); // id.setPath("Patient.identifier.system"); // id.setMustSupport(true); // List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); // new ProfileUtilities(context, messages, null).generateSnapshot(base, focus, focus.getUrl(), "Simple Test" ); // // // the derived should be 8 longer // boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size() - 8; // for (int i = 0; i < base.getSnapshot().getElement().size(); i++) { // if (ok) { // ElementDefinition b = base.getSnapshot().getElement().get(i); // ElementDefinition f = focus.getSnapshot().getElement().get(i <= 9 ? i : i + 8); // if (!f.hasBase() || !b.getPath().equals(f.getBase().getPath())) // ok = false; // else { // f.setBase(null); // if (f.getPath().equals("Patient.identifier")) { // ok = f.getMustSupport() && !b.getMustSupport(); // if (ok) { // f.setMustSupportElement(null); // } // } // ok = Base.compareDeep(b, f, true); // } // } // } // // if (!ok) { // compareXml(base, focus); // throw new FHIRException("Snap shot generation simple test failed"); // } else // System.out.println("Snap shot generation simple test passed"); // } // // /** // * Walking into a type, without explicitly doing so // * // * note: this currently fails. // * // * @param context2 // * @ // * @throws EOperationOutcome // */ // private void testTypeWalk2() throws EOperationOutcome, Exception { // StructureDefinition focus = new StructureDefinition(); // StructureDefinition base = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/Patient").copy(); // focus.setUrl(Utilities.makeUuidUrn()); // focus.setBaseDefinition(base.getUrl()); // focus.setType(base.getType()); // focus.setDerivation(TypeDerivationRule.CONSTRAINT); // ElementDefinition id = focus.getDifferential().addElement(); // id.setPath("Patient.identifier.system"); // id.setMustSupport(true); // List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); // new ProfileUtilities(context, messages, null).generateSnapshot(base, focus, focus.getUrl(), "Simple Test" ); // // // the derived should be 8 longer // boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size() - 8; // for (int i = 0; i < base.getSnapshot().getElement().size(); i++) { // if (ok) { // ElementDefinition b = base.getSnapshot().getElement().get(i); // ElementDefinition f = focus.getSnapshot().getElement().get(i <= 9 ? i : i + 8); // if (!f.hasBase() || !b.getPath().equals(f.getBase().getPath())) // ok = false; // else { // f.setBase(null); // if (f.getPath().equals("Patient.identifier")) { // ok = f.getMustSupport() && !b.getMustSupport(); // if (ok) { // f.setMustSupportElement(null); // } // } // ok = Base.compareDeep(b, f, true); // } // } // } // // if (!ok) { // compareXml(base, focus); // throw new FHIRException("Snap shot generation simple test failed"); // } else // System.out.println("Snap shot generation simple test passed"); // } // // // /** // * we're going to slice Patient.identifier // */ // private void testSlicingSimple() throws EOperationOutcome, Exception { // // StructureDefinition focus = new StructureDefinition(); // StructureDefinition base = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/Patient").copy(); // focus.setUrl(Utilities.makeUuidUrn()); // focus.setBaseDefinition(base.getUrl()); // focus.setType(base.getType()); // focus.setDerivation(TypeDerivationRule.CONSTRAINT); // // // set the slice up // ElementDefinition id = focus.getDifferential().addElement(); // id.setPath("Patient.identifier"); // id.getSlicing().setOrdered(false).setRules(SlicingRules.OPEN).addDiscriminator().setPath("use").setType(DiscriminatorType.VALUE); // // // first slice: // id = focus.getDifferential().addElement(); // id.setPath("Patient.identifier"); // id.setSliceName("name1"); // id = focus.getDifferential().addElement(); // id.setPath("Patient.identifier.use"); // id.setFixed(new CodeType("usual")); // // // second slice: // id = focus.getDifferential().addElement(); // id.setPath("Patient.identifier"); // id.setSliceName("name2"); // id = focus.getDifferential().addElement(); // id.setPath("Patient.identifier.use"); // id.setFixed(new CodeType("official")); // // // List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); // new ProfileUtilities(context, messages, null).generateSnapshot(base, focus, focus.getUrl(), "Simple Test" ); // // // 18 different: identifier + 8 inner children * 2 // boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size() - 18; // for (int i = 0; i < base.getSnapshot().getElement().size(); i++) { // if (ok) { // ElementDefinition b = base.getSnapshot().getElement().get(i); // ElementDefinition f = focus.getSnapshot().getElement().get(i <= 9 ? i : i + 18); // if (!f.hasBase() || !b.getPath().equals(f.getBase().getPath())) // ok = false; // else { // f.setBase(null); // if (f.getPath().equals("Patient.identifier")) { // ok = f.hasSlicing(); // if (ok) // f.setSlicing(null); // } // ok = Base.compareDeep(b, f, true); // } // } // } // // now, check that the slices we skipped are correct: // for (int i = 10; i <= 18; i++) { // if (ok) { // ElementDefinition d1 = focus.getSnapshot().getElement().get(i); // ElementDefinition d2 = focus.getSnapshot().getElement().get(i+9); // if (d1.getPath().equals("Patient.identifier.use")) { // ok = d1.hasFixed() && d2.hasFixed() && !Base.compareDeep(d1.getFixed(), d2.getFixed(), true); // if (ok) { // d1.setFixed(null); // d2.setFixed(null); // } // } // if (d1.getPath().equals("Patient.identifier")) { // ok = d1.hasSliceName() && d2.hasSliceName() && !Base.compareDeep(d1.getSliceNameElement(), d2.getSliceNameElement(), true); // if (ok) { // d1.setSliceName(null); // d2.setSliceName(null); // } // } // ok = Base.compareDeep(d1, d2, true); // } // } // // for throughness, we could check against identifier too, but this is not done now. // // if (!ok) { // compareXml(base, focus); // throw new FHIRException("Snap shot generation slicing failed"); // } else // System.out.println("Snap shot generation slicing passed"); // // } // // /** // * we're going to slice Patient.extension and refer to extension by profile // * // * implicit: whether to rely on implicit extension slicing // */ // private void testSlicingExtension(boolean implicit) throws EOperationOutcome, Exception { // // StructureDefinition focus = new StructureDefinition(); // StructureDefinition base = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/Patient").copy(); // focus.setUrl(Utilities.makeUuidUrn()); // focus.setBaseDefinition(base.getUrl()); // focus.setType(base.getType()); // focus.setDerivation(TypeDerivationRule.CONSTRAINT); // // // set the slice up // ElementDefinition id; // if (!implicit) { // id = focus.getDifferential().addElement(); // id.setPath("Patient.extension"); // id.getSlicing().setOrdered(false).setRules(SlicingRules.OPEN).addDiscriminator().setPath("url").setType(DiscriminatorType.VALUE); // id.setMax("3"); // } // // first slice: // id = focus.getDifferential().addElement(); // id.setPath("Patient.extension"); // id.setSliceName("name1"); // id.addType().setCode("Extension").setProfile("http://hl7.org/fhir/StructureDefinition/patient-birthTime"); // id.setMin(1); // // // second slice: // id = focus.getDifferential().addElement(); // id.setPath("Patient.extension"); // id.setSliceName("name2"); // id.addType().setCode("Extension").setProfile("http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName"); // // List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); // ProfileUtilities pu = new ProfileUtilities(context, messages, null); // pu.generateSnapshot(base, focus, focus.getUrl(), "Simple Test" ); // // // 2 different: extension slices // boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size() - 2; // for (int i = 0; i < base.getSnapshot().getElement().size(); i++) { // if (ok) { // ElementDefinition b = base.getSnapshot().getElement().get(i); // ElementDefinition f = focus.getSnapshot().getElement().get(i <= 7 ? i : i + 2); // if (!f.hasBase() || !b.getPath().equals(f.getBase().getPath())) // ok = false; // else { // f.setBase(null); // if (f.getPath().equals("Patient.extension")) { // ok = f.hasSlicing() && (implicit || f.getMax().equals("3")); // if (ok) { // f.setSlicing(null); // f.setMaxElement(b.getMaxElement()); // } // } // if (!f.getPath().equals("Patient.extension")) // no compare that because the definitions get overwritten // ok = Base.compareDeep(b, f, true); // } // } // } // // now, check that the slices we skipped are correct: // if (ok) { // ElementDefinition d1 = focus.getSnapshot().getElement().get(8); // ElementDefinition d2 = focus.getSnapshot().getElement().get(9); // ok = d1.hasType() && d1.getType().get(0).hasProfile() && d2.hasType() && d2.getType().get(0).hasProfile() && !Base.compareDeep(d1.getType(), d2.getType(), true) && // d1.getMin() == 1 && d2.getMin() == 0 && d1.getMax().equals("1") && d2.getMax().equals("1"); // if (ok) { // d1.getType().clear(); // d2.getType().clear(); // d1.setSliceName("x"); // d2.setSliceName("x"); // d1.setMin(0); // } // ok = Base.compareDeep(d1, d2, true); // // for throughness, we could check against extension too, but this is not done now. // } // // if (!ok) { // compareXml(base, focus); // throw new FHIRException("Snap shot generation slicing extensions simple ("+(implicit ? "implicit" : "not implicit")+") failed"); // } else // System.out.println("Snap shot generation slicing extensions simple ("+(implicit ? "implicit" : "not implicit")+") passed"); // } // // /** // * we're going to slice Patient.extension and refer to extension by profile. one of the extensions is complex, and we're going to walk into // * it and make it must support // * // * implicit: whether to rely on implicit extension slicing // */ // private void testSlicingExtensionComplex(boolean implicit) throws EOperationOutcome, Exception { // // StructureDefinition focus = new StructureDefinition(); // StructureDefinition base = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/Patient").copy(); // focus.setUrl(Utilities.makeUuidUrn()); // focus.setBaseDefinition(base.getUrl()); // focus.setType(base.getType()); // focus.setDerivation(TypeDerivationRule.CONSTRAINT); // // // set the slice up // ElementDefinition id; // if (!implicit) { // id = focus.getDifferential().addElement(); // id.setPath("Patient.extension"); // id.getSlicing().setOrdered(false).setRules(SlicingRules.OPEN).addDiscriminator().setPath("url").setType(DiscriminatorType.VALUE); // } // // first slice - a simple one to get us going: // id = focus.getDifferential().addElement(); // id.setPath("Patient.extension"); // id.setSliceName("simple"); // id.addType().setCode("Extension").setProfile("http://hl7.org/fhir/StructureDefinition/patient-birthTime"); // // // second slice - the complex one // // we walk into this and fix properties on the inner extensions // id = focus.getDifferential().addElement(); // id.setPath("Patient.extension"); // id.setSliceName("complex"); // id.addType().setCode("Extension").setProfile("http://hl7.org/fhir/StructureDefinition/patient-nationality"); // if (!implicit) { // id = focus.getDifferential().addElement(); // id.setPath("Patient.extension.extension"); // id.getSlicing().setOrdered(false).setRules(SlicingRules.OPEN).addDiscriminator().setPath("url").setType(DiscriminatorType.VALUE); // } // id = focus.getDifferential().addElement(); // id.setPath("Patient.extension.extension"); // id.setSliceName("code"); // id.setMustSupport(true); // id.addType().setCode("Extension").setProfile("http://hl7.org/fhir/StructureDefinition/patient-nationality#code"); // // id = focus.getDifferential().addElement(); // id.setPath("Patient.extension.extension"); // id.setSliceName("period"); // id.addType().setCode("Extension").setProfile("http://hl7.org/fhir/StructureDefinition/patient-nationality#period"); // id.setMax("0"); // prohibit this one.... // // List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); // new ProfileUtilities(context, messages, null).generateSnapshot(base, focus, focus.getUrl(), "Simple Test" ); // // // ok, there's going to 1 (simple) + complex: 1 + id + extnesion.slice + extension.code + (4 inside from that) + extension.period + (4 inside from that) + value + url = 16 // boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size() - 16; // // // custom checks // ok = ok && rule(focus.getSnapshot().getElement().get(7).getPath().equals("Patient.extension"), "element 7 (base) path"); // ok = ok && rule(focus.getSnapshot().getElement().get(7).hasSlicing(), "element 7 slicing"); // ok = ok && rule(focus.getSnapshot().getElement().get(8).getPath().equals("Patient.extension"), "element 8 (1st slice) path"); // ok = ok && rule(focus.getSnapshot().getElement().get(8).getSliceName().equals("simple"), "element 8 (1st slice) name"); // ok = ok && rule(focus.getSnapshot().getElement().get(8).getType().get(0).getProfile().equals("http://hl7.org/fhir/StructureDefinition/patient-birthTime"), "element 9 (2nd slice) profile name"); // ok = ok && rule(focus.getSnapshot().getElement().get(9).getPath().equals("Patient.extension"), "element 9 (2nd slice) path"); // ok = ok && rule(focus.getSnapshot().getElement().get(9).getSliceName().equals("complex"), "element 8 (1st slice) name"); // ok = ok && rule(focus.getSnapshot().getElement().get(9).getType().get(0).getProfile().equals("http://hl7.org/fhir/StructureDefinition/patient-nationality"), "element 9 (2nd slice) profile name"); // ok = ok && rule(focus.getSnapshot().getElement().get(10).getPath().equals("Patient.extension.id"), "element 10 (2nd slice).id path"); // ok = ok && rule(focus.getSnapshot().getElement().get(11).getPath().equals("Patient.extension.extension"), "element 11 (2nd slice).extension path"); // ok = ok && rule(focus.getSnapshot().getElement().get(12).getPath().equals("Patient.extension.extension"), "element 12 (2nd slice).extension path"); // ok = ok && rule(focus.getSnapshot().getElement().get(12).getMustSupport(), "element 12 (2nd slice).extension must support"); // ok = ok && rule(focus.getSnapshot().getElement().get(13).getPath().equals("Patient.extension.extension.id"), "element 13 (2nd slice).extension.id path"); // ok = ok && rule(focus.getSnapshot().getElement().get(14).getPath().equals("Patient.extension.extension.extension"), "element 14 (2nd slice).extension.extension path"); // ok = ok && rule(focus.getSnapshot().getElement().get(15).getPath().equals("Patient.extension.extension.url"), "element 15 (2nd slice).extension.url path"); // ok = ok && rule(focus.getSnapshot().getElement().get(16).getPath().equals("Patient.extension.extension.valueCodeableConcept"), "element 16 (2nd slice).extension.valueCodeableConcept path"); // ok = ok && rule(focus.getSnapshot().getElement().get(17).getPath().equals("Patient.extension.extension"), "element 17 (2nd slice).extension path"); // ok = ok && rule(focus.getSnapshot().getElement().get(17).getMax().equals("0"), "element 17 (2nd slice).extension cardinality"); // ok = ok && rule(focus.getSnapshot().getElement().get(18).getPath().equals("Patient.extension.extension.id"), "element 18 (2nd slice).extension.id path"); // ok = ok && rule(focus.getSnapshot().getElement().get(19).getPath().equals("Patient.extension.extension.extension"), "element 19 (2nd slice).extension.extension path"); // ok = ok && rule(focus.getSnapshot().getElement().get(20).getPath().equals("Patient.extension.extension.url"), "element 20 (2nd slice).extension.url path"); // ok = ok && rule(focus.getSnapshot().getElement().get(21).getPath().equals("Patient.extension.extension.valuePeriod"), "element 21 (2nd slice).extension.valuePeriod path"); // ok = ok && rule(focus.getSnapshot().getElement().get(22).getPath().equals("Patient.extension.url"), "element 22 (2nd slice).url path"); // ok = ok && rule(focus.getSnapshot().getElement().get(23).getPath().equals("Patient.extension.value[x]"), "element 23 (2nd slice).url path"); // // for (int i = 0; i < base.getSnapshot().getElement().size(); i++) { // if (ok) { // ElementDefinition b = base.getSnapshot().getElement().get(i); // ElementDefinition f = focus.getSnapshot().getElement().get(i <= 7 ? i : i + 16); // if (!f.hasBase() || !b.getPath().equals(f.getBase().getPath())) // ok = false; // else { // f.setBase(null); // if (f.getPath().equals("Patient.extension")) { // ok = f.hasSlicing(); // if (ok) // f.setSlicing(null); // } // if (!f.getPath().equals("Patient.extension")) // no compare that because the definitions get overwritten // ok = Base.compareDeep(b, f, true); // } // } // } // // if (!ok) { // compareXml(base, focus); // throw new FHIRException("Snap shot generation slicing extensions complex ("+(implicit ? "implicit" : "not implicit")+") failed"); // } else // System.out.println("Snap shot generation slicing extensions complex ("+(implicit ? "implicit" : "not implicit")+") passed"); // } // // private void testSlicingTask8742() throws EOperationOutcome, Exception { // StructureDefinition focus = new StructureDefinition(); // StructureDefinition base = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/Organization").copy(); // focus.setUrl(Utilities.makeUuidUrn()); // focus.setBaseDefinition(base.getUrl()); // focus.setType(base.getType()); // focus.setDerivation(TypeDerivationRule.CONSTRAINT); // // ElementDefinition id = focus.getDifferential().addElement(); // id.setPath("Organization.address"); // id.setMin(1); // id.setMax("1"); // id.setMustSupport(true); // // id = focus.getDifferential().addElement(); // id.setPath("Organization.address.extension"); // id.setSliceName("USLabCountycodes"); // id.getSlicing().setOrdered(false).setRules(SlicingRules.OPEN).addDiscriminator().setPath("url").setType(DiscriminatorType.VALUE); // id.setShort("County/Parish FIPS codes"); // id.setDefinition("County/Parish FIPS codes."); // id.setRequirements("County/Parish Code SHALL use FIPS 6-4 ( INCITS 31:2009)."); // id.setMin(0); // id.setMax("1"); // id.addType().setCode("Extension").setProfile("http://hl7.org/fhir/StructureDefinition/us-core-county"); // id.setMustSupport(true); // id.getBinding().setStrength(BindingStrength.REQUIRED).setDescription("FIPS codes for US counties and county equivalent entities.").setValueSet(new Reference().setReference("http://hl7.org/fhir/ValueSet/fips-county")); // List<ValidationMessage> messages = new ArrayList<ValidationMessage>(); // // new ProfileUtilities(context, messages, null).generateSnapshot(base, focus, focus.getUrl(), "Simple Test" ); // // // 14 for address with one sliced extension // boolean ok = base.getSnapshot().getElement().size() == focus.getSnapshot().getElement().size() - 13; // // if (!ok) { // compareXml(base, focus); // throw new FHIRException("Snap shot generation test 8742 failed"); // } else // System.out.println("Snap shot generation test 8742 passed"); // } // // // private boolean rule(boolean ok, String message) { // if (!ok) // System.out.println("Test failed: " + message); // return ok; // } // private void compareXml(StructureDefinition base, StructureDefinition focus) throws FileNotFoundException, IOException { base.setText(null); focus.setText(null); base.setDifferential(null); // focus.setDifferential(null); String f1 = Utilities.path("c:", "temp", "base.xml"); String f2 = Utilities.path("c:", "temp", "derived.xml"); new XmlParser().setOutputStyle(OutputStyle.PRETTY).compose(new FileOutputStream(f1), base);; new XmlParser().setOutputStyle(OutputStyle.PRETTY).compose(new FileOutputStream(f2), focus);; String diff = Utilities.path(System.getenv("ProgramFiles(X86)"), "WinMerge", "WinMergeU.exe"); List<String> command = new ArrayList<String>(); command.add("\"" + diff + "\" \"" + f1 + "\" \"" + f2 + "\""); ProcessBuilder builder = new ProcessBuilder(command); builder.directory(new CSFile("c:\\temp")); builder.start(); } }
[ "grahameg@2f0db536-2c49-4257-a3fa-e771ed206c19" ]
grahameg@2f0db536-2c49-4257-a3fa-e771ed206c19
b156bec399f40d5eea2c069034bf6116a02ae153
055fd536839fcc13de74a3369e670de62583a589
/21/6์›”/0611/Main_BOJ_15881_ppap.java
05674a746d6310e2e5d59af9b797fad03cba430f
[]
no_license
SeonA1223/Algorithm
b37517e1137d10beb5648df26a9015c459aa704f
b7e1cb374eb50c12177e450699b2f9d7d9d75d06
refs/heads/main
2023-08-03T22:44:08.001116
2021-09-07T12:18:19
2021-09-13T12:31:16
398,503,297
0
0
null
null
null
null
UTF-8
Java
false
false
1,052
java
package problem210611; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; public class Main_BOJ_15881_ppap { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); char arr[] = new char[n]; char ppap[] = { 'p', 'P', 'A', 'p' }; int dp[] = new int[n]; arr = br.readLine().toCharArray(); for (int i = 0; i < n; i++) { if (i > 0 && arr[i] != ppap[0]) { dp[i] = dp[i - 1]; } if (arr[i] == ppap[0] && dp[i] == 0) { boolean flag = true; for (int j = 1; j < ppap.length; j++) { if (i + j >= n || arr[i + j] != ppap[j]) { flag = false; break; } } if (flag) { int cnt = 0; if (i == 0) cnt = 1; else cnt = dp[i - 1] + 1; for (int j = i; j < i + 4; j++) { dp[j] = cnt; } i += 3; } else { if (i > 0) dp[i] = dp[i - 1]; } } } System.out.println(dp[n - 1]); } }
[ "bsa14523@gmail.com" ]
bsa14523@gmail.com
73100cb08fce133d3e0879a2fa7b9bb830945f0f
b35bf551b0f0c14b9dfaa89bd1c008ede6285f2b
/core/src/main/java/com/froso/ufp/modules/core/worker/annotations/WorkerAnnotation.java
433a3fef8af30ec47571c4e7a9c67bbe1216f0d6
[]
no_license
FrontendSolutionsGmbH/ufp-core-java
29347e63598060323d48412c3b292f2023e4a956
9b09d61a04453b6d492269c077629965fe9d694b
refs/heads/master
2022-07-10T16:32:21.887062
2019-08-21T11:09:21
2019-08-21T11:09:21
191,003,665
0
0
null
2021-08-02T17:17:08
2019-06-09T12:27:45
Java
UTF-8
Java
false
false
496
java
package com.froso.ufp.modules.core.worker.annotations; import java.lang.annotation.*; /** * The interface Ufp exception annotation. */ @Target({ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface WorkerAnnotation { /** * Exception id string. * * @return the string */ String description() default "Description"; String name() default "Name"; boolean enabled() default true; int intervalSeconds() default 30; }
[ "ck@digitalgott.de" ]
ck@digitalgott.de
1b2d54da8ec82699f517e3bc74a180b276bf3d75
12174a3852c53b54d704f558e5d1baf227ae5e9c
/project1028_/Main1028.java
2252dfc9af8fe44fdab1a2ec47104584fd8ac743
[]
no_license
BbongLee/CloudLaundry
2b98216327f5634fca9b8eb643ee998a6b787c88
14039c9b869388d3412375c690911c404e393084
refs/heads/master
2021-09-02T02:09:33.534770
2017-12-29T17:21:17
2017-12-29T17:21:17
103,020,705
0
0
null
null
null
null
UHC
Java
false
false
1,714
java
package project1028_; import java.io.IOException; import javax.swing.JFrame; public class Main1028 extends JFrame{ public String user; //ํŒจ๋„์ถ”๊ฐ€ public IndexPage indexPage = null; public IORank ioRank = null; public Howtoplay howto = null; public static GameStart gamePage = null; public static void main(String[] args) throws IOException { Main1028 main = new Main1028(); main.setTitle("๊ตฌ๋ฆ„์„ธํƒ์†Œ | ๊น€์œค์˜ ์ด์˜ˆ๋ณธ"); //ํŒจ๋„์ถ”๊ฐ€ main.indexPage = new IndexPage(main); main.ioRank = new IORank(main,"rank.txt"); main.howto = new Howtoplay(main); main.gamePage = new GameStart(main); main.add(main.indexPage); main.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); main.setVisible(true); main.setSize(1015,710); // //gamePage.cloudMove(); // CloudThread ct = new CloudThread(); // TimeThread tt = new TimeThread(); // ct.start(); // tt.start(); } public void setUser(String user){ this.user = user; } public String getUser(){ return user; } public void change(String panelName) { if(panelName.equals("rankPage")){ getContentPane().removeAll(); getContentPane().add(ioRank); revalidate(); repaint(); } else if(panelName.equals("indexPage")){ getContentPane().removeAll(); getContentPane().add(indexPage); revalidate(); repaint(); } else if(panelName.equals("howtoPage")){ getContentPane().removeAll(); getContentPane().add(howto); revalidate(); repaint(); } else if(panelName.equals("gamePage")){ getContentPane().removeAll(); getContentPane().add(gamePage); revalidate(); repaint(); } } }
[ "noreply@github.com" ]
BbongLee.noreply@github.com
de09051d73a1b221ae83ea2ca56d0e01b2a7c57c
5596e48d443133c25cd2470cea91fb455012aa2c
/src/cleantool/su/starcleanmaster/util/AdbShellUtil.java
ff1d4587137ad0d1b11d2e1d1afc62ae461e556a
[]
no_license
NasdaqGodzilla/CleanTool
abfc33e59d3caa6159446b25ba79946ae7ed563c
29137ce9e476df322e7c1051f26ab11e9629e333
refs/heads/master
2022-04-12T13:55:00.697082
2017-10-10T07:58:21
2017-10-10T07:58:21
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,891
java
package cleantool.su.starcleanmaster.util; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; public class AdbShellUtil { /** * A silent uninstall of the application through the command line * * @param packageName * @return */ public static String unInstallApp(String packageName) { String[] command = {"pm", "uninstall", packageName}; return execCommand(command); } /** * Complete the silent installation of the application through the command * line * * @param apkAbsolutePath * @return success */ public static String installApp(String apkAbsolutePath) { // TODO Auto-generated method stub String[] command = {"pm", "install", "-r", apkAbsolutePath}; return execCommand(command); } /** * Commands can be executed in shell through ADB */ public static String execCommand(String... command) { Process process = null; InputStream errIs = null; InputStream inIs = null; String result = ""; try { process = new ProcessBuilder().command(command).start(); ByteArrayOutputStream baos = new ByteArrayOutputStream(); int read = -1; errIs = process.getErrorStream(); while ((read = errIs.read()) != -1) { baos.write(read); } inIs = process.getInputStream(); while ((read = inIs.read()) != -1) { baos.write(read); } result = new String(baos.toByteArray()); if (inIs != null) inIs.close(); if (errIs != null) errIs.close(); process.destroy(); } catch (IOException e) { result = e.getMessage(); } return result; } }
[ "Fadi.Su@sw-suhuazhi.Lavaszx.com" ]
Fadi.Su@sw-suhuazhi.Lavaszx.com
87944cdb4741d9fd2ac2d7e444669e95302df0e8
51ef2a8633cb9597fa17f3eb587334895f4d49fb
/src/com/bqlib/util/JsonDateValueProcessorUtil.java
4d2935a84b22762365732fc551f5ad9a902d88bf
[]
no_license
Famer-Y/StudentScoreSystem
6e00b610ff9e5463a1a64f2000af2bbac64ceb6d
b7d09aaac035305d6e317fcd071f0bcd88670407
refs/heads/master
2021-09-03T14:57:07.333668
2018-01-09T23:48:17
2018-01-09T23:48:17
null
0
0
null
null
null
null
UTF-8
Java
false
false
871
java
package com.bqlib.util; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import net.sf.json.JsonConfig; import net.sf.json.processors.JsonValueProcessor; public class JsonDateValueProcessorUtil implements JsonValueProcessor { private String format ="yyyy-MM-dd"; public Object processArrayValue(Object value, JsonConfig config) { return process(value); } public Object processObjectValue(String key, Object value, JsonConfig config) { return process(value); } private Object process(Object value){ if(value instanceof Date){ SimpleDateFormat sdf = new SimpleDateFormat(format,Locale.UK); return sdf.format(value); } return value == null ? "" : value.toString(); } }
[ "1243204339@qq.com" ]
1243204339@qq.com
435d079789a8b63e594af8a3c75293147f1ca3a4
cfd0713e6a25dfa48a6145d4839dbb5d14e5e7e6
/src/main/java/com/junction/spotify/response/audioAnalysis/Section.java
80ffc15f25b3571fb3c985fd91c4ddedc9234ebd
[]
no_license
sanekyy/spotify
a9a2a8b4744f03d8bc73a31f76188442844cb934
ff44b1aa11ba0f6648f5a361773186d291e1d700
refs/heads/master
2021-05-06T18:38:53.752432
2017-11-26T04:26:19
2017-11-26T04:26:19
112,035,383
0
0
null
null
null
null
UTF-8
Java
false
false
1,084
java
package com.junction.spotify.response.audioAnalysis; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class Section { @SerializedName("start") @Expose public float start; @SerializedName("duration") @Expose public float duration; @SerializedName("confidence") @Expose public float confidence; @SerializedName("loudness") @Expose public float loudness; @SerializedName("tempo") @Expose public float tempo; @SerializedName("tempo_confidence") @Expose public float tempoConfidence; @SerializedName("key") @Expose public float key; @SerializedName("key_confidence") @Expose public float keyConfidence; @SerializedName("mode") @Expose public float mode; @SerializedName("mode_confidence") @Expose public float modeConfidence; @SerializedName("time_signature") @Expose public float timeSignature; @SerializedName("time_signature_confidence") @Expose public float timeSignatureConfidence; }
[ "sanekyy@gmail.com" ]
sanekyy@gmail.com
e36eb3569ac96cbbe5005627ad6ec6ba552d6912
c8cff68eb09f0edd99d8437ea4b6eb3567109ab4
/reservas-teatro-es/src/main/java/com/autentia/tutoriales/reservas/teatro/command/cliente/AplicarDescuentosCommand.java
98425242ed47a6d3adb88046a29c62d2aae38078
[ "Apache-2.0" ]
permissive
fontecha/reservas-teatro
e73f9ea1f23cd2e3a1ae49fe95b9e609a048cc4d
7d127d2987d7fc30d35dc4c90821aad48767dc50
refs/heads/main
2023-04-03T06:49:26.300103
2021-03-31T12:51:20
2021-03-31T12:51:20
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,011
java
package com.autentia.tutoriales.reservas.teatro.command.cliente; import com.autentia.tutoriales.reservas.teatro.event.cliente.DescuentosAplicadosEvent; import com.autentia.tutoriales.reservas.teatro.infra.Command; import lombok.Value; import java.time.LocalDate; import java.util.UUID; import java.util.stream.Collectors; @Value public class AplicarDescuentosCommand implements Command<ClienteCommandContext, Cliente, String> { String aggregateRootId; UUID enReserva; int maximo; @Override public void execute(final ClienteCommandContext context) { final var cliente = context.getRepository().load(aggregateRootId).orElseThrow(); final var descuentos = cliente.getDescuentosAplicables(LocalDate.now(), maximo).stream() .map(Descuento::getId) .collect(Collectors.toList()); context.getEventPublisher().tryPublish(cliente.getVersion(), new DescuentosAplicadosEvent(aggregateRootId, enReserva, descuentos)); } }
[ "dgarciagil@autentia.com" ]
dgarciagil@autentia.com
ec0a5b29c48c8d18a72606ddb94c46d82e17e2d6
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/jmonkeyengine/engine/src/core/com/jme3/animation/AnimationFactory.java
b994ccb32fc11deec5f2ce8afbe60cafe4b12b50
[ "MIT", "GPL-1.0-or-later", "BSD-3-Clause", "GPL-2.0-or-later", "BSD-2-Clause" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
Java
false
false
19,354
java
/* * Copyright (c) 2009-2011 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'jMonkeyEngine' nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package com.jme3.animation; import com.jme3.math.FastMath; import com.jme3.math.Quaternion; import com.jme3.math.Transform; import com.jme3.math.Vector3f; /** * A convenience class to easily setup a spatial keyframed animation * you can add some keyFrames for a given time or a given keyFrameIndex, for translation rotation and scale. * The animationHelper will then generate an appropriate SpatialAnimation by interpolating values between the keyFrames. * <br><br> * Usage is : <br> * - Create the AnimationHelper<br> * - add some keyFrames<br> * - call the buildAnimation() method that will retruna new Animation<br> * - add the generated Animation to any existing AnimationControl<br> * <br><br> * Note that the first keyFrame (index 0) is defaulted with the identy transforms. * If you want to change that you have to replace this keyFrame with any transform you want. * * @author Nehon */ public class AnimationFactory { /** * step for splitting rotation that have a n ange above PI/2 */ private final static float EULER_STEP = FastMath.QUARTER_PI * 3; /** * enum to determine the type of interpolation */ private enum Type { Translation, Rotation, Scale; } /** * Inner Rotation type class to kep track on a rotation Euler angle */ protected class Rotation { /** * The rotation Quaternion */ Quaternion rotation = new Quaternion(); /** * This rotation expressed in Euler angles */ Vector3f eulerAngles = new Vector3f(); /** * the index of the parent key frame is this keyFrame is a splitted rotation */ int masterKeyFrame = -1; public Rotation() { rotation.loadIdentity(); } void set(Quaternion rot) { rotation.set(rot); float[] a = new float[3]; rotation.toAngles(a); eulerAngles.set(a[0], a[1], a[2]); } void set(float x, float y, float z) { float[] a = {x, y, z}; rotation.fromAngles(a); eulerAngles.set(x, y, z); } } /** * Name of the animation */ protected String name; /** * frames per seconds */ protected int fps; /** * Animation duration in seconds */ protected float duration; /** * total number of frames */ protected int totalFrames; /** * time per frame */ protected float tpf; /** * Time array for this animation */ protected float[] times; /** * Translation array for this animation */ protected Vector3f[] translations; /** * rotation array for this animation */ protected Quaternion[] rotations; /** * scales array for this animation */ protected Vector3f[] scales; /** * The map of keyFrames to compute the animation. The key is the index of the frame */ protected Vector3f[] keyFramesTranslation; protected Vector3f[] keyFramesScale; protected Rotation[] keyFramesRotation; /** * Creates and AnimationHelper * @param duration the desired duration for the resulting animation * @param name the name of the resulting animation */ public AnimationFactory(float duration, String name) { this(duration, name, 30); } /** * Creates and AnimationHelper * @param duration the desired duration for the resulting animation * @param name the name of the resulting animation * @param fps the number of frames per second for this animation (default is 30) */ public AnimationFactory(float duration, String name, int fps) { this.name = name; this.duration = duration; this.fps = fps; totalFrames = (int) (fps * duration) + 1; tpf = 1 / (float) fps; times = new float[totalFrames]; translations = new Vector3f[totalFrames]; rotations = new Quaternion[totalFrames]; scales = new Vector3f[totalFrames]; keyFramesTranslation = new Vector3f[totalFrames]; keyFramesTranslation[0] = new Vector3f(); keyFramesScale = new Vector3f[totalFrames]; keyFramesScale[0] = new Vector3f(1, 1, 1); keyFramesRotation = new Rotation[totalFrames]; keyFramesRotation[0] = new Rotation(); } /** * Adds a key frame for the given Transform at the given time * @param time the time at which the keyFrame must be inserted * @param transform the transforms to use for this keyFrame */ public void addTimeTransform(float time, Transform transform) { addKeyFrameTransform((int) (time / tpf), transform); } /** * Adds a key frame for the given Transform at the given keyFrame index * @param keyFrameIndex the index at which the keyFrame must be inserted * @param transform the transforms to use for this keyFrame */ public void addKeyFrameTransform(int keyFrameIndex, Transform transform) { addKeyFrameTranslation(keyFrameIndex, transform.getTranslation()); addKeyFrameScale(keyFrameIndex, transform.getScale()); addKeyFrameRotation(keyFrameIndex, transform.getRotation()); } /** * Adds a key frame for the given translation at the given time * @param time the time at which the keyFrame must be inserted * @param translation the translation to use for this keyFrame */ public void addTimeTranslation(float time, Vector3f translation) { addKeyFrameTranslation((int) (time / tpf), translation); } /** * Adds a key frame for the given translation at the given keyFrame index * @param keyFrameIndex the index at which the keyFrame must be inserted * @param translation the translation to use for this keyFrame */ public void addKeyFrameTranslation(int keyFrameIndex, Vector3f translation) { Vector3f t = getTranslationForFrame(keyFrameIndex); t.set(translation); } /** * Adds a key frame for the given rotation at the given time<br> * This can't be used if the interpolated angle is higher than PI (180ยฐ)<br> * Use {@link addTimeRotationAngles(float time, float x, float y, float z)} instead that uses Euler angles rotations.<br> * * @param time the time at which the keyFrame must be inserted * @param rotation the rotation Quaternion to use for this keyFrame * @see #addTimeRotationAngles(float time, float x, float y, float z) */ public void addTimeRotation(float time, Quaternion rotation) { addKeyFrameRotation((int) (time / tpf), rotation); } /** * Adds a key frame for the given rotation at the given keyFrame index<br> * This can't be used if the interpolated angle is higher than PI (180ยฐ)<br> * Use {@link addKeyFrameRotationAngles(int keyFrameIndex, float x, float y, float z)} instead that uses Euler angles rotations. * @param keyFrameIndex the index at which the keyFrame must be inserted * @param rotation the rotation Quaternion to use for this keyFrame * @see #addKeyFrameRotationAngles(int keyFrameIndex, float x, float y, float z) */ public void addKeyFrameRotation(int keyFrameIndex, Quaternion rotation) { Rotation r = getRotationForFrame(keyFrameIndex); r.set(rotation); } /** * Adds a key frame for the given rotation at the given time.<br> * Rotation is expressed by Euler angles values in radians.<br> * Note that the generated rotation will be stored as a quaternion and interpolated using a spherical linear interpolation (slerp)<br> * Hence, this method may create intermediate keyFrames if the interpolation angle is higher than PI to ensure continuity in animation<br> * * @param time the time at which the keyFrame must be inserted * @param x the rotation around the x axis (aka yaw) in radians * @param y the rotation around the y axis (aka roll) in radians * @param z the rotation around the z axis (aka pitch) in radians */ public void addTimeRotationAngles(float time, float x, float y, float z) { addKeyFrameRotationAngles((int) (time / tpf), x, y, z); } /** * Adds a key frame for the given rotation at the given key frame index.<br> * Rotation is expressed by Euler angles values in radians.<br> * Note that the generated rotation will be stored as a quaternion and interpolated using a spherical linear interpolation (slerp)<br> * Hence, this method may create intermediate keyFrames if the interpolation angle is higher than PI to ensure continuity in animation<br> * * @param keyFrameIndex the index at which the keyFrame must be inserted * @param x the rotation around the x axis (aka yaw) in radians * @param y the rotation around the y axis (aka roll) in radians * @param z the rotation around the z axis (aka pitch) in radians */ public void addKeyFrameRotationAngles(int keyFrameIndex, float x, float y, float z) { Rotation r = getRotationForFrame(keyFrameIndex); r.set(x, y, z); // if the delta of euler angles is higher than PI, we create intermediate keyframes // since we are using quaternions and slerp for rotation interpolation, we cannot interpolate over an angle higher than PI int prev = getPreviousKeyFrame(keyFrameIndex, keyFramesRotation); //previous rotation keyframe Rotation prevRot = keyFramesRotation[prev]; //the maximum delta angle (x,y or z) float delta = Math.max(Math.abs(x - prevRot.eulerAngles.x), Math.abs(y - prevRot.eulerAngles.y)); delta = Math.max(delta, Math.abs(z - prevRot.eulerAngles.z)); //if delta > PI we have to create intermediates key frames if (delta >= FastMath.PI) { //frames delta int dF = keyFrameIndex - prev; //angle per frame for x,y ,z float dXAngle = (x - prevRot.eulerAngles.x) / (float) dF; float dYAngle = (y - prevRot.eulerAngles.y) / (float) dF; float dZAngle = (z - prevRot.eulerAngles.z) / (float) dF; // the keyFrame step int keyStep = (int) (((float) (dF)) / delta * (float) EULER_STEP); // the current keyFrame int cursor = prev + keyStep; while (cursor < keyFrameIndex) { //for each step we create a new rotation by interpolating the angles Rotation dr = getRotationForFrame(cursor); dr.masterKeyFrame = keyFrameIndex; dr.set(prevRot.eulerAngles.x + cursor * dXAngle, prevRot.eulerAngles.y + cursor * dYAngle, prevRot.eulerAngles.z + cursor * dZAngle); cursor += keyStep; } } } /** * Adds a key frame for the given scale at the given time * @param time the time at which the keyFrame must be inserted * @param scale the scale to use for this keyFrame */ public void addTimeScale(float time, Vector3f scale) { addKeyFrameScale((int) (time / tpf), scale); } /** * Adds a key frame for the given scale at the given keyFrame index * @param keyFrameIndex the index at which the keyFrame must be inserted * @param scale the scale to use for this keyFrame */ public void addKeyFrameScale(int keyFrameIndex, Vector3f scale) { Vector3f s = getScaleForFrame(keyFrameIndex); s.set(scale); } /** * returns the translation for a given frame index * creates the translation if it doesn't exists * @param keyFrameIndex index * @return the translation */ private Vector3f getTranslationForFrame(int keyFrameIndex) { if (keyFrameIndex < 0 || keyFrameIndex > totalFrames) { throw new ArrayIndexOutOfBoundsException("keyFrameIndex must be between 0 and " + totalFrames + " (received " + keyFrameIndex + ")"); } Vector3f v = keyFramesTranslation[keyFrameIndex]; if (v == null) { v = new Vector3f(); keyFramesTranslation[keyFrameIndex] = v; } return v; } /** * returns the scale for a given frame index * creates the scale if it doesn't exists * @param keyFrameIndex index * @return the scale */ private Vector3f getScaleForFrame(int keyFrameIndex) { if (keyFrameIndex < 0 || keyFrameIndex > totalFrames) { throw new ArrayIndexOutOfBoundsException("keyFrameIndex must be between 0 and " + totalFrames + " (received " + keyFrameIndex + ")"); } Vector3f v = keyFramesScale[keyFrameIndex]; if (v == null) { v = new Vector3f(); keyFramesScale[keyFrameIndex] = v; } return v; } /** * returns the rotation for a given frame index * creates the rotation if it doesn't exists * @param keyFrameIndex index * @return the rotation */ private Rotation getRotationForFrame(int keyFrameIndex) { if (keyFrameIndex < 0 || keyFrameIndex > totalFrames) { throw new ArrayIndexOutOfBoundsException("keyFrameIndex must be between 0 and " + totalFrames + " (received " + keyFrameIndex + ")"); } Rotation v = keyFramesRotation[keyFrameIndex]; if (v == null) { v = new Rotation(); keyFramesRotation[keyFrameIndex] = v; } return v; } /** * Creates an Animation based on the keyFrames previously added to the helper. * @return the generated animation */ public Animation buildAnimation() { interpolateTime(); interpolate(keyFramesTranslation, Type.Translation); interpolate(keyFramesRotation, Type.Rotation); interpolate(keyFramesScale, Type.Scale); SpatialTrack spatialTrack = new SpatialTrack(times, translations, rotations, scales); //creating the animation Animation spatialAnimation = new Animation(name, duration); spatialAnimation.setTracks(new SpatialTrack[]{spatialTrack}); return spatialAnimation; } /** * interpolates time values */ private void interpolateTime() { for (int i = 0; i < totalFrames; i++) { times[i] = i * tpf; } } /** * Interpolates over the key frames for the given keyFrame array and the given type of transform * @param keyFrames the keyFrames array * @param type the type of transforms */ private void interpolate(Object[] keyFrames, Type type) { int i = 0; while (i < totalFrames) { //fetching the next keyFrame index transform in the array int key = getNextKeyFrame(i, keyFrames); if (key != -1) { //computing the frame span to interpolate over int span = key - i; //interating over the frames for (int j = i; j <= key; j++) { // computing interpolation value float val = (float) (j - i) / (float) span; //interpolationg depending on the transform type switch (type) { case Translation: translations[j] = FastMath.interpolateLinear(val, (Vector3f) keyFrames[i], (Vector3f) keyFrames[key]); break; case Rotation: Quaternion rot = new Quaternion(); rotations[j] = rot.slerp(((Rotation) keyFrames[i]).rotation, ((Rotation) keyFrames[key]).rotation, val); break; case Scale: scales[j] = FastMath.interpolateLinear(val, (Vector3f) keyFrames[i], (Vector3f) keyFrames[key]); break; } } //jumping to the next keyFrame i = key; } else { //No more key frame, filling the array witht he last transform computed. for (int j = i; j < totalFrames; j++) { switch (type) { case Translation: translations[j] = ((Vector3f) keyFrames[i]).clone(); break; case Rotation: rotations[j] = ((Quaternion) ((Rotation) keyFrames[i]).rotation).clone(); break; case Scale: scales[j] = ((Vector3f) keyFrames[i]).clone(); break; } } //we're done i = totalFrames; } } } /** * Get the index of the next keyFrame that as a transform * @param index the start index * @param keyFrames the keyFrames array * @return the index of the next keyFrame */ private int getNextKeyFrame(int index, Object[] keyFrames) { for (int i = index + 1; i < totalFrames; i++) { if (keyFrames[i] != null) { return i; } } return -1; } /** * Get the index of the previous keyFrame that as a transform * @param index the start index * @param keyFrames the keyFrames array * @return the index of the previous keyFrame */ private int getPreviousKeyFrame(int index, Object[] keyFrames) { for (int i = index - 1; i >= 0; i--) { if (keyFrames[i] != null) { return i; } } return -1; } }
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
4315c6e51bbb4331458d223252eebd8dfc772130
3284789836b5d9dcc4026cbf78481d43ecdf8caa
/lumen_off_campus_2021/collection-examples/src/com/training/Application.java
54071dcbf94204a4c4b93e39d0f7004d00b8eff7
[]
no_license
Shaikayes/Off-campus_2021
c97400a4a96572da90542a4e63d88c21c36bea75
a0015c1cdea6df2cfaca85c1b1a26ccfe4eeecde
refs/heads/master
2023-06-19T05:55:56.805778
2021-07-19T17:11:51
2021-07-19T17:11:51
384,420,342
0
0
null
2021-07-12T09:08:54
2021-07-09T11:46:53
Java
UTF-8
Java
false
false
2,450
java
package com.training; import java.util.Arrays; import java.util.Collections; import java.util.List; import com.training.ifaces.DataAccess; import com.training.model.CreditCard; import com.training.model.Customer; import com.training.services.CreditCardService; import com.training.utils.CardHolderNameComparator; public class Application { public static void display(DataAccess<?> list ) { System.out.println(list.get()); } public static void print(List<?> cardList) { for(Object eachObject:cardList) { if(eachObject instanceof CreditCard) { System.out.println((CreditCard)eachObject); } if(eachObject instanceof Customer) { System.out.println((Customer)eachObject); } } } public static void main(String[] args) { CreditCardService service = new CreditCardService(); CreditCard card1 = new CreditCard(1010, "Ramesh", 700000, 47473734); service.addCard(card1); System.out.println(service.getCardList()); CreditCard card2 = new CreditCard(7010, "Zahir", 705000, 4747754); CreditCard card3 = new CreditCard(3010, "Anand", 800000, 4747734); CreditCard card4 = new CreditCard(4010, "Chandru", 1700000, 4773934); service.addCard(card2,card3,card4); // Solution List<CreditCard> list = service.getCardList(); //CreditCard[] listToArray = (CreditCard[]) list.toArray(list); // Solution -2 // Object[] rawTypeListToArray = list.toArray(); // Solution - 1 CreditCard[] rawTypeListToArray =list.toArray(new CreditCard[list.size()]); System.out.println("Printing List to Array"); for(Object eachCard: rawTypeListToArray) { CreditCard card = (CreditCard)eachCard; System.out.println(card); } List<CreditCard> arrayToList =Arrays.asList(new CreditCard(84848, "priya", 7474747, 985673722),new CreditCard(84848, "shiny", 474747, 975673722)); System.out.println(arrayToList); System.out.println("Sort by Card Number"); Collections.sort(list); print(list); System.out.println("Sort By Card Holder Name"); Collections.sort(list,new CardHolderNameComparator()); print(list); } }
[ "noreply@github.com" ]
Shaikayes.noreply@github.com
503ba9d62a1004b039b444e577ccb3bacd10a2c5
a094e5e4ce9383797caec44818940e30da051b74
/eclipse-gls-workspace/fr.n7.pdl1/src-gen/fr/n7/pDL1/PDL1Factory.java
5f9305a8fbcfd56b58017163f742a20ebcf0b88c
[]
no_license
minghao217/GLS
1f7e7be338424fa616c1024626826ba90934a69c
f30f7fea76e9b51a0fe36656b180c466a8cf175c
refs/heads/master
2020-05-15T04:44:32.506400
2019-04-18T13:25:19
2019-04-18T13:25:19
182,091,178
0
0
null
null
null
null
UTF-8
Java
false
false
1,989
java
/** * generated by Xtext 2.12.0 */ package fr.n7.pDL1; import org.eclipse.emf.ecore.EFactory; /** * <!-- begin-user-doc --> * The <b>Factory</b> for the model. * It provides a create method for each non-abstract class of the model. * <!-- end-user-doc --> * @see fr.n7.pDL1.PDL1Package * @generated */ public interface PDL1Factory extends EFactory { /** * The singleton instance of the factory. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ PDL1Factory eINSTANCE = fr.n7.pDL1.impl.PDL1FactoryImpl.init(); /** * Returns a new object of class '<em>Process</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return a new object of class '<em>Process</em>'. * @generated */ Process createProcess(); /** * Returns a new object of class '<em>Process Element</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return a new object of class '<em>Process Element</em>'. * @generated */ ProcessElement createProcessElement(); /** * Returns a new object of class '<em>Work Definition</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return a new object of class '<em>Work Definition</em>'. * @generated */ WorkDefinition createWorkDefinition(); /** * Returns a new object of class '<em>Work Sequence</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return a new object of class '<em>Work Sequence</em>'. * @generated */ WorkSequence createWorkSequence(); /** * Returns a new object of class '<em>Guidance</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return a new object of class '<em>Guidance</em>'. * @generated */ Guidance createGuidance(); /** * Returns the package supported by this factory. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the package supported by this factory. * @generated */ PDL1Package getPDL1Package(); } //PDL1Factory
[ "mwang@localhost.localdomain" ]
mwang@localhost.localdomain
8e2a2dbd166b5c0e01cc6793295995b514e490b7
80386d66c6a5b08c4575888a50ae7d4ce1e59821
/FeatureHouse/features/ActivityPainel/rise/splcc/data/Activity.java
80e7e8c65373f055362afad585844f8fbae93f55
[]
no_license
riselabs-ufba/RiSEEventSPL-FH
31fe6363ea75d72855e3c33b0a080ebdb319041d
fb2655c3b0f7d5ab120b32e8a9f2cc68acb67847
refs/heads/master
2021-01-01T04:30:37.689520
2016-05-31T12:51:16
2016-05-31T12:51:16
56,094,394
2
0
null
2016-04-12T20:19:45
2016-04-12T20:11:43
Java
UTF-8
Java
false
false
392
java
//#if ${ActivityMinicurso} == "T" or ${ActivityTutorial} == "T" or ${ActivityPainel} == "T" or ${ActivityWorkshop} == "T" or ${ActivityMainTrack} == "T" package rise.splcc.data; public class Activity { //solucao sera dividir os enums, contendo todas as possibilidades possiveis e colocando cc public enum TypeActivity{ //#if ${ActivityPainel} == "T" Painel //#endif } } //#endif
[ "alcemir.santos@gmail.com" ]
alcemir.santos@gmail.com
0b6893ee1bb3fb05f5f3451ca50b0431f22fcb01
80eea69d1f1e9ee3f014e380f377cde78e807e9a
/2016.05.24 2D SCUBASINO/app/build/generated/source/r/debug/com/allsopg/andEngine/R.java
4a2a2c056f429d2e0442f2816f8ee2ef9afb505f
[]
no_license
SkyePlume/2D-Game-Scubasino
f040f277d5374299b1848e7745ec2d263de07fe2
280cd3486ae54439427a841fe37e73dded9ee781
refs/heads/master
2021-05-01T16:45:31.202764
2018-02-10T20:37:40
2018-02-10T20:37:40
121,052,210
0
0
null
null
null
null
UTF-8
Java
false
false
301,500
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.allsopg.andEngine; public final class R { public static final class anim { public static final int abc_fade_in=0x7f040000; public static final int abc_fade_out=0x7f040001; public static final int abc_slide_in_bottom=0x7f040002; public static final int abc_slide_in_top=0x7f040003; public static final int abc_slide_out_bottom=0x7f040004; public static final int abc_slide_out_top=0x7f040005; } public static final 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=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 actionBarItemBackground=0x7f01005b; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionBarPopupTheme=0x7f010054; /** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. <p>May be one of the following constant values.</p> <table> <colgroup align="left" /> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Constant</th><th>Value</th><th>Description</th></tr> <tr><td><code>wrap_content</code></td><td>0</td><td></td></tr> </table> */ public static final int actionBarSize=0x7f010059; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionBarSplitStyle=0x7f010056; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionBarStyle=0x7f010055; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionBarTabBarStyle=0x7f010050; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionBarTabStyle=0x7f01004f; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionBarTabTextStyle=0x7f010051; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionBarTheme=0x7f010057; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionBarWidgetTheme=0x7f010058; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionButtonStyle=0x7f010072; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionDropDownStyle=0x7f01006d; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionLayout=0x7f01002c; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionMenuTextAppearance=0x7f01005c; /** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". */ public static final int actionMenuTextColor=0x7f01005d; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModeBackground=0x7f010060; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModeCloseButtonStyle=0x7f01005f; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModeCloseDrawable=0x7f010062; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModeCopyDrawable=0x7f010064; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModeCutDrawable=0x7f010063; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModeFindDrawable=0x7f010068; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModePasteDrawable=0x7f010065; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModePopupWindowStyle=0x7f01006a; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModeSelectAllDrawable=0x7f010066; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModeShareDrawable=0x7f010067; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModeSplitBackground=0x7f010061; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModeStyle=0x7f01005e; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionModeWebSearchDrawable=0x7f010069; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionOverflowButtonStyle=0x7f010052; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int actionOverflowMenuStyle=0x7f010053; /** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int actionProviderClass=0x7f01002e; /** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int actionViewClass=0x7f01002d; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int activityChooserViewStyle=0x7f010079; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</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>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 dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int barSize=0x7f010026; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int buttonBarButtonStyle=0x7f010074; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int buttonBarStyle=0x7f010073; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int closeIcon=0x7f010035; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</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=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 collapseIcon=0x7f0100a3; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int color=0x7f010020; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int colorAccent=0x7f010094; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int colorButtonNormal=0x7f010098; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int colorControlActivated=0x7f010096; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int colorControlHighlight=0x7f010097; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int colorControlNormal=0x7f010095; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int colorPrimary=0x7f010092; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int colorPrimaryDark=0x7f010093; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int colorSwitchThumbNormal=0x7f010099; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int commitIcon=0x7f010039; /** <p>Must be a dimension value, which is a floating point number appended with a unit such 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 customNavigationLayout=0x7f01000f; /** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int disableChildrenWhenDisabled=0x7f010040; /** <p>Must be one 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=0x7f010078; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dividerPadding=0x7f01002a; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int dividerVertical=0x7f010077; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int drawableSize=0x7f010022; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int drawerArrowStyle=0x7f010000; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int dropDownListViewStyle=0x7f01008a; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dropdownListPreferredItemHeight=0x7f01006e; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int editTextBackground=0x7f01007f; /** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". */ public static final int editTextColor=0x7f01007e; /** <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 a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int gapBetweenBars=0x7f010023; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int goIcon=0x7f010036; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int height=0x7f010001; /** <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=0x7f010071; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</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=0x7f010033; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</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=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 listChoiceBackgroundIndicator=0x7f010091; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int listPopupWindowStyle=0x7f01008b; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int listPreferredItemHeight=0x7f010085; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int listPreferredItemHeightLarge=0x7f010087; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int listPreferredItemHeightSmall=0x7f010086; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int listPreferredItemPaddingLeft=0x7f010088; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int listPreferredItemPaddingRight=0x7f010089; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</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 dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int maxButtonHeight=0x7f0100a1; /** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int measureWithLargestChild=0x7f010028; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int middleBarArrowSize=0x7f010025; /** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int navigationContentDescription=0x7f0100a6; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int navigationIcon=0x7f0100a5; /** <p>Must be one of the following constant values.</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=0x7f010030; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int paddingEnd=0x7f0100a8; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int paddingStart=0x7f0100a7; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int panelBackground=0x7f01008e; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int panelMenuListTheme=0x7f010090; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int panelMenuListWidth=0x7f01008f; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int popupMenuStyle=0x7f01007c; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int popupPromptView=0x7f01003f; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</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=0x7f01007d; /** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int preserveIconSpacing=0x7f01002f; /** <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 prompt=0x7f01003d; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int queryBackground=0x7f01003b; /** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int queryHint=0x7f010034; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int searchIcon=0x7f010037; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int searchViewStyle=0x7f010084; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int selectableItemBackground=0x7f010075; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int selectableItemBackgroundBorderless=0x7f010076; /** <p>Must be one 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=0x7f01002b; /** <p>Must be one or more (separated by '|') of the following constant values.</p> <table> <colgroup align="left" /> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Constant</th><th>Value</th><th>Description</th></tr> <tr><td><code>none</code></td><td>0</td><td></td></tr> <tr><td><code>beginning</code></td><td>1</td><td></td></tr> <tr><td><code>middle</code></td><td>2</td><td></td></tr> <tr><td><code>end</code></td><td>4</td><td></td></tr> </table> */ public static final int showDividers=0x7f010029; /** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int showText=0x7f010047; /** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int spinBars=0x7f010021; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int spinnerDropDownItemStyle=0x7f010070; /** <p>Must be one of the following constant values.</p> <table> <colgroup align="left" /> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Constant</th><th>Value</th><th>Description</th></tr> <tr><td><code>dialog</code></td><td>0</td><td></td></tr> <tr><td><code>dropdown</code></td><td>1</td><td></td></tr> </table> */ public static final int spinnerMode=0x7f01003e; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int spinnerStyle=0x7f01006f; /** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int splitTrack=0x7f010046; /** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int state_above_anchor=0x7f010031; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int submitBackground=0x7f01003c; /** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int subtitle=0x7f010006; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int subtitleTextAppearance=0x7f01009b; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</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=0x7f01003a; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int switchMinWidth=0x7f010044; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int switchPadding=0x7f010045; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int switchStyle=0x7f010080; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int switchTextAppearance=0x7f010043; /** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". <p>May be a boolean value, either "<code>true</code>" or "<code>false</code>". */ public static final int textAllCaps=0x7f01001f; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int textAppearanceLargePopupMenu=0x7f01006b; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int textAppearanceListItem=0x7f01008c; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int textAppearanceListItemSmall=0x7f01008d; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int textAppearanceSearchResultSubtitle=0x7f010082; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int textAppearanceSearchResultTitle=0x7f010081; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int textAppearanceSmallPopupMenu=0x7f01006c; /** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". */ public static final int textColorSearchUrl=0x7f010083; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int theme=0x7f0100a2; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int thickness=0x7f010027; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int thumbTextPadding=0x7f010042; /** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character. <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int title=0x7f010003; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int titleMarginBottom=0x7f0100a0; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int titleMarginEnd=0x7f01009e; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int titleMarginStart=0x7f01009d; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int titleMarginTop=0x7f01009f; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int titleMargins=0x7f01009c; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int titleTextAppearance=0x7f01009a; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</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=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 toolbarStyle=0x7f01007a; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int topBottomBarArrowSize=0x7f010024; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int track=0x7f010041; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int voiceIcon=0x7f010038; /** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int windowActionBar=0x7f010048; /** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int windowActionBarOverlay=0x7f010049; /** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int windowActionModeOverlay=0x7f01004a; /** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container. <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int windowFixedHeightMajor=0x7f01004e; /** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container. <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int windowFixedHeightMinor=0x7f01004c; /** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container. <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int windowFixedWidthMajor=0x7f01004b; /** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container. <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int windowFixedWidthMinor=0x7f01004d; } public static final class bool { public static final int abc_action_bar_embed_tabs=0x7f060002; public static final int abc_action_bar_embed_tabs_pre_jb=0x7f060000; public static final int abc_action_bar_expanded_action_views_exclusive=0x7f060003; public static final int abc_config_actionMenuItemAllCaps=0x7f060004; public static final int abc_config_allowActionMenuItemTextWithIcon=0x7f060001; public static final int abc_config_showMenuShortcutsWhenKeyboardPresent=0x7f060005; } public static final class color { public static final int abc_background_cache_hint_selector_material_dark=0x7f0a0031; public static final int abc_background_cache_hint_selector_material_light=0x7f0a0032; public static final int abc_input_method_navigation_guard=0x7f0a0000; public static final int abc_primary_text_disable_only_material_dark=0x7f0a0033; public static final int abc_primary_text_disable_only_material_light=0x7f0a0034; public static final int abc_primary_text_material_dark=0x7f0a0035; public static final int abc_primary_text_material_light=0x7f0a0036; public static final int abc_search_url_text=0x7f0a0037; public static final int abc_search_url_text_normal=0x7f0a0001; public static final int abc_search_url_text_pressed=0x7f0a0002; public static final int abc_search_url_text_selected=0x7f0a0003; public static final int abc_secondary_text_material_dark=0x7f0a0038; public static final int abc_secondary_text_material_light=0x7f0a0039; public static final int accent_material_dark=0x7f0a0004; public static final int accent_material_light=0x7f0a0005; public static final int background_floating_material_dark=0x7f0a0006; public static final int background_floating_material_light=0x7f0a0007; public static final int background_material_dark=0x7f0a0008; public static final int background_material_light=0x7f0a0009; public static final int bright_foreground_disabled_material_dark=0x7f0a000a; public static final int bright_foreground_disabled_material_light=0x7f0a000b; public static final int bright_foreground_inverse_material_dark=0x7f0a000c; public static final int bright_foreground_inverse_material_light=0x7f0a000d; public static final int bright_foreground_material_dark=0x7f0a000e; public static final int bright_foreground_material_light=0x7f0a000f; public static final int button_material_dark=0x7f0a0010; public static final int button_material_light=0x7f0a0011; public static final int dim_foreground_disabled_material_dark=0x7f0a0012; public static final int dim_foreground_disabled_material_light=0x7f0a0013; public static final int dim_foreground_material_dark=0x7f0a0014; public static final int dim_foreground_material_light=0x7f0a0015; public static final int highlighted_text_material_dark=0x7f0a0016; public static final int highlighted_text_material_light=0x7f0a0017; public static final int hint_foreground_material_dark=0x7f0a0018; public static final int hint_foreground_material_light=0x7f0a0019; public static final int link_text_material_dark=0x7f0a001a; public static final int link_text_material_light=0x7f0a001b; public static final int material_blue_grey_800=0x7f0a001c; public static final int material_blue_grey_900=0x7f0a001d; public static final int material_blue_grey_950=0x7f0a001e; public static final int material_deep_teal_200=0x7f0a001f; public static final int material_deep_teal_500=0x7f0a0020; public static final int primary_dark_material_dark=0x7f0a0021; public static final int primary_dark_material_light=0x7f0a0022; public static final int primary_material_dark=0x7f0a0023; public static final int primary_material_light=0x7f0a0024; public static final int primary_text_default_material_dark=0x7f0a0025; public static final int primary_text_default_material_light=0x7f0a0026; public static final int primary_text_disabled_material_dark=0x7f0a0027; public static final int primary_text_disabled_material_light=0x7f0a0028; public static final int ripple_material_dark=0x7f0a0029; public static final int ripple_material_light=0x7f0a002a; public static final int secondary_text_default_material_dark=0x7f0a002b; public static final int secondary_text_default_material_light=0x7f0a002c; public static final int secondary_text_disabled_material_dark=0x7f0a002d; public static final int secondary_text_disabled_material_light=0x7f0a002e; public static final int switch_thumb_normal_material_dark=0x7f0a002f; public static final int switch_thumb_normal_material_light=0x7f0a0030; } public static final class dimen { public static final int abc_action_bar_default_height_material=0x7f070000; public static final int abc_action_bar_default_padding_material=0x7f070001; public static final int abc_action_bar_icon_vertical_padding_material=0x7f07000c; public static final int abc_action_bar_progress_bar_size=0x7f070002; public static final int abc_action_bar_stacked_max_height=0x7f07000d; public static final int abc_action_bar_stacked_tab_max_width=0x7f07000e; public static final int abc_action_bar_subtitle_bottom_margin_material=0x7f07000f; public static final int abc_action_bar_subtitle_top_margin_material=0x7f070010; public static final int abc_action_button_min_height_material=0x7f070011; public static final int abc_action_button_min_width_material=0x7f070012; public static final int abc_action_button_min_width_overflow_material=0x7f070013; public static final int abc_config_prefDialogWidth=0x7f070005; public static final int abc_control_inset_material=0x7f070014; public static final int abc_control_padding_material=0x7f070015; public static final int abc_dropdownitem_icon_width=0x7f070016; public static final int abc_dropdownitem_text_padding_left=0x7f070017; public static final int abc_dropdownitem_text_padding_right=0x7f070018; public static final int abc_panel_menu_list_width=0x7f070019; public static final int abc_search_view_preferred_width=0x7f07001a; public static final int abc_search_view_text_min_width=0x7f070006; public static final int abc_text_size_body_1_material=0x7f07001b; public static final int abc_text_size_body_2_material=0x7f07001c; public static final int abc_text_size_button_material=0x7f07001d; public static final int abc_text_size_caption_material=0x7f07001e; public static final int abc_text_size_display_1_material=0x7f07001f; public static final int abc_text_size_display_2_material=0x7f070020; public static final int abc_text_size_display_3_material=0x7f070021; public static final int abc_text_size_display_4_material=0x7f070022; public static final int abc_text_size_headline_material=0x7f070023; public static final int abc_text_size_large_material=0x7f070024; public static final int abc_text_size_medium_material=0x7f070025; public static final int abc_text_size_menu_material=0x7f070026; public static final int abc_text_size_small_material=0x7f070027; public static final int abc_text_size_subhead_material=0x7f070028; public static final int abc_text_size_subtitle_material_toolbar=0x7f070003; public static final int abc_text_size_title_material=0x7f070029; public static final int abc_text_size_title_material_toolbar=0x7f070004; public static final int activity_horizontal_margin=0x7f07000b; public static final int activity_vertical_margin=0x7f07002a; public static final int dialog_fixed_height_major=0x7f070007; public static final int dialog_fixed_height_minor=0x7f070008; public static final int dialog_fixed_width_major=0x7f070009; public static final int dialog_fixed_width_minor=0x7f07000a; public static final int disabled_alpha_material_dark=0x7f07002b; public static final int disabled_alpha_material_light=0x7f07002c; } public static final class drawable { public static final int abc_ab_share_pack_holo_dark=0x7f020000; public static final int abc_ab_share_pack_holo_light=0x7f020001; public static final int abc_btn_check_material=0x7f020002; public static final int abc_btn_check_to_on_mtrl_000=0x7f020003; public static final int abc_btn_check_to_on_mtrl_015=0x7f020004; public static final int abc_btn_radio_material=0x7f020005; public static final int abc_btn_radio_to_on_mtrl_000=0x7f020006; public static final int abc_btn_radio_to_on_mtrl_015=0x7f020007; public static final int abc_btn_switch_to_on_mtrl_00001=0x7f020008; public static final int abc_btn_switch_to_on_mtrl_00012=0x7f020009; public static final int abc_cab_background_internal_bg=0x7f02000a; public static final int abc_cab_background_top_material=0x7f02000b; public static final int abc_cab_background_top_mtrl_alpha=0x7f02000c; public static final int abc_edit_text_material=0x7f02000d; public static final int abc_ic_ab_back_mtrl_am_alpha=0x7f02000e; public static final int abc_ic_clear_mtrl_alpha=0x7f02000f; public static final int abc_ic_commit_search_api_mtrl_alpha=0x7f020010; public static final int abc_ic_go_search_api_mtrl_alpha=0x7f020011; public static final int abc_ic_menu_copy_mtrl_am_alpha=0x7f020012; public static final int abc_ic_menu_cut_mtrl_alpha=0x7f020013; public static final int abc_ic_menu_moreoverflow_mtrl_alpha=0x7f020014; public static final int abc_ic_menu_paste_mtrl_am_alpha=0x7f020015; public static final int abc_ic_menu_selectall_mtrl_alpha=0x7f020016; public static final int abc_ic_menu_share_mtrl_alpha=0x7f020017; public static final int abc_ic_search_api_mtrl_alpha=0x7f020018; public static final int abc_ic_voice_search_api_mtrl_alpha=0x7f020019; public static final int abc_item_background_holo_dark=0x7f02001a; public static final int abc_item_background_holo_light=0x7f02001b; public static final int abc_list_divider_mtrl_alpha=0x7f02001c; public static final int abc_list_focused_holo=0x7f02001d; public static final int abc_list_longpressed_holo=0x7f02001e; public static final int abc_list_pressed_holo_dark=0x7f02001f; public static final int abc_list_pressed_holo_light=0x7f020020; public static final int abc_list_selector_background_transition_holo_dark=0x7f020021; public static final int abc_list_selector_background_transition_holo_light=0x7f020022; public static final int abc_list_selector_disabled_holo_dark=0x7f020023; public static final int abc_list_selector_disabled_holo_light=0x7f020024; public static final int abc_list_selector_holo_dark=0x7f020025; public static final int abc_list_selector_holo_light=0x7f020026; public static final int abc_menu_hardkey_panel_mtrl_mult=0x7f020027; public static final int abc_popup_background_mtrl_mult=0x7f020028; public static final int abc_spinner_mtrl_am_alpha=0x7f020029; public static final int abc_switch_thumb_material=0x7f02002a; public static final int abc_switch_track_mtrl_alpha=0x7f02002b; public static final int abc_tab_indicator_material=0x7f02002c; public static final int abc_tab_indicator_mtrl_alpha=0x7f02002d; public static final int abc_textfield_activated_mtrl_alpha=0x7f02002e; public static final int abc_textfield_default_mtrl_alpha=0x7f02002f; public static final int abc_textfield_search_activated_mtrl_alpha=0x7f020030; public static final int abc_textfield_search_default_mtrl_alpha=0x7f020031; public static final int abc_textfield_search_material=0x7f020032; public static final int ic_launcher=0x7f020033; } public static final class id { public static final int action_bar=0x7f0b0031; public static final int action_bar_activity_content=0x7f0b0000; public static final int action_bar_container=0x7f0b0030; public static final int action_bar_root=0x7f0b002c; public static final int action_bar_spinner=0x7f0b0001; public static final int action_bar_subtitle=0x7f0b001f; public static final int action_bar_title=0x7f0b001e; public static final int action_context_bar=0x7f0b0032; public static final int action_menu_divider=0x7f0b0002; public static final int action_menu_presenter=0x7f0b0003; public static final int action_mode_bar=0x7f0b002e; public static final int action_mode_bar_stub=0x7f0b002d; public static final int action_mode_close_button=0x7f0b0020; public static final int action_settings=0x7f0b003f; public static final int activity_chooser_view_content=0x7f0b0021; public static final int always=0x7f0b0016; public static final int beginning=0x7f0b0013; public static final int checkbox=0x7f0b0029; public static final int collapseActionView=0x7f0b0017; public static final int decor_content_parent=0x7f0b002f; public static final int default_activity_button=0x7f0b0024; public static final int dialog=0x7f0b001b; public static final int disableHome=0x7f0b000c; public static final int dropdown=0x7f0b001c; public static final int edit_query=0x7f0b0033; public static final int end=0x7f0b0014; public static final int expand_activities_button=0x7f0b0022; public static final int expanded_menu=0x7f0b0028; public static final int home=0x7f0b0004; public static final int homeAsUp=0x7f0b000d; public static final int icon=0x7f0b0026; public static final int ifRoom=0x7f0b0018; public static final int image=0x7f0b0023; public static final int listMode=0x7f0b0009; public static final int list_item=0x7f0b0025; public static final int middle=0x7f0b0015; public static final int never=0x7f0b0019; public static final int none=0x7f0b000e; public static final int normal=0x7f0b000a; public static final int progress_circular=0x7f0b0005; public static final int progress_horizontal=0x7f0b0006; public static final int radio=0x7f0b002b; public static final int search_badge=0x7f0b0035; public static final int search_bar=0x7f0b0034; public static final int search_button=0x7f0b0036; public static final int search_close_btn=0x7f0b003b; public static final int search_edit_frame=0x7f0b0037; public static final int search_go_btn=0x7f0b003d; public static final int search_mag_icon=0x7f0b0038; public static final int search_plate=0x7f0b0039; public static final int search_src_text=0x7f0b003a; public static final int search_voice_btn=0x7f0b003e; public static final int shortcut=0x7f0b002a; public static final int showCustom=0x7f0b000f; public static final int showHome=0x7f0b0010; public static final int showTitle=0x7f0b0011; public static final int split_action_bar=0x7f0b0007; public static final int submit_area=0x7f0b003c; public static final int tabMode=0x7f0b000b; public static final int title=0x7f0b0027; public static final int up=0x7f0b0008; public static final int useLogo=0x7f0b0012; public static final int withText=0x7f0b001a; public static final int wrap_content=0x7f0b001d; } public static final class integer { public static final int abc_max_action_buttons=0x7f080000; } public static final class layout { public static final int abc_action_bar_title_item=0x7f030000; public static final int abc_action_bar_up_container=0x7f030001; public static final int abc_action_bar_view_list_nav_layout=0x7f030002; public static final int abc_action_menu_item_layout=0x7f030003; public static final int abc_action_menu_layout=0x7f030004; public static final int abc_action_mode_bar=0x7f030005; public static final int abc_action_mode_close_item_material=0x7f030006; public static final int abc_activity_chooser_view=0x7f030007; public static final int abc_activity_chooser_view_include=0x7f030008; public static final int abc_activity_chooser_view_list_item=0x7f030009; public static final int abc_expanded_menu_layout=0x7f03000a; public static final int abc_list_menu_item_checkbox=0x7f03000b; public static final int abc_list_menu_item_icon=0x7f03000c; public static final int abc_list_menu_item_layout=0x7f03000d; public static final int abc_list_menu_item_radio=0x7f03000e; public static final int abc_popup_menu_item_layout=0x7f03000f; public static final int abc_screen_content_include=0x7f030010; public static final int abc_screen_simple=0x7f030011; public static final int abc_screen_simple_overlay_action_mode=0x7f030012; public static final int abc_screen_toolbar=0x7f030013; public static final int abc_search_dropdown_item_icons_2line=0x7f030014; public static final int abc_search_view=0x7f030015; public static final int abc_simple_dropdown_hint=0x7f030016; public static final int activity_main=0x7f030017; public static final int support_simple_spinner_dropdown_item=0x7f030018; } public static final class menu { public static final int menu_main=0x7f0c0000; } public static final class string { public static final int abc_action_bar_home_description=0x7f050000; public static final int abc_action_bar_home_description_format=0x7f050001; public static final int abc_action_bar_home_subtitle_description_format=0x7f050002; public static final int abc_action_bar_up_description=0x7f050003; public static final int abc_action_menu_overflow_description=0x7f050004; public static final int abc_action_mode_done=0x7f050005; public static final int abc_activity_chooser_view_see_all=0x7f050006; public static final int abc_activitychooserview_choose_application=0x7f050007; public static final int abc_searchview_description_clear=0x7f050008; public static final int abc_searchview_description_query=0x7f050009; public static final int abc_searchview_description_search=0x7f05000a; public static final int abc_searchview_description_submit=0x7f05000b; public static final int abc_searchview_description_voice=0x7f05000c; public static final int abc_shareactionprovider_share_with=0x7f05000d; public static final int abc_shareactionprovider_share_with_application=0x7f05000e; public static final int abc_toolbar_collapse_description=0x7f05000f; public static final int action_settings=0x7f050010; public static final int app_name=0x7f050011; public static final int hello_world=0x7f050012; } public static final class style { /** Customize your theme here. */ public static final int AppTheme=0x7f090065; public static final int Base_TextAppearance_AppCompat=0x7f090027; public static final int Base_TextAppearance_AppCompat_Body1=0x7f090028; public static final int Base_TextAppearance_AppCompat_Body2=0x7f090029; public static final int Base_TextAppearance_AppCompat_Button=0x7f09002a; public static final int Base_TextAppearance_AppCompat_Caption=0x7f09002b; public static final int Base_TextAppearance_AppCompat_Display1=0x7f09002c; public static final int Base_TextAppearance_AppCompat_Display2=0x7f09002d; public static final int Base_TextAppearance_AppCompat_Display3=0x7f09002e; public static final int Base_TextAppearance_AppCompat_Display4=0x7f09002f; public static final int Base_TextAppearance_AppCompat_Headline=0x7f090030; public static final int Base_TextAppearance_AppCompat_Inverse=0x7f090002; public static final int Base_TextAppearance_AppCompat_Large=0x7f090031; public static final int Base_TextAppearance_AppCompat_Large_Inverse=0x7f090003; public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f090032; public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f090033; public static final int Base_TextAppearance_AppCompat_Medium=0x7f090034; public static final int Base_TextAppearance_AppCompat_Medium_Inverse=0x7f090004; public static final int Base_TextAppearance_AppCompat_Menu=0x7f090035; public static final int Base_TextAppearance_AppCompat_SearchResult=0x7f090066; public static final int Base_TextAppearance_AppCompat_SearchResult_Subtitle=0x7f090036; public static final int Base_TextAppearance_AppCompat_SearchResult_Title=0x7f090037; public static final int Base_TextAppearance_AppCompat_Small=0x7f090038; public static final int Base_TextAppearance_AppCompat_Small_Inverse=0x7f090005; public static final int Base_TextAppearance_AppCompat_Subhead=0x7f090039; public static final int Base_TextAppearance_AppCompat_Subhead_Inverse=0x7f090006; public static final int Base_TextAppearance_AppCompat_Title=0x7f09003a; public static final int Base_TextAppearance_AppCompat_Title_Inverse=0x7f090007; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f09003b; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f09003c; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f09003d; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f09003e; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f09003f; public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f090040; public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f090041; public static final int Base_TextAppearance_AppCompat_Widget_DropDownItem=0x7f090067; public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f090042; public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f090043; public static final int Base_TextAppearance_AppCompat_Widget_Switch=0x7f090044; public static final int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f090068; public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f090045; public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f090046; public static final int Base_Theme_AppCompat=0x7f090008; public static final int Base_Theme_AppCompat_CompactMenu=0x7f090069; public static final int Base_Theme_AppCompat_Dialog=0x7f090009; public static final int Base_Theme_AppCompat_Dialog_FixedSize=0x7f09006a; public static final int Base_Theme_AppCompat_DialogWhenLarge=0x7f090000; public static final int Base_Theme_AppCompat_Light=0x7f09000a; public static final int Base_Theme_AppCompat_Light_DarkActionBar=0x7f09006b; public static final int Base_Theme_AppCompat_Light_Dialog=0x7f09000b; public static final int Base_Theme_AppCompat_Light_Dialog_FixedSize=0x7f09006c; public static final int Base_Theme_AppCompat_Light_DialogWhenLarge=0x7f090001; public static final int Base_ThemeOverlay_AppCompat=0x7f090047; public static final int Base_ThemeOverlay_AppCompat_ActionBar=0x7f090048; public static final int Base_ThemeOverlay_AppCompat_Dark=0x7f090049; public static final int Base_ThemeOverlay_AppCompat_Dark_ActionBar=0x7f09004a; public static final int Base_ThemeOverlay_AppCompat_Light=0x7f09004b; public static final int Base_V11_Theme_AppCompat=0x7f09000c; public static final int Base_V11_Theme_AppCompat_Dialog=0x7f09000d; public static final int Base_V11_Theme_AppCompat_Light=0x7f09000e; public static final int Base_V11_Theme_AppCompat_Light_Dialog=0x7f09000f; public static final int Base_V14_Theme_AppCompat=0x7f090017; public static final int Base_V14_Theme_AppCompat_Dialog=0x7f090018; public static final int Base_V14_Theme_AppCompat_Light=0x7f090019; public static final int Base_V14_Theme_AppCompat_Light_Dialog=0x7f09001a; public static final int Base_V21_Theme_AppCompat=0x7f09004c; public static final int Base_V21_Theme_AppCompat_Dialog=0x7f09004d; public static final int Base_V21_Theme_AppCompat_Light=0x7f09004e; public static final int Base_V21_Theme_AppCompat_Light_Dialog=0x7f09004f; public static final int Base_V7_Theme_AppCompat=0x7f09006d; public static final int Base_V7_Theme_AppCompat_Dialog=0x7f09006e; public static final int Base_V7_Theme_AppCompat_Light=0x7f09006f; public static final int Base_Widget_AppCompat_ActionBar=0x7f090070; public static final int Base_Widget_AppCompat_ActionBar_Solid=0x7f090071; public static final int Base_Widget_AppCompat_ActionBar_TabBar=0x7f090072; public static final int Base_Widget_AppCompat_ActionBar_TabText=0x7f090050; public static final int Base_Widget_AppCompat_ActionBar_TabView=0x7f090051; public static final int Base_Widget_AppCompat_ActionButton=0x7f090052; public static final int Base_Widget_AppCompat_ActionButton_CloseMode=0x7f090053; public static final int Base_Widget_AppCompat_ActionButton_Overflow=0x7f090054; public static final int Base_Widget_AppCompat_ActionMode=0x7f090073; public static final int Base_Widget_AppCompat_ActivityChooserView=0x7f090055; public static final int Base_Widget_AppCompat_AutoCompleteTextView=0x7f090056; public static final int Base_Widget_AppCompat_CompoundButton_Switch=0x7f090074; public static final int Base_Widget_AppCompat_DrawerArrowToggle=0x7f090075; public static final int Base_Widget_AppCompat_DropDownItem_Spinner=0x7f090057; public static final int Base_Widget_AppCompat_EditText=0x7f090076; public static final int Base_Widget_AppCompat_Light_ActionBar=0x7f090077; public static final int Base_Widget_AppCompat_Light_ActionBar_Solid=0x7f090078; public static final int Base_Widget_AppCompat_Light_ActionBar_TabBar=0x7f090079; public static final int Base_Widget_AppCompat_Light_ActionBar_TabText=0x7f090058; public static final int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f090059; public static final int Base_Widget_AppCompat_Light_ActionBar_TabView=0x7f09005a; public static final int Base_Widget_AppCompat_Light_ActivityChooserView=0x7f09007a; public static final int Base_Widget_AppCompat_Light_AutoCompleteTextView=0x7f09005b; public static final int Base_Widget_AppCompat_Light_PopupMenu=0x7f09005c; public static final int Base_Widget_AppCompat_Light_PopupMenu_Overflow=0x7f09005d; public static final int Base_Widget_AppCompat_ListPopupWindow=0x7f09005e; public static final int Base_Widget_AppCompat_ListView_DropDown=0x7f09005f; public static final int Base_Widget_AppCompat_ListView_Menu=0x7f090060; public static final int Base_Widget_AppCompat_PopupMenu=0x7f090061; public static final int Base_Widget_AppCompat_PopupMenu_Overflow=0x7f090062; public static final int Base_Widget_AppCompat_PopupWindow=0x7f09007b; public static final int Base_Widget_AppCompat_ProgressBar=0x7f090010; public static final int Base_Widget_AppCompat_ProgressBar_Horizontal=0x7f090011; public static final int Base_Widget_AppCompat_SearchView=0x7f09007c; public static final int Base_Widget_AppCompat_Spinner=0x7f090012; public static final int Base_Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f090063; public static final int Base_Widget_AppCompat_Toolbar=0x7f09007d; public static final int Base_Widget_AppCompat_Toolbar_Button_Navigation=0x7f090064; public static final int Platform_AppCompat=0x7f090013; public static final int Platform_AppCompat_Dialog=0x7f090014; public static final int Platform_AppCompat_Light=0x7f090015; public static final int Platform_AppCompat_Light_Dialog=0x7f090016; public static final int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem=0x7f09001b; public static final int RtlOverlay_Widget_AppCompat_ActionButton_CloseMode=0x7f09001c; public static final int RtlOverlay_Widget_AppCompat_ActionButton_Overflow=0x7f09001d; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem=0x7f09001e; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup=0x7f09001f; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text=0x7f090020; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown=0x7f090021; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1=0x7f090022; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2=0x7f090023; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Query=0x7f090024; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Text=0x7f090025; public static final int RtlOverlay_Widget_AppCompat_SearchView_MagIcon=0x7f090026; public static final int TextAppearance_AppCompat=0x7f09007e; public static final int TextAppearance_AppCompat_Body1=0x7f09007f; public static final int TextAppearance_AppCompat_Body2=0x7f090080; public static final int TextAppearance_AppCompat_Button=0x7f090081; public static final int TextAppearance_AppCompat_Caption=0x7f090082; public static final int TextAppearance_AppCompat_Display1=0x7f090083; public static final int TextAppearance_AppCompat_Display2=0x7f090084; public static final int TextAppearance_AppCompat_Display3=0x7f090085; public static final int TextAppearance_AppCompat_Display4=0x7f090086; public static final int TextAppearance_AppCompat_Headline=0x7f090087; public static final int TextAppearance_AppCompat_Inverse=0x7f090088; public static final int TextAppearance_AppCompat_Large=0x7f090089; public static final int TextAppearance_AppCompat_Large_Inverse=0x7f09008a; public static final int TextAppearance_AppCompat_Light_SearchResult_Subtitle=0x7f09008b; public static final int TextAppearance_AppCompat_Light_SearchResult_Title=0x7f09008c; public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f09008d; public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f09008e; public static final int TextAppearance_AppCompat_Medium=0x7f09008f; public static final int TextAppearance_AppCompat_Medium_Inverse=0x7f090090; public static final int TextAppearance_AppCompat_Menu=0x7f090091; public static final int TextAppearance_AppCompat_SearchResult_Subtitle=0x7f090092; public static final int TextAppearance_AppCompat_SearchResult_Title=0x7f090093; public static final int TextAppearance_AppCompat_Small=0x7f090094; public static final int TextAppearance_AppCompat_Small_Inverse=0x7f090095; public static final int TextAppearance_AppCompat_Subhead=0x7f090096; public static final int TextAppearance_AppCompat_Subhead_Inverse=0x7f090097; public static final int TextAppearance_AppCompat_Title=0x7f090098; public static final int TextAppearance_AppCompat_Title_Inverse=0x7f090099; public static final int TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f09009a; public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f09009b; public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f09009c; public static final int TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f09009d; public static final int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f09009e; public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f09009f; public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse=0x7f0900a0; public static final int TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0900a1; public static final int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse=0x7f0900a2; public static final int TextAppearance_AppCompat_Widget_DropDownItem=0x7f0900a3; public static final int TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0900a4; public static final int TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0900a5; public static final int TextAppearance_AppCompat_Widget_Switch=0x7f0900a6; public static final int TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0900a7; public static final int TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0900a8; public static final int TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0900a9; public static final int Theme_AppCompat=0x7f0900aa; public static final int Theme_AppCompat_CompactMenu=0x7f0900ab; public static final int Theme_AppCompat_Dialog=0x7f0900ac; public static final int Theme_AppCompat_DialogWhenLarge=0x7f0900ad; public static final int Theme_AppCompat_Light=0x7f0900ae; public static final int Theme_AppCompat_Light_DarkActionBar=0x7f0900af; public static final int Theme_AppCompat_Light_Dialog=0x7f0900b0; public static final int Theme_AppCompat_Light_DialogWhenLarge=0x7f0900b1; public static final int Theme_AppCompat_Light_NoActionBar=0x7f0900b2; public static final int Theme_AppCompat_NoActionBar=0x7f0900b3; public static final int ThemeOverlay_AppCompat=0x7f0900b4; public static final int ThemeOverlay_AppCompat_ActionBar=0x7f0900b5; public static final int ThemeOverlay_AppCompat_Dark=0x7f0900b6; public static final int ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0900b7; public static final int ThemeOverlay_AppCompat_Light=0x7f0900b8; public static final int Widget_AppCompat_ActionBar=0x7f0900b9; public static final int Widget_AppCompat_ActionBar_Solid=0x7f0900ba; public static final int Widget_AppCompat_ActionBar_TabBar=0x7f0900bb; public static final int Widget_AppCompat_ActionBar_TabText=0x7f0900bc; public static final int Widget_AppCompat_ActionBar_TabView=0x7f0900bd; public static final int Widget_AppCompat_ActionButton=0x7f0900be; public static final int Widget_AppCompat_ActionButton_CloseMode=0x7f0900bf; public static final int Widget_AppCompat_ActionButton_Overflow=0x7f0900c0; public static final int Widget_AppCompat_ActionMode=0x7f0900c1; public static final int Widget_AppCompat_ActivityChooserView=0x7f0900c2; public static final int Widget_AppCompat_AutoCompleteTextView=0x7f0900c3; public static final int Widget_AppCompat_CompoundButton_Switch=0x7f0900c4; public static final int Widget_AppCompat_DrawerArrowToggle=0x7f0900c5; public static final int Widget_AppCompat_DropDownItem_Spinner=0x7f0900c6; public static final int Widget_AppCompat_EditText=0x7f0900c7; public static final int Widget_AppCompat_Light_ActionBar=0x7f0900c8; public static final int Widget_AppCompat_Light_ActionBar_Solid=0x7f0900c9; public static final int Widget_AppCompat_Light_ActionBar_Solid_Inverse=0x7f0900ca; public static final int Widget_AppCompat_Light_ActionBar_TabBar=0x7f0900cb; public static final int Widget_AppCompat_Light_ActionBar_TabBar_Inverse=0x7f0900cc; public static final int Widget_AppCompat_Light_ActionBar_TabText=0x7f0900cd; public static final int Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0900ce; public static final int Widget_AppCompat_Light_ActionBar_TabView=0x7f0900cf; public static final int Widget_AppCompat_Light_ActionBar_TabView_Inverse=0x7f0900d0; public static final int Widget_AppCompat_Light_ActionButton=0x7f0900d1; public static final int Widget_AppCompat_Light_ActionButton_CloseMode=0x7f0900d2; public static final int Widget_AppCompat_Light_ActionButton_Overflow=0x7f0900d3; public static final int Widget_AppCompat_Light_ActionMode_Inverse=0x7f0900d4; public static final int Widget_AppCompat_Light_ActivityChooserView=0x7f0900d5; public static final int Widget_AppCompat_Light_AutoCompleteTextView=0x7f0900d6; public static final int Widget_AppCompat_Light_DropDownItem_Spinner=0x7f0900d7; public static final int Widget_AppCompat_Light_ListPopupWindow=0x7f0900d8; public static final int Widget_AppCompat_Light_ListView_DropDown=0x7f0900d9; public static final int Widget_AppCompat_Light_PopupMenu=0x7f0900da; public static final int Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0900db; public static final int Widget_AppCompat_Light_SearchView=0x7f0900dc; public static final int Widget_AppCompat_Light_Spinner_DropDown_ActionBar=0x7f0900dd; public static final int Widget_AppCompat_ListPopupWindow=0x7f0900de; public static final int Widget_AppCompat_ListView_DropDown=0x7f0900df; public static final int Widget_AppCompat_ListView_Menu=0x7f0900e0; public static final int Widget_AppCompat_PopupMenu=0x7f0900e1; public static final int Widget_AppCompat_PopupMenu_Overflow=0x7f0900e2; public static final int Widget_AppCompat_PopupWindow=0x7f0900e3; public static final int Widget_AppCompat_ProgressBar=0x7f0900e4; public static final int Widget_AppCompat_ProgressBar_Horizontal=0x7f0900e5; public static final int Widget_AppCompat_SearchView=0x7f0900e6; public static final int Widget_AppCompat_Spinner=0x7f0900e7; public static final int Widget_AppCompat_Spinner_DropDown=0x7f0900e8; public static final int Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f0900e9; public static final int Widget_AppCompat_Toolbar=0x7f0900ea; public static final int Widget_AppCompat_Toolbar_Button_Navigation=0x7f0900eb; } 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.joshskeen.andengine:background}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_backgroundSplit com.joshskeen.andengine:backgroundSplit}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_backgroundStacked com.joshskeen.andengine:backgroundStacked}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_contentInsetEnd com.joshskeen.andengine:contentInsetEnd}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_contentInsetLeft com.joshskeen.andengine:contentInsetLeft}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_contentInsetRight com.joshskeen.andengine:contentInsetRight}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_contentInsetStart com.joshskeen.andengine:contentInsetStart}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_customNavigationLayout com.joshskeen.andengine:customNavigationLayout}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_displayOptions com.joshskeen.andengine:displayOptions}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_divider com.joshskeen.andengine:divider}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_elevation com.joshskeen.andengine:elevation}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_height com.joshskeen.andengine:height}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_hideOnContentScroll com.joshskeen.andengine:hideOnContentScroll}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_homeAsUpIndicator com.joshskeen.andengine:homeAsUpIndicator}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_homeLayout com.joshskeen.andengine:homeLayout}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_icon com.joshskeen.andengine:icon}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_indeterminateProgressStyle com.joshskeen.andengine:indeterminateProgressStyle}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_itemPadding com.joshskeen.andengine:itemPadding}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_logo com.joshskeen.andengine:logo}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_navigationMode com.joshskeen.andengine:navigationMode}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_popupTheme com.joshskeen.andengine:popupTheme}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_progressBarPadding com.joshskeen.andengine:progressBarPadding}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_progressBarStyle com.joshskeen.andengine:progressBarStyle}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_subtitle com.joshskeen.andengine:subtitle}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_subtitleTextStyle com.joshskeen.andengine:subtitleTextStyle}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_title com.joshskeen.andengine:title}</code></td><td></td></tr> <tr><td><code>{@link #ActionBar_titleTextStyle com.joshskeen.andengine: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, 0x7f010071 }; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:background */ public static final int ActionBar_background = 10; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:backgroundSplit */ public static final int ActionBar_backgroundSplit = 12; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:backgroundStacked */ public static final int ActionBar_backgroundStacked = 11; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:contentInsetEnd */ public static final int ActionBar_contentInsetEnd = 21; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:contentInsetLeft */ public static final int ActionBar_contentInsetLeft = 22; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:contentInsetRight */ public static final int ActionBar_contentInsetRight = 23; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:contentInsetStart */ public static final int ActionBar_contentInsetStart = 20; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:customNavigationLayout */ public static final int ActionBar_customNavigationLayout = 13; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:displayOptions */ public static final int ActionBar_displayOptions = 3; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:divider */ public static final int ActionBar_divider = 9; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:elevation */ public static final int ActionBar_elevation = 24; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:height */ public static final int ActionBar_height = 0; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:hideOnContentScroll */ public static final int ActionBar_hideOnContentScroll = 19; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:homeAsUpIndicator */ public static final int ActionBar_homeAsUpIndicator = 26; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:homeLayout */ public static final int ActionBar_homeLayout = 14; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:icon */ public static final int ActionBar_icon = 7; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:indeterminateProgressStyle */ public static final int ActionBar_indeterminateProgressStyle = 16; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:itemPadding */ public static final int ActionBar_itemPadding = 18; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:logo */ public static final int ActionBar_logo = 8; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:navigationMode */ public static final int ActionBar_navigationMode = 2; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:popupTheme */ public static final int ActionBar_popupTheme = 25; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:progressBarPadding */ public static final int ActionBar_progressBarPadding = 17; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:progressBarStyle */ public static final int ActionBar_progressBarStyle = 15; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:subtitle */ public static final int ActionBar_subtitle = 4; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:subtitleTextStyle */ public static final int ActionBar_subtitleTextStyle = 6; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:title */ public static final int ActionBar_title = 1; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine: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.joshskeen.andengine:background}</code></td><td></td></tr> <tr><td><code>{@link #ActionMode_backgroundSplit com.joshskeen.andengine:backgroundSplit}</code></td><td></td></tr> <tr><td><code>{@link #ActionMode_closeItemLayout com.joshskeen.andengine:closeItemLayout}</code></td><td></td></tr> <tr><td><code>{@link #ActionMode_height com.joshskeen.andengine:height}</code></td><td></td></tr> <tr><td><code>{@link #ActionMode_subtitleTextStyle com.joshskeen.andengine:subtitleTextStyle}</code></td><td></td></tr> <tr><td><code>{@link #ActionMode_titleTextStyle com.joshskeen.andengine: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.joshskeen.andengine.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.joshskeen.andengine:background */ public static final int ActionMode_background = 3; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:backgroundSplit */ public static final int ActionMode_backgroundSplit = 4; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:closeItemLayout */ public static final int ActionMode_closeItemLayout = 5; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:height */ public static final int ActionMode_height = 0; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:subtitleTextStyle */ public static final int ActionMode_subtitleTextStyle = 2; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine: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.joshskeen.andengine:expandActivityOverflowButtonDrawable}</code></td><td></td></tr> <tr><td><code>{@link #ActivityChooserView_initialActivityCount com.joshskeen.andengine: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.joshskeen.andengine.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.joshskeen.andengine:expandActivityOverflowButtonDrawable */ public static final int ActivityChooserView_expandActivityOverflowButtonDrawable = 1; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:initialActivityCount */ public static final int ActivityChooserView_initialActivityCount = 0; /** Attributes that can be used with a CompatTextView. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #CompatTextView_textAllCaps com.joshskeen.andengine:textAllCaps}</code></td><td></td></tr> </table> @see #CompatTextView_textAllCaps */ public static final int[] CompatTextView = { 0x7f01001f }; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.R.attr#textAllCaps} attribute's value can be found in the {@link #CompatTextView} 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.joshskeen.andengine:textAllCaps */ public static final int CompatTextView_textAllCaps = 0; /** Attributes that can be used with a DrawerArrowToggle. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #DrawerArrowToggle_barSize com.joshskeen.andengine:barSize}</code></td><td></td></tr> <tr><td><code>{@link #DrawerArrowToggle_color com.joshskeen.andengine:color}</code></td><td></td></tr> <tr><td><code>{@link #DrawerArrowToggle_drawableSize com.joshskeen.andengine:drawableSize}</code></td><td></td></tr> <tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars com.joshskeen.andengine:gapBetweenBars}</code></td><td></td></tr> <tr><td><code>{@link #DrawerArrowToggle_middleBarArrowSize com.joshskeen.andengine:middleBarArrowSize}</code></td><td></td></tr> <tr><td><code>{@link #DrawerArrowToggle_spinBars com.joshskeen.andengine:spinBars}</code></td><td></td></tr> <tr><td><code>{@link #DrawerArrowToggle_thickness com.joshskeen.andengine:thickness}</code></td><td></td></tr> <tr><td><code>{@link #DrawerArrowToggle_topBottomBarArrowSize com.joshskeen.andengine:topBottomBarArrowSize}</code></td><td></td></tr> </table> @see #DrawerArrowToggle_barSize @see #DrawerArrowToggle_color @see #DrawerArrowToggle_drawableSize @see #DrawerArrowToggle_gapBetweenBars @see #DrawerArrowToggle_middleBarArrowSize @see #DrawerArrowToggle_spinBars @see #DrawerArrowToggle_thickness @see #DrawerArrowToggle_topBottomBarArrowSize */ public static final int[] DrawerArrowToggle = { 0x7f010020, 0x7f010021, 0x7f010022, 0x7f010023, 0x7f010024, 0x7f010025, 0x7f010026, 0x7f010027 }; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.R.attr#barSize} 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.joshskeen.andengine:barSize */ public static final int DrawerArrowToggle_barSize = 6; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:color */ public static final int DrawerArrowToggle_color = 0; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:drawableSize */ public static final int DrawerArrowToggle_drawableSize = 2; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:gapBetweenBars */ public static final int DrawerArrowToggle_gapBetweenBars = 3; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.R.attr#middleBarArrowSize} 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.joshskeen.andengine:middleBarArrowSize */ public static final int DrawerArrowToggle_middleBarArrowSize = 5; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:spinBars */ public static final int DrawerArrowToggle_spinBars = 1; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:thickness */ public static final int DrawerArrowToggle_thickness = 7; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.R.attr#topBottomBarArrowSize} 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.joshskeen.andengine:topBottomBarArrowSize */ public static final int DrawerArrowToggle_topBottomBarArrowSize = 4; /** 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.joshskeen.andengine:divider}</code></td><td></td></tr> <tr><td><code>{@link #LinearLayoutCompat_dividerPadding com.joshskeen.andengine:dividerPadding}</code></td><td></td></tr> <tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild com.joshskeen.andengine:measureWithLargestChild}</code></td><td></td></tr> <tr><td><code>{@link #LinearLayoutCompat_showDividers com.joshskeen.andengine: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, 0x7f010028, 0x7f010029, 0x7f01002a }; /** <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.joshskeen.andengine.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.joshskeen.andengine:divider */ public static final int LinearLayoutCompat_divider = 5; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:dividerPadding */ public static final int LinearLayoutCompat_dividerPadding = 8; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:measureWithLargestChild */ public static final int LinearLayoutCompat_measureWithLargestChild = 6; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine: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.joshskeen.andengine:actionLayout}</code></td><td></td></tr> <tr><td><code>{@link #MenuItem_actionProviderClass com.joshskeen.andengine:actionProviderClass}</code></td><td></td></tr> <tr><td><code>{@link #MenuItem_actionViewClass com.joshskeen.andengine: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.joshskeen.andengine: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, 0x7f01002b, 0x7f01002c, 0x7f01002d, 0x7f01002e }; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionLayout */ public static final int MenuItem_actionLayout = 14; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionProviderClass */ public static final int MenuItem_actionProviderClass = 16; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine: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.joshskeen.andengine.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.joshskeen.andengine: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.joshskeen.andengine: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, 0x7f01002f }; /** <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.joshskeen.andengine.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.joshskeen.andengine: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.joshskeen.andengine:overlapAnchor}</code></td><td></td></tr> </table> @see #PopupWindow_android_popupBackground @see #PopupWindow_overlapAnchor */ public static final int[] PopupWindow = { 0x01010176, 0x7f010030 }; /** <p>This symbol is the offset where the {@link android.R.attr#popupBackground} attribute's value can be found in the {@link #PopupWindow} array. @attr name android:popupBackground */ public static final int PopupWindow_android_popupBackground = 0; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine: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.joshskeen.andengine:state_above_anchor}</code></td><td></td></tr> </table> @see #PopupWindowBackgroundState_state_above_anchor */ public static final int[] PopupWindowBackgroundState = { 0x7f010031 }; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:state_above_anchor */ public static final int PopupWindowBackgroundState_state_above_anchor = 0; /** Attributes that can be used with a SearchView. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #SearchView_android_focusable android:focusable}</code></td><td></td></tr> <tr><td><code>{@link #SearchView_android_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.joshskeen.andengine:closeIcon}</code></td><td></td></tr> <tr><td><code>{@link #SearchView_commitIcon com.joshskeen.andengine:commitIcon}</code></td><td></td></tr> <tr><td><code>{@link #SearchView_goIcon com.joshskeen.andengine:goIcon}</code></td><td></td></tr> <tr><td><code>{@link #SearchView_iconifiedByDefault com.joshskeen.andengine:iconifiedByDefault}</code></td><td></td></tr> <tr><td><code>{@link #SearchView_layout com.joshskeen.andengine:layout}</code></td><td></td></tr> <tr><td><code>{@link #SearchView_queryBackground com.joshskeen.andengine:queryBackground}</code></td><td></td></tr> <tr><td><code>{@link #SearchView_queryHint com.joshskeen.andengine:queryHint}</code></td><td></td></tr> <tr><td><code>{@link #SearchView_searchIcon com.joshskeen.andengine:searchIcon}</code></td><td></td></tr> <tr><td><code>{@link #SearchView_submitBackground com.joshskeen.andengine:submitBackground}</code></td><td></td></tr> <tr><td><code>{@link #SearchView_suggestionRowLayout com.joshskeen.andengine:suggestionRowLayout}</code></td><td></td></tr> <tr><td><code>{@link #SearchView_voiceIcon com.joshskeen.andengine: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_goIcon @see #SearchView_iconifiedByDefault @see #SearchView_layout @see #SearchView_queryBackground @see #SearchView_queryHint @see #SearchView_searchIcon @see #SearchView_submitBackground @see #SearchView_suggestionRowLayout @see #SearchView_voiceIcon */ public static final int[] SearchView = { 0x010100da, 0x0101011f, 0x01010220, 0x01010264, 0x7f010032, 0x7f010033, 0x7f010034, 0x7f010035, 0x7f010036, 0x7f010037, 0x7f010038, 0x7f010039, 0x7f01003a, 0x7f01003b, 0x7f01003c }; /** <p>This symbol is the offset where the {@link android.R.attr#focusable} attribute's value can be found in the {@link #SearchView} array. @attr name android:focusable */ public static final int SearchView_android_focusable = 0; /** <p>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.joshskeen.andengine.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.joshskeen.andengine:closeIcon */ public static final int SearchView_closeIcon = 7; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:commitIcon */ public static final int SearchView_commitIcon = 11; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:goIcon */ public static final int SearchView_goIcon = 8; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:iconifiedByDefault */ public static final int SearchView_iconifiedByDefault = 5; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:layout */ public static final int SearchView_layout = 4; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:queryBackground */ public static final int SearchView_queryBackground = 13; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:queryHint */ public static final int SearchView_queryHint = 6; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:searchIcon */ public static final int SearchView_searchIcon = 9; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:submitBackground */ public static final int SearchView_submitBackground = 14; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:suggestionRowLayout */ public static final int SearchView_suggestionRowLayout = 12; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:voiceIcon */ public static final int SearchView_voiceIcon = 10; /** Attributes that can be used with a Spinner. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #Spinner_android_background android:background}</code></td><td></td></tr> <tr><td><code>{@link #Spinner_android_dropDownHorizontalOffset android:dropDownHorizontalOffset}</code></td><td></td></tr> <tr><td><code>{@link #Spinner_android_dropDownSelector android:dropDownSelector}</code></td><td></td></tr> <tr><td><code>{@link #Spinner_android_dropDownVerticalOffset android:dropDownVerticalOffset}</code></td><td></td></tr> <tr><td><code>{@link #Spinner_android_dropDownWidth android:dropDownWidth}</code></td><td></td></tr> <tr><td><code>{@link #Spinner_android_gravity android:gravity}</code></td><td></td></tr> <tr><td><code>{@link #Spinner_android_popupBackground android:popupBackground}</code></td><td></td></tr> <tr><td><code>{@link #Spinner_disableChildrenWhenDisabled com.joshskeen.andengine:disableChildrenWhenDisabled}</code></td><td></td></tr> <tr><td><code>{@link #Spinner_popupPromptView com.joshskeen.andengine:popupPromptView}</code></td><td></td></tr> <tr><td><code>{@link #Spinner_prompt com.joshskeen.andengine:prompt}</code></td><td></td></tr> <tr><td><code>{@link #Spinner_spinnerMode com.joshskeen.andengine:spinnerMode}</code></td><td></td></tr> </table> @see #Spinner_android_background @see #Spinner_android_dropDownHorizontalOffset @see #Spinner_android_dropDownSelector @see #Spinner_android_dropDownVerticalOffset @see #Spinner_android_dropDownWidth @see #Spinner_android_gravity @see #Spinner_android_popupBackground @see #Spinner_disableChildrenWhenDisabled @see #Spinner_popupPromptView @see #Spinner_prompt @see #Spinner_spinnerMode */ public static final int[] Spinner = { 0x010100af, 0x010100d4, 0x01010175, 0x01010176, 0x01010262, 0x010102ac, 0x010102ad, 0x7f01003d, 0x7f01003e, 0x7f01003f, 0x7f010040 }; /** <p>This symbol is the offset where the {@link android.R.attr#background} attribute's value can be found in the {@link #Spinner} array. @attr name android:background */ public static final int Spinner_android_background = 1; /** <p>This symbol is the offset where the {@link android.R.attr#dropDownHorizontalOffset} attribute's value can be found in the {@link #Spinner} array. @attr name android:dropDownHorizontalOffset */ public static final int Spinner_android_dropDownHorizontalOffset = 5; /** <p>This symbol is the offset where the {@link android.R.attr#dropDownSelector} attribute's value can be found in the {@link #Spinner} array. @attr name android:dropDownSelector */ public static final int Spinner_android_dropDownSelector = 2; /** <p>This symbol is the offset where the {@link android.R.attr#dropDownVerticalOffset} attribute's value can be found in the {@link #Spinner} array. @attr name android:dropDownVerticalOffset */ public static final int Spinner_android_dropDownVerticalOffset = 6; /** <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 = 4; /** <p>This symbol is the offset where the {@link android.R.attr#gravity} attribute's value can be found in the {@link #Spinner} array. @attr name android:gravity */ public static final int Spinner_android_gravity = 0; /** <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 = 3; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.R.attr#disableChildrenWhenDisabled} attribute's value can be found in the {@link #Spinner} 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.joshskeen.andengine:disableChildrenWhenDisabled */ public static final int Spinner_disableChildrenWhenDisabled = 10; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.R.attr#popupPromptView} 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.joshskeen.andengine:popupPromptView */ public static final int Spinner_popupPromptView = 9; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.R.attr#prompt} 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.joshskeen.andengine:prompt */ public static final int Spinner_prompt = 7; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.R.attr#spinnerMode} attribute's value can be found in the {@link #Spinner} 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>dialog</code></td><td>0</td><td></td></tr> <tr><td><code>dropdown</code></td><td>1</td><td></td></tr> </table> @attr name com.joshskeen.andengine:spinnerMode */ public static final int Spinner_spinnerMode = 8; /** Attributes that can be used with a SwitchCompat. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #SwitchCompat_android_textOff android:textOff}</code></td><td></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.joshskeen.andengine:showText}</code></td><td></td></tr> <tr><td><code>{@link #SwitchCompat_splitTrack com.joshskeen.andengine:splitTrack}</code></td><td></td></tr> <tr><td><code>{@link #SwitchCompat_switchMinWidth com.joshskeen.andengine:switchMinWidth}</code></td><td></td></tr> <tr><td><code>{@link #SwitchCompat_switchPadding com.joshskeen.andengine:switchPadding}</code></td><td></td></tr> <tr><td><code>{@link #SwitchCompat_switchTextAppearance com.joshskeen.andengine:switchTextAppearance}</code></td><td></td></tr> <tr><td><code>{@link #SwitchCompat_thumbTextPadding com.joshskeen.andengine:thumbTextPadding}</code></td><td></td></tr> <tr><td><code>{@link #SwitchCompat_track com.joshskeen.andengine: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, 0x7f010041, 0x7f010042, 0x7f010043, 0x7f010044, 0x7f010045, 0x7f010046, 0x7f010047 }; /** <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.joshskeen.andengine.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.joshskeen.andengine:showText */ public static final int SwitchCompat_showText = 9; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:splitTrack */ public static final int SwitchCompat_splitTrack = 8; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:switchMinWidth */ public static final int SwitchCompat_switchMinWidth = 6; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:switchPadding */ public static final int SwitchCompat_switchPadding = 7; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:switchTextAppearance */ public static final int SwitchCompat_switchTextAppearance = 5; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:thumbTextPadding */ public static final int SwitchCompat_thumbTextPadding = 4; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:track */ public static final int SwitchCompat_track = 3; /** Attributes that can be used with a Theme. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #Theme_actionBarDivider com.joshskeen.andengine:actionBarDivider}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionBarItemBackground com.joshskeen.andengine:actionBarItemBackground}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionBarPopupTheme com.joshskeen.andengine:actionBarPopupTheme}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionBarSize com.joshskeen.andengine:actionBarSize}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionBarSplitStyle com.joshskeen.andengine:actionBarSplitStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionBarStyle com.joshskeen.andengine:actionBarStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionBarTabBarStyle com.joshskeen.andengine:actionBarTabBarStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionBarTabStyle com.joshskeen.andengine:actionBarTabStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionBarTabTextStyle com.joshskeen.andengine:actionBarTabTextStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionBarTheme com.joshskeen.andengine:actionBarTheme}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionBarWidgetTheme com.joshskeen.andengine:actionBarWidgetTheme}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionButtonStyle com.joshskeen.andengine:actionButtonStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionDropDownStyle com.joshskeen.andengine:actionDropDownStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionMenuTextAppearance com.joshskeen.andengine:actionMenuTextAppearance}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionMenuTextColor com.joshskeen.andengine:actionMenuTextColor}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModeBackground com.joshskeen.andengine:actionModeBackground}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModeCloseButtonStyle com.joshskeen.andengine:actionModeCloseButtonStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModeCloseDrawable com.joshskeen.andengine:actionModeCloseDrawable}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModeCopyDrawable com.joshskeen.andengine:actionModeCopyDrawable}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModeCutDrawable com.joshskeen.andengine:actionModeCutDrawable}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModeFindDrawable com.joshskeen.andengine:actionModeFindDrawable}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModePasteDrawable com.joshskeen.andengine:actionModePasteDrawable}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModePopupWindowStyle com.joshskeen.andengine:actionModePopupWindowStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModeSelectAllDrawable com.joshskeen.andengine:actionModeSelectAllDrawable}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModeShareDrawable com.joshskeen.andengine:actionModeShareDrawable}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModeSplitBackground com.joshskeen.andengine:actionModeSplitBackground}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModeStyle com.joshskeen.andengine:actionModeStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionModeWebSearchDrawable com.joshskeen.andengine:actionModeWebSearchDrawable}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionOverflowButtonStyle com.joshskeen.andengine:actionOverflowButtonStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_actionOverflowMenuStyle com.joshskeen.andengine:actionOverflowMenuStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_activityChooserViewStyle com.joshskeen.andengine:activityChooserViewStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_android_windowIsFloating android:windowIsFloating}</code></td><td></td></tr> <tr><td><code>{@link #Theme_buttonBarButtonStyle com.joshskeen.andengine:buttonBarButtonStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_buttonBarStyle com.joshskeen.andengine:buttonBarStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_colorAccent com.joshskeen.andengine:colorAccent}</code></td><td></td></tr> <tr><td><code>{@link #Theme_colorButtonNormal com.joshskeen.andengine:colorButtonNormal}</code></td><td></td></tr> <tr><td><code>{@link #Theme_colorControlActivated com.joshskeen.andengine:colorControlActivated}</code></td><td></td></tr> <tr><td><code>{@link #Theme_colorControlHighlight com.joshskeen.andengine:colorControlHighlight}</code></td><td></td></tr> <tr><td><code>{@link #Theme_colorControlNormal com.joshskeen.andengine:colorControlNormal}</code></td><td></td></tr> <tr><td><code>{@link #Theme_colorPrimary com.joshskeen.andengine:colorPrimary}</code></td><td></td></tr> <tr><td><code>{@link #Theme_colorPrimaryDark com.joshskeen.andengine:colorPrimaryDark}</code></td><td></td></tr> <tr><td><code>{@link #Theme_colorSwitchThumbNormal com.joshskeen.andengine:colorSwitchThumbNormal}</code></td><td></td></tr> <tr><td><code>{@link #Theme_dividerHorizontal com.joshskeen.andengine:dividerHorizontal}</code></td><td></td></tr> <tr><td><code>{@link #Theme_dividerVertical com.joshskeen.andengine:dividerVertical}</code></td><td></td></tr> <tr><td><code>{@link #Theme_dropDownListViewStyle com.joshskeen.andengine:dropDownListViewStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_dropdownListPreferredItemHeight com.joshskeen.andengine:dropdownListPreferredItemHeight}</code></td><td></td></tr> <tr><td><code>{@link #Theme_editTextBackground com.joshskeen.andengine:editTextBackground}</code></td><td></td></tr> <tr><td><code>{@link #Theme_editTextColor com.joshskeen.andengine:editTextColor}</code></td><td></td></tr> <tr><td><code>{@link #Theme_homeAsUpIndicator com.joshskeen.andengine:homeAsUpIndicator}</code></td><td></td></tr> <tr><td><code>{@link #Theme_listChoiceBackgroundIndicator com.joshskeen.andengine:listChoiceBackgroundIndicator}</code></td><td></td></tr> <tr><td><code>{@link #Theme_listPopupWindowStyle com.joshskeen.andengine:listPopupWindowStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_listPreferredItemHeight com.joshskeen.andengine:listPreferredItemHeight}</code></td><td></td></tr> <tr><td><code>{@link #Theme_listPreferredItemHeightLarge com.joshskeen.andengine:listPreferredItemHeightLarge}</code></td><td></td></tr> <tr><td><code>{@link #Theme_listPreferredItemHeightSmall com.joshskeen.andengine:listPreferredItemHeightSmall}</code></td><td></td></tr> <tr><td><code>{@link #Theme_listPreferredItemPaddingLeft com.joshskeen.andengine:listPreferredItemPaddingLeft}</code></td><td></td></tr> <tr><td><code>{@link #Theme_listPreferredItemPaddingRight com.joshskeen.andengine:listPreferredItemPaddingRight}</code></td><td></td></tr> <tr><td><code>{@link #Theme_panelBackground com.joshskeen.andengine:panelBackground}</code></td><td></td></tr> <tr><td><code>{@link #Theme_panelMenuListTheme com.joshskeen.andengine:panelMenuListTheme}</code></td><td></td></tr> <tr><td><code>{@link #Theme_panelMenuListWidth com.joshskeen.andengine:panelMenuListWidth}</code></td><td></td></tr> <tr><td><code>{@link #Theme_popupMenuStyle com.joshskeen.andengine:popupMenuStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_popupWindowStyle com.joshskeen.andengine:popupWindowStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_searchViewStyle com.joshskeen.andengine:searchViewStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_selectableItemBackground com.joshskeen.andengine:selectableItemBackground}</code></td><td></td></tr> <tr><td><code>{@link #Theme_selectableItemBackgroundBorderless com.joshskeen.andengine:selectableItemBackgroundBorderless}</code></td><td></td></tr> <tr><td><code>{@link #Theme_spinnerDropDownItemStyle com.joshskeen.andengine:spinnerDropDownItemStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_spinnerStyle com.joshskeen.andengine:spinnerStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_switchStyle com.joshskeen.andengine:switchStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_textAppearanceLargePopupMenu com.joshskeen.andengine:textAppearanceLargePopupMenu}</code></td><td></td></tr> <tr><td><code>{@link #Theme_textAppearanceListItem com.joshskeen.andengine:textAppearanceListItem}</code></td><td></td></tr> <tr><td><code>{@link #Theme_textAppearanceListItemSmall com.joshskeen.andengine:textAppearanceListItemSmall}</code></td><td></td></tr> <tr><td><code>{@link #Theme_textAppearanceSearchResultSubtitle com.joshskeen.andengine:textAppearanceSearchResultSubtitle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_textAppearanceSearchResultTitle com.joshskeen.andengine:textAppearanceSearchResultTitle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_textAppearanceSmallPopupMenu com.joshskeen.andengine:textAppearanceSmallPopupMenu}</code></td><td></td></tr> <tr><td><code>{@link #Theme_textColorSearchUrl com.joshskeen.andengine:textColorSearchUrl}</code></td><td></td></tr> <tr><td><code>{@link #Theme_toolbarNavigationButtonStyle com.joshskeen.andengine:toolbarNavigationButtonStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_toolbarStyle com.joshskeen.andengine:toolbarStyle}</code></td><td></td></tr> <tr><td><code>{@link #Theme_windowActionBar com.joshskeen.andengine:windowActionBar}</code></td><td></td></tr> <tr><td><code>{@link #Theme_windowActionBarOverlay com.joshskeen.andengine:windowActionBarOverlay}</code></td><td></td></tr> <tr><td><code>{@link #Theme_windowActionModeOverlay com.joshskeen.andengine:windowActionModeOverlay}</code></td><td></td></tr> <tr><td><code>{@link #Theme_windowFixedHeightMajor com.joshskeen.andengine:windowFixedHeightMajor}</code></td><td></td></tr> <tr><td><code>{@link #Theme_windowFixedHeightMinor com.joshskeen.andengine:windowFixedHeightMinor}</code></td><td></td></tr> <tr><td><code>{@link #Theme_windowFixedWidthMajor com.joshskeen.andengine:windowFixedWidthMajor}</code></td><td></td></tr> <tr><td><code>{@link #Theme_windowFixedWidthMinor com.joshskeen.andengine:windowFixedWidthMinor}</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_android_windowIsFloating @see #Theme_buttonBarButtonStyle @see #Theme_buttonBarStyle @see #Theme_colorAccent @see #Theme_colorButtonNormal @see #Theme_colorControlActivated @see #Theme_colorControlHighlight @see #Theme_colorControlNormal @see #Theme_colorPrimary @see #Theme_colorPrimaryDark @see #Theme_colorSwitchThumbNormal @see #Theme_dividerHorizontal @see #Theme_dividerVertical @see #Theme_dropDownListViewStyle @see #Theme_dropdownListPreferredItemHeight @see #Theme_editTextBackground @see #Theme_editTextColor @see #Theme_homeAsUpIndicator @see #Theme_listChoiceBackgroundIndicator @see #Theme_listPopupWindowStyle @see #Theme_listPreferredItemHeight @see #Theme_listPreferredItemHeightLarge @see #Theme_listPreferredItemHeightSmall @see #Theme_listPreferredItemPaddingLeft @see #Theme_listPreferredItemPaddingRight @see #Theme_panelBackground @see #Theme_panelMenuListTheme @see #Theme_panelMenuListWidth @see #Theme_popupMenuStyle @see #Theme_popupWindowStyle @see #Theme_searchViewStyle @see #Theme_selectableItemBackground @see #Theme_selectableItemBackgroundBorderless @see #Theme_spinnerDropDownItemStyle @see #Theme_spinnerStyle @see #Theme_switchStyle @see #Theme_textAppearanceLargePopupMenu @see #Theme_textAppearanceListItem @see #Theme_textAppearanceListItemSmall @see #Theme_textAppearanceSearchResultSubtitle @see #Theme_textAppearanceSearchResultTitle @see #Theme_textAppearanceSmallPopupMenu @see #Theme_textColorSearchUrl @see #Theme_toolbarNavigationButtonStyle @see #Theme_toolbarStyle @see #Theme_windowActionBar @see #Theme_windowActionBarOverlay @see #Theme_windowActionModeOverlay @see #Theme_windowFixedHeightMajor @see #Theme_windowFixedHeightMinor @see #Theme_windowFixedWidthMajor @see #Theme_windowFixedWidthMinor */ public static final int[] Theme = { 0x01010057, 0x7f010048, 0x7f010049, 0x7f01004a, 0x7f01004b, 0x7f01004c, 0x7f01004d, 0x7f01004e, 0x7f01004f, 0x7f010050, 0x7f010051, 0x7f010052, 0x7f010053, 0x7f010054, 0x7f010055, 0x7f010056, 0x7f010057, 0x7f010058, 0x7f010059, 0x7f01005a, 0x7f01005b, 0x7f01005c, 0x7f01005d, 0x7f01005e, 0x7f01005f, 0x7f010060, 0x7f010061, 0x7f010062, 0x7f010063, 0x7f010064, 0x7f010065, 0x7f010066, 0x7f010067, 0x7f010068, 0x7f010069, 0x7f01006a, 0x7f01006b, 0x7f01006c, 0x7f01006d, 0x7f01006e, 0x7f01006f, 0x7f010070, 0x7f010071, 0x7f010072, 0x7f010073, 0x7f010074, 0x7f010075, 0x7f010076, 0x7f010077, 0x7f010078, 0x7f010079, 0x7f01007a, 0x7f01007b, 0x7f01007c, 0x7f01007d, 0x7f01007e, 0x7f01007f, 0x7f010080, 0x7f010081, 0x7f010082, 0x7f010083, 0x7f010084, 0x7f010085, 0x7f010086, 0x7f010087, 0x7f010088, 0x7f010089, 0x7f01008a, 0x7f01008b, 0x7f01008c, 0x7f01008d, 0x7f01008e, 0x7f01008f, 0x7f010090, 0x7f010091, 0x7f010092, 0x7f010093, 0x7f010094, 0x7f010095, 0x7f010096, 0x7f010097, 0x7f010098, 0x7f010099 }; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionBarDivider */ public static final int Theme_actionBarDivider = 19; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionBarItemBackground */ public static final int Theme_actionBarItemBackground = 20; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionBarPopupTheme */ public static final int Theme_actionBarPopupTheme = 13; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionBarSize */ public static final int Theme_actionBarSize = 18; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionBarSplitStyle */ public static final int Theme_actionBarSplitStyle = 15; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionBarStyle */ public static final int Theme_actionBarStyle = 14; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionBarTabBarStyle */ public static final int Theme_actionBarTabBarStyle = 9; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionBarTabStyle */ public static final int Theme_actionBarTabStyle = 8; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionBarTabTextStyle */ public static final int Theme_actionBarTabTextStyle = 10; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionBarTheme */ public static final int Theme_actionBarTheme = 16; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionBarWidgetTheme */ public static final int Theme_actionBarWidgetTheme = 17; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionButtonStyle */ public static final int Theme_actionButtonStyle = 43; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionDropDownStyle */ public static final int Theme_actionDropDownStyle = 38; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionMenuTextAppearance */ public static final int Theme_actionMenuTextAppearance = 21; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionMenuTextColor */ public static final int Theme_actionMenuTextColor = 22; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModeBackground */ public static final int Theme_actionModeBackground = 25; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModeCloseButtonStyle */ public static final int Theme_actionModeCloseButtonStyle = 24; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModeCloseDrawable */ public static final int Theme_actionModeCloseDrawable = 27; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModeCopyDrawable */ public static final int Theme_actionModeCopyDrawable = 29; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModeCutDrawable */ public static final int Theme_actionModeCutDrawable = 28; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModeFindDrawable */ public static final int Theme_actionModeFindDrawable = 33; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModePasteDrawable */ public static final int Theme_actionModePasteDrawable = 30; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModePopupWindowStyle */ public static final int Theme_actionModePopupWindowStyle = 35; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModeSelectAllDrawable */ public static final int Theme_actionModeSelectAllDrawable = 31; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModeShareDrawable */ public static final int Theme_actionModeShareDrawable = 32; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModeSplitBackground */ public static final int Theme_actionModeSplitBackground = 26; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModeStyle */ public static final int Theme_actionModeStyle = 23; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionModeWebSearchDrawable */ public static final int Theme_actionModeWebSearchDrawable = 34; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionOverflowButtonStyle */ public static final int Theme_actionOverflowButtonStyle = 11; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:actionOverflowMenuStyle */ public static final int Theme_actionOverflowMenuStyle = 12; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:activityChooserViewStyle */ public static final int Theme_activityChooserViewStyle = 50; /** <p>This symbol is the offset where the {@link android.R.attr#windowIsFloating} attribute's value can be found in the {@link #Theme} array. @attr name android:windowIsFloating */ public static final int Theme_android_windowIsFloating = 0; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:buttonBarButtonStyle */ public static final int Theme_buttonBarButtonStyle = 45; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:buttonBarStyle */ public static final int Theme_buttonBarStyle = 44; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:colorAccent */ public static final int Theme_colorAccent = 77; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:colorButtonNormal */ public static final int Theme_colorButtonNormal = 81; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:colorControlActivated */ public static final int Theme_colorControlActivated = 79; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:colorControlHighlight */ public static final int Theme_colorControlHighlight = 80; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:colorControlNormal */ public static final int Theme_colorControlNormal = 78; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:colorPrimary */ public static final int Theme_colorPrimary = 75; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:colorPrimaryDark */ public static final int Theme_colorPrimaryDark = 76; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:colorSwitchThumbNormal */ public static final int Theme_colorSwitchThumbNormal = 82; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:dividerHorizontal */ public static final int Theme_dividerHorizontal = 49; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:dividerVertical */ public static final int Theme_dividerVertical = 48; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:dropDownListViewStyle */ public static final int Theme_dropDownListViewStyle = 67; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:dropdownListPreferredItemHeight */ public static final int Theme_dropdownListPreferredItemHeight = 39; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:editTextBackground */ public static final int Theme_editTextBackground = 56; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:editTextColor */ public static final int Theme_editTextColor = 55; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:homeAsUpIndicator */ public static final int Theme_homeAsUpIndicator = 42; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:listChoiceBackgroundIndicator */ public static final int Theme_listChoiceBackgroundIndicator = 74; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:listPopupWindowStyle */ public static final int Theme_listPopupWindowStyle = 68; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:listPreferredItemHeight */ public static final int Theme_listPreferredItemHeight = 62; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:listPreferredItemHeightLarge */ public static final int Theme_listPreferredItemHeightLarge = 64; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:listPreferredItemHeightSmall */ public static final int Theme_listPreferredItemHeightSmall = 63; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:listPreferredItemPaddingLeft */ public static final int Theme_listPreferredItemPaddingLeft = 65; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:listPreferredItemPaddingRight */ public static final int Theme_listPreferredItemPaddingRight = 66; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:panelBackground */ public static final int Theme_panelBackground = 71; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:panelMenuListTheme */ public static final int Theme_panelMenuListTheme = 73; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:panelMenuListWidth */ public static final int Theme_panelMenuListWidth = 72; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:popupMenuStyle */ public static final int Theme_popupMenuStyle = 53; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:popupWindowStyle */ public static final int Theme_popupWindowStyle = 54; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:searchViewStyle */ public static final int Theme_searchViewStyle = 61; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:selectableItemBackground */ public static final int Theme_selectableItemBackground = 46; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:selectableItemBackgroundBorderless */ public static final int Theme_selectableItemBackgroundBorderless = 47; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:spinnerDropDownItemStyle */ public static final int Theme_spinnerDropDownItemStyle = 41; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:spinnerStyle */ public static final int Theme_spinnerStyle = 40; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:switchStyle */ public static final int Theme_switchStyle = 57; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:textAppearanceLargePopupMenu */ public static final int Theme_textAppearanceLargePopupMenu = 36; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:textAppearanceListItem */ public static final int Theme_textAppearanceListItem = 69; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:textAppearanceListItemSmall */ public static final int Theme_textAppearanceListItemSmall = 70; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:textAppearanceSearchResultSubtitle */ public static final int Theme_textAppearanceSearchResultSubtitle = 59; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:textAppearanceSearchResultTitle */ public static final int Theme_textAppearanceSearchResultTitle = 58; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:textAppearanceSmallPopupMenu */ public static final int Theme_textAppearanceSmallPopupMenu = 37; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:textColorSearchUrl */ public static final int Theme_textColorSearchUrl = 60; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:toolbarNavigationButtonStyle */ public static final int Theme_toolbarNavigationButtonStyle = 52; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:toolbarStyle */ public static final int Theme_toolbarStyle = 51; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:windowActionBar */ public static final int Theme_windowActionBar = 1; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:windowActionBarOverlay */ public static final int Theme_windowActionBarOverlay = 2; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:windowActionModeOverlay */ public static final int Theme_windowActionModeOverlay = 3; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:windowFixedHeightMajor */ public static final int Theme_windowFixedHeightMajor = 7; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:windowFixedHeightMinor */ public static final int Theme_windowFixedHeightMinor = 5; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:windowFixedWidthMajor */ public static final int Theme_windowFixedWidthMajor = 4; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:windowFixedWidthMinor */ public static final int Theme_windowFixedWidthMinor = 6; /** Attributes that can be used with a Toolbar. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #Toolbar_android_gravity android:gravity}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_android_minHeight android:minHeight}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_collapseContentDescription com.joshskeen.andengine:collapseContentDescription}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_collapseIcon com.joshskeen.andengine:collapseIcon}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_contentInsetEnd com.joshskeen.andengine:contentInsetEnd}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_contentInsetLeft com.joshskeen.andengine:contentInsetLeft}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_contentInsetRight com.joshskeen.andengine:contentInsetRight}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_contentInsetStart com.joshskeen.andengine:contentInsetStart}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_maxButtonHeight com.joshskeen.andengine:maxButtonHeight}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_navigationContentDescription com.joshskeen.andengine:navigationContentDescription}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_navigationIcon com.joshskeen.andengine:navigationIcon}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_popupTheme com.joshskeen.andengine:popupTheme}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_subtitle com.joshskeen.andengine:subtitle}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_subtitleTextAppearance com.joshskeen.andengine:subtitleTextAppearance}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_theme com.joshskeen.andengine:theme}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_title com.joshskeen.andengine:title}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_titleMarginBottom com.joshskeen.andengine:titleMarginBottom}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_titleMarginEnd com.joshskeen.andengine:titleMarginEnd}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_titleMarginStart com.joshskeen.andengine:titleMarginStart}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_titleMarginTop com.joshskeen.andengine:titleMarginTop}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_titleMargins com.joshskeen.andengine:titleMargins}</code></td><td></td></tr> <tr><td><code>{@link #Toolbar_titleTextAppearance com.joshskeen.andengine:titleTextAppearance}</code></td><td></td></tr> </table> @see #Toolbar_android_gravity @see #Toolbar_android_minHeight @see #Toolbar_collapseContentDescription @see #Toolbar_collapseIcon @see #Toolbar_contentInsetEnd @see #Toolbar_contentInsetLeft @see #Toolbar_contentInsetRight @see #Toolbar_contentInsetStart @see #Toolbar_maxButtonHeight @see #Toolbar_navigationContentDescription @see #Toolbar_navigationIcon @see #Toolbar_popupTheme @see #Toolbar_subtitle @see #Toolbar_subtitleTextAppearance @see #Toolbar_theme @see #Toolbar_title @see #Toolbar_titleMarginBottom @see #Toolbar_titleMarginEnd @see #Toolbar_titleMarginStart @see #Toolbar_titleMarginTop @see #Toolbar_titleMargins @see #Toolbar_titleTextAppearance */ public static final int[] Toolbar = { 0x010100af, 0x01010140, 0x7f010003, 0x7f010006, 0x7f010016, 0x7f010017, 0x7f010018, 0x7f010019, 0x7f01001b, 0x7f01009a, 0x7f01009b, 0x7f01009c, 0x7f01009d, 0x7f01009e, 0x7f01009f, 0x7f0100a0, 0x7f0100a1, 0x7f0100a2, 0x7f0100a3, 0x7f0100a4, 0x7f0100a5, 0x7f0100a6 }; /** <p>This symbol is the offset where the {@link android.R.attr#gravity} attribute's value can be found in the {@link #Toolbar} array. @attr name android:gravity */ public static final int Toolbar_android_gravity = 0; /** <p>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.joshskeen.andengine.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.joshskeen.andengine:collapseContentDescription */ public static final int Toolbar_collapseContentDescription = 19; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:collapseIcon */ public static final int Toolbar_collapseIcon = 18; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:contentInsetEnd */ public static final int Toolbar_contentInsetEnd = 5; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:contentInsetLeft */ public static final int Toolbar_contentInsetLeft = 6; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:contentInsetRight */ public static final int Toolbar_contentInsetRight = 7; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:contentInsetStart */ public static final int Toolbar_contentInsetStart = 4; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:maxButtonHeight */ public static final int Toolbar_maxButtonHeight = 16; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:navigationContentDescription */ public static final int Toolbar_navigationContentDescription = 21; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:navigationIcon */ public static final int Toolbar_navigationIcon = 20; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:popupTheme */ public static final int Toolbar_popupTheme = 8; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:subtitle */ public static final int Toolbar_subtitle = 3; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:subtitleTextAppearance */ public static final int Toolbar_subtitleTextAppearance = 10; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.R.attr#theme} 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.joshskeen.andengine:theme */ public static final int Toolbar_theme = 17; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:title */ public static final int Toolbar_title = 2; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:titleMarginBottom */ public static final int Toolbar_titleMarginBottom = 15; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:titleMarginEnd */ public static final int Toolbar_titleMarginEnd = 13; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:titleMarginStart */ public static final int Toolbar_titleMarginStart = 12; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:titleMarginTop */ public static final int Toolbar_titleMarginTop = 14; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:titleMargins */ public static final int Toolbar_titleMargins = 11; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:titleTextAppearance */ public static final int Toolbar_titleTextAppearance = 9; /** Attributes that can be used with a View. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #View_android_focusable android:focusable}</code></td><td></td></tr> <tr><td><code>{@link #View_paddingEnd com.joshskeen.andengine:paddingEnd}</code></td><td></td></tr> <tr><td><code>{@link #View_paddingStart com.joshskeen.andengine:paddingStart}</code></td><td></td></tr> </table> @see #View_android_focusable @see #View_paddingEnd @see #View_paddingStart */ public static final int[] View = { 0x010100da, 0x7f0100a7, 0x7f0100a8 }; /** <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 = 0; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:paddingEnd */ public static final int View_paddingEnd = 2; /** <p>This symbol is the offset where the {@link com.joshskeen.andengine.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.joshskeen.andengine:paddingStart */ public static final int View_paddingStart = 1; /** Attributes that can be used with a ViewStubCompat. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #ViewStubCompat_android_id android:id}</code></td><td></td></tr> <tr><td><code>{@link #ViewStubCompat_android_inflatedId android:inflatedId}</code></td><td></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; }; }
[ "skyep94@gmail.com" ]
skyep94@gmail.com
16886039dc4091b357a3910229c2a8f40d369fa9
c09ac0e7863d800c2a9af4220fe118ca080de222
/src/AL/OrdenadorInt.java
3e8ac6375667903265cc3e2a01c18077e2220974
[]
no_license
luandkg/AL
a27a588dc702afa9dd83f7de47e9fa88dbed4f8b
0614465c283d15a8bb991b44ce0a10dde41ac2cf
refs/heads/master
2023-01-13T11:20:58.291240
2020-11-04T23:39:34
2020-11-04T23:39:34
308,375,557
0
0
null
null
null
null
UTF-8
Java
false
false
533
java
package AL; public class OrdenadorInt extends Ordenador<Integer>{ @Override public boolean isIgual(Integer valor1, Integer valor2) { return valor1 == valor2; } @Override public boolean isDiferente(Integer valor1, Integer valor2) { return valor1 != valor2; } @Override public boolean isMenor(Integer valor1, Integer valor2) { return valor1 < valor2; } @Override public boolean isMaior(Integer valor1, Integer valor2) { return valor1 > valor2; } }
[ "luandkg@gmail.com" ]
luandkg@gmail.com
045f497a2148f4692a5baf0b1babaf984d71ea96
ebccaa7a38b2072d35a25b30fd99933f0ea4b000
/spserver/trunk/src/control/bean/CatelogList.java
2b582990eff542740d1a85fa00f901c1895a2039
[]
no_license
hujun519191086/Proj
f1eb37e28ef627351e96520c7bd81e731cbabf42
8b1d5f6d5eceefba3db6e1da4cac4e7cdc4dc65d
refs/heads/master
2023-03-16T02:21:12.094050
2018-05-03T19:00:58
2018-05-03T19:00:58
null
0
0
null
null
null
null
UTF-8
Java
false
false
319
java
package control.bean; import java.util.ArrayList; public class CatelogList extends BaseBean { private ArrayList<Catelog> catelog_list; public ArrayList<Catelog> getCatelog_list() { return catelog_list; } public void setCatelog_list(ArrayList<Catelog> catelog_list) { this.catelog_list = catelog_list; } }
[ "1226341090@qq.com" ]
1226341090@qq.com
8f56563215f8cd0268e0b1ce7200308a3fedc65a
03744fea71630eaa999997a0b3ebf99b7968e990
/src/main/java/com/hnu/mes/repository/ModelRepository.java
2e4be462b562a9f48ff753e74e14a233c8a3f50c
[]
no_license
zhouweixin/mes
9012e0c7373a1235aaea128f96ea93971be3f255
63afb2925cf5b2b92c3e97c34f6eeb42b0152d7a
refs/heads/master
2020-03-19T23:47:18.205625
2018-08-22T11:36:55
2018-08-22T11:36:55
137,018,742
0
0
null
null
null
null
UTF-8
Java
false
false
1,028
java
package com.hnu.mes.repository; import com.hnu.mes.domain.Menu2; import com.hnu.mes.domain.Model; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; /** * Created by zhouweixin on 2018/3/18. */ public interface ModelRepository extends JpaRepository<Model, Integer> { /** * ้€š่ฟ‡็ผ–็ ๆ›ดๆ–ฐๅ็งฐ * @param name * @param code */ @Modifying @Query(value = "update Model m set m.name=?1 where m.code=?2") public void updateNameByCode(String name, Integer code); /** * ้€š่ฟ‡menu2ๆŸฅ่ฏขmodel * @param menu2 * @return */ public Model findByMenu2(Menu2 menu2); /** * ๆŸฅ่ฏขๆœ€ๅคงcode * * @return */ @Query("select max(code) from Model") public Integer findMaxCode(); /** * ๆŸฅ่ฏขๆœ€ๅคงrank * * @return */ @Query("select max(rank) from Model") public Integer findMaxRank(); }
[ "1216840597@qq.com" ]
1216840597@qq.com
f4a43a75e8811db78e0376fee9cd85e35cc0c9c3
b6686fe4fb1050804387967c73eeb16c8d5971a4
/app/src/main/java/com/bluescape/collaboration/socket/handler/HeTsxappeventMessageHandler.java
777bfec2cf74fcc0e02915a60d7e11a0c966a191
[]
no_license
spasapula/BlueScape_Android_TV
3dcbafb5ee997c2374bc6045d3bcc326e67bbfff
de0869fb55bd3feb6cb2f3597d198b2aa03bd9e8
refs/heads/master
2020-04-27T02:54:04.149209
2015-08-12T06:56:15
2015-08-12T06:56:15
40,584,912
1
0
null
null
null
null
UTF-8
Java
false
false
1,209
java
package com.bluescape.collaboration.socket.handler; import com.bluescape.AppConstants; import com.bluescape.collaboration.socket.IHandler; import com.bluescape.collaboration.socket.HandlerFactory; import org.json.JSONArray; import org.json.JSONObject; public class HeTsxappeventMessageHandler extends BaseMessageHandler { private static final String TAG = HeTsxappeventMessageHandler.class.getSimpleName(); public void handleMessage(JSONArray mainMessage) { try { AppConstants.LOG(AppConstants.VERBOSE, TAG, mainMessage.toString()); String type;// createBrowser ot geometryChanged or deleteBrowser // event Json Object JSONObject eventJsonObj = (JSONObject) mainMessage.get(AppConstants.HISTORY_EVENT_FROM_SERVER_MESSAGE_FORMAT.EVENT_PROPERTIES.ordinal()); if (!eventJsonObj.isNull("messageType")) { type = eventJsonObj.get("messageType").toString(); IHandler handler = HandlerFactory.getInstance().getHandler(type); if (handler != null) { handler.handleMessage(mainMessage); } } else { AppConstants.LOG(AppConstants.CRITICAL, TAG, "Null type from mainMessage in HeCreateMessageHandler"); } } catch (Exception e) { e.printStackTrace(); } } }
[ "spasapula@encoress.com" ]
spasapula@encoress.com
5f48b77b00f75c02f1c77787b5ca99c9a17fe4e5
5dd486f2806982f871ad726b14f692cf32965ad0
/src/main/java/com/accp/service/IAlistofdialupordersService.java
0fcb635bdb58beb99b9951e2cfd128ef531fec57
[]
no_license
tanqitt/erpxm
4b3707146b71308510db029f6a87a9a8acd86664
ca7088d0cb6fccd110c56d00a947c738f476aae4
refs/heads/master
2023-08-08T10:16:24.197418
2019-09-05T07:31:00
2019-09-05T07:31:00
206,502,692
0
0
null
2023-07-25T13:59:55
2019-09-05T07:31:43
Java
UTF-8
Java
false
false
296
java
package com.accp.service; import com.accp.entity.Alistofdialuporders; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * ๆœๅŠก็ฑป * </p> * * @author ljq * @since 2019-08-28 */ public interface IAlistofdialupordersService extends IService<Alistofdialuporders> { }
[ "3103549049@qq.com" ]
3103549049@qq.com
c9bef77d7f88af045337c71a1e35d8192c094b63
7dbcf8b08bd7521a1993cf1c0fff089750c5ceb5
/src/main/java/com/slack/slack/file/LocalImageDownloadController.java
1297802773506028616156b210ed0f3c9c789ef2
[]
no_license
donghyeon0725/hacker_server
b7c14034c44b5abe072a022fdc73b43dc42d7363
0af906cd37a8fb89a1d6a1bc3b1e987703bb2c37
refs/heads/master
2023-06-10T10:59:23.797043
2021-06-28T09:04:53
2021-06-28T09:04:53
380,957,010
0
0
null
null
null
null
UTF-8
Java
false
false
2,201
java
package com.slack.slack.file; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import javax.servlet.http.HttpServletResponse; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; @Controller public class LocalImageDownloadController { /** * ์ž„์‹œ๋กœ ์ด๋ฏธ์ง€๋ฅผ ๋ถˆ๋Ÿฌ ์˜ฌ ์ˆ˜ ์žˆ๋„๋ก ์ปจํŠธ๋กค๋Ÿฌ ์ƒ์„ฑ * path์˜ ๊ฒฝ๋กœ ๊ตฌ๋ถ„์ž๋Š” ๋ชจ๋‘ @์œผ๋กœ ์น˜ํ™˜ํ•ด์„œ ์š”์ฒญํ•ด์•ผํ•จ * */ @GetMapping("/getImage/{path}") public void getImage(@PathVariable String path, HttpServletResponse res) throws Exception { String fileNm = path.split("@")[path.split("@").length-1]; String ext = fileNm.split("\\.")[fileNm.split("\\.").length-1]; FileInputStream in= null; BufferedInputStream fin = null; BufferedOutputStream out = null; /* ์œˆ๋„์šฐ์—์„œ๋งŒ ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•˜๊ธฐ ๋•Œ๋ฌธ์—, ๋‹ค๋ฅธ ์šด์˜์ฒด์ œ๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค๋ฉด replacement๋ฅผ ์ ์ ˆํ•œ ๋Œ€์ฒด์žฌ๋กœ ๋ฐ”๊พธ์–ด ์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. */ path = path.replaceAll("@", "/"); try { res.setContentType("image/" + ext); res.setHeader("Content-Disposition", "inline;filename=" + fileNm); File file = new File(path); System.out.println(file.exists()); if(file.exists()){ in = new FileInputStream(file); fin = new BufferedInputStream(in); out = new BufferedOutputStream(res.getOutputStream()); int len; byte[] buf = new byte[1024]; while ((len = in.read(buf)) > 0) { out.write(buf, 0, len); } } } catch (Exception e) { throw new RuntimeException(e.toString()); } finally { if(out != null){ out.flush(); } if(out != null){ out.close(); } if(in != null){ in.close(); } if(fin != null) { fin.close(); } } } }
[ "ehdgus5015@gmail.com" ]
ehdgus5015@gmail.com
c9a57ac4aaba17c994f2460071253364a6cf85f5
14248aaedfa5f77c7fc5dd8c3741604fb987de5c
/codeforces/P062B.java
27c92b291321bc6fbcea0c3d9b3881422750dbd6
[]
no_license
atubo/online-judge
fc51012465a1bd07561b921f5c7d064e336a4cd2
8774f6c608bb209a1ebbb721d6bbfdb5c1d1ce9b
refs/heads/master
2021-11-22T19:48:14.279016
2021-08-29T23:16:16
2021-08-29T23:16:16
13,290,232
2
0
null
null
null
null
UTF-8
Java
false
false
1,270
java
import java.util.*; public class P062B { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int k = sc.nextInt(); String s = sc.next(); ArrayList<TreeSet<Integer>> position = new ArrayList<>(); for (int i = 0; i < 26; i++) { position.add(new TreeSet<Integer>()); } for (int i = 0; i < k; i++) { char c = s.charAt(i); position.get(c-'a').add(i); } for (int i = 0; i < n; i++) { long result = 0; String sp = sc.next(); int length = sp.length(); for (int j = 0; j < length; j++) { char c = sp.charAt(j); Integer floor = position.get(c-'a').floor(j); int dist1 = (floor == null ? Integer.MAX_VALUE : j - floor); Integer ceiling = position.get(c-'a').ceiling(j); int dist2 = (ceiling == null ? Integer.MAX_VALUE : ceiling - j); int dist = Math.min(dist1, dist2); dist = (dist == Integer.MAX_VALUE ? length : dist); result += dist; } System.out.println(result); } } }
[ "err722@yahoo.com" ]
err722@yahoo.com
1710434e598900aa931fcd71dc30a781bb60b269
08f10fc76cfc20282f21f7a0276e4cde7675b48e
/src/main/java/com/yun/designMode/DesignModeApplication.java
68edbd5c2bf1604c73091b674124bb7d9ae8bbd1
[]
no_license
liusong-liu/designMode
2df675c3f611656e55c6830a296ab4238b865324
79e47a135bf8a921cb59b80b396b8218f8e53c73
refs/heads/master
2023-03-08T17:13:42.217615
2021-02-24T03:17:20
2021-02-24T03:17:20
335,567,283
1
0
null
null
null
null
UTF-8
Java
false
false
331
java
package com.yun.designMode; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class DesignModeApplication { public static void main(String[] args) { SpringApplication.run(DesignModeApplication.class, args); } }
[ "1476563920@qq.com" ]
1476563920@qq.com
4da71c0041b0130935957497777085f25534898b
eecea43812f7af7a8db1800ae71ff9311ab3aac5
/CourseSelection/src/com/course/selection/action/student/PickCourseAction.java
48ce68714544fa697254cc22480019a5924053b1
[]
no_license
beihaifeiwu/course_selection
d1961296c0d8bcc55478585e1ba5781f2075b431
dc854b37b8ad6fb0c1a46ac28cf2dec915f96bf4
refs/heads/master
2021-01-19T10:22:47.292610
2014-05-21T04:24:34
2014-05-21T04:24:34
20,006,837
2
3
null
null
null
null
WINDOWS-1252
Java
false
false
2,581
java
package com.course.selection.action.student; import java.util.List; import java.util.Set; import org.apache.struts2.json.annotations.JSON; import com.course.selection.domain.Course; import com.course.selection.domain.Student; import com.course.selection.service.CourseService; import com.course.selection.service.StudentService; import com.course.selection.util.CourseTable; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; /** * ยฟรŽยณรŒร‰ยพยณรฝยถยฏร—รทAction * @author Administrator * */ public class PickCourseAction extends ActionSupport { private static final long serialVersionUID = -8583627367341674609L; private List<Integer> tags; private CourseService courseService; private StudentService studentService; /** * @return the studentService */ @JSON(serialize=false) public StudentService getStudentService() { return studentService; } /** * @param studentService the studentService to set */ public void setStudentService(StudentService studentService) { this.studentService = studentService; } private String result; @JSON(serialize=false) public List<Integer> getTags() { return tags; } public void setTags(List<Integer> tags) { this.tags = tags; } @Override public String execute() throws Exception { if(tags != null){ Integer sid = (Integer) ActionContext.getContext().getSession().get("userID"); Student stu = getStudentService().getStudentByID(sid); try { Set<Course> courses = stu.getCourse(); for(Integer id : tags){ boolean conflict = false; Course temp = getCourseService().getCourseByID(id); if(courses.contains(temp)){ setResult("exist"); return SUCCESS; } for(Course course : courses){ if(!CourseTable.isConflict(temp, course)){ conflict = true; break; } } if(!conflict){ if(!getStudentService().addCourse(temp, stu)){ setResult("full"); return SUCCESS; } }else{ setResult("conflict"); return SUCCESS; } } getStudentService().modifyStudent(stu); setResult("selected"); } catch (Exception e) { setResult("error"); } }else{ setResult("null"); } return SUCCESS; } @JSON(serialize=false) public CourseService getCourseService() { return courseService; } public void setCourseService(CourseService courseService) { this.courseService = courseService; } public String getResult() { return result; } public void setResult(String result) { this.result = result; } }
[ "liupin0327@gmail.com" ]
liupin0327@gmail.com
36d1aee51974766c9fce0ce0ffb7e2183e859dc2
4b4df0fc4e21511f6c3f061f91f7420230bd3226
/src/cp3/ch3_problem_solving_paradigms/UVA00927IntegerSequencesFromAdditionOfTerms.java
dc320ae6b8d1a3e23739d06e28045f35fe041f36
[]
no_license
ebautistabar/uva-solutions
42da78f00383cf02d37256393d88e2f353e978c9
cba99235d9eb9ae2e41eff8cdaab955086b736b5
refs/heads/master
2021-01-20T13:50:00.554570
2018-01-14T18:38:35
2018-01-14T18:38:35
90,528,950
0
0
null
null
null
null
UTF-8
Java
false
false
1,871
java
package cp3.ch3_problem_solving_paradigms; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.util.StringTokenizer; // 927 - Complete Search, Iterative (One Loop, Linear Scan), starred // https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=868 class UVA00927IntegerSequencesFromAdditionOfTerms { private static final BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); private static final PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out))); public static void main(String args[]) throws NumberFormatException, IOException { int tests = Integer.parseInt(in.readLine().trim()); while (tests-- > 0) { StringTokenizer st = new StringTokenizer(in.readLine().trim()); int i = Integer.parseInt(st.nextToken()); // >= 1, <= 20 int[] coefficients = new int[i + 1]; for (int j = 0; j <= i; j++) { coefficients[j] = Integer.parseInt(st.nextToken()); // >= 0, <= 10K } int d = Integer.parseInt(in.readLine().trim()); // <= 100K int k = Integer.parseInt(in.readLine().trim()); // <= 1M // Search for the position that holds the occurrences of the item we want int items = 0; int n = 0; while (items < k) { n++; items += n * d; } // Calculate the value of the item long result = 0; for (int j = 0; j <= i; j++) { result += coefficients[j] * Math.pow(n, j); } out.println(result); } out.close(); } }
[ "ebautistabar@gmail.com" ]
ebautistabar@gmail.com
f1bdf03f44f5d964aea899dd762c66da8273568c
c04f85c521b0e9d982f9a47b97889376c5fc662d
/src/Movie4kViewer/Runner.java
a91974d67af5860208210359d3487d8419a53586
[]
no_license
vaginessa/Movie4kViewer
83dabcbe4785e037b09fb1ec46024d0ebfb264d4
7d31771fab105b7cbdb558aa9e055dd76a539391
refs/heads/master
2021-01-01T17:40:19.062360
2016-12-29T09:25:39
2016-12-29T09:25:39
null
0
0
null
null
null
null
UTF-8
Java
false
false
174
java
package Movie4kViewer; public class Runner implements Runnable { public void run() { EventHandler.linkFinder.run_for_movies(); EventHandler.updateButtons(); } }
[ "github@janbrodda.de" ]
github@janbrodda.de
d1c76f8b375df8d1f0c80e8497fb225c347206f5
306428cb00f0c1dd5305960a7ab4ca4553263a67
/clients/java/src/test/java/io/lakefs/clients/api/model/RepositoryListTest.java
3137928cd4e9c2094da0187b8a5a11da04492d7e
[ "Apache-2.0" ]
permissive
LeonardAukea/lakeFS
cc86f0cc253542994b4a088a730785a12276e063
2c620a5db984ce96eb7b87a32209507486c57861
refs/heads/master
2023-06-16T01:55:18.300701
2021-07-09T03:13:58
2021-07-09T03:13:58
384,652,922
1
0
Apache-2.0
2021-07-10T08:48:14
2021-07-10T08:48:13
null
UTF-8
Java
false
false
1,411
java
/* * lakeFS API * lakeFS HTTP API * * The version of the OpenAPI document: 0.1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ package io.lakefs.clients.api.model; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import io.lakefs.clients.api.model.Pagination; import io.lakefs.clients.api.model.Repository; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; /** * Model tests for RepositoryList */ public class RepositoryListTest { private final RepositoryList model = new RepositoryList(); /** * Model tests for RepositoryList */ @Test public void testRepositoryList() { // TODO: test RepositoryList } /** * Test the property 'pagination' */ @Test public void paginationTest() { // TODO: test pagination } /** * Test the property 'results' */ @Test public void resultsTest() { // TODO: test results } }
[ "noreply@github.com" ]
LeonardAukea.noreply@github.com
6cb2336c7a3ccc48099aa6ba86c2380acf6f9afd
7d6dbb9aa4b04f29b17a436417fede217ea2cfb7
/servlet-server/src/main/java/com/irostub/servletserver/web/frontcontroller/v3/FrontControllerV3.java
b576cab88045cf02fd6901a5af57d9d8c626cb21
[]
no_license
irostub/learn-spring-mvc-1
c9b0d174cf8f14ab848380523165877f8b034bc9
4f77bfdf0dba16ee4f1d00c53a5b14e48ea357d3
refs/heads/master
2023-06-18T10:21:38.180287
2021-07-10T06:53:31
2021-07-10T06:53:31
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,348
java
package com.irostub.servletserver.web.frontcontroller.v3; import com.irostub.servletserver.web.frontcontroller.ModelView; import com.irostub.servletserver.web.frontcontroller.MyView; import com.irostub.servletserver.web.frontcontroller.v3.controller.MemberFormControllerV3; import com.irostub.servletserver.web.frontcontroller.v3.controller.MemberListControllerV3; import com.irostub.servletserver.web.frontcontroller.v3.controller.MemberSaveControllerV3; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.HashMap; import java.util.Map; @WebServlet(name = "FrontControllerV3",urlPatterns = "/front-controller/v3/*") public class FrontControllerV3 extends HttpServlet { private Map<String, ControllerV3> controllerMap = new HashMap<>(); public FrontControllerV3() { controllerMap.put("/front-controller/v3/members/new-form", new MemberFormControllerV3()); controllerMap.put("/front-controller/v3/members/save", new MemberSaveControllerV3()); controllerMap.put("/front-controller/v3/members", new MemberListControllerV3()); } @Override protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { String requestUrl = req.getRequestURI(); ControllerV3 controllerV3 = controllerMap.get(requestUrl); if(controllerV3 == null){ resp.setStatus(HttpServletResponse.SC_NOT_FOUND); return; } Map<String, String> paramMap = createParamMap(req); ModelView modelView = controllerV3.process(paramMap); String viewName = modelView.getViewName(); MyView view = viewResolver(viewName); view.render(modelView.getModel(), req, resp); } private Map<String, String> createParamMap(HttpServletRequest req) { Map<String, String> paramMap = new HashMap<>(); req.getParameterNames().asIterator() .forEachRemaining(name-> paramMap.put(name, req.getParameter(name))); return paramMap; } private MyView viewResolver(String viewName) { return new MyView("/WEB-INF/views/" + viewName + ".jsp"); } }
[ "irostub@gmail.com" ]
irostub@gmail.com
7c66770240c77b260861637288e31b99848fe429
fc2e4e31bc0484cd932ade57fae3c13c4a15c0fc
/app/src/main/java/com/ypshengxian/daojia/ui/activity/LoginActivity.java
b58c107b5fe385cc746aef22d3f5d1efe0c48235
[]
no_license
wangxiaochou/YMDJ
8d71489b6c7d9286123ddfebe2ec500199942fcb
b45179342852f5ac21617fe0d1d8e3457170f767
refs/heads/master
2020-03-18T11:17:45.350206
2018-05-24T04:56:33
2018-05-24T04:56:33
134,662,725
1
0
null
null
null
null
UTF-8
Java
false
false
6,086
java
package com.ypshengxian.daojia.ui.activity; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.text.TextUtils; import android.view.View; import android.widget.FrameLayout; import android.widget.RelativeLayout; import android.widget.TextView; import com.ypshengxian.daojia.R; import com.ypshengxian.daojia.base.BaseMVPYpFreshActicity; import com.ypshengxian.daojia.count.Count; import com.ypshengxian.daojia.event.JumpEvent; import com.ypshengxian.daojia.event.LoginEvent; import com.ypshengxian.daojia.event.OrderEvent; import com.ypshengxian.daojia.mvp.contract.ILoginActivityContract; import com.ypshengxian.daojia.mvp.presenter.LoginActivityPresenter; import com.ypshengxian.daojia.network.bean.LoginBean; import com.ypshengxian.daojia.preference.YPPreference; import com.ypshengxian.daojia.task.ActivityStack; import com.ypshengxian.daojia.ui.fragment.LoginFragment; import com.ypshengxian.daojia.utils.MessageEvent; import com.ypshengxian.daojia.utils.TitleUtils; import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.ThreadMode; /** * @author ZSH * @create 2018/3/20 * @Describe ็™ปๅฝ• */ public class LoginActivity extends BaseMVPYpFreshActicity<ILoginActivityContract.View, LoginActivityPresenter> implements ILoginActivityContract.View { public static final int S_QUIK_LOGIN = 123; //ๅฟซๆท็™ปๅฝ• private TextView mTvSimpleTitleBarLeftText; private FrameLayout mFralaySimpleTitleBarLeft; private TextView mTvSimpleTitleBarRightText; private FrameLayout mFralaySimpleTitleBarRight; /** */ private TextView mTvSimpleTitleBarTitle; private FrameLayout mFralaySimpleTitleBarCenter; private View mVSimpleTitleBarShadow; private RelativeLayout mRellaySimpleTitleBarBackground; private TabLayout mTl; private ViewPager mVp; private String jumpName; private String[] mTitle = {"่ดฆๅทๅฏ†็ ็™ปๅฝ•", "ๆ‰‹ๆœบ้ชŒ่ฏ็ ็™ปๅฝ•"}; private Fragment[] mFragments = {LoginFragment.newInstance(LoginFragment.S_TYPE_ACCOUNT), LoginFragment.newInstance(LoginFragment.S_TYPE_CODE)}; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Bundle bundle=getIntent().getExtras(); if(null!=bundle){ jumpName=bundle.getString(Count.JUMP_NAME); } EventBus.getDefault().register(this); initView(); ActivityStack.addActivity(this); } @Override public int getContentView() { return R.layout.activity_login; } private void initView() { TitleUtils.setTitleBar(this, this.getString(R.string.login_string_login_text)); mTvSimpleTitleBarLeftText = (TextView) findViewById(R.id.tv_simple_title_bar_left_text); mFralaySimpleTitleBarLeft = (FrameLayout) findViewById(R.id.fralay_simple_title_bar_left); mTvSimpleTitleBarRightText = (TextView) findViewById(R.id.tv_simple_title_bar_right_text); mFralaySimpleTitleBarRight = (FrameLayout) findViewById(R.id.fralay_simple_title_bar_right); mTvSimpleTitleBarTitle = (TextView) findViewById(R.id.tv_simple_title_bar_title); mFralaySimpleTitleBarCenter = (FrameLayout) findViewById(R.id.fralay_simple_title_bar_center); mVSimpleTitleBarShadow = (View) findViewById(R.id.v_simple_title_bar_shadow); mRellaySimpleTitleBarBackground = (RelativeLayout) findViewById(R.id.rellay_simple_title_bar_background); mTl = (TabLayout) findViewById(R.id.tl_activity_login); mVp = (ViewPager) findViewById(R.id.vp_activity_login); mVp.setAdapter(new MyAdapter(getSupportFragmentManager())); mTl.addTab(mTl.newTab()); mTl.addTab(mTl.newTab()); mTl.setupWithViewPager(mVp); for (int i = 0; i < mTitle.length; i++) { mTl.getTabAt(i).setText(mTitle[i]); } } /** * ๅพฎไฟก็™ปๅฝ•ๆถˆๆฏ * * @param event ๆถˆๆฏ */ @Subscribe(threadMode = ThreadMode.MAIN) public void getCodeData(MessageEvent event) { mPresenter.wxLogin(event.getMessage(),"weixinmob"); } /** * ็™ปๅฝ•ๆถˆๆฏ * * @param event ๆถˆๆฏ */ @Subscribe(threadMode = ThreadMode.BACKGROUND) public void onLogin(LoginEvent event) { if(event.isLogin()){ EventBus.getDefault().post(new JumpEvent(jumpName)); } } @Override public void onWxLogin(boolean isSuccess, LoginBean data) { if(isSuccess){ YPPreference.newInstance().setUserToken(data.token); YPPreference.newInstance().setLogin(true); if (!TextUtils.isEmpty(data.user.verifiedMobile)) { EventBus.getDefault().post(new JumpEvent(jumpName)); ActivityStack.finishActivities(); }else { startActivityEx(BindingPhoneActivity.class); } EventBus.getDefault().post(new OrderEvent()); } } private class MyAdapter extends FragmentPagerAdapter { public MyAdapter(FragmentManager fm) { super(fm); } @Override public Fragment getItem(int position) { return mFragments[position]; } @Override public int getCount() { return mFragments.length; } } @Override protected void onDestroy() { super.onDestroy(); if(TextUtils.isEmpty(jumpName)) { EventBus.getDefault().post(new JumpEvent(Count.JUMP_MAIN)); } if(!YPPreference.newInstance().getLogin()){ EventBus.getDefault().post(new JumpEvent(Count.JUMP_MAIN)); } EventBus.getDefault().unregister(this); } @Override protected LoginActivityPresenter createPresenter() { return new LoginActivityPresenter(); } }
[ "921550856@qq.com" ]
921550856@qq.com
1836e0da600c1f32d146218fb9c6ae4233d856db
eb5d0cd84525947dd31cefefe44cd409e31068ec
/Team67-master/Code/src/main/java/Viewer/SquareState.java
e613318db6563fadc0ef80970bd8ffbfb7bcafce
[]
no_license
Zuodongjiang/6310_team9_Group_Project
7844045c8c9405de30f79d4bcd7e49e75092fe99
58abdb781fc4eaec944d2324515d9a2e8c7b5f80
refs/heads/master
2023-01-23T01:32:50.469487
2019-07-22T20:28:01
2019-07-22T20:28:01
195,712,570
0
3
null
2023-01-04T04:46:43
2019-07-08T00:56:38
JavaScript
UTF-8
Java
false
false
182
java
package Viewer; public enum SquareState { grass, empty, crater, fence, puppy_mower, puppy_empty, puppy_grass, mower, unknown, out_of_bound }
[ "bigbigfa@gmail.com" ]
bigbigfa@gmail.com
2a699ec2fe460102d8143be451d85c72c3ef7d5a
1f4a2002f74956bb1600f287b4dcb0ef5df60b9a
/app/src/androidTest/java/com/example/readaccelerometer/ExampleInstrumentedTest.java
2bee90c49a2a8763ba5379cc626467120fdb9afb
[]
no_license
daveywilson/ReadAccelerometer
6c25d57507af01e65dc3d9c9c552631c0ca3ec9f
8e5c19a3f22e40c2b44580def43e35d9d207c2a7
refs/heads/master
2020-09-21T04:32:18.724816
2019-12-18T14:04:37
2019-12-18T14:04:37
224,679,205
0
0
null
null
null
null
UTF-8
Java
false
false
774
java
package com.example.readaccelerometer; 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.example.readaccelerometer", appContext.getPackageName()); } }
[ "wilson-d31@ulster.ac.uk" ]
wilson-d31@ulster.ac.uk
296933df1d8e7eaf1df6e82df41435738d3e1c88
29aed6ae49b74a4223b34b070d69c02f8cea7b89
/src/api/SearchRestaurants.java
f1f441639d23e3a082f9063f44189a1337e4d715
[]
no_license
zheqc/Yummys
4fd82837d38540a5d2e63c96fb1c14fa8ac351d0
e76c1052538c119c722905a409a7fe4a1479b2be
refs/heads/master
2021-01-19T04:28:41.739139
2017-04-05T02:18:03
2017-04-05T02:18:03
84,154,235
0
0
null
null
null
null
UTF-8
Java
false
false
2,260
java
package api; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import db.DBConnection; import db.MongoDBConnection; import db.MySQLDBConnection; /** * Servlet implementation class SearchRestaurants */ @WebServlet("/restaurants") public class SearchRestaurants extends HttpServlet { private static final long serialVersionUID = 1L; /** * @see HttpServlet#HttpServlet() */ public SearchRestaurants() { super(); // TODO Auto-generated constructor stub } /** * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) */ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // allow access only if session exists HttpSession session = request.getSession(); if (session.getAttribute("user") == null) { response.setStatus(403); return; } JSONArray array = new JSONArray(); DBConnection connection = new MySQLDBConnection(); // DBConnection connection = new MongoDBConnection(); if (request.getParameterMap().containsKey("lat") && request.getParameterMap().containsKey("lon")) { // term is null or empty by default String term = request.getParameter("term"); // String userId = (String) session.getAttribute("user"); String userId = "1111"; double lat = Double.parseDouble(request.getParameter("lat")); double lon = Double.parseDouble(request.getParameter("lon")); array = connection.searchRestaurants(userId, lat, lon, term); } RpcParser.writeOutput(response, array); } /** * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) */ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub doGet(request, response); } }
[ "chenzq0101@gmail.com" ]
chenzq0101@gmail.com
2c885549b10745843f0a8161e11cf5b1ab8982d5
82e18d6cd00351b8e195178f6dfc45c7ad1defc4
/src/viseven/UserEvents/UserEventContactAssigne.java
b4a93a4276a32f689af683fd9a45dcd543e78868
[]
no_license
Spacecomodo/UITEST_examples
ac3bc47d6b92c989de171a180637cd8e21569f3a
84073a79702f7c7d9fee61dbe63e95742a9c6335
refs/heads/master
2021-05-04T10:29:57.673357
2017-04-13T14:00:14
2017-04-13T14:00:14
46,419,081
0
0
null
null
null
null
UTF-8
Java
false
false
2,642
java
package viseven.UserEvents; import java.util.regex.Pattern; import java.util.concurrent.TimeUnit; import org.junit.*; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; import org.openqa.selenium.*; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.support.ui.Select; import viseven.Helper; import viseven.LoginHelper; public class UserEventContactAssigne { private WebDriver driver; private Helper helper; private boolean acceptNextAlert = true; private StringBuffer verificationErrors = new StringBuffer(); @Before public void setUp() throws Exception { driver = new FirefoxDriver(); helper = new Helper(driver); driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); } @Test public void testUserEventContactAssigne() throws Exception { try { driver.get(LoginHelper.baseUrl + "/Account/Login?ReturnUrl=%2f"); LoginHelper.login(driver); Thread.sleep(2000); driver.findElement(By.id("tileUserEventModule")).click(); Thread.sleep(2000); helper.findByCssAndLinkText("a[href*=\"UserEvent\"]", "autotest").click(); driver.findElement(By.id("assignButton_UserEvent")).click(); Thread.sleep(1000); helper.fillTextFieldByCss("div.vs-dialog-common > #divRelatedListStatic > div.block-grid-search > div.input-control.text > input","AutoName"); Thread.sleep(2000); driver.findElement(By.cssSelector("div.vs-dialog-common > #divRelatedListStatic > div.block-grid-search > a.icon-search")).click(); Thread.sleep(2000); driver.findElement(By.cssSelector("td > label.input-control.checkbox > span.helper")).click(); driver.findElement(By.id("btnOkDialog")).click(); Thread.sleep(1000); driver.findElement(By.linkText("AutoName")).click(); } catch (InterruptedException x) { } } @After public void tearDown() throws Exception { driver.quit(); String verificationErrorString = verificationErrors.toString(); if (!"".equals(verificationErrorString)) { fail(verificationErrorString); } } private boolean isElementPresent(By by) { try { driver.findElement(by); return true; } catch (NoSuchElementException e) { return false; } } private boolean isAlertPresent() { try { driver.switchTo().alert(); return true; } catch (NoAlertPresentException e) { return false; } } private String closeAlertAndGetItsText() { try { Alert alert = driver.switchTo().alert(); String alertText = alert.getText(); if (acceptNextAlert) { alert.accept(); } else { alert.dismiss(); } return alertText; } finally { acceptNextAlert = true; } } }
[ "art@qapint.com" ]
art@qapint.com
4864bd161a52781319f48546dfe68ce0c90f4690
df93092f0dd03dabb97f0ddd078c373507db45a8
/test/org/aerogear/android/impl/helper/DataWithNoIdConfigured.java
6263296a44f1efcb7141169971bb6998e3c94058
[]
no_license
atkaya/aerogear-android
9e4c1e149629e24e0edc0bd219c864ed4b6e1302
f2578aee6662c2adf1e8d9b35a8f70b663679ca4
refs/heads/master
2021-01-15T19:13:17.827576
2012-11-28T19:26:21
2012-11-28T19:26:21
null
0
0
null
null
null
null
UTF-8
Java
false
false
83
java
package org.aerogear.android.impl.helper; public class DataWithNoIdConfigured { }
[ "daniel@passos.me" ]
daniel@passos.me
99f94e89bddf6f3a1941e86d944383273651583a
da6fe3e4733e91d2ceb3f9008a34621a2ff810c8
/src/test/java/com/kaishengit/HQLTestCase.java
eb418d847265d98989741c1fe93d7a5996db5556
[]
no_license
diwt/hibernate
907fe83f3f0a328cc5ad9defd241261aec9e2729
d0868b5020cf893d4c79bb583c5818ad4459515e
refs/heads/master
2021-05-31T20:09:35.312872
2016-07-27T12:00:11
2016-07-27T12:00:11
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,967
java
package com.kaishengit; import com.kaishengit.pojo.User; import com.kaishengit.util.HibernateUtil; import org.hibernate.Query; import org.hibernate.Session; import org.junit.Test; import java.util.List; /** * Created by D on 2016/7/26. */ public class HQLTestCase { @Test public void testFind(){ Session session = HibernateUtil.getSession(); session.beginTransaction(); String hql = "from User"; Query query = session.createQuery(hql); List<User> userList = query.list(); for (User user:userList){ System.out.println(user); } session.getTransaction().commit(); } @Test public void testFindByWhere(){ Session session = HibernateUtil.getSession(); session.beginTransaction(); String hql = "from User as u where u.password = :password and u.username = :name"; Query query = session.createQuery(hql); query.setParameter("password","33333"); query.setParameter("name","ๆŽๅ››"); List<User> userList = query.list(); for (User user:userList){ System.out.println(user); } session.getTransaction().commit(); } @Test public void testFindUnique(){ Session session = HibernateUtil.getSession(); session.beginTransaction(); String hql = "from User where password = :pwd"; Query query = session.createQuery(hql); query.setParameter("pwd","33333"); User user = (User) query.uniqueResult(); System.out.println(user); session.getTransaction().commit(); } @Test public void findByCloumn(){ Session session = HibernateUtil.getSession(); session.beginTransaction(); String hql = "select id,username,password from User"; Query query = session.createQuery(hql); List<Object[]>result = query.list(); for (Object[]objects:result){ System.out.println(objects[0]+"->"+objects[1]); } session.getTransaction().commit(); } @Test public void testCount(){ Session session = HibernateUtil.getSession(); session.beginTransaction(); String hql = "select count(*),max(id) from User"; Query query = session.createQuery(hql); Object[] objects = (Object[]) query.uniqueResult(); System.out.println("count:"+objects[0]); System.out.println("Max:"+objects[1]); session.getTransaction().commit(); } @Test public void testPage(){ Session session = HibernateUtil.getSession(); session.beginTransaction(); String hql = "from User order by id desc"; Query query = session.createQuery(hql); query.setFirstResult(2); query.setMaxResults(3); List<User>userList = query.list(); for (User user:userList){ System.out.println(user); } session.getTransaction().commit(); } }
[ "dingpengliang@aliyun.com" ]
dingpengliang@aliyun.com
92bab868104cf6449dc7267ae2a5f712496dd4f4
f232410223441a39eb4f6e1850a558b2d63f3869
/Bikeshare/src/main/java/controller/BikeShareController.java
214e9d02f78f6db5a2e8464e85dbd10add6b5583
[]
no_license
puneetpopli/BikeShare
6e5e8bc180a56495b6e35b593ec01bad5eb045a7
f9c31c529f3aee85eda13961b99f8aeb0fb41307
refs/heads/master
2021-01-01T03:46:04.582268
2016-05-08T02:44:51
2016-05-08T02:44:51
34,295,855
0
0
null
null
null
null
UTF-8
Java
false
false
21,531
java
package controller; import org.hibernate.validator.constraints.Email; import org.joda.time.DateTime; import org.springframework.boot.*; import org.springframework.boot.autoconfigure.*; import org.springframework.stereotype.*; import org.springframework.web.bind.annotation.*; import org.springframework.context.annotation.ComponentScan; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseStatus; import org.springframework.web.bind.annotation.RestController; import org.springframework.context.annotation.Configuration; import interceptors.SessionValidatorInterceptor; import java.io.UnsupportedEncodingException; import java.text.ParseException; import java.util.Calendar; import java.util.Date; import resources.Bike; import resources.LocationEntity; import resources.LocationInventory; import resources.Login; import resources.User; import resources.Transactions; import util.BikeShareUtil; import util.EmailNotification; import util.SendSMSNotifications; import java.util.*; import javax.validation.Valid; import org.springframework.http.HttpStatus; import javax.annotation.Resource; import javax.servlet.annotation.WebFilter; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletResponse; import org.springframework.boot.context.embedded.FilterRegistrationBean; import org.springframework.web.filter.ShallowEtagHeaderFilter; import org.springframework.context.annotation.Bean; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; import org.springframework.web.servlet.view.json.MappingJacksonJsonView; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.parsing.Location; import DTO.LoginDTO; import DTO.UserDTO; import DTO.BookingDTO; import bikeshareimpl.AuthInterfaceImpl; import bikeshareimpl.BikeOperationsImpl; import bikeshareimpl.LocationEntityOperations; import bikeshareimpl.LocationInvetoryOperations; import bikeshareimpl.LoginDAOImpl; import bikeshareimpl.TransactionsImpl; import bikeshareimpl.UserDAOImpl; import bikeshareimpl.UserOperationsImpl; import bikeshareinterfaces.AuthInterface; import bikeshareinterfaces.BikeOperationsInterface; import bikeshareinterfaces.LocationEntityInterface; import bikeshareinterfaces.LocationInventoryInterface; import bikeshareinterfaces.TransactionsInterface; import bikeshareinterfaces.UserOperationInterface; @Component @EnableAutoConfiguration @RestController @RequestMapping("/api/v1/*") public class BikeShareController extends WebMvcConfigurerAdapter{ UserOperationInterface userOperationInterface = new UserOperationsImpl(); AuthInterface authInterface = new AuthInterfaceImpl(); LocationInventoryInterface LocationInventoryOps = new LocationInvetoryOperations(); public static String globalReservationIndicator = "RESERVED"; public static String globalCancellationIndicator = "CANCELLED"; public static String globalAvailableIndicator = "AVAILABLE"; private static int UserCreationCredit = 5; private static int userReservationCredit = 1; private static int freeRideCredit = 10; @Bean public FilterRegistrationBean shallowEtagHeaderFilter() { ShallowEtagHeaderFilter shallowEtagHeaderFilter = new ShallowEtagHeaderFilter(); FilterRegistrationBean etagBean = new FilterRegistrationBean(); etagBean.setFilter(shallowEtagHeaderFilter); ArrayList<String> urlPatterns = new ArrayList<String>(); urlPatterns.add("/api/v1/users/*"); etagBean.setUrlPatterns(urlPatterns); return etagBean; } @Bean public SessionValidatorInterceptor sessionValidatorInterceptor() { return new SessionValidatorInterceptor(); } @Override public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(sessionValidatorInterceptor()).addPathPatterns( "/api/v1/users/*"); registry.addInterceptor(sessionValidatorInterceptor()).addPathPatterns( "/api/v1/loggedin"); } //check unique username @ResponseStatus(HttpStatus.OK) @RequestMapping(value = "/checkUniqueUsername/{user_name}", method = RequestMethod.GET) @ResponseBody public boolean checkUniqueUsername(@PathVariable String user_name) { return userOperationInterface.checkUniqueUsername(user_name); } //check unique email @ResponseStatus(HttpStatus.OK) @RequestMapping(value = "/checkUniqueEmail/{email:.+}", method = RequestMethod.GET) @ResponseBody public boolean checkUniqueEmail(@PathVariable String email) { return userOperationInterface.checkUniqueEmail(email); } //logged in @ResponseStatus(HttpStatus.OK) @RequestMapping(value = "/loggedin", method = RequestMethod.GET) @ResponseBody public boolean checkLoggedIn(){ return true; } // User Related Operations @ResponseStatus(HttpStatus.CREATED) @RequestMapping(value = "/users", method = RequestMethod.POST) @ResponseBody public UserDTO createUser(@Valid @RequestBody UserDTO user) { user.setPassword(BikeShareUtil.passwordEncrypter(user.getPassword())); user.setCredits_earned(UserCreationCredit); SendSMSNotifications.sendSMSOnSignUp(user.getPhone(), user.getName()); try{ EmailNotification.sendEmailonSignUp(user.getEmail(), user.getUsername()); }catch(UnsupportedEncodingException e) { System.out.println(e.getMessage()); } return userOperationInterface.createUser(user); } @ResponseStatus(HttpStatus.CREATED) @RequestMapping(value = "/users/{user_id}", method = RequestMethod.PUT) @ResponseBody public UserDTO updateUser(@PathVariable String user_id, @Valid @RequestBody UserDTO user) { return userOperationInterface.updateUser(user_id, user); } @ResponseStatus(HttpStatus.OK) @RequestMapping(value = "/users/{user_id}", method = RequestMethod.GET) @ResponseBody public UserDTO getUser(@PathVariable String user_id) { return userOperationInterface.getUser(user_id); } @RequestMapping("/login") @ResponseBody private LoginDTO login(@Valid @RequestBody LoginDTO loginDTO, HttpServletResponse response) { loginDTO = authInterface.login(loginDTO); response.addCookie(new Cookie("sessionid", loginDTO.getSessionId())); response.addCookie(new Cookie("username", loginDTO.getUsername())); response.addCookie(new Cookie("user_id", Integer.toString(loginDTO.getUser_id()))); return loginDTO; } @RequestMapping("/logout") @ResponseBody private boolean logout(HttpServletResponse response) { response.addCookie(new Cookie("sessionid", "")); response.addCookie(new Cookie("username", "")); response.addCookie(new Cookie("user_id", "")); return true; } // Location Inventory Related Function - To be used for Checking Availability, Bike Reservation and Cancellation. @RequestMapping("/availability") @ResponseBody private Bike[] checkAvailability(@RequestBody BookingDTO bookingDTO, HttpServletResponse response) { int location_id = bookingDTO.getLocation_id(); int fromHour= bookingDTO.getFromHour(); int toHour = bookingDTO.getToHour(); Bike [] bikes; bikes = LocationInventoryOps.getAvailableBikes(location_id, fromHour, toHour); if(bikes!=null && bikes.length > 0 && bikes[0]==null){ return null; } return bikes; } @ResponseStatus(HttpStatus.OK) @RequestMapping("/reserve") @ResponseBody private BookingDTO updateInvForReservation(@RequestBody BookingDTO bookingDTO, @CookieValue("user_id") int user_id) { int location_id = bookingDTO.getLocation_id(); int fromHour= bookingDTO.getFromHour(); int toHour = bookingDTO.getToHour(); String bikeID = bookingDTO.getBike_id(); BookingDTO booking = new BookingDTO(); BikeOperationsInterface bikeOps = new BikeOperationsImpl(); Bike bike = new Bike(); bike = bikeOps.getBike(bikeID); Transactions tx = new Transactions(); LocationEntity loc = new LocationEntity(); User user = new User(); TransactionsInterface txOps = new TransactionsImpl(); LocationEntityInterface locOps = new LocationEntityOperations(); UserDAOImpl userOps = new UserDAOImpl(); booking = LocationInventoryOps.updateInvForReservation(location_id, fromHour, toHour, bikeID); if(booking.isReserve_success()) { bikeOps.updateBikeStatusToReserved(bikeID); loc = locOps.getLocation(location_id); user = userOps.getObject(user_id+""); bike.setStatus(globalReservationIndicator); tx.setBooked_bike_id(bikeID); tx.setLocation_id(location_id); tx.setFrom_hour(fromHour); tx.setTo_hour(toHour); tx.setUser_id(user_id); tx.setTransaction_id(BikeShareUtil.generateTransactionID(location_id, fromHour, toHour)); if(bike!=null) { tx.setBikename(bike.getBikename()); tx.setBiketype(bike.getType()); tx.setBikeStatus(bike.getStatus()); tx.setPrice(bike.getPrice()); } if(loc!=null) { tx.setCity(loc.getCity()); tx.setLocation_name(loc.getLocation_name()); tx.setZipcode(loc.getZipcode()); tx.setState(loc.getState()); } if(user!=null) { if(user.getCredits_earned() >= freeRideCredit) { tx.setFreeRide(true); booking.setFreeRide(true); tx.setCredit_used(true); user.setCredits_earned(user.getCredits_earned() - freeRideCredit); } else { tx.setFreeRide(false); booking.setFreeRide(false); tx.setCredit_used(false); user.setCredits_earned(user.getCredits_earned() + userReservationCredit); tx.setCredited_amount(userReservationCredit); } } tx.setLocation_name(loc.getLocation_name()); tx.setZipcode(loc.getZipcode()); tx.setState(loc.getState()); userOps.updateObject(user); txOps.addTransaction(tx); booking.setTransaction_id(tx.getTransaction_id()); booking.setUser_id(user_id); booking.setSuccessMessage(globalReservationIndicator); System.out.println("phone no "+user.getPhone()); SendSMSNotifications.sendSMSOnReservation(user.getPhone(), user.getName(), tx.getLocation_name(), tx.getFrom_hour(), tx.getTo_hour(), tx.getBikename()); try{ EmailNotification.sendEmailonReservation(user.getEmail(), user.getName(), tx.getLocation_name(), fromHour, toHour, tx.getTransaction_id(), tx.getBikename(), ("E" + BikeShareUtil.getRandomInteger())); }catch(UnsupportedEncodingException e) { System.out.println(e.getMessage()); } } return booking; } @ResponseStatus(HttpStatus.OK) @RequestMapping("/cancel") @ResponseBody private BookingDTO updateInvForCancellation(@RequestBody BookingDTO bookingDTO, @CookieValue("user_id") int user_id) { TransactionsInterface txOps = new TransactionsImpl(); Transactions txn = new Transactions(); User user = new User(); txn = txOps.getTransaction(bookingDTO.getTransaction_id()); if(txn.getBooking_status().equalsIgnoreCase(globalReservationIndicator)) { int location_id = txn.getLocation_id(); int fromHour= txn.getFrom_hour(); int toHour = txn.getTo_hour(); String bikeID = txn.getBooked_bike_id(); BookingDTO booking = new BookingDTO(); BikeOperationsInterface bikeOps = new BikeOperationsImpl(); UserDAOImpl userOps = new UserDAOImpl(); booking = LocationInventoryOps.updateInvForCancellation(location_id, fromHour, toHour, bikeID); if(booking.isCancel_success()) { user = userOps.getObject(user_id+""); if(txn.isFreeRide()) { user.setCredits_earned(user.getCredits_earned() + freeRideCredit); txn.setCredited_amount(freeRideCredit); } else { user.setCredits_earned(user.getCredits_earned() - userReservationCredit); txn.setCredited_amount(userReservationCredit); } bikeOps.updateBikeStatusToAvailable(bikeID); txOps.updateTransaction(bookingDTO.getTransaction_id()); userOps.updateObject(user); booking.setTransaction_id(bookingDTO.getTransaction_id()); booking.setUser_id(user_id); booking.setSuccessMessage(globalCancellationIndicator); SendSMSNotifications.sendSMSOnCancellation(user.getPhone(), bookingDTO.getTransaction_id()); try{ EmailNotification.sendEmailonCancellation(user.getEmail(), user.getName(), txn.getLocation_name(), txn.getFrom_hour(), txn.getTo_hour(), txn.getTransaction_id()); }catch(UnsupportedEncodingException e) { System.out.println(e.getMessage()); } } return booking; } else {return null;} } @RequestMapping(value = "/transactions", method = RequestMethod.GET ) @ResponseBody private Transactions [] getTransactions(@CookieValue("user_id") int user_id) { List<Transactions> txList = new ArrayList<Transactions>(); TransactionsInterface txOps = new TransactionsImpl(); DateTime now = DateTime.now(); int hourOfTheDay = now.getHourOfDay(); Transactions [] tx; txList = txOps.getUserTransactions(user_id); int size = txList.size(); tx = new Transactions[size]; for(int i=0; i<size; i++) { if(txList.get(i).getDate_of_booking().getDayOfYear() >= now.getDayOfYear()) { if (txList.get(i).getFrom_hour() > hourOfTheDay) { txList.get(i).setActive_booking(true); } } else { txList.get(i).setActive_booking(false); } tx[i] = txList.get(i); } return tx; } @RequestMapping(value = "/locations", method = RequestMethod.GET ) @ResponseBody private LocationEntity [] getLocations( ) { List<LocationEntity> locationList = new ArrayList<LocationEntity>(); LocationEntityInterface locOps = new LocationEntityOperations(); LocationEntity [] locations; locationList = locOps.getLocations(); int size = locationList.size(); locations = new LocationEntity[size]; for(int i=0; i<size; i++) { locations[i] = locationList.get(i); } return locations; } @RequestMapping("/bikes") @ResponseBody private Bike [] getBikes( ) { List<Bike> bikeList = new ArrayList<Bike>(); BikeOperationsInterface bikeOps = new BikeOperationsImpl(); Bike [] bikess; bikeList = bikeOps.getAllBikes(); int size = bikeList.size(); bikess = new Bike[size]; for(int i=0; i<size; i++) { bikess[i] = bikeList.get(i); } return bikess; } @ResponseStatus(HttpStatus.OK) @RequestMapping(value = "/androidauth", method = RequestMethod.GET) @ResponseBody public boolean androidlogin(@RequestParam String uname, String upass) { String username = uname; String password= upass; boolean success = false; Login login = new Login(); LoginDAOImpl loginOps = new LoginDAOImpl(); login = loginOps.getUserBasedOnUsername(username); if(login==null) { System.out.println("Login came null !"); return false; } else{ System.out.println(login.getUsername()); System.out.println(login.getPassword()); System.out.println(BikeShareUtil.passwordEncrypter(password)); if (login.getPassword().equals(BikeShareUtil.passwordEncrypter(password))) { System.out.println(login.getUsername()); return true; // return success; } else { System.out.println("Password did not match !"); return false; //return success; } } } @ResponseStatus(HttpStatus.OK) @RequestMapping(value = "/android", method = RequestMethod.GET) @ResponseBody public boolean checkAvailability(@RequestParam int location, int from, int to, String uname) { int location_id = location; int fromHour= from; int toHour = to; String username = uname; /*****************************************************************/ Login login = new Login(); User user = new User(); LoginDAOImpl loginOps = new LoginDAOImpl(); UserDAOImpl userOps = new UserDAOImpl(); login = loginOps.getUserBasedOnUsername(username); if(login==null) { System.out.println("Entered in user == null"); user=null; return false; } else { user= userOps.getObject(login.getUser_id()+""); System.out.println("Entered else " +user.getName() ); } /*****************************************************************/ Bike [] bikes; bikes = LocationInventoryOps.getAvailableBikes(location_id, fromHour, toHour); if(bikes!=null && bikes.length > 0 && bikes[0]==null){ return false; } else { if(bikes==null) { return false; } else{ BookingDTO booking = new BookingDTO(); BikeOperationsInterface bikeOps = new BikeOperationsImpl(); Bike bike = new Bike(); bike = bikeOps.getBike(bikes[0].getBike_id()); String bikeID = bikes[0].getBike_id(); Transactions tx = new Transactions(); LocationEntity loc = new LocationEntity(); TransactionsInterface txOps = new TransactionsImpl(); LocationEntityInterface locOps = new LocationEntityOperations(); booking = LocationInventoryOps.updateInvForReservation(location, from, to, bikeID); if(booking.isReserve_success()) { loc = locOps.getLocation(location_id); tx.setBooked_bike_id(bikeID); tx.setLocation_id(location_id); tx.setFrom_hour(fromHour); tx.setTo_hour(toHour); tx.setUsername(user.getName()); tx.setTransaction_id(BikeShareUtil.generateTransactionID(location_id, fromHour, toHour)); if(bike!=null) { tx.setBikename(bike.getBikename()); tx.setBiketype(bike.getType()); tx.setBikeStatus(bike.getStatus()); tx.setPrice(bike.getPrice()); } if(loc!=null) { tx.setCity(loc.getCity()); tx.setLocation_name(loc.getLocation_name()); tx.setZipcode(loc.getZipcode()); tx.setState(loc.getState()); } tx.setLocation_name(loc.getLocation_name()); tx.setZipcode(loc.getZipcode()); tx.setState(loc.getState()); if(user.getCredits_earned() >= freeRideCredit) { tx.setFreeRide(true); booking.setFreeRide(true); tx.setCredit_used(true); user.setCredits_earned(user.getCredits_earned() - freeRideCredit); } else { tx.setFreeRide(false); booking.setFreeRide(false); tx.setCredit_used(false); user.setCredits_earned(user.getCredits_earned() + userReservationCredit); tx.setCredited_amount(userReservationCredit); } userOps.updateObject(user); txOps.addTransaction(tx); SendSMSNotifications.sendSMSOnReservation(user.getPhone(), user.getName(), tx.getLocation_name(), tx.getFrom_hour(), tx.getTo_hour(), tx.getBikename()); try{ EmailNotification.sendEmailonReservation(user.getEmail(), user.getName(), tx.getLocation_name(), fromHour, toHour, tx.getTransaction_id(), tx.getBikename(), ("E" + BikeShareUtil.getRandomInteger())); } catch(UnsupportedEncodingException e) { System.out.println(e.getMessage()); } } } return true; } } } /*General Purpose Function to Load Location DataBaste - Please don't remove @RequestMapping("/loadDatabase") @ResponseBody private void loadTable() { LocationEntity loc = new LocationEntity(); LocationEntityInterface locOps = new LocationEntityOperations(); int location_id = 95112; for(int i=0; i<10;i++) { loc.setLocation_id(location_id); loc.setCity("San Jose"); loc.setZipcode(location_id); loc.setState("California"); loc.setLatitude("Something"); loc.setLongitude("Something"); loc.setLocation_capacity(11); location_id += 3; locOps.addLocation(loc); } } } @RequestMapping("/onebike") @ResponseBody private Bike getBike( ) { List<Bike> bikeList = new ArrayList<Bike>(); BikeOperationsInterface bikeOps = new BikeOperationsImpl(); Bike [] bikess; bikeList = bikeOps.getAllBikes(); int size = bikeList.size(); bikess = new Bike[size]; for(int i=0; i<size; i++) { bikess[i] = bikeList.get(i); } return bikess[0]; } //General Purpose Function to Load Location DataBaste - Please don't remove @RequestMapping("/loadDatabase") @ResponseBody private void loadTable() { LocationInvetoryOperations.loadDatabase(); } /* //General Purpose Function to test Location Inventory - Please don't remove @RequestMapping("/getLocation") @ResponseBody private String[] getLocaiton() { LocationInventoryInterface lop = new LocationInvetoryOperations(); // LocationInventory loc = new LocationInventory(); String [] hour = null; try { hour = lop.getInvForAnHour(900, 5); } catch (ParseException e) { // TODO Auto-generated catch block e.printStackTrace(); } //LocationInvetoryOperations.loadDatabase(); return hour; } //General Purpose Function to Load Bikes - Please don't remove @RequestMapping("/addBikes") @ResponseBody private void addBikes() { Bike bike = new Bike(); BikeOperationsImpl impl = new BikeOperationsImpl(); for(int i= 900; i<=910; i++) { bike.setBike_id(""+i); bike.setBikename("A-One"); bike.setPrice(""+(i*10)); bike.setStatus("Available"); bike.setType("Classic"); impl.addBike(bike); */
[ "puneetpopli.26pp@gmail.com" ]
puneetpopli.26pp@gmail.com
47d344987306ffdbcff7c3fc89bffc08c394e807
f1957f0a4e9ae5e0cf018e6dfbc5611bd693347a
/src/main/java/uk/gov/pay/connector/queue/QueueException.java
d1227349ce1e1367826822e08d8d6e591ec8aaf6
[ "LicenseRef-scancode-proprietary-license", "MIT" ]
permissive
jankowiakmaria/pay-connector
183c8f2674deb22f5a1e10cdadd1015189a143a2
f95cd25cf2c69c58f4168b185cdc67e958fb27db
refs/heads/master
2020-05-25T13:51:43.021733
2019-05-21T12:09:49
2019-05-21T12:09:49
187,830,523
0
0
MIT
2019-05-21T12:14:42
2019-05-21T12:14:42
null
UTF-8
Java
false
false
163
java
package uk.gov.pay.connector.queue; public class QueueException extends Exception { public QueueException(String message) { super(message); } }
[ "krishna.bottla@digital.cabinet-office.gov.uk" ]
krishna.bottla@digital.cabinet-office.gov.uk
592491e5ef47e8029974cd8e5e3a354089d2e828
effed23cb09ea6f83b50e31c85a1813ef79f9cad
/src/main/java/werti/uima/ae/MaltParser.java
ff4b483b550dab5187f58cf42ef54a7b8f95b844
[]
no_license
reynoldsnlp/legacyVIEW
d3bbd38ee425d2c05852a5550c3970c5c0aceaa7
c1c33b931d3a7333c2d2474cbca62be312f4865a
refs/heads/master
2021-04-30T05:12:16.422036
2018-02-13T20:31:49
2018-02-13T20:31:49
121,410,111
0
0
null
null
null
null
UTF-8
Java
false
false
5,370
java
package werti.uima.ae; import java.io.File; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.SortedSet; import org.apache.log4j.Logger; import org.apache.uima.UimaContext; import org.apache.uima.analysis_component.JCasAnnotator_ImplBase; import org.apache.uima.analysis_engine.AnalysisEngineProcessException; import org.apache.uima.cas.text.AnnotationIndex; import org.apache.uima.jcas.JCas; import org.apache.uima.resource.ResourceInitializationException; import org.maltparser.MaltParserService; import org.maltparser.core.exception.MaltChainedException; import org.maltparser.core.options.OptionManager; import org.maltparser.core.symbol.SymbolTable; import org.maltparser.core.syntaxgraph.DependencyStructure; import org.maltparser.core.syntaxgraph.node.DependencyNode; import werti.WERTiContext; import werti.WERTiContext.WERTiContextException; import werti.uima.types.annot.SentenceAnnotation; import werti.uima.types.annot.Token; import werti.util.CasUtils; /** * Portions of this annotator were adapted from cleartk: * * Copyright (c) 2010, Regents of the University of Colorado <br> * All rights reserved. */ public class MaltParser extends JCasAnnotator_ImplBase { private static final Logger log = Logger.getLogger(MaltParser.class); private Map<String, MaltParserService> parsers; @Override public void initialize(UimaContext aContext) throws ResourceInitializationException { super.initialize(aContext); try { parsers = new HashMap<String, MaltParserService>(); // TODO: reenable for passives //parsers.put("en", WERTiContext.request(MaltParserService.class, "en")); final String model = WERTiContext.p.getProperty("maltparser.de"); final File mpfile = new File(WERTiContext.context.getRealPath("/") + WERTiContext.p.getProperty("models.base") + WERTiContext.p.getProperty("maltparserpath")); log.info(String.format("-c %s -m parse -w %s", model, mpfile.getAbsolutePath())); try { OptionManager.instance().loadOptionDescriptionFile(); OptionManager.instance().getOptionDescriptions().generateMaps(); } catch (MaltChainedException mce) { // This exception occurs when the description file has already // been loaded. Unfortunately, there is no way to check in // advance if it has already been loaded. } try { final MaltParserService maltParserService = new MaltParserService(); maltParserService.initializeParserModel(String.format("-c %s -m parse -w %s", model, mpfile.getAbsolutePath())); parsers.put("de", maltParserService); } catch (MaltChainedException mce) { throw new WERTiContextException ("Failed to load MaltParser.", mce); } } catch (WERTiContextException wce) { throw new ResourceInitializationException(wce); } } @SuppressWarnings("unchecked") @Override public void process(JCas jcas) throws AnalysisEngineProcessException { // stop processing if the client has requested it if (!CasUtils.isValid(jcas)) { return; } log.debug("Starting malt parser annotation"); final String lang = jcas.getDocumentLanguage(); MaltParserService parser; if (parsers.containsKey(lang)) { parser = parsers.get(lang); } else { log.error("No MaltParser for language: " + lang); throw new AnalysisEngineProcessException(); } final AnnotationIndex sentIndex = jcas.getAnnotationIndex(SentenceAnnotation.type); final AnnotationIndex tokenIndex = jcas.getAnnotationIndex(Token.type); final Iterator<SentenceAnnotation> sit = sentIndex.iterator(); while (sit.hasNext()) { SentenceAnnotation s = sit.next(); final Iterator<Token> tit = tokenIndex.subiterator(s); List<String> inputStrings = new ArrayList<String>(); List<Token> tokens = new ArrayList<Token>(); // line format is <index>\t<word>\t_\t<pos>\t<pos>\t_ final String lineFormat = "%1$d\t%2$s\t_\t%3$s\t%3$s\t_"; int lineNo = 1; while (tit.hasNext()) { // keep a list of tokens to refer to when inserting // the parse into the CAS Token t = tit.next(); tokens.add(t); String text = t.getCoveredText(); String pos = t.getTag(); inputStrings.add(String.format(lineFormat, lineNo, text, pos)); lineNo += 1; } // skip parsing for sentences without tokens because MaltParser crashes if (tokens.size() == 0) { continue; } try { // parse with MaltParser String[] input = inputStrings.toArray(new String[inputStrings.size()]); DependencyStructure graph = parser.parse(input); SortedSet<Integer> tokenIndices = graph.getTokenIndices(); // add head links between node annotations SymbolTable table = graph.getSymbolTables().getSymbolTable("DEPREL"); for (int i : tokenIndices) { DependencyNode maltNode = graph.getTokenNode(i); int headIndex = maltNode.getHead().getIndex(); Token t = tokens.get(i - 1); t.setMaltdepid(i); t.setMaltdephead(headIndex); if (headIndex != 0) { String label = maltNode.getHeadEdge().getLabelSymbol(table); t.setMaltdeprel(label); } else { t.setMaltdeprel("ROOT"); } } } catch (MaltChainedException e) { throw new AnalysisEngineProcessException(e); } } log.debug("Finished malt parser annotation"); } }
[ "reynoldsnlp@users.noreply.github.com" ]
reynoldsnlp@users.noreply.github.com
ac3bcf7375b86736a35db93754d80c9f974fc503
8d20d7e33764e6d7e23ca05db87c329026cd89dc
/Album/src/main/java/com/talon/camerademo/AlbumDirModel.java
b6131f56ab3c43542a38c356cae7329f274fdc00
[]
no_license
IT-Talon/CameraTest
a585c0201f5a6054d2bc3f9e887dfd9ad36dcfc0
d7ec9e3a94e9af2abd680731846dc8c56cecd62b
refs/heads/master
2021-01-20T04:50:28.782574
2017-08-25T09:33:50
2017-08-25T09:33:50
101,389,168
0
0
null
null
null
null
UTF-8
Java
false
false
950
java
package com.talon.camerademo; import android.net.Uri; import java.io.Serializable; /** * Created by 003 on 2016-12-13. */ public class AlbumDirModel implements Serializable { private static final long serialVersionUID = -648682205559610005L; private String name; private int photoCount; private String firstMediaPath; public String getName() { return name; } public void setName(String name) { this.name = name; } public int getPhotoCount() { return photoCount; } public void setPhotoCount(int photoCount) { this.photoCount = photoCount; } public String getFirstMediaPath() { return firstMediaPath; } public void setFirstMediaPath(String firstMediaPath) { this.firstMediaPath = firstMediaPath; } public Uri getFirstUri() { return ResourceUtil.getFileURI(getFirstMediaPath()); } }
[ "lily@hzcwtech.com" ]
lily@hzcwtech.com
e8719e7643b1733a70a0e5412b1e3d208e9d721f
bbe10639bb9c8f32422122c993530959534560e1
/delivery/app-release_source_from_JADX/com/google/android/gms/tagmanager/zzcw.java
71bfc1c05d918ee0ee19df311d2e345750c14f0f
[ "Apache-2.0" ]
permissive
ANDROFAST/delivery_articulos
dae74482e41b459963186b6e7e3d6553999c5706
ddcc8b06d7ea2895ccda2e13c179c658703fec96
refs/heads/master
2020-04-07T15:13:18.470392
2018-11-21T02:15:19
2018-11-21T02:15:19
158,476,390
0
0
null
null
null
null
UTF-8
Java
false
false
1,301
java
package com.google.android.gms.tagmanager; import com.google.android.gms.tagmanager.zzm.zza; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; class zzcw<K, V> implements zzl<K, V> { private final Map<K, V> zzbfW = new HashMap(); private final int zzbfX; private final zza<K, V> zzbfY; private int zzbfZ; zzcw(int i, zza<K, V> com_google_android_gms_tagmanager_zzm_zza_K__V) { this.zzbfX = i; this.zzbfY = com_google_android_gms_tagmanager_zzm_zza_K__V; } public synchronized V get(K key) { return this.zzbfW.get(key); } public synchronized void zzh(K k, V v) { if (k == null || v == null) { throw new NullPointerException("key == null || value == null"); } this.zzbfZ += this.zzbfY.sizeOf(k, v); if (this.zzbfZ > this.zzbfX) { Iterator it = this.zzbfW.entrySet().iterator(); while (it.hasNext()) { Entry entry = (Entry) it.next(); this.zzbfZ -= this.zzbfY.sizeOf(entry.getKey(), entry.getValue()); it.remove(); if (this.zzbfZ <= this.zzbfX) { break; } } } this.zzbfW.put(k, v); } }
[ "cespedessanchezalex@gmail.com" ]
cespedessanchezalex@gmail.com
2ce0a665a6d1081bb32885c57b09f1b6371c690e
57e4f048fc3edf524a480a540e3270df7ae3b691
/src/itea/day1/InterfaceObj.java
448f78b69e53e822389ef9bebe622ba2089db7d5
[]
no_license
sashamosk86/Instagram_project
6969dc07e5e0dd0f6948b9547b6fd2a94d5519b1
5806b554d6e19c7a96fd71af1088648308f98f18
refs/heads/master
2021-09-04T14:15:23.624071
2018-01-19T10:53:49
2018-01-19T10:53:49
105,702,890
0
0
null
null
null
null
UTF-8
Java
false
false
762
java
package itea.day1; public class InterfaceObj { int a; int b; String s ; public InterfaceObj( int a, int b){ this.a = a; this.b = b; } public InterfaceObj( int a, int b, String s){ this.a = a; this.b = b; this.s = s; } void myMethod(TestInterface i){ i.getSomething(a, b); } String myMethod2(TestInterface2 i){ return i.getSomething(s); } public int getA() { return a; } public void setA(int a) { this.a = a; } public int getB() { return b; } public void setB(int b) { this.b = b; } public String getS() { return s; } public void setS(String s) { this.s = s; } }
[ "sashamosk86@ukr.net" ]
sashamosk86@ukr.net
abf124b02f0dccf92a6f8fd1286cff8694b67628
ab028df1be6c3b3fb309039a92d2862ead823ff5
/array1.java
b4cac93bff7c680ad56fabc5081c548e7dbeef76
[]
no_license
ManikantaMannu36/skillupjava
52ac6217b3c698de574d8087abe68572c397f731
80e331014921af5856e9cbb4a283267e057af8bc
refs/heads/master
2022-12-15T03:55:56.007183
2020-09-22T13:35:59
2020-09-22T13:35:59
291,058,217
1
0
null
null
null
null
UTF-8
Java
false
false
135
java
package pack1; public class array1 { public static void main(String[] args) { // TODO Auto-generated method stub } }
[ "noreply@github.com" ]
ManikantaMannu36.noreply@github.com
71c341101633c28e7bca8bb6a8368d8f21690b3e
10acfd7b80c00cb7506d1cf0f735fa5374f7c7e3
/WeatherView/app/src/main/java/com/example/gminchev/weatherview/dataModel/helper_models/Clouds.java
16f04ef4dcad6e46f251b8f358e45f96f55fc4c9
[ "MIT" ]
permissive
feraholy/softuni-android
d9531e9d2a983e48d362c9b00f6a662ab654b477
7682c837ee13c54b93472921a0fa258f260cc47d
refs/heads/master
2020-09-28T08:38:20.996191
2018-09-26T13:00:45
2018-09-26T13:00:45
null
0
0
null
null
null
null
UTF-8
Java
false
false
114
java
package com.example.gminchev.weatherview.dataModel.helper_models; public class Clouds { public double all; }
[ "georgi.minchev@gmail.com" ]
georgi.minchev@gmail.com
37185d03f2c6b1e74fdcd65a50846ff7bee3b36a
cfe621e8c36e6ac5053a2c4f7129a13ea9f9f66b
/apps_final/names.of.allah/apk/com/google/android/gms/games/internal/GamesClientImpl$QuestUpdateBinderCallback.java
a3d3b9d200cef1ed6dfdaf8a80902c54288a63db
[]
no_license
linux86/AndoirdSecurity
3165de73b37f53070cd6b435e180a2cb58d6f672
1e72a3c1f7a72ea9cd12048d9874a8651e0aede7
refs/heads/master
2021-01-11T01:20:58.986651
2016-04-05T17:14:26
2016-04-05T17:14:26
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,370
java
package com.google.android.gms.games.internal; import com.google.android.gms.common.data.DataHolder; import com.google.android.gms.games.quest.Quest; import com.google.android.gms.games.quest.QuestBuffer; import com.google.android.gms.games.quest.QuestUpdateListener; final class GamesClientImpl$QuestUpdateBinderCallback extends AbstractGamesCallbacks { private final QuestUpdateListener Or; GamesClientImpl$QuestUpdateBinderCallback(GamesClientImpl paramGamesClientImpl, QuestUpdateListener paramQuestUpdateListener) { Or = paramQuestUpdateListener; } private Quest R(DataHolder paramDataHolder) { QuestBuffer localQuestBuffer = new QuestBuffer(paramDataHolder); paramDataHolder = null; try { if (localQuestBuffer.getCount() > 0) { paramDataHolder = (Quest)((Quest)localQuestBuffer.get(0)).freeze(); } return paramDataHolder; } finally { localQuestBuffer.close(); } } public final void M(DataHolder paramDataHolder) { paramDataHolder = R(paramDataHolder); if (paramDataHolder != null) { NB.a(new GamesClientImpl.QuestCompletedCallback(NB, Or, paramDataHolder)); } } } /* Location: * Qualified Name: com.google.android.gms.games.internal.GamesClientImpl.QuestUpdateBinderCallback * Java Class Version: 6 (50.0) * JD-Core Version: 0.7.1 */
[ "i@xuzhao.net" ]
i@xuzhao.net
4163251d10273eb3fbb7a9a30f840efe9aee4d0c
cf504d3593e3817ea723122731ccaaaeb87a43c3
/Etl_Analytics_Mobile_Version_01/Etl_Analytics_Mobile_Version_01/obj/Debug/android/src/md58f9aa584b10c451bab7addd696261f79/StatsColumnsAdapter.java
abed7b4b3290ce2c6852f507adc30980a59d4058
[]
no_license
ViborKovacic/MobileApplication
2ff5288239fa9b238f32010d7ffaa2275a20a887
2ef2d66eab6d1dcbc323c49425bfdb77e744c826
refs/heads/master
2020-06-10T06:37:17.338671
2017-03-03T15:44:12
2017-03-03T15:44:12
76,053,162
0
0
null
null
null
null
UTF-8
Java
false
false
1,978
java
package md58f9aa584b10c451bab7addd696261f79; public class StatsColumnsAdapter extends android.widget.BaseAdapter implements mono.android.IGCUserPeer { /** @hide */ public static final String __md_methods; static { __md_methods = "n_getCount:()I:GetGetCountHandler\n" + "n_getItem:(I)Ljava/lang/Object;:GetGetItem_IHandler\n" + "n_getItemId:(I)J:GetGetItemId_IHandler\n" + "n_getView:(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;:GetGetView_ILandroid_view_View_Landroid_view_ViewGroup_Handler\n" + ""; mono.android.Runtime.register ("Etl_Analytics_Mobile_Version_01.Class.StatsColumnsAdapter, Etl_Analytics_Mobile_Version_01, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", StatsColumnsAdapter.class, __md_methods); } public StatsColumnsAdapter () throws java.lang.Throwable { super (); if (getClass () == StatsColumnsAdapter.class) mono.android.TypeManager.Activate ("Etl_Analytics_Mobile_Version_01.Class.StatsColumnsAdapter, Etl_Analytics_Mobile_Version_01, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "", this, new java.lang.Object[] { }); } public int getCount () { return n_getCount (); } private native int n_getCount (); public java.lang.Object getItem (int p0) { return n_getItem (p0); } private native java.lang.Object n_getItem (int p0); public long getItemId (int p0) { return n_getItemId (p0); } private native long n_getItemId (int p0); public android.view.View getView (int p0, android.view.View p1, android.view.ViewGroup p2) { return n_getView (p0, p1, p2); } private native android.view.View n_getView (int p0, android.view.View p1, android.view.ViewGroup p2); private java.util.ArrayList refList; public void monodroidAddReference (java.lang.Object obj) { if (refList == null) refList = new java.util.ArrayList (); refList.add (obj); } public void monodroidClearReferences () { if (refList != null) refList.clear (); } }
[ "vibor.kovacic@gmail.com" ]
vibor.kovacic@gmail.com
5b71014f55cfa8ac22a98baf9d776d5f5c7b5049
dbc329197fa41809cfbc960e498bc49c3de1bc43
/M3Lib/src/org/m3/m3lib/ast/expr/NotExpression.java
571bebeed036877db49a672fedfd9daf71746a2b
[]
no_license
bert-laverman/modula-3-lib
0789d9c6acf9f36be6801c98312fc46d0491dbb0
bc1570a9dc9448818b03d3ac8e04fa6ae8fb65ec
refs/heads/master
2023-02-23T12:50:04.505636
2021-01-28T11:32:34
2021-01-28T11:32:34
333,746,489
0
0
null
null
null
null
UTF-8
Java
false
false
1,190
java
/** * Copyright (c) 2008 B. Laverman. All rights reserved. This program and the * accompanying materials are made available under the terms of the Eclipse * Public License v1.0 which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: bertl */ // $Id$ package org.m3.m3lib.ast.expr; import org.m3.m3lib.M3Token; import org.m3.m3lib.ast.type.BooleanType; import org.m3.m3lib.ast.type.Type; /** * * @author LavermB * */ public class NotExpression extends MonadicExpression { /** * */ private static final long serialVersionUID = 6791987283147737133L; /** Creates a new instance of NotExpression */ public NotExpression(Expression opnd) { setOper(M3Token.NOT); setOpnd(opnd); } /* * (non-Javadoc) * * @see com.syllogic.m3.ast.expr.Expression#getPrecedence() */ public int getPrecedence() { return 2; } /* (non-Javadoc) * @see com.syllogic.m3.ast.expr.MonadicExpression#getType() */ @Override public Type getType() { return BooleanType.getInstance(); } } /* * $Log$ */
[ "bert.laverman@rakis.nl" ]
bert.laverman@rakis.nl
b32fdf682b16340384c4274aee8a23513b2bac96
461ad83c563e680811dd916d5b588eab44dd696e
/src/main/java/com/ltsllc/miranda/servlet/objects/CreateEventResultObject.java
972d3b4449bb4cc5bade97dbcbfa6471dad79fe3
[ "Apache-2.0" ]
permissive
ClarkHobbie/miranda_old
0cd3df266b016ef419483bd7a50a1e0ceefd7b4b
8af7a7a2b7a6193ef98f880a8b05fc959216169f
refs/heads/master
2022-02-19T17:31:05.753535
2017-06-25T20:25:25
2017-06-25T20:25:25
null
0
0
null
null
null
null
UTF-8
Java
false
false
360
java
package com.ltsllc.miranda.servlet.objects; import com.ltsllc.miranda.servlet.objects.ResultObject; /** * Created by Clark on 6/8/2017. */ public class CreateEventResultObject extends ResultObject { private String guid; public String getGuid() { return guid; } public void setGuid(String guid) { this.guid = guid; } }
[ "clark.hobbie@gmail.com" ]
clark.hobbie@gmail.com
efc50b3507135ddcb7095b796596aea994115ffe
5723a4e8501e7425632f6fe89d66121ceb522979
/app/src/main/java/com/zhianjia/m/zhianjia/UI/Device/DeviceHistoryActivity.java
abd5def5892197008e9750b645d53d905d46ad31
[]
no_license
zhaoyapeng/ZhiAnJia
93fc379fb722fb2b5d467f9e88dedef2c469f04a
073d076d008fddd95eed24c5056b3db22d73827b
refs/heads/master
2021-07-16T11:26:15.911539
2017-10-23T02:23:25
2017-10-23T02:23:25
107,921,504
0
0
null
null
null
null
UTF-8
Java
false
false
6,413
java
package com.zhianjia.m.zhianjia.UI.Device; import android.content.Intent; import android.graphics.Bitmap; import android.os.Bundle; import android.support.annotation.Nullable; import android.util.Log; import android.view.View; import android.webkit.WebResourceError; import android.webkit.WebResourceRequest; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; import com.zhianjia.m.zhianjia.R; import com.zhianjia.m.zhianjia.UI.BaseAppCompatActivity; import com.zhianjia.m.zhianjia.UI.widget.NavigationBar; import com.zhianjia.m.zhianjia.config.Const; import com.zhianjia.m.zhianjia.events.ChangeDeviceEvent; import com.zhianjia.m.zhianjia.events.DeviceRenameEvent; import com.zhianjia.m.zhianjia.haier.data.ZDeviceItemModel; import com.zhianjia.m.zhianjia.haier.util.SharedPreferencesDevice; import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.ThreadMode; public class DeviceHistoryActivity extends BaseAppCompatActivity { // private static final int LIST_REQ_CODE = 1001; private NavigationBar navigationBar; private WebView webView; private ZDeviceItemModel selectDeviceModel; @Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); EventBus.getDefault().register(this); } @Override protected void onDestroy() { super.onDestroy(); EventBus.getDefault().unregister(this); } @Subscribe(threadMode = ThreadMode.MAIN) public void deviceRenameEventHandler(DeviceRenameEvent event) { // Device device = event.device; // navigationBar.setNavigationLoginStyle(device.getName() + " โ–ผ"); } @Subscribe(threadMode = ThreadMode.MAIN) public void changeDeviceEventHandler(ChangeDeviceEvent event) { // Device device = event.device; // navigationBar.setNavigationLoginStyle(device.getName() + " โ–ผ"); // webView.loadUrl(Const.NetWork.BASE_WEB_URL + "device.php?token=" + FileUtils.getDefaultUser().getToken() + "&device_id=" + device.getId()); } @Override protected int getLayoutResource() { return R.layout.activity_device_history; } @Override protected void getComponents() { if(getIntent().getExtras()!=null&&getIntent().getExtras().getSerializable("selectDeviceModel")!=null) selectDeviceModel = (ZDeviceItemModel) getIntent().getExtras().getSerializable("selectDeviceModel"); Log.e("tag","selectDeviceModel="+selectDeviceModel); navigationBar = (NavigationBar) findViewById(R.id.navigationBar); webView = (WebView) findViewById(R.id.webview); } @Override protected void initView() { // if(getIntent()!=null&&getIntent().getStringExtra("name")!=null){ // navigationBar.setNavigationLoginStyle(getIntent().getStringExtra("name")); // } if (selectDeviceModel != null) navigationBar.setNavigationLoginStyle(selectDeviceModel.getDevice_name()); // uSDKDevice device = FileUtils.getDefaultDevice(); // Log.e("tag","device"+device); webView.setWebViewClient(new WebViewClient(){ @Override public void onPageStarted(WebView view, String url, Bitmap favicon) { super.onPageStarted(view, url, favicon); showLoading(""); } @Override public void onPageFinished(WebView view, String url) { super.onPageFinished(view, url); hideLoading(); } @Override public void onReceivedError(WebView view, WebResourceRequest request, WebResourceError error) { super.onReceivedError(view, request, error); hideLoading(); } }); WebSettings mWebSettings = webView.getSettings(); mWebSettings.setJavaScriptEnabled(true); mWebSettings.setSupportZoom(false); mWebSettings.setBuiltInZoomControls(false); mWebSettings.setAppCacheEnabled(false); mWebSettings.setCacheMode(WebSettings.LOAD_NO_CACHE); mWebSettings.setUseWideViewPort(true); mWebSettings.setLoadWithOverviewMode(true); mWebSettings.setJavaScriptCanOpenWindowsAutomatically(true); // webView.loadUrl(Const.NetWork.BASE_WEB_URL + "device.php?token=" + FileUtils.getDefaultUser().getToken() + "&device_id=" + device.getId()); if (selectDeviceModel != null) webView.loadUrl("http://zhianjia.mohetoys.com/device_t.php?token=" + SharedPreferencesDevice.getAzjToken(this) + "&device_id=" + selectDeviceModel.getDevice_id()); // Log.e("tag","url="+Const.NetWork.BASE_WEB_URL + "device.php?token=" + FileUtils.getDefaultUser().getToken() + "&device_id=" + device.getId()); // webView.loadUrl("http://zhianjia.mohetoys.com/device_t.php"); } @Override protected void setListener() { navigationBar.setLeftAreaClickedListener(new View.OnClickListener() { @Override public void onClick(View v) { finish(); } }); navigationBar.setCenterAreaClickedListener(new View.OnClickListener() { @Override public void onClick(View view) { Intent intent = new Intent(Const.Actions.ACTION_ACTIVITY_DEVICE_LIST); intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); intent.putExtra(Const.IntentKeyConst.KEY_FROM_WHERE, Const.Actions.ACTION_ACTIVITY_MAIN); DeviceHistoryActivity.this.startActivity(intent); } }); } // @Override // protected void onActivityResult(int requestCode, int resultCode, Intent data) { // super.onActivityResult(requestCode, resultCode, data); // // if (requestCode == LIST_REQ_CODE) { // if (resultCode == RESULT_OK) { // Device device = (Device) data.getSerializableExtra("P_DEVICE"); // navigationBar.setNavigationLoginStyle(device.getName() + " โ–ผ"); // // FileUtils.saveObject(FileUtils.DEFAULT_DEVICE, device); // // webView.loadUrl(Const.NetWork.BASE_WEB_URL + "device.php?token=" + FileUtils.getDefaultUser().getToken() + "&device_id=" + device.getId()); // } // } // } }
[ "liangjie@witmob" ]
liangjie@witmob
876d4f98d132ef8b975b388cf9d932da438e27a0
647ec12ce50f06e7380fdbfb5b71e9e2d1ac03b4
/com.tencent.mobileqqi/classes.jar/com/tencent/bugly/proguard/v.java
17eb2abe671ef73a0daf47fa48edfd978bf99518
[]
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
15,708
java
package com.tencent.bugly.proguard; import android.content.Context; import android.os.Process; import com.tencent.bugly.crashreport.common.info.b; import com.tencent.bugly.crashreport.common.strategy.StrategyBean; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.UUID; public final class v implements Runnable { private int a = 2; private int b = 30000; private final Context c; private final int d; private final byte[] e; private final com.tencent.bugly.crashreport.common.info.a f; private final com.tencent.bugly.crashreport.common.strategy.a g; private final s h; private final u i; private final int j; private final t k; private final t l; private String m = null; private final String n; private final Map<String, String> o; private int p = 0; private long q = 0L; private long r = 0L; private boolean s = true; private boolean t = false; public v(Context paramContext, int paramInt1, int paramInt2, byte[] paramArrayOfByte, String paramString1, String paramString2, t paramt, boolean paramBoolean1, int paramInt3, int paramInt4, boolean paramBoolean2, Map<String, String> paramMap) { this.c = paramContext; this.f = com.tencent.bugly.crashreport.common.info.a.a(paramContext); this.e = paramArrayOfByte; this.g = com.tencent.bugly.crashreport.common.strategy.a.a(); this.h = s.a(paramContext); this.i = u.a(); this.j = paramInt1; this.m = paramString1; this.n = paramString2; this.k = paramt; this.l = this.i.a; this.s = paramBoolean1; this.d = paramInt2; if (paramInt3 > 0) { this.a = paramInt3; } if (paramInt4 > 0) { this.b = paramInt4; } this.t = paramBoolean2; this.o = paramMap; } public v(Context paramContext, int paramInt1, int paramInt2, byte[] paramArrayOfByte, String paramString1, String paramString2, t paramt, boolean paramBoolean1, boolean paramBoolean2) { this(paramContext, paramInt1, paramInt2, paramArrayOfByte, paramString1, paramString2, paramt, paramBoolean1, 2, 30000, paramBoolean2, null); } private static String a(String paramString) { if (z.a(paramString)) { return paramString; } try { String str = String.format("%s?aid=%s", new Object[] { paramString, UUID.randomUUID().toString() }); return str; } catch (Throwable localThrowable) { x.a(localThrowable); } return paramString; } private void a(an paraman, boolean paramBoolean, int paramInt1, String paramString, int paramInt2) { String str; switch (this.d) { default: str = String.valueOf(this.d); if (paramBoolean) { x.a("[Upload] Success: %s", new Object[] { str }); } break; } for (;;) { if (this.q + this.r > 0L) { long l1 = this.i.a(this.t); long l2 = this.q; long l3 = this.r; this.i.a(l1 + l2 + l3, this.t); } if (this.k != null) { this.k.a(this.d, paraman, this.q, this.r, paramBoolean, paramString); } if (this.l != null) { this.l.a(this.d, paraman, this.q, this.r, paramBoolean, paramString); } return; str = "crash"; break; str = "userinfo"; break; x.e("[Upload] Failed to upload(%d) %s: %s", new Object[] { Integer.valueOf(paramInt1), str, paramString }); if (this.s) { this.i.a(paramInt2, null); } } } private static boolean a(an paraman, com.tencent.bugly.crashreport.common.info.a parama, com.tencent.bugly.crashreport.common.strategy.a parama1) { if (paraman == null) { x.d("resp == null!", new Object[0]); return false; } if (paraman.a != 0) { x.e("resp result error %d", new Object[] { Byte.valueOf(paraman.a) }); return false; } try { if ((!z.a(paraman.d)) && (!com.tencent.bugly.crashreport.common.info.a.b().h().equals(paraman.d))) { p.a().a(com.tencent.bugly.crashreport.common.strategy.a.a, "gateway", paraman.d.getBytes("UTF-8"), null, true); parama.d(paraman.d); } if ((!z.a(paraman.f)) && (!com.tencent.bugly.crashreport.common.info.a.b().i().equals(paraman.f))) { p.a().a(com.tencent.bugly.crashreport.common.strategy.a.a, "device", paraman.f.getBytes("UTF-8"), null, true); parama.e(paraman.f); } } catch (Throwable localThrowable) { for (;;) { x.a(localThrowable); } parama = (ap)a.a(paraman.c, ap.class); if (parama != null) { break label254; } x.e("[Upload] Failed to decode strategy from server. Response cmd: %d", new Object[] { Integer.valueOf(paraman.b) }); return false; label254: parama1.a(parama); } parama.k = paraman.e; if (paraman.b == 510) { if (paraman.c == null) { x.e("[Upload] Strategy data is null. Response cmd: %d", new Object[] { Integer.valueOf(paraman.b) }); return false; } } return true; } public final void a(long paramLong) { this.p += 1; this.q += paramLong; } public final void b(long paramLong) { this.r += paramLong; } public final void run() { try { this.p = 0; this.q = 0L; this.r = 0L; byte[] arrayOfByte = this.e; if (b.f(this.c) == null) { a(null, false, 0, "network is not available", 0); return; } if ((arrayOfByte != null) && (arrayOfByte.length != 0)) { break label82; } a(null, false, 0, "request package is empty!", 0); return; } catch (Throwable localThrowable1) { if (x.a(localThrowable1)) { break label1744; } } localThrowable1.printStackTrace(); return; label82: long l1 = this.i.a(this.t); if (localThrowable1.length + l1 >= 2097152L) { x.e("[Upload] Upload too much data, try next time: %d/%d", new Object[] { Long.valueOf(l1), Long.valueOf(2097152L) }); a(null, false, 0, "over net consume: " + 2048L + "K", 0); return; } x.c("[Upload] Run upload task with cmd: %d", new Object[] { Integer.valueOf(this.d) }); if ((this.c == null) || (this.f == null) || (this.g == null) || (this.h == null)) { a(null, false, 0, "illegal access error", 0); return; } Object localObject2 = this.g.c(); if (localObject2 == null) { a(null, false, 0, "illegal local strategy", 0); return; } int i2 = 0; HashMap localHashMap = new HashMap(); localHashMap.put("prodId", this.f.e()); localHashMap.put("bundleId", this.f.c); localHashMap.put("appVer", this.f.l); if (this.o != null) { localHashMap.putAll(this.o); } Object localObject4 = localThrowable1; if (this.s) { localHashMap.put("cmd", Integer.toString(this.d)); localHashMap.put("platformId", Byte.toString((byte)1)); this.f.getClass(); localHashMap.put("sdkVer", "2.8.1"); localHashMap.put("strategylastUpdateTime", Long.toString(((StrategyBean)localObject2).o)); if (!this.i.a(localHashMap)) { a(null, false, 0, "failed to add security info to HTTP headers", 0); return; } localObject1 = z.a(localThrowable1, 2); if (localObject1 == null) { a(null, false, 0, "failed to zip request body", 0); return; } localObject1 = this.i.a((byte[])localObject1); localObject4 = localObject1; if (localObject1 == null) { a(null, false, 0, "failed to encrypt request body", 0); return; } } this.i.a(this.j, System.currentTimeMillis()); if (this.k != null) { this.k.a(this.d); } if (this.l != null) { this.l.a(this.d); } Object localObject1 = this.m; int i3 = -1; int i1 = 0; Object localObject5; for (;;) { int i4 = i1 + 1; if (i1 >= this.a) { break label1725; } localObject2 = localObject1; if (i4 > 1) { x.d("[Upload] Failed to upload last time, wait and try(%d) again.", new Object[] { Integer.valueOf(i4) }); z.b(this.b); localObject2 = localObject1; if (i4 == this.a) { x.d("[Upload] Use the back-up url at the last time: %s", new Object[] { this.n }); localObject2 = this.n; } } x.c("[Upload] Send %d bytes", new Object[] { Integer.valueOf(localObject4.length) }); if (!this.s) { break label1737; } localObject1 = a((String)localObject2); x.c("[Upload] Upload to %s with cmd %d (pid=%d | tid=%d).", new Object[] { localObject1, Integer.valueOf(this.d), Integer.valueOf(Process.myPid()), Integer.valueOf(Process.myTid()) }); localObject2 = this.h.a((String)localObject1, (byte[])localObject4, this, localHashMap); if (localObject2 == null) { x.e("[Upload] Failed to upload(%d): %s", new Object[] { Integer.valueOf(1), "Failed to upload for no response!" }); i2 = 1; i1 = i4; } else { localObject5 = this.h.a; i2 = i3; if (!this.s) { break label1415; } if ((localObject5 == null) || (((Map)localObject5).size() == 0)) { x.d("[Upload] Headers is empty.", new Object[0]); i1 = 0; } for (;;) { if (i1 == 0) { x.c("[Upload] Headers from server is not valid, just try again (pid=%d | tid=%d).", new Object[] { Integer.valueOf(Process.myPid()), Integer.valueOf(Process.myTid()) }); x.e("[Upload] Failed to upload(%d): %s", new Object[] { Integer.valueOf(1), "[Upload] Failed to upload for no status header." }); if (localObject5 != null) { localObject2 = ((Map)localObject5).entrySet().iterator(); for (;;) { if (((Iterator)localObject2).hasNext()) { localObject5 = (Map.Entry)((Iterator)localObject2).next(); x.c(String.format("[key]: %s, [value]: %s", new Object[] { ((Map.Entry)localObject5).getKey(), ((Map.Entry)localObject5).getValue() }), new Object[0]); continue; if (!((Map)localObject5).containsKey("status")) { x.d("[Upload] Headers does not contain %s", new Object[] { "status" }); i1 = 0; break; } if (!((Map)localObject5).containsKey("Bugly-Version")) { x.d("[Upload] Headers does not contain %s", new Object[] { "Bugly-Version" }); i1 = 0; break; } String str = (String)((Map)localObject5).get("Bugly-Version"); if (!str.contains("bugly")) { x.d("[Upload] Bugly version is not valid: %s", new Object[] { str }); i1 = 0; break; } x.c("[Upload] Bugly version from headers is: %s", new Object[] { str }); i1 = 1; break; } } } x.c("[Upload] Failed to upload for no status header.", new Object[0]); i2 = 1; i1 = i4; break; } } try { i1 = Integer.parseInt((String)((Map)localObject5).get("status")); i3 = i1; x.c("[Upload] Status from server is %d (pid=%d | tid=%d).", new Object[] { Integer.valueOf(i1), Integer.valueOf(Process.myPid()), Integer.valueOf(Process.myTid()) }); i2 = i1; if (i1 == 0) { break label1415; } if (i1 != 2) { break; } if (this.q + this.r > 0L) { l1 = this.i.a(this.t); long l2 = this.q; long l3 = this.r; this.i.a(l1 + l2 + l3, this.t); } this.i.a(i1, null); x.a("[Upload] Session ID is invalid, will try again immediately (pid=%d | tid=%d).", new Object[] { Integer.valueOf(Process.myPid()), Integer.valueOf(Process.myTid()) }); this.i.a(this.j, this.d, this.e, this.m, this.n, this.k, this.a, this.b, true, this.o); return; } catch (Throwable localThrowable2) { x.e("[Upload] Failed to upload(%d): %s", new Object[] { Integer.valueOf(1), "[Upload] Failed to upload for format of status header is invalid: " + Integer.toString(i3) }); i2 = 1; i1 = i4; } } } a(null, false, 1, "status of server is " + i1, i1); return; label1415: x.c("[Upload] Received %d bytes", new Object[] { Integer.valueOf(localThrowable2.length) }); Object localObject3; if (this.s) { if (localThrowable2.length == 0) { localObject1 = ((Map)localObject5).entrySet().iterator(); while (((Iterator)localObject1).hasNext()) { localObject3 = (Map.Entry)((Iterator)localObject1).next(); x.c("[Upload] HTTP headers from server: key = %s, value = %s", new Object[] { ((Map.Entry)localObject3).getKey(), ((Map.Entry)localObject3).getValue() }); } a(null, false, 1, "response data from server is empty", 0); return; } localObject1 = this.i.b((byte[])localObject3); if (localObject1 == null) { a(null, false, 1, "failed to decrypt response from server", 0); return; } localObject3 = z.b((byte[])localObject1, 2); localObject1 = localObject3; if (localObject3 == null) { a(null, false, 1, "failed unzip(Gzip) response from server", 0); return; } } for (;;) { localObject1 = a.a((byte[])localObject1, this.s); if (localObject1 == null) { a(null, false, 1, "failed to decode response package", 0); return; } if (this.s) { this.i.a(i2, (an)localObject1); } i2 = ((an)localObject1).b; if (((an)localObject1).c == null) {} for (i1 = 0;; i1 = ((an)localObject1).c.length) { x.c("[Upload] Response cmd is: %d, length of sBuffer is: %d", new Object[] { Integer.valueOf(i2), Integer.valueOf(i1) }); if (a((an)localObject1, this.f, this.g)) { break; } a((an)localObject1, false, 2, "failed to process response package", 0); return; } a((an)localObject1, true, 2, "successfully uploaded", 0); return; label1725: a(null, false, i2, "failed after many attempts", 0); return; label1737: localObject1 = localObject3; break; label1744: return; localObject1 = localObject3; } } } /* Location: L:\local\mybackup\temp\qq_apk\com.tencent.mobileqqi\classes.jar * Qualified Name: com.tencent.bugly.proguard.v * JD-Core Version: 0.7.0.1 */
[ "98632993+tsuzcx@users.noreply.github.com" ]
98632993+tsuzcx@users.noreply.github.com
05a448bbcb96cb5de5517ddf5b1810a032ffcd2d
fe0286e167817565cc0c515f30a143b5228c0796
/WalletService/src/main/java/com/example/wallet_service/Service/EmailService.java
0a6d630e9ce8d130ae211f97ec6c6e9f4a3f796a
[]
no_license
systemsarchitecture/E-Wallet
b29df5ad1ee228c9f6190cac24b0be0ba76cd015
87109d40d5ed638a7abebc62356f505b85044065
refs/heads/main
2023-06-16T15:02:14.467863
2021-07-14T00:52:11
2021-07-14T00:52:11
null
0
0
null
null
null
null
UTF-8
Java
false
false
4,645
java
//Issue here package com.example.wallet_service.Service; import com.example.wallet_service.Util.EmailUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.mail.*; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeBodyPart; import javax.mail.internet.MimeMessage; import javax.mail.internet.MimeMultipart; import java.io.IOException; import java.util.Date; import java.util.Objects; import java.util.Properties; public class EmailService { private static final Logger logger = LoggerFactory.getLogger(EmailService.class); public static final String FROM_EMAIL = "samanvaysrivastava@gmail.com"; //requires valid gmail id public static final String PASSWORD = "Keepitsimple@2"; // correct password for gmail id public static void sendEmail(String toEmail) { //final String toEmail = "umangd98@gmail.com"; // can be any email id Properties props = getProperties(); Authenticator auth = getAuthenticator(); Session session = Session.getDefaultInstance(props, auth); logger.info("Session created"); EmailUtil.sendEmail(session, toEmail,"Mail from e_wallet", "Transaction"); } public static void sendEmailWithAttachments(String host, String port, final String userName, final String password, String toAddress, String subject, String message, String attachFiles) { if(Objects.isNull(subject)) { subject = getDefaultSubject(); } if(Objects.isNull(message)) { message = getDefaultMessage(); } Properties properties = getProperties(); // creates a new session with an authenticator try { Authenticator auth = getAuthenticator(); Session session = Session.getInstance(properties, auth); // creates a new e-mail message Message msg = new MimeMessage(session); msg.setFrom(new InternetAddress(userName)); InternetAddress[] toAddresses = {new InternetAddress(toAddress)}; msg.setRecipients(Message.RecipientType.TO, toAddresses); msg.setSubject(subject); msg.setSentDate(new Date()); // creates message part MimeBodyPart messageBodyPart = new MimeBodyPart(); messageBodyPart.setContent(message, "text/html"); // creates multi-part Multipart multipart = new MimeMultipart(); multipart.addBodyPart(messageBodyPart); // adds attachments String filePath = attachFiles; MimeBodyPart attachPart = new MimeBodyPart(); try { attachPart.attachFile(filePath); } catch (IOException ex) { ex.printStackTrace(); } multipart.addBodyPart(attachPart); // sets the multi-part as e-mail's content msg.setContent(multipart); // sends the e-mail Transport transport = session.getTransport("smtp"); transport.connect("smtp.gmail.com", FROM_EMAIL, PASSWORD); transport.sendMessage(msg, msg.getAllRecipients()); transport.close(); } catch (Exception e) { logger.info("Email not sent successfully"+e); } } private static Properties getProperties() { Properties properties = new Properties(); properties.put("mail.smtp.host", "smtp.gmail.com"); properties.put("mail.smtp.socketFactory.port", "465"); properties.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory"); properties.put("mail.smtp.auth", "true"); properties.put("mail.smtp.port", "465"); properties.put("mail.smtp.ssl.trust", "smtp.gmail.com"); return properties; } private static Authenticator getAuthenticator() { Authenticator auth = new Authenticator() { //override the getPasswordAuthentication method protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(FROM_EMAIL, PASSWORD); } }; return auth; } private static String getDefaultSubject() { String subject = "Mail from e_wallet"; return subject; } private static String getDefaultMessage() { String message = "Please find the attached file of your transaction history!!"; return message; } }
[ "noreply@github.com" ]
systemsarchitecture.noreply@github.com
b216fa7c7c15317f0b922459275450adcafe4763
9486471b44414f0f59675a5b61f285a56fe5b7b6
/src/ajax/reg/getStdScoreInfo.java
55be84e6531ceebb4c7a883b0ec15222fae4f9c2
[]
no_license
CUSTEAM/eis
ba80a0b0f797848c6609bce081bf9da81058f707
f0cd5c366f15d3502842f390c5f53ae5da6d3250
refs/heads/master
2021-05-24T02:38:31.530221
2021-01-05T04:41:49
2021-01-05T04:41:49
38,603,949
0
0
null
null
null
null
UTF-8
Java
false
false
1,534
java
package ajax.reg; import java.util.List; import java.util.Map; import action.BaseAction; /** * ๆœฌๅญธๆœŸๆˆ็ธพ * @author John */ public class getStdScoreInfo extends BaseAction{ public String info=""; public String getInfo() { return info; } public void setInfo(String info) { this.info = info; } public String execute() { List<Map>avg=df.sqlGet("SELECT s.school_year, s.school_term, ROUND(s.score,1)as score, s.rank FROM Stavg s " + "WHERE s.student_no='"+request.getParameter("student_no")+"'ORDER BY s.school_year DESC, s.school_term"); List<Map>score; for(int i=0; i<avg.size(); i++){ avg.get(i).put("scores", df.sqlGet("SELECT c.chi_name, s.score FROM ScoreHist s, stmd st, Csno c WHERE " + "s.student_no=st.student_no AND c.cscode=s.cscode AND " + "st.student_no='"+request.getParameter("student_no")+"' AND s.school_year='"+ avg.get(i).get("school_year")+"' AND s.school_term='"+avg.get(i).get("school_term")+"'")); } StringBuilder sb=new StringBuilder(); for(int i=0; i<avg.size(); i++){ score=(List)avg.get(i).get("scores"); sb.append(avg.get(i).get("school_year")+"ๅญธๅนด็ฌฌ"); sb.append(avg.get(i).get("school_term")+"ๅญธๆœŸ, "); sb.append("ๅนณๅ‡"+avg.get(i).get("score")+"ๅˆ†, ๅ…จ็ญๆŽ’ๅ"); sb.append(avg.get(i).get("rank")+"<br>"); for(int j=0; j<score.size(); j++){ sb.append(score.get(j).get("chi_name")+"\t"+score.get(j).get("score")+"<br>"); } sb.append("<br>"); } setInfo(sb.toString()); return SUCCESS; } }
[ "lol.hsiao@gmail.com" ]
lol.hsiao@gmail.com
3146a9919c5aa02e8b777b45aed4cb44f6e12be6
c276461e1f12f45bd87d444f218ae3ca31dcc9cb
/Depreciation.java
e6eb594b08cd1fdbf0bf0aec64f71f94f0f92636
[]
no_license
yararagab/redesigned-guide
4277eed10472e2cca709d5116a275b99087876cb
4516ec59b45045931518a82c33a3c79c5297076f
refs/heads/master
2021-01-21T20:17:31.596247
2017-05-23T20:37:12
2017-05-23T20:37:12
92,217,589
0
0
null
null
null
null
UTF-8
Java
false
false
1,648
java
package depreciation; import java.util.Scanner; public class Depreciation { public static void main(String[] args) { System.out.println("Enter the number of units the machine produce every year:"); Scanner c = new Scanner(System.in); int units_per_year = c.nextInt(); System.out.println("Enter the rate of depreciation of the machine per unit"); // Entered number must be between 0 and 1 as its a rate else the program will give an error message Scanner b = new Scanner(System.in); double rate_per_unit = b.nextDouble(); if (rate_per_unit <0 || rate_per_unit >1) System.out.println("Error"); System.out.println("Enter the number of years this machine will work efficiently"); Scanner a = new Scanner(System.in); int yearsWorking = a.nextInt(); int currentYear=0; int remainingUnitsAfterDepreciation=units_per_year; int depreciationThisYear; while(currentYear < yearsWorking){ if( currentYear <= yearsWorking && remainingUnitsAfterDepreciation<=1){ System.out.println("The machine stopped working earlier than its supposed time"); break; } currentYear++; depreciationThisYear= (int) (remainingUnitsAfterDepreciation*rate_per_unit); remainingUnitsAfterDepreciation = remainingUnitsAfterDepreciation - depreciationThisYear ; System.out.println("Year " +currentYear+ ": the depreciation is " +depreciationThisYear+ " units & number of units produced is " +remainingUnitsAfterDepreciation); } } }
[ "noreply@github.com" ]
yararagab.noreply@github.com
5dc1b0ba8c2f5b870df6cbf7958d9bae935b10c4
60984f772caac07fc3bce2ce6f2d70fc73eeb9f1
/src/main/java/com/apap/tutorial7/controller/PilotController.java
abc4e14b7f3a3477400d2b90733425e68b2a806e
[]
no_license
Apap-2018/tutorial7_1606833362
ec3b2f76acc709431a67df51bc516cebc9724e8a
8f814b156081b9cc1b838cd6fabb40cb0bedbf7d
refs/heads/master
2020-04-03T19:34:02.114161
2018-11-01T05:14:18
2018-11-01T05:14:18
155,527,309
0
0
null
null
null
null
UTF-8
Java
false
false
4,825
java
package com.apap.tutorial7.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PutMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.client.RestTemplate; import com.apap.tutorial7.model.PilotModel; import com.apap.tutorial7.rest.PilotDetail; import com.apap.tutorial7.rest.Setting; import com.apap.tutorial7.service.PilotService; /** * PilotController */ @RestController @RequestMapping("/pilot") public class PilotController { @Autowired private PilotService pilotService; @PostMapping(value = "/add") public PilotModel addPilotSubmit(@RequestBody PilotModel pilot) { return pilotService.addPilot(pilot); } @GetMapping(value = "/view/{licenseNumber}") public PilotModel pilotView(@PathVariable("licenseNumber") String licenseNumber) { PilotModel pilot = pilotService.getPilotDetailByLicenseNumber(licenseNumber).get(); return pilot; } @DeleteMapping(value = "/delete") public String deletePilot(@RequestParam("pilotId") long pilotId) { PilotModel pilot = pilotService.getPilotDetailById(pilotId).get(); pilotService.deletePilot(pilot); return "success"; } @PutMapping(value = "/update/{pilotId}") public String updatePilotSubmit(@PathVariable("pilotId") long pilotId, @RequestParam("name") String name, @RequestParam("flyHour") int flyHour) { PilotModel pilot = pilotService.getPilotDetailById(pilotId).get(); if(pilot.equals(null)) { return "Couldn't find your pilot"; } pilot.setName(name); pilot.setFlyHour(flyHour); pilotService.updatePilot(pilotId, pilot); return "update"; } @Autowired RestTemplate restTemplate; @Bean public RestTemplate rest() { return new RestTemplate(); } @GetMapping(value="/status/{licenseNumber}") public String getStatus(@PathVariable("licenseNumber") String licenseNumber) throws Exception { String path = Setting.pilotURl + "/pilot?licenseNumber=" + licenseNumber; return restTemplate.getForEntity(path, String.class).getBody(); } @GetMapping(value="/full/{licenseNumber}") public PilotDetail postStatus(@PathVariable("licenseNumber") String licenseNumber) throws Exception { String path = Setting.pilotURl + "/pilot"; PilotModel pilot = pilotService.getPilotDetailByLicenseNumber(licenseNumber).get(); PilotDetail detail = restTemplate.postForObject(path, pilot, PilotDetail.class); return detail; } } /** ini codingan lab 6 punya billa @Controller public class PilotController { @Autowired private PilotService pilotService; @RequestMapping("/") private String home() { return "home"; } @RequestMapping(value = "/pilot/add", method = RequestMethod.GET) private String add(Model model) { model.addAttribute("pilot", new PilotModel()); return "add-pilot"; } @RequestMapping(value = "/pilot/add", method = RequestMethod.POST) private String addPilotSubmit(@ModelAttribute PilotModel pilot) { pilotService.addPilot(pilot); return "add"; } @RequestMapping(value = "/pilot/view", method = RequestMethod.GET) private String view(@RequestParam(value = "licenseNumber") String licenseNumber, Model model) { Optional<PilotModel> archivePilot = pilotService.getPilotDetailByLicenseNumber(licenseNumber); model.addAttribute("pilot", archivePilot.get()); return "view-pilot"; } @RequestMapping(value = "/pilot/delete", method = RequestMethod.GET) private String delete(@RequestParam(value = "licenseNumber") String licenseNumber, Model model) { pilotService.deletePilotByLicenseNumber(licenseNumber); return "delete"; } @RequestMapping(value = "/pilot/update", method = RequestMethod.GET) private String update(@RequestParam(value = "licenseNumber") String licenseNumber, Model model) { Optional<PilotModel> archive = pilotService.getPilotDetailByLicenseNumber(licenseNumber); model.addAttribute("pilot", archive.get()); return "update-pilot"; } @RequestMapping(value = "/pilot/update", method = RequestMethod.POST) private @ResponseBody PilotModel updatePilotSubmit(@ModelAttribute PilotModel pilot, Model model) { pilotService.addPilot(pilot); return pilot; } } */
[ "nabilla.hari@gmail.com" ]
nabilla.hari@gmail.com
06bf36e859e8e506f005741ac10da4e890a6f081
559ea64c50ae629202d0a9a55e9a3d87e9ef2072
/org/vudroid/core/PDFPreferences.java
61754fa78ff8a8dc21a34317d25a81371551b9d6
[]
no_license
CrazyWolf2014/VehicleBus
07872bf3ab60756e956c75a2b9d8f71cd84e2bc9
450150fc3f4c7d5d7230e8012786e426f3ff1149
refs/heads/master
2021-01-03T07:59:26.796624
2016-06-10T22:04:02
2016-06-10T22:04:02
null
0
0
null
null
null
null
UTF-8
Java
false
false
2,381
java
package org.vudroid.core; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.net.Uri; import com.ifoer.mine.Contact; import com.tencent.mm.sdk.platformtools.SpecilApiUtil; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.TreeMap; import org.xmlpull.v1.XmlPullParser; public class PDFPreferences { private static final String FONT_LIB_PATH = "fontlibpath"; private static final String FULL_SCREEN = "FullScreen"; private SharedPreferences sharedPreferences; public PDFPreferences(Context context) { this.sharedPreferences = context.getSharedPreferences("ViewerPreferences", 0); } public void setFullScreen(boolean fullscreen) { Editor editor = this.sharedPreferences.edit(); editor.putBoolean(FULL_SCREEN, fullscreen); editor.commit(); } public boolean isFullScreen() { return this.sharedPreferences.getBoolean(FULL_SCREEN, false); } public void setFontPath(String fontPath) { Editor editor = this.sharedPreferences.edit(); editor.putString(FONT_LIB_PATH, fontPath); editor.commit(); } public String getFontPath() { return this.sharedPreferences.getString(FONT_LIB_PATH, XmlPullParser.NO_NAMESPACE); } public void addRecent(Uri uri) { Editor editor = this.sharedPreferences.edit(); editor.putString("recent:" + uri.toString(), uri.toString() + SpecilApiUtil.LINE_SEP + System.currentTimeMillis()); editor.commit(); } public List<Uri> getRecent() { TreeMap<Long, Uri> treeMap = new TreeMap(); for (String key : this.sharedPreferences.getAll().keySet()) { if (key.startsWith("recent")) { String str; String[] uriThenDate = this.sharedPreferences.getString(key, null).split(SpecilApiUtil.LINE_SEP); if (uriThenDate.length > 1) { str = uriThenDate[1]; } else { str = Contact.RELATION_ASK; } treeMap.put(Long.valueOf(Long.parseLong(str)), Uri.parse(uriThenDate[0])); } } ArrayList<Uri> list = new ArrayList(treeMap.values()); Collections.reverse(list); return list; } }
[ "ahhmedd16@hotmail.com" ]
ahhmedd16@hotmail.com
30c78f76b0569a1a41b5bd61da4ab84dc4267994
03a655c92eb38be1db14612458033c28c20ddaea
/app/src/main/java/io/github/emrys919/movies/network/responses/SearchResponse.java
515a6b6fe4385f91096573f4f5e47638f8263f23
[]
no_license
myolwin00/Movies-android
7efb7d883e6bca96a126303cf65d637f9396fdf4
df1bf91a4e8d60bd4cd217a1c4f5af39d8810799
refs/heads/master
2020-03-08T02:37:03.618319
2018-04-03T09:00:07
2018-04-03T09:00:07
127,865,340
1
0
null
null
null
null
UTF-8
Java
false
false
1,089
java
package io.github.emrys919.movies.network.responses; import java.util.List; import com.google.gson.annotations.SerializedName; import io.github.emrys919.movies.data.vos.MovieVO; public class SearchResponse { @SerializedName("page") private Long page; @SerializedName("results") private List<MovieVO> results; @SerializedName("total_pages") private Long totalPages; @SerializedName("total_results") private Long totalResults; public Long getPage() { return page; } public void setPage(Long page) { this.page = page; } public List<MovieVO> getResults() { return results; } public void setResults(List<MovieVO> results) { this.results = results; } public Long getTotalPages() { return totalPages; } public void setTotalPages(Long totalPages) { this.totalPages = totalPages; } public Long getTotalResults() { return totalResults; } public void setTotalResults(Long totalResults) { this.totalResults = totalResults; } }
[ "emryspotter1234@gmail.com" ]
emryspotter1234@gmail.com
40fdc5a9aa8fd48cf1d15a3bcf77743a812b3014
74738bef21f0d415a31b0be93cb466609fa12307
/src/main/java/com/voidshell/pojo/ant/AntPermissions.java
f6e82688082fbb313e9f2fa020f1cc3c507010af
[]
no_license
voidWater/spirit
7bead34947bbdd5a0b5018457f08a1b9f74c67bd
aad831128b2c222481a833b35b634037f7e439bb
refs/heads/master
2022-09-27T20:45:38.127079
2020-04-28T08:26:09
2020-04-28T08:26:09
233,006,315
0
0
null
2022-09-01T23:20:15
2020-01-10T08:55:40
TSQL
UTF-8
Java
false
false
832
java
package com.voidshell.pojo.ant; import lombok.Data; @Data public class AntPermissions { // roleId: "admin" // permissionId: "dashboard" // permissionName: "ไปช่กจ็›˜" // actions: "[{"action":"add","defaultCheck":false,"describe":"ๆ–ฐๅขž"},{"action":"query","defaultCheck":false,"describe":"ๆŸฅ่ฏข"},{"action":"get","defaultCheck":false,"describe":"่ฏฆๆƒ…"},{"action":"update","defaultCheck":false,"describe":"ไฟฎๆ”น"},{"action":"delete","defaultCheck":false,"describe":"ๅˆ ้™ค"}]" // actionEntitySet: (5) [{โ€ฆ}, {โ€ฆ}, {โ€ฆ}, {โ€ฆ}, {โ€ฆ}] // actionList: null // dataAccess: null private String roleId; private String permissionId; private String permissionName; private String actions; private String[] actionEntitySet; private String[] actionList; private String dataAccess; }
[ "903458283@qq.com" ]
903458283@qq.com
18da0d324bc0a8cb71cbd0fd31cee12d5f0bee56
30b8c310dad3df5a2a9f5046173994b7809dc8b1
/pocket-api/src/main/java/com/github/kaooot/nukkit/plugin/essentials/api/Economy.java
3a9f77c7663c45ccce0ac6851fbc08a8ab22b9a6
[ "BSD-3-Clause" ]
permissive
Tominous/PocketEssentials
eae143bb151fcde195d13398bcfa436b87e11914
4d9478bd342aac554afb4a768c2bd6b4b95b4092
refs/heads/master
2020-05-19T06:43:50.615623
2019-03-28T17:37:01
2019-03-28T17:37:01
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,171
java
package com.github.kaooot.nukkit.plugin.essentials.api; import cn.nukkit.Player; public interface Economy extends APIElement { /** * Get the current money from a player who has already an own user data file * @param player who is the owner of the file * @return a fresh double value */ Double currentMoney( Player player ); /** * Change the value of money from the given player * @param player who is needed to change the value * @param balance which should be changed */ void setMoney( Player player, double balance ); /** * Adds the value of money to the given player * @param player who is needed to change the value * @param value which should be added */ void giveMoney( Player player, double value ); /** * Takes the value of money from the given player * @param player who is needed to change the value * @param value which should be taken */ void takeMoney( Player player, double value ); /** * Resets the money of the given player * @param player who is needed to reset the money */ void resetBalance( Player player ); }
[ "jonapapenfuss@gmail.com" ]
jonapapenfuss@gmail.com
ef18736ed58a36f675a6c28f6296d20688e0db9c
e25629b742fd878011b126068ab055d7e6bca8c4
/LifeSim/src/com/maciejsurowiec/lifesim/plants/PineBorscht.java
a25fa5aa03c604c05a87ea1dac70cbe3065c1ead
[ "MIT" ]
permissive
MaciejSurowiec/Life_Sim_java
5bdd8be610d60654ea41e04d15fc46ad9c2d981b
c7c776fdc43d102bdee52ac77af3105bc0daddac
refs/heads/master
2023-05-28T10:53:58.332927
2023-05-18T11:23:21
2023-05-18T11:23:21
278,107,318
0
0
null
null
null
null
UTF-8
Java
false
false
2,652
java
package com.maciejsurowiec.lifesim.plants; import com.maciejsurowiec.lifesim.Organism; import com.maciejsurowiec.lifesim.Plant; import com.maciejsurowiec.lifesim.Vector; import com.maciejsurowiec.lifesim.World; import com.maciejsurowiec.lifesim.animals.CyberSheep; import java.awt.Color; public class PineBorscht extends Plant { public static final String NAME = "a Pine Borscht"; public static final Color AVATAR = new Color(16, 73, 40); public static final int ID = 12; public PineBorscht(Vector vec, World world) { this.world = world; position = vec; initiative = 0; strength = 10; toYoung = true; this.world.setMapElement(position, this); this.world.pushToWorld(this); } public void action() { if (toYoung) toYoung = false; else if (randomGenerator.nextInt(PERCENTAGE) < POLLINATION) { pollination(randomGenerator.nextInt(Vector.DIRECTIONS)); } killEverythingAround(); } public String speak() { return NAME; } public Color getAvatar() { return AVATAR; } public int getId() { return ID; } private void killEverythingAround() { for (int i = 0; i < Vector.DIRECTIONS; i++) { if (world.checkPosition(Vector.add(position, Vector.direction(i)))) { if (!world.freePosition(Vector.add(position, Vector.direction(i)))) { Organism temp = world.getMapElement(Vector.add(position,Vector.direction(i))); if (!(temp instanceof CyberSheep)) { if (temp.getInitiative() > 0) { world.setMapElement(Vector.add(position, Vector.direction(i)), null); world.checkHuman(temp); world.commentator.killingFromDistance(this, temp); temp.remove(); } } } } } } public int collision(Organism temp) { if (temp instanceof CyberSheep) { world.commentator.attack(temp,this); world.commentator.killing(temp,this); world.setMapElement(position, null); remove(); return VICTORY; } else { world.commentator.attack(temp, this); world.commentator.killing(temp, this); world.setMapElement(position, null); world.checkHuman(temp); remove(); return DEATH; } } public void makeChild(Vector pos) { PineBorscht pineBorscht = new PineBorscht(pos, world); } }
[ "62145550+MaciejSurowiec@users.noreply.github.com" ]
62145550+MaciejSurowiec@users.noreply.github.com
3139017da8e712211ef40fe0267f18fb6f5e554f
8af8c850f1f8735d109573f2c41e4cd048653895
/src/main/java/com/bank/controller/AccountDetails.java
5b6c876ce3d1045f409c19dddb10d88645540fde
[]
no_license
ramthapalani/bank
0f1ccc045e5923b7c31de99a41c309569c0d2486
85ada985ddb227ee48d1c976a7a1e2bae62c2c21
refs/heads/master
2020-06-22T23:31:05.030545
2019-07-23T13:00:29
2019-07-23T13:00:29
198,431,058
0
0
null
null
null
null
UTF-8
Java
false
false
63
java
package com.bank.controller; public class AccountDetails { }
[ "arshadmohd666@gmail.com" ]
arshadmohd666@gmail.com
47b6ad6e6df715fc6d2b0bd9ca4f2c3dc543b714
78322b8556677178b629460e9a870241892964eb
/li.strolch.utils/src/main/java/li/strolch/utils/helper/ProcessHelper.java
a157b100ce4a844ce771d4a235e67dbac291ff76
[ "Apache-2.0" ]
permissive
taitruong/strolch
28ac6fa66cc9e55cf5e5bcd9b3ff7f6e2cca3f1c
7134e603968def9e0f513d82a44a924ac2a47d2d
refs/heads/master
2020-11-24T07:38:28.885317
2017-08-28T08:38:15
2017-08-28T08:38:15
null
0
0
null
null
null
null
UTF-8
Java
false
false
6,337
java
/* * Copyright 2013 Robert von Burg <eitch@eitchnet.ch> * * 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 li.strolch.utils.helper; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.text.MessageFormat; import java.util.Arrays; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Robert von Burg <eitch@eitchnet.ch> */ public class ProcessHelper { private static final Logger logger = LoggerFactory.getLogger(ProcessHelper.class); public static ProcessResult runCommand(String... commandAndArgs) { return runCommand(null, commandAndArgs); } public static ProcessResult runCommand(File workingDirectory, String... commandAndArgs) { return runCommand(30, TimeUnit.SECONDS, workingDirectory, commandAndArgs); } public static ProcessResult runCommand(long timeout, TimeUnit unit, String... commandAndArgs) { return runCommand(timeout, unit, null, commandAndArgs); } public static ProcessResult runCommand(long timeout, TimeUnit unit, File workingDirectory, String... commandAndArgs) { if (workingDirectory != null && !workingDirectory.isDirectory()) { String msg = "Working directory does not exist or is not a directory at {0}"; //$NON-NLS-1$ msg = MessageFormat.format(msg, workingDirectory.getAbsolutePath()); throw new RuntimeException(msg); } if (commandAndArgs == null || commandAndArgs.length == 0) throw new RuntimeException("No command passed!"); //$NON-NLS-1$ final StringBuffer sb = new StringBuffer(); sb.append("=====================================\n"); //$NON-NLS-1$ try { ProcessBuilder pb = new ProcessBuilder(commandAndArgs); pb.environment(); pb.directory(workingDirectory); long start = System.nanoTime(); logger.info(MessageFormat.format("Starting command (Timeout {0} {1}) {2}", timeout, unit.name(), Arrays.stream(commandAndArgs).collect(Collectors.joining(" ")))); final Process process = pb.start(); int[] returnValue = new int[1]; try (BufferedReader errorStream = new BufferedReader(new InputStreamReader(process.getErrorStream())); BufferedReader inputStream = new BufferedReader(new InputStreamReader(process.getInputStream()));) { Thread errorIn = new Thread(() -> readStream(sb, "[ERROR] ", errorStream), "errorIn"); errorIn.start(); Thread infoIn = new Thread(() -> readStream(sb, "[INFO] ", inputStream), "infoIn"); infoIn.start(); boolean ok = process.waitFor(timeout, unit); if (!ok) logger.error("Command failed to end before timeout or failed to execute."); if (!process.isAlive()) { returnValue[0] = process.exitValue(); } else { logger.error("Forcibly destroying as still running..."); process.destroyForcibly(); process.waitFor(5, TimeUnit.SECONDS); returnValue[0] = -1; } errorIn.join(100l); infoIn.join(100l); sb.append("=====================================\n"); //$NON-NLS-1$ } logger.info("Command ended after " + StringHelper.formatNanoDuration(System.nanoTime() - start)); return new ProcessResult(returnValue[0], sb.toString(), null); } catch (IOException e) { throw new RuntimeException("Failed to perform command: " + e.getLocalizedMessage(), e); //$NON-NLS-1$ } catch (InterruptedException e) { logger.error("Interrupted!"); //$NON-NLS-1$ sb.append("[FATAL] Interrupted"); //$NON-NLS-1$ return new ProcessResult(-1, sb.toString(), e); } } public static class ProcessResult { public final int returnValue; public final String processOutput; public final Throwable throwable; public ProcessResult(int returnValue, String processOutput, Throwable t) { this.returnValue = returnValue; this.processOutput = processOutput; this.throwable = t; } } static void readStream(StringBuffer sb, String prefix, BufferedReader bufferedReader) { String line; try { while ((line = bufferedReader.readLine()) != null) { sb.append(prefix + line + StringHelper.NEW_LINE); } } catch (IOException e) { String msg = "Faild to read from {0} stream: {1}"; //$NON-NLS-1$ msg = MessageFormat.format(msg, prefix, e.getMessage()); sb.append("[FATAL] "); //$NON-NLS-1$ sb.append(msg); sb.append(StringHelper.NEW_LINE); } } public static void openFile(File pdfPath) { ProcessResult processResult; if (SystemHelper.isLinux()) { processResult = runCommand("xdg-open " + pdfPath.getAbsolutePath()); //$NON-NLS-1$ } else if (SystemHelper.isMacOS()) { processResult = runCommand("open " + pdfPath.getAbsolutePath()); //$NON-NLS-1$ } else if (SystemHelper.isWindows()) { // remove the first char (/) from the report path (/D:/temp.....) String pdfFile = pdfPath.getAbsolutePath(); if (pdfFile.charAt(0) == '/') pdfFile = pdfFile.substring(1); processResult = runCommand("rundll32 url.dll,FileProtocolHandler " + pdfFile); //$NON-NLS-1$ } else { String msg = MessageFormat.format("Unexpected OS: {0}", SystemHelper.osName); //$NON-NLS-1$ throw new UnsupportedOperationException(msg); } logProcessResult(processResult); } public static void logProcessResult(ProcessResult processResult) { if (processResult.returnValue == 0) { logger.info("Process executed successfully"); //$NON-NLS-1$ } else if (processResult.returnValue == -1) { logger.error("Process execution failed:\n" + processResult.processOutput); //$NON-NLS-1$ logger.error(processResult.throwable.getMessage(), processResult.throwable); } else { String msg = "Process execution was not successful with return value:{0}\n{1}"; //$NON-NLS-1$ logger.info(MessageFormat.format(msg, processResult.returnValue, processResult.processOutput)); } } }
[ "eitch@eitchnet.ch" ]
eitch@eitchnet.ch
e148091226a1fab6599d5a5a5c385a1e45da01b8
7532f40f1e0fc994b95f3e6b36f7c6e9c9b34e59
/app/src/main/java/com/example/ct/SecondActivity.java
9e06b4deac7015d00c7c1bceed5097373364a3a4
[]
no_license
mayfieldjr/ct
bfc47a439fbeb4175c97510ec2d391cbe1b88188
0b35bdb12da5d1eed1969e701ff8a0037a66b2cf
refs/heads/master
2021-01-01T19:44:18.556945
2017-07-28T15:53:11
2017-07-28T15:53:11
98,664,342
0
0
null
null
null
null
UTF-8
Java
false
false
989
java
package com.example.ct; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; public class SecondActivity extends AppCompatActivity { public static final String RESULT_EXTRA = "com.example.ct.RESULT_EXTRA"; EditText messageET; EditText messageET1; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_second); messageET = (EditText) findViewById(R.id.et_message); messageET1 = (EditText) findViewById(R.id.et1_message); } public void sendResult (View view) { String message = messageET.getText().toString(); String message1 = messageET.getText().toString(); Intent data = new Intent(); data.putExtra(RESULT_EXTRA, message); setResult(MainActivity.REQUEST_CODE, data); finish(); } }
[ "mayfieldjr@gmail.com" ]
mayfieldjr@gmail.com
7a6257d6d3dfb9cb48bda50f3f5bda0ca1887fe9
4301d0824c68a764926bbeb70bad3f8eac68a31b
/examples/data/derby/v5/calledMethodVectors/000202.java
a5057bd186967c54a00a622c5c81b571d900be70
[]
no_license
stepthom/tcp.lda
35eb552f1a00392af49b1631250d7009ce36f6d1
aad1dca7c893bfcbdfa1870879cf894f7c44d9a5
refs/heads/master
2020-04-05T16:53:38.634211
2012-11-26T20:36:23
2012-11-26T20:36:23
6,835,530
2
0
null
null
null
null
UTF-8
Java
false
false
896
java
0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 0 1 0 1 1 0 0 0 0 1 0 1 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 1 1 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0
[ "stephen.warner.thomas@gmail.com" ]
stephen.warner.thomas@gmail.com
0a9eaa4d17804bec3b334559405ecc2c5f1d020c
e28da996a3c281450d160ddf275518e22b258282
/util7/src/main/java/link/webarata3/dro/common/util7/NumberUtil.java
1aefad157d3d319bbf998b7294b28e7b10d9d06a
[ "MIT" ]
permissive
webarata3/AndroidUtil7
f7feabfd77bfcbea2c1bc3cd590d385dc17b3d29
34aac2e84122cb8f7f8a3e8d43b04efdd13ad4d3
refs/heads/master
2020-08-18T06:37:45.906393
2017-10-15T01:31:27
2017-10-15T01:31:27
73,525,861
0
0
null
null
null
null
UTF-8
Java
false
false
797
java
package link.webarata3.dro.common.util7; import android.support.annotation.Nullable; /** * ๆ•ฐๅ€ค้–ข้€ฃใฎใƒฆใƒผใƒ†ใ‚ฃใƒชใƒ†ใ‚ฃใ‚ฏใƒฉใ‚น * * @author webarata3 * */ public abstract class NumberUtil { /** * ๆ–‡ๅญ—ๅˆ—ใ‚’Integerใซๅค‰ๆ›ใ™ใ‚‹ใ€‚ๅค‰ๆ›ๅ‡บๆฅใชใ„ๅ ดๅˆใซใฏnullใ‚’่ฟ”ใ™ใ€‚ * * @param value * ๅค‰ๆ›ใ™ใ‚‹ๆ–‡ๅญ—ๅˆ— * @return ๅค‰ๆ›ใ—ใŸๆ•ฐๅ€ค */ public static Integer formatInt(@Nullable String value) { if (value == null) { return null; } try { if (RegexUtil.find("^(0|[-]?[1-9][0-9]*)$", value) ) { return Integer.parseInt(value); } return null; } catch (NumberFormatException e) { return null; } } }
[ "webarata3@gmail.com" ]
webarata3@gmail.com
72794cfd2a93d0370a86e60e1a97941386706fdc
a0dd5ad62dfd5f3dc7e66751f3e9c44d799b8df0
/Sekrab/CurrencyTracker/app/src/main/java/com/example/SekrabCurrencyTracker/MainActivity.java
f6df5c529c32dd00f3fdeed26802471bb2e1d066
[]
no_license
Lenz60/Sekrab-Currency-Tracker
b2b8660babe8c6900e31c5fda51fe2005a06c1c2
e91149cc5ac42d95a9feb2dc409a91731bd7177f
refs/heads/main
2023-08-25T23:00:14.658551
2021-11-09T10:41:45
2021-11-09T10:41:45
425,789,911
0
0
null
null
null
null
UTF-8
Java
false
false
823
java
package com.example.SekrabCurrencyTracker; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; public class MainActivity extends AppCompatActivity { Button BtnAdd; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); BtnAdd = findViewById(R.id.BtnAdd); BtnAdd.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent(MainActivity.this, Add.class); //Pass Name and Faksi to Activity Main startActivity(intent); } }); } }
[ "52058310+Lenz60@users.noreply.github.com" ]
52058310+Lenz60@users.noreply.github.com
34d335ca7eee119ad746cf2f87bca673e4192522
d9477e8e6e0d823cf2dec9823d7424732a7563c4
/plugins/Beauty/trunk/src/beauty/options/JavaOptionPane.java
9d1a1b10de12bfa5efb3a0fd0b59b96b15e09f2d
[]
no_license
RobertHSchmidt/jedit
48fd8e1e9527e6f680de334d1903a0113f9e8380
2fbb392d6b569aefead29975b9be12e257fbe4eb
refs/heads/master
2023-08-30T02:52:55.676638
2018-07-11T13:28:01
2018-07-11T13:28:01
140,587,948
1
0
null
null
null
null
UTF-8
Java
false
false
1,196
java
package beauty.options; import beauty.options.java.*; import org.gjt.sp.jedit.*; import javax.swing.JTabbedPane; import ise.java.awt.*; /** * An option pane to configure settings for the built-in Java beautifier, loads * the option panes in the 'java' subdirectory as tabs in this pane. */ public class JavaOptionPane extends AbstractOptionPane { private beauty.options.java.JavaOptionPane javaOptionPane; private Java8OptionPane java8OptionPane; public JavaOptionPane() { super( "beauty.java" ); setLayout(new KappaLayout()); javaOptionPane = new beauty.options.java.JavaOptionPane(); java8OptionPane = new Java8OptionPane(); JTabbedPane tabs = new JTabbedPane(); tabs.addTab( jEdit.getProperty("beauty.java8.Brackets_and_Padding", "Brackets and Padding"), javaOptionPane ); tabs.addTab( jEdit.getProperty("beauty.java8.Blank_Lines", "Blank Lines"), java8OptionPane ); add("0, 0, 1, 1, 0, wh, 6", tabs); } public void _init() { javaOptionPane._init(); java8OptionPane._init(); } public void _save() { javaOptionPane._save(); java8OptionPane._save(); } }
[ "daleanson@6b1eeb88-9816-0410-afa2-b43733a0f04e" ]
daleanson@6b1eeb88-9816-0410-afa2-b43733a0f04e
0b14cda6a785ccdda75d4a5ed6d02b2ccd3d920e
be37aa95857f8dcbc627f7cfd5ebfb693f1f79e8
/com/sun/corba/se/PortableActivationIDL/ServerManagerHelper.java
223cbe30e267c992d4f3e3ef71ad7a76ca3a5c4a
[]
no_license
woniper/java_source_reading
aca54710b76be4635b197b3594d1c8c77c8eb5d4
8e6cfdba5fea15b2d3f0360b12453a3e73f306e8
refs/heads/master
2021-01-01T05:29:40.308753
2016-05-19T04:06:14
2016-05-19T04:06:14
59,172,081
0
0
null
null
null
null
UTF-8
Java
false
false
3,256
java
package com.sun.corba.se.PortableActivationIDL; /** * com/sun/corba/se/PortableActivationIDL/ServerManagerHelper.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from /HUDSON3/workspace/8-2-build-macosx-x86_64/jdk8u66/4988/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl * Tuesday, October 6, 2015 4:10:32 PM PDT */ /** Interface used to combine the Activator and Locator when both are * implemented together in the same process, as is currently the case * for our implementation. */ abstract public class ServerManagerHelper { private static String _id = "IDL:PortableActivationIDL/ServerManager:1.0"; public static void insert (org.omg.CORBA.Any a, com.sun.corba.se.PortableActivationIDL.ServerManager that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static com.sun.corba.se.PortableActivationIDL.ServerManager extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (com.sun.corba.se.PortableActivationIDL.ServerManagerHelper.id (), "ServerManager"); } return __typeCode; } public static String id () { return _id; } public static com.sun.corba.se.PortableActivationIDL.ServerManager read (org.omg.CORBA.portable.InputStream istream) { return narrow (istream.read_Object (_ServerManagerStub.class)); } public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.PortableActivationIDL.ServerManager value) { ostream.write_Object ((org.omg.CORBA.Object) value); } public static com.sun.corba.se.PortableActivationIDL.ServerManager narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof com.sun.corba.se.PortableActivationIDL.ServerManager) return (com.sun.corba.se.PortableActivationIDL.ServerManager)obj; else if (!obj._is_a (id ())) throw new org.omg.CORBA.BAD_PARAM (); else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); com.sun.corba.se.PortableActivationIDL._ServerManagerStub stub = new com.sun.corba.se.PortableActivationIDL._ServerManagerStub (); stub._set_delegate(delegate); return stub; } } public static com.sun.corba.se.PortableActivationIDL.ServerManager unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof com.sun.corba.se.PortableActivationIDL.ServerManager) return (com.sun.corba.se.PortableActivationIDL.ServerManager)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); com.sun.corba.se.PortableActivationIDL._ServerManagerStub stub = new com.sun.corba.se.PortableActivationIDL._ServerManagerStub (); stub._set_delegate(delegate); return stub; } } }
[ "lkw1989@wemakeprice.com" ]
lkw1989@wemakeprice.com
173a5dd0f4e4d4799dcd7ce114956ebf7ce80b7a
f478450c9be79d9f0db214707b7b6c020ba6e979
/src/main/java/entity/SimpleAd.java
68ece4f2a50975320f6a3969d4d0d6373673687c
[]
no_license
daniwp/UsedRunner
9c4f720d3d6ad2feafc0ef66253cca967716cbfc
6bd87dabdc734cccbeb82c72f5a8fcedb54f1b41
refs/heads/master
2021-06-08T02:38:45.698881
2016-11-16T23:39:47
2016-11-16T23:39:47
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,184
java
package entity; public class SimpleAd { private String title; private String dealer; private String adLink; private String thumbnail; private double price; public SimpleAd() { } public SimpleAd(String title, String adLink, String thumbnail, double price, String dealer) { this.title = title; this.adLink = adLink; this.thumbnail = thumbnail; this.price = price; this.dealer = dealer; } public String getDealer() { return dealer; } public void setDealer(String dealer) { this.dealer = dealer; } public double getPrice() { return price; } public void setPrice(double price) { this.price = price; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getAdLink() { return adLink; } public void setAdLink(String adLink) { this.adLink = adLink; } public String getThumbnail() { return thumbnail; } public void setThumbnail(String thumbnail) { this.thumbnail = thumbnail; } }
[ "Danielwinkel4@hotmail.com" ]
Danielwinkel4@hotmail.com
3b06d5347c3df8e25ce1e2e3543a41ce5ba4776b
269e0183ac2dd5bb9ffdc1b6271cf85057a6cc09
/src/transformer/GEDrawer.java
17c57c2bdbb475075e8ca372cfa27a7c24e0e702
[]
no_license
enzo522/PaintTool
941d571f2cd9ae9b27d5e1a5c9fe754a93c1cff5
c725e8fc92448d317173f0d44870139bb4f074a1
refs/heads/master
2020-03-31T21:28:55.972097
2018-10-11T11:42:27
2018-10-11T11:42:27
152,582,274
0
0
null
null
null
null
UTF-8
Java
false
false
625
java
package transformer; import shapes.GEPolygon; import shapes.GEShape; import java.awt.*; public class GEDrawer extends GETransformer { public GEDrawer(GEShape shape) { super(shape); } @Override public void transformer(Graphics2D g2D, Point p) { g2D.setXORMode(g2D.getBackground()); g2D.setStroke(dashedLineStroke); shape.draw(g2D); shape.setCoordinate(p); shape.draw(g2D); } @Override public void init(Point p) { shape.initDraw(p); } public void continueDrawing(Point p) { ((GEPolygon)shape).continueDrawing(p); } }
[ "sungsoo522@naver.com" ]
sungsoo522@naver.com
2bb94d0429e51244cdc881dd83d8924f2aba8340
b43f4b122014afb1f85594a0484f110defc86918
/ivan_purshega_web/src/main/java/dao/MessageDao.java
5cbf2b3ce6a5ef1344c904ba2e7fc5c2223e56bd
[]
no_license
MaxProffItCentre/Proff1
9e661ece8d08d7735b16b81e507ffbaad3356d75
80d6c9c856d452036f4334b13971e623c82f2cb1
refs/heads/master
2021-01-10T16:19:24.721738
2016-03-21T08:21:34
2016-03-21T08:21:34
46,739,108
2
0
null
2015-12-07T16:51:46
2015-11-23T18:15:05
Java
UTF-8
Java
false
false
266
java
package dao; import java.util.List; import data.Message; import data.User; public interface MessageDao { Long create(Message messge); Message read(int id); void update(Message message); void delete(Message message); List<Message> findAll(); }
[ "ivan_purshega@ukr.net" ]
ivan_purshega@ukr.net
63404d8276d29dcda1a97df14b8ab715d9ee1a14
6cc69cba69dcc7c58cb0ab60fea635688b15072a
/src/Print.java
618a7756f46e50b567ba2a97bb564b2f529f1a89
[]
no_license
wolfe81/Recursive-Descent-Parser
f98cea9032de639769ae3e377b68ff6814818a51
77fdd1165a8b07e4b9cfa845ab49db4c5a13530f
refs/heads/master
2020-04-14T10:11:41.086147
2019-01-02T02:39:26
2019-01-02T02:39:26
163,777,820
0
0
null
null
null
null
UTF-8
Java
false
false
380
java
public class Print extends ASTStatement { ASTExpression e; private String tab; public Print(ASTExpression e) { this.e = e; tab = ""; for (int i = 0; i < ASTNode.tab; i++) { tab += " "; } } public String convertToJava() { String st = tab + "System.out.println(" + e + ");\n"; return st; } public String toString() { return convertToJava(); } }
[ "PWOLFE@EMAIL.USCUPSTATE.EDU" ]
PWOLFE@EMAIL.USCUPSTATE.EDU
b19013c22e1bae7df4fb2184cbea0a509eb52dfd
a3b4e378badc5828ba7bd942e9aa68d680219049
/Realization/backend/core/core-impl/src/main/java/eu/bcvsolutions/idm/core/model/event/processor/role/RoleRequestPublishChangeProcessor.java
ff3b0c232cc8fb065d90f339c2cb54041d0c780d
[ "MIT" ]
permissive
Kotynek/CzechIdMng
735db558f09c210a7f09be687950d92374c5d2a9
e8fccc0fb4658c1a1dca404b582699182ef36254
refs/heads/master
2022-11-13T16:00:26.246371
2020-06-16T20:04:59
2020-06-16T20:04:59
null
0
0
null
null
null
null
UTF-8
Java
false
false
1,083
java
package eu.bcvsolutions.idm.core.model.event.processor.role; import org.springframework.context.annotation.Description; import org.springframework.stereotype.Component; import eu.bcvsolutions.idm.core.api.dto.IdmRoleRequestDto; import eu.bcvsolutions.idm.core.api.event.processor.AbstractPublishEntityChangeProcessor; import eu.bcvsolutions.idm.core.api.event.processor.RoleRequestProcessor; import eu.bcvsolutions.idm.core.model.event.RoleRequestEvent.RoleRequestEventType; /** * Publish role request change event. Makes execution of request async. * * @author Vรญt ล vanda * */ @Component @Description("Publish role request change event. Makes execution of request async.") public class RoleRequestPublishChangeProcessor extends AbstractPublishEntityChangeProcessor<IdmRoleRequestDto> implements RoleRequestProcessor { public static final String PROCESSOR_NAME = "role-request-publish-change-processor"; public RoleRequestPublishChangeProcessor() { super(RoleRequestEventType.EXCECUTE); } @Override public String getName() { return PROCESSOR_NAME; } }
[ "svanda.vit@seznam.cz" ]
svanda.vit@seznam.cz
94d5d18411bcdc39adfe68c750fe73787a17c649
5dd7ab3e6241f494542fe189c8037024943fe80e
/src/main/java/com/katari/jwallet/security/UserNotActivatedException.java
20bd99d4955ba99f95a6f224aa1d75084eb6ae54
[]
no_license
robgarciab/jwallet
32068c9387cd0792ca29a0f17c1dbb61886bdd7d
65f67d8fdb5282e08f32637467f11a879e89aef3
refs/heads/master
2021-01-10T04:21:50.681512
2016-03-19T03:56:41
2016-03-19T03:56:41
53,706,033
0
0
null
null
null
null
UTF-8
Java
false
false
459
java
package com.katari.jwallet.security; import org.springframework.security.core.AuthenticationException; /** * This exception is throw in case of a not activated user trying to authenticate. */ public class UserNotActivatedException extends AuthenticationException { public UserNotActivatedException(String message) { super(message); } public UserNotActivatedException(String message, Throwable t) { super(message, t); } }
[ "robgarciab@gmail.com" ]
robgarciab@gmail.com