hexsha
stringlengths
40
40
size
int64
3
1.05M
ext
stringclasses
1 value
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
5
1.02k
max_stars_repo_name
stringlengths
4
126
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
list
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
5
1.02k
max_issues_repo_name
stringlengths
4
114
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
list
max_issues_count
float64
1
92.2k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
5
1.02k
max_forks_repo_name
stringlengths
4
136
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
list
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
avg_line_length
float64
2.55
99.9
max_line_length
int64
3
1k
alphanum_fraction
float64
0.25
1
index
int64
0
1M
content
stringlengths
3
1.05M
922f472a10041b6c776df2261fdec58296fce5fd
2,771
java
Java
x-apm-framework/src/main/java/github/tornaco/xposedmoduletest/xposed/submodules/PackageInstallerSessionSubModule.java
sohel01970333374/X-APM
641444a1b2cecae08cbf65f2213d38b91d02f5ac
[ "Apache-2.0" ]
554
2018-01-02T11:08:29.000Z
2020-01-24T04:55:03.000Z
x-apm-framework/src/main/java/github/tornaco/xposedmoduletest/xposed/submodules/PackageInstallerSessionSubModule.java
PowerOlive/Xposed-Application-Management-Mod
52688f7d4f50f7567030878bc9e98a6d409f3a18
[ "Apache-2.0" ]
176
2018-02-03T04:15:38.000Z
2019-10-27T02:13:36.000Z
x-apm-framework/src/main/java/github/tornaco/xposedmoduletest/xposed/submodules/PackageInstallerSessionSubModule.java
PowerOlive/Xposed-Application-Management-Mod
52688f7d4f50f7567030878bc9e98a6d409f3a18
[ "Apache-2.0" ]
91
2018-01-03T23:21:58.000Z
2020-01-24T00:40:16.000Z
42.6
131
0.641748
995,047
package github.tornaco.xposedmoduletest.xposed.submodules; import android.os.Binder; import android.util.Log; import com.google.common.io.Files; import java.io.File; import java.util.Arrays; import java.util.Set; import de.robv.android.xposed.XC_MethodHook; import de.robv.android.xposed.XposedBridge; import de.robv.android.xposed.XposedHelpers; import de.robv.android.xposed.callbacks.XC_LoadPackage; import github.tornaco.xposedmoduletest.xposed.XAppBuildVar; import github.tornaco.xposedmoduletest.xposed.util.XposedLog; /** * Created by guohao4 on 2017/10/31. * Email: hzdkv@example.com */ class PackageInstallerSessionSubModule extends AndroidSubModule { @Override public String needBuildVar() { return XAppBuildVar.APP_OPS; } @Override public void handleLoadingPackage(String pkg, XC_LoadPackage.LoadPackageParam lpparam) { hookCommit(lpparam); } private void hookCommit(XC_LoadPackage.LoadPackageParam lpparam) { logOnBootStage("PackageInstallerSessionSubModule hookCommit..."); try { final Class ams = XposedHelpers.findClass("com.android.server.pm.PackageInstallerSession", lpparam.classLoader); Set unHooks = XposedBridge.hookAllMethods(ams, "commit", new XC_MethodHook() { @Override protected void beforeHookedMethod(MethodHookParam param) throws Throwable { super.beforeHookedMethod(param); int callingUid = Binder.getCallingUid(); XposedLog.verbose("commit @PackageInstallerSession, caller: " + callingUid + ", args: " + Arrays.toString(param.args)); Object session = param.thisObject; File stageDir = (File) XposedHelpers.getObjectField(session, "stageDir"); XposedLog.verbose("commit @PackageInstallerSession, stageDir: " + stageDir + ", isFile?" + stageDir.isFile()); Iterable<File> subFiles = Files.fileTreeTraverser().postOrderTraversal(stageDir); for (File f : subFiles) { XposedLog.verbose("commit @PackageInstallerSession, subFiles: " + f + ", isFile?" + f.isFile()); } } }); logOnBootStage("PackageInstallerSessionSubModule hookCommit OK:" + unHooks); setStatus(unhooksToStatus(unHooks)); } catch (Exception e) { logOnBootStage("PackageInstallerSessionSubModule Fail hookCommit: " + Log.getStackTraceString(e)); setStatus(SubModuleStatus.ERROR); setErrorMessage(Log.getStackTraceString(e)); } } }
922f4802f63fff14794387dcf6a8830d05bb940b
1,589
java
Java
api/src/main/java/com/g/commons/exception/GenericApiException.java
gaven004/g.next
7828c937758eea0152e320c32644cc52ae57e6b3
[ "MIT" ]
null
null
null
api/src/main/java/com/g/commons/exception/GenericApiException.java
gaven004/g.next
7828c937758eea0152e320c32644cc52ae57e6b3
[ "MIT" ]
1
2020-06-15T20:07:51.000Z
2020-06-15T20:07:51.000Z
api/src/main/java/com/g/commons/exception/GenericApiException.java
gaven004/g.next
7828c937758eea0152e320c32644cc52ae57e6b3
[ "MIT" ]
null
null
null
25.629032
89
0.646948
995,048
package com.g.commons.exception; import java.util.UUID; /** * 通用系统异常 * <p> * 每一个系统异常定义错误码,前台可以根据代码显示对应的错误信息,另外也便于定位错误的出处 */ public class GenericApiException extends RuntimeException { private static final long serialVersionUID = -1925535512076669332L; public static final String CODE = "SYSTEM_EXCEPTION"; private String code; private String sn; // 异常唯一标识,用于日志跟踪 public GenericApiException() { this(CODE, UUID.randomUUID().toString(), "系统异常"); } public GenericApiException(String message) { this(CODE, UUID.randomUUID().toString(), message); } public GenericApiException(String code, String message) { this(code, UUID.randomUUID().toString(), message); } public GenericApiException(String code, String sn, String message) { super(message); this.code = code; this.sn = sn; } public GenericApiException(String message, Throwable cause) { this(CODE, UUID.randomUUID().toString(), message, cause); } public GenericApiException(String code, String message, Throwable cause) { this(code, UUID.randomUUID().toString(), message, cause); } public GenericApiException(String code, String sn, String message, Throwable cause) { super(message, cause); this.code = code; this.sn = sn; } public String getDetail() { return String.format("code: %s, sn: %s, message: %s", code, sn, getMessage()); } public String getCode() { return code; } public String getSn() { return sn; } }
922f484cbef4569d1f7149568bbea0b2c7b0fd7e
2,996
java
Java
app/src/main/java/com/yueban/architecturedemo/data/net/converter/GsonResponseBodyConverter.java
yueban/ArchitectureDemo
f605eb23f8518eabd76dc9d95e191476975981db
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/yueban/architecturedemo/data/net/converter/GsonResponseBodyConverter.java
yueban/ArchitectureDemo
f605eb23f8518eabd76dc9d95e191476975981db
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/yueban/architecturedemo/data/net/converter/GsonResponseBodyConverter.java
yueban/ArchitectureDemo
f605eb23f8518eabd76dc9d95e191476975981db
[ "Apache-2.0" ]
null
null
null
31.882979
115
0.639973
995,049
package com.yueban.architecturedemo.data.net.converter; import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.reflect.TypeToken; import com.yueban.architecturedemo.data.exception.APIException; import com.yueban.architecturedemo.data.model.ApiModel; import com.yueban.architecturedemo.data.model.main.Repo; import java.io.IOException; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.List; import okhttp3.ResponseBody; import retrofit2.Converter; /** * @author yueban * @date 2017/7/29 * @email efpyi@example.com */ public class GsonResponseBodyConverter<T> implements Converter<ResponseBody, Object> { private final Gson gson; private final Type type; GsonResponseBodyConverter(Gson gson, Type type) { this.gson = gson; this.type = type; } @Override public Object convert(ResponseBody value) throws IOException { try { TypeAdapter<?> adapter; String response = value.string(); if ((((ParameterizedType) type).getActualTypeArguments()[0] == Repo.class && ((ParameterizedType) type).getRawType() == List.class) //type == ThirdAuthEntity.class //|| type == UpgradeInfo.class //|| || (type instanceof ParameterizedType && ((ParameterizedType) type).getRawType() == ApiModel.class)) { adapter = gson.getAdapter(TypeToken.get(type)); T t = (T) adapter.fromJson(response); if (t != null) { return t; } } Type newType = new ParameterizedType() { @Override public Type[] getActualTypeArguments() { // 当返回数据的type为Void的类型的时候, 将其替换成string来解析 // 将具体的数据类型, 包装成为ApiModel<T>的类型 return (type == Void.class || type == Boolean.class) ? new Type[] { Object.class } : new Type[] { type }; } @Override public Type getOwnerType() { return null; } @Override public Type getRawType() { return ApiModel.class; } }; adapter = gson.getAdapter(TypeToken.get(newType)); ApiModel apiModel = (ApiModel) adapter.fromJson(response); if (apiModel != null) { // 因为API定义返回的结果为bool值类型, 会相应地取最外层返回结果的success的值. if (type == Boolean.class) { apiModel.data = apiModel.success; } if (apiModel.success && type == Void.class) { return null; } else if (apiModel.success) { return apiModel.data; } else { APIException exception = new APIException(apiModel.error_code, apiModel.error_msg); // TODO: 2017/7/29 crashreport //CrashReport.postCatchedException(exception); throw exception; } } APIException exception = new APIException(APIException.DATA_PARSE_ERROR); // TODO: 2017/7/29 crashreport //CrashReport.postCatchedException(exception); throw exception; } finally { value.close(); } } }
922f485f5cec8914c0e0b992589443e642570675
2,199
java
Java
src/main/java/com/fishercoder/solutions/_749.java
zhahui/fishercoder1534-Leetcode
a7aaf47546438ae6b897ddc41f1b30384a7d13ac
[ "Apache-2.0" ]
2
2020-05-24T21:29:07.000Z
2020-08-01T16:38:59.000Z
src/main/java/com/fishercoder/solutions/_749.java
harshitrai17152/Leetcode
786564c50ad643fe77066b1a571461257ee85b0e
[ "Apache-2.0" ]
null
null
null
src/main/java/com/fishercoder/solutions/_749.java
harshitrai17152/Leetcode
786564c50ad643fe77066b1a571461257ee85b0e
[ "Apache-2.0" ]
5
2020-09-29T13:32:12.000Z
2021-10-04T15:43:05.000Z
33.830769
149
0.704411
995,050
package com.fishercoder.solutions; /** * 749. Contain Virus * * A virus is spreading rapidly, and your task is to quarantine the infected area by installing walls. * The world is modeled as a 2-D array of cells, where 0 represents uninfected cells, * and 1 represents cells contaminated with the virus. * A wall (and only one wall) can be installed between any two 4-directionally adjacent cells, on the shared boundary. * Every night, the virus spreads to all neighboring cells in all four directions unless blocked by a wall. * Resources are limited. Each day, you can install walls around only one region -- * the affected area (continuous block of infected cells) that threatens the most uninfected cells the following night. There will never be a tie. * Can you save the day? If so, what is the number of walls required? If not, and the world becomes fully infected, return the number of walls used. Example 1: Input: grid = [[0,1,0,0,0,0,0,1], [0,1,0,0,0,0,0,1], [0,0,0,0,0,0,0,1], [0,0,0,0,0,0,0,0]] Output: 10 Explanation: There are 2 contaminated regions. On the first day, add 5 walls to quarantine the viral region on the left. The board after the virus spreads is: [[0,1,0,0,0,0,1,1], [0,1,0,0,0,0,1,1], [0,0,0,0,0,0,1,1], [0,0,0,0,0,0,0,1]] On the second day, add 5 walls to quarantine the viral region on the right. The virus is fully contained. Example 2: Input: grid = [[1,1,1], [1,0,1], [1,1,1]] Output: 4 Explanation: Even though there is only one cell saved, there are 4 walls built. Notice that walls are only built on the shared boundary of two different cells. Example 3: Input: grid = [[1,1,1,0,0,0,0,0,0], [1,0,1,0,1,1,1,1,1], [1,1,1,0,0,0,0,0,0]] Output: 13 Explanation: The region on the left only builds two new walls. Note: The number of rows and columns of grid will each be in the range [1, 50]. Each grid[i][j] will be either 0 or 1. Throughout the described process, there is always a contiguous viral region that will infect strictly more uncontaminated squares in the next round. */ public class _749 { public static class Solution1 { public int containVirus(int[][] grid) { return -1; } } }
922f48d550af0bf6af5dd5fc23b91bc8c487109d
1,924
java
Java
src/main/java/cn/hergua/hblog/service/impl/UserServiceImpl.java
h920553245/hblog
6e90d198bb0e96b78cf84e7bd861e07be610707e
[ "Apache-2.0" ]
null
null
null
src/main/java/cn/hergua/hblog/service/impl/UserServiceImpl.java
h920553245/hblog
6e90d198bb0e96b78cf84e7bd861e07be610707e
[ "Apache-2.0" ]
null
null
null
src/main/java/cn/hergua/hblog/service/impl/UserServiceImpl.java
h920553245/hblog
6e90d198bb0e96b78cf84e7bd861e07be610707e
[ "Apache-2.0" ]
null
null
null
30.0625
123
0.747401
995,051
package cn.hergua.hblog.service.impl; import cn.hergua.hblog.entity.User; import cn.hergua.hblog.entity.UserInfo; import cn.hergua.hblog.repository.UserInfoRepository; import cn.hergua.hblog.repository.UserRepository; import cn.hergua.hblog.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.web.context.request.RequestContextHolder; import org.springframework.web.context.request.ServletRequestAttributes; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; /** * @author Mr.Hergua | HuangYuanQin * DATE: 2018/5/7 * @version : 1.0 */ @Service(value = "userService") public class UserServiceImpl implements UserService { @Autowired private UserRepository userRepository; @Autowired private UserInfoRepository userInfoRepository; @Override public User loadUserByUsername(String username) { return userRepository.getUserByUsername(username); } @Override public UserInfo getUserInfo(Long userId) { return userInfoRepository.findByUser(userRepository.findOne(userId)); } @Override public void updateAvatar(String url, Long userId) { UserInfo userInfo = userInfoRepository.findByUser(userRepository.findOne(userId)); userInfo.setAvatarPath(url); userInfoRepository.save(userInfo); } @Override public void updatePassword(User user) { userRepository.save(user); } @Override public void updateUserInfo(UserInfo userInfo) { userInfoRepository.save(userInfo); } @Override public User getCurrentUser() { HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); HttpSession session = request.getSession(); return (User) session.getAttribute("user"); } }
922f49ab0e5ad57cb87a3c1477293a85f8982ed1
1,641
java
Java
src/main/java/me/hulipvp/chambers/listener/listeners/ProfileStatusListener.java
HuliPvP/Chambers
b820560eed6620711c0f01810c1e925debb04b3c
[ "MIT" ]
15
2017-11-09T15:15:54.000Z
2022-01-06T21:03:43.000Z
src/main/java/me/hulipvp/chambers/listener/listeners/ProfileStatusListener.java
HuliPvP/Chambers
b820560eed6620711c0f01810c1e925debb04b3c
[ "MIT" ]
1
2017-10-25T12:07:35.000Z
2017-10-25T12:07:35.000Z
src/main/java/me/hulipvp/chambers/listener/listeners/ProfileStatusListener.java
HuliPvP/Chambers
b820560eed6620711c0f01810c1e925debb04b3c
[ "MIT" ]
22
2017-10-25T09:01:44.000Z
2020-08-01T19:31:04.000Z
33.489796
113
0.783668
995,052
package me.hulipvp.chambers.listener.listeners; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.BlockBreakEvent; import org.bukkit.event.block.BlockPlaceEvent; import org.bukkit.event.player.PlayerDropItemEvent; import org.bukkit.event.player.PlayerPickupItemEvent; import me.hulipvp.chambers.Chambers; import me.hulipvp.chambers.profile.structure.Profile; import me.hulipvp.chambers.profile.structure.ProfileStatus; public class ProfileStatusListener implements Listener { @EventHandler public void onBreak(BlockBreakEvent event) { Profile profile = Chambers.getInstance().getProfileManager().getProfileByUuid(event.getPlayer().getUniqueId()); if (profile.getProfileStatus() != ProfileStatus.PLAYING) { event.setCancelled(true); } } @EventHandler public void onPlace(BlockPlaceEvent event) { Profile profile = Chambers.getInstance().getProfileManager().getProfileByUuid(event.getPlayer().getUniqueId()); if (profile.getProfileStatus() != ProfileStatus.PLAYING) { event.setCancelled(true); } } @EventHandler public void onDrop(PlayerDropItemEvent event) { Profile profile = Chambers.getInstance().getProfileManager().getProfileByUuid(event.getPlayer().getUniqueId()); if (profile.getProfileStatus() != ProfileStatus.PLAYING) { event.setCancelled(true); } } @EventHandler public void onPickup(PlayerPickupItemEvent event) { Profile profile = Chambers.getInstance().getProfileManager().getProfileByUuid(event.getPlayer().getUniqueId()); if (profile.getProfileStatus() != ProfileStatus.PLAYING) { event.setCancelled(true); } } }
922f49b3fde04891d16b07af5c91f8739fec963a
1,521
java
Java
core/target/java/org/apache/spark/status/api/v1/ExecutorSummary.java
bopopescu/spark1.6-2
d77f33d3360049ff2b1cb8af26b7a50997cb74a0
[ "Apache-2.0" ]
1
2016-05-28T11:11:18.000Z
2016-05-28T11:11:18.000Z
core/target/java/org/apache/spark/status/api/v1/ExecutorSummary.java
bopopescu/spark1.6-2
d77f33d3360049ff2b1cb8af26b7a50997cb74a0
[ "Apache-2.0" ]
null
null
null
core/target/java/org/apache/spark/status/api/v1/ExecutorSummary.java
bopopescu/spark1.6-2
d77f33d3360049ff2b1cb8af26b7a50997cb74a0
[ "Apache-2.0" ]
2
2017-06-26T13:24:15.000Z
2020-07-23T15:51:31.000Z
72.428571
396
0.73833
995,053
package org.apache.spark.status.api.v1; public class ExecutorSummary { public java.lang.String id () { throw new RuntimeException(); } public java.lang.String hostPort () { throw new RuntimeException(); } public int rddBlocks () { throw new RuntimeException(); } public long memoryUsed () { throw new RuntimeException(); } public long diskUsed () { throw new RuntimeException(); } public int activeTasks () { throw new RuntimeException(); } public int failedTasks () { throw new RuntimeException(); } public int completedTasks () { throw new RuntimeException(); } public int totalTasks () { throw new RuntimeException(); } public long totalDuration () { throw new RuntimeException(); } public long totalInputBytes () { throw new RuntimeException(); } public long totalShuffleRead () { throw new RuntimeException(); } public long totalShuffleWrite () { throw new RuntimeException(); } public long maxMemory () { throw new RuntimeException(); } public scala.collection.Map<java.lang.String, java.lang.String> executorLogs () { throw new RuntimeException(); } // not preceding ExecutorSummary (java.lang.String id, java.lang.String hostPort, int rddBlocks, long memoryUsed, long diskUsed, int activeTasks, int failedTasks, int completedTasks, int totalTasks, long totalDuration, long totalInputBytes, long totalShuffleRead, long totalShuffleWrite, long maxMemory, scala.collection.Map<java.lang.String, java.lang.String> executorLogs) { throw new RuntimeException(); } }
922f4a07192dc36da748952cde9c42ae7620813c
1,263
java
Java
parseFull/src/main/java/com/github/anzewei/parsefull/impl/JsonNetParse.java
anzewei/parseFull
5f29c391e6b76b5d1142c998cc976db9fde22ca9
[ "Apache-2.0" ]
null
null
null
parseFull/src/main/java/com/github/anzewei/parsefull/impl/JsonNetParse.java
anzewei/parseFull
5f29c391e6b76b5d1142c998cc976db9fde22ca9
[ "Apache-2.0" ]
null
null
null
parseFull/src/main/java/com/github/anzewei/parsefull/impl/JsonNetParse.java
anzewei/parseFull
5f29c391e6b76b5d1142c998cc976db9fde22ca9
[ "Apache-2.0" ]
null
null
null
26.87234
71
0.563737
995,054
package com.github.anzewei.parsefull.impl; import com.github.anzewei.parsefull.NetParser; import com.github.anzewei.parsefull.ParseFull; import com.google.gson.Gson; import okhttp3.ResponseBody; /** * ParseFull * @author An Zewei (anzewei88[at]gmail[dot]com) * @since 1.0.0 */ public class JsonNetParse extends NetParser { private Class mParseClass; public static final int CODE_PARSE_ERROR = -1001; public JsonNetParse(Class parseClass) { mParseClass = parseClass; } @Override public boolean parse(ParseFull.ParseResult result) { if (result.status < 300 && result.status > 199) { String html; if (result.result instanceof String) html = (String) result.result; else try { ResponseBody body = (ResponseBody) result.result; html = body.string(); } catch (Exception e) { e.printStackTrace(); html = ""; } try { result.result = new Gson().fromJson(html, mParseClass); } catch (Exception e) { result.status = CODE_PARSE_ERROR; } } return true; } }
922f4a82746221ec62c3a71d830767259879cb47
5,107
java
Java
Laboratorio_61_4/app/src/main/java/com/example/noa/laboratorio_61_4/MainActivity.java
maritzalapa/PDM_Laboratorio6_1
20f9e1d5d306dacfdd38d815fa5324624539dfc3
[ "MIT" ]
null
null
null
Laboratorio_61_4/app/src/main/java/com/example/noa/laboratorio_61_4/MainActivity.java
maritzalapa/PDM_Laboratorio6_1
20f9e1d5d306dacfdd38d815fa5324624539dfc3
[ "MIT" ]
null
null
null
Laboratorio_61_4/app/src/main/java/com/example/noa/laboratorio_61_4/MainActivity.java
maritzalapa/PDM_Laboratorio6_1
20f9e1d5d306dacfdd38d815fa5324624539dfc3
[ "MIT" ]
null
null
null
44.798246
83
0.547288
995,055
package com.example.noa.laboratorio_61_4; import android.app.ActionBar; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.NavigationView; import android.support.design.widget.Snackbar; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.view.Menu; import android.view.MenuItem; import android.widget.TextView; import android.widget.Toast; public class MainActivity extends AppCompatActivity { DrawerLayout drawerLayout; Toolbar toolbar; android.support.v7.app.ActionBar actionBar; TextView textView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); actionBar = getSupportActionBar(); actionBar.setHomeAsUpIndicator(R.drawable.ic_menu_white_24dp); actionBar.setDisplayHomeAsUpEnabled(true); drawerLayout = (DrawerLayout) findViewById(R.id.navigation_drawer); NavigationView navigationView = (NavigationView) findViewById(R.id.navigation_view); if (navigationView != null) { setupNavigation(navigationView); } setupNavigation(navigationView); } @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; } private void setupNavigation(NavigationView navigationView) { navigationView.setNavigationItemSelectedListener( new NavigationView.OnNavigationItemSelectedListener() { @Override public boolean onNavigationItemSelected(MenuItem menuItem){ textView = (TextView) findViewById(R.id.textView); switch (menuItem.getItemId()) { case R.id.item_navigation_inbox: menuItem.setChecked(true); textView.setText(menuItem.getTitle()); drawerLayout.closeDrawer(GravityCompat.START); return true; case R.id.item_navigation_starred: menuItem.setChecked(true); textView.setText(menuItem.getTitle()); drawerLayout.closeDrawer(GravityCompat.START); return true; case R.id.item_navigation_sent_mail: menuItem.setChecked(true); textView.setText(menuItem.getTitle()); drawerLayout.closeDrawer(GravityCompat.START); return true; case R.id.item_navigation_drafts: menuItem.setChecked(true); textView.setText(menuItem.getTitle()); drawerLayout.closeDrawer(GravityCompat.START); return true; case R.id.item_navigation_settings: menuItem.setChecked(true); textView.setText(menuItem.getTitle()); Toast.makeText(MainActivity.this, "Launching " + menuItem.getTitle().toString(), Toast.LENGTH_SHORT).show(); drawerLayout.closeDrawer(GravityCompat.START); Intent intent = new Intent( MainActivity.this, SettingsActivity.class); startActivity(intent); return true; case R.id.item_navigation_help_and_feedback: menuItem.setChecked(true); Toast.makeText(MainActivity.this, menuItem.getTitle().toString(), Toast.LENGTH_SHORT).show(); drawerLayout.closeDrawer(GravityCompat.START); return true; } return true; } }); } @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case android.R.id.home: drawerLayout.openDrawer(GravityCompat.START); return true; } return super.onOptionsItemSelected(item); } }
922f4aaf97b4d471c8bea47acbf0ffd130d8cb05
1,639
java
Java
server/src/main/java/fr/ignishky/lotrtcg/config/SwaggerConfig.java
Ignishky/lotr-tcg
34ad538cccc741222101e1347c3318612b4a271a
[ "Apache-2.0" ]
1
2019-12-12T21:35:36.000Z
2019-12-12T21:35:36.000Z
server/src/main/java/fr/ignishky/lotrtcg/config/SwaggerConfig.java
Ignishky/lotr-tcg
34ad538cccc741222101e1347c3318612b4a271a
[ "Apache-2.0" ]
25
2016-06-27T13:39:57.000Z
2021-04-01T19:39:25.000Z
server/src/main/java/fr/ignishky/lotrtcg/config/SwaggerConfig.java
Ignishky/lotr-tcg
34ad538cccc741222101e1347c3318612b4a271a
[ "Apache-2.0" ]
null
null
null
37.454545
128
0.723908
995,056
package fr.ignishky.lotrtcg.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.service.ApiInfo; import springfox.documentation.service.Contact; import springfox.documentation.service.Tag; import springfox.documentation.spring.web.plugins.Docket; import java.util.Set; import static java.util.Collections.emptyList; import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE; import static springfox.documentation.builders.PathSelectors.any; import static springfox.documentation.builders.RequestHandlerSelectors.basePackage; import static springfox.documentation.spi.DocumentationType.SWAGGER_2; @Configuration public class SwaggerConfig { private static final Contact CONTACT = new Contact("Ignishky", "https://github.com/Ignishky", "ychag@example.com"); @Value("${swagger.name}") private String name; @Value("${swagger.description}") private String description; @Value("${swagger.version}") private String version; @Bean public Docket api() { return new Docket(SWAGGER_2) .apiInfo(new ApiInfo(name, description, version, null, CONTACT, null, null, emptyList())) .tags(new Tag("Card", "All the cards endpoints.")) .produces(Set.of(APPLICATION_JSON_VALUE)) .useDefaultResponseMessages(false) .select() .apis(basePackage("fr.ignishky.lotrtcg.controller")) .paths(any()) .build(); } }
922f4b09817f13117833f8362df1b32ccb113752
2,052
java
Java
scmlog/src/main/java/remonsinnema/blog/scmlog/html/Log2Blog.java
ApiSecRay/blog
efd4bc753aee9f3060b8fde0126c8eb74d9bf18c
[ "MIT" ]
null
null
null
scmlog/src/main/java/remonsinnema/blog/scmlog/html/Log2Blog.java
ApiSecRay/blog
efd4bc753aee9f3060b8fde0126c8eb74d9bf18c
[ "MIT" ]
null
null
null
scmlog/src/main/java/remonsinnema/blog/scmlog/html/Log2Blog.java
ApiSecRay/blog
efd4bc753aee9f3060b8fde0126c8eb74d9bf18c
[ "MIT" ]
null
null
null
29.314286
100
0.68616
995,057
package remonsinnema.blog.scmlog.html; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import remonsinnema.blog.scmlog.git.GitLogCommand; import remonsinnema.blog.scmlog.log.ChangeHunk; import remonsinnema.blog.scmlog.log.Commit; import remonsinnema.blog.scmlog.log.Diff; public class Log2Blog { public static void main(String[] args) { try { new Log2Blog().printLog(getPath(args)); } catch (IOException e) { System.err.println(e.getMessage()); System.exit(1); } } private static String getPath(String[] args) { return args.length < 1 ? "." : args[0]; } private void printLog(String path) throws IOException { File dir = new File(path); if (!dir.isDirectory()) { throw new IOException("Not a valid directory: " + dir.getCanonicalPath()); } try (OutputStream stream = new FileOutputStream(new File(dir, "blog.html"))) { try (PrintWriter writer = new PrintWriter(new OutputStreamWriter(stream))) { printLog(dir, writer); } } } private void printLog(File dir, PrintWriter writer) { writer.println("<html><body>"); new GitLogCommand(dir).get().getCommits().forEachOrdered(commit -> printCommit(commit, writer)); writer.println("</body></html>"); } private void printCommit(Commit commit, PrintWriter writer) { writer.print("<h3>"); writer.print(commit.getSubject()); writer.print(" ("); writer.print(commit.getHash()); writer.print(")</h3>"); commit.getDiffs().forEachOrdered(diff -> printDiff(diff, writer)); } private void printDiff(Diff diff, PrintWriter writer) { writer.print("<p>"); writer.print(new File(diff.getFileName()).getName()); writer.print("</p>"); diff.getChangeHunks().forEachOrdered(chunk -> printChangeHunk(chunk, writer)); } private void printChangeHunk(ChangeHunk chunk, PrintWriter writer) { new ToHtml(chunk).writeTo(writer); } }
922f4b1568fc4c6c90837fb34ff8d889563f9548
2,228
java
Java
app/src/test/java/de/dkiefner/qapital/exercise/ui/savinggoal/detail/SavingGoalEventListItemViewModelTest.java
dkiefner/qapital-exercise-android
162c0e9a050893408a5c394f9a9ef3e1c60bd104
[ "MIT" ]
null
null
null
app/src/test/java/de/dkiefner/qapital/exercise/ui/savinggoal/detail/SavingGoalEventListItemViewModelTest.java
dkiefner/qapital-exercise-android
162c0e9a050893408a5c394f9a9ef3e1c60bd104
[ "MIT" ]
null
null
null
app/src/test/java/de/dkiefner/qapital/exercise/ui/savinggoal/detail/SavingGoalEventListItemViewModelTest.java
dkiefner/qapital-exercise-android
162c0e9a050893408a5c394f9a9ef3e1c60bd104
[ "MIT" ]
null
null
null
24.755556
88
0.77693
995,058
package de.dkiefner.qapital.exercise.ui.savinggoal.detail; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import java.text.ParseException; import de.dkiefner.qapital.exercise.common.CurrencyFormatter; import de.dkiefner.qapital.exercise.common.DateTimeParser; import de.dkiefner.qapital.exercise.data.savinggoal.event.SavingGoalEvent; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.when; @RunWith(MockitoJUnitRunner.class) public class SavingGoalEventListItemViewModelTest { @Mock private SavingGoalEvent savingGoalEvent; @Mock private CurrencyFormatter currencyFormatter; @InjectMocks private SavingGoalEventListItemViewModel testee; @Test public void thatGetMessageWorks_whenOneIsGiven() { // given String expectedMessage = "foo"; when(savingGoalEvent.message()).thenReturn(expectedMessage); // when String result = testee.getMessage(); // then assertThat(result).isEqualTo(expectedMessage); } @Test public void thatGetTimestampWorks_whenValidOneIsGiven() throws ParseException { // given String timestamp = "2015-03-05T05:33:55.025Z"; long expectedTimestamp = DateTimeParser.toMillis(timestamp); when(savingGoalEvent.timestamp()).thenReturn(timestamp); // when long result = testee.getTimestamp(); // then assertThat(result).isEqualTo(expectedTimestamp); } @Test public void thatGetTimestampReturnsZero_whenInvalidOneIsGiven() throws ParseException { // given String timestamp = "foo"; long expectedTimestamp = 0L; when(savingGoalEvent.timestamp()).thenReturn(timestamp); // when long result = testee.getTimestamp(); // then assertThat(result).isEqualTo(expectedTimestamp); } @Test public void thatGetAmountWorks_whenOneIsGiven() { // given float amount = 1f; String expectedAmount = "$1.00"; when(savingGoalEvent.amount()).thenReturn(amount); when(currencyFormatter.format(eq(amount))).thenReturn(expectedAmount); // when String result = testee.getAmount(); // then assertThat(result).isEqualTo(expectedAmount); } }
922f4ba926d64b31989c9740de1767b5983425a7
3,038
java
Java
runescape-client/src/main/java/Fonts.java
methpsychosis/unethicalite
a2507cc4d1993e0d72ea97c20630f9c8f40cdd09
[ "BSD-2-Clause" ]
1
2022-03-03T12:07:19.000Z
2022-03-03T12:07:19.000Z
runescape-client/src/main/java/Fonts.java
methpsychosis/unethicalite
a2507cc4d1993e0d72ea97c20630f9c8f40cdd09
[ "BSD-2-Clause" ]
null
null
null
runescape-client/src/main/java/Fonts.java
methpsychosis/unethicalite
a2507cc4d1993e0d72ea97c20630f9c8f40cdd09
[ "BSD-2-Clause" ]
null
null
null
27.125
91
0.677419
995,059
import java.util.HashMap; import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("of") @Implements("Fonts") public class Fonts { @ObfuscatedName("d") @ObfuscatedGetter(intValue = 623297429) static int field4517; @ObfuscatedName("v") @ObfuscatedSignature(descriptor = "Lln;") @Export("spritesArchive") AbstractArchive spritesArchive; @ObfuscatedName("c") @ObfuscatedSignature(descriptor = "Lln;") @Export("fontsArchive") AbstractArchive fontsArchive; @ObfuscatedName("i") @Export("map") HashMap map; @ObfuscatedSignature(descriptor = "(Lln;Lln;)V") public Fonts(AbstractArchive var1, AbstractArchive var2) { this.spritesArchive = var1; this.fontsArchive = var2; this.map = new HashMap(); } @ObfuscatedName("v") @ObfuscatedSignature(descriptor = "([Low;I)Ljava/util/HashMap;", garbageValue = "554923002") @Export("createMap") public HashMap createMap(FontName[] var1) { HashMap var2 = new HashMap(); FontName[] var3 = var1; for (int var4 = 0; var4 < var3.length; ++var4) { FontName var5 = var3[var4]; if (this.map.containsKey(var5)) { var2.put(var5, this.map.get(var5)); } else { Font var6 = class431.method7594(this.spritesArchive, this.fontsArchive, var5.name, ""); if (var6 != null) { this.map.put(var5, var6); var2.put(var5, var6); } } } return var2; } @ObfuscatedName("v") @ObfuscatedSignature(descriptor = "(Lpz;B)V", garbageValue = "0") @Export("updatePlayer") static final void updatePlayer(PacketBuffer var0) { var0.importIndex(); int var1 = Client.localPlayerIndex; Player var2 = GrandExchangeEvents.localPlayer = Client.players[var1] = new Player(); var2.index = var1; int var3 = var0.readBits(30); byte var4 = ((byte) (var3 >> 28)); int var5 = (var3 >> 14) & 16383; int var6 = var3 & 16383; var2.pathX[0] = var5 - GrandExchangeOfferOwnWorldComparator.baseX; var2.x = (var2.pathX[0] << 7) + (var2.transformedSize() << 6); var2.pathY[0] = var6 - VarcInt.baseY; var2.y = (var2.pathY[0] << 7) + (var2.transformedSize() << 6); class18.Client_plane = var2.plane = var4; if (Players.field1276[var1] != null) { var2.read(Players.field1276[var1]); } Players.Players_count = 0; Players.Players_indices[(++Players.Players_count) - 1] = var1; Players.field1283[var1] = 0; Players.Players_emptyIdxCount = 0; for (int var7 = 1; var7 < 2048; ++var7) { if (var1 != var7) { int var8 = var0.readBits(18); int var9 = var8 >> 16; int var10 = (var8 >> 8) & 597; int var11 = var8 & 597; Players.Players_regions[var7] = ((var10 << 14) + var11) + (var9 << 28); Players.Players_orientations[var7] = 0; Players.Players_targetIndices[var7] = -1; Players.Players_emptyIndices[(++Players.Players_emptyIdxCount) - 1] = var7; Players.field1283[var7] = 0; } } var0.exportIndex(); } }
922f4bb9254c6c5441291dbf74b6f715331007a2
8,541
java
Java
app/src/main/java/com/example/bozhilun/android/siswatch/adapter/CustomBlueAdapter.java
18271261642/RaceFitPro
8487da3a9cea4eefed27c727e02fc6786a91b603
[ "Apache-2.0" ]
1
2020-02-02T17:46:00.000Z
2020-02-02T17:46:00.000Z
app/src/main/java/com/example/bozhilun/android/siswatch/adapter/CustomBlueAdapter.java
18271261642/RaceFitPro
8487da3a9cea4eefed27c727e02fc6786a91b603
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/example/bozhilun/android/siswatch/adapter/CustomBlueAdapter.java
18271261642/RaceFitPro
8487da3a9cea4eefed27c727e02fc6786a91b603
[ "Apache-2.0" ]
2
2019-10-11T15:54:59.000Z
2021-05-13T03:01:23.000Z
39.178899
136
0.574289
995,060
package com.example.bozhilun.android.siswatch.adapter; import android.bluetooth.BluetoothDevice; import android.content.Context; import androidx.recyclerview.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import com.example.bozhilun.android.R; import com.example.bozhilun.android.siswatch.bean.CustomBlueDevice; import com.example.bozhilun.android.siswatch.utils.WatchUtils; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; /** * Created by Administrator on 2017/10/31. */ /** * 搜索页面适配器 */ public class CustomBlueAdapter extends RecyclerView.Adapter<CustomBlueAdapter.CustomBlueViewHolder> { private List<CustomBlueDevice> customBlueDeviceList; private Context mContext; public OnSearchOnBindClickListener onBindClickListener; public void setOnBindClickListener(OnSearchOnBindClickListener onBindClickListener) { this.onBindClickListener = onBindClickListener; } public CustomBlueAdapter(List<CustomBlueDevice> customBlueDeviceList, Context mContext) { this.customBlueDeviceList = customBlueDeviceList; this.mContext = mContext; } @Override public CustomBlueViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { View view = LayoutInflater.from(mContext).inflate(R.layout.recyclerview_bluedevice,null); return new CustomBlueViewHolder(view); } @Override public void onBindViewHolder(final CustomBlueViewHolder holder, int position) { BluetoothDevice bluetoothDevice = customBlueDeviceList.get(position).getBluetoothDevice(); if (bluetoothDevice != null) { //蓝牙名称 holder.bleNameTv.setText(customBlueDeviceList.get(position).getBluetoothDevice().getName()); //mac地址 holder.bleMacTv.setText(customBlueDeviceList.get(position).getBluetoothDevice().getAddress()); //信号 holder.bleRiisTv.setText("" + customBlueDeviceList.get(position).getRssi() + ""); //展示图片 String bleName = customBlueDeviceList.get(position).getBluetoothDevice().getName(); //绑定按钮 holder.circularProgressButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { if (onBindClickListener != null) { int position = holder.getLayoutPosition(); onBindClickListener.doBindOperator(position); } } }); Set<String> set = new HashSet<>(Arrays.asList(WatchUtils.TJ_FilterNamas)); if(WatchUtils.isEmpty(bleName)) return; if(bleName.contains("H9")){ //H9 holder.img.setImageResource(R.mipmap.seach_h9); return; } if(customBlueDeviceList.get(position).getCompanyId() == 160 || bleName.contains("H8") || bleName.contains("bozlun")){ //H8 holder.img.setImageResource(R.mipmap.h8_search); return; } if(bleName.contains("W30")){ //W30 holder.img.setImageResource(R.mipmap.w30_searchlist_icon); return; } if(bleName.contains("W31")){ //W31 holder.img.setImageResource(R.mipmap.ic_w31_search); return; } if(bleName.contains("W37")){ //W37 holder.img.setImageResource(R.mipmap.ic_w37_search); return; } if(bleName.contains("B30")){ holder.img.setImageResource(R.mipmap.ic_b30_search); return; } if(bleName.contains("Ringmii")){ holder.img.setImageResource(R.mipmap.hx_search); return; } if(bleName.length() > 2 && (bleName.substring(0, 3).equals("B36"))){ //B36 holder.img.setImageResource(R.mipmap.ic_b36_search); return; } if(bleName.length()>3 && bleName.substring(0,4).equals("B36M")){ //B36M holder.img.setImageResource(R.mipmap.ic_b36m_search); return; } if (bleName.length() >= 3 && bleName.substring(0, 3).equals("B31")) { //B31 holder.img.setImageResource(R.mipmap.ic_b31_search); return; } if (bleName.length() >= 4 && bleName.substring(0, 4).equals("B31S")) { //B31 holder.img.setImageResource(R.mipmap.ic_b31_search); return; } if(bleName.contains("500S")){ //500S holder.img.setImageResource(R.mipmap.ic_seach_500s); return; } if(bleName.contains("B18") || bleName.contains("B16")){ //B50(B18) holder.img.setImageResource(R.mipmap.icon_b16_search); return; } if(bleName.contains("X")){ holder.img.setImageResource(R.mipmap.icon_xw_search); return; } if(bleName.equals("SWatch")){ holder.img.setImageResource(R.mipmap.icon_s_watch_search); return; } if(bleName.contains("E Watch")){ //EWatch holder.img.setImageResource(R.mipmap.icon_e_watch_search); return; } if(bleName.length()>3 && bleName.contains("YWK")){ holder.img.setImageResource(R.mipmap.icon_ywk_search); return; } if(bleName.length()>3 && bleName.contains("SpO2")){ holder.img.setImageResource(R.mipmap.icon_spo2_search); return; } if(bleName.length()>3 && bleName.equals("L890")){ holder.img.setImageResource(R.mipmap.icon_comm_search); return; } if (set.contains(bleName)) { //B25 if (bleName.length() > 1 && !bleName.equals("F6")) { if (bleName.length() >= 3 && bleName.substring(0, 3).equals("B25")) { holder.img.setImageResource(R.mipmap.ic_b52_seach); } else if (bleName.length() >= 4 && bleName.substring(0, 4).equals("B15P")) { holder.img.setImageResource(R.mipmap.ic_b15p_seach); } else { if (bleName.substring(0, 1).equals("B")) { holder.img.setImageResource(R.mipmap.ic_series_b); } else if (bleName.substring(0, 1).equals("L")) { holder.img.setImageResource(R.mipmap.ic_series_l); } else if (bleName.substring(0, 1).equals("F")) { holder.img.setImageResource(R.mipmap.ic_series_f); } else if (bleName.substring(0, 1).equals("M")) { holder.img.setImageResource(R.mipmap.ic_series_m); } else if (bleName.substring(0, 1).equals("W")) { holder.img.setImageResource(R.mipmap.ic_series_w); } } } else { holder.img.setImageResource(R.mipmap.img_f6); } }else{ holder.img.setImageResource(R.mipmap.icon_comm_search); } } } @Override public int getItemCount() { return customBlueDeviceList.size(); } static class CustomBlueViewHolder extends RecyclerView.ViewHolder { TextView bleNameTv, bleMacTv, bleRiisTv; ImageView img; //显示手表或者手环图片 Button circularProgressButton; public CustomBlueViewHolder(View itemView) { super(itemView); bleNameTv = (TextView) itemView.findViewById(R.id.blue_name_tv); bleMacTv = (TextView) itemView.findViewById(R.id.snmac_tv); bleRiisTv = (TextView) itemView.findViewById(R.id.rssi_tv); img = (ImageView) itemView.findViewById(R.id.img_logo); circularProgressButton = itemView.findViewById(R.id.bind_btn); } } public interface OnSearchOnBindClickListener { void doBindOperator(int position); } }
922f4bbb4dbfa63dc25e37f6fc5f8df7ed8b2ddf
13,148
java
Java
android-31/src/android/telephony/gba/TlsParams.java
Pixelated-Project/aosp-android-jar
72ae25d4fc6414e071fc1f52dd78080b84d524f8
[ "MIT" ]
93
2020-10-11T04:37:16.000Z
2022-03-24T13:18:49.000Z
android-31/src/android/telephony/gba/TlsParams.java
huangjxdev/aosp-android-jar
e22b61576b05ff7483180cb4d245921d66c26ee4
[ "MIT" ]
3
2020-10-11T04:27:44.000Z
2022-01-19T01:31:52.000Z
android-31/src/android/telephony/gba/TlsParams.java
huangjxdev/aosp-android-jar
e22b61576b05ff7483180cb4d245921d66c26ee4
[ "MIT" ]
10
2020-11-23T02:41:58.000Z
2022-03-06T00:56:52.000Z
46.624113
83
0.757073
995,061
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package android.telephony.gba; import android.annotation.IntDef; import android.annotation.SystemApi; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.util.Arrays; /** * Defines the TLS parameters for GBA as per IANA and TS 33.210, which are used * by some UA security protocol identifiers defined in 3GPP TS 33.220 Annex H, * and 3GPP TS 33.222. * * @hide */ @SystemApi public class TlsParams { private TlsParams() {} /** * TLS protocol version supported by GBA */ public static final int PROTOCOL_VERSION_TLS_1_2 = 0x0303; public static final int PROTOCOL_VERSION_TLS_1_3 = 0x0304; /** * TLS cipher suites are used to create {@link UaSecurityProtocolIdentifier} * by {@link UaSecurityProtocolIdentifier#create3GppUaSpId} * * @hide */ @Retention(RetentionPolicy.SOURCE) @IntDef( prefix = {"TLS_"}, value = { TLS_NULL_WITH_NULL_NULL, TLS_RSA_WITH_NULL_MD5, TLS_RSA_WITH_NULL_SHA, TLS_RSA_WITH_RC4_128_MD5, TLS_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_3DES_EDE_CBC_SHA, TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA, TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA, TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA, TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA, TLS_DH_ANON_WITH_RC4_128_MD5, TLS_DH_ANON_WITH_3DES_EDE_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DH_DSS_WITH_AES_128_CBC_SHA, TLS_DH_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DH_ANON_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_DH_DSS_WITH_AES_256_CBC_SHA, TLS_DH_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_DH_ANON_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_NULL_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_DH_DSS_WITH_AES_128_CBC_SHA256, TLS_DH_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DH_DSS_WITH_AES_256_CBC_SHA256, TLS_DH_RSA_WITH_AES_256_CBC_SHA256, TLS_DHE_DSS_WITH_AES_256_CBC_SHA256, TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_DH_ANON_WITH_AES_128_CBC_SHA256, TLS_DH_ANON_WITH_AES_256_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_PSK_WITH_AES_128_GCM_SHA256, TLS_DHE_PSK_WITH_AES_256_GCM_SHA384, TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256, TLS_AES_128_CCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_RSA_WITH_AES_128_CCM, TLS_DHE_RSA_WITH_AES_256_CCM, TLS_DHE_PSK_WITH_AES_128_CCM, TLS_DHE_PSK_WITH_AES_256_CCM, TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256, TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256, TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256, TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256, TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384, TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256 }) public @interface TlsCipherSuite {} // Cipher suites for TLS v1.2 per RFC5246 public static final int TLS_NULL_WITH_NULL_NULL = 0x0000; public static final int TLS_RSA_WITH_NULL_MD5 = 0x0001; public static final int TLS_RSA_WITH_NULL_SHA = 0x0002; public static final int TLS_RSA_WITH_RC4_128_MD5 = 0x0004; public static final int TLS_RSA_WITH_RC4_128_SHA = 0x0005; public static final int TLS_RSA_WITH_3DES_EDE_CBC_SHA = 0x000A; public static final int TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA = 0x000D; public static final int TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA = 0x0010; public static final int TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA = 0x0013; public static final int TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA = 0x0016; public static final int TLS_DH_ANON_WITH_RC4_128_MD5 = 0x0018; public static final int TLS_DH_ANON_WITH_3DES_EDE_CBC_SHA = 0x001B; public static final int TLS_RSA_WITH_AES_128_CBC_SHA = 0x002F; public static final int TLS_DH_DSS_WITH_AES_128_CBC_SHA = 0x0030; public static final int TLS_DH_RSA_WITH_AES_128_CBC_SHA = 0x0031; public static final int TLS_DHE_DSS_WITH_AES_128_CBC_SHA = 0x0032; public static final int TLS_DHE_RSA_WITH_AES_128_CBC_SHA = 0x0033; public static final int TLS_DH_ANON_WITH_AES_128_CBC_SHA = 0x0034; public static final int TLS_RSA_WITH_AES_256_CBC_SHA = 0x0035; public static final int TLS_DH_DSS_WITH_AES_256_CBC_SHA = 0x0036; public static final int TLS_DH_RSA_WITH_AES_256_CBC_SHA = 0x0037; public static final int TLS_DHE_DSS_WITH_AES_256_CBC_SHA = 0x0038; public static final int TLS_DHE_RSA_WITH_AES_256_CBC_SHA = 0x0039; public static final int TLS_DH_ANON_WITH_AES_256_CBC_SHA = 0x003A; public static final int TLS_RSA_WITH_NULL_SHA256 = 0x003B; public static final int TLS_RSA_WITH_AES_128_CBC_SHA256 = 0x003C; public static final int TLS_RSA_WITH_AES_256_CBC_SHA256 = 0x003D; public static final int TLS_DH_DSS_WITH_AES_128_CBC_SHA256 = 0x003E; public static final int TLS_DH_RSA_WITH_AES_128_CBC_SHA256 = 0x003F; public static final int TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 = 0x0040; public static final int TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 = 0x0067; public static final int TLS_DH_DSS_WITH_AES_256_CBC_SHA256 = 0x0068; public static final int TLS_DH_RSA_WITH_AES_256_CBC_SHA256 = 0x0069; public static final int TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 = 0x006A; public static final int TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 = 0x006B; public static final int TLS_DH_ANON_WITH_AES_128_CBC_SHA256 = 0x006C; public static final int TLS_DH_ANON_WITH_AES_256_CBC_SHA256 = 0x006D; // Cipher suites for TLS v1.3 per RFC8446 and recommended by IANA public static final int TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 = 0x009E; public static final int TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 = 0x009F; public static final int TLS_DHE_PSK_WITH_AES_128_GCM_SHA256 = 0x00AA; public static final int TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 = 0x00AB; public static final int TLS_AES_128_GCM_SHA256 = 0x1301; public static final int TLS_AES_256_GCM_SHA384 = 0x1302; public static final int TLS_CHACHA20_POLY1305_SHA256 = 0x1303; public static final int TLS_AES_128_CCM_SHA256 = 0x1304; public static final int TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = 0xC02B; public static final int TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = 0xC02C; public static final int TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = 0xC02F; public static final int TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = 0xC030; public static final int TLS_DHE_RSA_WITH_AES_128_CCM = 0xC09E; public static final int TLS_DHE_RSA_WITH_AES_256_CCM = 0xC09F; public static final int TLS_DHE_PSK_WITH_AES_128_CCM = 0xC0A6; public static final int TLS_DHE_PSK_WITH_AES_256_CCM = 0xC0A7; public static final int TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = 0xCCA8; public static final int TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 = 0xCCA9; public static final int TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = 0xCCAA; public static final int TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 = 0xCCAC; public static final int TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256 = 0xCCAD; public static final int TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256 = 0xD001; public static final int TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384 = 0xD002; public static final int TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256 = 0xD005; private static final int[] CS_EXPECTED = { TLS_NULL_WITH_NULL_NULL, TLS_RSA_WITH_NULL_MD5, TLS_RSA_WITH_NULL_SHA, TLS_RSA_WITH_RC4_128_MD5, TLS_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_3DES_EDE_CBC_SHA, TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA, TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA, TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA, TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA, TLS_DH_ANON_WITH_RC4_128_MD5, TLS_DH_ANON_WITH_3DES_EDE_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DH_DSS_WITH_AES_128_CBC_SHA, TLS_DH_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DH_ANON_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_DH_DSS_WITH_AES_256_CBC_SHA, TLS_DH_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_DH_ANON_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_NULL_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_DH_DSS_WITH_AES_128_CBC_SHA256, TLS_DH_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DH_DSS_WITH_AES_256_CBC_SHA256, TLS_DH_RSA_WITH_AES_256_CBC_SHA256, TLS_DHE_DSS_WITH_AES_256_CBC_SHA256, TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_DH_ANON_WITH_AES_128_CBC_SHA256, TLS_DH_ANON_WITH_AES_256_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_PSK_WITH_AES_128_GCM_SHA256, TLS_DHE_PSK_WITH_AES_256_GCM_SHA384, TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256, TLS_AES_128_CCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_RSA_WITH_AES_128_CCM, TLS_DHE_RSA_WITH_AES_256_CCM, TLS_DHE_PSK_WITH_AES_128_CCM, TLS_DHE_PSK_WITH_AES_256_CCM, TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256, TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256, TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256, TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256, TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256, TLS_ECDHE_PSK_WITH_AES_128_GCM_SHA256, TLS_ECDHE_PSK_WITH_AES_256_GCM_SHA384, TLS_ECDHE_PSK_WITH_AES_128_CCM_SHA256 }; /** * TLS supported groups required by TS 33.210 */ public static final int GROUP_SECP256R1 = 23; public static final int GROUP_SECP384R1 = 24; public static final int GROUP_X25519 = 29; public static final int GROUP_X448 = 30; /** * Signature algorithms shall be supported as per TS 33.210 */ public static final int SIG_RSA_PKCS1_SHA1 = 0X0201; public static final int SIG_ECDSA_SHA1 = 0X0203; public static final int SIG_RSA_PKCS1_SHA256 = 0X0401; public static final int SIG_ECDSA_SECP256R1_SHA256 = 0X0403; public static final int SIG_RSA_PKCS1_SHA256_LEGACY = 0X0420; public static final int SIG_RSA_PKCS1_SHA384 = 0X0501; public static final int SIG_ECDSA_SECP384R1_SHA384 = 0X0503; public static final int SIG_RSA_PKCS1_SHA384_LEGACY = 0X0520; public static final int SIG_RSA_PKCS1_SHA512 = 0X0601; public static final int SIG_ECDSA_SECP521R1_SHA512 = 0X0603; public static final int SIG_RSA_PKCS1_SHA512_LEGACY = 0X0620; public static final int SIG_RSA_PSS_RSAE_SHA256 = 0X0804; public static final int SIG_RSA_PSS_RSAE_SHA384 = 0X0805; public static final int SIG_RSA_PSS_RSAE_SHA512 = 0X0806; public static final int SIG_ECDSA_BRAINPOOLP256R1TLS13_SHA256 = 0X081A; public static final int SIG_ECDSA_BRAINPOOLP384R1TLS13_SHA384 = 0X081B; public static final int SIG_ECDSA_BRAINPOOLP512R1TLS13_SHA512 = 0X081C; /** * Returns whether the TLS cipher suite id is supported */ public static boolean isTlsCipherSuiteSupported(int csId) { return Arrays.binarySearch(CS_EXPECTED, csId) >= 0; } }
922f4c7d43dbaa66e24c7006f4c32592caecbed9
469
java
Java
src/main/java/de/warsteiner/jobs/utils/admincommand/AdminSubCommand.java
war-systems/UltimateJobs
5a3dd3c15a1287f7076aedb7139edb3bbee31251
[ "MIT" ]
null
null
null
src/main/java/de/warsteiner/jobs/utils/admincommand/AdminSubCommand.java
war-systems/UltimateJobs
5a3dd3c15a1287f7076aedb7139edb3bbee31251
[ "MIT" ]
null
null
null
src/main/java/de/warsteiner/jobs/utils/admincommand/AdminSubCommand.java
war-systems/UltimateJobs
5a3dd3c15a1287f7076aedb7139edb3bbee31251
[ "MIT" ]
2
2022-02-01T16:59:50.000Z
2022-02-17T12:02:16.000Z
21.318182
70
0.731343
995,062
package de.warsteiner.jobs.utils.admincommand; import org.bukkit.command.CommandSender; public abstract class AdminSubCommand { public abstract String getName(); public abstract String getUsage(); public abstract String getDescription(); public abstract void perform(CommandSender sender, String[] args); public abstract String FormatTab(); public abstract int getTabLength(); public abstract String getPermission(); }
922f4f2e5e55c7dfa9d2b90e1d9d5296643c4cc3
5,703
java
Java
core/src/main/java/com/datastax/oss/driver/api/core/CqlIdentifier.java
xiayingfeng/java-driver
cbb8194c2101cac4521e52fb007af8bfc0601c39
[ "Apache-2.0" ]
984
2015-01-03T10:17:09.000Z
2022-03-25T20:48:41.000Z
core/src/main/java/com/datastax/oss/driver/api/core/CqlIdentifier.java
xiayingfeng/java-driver
cbb8194c2101cac4521e52fb007af8bfc0601c39
[ "Apache-2.0" ]
839
2015-01-06T18:30:56.000Z
2022-02-28T14:30:25.000Z
core/src/main/java/com/datastax/oss/driver/api/core/CqlIdentifier.java
xiayingfeng/java-driver
cbb8194c2101cac4521e52fb007af8bfc0601c39
[ "Apache-2.0" ]
700
2015-01-06T18:00:19.000Z
2022-03-31T10:01:57.000Z
37.032468
126
0.697528
995,063
/* * Copyright DataStax, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.datastax.oss.driver.api.core; import com.datastax.oss.driver.internal.core.util.Strings; import com.datastax.oss.driver.shaded.guava.common.base.Preconditions; import edu.umd.cs.findbugs.annotations.NonNull; import java.io.IOException; import java.io.ObjectInputStream; import java.io.Serializable; import java.util.Locale; import net.jcip.annotations.Immutable; /** * The identifier of CQL element (keyspace, table, column, etc). * * <p>It has two representations: * * <ul> * <li>the "CQL" form, which is how you would type the identifier in a CQL query. It is * case-insensitive unless enclosed in double quotation marks; in addition, identifiers that * contain special characters (anything other than alphanumeric and underscore), or match CQL * keywords, must be double-quoted (with inner double quotes escaped as {@code ""}). * <li>the "internal" form, which is how the name is stored in Cassandra system tables. It is * lower-case for case-sensitive identifiers, and in the exact case for case-sensitive * identifiers. * </ul> * * Examples: * * <table summary="examples"> * <tr><th>Create statement</th><th>Case-sensitive?</th><th>CQL id</th><th>Internal id</th></tr> * <tr><td>CREATE TABLE t(foo int PRIMARY KEY)</td><td>No</td><td>foo</td><td>foo</td></tr> * <tr><td>CREATE TABLE t(Foo int PRIMARY KEY)</td><td>No</td><td>foo</td><td>foo</td></tr> * <tr><td>CREATE TABLE t("Foo" int PRIMARY KEY)</td><td>Yes</td><td>"Foo"</td><td>Foo</td></tr> * <tr><td>CREATE TABLE t("foo bar" int PRIMARY KEY)</td><td>Yes</td><td>"foo bar"</td><td>foo bar</td></tr> * <tr><td>CREATE TABLE t("foo""bar" int PRIMARY KEY)</td><td>Yes</td><td>"foo""bar"</td><td>foo"bar</td></tr> * <tr><td>CREATE TABLE t("create" int PRIMARY KEY)</td><td>Yes (reserved keyword)</td><td>"create"</td><td>create</td></tr> * </table> * * This class provides a common representation and avoids any ambiguity about which form the * identifier is in. Driver clients will generally want to create instances from the CQL form with * {@link #fromCql(String)}. * * <p>There is no internal caching; if you reuse the same identifiers often, consider caching them * in your application. */ @Immutable public class CqlIdentifier implements Serializable { private static final long serialVersionUID = 1; // IMPLEMENTATION NOTES: // This is used internally, and for all API methods where the overhead of requiring the client to // create an instance is acceptable (metadata, statement.getKeyspace, etc.) // One exception is named getters, where we keep raw strings with the 3.x rules. /** Creates an identifier from its {@link CqlIdentifier CQL form}. */ @NonNull public static CqlIdentifier fromCql(@NonNull String cql) { Preconditions.checkNotNull(cql, "cql must not be null"); final String internal; if (Strings.isDoubleQuoted(cql)) { internal = Strings.unDoubleQuote(cql); } else { internal = cql.toLowerCase(Locale.ROOT); Preconditions.checkArgument( !Strings.needsDoubleQuotes(internal), "Invalid CQL form [%s]: needs double quotes", cql); } return fromInternal(internal); } /** Creates an identifier from its {@link CqlIdentifier internal form}. */ @NonNull public static CqlIdentifier fromInternal(@NonNull String internal) { Preconditions.checkNotNull(internal, "internal must not be null"); return new CqlIdentifier(internal); } /** @serial */ private final String internal; private CqlIdentifier(String internal) { this.internal = internal; } /** * Returns the identifier in the "internal" format. * * @return the identifier in its exact case, unquoted. */ @NonNull public String asInternal() { return this.internal; } /** * Returns the identifier in a format appropriate for concatenation in a CQL query. * * @param pretty if {@code true}, use the shortest possible representation: if the identifier is * case-insensitive, an unquoted, lower-case string, otherwise the double-quoted form. If * {@code false}, always use the double-quoted form (this is slightly more efficient since we * don't need to inspect the string). */ @NonNull public String asCql(boolean pretty) { if (pretty) { return Strings.needsDoubleQuotes(internal) ? Strings.doubleQuote(internal) : internal; } else { return Strings.doubleQuote(internal); } } @Override public boolean equals(Object other) { if (other == this) { return true; } else if (other instanceof CqlIdentifier) { CqlIdentifier that = (CqlIdentifier) other; return this.internal.equals(that.internal); } else { return false; } } @Override public int hashCode() { return internal.hashCode(); } @Override public String toString() { return internal; } private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); Preconditions.checkNotNull(internal, "internal must not be null"); } }
922f4fe7f8baa9440a07bd65c6f5f9c507105154
1,513
java
Java
starfish-parser/src/main/java/org/metahut/starfish/parser/domain/instance/SfAttribute.java
zhuangchong/starfish
fc59c3b9bbe95d5c9bbcd996ec621fe2b2aeba14
[ "Apache-2.0" ]
1
2022-03-03T09:30:44.000Z
2022-03-03T09:30:44.000Z
starfish-parser/src/main/java/org/metahut/starfish/parser/domain/instance/SfAttribute.java
zhuangchong/starfish
fc59c3b9bbe95d5c9bbcd996ec621fe2b2aeba14
[ "Apache-2.0" ]
null
null
null
starfish-parser/src/main/java/org/metahut/starfish/parser/domain/instance/SfAttribute.java
zhuangchong/starfish
fc59c3b9bbe95d5c9bbcd996ec621fe2b2aeba14
[ "Apache-2.0" ]
null
null
null
18.45122
58
0.602115
995,064
package org.metahut.starfish.parser.domain.instance; import org.metahut.starfish.parser.domain.enums.SfRelType; /** * */ public class SfAttribute { /** * Attribute Name */ private String name; /** * class type name */ private String className; /** * class type belongs to */ private SfRelType sfRelType = SfRelType.DEFAULT; /** * Attribute Is Array Or Not */ private boolean array; //private Boolean isProxy = Boolean.FALSE; //private Boolean isIncomplete = Boolean.FALSE; //private Integer provenanceType = 0; /** * Attribute Default Value * TODO provider 序列化等问题 * TODO tag 解决 ? */ private String defaultValue; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getClassName() { return className; } public void setClassName(String className) { this.className = className; } public SfRelType getRelType() { return sfRelType; } public void setRelType(SfRelType sfRelType) { this.sfRelType = sfRelType; } public String getDefaultValue() { return defaultValue; } public void setDefaultValue(String defaultValue) { this.defaultValue = defaultValue; } public boolean isArray() { return array; } public void setArray(boolean array) { this.array = array; } }
922f50e0332f99fea3d2bae7f3da12054f9a16b9
1,612
java
Java
app/src/main/java/com/example/viewpager2/withTab/ShowFragment.java
xiangshiweiyu/ViewPagerTwoDemo
28c2dee5c09fe37a85e79fb881c4e3ef9e2ca939
[ "Apache-2.0" ]
13
2020-09-25T01:32:10.000Z
2022-02-07T09:16:20.000Z
app/src/main/java/com/example/viewpager2/withTab/ShowFragment.java
xiangshiweiyu/ViewPagerTwoDemo
28c2dee5c09fe37a85e79fb881c4e3ef9e2ca939
[ "Apache-2.0" ]
1
2022-01-28T01:33:13.000Z
2022-01-28T01:33:13.000Z
app/src/main/java/com/example/viewpager2/withTab/ShowFragment.java
xiangshiweiyu/ViewPagerTwoDemo
28c2dee5c09fe37a85e79fb881c4e3ef9e2ca939
[ "Apache-2.0" ]
5
2020-04-15T03:42:54.000Z
2022-03-06T20:04:56.000Z
32.24
111
0.718362
995,065
package com.example.viewpager2.withTab; import android.annotation.SuppressLint; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import android.os.Parcelable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.FrameLayout; import android.widget.TextView; import com.example.viewpager2.R; import java.util.ArrayList; import java.util.List; public class ShowFragment extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.fragment_show, container, false); } static ShowFragment newInstance(List<Integer> colors, int item) { Bundle bundle = new Bundle(); bundle.putSerializable("color", (ArrayList<Integer>) colors); bundle.putInt("item", item); ShowFragment fragment = new ShowFragment(); fragment.setArguments(bundle); return fragment; } @SuppressLint("SetTextI18n") @Override public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { view.<FrameLayout>findViewById(R.id.fl_show) .setBackgroundResource(((ArrayList<Integer>) getArguments() .getSerializable("color")).get(getArguments().getInt("item"))); view.<TextView>findViewById(R.id.tv_show).setText("第 " + (getArguments().getInt("item") + 1) + " 个页面"); super.onViewCreated(view, savedInstanceState); } }
922f50ec0abe8bc0951cdd53b33d0dc071afd2b7
985
java
Java
src/main/java/skaro/pokedex/service/gateway/MessageCreateDispatchRunner.java
SirSkaro/pokedex-gateway-service
b94c8764c5166ad3a8156f33e4aedb7ede089332
[ "MIT" ]
null
null
null
src/main/java/skaro/pokedex/service/gateway/MessageCreateDispatchRunner.java
SirSkaro/pokedex-gateway-service
b94c8764c5166ad3a8156f33e4aedb7ede089332
[ "MIT" ]
null
null
null
src/main/java/skaro/pokedex/service/gateway/MessageCreateDispatchRunner.java
SirSkaro/pokedex-gateway-service
b94c8764c5166ad3a8156f33e4aedb7ede089332
[ "MIT" ]
null
null
null
28.970588
97
0.814213
995,066
package skaro.pokedex.service.gateway; import java.lang.invoke.MethodHandles; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.CommandLineRunner; import org.springframework.core.Ordered; import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; import discord4j.discordjson.json.gateway.MessageCreate; import skaro.pokedex.service.gateway.dispatch.Dispatcher; @Component @Order(Ordered.HIGHEST_PRECEDENCE) public class MessageCreateDispatchRunner implements CommandLineRunner { private final static Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass()); private Dispatcher<MessageCreate> dispatcher; public MessageCreateDispatchRunner(Dispatcher<MessageCreate> dispatcher) { this.dispatcher = dispatcher; } @Override public void run(String... args) throws Exception { LOG.info("Dispatching message create events"); dispatcher.dispatch() .subscribe(); } }
922f51afbc6c34e5715bb352d3ca9d865429c409
7,690
java
Java
Sudoku/src/sudoku/Sudoku.java
MASACR99/Sudoku-Generator-Solver-
310427057ae5aa8df489b9041e6a2f85165ec1ee
[ "MIT" ]
null
null
null
Sudoku/src/sudoku/Sudoku.java
MASACR99/Sudoku-Generator-Solver-
310427057ae5aa8df489b9041e6a2f85165ec1ee
[ "MIT" ]
null
null
null
Sudoku/src/sudoku/Sudoku.java
MASACR99/Sudoku-Generator-Solver-
310427057ae5aa8df489b9041e6a2f85165ec1ee
[ "MIT" ]
null
null
null
26.794425
78
0.376853
995,067
/* * Code created by Joan Gil Rigo aka MASACR */ package sudoku; import java.util.Random; /** * * @author MASACR */ public class Sudoku { //Will empty at most 65 cells from the sudoku private static final int EMPTY = 50; public static int sudoku_generated[][]; /** * Generate a sudoku and clear with NULL a max of EMPTY cells * * @return */ public static int[][] sudokuGenerator() { int numbers[] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; int aux, aux2; int sudoku[][] = new int[9][9]; Random ran = new Random(); //Fill top-left, center and bottom-right 3x3 //Top-left square for (int i = 0; i < 9; i++) { aux = ran.nextInt(9); aux2 = numbers[i]; numbers[i] = numbers[aux]; numbers[aux] = aux2; } aux = 0; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { sudoku[i][j] = numbers[aux]; aux++; if (aux == 9) { aux = 0; } } } //Center square for (int i = 0; i < 9; i++) { aux = ran.nextInt(9); aux2 = numbers[i]; numbers[i] = numbers[aux]; numbers[aux] = aux2; } aux = 0; for (int i = 3; i < 6; i++) { for (int j = 3; j < 6; j++) { sudoku[i][j] = numbers[aux]; aux++; if (aux == 9) { aux = 0; } } } //Bottom-right square for (int i = 0; i < 9; i++) { aux = ran.nextInt(9); aux2 = numbers[i]; numbers[i] = numbers[aux]; numbers[aux] = aux2; } aux = 0; for (int i = 6; i < 9; i++) { for (int j = 6; j < 9; j++) { sudoku[i][j] = numbers[aux]; aux++; if (aux == 9) { aux = 0; } } } //Fill rest of sudoku with recursive function recursive_fill(sudoku, 0, 3); //Saving the complete sudoku for comparing both results sudoku_generated = sudoku; //Empty a max of EMPTY from the sudoku empt(sudoku); for(int i = 0; i < 9; i++){ for(int j = 0; j < 9; j++){ System.out.print(sudoku[i][j]); } System.out.println(); } return sudoku; } /** * Empties some part of th sudoku, a max of Empty so it stays solvable * @param sudoku */ private static void empt(int[][] sudoku) { Random ran = new Random(); for (int i = 0; i < EMPTY; i++) { sudoku[ran.nextInt(9)][ran.nextInt(9)] = 0; } } /** * Recursive function to fill the remaining gaps * @param sudoku * @param i * @param j * @return */ private static boolean recursive_fill(int[][] sudoku, int i, int j) { if (j == 9 && i < 9) { i = i + 1; j = 0; } if (j == 9 && i == 9) { return true; } if (i < 3) { if (j < 3) { j = 3; } } else if (i < 6) { if (j > 2 && j < 6) { j = j + 3; } } else { if (j == 6) { i++; j = 0; if (i == 9) { return true; } } } //fill and check, then call recursive for (int z = 1; z <= 9; z++) { if (checker(i,j,z,sudoku)) { sudoku[i][j] = z; if (recursive_fill(sudoku, i, j + 1)) { return true; } else { sudoku[i][j] = 0; } } } sudoku[i][j] = 0; return false; } /** * Checks if the number will fit correctly on a row * @param i * @param num * @param sudoku * @return */ private static boolean usedRow(int i, int num, int[][]sudoku){ for (int j = 0; j<9; j++) if (sudoku[i][j] == num){ return false; } return true; } /** * Checks if the number will fit correctly on a column * @param j * @param num * @param sudoku * @return */ private static boolean usedCol(int j, int num, int[][]sudoku){ for (int i = 0; i<9; i++) if (sudoku[i][j] == num){ return false; } return true; } /** * Checks if the number will fit correclty on a 3x3 square * @param x * @param y * @param num * @param sudoku * @return */ private static boolean checkSquare(int x, int y, int num, int[][]sudoku){ int square_x = 0; int square_y = 0; if (x < 3) { square_x = 0; } else if (x < 6) { square_x = 3; } else if (x < 9) { square_x = 6; } //Find where Y falls if (y < 3) { square_y = 0; } else if (y < 6) { square_y = 3; } else if (y < 9) { square_y = 6; } //Check squares for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { if ((i + square_x) != x && (j + square_y) != y) { if (sudoku[i + square_x][j + square_y] == num) { return false; } } } } return true; } /** * Checks if a number will fit on a row, column and 3x3 square * @param i * @param j * @param num * @param sudoku * @return */ public static boolean checker(int i, int j, int num, int[][] sudoku){ if(usedRow(i,num,sudoku)){ if(usedCol(j, num, sudoku)){ if(checkSquare(i,j,num,sudoku)){ return true; } } } return false; } /** * This bad boi can solve so many 9x9 sudokus! * (I'm planning on making it a variable width/length solver, just being * veeeeeery lazy about it) * @param sudoku * @param i * @param j * @return */ public static boolean sudokuSolver9000(int[][] sudoku, int i, int j) { if (j >= 9 && i >= 9) { return true; } if (j >= 9 && i < 9) { i = i + 1; j = 0; } if(i >= 9){ return true; } if (sudoku[i][j] != 0) { return(sudokuSolver9000(sudoku, i, j + 1)); } else { for (int z = 1; z <= 9; z++) { if (checker(i,j,z,sudoku)) { sudoku[i][j] = z; if (sudokuSolver9000(sudoku, i, j + 1)) { return true; } sudoku[i][j] = 0; } } return false; } } /** * Just calls the user interface, located on another class * @param args */ public static void main(String[] args) { UI ui = new UI(); } }
922f526fe3538c8ba9d5394f0ca0af4fdf52224c
520
java
Java
ballcat-admin/ballcat-admin-websocket/src/main/java/com/hccake/ballcat/admin/websocket/constant/AdminWebSocketConstants.java
shaojson/ballcat
1d4a7c96242398747b24e83146347ce181a34250
[ "MIT" ]
432
2021-03-30T15:38:12.000Z
2022-03-31T12:55:26.000Z
ballcat-admin/ballcat-admin-websocket/src/main/java/com/hccake/ballcat/admin/websocket/constant/AdminWebSocketConstants.java
shaojson/ballcat
1d4a7c96242398747b24e83146347ce181a34250
[ "MIT" ]
35
2021-04-13T08:01:58.000Z
2022-03-31T01:30:35.000Z
ballcat-admin/ballcat-admin-websocket/src/main/java/com/hccake/ballcat/admin/websocket/constant/AdminWebSocketConstants.java
shaojson/ballcat
1d4a7c96242398747b24e83146347ce181a34250
[ "MIT" ]
113
2021-03-30T15:38:14.000Z
2022-03-29T15:07:12.000Z
20.8
77
0.755769
995,068
package com.hccake.ballcat.admin.websocket.constant; import org.springframework.security.oauth2.common.OAuth2AccessToken; /** * @author Hccake 2021/1/5 * @version 1.0 */ public final class AdminWebSocketConstants { private AdminWebSocketConstants() { } /** * 存储在 WebSocketSession Attribute 中的 token 属性名 */ public static final String TOKEN_ATTR_NAME = OAuth2AccessToken.ACCESS_TOKEN; /** * 存储在 WebSocketSession Attribute 中的 用户唯一标识 属性名 */ public static final String USER_KEY_ATTR_NAME = "userId"; }
922f52c20598aeb0789d4e08691dd14a694895f5
2,455
java
Java
apksigner/src/main/java/com/android/apksig/internal/x509/TBSCertificate.java
fengjixuchui/Xpatch
4ada32b093bf75a55b51e5eb7dc59e76a7040fdc
[ "Apache-2.0" ]
617
2017-03-08T00:57:51.000Z
2022-03-30T10:08:42.000Z
apksigner/src/main/java/com/android/apksig/internal/x509/TBSCertificate.java
fengjixuchui/Xpatch
4ada32b093bf75a55b51e5eb7dc59e76a7040fdc
[ "Apache-2.0" ]
9
2017-07-25T13:34:51.000Z
2021-09-14T03:14:40.000Z
apksigner/src/main/java/com/android/apksig/internal/x509/TBSCertificate.java
fengjixuchui/Xpatch
4ada32b093bf75a55b51e5eb7dc59e76a7040fdc
[ "Apache-2.0" ]
134
2017-03-18T09:11:06.000Z
2022-03-25T00:51:14.000Z
30.6875
75
0.687576
995,069
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.apksig.internal.x509; import com.android.apksig.internal.asn1.Asn1Class; import com.android.apksig.internal.asn1.Asn1Field; import com.android.apksig.internal.asn1.Asn1Type; import com.android.apksig.internal.asn1.Asn1Tagging; import com.android.apksig.internal.pkcs7.AlgorithmIdentifier; import java.math.BigInteger; import java.nio.ByteBuffer; import java.util.List; /** * To Be Signed Certificate as specified in RFC 5280. */ @Asn1Class(type = Asn1Type.SEQUENCE) public class TBSCertificate { @Asn1Field( index = 0, type = Asn1Type.INTEGER, tagging = Asn1Tagging.EXPLICIT, tagNumber = 0) public int version; @Asn1Field(index = 1, type = Asn1Type.INTEGER) public BigInteger serialNumber; @Asn1Field(index = 2, type = Asn1Type.SEQUENCE) public AlgorithmIdentifier signatureAlgorithm; @Asn1Field(index = 3, type = Asn1Type.CHOICE) public Name issuer; @Asn1Field(index = 4, type = Asn1Type.SEQUENCE) public Validity validity; @Asn1Field(index = 5, type = Asn1Type.CHOICE) public Name subject; @Asn1Field(index = 6, type = Asn1Type.SEQUENCE) public SubjectPublicKeyInfo subjectPublicKeyInfo; @Asn1Field(index = 7, type = Asn1Type.BIT_STRING, tagging = Asn1Tagging.IMPLICIT, optional = true, tagNumber = 1) public ByteBuffer issuerUniqueID; @Asn1Field(index = 8, type = Asn1Type.BIT_STRING, tagging = Asn1Tagging.IMPLICIT, optional = true, tagNumber = 2) public ByteBuffer subjectUniqueID; @Asn1Field(index = 9, type = Asn1Type.SEQUENCE_OF, tagging = Asn1Tagging.EXPLICIT, optional = true, tagNumber = 3) public List<Extension> extensions; }
922f5453641fdfa03df78f6d8993e98d85348847
8,113
java
Java
src/main/java/pro/gravit/launchermodules/simplecabinet/providers/CabinetHWIDProvider.java
SimpleCabinet/SimpleCabinetBackend
55984ede00365da331ffc5d83081ab36e76ad419
[ "MIT" ]
4
2021-01-05T05:36:12.000Z
2021-10-16T13:28:24.000Z
src/main/java/pro/gravit/launchermodules/simplecabinet/providers/CabinetHWIDProvider.java
SimpleCabinet/SimpleCabinetBackend
55984ede00365da331ffc5d83081ab36e76ad419
[ "MIT" ]
10
2020-12-27T13:23:03.000Z
2021-02-09T12:40:40.000Z
src/main/java/pro/gravit/launchermodules/simplecabinet/providers/CabinetHWIDProvider.java
SimpleCabinet/SimpleCabinetBackend
55984ede00365da331ffc5d83081ab36e76ad419
[ "MIT" ]
2
2021-01-06T20:56:03.000Z
2021-01-17T15:58:26.000Z
45.072222
172
0.601504
995,070
package pro.gravit.launchermodules.simplecabinet.providers; import pro.gravit.launcher.request.secure.HardwareReportRequest; import pro.gravit.launchermodules.simplecabinet.SimpleCabinetDAOProvider; import pro.gravit.launchermodules.simplecabinet.SimpleCabinetModule; import pro.gravit.launchermodules.simplecabinet.dao.SimpleCabinetHwidDAO; import pro.gravit.launchermodules.simplecabinet.dao.SimpleCabinetUserDAO; import pro.gravit.launchermodules.simplecabinet.model.HardwareId; import pro.gravit.launchermodules.simplecabinet.model.HardwareIdLogEntity; import pro.gravit.launchermodules.simplecabinet.model.User; import pro.gravit.launchserver.LaunchServer; import pro.gravit.launchserver.Reconfigurable; import pro.gravit.launchserver.auth.protect.hwid.HWIDException; import pro.gravit.launchserver.auth.protect.hwid.HWIDProvider; import pro.gravit.launchserver.socket.Client; import pro.gravit.utils.command.Command; import pro.gravit.utils.command.SubCommand; import pro.gravit.utils.helper.LogHelper; import java.util.HashMap; import java.util.Map; public class CabinetHWIDProvider extends HWIDProvider implements Reconfigurable { public double criticalCompareLevel = 1.0; private transient SimpleCabinetModule module; private transient SimpleCabinetHwidDAO hwidDAO; private transient SimpleCabinetUserDAO userDAO; private transient LaunchServer server; @Override public void init(LaunchServer server) { this.server = server; module = server.modulesManager.getModule(SimpleCabinetModule.class); hwidDAO = ((SimpleCabinetDAOProvider) server.config.dao).hwidDAO; userDAO = (SimpleCabinetUserDAO) server.config.dao.userDAO; } @Override public HardwareReportRequest.HardwareInfo findHardwareInfoByPublicKey(byte[] bytes, Client client) throws HWIDException { HardwareId id = hwidDAO.findByPublicKey(bytes); if (id != null && id.isBanned()) { throw new SecurityException("Your HWID banned"); } if (client.daoObject != null) { User user = (User) client.daoObject; user.setHardwareId(id); userDAO.update(user); } return id == null ? null : id.toHardwareInfo(); } @Override public void createHardwareInfo(HardwareReportRequest.HardwareInfo hardwareInfo, byte[] bytes, Client client) throws HWIDException { HardwareId hardwareId = new HardwareId(); hardwareId.loadFromHardwareInfo(hardwareInfo); hardwareId.setPublicKey(bytes); hwidDAO.save(hardwareId); hwidDAO.saveLog(new HardwareIdLogEntity(hardwareId, bytes)); if (client.daoObject != null) { User user = (User) client.daoObject; user.setHardwareId(hardwareId); userDAO.update(user); } } @Override public boolean addPublicKeyToHardwareInfo(HardwareReportRequest.HardwareInfo hardwareInfo, byte[] bytes, Client client) throws HWIDException { if (client.daoObject == null) { throw new SecurityException("Your account not connected to cabinet"); } HardwareId id = hwidDAO.findHardwareForAll((hwid) -> { HardwareInfoCompareResult result = compareHardwareInfo(hwid.toHardwareInfo(), hardwareInfo); return result.compareLevel > criticalCompareLevel; }); if (id == null) return false; if (id.isBanned()) { throw new SecurityException("Your HWID banned"); } id.setPublicKey(bytes); hwidDAO.update(id); hwidDAO.saveLog(new HardwareIdLogEntity(id, bytes)); if (client.daoObject != null) { User user = (User) client.daoObject; user.setHardwareId(id); userDAO.update(user); return true; } return false; } @Override public Map<String, Command> getCommands() { Map<String, Command> result = new HashMap<>(); result.put("hardwareban", new SubCommand() { @Override public void invoke(String... strings) throws Exception { verifyArgs(strings, 1); User user = userDAO.findByUsername(strings[0]); if (user == null) { throw new IllegalArgumentException(String.format("User %s not found", strings[0])); } HardwareId id = userDAO.fetchHardwareId(user); if (id == null) { LogHelper.error("User hwid not found"); return; } if (id.isBanned()) { LogHelper.info("User %s already banned", user.getUsername()); } else { id.setBanned(true); hwidDAO.update(id); LogHelper.info("User %s banned", user.getUsername()); } } }); result.put("hardwareunban", new SubCommand() { @Override public void invoke(String... strings) throws Exception { verifyArgs(strings, 1); User user = userDAO.findByUsername(strings[0]); if (user == null) { throw new IllegalArgumentException(String.format("User %s not found", strings[0])); } HardwareId id = userDAO.fetchHardwareId(user); if (id == null) { LogHelper.error("User hwid not found"); return; } if (!id.isBanned()) { LogHelper.info("User %s not banned", user.getUsername()); } else { id.setBanned(false); hwidDAO.update(id); LogHelper.info("User %s unbanned", user.getUsername()); } } }); result.put("hardwareinfo", new SubCommand() { @Override public void invoke(String... strings) throws Exception { verifyArgs(strings, 1); User user = userDAO.findByUsername(strings[0]); if (user == null) { throw new IllegalArgumentException(String.format("User %s not found", strings[0])); } HardwareId id = userDAO.fetchHardwareId(user); String username = user.getUsername(); if (id == null) { LogHelper.error("User hwid not found"); return; } LogHelper.info("[%s] baseboardSerialNumber: %s", username, id.getBaseboardSerialNumber() == null ? "null" : id.getBaseboardSerialNumber()); LogHelper.info("[%s] hwDiskId: %s", username, id.getHwDiskId() == null ? "null" : id.getHwDiskId()); LogHelper.info("[%s] Processor: %d freq ( %d cores %d threads)", username, id.getProcessorMaxFreq(), id.getPhysicalProcessors(), id.getLogicalProcessors()); LogHelper.info("[%s] Memory %d bytes ( %.2f GBytes )", username, id.getTotalMemory(), (double) id.getTotalMemory() / (1 << 30)); } }); result.put("hardwarecompare", new SubCommand() { @Override public void invoke(String... strings) throws Exception { verifyArgs(strings, 2); HardwareId id1 = hwidDAO.findById(Integer.parseInt(strings[0])); HardwareId id2 = hwidDAO.findById(Integer.parseInt(strings[1])); if (id1 == null) { LogHelper.error("First HWID not found"); return; } if (id2 == null) { LogHelper.error("Second HWID not found"); return; } HardwareInfoCompareResult data = compareHardwareInfo(id1.toHardwareInfo(), id2.toHardwareInfo()); LogHelper.info("compareLevel %.3f, spoofLevels: %.3f first | %.3f second", data.compareLevel, data.firstSpoofingLevel, data.secondSpoofingLevel); } }); return result; } }
922f54c58c490a5388e0b7c6ede434569e8b82d9
179
java
Java
app/src/main/java/com/tiger/quicknews/wedget/city/ContactItemInterface.java
JackChen1999/News
24ae3513966713db14bd9dd99c37e4f6e1c07913
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/tiger/quicknews/wedget/city/ContactItemInterface.java
JackChen1999/News
24ae3513966713db14bd9dd99c37e4f6e1c07913
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/tiger/quicknews/wedget/city/ContactItemInterface.java
JackChen1999/News
24ae3513966713db14bd9dd99c37e4f6e1c07913
[ "Apache-2.0" ]
null
null
null
16.272727
40
0.776536
995,071
package com.tiger.quicknews.wedget.city; public interface ContactItemInterface { // 根据该字段来排序 public String getItemForIndex(); // 该字段用来显示出来 public String getDisplayInfo(); }
922f5601d5ed8c520b29b0b1d2de0d3904202aae
2,500
java
Java
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/workflowspecificationbeans/WorkflowSpecifications.java
sharmajiii/so
174f48bee127c51f98ec6054f72be7567e0d8073
[ "Apache-2.0" ]
16
2018-05-04T20:47:02.000Z
2021-10-15T15:01:14.000Z
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/workflowspecificationbeans/WorkflowSpecifications.java
sharmajiii/so
174f48bee127c51f98ec6054f72be7567e0d8073
[ "Apache-2.0" ]
4
2020-07-28T01:56:20.000Z
2021-02-10T09:01:46.000Z
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/workflowspecificationbeans/WorkflowSpecifications.java
sharmajiii/so
174f48bee127c51f98ec6054f72be7567e0d8073
[ "Apache-2.0" ]
22
2018-06-13T01:40:03.000Z
2022-03-22T10:06:08.000Z
37.878788
105
0.664
995,072
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ============LICENSE_END========================================================= */ package org.onap.so.apihandlerinfra.workflowspecificationbeans; import java.util.List; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({"workflowSpecificationList"}) public class WorkflowSpecifications { @JsonProperty("workflowSpecificationList") private List<WorkflowSpecificationList> workflowSpecificationList = null; /** * No args constructor for use in serialization * */ public WorkflowSpecifications() {} /** * * @param workflowSpecificationList */ public WorkflowSpecifications(List<WorkflowSpecificationList> workflowSpecificationList) { super(); this.workflowSpecificationList = workflowSpecificationList; } @JsonProperty("workflowSpecificationList") public List<WorkflowSpecificationList> getWorkflowSpecificationList() { return workflowSpecificationList; } @JsonProperty("workflowSpecificationList") public void setWorkflowSpecificationList(List<WorkflowSpecificationList> workflowSpecificationList) { this.workflowSpecificationList = workflowSpecificationList; } public WorkflowSpecifications withWorkflowSpecificationList( List<WorkflowSpecificationList> workflowSpecificationList) { this.workflowSpecificationList = workflowSpecificationList; return this; } }
922f566917f352441db341447f95d50ef16f37d8
367,624
java
Java
app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r/com/example/android/quakereport/R.java
brofjst/earthquake
5862dc3e13d359d629cd8427ce2f97643f06b54d
[ "Apache-2.0" ]
null
null
null
app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r/com/example/android/quakereport/R.java
brofjst/earthquake
5862dc3e13d359d629cd8427ce2f97643f06b54d
[ "Apache-2.0" ]
null
null
null
app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r/com/example/android/quakereport/R.java
brofjst/earthquake
5862dc3e13d359d629cd8427ce2f97643f06b54d
[ "Apache-2.0" ]
null
null
null
51.509598
181
0.665375
995,073
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.example.android.quakereport; public final class R { public static final class anim { public static final int abc_fade_in=0x7f010000; public static final int abc_fade_out=0x7f010001; public static final int abc_grow_fade_in_from_bottom=0x7f010002; public static final int abc_popup_enter=0x7f010003; public static final int abc_popup_exit=0x7f010004; public static final int abc_shrink_fade_out_from_bottom=0x7f010005; public static final int abc_slide_in_bottom=0x7f010006; public static final int abc_slide_in_top=0x7f010007; public static final int abc_slide_out_bottom=0x7f010008; public static final int abc_slide_out_top=0x7f010009; } public static final class array { public static final int settings_order_by_labels=0x7f020000; public static final int settings_order_by_values=0x7f020001; } public static final class attr { /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarDivider=0x7f030000; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarItemBackground=0x7f030001; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarPopupTheme=0x7f030002; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap_content</td><td>0</td><td></td></tr> * </table> */ public static final int actionBarSize=0x7f030003; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarSplitStyle=0x7f030004; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarStyle=0x7f030005; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarTabBarStyle=0x7f030006; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarTabStyle=0x7f030007; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarTabTextStyle=0x7f030008; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarTheme=0x7f030009; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionBarWidgetTheme=0x7f03000a; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionButtonStyle=0x7f03000b; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionDropDownStyle=0x7f03000c; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionLayout=0x7f03000d; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionMenuTextAppearance=0x7f03000e; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int actionMenuTextColor=0x7f03000f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeBackground=0x7f030010; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeCloseButtonStyle=0x7f030011; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeCloseDrawable=0x7f030012; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeCopyDrawable=0x7f030013; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeCutDrawable=0x7f030014; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeFindDrawable=0x7f030015; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModePasteDrawable=0x7f030016; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModePopupWindowStyle=0x7f030017; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeSelectAllDrawable=0x7f030018; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeShareDrawable=0x7f030019; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeSplitBackground=0x7f03001a; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeStyle=0x7f03001b; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionModeWebSearchDrawable=0x7f03001c; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionOverflowButtonStyle=0x7f03001d; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int actionOverflowMenuStyle=0x7f03001e; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int actionProviderClass=0x7f03001f; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int actionViewClass=0x7f030020; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int activityChooserViewStyle=0x7f030021; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int alertDialogButtonGroupStyle=0x7f030022; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int alertDialogCenterButtons=0x7f030023; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int alertDialogStyle=0x7f030024; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int alertDialogTheme=0x7f030025; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int allowStacking=0x7f030026; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int arrowHeadLength=0x7f030027; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int arrowShaftLength=0x7f030028; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int autoCompleteTextViewStyle=0x7f030029; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int background=0x7f03002a; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int backgroundSplit=0x7f03002b; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int backgroundStacked=0x7f03002c; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int backgroundTint=0x7f03002d; /** * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>multiply</td><td>e</td><td></td></tr> * <tr><td>screen</td><td>f</td><td></td></tr> * <tr><td>src_atop</td><td>9</td><td></td></tr> * <tr><td>src_in</td><td>5</td><td></td></tr> * <tr><td>src_over</td><td>3</td><td></td></tr> * </table> */ public static final int backgroundTintMode=0x7f03002e; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int barLength=0x7f03002f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int borderlessButtonStyle=0x7f030030; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonBarButtonStyle=0x7f030031; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonBarNegativeButtonStyle=0x7f030032; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonBarNeutralButtonStyle=0x7f030033; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonBarPositiveButtonStyle=0x7f030034; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonBarStyle=0x7f030035; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonPanelSideLayout=0x7f030036; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonStyle=0x7f030037; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int buttonStyleSmall=0x7f030038; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int buttonTint=0x7f030039; /** * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>multiply</td><td>e</td><td></td></tr> * <tr><td>screen</td><td>f</td><td></td></tr> * <tr><td>src_atop</td><td>9</td><td></td></tr> * <tr><td>src_in</td><td>5</td><td></td></tr> * <tr><td>src_over</td><td>3</td><td></td></tr> * </table> */ public static final int buttonTintMode=0x7f03003a; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int checkboxStyle=0x7f03003b; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int checkedTextViewStyle=0x7f03003c; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int closeIcon=0x7f03003d; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int closeItemLayout=0x7f03003e; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int collapseContentDescription=0x7f03003f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int collapseIcon=0x7f030040; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int color=0x7f030041; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorAccent=0x7f030042; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorButtonNormal=0x7f030043; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorControlActivated=0x7f030044; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorControlHighlight=0x7f030045; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorControlNormal=0x7f030046; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorPrimary=0x7f030047; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorPrimaryDark=0x7f030048; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int colorSwitchThumbNormal=0x7f030049; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int commitIcon=0x7f03004a; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int contentInsetEnd=0x7f03004b; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int contentInsetLeft=0x7f03004c; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int contentInsetRight=0x7f03004d; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int contentInsetStart=0x7f03004e; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int controlBackground=0x7f03004f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int customNavigationLayout=0x7f030050; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int defaultQueryHint=0x7f030051; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int dialogPreferredPadding=0x7f030052; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int dialogTheme=0x7f030053; /** * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>disableHome</td><td>20</td><td></td></tr> * <tr><td>homeAsUp</td><td>4</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>showCustom</td><td>10</td><td></td></tr> * <tr><td>showHome</td><td>2</td><td></td></tr> * <tr><td>showTitle</td><td>8</td><td></td></tr> * <tr><td>useLogo</td><td>1</td><td></td></tr> * </table> */ public static final int displayOptions=0x7f030054; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int divider=0x7f030055; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int dividerHorizontal=0x7f030056; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int dividerPadding=0x7f030057; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int dividerVertical=0x7f030058; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int drawableSize=0x7f030059; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int drawerArrowStyle=0x7f03005a; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int dropDownListViewStyle=0x7f03005b; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int dropdownListPreferredItemHeight=0x7f03005c; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int editTextBackground=0x7f03005d; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <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=0x7f03005e; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int editTextStyle=0x7f03005f; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int elevation=0x7f030060; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int expandActivityOverflowButtonDrawable=0x7f030061; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int gapBetweenBars=0x7f030062; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int goIcon=0x7f030063; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int height=0x7f030064; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int hideOnContentScroll=0x7f030065; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int homeAsUpIndicator=0x7f030066; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int homeLayout=0x7f030067; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int icon=0x7f030068; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int iconifiedByDefault=0x7f030069; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int imageButtonStyle=0x7f03006a; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int indeterminateProgressStyle=0x7f03006b; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int initialActivityCount=0x7f03006c; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int isLightTheme=0x7f03006d; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int itemPadding=0x7f03006e; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int layout=0x7f03006f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int listChoiceBackgroundIndicator=0x7f030070; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int listDividerAlertDialog=0x7f030071; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int listItemLayout=0x7f030072; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int listLayout=0x7f030073; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int listPopupWindowStyle=0x7f030074; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int listPreferredItemHeight=0x7f030075; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int listPreferredItemHeightLarge=0x7f030076; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int listPreferredItemHeightSmall=0x7f030077; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int listPreferredItemPaddingLeft=0x7f030078; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int listPreferredItemPaddingRight=0x7f030079; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int logo=0x7f03007a; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int logoDescription=0x7f03007b; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int maxButtonHeight=0x7f03007c; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int measureWithLargestChild=0x7f03007d; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int multiChoiceItemLayout=0x7f03007e; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int navigationContentDescription=0x7f03007f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int navigationIcon=0x7f030080; /** * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>listMode</td><td>1</td><td></td></tr> * <tr><td>normal</td><td>0</td><td></td></tr> * <tr><td>tabMode</td><td>2</td><td></td></tr> * </table> */ public static final int navigationMode=0x7f030081; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int overlapAnchor=0x7f030082; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int paddingEnd=0x7f030083; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int paddingStart=0x7f030084; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int panelBackground=0x7f030085; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int panelMenuListTheme=0x7f030086; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int panelMenuListWidth=0x7f030087; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int popupMenuStyle=0x7f030088; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int popupTheme=0x7f030089; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int popupWindowStyle=0x7f03008a; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int preserveIconSpacing=0x7f03008b; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int progressBarPadding=0x7f03008c; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int progressBarStyle=0x7f03008d; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int queryBackground=0x7f03008e; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int queryHint=0x7f03008f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int radioButtonStyle=0x7f030090; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int ratingBarStyle=0x7f030091; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int ratingBarStyleIndicator=0x7f030092; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int ratingBarStyleSmall=0x7f030093; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int searchHintIcon=0x7f030094; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int searchIcon=0x7f030095; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int searchViewStyle=0x7f030096; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int seekBarStyle=0x7f030097; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int selectableItemBackground=0x7f030098; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int selectableItemBackgroundBorderless=0x7f030099; /** * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>always</td><td>2</td><td></td></tr> * <tr><td>collapseActionView</td><td>8</td><td></td></tr> * <tr><td>ifRoom</td><td>1</td><td></td></tr> * <tr><td>never</td><td>0</td><td></td></tr> * <tr><td>withText</td><td>4</td><td></td></tr> * </table> */ public static final int showAsAction=0x7f03009a; /** * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>beginning</td><td>1</td><td></td></tr> * <tr><td>end</td><td>4</td><td></td></tr> * <tr><td>middle</td><td>2</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * </table> */ public static final int showDividers=0x7f03009b; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int showText=0x7f03009c; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int singleChoiceItemLayout=0x7f03009d; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int spinBars=0x7f03009e; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int spinnerDropDownItemStyle=0x7f03009f; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int spinnerStyle=0x7f0300a0; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int splitTrack=0x7f0300a1; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int srcCompat=0x7f0300a2; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int state_above_anchor=0x7f0300a3; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int submitBackground=0x7f0300a4; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int subtitle=0x7f0300a5; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int subtitleTextAppearance=0x7f0300a6; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int subtitleTextColor=0x7f0300a7; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int subtitleTextStyle=0x7f0300a8; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int suggestionRowLayout=0x7f0300a9; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int switchMinWidth=0x7f0300aa; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int switchPadding=0x7f0300ab; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int switchStyle=0x7f0300ac; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int switchTextAppearance=0x7f0300ad; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int textAllCaps=0x7f0300ae; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceLargePopupMenu=0x7f0300af; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceListItem=0x7f0300b0; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceListItemSmall=0x7f0300b1; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceSearchResultSubtitle=0x7f0300b2; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceSearchResultTitle=0x7f0300b3; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int textAppearanceSmallPopupMenu=0x7f0300b4; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int textColorAlertDialogListItem=0x7f0300b5; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int textColorSearchUrl=0x7f0300b6; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int theme=0x7f0300b7; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int thickness=0x7f0300b8; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int thumbTextPadding=0x7f0300b9; /** * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; */ public static final int title=0x7f0300ba; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int titleMarginBottom=0x7f0300bb; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int titleMarginEnd=0x7f0300bc; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int titleMarginStart=0x7f0300bd; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int titleMarginTop=0x7f0300be; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). */ public static final int titleMargins=0x7f0300bf; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int titleTextAppearance=0x7f0300c0; /** * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". */ public static final int titleTextColor=0x7f0300c1; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int titleTextStyle=0x7f0300c2; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int toolbarNavigationButtonStyle=0x7f0300c3; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int toolbarStyle=0x7f0300c4; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int track=0x7f0300c5; /** * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". */ public static final int voiceIcon=0x7f0300c6; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int windowActionBar=0x7f0300c7; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int windowActionBarOverlay=0x7f0300c8; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int windowActionModeOverlay=0x7f0300c9; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. */ public static final int windowFixedHeightMajor=0x7f0300ca; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. */ public static final int windowFixedHeightMinor=0x7f0300cb; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. */ public static final int windowFixedWidthMajor=0x7f0300cc; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. */ public static final int windowFixedWidthMinor=0x7f0300cd; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. */ public static final int windowMinWidthMajor=0x7f0300ce; /** * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. */ public static final int windowMinWidthMinor=0x7f0300cf; /** * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". */ public static final int windowNoTitle=0x7f0300d0; } public static final class bool { public static final int abc_action_bar_embed_tabs=0x7f040000; public static final int abc_action_bar_embed_tabs_pre_jb=0x7f040001; public static final int abc_action_bar_expanded_action_views_exclusive=0x7f040002; public static final int abc_allow_stacked_button_bar=0x7f040003; public static final int abc_config_actionMenuItemAllCaps=0x7f040004; public static final int abc_config_allowActionMenuItemTextWithIcon=0x7f040005; public static final int abc_config_closeDialogWhenTouchOutside=0x7f040006; public static final int abc_config_showMenuShortcutsWhenKeyboardPresent=0x7f040007; } public static final class color { public static final int abc_background_cache_hint_selector_material_dark=0x7f050000; public static final int abc_background_cache_hint_selector_material_light=0x7f050001; public static final int abc_color_highlight_material=0x7f050002; public static final int abc_input_method_navigation_guard=0x7f050003; public static final int abc_primary_text_disable_only_material_dark=0x7f050004; public static final int abc_primary_text_disable_only_material_light=0x7f050005; public static final int abc_primary_text_material_dark=0x7f050006; public static final int abc_primary_text_material_light=0x7f050007; public static final int abc_search_url_text=0x7f050008; public static final int abc_search_url_text_normal=0x7f050009; public static final int abc_search_url_text_pressed=0x7f05000a; public static final int abc_search_url_text_selected=0x7f05000b; public static final int abc_secondary_text_material_dark=0x7f05000c; public static final int abc_secondary_text_material_light=0x7f05000d; public static final int accent_material_dark=0x7f05000e; public static final int accent_material_light=0x7f05000f; public static final int background_floating_material_dark=0x7f050010; public static final int background_floating_material_light=0x7f050011; public static final int background_material_dark=0x7f050012; public static final int background_material_light=0x7f050013; public static final int bright_foreground_disabled_material_dark=0x7f050014; public static final int bright_foreground_disabled_material_light=0x7f050015; public static final int bright_foreground_inverse_material_dark=0x7f050016; public static final int bright_foreground_inverse_material_light=0x7f050017; public static final int bright_foreground_material_dark=0x7f050018; public static final int bright_foreground_material_light=0x7f050019; public static final int button_material_dark=0x7f05001a; public static final int button_material_light=0x7f05001b; public static final int colorAccent=0x7f05001c; public static final int colorPrimary=0x7f05001d; public static final int colorPrimaryDark=0x7f05001e; public static final int dim_foreground_disabled_material_dark=0x7f05001f; public static final int dim_foreground_disabled_material_light=0x7f050020; public static final int dim_foreground_material_dark=0x7f050021; public static final int dim_foreground_material_light=0x7f050022; public static final int foreground_material_dark=0x7f050023; public static final int foreground_material_light=0x7f050024; public static final int highlighted_text_material_dark=0x7f050025; public static final int highlighted_text_material_light=0x7f050026; public static final int hint_foreground_material_dark=0x7f050027; public static final int hint_foreground_material_light=0x7f050028; public static final int magnitude1=0x7f050029; public static final int magnitude10plus=0x7f05002a; public static final int magnitude2=0x7f05002b; public static final int magnitude3=0x7f05002c; public static final int magnitude4=0x7f05002d; public static final int magnitude5=0x7f05002e; public static final int magnitude6=0x7f05002f; public static final int magnitude7=0x7f050030; public static final int magnitude8=0x7f050031; public static final int magnitude9=0x7f050032; public static final int material_blue_grey_800=0x7f050033; public static final int material_blue_grey_900=0x7f050034; public static final int material_blue_grey_950=0x7f050035; public static final int material_deep_teal_200=0x7f050036; public static final int material_deep_teal_500=0x7f050037; public static final int material_grey_100=0x7f050038; public static final int material_grey_300=0x7f050039; public static final int material_grey_50=0x7f05003a; public static final int material_grey_600=0x7f05003b; public static final int material_grey_800=0x7f05003c; public static final int material_grey_850=0x7f05003d; public static final int material_grey_900=0x7f05003e; public static final int primary_dark_material_dark=0x7f05003f; public static final int primary_dark_material_light=0x7f050040; public static final int primary_material_dark=0x7f050041; public static final int primary_material_light=0x7f050042; public static final int primary_text_default_material_dark=0x7f050043; public static final int primary_text_default_material_light=0x7f050044; public static final int primary_text_disabled_material_dark=0x7f050045; public static final int primary_text_disabled_material_light=0x7f050046; public static final int ripple_material_dark=0x7f050047; public static final int ripple_material_light=0x7f050048; public static final int secondary_text_default_material_dark=0x7f050049; public static final int secondary_text_default_material_light=0x7f05004a; public static final int secondary_text_disabled_material_dark=0x7f05004b; public static final int secondary_text_disabled_material_light=0x7f05004c; public static final int switch_thumb_disabled_material_dark=0x7f05004d; public static final int switch_thumb_disabled_material_light=0x7f05004e; public static final int switch_thumb_material_dark=0x7f05004f; public static final int switch_thumb_material_light=0x7f050050; public static final int switch_thumb_normal_material_dark=0x7f050051; public static final int switch_thumb_normal_material_light=0x7f050052; } public static final class dimen { public static final int abc_action_bar_content_inset_material=0x7f060000; public static final int abc_action_bar_default_height_material=0x7f060001; public static final int abc_action_bar_default_padding_end_material=0x7f060002; public static final int abc_action_bar_default_padding_start_material=0x7f060003; public static final int abc_action_bar_icon_vertical_padding_material=0x7f060004; public static final int abc_action_bar_overflow_padding_end_material=0x7f060005; public static final int abc_action_bar_overflow_padding_start_material=0x7f060006; public static final int abc_action_bar_progress_bar_size=0x7f060007; public static final int abc_action_bar_stacked_max_height=0x7f060008; public static final int abc_action_bar_stacked_tab_max_width=0x7f060009; public static final int abc_action_bar_subtitle_bottom_margin_material=0x7f06000a; public static final int abc_action_bar_subtitle_top_margin_material=0x7f06000b; public static final int abc_action_button_min_height_material=0x7f06000c; public static final int abc_action_button_min_width_material=0x7f06000d; public static final int abc_action_button_min_width_overflow_material=0x7f06000e; public static final int abc_alert_dialog_button_bar_height=0x7f06000f; public static final int abc_button_inset_horizontal_material=0x7f060010; public static final int abc_button_inset_vertical_material=0x7f060011; public static final int abc_button_padding_horizontal_material=0x7f060012; public static final int abc_button_padding_vertical_material=0x7f060013; public static final int abc_config_prefDialogWidth=0x7f060014; public static final int abc_control_corner_material=0x7f060015; public static final int abc_control_inset_material=0x7f060016; public static final int abc_control_padding_material=0x7f060017; public static final int abc_dialog_fixed_height_major=0x7f060018; public static final int abc_dialog_fixed_height_minor=0x7f060019; public static final int abc_dialog_fixed_width_major=0x7f06001a; public static final int abc_dialog_fixed_width_minor=0x7f06001b; public static final int abc_dialog_list_padding_vertical_material=0x7f06001c; public static final int abc_dialog_min_width_major=0x7f06001d; public static final int abc_dialog_min_width_minor=0x7f06001e; public static final int abc_dialog_padding_material=0x7f06001f; public static final int abc_dialog_padding_top_material=0x7f060020; public static final int abc_disabled_alpha_material_dark=0x7f060021; public static final int abc_disabled_alpha_material_light=0x7f060022; public static final int abc_dropdownitem_icon_width=0x7f060023; public static final int abc_dropdownitem_text_padding_left=0x7f060024; public static final int abc_dropdownitem_text_padding_right=0x7f060025; public static final int abc_edit_text_inset_bottom_material=0x7f060026; public static final int abc_edit_text_inset_horizontal_material=0x7f060027; public static final int abc_edit_text_inset_top_material=0x7f060028; public static final int abc_floating_window_z=0x7f060029; public static final int abc_list_item_padding_horizontal_material=0x7f06002a; public static final int abc_panel_menu_list_width=0x7f06002b; public static final int abc_search_view_preferred_width=0x7f06002c; public static final int abc_search_view_text_min_width=0x7f06002d; public static final int abc_seekbar_track_background_height_material=0x7f06002e; public static final int abc_seekbar_track_progress_height_material=0x7f06002f; public static final int abc_select_dialog_padding_start_material=0x7f060030; public static final int abc_switch_padding=0x7f060031; public static final int abc_text_size_body_1_material=0x7f060032; public static final int abc_text_size_body_2_material=0x7f060033; public static final int abc_text_size_button_material=0x7f060034; public static final int abc_text_size_caption_material=0x7f060035; public static final int abc_text_size_display_1_material=0x7f060036; public static final int abc_text_size_display_2_material=0x7f060037; public static final int abc_text_size_display_3_material=0x7f060038; public static final int abc_text_size_display_4_material=0x7f060039; public static final int abc_text_size_headline_material=0x7f06003a; public static final int abc_text_size_large_material=0x7f06003b; public static final int abc_text_size_medium_material=0x7f06003c; public static final int abc_text_size_menu_material=0x7f06003d; public static final int abc_text_size_small_material=0x7f06003e; public static final int abc_text_size_subhead_material=0x7f06003f; public static final int abc_text_size_subtitle_material_toolbar=0x7f060040; public static final int abc_text_size_title_material=0x7f060041; public static final int abc_text_size_title_material_toolbar=0x7f060042; public static final int disabled_alpha_material_dark=0x7f060043; public static final int disabled_alpha_material_light=0x7f060044; public static final int highlight_alpha_material_colored=0x7f060045; public static final int highlight_alpha_material_dark=0x7f060046; public static final int highlight_alpha_material_light=0x7f060047; public static final int notification_large_icon_height=0x7f060048; public static final int notification_large_icon_width=0x7f060049; public static final int notification_subtext_size=0x7f06004a; } public static final class drawable { public static final int abc_ab_share_pack_mtrl_alpha=0x7f070000; public static final int abc_action_bar_item_background_material=0x7f070001; public static final int abc_btn_borderless_material=0x7f070002; public static final int abc_btn_check_material=0x7f070003; public static final int abc_btn_check_to_on_mtrl_000=0x7f070004; public static final int abc_btn_check_to_on_mtrl_015=0x7f070005; public static final int abc_btn_colored_material=0x7f070006; public static final int abc_btn_default_mtrl_shape=0x7f070007; public static final int abc_btn_radio_material=0x7f070008; public static final int abc_btn_radio_to_on_mtrl_000=0x7f070009; public static final int abc_btn_radio_to_on_mtrl_015=0x7f07000a; public static final int abc_btn_rating_star_off_mtrl_alpha=0x7f07000b; public static final int abc_btn_rating_star_on_mtrl_alpha=0x7f07000c; public static final int abc_btn_switch_to_on_mtrl_00001=0x7f07000d; public static final int abc_btn_switch_to_on_mtrl_00012=0x7f07000e; public static final int abc_cab_background_internal_bg=0x7f07000f; public static final int abc_cab_background_top_material=0x7f070010; public static final int abc_cab_background_top_mtrl_alpha=0x7f070011; public static final int abc_control_background_material=0x7f070012; public static final int abc_dialog_material_background_dark=0x7f070013; public static final int abc_dialog_material_background_light=0x7f070014; public static final int abc_edit_text_material=0x7f070015; public static final int abc_ic_ab_back_mtrl_am_alpha=0x7f070016; public static final int abc_ic_clear_mtrl_alpha=0x7f070017; public static final int abc_ic_commit_search_api_mtrl_alpha=0x7f070018; public static final int abc_ic_go_search_api_mtrl_alpha=0x7f070019; public static final int abc_ic_menu_copy_mtrl_am_alpha=0x7f07001a; public static final int abc_ic_menu_cut_mtrl_alpha=0x7f07001b; public static final int abc_ic_menu_moreoverflow_mtrl_alpha=0x7f07001c; public static final int abc_ic_menu_paste_mtrl_am_alpha=0x7f07001d; public static final int abc_ic_menu_selectall_mtrl_alpha=0x7f07001e; public static final int abc_ic_menu_share_mtrl_alpha=0x7f07001f; public static final int abc_ic_search_api_mtrl_alpha=0x7f070020; public static final int abc_ic_star_black_16dp=0x7f070021; public static final int abc_ic_star_black_36dp=0x7f070022; public static final int abc_ic_star_half_black_16dp=0x7f070023; public static final int abc_ic_star_half_black_36dp=0x7f070024; public static final int abc_ic_voice_search_api_mtrl_alpha=0x7f070025; public static final int abc_item_background_holo_dark=0x7f070026; public static final int abc_item_background_holo_light=0x7f070027; public static final int abc_list_divider_mtrl_alpha=0x7f070028; public static final int abc_list_focused_holo=0x7f070029; public static final int abc_list_longpressed_holo=0x7f07002a; public static final int abc_list_pressed_holo_dark=0x7f07002b; public static final int abc_list_pressed_holo_light=0x7f07002c; public static final int abc_list_selector_background_transition_holo_dark=0x7f07002d; public static final int abc_list_selector_background_transition_holo_light=0x7f07002e; public static final int abc_list_selector_disabled_holo_dark=0x7f07002f; public static final int abc_list_selector_disabled_holo_light=0x7f070030; public static final int abc_list_selector_holo_dark=0x7f070031; public static final int abc_list_selector_holo_light=0x7f070032; public static final int abc_menu_hardkey_panel_mtrl_mult=0x7f070033; public static final int abc_popup_background_mtrl_mult=0x7f070034; public static final int abc_ratingbar_full_material=0x7f070035; public static final int abc_ratingbar_indicator_material=0x7f070036; public static final int abc_ratingbar_small_material=0x7f070037; public static final int abc_scrubber_control_off_mtrl_alpha=0x7f070038; public static final int abc_scrubber_control_to_pressed_mtrl_000=0x7f070039; public static final int abc_scrubber_control_to_pressed_mtrl_005=0x7f07003a; public static final int abc_scrubber_primary_mtrl_alpha=0x7f07003b; public static final int abc_scrubber_track_mtrl_alpha=0x7f07003c; public static final int abc_seekbar_thumb_material=0x7f07003d; public static final int abc_seekbar_track_material=0x7f07003e; public static final int abc_spinner_mtrl_am_alpha=0x7f07003f; public static final int abc_spinner_textfield_background_material=0x7f070040; public static final int abc_switch_thumb_material=0x7f070041; public static final int abc_switch_track_mtrl_alpha=0x7f070042; public static final int abc_tab_indicator_material=0x7f070043; public static final int abc_tab_indicator_mtrl_alpha=0x7f070044; public static final int abc_text_cursor_material=0x7f070045; public static final int abc_textfield_activated_mtrl_alpha=0x7f070046; public static final int abc_textfield_default_mtrl_alpha=0x7f070047; public static final int abc_textfield_search_activated_mtrl_alpha=0x7f070048; public static final int abc_textfield_search_default_mtrl_alpha=0x7f070049; public static final int abc_textfield_search_material=0x7f07004a; public static final int magnitude_circle=0x7f07004b; public static final int notification_template_icon_bg=0x7f07004c; } public static final class id { public static final int action0=0x7f080000; public static final int action_bar=0x7f080001; public static final int action_bar_activity_content=0x7f080002; public static final int action_bar_container=0x7f080003; public static final int action_bar_root=0x7f080004; public static final int action_bar_spinner=0x7f080005; public static final int action_bar_subtitle=0x7f080006; public static final int action_bar_title=0x7f080007; public static final int action_context_bar=0x7f080008; public static final int action_divider=0x7f080009; public static final int action_menu_divider=0x7f08000a; public static final int action_menu_presenter=0x7f08000b; public static final int action_mode_bar=0x7f08000c; public static final int action_mode_bar_stub=0x7f08000d; public static final int action_mode_close_button=0x7f08000e; public static final int action_settings=0x7f08000f; public static final int activity_chooser_view_content=0x7f080010; public static final int alertTitle=0x7f080011; public static final int always=0x7f080012; public static final int beginning=0x7f080013; public static final int buttonPanel=0x7f080014; public static final int cancel_action=0x7f080015; public static final int checkbox=0x7f080016; public static final int chronometer=0x7f080017; public static final int city_text_view=0x7f080018; public static final int collapseActionView=0x7f080019; public static final int contentPanel=0x7f08001a; public static final int country_text_view=0x7f08001b; public static final int custom=0x7f08001c; public static final int customPanel=0x7f08001d; public static final int data_container=0x7f08001e; public static final int date_text_view=0x7f08001f; public static final int decor_content_parent=0x7f080020; public static final int default_activity_button=0x7f080021; public static final int disableHome=0x7f080022; public static final int earthquake_data=0x7f080023; public static final int earthquake_list=0x7f080024; public static final int edit_query=0x7f080025; public static final int empty_view=0x7f080026; public static final int end=0x7f080027; public static final int end_padder=0x7f080028; public static final int expand_activities_button=0x7f080029; public static final int expanded_menu=0x7f08002a; public static final int home=0x7f08002b; public static final int homeAsUp=0x7f08002c; public static final int icon=0x7f08002d; public static final int ifRoom=0x7f08002e; public static final int image=0x7f08002f; public static final int info=0x7f080030; public static final int line1=0x7f080031; public static final int line3=0x7f080032; public static final int listMode=0x7f080033; public static final int list_item=0x7f080034; public static final int loading_spinner=0x7f080035; public static final int magnitude_text_view=0x7f080036; public static final int media_actions=0x7f080037; public static final int middle=0x7f080038; public static final int multiply=0x7f080039; public static final int never=0x7f08003a; public static final int none=0x7f08003b; public static final int normal=0x7f08003c; public static final int parentPanel=0x7f08003d; public static final int progress_circular=0x7f08003e; public static final int progress_horizontal=0x7f08003f; public static final int radio=0x7f080040; public static final int screen=0x7f080041; public static final int scrollIndicatorDown=0x7f080042; public static final int scrollIndicatorUp=0x7f080043; public static final int scrollView=0x7f080044; public static final int search_badge=0x7f080045; public static final int search_bar=0x7f080046; public static final int search_button=0x7f080047; public static final int search_close_btn=0x7f080048; public static final int search_edit_frame=0x7f080049; public static final int search_go_btn=0x7f08004a; public static final int search_mag_icon=0x7f08004b; public static final int search_plate=0x7f08004c; public static final int search_src_text=0x7f08004d; public static final int search_voice_btn=0x7f08004e; public static final int select_dialog_listview=0x7f08004f; public static final int shortcut=0x7f080050; public static final int showCustom=0x7f080051; public static final int showHome=0x7f080052; public static final int showTitle=0x7f080053; public static final int spacer=0x7f080054; public static final int split_action_bar=0x7f080055; public static final int src_atop=0x7f080056; public static final int src_in=0x7f080057; public static final int src_over=0x7f080058; public static final int status_bar_latest_event_content=0x7f080059; public static final int submit_area=0x7f08005a; public static final int tabMode=0x7f08005b; public static final int text=0x7f08005c; public static final int text2=0x7f08005d; public static final int textSpacerNoButtons=0x7f08005e; public static final int time=0x7f08005f; public static final int title=0x7f080060; public static final int title_template=0x7f080061; public static final int topPanel=0x7f080062; public static final int up=0x7f080063; public static final int useLogo=0x7f080064; public static final int withText=0x7f080065; public static final int wrap_content=0x7f080066; } public static final class integer { public static final int abc_config_activityDefaultDur=0x7f090000; public static final int abc_config_activityShortDur=0x7f090001; public static final int abc_max_action_buttons=0x7f090002; public static final int cancel_button_image_alpha=0x7f090003; public static final int status_bar_notification_info_maxnum=0x7f090004; } public static final class layout { public static final int abc_action_bar_title_item=0x7f0a0000; public static final int abc_action_bar_up_container=0x7f0a0001; public static final int abc_action_bar_view_list_nav_layout=0x7f0a0002; public static final int abc_action_menu_item_layout=0x7f0a0003; public static final int abc_action_menu_layout=0x7f0a0004; public static final int abc_action_mode_bar=0x7f0a0005; public static final int abc_action_mode_close_item_material=0x7f0a0006; public static final int abc_activity_chooser_view=0x7f0a0007; public static final int abc_activity_chooser_view_list_item=0x7f0a0008; public static final int abc_alert_dialog_button_bar_material=0x7f0a0009; public static final int abc_alert_dialog_material=0x7f0a000a; public static final int abc_dialog_title_material=0x7f0a000b; public static final int abc_expanded_menu_layout=0x7f0a000c; public static final int abc_list_menu_item_checkbox=0x7f0a000d; public static final int abc_list_menu_item_icon=0x7f0a000e; public static final int abc_list_menu_item_layout=0x7f0a000f; public static final int abc_list_menu_item_radio=0x7f0a0010; public static final int abc_popup_menu_item_layout=0x7f0a0011; public static final int abc_screen_content_include=0x7f0a0012; public static final int abc_screen_simple=0x7f0a0013; public static final int abc_screen_simple_overlay_action_mode=0x7f0a0014; public static final int abc_screen_toolbar=0x7f0a0015; public static final int abc_search_dropdown_item_icons_2line=0x7f0a0016; public static final int abc_search_view=0x7f0a0017; public static final int abc_select_dialog_material=0x7f0a0018; public static final int earthquake_activity=0x7f0a0019; public static final int earthquake_list=0x7f0a001a; public static final int notification_media_action=0x7f0a001b; public static final int notification_media_cancel_action=0x7f0a001c; public static final int notification_template_big_media=0x7f0a001d; public static final int notification_template_big_media_narrow=0x7f0a001e; public static final int notification_template_lines=0x7f0a001f; public static final int notification_template_media=0x7f0a0020; public static final int notification_template_part_chronometer=0x7f0a0021; public static final int notification_template_part_time=0x7f0a0022; public static final int select_dialog_item_material=0x7f0a0023; public static final int select_dialog_multichoice_material=0x7f0a0024; public static final int select_dialog_singlechoice_material=0x7f0a0025; public static final int settings_activity=0x7f0a0026; public static final int support_simple_spinner_dropdown_item=0x7f0a0027; } public static final class menu { public static final int main=0x7f0b0000; } public static final class mipmap { public static final int ic_filter=0x7f0c0000; public static final int ic_launcher=0x7f0c0001; } public static final class string { public static final int abc_action_bar_home_description=0x7f0d0000; public static final int abc_action_bar_home_description_format=0x7f0d0001; public static final int abc_action_bar_home_subtitle_description_format=0x7f0d0002; public static final int abc_action_bar_up_description=0x7f0d0003; public static final int abc_action_menu_overflow_description=0x7f0d0004; public static final int abc_action_mode_done=0x7f0d0005; public static final int abc_activity_chooser_view_see_all=0x7f0d0006; public static final int abc_activitychooserview_choose_application=0x7f0d0007; public static final int abc_capital_off=0x7f0d0008; public static final int abc_capital_on=0x7f0d0009; public static final int abc_search_hint=0x7f0d000a; public static final int abc_searchview_description_clear=0x7f0d000b; public static final int abc_searchview_description_query=0x7f0d000c; public static final int abc_searchview_description_search=0x7f0d000d; public static final int abc_searchview_description_submit=0x7f0d000e; public static final int abc_searchview_description_voice=0x7f0d000f; public static final int abc_shareactionprovider_share_with=0x7f0d0010; public static final int abc_shareactionprovider_share_with_application=0x7f0d0011; public static final int abc_toolbar_collapse_description=0x7f0d0012; public static final int app_name=0x7f0d0013; public static final int settings_menu_item=0x7f0d0014; public static final int settings_min_magnitude_default=0x7f0d0015; public static final int settings_min_magnitude_key=0x7f0d0016; public static final int settings_min_magnitude_label=0x7f0d0017; public static final int settings_order_by_default=0x7f0d0018; public static final int settings_order_by_key=0x7f0d0019; public static final int settings_order_by_label=0x7f0d001a; public static final int settings_order_by_magnitude_label=0x7f0d001b; public static final int settings_order_by_magnitude_value=0x7f0d001c; public static final int settings_order_by_most_recent_label=0x7f0d001d; public static final int settings_order_by_most_recent_value=0x7f0d001e; public static final int settings_title=0x7f0d001f; public static final int status_bar_notification_info_overflow=0x7f0d0020; } public static final class style { public static final int AlertDialog_AppCompat=0x7f0e0000; public static final int AlertDialog_AppCompat_Light=0x7f0e0001; public static final int Animation_AppCompat_Dialog=0x7f0e0002; public static final int Animation_AppCompat_DropDownUp=0x7f0e0003; public static final int AppTheme=0x7f0e0004; public static final int Base_AlertDialog_AppCompat=0x7f0e0005; public static final int Base_AlertDialog_AppCompat_Light=0x7f0e0006; public static final int Base_Animation_AppCompat_Dialog=0x7f0e0007; public static final int Base_Animation_AppCompat_DropDownUp=0x7f0e0008; public static final int Base_DialogWindowTitle_AppCompat=0x7f0e0009; public static final int Base_DialogWindowTitleBackground_AppCompat=0x7f0e000a; public static final int Base_TextAppearance_AppCompat=0x7f0e000b; public static final int Base_TextAppearance_AppCompat_Body1=0x7f0e000c; public static final int Base_TextAppearance_AppCompat_Body2=0x7f0e000d; public static final int Base_TextAppearance_AppCompat_Button=0x7f0e000e; public static final int Base_TextAppearance_AppCompat_Caption=0x7f0e000f; public static final int Base_TextAppearance_AppCompat_Display1=0x7f0e0010; public static final int Base_TextAppearance_AppCompat_Display2=0x7f0e0011; public static final int Base_TextAppearance_AppCompat_Display3=0x7f0e0012; public static final int Base_TextAppearance_AppCompat_Display4=0x7f0e0013; public static final int Base_TextAppearance_AppCompat_Headline=0x7f0e0014; public static final int Base_TextAppearance_AppCompat_Inverse=0x7f0e0015; public static final int Base_TextAppearance_AppCompat_Large=0x7f0e0016; public static final int Base_TextAppearance_AppCompat_Large_Inverse=0x7f0e0017; public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0e0018; public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0e0019; public static final int Base_TextAppearance_AppCompat_Medium=0x7f0e001a; public static final int Base_TextAppearance_AppCompat_Medium_Inverse=0x7f0e001b; public static final int Base_TextAppearance_AppCompat_Menu=0x7f0e001c; public static final int Base_TextAppearance_AppCompat_SearchResult=0x7f0e001d; public static final int Base_TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0e001e; public static final int Base_TextAppearance_AppCompat_SearchResult_Title=0x7f0e001f; public static final int Base_TextAppearance_AppCompat_Small=0x7f0e0020; public static final int Base_TextAppearance_AppCompat_Small_Inverse=0x7f0e0021; public static final int Base_TextAppearance_AppCompat_Subhead=0x7f0e0022; public static final int Base_TextAppearance_AppCompat_Subhead_Inverse=0x7f0e0023; public static final int Base_TextAppearance_AppCompat_Title=0x7f0e0024; public static final int Base_TextAppearance_AppCompat_Title_Inverse=0x7f0e0025; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0e0026; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0e0027; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0e0028; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0e0029; public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0e002a; public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0e002b; public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0e002c; public static final int Base_TextAppearance_AppCompat_Widget_Button=0x7f0e002d; public static final int Base_TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0e002e; public static final int Base_TextAppearance_AppCompat_Widget_DropDownItem=0x7f0e002f; public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0e0030; public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0e0031; public static final int Base_TextAppearance_AppCompat_Widget_Switch=0x7f0e0032; public static final int Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0e0033; public static final int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0e0034; public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0e0035; public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0e0036; public static final int Base_Theme_AppCompat=0x7f0e0037; public static final int Base_Theme_AppCompat_CompactMenu=0x7f0e0038; public static final int Base_Theme_AppCompat_Dialog=0x7f0e0039; public static final int Base_Theme_AppCompat_Dialog_Alert=0x7f0e003a; public static final int Base_Theme_AppCompat_Dialog_FixedSize=0x7f0e003b; public static final int Base_Theme_AppCompat_Dialog_MinWidth=0x7f0e003c; public static final int Base_Theme_AppCompat_DialogWhenLarge=0x7f0e003d; public static final int Base_Theme_AppCompat_Light=0x7f0e003e; public static final int Base_Theme_AppCompat_Light_DarkActionBar=0x7f0e003f; public static final int Base_Theme_AppCompat_Light_Dialog=0x7f0e0040; public static final int Base_Theme_AppCompat_Light_Dialog_Alert=0x7f0e0041; public static final int Base_Theme_AppCompat_Light_Dialog_FixedSize=0x7f0e0042; public static final int Base_Theme_AppCompat_Light_Dialog_MinWidth=0x7f0e0043; public static final int Base_Theme_AppCompat_Light_DialogWhenLarge=0x7f0e0044; public static final int Base_ThemeOverlay_AppCompat=0x7f0e0045; public static final int Base_ThemeOverlay_AppCompat_ActionBar=0x7f0e0046; public static final int Base_ThemeOverlay_AppCompat_Dark=0x7f0e0047; public static final int Base_ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0e0048; public static final int Base_ThemeOverlay_AppCompat_Light=0x7f0e0049; public static final int Base_V11_Theme_AppCompat_Dialog=0x7f0e004a; public static final int Base_V11_Theme_AppCompat_Light_Dialog=0x7f0e004b; public static final int Base_V12_Widget_AppCompat_AutoCompleteTextView=0x7f0e004c; public static final int Base_V12_Widget_AppCompat_EditText=0x7f0e004d; public static final int Base_V21_Theme_AppCompat=0x7f0e004e; public static final int Base_V21_Theme_AppCompat_Dialog=0x7f0e004f; public static final int Base_V21_Theme_AppCompat_Light=0x7f0e0050; public static final int Base_V21_Theme_AppCompat_Light_Dialog=0x7f0e0051; public static final int Base_V22_Theme_AppCompat=0x7f0e0052; public static final int Base_V22_Theme_AppCompat_Light=0x7f0e0053; public static final int Base_V23_Theme_AppCompat=0x7f0e0054; public static final int Base_V23_Theme_AppCompat_Light=0x7f0e0055; public static final int Base_V7_Theme_AppCompat=0x7f0e0056; public static final int Base_V7_Theme_AppCompat_Dialog=0x7f0e0057; public static final int Base_V7_Theme_AppCompat_Light=0x7f0e0058; public static final int Base_V7_Theme_AppCompat_Light_Dialog=0x7f0e0059; public static final int Base_V7_Widget_AppCompat_AutoCompleteTextView=0x7f0e005a; public static final int Base_V7_Widget_AppCompat_EditText=0x7f0e005b; public static final int Base_Widget_AppCompat_ActionBar=0x7f0e005c; public static final int Base_Widget_AppCompat_ActionBar_Solid=0x7f0e005d; public static final int Base_Widget_AppCompat_ActionBar_TabBar=0x7f0e005e; public static final int Base_Widget_AppCompat_ActionBar_TabText=0x7f0e005f; public static final int Base_Widget_AppCompat_ActionBar_TabView=0x7f0e0060; public static final int Base_Widget_AppCompat_ActionButton=0x7f0e0061; public static final int Base_Widget_AppCompat_ActionButton_CloseMode=0x7f0e0062; public static final int Base_Widget_AppCompat_ActionButton_Overflow=0x7f0e0063; public static final int Base_Widget_AppCompat_ActionMode=0x7f0e0064; public static final int Base_Widget_AppCompat_ActivityChooserView=0x7f0e0065; public static final int Base_Widget_AppCompat_AutoCompleteTextView=0x7f0e0066; public static final int Base_Widget_AppCompat_Button=0x7f0e0067; public static final int Base_Widget_AppCompat_Button_Borderless=0x7f0e0068; public static final int Base_Widget_AppCompat_Button_Borderless_Colored=0x7f0e0069; public static final int Base_Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0e006a; public static final int Base_Widget_AppCompat_Button_Colored=0x7f0e006b; public static final int Base_Widget_AppCompat_Button_Small=0x7f0e006c; public static final int Base_Widget_AppCompat_ButtonBar=0x7f0e006d; public static final int Base_Widget_AppCompat_ButtonBar_AlertDialog=0x7f0e006e; public static final int Base_Widget_AppCompat_CompoundButton_CheckBox=0x7f0e006f; public static final int Base_Widget_AppCompat_CompoundButton_RadioButton=0x7f0e0070; public static final int Base_Widget_AppCompat_CompoundButton_Switch=0x7f0e0071; public static final int Base_Widget_AppCompat_DrawerArrowToggle=0x7f0e0072; public static final int Base_Widget_AppCompat_DrawerArrowToggle_Common=0x7f0e0073; public static final int Base_Widget_AppCompat_DropDownItem_Spinner=0x7f0e0074; public static final int Base_Widget_AppCompat_EditText=0x7f0e0075; public static final int Base_Widget_AppCompat_ImageButton=0x7f0e0076; public static final int Base_Widget_AppCompat_Light_ActionBar=0x7f0e0077; public static final int Base_Widget_AppCompat_Light_ActionBar_Solid=0x7f0e0078; public static final int Base_Widget_AppCompat_Light_ActionBar_TabBar=0x7f0e0079; public static final int Base_Widget_AppCompat_Light_ActionBar_TabText=0x7f0e007a; public static final int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0e007b; public static final int Base_Widget_AppCompat_Light_ActionBar_TabView=0x7f0e007c; public static final int Base_Widget_AppCompat_Light_PopupMenu=0x7f0e007d; public static final int Base_Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0e007e; public static final int Base_Widget_AppCompat_ListPopupWindow=0x7f0e007f; public static final int Base_Widget_AppCompat_ListView=0x7f0e0080; public static final int Base_Widget_AppCompat_ListView_DropDown=0x7f0e0081; public static final int Base_Widget_AppCompat_ListView_Menu=0x7f0e0082; public static final int Base_Widget_AppCompat_PopupMenu=0x7f0e0083; public static final int Base_Widget_AppCompat_PopupMenu_Overflow=0x7f0e0084; public static final int Base_Widget_AppCompat_PopupWindow=0x7f0e0085; public static final int Base_Widget_AppCompat_ProgressBar=0x7f0e0086; public static final int Base_Widget_AppCompat_ProgressBar_Horizontal=0x7f0e0087; public static final int Base_Widget_AppCompat_RatingBar=0x7f0e0088; public static final int Base_Widget_AppCompat_RatingBar_Indicator=0x7f0e0089; public static final int Base_Widget_AppCompat_RatingBar_Small=0x7f0e008a; public static final int Base_Widget_AppCompat_SearchView=0x7f0e008b; public static final int Base_Widget_AppCompat_SearchView_ActionBar=0x7f0e008c; public static final int Base_Widget_AppCompat_SeekBar=0x7f0e008d; public static final int Base_Widget_AppCompat_Spinner=0x7f0e008e; public static final int Base_Widget_AppCompat_Spinner_Underlined=0x7f0e008f; public static final int Base_Widget_AppCompat_TextView_SpinnerItem=0x7f0e0090; public static final int Base_Widget_AppCompat_Toolbar=0x7f0e0091; public static final int Base_Widget_AppCompat_Toolbar_Button_Navigation=0x7f0e0092; public static final int Platform_AppCompat=0x7f0e0093; public static final int Platform_AppCompat_Light=0x7f0e0094; public static final int Platform_ThemeOverlay_AppCompat=0x7f0e0095; public static final int Platform_ThemeOverlay_AppCompat_Dark=0x7f0e0096; public static final int Platform_ThemeOverlay_AppCompat_Light=0x7f0e0097; public static final int Platform_V11_AppCompat=0x7f0e0098; public static final int Platform_V11_AppCompat_Light=0x7f0e0099; public static final int Platform_V14_AppCompat=0x7f0e009a; public static final int Platform_V14_AppCompat_Light=0x7f0e009b; public static final int Platform_Widget_AppCompat_Spinner=0x7f0e009c; public static final int RtlOverlay_DialogWindowTitle_AppCompat=0x7f0e009d; public static final int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem=0x7f0e009e; public static final int RtlOverlay_Widget_AppCompat_DialogTitle_Icon=0x7f0e009f; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem=0x7f0e00a0; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup=0x7f0e00a1; public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text=0x7f0e00a2; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown=0x7f0e00a3; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1=0x7f0e00a4; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2=0x7f0e00a5; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Query=0x7f0e00a6; public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Text=0x7f0e00a7; public static final int RtlOverlay_Widget_AppCompat_SearchView_MagIcon=0x7f0e00a8; public static final int RtlUnderlay_Widget_AppCompat_ActionButton=0x7f0e00a9; public static final int RtlUnderlay_Widget_AppCompat_ActionButton_Overflow=0x7f0e00aa; public static final int TextAppearance_AppCompat=0x7f0e00ab; public static final int TextAppearance_AppCompat_Body1=0x7f0e00ac; public static final int TextAppearance_AppCompat_Body2=0x7f0e00ad; public static final int TextAppearance_AppCompat_Button=0x7f0e00ae; public static final int TextAppearance_AppCompat_Caption=0x7f0e00af; public static final int TextAppearance_AppCompat_Display1=0x7f0e00b0; public static final int TextAppearance_AppCompat_Display2=0x7f0e00b1; public static final int TextAppearance_AppCompat_Display3=0x7f0e00b2; public static final int TextAppearance_AppCompat_Display4=0x7f0e00b3; public static final int TextAppearance_AppCompat_Headline=0x7f0e00b4; public static final int TextAppearance_AppCompat_Inverse=0x7f0e00b5; public static final int TextAppearance_AppCompat_Large=0x7f0e00b6; public static final int TextAppearance_AppCompat_Large_Inverse=0x7f0e00b7; public static final int TextAppearance_AppCompat_Light_SearchResult_Subtitle=0x7f0e00b8; public static final int TextAppearance_AppCompat_Light_SearchResult_Title=0x7f0e00b9; public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0e00ba; public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0e00bb; public static final int TextAppearance_AppCompat_Medium=0x7f0e00bc; public static final int TextAppearance_AppCompat_Medium_Inverse=0x7f0e00bd; public static final int TextAppearance_AppCompat_Menu=0x7f0e00be; public static final int TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0e00bf; public static final int TextAppearance_AppCompat_SearchResult_Title=0x7f0e00c0; public static final int TextAppearance_AppCompat_Small=0x7f0e00c1; public static final int TextAppearance_AppCompat_Small_Inverse=0x7f0e00c2; public static final int TextAppearance_AppCompat_Subhead=0x7f0e00c3; public static final int TextAppearance_AppCompat_Subhead_Inverse=0x7f0e00c4; public static final int TextAppearance_AppCompat_Title=0x7f0e00c5; public static final int TextAppearance_AppCompat_Title_Inverse=0x7f0e00c6; public static final int TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0e00c7; public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0e00c8; public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0e00c9; public static final int TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0e00ca; public static final int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0e00cb; public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0e00cc; public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse=0x7f0e00cd; public static final int TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0e00ce; public static final int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse=0x7f0e00cf; public static final int TextAppearance_AppCompat_Widget_Button=0x7f0e00d0; public static final int TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0e00d1; public static final int TextAppearance_AppCompat_Widget_DropDownItem=0x7f0e00d2; public static final int TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0e00d3; public static final int TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0e00d4; public static final int TextAppearance_AppCompat_Widget_Switch=0x7f0e00d5; public static final int TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0e00d6; public static final int TextAppearance_StatusBar_EventContent=0x7f0e00d7; public static final int TextAppearance_StatusBar_EventContent_Info=0x7f0e00d8; public static final int TextAppearance_StatusBar_EventContent_Line2=0x7f0e00d9; public static final int TextAppearance_StatusBar_EventContent_Time=0x7f0e00da; public static final int TextAppearance_StatusBar_EventContent_Title=0x7f0e00db; public static final int TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0e00dc; public static final int TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0e00dd; public static final int TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0e00de; public static final int Theme_AppCompat=0x7f0e00df; public static final int Theme_AppCompat_CompactMenu=0x7f0e00e0; public static final int Theme_AppCompat_DayNight=0x7f0e00e1; public static final int Theme_AppCompat_DayNight_DarkActionBar=0x7f0e00e2; public static final int Theme_AppCompat_DayNight_Dialog=0x7f0e00e3; public static final int Theme_AppCompat_DayNight_Dialog_Alert=0x7f0e00e4; public static final int Theme_AppCompat_DayNight_Dialog_MinWidth=0x7f0e00e5; public static final int Theme_AppCompat_DayNight_DialogWhenLarge=0x7f0e00e6; public static final int Theme_AppCompat_DayNight_NoActionBar=0x7f0e00e7; public static final int Theme_AppCompat_Dialog=0x7f0e00e8; public static final int Theme_AppCompat_Dialog_Alert=0x7f0e00e9; public static final int Theme_AppCompat_Dialog_MinWidth=0x7f0e00ea; public static final int Theme_AppCompat_DialogWhenLarge=0x7f0e00eb; public static final int Theme_AppCompat_Light=0x7f0e00ec; public static final int Theme_AppCompat_Light_DarkActionBar=0x7f0e00ed; public static final int Theme_AppCompat_Light_Dialog=0x7f0e00ee; public static final int Theme_AppCompat_Light_Dialog_Alert=0x7f0e00ef; public static final int Theme_AppCompat_Light_Dialog_MinWidth=0x7f0e00f0; public static final int Theme_AppCompat_Light_DialogWhenLarge=0x7f0e00f1; public static final int Theme_AppCompat_Light_NoActionBar=0x7f0e00f2; public static final int Theme_AppCompat_NoActionBar=0x7f0e00f3; public static final int ThemeOverlay_AppCompat=0x7f0e00f4; public static final int ThemeOverlay_AppCompat_ActionBar=0x7f0e00f5; public static final int ThemeOverlay_AppCompat_Dark=0x7f0e00f6; public static final int ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0e00f7; public static final int ThemeOverlay_AppCompat_Light=0x7f0e00f8; public static final int Widget_AppCompat_ActionBar=0x7f0e00f9; public static final int Widget_AppCompat_ActionBar_Solid=0x7f0e00fa; public static final int Widget_AppCompat_ActionBar_TabBar=0x7f0e00fb; public static final int Widget_AppCompat_ActionBar_TabText=0x7f0e00fc; public static final int Widget_AppCompat_ActionBar_TabView=0x7f0e00fd; public static final int Widget_AppCompat_ActionButton=0x7f0e00fe; public static final int Widget_AppCompat_ActionButton_CloseMode=0x7f0e00ff; public static final int Widget_AppCompat_ActionButton_Overflow=0x7f0e0100; public static final int Widget_AppCompat_ActionMode=0x7f0e0101; public static final int Widget_AppCompat_ActivityChooserView=0x7f0e0102; public static final int Widget_AppCompat_AutoCompleteTextView=0x7f0e0103; public static final int Widget_AppCompat_Button=0x7f0e0104; public static final int Widget_AppCompat_Button_Borderless=0x7f0e0105; public static final int Widget_AppCompat_Button_Borderless_Colored=0x7f0e0106; public static final int Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0e0107; public static final int Widget_AppCompat_Button_Colored=0x7f0e0108; public static final int Widget_AppCompat_Button_Small=0x7f0e0109; public static final int Widget_AppCompat_ButtonBar=0x7f0e010a; public static final int Widget_AppCompat_ButtonBar_AlertDialog=0x7f0e010b; public static final int Widget_AppCompat_CompoundButton_CheckBox=0x7f0e010c; public static final int Widget_AppCompat_CompoundButton_RadioButton=0x7f0e010d; public static final int Widget_AppCompat_CompoundButton_Switch=0x7f0e010e; public static final int Widget_AppCompat_DrawerArrowToggle=0x7f0e010f; public static final int Widget_AppCompat_DropDownItem_Spinner=0x7f0e0110; public static final int Widget_AppCompat_EditText=0x7f0e0111; public static final int Widget_AppCompat_ImageButton=0x7f0e0112; public static final int Widget_AppCompat_Light_ActionBar=0x7f0e0113; public static final int Widget_AppCompat_Light_ActionBar_Solid=0x7f0e0114; public static final int Widget_AppCompat_Light_ActionBar_Solid_Inverse=0x7f0e0115; public static final int Widget_AppCompat_Light_ActionBar_TabBar=0x7f0e0116; public static final int Widget_AppCompat_Light_ActionBar_TabBar_Inverse=0x7f0e0117; public static final int Widget_AppCompat_Light_ActionBar_TabText=0x7f0e0118; public static final int Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0e0119; public static final int Widget_AppCompat_Light_ActionBar_TabView=0x7f0e011a; public static final int Widget_AppCompat_Light_ActionBar_TabView_Inverse=0x7f0e011b; public static final int Widget_AppCompat_Light_ActionButton=0x7f0e011c; public static final int Widget_AppCompat_Light_ActionButton_CloseMode=0x7f0e011d; public static final int Widget_AppCompat_Light_ActionButton_Overflow=0x7f0e011e; public static final int Widget_AppCompat_Light_ActionMode_Inverse=0x7f0e011f; public static final int Widget_AppCompat_Light_ActivityChooserView=0x7f0e0120; public static final int Widget_AppCompat_Light_AutoCompleteTextView=0x7f0e0121; public static final int Widget_AppCompat_Light_DropDownItem_Spinner=0x7f0e0122; public static final int Widget_AppCompat_Light_ListPopupWindow=0x7f0e0123; public static final int Widget_AppCompat_Light_ListView_DropDown=0x7f0e0124; public static final int Widget_AppCompat_Light_PopupMenu=0x7f0e0125; public static final int Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0e0126; public static final int Widget_AppCompat_Light_SearchView=0x7f0e0127; public static final int Widget_AppCompat_Light_Spinner_DropDown_ActionBar=0x7f0e0128; public static final int Widget_AppCompat_ListPopupWindow=0x7f0e0129; public static final int Widget_AppCompat_ListView=0x7f0e012a; public static final int Widget_AppCompat_ListView_DropDown=0x7f0e012b; public static final int Widget_AppCompat_ListView_Menu=0x7f0e012c; public static final int Widget_AppCompat_PopupMenu=0x7f0e012d; public static final int Widget_AppCompat_PopupMenu_Overflow=0x7f0e012e; public static final int Widget_AppCompat_PopupWindow=0x7f0e012f; public static final int Widget_AppCompat_ProgressBar=0x7f0e0130; public static final int Widget_AppCompat_ProgressBar_Horizontal=0x7f0e0131; public static final int Widget_AppCompat_RatingBar=0x7f0e0132; public static final int Widget_AppCompat_RatingBar_Indicator=0x7f0e0133; public static final int Widget_AppCompat_RatingBar_Small=0x7f0e0134; public static final int Widget_AppCompat_SearchView=0x7f0e0135; public static final int Widget_AppCompat_SearchView_ActionBar=0x7f0e0136; public static final int Widget_AppCompat_SeekBar=0x7f0e0137; public static final int Widget_AppCompat_Spinner=0x7f0e0138; public static final int Widget_AppCompat_Spinner_DropDown=0x7f0e0139; public static final int Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f0e013a; public static final int Widget_AppCompat_Spinner_Underlined=0x7f0e013b; public static final int Widget_AppCompat_TextView_SpinnerItem=0x7f0e013c; public static final int Widget_AppCompat_Toolbar=0x7f0e013d; public static final int Widget_AppCompat_Toolbar_Button_Navigation=0x7f0e013e; } public static final class styleable { /** * Attributes that can be used with a ActionBar. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ActionBar_background com.example.android.quakereport:background}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_backgroundSplit com.example.android.quakereport:backgroundSplit}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_backgroundStacked com.example.android.quakereport:backgroundStacked}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_contentInsetEnd com.example.android.quakereport:contentInsetEnd}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_contentInsetLeft com.example.android.quakereport:contentInsetLeft}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_contentInsetRight com.example.android.quakereport:contentInsetRight}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_contentInsetStart com.example.android.quakereport:contentInsetStart}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_customNavigationLayout com.example.android.quakereport:customNavigationLayout}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_displayOptions com.example.android.quakereport:displayOptions}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_divider com.example.android.quakereport:divider}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_elevation com.example.android.quakereport:elevation}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_height com.example.android.quakereport:height}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_hideOnContentScroll com.example.android.quakereport:hideOnContentScroll}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_homeAsUpIndicator com.example.android.quakereport:homeAsUpIndicator}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_homeLayout com.example.android.quakereport:homeLayout}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_icon com.example.android.quakereport:icon}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_indeterminateProgressStyle com.example.android.quakereport:indeterminateProgressStyle}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_itemPadding com.example.android.quakereport:itemPadding}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_logo com.example.android.quakereport:logo}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_navigationMode com.example.android.quakereport:navigationMode}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_popupTheme com.example.android.quakereport:popupTheme}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_progressBarPadding com.example.android.quakereport:progressBarPadding}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_progressBarStyle com.example.android.quakereport:progressBarStyle}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_subtitle com.example.android.quakereport:subtitle}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_subtitleTextStyle com.example.android.quakereport:subtitleTextStyle}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_title com.example.android.quakereport:title}</code></td><td></td></tr> * <tr><td><code>{@link #ActionBar_titleTextStyle com.example.android.quakereport: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={ 0x7f03002a, 0x7f03002b, 0x7f03002c, 0x7f03004b, 0x7f03004c, 0x7f03004d, 0x7f03004e, 0x7f030050, 0x7f030054, 0x7f030055, 0x7f030060, 0x7f030064, 0x7f030065, 0x7f030066, 0x7f030067, 0x7f030068, 0x7f03006b, 0x7f03006e, 0x7f03007a, 0x7f030081, 0x7f030089, 0x7f03008c, 0x7f03008d, 0x7f0300a5, 0x7f0300a8, 0x7f0300ba, 0x7f0300c2 }; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#background} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:background */ public static final int ActionBar_background=0; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:backgroundSplit */ public static final int ActionBar_backgroundSplit=1; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:backgroundStacked */ public static final int ActionBar_backgroundStacked=2; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#contentInsetEnd} * attribute's value can be found in the {@link #ActionBar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:contentInsetEnd */ public static final int ActionBar_contentInsetEnd=3; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#contentInsetLeft} * attribute's value can be found in the {@link #ActionBar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:contentInsetLeft */ public static final int ActionBar_contentInsetLeft=4; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#contentInsetRight} * attribute's value can be found in the {@link #ActionBar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:contentInsetRight */ public static final int ActionBar_contentInsetRight=5; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#contentInsetStart} * attribute's value can be found in the {@link #ActionBar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:contentInsetStart */ public static final int ActionBar_contentInsetStart=6; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#customNavigationLayout} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:customNavigationLayout */ public static final int ActionBar_customNavigationLayout=7; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.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>disableHome</td><td>20</td><td></td></tr> * <tr><td>homeAsUp</td><td>4</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>showCustom</td><td>10</td><td></td></tr> * <tr><td>showHome</td><td>2</td><td></td></tr> * <tr><td>showTitle</td><td>8</td><td></td></tr> * <tr><td>useLogo</td><td>1</td><td></td></tr> * </table> * * @attr name com.example.android.quakereport:displayOptions */ public static final int ActionBar_displayOptions=8; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#divider} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:divider */ public static final int ActionBar_divider=9; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#elevation} * attribute's value can be found in the {@link #ActionBar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:elevation */ public static final int ActionBar_elevation=10; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#height} * attribute's value can be found in the {@link #ActionBar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:height */ public static final int ActionBar_height=11; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#hideOnContentScroll} * attribute's value can be found in the {@link #ActionBar} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:hideOnContentScroll */ public static final int ActionBar_hideOnContentScroll=12; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#homeAsUpIndicator} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:homeAsUpIndicator */ public static final int ActionBar_homeAsUpIndicator=13; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#homeLayout} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:homeLayout */ public static final int ActionBar_homeLayout=14; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#icon} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:icon */ public static final int ActionBar_icon=15; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#indeterminateProgressStyle} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:indeterminateProgressStyle */ public static final int ActionBar_indeterminateProgressStyle=16; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#itemPadding} * attribute's value can be found in the {@link #ActionBar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:itemPadding */ public static final int ActionBar_itemPadding=17; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#logo} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:logo */ public static final int ActionBar_logo=18; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.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>listMode</td><td>1</td><td></td></tr> * <tr><td>normal</td><td>0</td><td></td></tr> * <tr><td>tabMode</td><td>2</td><td></td></tr> * </table> * * @attr name com.example.android.quakereport:navigationMode */ public static final int ActionBar_navigationMode=19; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#popupTheme} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:popupTheme */ public static final int ActionBar_popupTheme=20; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#progressBarPadding} * attribute's value can be found in the {@link #ActionBar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:progressBarPadding */ public static final int ActionBar_progressBarPadding=21; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#progressBarStyle} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:progressBarStyle */ public static final int ActionBar_progressBarStyle=22; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#subtitle} * attribute's value can be found in the {@link #ActionBar} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.android.quakereport:subtitle */ public static final int ActionBar_subtitle=23; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#subtitleTextStyle} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:subtitleTextStyle */ public static final int ActionBar_subtitleTextStyle=24; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#title} * attribute's value can be found in the {@link #ActionBar} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.android.quakereport:title */ public static final int ActionBar_title=25; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#titleTextStyle} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:titleTextStyle */ public static final int ActionBar_titleTextStyle=26; /** * Attributes that can be used with a ActionBarLayout. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ActionBarLayout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr> * </table> * @see #ActionBarLayout_android_layout_gravity */ public static final int[] ActionBarLayout={ 0x010100b3 }; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_gravity} * attribute's value can be found in the {@link #ActionBarLayout} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>end</td><td>800005</td><td></td></tr> * <tr><td>start</td><td>800003</td><td></td></tr> * <tr><td>bottom</td><td>50</td><td></td></tr> * <tr><td>center</td><td>11</td><td></td></tr> * <tr><td>center_horizontal</td><td>1</td><td></td></tr> * <tr><td>center_vertical</td><td>10</td><td></td></tr> * <tr><td>clip_horizontal</td><td>8</td><td></td></tr> * <tr><td>clip_vertical</td><td>80</td><td></td></tr> * <tr><td>fill</td><td>77</td><td></td></tr> * <tr><td>fill_horizontal</td><td>7</td><td></td></tr> * <tr><td>fill_vertical</td><td>70</td><td></td></tr> * <tr><td>left</td><td>3</td><td></td></tr> * <tr><td>right</td><td>5</td><td></td></tr> * <tr><td>top</td><td>30</td><td></td></tr> * </table> * * @attr name android:layout_gravity */ public static final int ActionBarLayout_android_layout_gravity=0; /** * Attributes that can be used with a ActionMenuItemView. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ActionMenuItemView_android_minWidth android:minWidth}</code></td><td></td></tr> * </table> * @see #ActionMenuItemView_android_minWidth */ public static final int[] ActionMenuItemView={ 0x0101013f }; /** * <p>This symbol is the offset where the {@link android.R.attr#minWidth} * attribute's value can be found in the {@link #ActionMenuItemView} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:minWidth */ public static final int ActionMenuItemView_android_minWidth=0; public static final int[] ActionMenuView={ }; /** * Attributes that can be used with a ActionMode. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ActionMode_background com.example.android.quakereport:background}</code></td><td></td></tr> * <tr><td><code>{@link #ActionMode_backgroundSplit com.example.android.quakereport:backgroundSplit}</code></td><td></td></tr> * <tr><td><code>{@link #ActionMode_closeItemLayout com.example.android.quakereport:closeItemLayout}</code></td><td></td></tr> * <tr><td><code>{@link #ActionMode_height com.example.android.quakereport:height}</code></td><td></td></tr> * <tr><td><code>{@link #ActionMode_subtitleTextStyle com.example.android.quakereport:subtitleTextStyle}</code></td><td></td></tr> * <tr><td><code>{@link #ActionMode_titleTextStyle com.example.android.quakereport: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={ 0x7f03002a, 0x7f03002b, 0x7f03003e, 0x7f030064, 0x7f0300a8, 0x7f0300c2 }; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#background} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:background */ public static final int ActionMode_background=0; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:backgroundSplit */ public static final int ActionMode_backgroundSplit=1; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#closeItemLayout} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:closeItemLayout */ public static final int ActionMode_closeItemLayout=2; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#height} * attribute's value can be found in the {@link #ActionMode} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:height */ public static final int ActionMode_height=3; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#subtitleTextStyle} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:subtitleTextStyle */ public static final int ActionMode_subtitleTextStyle=4; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#titleTextStyle} * 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 a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:titleTextStyle */ public static final int ActionMode_titleTextStyle=5; /** * Attributes that can be used with a ActivityChooserView. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ActivityChooserView_expandActivityOverflowButtonDrawable com.example.android.quakereport:expandActivityOverflowButtonDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #ActivityChooserView_initialActivityCount com.example.android.quakereport:initialActivityCount}</code></td><td></td></tr> * </table> * @see #ActivityChooserView_expandActivityOverflowButtonDrawable * @see #ActivityChooserView_initialActivityCount */ public static final int[] ActivityChooserView={ 0x7f030061, 0x7f03006c }; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#expandActivityOverflowButtonDrawable} * attribute's value can be found in the {@link #ActivityChooserView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:expandActivityOverflowButtonDrawable */ public static final int ActivityChooserView_expandActivityOverflowButtonDrawable=0; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#initialActivityCount} * attribute's value can be found in the {@link #ActivityChooserView} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.android.quakereport:initialActivityCount */ public static final int ActivityChooserView_initialActivityCount=1; /** * Attributes that can be used with a AlertDialog. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AlertDialog_android_layout android:layout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_buttonPanelSideLayout com.example.android.quakereport:buttonPanelSideLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_listItemLayout com.example.android.quakereport:listItemLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_listLayout com.example.android.quakereport:listLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_multiChoiceItemLayout com.example.android.quakereport:multiChoiceItemLayout}</code></td><td></td></tr> * <tr><td><code>{@link #AlertDialog_singleChoiceItemLayout com.example.android.quakereport:singleChoiceItemLayout}</code></td><td></td></tr> * </table> * @see #AlertDialog_android_layout * @see #AlertDialog_buttonPanelSideLayout * @see #AlertDialog_listItemLayout * @see #AlertDialog_listLayout * @see #AlertDialog_multiChoiceItemLayout * @see #AlertDialog_singleChoiceItemLayout */ public static final int[] AlertDialog={ 0x010100f2, 0x7f030036, 0x7f030072, 0x7f030073, 0x7f03007e, 0x7f03009d }; /** * <p>This symbol is the offset where the {@link android.R.attr#layout} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:layout */ public static final int AlertDialog_android_layout=0; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#buttonPanelSideLayout} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:buttonPanelSideLayout */ public static final int AlertDialog_buttonPanelSideLayout=1; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#listItemLayout} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:listItemLayout */ public static final int AlertDialog_listItemLayout=2; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#listLayout} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:listLayout */ public static final int AlertDialog_listLayout=3; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#multiChoiceItemLayout} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:multiChoiceItemLayout */ public static final int AlertDialog_multiChoiceItemLayout=4; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#singleChoiceItemLayout} * attribute's value can be found in the {@link #AlertDialog} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:singleChoiceItemLayout */ public static final int AlertDialog_singleChoiceItemLayout=5; /** * Attributes that can be used with a AppCompatImageView. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AppCompatImageView_android_src android:src}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatImageView_srcCompat com.example.android.quakereport:srcCompat}</code></td><td></td></tr> * </table> * @see #AppCompatImageView_android_src * @see #AppCompatImageView_srcCompat */ public static final int[] AppCompatImageView={ 0x01010119, 0x7f0300a2 }; /** * <p>This symbol is the offset where the {@link android.R.attr#src} * attribute's value can be found in the {@link #AppCompatImageView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:src */ public static final int AppCompatImageView_android_src=0; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#srcCompat} * attribute's value can be found in the {@link #AppCompatImageView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:srcCompat */ public static final int AppCompatImageView_srcCompat=1; /** * Attributes that can be used with a AppCompatTextView. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AppCompatTextView_android_textAppearance android:textAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTextView_textAllCaps com.example.android.quakereport:textAllCaps}</code></td><td></td></tr> * </table> * @see #AppCompatTextView_android_textAppearance * @see #AppCompatTextView_textAllCaps */ public static final int[] AppCompatTextView={ 0x01010034, 0x7f0300ae }; /** * <p>This symbol is the offset where the {@link android.R.attr#textAppearance} * attribute's value can be found in the {@link #AppCompatTextView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:textAppearance */ public static final int AppCompatTextView_android_textAppearance=0; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#textAllCaps} * attribute's value can be found in the {@link #AppCompatTextView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:textAllCaps */ public static final int AppCompatTextView_textAllCaps=1; /** * Attributes that can be used with a AppCompatTheme. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #AppCompatTheme_android_windowIsFloating android:windowIsFloating}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarDivider com.example.android.quakereport:actionBarDivider}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarItemBackground com.example.android.quakereport:actionBarItemBackground}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarPopupTheme com.example.android.quakereport:actionBarPopupTheme}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarSize com.example.android.quakereport:actionBarSize}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarSplitStyle com.example.android.quakereport:actionBarSplitStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarStyle com.example.android.quakereport:actionBarStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTabBarStyle com.example.android.quakereport:actionBarTabBarStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTabStyle com.example.android.quakereport:actionBarTabStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTabTextStyle com.example.android.quakereport:actionBarTabTextStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarTheme com.example.android.quakereport:actionBarTheme}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionBarWidgetTheme com.example.android.quakereport:actionBarWidgetTheme}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionButtonStyle com.example.android.quakereport:actionButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionDropDownStyle com.example.android.quakereport:actionDropDownStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionMenuTextAppearance com.example.android.quakereport:actionMenuTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionMenuTextColor com.example.android.quakereport:actionMenuTextColor}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeBackground com.example.android.quakereport:actionModeBackground}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCloseButtonStyle com.example.android.quakereport:actionModeCloseButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCloseDrawable com.example.android.quakereport:actionModeCloseDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCopyDrawable com.example.android.quakereport:actionModeCopyDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeCutDrawable com.example.android.quakereport:actionModeCutDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeFindDrawable com.example.android.quakereport:actionModeFindDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModePasteDrawable com.example.android.quakereport:actionModePasteDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModePopupWindowStyle com.example.android.quakereport:actionModePopupWindowStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeSelectAllDrawable com.example.android.quakereport:actionModeSelectAllDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeShareDrawable com.example.android.quakereport:actionModeShareDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeSplitBackground com.example.android.quakereport:actionModeSplitBackground}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeStyle com.example.android.quakereport:actionModeStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionModeWebSearchDrawable com.example.android.quakereport:actionModeWebSearchDrawable}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionOverflowButtonStyle com.example.android.quakereport:actionOverflowButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_actionOverflowMenuStyle com.example.android.quakereport:actionOverflowMenuStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_activityChooserViewStyle com.example.android.quakereport:activityChooserViewStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogButtonGroupStyle com.example.android.quakereport:alertDialogButtonGroupStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogCenterButtons com.example.android.quakereport:alertDialogCenterButtons}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogStyle com.example.android.quakereport:alertDialogStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_alertDialogTheme com.example.android.quakereport:alertDialogTheme}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_autoCompleteTextViewStyle com.example.android.quakereport:autoCompleteTextViewStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_borderlessButtonStyle com.example.android.quakereport:borderlessButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarButtonStyle com.example.android.quakereport:buttonBarButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarNegativeButtonStyle com.example.android.quakereport:buttonBarNegativeButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarNeutralButtonStyle com.example.android.quakereport:buttonBarNeutralButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarPositiveButtonStyle com.example.android.quakereport:buttonBarPositiveButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonBarStyle com.example.android.quakereport:buttonBarStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonStyle com.example.android.quakereport:buttonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_buttonStyleSmall com.example.android.quakereport:buttonStyleSmall}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_checkboxStyle com.example.android.quakereport:checkboxStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_checkedTextViewStyle com.example.android.quakereport:checkedTextViewStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_colorAccent com.example.android.quakereport:colorAccent}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_colorButtonNormal com.example.android.quakereport:colorButtonNormal}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_colorControlActivated com.example.android.quakereport:colorControlActivated}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_colorControlHighlight com.example.android.quakereport:colorControlHighlight}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_colorControlNormal com.example.android.quakereport:colorControlNormal}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_colorPrimary com.example.android.quakereport:colorPrimary}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_colorPrimaryDark com.example.android.quakereport:colorPrimaryDark}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_colorSwitchThumbNormal com.example.android.quakereport:colorSwitchThumbNormal}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_controlBackground com.example.android.quakereport:controlBackground}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_dialogPreferredPadding com.example.android.quakereport:dialogPreferredPadding}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_dialogTheme com.example.android.quakereport:dialogTheme}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_dividerHorizontal com.example.android.quakereport:dividerHorizontal}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_dividerVertical com.example.android.quakereport:dividerVertical}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_dropDownListViewStyle com.example.android.quakereport:dropDownListViewStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_dropdownListPreferredItemHeight com.example.android.quakereport:dropdownListPreferredItemHeight}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_editTextBackground com.example.android.quakereport:editTextBackground}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_editTextColor com.example.android.quakereport:editTextColor}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_editTextStyle com.example.android.quakereport:editTextStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_homeAsUpIndicator com.example.android.quakereport:homeAsUpIndicator}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_imageButtonStyle com.example.android.quakereport:imageButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_listChoiceBackgroundIndicator com.example.android.quakereport:listChoiceBackgroundIndicator}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_listDividerAlertDialog com.example.android.quakereport:listDividerAlertDialog}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_listPopupWindowStyle com.example.android.quakereport:listPopupWindowStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemHeight com.example.android.quakereport:listPreferredItemHeight}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightLarge com.example.android.quakereport:listPreferredItemHeightLarge}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightSmall com.example.android.quakereport:listPreferredItemHeightSmall}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingLeft com.example.android.quakereport:listPreferredItemPaddingLeft}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingRight com.example.android.quakereport:listPreferredItemPaddingRight}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_panelBackground com.example.android.quakereport:panelBackground}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_panelMenuListTheme com.example.android.quakereport:panelMenuListTheme}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_panelMenuListWidth com.example.android.quakereport:panelMenuListWidth}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_popupMenuStyle com.example.android.quakereport:popupMenuStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_popupWindowStyle com.example.android.quakereport:popupWindowStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_radioButtonStyle com.example.android.quakereport:radioButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_ratingBarStyle com.example.android.quakereport:ratingBarStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_ratingBarStyleIndicator com.example.android.quakereport:ratingBarStyleIndicator}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_ratingBarStyleSmall com.example.android.quakereport:ratingBarStyleSmall}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_searchViewStyle com.example.android.quakereport:searchViewStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_seekBarStyle com.example.android.quakereport:seekBarStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_selectableItemBackground com.example.android.quakereport:selectableItemBackground}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_selectableItemBackgroundBorderless com.example.android.quakereport:selectableItemBackgroundBorderless}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_spinnerDropDownItemStyle com.example.android.quakereport:spinnerDropDownItemStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_spinnerStyle com.example.android.quakereport:spinnerStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_switchStyle com.example.android.quakereport:switchStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceLargePopupMenu com.example.android.quakereport:textAppearanceLargePopupMenu}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceListItem com.example.android.quakereport:textAppearanceListItem}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceListItemSmall com.example.android.quakereport:textAppearanceListItemSmall}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultSubtitle com.example.android.quakereport:textAppearanceSearchResultSubtitle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultTitle com.example.android.quakereport:textAppearanceSearchResultTitle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_textAppearanceSmallPopupMenu com.example.android.quakereport:textAppearanceSmallPopupMenu}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_textColorAlertDialogListItem com.example.android.quakereport:textColorAlertDialogListItem}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_textColorSearchUrl com.example.android.quakereport:textColorSearchUrl}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_toolbarNavigationButtonStyle com.example.android.quakereport:toolbarNavigationButtonStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_toolbarStyle com.example.android.quakereport:toolbarStyle}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowActionBar com.example.android.quakereport:windowActionBar}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowActionBarOverlay com.example.android.quakereport:windowActionBarOverlay}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowActionModeOverlay com.example.android.quakereport:windowActionModeOverlay}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowFixedHeightMajor com.example.android.quakereport:windowFixedHeightMajor}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowFixedHeightMinor com.example.android.quakereport:windowFixedHeightMinor}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowFixedWidthMajor com.example.android.quakereport:windowFixedWidthMajor}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowFixedWidthMinor com.example.android.quakereport:windowFixedWidthMinor}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowMinWidthMajor com.example.android.quakereport:windowMinWidthMajor}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowMinWidthMinor com.example.android.quakereport:windowMinWidthMinor}</code></td><td></td></tr> * <tr><td><code>{@link #AppCompatTheme_windowNoTitle com.example.android.quakereport:windowNoTitle}</code></td><td></td></tr> * </table> * @see #AppCompatTheme_android_windowIsFloating * @see #AppCompatTheme_android_windowAnimationStyle * @see #AppCompatTheme_actionBarDivider * @see #AppCompatTheme_actionBarItemBackground * @see #AppCompatTheme_actionBarPopupTheme * @see #AppCompatTheme_actionBarSize * @see #AppCompatTheme_actionBarSplitStyle * @see #AppCompatTheme_actionBarStyle * @see #AppCompatTheme_actionBarTabBarStyle * @see #AppCompatTheme_actionBarTabStyle * @see #AppCompatTheme_actionBarTabTextStyle * @see #AppCompatTheme_actionBarTheme * @see #AppCompatTheme_actionBarWidgetTheme * @see #AppCompatTheme_actionButtonStyle * @see #AppCompatTheme_actionDropDownStyle * @see #AppCompatTheme_actionMenuTextAppearance * @see #AppCompatTheme_actionMenuTextColor * @see #AppCompatTheme_actionModeBackground * @see #AppCompatTheme_actionModeCloseButtonStyle * @see #AppCompatTheme_actionModeCloseDrawable * @see #AppCompatTheme_actionModeCopyDrawable * @see #AppCompatTheme_actionModeCutDrawable * @see #AppCompatTheme_actionModeFindDrawable * @see #AppCompatTheme_actionModePasteDrawable * @see #AppCompatTheme_actionModePopupWindowStyle * @see #AppCompatTheme_actionModeSelectAllDrawable * @see #AppCompatTheme_actionModeShareDrawable * @see #AppCompatTheme_actionModeSplitBackground * @see #AppCompatTheme_actionModeStyle * @see #AppCompatTheme_actionModeWebSearchDrawable * @see #AppCompatTheme_actionOverflowButtonStyle * @see #AppCompatTheme_actionOverflowMenuStyle * @see #AppCompatTheme_activityChooserViewStyle * @see #AppCompatTheme_alertDialogButtonGroupStyle * @see #AppCompatTheme_alertDialogCenterButtons * @see #AppCompatTheme_alertDialogStyle * @see #AppCompatTheme_alertDialogTheme * @see #AppCompatTheme_autoCompleteTextViewStyle * @see #AppCompatTheme_borderlessButtonStyle * @see #AppCompatTheme_buttonBarButtonStyle * @see #AppCompatTheme_buttonBarNegativeButtonStyle * @see #AppCompatTheme_buttonBarNeutralButtonStyle * @see #AppCompatTheme_buttonBarPositiveButtonStyle * @see #AppCompatTheme_buttonBarStyle * @see #AppCompatTheme_buttonStyle * @see #AppCompatTheme_buttonStyleSmall * @see #AppCompatTheme_checkboxStyle * @see #AppCompatTheme_checkedTextViewStyle * @see #AppCompatTheme_colorAccent * @see #AppCompatTheme_colorButtonNormal * @see #AppCompatTheme_colorControlActivated * @see #AppCompatTheme_colorControlHighlight * @see #AppCompatTheme_colorControlNormal * @see #AppCompatTheme_colorPrimary * @see #AppCompatTheme_colorPrimaryDark * @see #AppCompatTheme_colorSwitchThumbNormal * @see #AppCompatTheme_controlBackground * @see #AppCompatTheme_dialogPreferredPadding * @see #AppCompatTheme_dialogTheme * @see #AppCompatTheme_dividerHorizontal * @see #AppCompatTheme_dividerVertical * @see #AppCompatTheme_dropDownListViewStyle * @see #AppCompatTheme_dropdownListPreferredItemHeight * @see #AppCompatTheme_editTextBackground * @see #AppCompatTheme_editTextColor * @see #AppCompatTheme_editTextStyle * @see #AppCompatTheme_homeAsUpIndicator * @see #AppCompatTheme_imageButtonStyle * @see #AppCompatTheme_listChoiceBackgroundIndicator * @see #AppCompatTheme_listDividerAlertDialog * @see #AppCompatTheme_listPopupWindowStyle * @see #AppCompatTheme_listPreferredItemHeight * @see #AppCompatTheme_listPreferredItemHeightLarge * @see #AppCompatTheme_listPreferredItemHeightSmall * @see #AppCompatTheme_listPreferredItemPaddingLeft * @see #AppCompatTheme_listPreferredItemPaddingRight * @see #AppCompatTheme_panelBackground * @see #AppCompatTheme_panelMenuListTheme * @see #AppCompatTheme_panelMenuListWidth * @see #AppCompatTheme_popupMenuStyle * @see #AppCompatTheme_popupWindowStyle * @see #AppCompatTheme_radioButtonStyle * @see #AppCompatTheme_ratingBarStyle * @see #AppCompatTheme_ratingBarStyleIndicator * @see #AppCompatTheme_ratingBarStyleSmall * @see #AppCompatTheme_searchViewStyle * @see #AppCompatTheme_seekBarStyle * @see #AppCompatTheme_selectableItemBackground * @see #AppCompatTheme_selectableItemBackgroundBorderless * @see #AppCompatTheme_spinnerDropDownItemStyle * @see #AppCompatTheme_spinnerStyle * @see #AppCompatTheme_switchStyle * @see #AppCompatTheme_textAppearanceLargePopupMenu * @see #AppCompatTheme_textAppearanceListItem * @see #AppCompatTheme_textAppearanceListItemSmall * @see #AppCompatTheme_textAppearanceSearchResultSubtitle * @see #AppCompatTheme_textAppearanceSearchResultTitle * @see #AppCompatTheme_textAppearanceSmallPopupMenu * @see #AppCompatTheme_textColorAlertDialogListItem * @see #AppCompatTheme_textColorSearchUrl * @see #AppCompatTheme_toolbarNavigationButtonStyle * @see #AppCompatTheme_toolbarStyle * @see #AppCompatTheme_windowActionBar * @see #AppCompatTheme_windowActionBarOverlay * @see #AppCompatTheme_windowActionModeOverlay * @see #AppCompatTheme_windowFixedHeightMajor * @see #AppCompatTheme_windowFixedHeightMinor * @see #AppCompatTheme_windowFixedWidthMajor * @see #AppCompatTheme_windowFixedWidthMinor * @see #AppCompatTheme_windowMinWidthMajor * @see #AppCompatTheme_windowMinWidthMinor * @see #AppCompatTheme_windowNoTitle */ public static final int[] AppCompatTheme={ 0x01010057, 0x010100ae, 0x7f030000, 0x7f030001, 0x7f030002, 0x7f030003, 0x7f030004, 0x7f030005, 0x7f030006, 0x7f030007, 0x7f030008, 0x7f030009, 0x7f03000a, 0x7f03000b, 0x7f03000c, 0x7f03000e, 0x7f03000f, 0x7f030010, 0x7f030011, 0x7f030012, 0x7f030013, 0x7f030014, 0x7f030015, 0x7f030016, 0x7f030017, 0x7f030018, 0x7f030019, 0x7f03001a, 0x7f03001b, 0x7f03001c, 0x7f03001d, 0x7f03001e, 0x7f030021, 0x7f030022, 0x7f030023, 0x7f030024, 0x7f030025, 0x7f030029, 0x7f030030, 0x7f030031, 0x7f030032, 0x7f030033, 0x7f030034, 0x7f030035, 0x7f030037, 0x7f030038, 0x7f03003b, 0x7f03003c, 0x7f030042, 0x7f030043, 0x7f030044, 0x7f030045, 0x7f030046, 0x7f030047, 0x7f030048, 0x7f030049, 0x7f03004f, 0x7f030052, 0x7f030053, 0x7f030056, 0x7f030058, 0x7f03005b, 0x7f03005c, 0x7f03005d, 0x7f03005e, 0x7f03005f, 0x7f030066, 0x7f03006a, 0x7f030070, 0x7f030071, 0x7f030074, 0x7f030075, 0x7f030076, 0x7f030077, 0x7f030078, 0x7f030079, 0x7f030085, 0x7f030086, 0x7f030087, 0x7f030088, 0x7f03008a, 0x7f030090, 0x7f030091, 0x7f030092, 0x7f030093, 0x7f030096, 0x7f030097, 0x7f030098, 0x7f030099, 0x7f03009f, 0x7f0300a0, 0x7f0300ac, 0x7f0300af, 0x7f0300b0, 0x7f0300b1, 0x7f0300b2, 0x7f0300b3, 0x7f0300b4, 0x7f0300b5, 0x7f0300b6, 0x7f0300c3, 0x7f0300c4, 0x7f0300c7, 0x7f0300c8, 0x7f0300c9, 0x7f0300ca, 0x7f0300cb, 0x7f0300cc, 0x7f0300cd, 0x7f0300ce, 0x7f0300cf, 0x7f0300d0 }; /** * <p>This symbol is the offset where the {@link android.R.attr#windowIsFloating} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:windowIsFloating */ public static final int AppCompatTheme_android_windowIsFloating=0; /** * <p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:windowAnimationStyle */ public static final int AppCompatTheme_android_windowAnimationStyle=1; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionBarDivider} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionBarDivider */ public static final int AppCompatTheme_actionBarDivider=2; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionBarItemBackground} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionBarItemBackground */ public static final int AppCompatTheme_actionBarItemBackground=3; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionBarPopupTheme} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionBarPopupTheme */ public static final int AppCompatTheme_actionBarPopupTheme=4; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionBarSize} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap_content</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.android.quakereport:actionBarSize */ public static final int AppCompatTheme_actionBarSize=5; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionBarSplitStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionBarSplitStyle */ public static final int AppCompatTheme_actionBarSplitStyle=6; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionBarStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionBarStyle */ public static final int AppCompatTheme_actionBarStyle=7; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionBarTabBarStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionBarTabBarStyle */ public static final int AppCompatTheme_actionBarTabBarStyle=8; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionBarTabStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionBarTabStyle */ public static final int AppCompatTheme_actionBarTabStyle=9; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionBarTabTextStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionBarTabTextStyle */ public static final int AppCompatTheme_actionBarTabTextStyle=10; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionBarTheme} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionBarTheme */ public static final int AppCompatTheme_actionBarTheme=11; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionBarWidgetTheme} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionBarWidgetTheme */ public static final int AppCompatTheme_actionBarWidgetTheme=12; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionButtonStyle */ public static final int AppCompatTheme_actionButtonStyle=13; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionDropDownStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionDropDownStyle */ public static final int AppCompatTheme_actionDropDownStyle=14; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionMenuTextAppearance} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionMenuTextAppearance */ public static final int AppCompatTheme_actionMenuTextAppearance=15; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionMenuTextColor} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:actionMenuTextColor */ public static final int AppCompatTheme_actionMenuTextColor=16; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModeBackground} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModeBackground */ public static final int AppCompatTheme_actionModeBackground=17; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModeCloseButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModeCloseButtonStyle */ public static final int AppCompatTheme_actionModeCloseButtonStyle=18; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModeCloseDrawable} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModeCloseDrawable */ public static final int AppCompatTheme_actionModeCloseDrawable=19; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModeCopyDrawable} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModeCopyDrawable */ public static final int AppCompatTheme_actionModeCopyDrawable=20; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModeCutDrawable} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModeCutDrawable */ public static final int AppCompatTheme_actionModeCutDrawable=21; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModeFindDrawable} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModeFindDrawable */ public static final int AppCompatTheme_actionModeFindDrawable=22; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModePasteDrawable} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModePasteDrawable */ public static final int AppCompatTheme_actionModePasteDrawable=23; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModePopupWindowStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModePopupWindowStyle */ public static final int AppCompatTheme_actionModePopupWindowStyle=24; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModeSelectAllDrawable} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModeSelectAllDrawable */ public static final int AppCompatTheme_actionModeSelectAllDrawable=25; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModeShareDrawable} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModeShareDrawable */ public static final int AppCompatTheme_actionModeShareDrawable=26; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModeSplitBackground} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModeSplitBackground */ public static final int AppCompatTheme_actionModeSplitBackground=27; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModeStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModeStyle */ public static final int AppCompatTheme_actionModeStyle=28; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionModeWebSearchDrawable} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionModeWebSearchDrawable */ public static final int AppCompatTheme_actionModeWebSearchDrawable=29; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionOverflowButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionOverflowButtonStyle */ public static final int AppCompatTheme_actionOverflowButtonStyle=30; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionOverflowMenuStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionOverflowMenuStyle */ public static final int AppCompatTheme_actionOverflowMenuStyle=31; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#activityChooserViewStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:activityChooserViewStyle */ public static final int AppCompatTheme_activityChooserViewStyle=32; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#alertDialogButtonGroupStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:alertDialogButtonGroupStyle */ public static final int AppCompatTheme_alertDialogButtonGroupStyle=33; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#alertDialogCenterButtons} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:alertDialogCenterButtons */ public static final int AppCompatTheme_alertDialogCenterButtons=34; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#alertDialogStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:alertDialogStyle */ public static final int AppCompatTheme_alertDialogStyle=35; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#alertDialogTheme} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:alertDialogTheme */ public static final int AppCompatTheme_alertDialogTheme=36; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#autoCompleteTextViewStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:autoCompleteTextViewStyle */ public static final int AppCompatTheme_autoCompleteTextViewStyle=37; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#borderlessButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:borderlessButtonStyle */ public static final int AppCompatTheme_borderlessButtonStyle=38; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#buttonBarButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:buttonBarButtonStyle */ public static final int AppCompatTheme_buttonBarButtonStyle=39; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#buttonBarNegativeButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:buttonBarNegativeButtonStyle */ public static final int AppCompatTheme_buttonBarNegativeButtonStyle=40; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#buttonBarNeutralButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:buttonBarNeutralButtonStyle */ public static final int AppCompatTheme_buttonBarNeutralButtonStyle=41; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#buttonBarPositiveButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:buttonBarPositiveButtonStyle */ public static final int AppCompatTheme_buttonBarPositiveButtonStyle=42; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#buttonBarStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:buttonBarStyle */ public static final int AppCompatTheme_buttonBarStyle=43; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#buttonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:buttonStyle */ public static final int AppCompatTheme_buttonStyle=44; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#buttonStyleSmall} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:buttonStyleSmall */ public static final int AppCompatTheme_buttonStyleSmall=45; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#checkboxStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:checkboxStyle */ public static final int AppCompatTheme_checkboxStyle=46; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#checkedTextViewStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:checkedTextViewStyle */ public static final int AppCompatTheme_checkedTextViewStyle=47; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#colorAccent} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:colorAccent */ public static final int AppCompatTheme_colorAccent=48; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#colorButtonNormal} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:colorButtonNormal */ public static final int AppCompatTheme_colorButtonNormal=49; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#colorControlActivated} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:colorControlActivated */ public static final int AppCompatTheme_colorControlActivated=50; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#colorControlHighlight} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:colorControlHighlight */ public static final int AppCompatTheme_colorControlHighlight=51; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#colorControlNormal} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:colorControlNormal */ public static final int AppCompatTheme_colorControlNormal=52; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#colorPrimary} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:colorPrimary */ public static final int AppCompatTheme_colorPrimary=53; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#colorPrimaryDark} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:colorPrimaryDark */ public static final int AppCompatTheme_colorPrimaryDark=54; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#colorSwitchThumbNormal} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:colorSwitchThumbNormal */ public static final int AppCompatTheme_colorSwitchThumbNormal=55; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#controlBackground} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:controlBackground */ public static final int AppCompatTheme_controlBackground=56; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#dialogPreferredPadding} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:dialogPreferredPadding */ public static final int AppCompatTheme_dialogPreferredPadding=57; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#dialogTheme} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:dialogTheme */ public static final int AppCompatTheme_dialogTheme=58; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#dividerHorizontal} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:dividerHorizontal */ public static final int AppCompatTheme_dividerHorizontal=59; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#dividerVertical} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:dividerVertical */ public static final int AppCompatTheme_dividerVertical=60; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#dropDownListViewStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:dropDownListViewStyle */ public static final int AppCompatTheme_dropDownListViewStyle=61; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#dropdownListPreferredItemHeight} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:dropdownListPreferredItemHeight */ public static final int AppCompatTheme_dropdownListPreferredItemHeight=62; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#editTextBackground} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:editTextBackground */ public static final int AppCompatTheme_editTextBackground=63; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#editTextColor} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:editTextColor */ public static final int AppCompatTheme_editTextColor=64; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#editTextStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:editTextStyle */ public static final int AppCompatTheme_editTextStyle=65; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#homeAsUpIndicator} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:homeAsUpIndicator */ public static final int AppCompatTheme_homeAsUpIndicator=66; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#imageButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:imageButtonStyle */ public static final int AppCompatTheme_imageButtonStyle=67; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#listChoiceBackgroundIndicator} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:listChoiceBackgroundIndicator */ public static final int AppCompatTheme_listChoiceBackgroundIndicator=68; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#listDividerAlertDialog} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:listDividerAlertDialog */ public static final int AppCompatTheme_listDividerAlertDialog=69; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#listPopupWindowStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:listPopupWindowStyle */ public static final int AppCompatTheme_listPopupWindowStyle=70; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#listPreferredItemHeight} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:listPreferredItemHeight */ public static final int AppCompatTheme_listPreferredItemHeight=71; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#listPreferredItemHeightLarge} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:listPreferredItemHeightLarge */ public static final int AppCompatTheme_listPreferredItemHeightLarge=72; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#listPreferredItemHeightSmall} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:listPreferredItemHeightSmall */ public static final int AppCompatTheme_listPreferredItemHeightSmall=73; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#listPreferredItemPaddingLeft} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:listPreferredItemPaddingLeft */ public static final int AppCompatTheme_listPreferredItemPaddingLeft=74; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#listPreferredItemPaddingRight} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:listPreferredItemPaddingRight */ public static final int AppCompatTheme_listPreferredItemPaddingRight=75; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#panelBackground} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:panelBackground */ public static final int AppCompatTheme_panelBackground=76; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#panelMenuListTheme} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:panelMenuListTheme */ public static final int AppCompatTheme_panelMenuListTheme=77; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#panelMenuListWidth} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:panelMenuListWidth */ public static final int AppCompatTheme_panelMenuListWidth=78; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#popupMenuStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:popupMenuStyle */ public static final int AppCompatTheme_popupMenuStyle=79; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#popupWindowStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:popupWindowStyle */ public static final int AppCompatTheme_popupWindowStyle=80; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#radioButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:radioButtonStyle */ public static final int AppCompatTheme_radioButtonStyle=81; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#ratingBarStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:ratingBarStyle */ public static final int AppCompatTheme_ratingBarStyle=82; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#ratingBarStyleIndicator} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:ratingBarStyleIndicator */ public static final int AppCompatTheme_ratingBarStyleIndicator=83; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#ratingBarStyleSmall} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:ratingBarStyleSmall */ public static final int AppCompatTheme_ratingBarStyleSmall=84; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#searchViewStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:searchViewStyle */ public static final int AppCompatTheme_searchViewStyle=85; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#seekBarStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:seekBarStyle */ public static final int AppCompatTheme_seekBarStyle=86; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#selectableItemBackground} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:selectableItemBackground */ public static final int AppCompatTheme_selectableItemBackground=87; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#selectableItemBackgroundBorderless} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:selectableItemBackgroundBorderless */ public static final int AppCompatTheme_selectableItemBackgroundBorderless=88; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#spinnerDropDownItemStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:spinnerDropDownItemStyle */ public static final int AppCompatTheme_spinnerDropDownItemStyle=89; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#spinnerStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:spinnerStyle */ public static final int AppCompatTheme_spinnerStyle=90; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#switchStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:switchStyle */ public static final int AppCompatTheme_switchStyle=91; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#textAppearanceLargePopupMenu} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:textAppearanceLargePopupMenu */ public static final int AppCompatTheme_textAppearanceLargePopupMenu=92; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#textAppearanceListItem} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:textAppearanceListItem */ public static final int AppCompatTheme_textAppearanceListItem=93; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#textAppearanceListItemSmall} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:textAppearanceListItemSmall */ public static final int AppCompatTheme_textAppearanceListItemSmall=94; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#textAppearanceSearchResultSubtitle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:textAppearanceSearchResultSubtitle */ public static final int AppCompatTheme_textAppearanceSearchResultSubtitle=95; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#textAppearanceSearchResultTitle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:textAppearanceSearchResultTitle */ public static final int AppCompatTheme_textAppearanceSearchResultTitle=96; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#textAppearanceSmallPopupMenu} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:textAppearanceSmallPopupMenu */ public static final int AppCompatTheme_textAppearanceSmallPopupMenu=97; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#textColorAlertDialogListItem} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:textColorAlertDialogListItem */ public static final int AppCompatTheme_textColorAlertDialogListItem=98; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#textColorSearchUrl} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:textColorSearchUrl */ public static final int AppCompatTheme_textColorSearchUrl=99; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#toolbarNavigationButtonStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:toolbarNavigationButtonStyle */ public static final int AppCompatTheme_toolbarNavigationButtonStyle=100; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#toolbarStyle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:toolbarStyle */ public static final int AppCompatTheme_toolbarStyle=101; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#windowActionBar} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:windowActionBar */ public static final int AppCompatTheme_windowActionBar=102; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#windowActionBarOverlay} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:windowActionBarOverlay */ public static final int AppCompatTheme_windowActionBarOverlay=103; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#windowActionModeOverlay} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:windowActionModeOverlay */ public static final int AppCompatTheme_windowActionModeOverlay=104; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#windowFixedHeightMajor} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name com.example.android.quakereport:windowFixedHeightMajor */ public static final int AppCompatTheme_windowFixedHeightMajor=105; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#windowFixedHeightMinor} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name com.example.android.quakereport:windowFixedHeightMinor */ public static final int AppCompatTheme_windowFixedHeightMinor=106; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#windowFixedWidthMajor} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name com.example.android.quakereport:windowFixedWidthMajor */ public static final int AppCompatTheme_windowFixedWidthMajor=107; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#windowFixedWidthMinor} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name com.example.android.quakereport:windowFixedWidthMinor */ public static final int AppCompatTheme_windowFixedWidthMinor=108; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#windowMinWidthMajor} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name com.example.android.quakereport:windowMinWidthMajor */ public static final int AppCompatTheme_windowMinWidthMajor=109; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#windowMinWidthMinor} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>May be a fractional value, which is a floating point number appended with * either % or %p, such as "<code>14.5%</code>". * The % suffix always means a percentage of the base size; * the optional %p suffix provides a size relative to some parent container. * * @attr name com.example.android.quakereport:windowMinWidthMinor */ public static final int AppCompatTheme_windowMinWidthMinor=110; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#windowNoTitle} * attribute's value can be found in the {@link #AppCompatTheme} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:windowNoTitle */ public static final int AppCompatTheme_windowNoTitle=111; /** * Attributes that can be used with a ButtonBarLayout. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ButtonBarLayout_allowStacking com.example.android.quakereport:allowStacking}</code></td><td></td></tr> * </table> * @see #ButtonBarLayout_allowStacking */ public static final int[] ButtonBarLayout={ 0x7f030026 }; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#allowStacking} * attribute's value can be found in the {@link #ButtonBarLayout} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:allowStacking */ public static final int ButtonBarLayout_allowStacking=0; /** * Attributes that can be used with a CompoundButton. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #CompoundButton_android_button android:button}</code></td><td></td></tr> * <tr><td><code>{@link #CompoundButton_buttonTint com.example.android.quakereport:buttonTint}</code></td><td></td></tr> * <tr><td><code>{@link #CompoundButton_buttonTintMode com.example.android.quakereport:buttonTintMode}</code></td><td></td></tr> * </table> * @see #CompoundButton_android_button * @see #CompoundButton_buttonTint * @see #CompoundButton_buttonTintMode */ public static final int[] CompoundButton={ 0x01010107, 0x7f030039, 0x7f03003a }; /** * <p>This symbol is the offset where the {@link android.R.attr#button} * attribute's value can be found in the {@link #CompoundButton} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:button */ public static final int CompoundButton_android_button=0; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#buttonTint} * attribute's value can be found in the {@link #CompoundButton} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:buttonTint */ public static final int CompoundButton_buttonTint=1; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#buttonTintMode} * attribute's value can be found in the {@link #CompoundButton} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>multiply</td><td>e</td><td></td></tr> * <tr><td>screen</td><td>f</td><td></td></tr> * <tr><td>src_atop</td><td>9</td><td></td></tr> * <tr><td>src_in</td><td>5</td><td></td></tr> * <tr><td>src_over</td><td>3</td><td></td></tr> * </table> * * @attr name com.example.android.quakereport:buttonTintMode */ public static final int CompoundButton_buttonTintMode=2; /** * Attributes that can be used with a DrawerArrowToggle. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #DrawerArrowToggle_arrowHeadLength com.example.android.quakereport:arrowHeadLength}</code></td><td></td></tr> * <tr><td><code>{@link #DrawerArrowToggle_arrowShaftLength com.example.android.quakereport:arrowShaftLength}</code></td><td></td></tr> * <tr><td><code>{@link #DrawerArrowToggle_barLength com.example.android.quakereport:barLength}</code></td><td></td></tr> * <tr><td><code>{@link #DrawerArrowToggle_color com.example.android.quakereport:color}</code></td><td></td></tr> * <tr><td><code>{@link #DrawerArrowToggle_drawableSize com.example.android.quakereport:drawableSize}</code></td><td></td></tr> * <tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars com.example.android.quakereport:gapBetweenBars}</code></td><td></td></tr> * <tr><td><code>{@link #DrawerArrowToggle_spinBars com.example.android.quakereport:spinBars}</code></td><td></td></tr> * <tr><td><code>{@link #DrawerArrowToggle_thickness com.example.android.quakereport:thickness}</code></td><td></td></tr> * </table> * @see #DrawerArrowToggle_arrowHeadLength * @see #DrawerArrowToggle_arrowShaftLength * @see #DrawerArrowToggle_barLength * @see #DrawerArrowToggle_color * @see #DrawerArrowToggle_drawableSize * @see #DrawerArrowToggle_gapBetweenBars * @see #DrawerArrowToggle_spinBars * @see #DrawerArrowToggle_thickness */ public static final int[] DrawerArrowToggle={ 0x7f030027, 0x7f030028, 0x7f03002f, 0x7f030041, 0x7f030059, 0x7f030062, 0x7f03009e, 0x7f0300b8 }; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#arrowHeadLength} * attribute's value can be found in the {@link #DrawerArrowToggle} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:arrowHeadLength */ public static final int DrawerArrowToggle_arrowHeadLength=0; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#arrowShaftLength} * attribute's value can be found in the {@link #DrawerArrowToggle} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:arrowShaftLength */ public static final int DrawerArrowToggle_arrowShaftLength=1; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#barLength} * attribute's value can be found in the {@link #DrawerArrowToggle} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:barLength */ public static final int DrawerArrowToggle_barLength=2; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#color} * attribute's value can be found in the {@link #DrawerArrowToggle} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:color */ public static final int DrawerArrowToggle_color=3; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#drawableSize} * attribute's value can be found in the {@link #DrawerArrowToggle} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:drawableSize */ public static final int DrawerArrowToggle_drawableSize=4; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#gapBetweenBars} * attribute's value can be found in the {@link #DrawerArrowToggle} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:gapBetweenBars */ public static final int DrawerArrowToggle_gapBetweenBars=5; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#spinBars} * attribute's value can be found in the {@link #DrawerArrowToggle} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:spinBars */ public static final int DrawerArrowToggle_spinBars=6; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#thickness} * attribute's value can be found in the {@link #DrawerArrowToggle} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:thickness */ public static final int DrawerArrowToggle_thickness=7; /** * Attributes that can be used with a LinearLayoutCompat. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #LinearLayoutCompat_android_gravity android:gravity}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_android_orientation android:orientation}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_android_baselineAligned android:baselineAligned}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_android_baselineAlignedChildIndex android:baselineAlignedChildIndex}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_android_weightSum android:weightSum}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_divider com.example.android.quakereport:divider}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_dividerPadding com.example.android.quakereport:dividerPadding}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild com.example.android.quakereport:measureWithLargestChild}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_showDividers com.example.android.quakereport:showDividers}</code></td><td></td></tr> * </table> * @see #LinearLayoutCompat_android_gravity * @see #LinearLayoutCompat_android_orientation * @see #LinearLayoutCompat_android_baselineAligned * @see #LinearLayoutCompat_android_baselineAlignedChildIndex * @see #LinearLayoutCompat_android_weightSum * @see #LinearLayoutCompat_divider * @see #LinearLayoutCompat_dividerPadding * @see #LinearLayoutCompat_measureWithLargestChild * @see #LinearLayoutCompat_showDividers */ public static final int[] LinearLayoutCompat={ 0x010100af, 0x010100c4, 0x01010126, 0x01010127, 0x01010128, 0x7f030055, 0x7f030057, 0x7f03007d, 0x7f03009b }; /** * <p>This symbol is the offset where the {@link android.R.attr#gravity} * attribute's value can be found in the {@link #LinearLayoutCompat} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>end</td><td>800005</td><td></td></tr> * <tr><td>start</td><td>800003</td><td></td></tr> * <tr><td>bottom</td><td>50</td><td></td></tr> * <tr><td>center</td><td>11</td><td></td></tr> * <tr><td>center_horizontal</td><td>1</td><td></td></tr> * <tr><td>center_vertical</td><td>10</td><td></td></tr> * <tr><td>clip_horizontal</td><td>8</td><td></td></tr> * <tr><td>clip_vertical</td><td>80</td><td></td></tr> * <tr><td>fill</td><td>77</td><td></td></tr> * <tr><td>fill_horizontal</td><td>7</td><td></td></tr> * <tr><td>fill_vertical</td><td>70</td><td></td></tr> * <tr><td>left</td><td>3</td><td></td></tr> * <tr><td>right</td><td>5</td><td></td></tr> * <tr><td>top</td><td>30</td><td></td></tr> * </table> * * @attr name android: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. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>horizontal</td><td>0</td><td></td></tr> * <tr><td>vertical</td><td>1</td><td></td></tr> * </table> * * @attr name android:orientation */ public static final int LinearLayoutCompat_android_orientation=1; /** * <p>This symbol is the offset where the {@link android.R.attr#baselineAligned} * attribute's value can be found in the {@link #LinearLayoutCompat} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:baselineAligned */ public static final int LinearLayoutCompat_android_baselineAligned=2; /** * <p>This symbol is the offset where the {@link android.R.attr#baselineAlignedChildIndex} * attribute's value can be found in the {@link #LinearLayoutCompat} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name android:baselineAlignedChildIndex */ public static final int LinearLayoutCompat_android_baselineAlignedChildIndex=3; /** * <p>This symbol is the offset where the {@link android.R.attr#weightSum} * attribute's value can be found in the {@link #LinearLayoutCompat} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:weightSum */ public static final int LinearLayoutCompat_android_weightSum=4; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#divider} * attribute's value can be found in the {@link #LinearLayoutCompat} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:divider */ public static final int LinearLayoutCompat_divider=5; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#dividerPadding} * attribute's value can be found in the {@link #LinearLayoutCompat} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:dividerPadding */ public static final int LinearLayoutCompat_dividerPadding=6; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#measureWithLargestChild} * attribute's value can be found in the {@link #LinearLayoutCompat} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:measureWithLargestChild */ public static final int LinearLayoutCompat_measureWithLargestChild=7; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.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>beginning</td><td>1</td><td></td></tr> * <tr><td>end</td><td>4</td><td></td></tr> * <tr><td>middle</td><td>2</td><td></td></tr> * <tr><td>none</td><td>0</td><td></td></tr> * </table> * * @attr name com.example.android.quakereport:showDividers */ public static final int LinearLayoutCompat_showDividers=8; /** * Attributes that can be used with a LinearLayoutCompat_Layout. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_width android:layout_width}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_height android:layout_height}</code></td><td></td></tr> * <tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_weight android:layout_weight}</code></td><td></td></tr> * </table> * @see #LinearLayoutCompat_Layout_android_layout_gravity * @see #LinearLayoutCompat_Layout_android_layout_width * @see #LinearLayoutCompat_Layout_android_layout_height * @see #LinearLayoutCompat_Layout_android_layout_weight */ public static final int[] LinearLayoutCompat_Layout={ 0x010100b3, 0x010100f4, 0x010100f5, 0x01010181 }; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_gravity} * attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>end</td><td>800005</td><td></td></tr> * <tr><td>start</td><td>800003</td><td></td></tr> * <tr><td>bottom</td><td>50</td><td></td></tr> * <tr><td>center</td><td>11</td><td></td></tr> * <tr><td>center_horizontal</td><td>1</td><td></td></tr> * <tr><td>center_vertical</td><td>10</td><td></td></tr> * <tr><td>clip_horizontal</td><td>8</td><td></td></tr> * <tr><td>clip_vertical</td><td>80</td><td></td></tr> * <tr><td>fill</td><td>77</td><td></td></tr> * <tr><td>fill_horizontal</td><td>7</td><td></td></tr> * <tr><td>fill_vertical</td><td>70</td><td></td></tr> * <tr><td>left</td><td>3</td><td></td></tr> * <tr><td>right</td><td>5</td><td></td></tr> * <tr><td>top</td><td>30</td><td></td></tr> * </table> * * @attr name android:layout_gravity */ public static final int LinearLayoutCompat_Layout_android_layout_gravity=0; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_width} * attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap_content</td><td>fffffffe</td><td></td></tr> * <tr><td>fill_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>match_parent</td><td>ffffffff</td><td></td></tr> * </table> * * @attr name android:layout_width */ public static final int LinearLayoutCompat_Layout_android_layout_width=1; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_height} * attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap_content</td><td>fffffffe</td><td></td></tr> * <tr><td>fill_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>match_parent</td><td>ffffffff</td><td></td></tr> * </table> * * @attr name android:layout_height */ public static final int LinearLayoutCompat_Layout_android_layout_height=2; /** * <p>This symbol is the offset where the {@link android.R.attr#layout_weight} * attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:layout_weight */ public static final int LinearLayoutCompat_Layout_android_layout_weight=3; /** * Attributes that can be used with a ListPopupWindow. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ListPopupWindow_android_dropDownHorizontalOffset android:dropDownHorizontalOffset}</code></td><td></td></tr> * <tr><td><code>{@link #ListPopupWindow_android_dropDownVerticalOffset android:dropDownVerticalOffset}</code></td><td></td></tr> * </table> * @see #ListPopupWindow_android_dropDownHorizontalOffset * @see #ListPopupWindow_android_dropDownVerticalOffset */ public static final int[] ListPopupWindow={ 0x010102ac, 0x010102ad }; /** * <p>This symbol is the offset where the {@link android.R.attr#dropDownHorizontalOffset} * attribute's value can be found in the {@link #ListPopupWindow} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android: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. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:dropDownVerticalOffset */ public static final int ListPopupWindow_android_dropDownVerticalOffset=1; /** * Attributes that can be used with a MenuGroup. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #MenuGroup_android_enabled android:enabled}</code></td><td></td></tr> * <tr><td><code>{@link #MenuGroup_android_id android:id}</code></td><td></td></tr> * <tr><td><code>{@link #MenuGroup_android_visible android:visible}</code></td><td></td></tr> * <tr><td><code>{@link #MenuGroup_android_menuCategory android:menuCategory}</code></td><td></td></tr> * <tr><td><code>{@link #MenuGroup_android_orderInCategory android:orderInCategory}</code></td><td></td></tr> * <tr><td><code>{@link #MenuGroup_android_checkableBehavior android:checkableBehavior}</code></td><td></td></tr> * </table> * @see #MenuGroup_android_enabled * @see #MenuGroup_android_id * @see #MenuGroup_android_visible * @see #MenuGroup_android_menuCategory * @see #MenuGroup_android_orderInCategory * @see #MenuGroup_android_checkableBehavior */ public static final int[] MenuGroup={ 0x0101000e, 0x010100d0, 0x01010194, 0x010101de, 0x010101df, 0x010101e0 }; /** * <p>This symbol is the offset where the {@link android.R.attr#enabled} * attribute's value can be found in the {@link #MenuGroup} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:enabled */ public static final int MenuGroup_android_enabled=0; /** * <p>This symbol is the offset where the {@link android.R.attr#id} * attribute's value can be found in the {@link #MenuGroup} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:id */ public static final int MenuGroup_android_id=1; /** * <p>This symbol is the offset where the {@link android.R.attr#visible} * attribute's value can be found in the {@link #MenuGroup} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:visible */ public static final int MenuGroup_android_visible=2; /** * <p>This symbol is the offset where the {@link android.R.attr#menuCategory} * attribute's value can be found in the {@link #MenuGroup} 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>alternative</td><td>40000</td><td></td></tr> * <tr><td>container</td><td>10000</td><td></td></tr> * <tr><td>secondary</td><td>30000</td><td></td></tr> * <tr><td>system</td><td>20000</td><td></td></tr> * </table> * * @attr name android:menuCategory */ public static final int MenuGroup_android_menuCategory=3; /** * <p>This symbol is the offset where the {@link android.R.attr#orderInCategory} * attribute's value can be found in the {@link #MenuGroup} array. * * <p>May be an integer value, such as "<code>100</code>". * * @attr name android:orderInCategory */ public static final int MenuGroup_android_orderInCategory=4; /** * <p>This symbol is the offset where the {@link android.R.attr#checkableBehavior} * attribute's value can be found in the {@link #MenuGroup} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>none</td><td>0</td><td></td></tr> * <tr><td>all</td><td>1</td><td></td></tr> * <tr><td>single</td><td>2</td><td></td></tr> * </table> * * @attr name android:checkableBehavior */ public static final int MenuGroup_android_checkableBehavior=5; /** * Attributes that can be used with a MenuItem. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #MenuItem_android_icon android:icon}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_enabled android:enabled}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_id android:id}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_checked android:checked}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_visible android:visible}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_menuCategory android:menuCategory}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_orderInCategory android:orderInCategory}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_title android:title}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_titleCondensed android:titleCondensed}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_alphabeticShortcut android:alphabeticShortcut}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_numericShortcut android:numericShortcut}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_checkable android:checkable}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_android_onClick android:onClick}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_actionLayout com.example.android.quakereport:actionLayout}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_actionProviderClass com.example.android.quakereport:actionProviderClass}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_actionViewClass com.example.android.quakereport:actionViewClass}</code></td><td></td></tr> * <tr><td><code>{@link #MenuItem_showAsAction com.example.android.quakereport:showAsAction}</code></td><td></td></tr> * </table> * @see #MenuItem_android_icon * @see #MenuItem_android_enabled * @see #MenuItem_android_id * @see #MenuItem_android_checked * @see #MenuItem_android_visible * @see #MenuItem_android_menuCategory * @see #MenuItem_android_orderInCategory * @see #MenuItem_android_title * @see #MenuItem_android_titleCondensed * @see #MenuItem_android_alphabeticShortcut * @see #MenuItem_android_numericShortcut * @see #MenuItem_android_checkable * @see #MenuItem_android_onClick * @see #MenuItem_actionLayout * @see #MenuItem_actionProviderClass * @see #MenuItem_actionViewClass * @see #MenuItem_showAsAction */ public static final int[] MenuItem={ 0x01010002, 0x0101000e, 0x010100d0, 0x01010106, 0x01010194, 0x010101de, 0x010101df, 0x010101e1, 0x010101e2, 0x010101e3, 0x010101e4, 0x010101e5, 0x0101026f, 0x7f03000d, 0x7f03001f, 0x7f030020, 0x7f03009a }; /** * <p>This symbol is the offset where the {@link android.R.attr#icon} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:icon */ public static final int MenuItem_android_icon=0; /** * <p>This symbol is the offset where the {@link android.R.attr#enabled} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:enabled */ public static final int MenuItem_android_enabled=1; /** * <p>This symbol is the offset where the {@link android.R.attr#id} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:id */ public static final int MenuItem_android_id=2; /** * <p>This symbol is the offset where the {@link android.R.attr#checked} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:checked */ public static final int MenuItem_android_checked=3; /** * <p>This symbol is the offset where the {@link android.R.attr#visible} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:visible */ public static final int MenuItem_android_visible=4; /** * <p>This symbol is the offset where the {@link android.R.attr#menuCategory} * attribute's value can be found in the {@link #MenuItem} 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>alternative</td><td>40000</td><td></td></tr> * <tr><td>container</td><td>10000</td><td></td></tr> * <tr><td>secondary</td><td>30000</td><td></td></tr> * <tr><td>system</td><td>20000</td><td></td></tr> * </table> * * @attr name android:menuCategory */ public static final int MenuItem_android_menuCategory=5; /** * <p>This symbol is the offset where the {@link android.R.attr#orderInCategory} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be an integer value, such as "<code>100</code>". * * @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. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:title */ public static final int MenuItem_android_title=7; /** * <p>This symbol is the offset where the {@link android.R.attr#titleCondensed} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:titleCondensed */ public static final int MenuItem_android_titleCondensed=8; /** * <p>This symbol is the offset where the {@link android.R.attr#alphabeticShortcut} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:alphabeticShortcut */ public static final int MenuItem_android_alphabeticShortcut=9; /** * <p>This symbol is the offset where the {@link android.R.attr#numericShortcut} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:numericShortcut */ public static final int MenuItem_android_numericShortcut=10; /** * <p>This symbol is the offset where the {@link android.R.attr#checkable} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:checkable */ public static final int MenuItem_android_checkable=11; /** * <p>This symbol is the offset where the {@link android.R.attr#onClick} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:onClick */ public static final int MenuItem_android_onClick=12; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionLayout} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:actionLayout */ public static final int MenuItem_actionLayout=13; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionProviderClass} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.android.quakereport:actionProviderClass */ public static final int MenuItem_actionProviderClass=14; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#actionViewClass} * attribute's value can be found in the {@link #MenuItem} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.android.quakereport:actionViewClass */ public static final int MenuItem_actionViewClass=15; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.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>always</td><td>2</td><td></td></tr> * <tr><td>collapseActionView</td><td>8</td><td></td></tr> * <tr><td>ifRoom</td><td>1</td><td></td></tr> * <tr><td>never</td><td>0</td><td></td></tr> * <tr><td>withText</td><td>4</td><td></td></tr> * </table> * * @attr name com.example.android.quakereport:showAsAction */ public static final int MenuItem_showAsAction=16; /** * Attributes that can be used with a MenuView. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #MenuView_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_android_itemTextAppearance android:itemTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_android_horizontalDivider android:horizontalDivider}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_android_verticalDivider android:verticalDivider}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_android_headerBackground android:headerBackground}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_android_itemBackground android:itemBackground}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_android_itemIconDisabledAlpha android:itemIconDisabledAlpha}</code></td><td></td></tr> * <tr><td><code>{@link #MenuView_preserveIconSpacing com.example.android.quakereport:preserveIconSpacing}</code></td><td></td></tr> * </table> * @see #MenuView_android_windowAnimationStyle * @see #MenuView_android_itemTextAppearance * @see #MenuView_android_horizontalDivider * @see #MenuView_android_verticalDivider * @see #MenuView_android_headerBackground * @see #MenuView_android_itemBackground * @see #MenuView_android_itemIconDisabledAlpha * @see #MenuView_preserveIconSpacing */ public static final int[] MenuView={ 0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e, 0x0101012f, 0x01010130, 0x01010131, 0x7f03008b }; /** * <p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle} * attribute's value can be found in the {@link #MenuView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:windowAnimationStyle */ public static final int MenuView_android_windowAnimationStyle=0; /** * <p>This symbol is the offset where the {@link android.R.attr#itemTextAppearance} * attribute's value can be found in the {@link #MenuView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:itemTextAppearance */ public static final int MenuView_android_itemTextAppearance=1; /** * <p>This symbol is the offset where the {@link android.R.attr#horizontalDivider} * attribute's value can be found in the {@link #MenuView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:horizontalDivider */ public static final int MenuView_android_horizontalDivider=2; /** * <p>This symbol is the offset where the {@link android.R.attr#verticalDivider} * attribute's value can be found in the {@link #MenuView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:verticalDivider */ public static final int MenuView_android_verticalDivider=3; /** * <p>This symbol is the offset where the {@link android.R.attr#headerBackground} * attribute's value can be found in the {@link #MenuView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:headerBackground */ public static final int MenuView_android_headerBackground=4; /** * <p>This symbol is the offset where the {@link android.R.attr#itemBackground} * attribute's value can be found in the {@link #MenuView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android: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. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:itemIconDisabledAlpha */ public static final int MenuView_android_itemIconDisabledAlpha=6; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#preserveIconSpacing} * attribute's value can be found in the {@link #MenuView} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport: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.example.android.quakereport:overlapAnchor}</code></td><td></td></tr> * </table> * @see #PopupWindow_android_popupBackground * @see #PopupWindow_overlapAnchor */ public static final int[] PopupWindow={ 0x01010176, 0x7f030082 }; /** * <p>This symbol is the offset where the {@link android.R.attr#popupBackground} * attribute's value can be found in the {@link #PopupWindow} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:popupBackground */ public static final int PopupWindow_android_popupBackground=0; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#overlapAnchor} * attribute's value can be found in the {@link #PopupWindow} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport: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.example.android.quakereport:state_above_anchor}</code></td><td></td></tr> * </table> * @see #PopupWindowBackgroundState_state_above_anchor */ public static final int[] PopupWindowBackgroundState={ 0x7f0300a3 }; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#state_above_anchor} * attribute's value can be found in the {@link #PopupWindowBackgroundState} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport: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_maxWidth android:maxWidth}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_android_inputType android:inputType}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_android_imeOptions android:imeOptions}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_closeIcon com.example.android.quakereport:closeIcon}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_commitIcon com.example.android.quakereport:commitIcon}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_defaultQueryHint com.example.android.quakereport:defaultQueryHint}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_goIcon com.example.android.quakereport:goIcon}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_iconifiedByDefault com.example.android.quakereport:iconifiedByDefault}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_layout com.example.android.quakereport:layout}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_queryBackground com.example.android.quakereport:queryBackground}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_queryHint com.example.android.quakereport:queryHint}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_searchHintIcon com.example.android.quakereport:searchHintIcon}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_searchIcon com.example.android.quakereport:searchIcon}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_submitBackground com.example.android.quakereport:submitBackground}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_suggestionRowLayout com.example.android.quakereport:suggestionRowLayout}</code></td><td></td></tr> * <tr><td><code>{@link #SearchView_voiceIcon com.example.android.quakereport:voiceIcon}</code></td><td></td></tr> * </table> * @see #SearchView_android_focusable * @see #SearchView_android_maxWidth * @see #SearchView_android_inputType * @see #SearchView_android_imeOptions * @see #SearchView_closeIcon * @see #SearchView_commitIcon * @see #SearchView_defaultQueryHint * @see #SearchView_goIcon * @see #SearchView_iconifiedByDefault * @see #SearchView_layout * @see #SearchView_queryBackground * @see #SearchView_queryHint * @see #SearchView_searchHintIcon * @see #SearchView_searchIcon * @see #SearchView_submitBackground * @see #SearchView_suggestionRowLayout * @see #SearchView_voiceIcon */ public static final int[] SearchView={ 0x010100da, 0x0101011f, 0x01010220, 0x01010264, 0x7f03003d, 0x7f03004a, 0x7f030051, 0x7f030063, 0x7f030069, 0x7f03006f, 0x7f03008e, 0x7f03008f, 0x7f030094, 0x7f030095, 0x7f0300a4, 0x7f0300a9, 0x7f0300c6 }; /** * <p>This symbol is the offset where the {@link android.R.attr#focusable} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:focusable */ public static final int SearchView_android_focusable=0; /** * <p>This symbol is the offset where the {@link android.R.attr#maxWidth} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:maxWidth */ public static final int SearchView_android_maxWidth=1; /** * <p>This symbol is the offset where the {@link android.R.attr#inputType} * attribute's value can be found in the {@link #SearchView} 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>none</td><td>0</td><td></td></tr> * <tr><td>date</td><td>14</td><td></td></tr> * <tr><td>datetime</td><td>4</td><td></td></tr> * <tr><td>number</td><td>2</td><td></td></tr> * <tr><td>numberDecimal</td><td>2002</td><td></td></tr> * <tr><td>numberPassword</td><td>12</td><td></td></tr> * <tr><td>numberSigned</td><td>1002</td><td></td></tr> * <tr><td>phone</td><td>3</td><td></td></tr> * <tr><td>text</td><td>1</td><td></td></tr> * <tr><td>textAutoComplete</td><td>10001</td><td></td></tr> * <tr><td>textAutoCorrect</td><td>8001</td><td></td></tr> * <tr><td>textCapCharacters</td><td>1001</td><td></td></tr> * <tr><td>textCapSentences</td><td>4001</td><td></td></tr> * <tr><td>textCapWords</td><td>2001</td><td></td></tr> * <tr><td>textEmailAddress</td><td>21</td><td></td></tr> * <tr><td>textEmailSubject</td><td>31</td><td></td></tr> * <tr><td>textFilter</td><td>b1</td><td></td></tr> * <tr><td>textImeMultiLine</td><td>40001</td><td></td></tr> * <tr><td>textLongMessage</td><td>51</td><td></td></tr> * <tr><td>textMultiLine</td><td>20001</td><td></td></tr> * <tr><td>textNoSuggestions</td><td>80001</td><td></td></tr> * <tr><td>textPassword</td><td>81</td><td></td></tr> * <tr><td>textPersonName</td><td>61</td><td></td></tr> * <tr><td>textPhonetic</td><td>c1</td><td></td></tr> * <tr><td>textPostalAddress</td><td>71</td><td></td></tr> * <tr><td>textShortMessage</td><td>41</td><td></td></tr> * <tr><td>textUri</td><td>11</td><td></td></tr> * <tr><td>textVisiblePassword</td><td>91</td><td></td></tr> * <tr><td>textWebEditText</td><td>a1</td><td></td></tr> * <tr><td>textWebEmailAddress</td><td>d1</td><td></td></tr> * <tr><td>textWebPassword</td><td>e1</td><td></td></tr> * <tr><td>time</td><td>24</td><td></td></tr> * </table> * * @attr name android:inputType */ public static final int SearchView_android_inputType=2; /** * <p>This symbol is the offset where the {@link android.R.attr#imeOptions} * attribute's value can be found in the {@link #SearchView} 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>normal</td><td>0</td><td></td></tr> * <tr><td>actionDone</td><td>6</td><td></td></tr> * <tr><td>actionGo</td><td>2</td><td></td></tr> * <tr><td>actionNext</td><td>5</td><td></td></tr> * <tr><td>actionNone</td><td>1</td><td></td></tr> * <tr><td>actionPrevious</td><td>7</td><td></td></tr> * <tr><td>actionSearch</td><td>3</td><td></td></tr> * <tr><td>actionSend</td><td>4</td><td></td></tr> * <tr><td>actionUnspecified</td><td>0</td><td></td></tr> * <tr><td>flagForceAscii</td><td>80000000</td><td></td></tr> * <tr><td>flagNavigateNext</td><td>8000000</td><td></td></tr> * <tr><td>flagNavigatePrevious</td><td>4000000</td><td></td></tr> * <tr><td>flagNoAccessoryAction</td><td>20000000</td><td></td></tr> * <tr><td>flagNoEnterAction</td><td>40000000</td><td></td></tr> * <tr><td>flagNoExtractUi</td><td>10000000</td><td></td></tr> * <tr><td>flagNoFullscreen</td><td>2000000</td><td></td></tr> * </table> * * @attr name android:imeOptions */ public static final int SearchView_android_imeOptions=3; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#closeIcon} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:closeIcon */ public static final int SearchView_closeIcon=4; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#commitIcon} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:commitIcon */ public static final int SearchView_commitIcon=5; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#defaultQueryHint} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.android.quakereport:defaultQueryHint */ public static final int SearchView_defaultQueryHint=6; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#goIcon} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:goIcon */ public static final int SearchView_goIcon=7; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#iconifiedByDefault} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:iconifiedByDefault */ public static final int SearchView_iconifiedByDefault=8; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#layout} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:layout */ public static final int SearchView_layout=9; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#queryBackground} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:queryBackground */ public static final int SearchView_queryBackground=10; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#queryHint} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.android.quakereport:queryHint */ public static final int SearchView_queryHint=11; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#searchHintIcon} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:searchHintIcon */ public static final int SearchView_searchHintIcon=12; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#searchIcon} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:searchIcon */ public static final int SearchView_searchIcon=13; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#submitBackground} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:submitBackground */ public static final int SearchView_submitBackground=14; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#suggestionRowLayout} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:suggestionRowLayout */ public static final int SearchView_suggestionRowLayout=15; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#voiceIcon} * attribute's value can be found in the {@link #SearchView} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:voiceIcon */ public static final int SearchView_voiceIcon=16; /** * Attributes that can be used with a Spinner. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #Spinner_android_entries android:entries}</code></td><td></td></tr> * <tr><td><code>{@link #Spinner_android_popupBackground android:popupBackground}</code></td><td></td></tr> * <tr><td><code>{@link #Spinner_android_prompt android:prompt}</code></td><td></td></tr> * <tr><td><code>{@link #Spinner_android_dropDownWidth android:dropDownWidth}</code></td><td></td></tr> * <tr><td><code>{@link #Spinner_popupTheme com.example.android.quakereport:popupTheme}</code></td><td></td></tr> * </table> * @see #Spinner_android_entries * @see #Spinner_android_popupBackground * @see #Spinner_android_prompt * @see #Spinner_android_dropDownWidth * @see #Spinner_popupTheme */ public static final int[] Spinner={ 0x010100b2, 0x01010176, 0x0101017b, 0x01010262, 0x7f030089 }; /** * <p>This symbol is the offset where the {@link android.R.attr#entries} * attribute's value can be found in the {@link #Spinner} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:entries */ public static final int Spinner_android_entries=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. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:popupBackground */ public static final int Spinner_android_popupBackground=1; /** * <p>This symbol is the offset where the {@link android.R.attr#prompt} * attribute's value can be found in the {@link #Spinner} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:prompt */ public static final int Spinner_android_prompt=2; /** * <p>This symbol is the offset where the {@link android.R.attr#dropDownWidth} * attribute's value can be found in the {@link #Spinner} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>wrap_content</td><td>fffffffe</td><td></td></tr> * <tr><td>fill_parent</td><td>ffffffff</td><td></td></tr> * <tr><td>match_parent</td><td>ffffffff</td><td></td></tr> * </table> * * @attr name android:dropDownWidth */ public static final int Spinner_android_dropDownWidth=3; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#popupTheme} * attribute's value can be found in the {@link #Spinner} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:popupTheme */ public static final int Spinner_popupTheme=4; /** * Attributes that can be used with a SwitchCompat. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #SwitchCompat_android_textOn android:textOn}</code></td><td></td></tr> * <tr><td><code>{@link #SwitchCompat_android_textOff android:textOff}</code></td><td></td></tr> * <tr><td><code>{@link #SwitchCompat_android_thumb android:thumb}</code></td><td></td></tr> * <tr><td><code>{@link #SwitchCompat_showText com.example.android.quakereport:showText}</code></td><td></td></tr> * <tr><td><code>{@link #SwitchCompat_splitTrack com.example.android.quakereport:splitTrack}</code></td><td></td></tr> * <tr><td><code>{@link #SwitchCompat_switchMinWidth com.example.android.quakereport:switchMinWidth}</code></td><td></td></tr> * <tr><td><code>{@link #SwitchCompat_switchPadding com.example.android.quakereport:switchPadding}</code></td><td></td></tr> * <tr><td><code>{@link #SwitchCompat_switchTextAppearance com.example.android.quakereport:switchTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #SwitchCompat_thumbTextPadding com.example.android.quakereport:thumbTextPadding}</code></td><td></td></tr> * <tr><td><code>{@link #SwitchCompat_track com.example.android.quakereport:track}</code></td><td></td></tr> * </table> * @see #SwitchCompat_android_textOn * @see #SwitchCompat_android_textOff * @see #SwitchCompat_android_thumb * @see #SwitchCompat_showText * @see #SwitchCompat_splitTrack * @see #SwitchCompat_switchMinWidth * @see #SwitchCompat_switchPadding * @see #SwitchCompat_switchTextAppearance * @see #SwitchCompat_thumbTextPadding * @see #SwitchCompat_track */ public static final int[] SwitchCompat={ 0x01010124, 0x01010125, 0x01010142, 0x7f03009c, 0x7f0300a1, 0x7f0300aa, 0x7f0300ab, 0x7f0300ad, 0x7f0300b9, 0x7f0300c5 }; /** * <p>This symbol is the offset where the {@link android.R.attr#textOn} * attribute's value can be found in the {@link #SwitchCompat} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:textOn */ public static final int SwitchCompat_android_textOn=0; /** * <p>This symbol is the offset where the {@link android.R.attr#textOff} * attribute's value can be found in the {@link #SwitchCompat} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name android:textOff */ public static final int SwitchCompat_android_textOff=1; /** * <p>This symbol is the offset where the {@link android.R.attr#thumb} * attribute's value can be found in the {@link #SwitchCompat} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:thumb */ public static final int SwitchCompat_android_thumb=2; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#showText} * attribute's value can be found in the {@link #SwitchCompat} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:showText */ public static final int SwitchCompat_showText=3; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#splitTrack} * attribute's value can be found in the {@link #SwitchCompat} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:splitTrack */ public static final int SwitchCompat_splitTrack=4; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#switchMinWidth} * attribute's value can be found in the {@link #SwitchCompat} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:switchMinWidth */ public static final int SwitchCompat_switchMinWidth=5; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#switchPadding} * attribute's value can be found in the {@link #SwitchCompat} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:switchPadding */ public static final int SwitchCompat_switchPadding=6; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#switchTextAppearance} * attribute's value can be found in the {@link #SwitchCompat} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:switchTextAppearance */ public static final int SwitchCompat_switchTextAppearance=7; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#thumbTextPadding} * attribute's value can be found in the {@link #SwitchCompat} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:thumbTextPadding */ public static final int SwitchCompat_thumbTextPadding=8; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#track} * attribute's value can be found in the {@link #SwitchCompat} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:track */ public static final int SwitchCompat_track=9; /** * Attributes that can be used with a TextAppearance. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #TextAppearance_android_textSize android:textSize}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_typeface android:typeface}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_textStyle android:textStyle}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_textColor android:textColor}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_shadowColor android:shadowColor}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_shadowDx android:shadowDx}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_shadowDy android:shadowDy}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_android_shadowRadius android:shadowRadius}</code></td><td></td></tr> * <tr><td><code>{@link #TextAppearance_textAllCaps com.example.android.quakereport:textAllCaps}</code></td><td></td></tr> * </table> * @see #TextAppearance_android_textSize * @see #TextAppearance_android_typeface * @see #TextAppearance_android_textStyle * @see #TextAppearance_android_textColor * @see #TextAppearance_android_shadowColor * @see #TextAppearance_android_shadowDx * @see #TextAppearance_android_shadowDy * @see #TextAppearance_android_shadowRadius * @see #TextAppearance_textAllCaps */ public static final int[] TextAppearance={ 0x01010095, 0x01010096, 0x01010097, 0x01010098, 0x01010161, 0x01010162, 0x01010163, 0x01010164, 0x7f0300ae }; /** * <p>This symbol is the offset where the {@link android.R.attr#textSize} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:textSize */ public static final int TextAppearance_android_textSize=0; /** * <p>This symbol is the offset where the {@link android.R.attr#typeface} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>monospace</td><td>3</td><td></td></tr> * <tr><td>normal</td><td>0</td><td></td></tr> * <tr><td>sans</td><td>1</td><td></td></tr> * <tr><td>serif</td><td>2</td><td></td></tr> * </table> * * @attr name android:typeface */ public static final int TextAppearance_android_typeface=1; /** * <p>This symbol is the offset where the {@link android.R.attr#textStyle} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>normal</td><td>0</td><td></td></tr> * <tr><td>bold</td><td>1</td><td></td></tr> * <tr><td>italic</td><td>2</td><td></td></tr> * </table> * * @attr name android:textStyle */ public static final int TextAppearance_android_textStyle=2; /** * <p>This symbol is the offset where the {@link android.R.attr#textColor} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:textColor */ public static final int TextAppearance_android_textColor=3; /** * <p>This symbol is the offset where the {@link android.R.attr#shadowColor} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:shadowColor */ public static final int TextAppearance_android_shadowColor=4; /** * <p>This symbol is the offset where the {@link android.R.attr#shadowDx} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:shadowDx */ public static final int TextAppearance_android_shadowDx=5; /** * <p>This symbol is the offset where the {@link android.R.attr#shadowDy} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:shadowDy */ public static final int TextAppearance_android_shadowDy=6; /** * <p>This symbol is the offset where the {@link android.R.attr#shadowRadius} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a floating point value, such as "<code>1.2</code>". * * @attr name android:shadowRadius */ public static final int TextAppearance_android_shadowRadius=7; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#textAllCaps} * attribute's value can be found in the {@link #TextAppearance} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name com.example.android.quakereport:textAllCaps */ public static final int TextAppearance_textAllCaps=8; /** * 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.example.android.quakereport:collapseContentDescription}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_collapseIcon com.example.android.quakereport:collapseIcon}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_contentInsetEnd com.example.android.quakereport:contentInsetEnd}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_contentInsetLeft com.example.android.quakereport:contentInsetLeft}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_contentInsetRight com.example.android.quakereport:contentInsetRight}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_contentInsetStart com.example.android.quakereport:contentInsetStart}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_logo com.example.android.quakereport:logo}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_logoDescription com.example.android.quakereport:logoDescription}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_maxButtonHeight com.example.android.quakereport:maxButtonHeight}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_navigationContentDescription com.example.android.quakereport:navigationContentDescription}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_navigationIcon com.example.android.quakereport:navigationIcon}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_popupTheme com.example.android.quakereport:popupTheme}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_subtitle com.example.android.quakereport:subtitle}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_subtitleTextAppearance com.example.android.quakereport:subtitleTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_subtitleTextColor com.example.android.quakereport:subtitleTextColor}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_title com.example.android.quakereport:title}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleMarginBottom com.example.android.quakereport:titleMarginBottom}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleMarginEnd com.example.android.quakereport:titleMarginEnd}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleMarginStart com.example.android.quakereport:titleMarginStart}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleMarginTop com.example.android.quakereport:titleMarginTop}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleMargins com.example.android.quakereport:titleMargins}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleTextAppearance com.example.android.quakereport:titleTextAppearance}</code></td><td></td></tr> * <tr><td><code>{@link #Toolbar_titleTextColor com.example.android.quakereport:titleTextColor}</code></td><td></td></tr> * </table> * @see #Toolbar_android_gravity * @see #Toolbar_android_minHeight * @see #Toolbar_collapseContentDescription * @see #Toolbar_collapseIcon * @see #Toolbar_contentInsetEnd * @see #Toolbar_contentInsetLeft * @see #Toolbar_contentInsetRight * @see #Toolbar_contentInsetStart * @see #Toolbar_logo * @see #Toolbar_logoDescription * @see #Toolbar_maxButtonHeight * @see #Toolbar_navigationContentDescription * @see #Toolbar_navigationIcon * @see #Toolbar_popupTheme * @see #Toolbar_subtitle * @see #Toolbar_subtitleTextAppearance * @see #Toolbar_subtitleTextColor * @see #Toolbar_title * @see #Toolbar_titleMarginBottom * @see #Toolbar_titleMarginEnd * @see #Toolbar_titleMarginStart * @see #Toolbar_titleMarginTop * @see #Toolbar_titleMargins * @see #Toolbar_titleTextAppearance * @see #Toolbar_titleTextColor */ public static final int[] Toolbar={ 0x010100af, 0x01010140, 0x7f03003f, 0x7f030040, 0x7f03004b, 0x7f03004c, 0x7f03004d, 0x7f03004e, 0x7f03007a, 0x7f03007b, 0x7f03007c, 0x7f03007f, 0x7f030080, 0x7f030089, 0x7f0300a5, 0x7f0300a6, 0x7f0300a7, 0x7f0300ba, 0x7f0300bb, 0x7f0300bc, 0x7f0300bd, 0x7f0300be, 0x7f0300bf, 0x7f0300c0, 0x7f0300c1 }; /** * <p>This symbol is the offset where the {@link android.R.attr#gravity} * attribute's value can be found in the {@link #Toolbar} array. * * <p>Must be one or more (separated by '|') of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>end</td><td>800005</td><td></td></tr> * <tr><td>start</td><td>800003</td><td></td></tr> * <tr><td>bottom</td><td>50</td><td></td></tr> * <tr><td>center</td><td>11</td><td></td></tr> * <tr><td>center_horizontal</td><td>1</td><td></td></tr> * <tr><td>center_vertical</td><td>10</td><td></td></tr> * <tr><td>clip_horizontal</td><td>8</td><td></td></tr> * <tr><td>clip_vertical</td><td>80</td><td></td></tr> * <tr><td>fill</td><td>77</td><td></td></tr> * <tr><td>fill_horizontal</td><td>7</td><td></td></tr> * <tr><td>fill_vertical</td><td>70</td><td></td></tr> * <tr><td>left</td><td>3</td><td></td></tr> * <tr><td>right</td><td>5</td><td></td></tr> * <tr><td>top</td><td>30</td><td></td></tr> * </table> * * @attr name android:gravity */ public static final int Toolbar_android_gravity=0; /** * <p>This symbol is the offset where the {@link android.R.attr#minHeight} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name android:minHeight */ public static final int Toolbar_android_minHeight=1; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#collapseContentDescription} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.android.quakereport:collapseContentDescription */ public static final int Toolbar_collapseContentDescription=2; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#collapseIcon} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:collapseIcon */ public static final int Toolbar_collapseIcon=3; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#contentInsetEnd} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:contentInsetEnd */ public static final int Toolbar_contentInsetEnd=4; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#contentInsetLeft} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:contentInsetLeft */ public static final int Toolbar_contentInsetLeft=5; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#contentInsetRight} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:contentInsetRight */ public static final int Toolbar_contentInsetRight=6; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#contentInsetStart} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:contentInsetStart */ public static final int Toolbar_contentInsetStart=7; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#logo} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:logo */ public static final int Toolbar_logo=8; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#logoDescription} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.android.quakereport:logoDescription */ public static final int Toolbar_logoDescription=9; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#maxButtonHeight} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:maxButtonHeight */ public static final int Toolbar_maxButtonHeight=10; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#navigationContentDescription} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.android.quakereport:navigationContentDescription */ public static final int Toolbar_navigationContentDescription=11; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#navigationIcon} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:navigationIcon */ public static final int Toolbar_navigationIcon=12; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#popupTheme} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:popupTheme */ public static final int Toolbar_popupTheme=13; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#subtitle} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.android.quakereport:subtitle */ public static final int Toolbar_subtitle=14; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#subtitleTextAppearance} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:subtitleTextAppearance */ public static final int Toolbar_subtitleTextAppearance=15; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#subtitleTextColor} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:subtitleTextColor */ public static final int Toolbar_subtitleTextColor=16; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#title} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a string value, using '\\;' to escape characters such as * '\\n' or '\\uxxxx' for a unicode character; * * @attr name com.example.android.quakereport:title */ public static final int Toolbar_title=17; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#titleMarginBottom} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:titleMarginBottom */ public static final int Toolbar_titleMarginBottom=18; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#titleMarginEnd} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:titleMarginEnd */ public static final int Toolbar_titleMarginEnd=19; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#titleMarginStart} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:titleMarginStart */ public static final int Toolbar_titleMarginStart=20; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#titleMarginTop} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:titleMarginTop */ public static final int Toolbar_titleMarginTop=21; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#titleMargins} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:titleMargins */ public static final int Toolbar_titleMargins=22; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#titleTextAppearance} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:titleTextAppearance */ public static final int Toolbar_titleTextAppearance=23; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#titleTextColor} * attribute's value can be found in the {@link #Toolbar} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:titleTextColor */ public static final int Toolbar_titleTextColor=24; /** * Attributes that can be used with a View. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #View_android_theme android:theme}</code></td><td></td></tr> * <tr><td><code>{@link #View_android_focusable android:focusable}</code></td><td></td></tr> * <tr><td><code>{@link #View_paddingEnd com.example.android.quakereport:paddingEnd}</code></td><td></td></tr> * <tr><td><code>{@link #View_paddingStart com.example.android.quakereport:paddingStart}</code></td><td></td></tr> * <tr><td><code>{@link #View_theme com.example.android.quakereport:theme}</code></td><td></td></tr> * </table> * @see #View_android_theme * @see #View_android_focusable * @see #View_paddingEnd * @see #View_paddingStart * @see #View_theme */ public static final int[] View={ 0x01010000, 0x010100da, 0x7f030083, 0x7f030084, 0x7f0300b7 }; /** * <p>This symbol is the offset where the {@link android.R.attr#theme} * attribute's value can be found in the {@link #View} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:theme */ public static final int View_android_theme=0; /** * <p>This symbol is the offset where the {@link android.R.attr#focusable} * attribute's value can be found in the {@link #View} array. * * <p>May be a boolean value, such as "<code>true</code>" or * "<code>false</code>". * * @attr name android:focusable */ public static final int View_android_focusable=1; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#paddingEnd} * attribute's value can be found in the {@link #View} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:paddingEnd */ public static final int View_paddingEnd=2; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#paddingStart} * attribute's value can be found in the {@link #View} array. * * <p>May be a dimension value, which is a floating point number appended with a * unit such as "<code>14.5sp</code>". * Available units are: px (pixels), dp (density-independent pixels), * sp (scaled pixels based on preferred font size), in (inches), and * mm (millimeters). * * @attr name com.example.android.quakereport:paddingStart */ public static final int View_paddingStart=3; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#theme} * attribute's value can be found in the {@link #View} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name com.example.android.quakereport:theme */ public static final int View_theme=4; /** * Attributes that can be used with a ViewBackgroundHelper. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ViewBackgroundHelper_android_background android:background}</code></td><td></td></tr> * <tr><td><code>{@link #ViewBackgroundHelper_backgroundTint com.example.android.quakereport:backgroundTint}</code></td><td></td></tr> * <tr><td><code>{@link #ViewBackgroundHelper_backgroundTintMode com.example.android.quakereport:backgroundTintMode}</code></td><td></td></tr> * </table> * @see #ViewBackgroundHelper_android_background * @see #ViewBackgroundHelper_backgroundTint * @see #ViewBackgroundHelper_backgroundTintMode */ public static final int[] ViewBackgroundHelper={ 0x010100d4, 0x7f03002d, 0x7f03002e }; /** * <p>This symbol is the offset where the {@link android.R.attr#background} * attribute's value can be found in the {@link #ViewBackgroundHelper} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name android:background */ public static final int ViewBackgroundHelper_android_background=0; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#backgroundTint} * attribute's value can be found in the {@link #ViewBackgroundHelper} array. * * <p>May be a color value, in the form of "<code>#<i>rgb</i></code>", * "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or * "<code>#<i>aarrggbb</i></code>". * * @attr name com.example.android.quakereport:backgroundTint */ public static final int ViewBackgroundHelper_backgroundTint=1; /** * <p>This symbol is the offset where the {@link com.example.android.quakereport.R.attr#backgroundTintMode} * attribute's value can be found in the {@link #ViewBackgroundHelper} array. * * <p>Must be one of the following constant values.</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Constant</th><th>Value</th><th>Description</th></tr> * <tr><td>multiply</td><td>e</td><td></td></tr> * <tr><td>screen</td><td>f</td><td></td></tr> * <tr><td>src_atop</td><td>9</td><td></td></tr> * <tr><td>src_in</td><td>5</td><td></td></tr> * <tr><td>src_over</td><td>3</td><td></td></tr> * </table> * * @attr name com.example.android.quakereport:backgroundTintMode */ public static final int ViewBackgroundHelper_backgroundTintMode=2; /** * Attributes that can be used with a ViewStubCompat. * <p>Includes the following attributes:</p> * <table> * <colgroup align="left" /> * <colgroup align="left" /> * <tr><th>Attribute</th><th>Description</th></tr> * <tr><td><code>{@link #ViewStubCompat_android_id android:id}</code></td><td></td></tr> * <tr><td><code>{@link #ViewStubCompat_android_layout android:layout}</code></td><td></td></tr> * <tr><td><code>{@link #ViewStubCompat_android_inflatedId android:inflatedId}</code></td><td></td></tr> * </table> * @see #ViewStubCompat_android_id * @see #ViewStubCompat_android_layout * @see #ViewStubCompat_android_inflatedId */ public static final int[] ViewStubCompat={ 0x010100d0, 0x010100f2, 0x010100f3 }; /** * <p>This symbol is the offset where the {@link android.R.attr#id} * attribute's value can be found in the {@link #ViewStubCompat} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:id */ public static final int ViewStubCompat_android_id=0; /** * <p>This symbol is the offset where the {@link android.R.attr#layout} * attribute's value can be found in the {@link #ViewStubCompat} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:layout */ public static final int ViewStubCompat_android_layout=1; /** * <p>This symbol is the offset where the {@link android.R.attr#inflatedId} * attribute's value can be found in the {@link #ViewStubCompat} array. * * <p>May be a reference to another resource, in the form * "<code>@[+][<i>package</i>:]<i>type</i>/<i>name</i></code>" or a theme * attribute in the form * "<code>?[<i>package</i>:]<i>type</i>/<i>name</i></code>". * * @attr name android:inflatedId */ public static final int ViewStubCompat_android_inflatedId=2; } public static final class xml { public static final int settings_main=0x7f100000; } }
922f56b9cf19ab8d106f42bbb640841530dbfcd5
1,735
java
Java
youtrack4j-core/src/main/java/org/mikeneck/youtrack/request/http/AsyncHttpClientBackedHttpClient.java
mike-neck/youtrack4j
cd553aff3e0bac65e8176b3346c58d0e12ebeb5b
[ "Apache-2.0" ]
1
2018-08-30T16:11:32.000Z
2018-08-30T16:11:32.000Z
youtrack4j-core/src/main/java/org/mikeneck/youtrack/request/http/AsyncHttpClientBackedHttpClient.java
mike-neck/youtrack4j
cd553aff3e0bac65e8176b3346c58d0e12ebeb5b
[ "Apache-2.0" ]
null
null
null
youtrack4j-core/src/main/java/org/mikeneck/youtrack/request/http/AsyncHttpClientBackedHttpClient.java
mike-neck/youtrack4j
cd553aff3e0bac65e8176b3346c58d0e12ebeb5b
[ "Apache-2.0" ]
null
null
null
29.913793
88
0.760231
995,074
/* * Copyright 2018 Shinya Mochida * * Licensed under the Apache License,Version2.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.mikeneck.youtrack.request.http; import org.asynchttpclient.*; import org.eclipse.collections.impl.factory.Maps; public class AsyncHttpClientBackedHttpClient implements HttpClient { private final AsyncHttpClient client; private AsyncHttpClientBackedHttpClient(final AsyncHttpClient client) { this.client = client; } public static HttpClient with(final AsyncHttpClient client) { return new AsyncHttpClientBackedHttpClient(client); } @Override public HeaderConfigurer<Get> forGet(final GetUrl getUrl) { return new GetImpl( getUrl, client::executeRequest, Maps.immutable.empty(), Maps.immutable.empty()); } @Override public HeaderConfigurer<PostForm> forPostForm(PostUrl postUrl) { return new PostFormImpl(postUrl, client::executeRequest); } @Override public HeaderConfigurer<PostMultipart> forPostMultipart(PostUrl postUrl) { return new PostMultipartImpl(postUrl, client::executeRequest); } @Override public void close() throws Exception { client.close(); } interface RequestExecutor { ListenableFuture<Response> executeRequest(final Request request); } }
922f57cd9f4d10bd0e27fdb581921e6d729ad358
2,154
java
Java
src/tl/knowledge/surrogate/knn/KNNPoolItem.java
mazhar-ansari-ardeh/gpucarp
03a355f4e004ec97e177dd9cdd2715613899369a
[ "Apache-2.0" ]
null
null
null
src/tl/knowledge/surrogate/knn/KNNPoolItem.java
mazhar-ansari-ardeh/gpucarp
03a355f4e004ec97e177dd9cdd2715613899369a
[ "Apache-2.0" ]
null
null
null
src/tl/knowledge/surrogate/knn/KNNPoolItem.java
mazhar-ansari-ardeh/gpucarp
03a355f4e004ec97e177dd9cdd2715613899369a
[ "Apache-2.0" ]
null
null
null
25.642857
125
0.629526
995,075
package tl.knowledge.surrogate.knn; import ec.gp.GPIndividual; import gphhucarp.decisionprocess.PoolFilter; import gphhucarp.decisionprocess.routingpolicy.GPRoutingPolicy; import tl.gp.similarity.TreeSimilarityMetric; class KNNPoolItem { GPRoutingPolicy policy; public void setDist(TreeSimilarityMetric dist) { this.dist = dist; } private TreeSimilarityMetric dist; /** * Where did this item come from? */ String source; /** * The fitness of this item when it was first selected to be added to a KNN pool. */ private double originalFitness; double fitness; /** * Number of duplicates of this item. This is the number of duplicates except this object. */ int nDuplicates = 0; KNNPoolItem(GPIndividual ind, PoolFilter filter, String source) { assert ind != null; this.source = source; policy = new GPRoutingPolicy(filter, ind.trees[0]); this.fitness = originalFitness = ind.fitness.fitness(); } /** * Returns a string representation of this object in which the fields are separated with a comma. The order of the fields * is: source,originalFitness,fitness,nDuplicates,lispTreeofPolicy\n; * @return a comma-separated string representation of the fields of this object. */ String toCSVString() { return source + "," + originalFitness + "," + fitness + "," + nDuplicates + "," + policy.getGPTree().child.makeLispTree() + "\n"; } static String CSVHeader() { return "Source,OriginalFitness,Fitness,nDuplicates,Policy\n"; } public String toString() { return Double.toString(fitness); } double getOriginalFitness() { return originalFitness; } // @Override // public double[] getFeatures() // { // int[] characterise = dist.characterise(this.policy); // double[] retval = new double[characterise.length]; // for (int i = 0; i < characterise.length; i++) // { // retval[i] = (double) characterise[i]; // } // // return retval; // } }
922f58bdbe8b1b87698ed6addfb289b24532d73a
1,857
java
Java
erudio-database/src/main/java/br/com/erudio/database/entities/EntityTipoLogradouro.java
leandrocgsi/erudio
625bacaefd4a8b04c8588d911d71874dc8791b51
[ "Apache-2.0" ]
null
null
null
erudio-database/src/main/java/br/com/erudio/database/entities/EntityTipoLogradouro.java
leandrocgsi/erudio
625bacaefd4a8b04c8588d911d71874dc8791b51
[ "Apache-2.0" ]
null
null
null
erudio-database/src/main/java/br/com/erudio/database/entities/EntityTipoLogradouro.java
leandrocgsi/erudio
625bacaefd4a8b04c8588d911d71874dc8791b51
[ "Apache-2.0" ]
null
null
null
25.791667
76
0.725902
995,076
package br.com.erudio.database.entities; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence.Table; import org.hibernate.annotations.ForeignKey; import br.com.erudio.database.utils.BaseEntity; @Entity @Table(name="tipologradouro") public class EntityTipoLogradouro extends BaseEntity{ private static final long serialVersionUID = 1L; @Id @GeneratedValue @Column(name = "IdTipoLogradouro", nullable = false) private Integer idTipoLogradouro; @Column(name = "DescricaoTipoLogradouro", nullable = false, length = 40) private String descricaoTipoLogradouro; @Column(name = "Sigla", nullable = false, length = 20) private String sigla; @OneToMany(mappedBy = "tipologradouro", fetch = FetchType.LAZY) @ForeignKey(name="Endereco_TipoLogradouro") private List<EntityEndereco> enderecos; public EntityTipoLogradouro() { } public String getDescricaoTipoLogradouro() { return descricaoTipoLogradouro; } public void setDescricaoTipoLogradouro(String descricaoTipoLogradouro) { this.descricaoTipoLogradouro = descricaoTipoLogradouro; } public List<EntityEndereco> getEnderecos() { return enderecos; } public void setEnderecos(List<EntityEndereco> enderecos) { this.enderecos = enderecos; } public Integer getIdTipoLogradouro() { return idTipoLogradouro; } public void setIdTipoLogradouro(Integer idTipoLogradouro) { this.idTipoLogradouro = idTipoLogradouro; } public String getSigla() { return sigla; } public void setSigla(String sigla) { this.sigla = sigla; } }
922f58d113318bd56819af3788a3e31662334d78
10,036
java
Java
src/main/java/org/radarcns/mongo/util/MongoHelper.java
RADAR-CNS/RADAR-RestApi
a9c654f871138f1a53deba0c059ab772a6488fd7
[ "Apache-2.0" ]
2
2017-02-02T15:33:54.000Z
2017-05-13T22:21:51.000Z
src/main/java/org/radarcns/mongo/util/MongoHelper.java
RADAR-CNS/RADAR-RestApi
a9c654f871138f1a53deba0c059ab772a6488fd7
[ "Apache-2.0" ]
49
2016-11-14T16:44:46.000Z
2018-01-19T15:59:16.000Z
src/main/java/org/radarcns/mongo/util/MongoHelper.java
RADAR-base/RADAR-RestApi
a9c654f871138f1a53deba0c059ab772a6488fd7
[ "Apache-2.0" ]
1
2017-01-11T13:09:19.000Z
2017-01-11T13:09:19.000Z
40.467742
99
0.660223
995,077
/* * Copyright 2017 King's College London and The Hyve * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.radarcns.mongo.util; import static com.mongodb.client.model.Filters.and; import static com.mongodb.client.model.Filters.eq; import static com.mongodb.client.model.Filters.gte; import static com.mongodb.client.model.Filters.lt; import com.mongodb.BasicDBObject; import com.mongodb.MongoClient; import com.mongodb.client.FindIterable; import com.mongodb.client.MongoCollection; import com.mongodb.client.MongoCursor; import com.mongodb.client.model.CountOptions; import com.mongodb.client.model.IndexOptions; import com.mongodb.client.model.Indexes; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.bson.BsonDocument; import org.bson.Document; import org.bson.conversions.Bson; import org.radarcns.config.Properties; import org.radarcns.domain.restapi.header.TimeFrame; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Generic MongoDB helper. */ public class MongoHelper { private static final Logger logger = LoggerFactory.getLogger(MongoHelper.class); public static final String ID = "_id"; public static final String KEY = "key"; public static final String VALUE = "value"; public static final String USER_ID = "userId"; public static final String SOURCE_ID = "sourceId"; public static final String PROJECT_ID = "projectId"; public static final String START = "timeStart"; public static final String END = "timeEnd"; public static final String FIELDS = "fields"; public static final String QUARTILE = "quartile"; public static final String COUNT = "count"; public static final String NAME = "name"; public static final int ASCENDING = 1; public static final int DESCENDING = -1; private static Map<String, List<String>> indexMap = new HashMap<>(); private static final Bson indexProjectSubjectSourceTimestart = Indexes.ascending( KEY + "." + PROJECT_ID, KEY + "." + USER_ID, KEY + "." + SOURCE_ID, KEY + "." + START); private static final Bson indexProjectSubjectSource = Indexes.ascending( KEY + "." + PROJECT_ID, KEY + "." + USER_ID, KEY + "." + SOURCE_ID); /** * Finds whether document is available for given query parameters. * https://stackoverflow.com/a/8390458/822964 suggests find().limit(1).count(true) is the * optimal way to do it. In the Java driver, this is achieved by setting the count options. * * @param collection is the MongoDB that will be queried * @param projectName of the project * @param subjectId is the subjectID * @param sourceId is the sourceID * @param timeFrame is the time frame of the queried timewindow * @return a MongoDB cursor containing all documents from the query. */ public static boolean hasDataForSource( MongoCollection<Document> collection, String projectName, String subjectId, String sourceId, TimeFrame timeFrame) { createIndexIfNotAvailable(collection, indexProjectSubjectSourceTimestart); return collection.count( filterSource(projectName, subjectId, sourceId, timeFrame), new CountOptions().limit(1)) > 0; } /** * Finds all documents within a time window belonging to the given subject, source and project. * Close the returned iterator after use, for example with a try-with-resources construct. * * @param collection is the MongoDB that will be queried * @param projectName of the project * @param subjectId is the subjectID * @param sourceId is the sourceID * @param timeFrame the queried timewindow * @return a MongoDB cursor containing all documents from the query. */ public static MongoCursor<Document> findDocumentsBySource( MongoCollection<Document> collection, String projectName, String subjectId, String sourceId, TimeFrame timeFrame) { createIndexIfNotAvailable(collection, indexProjectSubjectSourceTimestart); Bson querySource = filterSource(projectName, subjectId, sourceId, timeFrame); BasicDBObject sortStartTime = new BasicDBObject(KEY + "." + START, ASCENDING); if (logger.isDebugEnabled()) { BsonDocument findQueryDocument = querySource.toBsonDocument( Document.class, collection.getCodecRegistry()); logger.debug("Filtering query {} and sorting by {}", findQueryDocument, sortStartTime); } return collection .find(querySource) .sort(sortStartTime) .iterator(); } /** * Finds all documents belonging to the given subject, source and project. * Close the returned iterator after use, for example with a try-with-resources construct. * * @param collection MongoDB collection name that will be queried * @param project project name * @param subject subject ID * @param source source ID * @param sortBy Field to sort by. If sortBy is {@code null}, the data will not be sorted. * The field should be prefixed with {@link MongoHelper#KEY} or * {@link MongoHelper#VALUE}. * @param order {@code 1} means ascending while {@code -1} means descending * @param limit is the number of document that will be retrieved. If the limit is {@code null}, * no limit is used. * @return a MongoDB cursor containing all documents from query. * @throws IllegalArgumentException if sortBy does not start with a key or value object. */ public static MongoCursor<Document> findDocumentBySource( MongoCollection<Document> collection, String project, String subject, String source, String sortBy, int order, Integer limit) { createIndexIfNotAvailable(collection, indexProjectSubjectSource); FindIterable<Document> result = collection.find(filterSource(project, subject, source)); if (sortBy != null) { if (!sortBy.startsWith(KEY + ".") && !sortBy.startsWith(VALUE + ".")) { throw new IllegalArgumentException( "Should sort by a MongoHelper.KEY or MongoHelper.VALUE property."); } result = result.sort(new BasicDBObject(sortBy, order)); } if (limit != null) { result = result.limit(limit); } return result.iterator(); } private static Bson filterSource(String projectName, String subjectId, String sourceId) { return and(eq(KEY + "." + PROJECT_ID, projectName), eq(KEY + "." + USER_ID, subjectId), eq(KEY + "." + SOURCE_ID, sourceId)); } private static Bson filterSource(String projectName, String subjectId, String sourceId, TimeFrame timeFrame) { return and(eq(KEY + "." + PROJECT_ID, projectName), eq(KEY + "." + USER_ID, subjectId), eq(KEY + "." + SOURCE_ID, sourceId), gte(KEY + "." + START, Date.from(timeFrame.getStartDateTime())), lt(KEY + "." + START, Date.from(timeFrame.getEndDateTime()))); } /** * Returns the needed MongoDB collection. * * @param client the MongoDB client * @param collection is the name of the returned connection * @return the MongoDB collection named collection. */ public static MongoCollection<Document> getCollection(MongoClient client, String collection) { return client.getDatabase(Properties.getApiConfig().getMongoDbName()) .getCollection(collection); } /** * Creates given index on the collection, if it is not already created for given collection. * Having indexes created in background prevents other operations being blocked. * @param collection mongoCollection to index. * @param index index to be created. */ private static void createIndexIfNotAvailable(MongoCollection<Document> collection, Bson index) { if (indexMap.containsKey(collection.getNamespace().getCollectionName())) { List<String> availableIndexes = indexMap.get(collection.getNamespace() .getCollectionName()); if (!availableIndexes.contains(index.toString())) { collection.createIndex(index, new IndexOptions().background(true)); availableIndexes.add(index.toString()); } } else { collection.createIndex(index, new IndexOptions().background(true)); List<String> indexList = new ArrayList<>(); indexList.add(index.toString()); indexMap.put(collection.getNamespace().getCollectionName(), indexList); } } /** * Enumerate all available statistical values. The string value represents the Document field * that has to be used to compute the result. */ public enum Stat { avg("avg"), count("count"), iqr("iqr"), max("max"), median("quartile"), min("min"), quartile("quartile"), receivedMessage("count"), sum("sum"); private final String param; Stat(String param) { this.param = param; } public String getParam() { return param; } } }
922f58dee19998dfad727296fab819d5e2bd3ce7
2,949
java
Java
src/main/java/cn/hestyle/road_examination_car/util/LocalNetworkHelp.java
hestyle/road_examination_car
6f11c33d83d28d8f321fb265f30d9b1eee651e76
[ "Apache-2.0" ]
null
null
null
src/main/java/cn/hestyle/road_examination_car/util/LocalNetworkHelp.java
hestyle/road_examination_car
6f11c33d83d28d8f321fb265f30d9b1eee651e76
[ "Apache-2.0" ]
null
null
null
src/main/java/cn/hestyle/road_examination_car/util/LocalNetworkHelp.java
hestyle/road_examination_car
6f11c33d83d28d8f321fb265f30d9b1eee651e76
[ "Apache-2.0" ]
null
null
null
39.32
147
0.569685
995,078
package cn.hestyle.road_examination_car.util; import java.net.Inet4Address; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.util.Enumeration; public class LocalNetworkHelp { private static final String WINDOWS_LOCAL_NETWORK_WLAN = "wlan"; private static final String MAC_OS_LOCAL_NETWORK_WLAN = "en1"; /** * 获取本地网络的ip地址(局域网ip,wlan无线网卡 * @return 局域网ip地址 */ public static String getLocalIp() { Enumeration<NetworkInterface> networkInterfaceEnumeration = null; try { // 获得本机的所有网络接口 networkInterfaceEnumeration = NetworkInterface.getNetworkInterfaces(); } catch (SocketException e) { e.printStackTrace(); return null; } // 获取系统类型 String osName = System.getProperty("os.name"); while (networkInterfaceEnumeration.hasMoreElements()) { NetworkInterface networkInterface = networkInterfaceEnumeration.nextElement(); // 获得与该网络接口绑定的 IP 地址,一般只有一个 Enumeration<InetAddress> addressEnumeration = networkInterface.getInetAddresses(); while (addressEnumeration.hasMoreElements()) { InetAddress address = addressEnumeration.nextElement(); // 至需要ipv4 if (address instanceof Inet4Address) { if (osName.startsWith("Windows") && networkInterface.getName().startsWith(LocalNetworkHelp.WINDOWS_LOCAL_NETWORK_WLAN)) { // Windows return address.getHostAddress(); } else if (osName.startsWith("Mac OS") && networkInterface.getName().startsWith(LocalNetworkHelp.MAC_OS_LOCAL_NETWORK_WLAN)) { // mac os return address.getHostAddress(); } } } } return null; } /** * 通过ip地址获取mac地址 * @param ipAddress ip地址 * @return mac地址 */ public static String getMacAddressByIp(String ipAddress) { try { NetworkInterface networkInterface = NetworkInterface.getByInetAddress(InetAddress.getByName(ipAddress)); byte[] mac = networkInterface.getHardwareAddress(); // 将mac地址转换为字符串 StringBuilder stringBuilder = new StringBuilder(); for (int i = 0; i < mac.length; i++) { if (i != 0) { stringBuilder.append("-"); } // mac[i] & 0xFF 是为了把byte转化为正整数 String s = Integer.toHexString(mac[i] & 0xFF); stringBuilder.append(s.length() == 1 ? 0 + s : s); } return stringBuilder.toString(); } catch (Exception e) { e.printStackTrace(); } return null; } }
922f59afbf0bcea2ea130c584dde2afd1901e58f
1,530
java
Java
src/main/java/com/fodesaf/scheduledtask/module/model/NotificacionesPK.java
robertohern83/fodesaf-schedulednotificacions-module
29bf4a9bdbcf2012489e117c55b4e21dc377bfff
[ "Apache-2.0" ]
null
null
null
src/main/java/com/fodesaf/scheduledtask/module/model/NotificacionesPK.java
robertohern83/fodesaf-schedulednotificacions-module
29bf4a9bdbcf2012489e117c55b4e21dc377bfff
[ "Apache-2.0" ]
null
null
null
src/main/java/com/fodesaf/scheduledtask/module/model/NotificacionesPK.java
robertohern83/fodesaf-schedulednotificacions-module
29bf4a9bdbcf2012489e117c55b4e21dc377bfff
[ "Apache-2.0" ]
null
null
null
18.433735
68
0.730065
995,079
/** * */ package com.fodesaf.scheduledtask.module.model; import java.io.Serializable; import javax.persistence.FetchType; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import org.hibernate.annotations.DynamicUpdate; import org.hibernate.annotations.NotFound; import org.hibernate.annotations.NotFoundAction; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; /** * @author geanque * */ @NoArgsConstructor @AllArgsConstructor @EqualsAndHashCode @ToString @DynamicUpdate public class NotificacionesPK implements Serializable { /** * */ private static final long serialVersionUID = 1L; @Getter @Setter @ManyToOne(fetch = FetchType.EAGER) @JoinColumn(name = "Idsegmento", referencedColumnName = "id") Segmentacion segmento; @Getter @Setter @ManyToOne(fetch = FetchType.EAGER) @JoinColumn(name = "Idcampana", referencedColumnName = "id") Campanas campana; @Getter @Setter @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "segregado", referencedColumnName = "segregado") @NotFound(action=NotFoundAction.IGNORE) Patronos patrono; @Getter @Setter String cedula; @Getter @Setter String canal; @Getter @Setter int intento; /*@PostLoad public void postLoad(){ try { if(getPatrono() != null){ setPatrono(null); } } catch (EntityNotFoundException e){ setPatrono(null); } } */ }
922f59cb46782ca8d17ab0e8d3841c8ad0b01426
4,187
java
Java
services/jobs/src/main/java/com/dremio/service/jobs/JobsService.java
luxms/dremio-oss
d8c4b4724bc8880651866453c0a285063685b44f
[ "Apache-2.0" ]
null
null
null
services/jobs/src/main/java/com/dremio/service/jobs/JobsService.java
luxms/dremio-oss
d8c4b4724bc8880651866453c0a285063685b44f
[ "Apache-2.0" ]
null
null
null
services/jobs/src/main/java/com/dremio/service/jobs/JobsService.java
luxms/dremio-oss
d8c4b4724bc8880651866453c0a285063685b44f
[ "Apache-2.0" ]
1
2020-05-21T09:51:37.000Z
2020-05-21T09:51:37.000Z
31.481203
95
0.736327
995,080
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.dremio.service.jobs; import com.dremio.exec.proto.UserBitShared.QueryProfile; import com.dremio.service.Service; import com.dremio.service.job.CancelJobRequest; import com.dremio.service.job.JobCounts; import com.dremio.service.job.JobCountsRequest; import com.dremio.service.job.JobDetails; import com.dremio.service.job.JobDetailsRequest; import com.dremio.service.job.JobStats; import com.dremio.service.job.JobStatsRequest; import com.dremio.service.job.JobSummary; import com.dremio.service.job.JobSummaryRequest; import com.dremio.service.job.JobsWithParentDatasetRequest; import com.dremio.service.job.QueryProfileRequest; import com.dremio.service.job.SearchJobsRequest; import com.dremio.service.job.SubmitJobRequest; import com.dremio.service.job.proto.JobId; /** * Job Service interface. Submit job, maintain job states */ public interface JobsService extends Service { /** * Submit a job to the execution engine. Generates a random externalId for the job * * @param jobRequest job request * @param statusListener a listener to notify for change of status. Must not be null * @return {@link JobId} of submitted job */ JobId submitJob(SubmitJobRequest jobRequest, JobStatusListener statusListener); /** * Get details of a job. * @param jobDetailsRequest JobDetails Request * @return Job for given request * @throws JobNotFoundException if job is not found */ JobDetails getJobDetails(JobDetailsRequest jobDetailsRequest) throws JobNotFoundException; /** * Get job summary for the job * * @param jobSummaryRequest JobSummaryRequest * @return JobSummary for a given request * @throws JobNotFoundException if job is not found */ JobSummary getJobSummary(JobSummaryRequest jobSummaryRequest) throws JobNotFoundException; /** * Get the number of jobs run for the given request. * * @param request job counts request * @return number of jobs run */ JobCounts getJobCounts(JobCountsRequest request); /** * Get the number of jobs run sorted by job type given a date range. * * @param request job stats request * @return job stats */ JobStats getJobStats(JobStatsRequest request); /** * Search jobs. * * @param request request * @return jobs that match */ Iterable<JobSummary> searchJobs(SearchJobsRequest request); /** * Get list of jobs that have the provided parent * * @param jobsForParentRequest * @return the corresponding jobs */ Iterable<JobDetails> getJobsForParent(JobsWithParentDatasetRequest jobsForParentRequest); /** * Retrieve the query profile of jobId and attempt * * @param queryProfileRequest request for QueryProfile * @return */ QueryProfile getProfile(QueryProfileRequest queryProfileRequest) throws JobNotFoundException; /** * Cancel the provided jobId as the provided user. * * Cancellation is asynchronous. * * @param request cancellation request */ void cancel(CancelJobRequest request) throws JobException; /** * Register a listener that listens for events associated with a particular job. * <p> * Throws exception if the requested JobId is not currently active. * * @param jobId JobId to listen to. * @param listener The listener to be informed of job update events. */ void registerListener(JobId jobId, ExternalStatusListener listener); /** * Get the Jobs client currently attached to this JobsService. * @return Jobs Client */ JobsClient getJobsClient(); }
922f5a6c0e5d1cd837a412b872fa5f6762d9b6cb
5,443
java
Java
core/src/main/java/io/machinecode/chainlink/core/context/ExecutionContextImpl.java
BrentDouglas/chainlink
376e194ccdd2e6e2f1a4a4b39c7e7f0a4dd81ca3
[ "Apache-2.0" ]
3
2021-03-09T11:55:38.000Z
2021-03-11T22:28:32.000Z
core/src/main/java/io/machinecode/chainlink/core/context/ExecutionContextImpl.java
BrentDouglas/chainlink
376e194ccdd2e6e2f1a4a4b39c7e7f0a4dd81ca3
[ "Apache-2.0" ]
2
2015-11-12T08:20:58.000Z
2021-03-08T02:08:50.000Z
core/src/main/java/io/machinecode/chainlink/core/context/ExecutionContextImpl.java
BrentDouglas/chainlink
376e194ccdd2e6e2f1a4a4b39c7e7f0a4dd81ca3
[ "Apache-2.0" ]
null
null
null
32.254438
130
0.675839
995,081
/* * Copyright 2015 Brent Douglas and other contributors * as indicated by the @author tags. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package io.machinecode.chainlink.core.context; import io.machinecode.chainlink.spi.Messages; import io.machinecode.chainlink.spi.context.ExecutionContext; import io.machinecode.chainlink.spi.context.Item; import org.jboss.logging.Logger; import java.io.Serializable; /** * @author <a href="mailto:envkt@example.com">Brent Douglas</a> */ public class ExecutionContextImpl implements ExecutionContext, Serializable { private static final long serialVersionUID = 1L; private static final Logger log = Logger.getLogger(ExecutionContextImpl.class); private final long jobExecutionId; private final Long restartJobExecutionId; private final Long partitionExecutionId; private final JobContextImpl jobContext; private String restartElementId; private StepContextImpl stepContext; private Long stepExecutionId; private Item[] items; private Long lastStepExecutionId; private long[] priorStepExecutionIds; private transient String logString; private ExecutionContextImpl(final JobContextImpl jobContext, final long jobExecutionId, final Long restartJobExecutionId, final String restartElementId, final Long partitionExecutionId, final Item[] items) { this.jobExecutionId = jobExecutionId; this.restartJobExecutionId = restartJobExecutionId; this.restartElementId = restartElementId; this.partitionExecutionId = partitionExecutionId; this.jobContext = jobContext; this.items = items; } public ExecutionContextImpl(final JobContextImpl jobContext, final StepContextImpl stepContext, final long jobExecutionId, final Long restartJobExecutionId, final String restartElementId, final Long partitionExecutionId) { this( jobContext, jobExecutionId, restartJobExecutionId, restartElementId, partitionExecutionId, null ); this.stepContext = stepContext; this.stepExecutionId = stepContext == null ? null : stepContext.getStepExecutionId(); _buildLogString(); } private void _buildLogString() { final StringBuilder builder = new StringBuilder() .append(Messages.raw("prefix.job.execution")).append('=').append(this.jobExecutionId); if (this.stepExecutionId != null) { builder.append(',').append(Messages.raw("prefix.step.execution")).append('=').append(this.stepExecutionId); } if (this.partitionExecutionId != null) { builder.append(',').append(Messages.raw("prefix.partition")).append('=').append(this.partitionExecutionId); } this.logString = builder.toString(); } @Override public String toString() { if (logString == null) { _buildLogString(); } return logString; } @Override public Long getRestartJobExecutionId() { return restartJobExecutionId; } @Override public boolean isRestarting() { return restartJobExecutionId != null; } @Override public long getJobExecutionId() { return jobExecutionId; } @Override public Long getStepExecutionId() { return stepExecutionId; } @Override public Long getPartitionExecutionId() { return partitionExecutionId; } @Override public JobContextImpl getJobContext() { return jobContext; } @Override public StepContextImpl getStepContext() { return stepContext; } public void setStepContext(final StepContextImpl stepContext) { this.stepContext = stepContext; this.stepExecutionId = stepContext == null ? null : stepContext.getStepExecutionId(); _buildLogString(); } @Override public Item[] getItems() { return items; } public void setItems(final Item... items) { this.items = items; } @Override public String getRestartElementId() { return restartElementId; } public void setRestartElementId(final String restartElementId) { this.restartElementId = restartElementId; } @Override public Long getLastStepExecutionId() { return this.lastStepExecutionId; } public void setLastStepExecutionId(final long lastStepExecutionId) { this.lastStepExecutionId = lastStepExecutionId; } @Override public long[] getPriorStepExecutionIds() { return priorStepExecutionIds; } public void setPriorStepExecutionId(final long[] priorStepExecutionId) { this.priorStepExecutionIds = priorStepExecutionId; } }
922f5b7cc1cf96460d62326ce253f9639d9cbd3e
911
java
Java
sdk/src/main/java/jp/ac/nagoya_u/dsmoq/sdk/http/AutoHttpDelete.java
nkawa/dsmoq
cb3b11bffca8fa3fba3cf734c745106ad510b743
[ "Apache-2.0" ]
null
null
null
sdk/src/main/java/jp/ac/nagoya_u/dsmoq/sdk/http/AutoHttpDelete.java
nkawa/dsmoq
cb3b11bffca8fa3fba3cf734c745106ad510b743
[ "Apache-2.0" ]
null
null
null
sdk/src/main/java/jp/ac/nagoya_u/dsmoq/sdk/http/AutoHttpDelete.java
nkawa/dsmoq
cb3b11bffca8fa3fba3cf734c745106ad510b743
[ "Apache-2.0" ]
null
null
null
18.591837
125
0.592755
995,082
package jp.ac.nagoya_u.dsmoq.sdk.http; import java.net.URI; import org.apache.http.client.methods.HttpDelete; /** * AutoCloseableに対応したHttpDeleteのラッパー * * @see <a href= * "http://hc.apache.org/httpcomponents-client-4.3.x/httpclient/apidocs/org/apache/http/client/methods/HttpDelete.html"> * HttpDelete (Apache HttpClient 4.3.6 API)</a> */ public class AutoHttpDelete extends HttpDelete implements AutoCloseable { /** * デフォルトコンストラクタ */ public AutoHttpDelete() { super(); } /** * コンストラクタ * * @param uri DELETEを呼び出す対象のURL */ public AutoHttpDelete(String uri) { super(uri); } /** * コンストラクタ * * @param uri DELETEを呼び出す対象のURL */ public AutoHttpDelete(URI uri) { super(uri); } /** * リクエストの実行をAbortします。 */ @Override public void close() { abort(); } }
922f5c31af4844e04a69c2849dca2a3764bb1711
1,539
java
Java
hw11/src/edu/umb/cs681/hw11/AccessCounter.java
KisanThapa/CS681-Object-Oriented-Software-Development
49336daafe4851ab67908f0e1950dd06267a34c1
[ "MIT" ]
null
null
null
hw11/src/edu/umb/cs681/hw11/AccessCounter.java
KisanThapa/CS681-Object-Oriented-Software-Development
49336daafe4851ab67908f0e1950dd06267a34c1
[ "MIT" ]
null
null
null
hw11/src/edu/umb/cs681/hw11/AccessCounter.java
KisanThapa/CS681-Object-Oriented-Software-Development
49336daafe4851ab67908f0e1950dd06267a34c1
[ "MIT" ]
null
null
null
29.037736
123
0.588044
995,083
package edu.umb.cs681.hw11; import java.nio.file.Path; import java.util.HashMap; import java.util.concurrent.locks.ReentrantLock; public class AccessCounter { private static AccessCounter instance = null; private static final ReentrantLock staticLock = new ReentrantLock(); private final ReentrantLock nonStaticLock = new ReentrantLock(); private HashMap<Path, Integer> counterMap = new HashMap<>(); private AccessCounter() { // private constructor } public static AccessCounter getInstance() { staticLock.lock(); try { if (instance == null) instance = new AccessCounter(); return instance; } finally { staticLock.unlock(); } } public void increment(Path path) { nonStaticLock.lock(); try { if (counterMap.containsKey(path)) counterMap.put(path, counterMap.get(path) + 1); else counterMap.put(path, 1); } finally { System.out.println(Thread.currentThread().getName() + " increment " + path + " count " + counterMap.get(path)); nonStaticLock.unlock(); } } public int getCount(Path path) { nonStaticLock.lock(); try { return counterMap.getOrDefault(path, 0); } finally { System.out.println(Thread.currentThread().getName() + " increment " + path + " count " + counterMap.get(path)); nonStaticLock.unlock(); } } }
922f5ccd11fe1886945aa8065f186e0991733541
453
java
Java
blog/src/main/java/com/lfz/aspect/BizLayer.java
lfz757077613/MyBlog
7f4d4541c6833f2010ed453d0ffdc20501d8b4a7
[ "Apache-2.0" ]
50
2018-01-21T05:27:16.000Z
2021-06-02T07:55:14.000Z
blog/src/main/java/com/lfz/aspect/BizLayer.java
lfz757077613/MyBlog
7f4d4541c6833f2010ed453d0ffdc20501d8b4a7
[ "Apache-2.0" ]
3
2018-01-21T05:43:51.000Z
2022-02-09T22:06:57.000Z
blog/src/main/java/com/lfz/aspect/BizLayer.java
lfz757077613/MyBlog
7f4d4541c6833f2010ed453d0ffdc20501d8b4a7
[ "Apache-2.0" ]
26
2017-11-29T14:28:27.000Z
2020-03-06T06:09:19.000Z
18.12
44
0.735099
995,084
package com.lfz.aspect; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 业务层的拦截注解 * 处理日志记录,监控,以及统一的异常处理 */ @Target({ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface BizLayer { /** 是否记录请求参数 */ boolean recordParam() default true; /** 是否记录请求结果 */ boolean recordResult() default true; }
922f5f25f2473ff0682d38e6b0ed8e820cbfa7ad
2,378
java
Java
src/main/java/org/spongepowered/api/item/inventory/property/InventoryCapacity.java
Yeregorix/SpongeAPI
975ffb17fcf49b78b928fe39cd9146d98997ad71
[ "MIT" ]
2
2021-10-01T14:09:39.000Z
2021-11-17T10:35:29.000Z
src/main/java/org/spongepowered/api/item/inventory/property/InventoryCapacity.java
tyhdefu/SpongeAPI
d0d4f89de99d5d67e6ab5631e5840a95e97d2931
[ "MIT" ]
1
2019-08-21T10:17:46.000Z
2019-08-21T10:17:46.000Z
src/main/java/org/spongepowered/api/item/inventory/property/InventoryCapacity.java
tyhdefu/SpongeAPI
d0d4f89de99d5d67e6ab5631e5840a95e97d2931
[ "MIT" ]
null
null
null
37.15625
80
0.719512
995,085
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ package org.spongepowered.api.item.inventory.property; /** * Property for inventories of a particular capacity. For example to allow * querying for Inventories with 5 Slots. */ public class InventoryCapacity extends IntProperty { /** * Creates a new InventoryCapacity property with the specified value. * * @param capacity Capacity to match */ public InventoryCapacity(int capacity) { super(capacity); } /** * Create a new InventoryCapacity property with the specified value. * * @param capacity size to match * @param operator logical operator to use when comparing this property with * other properties */ public InventoryCapacity(int capacity, Operator operator) { super(capacity, operator); } /** * Create an InventoryCapacity property which matches InventoryCapacity * properties with equal value. * * @param capacity value to match * @return new property */ public static InventoryCapacity of(int capacity) { return new InventoryCapacity(capacity, Operator.EQUAL); } }
922f5f7c7743bd99e050bf3c6da51d2043aa1c11
5,691
java
Java
org.amdatu.remote.itest/src/org/amdatu/remote/itest/junit/admin/RSAImportUpdateTest.java
INAETICS/secure-modular-services
b45894132ab6f3aca66962296f7780ed1ae6747f
[ "Apache-2.0" ]
null
null
null
org.amdatu.remote.itest/src/org/amdatu/remote/itest/junit/admin/RSAImportUpdateTest.java
INAETICS/secure-modular-services
b45894132ab6f3aca66962296f7780ed1ae6747f
[ "Apache-2.0" ]
null
null
null
org.amdatu.remote.itest/src/org/amdatu/remote/itest/junit/admin/RSAImportUpdateTest.java
INAETICS/secure-modular-services
b45894132ab6f3aca66962296f7780ed1ae6747f
[ "Apache-2.0" ]
null
null
null
45.253968
104
0.735356
995,086
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.amdatu.remote.itest.junit.admin; import static org.amdatu.remote.admin.http.HttpAdminConstants.CONFIGURATION_TYPE; import static org.amdatu.remote.admin.http.HttpAdminConstants.ENDPOINT_URL; import static org.osgi.framework.Constants.OBJECTCLASS; import static org.osgi.service.remoteserviceadmin.RemoteConstants.ENDPOINT_FRAMEWORK_UUID; import static org.osgi.service.remoteserviceadmin.RemoteConstants.ENDPOINT_ID; import static org.osgi.service.remoteserviceadmin.RemoteConstants.ENDPOINT_SERVICE_ID; import static org.osgi.service.remoteserviceadmin.RemoteConstants.SERVICE_IMPORTED_CONFIGS; import static org.osgi.service.remoteserviceadmin.RemoteConstants.SERVICE_INTENTS; import java.util.Collection; import java.util.HashMap; import java.util.Map; import org.amdatu.remote.admin.itest.api.EchoInterface; import org.osgi.framework.ServiceReference; import org.osgi.service.remoteserviceadmin.EndpointDescription; import org.osgi.service.remoteserviceadmin.ImportRegistration; /** * RSA Export update tests. * * @author <a href="mailto:dycjh@example.com">Amdatu Project Team</a> */ public class RSAImportUpdateTest extends AbstractRemoteServiceAdminTest { public void testRemoteServiceAdminImport() throws Exception { doTestImportUpdateSimpleSuccess(); doTestImportUpdateOnClosedRegistrationFails(); } protected void doTestImportUpdateSimpleSuccess() throws Exception { Long serviceId = 321l; String endpointId = "123"; String frameworkUUID = "xyz"; String packageVersion = "1.0"; Map<String, Object> properties = new HashMap<String, Object>(); properties.put(OBJECTCLASS, new String[] { EchoInterface.class.getName() }); properties.put(ENDPOINT_ID, endpointId); properties.put(ENDPOINT_SERVICE_ID, serviceId); properties.put(ENDPOINT_FRAMEWORK_UUID, frameworkUUID); properties.put("endpoint.package." + EchoInterface.class.getPackage().getName(), packageVersion); properties.put(SERVICE_IMPORTED_CONFIGS, CONFIGURATION_TYPE); properties.put(SERVICE_INTENTS, new String[] { "passByValue" }); properties.put(ENDPOINT_URL, "http://bla"); properties.put("some.property", "123"); EndpointDescription endpointDescription = new EndpointDescription(properties); ImportRegistration importRegistration = m_remoteServiceAdmin.importService(endpointDescription); assertNotNull("Expected an import registration for endpoint", importRegistration); Collection<ServiceReference<EchoInterface>> serviceReferences = getChildBundleContext().getServiceReferences(EchoInterface.class, null); assertEquals("Expected one service reference", 1, serviceReferences.size()); ServiceReference<EchoInterface> serviceReference = serviceReferences.iterator().next(); assertEquals("Service Property some.property must be set correctly", "123", serviceReference.getProperty("some.property")); properties.put("some.property", "456"); properties.put("some.other.property", 10l); endpointDescription = new EndpointDescription(properties); importRegistration.update(endpointDescription); serviceReferences = getChildBundleContext().getServiceReferences(EchoInterface.class, null); assertEquals("Expected one service reference", 1, serviceReferences.size()); serviceReference = serviceReferences.iterator().next(); assertEquals("Service Property some.property must be set correctly", "456", serviceReference.getProperty("some.property")); assertEquals("Service Property some.property must be set correctly", 10l, serviceReference.getProperty("some.other.property")); // cleanup importRegistration.close(); } protected void doTestImportUpdateOnClosedRegistrationFails() throws Exception { Map<String, Object> properties = new HashMap<String, Object>(); properties.put(OBJECTCLASS, new String[] { EchoInterface.class.getName() }); properties.put(ENDPOINT_ID, "id"); properties.put(ENDPOINT_SERVICE_ID, 321l); properties.put(ENDPOINT_FRAMEWORK_UUID, "uuid"); properties.put(SERVICE_IMPORTED_CONFIGS, CONFIGURATION_TYPE); properties.put(ENDPOINT_URL, "http://some.wellformed.url"); EndpointDescription endpointDescription = new EndpointDescription(properties); ImportRegistration importRegistration = m_remoteServiceAdmin.importService(endpointDescription); assertNotNull("Expected an import registration for endpoint", importRegistration); importRegistration.close(); try { importRegistration.update(endpointDescription); fail("Expected update on closed import registration to throw IllegalStateException"); } catch (IllegalStateException e) { // expected } catch (Exception e) { fail("Expected update on closed import registration to throw IllegalStateException"); } } }
922f5faa81178047ea429665d0e79aae9bc0618b
301
java
Java
src/test/java/pageobjects/HomePage.java
pmadeya/flight-search
280bdbcefdfa3d6363ab6ac2cc658596f2154bf6
[ "MIT" ]
null
null
null
src/test/java/pageobjects/HomePage.java
pmadeya/flight-search
280bdbcefdfa3d6363ab6ac2cc658596f2154bf6
[ "MIT" ]
null
null
null
src/test/java/pageobjects/HomePage.java
pmadeya/flight-search
280bdbcefdfa3d6363ab6ac2cc658596f2154bf6
[ "MIT" ]
null
null
null
15.842105
59
0.654485
995,087
package pageobjects; import org.openqa.selenium.By; public class HomePage extends WebPage { By flightTabElem = By.cssSelector("tab-flight-tab-hp"); public HomePage() { super(); } public void clickFlightsTab() { driver.findElement(flightTabElem).click(); } }
922f602083976a77e72493d27e462a836f44b7e5
15,041
java
Java
src/main/java/it/firegloves/mempoi/Strategos.java
mysub/MemPOI
eae40c917b73eb60d33aeaf78a474b5aebb6f8a9
[ "MIT" ]
1
2019-12-06T09:52:34.000Z
2019-12-06T09:52:34.000Z
src/main/java/it/firegloves/mempoi/Strategos.java
mysub/MemPOI
eae40c917b73eb60d33aeaf78a474b5aebb6f8a9
[ "MIT" ]
null
null
null
src/main/java/it/firegloves/mempoi/Strategos.java
mysub/MemPOI
eae40c917b73eb60d33aeaf78a474b5aebb6f8a9
[ "MIT" ]
null
null
null
34.261959
201
0.639585
995,088
package it.firegloves.mempoi; import it.firegloves.mempoi.config.WorkbookConfig; import it.firegloves.mempoi.dao.impl.DBMempoiDAO; import it.firegloves.mempoi.domain.MempoiColumn; import it.firegloves.mempoi.domain.MempoiSheet; import it.firegloves.mempoi.domain.footer.MempoiFooter; import it.firegloves.mempoi.domain.footer.MempoiSubFooter; import it.firegloves.mempoi.domain.footer.MempoiSubFooterCell; import it.firegloves.mempoi.exception.MempoiRuntimeException; import it.firegloves.mempoi.manager.ConnectionManager; import it.firegloves.mempoi.styles.MempoiColumnStyleManager; import it.firegloves.mempoi.styles.MempoiStyler; import org.apache.commons.lang3.StringUtils; import org.apache.poi.hssf.usermodel.HSSFCellStyle; import org.apache.poi.ss.usermodel.*; import org.apache.poi.xssf.streaming.SXSSFSheet; import org.apache.poi.xssf.streaming.SXSSFWorkbook; import org.apache.poi.xssf.usermodel.XSSFCellStyle; import org.apache.poi.xssf.usermodel.XSSFSheet; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.sql.ResultSet; import java.util.List; public class Strategos { private static final Logger logger = LoggerFactory.getLogger(Strategos.class); private static final int ROW_HEIGHT_PLUS = 5; /** * contains the workbook configurations */ private WorkbookConfig workbookConfig; public Strategos(WorkbookConfig workbookConfig) { this.workbookConfig = workbookConfig; } /** * starting from export PreparedStatement prepares the MempoiReport for battle! * writes exported data to the received file parameter * * @param mempoiSheetList the List of MempoiSheet containing the PreparedStatement to execute to export data into mempoi report and eventually the sheet's name * @param fileToExport the destination file (with path) where write exported data * @return the filename with path of the report generated file * @throws MempoiRuntimeException if something went wrong */ public String generateMempoiReportToFile(List<MempoiSheet> mempoiSheetList, File fileToExport) { this.generateMempoiReport(mempoiSheetList); return this.writeFile(fileToExport); } /** * starting from export PreparedStatement prepares the MempoiReport for battle! * * @return the filename with path of the report generated file * @throws MempoiRuntimeException if something went wrong */ public byte[] generateMempoiReportToByteArray() { this.generateMempoiReport(this.workbookConfig.getSheetList()); return this.writeToByteArray(); } /** * generate the report into the WorkbookConfig.workbook variable * * @param mempoiSheetList */ private void generateMempoiReport(List<MempoiSheet> mempoiSheetList) { this.generateReport(mempoiSheetList); this.manageFormulaToEvaluate(this.workbookConfig.isEvaluateCellFormulas(), this.workbookConfig.isHasFormulasToEvaluate()); } /** * manages eventual cell formulas to evaluate * * @param evaluateCellFormulas * @param hasFormulasToEvaluate */ private void manageFormulaToEvaluate(boolean evaluateCellFormulas, boolean hasFormulasToEvaluate) { if (evaluateCellFormulas && hasFormulasToEvaluate) { logger.debug("we have formulas to evaluate"); File tmpFile = this.writeTempFile(); this.openTempFileAndEvaluateCellFormulas(tmpFile); } } /** * generates the poi report executing the received prepared statement * * @param mempoiSheetList the List of MempoiSheet containing the PreparedStatement to execute to export data into mempoi report and eventually the sheet's name */ private void generateReport(List<MempoiSheet> mempoiSheetList) { mempoiSheetList.stream().forEach(this::generateSheet); } /** * generate a sheet into the current workbook * * @param mempoiSheet */ private void generateSheet(MempoiSheet mempoiSheet) { int rowCounter = 0; // create sheet Sheet sheet = !StringUtils.isEmpty(mempoiSheet.getSheetName()) ? this.workbookConfig.getWorkbook().createSheet(mempoiSheet.getSheetName()) : this.workbookConfig.getWorkbook().createSheet(); // track columns for autosizing if (this.workbookConfig.isAdjustColSize() && sheet instanceof SXSSFSheet) { ((SXSSFSheet) sheet).trackAllColumnsForAutoSizing(); } // read data from db ResultSet rs = DBMempoiDAO.getInstance().executeExportQuery(mempoiSheet.getPrepStmt()); // populates MempoiColumn list with export metadata list List<MempoiColumn> columnList = DBMempoiDAO.getInstance().readMetadata(rs); // associate cell stylers MempoiStyler sheetReportStyler = mempoiSheet.getSheetStyler(); new MempoiColumnStyleManager(sheetReportStyler).setMempoiColumnListStyler(columnList); // create header rowCounter = this.createHeaderRow(sheet, columnList, rowCounter, sheetReportStyler); // keep track of the first data row index (no header and subheaders) int firstDataRowIndex = rowCounter + 1; try { // create rows rowCounter = this.createDataRows(sheet, rs, columnList, rowCounter); // add optional sub footer this.createSubFooterRow(sheet, columnList, mempoiSheet.getMempoiSubFooter().orElseGet(() -> this.workbookConfig.getMempoiSubFooter()), firstDataRowIndex, rowCounter, sheetReportStyler); // add optional footer this.createFooterRow(sheet, mempoiSheet.getMempoiFooter().orElseGet(() -> this.workbookConfig.getMempoiFooter())); // adjust col size this.adjustColSize(sheet, columnList.size()); } catch (Exception e) { throw new MempoiRuntimeException(e); } finally { ConnectionManager.closeResultSetAndPrepStmt(rs, mempoiSheet.getPrepStmt()); } } /** * create the sheet header row * * @param sheet * @return the row couter updated */ private int createHeaderRow(Sheet sheet, List<MempoiColumn> columnList, int rowCounter, MempoiStyler sheetReportStyler) { Row row = sheet.createRow(rowCounter++); int colListLen = columnList.size(); // creates header for (int i = 0; i < colListLen; i++) { MempoiColumn cm = columnList.get(i); Cell cell = row.createCell(i); // for XSSFSheet sets columns' bg colour if (sheet instanceof XSSFSheet) { ((XSSFSheet) sheet).getColumnHelper().setColDefaultStyle(i, cm.getCellStyle()); } cell.setCellStyle(sheetReportStyler.getHeaderCellStyle()); cell.setCellValue(cm.getColumnName()); logger.debug("SETTING HEADER FOR COLUMN {}", columnList.get(i).getColumnName()); } // adjust row height if (sheetReportStyler.getHeaderCellStyle() instanceof XSSFCellStyle) { row.setHeightInPoints((float) ((XSSFCellStyle) sheetReportStyler.getHeaderCellStyle()).getFont().getFontHeightInPoints() + ROW_HEIGHT_PLUS); } else { row.setHeightInPoints((float) ((HSSFCellStyle) sheetReportStyler.getHeaderCellStyle()).getFont(this.workbookConfig.getWorkbook()).getFontHeightInPoints() + ROW_HEIGHT_PLUS); } return rowCounter; } /** * @param sheet * @return the row couter updated */ private int createDataRows(Sheet sheet, ResultSet rs, List<MempoiColumn> columnList, int rowCounter) { int colListLen = columnList.size(); try { while (rs.next()) { logger.debug("creating row {}", rowCounter); Row row = sheet.createRow(rowCounter++); for (int i = 0; i < colListLen; i++) { MempoiColumn col = columnList.get(i); Cell cell = row.createCell(i); if (!(sheet instanceof XSSFSheet)) { cell.setCellStyle(col.getCellStyle()); } logger.debug("SETTING CELL FOR COLUMN {}", col.getColumnName()); col.getCellSetValueMethod().invoke(cell, col.getRsAccessDataMethod().invoke(rs, col.getColumnName())); } } } catch (Exception e) { throw new MempoiRuntimeException(e); } return rowCounter; } /** * write the workbook in a temporary file. by this way we can use SXSSF, apply cell formulas and evaluate them. otherwise on large dataset it will fails because SXSSF keep in memory only a few rows * * @return the written file */ private File writeTempFile() { File tmpFile = new File(System.getProperty("java.io.tmpdir") + "mempoi_temp_" + System.currentTimeMillis() + ".xlsx"); try { // writes data to file try (FileOutputStream outputStream = new FileOutputStream(tmpFile)) { this.workbookConfig.getWorkbook().write(outputStream); logger.debug("MemPOI temp file created: {}", tmpFile.getAbsolutePath()); } } catch (Exception e) { throw new MempoiRuntimeException(e); } finally { this.closeWorkbook(); } return tmpFile; } /** * opens the temp saved report file assigning it to the class workbook variable, then evaluate all available cell formulas * * @param tmpFile the temp file from which read the report */ private void openTempFileAndEvaluateCellFormulas(File tmpFile) { try { logger.debug("reading temp file"); this.workbookConfig.setWorkbook(WorkbookFactory.create(tmpFile)); logger.debug("readed temp file"); this.workbookConfig.getWorkbook().getCreationHelper().createFormulaEvaluator().evaluateAll(); logger.debug("evaluated formulas"); } catch (Exception e) { throw new MempoiRuntimeException(e); } } /** * write report file * * @param file the file with path to which write exported data * @return created file name with path * @throws IOException */ private String writeFile(File file) { try { // checks path consistency if (!file.getAbsoluteFile().getParentFile().exists()) { file.getAbsoluteFile().getParentFile().mkdirs(); logger.debug("CREATED FILE TO EXPORT PARENT DIR: {}", file.getParentFile().getAbsolutePath()); } // writes data to file try (FileOutputStream outputStream = new FileOutputStream(file)) { logger.debug("writing final file {}", file.getAbsolutePath()); this.workbookConfig.getWorkbook().write(outputStream); logger.debug("written final file {}", file.getAbsolutePath()); } return file.getAbsolutePath(); } catch (Exception e) { throw new MempoiRuntimeException(e); } finally { this.closeWorkbook(); } } /** * creates and appends the sub footer row to the current report * * @param sheet the sheet to which append sub footer row */ private void createSubFooterRow(Sheet sheet, List<MempoiColumn> columnList, MempoiSubFooter mempoiSubFooter, int firstDataRowIndex, int rowCounter, MempoiStyler reportStyler) { if (null != mempoiSubFooter) { int colListLen = columnList.size(); // create the sub footer cells mempoiSubFooter.setColumnSubFooter(this.workbookConfig.getWorkbook(), columnList, reportStyler.getSubFooterCellStyle(), firstDataRowIndex, rowCounter); Row row = sheet.createRow(rowCounter); for (int i = 0; i < colListLen; i++) { MempoiSubFooterCell subFooterCell = columnList.get(i).getSubFooterCell(); Cell cell = row.createCell(i); cell.setCellStyle(subFooterCell.getStyle()); logger.debug("SETTING SUB FOOTER CELL FOR COLUMN {}", columnList.get(i).getColumnName()); // sets formula or normal value if (subFooterCell.isCellFormula()) { cell.setCellFormula(subFooterCell.getValue()); // not evaluating because using SXSSF will fail on large dataset } else { cell.setCellValue(subFooterCell.getValue()); } } // set excel to recalculate the formula result when open the document if (!this.workbookConfig.isEvaluateCellFormulas()) { sheet.setForceFormulaRecalculation(true); } } } /** * creates and appends the footer row to the current report * * @param sheet the sheet to which append sub footer row */ private void createFooterRow(Sheet sheet, MempoiFooter mempoiFooter) { if (null != mempoiFooter) { Footer footer = sheet.getFooter(); footer.setLeft(mempoiFooter.getLeftText()); footer.setCenter(mempoiFooter.getCenterText()); footer.setRight(mempoiFooter.getRightText()); } } /** * write report to byte array * * @return the byte array corresponding to the poi export * @throws IOException */ private byte[] writeToByteArray() { try { // writes data to file try (ByteArrayOutputStream bos = new ByteArrayOutputStream()) { this.workbookConfig.getWorkbook().write(bos); return bos.toByteArray(); } } catch (Exception e) { throw new MempoiRuntimeException(e); } finally { this.closeWorkbook(); } } /** * if requested adjust col size * * @param sheet */ private void adjustColSize(Sheet sheet, int colListLen) { if (this.workbookConfig.isAdjustColSize()) { for (int i = 0; i < colListLen; i++) { logger.debug("autosizing col num {}", i); sheet.autoSizeColumn(i); } } } /** * closes the current workbook */ private void closeWorkbook() { // deletes temp poi file if (this.workbookConfig.getWorkbook() instanceof SXSSFWorkbook) { ((SXSSFWorkbook) this.workbookConfig.getWorkbook()).dispose(); } // closes the workbook try { this.workbookConfig.getWorkbook().close(); } catch (Exception e) { throw new MempoiRuntimeException(e); } } }
922f6073d926872209fff1e2fa9189236cfe7dda
3,197
java
Java
open-sphere-base/mantle/src/main/java/io/opensphere/mantle/data/cache/impl/DynamicMetaDataLoadedElementDataViewProxy.java
smagill/opensphere-desktop
ac18dac63d6496a9f9b96debf2e1d06841f92118
[ "Apache-2.0" ]
25
2018-01-25T23:01:39.000Z
2022-02-21T22:24:00.000Z
open-sphere-base/mantle/src/main/java/io/opensphere/mantle/data/cache/impl/DynamicMetaDataLoadedElementDataViewProxy.java
smagill/opensphere-desktop
ac18dac63d6496a9f9b96debf2e1d06841f92118
[ "Apache-2.0" ]
71
2019-11-22T22:39:25.000Z
2020-03-30T01:06:30.000Z
open-sphere-base/mantle/src/main/java/io/opensphere/mantle/data/cache/impl/DynamicMetaDataLoadedElementDataViewProxy.java
smagill/opensphere-desktop
ac18dac63d6496a9f9b96debf2e1d06841f92118
[ "Apache-2.0" ]
11
2018-09-04T09:35:01.000Z
2021-04-21T14:15:33.000Z
31.97
120
0.650923
995,089
package io.opensphere.mantle.data.cache.impl; import java.util.List; import io.opensphere.mantle.data.cache.LoadedElementDataView; import io.opensphere.mantle.data.dynmeta.DynamicMetadataDataTypeController; import io.opensphere.mantle.data.dynmeta.impl.DynamicMetaDataListViewProxy; import io.opensphere.mantle.data.geom.MapGeometrySupport; import io.opensphere.mantle.util.dynenum.DynamicEnumerationRegistry; /** * The Class DynamicMetaDataLoadedElementDataViewProxy. */ public class DynamicMetaDataLoadedElementDataViewProxy implements LoadedElementDataView { /** The Cache id. */ private long myCacheId; /** The Coordinator. */ private DynamicMetadataDataTypeController myCoordinator; /** The Data view. */ private LoadedElementDataView myDataView; /** The Dynamic enum registry. */ private final DynamicEnumerationRegistry myDynamicEnumRegistry; /** The Meta data. */ private List<Object> myMetaData; /** * Instantiates a new dynamic meta data loaded element data view proxy. * * @param cacheId the cache id * @param view the view * @param cdr the cdr * @param deReg the de reg */ public DynamicMetaDataLoadedElementDataViewProxy(long cacheId, LoadedElementDataView view, DynamicMetadataDataTypeController cdr, DynamicEnumerationRegistry deReg) { myDynamicEnumRegistry = deReg; myCacheId = cacheId; myDataView = view; myCoordinator = cdr; List<Object> metaData = myDataView == null ? null : DynamicEnumDecoder.decode(deReg, myDataView.getMetaData()); if (myCoordinator != null && myCoordinator.getDynamicColumnCount() > 0) { myMetaData = new DynamicMetaDataListViewProxy(myCacheId, metaData, myCoordinator); } if (myMetaData == null) { myMetaData = metaData; } } @Override public MapGeometrySupport getMapGeometrySupport() { return myDataView == null ? null : myDataView.getMapGeometrySupport(); } @Override public List<Object> getMetaData() { return myMetaData; } @Override public Long getOriginId() { return myDataView == null ? null : myDataView.getOriginId(); } /** * Sets the view. * * @param cacheId the cache id * @param view the view * @param controller the controller */ public void setView(long cacheId, LoadedElementDataView view, DynamicMetadataDataTypeController controller) { myCacheId = cacheId; myDataView = view; myCoordinator = controller; myMetaData = null; List<Object> metaData = myDataView == null ? null : DynamicEnumDecoder.decode(myDynamicEnumRegistry, myDataView.getMetaData()); if (myCoordinator != null && myCoordinator.getDynamicColumnCount() > 0) { myMetaData = new DynamicMetaDataListViewProxy(myCacheId, metaData, myCoordinator); } if (myMetaData == null) { myMetaData = metaData; } } }
922f61123128052512944591558ef52d7e572e4b
788
java
Java
compiler/src/club/dizy/jsit/visitor/statement/ASTStatementVisitor.java
heikezy/Jsit
585ba705ccfb61b4bead2ba8d71d971b6fad800e
[ "MIT" ]
1
2018-07-18T15:47:40.000Z
2018-07-18T15:47:40.000Z
compiler/src/club/dizy/jsit/visitor/statement/ASTStatementVisitor.java
heikezy/Jsit
585ba705ccfb61b4bead2ba8d71d971b6fad800e
[ "MIT" ]
null
null
null
compiler/src/club/dizy/jsit/visitor/statement/ASTStatementVisitor.java
heikezy/Jsit
585ba705ccfb61b4bead2ba8d71d971b6fad800e
[ "MIT" ]
null
null
null
21.297297
76
0.690355
995,090
package club.dizy.jsit.visitor.statement; import club.dizy.jsit.node.Node; import club.dizy.jsit.node.SimpleNode; import club.dizy.jsit.node.expression.ASTStatementExpression; import club.dizy.jsit.visitor.JsitParserVisitor; import club.dizy.jsit.visitor.Visitor; public class ASTStatementVisitor extends Visitor { public ASTStatementVisitor(SimpleNode node, Object data) { super(node, data); } public void before() { startLineWith(""); } public void after() {} public void visitChildren(JsitParserVisitor defaultVisitor) { this.node.jjtGetFirstChild().jjtAccept(defaultVisitor, this.ctx); if ((this.node.jjtGetFirstChild() instanceof ASTStatementExpression)) { add(";"); } add("\n"); } }
922f6119ba7110b985c8bb1ef9bab9e7d123ab86
658
java
Java
data-engineering/src/main/java/kr/ac/sejong/kmooc/data_engineering/hashset/HashSetExample4.java
cherry2030/data_engineering
fe1af0567a7d48a145c80e852f8fb9e863e5e763
[ "Apache-2.0" ]
1
2022-01-03T07:51:56.000Z
2022-01-03T07:51:56.000Z
data-engineering/src/main/java/kr/ac/sejong/kmooc/data_engineering/hashset/HashSetExample4.java
cherry2030/data_engineering
fe1af0567a7d48a145c80e852f8fb9e863e5e763
[ "Apache-2.0" ]
null
null
null
data-engineering/src/main/java/kr/ac/sejong/kmooc/data_engineering/hashset/HashSetExample4.java
cherry2030/data_engineering
fe1af0567a7d48a145c80e852f8fb9e863e5e763
[ "Apache-2.0" ]
1
2022-01-03T08:26:14.000Z
2022-01-03T08:26:14.000Z
18.277778
52
0.613982
995,091
package kr.ac.sejong.kmooc.data_engineering.hashset; import java.util.HashSet; public class HashSetExample4 { public static void main(String[] args) { HashSet<Integer> a = new HashSet<Integer>(); a.add(2); a.add(5); a.add(10); a.add(4); a.add(20); System.out.println(a); HashSet<Integer> b = new HashSet<Integer>(); b.add(2); b.add(5); b.add(10); b.add(3); b.add(6); b.add(15); b.add(30); System.out.println(b); System.out.println(a.containsAll(b)); // 합집합 // a.addAll(b); // System.out.println(a); // 교집합 // a.retainAll(b); // System.out.println(a); // 차집합 a.removeAll(b); System.out.println(a); } }
922f6156d05bbafd94344bc425956f372a1f070a
9,219
java
Java
cdm/src/test/java/thredds/crawlabledataset/TestCrawlableDatasetImpl.java
julienchastang/thredds
f902e5a3573583a9b87f1d3c7d2ff27a121289fe
[ "NetCDF" ]
1
2018-04-24T13:53:46.000Z
2018-04-24T13:53:46.000Z
cdm/src/test/java/thredds/crawlabledataset/TestCrawlableDatasetImpl.java
julienchastang/thredds
f902e5a3573583a9b87f1d3c7d2ff27a121289fe
[ "NetCDF" ]
16
2016-04-11T06:42:41.000Z
2019-05-03T04:04:50.000Z
cdm/src/test/java/thredds/crawlabledataset/TestCrawlableDatasetImpl.java
julienchastang/thredds
f902e5a3573583a9b87f1d3c7d2ff27a121289fe
[ "NetCDF" ]
1
2019-07-22T19:57:26.000Z
2019-07-22T19:57:26.000Z
30.127451
114
0.621759
995,092
/* * Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on the user. The user is granted the right, without * any fee or cost, to use, copy, modify, alter, enhance and distribute * this software, and any derivative works thereof, and its supporting * documentation for any purpose whatsoever, provided that this entire * notice appears in all copies of the software, derivative works and * supporting documentation. Further, UCAR requests that the user credit * UCAR/Unidata in any publications that result from the use of this * software or in any product that includes this software. The names UCAR * and/or Unidata, however, may not be used in any advertising or publicity * to endorse or promote any products or commercial entity unless specific * written permission is obtained from UCAR/Unidata. The user also * understands that UCAR/Unidata is not obligated to provide the user with * any support, consulting, training or assistance of any kind with regard * to the use, operation and performance of this software nor to provide * the user with any updates, revisions, new versions or "bug fixes." * * THIS SOFTWARE IS PROVIDED BY UCAR/UNIDATA "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 UCAR/UNIDATA BE LIABLE FOR ANY SPECIAL, * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION * WITH THE ACCESS, USE OR PERFORMANCE OF THIS SOFTWARE. */ // $Id: TestCrawlableDatasetImpl.java 61 2006-07-12 21:36:00Z edavis $ package thredds.crawlabledataset; import org.junit.Test; import static org.junit.Assert.*; import java.util.*; import java.io.IOException; import thredds.cataloggen.SimpleCatalogBuilder; /** * _more_ * * @author edavis * @since Feb 10, 2006 8:13:59 PM */ public class TestCrawlableDatasetImpl { @Test public void testSlashRoot() { doRootPathTesting( "/" ); } @Test public void testFooRoot() { doRootPathTesting( "foo/"); } @Test public void testFooBarRoot() { doRootPathTesting( "foo/bar/"); } @Test public void testSlashFooRoot() { doRootPathTesting( "/foo/"); } @Test public void testSlashFooBarRoot() { doRootPathTesting( "/foo/bar/"); } public void doRootPathTesting( String rootPath) { System.out.println( "Test with root = \"" + rootPath + "\"" ); setupTestCollection( rootPath); CrawlableDataset top = getInstance( rootPath); showCrDsAndDescendants( top ); System.out.println( "Generate top catalog" ); SimpleCatalogBuilder builder = new SimpleCatalogBuilder( "", top, "myservice", "OPENDAP", "/thredds/dodsC/"); String catAsString; try { catAsString = builder.generateCatalogAsString( top); } catch ( IOException e ) { System.out.println( "ERROR generating catalog: " + e.getMessage() ); return; } System.out.println( catAsString ); CrawlableDataset nc = getInstance( rootPath + "nc" ); System.out.println( "Generate nc catalog" ); builder = new SimpleCatalogBuilder( "", top, "myservice", "OPENDAP", "/thredds/dodsC/" ); try { catAsString = builder.generateCatalogAsString( nc ); } catch ( IOException e ) { System.out.println( "ERROR generating catalog: " + e.getMessage() ); return; } System.out.println( catAsString ); CrawlableDataset ncTest = getInstance( rootPath + "nc/Test" ); System.out.println( "Generate nc/Test catalog" ); builder = new SimpleCatalogBuilder( "", top, "myservice", "OPENDAP", "/thredds/dodsC/" ); try { catAsString = builder.generateCatalogAsString( ncTest ); } catch ( IOException e ) { System.out.println( "ERROR generating catalog: " + e.getMessage() ); return; } System.out.println( catAsString ); } private void showCrDsAndDescendants( CrawlableDataset crDs) { System.out.println( "path <" + crDs.getPath() + "> name <" + crDs.getName() + ">"); List childList; try { childList = crDs.listDatasets( ); } catch ( IOException e ) { System.out.println( "ERROR listing children: " + e.getMessage() ); return; } for ( Iterator it = childList.iterator(); it.hasNext(); ) { showCrDsAndDescendants( (CrawlableDataset) it.next() ); } } private static java.util.HashMap hash = new java.util.HashMap( 20 ); public static CrawlableDataset getInstance( String path ) { return (CrawlableDataset) hash.get( path); } public static void setupTestCollection( String root) { if ( ! hash.isEmpty()) hash.clear(); MyCrDs crDs1 = new MyCrDs( root + "", true, null, null); crDs1.addChild( new MyCrDs( root + "jojo.dat", false, crDs1, null)); MyCrDs crDs2 = new MyCrDs( root + "nc", true, crDs1, null); crDs1.addChild( crDs2); crDs2.addChild( new MyCrDs( root + "nc/123.nc", false, crDs2, null)); crDs2.addChild( new MyCrDs( root + "nc/fnoc1.nc", false, crDs2, null)); crDs2.addChild( new MyCrDs( root + "nc/test1.nc", false, crDs2, null)); MyCrDs crDs6 = new MyCrDs( root + "nc/Test", true, crDs2, null); crDs2.addChild( crDs6); crDs6.addChild( new MyCrDs( root + "nc/Test/test.nc", false, crDs6, null)); crDs6.addChild( new MyCrDs( root + "nc/Test/testfile.nc", false, crDs6, null)); MyCrDs crDs9 = new MyCrDs( root + "ascii", true, crDs1, null); crDs1.addChild( crDs9 ); crDs9.addChild( new MyCrDs( root + "ascii/abc.txt", false, crDs9, null)); crDs9.addChild( new MyCrDs( root + "ascii/123.txt", false, crDs9, null)); MyCrDs crDs12 = new MyCrDs( root + "ascii/more", true, crDs9, null); crDs9.addChild( crDs12); crDs12.addChild( new MyCrDs( root + "ascii/more/junk.txt", false, crDs12, null)); crDs12.addChild( new MyCrDs( root + "ascii/more/mojunk.txt", false, crDs12, null)); /* "", "nc", "nc/123.nc", "nc/fnoc1.nc", "nc/test1.nc", "nc/Test", "nc/Test/test.nc", "nc/Test/testfile.nc", "ascii", "ascii/abc.txt", "ascii/123.txt", "ascii/more", "ascii/more/junk.txt", "ascii/more/mojunk.txt" */ } /** * */ private static class MyCrDs implements CrawlableDataset { private String path; private String name; private boolean isCollection; private MyCrDs parent; private List childList; private MyCrDs( String path, boolean isCollection, MyCrDs parent, List childList ) { if ( ! path.equals( "/") && path.endsWith( "/")) this.path = path.substring( 0, path.length() - 1); else this.path = path; if ( this.path.equals( "/" ) ) this.name = ""; else { this.name = path.substring( path.lastIndexOf( "/" ) + 1 ); } this.isCollection = isCollection; this.parent = parent; this.childList = childList != null ? childList : new ArrayList(); hash.put( path, this ); } private void addChild( MyCrDs child ) { this.childList.add( child ); } public Object getConfigObject() { return null; } public String getPath() { return path; } public String getName() { return name; } public CrawlableDataset getParentDataset() { return parent; } public boolean exists() { return true; } public boolean isCollection() { return isCollection; } public CrawlableDataset getDescendant( String relativePath ) { return null; //To change body of implemented methods use File | Settings | File Templates. } public List listDatasets() throws IOException { return new ArrayList(childList); } public List listDatasets( CrawlableDatasetFilter filter ) throws IOException { List list = this.listDatasets(); if ( filter == null ) return list; List retList = new ArrayList(); for ( Iterator it = list.iterator(); it.hasNext(); ) { CrawlableDataset curDs = (CrawlableDataset) it.next(); if ( filter.accept( curDs ) ) { retList.add( curDs ); } } return ( retList ); } public long length() { return -1; } public Date lastModified() // or long milliseconds? { return null; } } }
922f616a47331c3c0b1878e28501ce7b08620386
2,925
java
Java
src/test/java/com/alibaba/druid/bvt/sql/mysql/select/MySqlSelectTest_197.java
linghengqian/druid
1bc59b62fb81b1c9204161594652832425c6fa72
[ "Apache-2.0" ]
6
2018-04-17T09:26:05.000Z
2021-05-08T14:07:22.000Z
src/test/java/com/alibaba/druid/bvt/sql/mysql/select/MySqlSelectTest_197.java
linghengqian/druid
1bc59b62fb81b1c9204161594652832425c6fa72
[ "Apache-2.0" ]
5
2021-12-14T20:57:52.000Z
2022-02-16T01:15:35.000Z
src/test/java/com/alibaba/druid/bvt/sql/mysql/select/MySqlSelectTest_197.java
linghengqian/druid
1bc59b62fb81b1c9204161594652832425c6fa72
[ "Apache-2.0" ]
4
2017-07-06T14:51:09.000Z
2021-06-03T02:17:57.000Z
32.865169
75
0.647863
995,093
package com.alibaba.druid.bvt.sql.mysql.select; import com.alibaba.druid.sql.MysqlTest; import com.alibaba.druid.sql.ast.SQLStatement; import com.alibaba.druid.sql.ast.statement.SQLSelectStatement; import com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser; import java.util.List; public class MySqlSelectTest_197 extends MysqlTest { public void test_0() throws Exception { String sql = "select \"\"\"1\"\"\"\"\" as a;"; System.out.println(sql); MySqlStatementParser parser = new MySqlStatementParser(sql); List<SQLStatement> statementList = parser.parseStatementList(); SQLSelectStatement stmt = (SQLSelectStatement)statementList.get(0); assertEquals(1, statementList.size()); assertEquals("SELECT '\"1\"\"' AS a;", stmt.toString()); assertEquals("select '\"1\"\"' as a;", stmt.toLowerCaseString()); } public void test_1() throws Exception { String sql = "select \"\\\"1\"\"\"\"\" as a;"; System.out.println(sql); MySqlStatementParser parser = new MySqlStatementParser(sql); List<SQLStatement> statementList = parser.parseStatementList(); SQLSelectStatement stmt = (SQLSelectStatement)statementList.get(0); assertEquals(1, statementList.size()); assertEquals("SELECT '\"1\"\"' AS a;", stmt.toString()); assertEquals("select '\"1\"\"' as a;", stmt.toLowerCaseString()); } public void test_2() throws Exception { String sql = "select \"\"\"1\"\"\\\"\" as a;"; System.out.println(sql); MySqlStatementParser parser = new MySqlStatementParser(sql); List<SQLStatement> statementList = parser.parseStatementList(); SQLSelectStatement stmt = (SQLSelectStatement)statementList.get(0); assertEquals(1, statementList.size()); assertEquals("SELECT '\"1\"\"' AS a;", stmt.toString()); assertEquals("select '\"1\"\"' as a;", stmt.toLowerCaseString()); } public void test_3() throws Exception { String sql = "select '''1''''' as a;"; System.out.println(sql); MySqlStatementParser parser = new MySqlStatementParser(sql); List<SQLStatement> statementList = parser.parseStatementList(); SQLSelectStatement stmt = (SQLSelectStatement)statementList.get(0); assertEquals(1, statementList.size()); assertEquals("SELECT '''1''''' AS a;", stmt.toString()); } public void test_4() throws Exception { String sql = "select '\\'1\\'\\'' as a;"; System.out.println(sql); MySqlStatementParser parser = new MySqlStatementParser(sql); List<SQLStatement> statementList = parser.parseStatementList(); SQLSelectStatement stmt = (SQLSelectStatement)statementList.get(0); assertEquals(1, statementList.size()); assertEquals("SELECT '''1''''' AS a;", stmt.toString()); } }
922f61a02ded1c399bde17db3b399ff45f1765a7
2,506
java
Java
target/NativeBass-1.1.2/src/java/jouvieje/bass/defines/BASS_BFX_CHANNEL.java
stysk1/AirDrum
fcc5768788cda2da844a07265f97b0eb009a1b6e
[ "MIT" ]
null
null
null
target/NativeBass-1.1.2/src/java/jouvieje/bass/defines/BASS_BFX_CHANNEL.java
stysk1/AirDrum
fcc5768788cda2da844a07265f97b0eb009a1b6e
[ "MIT" ]
null
null
null
target/NativeBass-1.1.2/src/java/jouvieje/bass/defines/BASS_BFX_CHANNEL.java
stysk1/AirDrum
fcc5768788cda2da844a07265f97b0eb009a1b6e
[ "MIT" ]
null
null
null
35.380282
92
0.708997
995,094
/* DO NOT EDIT - AUTOGENERATED */ /** * NativeBass Project * * Want to use BASS (www.un4seen.com) in the Java language ? NativeBass is made for you. * Copyright @ 2007-2011 Jérôme Jouvie * * Created on 02 jul. 2007 * @version file v1.1.1 * @author Jérôme Jouvie (Jouvieje) * @site http://jerome.jouvie.free.fr/ * @mail efpyi@example.com * * * INTRODUCTION * BASS is an audio library for use in Windows and Mac OSX software. * Its purpose is to provide developers with the most powerful and * efficient (yet easy to use), sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF, * custom generated, and more via add-ons), MOD music (XM, IT, S3M, MOD, MTM, UMX), * MO3 music (MP3/OGG compressed MODs), * and recording functions. All in a tiny DLL, under 100KB* in size. * * BASS official web site : * http://www.un4seen.com/ * * * GNU LESSER GENERAL PUBLIC LICENSE * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of the License, * or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this library; if not, write to the * Free Software Foundation, Inc., * 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA */ package jouvieje.bass.defines; /** * DSP channels flags [NAME] BASS_BFX_CHANNEL */ public interface BASS_BFX_CHANNEL { /** all channels at once (as by default) */ public static final int BASS_BFX_CHANALL = -1; /** disable an effect for all channels */ public static final int BASS_BFX_CHANNONE = 0; /** left-front channel */ public static final int BASS_BFX_CHAN1 = 1; /** right-front channel */ public static final int BASS_BFX_CHAN2 = 2; /** see above info */ public static final int BASS_BFX_CHAN3 = 4; /** see above info */ public static final int BASS_BFX_CHAN4 = 8; /** see above info */ public static final int BASS_BFX_CHAN5 = 16; /** see above info */ public static final int BASS_BFX_CHAN6 = 32; /** see above info */ public static final int BASS_BFX_CHAN7 = 64; /** see above info */ public static final int BASS_BFX_CHAN8 = 128; }
922f61ae1b177a42aaa0522a1b963a7fb1e54dbd
1,569
java
Java
RagnarokMod/src/main/java/Adventurer/powers/TakeRestPower.java
MystaraCorvus/Adventurer
e709d22e31baaebf8541fef59572e740ff13a313
[ "MIT" ]
null
null
null
RagnarokMod/src/main/java/Adventurer/powers/TakeRestPower.java
MystaraCorvus/Adventurer
e709d22e31baaebf8541fef59572e740ff13a313
[ "MIT" ]
null
null
null
RagnarokMod/src/main/java/Adventurer/powers/TakeRestPower.java
MystaraCorvus/Adventurer
e709d22e31baaebf8541fef59572e740ff13a313
[ "MIT" ]
null
null
null
34.108696
104
0.74761
995,095
package Adventurer.powers; import Adventurer.util.TextureLoader; import basemod.interfaces.CloneablePowerInterface; import com.badlogic.gdx.graphics.Texture; import com.megacrit.cardcrawl.characters.AbstractPlayer; import com.megacrit.cardcrawl.core.AbstractCreature; import com.megacrit.cardcrawl.core.CardCrawlGame; import com.megacrit.cardcrawl.dungeons.AbstractDungeon; import com.megacrit.cardcrawl.localization.PowerStrings; import com.megacrit.cardcrawl.powers.AbstractPower; import static Adventurer.AdventurerMod.makeID; import static Adventurer.AdventurerMod.makePowerPath; public class TakeRestPower extends AdventurerPower implements CloneablePowerInterface { public static final String thisNAME = "TakeRest"; private static final Texture tex84 = TextureLoader.getTexture(makePowerPath(thisNAME + "84.png")); private static final Texture tex32 = TextureLoader.getTexture(makePowerPath(thisNAME + "32.png")); public TakeRestPower (final AbstractCreature owner, final AbstractCreature source, final int amount) { super(thisNAME, owner, source, amount, tex84, tex32); } public void updateDescription() { this.description = (DESCRIPTIONS[0] + this.amount + DESCRIPTIONS[1]); } public void onVictory() { CardCrawlGame.playtime += 60; AbstractPlayer p = AbstractDungeon.player; if (p.currentHealth > 0) { p.heal(this.amount); } } @Override public AbstractPower makeCopy() { return new TakeRestPower(owner, source, amount); } }
922f621d970cc82dc759ebdc6a4b10b59a84ba52
7,568
java
Java
vxms-testing/src/test/java/org/jacpfx/failure/RESTServiceByteExceptionFallbackTest.java
amoAHCP/vxms
9f8e7e975dca160c9b48b072f50fc4a32ab346e1
[ "Apache-2.0" ]
37
2016-02-02T19:06:08.000Z
2020-12-29T07:48:00.000Z
vxms-testing/src/test/java/org/jacpfx/failure/RESTServiceByteExceptionFallbackTest.java
amoAHCP/vxms
9f8e7e975dca160c9b48b072f50fc4a32ab346e1
[ "Apache-2.0" ]
26
2017-04-01T20:06:57.000Z
2018-02-13T21:37:26.000Z
vxms-testing/src/test/java/org/jacpfx/failure/RESTServiceByteExceptionFallbackTest.java
amoAHCP/vxms
9f8e7e975dca160c9b48b072f50fc4a32ab346e1
[ "Apache-2.0" ]
9
2016-08-01T02:57:29.000Z
2020-01-07T11:30:43.000Z
34.244344
99
0.627246
995,096
/* * Copyright [2017] [Andy Moncsek] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jacpfx.failure; import io.vertx.core.DeploymentOptions; import io.vertx.core.Handler; import io.vertx.core.Vertx; import io.vertx.core.http.HttpClient; import io.vertx.core.http.HttpClientOptions; import io.vertx.core.http.HttpClientRequest; import io.vertx.core.http.HttpClientResponse; import io.vertx.core.json.JsonObject; import io.vertx.core.spi.cluster.ClusterManager; import io.vertx.test.core.VertxTestBase; import io.vertx.test.fakecluster.FakeClusterManager; import java.io.IOException; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import javax.ws.rs.GET; import javax.ws.rs.Path; import org.jacpfx.entity.Payload; import org.jacpfx.vxms.common.ServiceEndpoint; import org.jacpfx.vxms.common.util.Serializer; import org.jacpfx.vxms.rest.base.annotation.OnRestError; import org.jacpfx.vxms.rest.base.response.RestHandler; import org.jacpfx.vxms.services.VxmsEndpoint; import org.junit.Before; import org.junit.Test; /** Created by Andy Moncsek on 23.04.15. */ public class RESTServiceByteExceptionFallbackTest extends VertxTestBase { public static final String SERVICE_REST_GET = "/wsService"; public static final int PORT = 9977; private static final int MAX_RESPONSE_ELEMENTS = 4; private static final String HOST = "127.0.0.1"; private HttpClient client; protected int getNumNodes() { return 1; } protected Vertx getVertx() { return vertices[0]; } @Override protected ClusterManager getClusterManager() { return new FakeClusterManager(); } @Override public void setUp() throws Exception { super.setUp(); startNodes(getNumNodes()); } @Before public void startVerticles() throws InterruptedException { CountDownLatch latch2 = new CountDownLatch(1); DeploymentOptions options = new DeploymentOptions().setInstances(1); options.setConfig(new JsonObject().put("clustered", false).put("host", HOST)); // Deploy the module - the System property `vertx.modulename` will contain the name of the // module so you // don'failure have to hardecode it in your tests getVertx() .deployVerticle( new WsServiceOne(), options, asyncResult -> { // Deployment is asynchronous and this this handler will be called when it's complete // (or failed) System.out.println("start service: " + asyncResult.succeeded()); System.out.println("start service: " + asyncResult.cause()); assertTrue(asyncResult.succeeded()); assertNotNull("deploymentID should not be null", asyncResult.result()); // If deployed correctly then start the tests! // latch2.countDown(); latch2.countDown(); }); awaitLatch(latch2); } @Test public void exceptionInByteResponseWithErrorHandler() throws InterruptedException { HttpClientOptions options = new HttpClientOptions(); options.setDefaultPort(PORT); options.setDefaultHost(HOST); HttpClient client = vertx.createHttpClient(options); HttpClientRequest request = client.get( "/wsService/exceptionInByteResponseWithErrorHandler?val=123&tmp=456", new Handler<HttpClientResponse>() { public void handle(HttpClientResponse resp) { resp.bodyHandler( body -> { String val = body.getString(0, body.length()); System.out.println("--------exceptionInStringResponse: " + val); // assertEquals(key, "val"); testComplete(); }); } }); request.end(); await(5000, TimeUnit.MILLISECONDS); } @Test public void exceptionInErrorHandler() throws InterruptedException { HttpClientOptions options = new HttpClientOptions(); options.setDefaultPort(PORT); options.setDefaultHost(HOST); HttpClient client = vertx.createHttpClient(options); HttpClientRequest request = client.get( "/wsService/exceptionInErrorHandler", new Handler<HttpClientResponse>() { public void handle(HttpClientResponse resp) { resp.bodyHandler( body -> { Payload<String> val = null; try { val = (Payload<String>) Serializer.deserialize(body.getBytes()); } catch (IOException e) { e.printStackTrace(); } catch (ClassNotFoundException e) { e.printStackTrace(); } System.out.println("--------exceptionInStringResponse: " + val); assertEquals(val.getValue(), "catched"); testComplete(); }); } }); request.end(); await(5000, TimeUnit.MILLISECONDS); } public HttpClient getClient() { return client; } @ServiceEndpoint(name = SERVICE_REST_GET, contextRoot = SERVICE_REST_GET, port = PORT) public class WsServiceOne extends VxmsEndpoint { @Path("/exceptionInByteResponseWithErrorHandler") @GET public void rsexceptionInStringResponseWithErrorHandler(RestHandler handler) { handler .response() .byteResponse( (future) -> { throw new NullPointerException("Test"); // return ""; }) .execute(); } @OnRestError("/exceptionInByteResponseWithErrorHandler") @GET public void errorMethod1(RestHandler handler, Throwable t) { System.out.println("+++++++rsexceptionInStringResponseWithErrorHandlerError: " + handler); t.printStackTrace(); System.out.println("----------------------------------"); throw new NullPointerException("test...1234"); } @Path("/exceptionInErrorHandler") @GET public void exceptionInErrorHandler(RestHandler handler) { System.out.println("exceptionInErrorHandler: " + handler); handler .response() .byteResponse( (future) -> { throw new NullPointerException("Test"); // return ""; }) .onFailureRespond( (error, response) -> { throw new NullPointerException("Test2"); }) .execute(); } @OnRestError("/exceptionInErrorHandler") @GET public void exceptionInErrorHandlerErrorHandlerError(RestHandler handler, Throwable t) { System.out.println("+++++++exceptionInErrorHandler: " + t.getMessage()); t.printStackTrace(); System.out.println("----------------------------------"); handler .response() .byteResponse(h -> h.complete(Serializer.serialize(new Payload<>("catched")))) .execute(); } } }
922f650009e35ac9be2bd69efe4d71e4ef93bdfd
1,472
java
Java
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/jwks/OidcServiceJsonWebKeystoreCacheLoader.java
atdawn523/cas
18da23476dea17e0a13cf1ead23872b2f66df34b
[ "Apache-2.0" ]
1
2019-11-26T14:54:00.000Z
2019-11-26T14:54:00.000Z
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/jwks/OidcServiceJsonWebKeystoreCacheLoader.java
atdawn523/cas
18da23476dea17e0a13cf1ead23872b2f66df34b
[ "Apache-2.0" ]
null
null
null
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/jwks/OidcServiceJsonWebKeystoreCacheLoader.java
atdawn523/cas
18da23476dea17e0a13cf1ead23872b2f66df34b
[ "Apache-2.0" ]
null
null
null
33.454545
124
0.715353
995,097
package org.apereo.cas.oidc.jwks; import org.apereo.cas.services.OidcRegisteredService; import org.apereo.cas.support.oauth.services.OAuthRegisteredService; import com.github.benmanes.caffeine.cache.CacheLoader; import lombok.NonNull; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.jose4j.jwk.RsaJsonWebKey; import org.springframework.context.ApplicationContext; import java.util.Optional; /** * This is {@link OidcServiceJsonWebKeystoreCacheLoader}. * * @author Misagh Moayyed * @since 5.1.0 */ @Slf4j @RequiredArgsConstructor public class OidcServiceJsonWebKeystoreCacheLoader implements CacheLoader<OAuthRegisteredService, Optional<RsaJsonWebKey>> { private final ApplicationContext applicationContext; @Override public Optional<RsaJsonWebKey> load(final @NonNull OAuthRegisteredService service) { if (service instanceof OidcRegisteredService) { val svc = (OidcRegisteredService) service; val jwks = OidcJsonWebKeySetUtils.getJsonWebKeySet(svc, applicationContext); if (jwks.isEmpty() || jwks.get().getJsonWebKeys().isEmpty()) { return Optional.empty(); } val key = OidcJsonWebKeySetUtils.getJsonWebKeyFromJsonWebKeySet(jwks.get()); if (key == null) { return Optional.empty(); } return Optional.of(key); } return Optional.empty(); } }
922f65a20a08a80a01c580f00fe1dfbf520efb9a
623
java
Java
mapreduce_work/src/main/java/com/kkb/mr01/MyPartitioner.java
bairongyuan/hadoop_starter
91c484b6dfa61f7882a9009c8cd323f33991d682
[ "Apache-2.0" ]
null
null
null
mapreduce_work/src/main/java/com/kkb/mr01/MyPartitioner.java
bairongyuan/hadoop_starter
91c484b6dfa61f7882a9009c8cd323f33991d682
[ "Apache-2.0" ]
null
null
null
mapreduce_work/src/main/java/com/kkb/mr01/MyPartitioner.java
bairongyuan/hadoop_starter
91c484b6dfa61f7882a9009c8cd323f33991d682
[ "Apache-2.0" ]
null
null
null
27.086957
80
0.662921
995,098
package com.kkb.mr01; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Partitioner; import java.util.HashMap; public class MyPartitioner extends Partitioner<Text, IntWritable> { private static HashMap<String, Integer> map = new HashMap<>(); static { map.put("Dear", 0); map.put("Bear", 1); map.put("River", 2); map.put("Car", 3); } @Override public int getPartition(Text text, IntWritable intWritable, int reduceNum) { Integer partition = map.get(text.toString()); return partition; } }
922f66266e11b39ee456ce6b08322c87d3fb97ea
1,563
java
Java
src-jflap/gui/grammar/automata/GrammarCreationException.java
lta-disco-unimib-it/BCT
1c7fcb52f42bae9f5169c94032ded919cb1c42c4
[ "Apache-2.0" ]
null
null
null
src-jflap/gui/grammar/automata/GrammarCreationException.java
lta-disco-unimib-it/BCT
1c7fcb52f42bae9f5169c94032ded919cb1c42c4
[ "Apache-2.0" ]
null
null
null
src-jflap/gui/grammar/automata/GrammarCreationException.java
lta-disco-unimib-it/BCT
1c7fcb52f42bae9f5169c94032ded919cb1c42c4
[ "Apache-2.0" ]
null
null
null
30.057692
70
0.729367
995,099
/* -- JFLAP 4.0 -- * * Copyright information: * * Susan H. Rodger, Thomas Finley * Computer Science Department * Duke University * April 24, 2003 * Supported by National Science Foundation DUE-9752583. * * Copyright (c) 2003 * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this paragraph are * duplicated in all such forms and that any documentation, * advertising materials, and other materials related to such * distribution and use acknowledge that the software was developed * by the author. The name of the author may not be used to * endorse or promote products derived from this software without * specific prior written permission. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ package gui.grammar.automata; /** * The <CODE>GrammarCreationException</CODE> is thrown if there is an * error in the creation of a grammar. * * @author Thomas Finley */ public class GrammarCreationException extends RuntimeException { /** * Instantiates a new <CODE>GrammarCreationException</CODE>. */ public GrammarCreationException() { super(); } /** * Instantiates a new <CODE>GrammarCreationException</CODE>. * @param message the message to accompany this exception */ public GrammarCreationException(String message) { super(message); } }
922f669bdae0bb67bfad8e1252228e6289e374ae
5,607
java
Java
HistogramEqualization.java
luw19/Histogram-Equalisation
6d81344796fd2501730806df63a561881fd08e01
[ "MIT" ]
1
2016-01-26T17:43:01.000Z
2016-01-26T17:43:01.000Z
HistogramEqualization.java
luw19/Histogram-Equalisation
6d81344796fd2501730806df63a561881fd08e01
[ "MIT" ]
null
null
null
HistogramEqualization.java
luw19/Histogram-Equalisation
6d81344796fd2501730806df63a561881fd08e01
[ "MIT" ]
null
null
null
31.677966
117
0.634207
995,100
import java.awt.Color; import java.awt.image.BufferedImage; import java.util.ArrayList; import uk.ac.aber.beautify.gui.HistogramGUI; /** * @author axeMaltesse - Lukasz Wrzolek * */ public class HistogramEqualization{ public BufferedImage histogramEqualization(BufferedImage inputImage){ //prepare the table to do equalization ArrayList<int[]> equalize = uniformHistogram(inputImage); BufferedImage outputImage = new BufferedImage(inputImage.getWidth(), inputImage.getHeight(), inputImage.getType()); int red; int green; int blue; for(int u=0; u<inputImage.getWidth(); u++){ for(int v=0; v<inputImage.getHeight(); v++){ // Get pixels by R, G, B red = new Color(inputImage.getRGB (u, v)).getRed(); green = new Color(inputImage.getRGB (u, v)).getGreen(); blue = new Color(inputImage.getRGB (u, v)).getBlue(); //set new pixel values using the histogramTriangle method, equalize the values red = equalize.get(0)[red]; green = equalize.get(1)[green]; blue = equalize.get(2)[blue]; //set up the pixel value to current channel int pixels = colorToRGB(red,green,blue); //Write pixels into image outputImage.setRGB(u, v, pixels); } } /* HistogramGUI hist = new HistogramGUI(); hist.displayHistogram(outputImage); HistogramGUI hist1 = new HistogramGUI(); hist1.displayCumulativeHistogram(outputImage); //hist1.displayCumulativeHistogram(histogramEQ); return outputImage; */ } /** * * @param inputImage * @return ArrayList of Red, Green, Blue channel after shifting the values to create linear function */ public ArrayList<int[]> uniformHistogram(BufferedImage inputImage){ /** * Computing the histogram. Simple implementation for separate channels, * most taken from the lecture slide 7, implementing histogram. */ int[] Redhistogram = new int[256]; int[] Greenhistogram = new int[256]; int[] Bluehistogram = new int[256]; /* * filling up the histogram by 0 values */ for (int i=0; i<Redhistogram.length; i++) Redhistogram[i] = 0; for (int i=0; i<Greenhistogram.length; i++) Greenhistogram[i] = 0; for (int i=0; i<Bluehistogram.length; i++) Bluehistogram[i] = 0; /* * Loop to get the pixel values * pixel contains three intensity values, one of each for red,green and blue */ for(int u=0; u<inputImage.getWidth(); u++){ for(int v=0; v<inputImage.getHeight(); v++){ //Get the values for red, green, blue using color constructor. //http://docs.oracle.com/javase/7/docs/api/java/awt/Color.html int red = new Color(inputImage.getRGB(u, v)).getRed();//returns red value in range 0-255 int green = new Color(inputImage.getRGB(u, v)).getGreen();//returns green value in range 0-255 int blue = new Color(inputImage.getRGB(u, v)).getBlue();//returns blue value in range 0-255 //red,green,blue provides the index to the histogram Redhistogram[red]++; Greenhistogram[green]++; Bluehistogram[blue]++; } } //Storing the histogram values in array list. ArrayList<int[]> histogram = new ArrayList<int[]>(); histogram.add(Redhistogram); histogram.add(Greenhistogram); histogram.add(Bluehistogram); //declare three values to store the color value double val_r = 0; double val_g = 0; double val_b = 0; /** * Function to perform histogram equalization for an image with K * intensity levels of size m*n */ int K = 256; //równanie funkcji liniowej danego obrazu w histogramie double linear = (((double)K-1) / (inputImage.getWidth() * (inputImage.getHeight()))); //filling up the histogram array with the values from our image for(int i=0; i<Redhistogram.length; i++){ // int the loop we add the value of the current pixel to our red channel (0) value // [i] is a pointer to the value stored in histogram val_r += histogram.get(0)[i]; //calculate the new value by multiple this value with the linear function. //so we are shifting the values int valr = (int) (val_r*linear); //!pamietaj o tresholdzie! //If the treshold exceeds 255, we write 255, if(valr > 255) { Redhistogram[i] = 255; }//else write the normal pixel values else Redhistogram[i]=valr; //doing the same for green channel (1) val_g += histogram.get(1)[i]; int valg = (int) (val_g * linear); if(valg > 255) { Greenhistogram[i] = 255; } else Greenhistogram[i] = valg; //and blue channel (2) val_b += histogram.get(2)[i]; int valb = (int) (val_b * linear); if(valb > 255) { Bluehistogram[i] = 255; } else Bluehistogram[i] = valb; } //Create an ArrayList to store the values after equalisation ArrayList<int[]> equalizedHist = new ArrayList<int[]>(); //Updating array list of cumulative histogram equalizedHist.add(Redhistogram); equalizedHist.add(Greenhistogram); equalizedHist.add(Bluehistogram); return equalizedHist; } /** * * @param red - red value * @param green - green value * @param blue - blue value * @return - shifted pixels for each channel */ private int colorToRGB(int red, int green, int blue){ int pixel = 0; pixel += red; pixel = pixel << 8; pixel += green; pixel = pixel << 8; pixel += blue; return pixel; } }
922f67133765523da935eaf6dfc6c459551ba55a
11,264
java
Java
src/main/java/net/duckling/dhome/service/impl/UserService.java
ducklingcloud/dhome
e006d68bc3ea04bcd046f1338fd2d3a220d90d54
[ "Apache-2.0" ]
null
null
null
src/main/java/net/duckling/dhome/service/impl/UserService.java
ducklingcloud/dhome
e006d68bc3ea04bcd046f1338fd2d3a220d90d54
[ "Apache-2.0" ]
null
null
null
src/main/java/net/duckling/dhome/service/impl/UserService.java
ducklingcloud/dhome
e006d68bc3ea04bcd046f1338fd2d3a220d90d54
[ "Apache-2.0" ]
1
2020-06-08T03:51:13.000Z
2020-06-08T03:51:13.000Z
30.692098
107
0.740945
995,101
/* * Copyright (c) 2008-2016 Computer Network Information Center (CNIC), Chinese Academy of Sciences. * * This file is part of Duckling project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package net.duckling.dhome.service.impl; import java.util.Collections; import java.util.Date; import java.util.List; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import net.duckling.common.util.CommonUtils; import net.duckling.dhome.common.config.AppConfig; import net.duckling.dhome.common.umt.UmtClient; import net.duckling.dhome.common.util.MemCacheKeyGenerator; import net.duckling.dhome.dao.IDetailedUserDAO; import net.duckling.dhome.dao.IDisciplineDAO; import net.duckling.dhome.dao.ISimpleUserDAO; import net.duckling.dhome.dao.IUserGuideDAO; import net.duckling.dhome.domain.people.DetailedUser; import net.duckling.dhome.domain.people.Discipline; import net.duckling.dhome.domain.people.SimpleUser; import net.duckling.dhome.domain.people.UserGuide; import net.duckling.dhome.service.IUserService; import net.duckling.falcon.api.cache.ICacheService; import org.codehaus.jettison.json.JSONArray; import org.codehaus.jettison.json.JSONException; import org.codehaus.jettison.json.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import cn.vlabs.umt.oauth.AccessToken; import cn.vlabs.umt.oauth.UserInfo; import cn.vlabs.umt.oauth.client.HttpClient; import cn.vlabs.umt.oauth.client.HttpsConnectionClient; import cn.vlabs.umt.oauth.client.OAuthClient; import cn.vlabs.umt.oauth.client.URLConnectionClient; import cn.vlabs.umt.oauth.client.request.OAuthClientRequest; import cn.vlabs.umt.oauth.client.response.OAuthJSONAccessTokenResponse; import cn.vlabs.umt.oauth.common.OAuth; import cn.vlabs.umt.oauth.common.exception.OAuthProblemException; import cn.vlabs.umt.oauth.common.exception.OAuthSystemException; /** * 用户服务 * @author Yangxp * */ @Service public class UserService implements IUserService{ private static final String OAUTH_CLIENT_ID = "client_id"; private static final String OAUTH_CLIENT_SECRET = "client_secret"; private static final String OAUTH_ACCESS_TOKEN_URL = "access_token_URL"; private static final String REDIRCET_URI = "redirect_uri"; /** * umt token校验方法 */ private static final String OAUTH_GRANT_PASSWORD = "password"; private static final String OAUTH_GRANT_TYPE = "grant_type"; @Autowired private ISimpleUserDAO simpleUserDAO; @Autowired private IDetailedUserDAO detailedUserDAO; @Autowired private IDisciplineDAO disciplineDAO; @Autowired private IUserGuideDAO userGuideDAO; @Autowired private AppConfig config; @Autowired private ICacheService cacheService; private UmtClient umt; /** * 初始化 */ @PostConstruct public void init(){ umt=new UmtClient(config.getUmtServerURL()); } /** * 销毁 */ @PreDestroy public void destroy(){ umt=null; } public void setSimpleUserDAO(ISimpleUserDAO sudao){ simpleUserDAO = sudao; } public void setDetailedUserDAO(IDetailedUserDAO duDAO){ detailedUserDAO = duDAO; } public void setDisciplineDAO(IDisciplineDAO diDAO){ disciplineDAO = diDAO; } public void setUserGuideDAO(IUserGuideDAO ugDAO){ userGuideDAO = ugDAO; } public void setCacheService(ICacheService cs){ cacheService = cs; } @Override public List<SimpleUser> getSimpleUserByDiscipline(int first, int second, int offset, int size) { return simpleUserDAO.getSimpleUserByDiscipline(first, second, offset, size); } @Override public SimpleUser getSimpleUser(String email) { return simpleUserDAO.getUser(email); } @Override public SimpleUser getSimpleUser(int uid) { return simpleUserDAO.getUser(uid); } @Override public DetailedUser getDetailedUser(int uid) { String key=MemCacheKeyGenerator.getDetailUserKey(uid); Object du = cacheService.get(key); if(null == du){ DetailedUser duDB = detailedUserDAO.getUser(uid); cacheService.set(key, duDB); return duDB; }else{ return (DetailedUser)du; } } @Override public boolean updateSimpleUserByUid(SimpleUser su) { su.setAuditPropose(null); su.setStatus(null); return updateDBAndCache(su); } private boolean updateDBAndCache(SimpleUser su){ int result = simpleUserDAO.updateAccount(su); if(result > 0){ cacheService.set(MemCacheKeyGenerator.getSimpleUserKey(su.getId()), su); } return result>0; } @Override public boolean updateSimpleUserStatusByUid(SimpleUser su){ return updateDBAndCache(su); } @Override public boolean updateDetailedUserByUid(DetailedUser du) { boolean result = detailedUserDAO.updateDetailedUserByUid(du); if(result){ cacheService.set(MemCacheKeyGenerator.getDetailUserKey(du.getUid()), du); } return result; } @Override public SimpleUser getSimpleUserByUid(int uid) { if(uid<=0){ return null; } String key=MemCacheKeyGenerator.getSimpleUserKey(uid); Object obj = cacheService.get(key); if(null == obj){ SimpleUser su = simpleUserDAO.getUser(uid); cacheService.set(key, su); return su; }else{ return (SimpleUser)obj; } } @Override public List<SimpleUser> getSimpleUsersByUid(List<Integer> uids) { return simpleUserDAO.getUsers(uids); } @Override public List<Discipline> getRootDiscipline() { return disciplineDAO.getRoot(); } @Override public List<Discipline> getChildDiscipline(int id) { return disciplineDAO.getChild(id); } @Override public String getDisciplineName(int id) { return disciplineDAO.getName(id); } @Override public int getUserCount() { return simpleUserDAO.getCount(); } @Override public boolean isUmtUser(String email) { return umt.isExistUMTRegister(email); } @Override public List<SimpleUser> getAllUsers(String status, String keyword, int offset, int size) { return simpleUserDAO.getAllUsers(status, keyword, offset, size); } @Override public SimpleUser getSimpleUserByImgId(int imgId) { return simpleUserDAO.getSimpleUserByImgId(imgId); } @Override public List<SimpleUser> getSimpleUserByInterest(String keyword, int offset, int size) { return simpleUserDAO.getSimpleUserByInterest(keyword, offset, size); } @Override public int create(int uid, String module, int step) { return userGuideDAO.create(UserGuide.build(uid, module, step)); } @Override public int getStep(int uid, String module) { return userGuideDAO.getStep(uid, module); } @Override public void updateStep(int uid, String module, int step) { userGuideDAO.updateStep(uid, module, step); } @Override public void updateSimpleUserLastEditTimeByUid(int uid) { if(uid<0){ return; } if(simpleUserDAO.updateSimpleUserLastEditTimeByUid(uid)>0){ String key=MemCacheKeyGenerator.getSimpleUserKey(uid); SimpleUser su=(SimpleUser)cacheService.get(key); if(su!=null){ su.setLastEditTime(new Date()); cacheService.set(key,su); } } } @Override public List<SimpleUser> getUserByEmails(List<String> email) { if(CommonUtils.isNull(email)){ return Collections.emptyList(); } return simpleUserDAO.getUsersByEmails(email); } @Override public List<SimpleUser> getAllUser() { return simpleUserDAO.getAllUser(); } // @Override // public List<SimpleUser> searchUser(String key) { // if(CommonUtils.isNull(key)){ // return null; // } // return simpleUserDAO.searchUser(key); // } // @Override // public void updateSimpleUserEmailByUid(int uid,String newEamil) { // simpleUserDAO.updateSimpleUserEmailByUid(uid, newEamil); // } @Override public boolean isCorrectUserInfo(String uid, String password) { return umt.isCorrectUserInfo(uid, password); } /** * 验证UMT用户账户和密码信息是否正确 * @param uid * @param password * @return */ // @Override // public AccessToken umtPasswordAccessToken(String userName,String password) throws OAuthProblemException{ // try { // OAuthClientRequest request = OAuthClientRequest // .tokenLocation( // properties.getProperty(OAUTH_ACCESS_TOKEN_URL)) // .setClientId(properties.getProperty(OAUTH_CLIENT_ID)) // .setClientSecret( // properties.getProperty(OAUTH_CLIENT_SECRET)) // .setParameter(OAUTH_GRANT_TYPE, OAUTH_GRANT_PASSWORD) // .setParameter(OAuth.OAUTH_USERNAME, userName) // .setParameter(OAuth.OAUTH_PASSWORD, password) // .setParameter(OAuth.OAUTH_REDIRECT_URI, properties.getProperty(REDIRCET_URI)) // .buildBodyMessage(); // OAuthClient oAuthClient = new OAuthClient(getHttpClient()); // OAuthJSONAccessTokenResponse oAuthResponse = oAuthClient // .accessToken(request, OAuthJSONAccessTokenResponse.class); // String error = oAuthResponse.getParam("error"); // if (error != null && error.length() > 0) { // OAuthProblemException ex = OAuthProblemException.error(error, // oAuthResponse.getParam("error_description")); // throw ex; // } // AccessToken token = new AccessToken(); // token.setAccessToken(oAuthResponse.getAccessToken()); // token.setRefreshToken(oAuthResponse.getRefreshToken()); // token.setExpiresIn(oAuthResponse.getExpiresIn()); // token.setScope(oAuthResponse.getScope()); // token.setUserInfo(getUserInfo(oAuthResponse.getParam("userInfo"))); // return token; // } catch (OAuthSystemException e) { // throw OAuthProblemException.error("systemError", e.getMessage()); // } // } // private HttpClient getHttpClient() { // if (properties.getProperty(OAUTH_ACCESS_TOKEN_URL).toLowerCase() // .startsWith("https")) { // return new HttpsConnectionClient(); // } else { // return new URLConnectionClient(); // } // } // // private UserInfo getUserInfo(String param) { // if (param == null || param.length() == 0) { // return null; // } // JSONObject obj; // try { // UserInfo user = new UserInfo(); // obj = new JSONObject(param); // user.setType(getFromJSON(obj, "type")); // user.setTrueName(getFromJSON(obj, "truename")); // user.setCstnetId(getFromJSON(obj, "cstnetId")); // user.setUmtId(getFromJSON(obj, "umtId")); // user.setPasswordType(getFromJSON(obj, "passwordType")); // user.setCstnetIdStatus(getFromJSON(obj, "cstnetIdStatus")); // user.setSecurityEmail(getFromJSON(obj, "securityEmail")); // try { // JSONArray emails = obj.getJSONArray("secondaryEmails"); // if (emails != null && emails.length() > 0) { // String[] r = new String[emails.length()]; // for (int i = 0; i < emails.length(); i++) { // r[i] = emails.getString(i); // } // user.setSecondaryEmails(r); // } // } catch (JSONException e) { // } // return user; // } catch (JSONException e) { // return null; // } // } // private String getFromJSON(JSONObject obj, String key) { // try { // return obj.getString(key); // } catch (JSONException e) { // return null; // } // } }
922f67647ab2ef525c908789134b614087f85bd5
3,230
java
Java
src/main/java/com/tencentcloudapi/wemeet/models/recording/QueryRecordsEventsResponse.java
TencentCloud/wemeet-restapi-sdk-java
a9c1b05ab9d79be0b8b8c2a59ab4f92c9d11ac3b
[ "Apache-2.0" ]
7
2021-04-15T06:51:00.000Z
2022-03-01T06:59:29.000Z
src/main/java/com/tencentcloudapi/wemeet/models/recording/QueryRecordsEventsResponse.java
TencentCloud/wemeet-restapi-sdk-java
a9c1b05ab9d79be0b8b8c2a59ab4f92c9d11ac3b
[ "Apache-2.0" ]
3
2021-05-18T03:16:38.000Z
2021-11-08T05:39:18.000Z
src/main/java/com/tencentcloudapi/wemeet/models/recording/QueryRecordsEventsResponse.java
TencentCloud/wemeet-restapi-sdk-java
a9c1b05ab9d79be0b8b8c2a59ab4f92c9d11ac3b
[ "Apache-2.0" ]
3
2021-08-05T02:30:40.000Z
2021-09-03T07:36:23.000Z
21.972789
62
0.580186
995,102
package com.tencentcloudapi.wemeet.models.recording; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import com.tencentcloudapi.wemeet.models.BaseResponse; import java.util.List; /** * <p>desc</p> * * @author tencent * @date 2021/4/28 */ public class QueryRecordsEventsResponse extends BaseResponse { @Expose @SerializedName("total_count") private Integer totalCount; @Expose @SerializedName("current_size") private Integer currentSize; @Expose @SerializedName("current_page") private Integer currentPage; @Expose @SerializedName("total_page") private Integer totalPage; @Expose @SerializedName("events") private List<Event> events; public static class Event { /** * 操作时间,UNIX 时间戳(单位毫秒)。 */ @Expose @SerializedName("operate_time") private Integer operateTime; /** * 查询事件类型: * 1:下载 * 2:查看 */ @Expose @SerializedName("event_type") private Integer eventType; /** * 用户 ID */ @Expose @SerializedName("userid") private String userId; /** * 用户名称 */ @Expose @SerializedName("user_name") private String username; /** * 录制文件名称。 */ @Expose @SerializedName("record_name") private String recordName; public Integer getOperateTime() { return operateTime; } public void setOperateTime(Integer operateTime) { this.operateTime = operateTime; } public Integer getEventType() { return eventType; } public void setEventType(Integer eventType) { this.eventType = eventType; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public String getRecordName() { return recordName; } public void setRecordName(String recordName) { this.recordName = recordName; } } public Integer getTotalCount() { return totalCount; } public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } public Integer getCurrentSize() { return currentSize; } public void setCurrentSize(Integer currentSize) { this.currentSize = currentSize; } public Integer getCurrentPage() { return currentPage; } public void setCurrentPage(Integer currentPage) { this.currentPage = currentPage; } public Integer getTotalPage() { return totalPage; } public void setTotalPage(Integer totalPage) { this.totalPage = totalPage; } public List<Event> getEvents() { return events; } public void setEvents(List<Event> events) { this.events = events; } }
922f6853e725c9a8c7722ef27bee8309ec9d1bea
1,692
java
Java
hmily-demo/hmily-demo-dubbo/hmily-demo-dubbo-account/src/main/java/org/dromara/hmily/demo/dubbo/account/ext/log/CustomCoordinatorRepository.java
cpazstido/hmily
0b58e4f198be2c2f972723740fc6bd3e7dec7d9c
[ "Apache-2.0" ]
3
2019-11-21T03:15:41.000Z
2019-12-04T09:31:55.000Z
hmily-demo/hmily-demo-dubbo/hmily-demo-dubbo-account/src/main/java/org/dromara/hmily/demo/dubbo/account/ext/log/CustomCoordinatorRepository.java
cpazstido/hmily
0b58e4f198be2c2f972723740fc6bd3e7dec7d9c
[ "Apache-2.0" ]
2
2021-06-04T22:05:22.000Z
2021-08-09T20:44:13.000Z
hmily-demo/hmily-demo-dubbo/hmily-demo-dubbo-account/src/main/java/org/dromara/hmily/demo/dubbo/account/ext/log/CustomCoordinatorRepository.java
cpazstido/hmily
0b58e4f198be2c2f972723740fc6bd3e7dec7d9c
[ "Apache-2.0" ]
2
2020-09-15T10:44:28.000Z
2021-03-05T13:19:21.000Z
22.56
80
0.694444
995,103
package org.dromara.hmily.demo.dubbo.account.ext.log; import org.dromara.hmily.annotation.HmilySPI; import org.dromara.hmily.common.bean.entity.HmilyTransaction; import org.dromara.hmily.common.config.HmilyConfig; import org.dromara.hmily.common.serializer.ObjectSerializer; import org.dromara.hmily.core.spi.HmilyCoordinatorRepository; import java.util.Date; import java.util.List; /** * @author xiaoyu(Myth) */ @HmilySPI("custom") public class CustomCoordinatorRepository implements HmilyCoordinatorRepository { private ObjectSerializer serializer; @Override public int create(HmilyTransaction hmilyTransaction) { return 0; } @Override public int remove(String id) { return 0; } @Override public int update(HmilyTransaction hmilyTransaction) { return 0; } @Override public int updateParticipant(HmilyTransaction hmilyTransaction) { return 0; } @Override public int updateStatus(String id, Integer status) { return 0; } @Override public HmilyTransaction findById(String id) { return null; } @Override public List<HmilyTransaction> listAll() { return null; } @Override public List<HmilyTransaction> listAllByDelay(Date date) { return null; } @Override public void init(String modelName, HmilyConfig hmilyConfig) { System.out.println("executor customer CustomCoordinatorRepository"); } @Override public String getScheme() { return null; } @Override public void setSerializer(ObjectSerializer objectSerializer) { this.serializer = objectSerializer; } }
922f6a213a70f7589fcea803d72e7b5f4c4db604
219
java
Java
src/main/java/com/github/timoreyman/enhanced_diagnostics_springboot_starter/transfer/PublicKey.java
timo-reymann/enhanced-diagnostics-spring-boot-starter
29814a7b0905cfa3b4eadad144781f0a2d1204b0
[ "MIT" ]
null
null
null
src/main/java/com/github/timoreyman/enhanced_diagnostics_springboot_starter/transfer/PublicKey.java
timo-reymann/enhanced-diagnostics-spring-boot-starter
29814a7b0905cfa3b4eadad144781f0a2d1204b0
[ "MIT" ]
null
null
null
src/main/java/com/github/timoreyman/enhanced_diagnostics_springboot_starter/transfer/PublicKey.java
timo-reymann/enhanced-diagnostics-spring-boot-starter
29814a7b0905cfa3b4eadad144781f0a2d1204b0
[ "MIT" ]
null
null
null
19.909091
79
0.835616
995,104
package com.github.timoreyman.enhanced_diagnostics_springboot_starter.transfer; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class PublicKey { private String publicKey; }
922f6a25b6512119b067a6ed731f027360a46c04
991
java
Java
src/contest/dwite/DWITE_2009_Super_Special_Awesome_Numbers.java
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
83
2017-08-30T01:20:03.000Z
2022-02-12T13:50:27.000Z
src/contest/dwite/DWITE_2009_Super_Special_Awesome_Numbers.java
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
1
2015-08-20T13:37:59.000Z
2015-08-26T00:56:39.000Z
src/contest/dwite/DWITE_2009_Super_Special_Awesome_Numbers.java
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
41
2017-11-09T06:10:08.000Z
2022-01-11T14:10:25.000Z
20.645833
55
0.493441
995,105
package contest.dwite; import java.util.Scanner; public class DWITE_2009_Super_Special_Awesome_Numbers { public static void main(String[] args) { Scanner scan = new Scanner(System.in); for (int y = 0; y < 5; y++) { int start = scan.nextInt(); int end = scan.nextInt(); int count = 0; for (int x = start; x <= end; x++) { if (isSuperAndSpecial(x) && isAwesome(x)) { count++; } } System.out.println(count); } scan.close(); } public static boolean isSuperAndSpecial(int n) { int sum = 0; int curr = -1; while (n != 0) { sum += n % 2; if (curr == -1) curr = n % 10; else if (curr <= n % 10) return false; else curr = n % 10; n /= 10; } return sum % 2 == 0; } public static boolean isAwesome(int n) { for (int x = 2; x * x <= n; x++) { if (n % (x * x) == 0) { return false; } } return true; } }
922f6ab6878319a54abdad82cbdd6f21f46c1c77
1,056
java
Java
eshow-service/src/main/java/cn/org/eshow/service/impl/CategoryManagerImpl.java
bangqu/EShow
d7780ac747a0da1916e5c75d8abd1e38217a7b50
[ "Apache-2.0" ]
14
2016-04-20T05:47:47.000Z
2018-10-08T00:31:59.000Z
eshow-service/src/main/java/cn/org/eshow/service/impl/CategoryManagerImpl.java
bangqu/EShow
d7780ac747a0da1916e5c75d8abd1e38217a7b50
[ "Apache-2.0" ]
null
null
null
eshow-service/src/main/java/cn/org/eshow/service/impl/CategoryManagerImpl.java
bangqu/EShow
d7780ac747a0da1916e5c75d8abd1e38217a7b50
[ "Apache-2.0" ]
19
2016-03-18T02:16:02.000Z
2019-09-04T10:31:23.000Z
27.076923
107
0.799242
995,106
package cn.org.eshow.service.impl; import cn.org.eshow.bean.query.CategoryQuery; import cn.org.eshow.common.page.Page; import cn.org.eshow.dao.CategoryDao; import cn.org.eshow.model.Category; import cn.org.eshow.service.CategoryManager; import cn.org.eshow.service.impl.GenericManagerImpl; import java.util.List; import javax.jws.WebService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @WebService(serviceName = "CategoryService", endpointInterface = "cn.org.eshow.service.CategoryManager") @Service public class CategoryManagerImpl extends GenericManagerImpl<Category, Integer> implements CategoryManager { @Autowired CategoryDao categoryDao; @Autowired public CategoryManagerImpl(CategoryDao categoryDao) { super(categoryDao); this.categoryDao = categoryDao; } @Override public List<Category> list(CategoryQuery query) { return categoryDao.list(query); } @Override public Page<Category> search(CategoryQuery query) { return categoryDao.search(query); } }
922f6af2aec7d1ea2cfb88cf23d90cd05df4ba1f
468
java
Java
service-front/src/main/java/com/java110/front/smo/service/IListServicesSMO.java
2669430363/MicroCommunity
f7cdc8cc9b1d092403abf18239cdc88fa9c3522d
[ "Apache-2.0" ]
711
2017-04-09T15:59:16.000Z
2022-03-27T07:19:02.000Z
service-front/src/main/java/com/java110/front/smo/service/IListServicesSMO.java
yasudarui/MicroCommunity
1026aa5eaa86446aedfdefd092a3d6fcf0dfe470
[ "Apache-2.0" ]
16
2017-04-09T16:13:09.000Z
2022-01-04T16:36:13.000Z
service-front/src/main/java/com/java110/front/smo/service/IListServicesSMO.java
yasudarui/MicroCommunity
1026aa5eaa86446aedfdefd092a3d6fcf0dfe470
[ "Apache-2.0" ]
334
2017-04-16T05:01:12.000Z
2022-03-30T00:49:37.000Z
21.272727
74
0.717949
995,107
package com.java110.front.smo.service; import com.java110.utils.exception.SMOException; import com.java110.core.context.IPageData; import org.springframework.http.ResponseEntity; /** * 服务管理服务接口类 * * add by wuxw 2019-06-29 */ public interface IListServicesSMO { /** * 查询服务信息 * @param pd 页面数据封装 * @return ResponseEntity 对象数据 * @throws SMOException 业务代码层 */ ResponseEntity<String> listServices(IPageData pd) throws SMOException; }
922f6b2ea0142dd021d5360d23d7d8c31f513d42
1,016
java
Java
hawkular/api/src/main/java/org/wildfly/swarm/hawkular/Avail.java
wildfly-boot/wildfly-boot
28ef71bcfa743a7267666e0ed2919c37b356c09b
[ "Apache-2.0" ]
2
2016-03-21T20:20:59.000Z
2016-03-23T05:07:52.000Z
hawkular/api/src/main/java/org/wildfly/swarm/hawkular/Avail.java
wildfly-swarm/ARCHIVE-wildfly-swarm
28ef71bcfa743a7267666e0ed2919c37b356c09b
[ "Apache-2.0" ]
4
2020-03-04T21:45:11.000Z
2021-01-20T22:01:45.000Z
hawkular/api/src/main/java/org/wildfly/swarm/hawkular/Avail.java
wildfly-swarm/ARCHIVE-wildfly-swarm
28ef71bcfa743a7267666e0ed2919c37b356c09b
[ "Apache-2.0" ]
1
2022-03-13T02:49:33.000Z
2022-03-13T02:49:33.000Z
26.051282
75
0.693898
995,108
/** * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.wildfly.swarm.hawkular; /** * @author Bob McWhirter */ public class Avail extends Sampler<Avail> { private String upRegex; public Avail(String name) { super(Avail.class, name); } public Avail upRegex(String upRegex) { this.upRegex = upRegex; return this; } public String upRegex() { return this.upRegex; } }
922f6b4319f97248bb4ca1ee52ad92ab33c3ed70
4,515
java
Java
app/src/main/java/com/eternal/learnopengles/util/Geometry.java
wnwoghd22/learnOpenGLES
fca1ab7769f0ca3ef8b3a0b834bea332ab473b1f
[ "MIT" ]
null
null
null
app/src/main/java/com/eternal/learnopengles/util/Geometry.java
wnwoghd22/learnOpenGLES
fca1ab7769f0ca3ef8b3a0b834bea332ab473b1f
[ "MIT" ]
null
null
null
app/src/main/java/com/eternal/learnopengles/util/Geometry.java
wnwoghd22/learnOpenGLES
fca1ab7769f0ca3ef8b3a0b834bea332ab473b1f
[ "MIT" ]
null
null
null
30.1
108
0.543743
995,109
package com.eternal.learnopengles.util; import android.util.Log; import androidx.annotation.NonNull; import com.eternal.learnopengles.data.VertexArray; public class Geometry { public static String TAG = "Geo"; public static class Point { public final float x, y, z; public Point(float x, float y,float z) { this.x = x; this.y = y; this.z = z; } public Point translateY(float distance) { return new Point(x, y + distance, z); } public Point translate(Vector vector) { return new Point(x + vector.x, y + vector.y, z + vector.z); } @NonNull @Override public String toString() { return "(" + x + ", " + y + ", " + z + ")"; } } public static class Circle { public final Point center; public final float radius; public Circle(Point center, float radius) { this.center = center; this.radius = radius; } public Circle scale(float scale) { return new Circle(center, radius * scale); } } public static class Cylinder { public final Point center; public final float radius; public final float height; public Cylinder(Point center, float radius, float height) { this.center = center; this.radius = radius; this.height = height; } } public static class Ray { public final Point point; public final Vector vector; public Ray(Point point, Vector vector) { this.point = point; this.vector = vector; } } public static class Vector { public final float x, y ,z; public Vector(float x, float y, float z) { this.x = x; this.y = y; this.z = z; } public float length() { return (float) Math.sqrt(x * x + y * y + z * z); } public Vector crossProduct(Vector other) { return new Vector( y * other.z - z * other.y, z * other.x - x * other.z, x * other.y - y * other.x ); } public float dotProduct(Vector other) { return x * other.x + y * other.y + z * other.z; } public Vector scale(float f) { return new Vector( x * f, y * f, z * f ); } @NonNull @Override public String toString() { return "(" + x + ", " + y + ", " + z + ")"; } } public static Vector vectorBetween(Point from, Point to) { return new Vector( to.x - from.x, to.y - from.y, to.z - from.z ); } public static class Sphere { public final Point center; public final float radius; public Sphere(Point center, float radius) { this.center = center; this.radius = radius; } } public static boolean intersects(Sphere sphere, Ray ray) { return distanceBetween(sphere.center, ray) < sphere.radius; } public static float distanceBetween(Point point, Ray ray) { Vector p1ToPoint = vectorBetween(ray.point, point); Vector p2ToPoint = vectorBetween(ray.point.translate(ray.vector), point); float areaOfTriangleTimesTwo = p1ToPoint.crossProduct(p2ToPoint).length(); float lengthOfBase = ray.vector.length(); float distanceFromPointToRay = areaOfTriangleTimesTwo / lengthOfBase; return distanceFromPointToRay; } public static class Plane { public final Point point; public final Vector normal; public Plane(Point point, Vector normal) { this.point = point; this.normal = normal; } } public static Point intersectionPoint(Ray ray, Plane plane) { Vector rayToPlaneVector = vectorBetween(ray.point, plane.point); if (LoggerConfig.ON) { Log.w(TAG, "\nline V : " + ray.vector + "\nnormal V : " + plane.normal + "\nline V * normal V : " + ray.vector.dotProduct(plane.normal)); } float scaleFactor = rayToPlaneVector.dotProduct(plane.normal) / ray.vector.dotProduct(plane.normal); Point intersectionPoint = ray.point.translate(ray.vector.scale(scaleFactor)); return intersectionPoint; } }
922f6b6e65c64467de068932d2a02bfba1779d9d
898
java
Java
egg_StackOverflow_64573724/src/test/java/ExampleTestCase.java
codetojoy/gists_java
5417b1d10ebce768d3b6a995eeb917894ae13ee7
[ "Apache-2.0" ]
7
2018-01-06T02:08:37.000Z
2021-04-20T08:12:27.000Z
template/junit/src/test/java/ExampleTestCase.java
codetojoy/easter_eggs_for_gradle
b24f6ab8daf56cb7fb824807ab86eac8ebdc82c7
[ "Apache-2.0" ]
1
2020-01-29T11:10:47.000Z
2020-01-29T11:10:47.000Z
template/junit/src/test/java/ExampleTestCase.java
codetojoy/easter_eggs_for_gradle
b24f6ab8daf56cb7fb824807ab86eac8ebdc82c7
[ "Apache-2.0" ]
2
2019-08-16T10:18:40.000Z
2020-08-18T12:14:47.000Z
23.631579
64
0.58686
995,110
import org.junit.*; import static org.junit.Assert.*; import java.util.*; import java.util.stream.*; class Location { String type; public String getType() { return type; } } class LocationResponse { List<Location> locations = new ArrayList<>(); public List<Location> getLocations() { return locations; } } public class ExampleTestCase { @Test public void testCanary() { int x = 2+2; assertEquals(4, x); } @Test public void testExample() { var loc = new Location(); var list = List.of(loc, new Location(), new Location()); var locationResponse = new LocationResponse(); locationResponse.locations.addAll(list); locationResponse.getLocations() .stream() .map(location -> location.getType()) .forEach(t -> assertNull(t)); } }
922f6c417e76f01d084e9b17b4579e8fa9b91491
399
java
Java
src/main/java/com/liuliu/com/mapper/IntegralMapper.java
xiaozhu-CHN/LiuLiuShop
7a73c3a993854406c35ff5598c033ec8fd1b3dcf
[ "MIT" ]
null
null
null
src/main/java/com/liuliu/com/mapper/IntegralMapper.java
xiaozhu-CHN/LiuLiuShop
7a73c3a993854406c35ff5598c033ec8fd1b3dcf
[ "MIT" ]
null
null
null
src/main/java/com/liuliu/com/mapper/IntegralMapper.java
xiaozhu-CHN/LiuLiuShop
7a73c3a993854406c35ff5598c033ec8fd1b3dcf
[ "MIT" ]
null
null
null
24.9375
76
0.81203
995,111
package com.liuliu.com.mapper; import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import com.liuliu.com.domain.Integral; import com.liuliu.com.vo.IntegralVO; @Mapper public interface IntegralMapper { public Integer insertUserIntegral(Integral integral); public List<IntegralVO> selectIntegralByUserId(@Param("userId")int userId); }
922f6e3ea53f36f1c489c55f90797f7ead0dc76f
415
java
Java
generator-core/src/main/java/io/github/thinkframework/generator/core/internal/lang/reflect/ClazzField.java
think-framework/think-generator
7bb86816c94eae78614a06525ca95470c25d4b57
[ "Apache-2.0" ]
14
2021-05-22T09:53:17.000Z
2021-05-24T02:50:11.000Z
generator-core/src/main/java/io/github/thinkframework/generator/core/internal/lang/reflect/ClazzField.java
think-framework/think-generator
7bb86816c94eae78614a06525ca95470c25d4b57
[ "Apache-2.0" ]
null
null
null
generator-core/src/main/java/io/github/thinkframework/generator/core/internal/lang/reflect/ClazzField.java
think-framework/think-generator
7bb86816c94eae78614a06525ca95470c25d4b57
[ "Apache-2.0" ]
1
2021-05-23T11:39:33.000Z
2021-05-23T11:39:33.000Z
24.411765
89
0.778313
995,112
package io.github.thinkframework.generator.core.internal.lang.reflect; import io.github.thinkframework.generator.core.internal.lang.Clazz; import io.github.thinkframework.generator.core.internal.lang.annotation.ClazzAnnotations; /** * java.reflect.Field * * @author hdhxby * @since 2017/3/24 */ public interface ClazzField extends ClazzMember { Clazz getType(); ClazzAnnotations getAnnotations(); }
922f6e80c7fe3be44edcb41a6899bf3949fc819a
507
java
Java
java/learn-design-patterns/src/action/observer/BaiduSite.java
fendoudebb/learnin
e9bdfcaa028b6a41fd7bebfbbc2037f50f2112e1
[ "Apache-2.0" ]
1
2021-03-30T06:02:07.000Z
2021-03-30T06:02:07.000Z
java/learn-design-patterns/src/action/observer/BaiduSite.java
fendoudebb/learnin
e9bdfcaa028b6a41fd7bebfbbc2037f50f2112e1
[ "Apache-2.0" ]
4
2021-03-08T12:58:36.000Z
2021-11-16T05:43:20.000Z
java/learn-design-patterns/src/action/observer/BaiduSite.java
fendoudebb/learnin
e9bdfcaa028b6a41fd7bebfbbc2037f50f2112e1
[ "Apache-2.0" ]
2
2021-04-22T02:39:11.000Z
2021-07-30T01:44:04.000Z
24.142857
86
0.642998
995,113
package action.observer; public class BaiduSite implements Observer { private float temperature; private float pressure; private float humidity; @Override public void update(float temperature, float pressure, float humidity) { this.temperature = temperature; this.pressure = pressure; this.humidity = humidity; display(); } public void display() { System.out.println("Baidu: " + temperature + " " + pressure + " " + humidity); } }
922f6f5d0e9f900199ce5b715ec063305f56e52a
15,758
java
Java
luckypurchase/src/main/java/com/yilian/luckypurchase/activity/LuckyAllPrizeListActivity.java
LJW123/YiLianMall
ea335a66cb4fd6417aa264a959847b094c90fb04
[ "MIT" ]
null
null
null
luckypurchase/src/main/java/com/yilian/luckypurchase/activity/LuckyAllPrizeListActivity.java
LJW123/YiLianMall
ea335a66cb4fd6417aa264a959847b094c90fb04
[ "MIT" ]
null
null
null
luckypurchase/src/main/java/com/yilian/luckypurchase/activity/LuckyAllPrizeListActivity.java
LJW123/YiLianMall
ea335a66cb4fd6417aa264a959847b094c90fb04
[ "MIT" ]
null
null
null
38.528117
200
0.574311
995,114
package com.yilian.luckypurchase.activity; import android.content.ComponentName; import android.content.Intent; import android.os.Bundle; import android.support.v4.content.ContextCompat; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.text.Editable; import android.text.TextUtils; import android.text.TextWatcher; import android.view.KeyEvent; import android.view.View; import android.view.inputmethod.EditorInfo; import android.widget.EditText; import android.widget.FrameLayout; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.chad.library.adapter.base.BaseQuickAdapter; import com.orhanobut.logger.Logger; import com.yilian.luckypurchase.R; import com.yilian.luckypurchase.adapter.LuckyGoodsListAdapter; import com.yilian.luckypurchase.widget.PopupMenu; import com.yilian.mylibrary.Constants; import com.yilian.mylibrary.RequestOftenKey; import com.yilian.mylibrary.ScreenUtils; import com.yilian.networkingmodule.entity.LuckyGoodsListEntity; import com.yilian.networkingmodule.retrofitutil.RetrofitUtils3; import java.util.List; import rx.Observer; import rx.Subscription; import rx.android.schedulers.AndroidSchedulers; import rx.schedulers.Schedulers; /** * @author 幸运购全部进行中活动列表 */ public class LuckyAllPrizeListActivity extends BaseAppCompatActivity implements View.OnClickListener { private ImageView v3Left; private TextView v3Title; private TextView tvRight; private ImageView v3Shop; private ImageView v3Share; private TextView tvRight2; private ImageView v3Back; private FrameLayout v3Layout; private LinearLayout llTitle; private RecyclerView recyclerView; private SwipeRefreshLayout swipeRefreshLayout; private View includeTitle; private View includeSearchView; private boolean isSearch; private TextView tvFinish; private EditText etKeyword; private TextView tvSeach; private String keyWord = ""; private LuckyGoodsListAdapter luckyAdapter; private ImageView ivReturnTop; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.lucky_activity_all_prize_list); initView(); initData(); initListener(); } @Override protected void onResume() { super.onResume(); if (isSearch) { // 如果是搜索界面,第一次进来时不查询数据 return; } getFirstPageData(); } private void initView() { isSearch = getIntent().getBooleanExtra("isSearch", false); ivReturnTop = (ImageView) findViewById(R.id.iv_return_top); includeTitle = findViewById(R.id.include_title); includeSearchView = findViewById(R.id.include_search_view); if (isSearch) { includeSearchView.setVisibility(View.VISIBLE); includeTitle.setVisibility(View.GONE); } else { includeSearchView.setVisibility(View.GONE); includeTitle.setVisibility(View.VISIBLE); } tvFinish = (TextView) findViewById(R.id.tv_finish); tvFinish.setOnClickListener(this); etKeyword = (EditText) findViewById(R.id.ed_keyword); etKeyword.setOnClickListener(this); tvSeach = (TextView) findViewById(R.id.tv_seach); tvSeach.setOnClickListener(this); v3Left = (ImageView) findViewById(R.id.v3Left); v3Title = (TextView) findViewById(R.id.v3Title); v3Title.setText("全部"); tvRight = (TextView) findViewById(R.id.tv_right); v3Shop = (ImageView) findViewById(R.id.v3Shop); v3Shop.setImageResource(R.mipmap.library_module_v3_more_bottom); if (isSearch) { v3Shop.setVisibility(View.GONE); } else { v3Shop.setVisibility(View.VISIBLE); } v3Share = (ImageView) findViewById(R.id.v3Share); tvRight2 = (TextView) findViewById(R.id.tv_right2); v3Back = (ImageView) findViewById(R.id.v3Back); v3Layout = (FrameLayout) findViewById(R.id.v3Layout); llTitle = (LinearLayout) findViewById(R.id.ll_title); recyclerView = (RecyclerView) findViewById(R.id.recycler_view); recyclerView.setLayoutManager(new GridLayoutManager(mContext, 2)); luckyAdapter = new LuckyGoodsListAdapter(R.layout.lucky_item_prize_progress, false); recyclerView.setAdapter(luckyAdapter); swipeRefreshLayout = (SwipeRefreshLayout) findViewById(R.id.swipe_refresh_layout); swipeRefreshLayout.setColorSchemeColors(ContextCompat.getColor(mContext, R.color.library_module_color_red)); if (isSearch) { swipeRefreshLayout.setEnabled(false);//初始化禁用下拉刷新 } tvRight.setOnClickListener(this); tvRight2.setOnClickListener(this); v3Back.setOnClickListener(this); v3Shop.setOnClickListener(this); ivReturnTop.setOnClickListener(this); } private void initData() { if (isSearch) { // 如果是搜索界面,第一次进来时不查询数据 return; } swipeRefreshLayout.setRefreshing(true); getFirstPageData(); } /** * recyclerView滑动高度 */ int scrollDy = 0; private void initListener() { etKeyword.setOnEditorActionListener(new TextView.OnEditorActionListener() { @Override public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { if (actionId == EditorInfo.IME_ACTION_SEARCH) { getFirstPageData(); } return false; } }); luckyAdapter.setOnItemClickListener(new BaseQuickAdapter.OnItemClickListener() { @Override public void onItemClick(BaseQuickAdapter adapter, View view, int position) { LuckyGoodsListEntity.ListBean adapterItem = (LuckyGoodsListEntity.ListBean) adapter.getItem(position); Intent intent = new Intent(mContext, LuckyActivityDetailActivity.class); intent.putExtra("activity_id", adapterItem.activityId); intent.putExtra("type", "0"); startActivity(intent); } }); if (isSearch) { etKeyword.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @Override public void onTextChanged(CharSequence s, int start, int before, int count) { if (s.toString().length() <= 0) { swipeRefreshLayout.setEnabled(false); } else { swipeRefreshLayout.setEnabled(true); } } @Override public void afterTextChanged(Editable s) { } }); } else { swipeRefreshLayout.setEnabled(true); } luckyAdapter.setOnLoadMoreListener(new BaseQuickAdapter.RequestLoadMoreListener() { @Override public void onLoadMoreRequested() { getNextPageData(); } }, recyclerView); recyclerView.addOnScrollListener(new RecyclerView.OnScrollListener() { @Override public void onScrolled(RecyclerView recyclerView, int dx, int dy) { scrollDy += dy; int screenHeight3 = ScreenUtils.getScreenHeight(mContext) * 3; if (scrollDy > screenHeight3) { ivReturnTop.setVisibility(View.VISIBLE); } else { ivReturnTop.setVisibility(View.GONE); } super.onScrolled(recyclerView, dx, dy); } }); swipeRefreshLayout.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() { @Override public void onRefresh() { getFirstPageData(); } }); } int page = 0; private void getFirstPageData() { page = 0; getData(); } private void getNextPageData() { page++; getData(); } /** * 获取幸运购活动列表数据 */ void getData() { if (isSearch) { searchLuckyData(); } else { getLuckyData(); } } @SuppressWarnings("unchecked") private void getLuckyData() { Subscription subscription = RetrofitUtils3.getRetrofitService(mContext) .getAllLuckyGoodsListData("snatch/snatch_list_all", RequestOftenKey.getDeviceIndex(mContext), RequestOftenKey.getToken(mContext), page, Constants.PAGE_COUNT) .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(new Observer<LuckyGoodsListEntity>() { @Override public void onCompleted() { swipeRefreshLayout.setRefreshing(false); } @Override public void onError(Throwable e) { swipeRefreshLayout.setRefreshing(false); Logger.i("swipe走了这里1"); showToast(e.getMessage()); luckyAdapter.loadMoreFail(); } @Override public void onNext(LuckyGoodsListEntity luckyGoodsListEntity) { List<LuckyGoodsListEntity.ListBean> list = luckyGoodsListEntity.list; setData(list); } }); addSubscription(subscription); } private void setData(List<LuckyGoodsListEntity.ListBean> list) { if (page <= 0) { if (null == list || list.size() <= 0) { luckyAdapter.setEmptyView(R.layout.library_module_no_data); // 处理Invalid view holder adapter positionViewHolder luckyAdapter.notifyDataSetChanged(); } else { luckyAdapter.setNewData(list); if (list.size() < Constants.PAGE_COUNT) { luckyAdapter.loadMoreEnd(); } else { luckyAdapter.loadMoreComplete(); } } } else { if (list.size() >= Constants.PAGE_COUNT) { luckyAdapter.loadMoreComplete(); } else { luckyAdapter.loadMoreEnd(); } luckyAdapter.addData(list); } } @SuppressWarnings("unchecked") private void searchLuckyData() { keyWord = etKeyword.getText().toString(); if (TextUtils.isEmpty(keyWord)) { showToast("请输入搜索关键字"); return; } Subscription subscription = RetrofitUtils3.getRetrofitService(mContext) .getPrizeList("snatch/snatch_search", RequestOftenKey.getDeviceIndex(mContext), RequestOftenKey.getToken(mContext), keyWord, String.valueOf(page), String.valueOf(Constants.PAGE_COUNT)) .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(new Observer<LuckyGoodsListEntity>() { @Override public void onCompleted() { swipeRefreshLayout.setRefreshing(false); Logger.i("搜索幸运购走了这里: onCompleted:"); dismissInputMethod(); } @Override public void onError(Throwable e) { Logger.i("搜索幸运购走了这里: throwable:" + e.getMessage()); swipeRefreshLayout.setRefreshing(false); Logger.i("swipe走了这里1"); showToast(e.getMessage()); luckyAdapter.loadMoreFail(); } @Override public void onNext(LuckyGoodsListEntity luckyGoodsListEntity) { Logger.i("搜索幸运购走了这里: luckyGoodsListEntity:" + luckyGoodsListEntity); List<LuckyGoodsListEntity.ListBean> list = luckyGoodsListEntity.list; if (page <= 0) { if (null == list || list.size() <= 0) { Logger.i("搜索幸运购走了这里: luckyGoodsListEntity1:" + list.size()); luckyAdapter.setNewData(list); luckyAdapter.setEmptyView(R.layout.library_module_no_data); luckyAdapter.notifyDataSetChanged(); } else { Logger.i("搜索幸运购走了这里: luckyGoodsListEntity2:" + list.size()); luckyAdapter.setNewData(list); } } else { if (list.size() >= Constants.PAGE_COUNT) { luckyAdapter.loadMoreComplete(); } else { luckyAdapter.loadMoreEnd(); } luckyAdapter.addData(list); } } }); addSubscription(subscription); } @Override public void onClick(View v) { int i = v.getId(); if (i == R.id.tv_right) { } else if (i == R.id.tv_right2) { } else if (i == R.id.v3Back) { finish(); } else if (i == R.id.tv_finish) { finish(); } else if (i == R.id.tv_seach) { getFirstPageData(); } else if (i == R.id.v3Shop) { showMenu(); } else if (i == R.id.iv_return_top) { recyclerView.smoothScrollToPosition(0); } } /** * 右上角更多 */ private void showMenu() { final PopupMenu popupMenu = new PopupMenu(this, false); popupMenu.showLocation(R.id.v3Shop); popupMenu.setOnItemClickListener(new PopupMenu.OnItemClickListener() { @Override public void onClick(PopupMenu.MENUITEM item, String str) { Intent intent = new Intent(); switch (item) { case ITEM1: if (sp.getBoolean(Constants.SPKEY_STATE, false)) { intent.setComponent(new ComponentName(mContext, "com.yilian.mall.ui.InformationActivity")); } else { intent.setComponent(new ComponentName(mContext, "com.yilian.loginmodule.LeFenPhoneLoginActivity")); } break; case ITEM2: intent.setComponent(new ComponentName(mContext, "com.yilian.mall.ui.JPMainActivity")); intent.putExtra(Constants.INTENT_KEY_JUMP_TO_JP_MAIN_ACTIVITY, Constants.INTENT_VALUE_JUMP_TO_MT__HOME_FRAGMENT); break; case ITEM3: break; case ITEM4: intent.setComponent(new ComponentName(mContext, "com.yilian.mall.ui.JPMainActivity")); intent.putExtra(Constants.INTENT_KEY_JUMP_TO_JP_MAIN_ACTIVITY, Constants.INTENT_VALUE_JUMP_TO_PERSON_CENTER_FRAGMENT); break; default: break; } startActivity(intent); } }); } }
922f6f96ecb6345e8347fdd1d205035e14b8b327
1,529
java
Java
rice-middleware/impl/src/main/java/org/kuali/rice/kew/actionrequest/KimPrincipalRecipient.java
colostate-is/kualico-rice
d6707143751d4ec9617be8f9708466863aa5b4ef
[ "ECL-2.0" ]
5
2017-07-14T20:30:18.000Z
2021-08-02T09:06:37.000Z
rice-middleware/impl/src/main/java/org/kuali/rice/kew/actionrequest/KimPrincipalRecipient.java
colostate-is/kualico-rice
d6707143751d4ec9617be8f9708466863aa5b4ef
[ "ECL-2.0" ]
69
2015-07-22T00:51:58.000Z
2021-02-05T22:13:19.000Z
rice-middleware/impl/src/main/java/org/kuali/rice/kew/actionrequest/KimPrincipalRecipient.java
ua-eas/rice
0082ff427b20fb49925a98aa4c7b9a6269150931
[ "ECL-2.0" ]
13
2017-05-30T20:18:00.000Z
2022-01-15T03:27:06.000Z
28.924528
111
0.764514
995,115
/** * Copyright 2005-2019 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * 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.kuali.rice.kew.actionrequest; import org.kuali.rice.kim.api.identity.principal.PrincipalContract; /** * Represents an ActionRequest recipient who is a KimGroup * * @author Kuali Rice Team (kenaa@example.com) * */ public class KimPrincipalRecipient implements Recipient { private static final long serialVersionUID = 1L; private PrincipalContract principal; public KimPrincipalRecipient(String principalId) { this(ActionRequestFactory.getIdentityService().getPrincipal(principalId)); } public KimPrincipalRecipient(PrincipalContract principal) { if (principal == null) { throw new IllegalArgumentException("Attempted to create a KimPrincipalRecipient with a null KimPrincipal!"); } this.principal = principal; } public PrincipalContract getPrincipal() { return this.principal; } public String getPrincipalId() { return getPrincipal().getPrincipalId(); } }
922f7056de5329c6688a90875a13a8615f11767c
382
java
Java
addressbook-web-test/src/test/java/ru/stqa/pft/addressbook/tests/EditDeleteTest.java
pakhomovi/java_test
05526c9f883295e297aacd38177b99f6befbb3dc
[ "Apache-2.0" ]
null
null
null
addressbook-web-test/src/test/java/ru/stqa/pft/addressbook/tests/EditDeleteTest.java
pakhomovi/java_test
05526c9f883295e297aacd38177b99f6befbb3dc
[ "Apache-2.0" ]
null
null
null
addressbook-web-test/src/test/java/ru/stqa/pft/addressbook/tests/EditDeleteTest.java
pakhomovi/java_test
05526c9f883295e297aacd38177b99f6befbb3dc
[ "Apache-2.0" ]
null
null
null
21.222222
46
0.712042
995,116
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.Test; /** * Created by igor on 17.02.2017. */ public class EditDeleteTest extends TestBase { @Test public void testEditDelete() { app.getEditHelper().reternHome(); app.getEditHelper().selectEdit(); app.getEditHelper().deleteSelectEdit(); app.getEditHelper().conformEditDeletion(); } }
922f707720c51e559d1b06dd62138a980612a91b
1,501
java
Java
ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/model/PromoteUDBInstanceToHAParam.java
liuchangfitcloud/ucloud-sdk-java
ca370c2141527f713feb0c1548d8cc42a8687c2a
[ "Apache-2.0" ]
null
null
null
ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/model/PromoteUDBInstanceToHAParam.java
liuchangfitcloud/ucloud-sdk-java
ca370c2141527f713feb0c1548d8cc42a8687c2a
[ "Apache-2.0" ]
null
null
null
ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/model/PromoteUDBInstanceToHAParam.java
liuchangfitcloud/ucloud-sdk-java
ca370c2141527f713feb0c1548d8cc42a8687c2a
[ "Apache-2.0" ]
null
null
null
22.402985
100
0.611592
995,117
package cn.ucloud.udb.model; import cn.ucloud.common.annotation.UcloudParam; import cn.ucloud.common.pojo.BaseRequestParam; import javax.validation.constraints.NotEmpty; /** * @Description : 普通db升级为高可用 参数类 * 普通db升级为高可用(只针对mysql5.5及以上版本) * @Author : codezhang * @Date : 2019-03-04 18:49 **/ public class PromoteUDBInstanceToHAParam extends BaseRequestParam { /** * 目标库所在地域。 参见 [地域和可用区列表](../summary/regionlist.html) */ @NotEmpty(message = "region can not be empty") @UcloudParam("Region") private String region; /** * 可用区。参见 [可用区列表](../summary/regionlist.html) */ @UcloudParam("Zone") private String zone; /** * DB实例ID */ @NotEmpty(message = "dbId can not be empty") @UcloudParam("DBId") private String dbId; public PromoteUDBInstanceToHAParam(@NotEmpty(message = "region can not be empty") String region, @NotEmpty(message = "dbId can not be empty") String dbId) { super("PromoteUDBInstanceToHA"); this.region = region; this.dbId = dbId; } public String getZone() { return zone; } public void setZone(String zone) { this.zone = zone; } public String getRegion() { return region; } public void setRegion(String region) { this.region = region; } public String getDbId() { return dbId; } public void setDbId(String dbId) { this.dbId = dbId; } }
922f70a2f6041edb6abe85c72776ea5f3b8ef311
4,804
java
Java
src/test/java/com/carmatech/cassandra/ShardingFrequencyTest.java
marccarre/cassandra-utils
0df72db167a9475f67e7c10ac31c968085a487d2
[ "Apache-2.0" ]
null
null
null
src/test/java/com/carmatech/cassandra/ShardingFrequencyTest.java
marccarre/cassandra-utils
0df72db167a9475f67e7c10ac31c968085a487d2
[ "Apache-2.0" ]
null
null
null
src/test/java/com/carmatech/cassandra/ShardingFrequencyTest.java
marccarre/cassandra-utils
0df72db167a9475f67e7c10ac31c968085a487d2
[ "Apache-2.0" ]
2
2017-03-14T03:34:15.000Z
2021-01-11T02:34:48.000Z
49.525773
148
0.740008
995,118
/******************************************************************************* * Copyright 2013 Marc CARRE * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. ******************************************************************************/ package com.carmatech.cassandra; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.not; import static org.hamcrest.Matchers.nullValue; import java.util.Arrays; import java.util.LinkedHashSet; import java.util.Set; import java.util.concurrent.TimeUnit; import org.junit.Test; /** * Formula: shardSizeInSeconds / updateFrequency * avgDataSizeInBytes == rowSizeInBytes <br /> * For example: <br /> * -1) Daily — 86400 / (1 / 10) * 200 = 172800000 (172.8 MB) --> probably too large to be efficient and safe in Cassandra. <br /> * -2) Hourly — 3600 / (1 / 10) * 200 = 7200000 (7.2 MB) --> ideal size. */ public class ShardingFrequencyTest { @Test public void calculateShardingFrequencyFromQueryVolumeDetailsAndSpecifiedRowMaxSize() { long averageSizeInBytes = 200L; long writesPerTimeUnit = 10L; TimeUnit timeUnit = TimeUnit.SECONDS; long rowMaxSizeInBytes = 180000000L; // 180 MB ShardingFrequency frequency = ShardingFrequency.calculateFrequency(averageSizeInBytes, writesPerTimeUnit, timeUnit, rowMaxSizeInBytes); assertThat(frequency, is(ShardingFrequency.DAILY)); } @Test public void calculateShardingFrequencyFromQueryVolumeDetailsInSecondsAndDefaultSize() { long averageSizeInBytes = 200L; long writesPerTimeUnit = 10L; TimeUnit timeUnit = TimeUnit.SECONDS; ShardingFrequency frequency = ShardingFrequency.calculateFrequency(averageSizeInBytes, writesPerTimeUnit, timeUnit); assertThat(frequency, is(ShardingFrequency.HOURLY)); } @Test public void calculateShardingFrequencyFromQueryVolumeDetailsInMinutesAndDefaultSize() { long averageSizeInBytes = 80L; long writesPerTimeUnit = 6L; // 1 write every 10 seconds TimeUnit timeUnit = TimeUnit.MINUTES; ShardingFrequency frequency = ShardingFrequency.calculateFrequency(averageSizeInBytes, writesPerTimeUnit, timeUnit); assertThat(frequency, is(ShardingFrequency.WEEKLY)); } @Test public void calculateBucketShouldTruncateSpecifiedTimestampAccordingToSpecifiedFrequency() { long now = 1370456684678L; // Wed Jun 5 19:24:44 BST 2013 assertThat(ShardingFrequency.calculateBucket(now, ShardingFrequency.SECONDLY), is(1370456684000L)); // Wed Jun 5 19:24:44 BST 2013 assertThat(ShardingFrequency.calculateBucket(now, ShardingFrequency.MINUTELY), is(1370456640000L)); // Wed Jun 5 19:24:00 BST 2013 assertThat(ShardingFrequency.calculateBucket(now, ShardingFrequency.HOURLY), is(1370455200000L)); // Wed Jun 5 19:00:00 BST 2013 assertThat(ShardingFrequency.calculateBucket(now, ShardingFrequency.DAILY), is(1370386800000L)); // Wed Jun 5 00:00:00 BST 2013 assertThat(ShardingFrequency.calculateBucket(now, ShardingFrequency.WEEKLY), is(1370214000000L)); // Mon Jun 3 00:00:00 BST 2013 assertThat(ShardingFrequency.calculateBucket(now, ShardingFrequency.MONTHLY), is(1370041200000L)); // Sat Jun 1 00:00:00 BST 2013 } @Test public void getBucketsShouldGenerateAllBucketsBetweenFromAndToIncluded() { long from = 1370456684678L; // Wed Jun 5 19:24:44 BST 2013 long to = 1370543084000L; // Thu Jun 6 19:24:44 BST 2013 Set<Long> buckets = ShardingFrequency.getBuckets(from, to, ShardingFrequency.HOURLY); assertThat(buckets, is(not(nullValue()))); assertThat(buckets.size(), is(25)); // Every hour, from "Wed Jun 5 10:00:00 BST 2013" to "Thu Jun 6 10:00:00 BST 2013" included: Set<Long> expectedSet = new LinkedHashSet<Long>(Arrays.asList(1370455200000L, 1370458800000L, 1370462400000L, 1370466000000L, 1370469600000L, 1370473200000L, 1370476800000L, 1370480400000L, 1370484000000L, 1370487600000L, 1370491200000L, 1370494800000L, 1370498400000L, 1370502000000L, 1370505600000L, 1370509200000L, 1370512800000L, 1370516400000L, 1370520000000L, 1370523600000L, 1370527200000L, 1370530800000L, 1370534400000L, 1370538000000L, 1370541600000L)); assertThat(buckets, equalTo(expectedSet)); } }
922f70c4c44ad1aed80da52142ddcd8c3db1782c
7,765
java
Java
common/src/main/java/com/anatawa12/asar4j/AsarEntry.java
anatawa12/asar4j
14507625b681e20972a8d49650b5be7734e6bb07
[ "MIT" ]
null
null
null
common/src/main/java/com/anatawa12/asar4j/AsarEntry.java
anatawa12/asar4j
14507625b681e20972a8d49650b5be7734e6bb07
[ "MIT" ]
null
null
null
common/src/main/java/com/anatawa12/asar4j/AsarEntry.java
anatawa12/asar4j
14507625b681e20972a8d49650b5be7734e6bb07
[ "MIT" ]
null
null
null
30.332031
97
0.558532
995,119
package com.anatawa12.asar4j; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; /** * <h3>The normalized name</h3> * <p> * this library uses normalized name for identify each entries. * A normalized name can't ends with '/', can't have '\' (back slash), * must starts with '/', and each component can't be '.' or '..'. * </p> */ public class AsarEntry implements Cloneable { private final String name; private boolean executable; private int size = -1; long offset = -1; Object owner; /** * new a file entry. * * @param name the full name of new entry. */ public AsarEntry(String name) { this.name = checkName(normalizeName(name)); } public AsarEntry(AsarEntry entry) { this.name = entry.name; this.executable = entry.executable; this.size = entry.size; this.offset = entry.offset; this.owner = null; } /** * check is the name normalized. * normalized name must be matched with this regexp: {@code (/[^\\/]+)*} * * @param name the name may not normalized. * @return true if the name is normalized. false if not. */ // package-private for testing static boolean isNormalized(String name) { if (name.length() == 0) return true; if (name.charAt(0) != '/') return false; // 0: normal // 1: single . after slash // 2: double . after slash // 3: after slash int stat = 3; for (int i = 1; i < name.length(); i++) { switch (name.charAt(i)) { case '\\': return false; case '/': if (stat != 0) return false; stat = 3; break; case '.': if (stat == 3) stat = 1; else if (stat == 1) stat = 2; else stat = 0; break; default: stat = 0; break; } } return stat == 0; } static List<String> components(String name) { List<String> result = new ArrayList<>(); int lastSlash = -1; int i = 0; for (; i < name.length(); i++) { if ("\\/".indexOf(name.charAt(i)) != -1) { if (i != lastSlash + 1) result.add(name.substring(lastSlash + 1, i)); lastSlash = i; } } if (i != lastSlash + 1) result.add(name.substring(lastSlash + 1, i)); return result; } /** * Normalizes the name. this method * <ul> * <li>replaces '\' to '.'</li> * <li>replaces multiple '/' to single '/'</li> * <li>removes suffix '/'</li> * <li>adds prefix '/' (for non-root path)</li> * <li>throws exception if '.' or '..' is existing as a directory/file name.</li> * </ul> * * @param name the name of entry to be normalized. * @return the normalized from of {@code name} * @throws IllegalArgumentException if the name can't be normalized */ public static String normalizeName(String name) { if (isNormalized(name)) return name; List<String> parts = components(name); if (parts.isEmpty()) return ""; StringBuilder result = new StringBuilder(); Iterator<String> iterator = parts.iterator(); do { String component = iterator.next(); if (".".equals(component) || "..".equals(component)) throw new IllegalArgumentException("path have . or .."); result.append('/'); result.append(component); } while (iterator.hasNext()); return result.toString(); } private static String checkName(String normalized) { if (normalized.contains("/./") || normalized.endsWith("/.") || normalized.contains("/../") || normalized.endsWith("/..")) throw new IllegalArgumentException("'.' or '..' cannot be a part of path component"); return normalized; } /** * Returns the full name of this entry. * * @return the full name of this entry */ public final String getName() { return name; } /** * Returns the basename of this entry. * * @return the basename of this entry. * @throws IllegalStateException if this entry is root directory entry. */ public final String getBasename() { if (name.isEmpty()) throw new IllegalStateException("root directory entry doesn't have basename"); return name.substring(name.lastIndexOf('/') + 1); } /** * type of this entry. * * @return type of this entry. */ public AsarEntryType getType() { return AsarEntryType.FILE; } /** * sets size of this file in unsigned 32-bit integer. * this will be ignored for LINKs and DIRECTORYs. * * @return size of this file or -1 if not specified. */ public final int getSize() { return size; } /** * sets size of this file in unsigned 32-bit integer. * this will be ignored for LINKs and DIRECTORYs. * * @param size size of this file or -1 for reset. */ public final void setSize(int size) { if (size != -1 && size < 0) throw new IllegalArgumentException("negative size"); if (owner != null) throw new IllegalStateException("immutable entry"); this.size = size; } /** * is this file executable. * * @return is this file executable * @throws IllegalStateException if this is not a FILE */ public boolean isExecutable() { return executable; } /** * sets is this file executable. * * @param executable is this file executable * @throws IllegalStateException if this is not a FILE */ public void setExecutable(boolean executable) { if (owner != null) throw new IllegalStateException("immutable entry"); this.executable = executable; } // type specific // LINK /** * @return relative path to link target. * @throws IllegalStateException if this is not a LINK */ public String getLinkTarget() throws IllegalStateException { throw new IllegalStateException("this is not LINK, is " + getType()); } //DIRECTORY /** * @return all entries in this directory * @throws IllegalStateException if this is not a LINK */ public Collection<AsarEntry> getChildren() throws IllegalStateException { throw new IllegalStateException("this is not DIRECTORY, is " + getType()); } /** * gets child entry with basename. * * @param name the name of entry. * @return the child entry or null if not found. * @throws IllegalStateException if this is not a DIRECTORY. */ public AsarEntry getChild(String name) throws IllegalStateException { throw new IllegalStateException("this is not DIRECTORY, is " + getType()); } /** * clones this instance. you may need to override this. * * @return cloned instance of this. the type of this and returned value must be same. */ @SuppressWarnings("CloneDoesntDeclareCloneNotSupportedException") @Override protected AsarEntry clone() { try { AsarEntry entry = (AsarEntry) super.clone(); entry.owner = null; return entry; } catch (CloneNotSupportedException | ClassCastException e) { throw new AssertionError(e); } } }
922f70c5824d239d63d2af6d1a4cf7685e19b42b
2,302
java
Java
inject/src/main/java/io/micronaut/context/AbstractConstructorInjectionPoint.java
luolong/micronaut-core
ca3bfa89c7319987ac5982d7788105e881eaf521
[ "Apache-2.0" ]
5,607
2018-05-23T10:39:16.000Z
2022-03-31T04:40:39.000Z
inject/src/main/java/io/micronaut/context/AbstractConstructorInjectionPoint.java
luolong/micronaut-core
ca3bfa89c7319987ac5982d7788105e881eaf521
[ "Apache-2.0" ]
4,570
2018-05-23T10:32:30.000Z
2022-03-31T15:37:42.000Z
inject/src/main/java/io/micronaut/context/AbstractConstructorInjectionPoint.java
ashishkujoy/micronaut-core
ca3bfa89c7319987ac5982d7788105e881eaf521
[ "Apache-2.0" ]
1,083
2018-05-23T13:09:44.000Z
2022-03-31T20:42:27.000Z
35.96875
160
0.727628
995,120
/* * Copyright 2017-2021 original authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://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 io.micronaut.context; import io.micronaut.core.annotation.NonNull; import io.micronaut.core.annotation.UsedByGeneratedCode; import io.micronaut.core.beans.AbstractBeanConstructor; import io.micronaut.inject.BeanDefinition; import io.micronaut.inject.ConstructorInjectionPoint; import io.micronaut.inject.annotation.AnnotationMetadataHierarchy; import java.util.Objects; /** * Abstract constructor implementation for bean definitions to implement to create constructors at build time. * @param <T> The bean type * @author graemerocher * @since 3.0.0 */ @UsedByGeneratedCode public abstract class AbstractConstructorInjectionPoint<T> extends AbstractBeanConstructor<T> implements ConstructorInjectionPoint<T>, EnvironmentConfigurable { private final BeanDefinition<T> beanDefinition; /** * Default constructor. * * @param beanDefinition The bean type */ protected AbstractConstructorInjectionPoint(BeanDefinition<T> beanDefinition) { super( Objects.requireNonNull(beanDefinition, "Bean definition cannot be null").getBeanType(), new AnnotationMetadataHierarchy( beanDefinition.getAnnotationMetadata(), beanDefinition.getConstructor().getAnnotationMetadata()), beanDefinition.getConstructor().getArguments() ); this.beanDefinition = Objects.requireNonNull(beanDefinition, "Bean definition is required"); } @Override @NonNull public final BeanDefinition<T> getDeclaringBean() { return beanDefinition; } @Override public final boolean requiresReflection() { return false; } }
922f70dc18d346d3454bbf1f86ffd3b42949710f
4,086
java
Java
androidutil/src/main/java/com/siberiadante/androidutil/view/decoration/LinearItemDecoration.java
SiberiaDante/SDAndroidLib
48e22245d53684723248ee3b1f179019c54e9357
[ "Apache-2.0" ]
160
2017-12-15T02:46:24.000Z
2022-02-17T09:25:25.000Z
androidutil/src/main/java/com/siberiadante/androidutil/view/decoration/LinearItemDecoration.java
SiberiaDante/SDAndroidLib
48e22245d53684723248ee3b1f179019c54e9357
[ "Apache-2.0" ]
1
2020-10-01T07:01:34.000Z
2020-10-01T07:01:34.000Z
androidutil/src/main/java/com/siberiadante/androidutil/view/decoration/LinearItemDecoration.java
SiberiaDante/SDAndroidLib
48e22245d53684723248ee3b1f179019c54e9357
[ "Apache-2.0" ]
52
2018-01-05T02:47:18.000Z
2021-10-17T13:42:30.000Z
31.674419
104
0.608908
995,121
package com.siberiadante.androidutil.view.decoration; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.support.annotation.ColorInt; import android.support.annotation.ColorRes; import android.support.v4.content.ContextCompat; import android.support.v7.widget.RecyclerView; import android.view.View; /** * Created by hxm on 2018/10/8 * 描述: */ public class LinearItemDecoration extends RecyclerView.ItemDecoration { private Paint paint; private Builder builder; public LinearItemDecoration(Context context) { builder = new Builder(context); init(); } private LinearItemDecoration(Builder builder) { this.builder = builder; init(); } private void init() { paint = new Paint(); paint.setColor(builder.color); paint.setStyle(Paint.Style.FILL); paint.setAntiAlias(true); } @Override public void onDraw(Canvas c, RecyclerView parent, RecyclerView.State state) { super.onDraw(c, parent, state); int childCount = parent.getChildCount(); int itemCount = parent.getAdapter().getItemCount(); for (int i = 0; i < childCount; i++) { View childView = parent.getChildAt(i); int itemPosition = parent.getChildAdapterPosition(childView); if (itemPosition == 0 && !builder.drawHeader) continue; if (itemPosition == itemCount - 1) continue; if (itemPosition == itemCount - 2 && !builder.drawFooter) continue; int left = childView.getLeft() + builder.marginLeft - parent.getPaddingLeft(); int top = childView.getBottom(); int right = childView.getRight() - builder.marginRight + parent.getPaddingRight(); int bottom = top + builder.dividerHeight; c.drawRect(left, top, right, bottom, paint); } } @Override public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) { super.getItemOffsets(outRect, view, parent, state); int position = parent.getChildAdapterPosition(view); int childCount = parent.getAdapter().getItemCount(); if ((position == 0 && !builder.drawHeader) || (position == childCount - 1) || ((position == childCount - 2) && !builder.drawFooter)) { return; } int bottom = builder.dividerHeight; outRect.set(0, 0, 0, bottom); } public static class Builder { //第一项顶部不画线,最后一项底部不划线 private boolean drawHeader = true;//第一项底部是否画线,默认画 private boolean drawFooter = true;//最后一项顶部是否画线,默认画 private int marginLeft = 0; private int marginRight = 0; private int dividerHeight = 2;//横线分割线宽度,默认1px private int color = Color.parseColor("#000000");//Color private Context c; public Builder(Context context) { this.c = context; } public Builder drawHeader(boolean b) { this.drawHeader = b; return this; } public Builder drawFooter(boolean b) { this.drawFooter = b; return this; } public Builder marginLeft(int left) { this.marginLeft = left; return this; } public Builder marginRight(int right) { this.marginRight = right; return this; } public Builder dividerHeight(int dividerHeight) { this.dividerHeight = dividerHeight; return this; } public Builder colorInt(@ColorInt int color) { this.color = color; return this; } public Builder colorRes(@ColorRes int color) { this.color = ContextCompat.getColor(c, color); return this; } public LinearItemDecoration build() { return new LinearItemDecoration(this); } } }
922f70e176a051d2d396ca7fc74e61dcde12937a
2,050
java
Java
src/main/java/com/grott/export/rest/ExcelTemplateResource.java
tobiasgrott/poi-service
1fc1b69c41ce9130f8809e2ad8ee3d8c51902062
[ "Apache-2.0" ]
null
null
null
src/main/java/com/grott/export/rest/ExcelTemplateResource.java
tobiasgrott/poi-service
1fc1b69c41ce9130f8809e2ad8ee3d8c51902062
[ "Apache-2.0" ]
3
2019-04-25T22:50:59.000Z
2019-04-27T13:50:40.000Z
src/main/java/com/grott/export/rest/ExcelTemplateResource.java
tobiasgrott/poi-service
1fc1b69c41ce9130f8809e2ad8ee3d8c51902062
[ "Apache-2.0" ]
null
null
null
31.538462
67
0.693659
995,122
package com.grott.export.rest; import java.io.File; import java.util.ArrayList; import java.util.Collection; import com.grott.export.rest.dto.DtoAvailableTemplates; import com.grott.export.rest.dto.DtoFillTemplate; import com.grott.export.service.ExcelTemplateBuilder; import jakarta.annotation.Resource; import jakarta.enterprise.context.RequestScoped; import jakarta.ws.rs.BadRequestException; import jakarta.ws.rs.Consumes; import jakarta.ws.rs.GET; import jakarta.ws.rs.POST; import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; @RequestScoped @Path("excel/templates") public class ExcelTemplateResource { @Resource(lookup = "POI_SERVICE") private String templatePath; private Collection<String> getTemplates() { File folder = new File(templatePath); File[] listOfFiles = folder.listFiles(); Collection<String> retval = new ArrayList<>(); for (File file : listOfFiles) { if (file.getName().endsWith(".xlsx")) { retval.add(file.getName()); } } return retval; } @GET @Produces(MediaType.APPLICATION_JSON) public Response getAvailableTemplates() { DtoAvailableTemplates retval = new DtoAvailableTemplates(); retval.setPath(templatePath); retval.setTemplates(getTemplates()); return Response.ok(retval).build(); } @POST @Produces(MediaType.APPLICATION_OCTET_STREAM) @Consumes(MediaType.APPLICATION_JSON) public Response fillTemplate(DtoFillTemplate input) { Collection<String> availableTemplates = getTemplates(); if (!availableTemplates.contains(input.getTemplate())) { throw new BadRequestException("Template not existing"); } ExcelTemplateBuilder builder = new ExcelTemplateBuilder( // templatePath + "/" + input.getTemplate(), input.getSheets()); return Response.ok(builder.createReport()).build(); } }
922f721fc399428d38ebc662d593d977c212d6d6
726
java
Java
src/main/java/com/example/repositories/EmployeeMongoRepository.java
bdhakad/React-Springboot-MongodB
230d7d3c97fffb9e23482fb8efbfae1daa650ce8
[ "Apache-2.0" ]
null
null
null
src/main/java/com/example/repositories/EmployeeMongoRepository.java
bdhakad/React-Springboot-MongodB
230d7d3c97fffb9e23482fb8efbfae1daa650ce8
[ "Apache-2.0" ]
null
null
null
src/main/java/com/example/repositories/EmployeeMongoRepository.java
bdhakad/React-Springboot-MongodB
230d7d3c97fffb9e23482fb8efbfae1daa650ce8
[ "Apache-2.0" ]
null
null
null
23.419355
84
0.758953
995,123
package com.example.repositories; import org.springframework.data.mongodb.repository.MongoRepository; import java.util.List; import java.util.Optional; import com.example.models.Employee; public interface EmployeeMongoRepository extends MongoRepository<Employee, String> { List<Employee> findAll(); boolean existsById(String id); Optional<Employee> findById(String id); List<Employee> findByFirstName(String firstName); List<Employee> findByLastName(String lastName); List<Employee> findByDescription(String description); Employee save(Employee employee); Employee insert(Employee employee); void delete(Employee employee); Optional<Employee> findById(Long id); }
922f7290f7358b9ce50cc024bd76ef7730857572
1,684
java
Java
core/src/main/java/com/huawei/openstack4j/model/map/reduce/DataSourceCredentials.java
wuchen-huawei/huaweicloud-sdk-java
1e4b76c737d23c5d5df59405015ea136651b6fc1
[ "Apache-2.0" ]
46
2018-09-30T08:55:22.000Z
2021-11-07T20:02:57.000Z
core/src/main/java/com/huawei/openstack4j/model/map/reduce/DataSourceCredentials.java
wuchen-huawei/huaweicloud-sdk-java
1e4b76c737d23c5d5df59405015ea136651b6fc1
[ "Apache-2.0" ]
18
2019-04-11T02:37:30.000Z
2021-04-30T09:03:38.000Z
core/src/main/java/com/huawei/openstack4j/model/map/reduce/DataSourceCredentials.java
wuchen-huawei/huaweicloud-sdk-java
1e4b76c737d23c5d5df59405015ea136651b6fc1
[ "Apache-2.0" ]
42
2019-01-22T07:54:00.000Z
2021-12-13T01:14:14.000Z
43.641026
85
0.43067
995,124
/******************************************************************************* * Copyright 2016 ContainX and OpenStack4j * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. *******************************************************************************/ package com.huawei.openstack4j.model.map.reduce; import com.huawei.openstack4j.model.ModelEntity; /** * Credentials for Data Source * * @author anpch@example.com * @author kenaa@example.com */ public interface DataSourceCredentials extends ModelEntity { /** * @return the username */ String getUser(); /** * @return the password */ String getPassword(); }
922f736b0c1d7472ceb1dc9682db54a6cb19f848
117
java
Java
plugn1/src/main/java/com/plugin/test/pp/test.java
bjxcfloat/XcPlugin
c8c9c936a4f2a770f339e0cbc1898c2daa70f481
[ "Apache-2.0" ]
null
null
null
plugn1/src/main/java/com/plugin/test/pp/test.java
bjxcfloat/XcPlugin
c8c9c936a4f2a770f339e0cbc1898c2daa70f481
[ "Apache-2.0" ]
null
null
null
plugn1/src/main/java/com/plugin/test/pp/test.java
bjxcfloat/XcPlugin
c8c9c936a4f2a770f339e0cbc1898c2daa70f481
[ "Apache-2.0" ]
null
null
null
11.7
32
0.57265
995,125
package com.plugin.test.pp; public class test { public static int get(int i) { return i+9; } }
922f7490bc52e5e6bebbebfb208ed56c1acde928
3,468
java
Java
Android/AndroidStudio/EnjoyLearning/mlearning/src/main/java/com/zhijin/mlearning/support/sqlite/DbHelper.java
huhongjun/mlearning
8b513c4df8573eb080555cdf5a1f000037570c41
[ "MIT" ]
null
null
null
Android/AndroidStudio/EnjoyLearning/mlearning/src/main/java/com/zhijin/mlearning/support/sqlite/DbHelper.java
huhongjun/mlearning
8b513c4df8573eb080555cdf5a1f000037570c41
[ "MIT" ]
null
null
null
Android/AndroidStudio/EnjoyLearning/mlearning/src/main/java/com/zhijin/mlearning/support/sqlite/DbHelper.java
huhongjun/mlearning
8b513c4df8573eb080555cdf5a1f000037570c41
[ "MIT" ]
null
null
null
26.075188
117
0.655421
995,126
package com.zhijin.mlearning.support.sqlite; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.util.List; import java.util.Properties; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatabase.CursorFactory; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; import com.zhijin.mlearning.app.CoreApp; public class DbHelper extends SQLiteOpenHelper { private static Context mContext = CoreApp.getApp().getApplicationContext(); private final static String sql = "schema.sql"; private static DbHelper mInstance; private static String name; static int version = 1; private DbHelper(String name, CursorFactory factory, int version) { super(mContext, name, factory, version); } public synchronized static DbHelper getInstance() { if (mInstance == null) { name = mContext.getPackageName() + ".db"; mInstance = new DbHelper(name, null, version); } return mInstance; } @Override public void onCreate(SQLiteDatabase db) { executeSchema(db, sql); } @Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { if (newVersion <= oldVersion) { return; } int changeCnt = newVersion - oldVersion; for (int i = 0; i < changeCnt; i++) { String schemaName = "update" + (oldVersion + i + 1) + "_" + 0 + ".sql"; executeSchema(db, schemaName); } } // 执行创建 private void executeSchema(SQLiteDatabase db, String schemaName) { if (schemaName.equals(sql)) { Properties props = new Properties(); try { props.load(mContext.getAssets().open("classes.properties")); String strValue = props.getProperty("className"); if (!strValue.equals("")) { String[] classNames = strValue.split(","); List<String> list = EntityInflect.entityToString(classNames); if (list != null && !list.toString().equals("[]")) { for (int i = 0; i < list.size(); i++) { db.execSQL(list.get(i)); } } } } catch (FileNotFoundException e) { Log.e("info", "config.properties Not Found Exception", e); } catch (IOException e) { Log.e("info", "config.properties IO Exception", e); } } else { BufferedReader in = null; try { in = new BufferedReader(new InputStreamReader(mContext.getAssets().open("schema" + "/" + schemaName))); String line; String buffer = ""; while ((line = in.readLine()) != null) { buffer += line; if (line.trim().endsWith(";")) { db.execSQL(buffer); buffer = ""; } } in.close(); } catch (IOException e) { System.out.println("error====" + e.toString()); } finally { try { if (in != null) in.close(); } catch (IOException e) { System.out.println("error===" + e.toString()); } } } } public boolean tabbleIsExist(String tableName) { boolean result = false; if (tableName == null) { return false; } SQLiteDatabase db = null; Cursor cursor = null; try { db = this.getReadableDatabase(); String sql = "select count(*) as c from Sqlite_master where type ='table' and name ='" + tableName.trim() + "' "; cursor = db.rawQuery(sql, null); if (cursor.moveToNext()) { int count = cursor.getInt(0); if (count > 0) { result = true; } } } catch (Exception e) { } return result; } }
922f74b907bc347f11d400b3bac9495aa0ea2731
4,361
java
Java
src/com/android/settings/gestures/DoubleTwistPreferenceController.java
Katsuna/public_packages_apps_Settings
fdd8193a865c73a18c05530b7017513e50ac5b61
[ "Apache-2.0" ]
null
null
null
src/com/android/settings/gestures/DoubleTwistPreferenceController.java
Katsuna/public_packages_apps_Settings
fdd8193a865c73a18c05530b7017513e50ac5b61
[ "Apache-2.0" ]
null
null
null
src/com/android/settings/gestures/DoubleTwistPreferenceController.java
Katsuna/public_packages_apps_Settings
fdd8193a865c73a18c05530b7017513e50ac5b61
[ "Apache-2.0" ]
null
null
null
37.594828
100
0.718872
995,127
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.settings.gestures; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Resources; import android.hardware.Sensor; import android.hardware.SensorManager; import android.os.UserHandle; import android.os.UserManager; import android.provider.Settings; import android.support.annotation.VisibleForTesting; import android.support.v7.preference.Preference; import android.text.TextUtils; import com.android.settings.R; import com.android.settings.Utils; import com.android.settingslib.core.lifecycle.Lifecycle; public class DoubleTwistPreferenceController extends GesturePreferenceController { private final int ON = 1; private final int OFF = 0; private static final String PREF_KEY_VIDEO = "gesture_double_twist_video"; private final String mDoubleTwistPrefKey; private final UserManager mUserManager; public DoubleTwistPreferenceController(Context context, Lifecycle lifecycle, String key) { super(context, lifecycle); mDoubleTwistPrefKey = key; mUserManager = (UserManager) context.getSystemService(Context.USER_SERVICE); } public static boolean isSuggestionComplete(Context context, SharedPreferences prefs) { return !isGestureAvailable(context) || prefs.getBoolean(DoubleTwistGestureSettings.PREF_KEY_SUGGESTION_COMPLETE, false); } public static boolean isGestureAvailable(Context context) { final Resources resources = context.getResources(); final String name = resources.getString(R.string.gesture_double_twist_sensor_name); final String vendor = resources.getString(R.string.gesture_double_twist_sensor_vendor); if (!TextUtils.isEmpty(name) && !TextUtils.isEmpty(vendor)) { final SensorManager sensorManager = (SensorManager) context.getSystemService(Context.SENSOR_SERVICE); for (Sensor s : sensorManager.getSensorList(Sensor.TYPE_ALL)) { if (name.equals(s.getName()) && vendor.equals(s.getVendor())) { return true; } } } return false; } @Override public boolean isAvailable() { return isGestureAvailable(mContext); } @Override protected String getVideoPrefKey() { return PREF_KEY_VIDEO; } @Override public String getPreferenceKey() { return mDoubleTwistPrefKey; } @Override public boolean onPreferenceChange(Preference preference, Object newValue) { final int enabled = (boolean) newValue ? ON : OFF; setDoubleTwistPreference(mContext, mUserManager, enabled); return true; } public static void setDoubleTwistPreference(Context context, UserManager userManager, int enabled) { Settings.Secure.putInt(context.getContentResolver(), Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, enabled); final int managedProfileUserId = getManagedProfileId(userManager); if (managedProfileUserId != UserHandle.USER_NULL) { Settings.Secure.putIntForUser(context.getContentResolver(), Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, enabled, managedProfileUserId); } } @Override protected boolean isSwitchPrefEnabled() { final int doubleTwistEnabled = Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.CAMERA_DOUBLE_TWIST_TO_FLIP_ENABLED, ON); return doubleTwistEnabled != 0; } @VisibleForTesting public static int getManagedProfileId(UserManager userManager) { return Utils.getManagedProfileId(userManager, UserHandle.myUserId()); } }
922f75230a9160ef8e86817847198eaf287db71f
788
java
Java
src/main/java/me/paulf/wings/client/flight/state/StateIdle.java
albertosaurio65/Wings
f4e2cb385ada7f54d53ea3097900b13593417cc9
[ "MIT" ]
20
2018-09-14T00:09:58.000Z
2021-12-17T04:36:45.000Z
src/main/java/me/paulf/wings/client/flight/state/StateIdle.java
albertosaurio65/Wings
f4e2cb385ada7f54d53ea3097900b13593417cc9
[ "MIT" ]
117
2018-09-08T07:35:08.000Z
2022-03-27T19:36:50.000Z
src/main/java/me/paulf/wings/client/flight/state/StateIdle.java
albertosaurio65/Wings
f4e2cb385ada7f54d53ea3097900b13593417cc9
[ "MIT" ]
25
2018-10-08T23:36:42.000Z
2022-03-27T02:45:42.000Z
29.185185
91
0.682741
995,128
package me.paulf.wings.client.flight.state; import me.paulf.wings.client.flight.Animator; import me.paulf.wings.server.flight.Flight; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.util.math.BlockPos; public final class StateIdle extends State { public StateIdle() { super(Animator::beginIdle); } @Override protected State createIdle() { return this; } @Override protected State getDescent(Flight flight, PlayerEntity player) { BlockPos below = new BlockPos(player.getX(), player.getY() - 0.25D, player.getZ()); if (player.level.isEmptyBlock(below) && player.level.isEmptyBlock(below.below())) { return super.getDescent(flight, player); } return this.createIdle(); } }
922f76e37b7fdb54a6fbaac97559ba862bd9df3d
3,187
java
Java
src/main/java/fede/workspace/dependencies/eclipse/java/fix/ImportMakerResolution.java
chomats/cadse.si-java
b262c6ecdbcafebe1daa8ccb1272de1d9ffa0a7a
[ "Apache-2.0" ]
null
null
null
src/main/java/fede/workspace/dependencies/eclipse/java/fix/ImportMakerResolution.java
chomats/cadse.si-java
b262c6ecdbcafebe1daa8ccb1272de1d9ffa0a7a
[ "Apache-2.0" ]
null
null
null
src/main/java/fede/workspace/dependencies/eclipse/java/fix/ImportMakerResolution.java
chomats/cadse.si-java
b262c6ecdbcafebe1daa8ccb1272de1d9ffa0a7a
[ "Apache-2.0" ]
null
null
null
26.558333
112
0.737998
995,129
/* * 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. * * Copyright (C) 2006-2010 Adele Team/LIG/Grenoble University, France */ package fede.workspace.dependencies.eclipse.java.fix; import org.eclipse.core.resources.IMarker; import org.eclipse.jdt.ui.text.java.IJavaCompletionProposal; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.contentassist.IContextInformation; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; import org.eclipse.ui.IMarkerResolution2; /** * The Class ImportMakerResolution. * * @deprecated * @author chomats */ public class ImportMakerResolution implements IJavaCompletionProposal { /** The qualified package. */ String qualifiedPackage; /* (non-Javadoc) * @see org.eclipse.jdt.ui.text.java.IJavaCompletionProposal#getRelevance() */ public int getRelevance() { // TODO Auto-generated method stub return 0; } /** * Apply. */ public void apply() { // TODO Auto-generated method stub } /* (non-Javadoc) * @see org.eclipse.jface.text.contentassist.ICompletionProposal#getAdditionalProposalInfo() */ public String getAdditionalProposalInfo() { // TODO Auto-generated method stub return null; } /* (non-Javadoc) * @see org.eclipse.jface.text.contentassist.ICompletionProposal#getContextInformation() */ public IContextInformation getContextInformation() { // TODO Auto-generated method stub return null; } /* (non-Javadoc) * @see org.eclipse.jface.text.contentassist.ICompletionProposal#getDisplayString() */ public String getDisplayString() { // TODO Auto-generated method stub return null; } /* (non-Javadoc) * @see org.eclipse.jface.text.contentassist.ICompletionProposal#getImage() */ public Image getImage() { // TODO Auto-generated method stub return null; } /** * Gets the selection. * * @return the selection */ public Point getSelection() { // TODO Auto-generated method stub return null; } /* (non-Javadoc) * @see org.eclipse.jface.text.contentassist.ICompletionProposal#apply(org.eclipse.jface.text.IDocument) */ public void apply(IDocument document) { // TODO Auto-generated method stub } /* (non-Javadoc) * @see org.eclipse.jface.text.contentassist.ICompletionProposal#getSelection(org.eclipse.jface.text.IDocument) */ public Point getSelection(IDocument document) { // TODO Auto-generated method stub return null; } }
922f7898ea99e22f9dca526996530bba487c243c
2,717
java
Java
gamifikation/main/java/gamifikator/client/ApplicationServlet.java
quentingigon/gamifikatorREST
beae2c0d9075e53466c6787e552cc1ba1f96b770
[ "MIT" ]
null
null
null
gamifikation/main/java/gamifikator/client/ApplicationServlet.java
quentingigon/gamifikatorREST
beae2c0d9075e53466c6787e552cc1ba1f96b770
[ "MIT" ]
null
null
null
gamifikation/main/java/gamifikator/client/ApplicationServlet.java
quentingigon/gamifikatorREST
beae2c0d9075e53466c6787e552cc1ba1f96b770
[ "MIT" ]
null
null
null
28.302083
114
0.751932
995,130
package gamifikator.client; import gamifikator.business.PasswordUtils; import gamifikator.model.Application; import gamifikator.model.User; import gamifikator.services.ApplicationDAOLocal; import javax.ejb.EJB; import javax.ejb.Stateless; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.io.IOException; import java.text.SimpleDateFormat; import java.time.LocalDateTime; import java.util.Date; import static gamifikator.business.PasswordUtils.DEFAULT_LENGTH; /** * This servlet is used to upload .war files to the server * * */ @Stateless @WebServlet(name = "ApplicationServlet", urlPatterns = "/app") public class ApplicationServlet extends GenericServlet { @EJB private ApplicationDAOLocal appDAO; @Override public void init(ServletConfig config) throws ServletException { super.init(config); } @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { resp.sendRedirect("home"); } @Override protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { HttpSession session = req.getSession(false); // get file and user info String description = req.getParameter("appDesc"); String appName = req.getParameter("appname"); User owner = (User) req.getSession().getAttribute("user"); //check if description isn't too long if(description.length() > 400){ session.setAttribute("app_error", "Application description too long!"); resp.sendRedirect("home"); return; } // check if name is already used by an app in db if (!appDAO.isValidAppName(appName)) { Date createDate = new Date(); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String currentTime = sdf.format(createDate); PasswordUtils pu = new PasswordUtils(DEFAULT_LENGTH); // generate API key String apiBase = appName + owner.getEmail() + LocalDateTime.now(); String apiKey = apiBase + pu.nextString(); String apiSecret = apiBase + pu.nextString(); // add app to database try { apiSecret = PasswordUtils.hash_SHA256(apiSecret); apiKey = PasswordUtils.hash_SHA256(apiKey); appDAO.create(new Application(appName, owner.getEmail(), currentTime, description, apiKey, apiSecret, false)); } catch (Exception e1) { e1.printStackTrace(); } session.setAttribute("app_error", ""); } else { session.setAttribute("app_error", "Application name is already used!"); } resp.sendRedirect("home"); } }
922f792954240eab1c8e5730c600746527d841a9
3,673
java
Java
src/main/java/br/com/mkacunha/modelo/Cliente.java
mkacunha/benchmark-orm-persistence
9e41afae736572e67bddf9488ddd341a50fd49da
[ "Apache-2.0" ]
null
null
null
src/main/java/br/com/mkacunha/modelo/Cliente.java
mkacunha/benchmark-orm-persistence
9e41afae736572e67bddf9488ddd341a50fd49da
[ "Apache-2.0" ]
null
null
null
src/main/java/br/com/mkacunha/modelo/Cliente.java
mkacunha/benchmark-orm-persistence
9e41afae736572e67bddf9488ddd341a50fd49da
[ "Apache-2.0" ]
null
null
null
23.246835
107
0.734277
995,131
package br.com.mkacunha.modelo; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Random; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.OneToOne; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; import br.com.mkacunha.gerador.random.GeradorNomes; @Entity @Table(name = "cliente") public class Cliente { @Id @Column(name = "id_cliente") @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @OneToOne(fetch = FetchType.EAGER) @JoinColumn(name = "id_locadora", nullable = false) private Locadora locadora; @Column(name = "ds_nome", length = 100, nullable = false) private String nome; @Column(name = "ds_email", length = 100) private String email; @OneToOne(fetch = FetchType.EAGER, cascade = CascadeType.ALL) @JoinColumn(name = "id_endereco", nullable = false) private Endereco endereco; @Temporal(TemporalType.TIMESTAMP) @Column(name = "dt_criacao", nullable = false) private Date dataCriacao; @Temporal(TemporalType.TIMESTAMP) @Column(name = "dt_ultimaalteracao") private Date dataUltimaAlteracao; @Column(name = "bo_ativo", columnDefinition = "varchar(1)", nullable = false) private Boolean ativo; public static Cliente of(Locadora locadora, String nome, String email, Endereco endereco, Boolean ativo) { Cliente cliente = new Cliente(); cliente.setLocadora(locadora); cliente.setNome(nome); cliente.setEmail(email); cliente.setEndereco(endereco); cliente.setAtivo(ativo); cliente.setDataCriacao(new Date()); return cliente; } public static List<Cliente> list(int quantidade, List<Locadora> locadoras, List<Cidade> cidades) { List<Cliente> clientes = new ArrayList<>(); List<Endereco> enderecos = Endereco.list(quantidade, cidades); List<String> nomes = new GeradorNomes().get(quantidade); Random random = new Random(); for (int i = 0; i < quantidade; i++) { Locadora locadora = locadoras.get(random.nextInt(locadoras.size())); String nome = nomes.get(i); Endereco endereco = enderecos.get(i); StringBuilder email = new StringBuilder(); String[] split = nome.split(" "); email.append(split[0]); email.append(split[split.length - 1]); email.append("@email.com"); clientes.add(Cliente.of(locadora, nome, email.toString(), endereco, true)); } return clientes; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Locadora getLocadora() { return locadora; } public void setLocadora(Locadora locadora) { this.locadora = locadora; } public String getNome() { return nome; } public void setNome(String nome) { this.nome = nome; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public Endereco getEndereco() { return endereco; } public void setEndereco(Endereco endereco) { this.endereco = endereco; } public Date getDataCriacao() { return dataCriacao; } public void setDataCriacao(Date dataCriacao) { this.dataCriacao = dataCriacao; } public Date getDataUltimaAlteracao() { return dataUltimaAlteracao; } public void setDataUltimaAlteracao(Date dataUltimaAlteracao) { this.dataUltimaAlteracao = dataUltimaAlteracao; } public Boolean getAtivo() { return ativo; } public void setAtivo(Boolean ativo) { this.ativo = ativo; } }
922f7a1ca59b9a20a04452212c9fa959d7b3f96b
437
java
Java
pau-admin/src/main/java/com/soft/ware/modular/system/service/ITbMemberService.java
guoop/springboot_pau_hzcx
07226db1317d138800cd97f5b6298db32a802b1e
[ "Apache-2.0" ]
null
null
null
pau-admin/src/main/java/com/soft/ware/modular/system/service/ITbMemberService.java
guoop/springboot_pau_hzcx
07226db1317d138800cd97f5b6298db32a802b1e
[ "Apache-2.0" ]
2
2021-04-22T16:51:32.000Z
2021-09-20T20:49:47.000Z
pau-admin/src/main/java/com/soft/ware/modular/system/service/ITbMemberService.java
guoop/springboot_pau_hzcx
07226db1317d138800cd97f5b6298db32a802b1e
[ "Apache-2.0" ]
null
null
null
19
62
0.741419
995,132
package com.soft.ware.modular.system.service; import com.soft.ware.modular.system.model.TbMember; import com.baomidou.mybatisplus.service.IService; import org.springframework.data.repository.query.Param; import java.util.List; import java.util.Map; /** * <p> * 会员表 服务类 * </p> * * @author paulo123 * @since 2019-09-02 */ public interface ITbMemberService extends IService<TbMember> { List<TbMember> memberList(Map map); }
922f7af0afa384a0814cd68f3c3de9cb81bf1e30
552
java
Java
work/decompile-b94c4521/net/minecraft/server/WorldGenDecoratorDungeonConfiguration.java
Omnipico/PicoItemLib
b1c0deee8652dbc7d2b28cbf44637c94731b7c32
[ "MIT" ]
null
null
null
work/decompile-b94c4521/net/minecraft/server/WorldGenDecoratorDungeonConfiguration.java
Omnipico/PicoItemLib
b1c0deee8652dbc7d2b28cbf44637c94731b7c32
[ "MIT" ]
null
null
null
work/decompile-b94c4521/net/minecraft/server/WorldGenDecoratorDungeonConfiguration.java
Omnipico/PicoItemLib
b1c0deee8652dbc7d2b28cbf44637c94731b7c32
[ "MIT" ]
null
null
null
34.5
194
0.782609
995,133
package net.minecraft.server; import com.mojang.serialization.Codec; public class WorldGenDecoratorDungeonConfiguration implements WorldGenFeatureDecoratorConfiguration { public static final Codec<WorldGenDecoratorDungeonConfiguration> a = Codec.INT.fieldOf("chance").xmap(WorldGenDecoratorDungeonConfiguration::new, (worldgendecoratordungeonconfiguration) -> { return worldgendecoratordungeonconfiguration.c; }).codec(); public final int c; public WorldGenDecoratorDungeonConfiguration(int i) { this.c = i; } }
922f7bafcc834ae1bd0482041386186dc5efffbf
948
java
Java
testing/easy-object-integration/src/test/java/den/vor/easy/object/integration/util/repeat/RepeatedTestDisplayNameFormatter.java
EasyObject/easy-object
a682cb997c564552fd3776e5448585de7b1b3c66
[ "MIT" ]
null
null
null
testing/easy-object-integration/src/test/java/den/vor/easy/object/integration/util/repeat/RepeatedTestDisplayNameFormatter.java
EasyObject/easy-object
a682cb997c564552fd3776e5448585de7b1b3c66
[ "MIT" ]
15
2020-10-14T05:33:29.000Z
2021-04-23T12:57:55.000Z
testing/easy-object-integration/src/test/java/den/vor/easy/object/integration/util/repeat/RepeatedTestDisplayNameFormatter.java
EasyObject/easy-object
a682cb997c564552fd3776e5448585de7b1b3c66
[ "MIT" ]
null
null
null
32.689655
91
0.737342
995,134
/* * Copyright (c) 2020-2021 Danila Varatyntsev * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with the License. * See the License for the specific language governing permissions and * limitations under the License. */ package den.vor.easy.object.integration.util.repeat; import static org.junit.jupiter.api.RepeatedTest.*; public class RepeatedTestDisplayNameFormatter { private final String displayName; public RepeatedTestDisplayNameFormatter(String displayName) { this.displayName = displayName; } String format(int currentRepetition, int totalRepetitions) { return SHORT_DISPLAY_NAME .replace(DISPLAY_NAME_PLACEHOLDER, this.displayName) .replace(CURRENT_REPETITION_PLACEHOLDER, String.valueOf(currentRepetition)) .replace(TOTAL_REPETITIONS_PLACEHOLDER, String.valueOf(totalRepetitions)); } }
922f7e5706194dcebf3917039b6a7326abd34d63
1,384
java
Java
app/src/main/java/fi/fstf/knappen/LogItem.java
fstfrf/knappen
097702c9867c5df64588b11d95ed3b46d07b3151
[ "Apache-2.0" ]
null
null
null
app/src/main/java/fi/fstf/knappen/LogItem.java
fstfrf/knappen
097702c9867c5df64588b11d95ed3b46d07b3151
[ "Apache-2.0" ]
null
null
null
app/src/main/java/fi/fstf/knappen/LogItem.java
fstfrf/knappen
097702c9867c5df64588b11d95ed3b46d07b3151
[ "Apache-2.0" ]
null
null
null
25.62963
78
0.623555
995,135
/* * Copyright 2020 Finlands svenska taltidningsförening rf. * * 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 fi.fstf.knappen; // This is a simple class for holding data for an item in the log public class LogItem { private long id; private long timestamp; private String text; public LogItem() { super(); this.id = 0; this.timestamp = 0; this.text = ""; } public long getId() {return id; } public void setId(long id) { this.id = id; } public long getTimestamp() { return timestamp; } public void setTimestamp(long timestamp) { this.timestamp = timestamp; } public String getText() { return text; } public void setText(String text) { this.text = text; } }
922f7e5a10b94668820d8dfb1919056b8cee9a96
725
java
Java
MyTravelingDiary/XingKa/library-orm/src/main/java/org/aisen/orm/extra/TableColumn.java
LegendKe/MyTravelingDiary
0bcb2a558fc5eacdae35573b43b03fbb2d46b341
[ "Apache-2.0" ]
2
2017-03-06T13:39:30.000Z
2017-11-09T12:12:16.000Z
MyTravelingDiary/XingKa/library-orm/src/main/java/org/aisen/orm/extra/TableColumn.java
LegendKe/MyTravelingDiary
0bcb2a558fc5eacdae35573b43b03fbb2d46b341
[ "Apache-2.0" ]
null
null
null
MyTravelingDiary/XingKa/library-orm/src/main/java/org/aisen/orm/extra/TableColumn.java
LegendKe/MyTravelingDiary
0bcb2a558fc5eacdae35573b43b03fbb2d46b341
[ "Apache-2.0" ]
null
null
null
15.425532
50
0.688276
995,136
package org.aisen.orm.extra; import java.lang.reflect.Field; public class TableColumn { private String dataType; private Field field; private String column; private String columnType; public String getDataType() { return dataType; } public void setDataType(String dataType) { this.dataType = dataType; } public Field getField() { return field; } public void setField(Field field) { this.field = field; } public String getColumn() { return column; } public void setColumn(String column) { this.column = column; } public String getColumnType() { return columnType; } public void setColumnType(String columnType) { this.columnType = columnType; } }
922f7f970f749a5c6a9339da1ca841ae7352eeea
1,377
java
Java
main/filesystem-invariants-tests/src/test/java/org/cryptomator/filesystem/invariants/matchers/NodeMatchers.java
slaveuser/cryptomator20170127
e1e5621f573bac7f0503197ef2a5cd63cfb79dc1
[ "MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
main/filesystem-invariants-tests/src/test/java/org/cryptomator/filesystem/invariants/matchers/NodeMatchers.java
slaveuser/cryptomator20170127
e1e5621f573bac7f0503197ef2a5cd63cfb79dc1
[ "MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
main/filesystem-invariants-tests/src/test/java/org/cryptomator/filesystem/invariants/matchers/NodeMatchers.java
slaveuser/cryptomator20170127
e1e5621f573bac7f0503197ef2a5cd63cfb79dc1
[ "MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
30.6
110
0.741467
995,137
package org.cryptomator.filesystem.invariants.matchers; import static org.hamcrest.CoreMatchers.is; import java.nio.ByteBuffer; import java.util.function.Function; import org.cryptomator.common.test.matcher.PropertyMatcher; import org.cryptomator.filesystem.File; import org.cryptomator.filesystem.Folder; import org.cryptomator.filesystem.ReadableFile; import org.hamcrest.Matcher; public class NodeMatchers { public static Matcher<Folder> folderWithName(String name) { return new PropertyMatcher<>(Folder.class, Folder::name, "name", is(name)); } public static Matcher<File> fileWithName(String name) { return new PropertyMatcher<>(File.class, File::name, "name", is(name)); } public static Matcher<File> hasContent(byte[] content) { return new PropertyMatcher<>(File.class, readFileContentWithLength(content.length), "content", is(content)); } private static Function<File, byte[]> readFileContentWithLength(int expectedLength) { return file -> { try (ReadableFile readable = file.openReadable()) { ByteBuffer buffer = ByteBuffer.allocate(expectedLength + 1); readable.read(buffer); if (buffer.remaining() == 0) { throw new IllegalStateException("File content > expectedLength of " + expectedLength); } buffer.flip(); byte[] result = new byte[buffer.limit()]; buffer.get(result); return result; } }; } }
922f803422e5ce7b130c5a274ac8a544a106ed53
6,899
java
Java
helper/src/main/java/org/example/GTFS_Xtract.java
nZeloT/motis
689949d7c6fb3bb9eb9f3783e0362ee59e5ee210
[ "MIT" ]
null
null
null
helper/src/main/java/org/example/GTFS_Xtract.java
nZeloT/motis
689949d7c6fb3bb9eb9f3783e0362ee59e5ee210
[ "MIT" ]
null
null
null
helper/src/main/java/org/example/GTFS_Xtract.java
nZeloT/motis
689949d7c6fb3bb9eb9f3783e0362ee59e5ee210
[ "MIT" ]
null
null
null
30.258772
125
0.621105
995,138
package org.example; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.*; import java.util.stream.Collectors; public class GTFS_Xtract { static class TripServices { public TripServices(String trip_id, String service_id) { this.trip_id = trip_id; this.service_id = service_id; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; TripServices that = (TripServices) o; return trip_id.equals(that.trip_id) && service_id.equals(that.service_id); } @Override public int hashCode() { return Objects.hash(trip_id, service_id); } public String trip_id; public String service_id; public int service_no; } static HashMap<String, Integer> service_map = new HashMap<>(); static Set<String> extract_trips(JSONObject response) { var trip_ids = new HashSet<String>(); var content = (JSONObject)response.get("content"); var conns = (JSONArray)content.get("connections"); for(var c : conns) { var conn = (JSONObject)c; var trips = (JSONArray) conn.get("trips"); for (var t : trips) { var trip = (JSONObject) t; var dbgString = (String) trip.get("debug"); var trip_id = dbgString.split(":")[0]; System.out.println("Found trip id: " + trip_id); trip_ids.add(trip_id); } } return trip_ids; } static String find_route_for_trip_id(List<String> tripsFileLines, String trip_id) { for(int lineIdx = 1; lineIdx < tripsFileLines.size(); lineIdx++) { var line = tripsFileLines.get(lineIdx); var lineSplit = line.split(","); var lineTripId = lineSplit[2].replace("\"", ""); if(lineTripId.equals(trip_id)){ var route_id = lineSplit[0].replace("\"", ""); System.out.println("Found route id " + route_id + " for trip id " + trip_id); return route_id; } } return ""; } static Set<TripServices> find_trips_for_route_id(List<String> tripsFileLines, String route_id) { var r = new HashSet<TripServices>(); for(int lineIdx = 1; lineIdx < tripsFileLines.size(); lineIdx++) { var line = tripsFileLines.get(lineIdx); var lineSplit = line.split(","); var lineRouteId = lineSplit[0].replace("\"", ""); if(lineRouteId.equals(route_id)) { var trip_id = lineSplit[2].replace("\"", ""); var service_id = lineSplit[1].replace("\"", ""); System.out.println("Route: " + route_id + "\tTrip Id: " + trip_id + "\tServcie Id: " + service_id); r.add(new TripServices(trip_id, service_id)); } } return r; } static int service_line_to_num(String line) { var lineSplit = line.split(","); var serviceNo = 0; for(int i = 1; i < 8; i++) { var colVal = Integer.parseInt(lineSplit[i].replace("\"", "")); serviceNo = serviceNo | (colVal << (7-i)); } System.out.println("line: " + line + "\t=> " + Integer.toBinaryString(serviceNo)); return serviceNo; } static void write_services_file(Path targetServicesFile) { var serviceLines = new ArrayList<String>(); serviceLines.add("service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date"); for(int i = 0; i < 128; i++) { StringBuilder line = new StringBuilder("TA+" + i); for (int j = 0; j < 7; j++) { var hasOne = ((i & (1 << 6-j)) >> 6-j) == 1; if(hasOne) line.append(",\"1\""); else line.append(",\"0\""); } line.append(",\"20201213\",\"20211211\""); serviceLines.add(line.toString()); } try{ Files.write(targetServicesFile, serviceLines); }catch(IOException ex) { ex.printStackTrace(); } } static void write_reduced_routes_file(Path targetRoutesFile, Path sourceRouteFile, Set<String> routeIds) { try{ var sourceRoutes = Files.readAllLines(sourceRouteFile); var targetRouteLines = new ArrayList<String>(); targetRouteLines.add(sourceRoutes.get(0)); for (int i = 1; i < sourceRoutes.size(); i++) { var sourceRouteId = sourceRoutes.get(i).split(",")[0].replace("\"", ""); for (String routeId : routeIds) { if (sourceRouteId.equals(routeId)) { targetRouteLines.add(sourceRoutes.get(i)); } } } Files.write(targetRoutesFile, targetRouteLines); }catch(IOException ex) { ex.printStackTrace(); } } static void write_necessary_trips(Path targetTripsFile, List<String> sourceTripLines, Set<String> routes) { var targetLines = new ArrayList<String>(); targetLines.add(sourceTripLines.get(0)); for(int lineIdx = 1; lineIdx < sourceTripLines.size(); lineIdx++) { var line = sourceTripLines.get(lineIdx); var lineSplit = line.split(","); var lineRoute = lineSplit[0].replace("\"", ""); for(var r_id : routes) { if(lineRoute.equals(r_id)) { var targetLine = lineSplit[0] + "," + lineSplit[1] + "," + lineSplit[2] + "," + lineSplit[3] + "," + lineSplit[4] + "," + lineSplit[5]; targetLines.add(targetLine); } } } try{ Files.write(targetTripsFile, targetLines); }catch(IOException ex) { ex.printStackTrace(); } } public static void main(String[] args) { System.out.println("GTFS-xtract"); try{ var out_dir = "data_debug_schedule/gtfs-mod"; var ssb_sched_path = "data/swiss-gtfs-08-25"; //1. Read the given responses to extract the routes from var responses = Files.readAllLines(Path.of("helper/responses.txt")); var parser = new JSONParser(); var collected_trips = new ArrayList<String>(); for(var r : responses) { var jsonResponse = (JSONObject)parser.parse(r); collected_trips.addAll(extract_trips(jsonResponse)); } //2. extract the necessary route ids var collected_routes = new HashSet<String>(); var tripsFileLines = Files.readAllLines(Path.of(ssb_sched_path + "/trips.txt")); for(var t : collected_trips) { var r_id = find_route_for_trip_id(tripsFileLines, t); if(!r_id.isBlank()) collected_routes.add(r_id); } write_reduced_routes_file(Path.of(out_dir + "/routes.txt"), Path.of(ssb_sched_path + "/routes.txt"), collected_routes); write_necessary_trips(Path.of(out_dir + "/trips.txt"), tripsFileLines, collected_routes); //write_services_file(Path.of(args[0] + "/calendar.txt")); }catch(IOException | ParseException ex) { ex.printStackTrace(); } } }
922f80e3a911ce57531d2e5550c62ab7b81750e6
932
java
Java
LeetCode/046 Permutations.java
gesuwen/LeetCode
0c9cf4412d76f8b69ef68cc80636323f5a0e5786
[ "MIT" ]
null
null
null
LeetCode/046 Permutations.java
gesuwen/LeetCode
0c9cf4412d76f8b69ef68cc80636323f5a0e5786
[ "MIT" ]
null
null
null
LeetCode/046 Permutations.java
gesuwen/LeetCode
0c9cf4412d76f8b69ef68cc80636323f5a0e5786
[ "MIT" ]
null
null
null
24.526316
90
0.505365
995,139
// Backtracking // Given a collection of distinct integers, return all possible permutations. // Example: // Input: [1,2,3] // Output: // [ // [1,2,3], // [1,3,2], // [2,1,3], // [2,3,1], // [3,1,2], // [3,2,1] // ] class Solution { public List<List<Integer>> permute(int[] nums) { List<List<Integer>> list = new ArrayList<>(); backtrack(list, new ArrayList<>(), nums); return list; } private void backtrack(List<List<Integer>> list, List<Integer> tempList, int[] nums) { if (tempList.size() == nums.length) { list.add(new ArrayList<>(tempList)); } else { for (int i = 0; i < nums.length; i++) { if (tempList.contains(nums[i])) continue; tempList.add(nums[i]); backtrack(list, tempList, nums); tempList.remove(tempList.size() - 1); } } } }
922f812bd0b86e5ed4e7f141c0fd28ab1ac4dccf
818
java
Java
app/src/main/java/app/coolweather/com/coolweather/model/Country.java
maye1995/coolweather
a6936cb870129ef763ce756c16f8a97cd5822de7
[ "Apache-2.0" ]
null
null
null
app/src/main/java/app/coolweather/com/coolweather/model/Country.java
maye1995/coolweather
a6936cb870129ef763ce756c16f8a97cd5822de7
[ "Apache-2.0" ]
null
null
null
app/src/main/java/app/coolweather/com/coolweather/model/Country.java
maye1995/coolweather
a6936cb870129ef763ce756c16f8a97cd5822de7
[ "Apache-2.0" ]
null
null
null
18.177778
52
0.614914
995,140
package app.coolweather.com.coolweather.model; /** * Created by lenovo on 2016/10/15. */ public class Country { private int id; private String countryName; private String countryCode; private int cityId; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getCountryName() { return countryName; } public void setCountryName(String countryName) { this.countryName = countryName; } public String getCountryCode() { return countryCode; } public void setCountryCode(String countryCode) { this.countryCode = countryCode; } public int getCityId() { return cityId; } public void setCityId(int cityId) { this.cityId = cityId; } }
922f84019be90c8ced4cb2da9ceae6538155c915
1,523
java
Java
src/main/java/com/skanders/jbel/atsql/AtSQLResult.java
alexskanders/jBel
72b811065f9619ef6698d0d79fd4b8679856aa90
[ "Apache-2.0" ]
17
2020-03-29T21:01:22.000Z
2020-04-14T01:58:59.000Z
src/main/java/com/skanders/jbel/atsql/AtSQLResult.java
alexskanders/jBel
72b811065f9619ef6698d0d79fd4b8679856aa90
[ "Apache-2.0" ]
null
null
null
src/main/java/com/skanders/jbel/atsql/AtSQLResult.java
alexskanders/jBel
72b811065f9619ef6698d0d79fd4b8679856aa90
[ "Apache-2.0" ]
null
null
null
27.196429
106
0.713066
995,141
/* * Copyright (c) 2020 Alexander Iskander * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.skanders.jbel.atsql; import com.skanders.jbel.def.Verify; import javax.annotation.Nonnull; import java.sql.ResultSet; public class AtSQLResult implements AutoCloseable { private AtSQLConnection atSQLConnection; private ResultSet resultSet; private AtSQLResult(AtSQLConnection atSQLConnection, ResultSet resultSet) { Verify.notNull(atSQLConnection, "query cannot be null."); Verify.notNull(resultSet, "atSQL cannot be null."); this.atSQLConnection = atSQLConnection; this.resultSet = resultSet; } static AtSQLResult newInstance(@Nonnull AtSQLConnection atSQLConnection, @Nonnull ResultSet resultSet) { return new AtSQLResult(atSQLConnection, resultSet); } public ResultSet getResultSet() { return resultSet; } @Override public void close() { atSQLConnection.close(); } }
922f8556f256d2210304245db01b8e5357694862
2,600
java
Java
subprojects/griffon-core/src/main/java/org/codehaus/griffon/runtime/core/properties/AbstractPropertySource.java
griffon/griffon
58b65392f794ee086909f0a8e1c7de92d7a42369
[ "Apache-2.0" ]
231
2015-01-09T19:43:48.000Z
2022-03-28T13:37:43.000Z
subprojects/griffon-core/src/main/java/org/codehaus/griffon/runtime/core/properties/AbstractPropertySource.java
griffon/griffon
58b65392f794ee086909f0a8e1c7de92d7a42369
[ "Apache-2.0" ]
275
2015-01-05T11:51:01.000Z
2022-02-28T14:08:00.000Z
subprojects/griffon-core/src/main/java/org/codehaus/griffon/runtime/core/properties/AbstractPropertySource.java
griffon/griffon
58b65392f794ee086909f0a8e1c7de92d7a42369
[ "Apache-2.0" ]
82
2015-01-28T22:39:25.000Z
2021-05-12T22:12:52.000Z
33.766234
123
0.754231
995,142
/* * SPDX-License-Identifier: Apache-2.0 * * Copyright 2008-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.codehaus.griffon.runtime.core.properties; import griffon.annotations.core.Nonnull; import griffon.annotations.core.Nullable; import griffon.core.properties.PropertyChangeEvent; import griffon.core.properties.PropertyChangeListener; import griffon.core.properties.PropertySource; /** * @author Andres Almiray * @since 3.0.0 */ public class AbstractPropertySource implements PropertySource { protected final PropertyChangeSupport pcs; public AbstractPropertySource() { pcs = new PropertyChangeSupport(this); } @Override public void addPropertyChangeListener(@Nullable PropertyChangeListener listener) { pcs.addPropertyChangeListener(listener); } @Override public void addPropertyChangeListener(@Nullable String propertyName, @Nullable PropertyChangeListener listener) { pcs.addPropertyChangeListener(propertyName, listener); } @Override public void removePropertyChangeListener(@Nullable PropertyChangeListener listener) { pcs.removePropertyChangeListener(listener); } @Override public void removePropertyChangeListener(@Nullable String propertyName, @Nullable PropertyChangeListener listener) { pcs.removePropertyChangeListener(propertyName, listener); } @Nonnull @Override public PropertyChangeListener[] getPropertyChangeListeners() { return pcs.getPropertyChangeListeners(); } @Nonnull @Override public PropertyChangeListener[] getPropertyChangeListeners(@Nullable String propertyName) { return pcs.getPropertyChangeListeners(propertyName); } protected void firePropertyChange(@Nonnull PropertyChangeEvent event) { pcs.firePropertyChange(event); } protected void firePropertyChange(@Nonnull String propertyName, @Nullable Object oldValue, @Nullable Object newValue) { pcs.firePropertyChange(propertyName, oldValue, newValue); } }
922f858a40acec566ed38fe5567d0fcf173b0dee
17,019
java
Java
sample-app/src/main/java/com/egnyte/androidsdk/sample/MainActivity.java
egnyte/egnyte-android-sdk
ffbfd44ee93d6b35b4554ea94ba5dee59431ef4c
[ "Apache-2.0" ]
2
2018-12-18T15:41:06.000Z
2019-04-03T10:38:56.000Z
sample-app/src/main/java/com/egnyte/androidsdk/sample/MainActivity.java
egnyte/egnyte-android-sdk
ffbfd44ee93d6b35b4554ea94ba5dee59431ef4c
[ "Apache-2.0" ]
2
2017-12-21T20:24:38.000Z
2020-07-15T19:24:52.000Z
sample-app/src/main/java/com/egnyte/androidsdk/sample/MainActivity.java
egnyte/egnyte-android-sdk
ffbfd44ee93d6b35b4554ea94ba5dee59431ef4c
[ "Apache-2.0" ]
1
2018-09-03T14:44:57.000Z
2018-09-03T14:44:57.000Z
43.863402
181
0.646454
995,143
package com.egnyte.androidsdk.sample; import android.Manifest; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.ActivityNotFoundException; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.provider.OpenableColumns; import android.support.annotation.NonNull; import android.support.v13.app.ActivityCompat; import android.support.v4.content.ContextCompat; import android.support.v4.content.FileProvider; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.view.ContextMenu; import android.view.ContextThemeWrapper; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.webkit.MimeTypeMap; import android.widget.EditText; import android.widget.LinearLayout; import android.widget.Toast; import com.egnyte.androidsdk.apiclient.egnyte.client.APIClient; import com.egnyte.androidsdk.apiclient.egnyte.exceptions.EgnyteException; import com.egnyte.androidsdk.auth.egnyte.EgnyteAuthResponseHelper; import com.egnyte.androidsdk.auth.egnyte.EgnyteAuthResult; import com.egnyte.androidsdk.entities.CreateLinkResult; import com.egnyte.androidsdk.entities.EgnyteFile; import com.egnyte.androidsdk.entities.UploadResult; import com.egnyte.androidsdk.picker.EgnyteFolderPickerView; import com.egnyte.androidsdk.picker.FilesystemItem; import com.egnyte.androidsdk.picker.PickerItem; import com.egnyte.androidsdk.picker.ViewHoldersFactoryImpl; import com.egnyte.androidsdk.requests.CreateFileLinkRequestBuilder; import com.egnyte.androidsdk.requests.CreateFolderLinkRequestBuilder; import com.egnyte.androidsdk.requests.CreateFolderRequest; import com.egnyte.androidsdk.requests.CreateLinkRequest; import com.egnyte.androidsdk.requests.DeleteRequest; import com.egnyte.androidsdk.requests.DownloadFileRequest; import com.egnyte.androidsdk.requests.InputStreamProvider; import com.egnyte.androidsdk.requests.ProgressListener; import com.egnyte.androidsdk.requests.UploadRequest; import com.egnyte.androidsdk.sample.auth.LoginActivity; import java.io.File; import java.io.IOException; import java.io.InputStream; public class MainActivity extends AppCompatActivity { public static final String KEY_AUTH_RESULT = "EgnyteAuthResult"; private static final int CODE_DOWNLOAD = 1; private static final int REQUEST_CODE_PICK = 2; private static final int CODE_OPEN = 3; private static final int REQUEST_READ_PERM = 4; private APIClient client; private EgnyteFolderPickerView pickerView; private OngoingRequest currentRequest; private ErrorPresenter errorPresenter = new ErrorPresenter() { @Override public void present(Exception error) { String message = "Something went wrong"; if (error instanceof EgnyteException && ((EgnyteException) error).getApiExceptionMessage() != null) { message = ((EgnyteException) error).getApiExceptionMessage(); } Toast.makeText(MainActivity.this, message, Toast.LENGTH_LONG).show(); error.printStackTrace(); } }; private EgnyteFile downloadMeIfYouCan; private EgnyteFile openMeIfYouCan; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); EgnyteAuthResult authResponse = getIntent().getParcelableExtra(KEY_AUTH_RESULT); getSupportActionBar().setTitle(authResponse.getEgnyteDomainURL().toString()); pickerView = (EgnyteFolderPickerView) findViewById(R.id.egnyte_folder_picker_view); client = new APIClient(authResponse, 2); pickerView.init(client, new EgnyteFolderPickerView.BaseCallback() { @Override public boolean onFileClicked(EgnyteFile file) { download(file, CODE_OPEN); return true; } }, new CustomViewHoldersFactory(pickerView)); } @Override public void onBackPressed() { if (!TextUtils.isEmpty(pickerView.getCurrentPath())) { pickerView.goUp(); } else { super.onBackPressed(); } } @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.main, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.upload: upload(); return true; case R.id.create_new_folder: createNewFolder(); return true; case R.id.logout: logout(); return true; default: return super.onOptionsItemSelected(item); } } private void createNewFolder() { final EditText editText = new EditText(this); int padding = (int) getResources().getDimension(R.dimen.picker_padding); editText.setPadding(padding, padding, padding, padding); editText.setLayoutParams(new LinearLayout.LayoutParams( ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT )); editText.setHint("New folder's name"); new AlertDialog.Builder(this) .setTitle("Create New Folder") .setView(editText) .setPositiveButton("OK", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { if (editText.getText().length() != 0) { createNewFolder(editText.getText().toString()); } } }) .setNegativeButton("Cancel", null) .show(); } private void upload() { try { startActivityForResult(new Intent(Intent.ACTION_PICK), REQUEST_CODE_PICK); } catch (ActivityNotFoundException ex) { Toast.makeText(this, "There are no apps that can provide file to upload.", Toast.LENGTH_SHORT).show(); } } private void logout() { EgnyteAuthResponseHelper.logout(this); startActivity(new Intent(this, LoginActivity.class)); finish(); } @Override public boolean onContextItemSelected(MenuItem item) { FilesystemItem chosenItem = pickerView.getItemAtPosition(item.getGroupId()); if (item.getItemId() == CustomViewHoldersFactory.MENU_DELETE) { currentRequest = OngoingRequest.start(client, new DeleteRequest(chosenItem.getPath()), OngoingRequest.createDialog(this, "Deleting", true), new SuccessCallback<Void>() { @Override public void onSuccess(Void result) { pickerView.reload(); } }, errorPresenter); return true; } else if (item.getItemId() == CustomViewHoldersFactory.MENU_SHARE) { CreateLinkRequest createLinkRequest; if (chosenItem.isFolder()) { createLinkRequest = new CreateFolderLinkRequestBuilder(chosenItem.getPath(), CreateLinkRequest.Accessibility.ANYONE).build(); } else { createLinkRequest = new CreateFileLinkRequestBuilder(chosenItem.getPath(), CreateLinkRequest.Accessibility.ANYONE).build(); } currentRequest = OngoingRequest.start(client, createLinkRequest, OngoingRequest.createDialog(this, "Creating link", true), new SuccessCallback<CreateLinkResult>() { @Override public void onSuccess(CreateLinkResult result) { Intent sendIntent = new Intent(); sendIntent.setAction(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, result.links.get(0).url); sendIntent.setType("text/plain"); startActivity(sendIntent); } }, errorPresenter); return true; } else if (item.getItemId() == CustomViewHoldersFactory.MENU_DOWNLOAD) { if (chosenItem.getFile() != null) { download(chosenItem.getFile(), CODE_DOWNLOAD); } return true; } Toast.makeText(this, item.getTitle() + " " + item.getGroupId() + " " + item.getItemId(), Toast.LENGTH_SHORT).show(); return super.onContextItemSelected(item); } private void download(final EgnyteFile chosenItem, int code) { if (!checkWritePermission(chosenItem, code)) { return; } File dest = getDownloadDestFile(chosenItem); final ProgressDialog progressDialog = OngoingRequest.createDialog(this, "Downloading", false); ProgressListener progressListener = new ProgressListener() { @Override public void onProgress(long bytesTotal) { progressDialog.setProgress((int) ((double) bytesTotal / chosenItem.size * 100)); } }; DownloadFileRequest downloadFileRequest = new DownloadFileRequest(chosenItem.path, null, progressListener, dest); OngoingRequest.start(client, downloadFileRequest, progressDialog, successCallbackForCode(chosenItem, code), errorPresenter); } private File getDownloadDestFile(EgnyteFile chosenItem) { File parentDest = new File(Environment.getExternalStorageDirectory(), "egnyte-downloads"); parentDest.mkdirs(); return new File(parentDest, chosenItem.name); } private SuccessCallback<Void> successCallbackForCode(final EgnyteFile egnyteFile, int code) { if (code == CODE_DOWNLOAD) { return new SuccessCallback<Void>() { @Override public void onSuccess(Void result) { Toast.makeText(MainActivity.this, "Download succeeded", Toast.LENGTH_SHORT).show(); } }; } else if (code == CODE_OPEN) { return new SuccessCallback<Void>() { @Override public void onSuccess(Void result) { openFile(egnyteFile); } }; } return null; } private void openFile(EgnyteFile egnyteFile) { Intent intent = new Intent(Intent.ACTION_VIEW); String mimeType = "application/octet-stream"; int dotIndex = egnyteFile.name.lastIndexOf("."); if (dotIndex != -1) { String extension = egnyteFile.name.substring(dotIndex + 1, egnyteFile.name.length()); mimeType = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); } Uri uri = FileProvider.getUriForFile(this, getPackageName() + ".provider", getDownloadDestFile(egnyteFile)); intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); intent.setDataAndType(uri, mimeType); startActivity(intent); } private boolean checkWritePermission(EgnyteFile chosenItem, int code) { int hasPermission = ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE); if (hasPermission == PackageManager.PERMISSION_GRANTED) { return true; } else { downloadMeIfYouCan = chosenItem; ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, code); return false; } } @Override protected void onPause() { super.onPause(); if (currentRequest != null) { currentRequest.cancel(); } } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (requestCode == REQUEST_CODE_PICK) { if (data != null && data.getData() != null) { final Uri dataUri = data.getData(); final ProgressDialog progressDialog = OngoingRequest.createDialog(this, "Uploading", true); Cursor cursor = getContentResolver().query(dataUri, new String[]{OpenableColumns.DISPLAY_NAME, OpenableColumns.SIZE}, null, null, null); if (cursor != null && cursor.moveToFirst() && cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME) != -1) { String displayName = cursor.getString(cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME)); String path = pickerView.getCurrentPath() + "/" + displayName; UploadRequest uploadRequest = new UploadRequest(path, new InputStreamProvider() { @Override public InputStream provideInputStream() throws IOException { return getContentResolver().openInputStream(dataUri); } }, null, null, null); currentRequest = OngoingRequest.start(client, uploadRequest, progressDialog, new SuccessCallback<UploadResult>() { @Override public void onSuccess(UploadResult result) { pickerView.reload(); } }, errorPresenter); } } } } private void createNewFolder(String folderName) { final String destPath = pickerView.getCurrentPath() + "/" + folderName; currentRequest = OngoingRequest.start( client, new CreateFolderRequest(destPath), OngoingRequest.createDialog(this, "Creating new folder", true), new SuccessCallback<Void>() { @Override public void onSuccess(Void result) { pickerView.openPath(destPath); } }, errorPresenter); } @Override public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { if (requestCode == CODE_DOWNLOAD || requestCode == CODE_OPEN) { if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED && downloadMeIfYouCan != null) { download(downloadMeIfYouCan, requestCode); } downloadMeIfYouCan = null; } else if (requestCode == REQUEST_READ_PERM) { if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED && downloadMeIfYouCan != null) { openFile(openMeIfYouCan); } openMeIfYouCan = null; } } static class CustomViewHoldersFactory extends ViewHoldersFactoryImpl { private static final int MENU_DELETE = 0; private static final int MENU_SHARE = 1; private static final int MENU_DOWNLOAD = 2; public CustomViewHoldersFactory(EgnyteFolderPickerView egnyteFolderPickerView) { super(LayoutInflater.from(new ContextThemeWrapper(egnyteFolderPickerView.getContext(), R.style.CustomEgnytePickerStyle)), egnyteFolderPickerView); } @Override public EgnyteFolderPickerView.ViewHolder onCreateViewHolder(ViewGroup parent, PickerItem.Type viewType) { final EgnyteFolderPickerView.ViewHolder holder = super.onCreateViewHolder(parent, viewType); if (viewType == PickerItem.Type.FILE) { holder.itemView.setOnCreateContextMenuListener(new View.OnCreateContextMenuListener() { @Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) { applyMenuItemsForFile(menu, holder.getAdapterPosition()); } }); } else if (viewType == PickerItem.Type.FOLDER) { holder.itemView.setOnCreateContextMenuListener(new View.OnCreateContextMenuListener() { @Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) { applyMenuItemsForFolder(menu, holder.getAdapterPosition()); } }); } return holder; } private void applyMenuItemsForFile(ContextMenu menu, int adapterPosition) { applyMenuItemsForFolder(menu, adapterPosition); menu.add(adapterPosition, MENU_DOWNLOAD, Menu.NONE, "Download"); } private void applyMenuItemsForFolder(ContextMenu menu, int adapterPosition) { menu.add(adapterPosition, MENU_DELETE, Menu.NONE, "Delete"); menu.add(adapterPosition, MENU_SHARE, Menu.NONE, "Share"); } } }
922f859fcb3fff067770a630ba4a42d2f9af45fd
3,697
java
Java
src/main/java/application/classes/Planter.java
jhlubucek/planter_connector
ff66c23e0995524fc29409bfbb3ffdb4ec975747
[ "MIT" ]
null
null
null
src/main/java/application/classes/Planter.java
jhlubucek/planter_connector
ff66c23e0995524fc29409bfbb3ffdb4ec975747
[ "MIT" ]
null
null
null
src/main/java/application/classes/Planter.java
jhlubucek/planter_connector
ff66c23e0995524fc29409bfbb3ffdb4ec975747
[ "MIT" ]
null
null
null
27.183824
130
0.641872
995,144
package application.classes; //class SortById implements Comparator<Planter> //{ // // Used for sorting in ascending order of // // roll number // public int compare(Planter a, Planter b) // { // return a.getId() - b.getId(); // } //} import java.util.ArrayList; public class Planter implements Comparable<Planter>{ private int id; private String name; private int settingsId; private int userId; private final String color; private final String waterPumpTopic; private final String lightSensorTopic; private final String waterLevelSensorTopic; private final String soilMoistureSensorTopic; private final String airHumiditySensorTopic; private final String airTemperatureSensorTopic; public Planter(int id, String name, int settingsId, int userId, String color, String userHash) { this.id = id; this.name = name; this.settingsId = settingsId; this.userId = userId; this.color = color; waterPumpTopic = String.format("%s/planter%d/%s", userHash, id, "waterPump"); lightSensorTopic = String.format("%s/planter%d/%s", userHash, id, "lightSensor"); waterLevelSensorTopic = String.format("%s/planter%d/%s", userHash, id, "waterLevelSensor"); soilMoistureSensorTopic = String.format("%s/planter%d/%s", userHash, id, "soilMoistureSensor"); airHumiditySensorTopic = String.format("%s/planter%d/%s", userHash, id, "airHumiditySensor"); airTemperatureSensorTopic = String.format("%s/planter%d/%s", userHash, id, "airTemperatureSensor"); } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getSettingsId() { return settingsId; } public void setSettingsId(int settingsId) { this.settingsId = settingsId; } public int getUserId() { return userId; } public void setUserId(int userId) { this.userId = userId; } public ArrayList<String> getSensorTopics(){ ArrayList<String> result = new ArrayList<>(); result.add(this.lightSensorTopic); result.add(this.waterLevelSensorTopic); result.add(this.soilMoistureSensorTopic); result.add(this.airHumiditySensorTopic); result.add(this.airTemperatureSensorTopic); return result; } public String getColor() { return color; } public ArrayList<String> getAllTopics(){ ArrayList<String> result = this.getSensorTopics(); result.add(this.getWaterPumpTopic()); return result; } public String getWaterPumpTopic() { return waterPumpTopic; } public String getLightSensorTopic() { return lightSensorTopic; } public String getWaterLevelSensorTopic() { return waterLevelSensorTopic; } public String getSoilMoistureSensorTopic() { return soilMoistureSensorTopic; } public String getAirHumiditySensorTopic() { return airHumiditySensorTopic; } public String getAirTemperatureSensorTopic() { return airTemperatureSensorTopic; } @Override public int compareTo(Planter p) { return this.getId() - p.getId(); } @Override public boolean equals(Object o) { if (!(o instanceof Planter)) { return false; } Planter other = (Planter) o; return (other.getId() == this.getId() && other.getUserId() == this.getUserId() && other.getName().equals(this.getName())); } }
922f8635fc68ef333d61ec9b9a38680d308685c7
13,627
java
Java
dragome-bytecode-js-compiler/src/main/java/com/dragome/compiler/writer/Assembly.java
nosix/dragome-sdk
60b577738fab90cc42b1357a9e8f01b9b228929c
[ "Apache-2.0" ]
73
2015-02-05T15:33:53.000Z
2022-01-26T18:43:47.000Z
dragome-bytecode-js-compiler/src/main/java/com/dragome/compiler/writer/Assembly.java
nosix/dragome-sdk
60b577738fab90cc42b1357a9e8f01b9b228929c
[ "Apache-2.0" ]
130
2015-01-31T18:14:07.000Z
2021-06-14T00:57:47.000Z
dragome-bytecode-js-compiler/src/main/java/com/dragome/compiler/writer/Assembly.java
nosix/dragome-sdk
60b577738fab90cc42b1357a9e8f01b9b228929c
[ "Apache-2.0" ]
25
2015-02-13T17:59:45.000Z
2021-01-04T18:44:50.000Z
27.145418
160
0.69399
995,145
/******************************************************************************* * Copyright (c) 2011-2014 Fernando Petrola * * This file is part of Dragome SDK. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/gpl.html ******************************************************************************/ // Copyright 2011 The j2js Authors. All Rights Reserved. // // This file is part of j2js. // // j2js is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // j2js is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with j2js. If not, see <http://www.gnu.org/licenses/>. package com.dragome.compiler.writer; import java.io.File; import java.io.FileFilter; import java.io.FileWriter; import java.io.FilenameFilter; import java.io.IOException; import java.io.Writer; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import org.apache.commons.io.IOUtils; import com.dragome.commons.compiler.classpath.ClasspathFile; import com.dragome.commons.compiler.classpath.ClasspathFileFilter; import com.dragome.compiler.DragomeJsCompiler; import com.dragome.compiler.Project; import com.dragome.compiler.generators.DragomeJavaScriptGenerator; import com.dragome.compiler.generators.JavaScriptCompressor; import com.dragome.compiler.type.Signature; import com.dragome.compiler.units.ClassUnit; import com.dragome.compiler.units.ConstructorUnit; import com.dragome.compiler.units.MemberUnit; import com.dragome.compiler.units.ProcedureUnit; import com.dragome.compiler.utils.Log; public class Assembly { public List<String> entryPoints= new ArrayList<String>(); private transient Log logger; private transient String entryPointClassName; private Project project; private Set<Signature> taintedSignatures= new LinkedHashSet<Signature>(); private Set<Signature> unprocessedTaintedSignatures= new LinkedHashSet<Signature>(); String[] patterns; private Collection<ClassUnit> resolvedTypes= new ArrayList<ClassUnit>(); private transient File targetLocation; private ClasspathFileFilter classpathFilter; public Assembly() { // patterns= Utils.getProperty("dragomeJs.taintIfInstantiated").split(";"); // for (int i= 0; i < patterns.length; i++) // { // // String pattern= patterns[i].replaceAll("\\s", ""); // pattern= pattern.replaceAll("\\.", "\\\\."); // pattern= pattern.replaceAll("\\*", ".*"); // pattern= pattern.replaceAll("\\(", "\\\\("); // pattern= pattern.replaceAll("\\)", "\\\\)"); // patterns[i]= pattern; // } } private void pipeFileToStream(Writer writer, String relativeFilePath) throws IOException { ClasspathFile fileObject= DragomeJsCompiler.compiler.fileManager.getFileForInput(relativeFilePath); String content; if (DragomeJsCompiler.compiler.isCompression()) { JavaScriptCompressor compressor= new JavaScriptCompressor(); content= compressor.compress(fileObject.openInputStream()); } else { content= IOUtils.toString(fileObject.openInputStream()); } writer.write(content); fileObject.close(); } private void removeOldAssemblies(File assembly) { final String numericPostfixPattern= "-[0-9]*$"; final String prefix= assembly.getName().replaceAll(numericPostfixPattern, ""); File[] oldAssemblies= assembly.getParentFile().listFiles(new FilenameFilter() { public boolean accept(File dir1, String name) { return name.matches(prefix + numericPostfixPattern); } }); if (oldAssemblies == null) { return; } for (File oldAssemblyDir : oldAssemblies) { for (File file : oldAssemblyDir.listFiles()) { file.delete(); } oldAssemblyDir.delete(); } } public int createAssembly() throws IOException { logger= Log.getLogger(); logger.debug("Packing ..."); removeOldAssemblies(targetLocation); String loaderName= DragomeJsCompiler.compiler.getTargetPlatform().toLowerCase(); Writer writer; if ("javascript".equals(loaderName)) { writer= new FileWriter(targetLocation); pipeFileToStream(writer, "dragome/javascript/loaders/" + loaderName + ".js"); } else { targetLocation.mkdirs(); writer= new JunkWriter(targetLocation); } //writer.write("// Assembly generated by dragomeJs " + Utils.getVersion() + " on " + Utils.currentTimeStamp() + "\n"); writer.write("//***********************************************************************\n"); writer.write("//* Generated with Dragome SDK Copyright (c) 2011-2016 Fernando Petrola *\n"); writer.write("//***********************************************************************\n"); writer.write("\n"); // pipeFileToStream(writer, "javascript/q-3.0.js"); pipeFileToStream(writer, "dragome/javascript/runtime.js"); // writer.write("dragomeJs.assemblyVersion = 'dragomeJs Assembly " + targetLocation.getName() + "@" + Utils.currentTimeStamp() + "';\n"); writer.write("dragomeJs.userData = {};\n"); // int classCount= 0; // for (ClassUnit fileUnit : project.getClasses()) // { // if (!fileUnit.isTainted()) // continue; // writer.write("dragomeJs."); // writer.write(DECLARECLASS); // writer.write("(\"" + fileUnit.getSignature() + "\""); // writer.write(", " + fileUnit.getSignature().getId()); // writer.write(");\n"); // classCount++; // } project.currentGeneratedMethods= 0; if (DragomeJsCompiler.compiler.getSingleEntryPoint() != null) { Signature signature= project.getSignature(DragomeJsCompiler.compiler.getSingleEntryPoint()); ClassUnit clazz= project.getClassUnit(signature.className()); clazz.write(0, writer); } else { ClassUnit object= project.getJavaLangObject(); object.write(0, writer); do { ClassUnit.oneWritten= false; for (ClassUnit cu : project.getClasses()) { // if (cu.isInterface) { cu.write(0, writer); } } } while (ClassUnit.oneWritten); } ClassUnit stringClazz= project.getClassUnit(String.class.getName()); ClassUnit stringSuperClazz= stringClazz.getSuperUnit(); Collection<MemberUnit> declaredMembers= new ArrayList<MemberUnit>(stringClazz.getDeclaredMembers()); declaredMembers.addAll(stringSuperClazz.getDeclaredMembers()); for (MemberUnit memberUnit : declaredMembers) { Signature signature= memberUnit.getSignature(); String normalizeExpression= DragomeJavaScriptGenerator.normalizeExpression(signature); writer.write("String.prototype." + normalizeExpression + "= java_lang_String.prototype." + normalizeExpression + ";\n"); } writer.write("String.prototype.classname= \"java_lang_String\";\n"); for (MemberUnit member : ClassUnit.stringInits) { String memberData= member.getData(); member.setData(member.getData().substring(1)); member.write(1, writer); member.setData(memberData); if (member instanceof ProcedureUnit) { project.currentGeneratedMethods++; writer.flush(); } } // project.writeClinits(writer); if (getProject().getClassUnit("java.lang.String").isTainted()) { writer.write("String.prototype.clazz = java_lang_String;\n"); } // writer.write("dragomeJs.onLoad('" + entryPointClassName + "#main(java.lang.String[])void');\n"); writer.write("javascript_Utils.$init$void();\n"); project.writeSignatures(writer); writer.write("java_lang_Object.prototype.toString= function (){return this.$toString$java_lang_String();};\n"); //TODO mover despues de creacion de Object // writer.write("Array.prototype.$clone$java_lang_Object= java_lang_Object.prototype.$clone$java_lang_Object;\n"); //TODO mover despues de creacion de Object writeAnnotationsInsertion(writer); // writer.write("new " + mainClass + "();\n"); // writer.write(mainClass + "." + mainMethod + "();\n"); writer.write("onReady(function(){setupCheckCast(); _ed.executeMainClass();});"); writer.close(); return project.currentGeneratedMethods; } private void writeAnnotationsInsertion(Writer writer) throws IOException { Set<String> typeDeclarations= getProject().getTypeDeclarationsWithAnnotations(); for (String typeDeclaration : typeDeclarations) { String[] key= typeDeclaration.split("#"); if (!"::::bytes".equals(key[2])) //TODO fixme: scala annotations writer.write(String.format("dragomeJs.addTypeAnnotation(\"%s\", \"%s\", \"%s\", \"%s\");\n", key[0], key[1], key[2], key[3].trim())); } } public void processTainted() { while (unprocessedTaintedSignatures.size() > 0) { processSingle(popSignature()); if (unprocessedTaintedSignatures.size() == 0) { processOverWrittenMembers(); } } } public void processSingle(Signature signature) { ClassUnit clazz= resolve(signature.className()); File file= new File(signature.className().replace(".", "/")); if (classpathFilter.accept(clazz.getClassFile())) { String methodPart= signature.relativeSignature(); boolean found= false; for (MemberUnit member : clazz.getMembers(methodPart)) { taint(member); found= true; } if (!found) { Log.getLogger().debug("No such method: " + signature); // throw new RuntimeException("No such method: " + signature); } } } private ClassUnit resolve(String className) { ClassUnit clazz= project.getClassUnit(className); if (className.startsWith("[")) { project.resolve(clazz); } else { project.resolve(clazz); taint(className + "#<clinit>()void"); } resolvedTypes.add(clazz); return clazz; } public ClassUnit resolveNoTainting(String className, ClasspathFile classpathFile) { ClassUnit clazz= project.getClassUnit(className); if (className.startsWith("[")) { project.resolve(clazz); } else { project.resolve(clazz); } resolvedTypes.add(clazz); return clazz; } private void taintImplicitelyAccessedMembers(ClassUnit clazz) { for (MemberUnit member : clazz.getDeclaredMembers()) { // for (int i= 0; i < patterns.length; i++) { // if (member.getAbsoluteSignature().toString().matches(patterns[i])) { taint(member.getAbsoluteSignature()); } } } } private void taintIfSuperTainted(ClassUnit clazz) { if (clazz.getName().equals("java.lang.Object")) return; for (MemberUnit member : clazz.getDeclaredMembers()) { for (ClassUnit superType : clazz.getSupertypes()) { Signature signature= Project.getSingleton().getSignature(superType.getName(), member.getSignature().toString()); //if (taintedSignatures.contains(signature)) { taint(member); } } } } private void taintTargetSignatures(ProcedureUnit method) { for (Signature targetSignature : method.getTargetSignatures()) { taint(targetSignature); } } private void processOverWrittenMembers() { Iterator<ClassUnit> classIterator= resolvedTypes.iterator(); while (classIterator.hasNext()) { ClassUnit clazz= classIterator.next(); if (clazz.isConstructorTainted) taintIfSuperTainted(clazz); ; } } public void taint(String signature) { signature= signature.replaceAll("\\s", ""); Signature s= Project.getSingleton().getSignature(signature); if (s.isClass()) { ClassUnit clazz= resolve(s.className()); for (MemberUnit member : clazz.getDeclaredMembers()) { taint(member.getAbsoluteSignature()); } } else { taint(s); } } private Signature popSignature() { Iterator<Signature> iter= unprocessedTaintedSignatures.iterator(); Signature signature= iter.next(); iter.remove(); return signature; } public void taint(Signature signature) { if (!signature.toString().contains("#")) { throw new IllegalArgumentException("Signature must be field or method: " + signature); } if (taintedSignatures.contains(signature)) return; taintedSignatures.add(signature); unprocessedTaintedSignatures.add(signature); } public void taint(MemberUnit member) { member.setTainted(); member.getDeclaringClass().setSuperTainted(); if (member instanceof ProcedureUnit) { taintTargetSignatures((ProcedureUnit) member); if (member instanceof ConstructorUnit) { member.getDeclaringClass().isConstructorTainted= true; taintImplicitelyAccessedMembers(member.getDeclaringClass()); } } } public void setProject(Project project) { this.project= project; } public Project getProject() { return project; } public String getEntryPointClassName() { return entryPointClassName; } public Assembly setEntryPointClassName(String entryPointClassName) { this.entryPointClassName= entryPointClassName; return this; } public File getTargetLocation() { return targetLocation; } public void setTargetLocation(File targetLocation) { this.targetLocation= targetLocation; } public void addEntryPoint(String memberSignature) { entryPoints.add(memberSignature); } public void setClasspathFilter(ClasspathFileFilter classpathFilter) { this.classpathFilter= classpathFilter; } }
922f8672a934ef815d4d04ff418ee7cbf40e6bdf
316
java
Java
Cartoon/src/main/java/com/songtzu/cartoon/c/DeleteImp.java
rotencode/cartoon_android
b9af925180e83155ce794fc38a523b5d96c1b9fd
[ "MIT" ]
null
null
null
Cartoon/src/main/java/com/songtzu/cartoon/c/DeleteImp.java
rotencode/cartoon_android
b9af925180e83155ce794fc38a523b5d96c1b9fd
[ "MIT" ]
null
null
null
Cartoon/src/main/java/com/songtzu/cartoon/c/DeleteImp.java
rotencode/cartoon_android
b9af925180e83155ce794fc38a523b5d96c1b9fd
[ "MIT" ]
1
2020-01-06T22:27:03.000Z
2020-01-06T22:27:03.000Z
14.363636
47
0.64557
995,146
package com.songtzu.cartoon.c; public interface DeleteImp { /** * show or hide view */ public void delete(); /** * define a default callback * @author Carrot * */ public static class NULL implements DeleteImp{ @Override public void delete() { // TODO Auto-generated method stub } } }