text
stringlengths 7
1.01M
|
|---|
/*
* Kubernetes
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1.11.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package io.kubernetes.client.models;
import java.util.Objects;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.kubernetes.client.models.V1LabelSelector;
import io.kubernetes.client.models.V1NetworkPolicyEgressRule;
import io.kubernetes.client.models.V1NetworkPolicyIngressRule;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* NetworkPolicySpec provides the specification of a NetworkPolicy
*/
@ApiModel(description = "NetworkPolicySpec provides the specification of a NetworkPolicy")
public class V1NetworkPolicySpec {
@SerializedName("egress")
private List<V1NetworkPolicyEgressRule> egress = null;
@SerializedName("ingress")
private List<V1NetworkPolicyIngressRule> ingress = null;
@SerializedName("podSelector")
private V1LabelSelector podSelector = null;
@SerializedName("policyTypes")
private List<String> policyTypes = null;
public V1NetworkPolicySpec egress(List<V1NetworkPolicyEgressRule> egress) {
this.egress = egress;
return this;
}
public V1NetworkPolicySpec addEgressItem(V1NetworkPolicyEgressRule egressItem) {
if (this.egress == null) {
this.egress = new ArrayList<V1NetworkPolicyEgressRule>();
}
this.egress.add(egressItem);
return this;
}
/**
* List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8
* @return egress
**/
@ApiModelProperty(value = "List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8")
public List<V1NetworkPolicyEgressRule> getEgress() {
return egress;
}
public void setEgress(List<V1NetworkPolicyEgressRule> egress) {
this.egress = egress;
}
public V1NetworkPolicySpec ingress(List<V1NetworkPolicyIngressRule> ingress) {
this.ingress = ingress;
return this;
}
public V1NetworkPolicySpec addIngressItem(V1NetworkPolicyIngressRule ingressItem) {
if (this.ingress == null) {
this.ingress = new ArrayList<V1NetworkPolicyIngressRule>();
}
this.ingress.add(ingressItem);
return this;
}
/**
* List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)
* @return ingress
**/
@ApiModelProperty(value = "List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)")
public List<V1NetworkPolicyIngressRule> getIngress() {
return ingress;
}
public void setIngress(List<V1NetworkPolicyIngressRule> ingress) {
this.ingress = ingress;
}
public V1NetworkPolicySpec podSelector(V1LabelSelector podSelector) {
this.podSelector = podSelector;
return this;
}
/**
* Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.
* @return podSelector
**/
@ApiModelProperty(required = true, value = "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.")
public V1LabelSelector getPodSelector() {
return podSelector;
}
public void setPodSelector(V1LabelSelector podSelector) {
this.podSelector = podSelector;
}
public V1NetworkPolicySpec policyTypes(List<String> policyTypes) {
this.policyTypes = policyTypes;
return this;
}
public V1NetworkPolicySpec addPolicyTypesItem(String policyTypesItem) {
if (this.policyTypes == null) {
this.policyTypes = new ArrayList<String>();
}
this.policyTypes.add(policyTypesItem);
return this;
}
/**
* List of rule types that the NetworkPolicy relates to. Valid options are Ingress, Egress, or Ingress,Egress. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8
* @return policyTypes
**/
@ApiModelProperty(value = "List of rule types that the NetworkPolicy relates to. Valid options are Ingress, Egress, or Ingress,Egress. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an Egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8")
public List<String> getPolicyTypes() {
return policyTypes;
}
public void setPolicyTypes(List<String> policyTypes) {
this.policyTypes = policyTypes;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V1NetworkPolicySpec v1NetworkPolicySpec = (V1NetworkPolicySpec) o;
return Objects.equals(this.egress, v1NetworkPolicySpec.egress) &&
Objects.equals(this.ingress, v1NetworkPolicySpec.ingress) &&
Objects.equals(this.podSelector, v1NetworkPolicySpec.podSelector) &&
Objects.equals(this.policyTypes, v1NetworkPolicySpec.policyTypes);
}
@Override
public int hashCode() {
return Objects.hash(egress, ingress, podSelector, policyTypes);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1NetworkPolicySpec {\n");
sb.append(" egress: ").append(toIndentedString(egress)).append("\n");
sb.append(" ingress: ").append(toIndentedString(ingress)).append("\n");
sb.append(" podSelector: ").append(toIndentedString(podSelector)).append("\n");
sb.append(" policyTypes: ").append(toIndentedString(policyTypes)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
|
package edu.udel.cis.vsl.abc.front.c.astgen;
import org.antlr.runtime.CommonTokenStream;
import org.antlr.runtime.TokenStream;
import org.antlr.runtime.tree.CommonTree;
import edu.udel.cis.vsl.abc.ast.node.IF.NodeFactory;
import edu.udel.cis.vsl.abc.config.IF.Configuration;
import edu.udel.cis.vsl.abc.config.IF.Configurations.Language;
import edu.udel.cis.vsl.abc.front.c.astgen.AcslContractWorker.ACSLSpecTranslation;
import edu.udel.cis.vsl.abc.front.c.parse.CAcslParser;
import edu.udel.cis.vsl.abc.front.c.parse.CParser.RuleKind;
import edu.udel.cis.vsl.abc.front.c.ptree.CParseTree;
import edu.udel.cis.vsl.abc.front.common.astgen.SimpleScope;
import edu.udel.cis.vsl.abc.front.common.parse.TreeUtils;
import edu.udel.cis.vsl.abc.token.IF.CivlcTokenSource;
import edu.udel.cis.vsl.abc.token.IF.Source;
import edu.udel.cis.vsl.abc.token.IF.SyntaxException;
import edu.udel.cis.vsl.abc.token.IF.TokenFactory;
/**
* This is responsible for translating a CParseTree that represents an ACSL
* contract specification for a function or a loop into an ordered list of
* Contract nodes.
*
* @author Manchun Zheng (zmanchun)
*
*/
public class AcslContractHandler {
/**
* The kind of the contract: either for a function or for a loop.
*
* @author Manchun Zheng
*
*/
public enum AcslContractKind {
FUNCTION_CONTRACT, LOOP_CONTRACT
}
/**
* the node factor
*/
private NodeFactory nodeFactory;
/**
* the token factory
*/
private TokenFactory tokenFactory;
/**
* parser for ACSL contract annotations
*/
private CAcslParser cAcslParser;
/**
* creates a new instance of ACSL contract handler
*
* @param factory
* the node factory to be used for creating new AST nodes
* @param tokenFactory
* the token factory to be used
*/
public AcslContractHandler(NodeFactory factory, TokenFactory tokenFactory) {
this.nodeFactory = factory;
this.tokenFactory = tokenFactory;
cAcslParser = new CAcslParser();
}
/**
* translates a CivlcTokenSource object representing an ACSL contract block,
* which may be in the form of a multiple-line comment (<code>/*@ ...</code>
* ) or single-line (<code>//@ ...</code>) comment, into a sequence of
* contract nodes. First, the token source is parsed using the ACSL parser
* into an ANTLR CommonTree object. Second, a CParseTree object is created
* using the ANTLR tree. Finally, an AcslContractWorker is created to walk
* through the CParseTree to create AST nodes.
*
* @param source
* the source of the whole annotation block
* @param tokenSource
* the CivlcTokenSource object representing the annotation, which
* is the result of preprocessing the annotation using the C
* preprocessor
* @param scope
* the scope of the annotation. For example, if this is a
* function scope, then it is the scope of the function
* parameters.
* @return a {@link ACSLSpecTranslation} which is the result of the
* translation of the ACSL annotation.
* @throws SyntaxException
* if there are any syntax errors.
*/
public ACSLSpecTranslation translateAcslAnnotation(Source source,
CivlcTokenSource tokenSource, SimpleScope scope,
Configuration config) throws SyntaxException {
TokenStream tokens;
CommonTree tree;
tokens = new CommonTokenStream(tokenSource);
tree = this.cAcslParser.parse(source, tokens);
TreeUtils.postProcessTree(tree);
CParseTree parseTree = new CParseTree(Language.CIVL_C,
RuleKind.CONTRACT, tokenSource, tree);
AcslContractWorker worker = new AcslContractWorker(nodeFactory,
tokenFactory, parseTree, config);
return worker.generateContractNodes(scope);
}
}
|
package com.example.zhpan.circleviewpager;
import android.app.Application;
import androidx.multidex.MultiDex;
import com.tencent.bugly.crashreport.CrashReport;
import com.zhpan.bannerview.utils.BannerUtils;
import com.zhpan.idea.utils.Utils;
/**
* <pre>
* Created by zhangpan on 2019-08-14.
* Description:
* </pre>
*/
public class App extends Application {
@Override
public void onCreate() {
super.onCreate();
// 主要是添加下面这句代码
MultiDex.install(App.this);
Utils.init(getApplicationContext());
BannerUtils.setDebugMode(true);
CrashReport.initCrashReport(getApplicationContext(), "69b176a2b6", true);
}
}
|
import java.util.*;
public class CDOrganizer {
private String mTitle;
public CDOrganizer (String title) {
mTitle = title;
}
public String getTitle() {
return mTitle;
}
// public class cdNameComparator implements Comparator<CDOrganizer> {
// public int compare(CDOrganizer cd1, CDOrganizer cd2) {
// return cd1.getTitle().compareTo(cd2.getTitle());
// }
// }
}
|
/*
* Copyright (C) 2015, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All rights reserved.
*
* The PSYCO: A Predicate-based Symbolic Compositional Reasoning environment
* platform is 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 gov.nasa.jstateexplorer.transitionSystem;
import gov.nasa.jpf.constraints.api.Expression;
import gov.nasa.jpf.constraints.api.Valuation;
import gov.nasa.jpf.constraints.api.ValuationEntry;
import gov.nasa.jpf.constraints.api.Variable;
import gov.nasa.jpf.constraints.exceptions.ImpreciseRepresentationException;
import gov.nasa.jpf.constraints.expressions.BitvectorExpression;
import gov.nasa.jpf.constraints.expressions.BitvectorNegation;
import gov.nasa.jpf.constraints.expressions.BitvectorOperator;
import gov.nasa.jpf.constraints.expressions.CastExpression;
import gov.nasa.jpf.constraints.expressions.Constant;
import gov.nasa.jpf.constraints.expressions.LogicalOperator;
import gov.nasa.jpf.constraints.expressions.Negation;
import gov.nasa.jpf.constraints.expressions.NumericBooleanExpression;
import gov.nasa.jpf.constraints.expressions.NumericComparator;
import gov.nasa.jpf.constraints.expressions.NumericCompound;
import gov.nasa.jpf.constraints.expressions.NumericOperator;
import gov.nasa.jpf.constraints.expressions.PropositionalCompound;
import gov.nasa.jpf.constraints.expressions.UnaryMinus;
import gov.nasa.jpf.constraints.types.BuiltinTypes;
import gov.nasa.jpf.constraints.types.ConcreteType;
import gov.nasa.jstateexplorer.transitionSystem.helperVisitors.TransitionEncoding;
import gov.nasa.jstateexplorer.util.HelperMethods;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Logger;
/**
* The transition system loader is able to parse a transition
* system and load it from a file.
* So the search can be executed without a jDart run in upfront.
*/
public class TransitionSystemLoader {
public String fileName;
public String currentLine;
private Logger logger = Logger.getLogger(HelperMethods.getLoggerName());
public TransitionSystemLoader(String fileName) {
this.fileName = fileName;
}
public TransitionSystem parseFile() throws ImpreciseRepresentationException{
try (BufferedReader reader =
new BufferedReader(new FileReader(fileName))) {
TransitionSystem tSystem = new TransitionSystem(null);
String line;
while ((line = reader.readLine()) != null) {
currentLine = line;
if (nextTokenIs(TransitionEncoding.valuation)) {
Valuation initValuation = parseInitialValuation();
tSystem.setInitValuation(initValuation);
}
if (nextTokenIs(TransitionEncoding.okTransition)) {
Transition t = parseOkTransition();
tSystem.add(t);
}
if (nextTokenIs(TransitionEncoding.errorTransition)) {
Transition t = parseErrorTransition();
tSystem.add(t);
}
}
return tSystem;
} catch (IOException ex) {
logger.severe(ex.toString());
}
return null;
}
private Transition parseErrorTransition() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
Expression guard = null;
if (nextTokenIs(TransitionEncoding.guard)) {
guard = parseGuard();
}
currentLine = currentLine.substring(4);
int index = currentLine.indexOf(':');
String error = currentLine.substring(0, index);
currentLine = currentLine.substring(index + 1);
index = currentLine.indexOf(":");
String stackTrace = currentLine.substring(0, index);
currentLine = currentLine.substring(index + 1);
Map<Variable, Expression<Boolean>> post = new HashMap<>();
while (nextTokenIs(TransitionEncoding.effect)) {
post = parseTransitionEffect(post);
}
currentLine = currentLine.substring(0 + 1).replace("\n", "");
if (!currentLine.equals(";;")) {
System.err.println("gov.nasa.jpf.psyco.search.transitionSystem"
+ ".TransitionSystemLoader.parseErrorTransition()");
System.err.println(currentLine);
throw new IllegalStateException(
"The error Transition is not parsed corretly");
}
if(error.equals("")){
error = null;
}
if(stackTrace.equals("")){
stackTrace = null;
}
return new Transition(guard, error, stackTrace, post, false, true);
}
private Transition parseOkTransition() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
Expression guard;
if (nextTokenIs(TransitionEncoding.guard)) {
guard = parseGuard();
} else {
throw new IllegalStateException("The input file is malformed."
+ "Missign Guard in Transition");
}
Map<Variable, Expression<Boolean>> post = new HashMap<>();
if (nextTokenIs(TransitionEncoding.transitionBody)) {
currentLine = currentLine.substring(2);
while (nextTokenIs(TransitionEncoding.effect)) {
post = parseTransitionEffect(post);
}
if (!currentLine.replace("\n", "").equals(";;")) {
throw new IllegalStateException(
"The transition Line cannot be parsed entirely");
}
}
return new Transition(guard, post, true, false);
}
private Map<Variable, Expression<Boolean>> parseTransitionEffect(Map<Variable, Expression<Boolean>> post) throws ImpreciseRepresentationException{
currentLine = currentLine.substring(2);
Variable effectedVar = null;
if (nextTokenIs(TransitionEncoding.variable)) {
effectedVar = parseVariable();
currentLine = currentLine.substring(1);
}
Expression effect = parseNextExpression();
if (currentLine.startsWith(";")) {
currentLine = currentLine.substring(1);
}
post.put(effectedVar, effect);
return post;
}
private BitvectorExpression parseBitVectorExpression() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
Expression left = parseNextExpression();
currentLine = currentLine.substring(1);
BitvectorOperator operator;
if (nextTokenIs(TransitionEncoding.bitVectorOperator)) {
currentLine = currentLine.substring(1);
int operatorEnde = currentLine.indexOf(";");
String readOperator = currentLine.substring(0, operatorEnde);
operator = BitvectorOperator.valueOf(readOperator);
currentLine = currentLine.substring(operatorEnde + 1);
} else {
throw new IllegalStateException(
"The next token must be an BitVectorOperator");
}
currentLine = currentLine.substring(1);
Expression right = parseNextExpression();
return new BitvectorExpression(left, operator, right);
}
private BitvectorNegation parseBitvectorNeagtion() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
Expression negated = parseNextExpression();
currentLine = currentLine.substring(1);
return new BitvectorNegation(negated);
}
private Constant parseConstant() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
int endValue = currentLine.indexOf(':');
String value = currentLine.substring(0, endValue);
currentLine = currentLine.substring(endValue + 1);
endValue = currentLine.indexOf(';');
String type = currentLine.substring(0, endValue);
currentLine = currentLine.substring(endValue + 1);
return Constant.createParsed(resolveType(type), value);
}
private Negation parseNegation() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
Expression negated = parseNextExpression();
currentLine = currentLine.substring(1);
return new Negation(negated);
}
private NumericBooleanExpression parseNumericBooleanExpression() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
Expression left = parseNextExpression();
currentLine = currentLine.substring(3);
int endOperator = currentLine.indexOf(';');
String operator = currentLine.substring(0, endOperator);
NumericComparator op = NumericComparator.fromString(operator);
currentLine = currentLine.substring(endOperator + 2);
Expression right = parseNextExpression();
currentLine = currentLine.substring(1);
return new NumericBooleanExpression(left, op, right);
}
private NumericCompound parseNumericCompound() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
Expression left = parseNextExpression();
currentLine = currentLine.substring(3);
int endOperator = currentLine.indexOf(';');
String operator = currentLine.substring(0, endOperator);
NumericOperator op = NumericOperator.fromString(operator);
currentLine = currentLine.substring(endOperator + 2);
Expression right = parseNextExpression();
currentLine = currentLine.substring(1);
return new NumericCompound(left, op, right);
}
private PropositionalCompound parsePropositionalCompound() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
Expression left = parseNextExpression();
currentLine = currentLine.substring(3);
int endOperator = currentLine.indexOf(';');
String operator = currentLine.substring(0, endOperator);
LogicalOperator op = LogicalOperator.fromString(operator);
currentLine = currentLine.substring(endOperator + 2);
Expression right = parseNextExpression();
currentLine = currentLine.substring(1);
return new PropositionalCompound(left, op, right);
}
private UnaryMinus parseUnaryMinus() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
Expression unaryExpression = parseNextExpression();
currentLine = currentLine.substring(1);
return UnaryMinus.create(unaryExpression);
}
private Valuation parseInitialValuation() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
Valuation result = new Valuation();
while (nextTokenIs(TransitionEncoding.valuationEntry)) {
currentLine = currentLine.substring(2);
Variable var = parseVariable();
currentLine = currentLine.substring(1);
int endValue = currentLine.indexOf(';');
String value = currentLine.substring(0, endValue);
currentLine = currentLine.substring(endValue + 1);
ValuationEntry entry
= new ValuationEntry(var, var.getType().parse(value));
result.addEntry(entry);
}
currentLine = currentLine.substring(1).replace("\n", "");
if (!currentLine.isEmpty()) {
throw new IllegalStateException("Valuation not finished");
}
return result;
}
public static TransitionSystem load(String fileName) throws ImpreciseRepresentationException {
TransitionSystemLoader loader = new TransitionSystemLoader(fileName);
return loader.parseFile();
}
private Expression parseGuard() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
Expression guard = parseNextExpression();
currentLine = currentLine.substring(1);
return guard;
}
private Variable parseVariable() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
int endName = currentLine.indexOf(':');
String name = currentLine.substring(0, endName);
currentLine = currentLine.substring(endName);
endName = currentLine.indexOf(';');
String type = currentLine.substring(1, endName);
currentLine = currentLine.substring(endName + 1);
return Variable.create(resolveType(type), name);
}
private boolean nextTokenIs(char tokenType) {
String prefix = String.valueOf(tokenType);
return currentLine.startsWith(prefix);
}
private ConcreteType resolveType(String encodedType) {
switch(encodedType){
case "gov.nasa.jpf.constraints.types.BuiltinTypes$SInt32Type":
return BuiltinTypes.SINT32;
case "gov.nasa.jpf.constraints.types.BuiltinTypes$SInt16Type":
return BuiltinTypes.SINT16;
case "gov.nasa.jpf.constraints.types.BuiltinTypes$SInt8Type":
return BuiltinTypes.SINT8;
case "gov.nasa.jpf.constraints.types.BuiltinTypes$SInt64Type":
return BuiltinTypes.SINT64;
case "gov.nasa.jpf.constraints.types.BuiltinTypes$BoolType":
return BuiltinTypes.BOOL;
case "gov.nasa.jpf.constraints.types.BuiltinTypes$DecimalType":
return BuiltinTypes.DECIMAL;
case "gov.nasa.jpf.constraints.types.BuiltinTypes$DoubleType":
return BuiltinTypes.DOUBLE;
case "gov.nasa.jpf.constraints.types.BuiltinTypes$FloatType":
return BuiltinTypes.FLOAT;
case "gov.nasa.jpf.constraints.types.BuiltinTypes$UInt16Type":
return BuiltinTypes.UINT16;
default:
System.err.println("gov.nasa.jstateexplorer.transitionSystem.TransitionSystemLoader.resolveType()");
System.err.println(encodedType);
System.err.flush();
throw new IllegalStateException("This Type is unknown: " + encodedType);
}
}
private Expression parseNextExpression() throws ImpreciseRepresentationException {
char nextExpressionType = currentLine.charAt(0);
switch (nextExpressionType) {
case TransitionEncoding.bitVector:
return parseBitVectorExpression();
case TransitionEncoding.bitVectorNegation:
return parseBitvectorNeagtion();
case TransitionEncoding.constant:
return parseConstant();
case TransitionEncoding.negation:
return parseNegation();
case TransitionEncoding.numericBooleanExpression:
return parseNumericBooleanExpression();
case TransitionEncoding.numericCompund:
return parseNumericCompound();
case TransitionEncoding.propositionalCompound:
return parsePropositionalCompound();
case TransitionEncoding.unaryMinus:
return parseUnaryMinus();
case TransitionEncoding.variable:
return parseVariable();
case TransitionEncoding.cast:
return parseCastExpression();
default:
System.err.println("gov.nasa.jpf.psyco.search.transitionSystem"
+ ".TransitionSystemLoader.parseNextExpression()");
System.err.println("line: " + currentLine);
throw new IllegalStateException("Cannot parse next Expression.");
}
}
private Expression parseCastExpression() throws ImpreciseRepresentationException {
currentLine = currentLine.substring(2);
Expression casted = parseNextExpression();
currentLine = currentLine.substring(1);
int index = currentLine.indexOf(";");
String type = currentLine.substring(0, index);
currentLine = currentLine.substring(index +1);
return CastExpression.create(casted, resolveType(type));
}
}
|
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.elasticsearch.search.aggregations;
import org.elasticsearch.action.support.ToXContentToBytes;
import org.elasticsearch.common.ParsingException;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.common.io.stream.Writeable;
import org.elasticsearch.common.xcontent.XContentBuilder;
import org.elasticsearch.common.xcontent.XContentParser;
import org.elasticsearch.index.query.QueryParseContext;
import org.elasticsearch.search.aggregations.pipeline.PipelineAggregator;
import org.elasticsearch.search.aggregations.support.AggregationPath;
import org.elasticsearch.search.aggregations.support.AggregationPath.PathElement;
import org.elasticsearch.search.internal.SearchContext;
import org.elasticsearch.search.profile.Profilers;
import org.elasticsearch.search.profile.aggregation.ProfilingAggregator;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
*
*/
public class AggregatorFactories {
public static final Pattern VALID_AGG_NAME = Pattern.compile("[^\\[\\]>]+");
/**
* Parses the aggregation request recursively generating aggregator factories in turn.
*
* @param parseContext The parse context.
*
* @return The parsed aggregator factories.
*
* @throws IOException When parsing fails for unknown reasons.
*/
public static AggregatorFactories.Builder parseAggregators(QueryParseContext parseContext) throws IOException {
return parseAggregators(parseContext, 0);
}
private static AggregatorFactories.Builder parseAggregators(QueryParseContext parseContext, int level) throws IOException {
Matcher validAggMatcher = VALID_AGG_NAME.matcher("");
AggregatorFactories.Builder factories = new AggregatorFactories.Builder();
XContentParser.Token token = null;
XContentParser parser = parseContext.parser();
while ((token = parser.nextToken()) != XContentParser.Token.END_OBJECT) {
if (token != XContentParser.Token.FIELD_NAME) {
throw new ParsingException(parser.getTokenLocation(),
"Unexpected token " + token + " in [aggs]: aggregations definitions must start with the name of the aggregation.");
}
final String aggregationName = parser.currentName();
if (!validAggMatcher.reset(aggregationName).matches()) {
throw new ParsingException(parser.getTokenLocation(), "Invalid aggregation name [" + aggregationName
+ "]. Aggregation names must be alpha-numeric and can only contain '_' and '-'");
}
token = parser.nextToken();
if (token != XContentParser.Token.START_OBJECT) {
throw new ParsingException(parser.getTokenLocation(), "Aggregation definition for [" + aggregationName + " starts with a ["
+ token + "], expected a [" + XContentParser.Token.START_OBJECT + "].");
}
BaseAggregationBuilder aggBuilder = null;
AggregatorFactories.Builder subFactories = null;
Map<String, Object> metaData = null;
while ((token = parser.nextToken()) != XContentParser.Token.END_OBJECT) {
if (token != XContentParser.Token.FIELD_NAME) {
throw new ParsingException(
parser.getTokenLocation(), "Expected [" + XContentParser.Token.FIELD_NAME + "] under a ["
+ XContentParser.Token.START_OBJECT + "], but got a [" + token + "] in [" + aggregationName + "]",
parser.getTokenLocation());
}
final String fieldName = parser.currentName();
token = parser.nextToken();
if (token == XContentParser.Token.START_OBJECT) {
switch (fieldName) {
case "meta":
metaData = parser.map();
break;
case "aggregations":
case "aggs":
if (subFactories != null) {
throw new ParsingException(parser.getTokenLocation(),
"Found two sub aggregation definitions under [" + aggregationName + "]");
}
subFactories = parseAggregators(parseContext, level + 1);
break;
default:
if (aggBuilder != null) {
throw new ParsingException(parser.getTokenLocation(), "Found two aggregation type definitions in ["
+ aggregationName + "]: [" + aggBuilder.getType() + "] and [" + fieldName + "]");
}
aggBuilder = parser.namedObject(BaseAggregationBuilder.class, fieldName,
new AggParseContext(aggregationName, parseContext));
}
} else {
throw new ParsingException(parser.getTokenLocation(), "Expected [" + XContentParser.Token.START_OBJECT + "] under ["
+ fieldName + "], but got a [" + token + "] in [" + aggregationName + "]");
}
}
if (aggBuilder == null) {
throw new ParsingException(parser.getTokenLocation(), "Missing definition for aggregation [" + aggregationName + "]",
parser.getTokenLocation());
} else {
if (metaData != null) {
aggBuilder.setMetaData(metaData);
}
if (subFactories != null) {
aggBuilder.subAggregations(subFactories);
}
if (aggBuilder instanceof AggregationBuilder) {
factories.addAggregator((AggregationBuilder) aggBuilder);
} else {
factories.addPipelineAggregator((PipelineAggregationBuilder) aggBuilder);
}
}
}
return factories;
}
/**
* Context to parse and aggregation. This should eventually be removed and replaced with a String.
*/
public static final class AggParseContext {
public final String name;
public final QueryParseContext queryParseContext;
public AggParseContext(String name, QueryParseContext queryParseContext) {
this.name = name;
this.queryParseContext = queryParseContext;
}
}
public static final AggregatorFactories EMPTY = new AggregatorFactories(null, new AggregatorFactory<?>[0],
new ArrayList<PipelineAggregationBuilder>());
private AggregatorFactory<?> parent;
private AggregatorFactory<?>[] factories;
private List<PipelineAggregationBuilder> pipelineAggregatorFactories;
public static Builder builder() {
return new Builder();
}
private AggregatorFactories(AggregatorFactory<?> parent, AggregatorFactory<?>[] factories,
List<PipelineAggregationBuilder> pipelineAggregators) {
this.parent = parent;
this.factories = factories;
this.pipelineAggregatorFactories = pipelineAggregators;
}
public List<PipelineAggregator> createPipelineAggregators() throws IOException {
List<PipelineAggregator> pipelineAggregators = new ArrayList<>(this.pipelineAggregatorFactories.size());
for (PipelineAggregationBuilder factory : this.pipelineAggregatorFactories) {
pipelineAggregators.add(factory.create());
}
return pipelineAggregators;
}
// hack to avoid token_ranges filtering when aggregating on token range.
public boolean hasTokenRangeAggregation() {
return factories.length > 0 && (factories[0] instanceof org.elassandra.search.aggregations.bucket.token.RangeAggregatorFactory);
}
/**
* Create all aggregators so that they can be consumed with multiple
* buckets.
*/
public Aggregator[] createSubAggregators(Aggregator parent) throws IOException {
Aggregator[] aggregators = new Aggregator[countAggregators()];
for (int i = 0; i < factories.length; ++i) {
// TODO: sometimes even sub aggregations always get called with bucket 0, eg. if
// you have a terms agg under a top-level filter agg. We should have a way to
// propagate the fact that only bucket 0 will be collected with single-bucket
// aggs
final boolean collectsFromSingleBucket = false;
Aggregator factory = factories[i].create(parent, collectsFromSingleBucket);
Profilers profilers = factory.context().getProfilers();
if (profilers != null) {
factory = new ProfilingAggregator(factory, profilers.getAggregationProfiler());
}
aggregators[i] = factory;
}
return aggregators;
}
public Aggregator[] createTopLevelAggregators() throws IOException {
// These aggregators are going to be used with a single bucket ordinal, no need to wrap the PER_BUCKET ones
Aggregator[] aggregators = new Aggregator[factories.length];
for (int i = 0; i < factories.length; i++) {
// top-level aggs only get called with bucket 0
final boolean collectsFromSingleBucket = true;
Aggregator factory = factories[i].create(null, collectsFromSingleBucket);
Profilers profilers = factory.context().getProfilers();
if (profilers != null) {
factory = new ProfilingAggregator(factory, profilers.getAggregationProfiler());
}
aggregators[i] = factory;
}
return aggregators;
}
/**
* @return the number of sub-aggregator factories not including pipeline
* aggregator factories
*/
public int countAggregators() {
return factories.length;
}
/**
* @return the number of pipeline aggregator factories
*/
public int countPipelineAggregators() {
return pipelineAggregatorFactories.size();
}
public void validate() {
for (AggregatorFactory<?> factory : factories) {
factory.validate();
}
for (PipelineAggregationBuilder factory : pipelineAggregatorFactories) {
factory.validate(parent, factories, pipelineAggregatorFactories);
}
}
public static class Builder extends ToXContentToBytes implements Writeable {
private final Set<String> names = new HashSet<>();
private final List<AggregationBuilder> aggregationBuilders = new ArrayList<>();
private final List<PipelineAggregationBuilder> pipelineAggregatorBuilders = new ArrayList<>();
private boolean skipResolveOrder;
/**
* Create an empty builder.
*/
public Builder() {
}
/**
* Read from a stream.
*/
public Builder(StreamInput in) throws IOException {
int factoriesSize = in.readVInt();
for (int i = 0; i < factoriesSize; i++) {
addAggregator(in.readNamedWriteable(AggregationBuilder.class));
}
int pipelineFactoriesSize = in.readVInt();
for (int i = 0; i < pipelineFactoriesSize; i++) {
addPipelineAggregator(in.readNamedWriteable(PipelineAggregationBuilder.class));
}
}
@Override
public void writeTo(StreamOutput out) throws IOException {
out.writeVInt(this.aggregationBuilders.size());
for (AggregationBuilder factory : aggregationBuilders) {
out.writeNamedWriteable(factory);
}
out.writeVInt(this.pipelineAggregatorBuilders.size());
for (PipelineAggregationBuilder factory : pipelineAggregatorBuilders) {
out.writeNamedWriteable(factory);
}
}
public Builder addAggregators(AggregatorFactories factories) {
throw new UnsupportedOperationException("This needs to be removed");
}
public Builder addAggregator(AggregationBuilder factory) {
if (!names.add(factory.name)) {
throw new IllegalArgumentException("Two sibling aggregations cannot have the same name: [" + factory.name + "]");
}
aggregationBuilders.add(factory);
return this;
}
public Builder addPipelineAggregator(PipelineAggregationBuilder pipelineAggregatorFactory) {
this.pipelineAggregatorBuilders.add(pipelineAggregatorFactory);
return this;
}
/**
* FOR TESTING ONLY
*/
Builder skipResolveOrder() {
this.skipResolveOrder = true;
return this;
}
public AggregatorFactories build(SearchContext context, AggregatorFactory<?> parent) throws IOException {
if (aggregationBuilders.isEmpty() && pipelineAggregatorBuilders.isEmpty()) {
return EMPTY;
}
List<PipelineAggregationBuilder> orderedpipelineAggregators = null;
if (skipResolveOrder) {
orderedpipelineAggregators = new ArrayList<>(pipelineAggregatorBuilders);
} else {
orderedpipelineAggregators = resolvePipelineAggregatorOrder(this.pipelineAggregatorBuilders, this.aggregationBuilders);
}
AggregatorFactory<?>[] aggFactories = new AggregatorFactory<?>[aggregationBuilders.size()];
for (int i = 0; i < aggregationBuilders.size(); i++) {
aggFactories[i] = aggregationBuilders.get(i).build(context, parent);
}
return new AggregatorFactories(parent, aggFactories, orderedpipelineAggregators);
}
private List<PipelineAggregationBuilder> resolvePipelineAggregatorOrder(
List<PipelineAggregationBuilder> pipelineAggregatorBuilders, List<AggregationBuilder> aggBuilders) {
Map<String, PipelineAggregationBuilder> pipelineAggregatorBuildersMap = new HashMap<>();
for (PipelineAggregationBuilder builder : pipelineAggregatorBuilders) {
pipelineAggregatorBuildersMap.put(builder.getName(), builder);
}
Map<String, AggregationBuilder> aggBuildersMap = new HashMap<>();
for (AggregationBuilder aggBuilder : aggBuilders) {
aggBuildersMap.put(aggBuilder.name, aggBuilder);
}
List<PipelineAggregationBuilder> orderedPipelineAggregatorrs = new LinkedList<>();
List<PipelineAggregationBuilder> unmarkedBuilders = new ArrayList<PipelineAggregationBuilder>(pipelineAggregatorBuilders);
Set<PipelineAggregationBuilder> temporarilyMarked = new HashSet<PipelineAggregationBuilder>();
while (!unmarkedBuilders.isEmpty()) {
PipelineAggregationBuilder builder = unmarkedBuilders.get(0);
resolvePipelineAggregatorOrder(aggBuildersMap, pipelineAggregatorBuildersMap, orderedPipelineAggregatorrs, unmarkedBuilders,
temporarilyMarked, builder);
}
return orderedPipelineAggregatorrs;
}
private void resolvePipelineAggregatorOrder(Map<String, AggregationBuilder> aggBuildersMap,
Map<String, PipelineAggregationBuilder> pipelineAggregatorBuildersMap,
List<PipelineAggregationBuilder> orderedPipelineAggregators, List<PipelineAggregationBuilder> unmarkedBuilders,
Set<PipelineAggregationBuilder> temporarilyMarked, PipelineAggregationBuilder builder) {
if (temporarilyMarked.contains(builder)) {
throw new IllegalArgumentException("Cyclical dependency found with pipeline aggregator [" + builder.getName() + "]");
} else if (unmarkedBuilders.contains(builder)) {
temporarilyMarked.add(builder);
String[] bucketsPaths = builder.getBucketsPaths();
for (String bucketsPath : bucketsPaths) {
List<AggregationPath.PathElement> bucketsPathElements = AggregationPath.parse(bucketsPath).getPathElements();
String firstAggName = bucketsPathElements.get(0).name;
if (bucketsPath.equals("_count") || bucketsPath.equals("_key")) {
continue;
} else if (aggBuildersMap.containsKey(firstAggName)) {
AggregationBuilder aggBuilder = aggBuildersMap.get(firstAggName);
for (int i = 1; i < bucketsPathElements.size(); i++) {
PathElement pathElement = bucketsPathElements.get(i);
String aggName = pathElement.name;
if ((i == bucketsPathElements.size() - 1) && (aggName.equalsIgnoreCase("_key") || aggName.equals("_count"))) {
break;
} else {
// Check the non-pipeline sub-aggregator
// factories
List<AggregationBuilder> subBuilders = aggBuilder.factoriesBuilder.aggregationBuilders;
boolean foundSubBuilder = false;
for (AggregationBuilder subBuilder : subBuilders) {
if (aggName.equals(subBuilder.name)) {
aggBuilder = subBuilder;
foundSubBuilder = true;
break;
}
}
// Check the pipeline sub-aggregator factories
if (!foundSubBuilder && (i == bucketsPathElements.size() - 1)) {
List<PipelineAggregationBuilder> subPipelineBuilders = aggBuilder.factoriesBuilder.pipelineAggregatorBuilders;
for (PipelineAggregationBuilder subFactory : subPipelineBuilders) {
if (aggName.equals(subFactory.getName())) {
foundSubBuilder = true;
break;
}
}
}
if (!foundSubBuilder) {
throw new IllegalArgumentException("No aggregation [" + aggName + "] found for path [" + bucketsPath
+ "]");
}
}
}
continue;
} else {
PipelineAggregationBuilder matchingBuilder = pipelineAggregatorBuildersMap.get(firstAggName);
if (matchingBuilder != null) {
resolvePipelineAggregatorOrder(aggBuildersMap, pipelineAggregatorBuildersMap, orderedPipelineAggregators,
unmarkedBuilders, temporarilyMarked, matchingBuilder);
} else {
throw new IllegalArgumentException("No aggregation found for path [" + bucketsPath + "]");
}
}
}
unmarkedBuilders.remove(builder);
temporarilyMarked.remove(builder);
orderedPipelineAggregators.add(builder);
}
}
public List<AggregationBuilder> getAggregatorFactories() {
return Collections.unmodifiableList(aggregationBuilders);
}
public List<PipelineAggregationBuilder> getPipelineAggregatorFactories() {
return Collections.unmodifiableList(pipelineAggregatorBuilders);
}
public int count() {
return aggregationBuilders.size() + pipelineAggregatorBuilders.size();
}
@Override
public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
builder.startObject();
if (aggregationBuilders != null) {
for (AggregationBuilder subAgg : aggregationBuilders) {
subAgg.toXContent(builder, params);
}
}
if (pipelineAggregatorBuilders != null) {
for (PipelineAggregationBuilder subAgg : pipelineAggregatorBuilders) {
subAgg.toXContent(builder, params);
}
}
builder.endObject();
return builder;
}
@Override
public int hashCode() {
return Objects.hash(aggregationBuilders, pipelineAggregatorBuilders);
}
@Override
public boolean equals(Object obj) {
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
Builder other = (Builder) obj;
if (!Objects.equals(aggregationBuilders, other.aggregationBuilders))
return false;
if (!Objects.equals(pipelineAggregatorBuilders, other.pipelineAggregatorBuilders))
return false;
return true;
}
}
}
|
package com.example.student;
import lombok.extern.log4j.Log4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicInteger;
/**
* @Author:Zach
* @Description: 定制属于自己的非阻塞线程池
* @Date:Created in 15:26 2018/8/14
* @Modified By:
*/
public class CustomThreadPoolExecutor {
private static Logger log= LoggerFactory.getLogger(CustomThreadPoolExecutor.class);
private ThreadPoolExecutor pool = null;
/**
* 线程池初始化方法
*
* corePoolSize 核心线程池大小----10
* maximumPoolSize 最大线程池大小----30
* keepAliveTime 线程池中超过corePoolSize数目的空闲线程最大存活时间----30+单位TimeUnit
* TimeUnit keepAliveTime时间单位----TimeUnit.MINUTES
* workQueue 阻塞队列----new ArrayBlockingQueue<Runnable>(10)====10容量的阻塞队列
* threadFactory 新建线程工厂----new CustomThreadFactory()====定制的线程工厂
* rejectedExecutionHandler 当提交任务数超过maxmumPoolSize+workQueue之和时,
* 即当提交第41个任务时(前面线程都没有执行完,此测试方法中用sleep(100)),
* 任务会交给RejectedExecutionHandler来处理
*/
public void init() {
pool = new ThreadPoolExecutor(2,4,30,
TimeUnit.MINUTES,new ArrayBlockingQueue<Runnable>(10),new CustomThreadFactory(), new CustomRejectedExecutionHandler());
}
public void destory() {
if(pool !=null) {
pool.shutdownNow();
}
}
public ExecutorService getCustomThreadPoolExecutor() {
return this.pool;
}
private class CustomRejectedExecutionHandler implements RejectedExecutionHandler {
@Override
public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) {
//记录异常
log.error("error...................");
/*System.out.println("error...................");*/
BlockingQueue<Runnable> queue = executor.getQueue();
try {
//executor.getQueue().put(r);
} catch (Exception e) {
e.printStackTrace();
}
//queue.add(r);
log.info("size....................."+queue.size());
}
}
private class CustomThreadFactory implements ThreadFactory {
private AtomicInteger count = new AtomicInteger(0);
@Override
public Thread newThread(Runnable r) {
Thread t = new Thread(r);
String threadName = CustomThreadPoolExecutor.class.getSimpleName()+count.addAndGet(1);
log.info(threadName);
t.setName(threadName);
return t;
}
}
public static void main(String[] args){
CustomThreadPoolExecutor exec = new CustomThreadPoolExecutor();
//1. 初始化
exec.init();
ExecutorService pool = exec.getCustomThreadPoolExecutor();
for(int i=0;i<101;i++) {
log.info("提交第"+i+"个任务");
String j=i+"";
Future<?> submit = pool.submit(new Callable<Object>() {
@Override
public Object call() throws Exception {
log.info(">>>callable is running========"+j);
return null;
}
});
/*pool.execute(new Runnable() {
@Override
public void run() {
try {
log.info(">>>runnable is running========");
Thread.sleep(3000);
}catch (InterruptedException e){
e.printStackTrace();
}
}
});
*/
}
//2. 销毁----此处不能销毁,因为任务没有提交执行完,如果销毁线程池,任务也就无法执行
//exec.destory();
try {
Thread.sleep(10000);
exec.destory();
}catch (InterruptedException e) {
e.printStackTrace();
}
}
/**
* 方法中建立一个核心线程数为30个,缓冲队列有10个的线程池。每个线程任务,执行时会先睡眠3秒,保证提交10任务时,线程数目被占用完,再提交30任务时,阻塞队列被占用完,,这样提交第41个任务是,会交给CustomRejectedExecutionHandler 异常处理类来处理。
提交任务的代码如下:
/*
* Proceed in 3 steps:
*
* 1. If fewer than corePoolSize threads are running, try to
* start a new thread with the given command as its first
* task. The call to addWorker atomically checks runState and
* workerCount, and so prevents false alarms that would add
* threads when it shouldn't, by returning false.
*
* 2. If a task can be successfully queued, then we still need
* to double-check whether we should have added a thread
* (because existing ones died since last checking) or that
* the pool shut down since entry into this method. So we
* recheck state and if necessary roll back the enqueuing if
* stopped, or start a new thread if there are none.
*
* 3. If we cannot queue task, then we try to add a new
* thread. If it fails, we know we are shut down or saturated
* and so reject the task.
*/
/**
public void execute(Runnable command) {
if (command == null)
throw new NullPointerException();
int c = ctl.get();
if (workerCountOf(c) < corePoolSize) {
if (addWorker(command, true))
return;
c = ctl.get();
}
if (isRunning(c) && workQueue.offer(command)) {
int recheck = ctl.get();
if (! isRunning(recheck) && remove(command))
reject(command);
else if (workerCountOf(recheck) == 0)
addWorker(null, false);
}
else if (!addWorker(command, false))
reject(command);
}
注意:41以后提交的任务就不能正常处理了,因为,execute中提交到任务队列是用的offer方法,如上面代码,
这个方法是非阻塞的,所以就会交给CustomRejectedExecutionHandler 来处理,
所以对于大数据量的任务来说,这种线程池,如果不设置队列长度会OOM,设置队列长度,会有任务得不到处理,接下来我们构建一个阻塞的自定义线程池
*/
}
|
package Tree;
import java.util.LinkedList;
import java.util.Queue;
public class BST<E extends Comparable<E>>{
public class Node{
public E element;
public Node left, right;
public Node(E e){
this.element = e;
this.left = null;
this.right = null;
}
}
private Node root;
private int size;
public BST(){
this.root = null;
this.size = 0;
}
public int getSize(){
return this.size;
}
public boolean isEmpty(){
return this.size == 0;
}
// add an element to BST
public void add(E e){
root = add(this.root, e);
}
private Node add(Node root, E e){
if(root == null){
size ++;
return new Node(e);
}
if(e.compareTo(root.element) < 0){
root.left = add(root.left, e);
}
else if (e.compareTo(root.element) > 0){
root.right = add(root.right, e);
}
return root; // if root is not a null , just return itself.
}
public boolean contains(E e){
return contains(this.root, e);
}
private boolean contains(Node root, E e){
if(root == null)
return false;
if(e.compareTo(root.element) == 0)
return true;
if(e.compareTo(root.element) < 0)
return contains(root.left, e);
else
return contains(root.right, e);
}
public void preOrder(){
preOrder(this.root);
}
private void preOrder(Node root){
if(root == null)
return;
System.out.println(root.element);
preOrder(root.left);
preOrder(root.right);
}
public void inOrder(){
inOrder(this.root);
}
private void inOrder(Node root){
if(root == null){
return;
}
inOrder(root.left);
System.out.println(root.element);
inOrder(root.right);
}
public void postOrder(){
postOrder(this.root);
}
public void postOrder(Node root){
if (root == null){
return;
}
postOrder(root.left);
postOrder(root.right);
System.out.println(root.element);
}
public void levelOrder(){
if (this.root == null){
return;
}
Queue<Node> q = new LinkedList<>();
q.add(root);
while (!isEmpty()){
Node curr = q.remove();
System.out.println(curr.element);
if(curr.left != null){
q.add(curr.left);
}
if(curr.right != null){
q.add(curr.right);
}
}
}
public E Mininum(){
return Mininum(this.root).element;
}
private Node Mininum(Node root){
if (root.left == null){
return root;
}
return Mininum(root.left);
}
public E Maxinum(){
return Maxinum(this.root).element;
}
public Node Maxinum(Node root){
if (root == null){
return root;
}
return Maxinum(root.right);
}
public E removeMin(){
E min = Mininum();
root = removeMin(root);
return min;
}
//remove the mininum node and return the root of the tree
private Node removeMin(Node root){
if (root.left == null){
Node rightChild = root.right;
root.right = null;
size --;
return rightChild;
}
root.left = removeMin(root.left);
return root;
}
public E removeMax(){
E max = Maxinum();
root = removeMax(root);
return max;
}
private Node removeMax(Node root){
if (root.right == null){
Node leftChild = root.left;
root.left = null;
size --;
return leftChild;
}
root.right = removeMax(root.right);
return root;
}
@Override
public String toString(){
StringBuilder res = new StringBuilder();
generateBSTString(root, 0, res);
return res.toString();
}
private void generateBSTString(Node root, int depth, StringBuilder res){
if(root == null){
res.append(generateDepthString(depth) + "null\n");
return;
}
res.append(generateDepthString(depth) + root.element + "\n");
generateBSTString(root.left, depth+1, res);
generateBSTString(root.right, depth+1, res);
}
private String generateDepthString(int depth){
StringBuilder res = new StringBuilder();
for(int i = 0; i < depth; i++)
res.append("--");
return res.toString();
}
}
|
package by.bulba.android.environments.parser;
import by.bulba.android.environments.config.ConfigType;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import java.util.stream.Stream;
import static org.junit.jupiter.api.Assertions.*;
class ObjectConfigTypeParserTest {
private ConfigTypeParser<Object> parser = new ObjectConfigTypeParser();
private static Stream<Arguments> provideConfigTypeArguments() {
return Stream.of(
Arguments.of(1, ConfigType.INTEGER, "1"),
Arguments.of(2L, ConfigType.INTEGER, "2"),
Arguments.of(3.1, ConfigType.FLOAT, "3.1f"),
Arguments.of(true, ConfigType.BOOLEAN, "true"),
Arguments.of("some_res", ConfigType.STRING, "\"some_res\"")
);
}
@ParameterizedTest
@MethodSource("provideConfigTypeArguments")
public void checkParseConfigType(Object value, ConfigType expectedType) {
assertEquals(expectedType, parser.parse(value));
}
}
|
package com.codepath.apps.mocktwitterapp.models;
import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;
import com.activeandroid.query.Select;
import org.json.JSONObject;
import org.parceler.Parcel;
/**
* Created by lily_chen on 10/31/16.
*/
@Parcel(analyze = {User.class})
@Table(name="Users")
public class User extends Model{
@Column(name = "name", unique = true, onUniqueConflict = Column.ConflictAction.REPLACE)
String name;
@Column(name = "remote_id", unique = true, onUniqueConflict = Column.ConflictAction.REPLACE)
long id;
@Column(name = "screen_name")
String screenName;
@Column(name = "profile_image_url")
String profileImageUrl;
@Column(name = "header_image_url")
String headerImageUrl;
@Column(name = "followers")
int followers;
@Column(name = "following")
int following;
@Column(name = "description")
String description;
public String getName() {
return name;
}
public long getUserId() {
return id;
}
public String getScreenName() {
return screenName;
}
public String getProfileImageUrl() {
return profileImageUrl;
}
public String getHeaderImageUrl() {
return headerImageUrl;
}
public int getFollowers() {
return followers;
}
public int getFollowing() {
return following;
}
public String getDescription() {
return description;
}
public User() {}
public static User fromJSON(JSONObject jsonObject) {
User user = new User();
try {
user.name = jsonObject.getString("name");
user.id = jsonObject.getLong("id");
user.screenName = jsonObject.getString("screen_name");
user.profileImageUrl = jsonObject.getString("profile_image_url");
// won't always have the profile banner entry
try {
user.headerImageUrl = jsonObject.getString("profile_banner_url");
} catch (Exception e) {
user.headerImageUrl = "";
}
user.followers = jsonObject.getInt("followers_count");
user.following = jsonObject.getInt("friends_count");
user.description = jsonObject.getString("description");
user.save();
} catch(Exception e){
e.printStackTrace();
}
return user;
}
// Finds existing user based on remoteId or creates new user and returns
public static User findOrCreateFromJson(JSONObject json) {
long rId = 0;
try {
rId = json.getLong("id"); // get just the remote id
} catch (Exception e) {
e.printStackTrace();
}
User existingUser =
new Select().from(User.class).where("remote_id = ?", rId).executeSingle();
if (existingUser != null) {
// found and return existing
return existingUser;
} else {
// create and return new user
User user = User.fromJSON(json);
user.save();
return user;
}
}
}
|
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.simplesystemsmanagement.model;
import javax.annotation.Generated;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public enum PlatformType {
Windows("Windows"),
Linux("Linux"),
MacOS("MacOS");
private String value;
private PlatformType(String value) {
this.value = value;
}
@Override
public String toString() {
return this.value;
}
/**
* Use this in place of valueOf.
*
* @param value
* real value
* @return PlatformType corresponding to the value
*
* @throws IllegalArgumentException
* If the specified value does not map to one of the known values in this enum.
*/
public static PlatformType fromValue(String value) {
if (value == null || "".equals(value)) {
throw new IllegalArgumentException("Value cannot be null or empty!");
}
for (PlatformType enumEntry : PlatformType.values()) {
if (enumEntry.toString().equals(value)) {
return enumEntry;
}
}
throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
}
}
|
copyright ibm corporation rights reserved program accompanying materials terms eclipse license accompanies distribution http eclipse org legal epl html contributors ibm corporation initial api implementation org eclipse pde internal wizards feature org eclipse jface dialogs i dialog settings idialogsettings org eclipse pde internal core util id util idutil org eclipse pde internal i help context ids ihelpcontextids org eclipse pde internal pde ui messages pdeuimessages org eclipse pde internal wizards bundle provider history util bundleproviderhistoryutil org eclipse swt swt org eclipse swt events modify listener modifylistener org eclipse swt layout grid data griddata org eclipse swt layout grid layout gridlayout org eclipse swt widgets feature spec page featurespecpage abstract feature spec page abstractfeaturespecpage combo f feature provider combo ffeatureprovidercombo text f feature id text ffeatureidtext feature spec page featurespecpage set title settitle pde ui messages pdeuimessages new feature wizard newfeaturewizard spec page specpage title set description setdescription pde ui messages pdeuimessages new feature wizard newfeaturewizard spec page specpage desc override initialize string project name projectname get project name getprojectname f initial id finitialid f feature id text ffeatureidtext set text settext id util idutil get valid id getvalidid project name projectname f initial name finitialname f feature name text ffeaturenametext set text settext project name projectname nls f feature version text ffeatureversiontext set text settext qualifier set message setmessage pde ui messages pdeuimessages new feature wizard newfeaturewizard main page mainpage desc override feature data featuredata get feature data getfeaturedata feature data featuredata data feature data featuredata data f feature id text ffeatureidtext get text gettext data version f feature version text ffeatureversiontext get text gettext data provider f feature provider combo ffeatureprovidercombo get text gettext data f feature name text ffeaturenametext get text gettext data library get install handler library getinstallhandlerlibrary data override string validate content validatecontent set message setmessage override string get help id gethelpid i help context ids ihelpcontextids feature data override create contents createcontents composite container group group group container swt group set layout setlayout grid layout gridlayout grid data griddata grid data griddata grid data griddata fill horizontal vertical indent verticalindent group set layout data setlayoutdata group set text settext pde ui messages pdeuimessages base feature spec page basefeaturespecpage feature properties group featurepropertiesgroup title label label label group swt label set text settext pde ui messages pdeuimessages new feature wizard newfeaturewizard spec page specpage f feature id text ffeatureidtext text group swt border f feature id text ffeatureidtext set layout data setlayoutdata grid data griddata grid data griddata fill horizontal create common input createcommoninput group label label group swt label set text settext pde ui messages pdeuimessages new feature wizard newfeaturewizard spec page specpage provider f feature provider combo ffeatureprovidercombo combo group swt border swt drop f feature provider combo ffeatureprovidercombo set layout data setlayoutdata grid data griddata grid data griddata fill horizontal bundle provider history util bundleproviderhistoryutil load history loadhistory f feature provider combo ffeatureprovidercombo get dialog settings getdialogsettings create install handler text createinstallhandlertext group override attach listeners attachlisteners modify listener modifylistener listener f feature provider combo ffeatureprovidercombo add modify listener addmodifylistener listener f feature id text ffeatureidtext add modify listener addmodifylistener listener override string get feature id getfeatureid f feature id text ffeatureidtext get text gettext override update name relative fields updatenamerelativefields f feature id text ffeatureidtext f feature name text ffeaturenametext f self modification fselfmodification string id util idutil get valid id getvalidid get project name getprojectname f feature id text ffeatureidtext set text settext f feature name text ffeaturenametext set text settext id util idutil get valid name getvalidname f feature provider combo ffeatureprovidercombo get text gettext length f feature provider combo ffeatureprovidercombo set text settext id util idutil get valid provider getvalidprovider f self modification fselfmodification override save settings savesettings i dialog settings idialogsettings settings bundle provider history util bundleproviderhistoryutil save history savehistory f feature provider combo ffeatureprovidercombo settings
|
package com.skytala.eCommerce.domain.accounting.relations.invoice.command.itemAssocType;
import org.apache.ofbiz.base.util.UtilMisc;
import org.apache.ofbiz.entity.Delegator;
import org.apache.ofbiz.entity.DelegatorFactory;
import org.apache.ofbiz.entity.GenericEntityException;
import org.apache.ofbiz.entity.GenericValue;
import com.skytala.eCommerce.domain.accounting.relations.invoice.event.itemAssocType.InvoiceItemAssocTypeDeleted;
import com.skytala.eCommerce.domain.accounting.relations.invoice.model.itemAssocType.InvoiceItemAssocType;
import com.skytala.eCommerce.framework.exceptions.RecordNotFoundException;
import com.skytala.eCommerce.framework.pubsub.Broker;
import com.skytala.eCommerce.framework.pubsub.Command;
import com.skytala.eCommerce.framework.pubsub.Event;
import org.apache.ofbiz.entity.GenericEntityNotFoundException;
public class DeleteInvoiceItemAssocType extends Command {
private String toBeDeletedId;
public DeleteInvoiceItemAssocType(String toBeDeletedId){
this.toBeDeletedId = toBeDeletedId;
}
@Override
public Event execute() {
Delegator delegator = DelegatorFactory.getDelegator("default");
boolean success = false;
try{
int countRemoved = delegator.removeByAnd("InvoiceItemAssocType", UtilMisc.toMap("invoiceItemAssocTypeId", toBeDeletedId));
if(countRemoved > 0) {
success = true;
}
else{
throw new RecordNotFoundException(InvoiceItemAssocType.class);
}
} catch (GenericEntityException e) {
System.err.println(e.getMessage());
if(e.getCause().getClass().equals(GenericEntityNotFoundException.class)) {
throw new RecordNotFoundException(InvoiceItemAssocType.class);
}
}
Event resultingEvent = new InvoiceItemAssocTypeDeleted(success);
Broker.instance().publish(resultingEvent);
return resultingEvent;
}
public String getToBeDeletedId() {
return toBeDeletedId;
}
public void setToBeDeletedId(String toBeDeletedId) {
this.toBeDeletedId = toBeDeletedId;
}
}
|
/*
* Copyright 2019-2020 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
*
* 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 org.vividus.bdd.transformer;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.io.IOException;
import java.util.Collections;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
import org.apache.commons.lang3.StringUtils;
import org.jbehave.core.model.ExamplesTable.TableProperties;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
import org.vividus.bdd.context.IBddVariableContext;
import org.vividus.http.client.HttpResponse;
import org.vividus.http.client.IHttpClient;
import org.vividus.util.ResourceUtils;
import org.vividus.util.UriUtils;
@ExtendWith(MockitoExtension.class)
class JsonRestApiTableTransformerTests
{
private static final String JSON_DATA = ResourceUtils.loadResource(JsonRestApiTableTransformerTests.class,
"data.json");
private static final String URL = "url";
private static final String URL_VALUE = "https://example.com/";
private static final String COLUMNS = "columns";
@Mock
private IBddVariableContext bddVariableContext;
@Mock
private IHttpClient httpClient;
@InjectMocks
private JsonRestApiTableTransformer jsonTableGenerator;
@Test
void testTransformFromUrl() throws IOException
{
HttpResponse httpResponse = mock(HttpResponse.class);
when(httpClient.doHttpGet(UriUtils.createUri(URL_VALUE))).thenReturn(httpResponse);
when(httpResponse.getResponseBodyAsString()).thenReturn(JSON_DATA);
testTransform(Map.entry(URL, URL_VALUE));
}
@Test
void testTransformFromVariable()
{
String varName = "varName";
when(bddVariableContext.getVariable(varName)).thenReturn(JSON_DATA);
testTransform(Map.entry("variable", varName));
}
private void testTransform(Entry<String, String> source)
{
Entry<String, String> columns = Map.entry(COLUMNS, "column_code=$.superCodes..code;"
+ "column_codeSystem=$.superCodes..codeSystem;column_type=$.superCodes..type");
Map<String, String> keyToJsonPathValue = Map.ofEntries(columns, source);
String expectedTable = "|column_code|column_codeSystem|column_type|\n|107214|VIVIDUS|A|\n|107224|VIVIDUS|B|"
+ "\n|107314|VIVIDUS|C|\n|107324|VIVIDUS|D|\n|107XX4|VIVIDUS|E|\n|1|true|F|";
String table = jsonTableGenerator.transform(StringUtils.EMPTY, null, createProperties(keyToJsonPathValue));
assertEquals(expectedTable, table);
}
@Test
void testSourceTransformPropertyIsNotSpecifiedException()
{
TableProperties properties = createProperties(Collections.singletonMap(COLUMNS, "key=value,url"));
IllegalArgumentException exception = assertThrows(IllegalArgumentException.class,
() -> jsonTableGenerator.transform(StringUtils.EMPTY, null, properties));
assertEquals("One of ExamplesTable properties must be set: either 'url' or 'variable'", exception.getMessage());
}
@Test
void testColumnsTransformPropertyIsNotSpecifiedException()
{
TableProperties properties = createProperties(Collections.singletonMap(URL, URL_VALUE));
IllegalArgumentException exception = assertThrows(IllegalArgumentException.class,
() -> jsonTableGenerator.transform(StringUtils.EMPTY, null, properties));
assertEquals("'columns' is not set in ExamplesTable properties", exception.getMessage());
}
private static TableProperties createProperties(Map<String, String> keyToJsonPathValue)
{
Properties properties = new Properties();
properties.putAll(keyToJsonPathValue);
return new TableProperties(properties);
}
}
|
package com.javamaster.b2c.cloud.test.common.util;
import com.javamaster.b2c.cloud.test.common.constant.ProjectConst;
import org.springframework.util.LinkedMultiValueMap;
public class HeaderUtils {
public static LinkedMultiValueMap<String, String> getMockChromeHeader(String cookies) {
LinkedMultiValueMap<String, String> headers = new LinkedMultiValueMap<>();
headers.add("Accept", "application/json, text/javascript, */*; q=0.01");
headers.add("Accept-Language", "zh-CN,zh;q=0.8");
headers.add("Cache-Control", "no-cache");
headers.add("Connection", "keep-alive");
headers.add("Host", ProjectConst.JAVAMASTER_HOST_NO_SCHEMA);
headers.add("Origin", ProjectConst.JAVAMASTER_HOST);
headers.add("Pragma", "no-cache");
headers.add("Referer", ProjectConst.JAVAMASTER_HOST + "/B2C40/modules/bookingnew/manage/login.html");
headers.add("User-Agent",
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36");
headers.add("X-Requested-With", "XMLHttpRequest");
if(cookies!=null){
headers.add("cookie",cookies);
}
return headers;
}
}
|
/*
* Copyright 2017-2019 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
*
* 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.micronaut.annotation.processing.visitor;
import io.micronaut.core.annotation.AnnotationMetadata;
import io.micronaut.core.annotation.Internal;
import io.micronaut.inject.ast.ClassElement;
import io.micronaut.inject.ast.ParameterElement;
import javax.lang.model.element.VariableElement;
import javax.lang.model.type.TypeMirror;
/**
* Implementation of the {@link ParameterElement} interface for Java.
*
* @author graemerocher
* @since 1.0
*/
@Internal
class JavaParameterElement extends AbstractJavaElement implements ParameterElement {
private final JavaVisitorContext visitorContext;
/**
* Default constructor.
*
* @param element The variable element
* @param annotationMetadata The annotation metadata
* @param visitorContext The visitor context
*/
JavaParameterElement(VariableElement element, AnnotationMetadata annotationMetadata, JavaVisitorContext visitorContext) {
super(element, annotationMetadata, visitorContext);
this.visitorContext = visitorContext;
}
@Override
public ClassElement getType() {
TypeMirror returnType = getNativeType().asType();
return mirrorToClassElement(returnType, visitorContext);
}
@Override
public VariableElement getNativeType() {
return (VariableElement) super.getNativeType();
}
}
|
/*
* Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hazelcast.client.impl.protocol.codec;
import com.hazelcast.client.impl.protocol.ClientMessage;
import com.hazelcast.client.impl.protocol.Generated;
import com.hazelcast.client.impl.protocol.codec.builtin.*;
import com.hazelcast.client.impl.protocol.codec.custom.*;
import javax.annotation.Nullable;
import static com.hazelcast.client.impl.protocol.ClientMessage.*;
import static com.hazelcast.client.impl.protocol.codec.builtin.FixedSizeTypesCodec.*;
/*
* This file is auto-generated by the Hazelcast Client Protocol Code Generator.
* To change this file, edit the templates or the protocol
* definitions on the https://github.com/hazelcast/hazelcast-client-protocol
* and regenerate it.
*/
/**
* Inserts the specified element into this queue, waiting up to the specified wait time if necessary for space to
* become available.
*/
@Generated("eedd9a3c29bf5806d09fa6d83cf91763")
public final class QueueOfferCodec {
//hex: 0x030100
public static final int REQUEST_MESSAGE_TYPE = 196864;
//hex: 0x030101
public static final int RESPONSE_MESSAGE_TYPE = 196865;
private static final int REQUEST_TIMEOUT_MILLIS_FIELD_OFFSET = PARTITION_ID_FIELD_OFFSET + INT_SIZE_IN_BYTES;
private static final int REQUEST_INITIAL_FRAME_SIZE = REQUEST_TIMEOUT_MILLIS_FIELD_OFFSET + LONG_SIZE_IN_BYTES;
private static final int RESPONSE_RESPONSE_FIELD_OFFSET = RESPONSE_BACKUP_ACKS_FIELD_OFFSET + INT_SIZE_IN_BYTES;
private static final int RESPONSE_INITIAL_FRAME_SIZE = RESPONSE_RESPONSE_FIELD_OFFSET + BOOLEAN_SIZE_IN_BYTES;
private QueueOfferCodec() {
}
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings({"URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"})
public static class RequestParameters {
/**
* Name of the Queue
*/
public java.lang.String name;
/**
* The element to add
*/
public com.hazelcast.nio.serialization.Data value;
/**
* Maximum time in milliseconds to wait for acquiring the lock for the key.
*/
public long timeoutMillis;
}
public static ClientMessage encodeRequest(java.lang.String name, com.hazelcast.nio.serialization.Data value, long timeoutMillis) {
ClientMessage clientMessage = ClientMessage.createForEncode();
clientMessage.setRetryable(false);
clientMessage.setOperationName("Queue.Offer");
ClientMessage.Frame initialFrame = new ClientMessage.Frame(new byte[REQUEST_INITIAL_FRAME_SIZE], UNFRAGMENTED_MESSAGE);
encodeInt(initialFrame.content, TYPE_FIELD_OFFSET, REQUEST_MESSAGE_TYPE);
encodeLong(initialFrame.content, REQUEST_TIMEOUT_MILLIS_FIELD_OFFSET, timeoutMillis);
clientMessage.add(initialFrame);
StringCodec.encode(clientMessage, name);
DataCodec.encode(clientMessage, value);
return clientMessage;
}
public static QueueOfferCodec.RequestParameters decodeRequest(ClientMessage clientMessage) {
ClientMessage.ForwardFrameIterator iterator = clientMessage.frameIterator();
RequestParameters request = new RequestParameters();
ClientMessage.Frame initialFrame = iterator.next();
request.timeoutMillis = decodeLong(initialFrame.content, REQUEST_TIMEOUT_MILLIS_FIELD_OFFSET);
request.name = StringCodec.decode(iterator);
request.value = DataCodec.decode(iterator);
return request;
}
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings({"URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"})
public static class ResponseParameters {
/**
* <tt>True</tt> if the element was added to this queue, else <tt>false</tt>
*/
public boolean response;
}
public static ClientMessage encodeResponse(boolean response) {
ClientMessage clientMessage = ClientMessage.createForEncode();
ClientMessage.Frame initialFrame = new ClientMessage.Frame(new byte[RESPONSE_INITIAL_FRAME_SIZE], UNFRAGMENTED_MESSAGE);
encodeInt(initialFrame.content, TYPE_FIELD_OFFSET, RESPONSE_MESSAGE_TYPE);
encodeBoolean(initialFrame.content, RESPONSE_RESPONSE_FIELD_OFFSET, response);
clientMessage.add(initialFrame);
return clientMessage;
}
public static QueueOfferCodec.ResponseParameters decodeResponse(ClientMessage clientMessage) {
ClientMessage.ForwardFrameIterator iterator = clientMessage.frameIterator();
ResponseParameters response = new ResponseParameters();
ClientMessage.Frame initialFrame = iterator.next();
response.response = decodeBoolean(initialFrame.content, RESPONSE_RESPONSE_FIELD_OFFSET);
return response;
}
}
|
/*
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.pinpoint.model.transform;
import java.util.Map;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.pinpoint.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* DefaultPushNotificationMessageMarshaller
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
@SdkInternalApi
public class DefaultPushNotificationMessageMarshaller {
private static final MarshallingInfo<String> ACTION_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD)
.marshallLocationName("Action").build();
private static final MarshallingInfo<String> BODY_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD)
.marshallLocationName("Body").build();
private static final MarshallingInfo<Map> DATA_BINDING = MarshallingInfo.builder(MarshallingType.MAP).marshallLocation(MarshallLocation.PAYLOAD)
.marshallLocationName("Data").build();
private static final MarshallingInfo<Boolean> SILENTPUSH_BINDING = MarshallingInfo.builder(MarshallingType.BOOLEAN)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("SilentPush").build();
private static final MarshallingInfo<Map> SUBSTITUTIONS_BINDING = MarshallingInfo.builder(MarshallingType.MAP).marshallLocation(MarshallLocation.PAYLOAD)
.marshallLocationName("Substitutions").build();
private static final MarshallingInfo<String> TITLE_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD)
.marshallLocationName("Title").build();
private static final MarshallingInfo<String> URL_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD)
.marshallLocationName("Url").build();
private static final DefaultPushNotificationMessageMarshaller instance = new DefaultPushNotificationMessageMarshaller();
public static DefaultPushNotificationMessageMarshaller getInstance() {
return instance;
}
/**
* Marshall the given parameter object.
*/
public void marshall(DefaultPushNotificationMessage defaultPushNotificationMessage, ProtocolMarshaller protocolMarshaller) {
if (defaultPushNotificationMessage == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
protocolMarshaller.marshall(defaultPushNotificationMessage.getAction(), ACTION_BINDING);
protocolMarshaller.marshall(defaultPushNotificationMessage.getBody(), BODY_BINDING);
protocolMarshaller.marshall(defaultPushNotificationMessage.getData(), DATA_BINDING);
protocolMarshaller.marshall(defaultPushNotificationMessage.getSilentPush(), SILENTPUSH_BINDING);
protocolMarshaller.marshall(defaultPushNotificationMessage.getSubstitutions(), SUBSTITUTIONS_BINDING);
protocolMarshaller.marshall(defaultPushNotificationMessage.getTitle(), TITLE_BINDING);
protocolMarshaller.marshall(defaultPushNotificationMessage.getUrl(), URL_BINDING);
} catch (Exception e) {
throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
}
}
}
|
package com.quppler.functional.closure;
public class Closure {
public static void main(String args[]){
int val = 111;
Job lambda = () -> {
System.out.println("Closure Example");
System.out.println(val);
};
printValueInClosureScope(lambda);
}
/**Closure saves the member variable value in its scope and on passing
* lambda its also passes variable value
* @param lambda
*/
private static void printValueInClosureScope(Job lambda) {
lambda.dotask();
}
}
|
package cool.furry.mc.forge.projectexpansion;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
@Mod.EventBusSubscriber(modid = Main.MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD, value = Dist.CLIENT)
public class ClientHandler {
@SubscribeEvent
public static void clientSetup(FMLClientSetupEvent event) {
// TODO: config menu
}
}
|
package com.zhuguangdeyingzi.gulimall.gulimallorder.controller;
import java.util.Arrays;
import java.util.Map;
//import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.zhuguangdeyingzi.gulimall.gulimallorder.entity.PaymentInfoEntity;
import com.zhuguangdeyingzi.gulimall.gulimallorder.service.PaymentInfoService;
import com.zhuguangdeyingzi.common.utils.PageUtils;
import com.zhuguangdeyingzi.common.utils.R;
/**
* 支付信息表
*
* @author lijun
* @email 1136790064lijun@gmail.com
* @date 2021-08-25 09:58:06
*/
@RestController
@RequestMapping("gulimallorderer/paymentinfo")
public class PaymentInfoController {
@Autowired
private PaymentInfoService paymentInfoService;
/**
* 列表
*/
@RequestMapping("/list")
//@RequiresPermissions("gulimallorderer:paymentinfo:list")
public R list(@RequestParam Map<String, Object> params){
PageUtils page = paymentInfoService.queryPage(params);
return R.ok().put("page", page);
}
/**
* 信息
*/
@RequestMapping("/info/{id}")
//@RequiresPermissions("gulimallorderer:paymentinfo:info")
public R info(@PathVariable("id") Long id){
PaymentInfoEntity paymentInfo = paymentInfoService.getById(id);
return R.ok().put("paymentInfo", paymentInfo);
}
/**
* 保存
*/
@RequestMapping("/save")
// @RequiresPermissions("gulimallorderer:paymentinfo:save")
public R save(@RequestBody PaymentInfoEntity paymentInfo){
paymentInfoService.save(paymentInfo);
return R.ok();
}
/**
* 修改
*/
@RequestMapping("/update")
// @RequiresPermissions("gulimallorderer:paymentinfo:update")
public R update(@RequestBody PaymentInfoEntity paymentInfo){
paymentInfoService.updateById(paymentInfo);
return R.ok();
}
/**
* 删除
*/
@RequestMapping("/delete")
// @RequiresPermissions("gulimallorderer:paymentinfo:delete")
public R delete(@RequestBody Long[] ids){
paymentInfoService.removeByIds(Arrays.asList(ids));
return R.ok();
}
}
|
package com.freeman.oauth2.configuration.security.providers;
import com.freeman.oauth2.configuration.security.GoogleUser;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpMethod;
import org.springframework.http.RequestEntity;
import org.springframework.http.ResponseEntity;
import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.stereotype.Component;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import org.springframework.web.client.RestTemplate;
import java.net.URI;
import java.util.Set;
import java.util.stream.Collectors;
@Component
public class ImplicitGrantAuthenticationProvider implements AuthenticationProvider {
private static Logger logger = LoggerFactory.getLogger(ImplicitGrantAuthenticationProvider.class);
@Autowired private RestTemplate restTemplate;
@Override
public Authentication authenticate(Authentication authentication) throws AuthenticationException {
MultiValueMap<String, String> headers = new LinkedMultiValueMap<>();
headers.add("Authorization", String.format("Bearer %s", authentication.getPrincipal()));
RequestEntity userInfoRequestEntity =
new RequestEntity(headers, HttpMethod.GET, URI.create("https://www.googleapis.com/oauth2/v3/userinfo"));
ResponseEntity<GoogleUser> response = this.restTemplate.exchange(userInfoRequestEntity, GoogleUser.class);
Set<GrantedAuthority> authorities = authentication.getAuthorities().stream().collect(Collectors.toSet());
return createAuthenticationFor(response.getBody(), authorities);
}
private Authentication createAuthenticationFor(GoogleUser googleUser, Set<GrantedAuthority> authorities) {
logger.info("Creating successful authentication for: {}", googleUser.toString());
return new UsernamePasswordAuthenticationToken(googleUser, String.valueOf(""), authorities);
}
@Override
public boolean supports(Class<?> aClass) {
return aClass.isAssignableFrom(ImplicitGrantAuthentication.class);
}
}
|
/**
* BioLink API
* API integration layer for linked biological objects. __Source:__ https://github.com/monarch-initiative/biolink-api/
*
* OpenAPI spec version: 0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* 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.swagger.client.model;
import java.util.Objects;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.client.model.NamedObject;
import java.util.ArrayList;
import java.util.List;
/**
* Relation
*/
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2017-02-07T20:15:06.627-08:00")
public class Relation {
@SerializedName("label")
private String label = null;
@SerializedName("id")
private String id = null;
@SerializedName("categories")
private List<String> categories = new ArrayList<String>();
public Relation label(String label) {
this.label = label;
return this;
}
/**
* RDFS Label
* @return label
**/
@ApiModelProperty(example = "null", value = "RDFS Label")
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public Relation id(String id) {
this.id = id;
return this;
}
/**
* ID or CURIE e.g. MGI:1201606
* @return id
**/
@ApiModelProperty(example = "null", value = "ID or CURIE e.g. MGI:1201606")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Relation categories(List<String> categories) {
this.categories = categories;
return this;
}
/**
* Get categories
* @return categories
**/
@ApiModelProperty(example = "null", value = "")
public List<String> getCategories() {
return categories;
}
public void setCategories(List<String> categories) {
this.categories = categories;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Relation relation = (Relation) o;
return Objects.equals(this.label, relation.label) &&
Objects.equals(this.id, relation.id) &&
Objects.equals(this.categories, relation.categories);
}
@Override
public int hashCode() {
return Objects.hash(label, id, categories);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Relation {\n");
sb.append(" label: ").append(toIndentedString(label)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" categories: ").append(toIndentedString(categories)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
|
package org.kyojo.schemaorg.m3n4.gson.core.musicAlbumReleaseType;
import java.lang.reflect.Field;
import java.lang.reflect.Type;
import java.util.HashMap;
import java.util.Map;
import org.kyojo.gson.JsonDeserializationContext;
import org.kyojo.gson.JsonDeserializer;
import org.kyojo.gson.JsonElement;
import org.kyojo.gson.JsonParseException;
import org.kyojo.schemaorg.m3n4.core.musicAlbumReleaseType.BROADCAST_RELEASE;
import org.kyojo.schemaorg.m3n4.core.MusicAlbumReleaseType.BroadcastRelease;
import org.kyojo.schemaorg.m3n4.gson.DeserializerTemplate;
public class BroadcastReleaseDeserializer implements JsonDeserializer<BroadcastRelease> {
public static Map<String, Field> fldMap = new HashMap<>();
@Override
public BroadcastRelease deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext context)
throws JsonParseException {
if(jsonElement.isJsonPrimitive()) {
return new BROADCAST_RELEASE(jsonElement.getAsString());
}
return DeserializerTemplate.deserializeSub(jsonElement, type, context,
new BROADCAST_RELEASE(), BroadcastRelease.class, BROADCAST_RELEASE.class, fldMap);
}
}
|
package tsp.headdb.command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import tsp.headdb.api.HeadAPI;
import tsp.headdb.util.Utils;
public class SearchCommand implements HeadSubCommand {
@Override
public void handle(CommandSender sender, String[] args) {
if (!sender.hasPermission("headdb.search")) {
Utils.sendMessage(sender, getLocalization().getMessage("noPermission"));
return;
}
if (!(sender instanceof Player player)) {
Utils.sendMessage(sender, getLocalization().getMessage("onlyPlayers"));
return;
}
if (args.length < 2) {
Utils.sendMessage(player, "&c/hdb search <name>");
return;
}
StringBuilder builder = new StringBuilder();
for (int i = 1; i < args.length; i++) {
builder.append(args[i]);
if (i != args.length - 1) {
builder.append(" ");
}
}
String name = builder.toString();
Utils.sendMessage(sender, "&7Searching for &e" + name);
HeadAPI.openSearchDatabase(player, name);
}
}
|
// Dado um número, verificar se ele é maior que 100. Se for, o algoritmo deve somar 150 a esse número. No final, imprimir o resultado da soma.
import java.util.Scanner;
public class Ex01 {
public static void main(String[] args) {
Scanner leitor = new Scanner(System.in);
System.out.print("Numero: ");
int numero = leitor.nextInt();
if (numero > 100) {
int soma = numero + 150;
System.out.println("Soma = " + soma);
}
}
}
|
package student.y2_collect;
import student.lib.Person;
import java.util.ArrayList;
import java.util.List;
public class CustomCollector {
private List<Integer> ages = new ArrayList<>();
private List<String> emailAddresses = new ArrayList<>();
public static CustomCollector supply() {
return new CustomCollector();
}
public static void accept(CustomCollector collector, Person person) {
collector.ages.add(person.getAge());
collector.emailAddresses.add(person.getEmailAddress());
}
public void print() {
System.out.println("E-Mails: " + emailAddresses);
System.out.println("Ages: " + ages);
}
public static void combine(CustomCollector c1, CustomCollector c2) {
c1.emailAddresses.addAll(c2.emailAddresses);
c1.ages.addAll(c2.ages);
}
}
|
package com.example.miunaojfakebackend.controller;
import com.example.miunaojfakebackend.bean.AssignmentResponsePackage;
import com.google.gson.Gson;
import org.springframework.web.bind.annotation.*;
import java.util.Random;
@RestController
@CrossOrigin
@RequestMapping("/api/assignment")
public class AssignmentController {
@GetMapping(value = "/{id}")
public String getAssignmentInfo(@PathVariable String id) {
AssignmentResponsePackage responsePackage = new AssignmentResponsePackage();
responsePackage.name = "An Assignment Title";
responsePackage.description = "An Assignment Description";
responsePackage.status = new Random().nextInt(4);
responsePackage.deadline = "2038/1/19";
responsePackage.courseName = "Python Programming 2-2";
responsePackage.type = new Random().nextInt(2);
responsePackage.problems = new AssignmentResponsePackage.Problem[6];
responsePackage.answer = new AssignmentResponsePackage.Answer();
responsePackage.answer.text = "";
for(int i = 0; i < 6; ++i) {
responsePackage.problems[i] = new AssignmentResponsePackage.Problem();
responsePackage.problems[i].id = Integer.toString(1000 + i);
responsePackage.problems[i].name = "Test Problem Title";
responsePackage.problems[i].score = "0/100";
responsePackage.problems[i].status = new Random().nextInt(3);
}
return new Gson().toJson(responsePackage);
}
}
|
package org.clever.hinny.nashorn.module;
import jdk.nashorn.api.scripting.NashornScriptEngine;
import jdk.nashorn.api.scripting.ScriptObjectMirror;
import lombok.extern.slf4j.Slf4j;
import org.clever.hinny.api.GlobalConstant;
import org.clever.hinny.api.ScriptEngineContext;
import org.clever.hinny.api.ScriptObject;
import org.clever.hinny.api.module.AbstractModule;
import org.clever.hinny.api.module.Module;
import org.clever.hinny.api.require.Require;
import org.clever.hinny.nashorn.NashornScriptObject;
import org.clever.hinny.nashorn.utils.ScriptEngineUtils;
/**
* 作者:lizw <br/>
* 创建时间:2020/07/15 22:39 <br/>
*/
@Slf4j
public class NashornModule extends AbstractModule<NashornScriptEngine, ScriptObjectMirror> {
public NashornModule(
ScriptEngineContext<NashornScriptEngine, ScriptObjectMirror> context,
String id,
String filename,
ScriptObjectMirror exports,
Module<ScriptObjectMirror> parent,
Require<ScriptObjectMirror> require) {
super(context, id, filename, exports, parent, require);
}
private NashornModule(ScriptEngineContext<NashornScriptEngine, ScriptObjectMirror> context) {
super(context);
}
/**
* 创建主模块(根模块)
*/
public static NashornModule createMainModule(ScriptEngineContext<NashornScriptEngine, ScriptObjectMirror> context) {
return new NashornModule(context);
}
@Override
protected void initModule(ScriptObjectMirror exports) {
this.module.put(GlobalConstant.Module_Id, this.id);
this.module.put(GlobalConstant.Module_Filename, this.filename);
this.module.put(GlobalConstant.Module_Loaded, this.loaded);
if (this.parent != null) {
this.module.put(GlobalConstant.Module_Parent, this.parent.getModule());
}
this.module.put(GlobalConstant.Module_Paths, this.paths);
this.module.put(GlobalConstant.Module_Children, this.childrenIds);
this.module.put(GlobalConstant.Module_Exports, exports);
this.module.put(GlobalConstant.Module_Require, this.require);
}
@Override
protected ScriptObjectMirror newScriptObject() {
return ScriptEngineUtils.newObject();
}
@Override
public ScriptObjectMirror getExports() {
return (ScriptObjectMirror) this.module.get(GlobalConstant.Module_Exports);
}
@Override
public ScriptObject<ScriptObjectMirror> getExportsWrapper() {
return new NashornScriptObject(context, getExports());
}
@Override
protected void doTriggerOnLoaded() {
this.module.put(GlobalConstant.Module_Loaded, true);
}
@Override
protected void doTriggerOnRemove() {
}
}
|
package abacus.project.ietf.network.topology;
import java.io.Serializable;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.collect.ImmutableList;
import abacus.project.ietf.network.topology.SupportingTerminationPointListType;
import abacus.project.ietf.network.topology.TpId;
import java.util.List;
/**
* A termination point can terminate a link.
* Depending on the type of topology, a termination point
* could, for example, refer to a port or an interface.
*/
@JsonInclude(Include.NON_NULL)
public class TerminationPointListType implements Serializable {
private static final long serialVersionUID = 1L;
/**
* Termination point identifier.
*/
private final TpId tpId;
/**
* This list identifies any termination points that
* the termination point is dependent on, or maps onto.
* Those termination points will themselves be contained
* in a supporting node.
* This dependency information can be inferred from
* the dependencies between links. For this reason,
* this item is not separately configurable. Hence no
* corresponding constraint needs to be articulated.
* The corresponding information is simply provided by the
* implementing system.
*/
private final List<SupportingTerminationPointListType> supportingTerminationPoint;
//dummy constructor as a solution to XML to JSON
@JsonCreator
public TerminationPointListType (
@JsonProperty("tp-id") TpId tpId,
@JsonProperty("supporting-termination-point") List<SupportingTerminationPointListType> supportingTerminationPoint){
this.tpId = tpId;
this.supportingTerminationPoint = supportingTerminationPoint != null ? ImmutableList.copyOf(supportingTerminationPoint) : ImmutableList.<SupportingTerminationPointListType>of();
}
@JsonProperty("tp-id")
public TpId getTpId(){
return this.tpId;
}
@JsonProperty("supporting-termination-point")
public List<SupportingTerminationPointListType> getSupportingTerminationPoint(){
return this.supportingTerminationPoint;
}
@Override
public int hashCode() {
return Objects.hash(tpId, supportingTerminationPoint);
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TerminationPointListType that = (TerminationPointListType) o;
return Objects.equals(this.tpId, that.tpId) &&
Objects.equals(this.supportingTerminationPoint, that.supportingTerminationPoint);
}
}
|
/*
* Copyright 2016-2019 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.springframework.data.solr.core.query.result;
import java.util.List;
import org.springframework.data.solr.core.query.result.HighlightEntry.Highlight;
/**
* Hold the results of a solr highlight query.
*
* @param <T>
* @author David Webb
* @since 2.1
*/
public interface HighlightQueryResult<T> {
/**
* @return empty list of not set
*/
List<HighlightEntry<T>> getHighlighted();
/**
* @param entity
* @return empty list if none found
*/
List<Highlight> getHighlights(T entity);
}
|
/*
* 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.
*
* Other licenses:
* -----------------------------------------------------------------------------
* Commercial licenses for this work are available. These replace the above
* ASL 2.0 and offer limited warranties, support, maintenance, and commercial
* database integrations.
*
* For more information, please visit: http://www.jooq.org/licenses
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package org.jooq.impl;
import static org.jooq.impl.DSL.*;
import static org.jooq.impl.Internal.*;
import static org.jooq.impl.Keywords.*;
import static org.jooq.impl.Names.*;
import static org.jooq.impl.SQLDataType.*;
import static org.jooq.impl.Tools.*;
import static org.jooq.impl.Tools.BooleanDataKey.*;
import static org.jooq.impl.Tools.DataExtendedKey.*;
import static org.jooq.impl.Tools.DataKey.*;
import static org.jooq.SQLDialect.*;
import org.jooq.*;
import org.jooq.Record;
import org.jooq.conf.*;
import org.jooq.impl.*;
import org.jooq.tools.*;
import java.util.*;
/**
* The <code>DIGITS</code> statement.
*/
@SuppressWarnings({ "rawtypes", "unused" })
final class Digits
extends
AbstractField<String>
{
final Field<? extends Number> value;
Digits(
Field<? extends Number> value
) {
super(
N_DIGITS,
allNotNull(VARCHAR, value)
);
this.value = nullSafeNotNull(value, INTEGER);
}
// -------------------------------------------------------------------------
// XXX: QueryPart API
// -------------------------------------------------------------------------
private static final Set<SQLDialect> NO_SUPPORT_DIGITS = SQLDialect.supportedBy(CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTE);
@Override
public final void accept(Context<?> ctx) {
if (NO_SUPPORT_DIGITS.contains(ctx.dialect())) {
DataType<?> t = value.getDataType();
if (t.getType() == Byte.class)
ctx.visit(DSL.lpad(DSL.abs(value).cast(VARCHAR(DefaultDataType.BYTE_PRECISION)), inline(DefaultDataType.BYTE_PRECISION), inline("0")));
else if (t.getType() == Short.class)
ctx.visit(DSL.lpad(DSL.abs(value).cast(VARCHAR(DefaultDataType.SHORT_PRECISION)), inline(DefaultDataType.SHORT_PRECISION), inline("0")));
else if (t.getType() == Integer.class)
ctx.visit(DSL.lpad(DSL.abs(value).cast(VARCHAR(DefaultDataType.INTEGER_PRECISION)), inline(DefaultDataType.INTEGER_PRECISION), inline("0")));
else if (t.getType() == Long.class)
ctx.visit(DSL.lpad(DSL.abs(value).cast(VARCHAR(DefaultDataType.LONG_PRECISION)), inline(DefaultDataType.LONG_PRECISION), inline("0")));
else if (t.scaleDefined())
ctx.visit(DSL.lpad(DSL.abs(value.mul(inline(java.math.BigDecimal.TEN.pow(t.scale())))).cast(t.scale(0)).cast(VARCHAR(t.precision())), inline(t.precision()), inline("0")));
else
ctx.visit(DSL.lpad(DSL.abs(value).cast(VARCHAR(t.precision())), inline(t.precision()), inline("0")));
}
else
ctx.visit(N_DIGITS).sql('(').visit(value).sql(')');
}
// -------------------------------------------------------------------------
// The Object API
// -------------------------------------------------------------------------
@Override
public boolean equals(Object that) {
if (that instanceof Digits) {
return
StringUtils.equals(value, ((Digits) that).value)
;
}
else
return super.equals(that);
}
}
|
/*
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.imagepipeline.core;
import android.content.ContentResolver;
import android.content.Context;
import android.content.res.AssetManager;
import android.content.res.Resources;
import com.facebook.cache.common.CacheKey;
import com.facebook.common.internal.Supplier;
import com.facebook.common.memory.ByteArrayPool;
import com.facebook.common.memory.PooledByteBuffer;
import com.facebook.common.memory.PooledByteBufferFactory;
import com.facebook.common.references.CloseableReference;
import com.facebook.imagepipeline.bitmaps.PlatformBitmapFactory;
import com.facebook.imagepipeline.cache.BufferedDiskCache;
import com.facebook.imagepipeline.cache.CacheKeyFactory;
import com.facebook.imagepipeline.cache.MediaVariationsIndex;
import com.facebook.imagepipeline.cache.MemoryCache;
import com.facebook.imagepipeline.decoder.ImageDecoder;
import com.facebook.imagepipeline.decoder.ProgressiveJpegConfig;
import com.facebook.imagepipeline.image.CloseableImage;
import com.facebook.imagepipeline.image.EncodedImage;
import com.facebook.imagepipeline.producers.AddImageTransformMetaDataProducer;
import com.facebook.imagepipeline.producers.BitmapMemoryCacheGetProducer;
import com.facebook.imagepipeline.producers.BitmapMemoryCacheKeyMultiplexProducer;
import com.facebook.imagepipeline.producers.BitmapMemoryCacheProducer;
import com.facebook.imagepipeline.producers.BitmapPrepareProducer;
import com.facebook.imagepipeline.producers.BranchOnSeparateImagesProducer;
import com.facebook.imagepipeline.producers.DataFetchProducer;
import com.facebook.imagepipeline.producers.DecodeProducer;
import com.facebook.imagepipeline.producers.DiskCacheReadProducer;
import com.facebook.imagepipeline.producers.DiskCacheWriteProducer;
import com.facebook.imagepipeline.producers.EncodedCacheKeyMultiplexProducer;
import com.facebook.imagepipeline.producers.EncodedMemoryCacheProducer;
import com.facebook.imagepipeline.producers.LocalAssetFetchProducer;
import com.facebook.imagepipeline.producers.LocalContentUriFetchProducer;
import com.facebook.imagepipeline.producers.LocalContentUriThumbnailFetchProducer;
import com.facebook.imagepipeline.producers.LocalExifThumbnailProducer;
import com.facebook.imagepipeline.producers.LocalFileFetchProducer;
import com.facebook.imagepipeline.producers.LocalResourceFetchProducer;
import com.facebook.imagepipeline.producers.LocalVideoThumbnailProducer;
import com.facebook.imagepipeline.producers.MediaVariationsFallbackProducer;
import com.facebook.imagepipeline.producers.NetworkFetchProducer;
import com.facebook.imagepipeline.producers.NetworkFetcher;
import com.facebook.imagepipeline.producers.NullProducer;
import com.facebook.imagepipeline.producers.PartialDiskCacheProducer;
import com.facebook.imagepipeline.producers.PostprocessedBitmapMemoryCacheProducer;
import com.facebook.imagepipeline.producers.PostprocessorProducer;
import com.facebook.imagepipeline.producers.Producer;
import com.facebook.imagepipeline.producers.QualifiedResourceFetchProducer;
import com.facebook.imagepipeline.producers.ResizeAndRotateProducer;
import com.facebook.imagepipeline.producers.SwallowResultProducer;
import com.facebook.imagepipeline.producers.ThreadHandoffProducer;
import com.facebook.imagepipeline.producers.ThreadHandoffProducerQueue;
import com.facebook.imagepipeline.producers.ThrottlingProducer;
import com.facebook.imagepipeline.producers.ThumbnailBranchProducer;
import com.facebook.imagepipeline.producers.ThumbnailProducer;
import com.facebook.imagepipeline.producers.WebpTranscodeProducer;
public class ProducerFactory {
private static final int MAX_SIMULTANEOUS_REQUESTS = 5;
// Local dependencies
private ContentResolver mContentResolver;
private Resources mResources;
private AssetManager mAssetManager;
// Decode dependencies
private final ByteArrayPool mByteArrayPool;
private final ImageDecoder mImageDecoder;
private final ProgressiveJpegConfig mProgressiveJpegConfig;
private final boolean mDownsampleEnabled;
private final boolean mResizeAndRotateEnabledForNetwork;
private final boolean mDecodeCancellationEnabled;
private final Supplier<Boolean> mExperimentalSmartResizingEnabled;
// Dependencies used by multiple steps
private final ExecutorSupplier mExecutorSupplier;
private final PooledByteBufferFactory mPooledByteBufferFactory;
// Cache dependencies
private final BufferedDiskCache mDefaultBufferedDiskCache;
private final BufferedDiskCache mSmallImageBufferedDiskCache;
private final MemoryCache<CacheKey, PooledByteBuffer> mEncodedMemoryCache;
private final MemoryCache<CacheKey, CloseableImage> mBitmapMemoryCache;
private final CacheKeyFactory mCacheKeyFactory;
private final MediaVariationsIndex mMediaVariationsIndex;
// Postproc dependencies
private final PlatformBitmapFactory mPlatformBitmapFactory;
// BitmapPrepare dependencies
private final int mBitmapPrepareToDrawMinSizeBytes;
private final int mBitmapPrepareToDrawMaxSizeBytes;
private boolean mBitmapPrepareToDrawForPrefetch;
public ProducerFactory(
Context context,
ByteArrayPool byteArrayPool,
ImageDecoder imageDecoder,
ProgressiveJpegConfig progressiveJpegConfig,
boolean downsampleEnabled,
boolean resizeAndRotateEnabledForNetwork,
boolean decodeCancellationEnabled,
Supplier<Boolean> experimentalSmartResizingEnabled,
ExecutorSupplier executorSupplier,
PooledByteBufferFactory pooledByteBufferFactory,
MemoryCache<CacheKey, CloseableImage> bitmapMemoryCache,
MemoryCache<CacheKey, PooledByteBuffer> encodedMemoryCache,
BufferedDiskCache defaultBufferedDiskCache,
BufferedDiskCache smallImageBufferedDiskCache,
MediaVariationsIndex mediaVariationsIndex,
CacheKeyFactory cacheKeyFactory,
PlatformBitmapFactory platformBitmapFactory,
int bitmapPrepareToDrawMinSizeBytes,
int bitmapPrepareToDrawMaxSizeBytes,
boolean bitmapPrepareToDrawForPrefetch) {
mContentResolver = context.getApplicationContext().getContentResolver();
mResources = context.getApplicationContext().getResources();
mAssetManager = context.getApplicationContext().getAssets();
mByteArrayPool = byteArrayPool;
mImageDecoder = imageDecoder;
mProgressiveJpegConfig = progressiveJpegConfig;
mDownsampleEnabled = downsampleEnabled;
mResizeAndRotateEnabledForNetwork = resizeAndRotateEnabledForNetwork;
mDecodeCancellationEnabled = decodeCancellationEnabled;
mExperimentalSmartResizingEnabled = experimentalSmartResizingEnabled;
mExecutorSupplier = executorSupplier;
mPooledByteBufferFactory = pooledByteBufferFactory;
mBitmapMemoryCache = bitmapMemoryCache;
mEncodedMemoryCache = encodedMemoryCache;
mDefaultBufferedDiskCache = defaultBufferedDiskCache;
mSmallImageBufferedDiskCache = smallImageBufferedDiskCache;
mMediaVariationsIndex = mediaVariationsIndex;
mCacheKeyFactory = cacheKeyFactory;
mPlatformBitmapFactory = platformBitmapFactory;
mBitmapPrepareToDrawMinSizeBytes = bitmapPrepareToDrawMinSizeBytes;
mBitmapPrepareToDrawMaxSizeBytes = bitmapPrepareToDrawMaxSizeBytes;
mBitmapPrepareToDrawForPrefetch = bitmapPrepareToDrawForPrefetch;
}
public static AddImageTransformMetaDataProducer newAddImageTransformMetaDataProducer(
Producer<EncodedImage> inputProducer) {
return new AddImageTransformMetaDataProducer(inputProducer);
}
public BitmapMemoryCacheGetProducer newBitmapMemoryCacheGetProducer(
Producer<CloseableReference<CloseableImage>> inputProducer) {
return new BitmapMemoryCacheGetProducer(mBitmapMemoryCache, mCacheKeyFactory, inputProducer);
}
public BitmapMemoryCacheKeyMultiplexProducer newBitmapMemoryCacheKeyMultiplexProducer(
Producer<CloseableReference<CloseableImage>> inputProducer) {
return new BitmapMemoryCacheKeyMultiplexProducer(mCacheKeyFactory, inputProducer);
}
public BitmapMemoryCacheProducer newBitmapMemoryCacheProducer(
Producer<CloseableReference<CloseableImage>> inputProducer) {
return new BitmapMemoryCacheProducer(mBitmapMemoryCache, mCacheKeyFactory, inputProducer);
}
public static BranchOnSeparateImagesProducer newBranchOnSeparateImagesProducer(
Producer<EncodedImage> inputProducer1,
Producer<EncodedImage> inputProducer2) {
return new BranchOnSeparateImagesProducer(inputProducer1, inputProducer2);
}
public DataFetchProducer newDataFetchProducer() {
return new DataFetchProducer(mPooledByteBufferFactory);
}
public DecodeProducer newDecodeProducer(Producer<EncodedImage> inputProducer) {
return new DecodeProducer(
mByteArrayPool,
mExecutorSupplier.forDecode(),
mImageDecoder,
mProgressiveJpegConfig,
mDownsampleEnabled,
mResizeAndRotateEnabledForNetwork,
mDecodeCancellationEnabled,
inputProducer,
mExperimentalSmartResizingEnabled);
}
public DiskCacheReadProducer newDiskCacheReadProducer(
Producer<EncodedImage> inputProducer) {
return new DiskCacheReadProducer(
mDefaultBufferedDiskCache,
mSmallImageBufferedDiskCache,
mCacheKeyFactory,
inputProducer
);
}
public DiskCacheWriteProducer newDiskCacheWriteProducer(
Producer<EncodedImage> inputProducer) {
return new DiskCacheWriteProducer(
mDefaultBufferedDiskCache,
mSmallImageBufferedDiskCache,
mCacheKeyFactory,
inputProducer
);
}
public MediaVariationsFallbackProducer newMediaVariationsProducer(
Producer<EncodedImage> inputProducer) {
return new MediaVariationsFallbackProducer(
mDefaultBufferedDiskCache,
mSmallImageBufferedDiskCache,
mCacheKeyFactory,
mMediaVariationsIndex,
inputProducer);
}
public PartialDiskCacheProducer newPartialDiskCacheProducer(
Producer<EncodedImage> inputProducer) {
return new PartialDiskCacheProducer(
mDefaultBufferedDiskCache,
mCacheKeyFactory,
mPooledByteBufferFactory,
mByteArrayPool,
inputProducer);
}
public EncodedCacheKeyMultiplexProducer newEncodedCacheKeyMultiplexProducer(
Producer<EncodedImage> inputProducer) {
return new EncodedCacheKeyMultiplexProducer(
mCacheKeyFactory,
inputProducer);
}
public EncodedMemoryCacheProducer newEncodedMemoryCacheProducer(
Producer<EncodedImage> inputProducer) {
return new EncodedMemoryCacheProducer(
mEncodedMemoryCache,
mCacheKeyFactory,
inputProducer);
}
public LocalAssetFetchProducer newLocalAssetFetchProducer() {
return new LocalAssetFetchProducer(
mExecutorSupplier.forLocalStorageRead(),
mPooledByteBufferFactory,
mAssetManager);
}
public LocalContentUriFetchProducer newLocalContentUriFetchProducer() {
return new LocalContentUriFetchProducer(
mExecutorSupplier.forLocalStorageRead(),
mPooledByteBufferFactory,
mContentResolver);
}
public LocalContentUriThumbnailFetchProducer newLocalContentUriThumbnailFetchProducer() {
return new LocalContentUriThumbnailFetchProducer(
mExecutorSupplier.forLocalStorageRead(),
mPooledByteBufferFactory,
mContentResolver);
}
public LocalExifThumbnailProducer newLocalExifThumbnailProducer() {
return new LocalExifThumbnailProducer(
mExecutorSupplier.forLocalStorageRead(),
mPooledByteBufferFactory,
mContentResolver);
}
public ThumbnailBranchProducer newThumbnailBranchProducer(
ThumbnailProducer<EncodedImage>[] thumbnailProducers) {
return new ThumbnailBranchProducer(thumbnailProducers);
}
public LocalFileFetchProducer newLocalFileFetchProducer() {
return new LocalFileFetchProducer(
mExecutorSupplier.forLocalStorageRead(),
mPooledByteBufferFactory);
}
public QualifiedResourceFetchProducer newQualifiedResourceFetchProducer() {
return new QualifiedResourceFetchProducer(
mExecutorSupplier.forLocalStorageRead(),
mPooledByteBufferFactory,
mContentResolver);
}
public LocalResourceFetchProducer newLocalResourceFetchProducer() {
return new LocalResourceFetchProducer(
mExecutorSupplier.forLocalStorageRead(),
mPooledByteBufferFactory,
mResources);
}
public LocalVideoThumbnailProducer newLocalVideoThumbnailProducer() {
return new LocalVideoThumbnailProducer(
mExecutorSupplier.forLocalStorageRead(),
mContentResolver);
}
public NetworkFetchProducer newNetworkFetchProducer(NetworkFetcher networkFetcher) {
return new NetworkFetchProducer(
mPooledByteBufferFactory,
mByteArrayPool,
networkFetcher);
}
public static <T> NullProducer<T> newNullProducer() {
return new NullProducer<T>();
}
public PostprocessedBitmapMemoryCacheProducer newPostprocessorBitmapMemoryCacheProducer(
Producer<CloseableReference<CloseableImage>> inputProducer) {
return new PostprocessedBitmapMemoryCacheProducer(
mBitmapMemoryCache, mCacheKeyFactory, inputProducer);
}
public PostprocessorProducer newPostprocessorProducer(
Producer<CloseableReference<CloseableImage>> inputProducer) {
return new PostprocessorProducer(
inputProducer, mPlatformBitmapFactory, mExecutorSupplier.forBackgroundTasks());
}
public ResizeAndRotateProducer newResizeAndRotateProducer(
Producer<EncodedImage> inputProducer,
boolean resizingEnabledIfNotDownsampling,
boolean useDownsamplingRatio) {
return new ResizeAndRotateProducer(
mExecutorSupplier.forBackgroundTasks(),
mPooledByteBufferFactory,
resizingEnabledIfNotDownsampling && !mDownsampleEnabled,
inputProducer,
useDownsamplingRatio);
}
public static <T> SwallowResultProducer<T> newSwallowResultProducer(Producer<T> inputProducer) {
return new SwallowResultProducer<T>(inputProducer);
}
public <T> ThreadHandoffProducer<T> newBackgroundThreadHandoffProducer(
Producer<T> inputProducer, ThreadHandoffProducerQueue inputThreadHandoffProducerQueue) {
return new ThreadHandoffProducer<T>(
inputProducer,
inputThreadHandoffProducerQueue);
}
public <T> ThrottlingProducer<T> newThrottlingProducer(
Producer<T> inputProducer) {
return new ThrottlingProducer<T>(
MAX_SIMULTANEOUS_REQUESTS,
mExecutorSupplier.forLightweightBackgroundTasks(),
inputProducer);
}
public WebpTranscodeProducer newWebpTranscodeProducer(
Producer<EncodedImage> inputProducer) {
return new WebpTranscodeProducer(
mExecutorSupplier.forBackgroundTasks(),
mPooledByteBufferFactory,
inputProducer);
}
public BitmapPrepareProducer newBitmapPrepareProducer(
Producer<CloseableReference<CloseableImage>> inputProducer) {
return new BitmapPrepareProducer(
inputProducer,
mBitmapPrepareToDrawMinSizeBytes,
mBitmapPrepareToDrawMaxSizeBytes,
mBitmapPrepareToDrawForPrefetch);
}
}
|
package cn.banny.unidbg.memory;
public class MemoryMap {
public final long base;
public final long size;
public final int prot;
public MemoryMap(long base, long size, int prot) {
this.base = base;
this.size = size;
this.prot = prot;
}
@Override
public String toString() {
return "MemoryMap{" +
"base=0x" + Long.toHexString(base) +
", size=" + size +
", prot=" + prot +
'}';
}
}
|
package me.kuehle.carreport;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
}
|
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* 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.alibaba.nacos.naming.misc;
import com.alibaba.nacos.api.exception.NacosException;
import com.alibaba.nacos.api.selector.SelectorType;
import com.alibaba.nacos.common.utils.JacksonUtils;
import com.alibaba.nacos.common.utils.VersionUtils;
import com.alibaba.nacos.naming.selector.LabelSelector;
import com.alibaba.nacos.naming.selector.NoneSelector;
import com.alibaba.nacos.sys.env.EnvUtil;
import com.fasterxml.jackson.core.type.TypeReference;
import com.alibaba.nacos.common.utils.StringUtils;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
/**
* Naming utils and common values.
*
* @author nacos
* @author jifengnan
*/
@SuppressWarnings("PMD.ThreadPoolCreationle")
public class UtilsAndCommons {
// ********************** Nacos HTTP Context ************************ \\
public static final String NACOS_SERVER_CONTEXT = "/nacos";
public static final String NACOS_SERVER_VERSION = "/v1";
public static final String NACOS_SERVER_VERSION_2 = "/v2";
public static final String DEFAULT_NACOS_NAMING_CONTEXT = NACOS_SERVER_VERSION + "/ns";
public static final String DEFAULT_NACOS_NAMING_CONTEXT_V2 = NACOS_SERVER_VERSION_2 + "/ns";
public static final String NACOS_NAMING_CONTEXT = DEFAULT_NACOS_NAMING_CONTEXT;
public static final String NACOS_NAMING_CATALOG_CONTEXT = "/catalog";
public static final String NACOS_NAMING_INSTANCE_CONTEXT = "/instance";
public static final String NACOS_NAMING_SERVICE_CONTEXT = "/service";
public static final String NACOS_NAMING_CLUSTER_CONTEXT = "/cluster";
public static final String NACOS_NAMING_HEALTH_CONTEXT = "/health";
public static final String NACOS_NAMING_RAFT_CONTEXT = "/raft";
public static final String NACOS_NAMING_PARTITION_CONTEXT = "/distro";
public static final String NACOS_NAMING_OPERATOR_CONTEXT = "/operator";
// ********************** Nacos HTTP Context ************************ //
public static final String NACOS_SERVER_HEADER = "Nacos-Server";
public static final String NACOS_VERSION = VersionUtils.version;
public static final String SUPER_TOKEN = "xy";
public static final String DOMAINS_DATA_ID_PRE = "com.alibaba.nacos.naming.domains.meta.";
public static final String IPADDRESS_DATA_ID_PRE = "com.alibaba.nacos.naming.iplist.";
public static final String SWITCH_DOMAIN_NAME = "00-00---000-NACOS_SWITCH_DOMAIN-000---00-00";
public static final String CIDR_REGEX = "[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}/[0-9]+";
public static final String UNKNOWN_SITE = "unknown";
public static final String DEFAULT_CLUSTER_NAME = "DEFAULT";
public static final String LOCALHOST_SITE = UtilsAndCommons.UNKNOWN_SITE;
public static final int RAFT_PUBLISH_TIMEOUT = 5000;
public static final String SERVER_VERSION = NACOS_SERVER_HEADER + ":" + NACOS_VERSION;
public static final String SELF_SERVICE_CLUSTER_ENV = "naming_self_service_cluster_ips";
public static final String CACHE_KEY_SPLITTER = "@@@@";
public static final int MAX_PUBLISH_WAIT_TIME_MILLIS = 5000;
public static final String VERSION_STRING_SYNTAX = "[0-9]+\\.[0-9]+\\.[0-9]+";
public static final String API_UPDATE_SWITCH = "/api/updateSwitch";
public static final String API_SET_ALL_WEIGHTS = "/api/setWeight4AllIPs";
public static final String API_DOM = "/api/dom";
public static final String NAMESPACE_SERVICE_CONNECTOR = "##";
public static final String UPDATE_INSTANCE_ACTION_ADD = "add";
public static final String UPDATE_INSTANCE_ACTION_REMOVE = "remove";
public static final String UPDATE_INSTANCE_METADATA_ACTION_UPDATE = "update";
public static final String UPDATE_INSTANCE_METADATA_ACTION_REMOVE = "remove";
public static final String EPHEMERAL = "ephemeral";
public static final String PERSIST = "persist";
public static final String DATA_BASE_DIR =
EnvUtil.getNacosHome() + File.separator + "data" + File.separator + "naming";
public static final String RAFT_CACHE_FILE_PREFIX = "com.alibaba.nacos.naming";
public static final String NUMBER_PATTERN = "^\\d+$";
public static final String ENABLE_HEALTH_CHECK = "enableHealthCheck";
public static final String ENABLE_CLIENT_BEAT = "enableClientBeat";
static {
/*
Register subType for serialization
Now these subType implementation class has registered in static code.
But there are some problem for classloader. The implementation class
will be loaded when they are used, which will make deserialize
before register.
子类实现类中的静态代码串中已经向Jackson进行了注册,但是由于classloader的原因,只有当
该子类被使用的时候,才会加载该类。这可能会导致Jackson先进性反序列化,再注册子类,从而导致
反序列化失败。
*/
// TODO register in implementation class or remove subType
JacksonUtils.registerSubtype(NoneSelector.class, SelectorType.none.name());
JacksonUtils.registerSubtype(LabelSelector.class, SelectorType.label.name());
}
/**
* Parse meta data from string.
*
* @param metadata meta data string
* @return meta data map
* @throws NacosException nacos exception
*/
public static Map<String, String> parseMetadata(String metadata) throws NacosException {
Map<String, String> metadataMap = new HashMap<>(16);
if (StringUtils.isBlank(metadata)) {
return metadataMap;
}
try {
metadataMap = JacksonUtils.toObj(metadata, new TypeReference<Map<String, String>>() {
});
} catch (Exception e) {
String[] datas = metadata.split(",");
if (datas.length > 0) {
for (String data : datas) {
String[] kv = data.split("=");
if (kv.length != 2) {
throw new NacosException(NacosException.INVALID_PARAM, "metadata format incorrect:" + metadata);
}
metadataMap.put(kv[0], kv[1]);
}
}
}
return metadataMap;
}
public static String assembleFullServiceName(String namespaceId, String serviceName) {
return namespaceId + UtilsAndCommons.NAMESPACE_SERVICE_CONNECTOR + serviceName;
}
/**
* Provide a number between 0(inclusive) and {@code upperLimit}(exclusive) for the given {@code string}, the number
* will be nearly uniform distribution.
*
* <p>e.g. Assume there's an array which contains some IP of the servers provide the same service, the caller name
* can be used to choose the server to achieve load balance.
* <blockquote><pre>
* String[] serverIps = new String[10];
* int index = shakeUp("callerName", serverIps.length);
* String targetServerIp = serverIps[index];
* </pre></blockquote>
*
* @param string a string. the number 0 will be returned if it's null
* @param upperLimit the upper limit of the returned number, must be a positive integer, which means > 0
* @return a number between 0(inclusive) and upperLimit(exclusive)
* @throws IllegalArgumentException if the upper limit equals or less than 0
* @author jifengnan
* @since 1.0.0
*/
public static int shakeUp(String string, int upperLimit) {
if (upperLimit < 1) {
throw new IllegalArgumentException("upper limit must be greater than 0");
}
if (string == null) {
return 0;
}
return (string.hashCode() & Integer.MAX_VALUE) % upperLimit;
}
}
|
package cn.love.util;
import android.util.Pair;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.TreeMap;
/**
* <pre>
* author: blankj
* blog : http://blankj.com
* time : 2019/08/12
* desc : utils about map
* </pre>
*/
public class MapUtils {
private MapUtils() {
throw new UnsupportedOperationException("u can't instantiate me...");
}
/**
* Returns a new read-only map with the specified contents, given as a list of pairs
* where the first value is the key and the second is the value.
*
* @param pairs a list of pairs
* @return a new read-only map with the specified contents
*/
@SafeVarargs
public static <K, V> Map<K, V> newUnmodifiableMap(final Pair<K, V>... pairs) {
return Collections.unmodifiableMap(newHashMap(pairs));
}
@SafeVarargs
public static <K, V> HashMap<K, V> newHashMap(final Pair<K, V>... pairs) {
HashMap<K, V> map = new HashMap<>();
if (pairs == null || pairs.length == 0) {
return map;
}
for (Pair<K, V> pair : pairs) {
if (pair == null) continue;
map.put(pair.first, pair.second);
}
return map;
}
@SafeVarargs
public static <K, V> LinkedHashMap<K, V> newLinkedHashMap(final Pair<K, V>... pairs) {
LinkedHashMap<K, V> map = new LinkedHashMap<>();
if (pairs == null || pairs.length == 0) {
return map;
}
for (Pair<K, V> pair : pairs) {
if (pair == null) continue;
map.put(pair.first, pair.second);
}
return map;
}
@SafeVarargs
public static <K, V> TreeMap<K, V> newTreeMap(final Comparator<K> comparator,
final Pair<K, V>... pairs) {
if (comparator == null) {
throw new IllegalArgumentException("comparator must not be null");
}
TreeMap<K, V> map = new TreeMap<>(comparator);
if (pairs == null || pairs.length == 0) {
return map;
}
for (Pair<K, V> pair : pairs) {
if (pair == null) continue;
map.put(pair.first, pair.second);
}
return map;
}
@SafeVarargs
public static <K, V> Hashtable<K, V> newHashTable(final Pair<K, V>... pairs) {
Hashtable<K, V> map = new Hashtable<>();
if (pairs == null || pairs.length == 0) {
return map;
}
for (Pair<K, V> pair : pairs) {
if (pair == null) continue;
map.put(pair.first, pair.second);
}
return map;
}
/**
* Null-safe check if the specified map is empty.
* <p>
* Null returns true.
*
* @param map the map to check, may be null
* @return true if empty or null
*/
public static boolean isEmpty(Map map) {
return map == null || map.size() == 0;
}
/**
* Null-safe check if the specified map is not empty.
* <p>
* Null returns false.
*
* @param map the map to check, may be null
* @return true if non-null and non-empty
*/
public static boolean isNotEmpty(Map map) {
return !isEmpty(map);
}
/**
* Gets the size of the map specified.
*
* @param map The map.
* @return the size of the map specified
*/
public static int size(Map map) {
if (map == null) return 0;
return map.size();
}
/**
* Executes the given closure on each element in the collection.
* <p>
* If the input collection or closure is null, there is no change made.
*
* @param map the map to get the input from, may be null
* @param closure the closure to perform, may be null
*/
public static <K, V> void forAllDo(Map<K, V> map, Closure<K, V> closure) {
if (map == null || closure == null) return;
for (Map.Entry<K, V> kvEntry : map.entrySet()) {
closure.execute(kvEntry.getKey(), kvEntry.getValue());
}
}
/**
* Transform the map by applying a Transformer to each element.
* <p>
* If the input map or transformer is null, there is no change made.
*
* @param map the map to get the input from, may be null
* @param transformer the transformer to perform, may be null
*/
public static <K1, V1, K2, V2> Map<K2, V2> transform(Map<K1, V1> map, final Transformer<K1, V1, K2, V2> transformer) {
if (map == null || transformer == null) return null;
try {
final Map<K2, V2> transMap = map.getClass().newInstance();
forAllDo(map, new Closure<K1, V1>() {
@Override
public void execute(K1 key, V1 value) {
Pair<K2, V2> pair = transformer.transform(key, value);
transMap.put(pair.first, pair.second);
}
});
return transMap;
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (InstantiationException e) {
e.printStackTrace();
}
return null;
}
/**
* Return the string of map.
*
* @param map The map.
* @return the string of map
*/
public static String toString(Map map) {
if (map == null) return "null";
return map.toString();
}
public interface Closure<K, V> {
void execute(K key, V value);
}
public interface Transformer<K1, V1, K2, V2> {
Pair<K2, V2> transform(K1 k1, V1 v1);
}
}
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.hdfs.server.datanode;
import java.io.IOException;
import java.util.Random;
import org.apache.commons.logging.impl.Log4JLogger;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fi.DataTransferTestUtil;
import org.apache.hadoop.fi.DataTransferTestUtil.CountdownDoosAction;
import org.apache.hadoop.fi.DataTransferTestUtil.CountdownOomAction;
import org.apache.hadoop.fi.DataTransferTestUtil.CountdownSleepAction;
import org.apache.hadoop.fi.DataTransferTestUtil.DataTransferTest;
import org.apache.hadoop.fi.DataTransferTestUtil.SleepAction;
import org.apache.hadoop.fi.DataTransferTestUtil.VerificationAction;
import org.apache.hadoop.fi.FiTestUtil;
import static org.apache.hadoop.fs.CommonConfigurationKeys.IO_FILE_BUFFER_SIZE_KEY;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.FSDataOutputStream;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hdfs.DFSClient;
import org.apache.hadoop.hdfs.DFSConfigKeys;
import org.apache.hadoop.hdfs.MiniDFSCluster;
import org.apache.hadoop.hdfs.protocol.datatransfer.DataTransferProtocol;
import org.apache.hadoop.test.GenericTestUtils;
import org.apache.log4j.Level;
import org.junit.Assert;
import org.junit.Test;
/** Test DataTransferProtocol with fault injection. */
public class TestFiDataTransferProtocol2 {
static final short REPLICATION = 3;
static final long BLOCKSIZE = 1L * (1L << 20);
static final int PACKET_SIZE = 1024;
static final int MIN_N_PACKET = 3;
static final int MAX_N_PACKET = 10;
static final int MAX_SLEEP = 1000;
static final Configuration conf = new Configuration();
static {
conf.setInt(DFSConfigKeys.DFS_DATANODE_HANDLER_COUNT_KEY, 1);
conf.setInt(DFSConfigKeys.DFS_REPLICATION_KEY, REPLICATION);
conf.setInt(DFSConfigKeys.DFS_CLIENT_WRITE_PACKET_SIZE_KEY, PACKET_SIZE);
conf.setInt(DFSConfigKeys.DFS_CLIENT_SOCKET_TIMEOUT_KEY, 5000);
}
static final byte[] bytes = new byte[MAX_N_PACKET * PACKET_SIZE];
static final byte[] toRead = new byte[MAX_N_PACKET * PACKET_SIZE];
static private FSDataOutputStream createFile(FileSystem fs, Path p
) throws IOException {
return fs.create(p, true, fs.getConf()
.getInt(IO_FILE_BUFFER_SIZE_KEY, 4096), REPLICATION, BLOCKSIZE);
}
{
GenericTestUtils.setLogLevel(BlockReceiver.LOG, Level.ALL);
GenericTestUtils.setLogLevel(DFSClient.LOG, Level.ALL);
GenericTestUtils.setLogLevel(DataTransferProtocol.LOG, Level.ALL);
}
/**
* 1. create files with dfs
* 2. write MIN_N_PACKET to MAX_N_PACKET packets
* 3. close file
* 4. open the same file
* 5. read the bytes and compare results
*/
private static void writeSeveralPackets(String methodName) throws IOException {
final Random r = FiTestUtil.RANDOM.get();
final int nPackets = FiTestUtil.nextRandomInt(MIN_N_PACKET, MAX_N_PACKET + 1);
final int lastPacketSize = FiTestUtil.nextRandomInt(1, PACKET_SIZE + 1);
final int size = (nPackets - 1)*PACKET_SIZE + lastPacketSize;
FiTestUtil.LOG.info("size=" + size + ", nPackets=" + nPackets
+ ", lastPacketSize=" + lastPacketSize);
final MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf
).numDataNodes(REPLICATION + 2).build();
final FileSystem dfs = cluster.getFileSystem();
try {
final Path p = new Path("/" + methodName + "/foo");
final FSDataOutputStream out = createFile(dfs, p);
final long seed = r.nextLong();
final Random ran = new Random(seed);
ran.nextBytes(bytes);
out.write(bytes, 0, size);
out.close();
final FSDataInputStream in = dfs.open(p);
int totalRead = 0;
int nRead = 0;
while ((nRead = in.read(toRead, totalRead, size - totalRead)) > 0) {
totalRead += nRead;
}
Assert.assertEquals("Cannot read file.", size, totalRead);
for (int i = 0; i < size; i++) {
Assert.assertTrue("File content differ.", bytes[i] == toRead[i]);
}
}
finally {
dfs.close();
cluster.shutdown();
}
}
private static void initSlowDatanodeTest(DataTransferTest t, SleepAction a)
throws IOException {
t.fiCallReceivePacket.set(a);
t.fiReceiverOpWriteBlock.set(a);
t.fiStatusRead.set(a);
}
private void runTest17_19(String methodName, int dnIndex)
throws IOException {
FiTestUtil.LOG.info("Running " + methodName + " ...");
final DataTransferTest t = (DataTransferTest) DataTransferTestUtil
.initTest();
initSlowDatanodeTest(t, new SleepAction(methodName, 0, 0, MAX_SLEEP));
initSlowDatanodeTest(t, new SleepAction(methodName, 1, 0, MAX_SLEEP));
initSlowDatanodeTest(t, new SleepAction(methodName, 2, 0, MAX_SLEEP));
t.fiCallWritePacketToDisk.set(new CountdownDoosAction(methodName, dnIndex, 3));
t.fiPipelineErrorAfterInit.set(new VerificationAction(methodName, dnIndex));
writeSeveralPackets(methodName);
Assert.assertTrue(t.isSuccess());
}
private void runTest29_30(String methodName, int dnIndex) throws IOException {
FiTestUtil.LOG.info("Running " + methodName + " ...");
final DataTransferTest t = (DataTransferTest) DataTransferTestUtil
.initTest();
initSlowDatanodeTest(t, new SleepAction(methodName, 0, 0, MAX_SLEEP));
initSlowDatanodeTest(t, new SleepAction(methodName, 1, 0, MAX_SLEEP));
initSlowDatanodeTest(t, new SleepAction(methodName, 2, 0, MAX_SLEEP));
t.fiAfterDownstreamStatusRead.set(new CountdownOomAction(methodName, dnIndex, 3));
t.fiPipelineErrorAfterInit.set(new VerificationAction(methodName, dnIndex));
writeSeveralPackets(methodName);
Assert.assertTrue(t.isSuccess());
}
private void runTest34_35(String methodName, int dnIndex) throws IOException {
FiTestUtil.LOG.info("Running " + methodName + " ...");
final DataTransferTest t = (DataTransferTest) DataTransferTestUtil
.initTest();
t.fiAfterDownstreamStatusRead.set(new CountdownSleepAction(methodName, dnIndex, 0, 3));
t.fiPipelineErrorAfterInit.set(new VerificationAction(methodName, dnIndex));
writeSeveralPackets(methodName);
Assert.assertTrue(t.isSuccess());
}
/**
* Streaming:
* Randomize datanode speed, write several packets,
* DN0 throws a DiskOutOfSpaceError when it writes the third packet to disk.
* Client gets an IOException and determines DN0 bad.
*/
@Test
public void pipeline_Fi_17() throws IOException {
final String methodName = FiTestUtil.getMethodName();
runTest17_19(methodName, 0);
}
/**
* Streaming:
* Randomize datanode speed, write several packets,
* DN1 throws a DiskOutOfSpaceError when it writes the third packet to disk.
* Client gets an IOException and determines DN1 bad.
*/
@Test
public void pipeline_Fi_18() throws IOException {
final String methodName = FiTestUtil.getMethodName();
runTest17_19(methodName, 1);
}
/**
* Streaming:
* Randomize datanode speed, write several packets,
* DN2 throws a DiskOutOfSpaceError when it writes the third packet to disk.
* Client gets an IOException and determines DN2 bad.
*/
@Test
public void pipeline_Fi_19() throws IOException {
final String methodName = FiTestUtil.getMethodName();
runTest17_19(methodName, 2);
}
/**
* Streaming: Client writes several packets with DN0 very slow. Client
* finishes write successfully.
*/
@Test
public void pipeline_Fi_20() throws IOException {
final String methodName = FiTestUtil.getMethodName();
FiTestUtil.LOG.info("Running " + methodName + " ...");
final DataTransferTest t = (DataTransferTest) DataTransferTestUtil
.initTest();
initSlowDatanodeTest(t, new SleepAction(methodName, 0, MAX_SLEEP));
writeSeveralPackets(methodName);
}
/**
* Streaming: Client writes several packets with DN1 very slow. Client
* finishes write successfully.
*/
@Test
public void pipeline_Fi_21() throws IOException {
final String methodName = FiTestUtil.getMethodName();
FiTestUtil.LOG.info("Running " + methodName + " ...");
final DataTransferTest t = (DataTransferTest) DataTransferTestUtil
.initTest();
initSlowDatanodeTest(t, new SleepAction(methodName, 1, MAX_SLEEP));
writeSeveralPackets(methodName);
}
/**
* Streaming: Client writes several packets with DN2 very slow. Client
* finishes write successfully.
*/
@Test
public void pipeline_Fi_22() throws IOException {
final String methodName = FiTestUtil.getMethodName();
FiTestUtil.LOG.info("Running " + methodName + " ...");
final DataTransferTest t = (DataTransferTest) DataTransferTestUtil
.initTest();
initSlowDatanodeTest(t, new SleepAction(methodName, 2, MAX_SLEEP));
writeSeveralPackets(methodName);
}
/**
* Streaming: Randomize datanode speed, write several packets, DN1 throws a
* OutOfMemoryException when it receives the ack of the third packet from DN2.
* Client gets an IOException and determines DN1 bad.
*/
@Test
public void pipeline_Fi_29() throws IOException {
final String methodName = FiTestUtil.getMethodName();
runTest29_30(methodName, 1);
}
/**
* Streaming: Randomize datanode speed, write several packets, DN0 throws a
* OutOfMemoryException when it receives the ack of the third packet from DN1.
* Client gets an IOException and determines DN0 bad.
*/
@Test
public void pipeline_Fi_30() throws IOException {
final String methodName = FiTestUtil.getMethodName();
runTest29_30(methodName, 0);
}
/**
* Streaming: Write several packets, DN1 never responses when it receives the
* ack of the third packet from DN2. Client gets an IOException and determines
* DN1 bad.
*/
@Test
public void pipeline_Fi_34() throws IOException {
final String methodName = FiTestUtil.getMethodName();
runTest34_35(methodName, 1);
}
/**
* Streaming: Write several packets, DN0 never responses when it receives the
* ack of the third packet from DN1. Client gets an IOException and determines
* DN0 bad.
*/
@Test
public void pipeline_Fi_35() throws IOException {
final String methodName = FiTestUtil.getMethodName();
runTest34_35(methodName, 0);
}
}
|
package com.redhat.training.health.route;
import java.net.URI;
import javax.enterprise.context.ApplicationScoped;
import com.redhat.training.health.route.aggregation.CovidCountryJsonDataAggregationStrategy;
import org.apache.camel.Exchange;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.model.rest.RestBindingMode;
import org.apache.http.client.utils.URIBuilder;
import org.eclipse.microprofile.config.inject.ConfigProperty;
@ApplicationScoped
class RESTRouteBuilder extends RouteBuilder{
@ConfigProperty(name = "info.countries.europe.rest.endpoint")
String countriesEndpoint;
@ConfigProperty(name = "info.covid.data.rest.endpoint")
String covidDataEndpoint;
@Override
public void configure() throws Exception {
restConfiguration()
.bindingMode(RestBindingMode.json);
URI dataUrl = new URIBuilder()
.setScheme("mongodb")
.setHost("camelMongoClient")
.addParameter("database", "covid-db")
.addParameter("collection", "covid-data")
.addParameter("operation", "findAll")
.build();
rest("/covid-data")
.get()
.route()
.to(dataUrl.toString())
.endRest();
rest("/covid-data-enriched")
.get()
.route()
.to("direct:enriched-data")
.endRest();
from("direct:enriched-data")
.to("direct:countries-data")
.enrich("direct:covid-data", new CovidCountryJsonDataAggregationStrategy());
from("direct:covid-data")
.removeHeaders("CamelHttp*")
.setHeader(Exchange.HTTP_METHOD, constant("GET"))
.to(covidDataEndpoint);
from("direct:countries-data")
.removeHeaders("CamelHttp*")
.setHeader(Exchange.HTTP_METHOD, constant("GET"))
.to(countriesEndpoint);
}
}
|
package com.tyrfing.games.tyrlib3.model.graphics.scene;
import com.tyrfing.games.tyrlib3.model.math.AABB;
public interface IBoundingBoxTreeQuery {
public boolean intersectsAABB(AABB aabb);
}
|
package com.codepath.apps.restclienttemplate;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
import com.codepath.apps.restclienttemplate.models.Tweet;
import com.loopj.android.http.AsyncHttpResponseHandler;
import com.loopj.android.http.JsonHttpResponseHandler;
import org.json.JSONException;
import org.json.JSONObject;
import org.parceler.Parcels;
import cz.msebera.android.httpclient.Header;
public class ComposeActivity extends AppCompatActivity {
TwitterClient client;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_compose);
client = TwitterApp.getRestClient(this);
}
public void postTweet(View view) {
EditText textBody = findViewById(R.id.etNewTweet);
String message = textBody.getText().toString();
client.sendTweet(message, new JsonHttpResponseHandler(){
@Override
public void onSuccess(int statusCode, Header[] headers, JSONObject response) {
super.onSuccess(statusCode, headers, response);
Log.d("Twitter Client", response.toString());
try {
Tweet tweet = Tweet.fromJSON(response);
Intent i = new Intent();
i.putExtra("newTweet", Parcels.wrap(tweet));
setResult(RESULT_OK, i);
finish();
} catch (JSONException e) {
e.printStackTrace();
}
}
@Override
public void onFailure(int statusCode, Header[] headers, String responseString, Throwable throwable) {
super.onFailure(statusCode, headers, responseString, throwable);
}
});
}
}
|
package de.bht.mmi.iot.model;
public final class AmqpConstants {
public static final String FRISS_EXCHANGE_NAME = "friss_exch";
}
|
package com.amar.library.ui;
import android.content.Context;
import android.os.Bundle;
import android.os.Parcelable;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewTreeObserver;
import androidx.core.widget.NestedScrollView;
import com.amar.library.R;
import com.amar.library.provider.ResourceProvider;
import com.amar.library.provider.interfaces.IResourceProvider;
import com.amar.library.ui.interfaces.IScrollViewListener;
import com.amar.library.ui.presentation.IStickyScrollPresentation;
import com.amar.library.ui.presenter.StickyScrollPresenter;
import com.amar.library.provider.ScreenInfoProvider;
import com.amar.library.provider.interfaces.IScreenInfoProvider;
public class StickyScrollView extends NestedScrollView implements IStickyScrollPresentation {
private IScrollViewListener scrollViewListener;
private View stickyFooterView;
private View stickyHeaderView;
private static final String SCROLL_STATE = "scroll_state";
private static final String SUPER_STATE = "super_state";
private StickyScrollPresenter mStickyScrollPresenter;
public StickyScrollView(Context context) {
this(context, null);
}
public StickyScrollView(Context context, AttributeSet attrs) {
this(context, attrs, 0);
}
public StickyScrollView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
IScreenInfoProvider screenInfoProvider = new ScreenInfoProvider(context);
IResourceProvider resourceProvider = new ResourceProvider(context, attrs, R.styleable.StickyScrollView);
mStickyScrollPresenter = new StickyScrollPresenter(this, screenInfoProvider, resourceProvider);
getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
@Override
public void onGlobalLayout() {
mStickyScrollPresenter.onGlobalLayoutChange(R.styleable.StickyScrollView_stickyHeader, R.styleable.StickyScrollView_stickyFooter);
getViewTreeObserver().removeOnGlobalLayoutListener(this);
}
});
}
@Override
protected void onLayout(boolean changed, int l, int t, int r, int b) {
super.onLayout(changed, l, t, r, b);
if (stickyFooterView != null && !changed) {
mStickyScrollPresenter.recomputeFooterLocation(getRelativeTop(stickyFooterView));
}
if (stickyHeaderView != null) {
mStickyScrollPresenter.recomputeHeaderLocation(stickyHeaderView.getTop());
}
}
private int getRelativeTop(View myView) {
if (myView.getParent() == myView.getRootView()) {
return myView.getTop();
} else {
return myView.getTop() + getRelativeTop((View) myView.getParent());
}
}
@Override
public void initHeaderView(int id) {
stickyHeaderView = findViewById(id);
mStickyScrollPresenter.initStickyHeader(stickyHeaderView.getTop());
}
@Override
public void initFooterView(int id) {
stickyFooterView = findViewById(id);
mStickyScrollPresenter.initStickyFooter(stickyFooterView.getMeasuredHeight(), getRelativeTop(stickyFooterView));
}
@Override
public void freeHeader() {
if (stickyHeaderView != null) {
stickyHeaderView.setTranslationY(0);
PropertySetter.setTranslationZ(stickyHeaderView, 0);
}
}
@Override
public void freeFooter() {
if (stickyFooterView != null) {
stickyFooterView.setTranslationY(0);
}
}
@Override
public void stickHeader(int translationY) {
if (stickyHeaderView != null) {
stickyHeaderView.setTranslationY(translationY);
PropertySetter.setTranslationZ(stickyHeaderView, 1);
}
}
@Override
public void stickFooter(int translationY) {
if (stickyFooterView != null) {
stickyFooterView.setTranslationY(translationY);
}
}
@Override
public int getCurrentScrollYPos() {
return getScrollY();
}
@Override
protected void onScrollChanged(int mScrollX, int mScrollY, int oldX, int oldY) {
super.onScrollChanged(mScrollX, mScrollY, oldX, oldY);
mStickyScrollPresenter.onScroll(mScrollY);
if (scrollViewListener != null) {
scrollViewListener.onScrollChanged(mScrollX, mScrollY, oldX, oldY);
}
}
public IScrollViewListener getScrollViewListener() {
return scrollViewListener;
}
public void setScrollViewListener(IScrollViewListener scrollViewListener) {
this.scrollViewListener = scrollViewListener;
}
public boolean isFooterSticky() {
return mStickyScrollPresenter.isFooterSticky();
}
public boolean isHeaderSticky() {
return mStickyScrollPresenter.isHeaderSticky();
}
@Override
protected void onOverScrolled(int scrollX, int scrollY, boolean clampedX, boolean clampedY) {
super.onOverScrolled(scrollX, scrollY, clampedX, clampedY);
if (scrollViewListener != null) {
scrollViewListener.onScrollStopped(clampedY);
}
}
@Override
public Parcelable onSaveInstanceState() {
Bundle bundle = new Bundle();
bundle.putParcelable(SUPER_STATE, super.onSaveInstanceState());
bundle.putBoolean(SCROLL_STATE, mStickyScrollPresenter.mScrolled);
return bundle;
}
@Override
public void onRestoreInstanceState(Parcelable state) {
if (state instanceof Bundle) {
Bundle bundle = (Bundle) state;
mStickyScrollPresenter.mScrolled = bundle.getBoolean(SCROLL_STATE);
state = bundle.getParcelable(SUPER_STATE);
}
super.onRestoreInstanceState(state);
}
}
|
/*
* Copyright 2013-2019 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
*
* 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 org.springframework.cloud.contract.stubrunner;
import java.io.File;
import java.util.Collection;
/**
* Describes an HTTP Server Stub.
*
* @author Marcin Grzejszczak
* @since 1.1.0
*/
public interface HttpServerStub {
/**
* @return port on which the server is running. Return {@code -1} if not applicable.
*/
int port();
/**
* @return https port on which the server is running. Return {@code -1} if not
* applicable.
*/
default int httpsPort() {
return -1;
}
/**
* @return {@code true} if the server is running
*/
boolean isRunning();
/**
* Starts the server on a random port. Should return itself to allow chaining.
* @deprecated use {@link HttpServerStub#start(HttpServerStubConfiguration)}
* @return this
*/
@Deprecated
HttpServerStub start();
/**
* Starts the server on a given port. Should return itself to allow chaining.
* @deprecated use {@link HttpServerStub#start(HttpServerStubConfiguration)}
* @param port port on which the server should be ran
* @return this
*/
@Deprecated
HttpServerStub start(int port);
/**
* Starts the server. Should return itself to allow chaining.
* @param configuration - setup for the given stub
* @return this
*/
default HttpServerStub start(HttpServerStubConfiguration configuration) {
if (configuration.isRandomPort()) {
return start();
}
return start(configuration.port);
};
/**
* Stops the server. Should return itself to allow chaining.
* @return this
*/
HttpServerStub stop();
/**
* Resets the server. Should return itself to allow chaining.
* @return this
*/
default HttpServerStub reset() {
return this;
}
/**
* Registers the stub files in the HTTP server stub. Should return itself to allow
* chaining.
* @param stubFiles collection of files containing stubs
* @return this
*/
HttpServerStub registerMappings(Collection<File> stubFiles);
/**
* @return a collection of registered mappings.
*/
String registeredMappings();
/**
* @param file file to check if can be accepted.
* @return {@code true} if the file is a valid stub mapping
*/
boolean isAccepted(File file);
}
|
package lof;
import java.util.ArrayList;
import org.apache.spark.api.java.function.PairFlatMapFunction;
import kdtree.KDTree;
import kdtree.Point;
import scala.Tuple2;
public class LRDF2 implements
PairFlatMapFunction<Tuple2<Integer, Iterable<Point>>, Integer, Point> {
private int k;
public LRDF2(int k) {
this.k = k;
}
@Override
public Iterable<Tuple2<Integer, Point>> call(
Tuple2<Integer, Iterable<Point>> arg0) throws Exception {
ArrayList<Point> pointsOriginalAL = new ArrayList<Point>();
ArrayList<Point> pointsGuestAL = new ArrayList<Point>();
int cellID = arg0._1;
for (Point p : arg0._2) {
if (p.getCellID() == cellID) {
pointsOriginalAL.add(p);
} else {
pointsGuestAL.add(p);
}
}
Point[] pointsO = new Point[pointsOriginalAL.size()];
Point[] pointsG = new Point[pointsGuestAL.size()];
int i = 0;
for (Point p : pointsOriginalAL) {
pointsO[i] = p;
i++;
}
i = 0;
for (Point p : pointsGuestAL) {
pointsG[i] = p;
i++;
}
pointsOriginalAL.clear();
pointsOriginalAL = null;
KDTree tree = new KDTree(pointsO, 10);
ArrayList<Point> neighbors = new ArrayList<Point>();
for (Point p : pointsG) {
float kDistance = KDTree.kNNQuery(tree, p, k, neighbors);
p.setReady(false);
Point[] knn = new Point[neighbors.size()];
for (int j = 0; j < neighbors.size(); j++) {
knn[j] = neighbors.get(j);
}
p.setNearestNeighbors(knn);
// context.write(key, new Text(p.toString() + "#" + p.getID() + " "
// + p.getCellID()));
neighbors.clear();
}
pointsOriginalAL = null;
ArrayList<Tuple2<Integer, Point>> results = new ArrayList<Tuple2<Integer, Point>>();
for (Point p : pointsGuestAL) {
results.add(new Tuple2<Integer, Point>(p.getCellID(), p));
}
return results;
}
}
|
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.01.24 at 12:07:02 PM EET
//
package it.polito.dp2.NFV.sol3.service;
import javax.xml.bind.annotation.XmlRegistry;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the it.polito.dp2.NFV.sol3.service package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: it.polito.dp2.NFV.sol3.service
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link PerformancesType }
*
*/
public PerformancesType createPerformancesType() {
return new PerformancesType();
}
/**
* Create an instance of {@link PerformanceType }
*
*/
public PerformanceType createPerformanceType() {
return new PerformanceType();
}
/**
* Create an instance of {@link VnftsType }
*
*/
public VnftsType createVnftsType() {
return new VnftsType();
}
/**
* Create an instance of {@link VnftType }
*
*/
public VnftType createVnftType() {
return new VnftType();
}
/**
* Create an instance of {@link NodesType }
*
*/
public NodesType createNodesType() {
return new NodesType();
}
/**
* Create an instance of {@link NodeType }
*
*/
public NodeType createNodeType() {
return new NodeType();
}
/**
* Create an instance of {@link LinkType }
*
*/
public LinkType createLinkType() {
return new LinkType();
}
/**
* Create an instance of {@link HostsType }
*
*/
public HostsType createHostsType() {
return new HostsType();
}
/**
* Create an instance of {@link HostType }
*
*/
public HostType createHostType() {
return new HostType();
}
/**
* Create an instance of {@link LinksType }
*
*/
public LinksType createLinksType() {
return new LinksType();
}
/**
* Create an instance of {@link NffgType }
*
*/
public NffgType createNffgType() {
return new NffgType();
}
/**
* Create an instance of {@link NffgsType }
*
*/
public NffgsType createNffgsType() {
return new NffgsType();
}
}
|
/**
* Copyright 2015-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.stingray.qello.firetv.android.model.translators;
import com.stingray.qello.firetv.android.model.content.ContentContainer;
import com.stingray.qello.firetv.android.recipe.Recipe;
import com.stingray.qello.firetv.android.model.AModelTranslator;
import com.stingray.qello.firetv.android.utils.FileHelper;
import org.junit.Before;
import org.junit.Test;
import android.support.test.InstrumentationRegistry;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
/**
* This class tests the {@link ContentContainerTranslator} class.
*/
public class ContentContainerTranslatorTest {
ContentContainerTranslator mTranslator;
Recipe mGoodRecipe;
@Before
public void setUp() throws Exception {
mTranslator = new ContentContainerTranslator();
mGoodRecipe = Recipe.newInstance(FileHelper.readFile(InstrumentationRegistry.getContext(),
"GoodContainerRecipe.json"));
}
/**
* Tests the {@link ContentContainerTranslator#setMemberVariable(ContentContainer, String,
* Object)} method for the name member variable.
*/
@Test
public void testSetMemberVariableName() throws Exception {
String nameText = "Category";
ContentContainer container = new ContentContainer();
assertTrue(mTranslator.setMemberVariable(container, ContentContainer.NAME_FIELD_NAME,
nameText));
assertEquals(container.getName(), nameText);
}
/**
* Tests the {@link ContentContainerTranslator#setMemberVariable(ContentContainer, String,
* Object)} for the extras member variable.
*/
@Test
public void testSetMemberVariableExtras() throws Exception {
String extraKey = "key";
String extraValue = "value";
ContentContainer container = new ContentContainer();
assertTrue(mTranslator.setMemberVariable(container, extraKey, extraValue));
assertEquals(container.getExtraStringValue(extraKey), extraValue);
}
/**
* Tests the {@link ContentContainerTranslator#setMemberVariable(ContentContainer, String,
* Object)} with a value that has an unexpected type.
*/
@Test
public void testSetMemberVariableNameWithBadValue() throws Exception {
ContentContainer container = new ContentContainer();
assertFalse(mTranslator.setMemberVariable(container, ContentContainer.NAME_FIELD_NAME,
new HashMap<>()));
}
/**
* Tests the {@link ContentContainerTranslator#setMemberVariable(ContentContainer, String,
* Object)} with null arguments.
*/
@Test
public void testSetMemberVariableFalseCases() throws Exception {
ContentContainer container = new ContentContainer();
String extraKey = "key";
String extraValue = "value";
assertFalse(mTranslator.setMemberVariable(null, extraKey, extraValue));
assertFalse(mTranslator.setMemberVariable(container, null, extraValue));
assertFalse(mTranslator.setMemberVariable(container, "", extraValue));
assertFalse(mTranslator.setMemberVariable(container, extraKey, null));
}
/**
* Tests the {@link ContentContainerTranslator#validateModel(ContentContainer)} method.
*/
@Test
public void testValidateModel() throws Exception {
ContentContainer container = new ContentContainer();
// Container is empty with no name, shouldn't be valid.
assertFalse(mTranslator.validateModel(container));
container.setName("Name");
// Container has name set, should be valid.
assertTrue(mTranslator.validateModel(container));
// A null container is not a valid container.
assertFalse(mTranslator.validateModel(null));
}
/**
* Tests the {@link ContentContainerTranslator#instantiateModel()} method.
*/
@Test
public void testInstantiateModel() throws Exception {
assertNotNull(mTranslator.instantiateModel());
}
/**
* Tests the {@link ContentContainerTranslator#mapToModel(Map, Recipe)} method with a null map
* argument.
*/
@Test(expected = IllegalArgumentException.class)
public void testMapToModelNullMapCase() throws Exception {
mTranslator.mapToModel(null, mGoodRecipe);
}
/**
* Tests the {@link ContentContainerTranslator#mapToModel(Map, Recipe)} method with a null
* recipe argument.
*/
@Test(expected = IllegalArgumentException.class)
public void testMapToModelNullRecipeCase() throws Exception {
mTranslator.mapToModel(createValidMap(), null);
}
/**
* Tests the {@link ContentContainerTranslator#mapToModel(Map, Recipe)} method with a valid map
* and recipe to get expected output.
*/
@Test
public void testMapToModel() throws Exception {
ContentContainer expected = createValidContainer();
ContentContainer result = mTranslator.mapToModel(createValidMap(), mGoodRecipe);
assertEquals(expected, result);
}
/**
* Tests the {@link ContentContainerTranslator#mapToModel(Map, Recipe)} method with a bad
* recipe.
*/
@Test
public void testMapToModelWithBadRecipe() throws Exception {
Recipe badRecipe = Recipe.newInstance(FileHelper.readFile(InstrumentationRegistry
.getContext(),
"BadContainerRecipe.json"));
ContentContainer container = mTranslator.mapToModel(createValidMap(), badRecipe);
assertNull("ContentContainer should be null", container);
}
/**
* Tests the {@link ContentContainerTranslator#mapToModel(Map, Recipe)} method with a bad map.
*/
@Test(expected = AModelTranslator.TranslationException.class)
public void testMapToModelWithBadMap() throws Exception {
Map<String, Object> map = createValidMap();
map.remove("name");
mTranslator.mapToModel(map, mGoodRecipe);
}
/**
* Tests the {@link ContentContainerTranslator#mapListToModelList(List, Recipe)} with a null
* map list.
*/
@Test(expected = IllegalArgumentException.class)
public void testMapToModelListNullMapCase() throws Exception {
mTranslator.mapListToModelList(null, mGoodRecipe);
}
/**
* Tests the {@link ContentContainerTranslator#mapListToModelList(List, Recipe)} with a null
* recipe.
*/
@Test(expected = IllegalArgumentException.class)
public void testMapToModelListNullRecipeCase() throws Exception {
mTranslator.mapListToModelList(new ArrayList<Map<String, Object>>(), null);
}
/**
* Tests the {@link ContentTranslator#mapListToModelList(List, Recipe)} with good input
* arguments.
*/
@Test
public void testMapToModelList() throws Exception {
List<Map<String, Object>> mapList = new ArrayList<>();
List<ContentContainer> expected = new ArrayList<>();
for (int i = 0; i < 3; i++) {
mapList.add(createValidMap());
expected.add(createValidContainer());
}
List<ContentContainer> result = mTranslator.mapListToModelList(mapList, mGoodRecipe);
assertEquals(expected, result);
}
/**
* Tests the {@link ContentTranslator#getName()} method.
*/
@Test
public void testGetName() throws Exception {
assertEquals(ContentContainerTranslator.class.getSimpleName(), mTranslator.getName());
}
/**
* Creates a valid map to test translation with. Should produce a {@link ContentContainer} that
* matches the result of {@link #createValidContainer()}.
*/
private Map<String, Object> createValidMap() {
Map<String, Object> map = new HashMap<>();
map.put("name", "Content Container");
map.put("id", "100");
return map;
}
/**
* Creates a valid {@link ContentContainer} model to test with.
*/
private ContentContainer createValidContainer() {
ContentContainer container = new ContentContainer("Content Container");
container.setExtraValue("id", "100");
return container;
}
}
|
package seedu.address.storage;
import java.io.FileNotFoundException;
import java.nio.file.Path;
import seedu.address.commons.exceptions.DataConversionException;
import seedu.address.model.awareness.Awareness;
/**
* A class used to access Awareness data stored as XML on the disk.
* This class itself does not control the logic used in de-serializing XML into in-memory objects.
*/
public class XmlAwarenessStorage implements AwarenessStorage {
private final Path filePath;
public XmlAwarenessStorage(Path filePath) {
this.filePath = filePath;
}
public Awareness readAwarenessData() throws DataConversionException, FileNotFoundException {
return XmlSerializableAwareness.loadDataFromSaveFile(filePath).toModelType();
}
}
|
package com.liveramp.generative.default_values;
import java.util.Map;
import org.apache.thrift.meta_data.FieldValueMetaData;
import org.apache.thrift.meta_data.MapMetaData;
import com.liveramp.generative.Arbitrary;
import com.liveramp.generative.MapOf;
@SuppressWarnings("unchecked")
class MapValueCreator<K, V> implements DefaultValueCreator<Map<K, V>> {
private DefaultValueCreatorFactory defaultValueCreatorFactory;
public MapValueCreator(DefaultValueCreatorFactory defaultValueCreatorFactory) {
this.defaultValueCreatorFactory = defaultValueCreatorFactory;
}
@Override
public Arbitrary<Map<K, V>> apply(FieldValueMetaData fv) {
MapMetaData mv = (MapMetaData)fv;
DefaultValueCreator<K> keyCreator = (DefaultValueCreator<K>)defaultValueCreatorFactory.apply(mv.keyMetaData);
DefaultValueCreator<V> valueCreator = (DefaultValueCreator<V>)defaultValueCreatorFactory.apply(mv.valueMetaData);
return new MapOf<>(keyCreator.apply(mv.keyMetaData), valueCreator.apply(mv.valueMetaData), 10);
}
}
|
package br.com.caelum.jdbc;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import br.com.caelum.jdbc.modelo.Estados;
public class CorreioDao {
private Connection connection;
public CorreioDao() {
this.connection = new ConnectionFactory().getConnection();
}
public void adiciona(Estados estados) {
String sql = "insert into estados (uf,nome) values (?,?)";
try {
PreparedStatement stmt = connection.prepareStatement(sql);
// seta os valores
stmt.setString(1, estados.getUf());
stmt.setString(2, estados.getNome());
// executa
stmt.execute();
stmt.close();
} catch (SQLException e) {
throw new RuntimeException(e);
}
}
public void altera(Estados estados) {
String sql = "update estados set uf=?, nome=? where id=?";
try {
PreparedStatement stmt = connection.prepareStatement(sql);
stmt.setString(1, estados.getUf());
stmt.setString(2, estados.getNome());
stmt.setLong(3, estados.getId());
stmt.execute();
stmt.close();
} catch (SQLException e) {
throw new RuntimeException(e);
}
}
public void remove(Estados estados) {
try {
PreparedStatement stmt = connection.prepareStatement("delete from estados where id=?");
stmt.setLong(1, estados.getId());
stmt.execute();
stmt.close();
} catch (SQLException e) {
throw new RuntimeException(e);
}
}
public List<Estados> getLista() {
try{
List<Estados> estados = new ArrayList<Estados>();
PreparedStatement stmt = this.connection.
prepareStatement("select * from estados");
ResultSet rs = stmt.executeQuery();
while (rs.next()) {
Estados estado = new Estados();
estado.setId(rs.getLong("id"));
estado.setUf(rs.getString("uf"));
estado.setNome(rs.getString("nome"));
estados.add(estado);
}
rs.close();
stmt.close();
return estados;
} catch (SQLException e) {
throw new RuntimeException(e);
}
}
}
|
package com.ams.integration;
import com.ams.integration.dto.LegalEntityBranchType;
import com.ams.integration.dto.LegalEntityType;
/**
* Context for legal entity search.
*
* @author Alexey Mironov
*/
public class LegalEntityContext {
/**
* Inn, kpp or query for search.
*/
private final String query;
/**
* The legal entity type.
*/
private final LegalEntityType legalEntityType;
/**
* The branch type (main or branch).
*/
private final LegalEntityBranchType branchType;
/**
* The kpp.
*/
private final String kpp;
/**
* Max count to return.
*/
private final int count;
private LegalEntityContext(LegalEntityContextBuilder builder) {
this.query = builder.query;
this.legalEntityType = builder.entityType;
this.branchType = builder.branchType;
this.kpp = builder.kpp;
this.count = builder.count;
}
public String getQuery() {
return query;
}
public LegalEntityType getLegalEntityType() {
return legalEntityType;
}
public LegalEntityBranchType getBranchType() {
return branchType;
}
public String getKpp() {
return kpp;
}
public int getCount() {
return count;
}
public static LegalEntityContextBuilder builder() {
return new LegalEntityContextBuilder();
}
public static class LegalEntityContextBuilder {
private LegalEntityType entityType;
private LegalEntityBranchType branchType;
private String kpp;
private int count = 10;
private String query;
public LegalEntityContextBuilder entityType(LegalEntityType entityType) {
this.entityType = entityType;
return this;
}
public LegalEntityContextBuilder branchType(LegalEntityBranchType branchType) {
this.branchType = branchType;
return this;
}
public LegalEntityContextBuilder kpp(String kpp) {
this.kpp = kpp;
return this;
}
public LegalEntityContextBuilder count(int count) {
this.count = count;
return this;
}
public LegalEntityContextBuilder query(String query) {
this.query = query;
return this;
}
public LegalEntityContext build() {
return new LegalEntityContext(this);
}
}
}
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.hive.ql.exec.repl;
import com.google.common.collect.Collections2;
import org.apache.commons.lang3.StringUtils;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hive.common.TableName;
import org.apache.hadoop.hive.common.repl.ReplScope;
import org.apache.hadoop.hive.conf.HiveConf;
import org.apache.hadoop.hive.metastore.TableType;
import org.apache.hadoop.hive.metastore.api.Database;
import org.apache.hadoop.hive.ql.ErrorMsg;
import org.apache.hadoop.hive.ql.ddl.DDLWork;
import org.apache.hadoop.hive.ql.ddl.database.alter.poperties.AlterDatabaseSetPropertiesDesc;
import org.apache.hadoop.hive.ql.ddl.view.create.CreateViewDesc;
import org.apache.hadoop.hive.ql.exec.Task;
import org.apache.hadoop.hive.ql.exec.TaskFactory;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.BootstrapEvent;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.ConstraintEvent;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.DatabaseEvent;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.FunctionEvent;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.PartitionEvent;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.filesystem.BootstrapEventsIterator;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.filesystem.ConstraintEventsIterator;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.filesystem.FSTableEvent;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.LoadConstraint;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.LoadDatabase;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.LoadFunction;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.table.LoadPartitions;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.table.LoadTable;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.table.TableContext;
import org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.util.Context;
import org.apache.hadoop.hive.ql.exec.repl.incremental.IncrementalLoadTasksBuilder;
import org.apache.hadoop.hive.ql.exec.repl.util.AddDependencyToLeaves;
import org.apache.hadoop.hive.ql.exec.repl.util.ReplUtils;
import org.apache.hadoop.hive.ql.exec.repl.util.TaskTracker;
import org.apache.hadoop.hive.ql.exec.util.DAGTraversal;
import org.apache.hadoop.hive.ql.metadata.Hive;
import org.apache.hadoop.hive.ql.metadata.HiveException;
import org.apache.hadoop.hive.ql.metadata.Table;
import org.apache.hadoop.hive.ql.parse.HiveTableName;
import org.apache.hadoop.hive.ql.parse.ReplicationSpec;
import org.apache.hadoop.hive.ql.parse.SemanticAnalyzer;
import org.apache.hadoop.hive.ql.parse.SemanticException;
import org.apache.hadoop.hive.ql.parse.repl.ReplLogger;
import org.apache.hadoop.hive.ql.parse.repl.load.MetaData;
import org.apache.hadoop.hive.ql.plan.api.StageType;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import static org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.LoadDatabase.AlterDatabase;
import static org.apache.hadoop.hive.ql.exec.repl.ReplAck.LOAD_ACKNOWLEDGEMENT;
import static org.apache.hadoop.hive.ql.exec.repl.util.ReplUtils.RANGER_AUTHORIZER;
public class ReplLoadTask extends Task<ReplLoadWork> implements Serializable {
private static final long serialVersionUID = 1L;
private final static int ZERO_TASKS = 0;
@Override
public String getName() {
return (work.isIncrementalLoad() ? "REPL_INCREMENTAL_LOAD" : "REPL_BOOTSTRAP_LOAD");
}
@Override
public StageType getType() {
return work.isIncrementalLoad() ? StageType.REPL_INCREMENTAL_LOAD : StageType.REPL_BOOTSTRAP_LOAD;
}
/**
* Provides the root Tasks created as a result of this loadTask run which will be executed
* by the driver. It does not track details across multiple runs of LoadTask.
*/
private static class Scope {
boolean database = false, table = false;
List<Task<?>> rootTasks = new ArrayList<>();
}
@Override
public int execute() {
try {
Task<?> rootTask = work.getRootTask();
if (rootTask != null) {
rootTask.setChildTasks(null);
}
work.setRootTask(this);
this.parentTasks = null;
if (shouldLoadAtlasMetadata()) {
addAtlasLoadTask();
}
if (shouldLoadAuthorizationMetadata()) {
initiateAuthorizationLoadTask();
}
if (work.isIncrementalLoad()) {
return executeIncrementalLoad();
} else {
return executeBootStrapLoad();
}
} catch (RuntimeException e) {
LOG.error("replication failed with run time exception", e);
throw e;
} catch (Exception e) {
LOG.error("replication failed", e);
setException(e);
return ErrorMsg.getErrorMsg(e.getMessage()).getErrorCode();
}
}
private boolean shouldLoadAuthorizationMetadata() {
return conf.getBoolVar(HiveConf.ConfVars.REPL_INCLUDE_AUTHORIZATION_METADATA);
}
private void initiateAuthorizationLoadTask() throws SemanticException {
if (RANGER_AUTHORIZER.equalsIgnoreCase(conf.getVar(HiveConf.ConfVars.REPL_AUTHORIZATION_PROVIDER_SERVICE))) {
Path rangerLoadRoot = new Path(new Path(work.dumpDirectory).getParent(), ReplUtils.REPL_RANGER_BASE_DIR);
LOG.info("Adding Import Ranger Metadata Task from {} ", rangerLoadRoot);
RangerLoadWork rangerLoadWork = new RangerLoadWork(rangerLoadRoot, work.getSourceDbName(), work.dbNameToLoadIn);
Task<RangerLoadWork> rangerLoadTask = TaskFactory.get(rangerLoadWork, conf);
if (childTasks == null) {
childTasks = new ArrayList<>();
}
childTasks.add(rangerLoadTask);
} else {
throw new SemanticException("Authorizer " + conf.getVar(HiveConf.ConfVars.REPL_AUTHORIZATION_PROVIDER_SERVICE)
+ " not supported for replication ");
}
}
private void addAtlasLoadTask() throws HiveException {
Path atlasDumpDir = new Path(new Path(work.dumpDirectory).getParent(), ReplUtils.REPL_ATLAS_BASE_DIR);
LOG.info("Adding task to load Atlas metadata from {} ", atlasDumpDir);
AtlasLoadWork atlasLoadWork = new AtlasLoadWork(work.getSourceDbName(), work.dbNameToLoadIn, atlasDumpDir);
Task<?> atlasLoadTask = TaskFactory.get(atlasLoadWork, conf);
if (childTasks == null) {
childTasks = new ArrayList<>();
}
childTasks.add(atlasLoadTask);
}
private boolean shouldLoadAtlasMetadata() {
return conf.getBoolVar(HiveConf.ConfVars.REPL_INCLUDE_ATLAS_METADATA);
}
private int executeBootStrapLoad() throws Exception {
int maxTasks = conf.getIntVar(HiveConf.ConfVars.REPL_APPROX_MAX_LOAD_TASKS);
Context loadContext = new Context(work.dumpDirectory, conf, getHive(),
work.sessionStateLineageState, context);
TaskTracker loadTaskTracker = new TaskTracker(maxTasks);
/*
for now for simplicity we are doing just one directory ( one database ), come back to use
of multiple databases once we have the basic flow to chain creating of tasks in place for
a database ( directory )
*/
BootstrapEventsIterator iterator = work.bootstrapIterator();
ConstraintEventsIterator constraintIterator = work.constraintsIterator();
/*
This is used to get hold of a reference during the current creation of tasks and is initialized
with "0" tasks such that it will be non consequential in any operations done with task tracker
compositions.
*/
TaskTracker dbTracker = new TaskTracker(ZERO_TASKS);
TaskTracker tableTracker = new TaskTracker(ZERO_TASKS);
Scope scope = new Scope();
boolean loadingConstraint = false;
if (!iterator.hasNext() && constraintIterator.hasNext()) {
loadingConstraint = true;
}
while ((iterator.hasNext() || (loadingConstraint && constraintIterator.hasNext()))
&& loadTaskTracker.canAddMoreTasks()) {
BootstrapEvent next;
if (!loadingConstraint) {
next = iterator.next();
} else {
next = constraintIterator.next();
}
switch (next.eventType()) {
case Database:
DatabaseEvent dbEvent = (DatabaseEvent) next;
dbTracker = new LoadDatabase(loadContext, dbEvent, work.dbNameToLoadIn, loadTaskTracker).tasks();
loadTaskTracker.update(dbTracker);
if (work.hasDbState()) {
loadTaskTracker.update(updateDatabaseLastReplID(maxTasks, loadContext, scope));
} else {
// Scope might have set to database in some previous iteration of loop, so reset it to false if database
// tracker has no tasks.
scope.database = false;
}
work.updateDbEventState(dbEvent.toState());
if (dbTracker.hasTasks()) {
scope.rootTasks.addAll(dbTracker.tasks());
scope.database = true;
}
dbTracker.debugLog("database");
break;
case Table:
/*
Implicit assumption here is that database level is processed first before table level,
which will depend on the iterator used since it should provide the higher level directory
listing before providing the lower level listing. This is also required such that
the dbTracker / tableTracker are setup correctly always.
*/
TableContext tableContext = new TableContext(dbTracker, work.dbNameToLoadIn);
FSTableEvent tableEvent = (FSTableEvent) next;
if (TableType.VIRTUAL_VIEW.name().equals(tableEvent.getMetaData().getTable().getTableType())) {
tableTracker = new TaskTracker(1);
tableTracker.addTask(createViewTask(tableEvent.getMetaData(), work.dbNameToLoadIn, conf));
} else {
LoadTable loadTable = new LoadTable(tableEvent, loadContext, iterator.replLogger(), tableContext,
loadTaskTracker);
tableTracker = loadTable.tasks(work.isIncrementalLoad());
}
setUpDependencies(dbTracker, tableTracker);
if (!scope.database && tableTracker.hasTasks()) {
scope.rootTasks.addAll(tableTracker.tasks());
scope.table = true;
} else {
// Scope might have set to table in some previous iteration of loop, so reset it to false if table
// tracker has no tasks.
scope.table = false;
}
if (!TableType.VIRTUAL_VIEW.name().equals(tableEvent.getMetaData().getTable().getTableType())) {
/*
for table replication if we reach the max number of tasks then for the next run we will
try to reload the same table again, this is mainly for ease of understanding the code
as then we can avoid handling == > loading partitions for the table given that
the creation of table lead to reaching max tasks vs, loading next table since current
one does not have partitions.
*/
// for a table we explicitly try to load partitions as there is no separate partitions events.
LoadPartitions loadPartitions =
new LoadPartitions(loadContext, iterator.replLogger(), loadTaskTracker, tableEvent,
work.dbNameToLoadIn, tableContext);
TaskTracker partitionsTracker = loadPartitions.tasks();
partitionsPostProcessing(iterator, scope, loadTaskTracker, tableTracker,
partitionsTracker);
tableTracker.debugLog("table");
partitionsTracker.debugLog("partitions for table");
}
break;
case Partition:
/*
This will happen only when loading tables and we reach the limit of number of tasks we can create;
hence we know here that the table should exist and there should be a lastPartitionName
*/
addLoadPartitionTasks(loadContext, next, dbTracker, iterator, scope, loadTaskTracker, tableTracker);
break;
case Function:
loadTaskTracker.update(addLoadFunctionTasks(loadContext, iterator, next, dbTracker, scope));
break;
case Constraint:
loadTaskTracker.update(addLoadConstraintsTasks(loadContext, next, dbTracker, scope));
break;
default:
break;
}
if (!loadingConstraint && !iterator.currentDbHasNext()) {
createEndReplLogTask(loadContext, scope, iterator.replLogger());
}
}
boolean addAnotherLoadTask = iterator.hasNext()
|| loadTaskTracker.hasReplicationState()
|| constraintIterator.hasNext();
if (addAnotherLoadTask) {
createBuilderTask(scope.rootTasks);
}
// Update last repl ID of the database only if the current dump is not incremental. If bootstrap
// is combined with incremental dump, it contains only tables to bootstrap. So, needn't change
// last repl ID of the database.
if (!iterator.hasNext() && !constraintIterator.hasNext() && !work.isIncrementalLoad()) {
loadTaskTracker.update(updateDatabaseLastReplID(maxTasks, loadContext, scope));
work.updateDbEventState(null);
}
if (childTasks == null) {
childTasks = new ArrayList<>();
}
childTasks.addAll(scope.rootTasks);
/*
Since there can be multiple rounds of this run all of which will be tied to the same
query id -- generated in compile phase , adding a additional UUID to the end to print each run
in separate files.
*/
LOG.info("Root Tasks / Total Tasks : {} / {} ", childTasks.size(), loadTaskTracker.numberOfTasks());
// Populate the driver context with the scratch dir info from the repl context, so that the
// temp dirs will be cleaned up later
context.getFsScratchDirs().putAll(loadContext.pathInfo.getFsScratchDirs());
createReplLoadCompleteAckTask();
LOG.info("completed load task run : {}", work.executedLoadTask());
return 0;
}
private TaskTracker addLoadPartitionTasks(Context loadContext, BootstrapEvent next, TaskTracker dbTracker,
BootstrapEventsIterator iterator, Scope scope, TaskTracker loadTaskTracker,
TaskTracker tableTracker) throws Exception {
PartitionEvent event = (PartitionEvent) next;
TableContext tableContext = new TableContext(dbTracker, work.dbNameToLoadIn);
LoadPartitions loadPartitions =
new LoadPartitions(loadContext, iterator.replLogger(), tableContext, loadTaskTracker,
event.asTableEvent(), work.dbNameToLoadIn, event.lastPartitionReplicated());
/*
the tableTracker here should be a new instance and not an existing one as this can
only happen when we break in between loading partitions.
*/
TaskTracker partitionsTracker = loadPartitions.tasks();
partitionsPostProcessing(iterator, scope, loadTaskTracker, tableTracker,
partitionsTracker);
partitionsTracker.debugLog("partitions");
return partitionsTracker;
}
private TaskTracker addLoadConstraintsTasks(Context loadContext,
BootstrapEvent next,
TaskTracker dbTracker,
Scope scope) throws IOException, SemanticException {
LoadConstraint loadConstraint =
new LoadConstraint(loadContext, (ConstraintEvent) next, work.dbNameToLoadIn, dbTracker);
TaskTracker constraintTracker = loadConstraint.tasks();
scope.rootTasks.addAll(constraintTracker.tasks());
constraintTracker.debugLog("constraints");
return constraintTracker;
}
private TaskTracker addLoadFunctionTasks(Context loadContext, BootstrapEventsIterator iterator, BootstrapEvent next,
TaskTracker dbTracker, Scope scope) throws IOException, SemanticException {
LoadFunction loadFunction = new LoadFunction(loadContext, iterator.replLogger(),
(FunctionEvent) next, work.dbNameToLoadIn, dbTracker);
TaskTracker functionsTracker = loadFunction.tasks();
if (!scope.database) {
scope.rootTasks.addAll(functionsTracker.tasks());
} else {
setUpDependencies(dbTracker, functionsTracker);
}
functionsTracker.debugLog("functions");
return functionsTracker;
}
public static Task<?> createViewTask(MetaData metaData, String dbNameToLoadIn, HiveConf conf)
throws SemanticException {
Table table = new Table(metaData.getTable());
String dbName = dbNameToLoadIn == null ? table.getDbName() : dbNameToLoadIn;
TableName tableName = HiveTableName.ofNullable(table.getTableName(), dbName);
String dbDotView = tableName.getNotEmptyDbTable();
CreateViewDesc desc = new CreateViewDesc(dbDotView, table.getAllCols(), null, table.getParameters(),
table.getPartColNames(), false, false, false, table.getSd().getInputFormat(),
table.getSd().getOutputFormat(),
table.getSd().getSerdeInfo().getSerializationLib());
String originalText = table.getViewOriginalText();
String expandedText = table.getViewExpandedText();
if (!dbName.equals(table.getDbName())) {
// TODO: If the DB name doesn't match with the metadata from dump, then need to rewrite the original and expanded
// texts using new DB name. Currently it refers to the source database name.
}
desc.setViewOriginalText(originalText);
desc.setViewExpandedText(expandedText);
desc.setPartCols(table.getPartCols());
desc.setReplicationSpec(metaData.getReplicationSpec());
desc.setOwnerName(table.getOwner());
return TaskFactory.get(new DDLWork(new HashSet<>(), new HashSet<>(), desc), conf);
}
/**
* If replication policy is changed between previous and current load, then the excluded tables in
* the new replication policy will be dropped.
*
* @throws HiveException Failed to get/drop the tables.
*/
private void dropTablesExcludedInReplScope(ReplScope replScope) throws HiveException {
// If all tables are included in replication scope, then nothing to be dropped.
if ((replScope == null) || replScope.includeAllTables()) {
return;
}
Hive db = getHive();
String dbName = replScope.getDbName();
// List all the tables that are excluded in the current repl scope.
Iterable<String> tableNames = Collections2.filter(db.getAllTables(dbName),
tableName -> {
assert (tableName != null);
return !tableName.toLowerCase().startsWith(
SemanticAnalyzer.VALUES_TMP_TABLE_NAME_PREFIX.toLowerCase())
&& !replScope.tableIncludedInReplScope(tableName);
});
for (String table : tableNames) {
db.dropTable(dbName + "." + table, true);
}
LOG.info("Tables in the Database: {} that are excluded in the replication scope are dropped.",
dbName);
}
private void createReplLoadCompleteAckTask() {
if ((work.isIncrementalLoad() && !work.incrementalLoadTasksBuilder().hasMoreWork() && !work.hasBootstrapLoadTasks())
|| (!work.isIncrementalLoad() && !work.hasBootstrapLoadTasks())) {
//All repl load tasks are executed and status is 0, create the task to add the acknowledgement
AckWork replLoadAckWork = new AckWork(
new Path(work.dumpDirectory, LOAD_ACKNOWLEDGEMENT.toString()));
Task<AckWork> loadAckWorkTask = TaskFactory.get(replLoadAckWork, conf);
if (childTasks.isEmpty()) {
childTasks.add(loadAckWorkTask);
} else {
DAGTraversal.traverse(childTasks, new AddDependencyToLeaves(Collections.singletonList(loadAckWorkTask)));
}
}
}
private void createEndReplLogTask(Context context, Scope scope,
ReplLogger replLogger) throws SemanticException {
Map<String, String> dbProps;
if (work.isIncrementalLoad()) {
dbProps = new HashMap<>();
dbProps.put(ReplicationSpec.KEY.CURR_STATE_ID.toString(),
work.incrementalLoadTasksBuilder().eventTo().toString());
} else {
Database dbInMetadata = work.databaseEvent(context.hiveConf).dbInMetadata(work.dbNameToLoadIn);
dbProps = dbInMetadata.getParameters();
}
ReplStateLogWork replLogWork = new ReplStateLogWork(replLogger, dbProps);
Task<ReplStateLogWork> replLogTask = TaskFactory.get(replLogWork, conf);
if (scope.rootTasks.isEmpty()) {
scope.rootTasks.add(replLogTask);
} else {
DAGTraversal.traverse(scope.rootTasks, new AddDependencyToLeaves(Collections.singletonList(replLogTask)));
}
}
/**
* There was a database update done before and we want to make sure we update the last repl
* id on this database as we are now going to switch to processing a new database.
* This has to be last task in the graph since if there are intermediate tasks and the last.repl.id
* is a root level task then in the execution phase the root level tasks will get executed first,
* however if any of the child tasks of the bootstrap load failed then even though the bootstrap has failed
* the last repl status of the target database will return a valid value, which will not represent
* the state of the database.
*/
private TaskTracker updateDatabaseLastReplID(int maxTasks, Context context, Scope scope)
throws SemanticException {
/*
we don't want to put any limits on this task as this is essential before we start
processing new database events.
*/
TaskTracker taskTracker =
new AlterDatabase(context, work.databaseEvent(context.hiveConf), work.dbNameToLoadIn,
new TaskTracker(maxTasks)).tasks();
AddDependencyToLeaves function = new AddDependencyToLeaves(taskTracker.tasks());
DAGTraversal.traverse(scope.rootTasks, function);
return taskTracker;
}
private void partitionsPostProcessing(BootstrapEventsIterator iterator,
Scope scope, TaskTracker loadTaskTracker, TaskTracker tableTracker,
TaskTracker partitionsTracker) {
setUpDependencies(tableTracker, partitionsTracker);
if (!scope.database && !scope.table) {
scope.rootTasks.addAll(partitionsTracker.tasks());
}
loadTaskTracker.update(tableTracker);
loadTaskTracker.update(partitionsTracker);
if (partitionsTracker.hasReplicationState()) {
iterator.setReplicationState(partitionsTracker.replicationState());
}
}
/*
This sets up dependencies such that a child task is dependant on the parent to be complete.
*/
private void setUpDependencies(TaskTracker parentTasks, TaskTracker childTasks) {
if (parentTasks.hasTasks()) {
for (Task<?> parentTask : parentTasks.tasks()) {
for (Task<?> childTask : childTasks.tasks()) {
parentTask.addDependentTask(childTask);
}
}
} else {
for (Task<?> childTask : childTasks.tasks()) {
parentTasks.addTask(childTask);
}
}
}
private void createBuilderTask(List<Task<?>> rootTasks) {
// Use loadTask as dependencyCollection
Task<ReplLoadWork> loadTask = TaskFactory.get(work, conf);
DAGTraversal.traverse(rootTasks, new AddDependencyToLeaves(loadTask));
}
private int executeIncrementalLoad() throws Exception {
// If replication policy is changed between previous and current repl load, then drop the tables
// that are excluded in the new replication policy.
dropTablesExcludedInReplScope(work.currentReplScope);
IncrementalLoadTasksBuilder builder = work.incrementalLoadTasksBuilder();
// If incremental events are already applied, then check and perform if need to bootstrap any tables.
if (!builder.hasMoreWork() && work.isLastReplIDUpdated()) {
if (work.hasBootstrapLoadTasks()) {
LOG.debug("Current incremental dump have tables to be bootstrapped. Switching to bootstrap "
+ "mode after applying all events.");
return executeBootStrapLoad();
}
}
List<Task<?>> childTasks = new ArrayList<>();
int maxTasks = conf.getIntVar(HiveConf.ConfVars.REPL_APPROX_MAX_LOAD_TASKS);
TaskTracker tracker = new TaskTracker(maxTasks);
childTasks.add(builder.build(context, getHive(), LOG, tracker));
// If there are no more events to be applied, add a task to update the last.repl.id of the
// target database to the event id of the last event considered by the dump. Next
// incremental cycle won't consider the events in this dump again if it starts from this id.
if (!builder.hasMoreWork()) {
// The name of the database to be loaded into is either specified directly in REPL LOAD
// command i.e. when dbNameToLoadIn has a valid dbname or is available through dump
// metadata during table level replication.
String dbName = work.dbNameToLoadIn;
if (dbName == null || StringUtils.isBlank(dbName)) {
if (work.currentReplScope != null) {
String replScopeDbName = work.currentReplScope.getDbName();
if (replScopeDbName != null && !"*".equals(replScopeDbName)) {
dbName = replScopeDbName;
}
}
}
// If we are replicating to multiple databases at a time, it's not
// possible to know which all databases we are replicating into and hence we can not
// update repl id in all those databases.
if (StringUtils.isNotBlank(dbName)) {
String lastEventid = builder.eventTo().toString();
Map<String, String> mapProp = new HashMap<>();
mapProp.put(ReplicationSpec.KEY.CURR_STATE_ID.toString(), lastEventid);
AlterDatabaseSetPropertiesDesc alterDbDesc =
new AlterDatabaseSetPropertiesDesc(dbName, mapProp,
new ReplicationSpec(lastEventid, lastEventid));
Task<?> updateReplIdTask =
TaskFactory.get(new DDLWork(new HashSet<>(), new HashSet<>(), alterDbDesc), conf);
DAGTraversal.traverse(childTasks, new AddDependencyToLeaves(updateReplIdTask));
work.setLastReplIDUpdated(true);
LOG.debug("Added task to set last repl id of db " + dbName + " to " + lastEventid);
}
}
// Once all the incremental events are applied, enable bootstrap of tables if exist.
if (builder.hasMoreWork() || work.hasBootstrapLoadTasks()) {
DAGTraversal.traverse(childTasks, new AddDependencyToLeaves(TaskFactory.get(work, conf)));
}
if (this.childTasks == null) {
this.childTasks = new ArrayList<>();
}
this.childTasks.addAll(childTasks);
createReplLoadCompleteAckTask();
return 0;
}
}
|
/*
* Copyright (C) Luxoft 2017
*
* 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.
*
* Created by ADoroganov on 25.07.2017.
*/
package com.luxoft.fabric;
import com.fasterxml.jackson.databind.*;
import com.luxoft.fabric.events.EventTracker;
import com.luxoft.fabric.model.ConfigData;
import com.luxoft.fabric.model.FileReference;
import com.luxoft.fabric.model.jackson.ConfigModule;
import com.luxoft.fabric.utils.ConfigGenerator;
import com.luxoft.fabric.utils.MiscUtils;
import com.luxoft.fabric.utils.UserEnrollmentUtils;
import org.hyperledger.fabric.sdk.*;
import org.hyperledger.fabric.sdk.exception.*;
import org.hyperledger.fabric.sdk.security.CryptoSuite;
import org.hyperledger.fabric_ca.sdk.HFCAClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.json.Json;
import java.io.*;
import java.net.MalformedURLException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.Duration;
import java.util.*;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.TimeUnit;
import static java.nio.charset.StandardCharsets.UTF_8;
import static java.util.Objects.requireNonNull;
// TODO: FabricConfig class has a lot of user enrollment and registration functionality that logically should be in separate class.
// TODO: Consider moving it to UserEnrollAndRegisterImplBasedOnFabricConfig or to some common part for both of this classes
public class FabricConfig {
private final Logger logger = LoggerFactory.getLogger(this.getClass());
private final ConfigGenerator configGenerator = new ConfigGenerator();
private final String confDir;
private final ConfigData.Root config;
static {
//loading Fabric security provider to the system
getCryptoSuite();
}
public static CryptoSuite getCryptoSuite() {
try {
return CryptoSuite.Factory.getCryptoSuite();
} catch (Exception e) {
throw new RuntimeException(e);
}
}
public FabricConfig(Reader configReader) throws IOException {
this(configReader, null);
}
public FabricConfig(Reader configReader, String confDir) throws IOException {
this.confDir = confDir == null ? "." : confDir;
if (configReader == null) {
config = null;
} else {
ObjectMapper mapper = new ObjectMapper();
final YamlConfig yamlConfig = new YamlConfig(configReader);
final JsonNode root = yamlConfig.getRoot();
ConfigModule.configure(mapper);
config = mapper.treeToValue(root, ConfigData.Root.class);
}
}
public ConfigData.Root getRoot() {
return config;
}
public Map<String, ConfigData.Channel> getChannels() {
final Map<String, ConfigData.Channel> channels = getRoot().channels;
if (channels == null)
return Collections.emptyMap();
else
return channels;
}
public ConfigData.Channel getChannelDetails(String key) {
return getRoot().channels.get(key);
}
public ConfigData.Peer getPeerDetails(String key) {
return getRoot().peers.get(key);
}
protected List<String> getElementKeys(Map<String, ?> collection) {
if (collection == null)
return Collections.emptyList();
return new LinkedList<>(collection.keySet());
}
public List<String> getPeersKeys() {
return getElementKeys(getRoot().peers);
}
public List<String> getOrderersKeys() {
return getElementKeys(getRoot().orderers);
}
public List<String> getEventHubsKeys() {
return getElementKeys(getRoot().eventhubs);
}
public List<String> getChaincodesKeys() {
return getElementKeys(getRoot().chaincodes);
}
public List<String> getChannelsKeys() {
return getElementKeys(getRoot().channels);
}
public List<String> getCAsKeys() {
return getElementKeys(getRoot().cas);
}
public List<String> getAdminsKeys() {
return getElementKeys(getRoot().admins);
}
public ConfigData.Eventhub getEventhubDetails(String key) {
return getRoot().eventhubs.get(key);
}
public ConfigData.Orderer getOrdererDetails(String key) {
return getRoot().orderers.get(key);
}
public ConfigData.Chaincode getChaincodeDetails(String key) {
return getRoot().chaincodes.get(key);
}
public ConfigData.Admin getAdminDetails(String key) {
return getRoot().admins.get(key);
}
public ConfigData.CA getCADetails(String key) {
return getRoot().cas.get(key);
}
public ConfigData.Users getUsersDetails() {
return getRoot().users;
}
public String getFileName(FileReference fileReference, String defaultValue) {
String value;
if (fileReference == null) {
if (defaultValue == null || defaultValue.isEmpty())
return defaultValue;
value = defaultValue;
} else
value = fileReference.asString();
return MiscUtils.resolveFile(value, confDir);
}
public String getFileName(FileReference fileReference) {
return getFileName(fileReference, null);
}
public User getAdmin(String key) throws Exception {
ConfigData.Admin adminParameters = requireNonNull(getAdminDetails(key));
String adminName = adminParameters.name;
String adminMspID = adminParameters.mspID;
String adminCert = getFileName(adminParameters.cert);
String adminPrivateKey = getFileName(adminParameters.privateKey);
Enrollment enrollment = UserEnrollmentUtils.createEnrollment(new FileInputStream(adminPrivateKey), new FileInputStream(adminCert));
return new FabricUser(adminName, null, null, enrollment, adminMspID);
}
public User getFabricUser(String userName) throws IOException {
ConfigData.Users usersDetails = getUsersDetails();
if (usersDetails == null)
throw new RuntimeException("User details not found");
String destFilesRootPath = getOrDefault(usersDetails.destFilesPath, "users/");
String privateKeyFileName = getOrDefault(usersDetails.privateKeyFileName, "pk.pem");
String certFileName = getOrDefault(usersDetails.certFileName, "cert.pem");
final FileReference keyFileReference = new FileReference(Paths.get(destFilesRootPath, userName, privateKeyFileName).toString());
final FileReference certFileReference = new FileReference(Paths.get(destFilesRootPath, userName, certFileName).toString());
final File keyfile = new File(getFileName(keyFileReference));
final File certfile = new File(getFileName(certFileReference));
final String pemPrivateKey = new String(Files.readAllBytes(keyfile.toPath()), StandardCharsets.UTF_8);
final String pemCertificate = new String(Files.readAllBytes(certfile.toPath()), StandardCharsets.UTF_8);
return getFabricUser(userName, pemPrivateKey, pemCertificate, null);
}
public static User getFabricUser(String name, String pemPrivateKey, String cert, String mspId) throws IOException {
final Enrollment enrollment = UserEnrollmentUtils.createEnrollment(pemPrivateKey, cert);
return new FabricUser(name, null, null, enrollment, mspId);
}
private void updatePemFile(Properties properties, FileReference pemFileReference) {
final String PEMFILE_PROP = "pemFile";
if (properties.getProperty(PEMFILE_PROP) == null && pemFileReference != null) {
properties.setProperty(PEMFILE_PROP, getFileName(pemFileReference));
}
}
/**
* Create new orderer using fabric.yaml. Properties for orderer can be defined by corresponding key.
* List of supported properties:
*
* @param hfClient Hyperledger Fabric client
* @param key key of the orderer in fabric.yaml
* @return the orderer
* @throws InvalidArgumentException throws by SDK in case of exception
* @see HFClient#newOrderer(String, String, Properties)
*/
public Orderer getNewOrderer(HFClient hfClient, String key) throws InvalidArgumentException {
ConfigData.Orderer ordererParameters = requireNonNull(getOrdererDetails(key));
String ordererUrl = getOrThrow(ordererParameters.url, String.format("orderer[%s].url", key));
Properties properties = mapToProperties(ordererParameters.properties);
updatePemFile(properties, ordererParameters.pemFile);
logger.info("Creating Orderer with props: {}", properties);
return hfClient.newOrderer(key, ordererUrl, properties);
}
/**
* Create new peer using fabric.yaml. Properties for peer can be defined by corresponding key.
* List of supported properties:
*
* @param hfClient Hyperledger Fabric client
* @param key key of the peer in fabric.yaml
* @return the peer
* @throws InvalidArgumentException throws by SDK in case of exception
* @see HFClient#newPeer(String, String, Properties)
*/
public Peer getNewPeer(HFClient hfClient, String key) throws InvalidArgumentException {
ConfigData.Peer peerParameters = requireNonNull(getPeerDetails(key));
String peerUrl = getOrThrow(peerParameters.url, String.format("peer[%s].url", key));
String peerName = getOrDefault(peerParameters.name, key);
Properties properties = mapToProperties(peerParameters.properties);
updatePemFile(properties, peerParameters.pemFile);
logger.info("Creating Peer with props: {}", properties);
return hfClient.newPeer(peerName, peerUrl, properties);
}
/**
* Create new eventhub using fabric.yaml. Properties for eventhub can be defined by corresponding key.
* List of supported properties:
*
* @param hfClient Hyperledger Fabric client
* @param key key of the eventhub in fabric.yaml
* @return the eventhub
* @throws InvalidArgumentException throws by SDK in case of exception
* @see HFClient#newEventHub(String, String, Properties)
*/
public EventHub getNewEventhub(HFClient hfClient, String key) throws InvalidArgumentException {
ConfigData.Eventhub eventhubParameters = requireNonNull(getEventhubDetails(key));
String eventhubUrl = getOrThrow(eventhubParameters.url, String.format("eventhub[%s].url", key));
String eventhubName = getOrDefault(eventhubParameters.name, key);
Properties properties = mapToProperties(eventhubParameters.properties);
updatePemFile(properties, eventhubParameters.pemFile);
logger.info("Creating Eventhub with props: {}", properties);
return hfClient.newEventHub(eventhubName, eventhubUrl, properties);
}
public Channel generateChannel(HFClient hfClient, String channelName, User fabricUser, Orderer orderer) throws Exception {
ChannelConfiguration channelConfiguration = configGenerator.generateChannelConfiguration(channelName);
byte[] channelConfigurationSignature = hfClient.getChannelConfigurationSignature(channelConfiguration, fabricUser);
return hfClient.newChannel(channelName, orderer, channelConfiguration, channelConfigurationSignature);
}
public void initChannel(HFClient hfClient, String channelName, EventTracker eventTracker) throws Exception {
getChannel(hfClient, channelName, eventTracker);
}
public void initChannel(HFClient hfClient, String channelName, User fabricUser, EventTracker eventTracker) throws Exception {
getChannel(hfClient, channelName, fabricUser, eventTracker);
}
public Channel getChannel(HFClient hfClient, String channelName, EventTracker eventTracker) throws Exception {
ConfigData.Channel channelParameters = requireNonNull(getChannelDetails(channelName));
String adminKey = getOrThrow(channelParameters.admin, String.format("channel[%s].admin", channelName));
final User fabricUser = getAdmin(adminKey);
return getChannel(hfClient, channelName, fabricUser, eventTracker);
}
public Channel getChannel(HFClient hfClient, String channelName, User fabricUser, EventTracker eventTracker) throws Exception {
ConfigData.Channel channelParameters = requireNonNull(getChannelDetails(channelName));
requireNonNull(fabricUser);
hfClient.setUserContext(fabricUser);
final List<Orderer> ordererList = getOrdererList(hfClient, channelName, channelParameters);
final List<Peer> peerList = getPeerList(hfClient, channelParameters);
final List<EventHub> eventhubList = getEventHubList(hfClient, channelParameters);
Channel channel = hfClient.newChannel(channelName);
final Channel.PeerOptions commonPeerOptions = Channel.PeerOptions.createPeerOptions();
if (eventTracker != null) {
eventTracker.configureChannel(channel);
final long startBlock = eventTracker.getStartBlock(channel);
if (startBlock > 0 && startBlock < Long.MAX_VALUE)
commonPeerOptions.startEvents(startBlock);
else
commonPeerOptions.startEventsNewest();
if (eventTracker.useFilteredBlocks(channel))
commonPeerOptions.registerEventsForFilteredBlocks();
else
commonPeerOptions.registerEventsForBlocks();
}
for (Orderer orderer : ordererList) {
channel.addOrderer(orderer);
}
for (Peer peer : peerList) {
channel.addPeer(peer, getPeerOptionsWithRoles(channelName, peer.getName(), commonPeerOptions));
}
for (EventHub eventhub : eventhubList) {
channel.addEventHub(eventhub);
}
channel.initialize();
if (eventTracker != null)
eventTracker.connectChannel(channel);
return channel;
}
private Channel.PeerOptions getPeerOptionsWithRoles(String channelName, String peerName, Channel.PeerOptions commonPeerOptions) {
ConfigData.Channel channel = requireNonNull(getRoot().channels.get(channelName), "No channel with name " + channelName);
ConfigData.ChannelPeer channelPeer = requireNonNull(channel.peers.get(peerName), String.format("No peer %s in channel %s", peerName, channelName));
//Add all roles by default except ServiceDiscovery in line with NetworkConfig behaviour
EnumSet<Peer.PeerRole> peerRoles = EnumSet.allOf(Peer.PeerRole.class);
// Remove explicitly forbidden roles
Map<String, Boolean> roles = channelPeer.roles;
if (roles != null) {
roles.entrySet().stream().filter(e -> !e.getValue())
.forEach(e -> peerRoles.remove(getPeerRoleByName(e.getKey())));
}
return commonPeerOptions.clone().setPeerRoles(peerRoles);
}
private Peer.PeerRole getPeerRoleByName(String peerRoleName) {
return Peer.PeerRole.ALL.stream()
.filter(x -> x.getPropertyName().equals(peerRoleName))
.findAny().orElseThrow(() -> new IllegalArgumentException("No peer role with name: " + peerRoleName));
}
private boolean isServiceDiscoveryEnabled(String channelName) {
ConfigData.Channel channel = requireNonNull(getRoot().channels.get(channelName), String.format("Channel %s not found", channelName));
for (ConfigData.ChannelPeer channelPeer : channel.peers.values()) {
Boolean peerServiceDiscoveryEnabled = true; // By default
Map<String, Boolean> roles = channelPeer.roles;
if (roles != null) {
for (Map.Entry<String, Boolean> roleEntry : roles.entrySet()) {
if (roleEntry.getKey().equals(Peer.PeerRole.SERVICE_DISCOVERY.getPropertyName()) && !roleEntry.getValue()) {
peerServiceDiscoveryEnabled = false; // Override if explicitly forbidden
}
}
}
if (peerServiceDiscoveryEnabled)
return true;
}
return false;
}
public List<EventHub> getEventHubList(HFClient hfClient, ConfigData.Channel channelParameters) throws InvalidArgumentException {
Set<String> eventhubs = channelParameters.eventhubs;
List<EventHub> eventhubList = new ArrayList<>();
for (String eventhubKey : eventhubs) {
EventHub eventhub = getNewEventhub(hfClient, eventhubKey);
eventhubList.add(eventhub);
}
return eventhubList;
}
public List<Peer> getPeerList(HFClient hfClient, ConfigData.Channel channelParameters) throws InvalidArgumentException {
Map<String, ConfigData.ChannelPeer> peers = channelParameters.peers;
if (peers == null || peers.isEmpty())
throw new RuntimeException("Peers list can`t be empty");
List<Peer> peerList = new ArrayList<>();
for (String peerKey : peers.keySet()) {
Peer peer = getNewPeer(hfClient, peerKey);
peerList.add(peer);
}
return peerList;
}
public List<Orderer> getOrdererList(HFClient hfClient, String channelName, ConfigData.Channel channelParameters) throws InvalidArgumentException {
Set<String> orderers = channelParameters.orderers;
if ((orderers == null || orderers.isEmpty()) && !isServiceDiscoveryEnabled(channelName))
throw new RuntimeException("Orderers list can`t be empty");
List<Orderer> ordererList = new ArrayList<>();
if (orderers != null) {
for (String ordererKey : orderers) {
Orderer orderer = getNewOrderer(hfClient, ordererKey);
ordererList.add(orderer);
}
}
return ordererList;
}
public ChaincodeID getChaincodeID(String chaincodeKey) throws InvalidArgumentException {
return getChaincodeID(chaincodeKey, getChaincodeDetails(chaincodeKey));
}
public ChaincodeID getChaincodeID(String chaincodeKey, ConfigData.Chaincode chaincodeParameters) throws InvalidArgumentException {
if (chaincodeParameters == null)
throw new RuntimeException(String.format("Chaincode '%s' is not specified", chaincodeKey));
final String prefix = String.format("chaincode[%s].", chaincodeKey);
final String chaincodeIDString = getOrThrow(chaincodeParameters.id, prefix + "id");
final String chaincodePath = getOrThrow(chaincodeParameters.sourceLocation, prefix + "sourceLocation");
final String chaincodeVersion = getOrDefault(chaincodeParameters.version, "0");
return ChaincodeID.newBuilder()
.setName(chaincodeIDString)
.setVersion(chaincodeVersion)
.setPath(chaincodePath)
.build();
}
public void installChaincode(HFClient hfClient, List<Peer> peerList, String key) throws InvalidArgumentException, ProposalException {
ConfigData.Chaincode chaincodeParameters = getChaincodeDetails(key);
// String chaincodePathPrefix = chaincodeParameters.path("sourceLocationPrefix").asText("chaincode");
String chaincodePathPrefix = getFileName(chaincodeParameters.sourceLocationPrefix, "chaincode");
String chaincodeType = getOrDefault(chaincodeParameters.type, "GO_LANG");
ChaincodeID chaincodeID = getChaincodeID(key, chaincodeParameters);
String chaincodeVersion = chaincodeID.getVersion();
installChaincode(hfClient, peerList, chaincodePathPrefix, chaincodeType, chaincodeID, chaincodeVersion);
}
public CompletableFuture<BlockEvent.TransactionEvent> instantiateChaincode(HFClient hfClient, Channel channel, String key) throws InvalidArgumentException, ProposalException, IOException, ChaincodeEndorsementPolicyParseException, ChaincodeCollectionConfigurationException {
return instantiateChaincode(hfClient, channel, key, null, null);
}
public CompletableFuture<BlockEvent.TransactionEvent> instantiateChaincode(HFClient hfClient, Channel channel, String key, JsonNode collectionPolicy) throws InvalidArgumentException, ProposalException, IOException, ChaincodeEndorsementPolicyParseException, ChaincodeCollectionConfigurationException {
return instantiateChaincode(hfClient, channel, key, collectionPolicy, null);
}
public CompletableFuture<BlockEvent.TransactionEvent> instantiateChaincode(HFClient hfClient, Channel channel, String key, JsonNode collectionPolicy, Collection<Peer> peers) throws InvalidArgumentException, ProposalException, IOException, ChaincodeEndorsementPolicyParseException, ChaincodeCollectionConfigurationException {
ConfigData.Chaincode chaincodeParameters = getChaincodeDetails(key);
ChaincodeID chaincodeID = getChaincodeID(key, chaincodeParameters);
List<String> chaincodeInitArguments = getOrDefault(chaincodeParameters.initArguments, Collections.emptyList());
InstantiateProposalRequest instantiateProposalRequest = hfClient.newInstantiationProposalRequest();
instantiateProposalRequest.setProposalWaitTime(1200000);
instantiateProposalRequest.setChaincodeID(chaincodeID);
instantiateProposalRequest.setFcn("init");
instantiateProposalRequest.setArgs(chaincodeInitArguments.toArray(new String[0]));
Map<String, byte[]> tm = new HashMap<>();
tm.put("HyperLedgerFabric", "InstantiateProposalRequest:JavaSDK".getBytes(UTF_8));
tm.put("method", "InstantiateProposalRequest".getBytes(UTF_8));
instantiateProposalRequest.setTransientMap(tm);
String endorsementPolicy = getFileName(chaincodeParameters.endorsementPolicy, null);
if (endorsementPolicy != null && !endorsementPolicy.isEmpty()) {
ChaincodeEndorsementPolicy chaincodeEndorsementPolicy = new ChaincodeEndorsementPolicy();
chaincodeEndorsementPolicy.fromYamlFile(new File(endorsementPolicy));
instantiateProposalRequest.setChaincodeEndorsementPolicy(chaincodeEndorsementPolicy);
}
JsonNode collectionPolicyNode = collectionPolicy;
if (collectionPolicyNode == null)
collectionPolicyNode = chaincodeParameters.collectionPolicy;
if (collectionPolicyNode != null) {
final ChaincodeCollectionConfiguration chaincodeCollectionConfiguration;
if (collectionPolicyNode.isTextual() && !collectionPolicyNode.asText().isEmpty()) {
final String fileName = getFileName(new FileReference(collectionPolicyNode.asText()));
final File file = new File(fileName);
if (fileName.endsWith(".yaml") || fileName.endsWith(".yml"))
chaincodeCollectionConfiguration = ChaincodeCollectionConfiguration.fromYamlFile(file);
else if (fileName.endsWith(".json"))
chaincodeCollectionConfiguration = ChaincodeCollectionConfiguration.fromJsonFile(file);
else
chaincodeCollectionConfiguration = null;
} else if (collectionPolicyNode.isArray()) {
ObjectMapper mapper = new ObjectMapper();
// FIXME: this is not efficient, needs to find/implement better solution
final String s = mapper.writeValueAsString(collectionPolicyNode);
final javax.json.JsonArray jsonValues = Json.createReader(new StringReader(s)).readArray();
chaincodeCollectionConfiguration = ChaincodeCollectionConfiguration.fromJsonObject(jsonValues);
} else
chaincodeCollectionConfiguration = null;
if (chaincodeCollectionConfiguration == null)
throw new InvalidArgumentException("collectionPolicy is not if valid type");
instantiateProposalRequest.setChaincodeCollectionConfiguration(chaincodeCollectionConfiguration);
}
logger.info("instantiate chaincode proposal {}/{}:{}", channel.getName(), chaincodeID.getName(), chaincodeID.getVersion());
Collection<ProposalResponse> instantiateProposalResponses;
if (peers != null) {
instantiateProposalResponses = channel.sendInstantiationProposal(instantiateProposalRequest, peers);
} else {
instantiateProposalResponses = channel.sendInstantiationProposal(instantiateProposalRequest);
}
checkProposalResponse("instantiate chaincode", instantiateProposalResponses);
return channel.sendTransaction(instantiateProposalResponses);
}
public CompletableFuture<BlockEvent.TransactionEvent> upgradeChaincode(HFClient hfClient, Channel channel, List<Peer> peerList, String key) throws InvalidArgumentException, ProposalException {
ConfigData.Chaincode chaincodeParameters = getChaincodeDetails(key);
List<String> chaincodeInitArguments = getOrDefault(chaincodeParameters.initArguments, Collections.emptyList());
String chaincodePathPrefix = getFileName(chaincodeParameters.sourceLocationPrefix, "chaincode");
String chaincodeType = getOrDefault(chaincodeParameters.type, "GO_LANG");
ChaincodeID chaincodeID = getChaincodeID(key, chaincodeParameters);
String chaincodeVersion = chaincodeID.getVersion();
installChaincode(hfClient, peerList, chaincodePathPrefix, chaincodeType, chaincodeID, chaincodeVersion);
UpgradeProposalRequest upgradeProposalRequest = hfClient.newUpgradeProposalRequest();
upgradeProposalRequest.setChaincodeID(chaincodeID);
upgradeProposalRequest.setChaincodeVersion(chaincodeVersion);
upgradeProposalRequest.setProposalWaitTime(1200000);
upgradeProposalRequest.setArgs(chaincodeInitArguments.toArray(new String[0]));
Map<String, byte[]> tm = new HashMap<>();
tm.put("HyperLedgerFabric", "UpgradeProposalRequest:JavaSDK".getBytes(UTF_8));
tm.put("method", "UpgradeProposalRequest".getBytes(UTF_8));
upgradeProposalRequest.setTransientMap(tm);
logger.info("upgrade chaincode proposal {}/{}:{}", channel.getName(), chaincodeID.getName(), chaincodeID.getVersion());
Collection<ProposalResponse> upgradeProposalResponses = channel.sendUpgradeProposal(upgradeProposalRequest, peerList);
checkProposalResponse("upgrade chaincode", upgradeProposalResponses);
return channel.sendTransaction(upgradeProposalResponses);
}
private void installChaincode(HFClient hfClient, List<Peer> peerList, String chaincodePathPrefix, String chaincodeType, ChaincodeID chaincodeID, String chaincodeVersion) throws InvalidArgumentException, ProposalException {
InstallProposalRequest installProposalRequest = hfClient.newInstallProposalRequest();
installProposalRequest.setChaincodeID(chaincodeID);
installProposalRequest.setChaincodeSourceLocation(new File(chaincodePathPrefix));
installProposalRequest.setChaincodeVersion(chaincodeVersion);
installProposalRequest.setChaincodeLanguage(TransactionRequest.Type.valueOf(chaincodeType));
logger.info("install chaincode proposal {}:{}", chaincodeID.getName(), chaincodeID.getVersion());
Collection<ProposalResponse> installProposalResponse = hfClient.sendInstallProposal(installProposalRequest, peerList);
checkProposalResponse("install chaincode", installProposalResponse);
}
private void checkProposalResponse(String proposalType, Collection<ProposalResponse> proposalResponses) {
for (ProposalResponse response : proposalResponses) {
if (response.getStatus() == ProposalResponse.Status.SUCCESS) {
logger.info("Successful {} proposal response Txid: {} from peer {}", proposalType, response.getTransactionID(), response.getPeer().getName());
} else {
throw new RuntimeException("Proposal failed on peer:" + response.getPeer().getName() + " with reason: " + response.getMessage());
}
}
}
public HFCAClient createHFCAClient(String caKey) throws MalformedURLException, InvalidArgumentException {
ConfigData.CA caParameters = getCADetails(caKey);
String caUrl = getOrThrow(caParameters.url, String.format("cs[%s].url", caKey));
final Properties properties = mapToProperties(caParameters.properties);
updatePemFile(properties, caParameters.pemFile);
HFCAClient hfcaClient = HFCAClient.createNewInstance(caUrl, properties);
return hfcaClient;
}
public HFCAClient createHFCAClient(String caKey, CryptoSuite cryptoSuite) throws MalformedURLException, InvalidArgumentException {
if (cryptoSuite == null)
cryptoSuite = getCryptoSuite();
HFCAClient hfcaClient = createHFCAClient(caKey);
hfcaClient.setCryptoSuite(cryptoSuite);
return hfcaClient;
}
public User enrollAdmin(String caKey) throws Exception {
return enrollAdmin(createHFCAClient(caKey, null), caKey);
}
public User enrollAdmin(HFCAClient hfcaClient, String caKey) throws Exception {
ConfigData.CA caParameters = getCADetails(caKey);
String caAdminLogin = getOrThrow(caParameters.adminLogin, String.format("ca[%s].adminLogin", caKey));
String caAdminSecret = getOrThrow(caParameters.adminSecret, String.format("ca[%s].adminSecret", caKey));
String caMspID = getOrThrow(caParameters.mspID, String.format("ca[%s].mspID", caKey));
Enrollment adminEnrollment = hfcaClient.enroll(caAdminLogin, caAdminSecret);
User adminUser = new FabricUser(caAdminLogin, null, null, adminEnrollment, caMspID);
return adminUser;
}
public static FabricConfig getConfigFromFile(String configFile) {
try {
final Path parent = Paths.get(configFile).getParent();
final String dir = parent == null ? "." : parent.toString();
return new FabricConfig(new FileReader(configFile), dir);
} catch (IOException e) {
throw new RuntimeException("Unable to read config file " + configFile, e);
}
}
private static class TimePair {
final TimeUnit timeUnit;
final long value;
TimePair(long value, TimeUnit timeUnit) {
this.value = value;
this.timeUnit = timeUnit;
}
}
private static TimePair parseInterval(String s) {
final TimePair[] nsUnits = {
new TimePair(1000, TimeUnit.NANOSECONDS),
new TimePair(1000, TimeUnit.MICROSECONDS),
new TimePair(Long.MAX_VALUE, TimeUnit.MILLISECONDS),
};
final TimePair[] sUnits = {
new TimePair(60, TimeUnit.SECONDS),
new TimePair(60, TimeUnit.MINUTES),
new TimePair(24, TimeUnit.HOURS),
new TimePair(Long.MAX_VALUE, TimeUnit.DAYS),
};
final Duration duration = Duration.parse(s);
long value;
TimeUnit timeUnit = null;
if (duration.isNegative() || duration.isZero())
return null;
if ((value = duration.getNano()) != 0) {
for (TimePair unit : nsUnits) {
if (value % unit.value != 0) {
timeUnit = unit.timeUnit;
break;
}
value /= unit.value;
}
} else {
value = duration.getSeconds();
for (TimePair unit : sUnits) {
if (value % unit.value != 0) {
timeUnit = unit.timeUnit;
break;
}
value /= unit.value;
}
}
return new TimePair(value, timeUnit);
}
/**
* Convert JSON node to Java properties.
*
* @param propertiesNode node with properties
* @return properties with key as JSON key and value as JSON value
*/
private Properties jsonToProperties(JsonNode propertiesNode) {
Properties peerProperties = new Properties();
if (propertiesNode != null) {
Iterator<Map.Entry<String, JsonNode>> fields = propertiesNode.fields();
while (fields.hasNext()) {
final Map.Entry<String, JsonNode> e = fields.next();
final String fieldName = e.getKey();
final JsonNode fieldValue = e.getValue();
String value = fieldValue.asText();
switch (fieldName) {
case "idleTimeout":
/** @see Endpoint#addNettyBuilderProps for more info */
final TimePair idleTimeout = parseInterval(value);
peerProperties.put("grpc.NettyChannelBuilderOption.idleTimeout", new Object[]{Long.valueOf(idleTimeout.value), idleTimeout.timeUnit});
break;
default:
peerProperties.setProperty(fieldName, fieldValue.asText());
break;
}
}
}
return peerProperties;
}
/**
* Convert Map<String,String> object to Java properties.
*
* @param stringMap node with properties
* @return properties with keys and values from stringMap
*/
private static Properties mapToProperties(Map<String, String> stringMap) {
Properties properties = new Properties();
if (stringMap != null) {
Set<Map.Entry<String, String>> fields = stringMap.entrySet();
for (Map.Entry<String, String> field : fields) {
final String fieldName = field.getKey();
final String fieldValue = field.getValue();
switch (fieldName) {
case "idleTimeout":
/** @see Endpoint#addNettyBuilderProps for more info */
final TimePair idleTimeout = parseInterval(fieldValue);
properties.put("grpc.NettyChannelBuilderOption.idleTimeout", new Object[]{Long.valueOf(idleTimeout.value), idleTimeout.timeUnit});
break;
default:
properties.setProperty(fieldName, fieldValue);
break;
}
}
}
return properties;
}
public static <T extends X, X> X getOrDefault(T value, X defValue) {
return value == null ? defValue : value;
}
public static <T> T getOrThrow(T value, String propName) throws InvalidArgumentException {
if (value == null)
throw new InvalidArgumentException("property [" + propName + "] should be set");
return value;
}
}
|
/*
* Licensed to ObjectStyle LLC under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ObjectStyle LLC licenses
* this file to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package io.bootique.cayenne.v41;
import io.bootique.BQRuntime;
import io.bootique.jdbc.JdbcModule;
import io.bootique.test.junit.BQModuleProviderChecker;
import io.bootique.test.junit.BQRuntimeChecker;
import io.bootique.test.junit.BQTestFactory;
import org.junit.Rule;
import org.junit.Test;
/**
* @since 1.0.RC1
*/
public class CayenneModuleProviderIT {
@Rule
public BQTestFactory testFactory = new BQTestFactory();
@Test
public void testAutoLoadable() {
BQModuleProviderChecker.testAutoLoadable(CayenneModuleProvider.class);
}
@Test
public void testMetadata() {
BQModuleProviderChecker.testMetadata(CayenneModuleProvider.class);
}
@Test
public void testModuleDeclaresDependencies() {
final BQRuntime bqRuntime = testFactory.app().module(new CayenneModuleProvider()).createRuntime();
BQRuntimeChecker.testModulesLoaded(bqRuntime, JdbcModule.class);
}
}
|
/**
* Automatically generated file. DO NOT MODIFY
*/
package com.mysampleapp;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.amazon.mysampleapp";
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "";
public static final int VERSION_CODE = 1;
public static final String VERSION_NAME = "1.0";
}
|
package net.mahdilamb.dataviz.fx;
import javafx.application.Application;
import javafx.application.Platform;
import javafx.scene.Scene;
import javafx.stage.Stage;
import net.mahdilamb.dataviz.figure.FigureBase;
/**
* Launcher for FX charts
*/
public final class FXLauncher extends Application {
private static FXRenderer renderer;
@Override
public void start(Stage stage) {
initStage(stage, renderer)
.show();
}
/**
* Show the given figure
*
* @param fig the figure to show
*/
public static void launch(FigureBase<?> fig) {
final FXRenderer renderer = new FXRenderer(fig);
try {
Platform.runLater(() -> initStage(new Stage(), renderer).show());
} catch (IllegalStateException e) {
FXLauncher.renderer = renderer;
launch(FXLauncher.class, (String) null);
}
}
/**
* Initialize a renderer into the given stage
*
* @param stage the stage
* @param renderer the fx figure renderer
* @return the supplied stage
*/
private static Stage initStage(final Stage stage, final FXRenderer renderer) {
final Scene scene = new Scene(renderer.getNode(), renderer.getFigure().getWidth(), renderer.getFigure().getHeight());
stage.setTitle(renderer.getFigure().getTitle());
stage.setScene(scene);
return stage;
}
}
|
package com.funtl.my.shop.web.admin.dao;
import com.funtl.my.shop.commons.persistence.BaseDao;
import com.funtl.my.shop.domain.TbContent;
import org.springframework.stereotype.Repository;
@Repository
public interface TbContentDao extends BaseDao<TbContent> {
}
|
/*
* @#DiscoveryQueryParametersCommunication.java - 2015
* Copyright bitDubai.com., All rights reserved.
* You may not modify, use, reproduce or distribute this software.
* BITDUBAI/CONFIDENTIAL
*/
package com.bitdubai.fermat_p2p_api.layer.all_definition.communication.commons.components;
import com.bitdubai.fermat_api.layer.all_definition.components.interfaces.DiscoveryQueryParameters;
import com.bitdubai.fermat_api.layer.all_definition.network_service.enums.NetworkServiceType;
import com.bitdubai.fermat_api.layer.all_definition.components.enums.PlatformComponentType;
import com.bitdubai.fermat_api.layer.all_definition.location_system.DeviceLocation;
import com.bitdubai.fermat_api.layer.osa_android.location_system.Location;
import com.google.gson.Gson;
import java.io.Serializable;
import java.util.Objects;
/**
* The Class <code>com.bitdubai.fermat_p2p_api.layer.all_definition.communication.commons.components.DiscoveryQueryParametersCommunication</code> is the implementation
* of the <code>com.bitdubai.fermat_p2p_api.layer.p2p_communication.commons.components.DiscoveryQueryParameters</code>
* <p/>
* Created by Roberto Requena - (rart3001@gmail.com) on 16/09/15.
*
* @version 1.0
* @since Java JDK 1.7
*/
public class DiscoveryQueryParametersCommunication implements DiscoveryQueryParameters, Serializable {
/**
* Represent the serialVersionUID
*/
private static final long serialVersionUID = 1L;
/**
* Represent the identityPublicKey
*/
private String identityPublicKey;
/**
* Represent the alias
*/
private String alias;
/**
* Represent the name
*/
private String name;
/**
* Represent the location
*/
private DeviceLocation location;
/**
* Represent the distance
*/
private Double distance;
/**
* Represent the platformComponentType
*/
private PlatformComponentType platformComponentType;
/**
* Represent the networkServiceType
*/
private NetworkServiceType networkServiceType;
/**
* Represent the extraData
*/
private String extraData;
/**
* Represent the offset
*/
private Integer offset;
/**
* Represent the max
*/
private Integer max;
/**
* Represent the fromOtherPlatformComponentType
*/
private PlatformComponentType fromOtherPlatformComponentType;
/**
* Represent the fromOtherNetworkServiceType
*/
private NetworkServiceType fromOtherNetworkServiceType;
/**
* Constructor
*/
public DiscoveryQueryParametersCommunication() {
super();
this.alias = null;
this.identityPublicKey = null;
this.location = null;
this.distance = null;
this.name = null;
this.networkServiceType = null;
this.platformComponentType = null;
this.extraData = null;
this.offset = new Integer(0);
this.max = new Integer(0);
this.fromOtherPlatformComponentType = null;
this.fromOtherNetworkServiceType = null;
}
/**
* Constructor with parameters
*
* @param alias
* @param identityPublicKey
* @param location
* @param distance
* @param name
* @param networkServiceType
* @param platformComponentType
* @param extraData
* @param offset
* @param max
* @param fromOtherPlatformComponentType
* @param fromOtherNetworkServiceType
*/
public DiscoveryQueryParametersCommunication(String alias, String identityPublicKey, Location location, Double distance, String name, NetworkServiceType networkServiceType, PlatformComponentType platformComponentType, String extraData, Integer offset, Integer max, PlatformComponentType fromOtherPlatformComponentType, NetworkServiceType fromOtherNetworkServiceType) {
super();
this.alias = alias;
this.identityPublicKey = identityPublicKey;
this.location = (DeviceLocation) location;
this.distance = distance;
this.name = name;
this.networkServiceType = networkServiceType;
this.platformComponentType = platformComponentType;
this.extraData = extraData;
this.offset = offset;
this.max = max;
this.fromOtherPlatformComponentType = fromOtherPlatformComponentType;
this.fromOtherNetworkServiceType = fromOtherNetworkServiceType;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#getIdentityPublicKey()
*/
@Override
public String getIdentityPublicKey() {
return identityPublicKey;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#getAlias()
*/
@Override
public String getAlias() {
return alias;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#getName()
*/
@Override
public String getName() {
return name;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#getLocation()
*/
@Override
public Location getLocation() {
return location;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#getDistance()
*/
@Override
public Double getDistance() {
return distance;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#getPlatformComponentType()
*/
@Override
public PlatformComponentType getPlatformComponentType() {
return platformComponentType;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#getNetworkServiceType()
*/
@Override
public NetworkServiceType getNetworkServiceType() {
return networkServiceType;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#getExtraData()
*/
@Override
public String getExtraData() {
return extraData;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#getOffset()
*/
public Integer getOffset(){
return offset;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#getMax()
*/
public Integer getMax(){
return max;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#getFromOtherPlatformComponentType()
*/
@Override
public PlatformComponentType getFromOtherPlatformComponentType() {
return fromOtherPlatformComponentType;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#getFromOtherNetworkServiceType()
*/
@Override
public NetworkServiceType getFromOtherNetworkServiceType() {
return fromOtherNetworkServiceType;
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#toJson()
*/
@Override
public String toJson() {
Gson gson = new Gson();
return gson.toJson(this);
}
/**
* (non-javadoc)
* @see DiscoveryQueryParameters#fromJson(String)
*/
@Override
public DiscoveryQueryParametersCommunication fromJson(String json) {
Gson gson = new Gson();
return gson.fromJson(json, DiscoveryQueryParametersCommunication.class);
}
/**
* (non-javadoc)
* @see Object#equals(Object)
*/
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof DiscoveryQueryParametersCommunication)) return false;
DiscoveryQueryParametersCommunication that = (DiscoveryQueryParametersCommunication) o;
return Objects.equals(getIdentityPublicKey(), that.getIdentityPublicKey()) &&
Objects.equals(getAlias(), that.getAlias()) &&
Objects.equals(getName(), that.getName()) &&
Objects.equals(getLocation(), that.getLocation()) &&
Objects.equals(getDistance(), that.getDistance()) &&
Objects.equals(getPlatformComponentType(), that.getPlatformComponentType()) &&
Objects.equals(getNetworkServiceType(), that.getNetworkServiceType()) &&
Objects.equals(getExtraData(), that.getExtraData()) &&
Objects.equals(offset, that.offset) &&
Objects.equals(getMax(), that.getMax()) &&
Objects.equals(getFromOtherPlatformComponentType(), that.getFromOtherPlatformComponentType()) &&
Objects.equals(getFromOtherNetworkServiceType(), that.getFromOtherNetworkServiceType());
}
/**
* (non-javadoc)
* @see Object#hashCode()
*/
@Override
public int hashCode() {
return Objects.hash(getIdentityPublicKey(), getAlias(), getName(), getLocation(), getDistance(), getPlatformComponentType(), getNetworkServiceType(), getExtraData(), offset, getMax(), getFromOtherPlatformComponentType(), getFromOtherNetworkServiceType());
}
/**
* (non-javadoc)
* @see Object#toString()
*/
@Override
public String toString() {
return "DiscoveryQueryParametersCommunication{" +
"alias='" + alias + '\'' +
", identityPublicKey='" + identityPublicKey + '\'' +
", name='" + name + '\'' +
", location=" + location +
", distance=" + distance +
", platformComponentType=" + platformComponentType +
", networkServiceType=" + networkServiceType +
", extraData='" + extraData + '\'' +
", offset=" + offset +
", max=" + max +
", fromOtherPlatformComponentType=" + fromOtherPlatformComponentType +
", fromOtherNetworkServiceType=" + fromOtherNetworkServiceType +
'}';
}
}
|
package android.secondbook.com.criminalintent;
import android.os.Bundle;
import android.support.annotation.LayoutRes;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
/**
* Created by Administrator on 2017/8/15.
*/
public abstract class SingleFragmentActivity extends AppCompatActivity {
protected abstract Fragment createFragment();
@LayoutRes
protected int getLayoutResId() {
return R.layout.activity_fragment;
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(getLayoutResId());
FragmentManager fm = getSupportFragmentManager();
Fragment fragment = fm.findFragmentById(R.id.fragment_container);
if (fragment == null) {
fragment = createFragment();
fm.beginTransaction()
.add(R.id.fragment_container, fragment)
.commit();
}
}
}
|
/*
* Copyright (C) 2010 Moduad Co., Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
package com.adv.manager.xmpp.handler;
import java.util.Date;
import gnu.inet.encoding.Stringprep;
import gnu.inet.encoding.StringprepException;
import org.dom4j.DocumentHelper;
import org.dom4j.Element;
import org.dom4j.QName;
import org.springframework.beans.factory.annotation.Autowired;
import org.xmpp.packet.IQ;
import org.xmpp.packet.JID;
import org.xmpp.packet.PacketError;
import com.adv.manager.po.Account;
import com.adv.manager.service.AccountService;
import com.adv.manager.service.UserExistsException;
import com.adv.manager.service.UserNotFoundException;
import com.adv.manager.service.impl.AccountServiceImpl;
import com.adv.manager.xmpp.UnauthorizedException;
import com.adv.manager.xmpp.session.ClientSession;
import com.adv.manager.xmpp.session.Session;
/**
* This class is to handle the TYPE_IQ jabber:iq:register protocol.
*
* @author Sehwan Noh (devnoh@gmail.com)
*/
public class IQRegisterHandler extends IQHandler {
private static final String NAMESPACE = "jabber:iq:register";
private Element probeResponse;
private AccountService accountService;
/**
* Constructor.
*/
public IQRegisterHandler() {
accountService = new AccountServiceImpl();
probeResponse = DocumentHelper.createElement(QName.get("query",
NAMESPACE));
probeResponse.addElement("username");
probeResponse.addElement("password");
probeResponse.addElement("email");
probeResponse.addElement("name");
}
/**
* Handles the received IQ packet.
*
* @param packet the packet
* @return the response to send back
* @throws UnauthorizedException if the user is not authorized
*/
public IQ handleIQ(IQ packet) throws UnauthorizedException {
IQ reply = null;
ClientSession session = sessionManager.getSession(packet.getFrom());
if (session == null) {
log.error("Session not found for key " + packet.getFrom());
reply = IQ.createResultIQ(packet);
reply.setChildElement(packet.getChildElement().createCopy());
reply.setError(PacketError.Condition.internal_server_error);
return reply;
}
if (IQ.Type.get.equals(packet.getType())) {
reply = IQ.createResultIQ(packet);
if (session.getStatus() == Session.STATUS_AUTHENTICATED) {
// TODO
} else {
reply.setTo((JID) null);
reply.setChildElement(probeResponse.createCopy());
}
} else if (IQ.Type.set.equals(packet.getType())) {
try {
Element query = packet.getChildElement();
if (query.element("remove") != null) {
if (session.getStatus() == Session.STATUS_AUTHENTICATED) {
// TODO
} else {
throw new UnauthorizedException();
}
} else {
String username = query.elementText("username");
String password = query.elementText("password");
String email = query.elementText("email");
String name = query.elementText("name");
// Verify the username
if (username != null) {
Stringprep.nodeprep(username);
}
// Deny registration of users with no password
if (password == null || password.trim().length() == 0) {
reply = IQ.createResultIQ(packet);
reply.setChildElement(packet.getChildElement()
.createCopy());
reply.setError(PacketError.Condition.not_acceptable);
return reply;
}
if (email != null && email.matches("\\s*")) {
email = null;
}
if (name != null && name.matches("\\s*")) {
name = null;
}
Account account;
// try {
account = accountService.getAccountByUsername(username);
if(account != null && password != null ){
if(!password.equals(account.getPassword())){
account.setPassword(password);
accountService.updateUserByUsername(username, account);
}
}else{
account = new Account();
account.setUsername(username);
account.setPassword(password);
account.setEmail(email);
account.setName(name);
account.setCreatedDate(new Date(System.currentTimeMillis()));
accountService.saveUser(account);
}
// } catch (Exception e) {
// log.error("error: " + e.getMessage());
// account = new Account();
// account.setUsername(username);
// account.setPassword(password);
// account.setEmail(email);
// account.setName(name);
// accountService.saveUser(account);
// }
/* if (session.getStatus() == Session.STATUS_AUTHENTICATED) {
if(user != null && password != null && password.equals(user.getPassword())){
userService.updateUserByUsername(username, user);
}else{
userService.saveUser(user);
}
} else {
user = userService.getUserByUsername(session.getUsername());
if(user == null){
user = new User();
user.setUsername(username);
user.setPassword(password);
user.setEmail(email);
user.setName(name);
userService.saveUser(user);
}else{
if( password != null && password.equals(user.getPassword())){
userService.updateUserByUsername(username, user);
}
}
}
if(user != null){
try {
userService.saveUser(user);
} catch (Exception e) {
log.debug("error : " + e.getMessage());
userService.updateUserByUsername(username, user);
}
}*/
reply = IQ.createResultIQ(packet);
}
} catch (Exception ex) {
log.error(ex);
reply = IQ.createResultIQ(packet);
reply.setChildElement(packet.getChildElement().createCopy());
if (ex instanceof UserExistsException) {
reply.setError(PacketError.Condition.conflict);
} else if (ex instanceof UserNotFoundException) {
reply.setError(PacketError.Condition.bad_request);
} else if (ex instanceof StringprepException) {
reply.setError(PacketError.Condition.jid_malformed);
} else if (ex instanceof IllegalArgumentException) {
reply.setError(PacketError.Condition.not_acceptable);
} else {
reply.setError(PacketError.Condition.internal_server_error);
}
}
}
// Send the response directly to the session
if (reply != null) {
session.process(reply);
}
return null;
}
/**
* Returns the namespace of the handler.
*
* @return the namespace
*/
public String getNamespace() {
return NAMESPACE;
}
}
|
/*
* Copyright (c) 2020, 2021 Microsoft Corporation
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
*
* Contributors:
* Microsoft Corporation - initial API and implementation
*
*/
import org.eclipse.dataspaceconnector.dataloading.AssetEntry;
import org.eclipse.dataspaceconnector.spi.types.TypeManager;
import org.eclipse.dataspaceconnector.spi.types.domain.asset.Asset;
import org.eclipse.dataspaceconnector.spi.types.domain.transfer.DataAddress;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
@Disabled
public class AssetEntryGenerator {
@Test
void createAssetEntries() throws IOException {
var entries = IntStream.range(0, 10).mapToObj(i -> new AssetEntry(createAsset(i), createDataAddress(i)))
.collect(Collectors.toUnmodifiableList());
var json = new TypeManager().getMapper().writeValueAsString(entries);
Files.write(Path.of("/home/paul/Documents/assets.json"), json.getBytes(StandardCharsets.UTF_8));
}
private DataAddress createDataAddress(int i) {
return DataAddress.Builder.newInstance()
.type("test-dataaddress-" + i)
.property("someprop", "someval")
.build();
}
private Asset createAsset(int i) {
return Asset.Builder.newInstance()
.id("test-asset-" + i)
.name("test-asset-" + i)
.version("1.0")
.build();
}
}
|
//
// Decompiled by Procyon v0.5.36
//
package org.pitest.reloc.antlr.common;
import org.pitest.reloc.antlr.common.collections.impl.BitSet;
import java.io.IOException;
import org.pitest.reloc.antlr.common.collections.impl.Vector;
import java.io.PrintWriter;
public abstract class CodeGenerator
{
protected Tool antlrTool;
protected int tabs;
protected transient PrintWriter currentOutput;
protected Grammar grammar;
protected Vector bitsetsUsed;
protected DefineGrammarSymbols behavior;
protected LLkGrammarAnalyzer analyzer;
protected CharFormatter charFormatter;
protected boolean DEBUG_CODE_GENERATOR;
protected static final int DEFAULT_MAKE_SWITCH_THRESHOLD = 2;
protected static final int DEFAULT_BITSET_TEST_THRESHOLD = 4;
protected static final int BITSET_OPTIMIZE_INIT_THRESHOLD = 8;
protected int makeSwitchThreshold;
protected int bitsetTestThreshold;
private static boolean OLD_ACTION_TRANSLATOR;
public static String TokenTypesFileSuffix;
public static String TokenTypesFileExt;
public CodeGenerator() {
this.tabs = 0;
this.grammar = null;
this.DEBUG_CODE_GENERATOR = false;
this.makeSwitchThreshold = 2;
this.bitsetTestThreshold = 4;
}
protected void _print(final String s) {
if (s != null) {
this.currentOutput.print(s);
}
}
protected void _printAction(final String s) {
if (s == null) {
return;
}
int index;
for (index = 0; index < s.length() && Character.isSpaceChar(s.charAt(index)); ++index) {}
int index2;
for (index2 = s.length() - 1; index2 > index && Character.isSpaceChar(s.charAt(index2)); --index2) {}
int i = index;
while (i <= index2) {
final char char1 = s.charAt(i);
++i;
boolean b = false;
switch (char1) {
case 10: {
b = true;
break;
}
case 13: {
if (i <= index2 && s.charAt(i) == '\n') {
++i;
}
b = true;
break;
}
default: {
this.currentOutput.print(char1);
break;
}
}
if (b) {
this.currentOutput.println();
this.printTabs();
while (i <= index2 && Character.isSpaceChar(s.charAt(i))) {
++i;
}
}
}
this.currentOutput.println();
}
protected void _println(final String x) {
if (x != null) {
this.currentOutput.println(x);
}
}
public static boolean elementsAreRange(final int[] array) {
if (array.length == 0) {
return false;
}
final int n = array[0];
final int n2 = array[array.length - 1];
if (array.length <= 2) {
return false;
}
if (n2 - n + 1 > array.length) {
return false;
}
int n3 = n + 1;
for (int i = 1; i < array.length - 1; ++i) {
if (n3 != array[i]) {
return false;
}
++n3;
}
return true;
}
protected String extractIdOfAction(final Token token) {
return this.extractIdOfAction(token.getText(), token.getLine(), token.getColumn());
}
protected String extractIdOfAction(String removeAssignmentFromDeclaration, final int n, final int n2) {
removeAssignmentFromDeclaration = this.removeAssignmentFromDeclaration(removeAssignmentFromDeclaration);
for (int i = removeAssignmentFromDeclaration.length() - 2; i >= 0; --i) {
if (!Character.isLetterOrDigit(removeAssignmentFromDeclaration.charAt(i)) && removeAssignmentFromDeclaration.charAt(i) != '_') {
return removeAssignmentFromDeclaration.substring(i + 1);
}
}
this.antlrTool.warning("Ill-formed action", this.grammar.getFilename(), n, n2);
return "";
}
protected String extractTypeOfAction(final Token token) {
return this.extractTypeOfAction(token.getText(), token.getLine(), token.getColumn());
}
protected String extractTypeOfAction(String removeAssignmentFromDeclaration, final int n, final int n2) {
removeAssignmentFromDeclaration = this.removeAssignmentFromDeclaration(removeAssignmentFromDeclaration);
for (int i = removeAssignmentFromDeclaration.length() - 2; i >= 0; --i) {
if (!Character.isLetterOrDigit(removeAssignmentFromDeclaration.charAt(i)) && removeAssignmentFromDeclaration.charAt(i) != '_') {
return removeAssignmentFromDeclaration.substring(0, i + 1);
}
}
this.antlrTool.warning("Ill-formed action", this.grammar.getFilename(), n, n2);
return "";
}
public abstract void gen();
public abstract void gen(final ActionElement p0);
public abstract void gen(final AlternativeBlock p0);
public abstract void gen(final BlockEndElement p0);
public abstract void gen(final CharLiteralElement p0);
public abstract void gen(final CharRangeElement p0);
public abstract void gen(final LexerGrammar p0) throws IOException;
public abstract void gen(final OneOrMoreBlock p0);
public abstract void gen(final ParserGrammar p0) throws IOException;
public abstract void gen(final RuleRefElement p0);
public abstract void gen(final StringLiteralElement p0);
public abstract void gen(final TokenRangeElement p0);
public abstract void gen(final TokenRefElement p0);
public abstract void gen(final TreeElement p0);
public abstract void gen(final TreeWalkerGrammar p0) throws IOException;
public abstract void gen(final WildcardElement p0);
public abstract void gen(final ZeroOrMoreBlock p0);
protected void genTokenInterchange(final TokenManager tokenManager) throws IOException {
final String string = tokenManager.getName() + CodeGenerator.TokenTypesFileSuffix + CodeGenerator.TokenTypesFileExt;
this.currentOutput = this.antlrTool.openOutputFile(string);
final StringBuffer append = new StringBuffer().append("// $ANTLR ");
final Tool antlrTool = this.antlrTool;
this.println(append.append(Tool.version).append(": ").append(this.antlrTool.fileMinusPath(this.antlrTool.grammarFile)).append(" -> ").append(string).append("$").toString());
this.tabs = 0;
this.println(tokenManager.getName() + " // output token vocab name");
final Vector vocabulary = tokenManager.getVocabulary();
for (int i = 4; i < vocabulary.size(); ++i) {
final String str = (String)vocabulary.elementAt(i);
if (this.DEBUG_CODE_GENERATOR) {
System.out.println("gen persistence file entry for: " + str);
}
if (str != null && !str.startsWith("<")) {
if (str.startsWith("\"")) {
final StringLiteralSymbol stringLiteralSymbol = (StringLiteralSymbol)tokenManager.getTokenSymbol(str);
if (stringLiteralSymbol != null && stringLiteralSymbol.label != null) {
this.print(stringLiteralSymbol.label + "=");
}
this.println(str + "=" + i);
}
else {
this.print(str);
final TokenSymbol tokenSymbol = tokenManager.getTokenSymbol(str);
if (tokenSymbol == null) {
this.antlrTool.warning("undefined token symbol: " + str);
}
else if (tokenSymbol.getParaphrase() != null) {
this.print("(" + tokenSymbol.getParaphrase() + ")");
}
this.println("=" + i);
}
}
}
this.currentOutput.close();
this.currentOutput = null;
}
public String processStringForASTConstructor(final String s) {
return s;
}
public abstract String getASTCreateString(final Vector p0);
public abstract String getASTCreateString(final GrammarAtom p0, final String p1);
protected String getBitsetName(final int i) {
return "_tokenSet_" + i;
}
public static String encodeLexerRuleName(final String str) {
return "m" + str;
}
public static String decodeLexerRuleName(final String s) {
if (s == null) {
return null;
}
return s.substring(1, s.length());
}
public abstract String mapTreeId(final String p0, final ActionTransInfo p1);
protected int markBitsetForGen(final BitSet set) {
for (int i = 0; i < this.bitsetsUsed.size(); ++i) {
if (set.equals(this.bitsetsUsed.elementAt(i))) {
return i;
}
}
this.bitsetsUsed.appendElement(set.clone());
return this.bitsetsUsed.size() - 1;
}
protected void print(final String s) {
if (s != null) {
this.printTabs();
this.currentOutput.print(s);
}
}
protected void printAction(final String s) {
if (s != null) {
this.printTabs();
this._printAction(s);
}
}
protected void println(final String x) {
if (x != null) {
this.printTabs();
this.currentOutput.println(x);
}
}
protected void printTabs() {
for (int i = 1; i <= this.tabs; ++i) {
this.currentOutput.print("\t");
}
}
protected abstract String processActionForSpecialSymbols(final String p0, final int p1, final RuleBlock p2, final ActionTransInfo p3);
public String getFOLLOWBitSet(final String s, final int n) {
final GrammarSymbol symbol = this.grammar.getSymbol(s);
if (!(symbol instanceof RuleSymbol)) {
return null;
}
return this.getBitsetName(this.markBitsetForGen(this.grammar.theLLkAnalyzer.FOLLOW(n, ((RuleSymbol)symbol).getBlock().endNode).fset));
}
public String getFIRSTBitSet(final String s, final int n) {
final GrammarSymbol symbol = this.grammar.getSymbol(s);
if (!(symbol instanceof RuleSymbol)) {
return null;
}
return this.getBitsetName(this.markBitsetForGen(this.grammar.theLLkAnalyzer.look(n, ((RuleSymbol)symbol).getBlock()).fset));
}
protected String removeAssignmentFromDeclaration(String trim) {
if (trim.indexOf(61) >= 0) {
trim = trim.substring(0, trim.indexOf(61)).trim();
}
return trim;
}
private void reset() {
this.tabs = 0;
this.bitsetsUsed = new Vector();
this.currentOutput = null;
this.grammar = null;
this.DEBUG_CODE_GENERATOR = false;
this.makeSwitchThreshold = 2;
this.bitsetTestThreshold = 4;
}
public static String reverseLexerRuleName(final String s) {
return s.substring(1, s.length());
}
public void setAnalyzer(final LLkGrammarAnalyzer analyzer) {
this.analyzer = analyzer;
}
public void setBehavior(final DefineGrammarSymbols behavior) {
this.behavior = behavior;
}
protected void setGrammar(final Grammar grammar) {
this.reset();
this.grammar = grammar;
if (this.grammar.hasOption("codeGenMakeSwitchThreshold")) {
try {
this.makeSwitchThreshold = this.grammar.getIntegerOption("codeGenMakeSwitchThreshold");
}
catch (NumberFormatException ex) {
final Token option = this.grammar.getOption("codeGenMakeSwitchThreshold");
this.antlrTool.error("option 'codeGenMakeSwitchThreshold' must be an integer", this.grammar.getClassName(), option.getLine(), option.getColumn());
}
}
if (this.grammar.hasOption("codeGenBitsetTestThreshold")) {
try {
this.bitsetTestThreshold = this.grammar.getIntegerOption("codeGenBitsetTestThreshold");
}
catch (NumberFormatException ex2) {
final Token option2 = this.grammar.getOption("codeGenBitsetTestThreshold");
this.antlrTool.error("option 'codeGenBitsetTestThreshold' must be an integer", this.grammar.getClassName(), option2.getLine(), option2.getColumn());
}
}
if (this.grammar.hasOption("codeGenDebug")) {
final Token option3 = this.grammar.getOption("codeGenDebug");
if (option3.getText().equals("true")) {
this.DEBUG_CODE_GENERATOR = true;
}
else if (option3.getText().equals("false")) {
this.DEBUG_CODE_GENERATOR = false;
}
else {
this.antlrTool.error("option 'codeGenDebug' must be true or false", this.grammar.getClassName(), option3.getLine(), option3.getColumn());
}
}
}
public void setTool(final Tool antlrTool) {
this.antlrTool = antlrTool;
}
static {
CodeGenerator.OLD_ACTION_TRANSLATOR = true;
CodeGenerator.TokenTypesFileSuffix = "TokenTypes";
CodeGenerator.TokenTypesFileExt = ".txt";
}
}
|
package flarcher.javafx.gui.scene;
import flarcher.javafx.gui.AppState;
import flarcher.javafx.gui.NodeFactory;
import javafx.geometry.HPos;
import javafx.geometry.Pos;
import javafx.scene.control.*;
public class FormScene extends AbstractMainScene {
public FormScene(Runnable next) {
super(2);
this.next = next;
}
private final Runnable next;
private final TextField valueField = new TextField();
private final ToggleGroup logicChoice = new ToggleGroup();
@Override
protected void buildScene(AppState state) {
valueField.setText(state.getValue());
addRow(HPos.CENTER,
NodeFactory.createLabel("Your text:", valueField),
valueField);
RadioButton transformChoice = new RadioButton();
transformChoice.setToggleGroup(logicChoice);
transformChoice.setSelected(state.doesCallLogic());
transformChoice.setAlignment(Pos.CENTER);
addRow(HPos.CENTER,
NodeFactory.createText("To uppercase:"),
transformChoice);
RadioButton noChangeChoice = new RadioButton();
noChangeChoice.setToggleGroup(logicChoice);
noChangeChoice.setSelected(! state.doesCallLogic());
noChangeChoice.setAlignment(Pos.CENTER);
addRow(HPos.CENTER,
NodeFactory.createText("No change:"),
noChangeChoice);
Button button = NodeFactory.createButton("Go!", e -> {
state.setValue(valueField.getText());
state.setCallLogic(logicChoice.getSelectedToggle() == transformChoice);
next.run();
} );
addNode(button, getRowIndex(), 1, 1, 2, HPos.RIGHT);
}
}
|
package com.workoss.boot.plugin.mybatis;
import com.workoss.boot.plugin.mybatis.context.SqlContext;
import com.workoss.boot.util.reflect.BeanCopierUtil;
import org.apache.ibatis.cache.CacheKey;
import org.apache.ibatis.executor.Executor;
import org.apache.ibatis.mapping.BoundSql;
import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.plugin.Invocation;
import org.apache.ibatis.session.ResultHandler;
import org.apache.ibatis.session.RowBounds;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.*;
/**
* 查询执行类
*
* @author workoss
*/
@SuppressWarnings("ALL")
public class SelectSqlActionExecutor implements SqlActionExecutor {
private static final Logger log = LoggerFactory.getLogger(SelectSqlActionExecutor.class);
public static final SelectSqlActionExecutor INSTANCE = new SelectSqlActionExecutor();
private final String PAGE_SQL_ID = "Page";
private final String PAGE_PARAM = "page";
private Map<String, SqlHandler> sqlHandlerMap = new HashMap<>();
private List<String> handlerKeys = new ArrayList<>();
private SelectSqlActionExecutor() {
}
protected SelectSqlActionExecutor addAfter(SqlHandler sqlHandler) {
String key = sqlHandler.getClass().getSimpleName();
if (sqlHandlerMap.containsKey(key)) {
log.warn("[MYBATIS] QuerySqlHandler:{} 新增已经存在,不能重复增加", sqlHandler.getClass().getName());
}
else {
handlerKeys.add(key);
sqlHandlerMap.put(key, sqlHandler);
}
return this;
}
protected SelectSqlActionExecutor addBefore(SqlHandler sqlHandler) {
String key = sqlHandler.getClass().getSimpleName();
if (sqlHandlerMap.containsKey(key)) {
log.warn("[MYBATIS] QuerySqlHandler:{} 新增已经存在,不能重复增加", sqlHandler.getClass().getName());
}
else {
handlerKeys.add(0, key);
sqlHandlerMap.put(key, sqlHandler);
}
return this;
}
@Override
public Object execute(Invocation invocation, SqlContext context) throws Throwable {
Executor executor = (Executor) invocation.getTarget();
Object[] args = invocation.getArgs();
MappedStatement mappedStatement = (MappedStatement) args[0];
Object parameter = args[1];
RowBounds rowBounds = (RowBounds) args[2];
ResultHandler resultHandler = (ResultHandler) args[3];
CacheKey cacheKey;
BoundSql boundSql;
if (args.length == 4) {
boundSql = mappedStatement.getBoundSql(parameter);
cacheKey = executor.createCacheKey(mappedStatement, parameter, rowBounds, boundSql);
}
else {
cacheKey = (CacheKey) args[4];
boundSql = (BoundSql) args[5];
}
SqlParam sqlParam = (SqlParam) context.getInput("sqlParam");
if (sqlParam == null && mappedStatement.getId().contains(PAGE_SQL_ID)) {
sqlParam = initSqlParam(parameter);
}
if (sqlParam == null) {
return invocation.proceed();
}
context.putInput("executor", executor);
context.putInput("mappedStatement", mappedStatement);
context.putInput("parameter", parameter);
context.putInput("rowBounds", rowBounds);
context.putInput("resultHandler", resultHandler);
context.putInput("cacheKey", cacheKey);
context.putInput("boundSql", boundSql);
handlerKeys.stream().forEach(handlerKey -> {
sqlHandlerMap.get(handlerKey).handler(context);
});
Boolean change = (Boolean) context.getOutput("change");
if (!(change != null && Boolean.TRUE.compareTo(change) == 0)) {
return invocation.proceed();
}
Object result = context.getOutput("result");
if (result != null && result instanceof PageResult) {
PageResult pageResult = (PageResult) result;
if (pageResult.getCount() > 0) {
pageResult.addAll(query(executor, context));
}
return pageResult;
}
return query(executor, context);
}
private List<Object> query(Executor executor, SqlContext context) throws Throwable {
return executor.query((MappedStatement) context.getOutputOrInput("mappedStatement"),
context.getOutputOrInput("parameter"), (RowBounds) context.getOutputOrInput("rowBounds"),
(ResultHandler) context.getOutputOrInput("resultHandler"),
(CacheKey) context.getOutputOrInput("cacheKey"), (BoundSql) context.getOutputOrInput("boundSql"));
}
private SqlParam initSqlParam(Object parameterObject) {
if (parameterObject instanceof SqlParam) {
return (SqlParam) parameterObject;
}
if (parameterObject instanceof Map) {
Map<String, Object> paraMap = (Map<String, Object>) parameterObject;
if (paraMap.containsKey(PAGE_PARAM)) {
Object paramObj = paraMap.get(PAGE_PARAM);
if (paramObj instanceof SqlParam) {
return (SqlParam) parameterObject;
}
return BeanCopierUtil.copy(paramObj, SqlParam.class);
}
Optional<SqlParam> optional = paraMap.entrySet().stream()
.filter(entry -> entry.getValue() instanceof SqlParam).map(entry -> (SqlParam) entry.getValue())
.findFirst();
return optional.isPresent() ? optional.get() : null;
}
return null;
}
}
|
/*
* Copyright 2019 WeBank
* 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.webank.wedatasphere.linkis.cli.common.entity.execution.executor;
import com.webank.wedatasphere.linkis.cli.common.entity.job.Job;
/**
* @description: Executor should encapsulate methods that linkis-cli need to complete an {@link com.webank.wedatasphere.linkis.cli.common.entity.execution.Execution}
*/
public interface Executor {
boolean terminate(Job job);
}
|
package kim.android.neumorphism;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
public class DashboardUI extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_dashboard_u_i);
}
}
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/automl/v1beta1/service.proto
package com.google.cloud.automl.v1beta1;
/**
*
*
* <pre>
* Response message for [AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs].
* </pre>
*
* Protobuf type {@code google.cloud.automl.v1beta1.ListTableSpecsResponse}
*/
public final class ListTableSpecsResponse extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.cloud.automl.v1beta1.ListTableSpecsResponse)
ListTableSpecsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListTableSpecsResponse.newBuilder() to construct.
private ListTableSpecsResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ListTableSpecsResponse() {
tableSpecs_ = java.util.Collections.emptyList();
nextPageToken_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private ListTableSpecsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10:
{
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
tableSpecs_ = new java.util.ArrayList<com.google.cloud.automl.v1beta1.TableSpec>();
mutable_bitField0_ |= 0x00000001;
}
tableSpecs_.add(
input.readMessage(
com.google.cloud.automl.v1beta1.TableSpec.parser(), extensionRegistry));
break;
}
case 18:
{
java.lang.String s = input.readStringRequireUtf8();
nextPageToken_ = s;
break;
}
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
tableSpecs_ = java.util.Collections.unmodifiableList(tableSpecs_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.automl.v1beta1.AutoMlProto
.internal_static_google_cloud_automl_v1beta1_ListTableSpecsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.automl.v1beta1.AutoMlProto
.internal_static_google_cloud_automl_v1beta1_ListTableSpecsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.automl.v1beta1.ListTableSpecsResponse.class,
com.google.cloud.automl.v1beta1.ListTableSpecsResponse.Builder.class);
}
private int bitField0_;
public static final int TABLE_SPECS_FIELD_NUMBER = 1;
private java.util.List<com.google.cloud.automl.v1beta1.TableSpec> tableSpecs_;
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public java.util.List<com.google.cloud.automl.v1beta1.TableSpec> getTableSpecsList() {
return tableSpecs_;
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public java.util.List<? extends com.google.cloud.automl.v1beta1.TableSpecOrBuilder>
getTableSpecsOrBuilderList() {
return tableSpecs_;
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public int getTableSpecsCount() {
return tableSpecs_.size();
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public com.google.cloud.automl.v1beta1.TableSpec getTableSpecs(int index) {
return tableSpecs_.get(index);
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public com.google.cloud.automl.v1beta1.TableSpecOrBuilder getTableSpecsOrBuilder(int index) {
return tableSpecs_.get(index);
}
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
private volatile java.lang.Object nextPageToken_;
/**
*
*
* <pre>
* A token to retrieve next page of results.
* Pass to [ListTableSpecsRequest.page_token][google.cloud.automl.v1beta1.ListTableSpecsRequest.page_token] to obtain that page.
* </pre>
*
* <code>string next_page_token = 2;</code>
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
nextPageToken_ = s;
return s;
}
}
/**
*
*
* <pre>
* A token to retrieve next page of results.
* Pass to [ListTableSpecsRequest.page_token][google.cloud.automl.v1beta1.ListTableSpecsRequest.page_token] to obtain that page.
* </pre>
*
* <code>string next_page_token = 2;</code>
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
nextPageToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
for (int i = 0; i < tableSpecs_.size(); i++) {
output.writeMessage(1, tableSpecs_.get(i));
}
if (!getNextPageTokenBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < tableSpecs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tableSpecs_.get(i));
}
if (!getNextPageTokenBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.cloud.automl.v1beta1.ListTableSpecsResponse)) {
return super.equals(obj);
}
com.google.cloud.automl.v1beta1.ListTableSpecsResponse other =
(com.google.cloud.automl.v1beta1.ListTableSpecsResponse) obj;
if (!getTableSpecsList().equals(other.getTableSpecsList())) return false;
if (!getNextPageToken().equals(other.getNextPageToken())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTableSpecsCount() > 0) {
hash = (37 * hash) + TABLE_SPECS_FIELD_NUMBER;
hash = (53 * hash) + getTableSpecsList().hashCode();
}
hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getNextPageToken().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(
com.google.cloud.automl.v1beta1.ListTableSpecsResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*
* <pre>
* Response message for [AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs].
* </pre>
*
* Protobuf type {@code google.cloud.automl.v1beta1.ListTableSpecsResponse}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
implements
// @@protoc_insertion_point(builder_implements:google.cloud.automl.v1beta1.ListTableSpecsResponse)
com.google.cloud.automl.v1beta1.ListTableSpecsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.automl.v1beta1.AutoMlProto
.internal_static_google_cloud_automl_v1beta1_ListTableSpecsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.automl.v1beta1.AutoMlProto
.internal_static_google_cloud_automl_v1beta1_ListTableSpecsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.automl.v1beta1.ListTableSpecsResponse.class,
com.google.cloud.automl.v1beta1.ListTableSpecsResponse.Builder.class);
}
// Construct using com.google.cloud.automl.v1beta1.ListTableSpecsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getTableSpecsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (tableSpecsBuilder_ == null) {
tableSpecs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
tableSpecsBuilder_.clear();
}
nextPageToken_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.cloud.automl.v1beta1.AutoMlProto
.internal_static_google_cloud_automl_v1beta1_ListTableSpecsResponse_descriptor;
}
@java.lang.Override
public com.google.cloud.automl.v1beta1.ListTableSpecsResponse getDefaultInstanceForType() {
return com.google.cloud.automl.v1beta1.ListTableSpecsResponse.getDefaultInstance();
}
@java.lang.Override
public com.google.cloud.automl.v1beta1.ListTableSpecsResponse build() {
com.google.cloud.automl.v1beta1.ListTableSpecsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.cloud.automl.v1beta1.ListTableSpecsResponse buildPartial() {
com.google.cloud.automl.v1beta1.ListTableSpecsResponse result =
new com.google.cloud.automl.v1beta1.ListTableSpecsResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (tableSpecsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
tableSpecs_ = java.util.Collections.unmodifiableList(tableSpecs_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.tableSpecs_ = tableSpecs_;
} else {
result.tableSpecs_ = tableSpecsBuilder_.build();
}
result.nextPageToken_ = nextPageToken_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.cloud.automl.v1beta1.ListTableSpecsResponse) {
return mergeFrom((com.google.cloud.automl.v1beta1.ListTableSpecsResponse) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.cloud.automl.v1beta1.ListTableSpecsResponse other) {
if (other == com.google.cloud.automl.v1beta1.ListTableSpecsResponse.getDefaultInstance())
return this;
if (tableSpecsBuilder_ == null) {
if (!other.tableSpecs_.isEmpty()) {
if (tableSpecs_.isEmpty()) {
tableSpecs_ = other.tableSpecs_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTableSpecsIsMutable();
tableSpecs_.addAll(other.tableSpecs_);
}
onChanged();
}
} else {
if (!other.tableSpecs_.isEmpty()) {
if (tableSpecsBuilder_.isEmpty()) {
tableSpecsBuilder_.dispose();
tableSpecsBuilder_ = null;
tableSpecs_ = other.tableSpecs_;
bitField0_ = (bitField0_ & ~0x00000001);
tableSpecsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getTableSpecsFieldBuilder()
: null;
} else {
tableSpecsBuilder_.addAllMessages(other.tableSpecs_);
}
}
}
if (!other.getNextPageToken().isEmpty()) {
nextPageToken_ = other.nextPageToken_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.cloud.automl.v1beta1.ListTableSpecsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(com.google.cloud.automl.v1beta1.ListTableSpecsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<com.google.cloud.automl.v1beta1.TableSpec> tableSpecs_ =
java.util.Collections.emptyList();
private void ensureTableSpecsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
tableSpecs_ =
new java.util.ArrayList<com.google.cloud.automl.v1beta1.TableSpec>(tableSpecs_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.cloud.automl.v1beta1.TableSpec,
com.google.cloud.automl.v1beta1.TableSpec.Builder,
com.google.cloud.automl.v1beta1.TableSpecOrBuilder>
tableSpecsBuilder_;
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public java.util.List<com.google.cloud.automl.v1beta1.TableSpec> getTableSpecsList() {
if (tableSpecsBuilder_ == null) {
return java.util.Collections.unmodifiableList(tableSpecs_);
} else {
return tableSpecsBuilder_.getMessageList();
}
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public int getTableSpecsCount() {
if (tableSpecsBuilder_ == null) {
return tableSpecs_.size();
} else {
return tableSpecsBuilder_.getCount();
}
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public com.google.cloud.automl.v1beta1.TableSpec getTableSpecs(int index) {
if (tableSpecsBuilder_ == null) {
return tableSpecs_.get(index);
} else {
return tableSpecsBuilder_.getMessage(index);
}
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public Builder setTableSpecs(int index, com.google.cloud.automl.v1beta1.TableSpec value) {
if (tableSpecsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTableSpecsIsMutable();
tableSpecs_.set(index, value);
onChanged();
} else {
tableSpecsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public Builder setTableSpecs(
int index, com.google.cloud.automl.v1beta1.TableSpec.Builder builderForValue) {
if (tableSpecsBuilder_ == null) {
ensureTableSpecsIsMutable();
tableSpecs_.set(index, builderForValue.build());
onChanged();
} else {
tableSpecsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public Builder addTableSpecs(com.google.cloud.automl.v1beta1.TableSpec value) {
if (tableSpecsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTableSpecsIsMutable();
tableSpecs_.add(value);
onChanged();
} else {
tableSpecsBuilder_.addMessage(value);
}
return this;
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public Builder addTableSpecs(int index, com.google.cloud.automl.v1beta1.TableSpec value) {
if (tableSpecsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTableSpecsIsMutable();
tableSpecs_.add(index, value);
onChanged();
} else {
tableSpecsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public Builder addTableSpecs(
com.google.cloud.automl.v1beta1.TableSpec.Builder builderForValue) {
if (tableSpecsBuilder_ == null) {
ensureTableSpecsIsMutable();
tableSpecs_.add(builderForValue.build());
onChanged();
} else {
tableSpecsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public Builder addTableSpecs(
int index, com.google.cloud.automl.v1beta1.TableSpec.Builder builderForValue) {
if (tableSpecsBuilder_ == null) {
ensureTableSpecsIsMutable();
tableSpecs_.add(index, builderForValue.build());
onChanged();
} else {
tableSpecsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public Builder addAllTableSpecs(
java.lang.Iterable<? extends com.google.cloud.automl.v1beta1.TableSpec> values) {
if (tableSpecsBuilder_ == null) {
ensureTableSpecsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tableSpecs_);
onChanged();
} else {
tableSpecsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public Builder clearTableSpecs() {
if (tableSpecsBuilder_ == null) {
tableSpecs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
tableSpecsBuilder_.clear();
}
return this;
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public Builder removeTableSpecs(int index) {
if (tableSpecsBuilder_ == null) {
ensureTableSpecsIsMutable();
tableSpecs_.remove(index);
onChanged();
} else {
tableSpecsBuilder_.remove(index);
}
return this;
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public com.google.cloud.automl.v1beta1.TableSpec.Builder getTableSpecsBuilder(int index) {
return getTableSpecsFieldBuilder().getBuilder(index);
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public com.google.cloud.automl.v1beta1.TableSpecOrBuilder getTableSpecsOrBuilder(int index) {
if (tableSpecsBuilder_ == null) {
return tableSpecs_.get(index);
} else {
return tableSpecsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public java.util.List<? extends com.google.cloud.automl.v1beta1.TableSpecOrBuilder>
getTableSpecsOrBuilderList() {
if (tableSpecsBuilder_ != null) {
return tableSpecsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tableSpecs_);
}
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public com.google.cloud.automl.v1beta1.TableSpec.Builder addTableSpecsBuilder() {
return getTableSpecsFieldBuilder()
.addBuilder(com.google.cloud.automl.v1beta1.TableSpec.getDefaultInstance());
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public com.google.cloud.automl.v1beta1.TableSpec.Builder addTableSpecsBuilder(int index) {
return getTableSpecsFieldBuilder()
.addBuilder(index, com.google.cloud.automl.v1beta1.TableSpec.getDefaultInstance());
}
/**
*
*
* <pre>
* The table specs read.
* </pre>
*
* <code>repeated .google.cloud.automl.v1beta1.TableSpec table_specs = 1;</code>
*/
public java.util.List<com.google.cloud.automl.v1beta1.TableSpec.Builder>
getTableSpecsBuilderList() {
return getTableSpecsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.cloud.automl.v1beta1.TableSpec,
com.google.cloud.automl.v1beta1.TableSpec.Builder,
com.google.cloud.automl.v1beta1.TableSpecOrBuilder>
getTableSpecsFieldBuilder() {
if (tableSpecsBuilder_ == null) {
tableSpecsBuilder_ =
new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.cloud.automl.v1beta1.TableSpec,
com.google.cloud.automl.v1beta1.TableSpec.Builder,
com.google.cloud.automl.v1beta1.TableSpecOrBuilder>(
tableSpecs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
tableSpecs_ = null;
}
return tableSpecsBuilder_;
}
private java.lang.Object nextPageToken_ = "";
/**
*
*
* <pre>
* A token to retrieve next page of results.
* Pass to [ListTableSpecsRequest.page_token][google.cloud.automl.v1beta1.ListTableSpecsRequest.page_token] to obtain that page.
* </pre>
*
* <code>string next_page_token = 2;</code>
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
nextPageToken_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*
* <pre>
* A token to retrieve next page of results.
* Pass to [ListTableSpecsRequest.page_token][google.cloud.automl.v1beta1.ListTableSpecsRequest.page_token] to obtain that page.
* </pre>
*
* <code>string next_page_token = 2;</code>
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
nextPageToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*
* <pre>
* A token to retrieve next page of results.
* Pass to [ListTableSpecsRequest.page_token][google.cloud.automl.v1beta1.ListTableSpecsRequest.page_token] to obtain that page.
* </pre>
*
* <code>string next_page_token = 2;</code>
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
nextPageToken_ = value;
onChanged();
return this;
}
/**
*
*
* <pre>
* A token to retrieve next page of results.
* Pass to [ListTableSpecsRequest.page_token][google.cloud.automl.v1beta1.ListTableSpecsRequest.page_token] to obtain that page.
* </pre>
*
* <code>string next_page_token = 2;</code>
*/
public Builder clearNextPageToken() {
nextPageToken_ = getDefaultInstance().getNextPageToken();
onChanged();
return this;
}
/**
*
*
* <pre>
* A token to retrieve next page of results.
* Pass to [ListTableSpecsRequest.page_token][google.cloud.automl.v1beta1.ListTableSpecsRequest.page_token] to obtain that page.
* </pre>
*
* <code>string next_page_token = 2;</code>
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
nextPageToken_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.cloud.automl.v1beta1.ListTableSpecsResponse)
}
// @@protoc_insertion_point(class_scope:google.cloud.automl.v1beta1.ListTableSpecsResponse)
private static final com.google.cloud.automl.v1beta1.ListTableSpecsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.cloud.automl.v1beta1.ListTableSpecsResponse();
}
public static com.google.cloud.automl.v1beta1.ListTableSpecsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ListTableSpecsResponse> PARSER =
new com.google.protobuf.AbstractParser<ListTableSpecsResponse>() {
@java.lang.Override
public ListTableSpecsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListTableSpecsResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<ListTableSpecsResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ListTableSpecsResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.cloud.automl.v1beta1.ListTableSpecsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
|
package net.foxdenstudio.foxsuite.foxcore.platform.world;
import net.foxdenstudio.foxsuite.foxcore.platform.world.extent.Extent;
public interface Location<E extends Extent> {
E getExtent();
}
|
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
package frc.systems;
import frc.utilities.Constants;
import frc.utilities.LogJoystick;
import frc.robot.Robot;
import frc.utilities.SoftwareTimer;
import frc.utilities.Toggler;
import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.Encoder;
import edu.wpi.first.wpilibj.PneumaticsModuleType;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj.motorcontrol.VictorSP;
import com.ctre.phoenix.motorcontrol.can.VictorSPX;
import com.ctre.phoenix.motorcontrol.ControlMode;
import com.ctre.phoenix.motorcontrol.NeutralMode;
public class Drivetrain {
private boolean hasCANNetwork = false;
public static Encoder m_left_encoder;
public static Encoder m_right_encoder;
private final int HI_SHIFTER = 4;
private final int LO_SHIFTER = 3;
private Gear currentGear = Gear.HI;
private DoubleSolenoid gearShifter;
private SoftwareTimer shiftTimer;
private boolean shiftInit = true;
private boolean isShifting = false;
private boolean brakeModeisEngaged = true;
private DriveMode currentMode = DriveMode.TANK;
private String currentMode_s = "Tank";
private VictorSP flDrive, mlDrive, blDrive, frDrive, mrDrive, brDrive;
private VictorSPX flDriveX, mlDriveX, blDriveX, frDriveX, mrDriveX, brDriveX;
private double leftPower = 0;
private double rightPower = 0;
private Toggler brakeModeToggler;
private double deadband = 0.05;
public Drivetrain(boolean isCAN, int FLport, int MLport, int BLport, int FRport, int MRport, int BRport,
int shifterHi, int shifterLo, int m_right_encoderPortA, int m_right_encoderPortB, int m_left_encoderPortA,
int m_left_encoderPortB) {
brakeModeToggler = new Toggler(LogJoystick.B1);
brakeModeToggler.setMechanismState(true); // sets to brake mode
shiftTimer = new SoftwareTimer();
m_right_encoder = new Encoder(m_right_encoderPortA, m_right_encoderPortB);
m_left_encoder = new Encoder(m_left_encoderPortA, m_left_encoderPortB);
m_right_encoder.reset();
m_left_encoder.reset();
if (isCAN) {
hasCANNetwork = true;
flDriveX = new VictorSPX(FLport);
mlDriveX = new VictorSPX(MLport);
blDriveX = new VictorSPX(BLport);
frDriveX = new VictorSPX(FRport);
mrDriveX = new VictorSPX(MRport);
brDriveX = new VictorSPX(BRport);
} else {
hasCANNetwork = false;
flDrive = new VictorSP(FLport);
mlDrive = new VictorSP(MLport);
blDrive = new VictorSP(BLport);
frDrive = new VictorSP(FRport);
mrDrive = new VictorSP(MRport);
brDrive = new VictorSP(BRport);
}
gearShifter = new DoubleSolenoid(PneumaticsModuleType.CTREPCM, shifterHi, shifterLo);
}
/**
*
* @param rightPow right motor power
* @param leftPow left motor power
*/
public void assignMotorPower(double rightPow, double leftPow) {
if (hasCANNetwork) {
SmartDashboard.putBoolean("Drive check", true);
flDriveX.set(ControlMode.PercentOutput, leftPow);
mlDriveX.set(ControlMode.PercentOutput, leftPow);
blDriveX.set(ControlMode.PercentOutput, leftPow);
frDriveX.set(ControlMode.PercentOutput, rightPow);
mrDriveX.set(ControlMode.PercentOutput, rightPow);
brDriveX.set(ControlMode.PercentOutput, rightPow);
} else {
flDrive.set(leftPow);
mlDrive.set(leftPow);
blDrive.set(leftPow);
frDrive.set(rightPow);
mrDrive.set(rightPow);
brDrive.set(rightPow);
}
rightPower = rightPow;
leftPower = leftPow;
}
public void operatorDrive() {
if (!Robot.isAutoMode) {
changeMode();
checkForGearShift();
if (currentMode == DriveMode.ARCADE) {
currentMode_s = "Arcade";
} else {
currentMode_s = "Tank";
}
double leftY = 0;
double rightY = 0;
switch (currentMode) {
case ARCADE:
double linear = 0;
double turn = 0;
if (Math.abs(Robot.rightJoystick.getY()) > deadband) {
linear = -Robot.rightJoystick.getY();
}
if (Math.abs(Robot.leftJoystick.getX()) > deadband) {
turn = Math.pow(Robot.leftJoystick.getX(), 3);
}
leftY = -linear - turn;
rightY = linear - turn;
if (!isShifting) {
assignMotorPower(rightY, leftY);
} else {
assignMotorPower(0, 0);
}
break;
case TANK:
if (Math.abs(Robot.rightJoystick.getY()) > deadband) {
rightY = -Math.pow(Robot.rightJoystick.getY(), 3 / 2);
}
if (Math.abs(Robot.leftJoystick.getY()) > deadband) {
leftY = Math.pow(Robot.leftJoystick.getY(), 3 / 2);
}
if (!isShifting) {
assignMotorPower(rightY, leftY);
} else {
assignMotorPower(0, 0);
}
break;
default:
break;
}
}
updateTelemetry();
}
/**
* Checks for joystick input to shift gears. Manages to logic and timing to not
* power drive motors while shifting
*/
public void checkForGearShift() {
boolean shiftHi = Robot.leftJoystick.getRawButton(HI_SHIFTER);
boolean shiftLo = Robot.leftJoystick.getRawButton(LO_SHIFTER);
if (shiftHi) {
currentGear = Gear.HI;
if (shiftInit) {
shiftTimer.setTimer(Constants.SHIFT_TIME);
shiftInit = false;
}
if (shiftTimer.isExpired()) {
isShifting = false;
shiftInit = true;
} else {
isShifting = true;
}
gearShifter.set(Constants.HI_GEAR_VALUE);
} else if (shiftLo) {
currentGear = Gear.LO;
if (shiftInit) {
shiftTimer.setTimer(Constants.SHIFT_TIME);
shiftInit = false;
}
if (shiftTimer.isExpired()) {
isShifting = false;
shiftInit = true;
} else {
isShifting = true;
}
gearShifter.set(Constants.LO_GEAR_VALUE);
} else {
isShifting = false;
}
}
/**
* current gear status
*/
public enum Gear {
HI, LO
}
public enum DriveMode {
TANK,
ARCADE
}
/**
*
* @param shiftTo desired gear
*/
public void shiftGear(Gear shiftTo) {
boolean shiftHi = false;
boolean shiftLo = false;
currentGear = shiftTo;
if (shiftTo == Gear.HI) {
shiftHi = true;
} else {
shiftLo = true;
}
if (shiftHi) {
if (shiftInit) {
shiftTimer.setTimer(Constants.SHIFT_TIME);
shiftInit = false;
}
if (shiftTimer.isExpired()) {
isShifting = false;
shiftInit = true;
} else {
isShifting = true;
}
gearShifter.set(Constants.HI_GEAR_VALUE);
} else if (shiftLo) {
if (shiftInit) {
shiftTimer.setTimer(Constants.SHIFT_TIME);
shiftInit = false;
}
if (shiftTimer.isExpired()) {
isShifting = false;
shiftInit = true;
} else {
isShifting = true;
}
gearShifter.set(Constants.LO_GEAR_VALUE);
} else {
isShifting = false;
}
}
public void changeMode() {
brakeModeToggler.updateMechanismStateLJoy();
brakeModeisEngaged = brakeModeToggler.getMechanismState();
if (brakeModeisEngaged) {
flDriveX.setNeutralMode(NeutralMode.Brake);
mlDriveX.setNeutralMode(NeutralMode.Brake);
blDriveX.setNeutralMode(NeutralMode.Brake);
frDriveX.setNeutralMode(NeutralMode.Brake);
mrDriveX.setNeutralMode(NeutralMode.Brake);
brDriveX.setNeutralMode(NeutralMode.Brake);
} else {
flDriveX.setNeutralMode(NeutralMode.Coast);
mlDriveX.setNeutralMode(NeutralMode.Coast);
blDriveX.setNeutralMode(NeutralMode.Coast);
frDriveX.setNeutralMode(NeutralMode.Coast);
mrDriveX.setNeutralMode(NeutralMode.Coast);
brDriveX.setNeutralMode(NeutralMode.Coast);
}
}
/**
* updates smartdashboard
*/
public void updateTelemetry() {
// encoder outputs
SmartDashboard.putNumber("Right Encoder", m_right_encoder.getDistance());
SmartDashboard.putNumber("Left Encoder", m_left_encoder.getDistance());
// shifting status
SmartDashboard.putBoolean("Shifting", isShifting);
SmartDashboard.putString("Drive Mode", currentMode_s);
// current gear
SmartDashboard.putBoolean("HI Gear", (currentGear == Gear.HI));
SmartDashboard.putBoolean("LOW Gear", (currentGear == Gear.LO));
// power outputs
SmartDashboard.putNumber("Right Power", rightPower);
SmartDashboard.putNumber("Left Power", leftPower);
// Check Coast/Brake
SmartDashboard.putBoolean("Brake Mode", brakeModeisEngaged);
}
}
|
/*
* This file is part of the Wildfire Chat package.
* (c) Heavyrain2012 <heavyrain.lee@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package com.secret.loServer.action.robot;
import cn.wildfirechat.common.APIPath;
import com.google.gson.Gson;
import com.secret.loServer.RestResult;
import com.secret.loServer.annotation.HttpMethod;
import com.secret.loServer.annotation.Route;
import com.secret.loServer.handler.Request;
import com.secret.loServer.handler.Response;
import cn.wildfirechat.pojos.SendMessageData;
import cn.wildfirechat.pojos.SendMessageResult;
import io.moquette.persistence.RPCCenter;
import io.moquette.persistence.TargetEntry;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.handler.codec.http.HttpResponseStatus;
import cn.wildfirechat.common.ErrorCode;
import com.liuyan.im.IMTopic;
import java.util.concurrent.Executor;
@Route(APIPath.Robot_Message_Send)
@HttpMethod("POST")
public class SendMessageAction extends RobotAction {
@Override
public boolean isTransactionAction() {
return true;
}
@Override
public boolean action(Request request, Response response) {
if (request.getNettyRequest() instanceof FullHttpRequest) {
SendMessageData sendMessageData = getRequestBody(request.getNettyRequest(), SendMessageData.class);
sendMessageData.setSender(robot.getUid());
if (SendMessageData.isValide(sendMessageData)) {
RPCCenter.getInstance().sendRequest(sendMessageData.getSender(), null, IMTopic.SendMessageTopic, sendMessageData.toProtoMessage().toByteArray(), sendMessageData.getSender(), TargetEntry.Type.TARGET_TYPE_USER, new RPCCenter.Callback() {
@Override
public void onSuccess(byte[] result) {
ByteBuf byteBuf = Unpooled.buffer();
byteBuf.writeBytes(result);
ErrorCode errorCode = ErrorCode.fromCode(byteBuf.readByte());
if (errorCode == ErrorCode.ERROR_CODE_SUCCESS) {
long messageId = byteBuf.readLong();
long timestamp = byteBuf.readLong();
sendResponse(response, null, new SendMessageResult(messageId, timestamp));
} else {
sendResponse(response, errorCode, null);
}
}
@Override
public void onError(ErrorCode errorCode) {
sendResponse(response, errorCode, null);
}
@Override
public void onTimeout() {
sendResponse(response, ErrorCode.ERROR_CODE_TIMEOUT, null);
}
@Override
public Executor getResponseExecutor() {
return command -> {
ctx.executor().execute(command);
};
}
}, false);
return false;
} else {
response.setStatus(HttpResponseStatus.OK);
RestResult result = RestResult.resultOf(ErrorCode.INVALID_PARAMETER);
response.setContent(new Gson().toJson(result));
}
}
return true;
}
}
|
/*
* Copyright 2002-2022 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
*
* 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 org.springframework.gradle.github.milestones;
import java.time.LocalDate;
import java.time.Month;
import java.time.Year;
import org.springframework.util.Assert;
/**
* A specification for a release train.
*
* @author Steve Riesenberg
* @see SpringReleaseTrain
*/
public final class SpringReleaseTrainSpec {
private final Train train;
private final String version;
private final WeekOfMonth weekOfMonth;
private final DayOfWeek dayOfWeek;
private final Year year;
public SpringReleaseTrainSpec(Train train, String version, WeekOfMonth weekOfMonth, DayOfWeek dayOfWeek, Year year) {
this.train = train;
this.version = version;
this.weekOfMonth = weekOfMonth;
this.dayOfWeek = dayOfWeek;
this.year = year;
}
public Train getTrain() {
return train;
}
public String getVersion() {
return version;
}
public WeekOfMonth getWeekOfMonth() {
return weekOfMonth;
}
public DayOfWeek getDayOfWeek() {
return dayOfWeek;
}
public Year getYear() {
return year;
}
public static Builder builder() {
return new Builder();
}
public enum WeekOfMonth {
FIRST(0), SECOND(7), THIRD(14), FOURTH(21);
private final int dayOffset;
WeekOfMonth(int dayOffset) {
this.dayOffset = dayOffset;
}
public int getDayOffset() {
return dayOffset;
}
}
public enum DayOfWeek {
MONDAY(java.time.DayOfWeek.MONDAY),
TUESDAY(java.time.DayOfWeek.TUESDAY),
WEDNESDAY(java.time.DayOfWeek.WEDNESDAY),
THURSDAY(java.time.DayOfWeek.THURSDAY),
FRIDAY(java.time.DayOfWeek.FRIDAY);
private final java.time.DayOfWeek dayOfWeek;
DayOfWeek(java.time.DayOfWeek dayOfWeek) {
this.dayOfWeek = dayOfWeek;
}
public java.time.DayOfWeek getDayOfWeek() {
return dayOfWeek;
}
}
public enum Train {
ONE, TWO
}
public static class Builder {
private Train train;
private String version;
private WeekOfMonth weekOfMonth;
private DayOfWeek dayOfWeek;
private Year year;
private Builder() {
}
public Builder train(int train) {
switch (train) {
case 1: this.train = Train.ONE; break;
case 2: this.train = Train.TWO; break;
default: throw new IllegalArgumentException("Invalid train: " + train);
}
return this;
}
public Builder train(Train train) {
this.train = train;
return this;
}
public Builder nextTrain() {
// Search for next train starting with this month
return nextTrain(LocalDate.now().withDayOfMonth(1));
}
public Builder nextTrain(LocalDate startDate) {
Train nextTrain = null;
// Search for next train from a given start date
LocalDate currentDate = startDate;
while (nextTrain == null) {
if (currentDate.getMonth() == Month.JANUARY) {
nextTrain = Train.ONE;
} else if (currentDate.getMonth() == Month.JULY) {
nextTrain = Train.TWO;
}
currentDate = currentDate.plusMonths(1);
}
return train(nextTrain).year(currentDate.getYear());
}
public Builder version(String version) {
this.version = version;
return this;
}
public Builder weekOfMonth(int weekOfMonth) {
switch (weekOfMonth) {
case 1: this.weekOfMonth = WeekOfMonth.FIRST; break;
case 2: this.weekOfMonth = WeekOfMonth.SECOND; break;
case 3: this.weekOfMonth = WeekOfMonth.THIRD; break;
case 4: this.weekOfMonth = WeekOfMonth.FOURTH; break;
default: throw new IllegalArgumentException("Invalid weekOfMonth: " + weekOfMonth);
}
return this;
}
public Builder weekOfMonth(WeekOfMonth weekOfMonth) {
this.weekOfMonth = weekOfMonth;
return this;
}
public Builder dayOfWeek(int dayOfWeek) {
switch (dayOfWeek) {
case 1: this.dayOfWeek = DayOfWeek.MONDAY; break;
case 2: this.dayOfWeek = DayOfWeek.TUESDAY; break;
case 3: this.dayOfWeek = DayOfWeek.WEDNESDAY; break;
case 4: this.dayOfWeek = DayOfWeek.THURSDAY; break;
case 5: this.dayOfWeek = DayOfWeek.FRIDAY; break;
default: throw new IllegalArgumentException("Invalid dayOfWeek: " + dayOfWeek);
}
return this;
}
public Builder dayOfWeek(DayOfWeek dayOfWeek) {
this.dayOfWeek = dayOfWeek;
return this;
}
public Builder year(int year) {
this.year = Year.of(year);
return this;
}
public SpringReleaseTrainSpec build() {
Assert.notNull(train, "train cannot be null");
Assert.notNull(version, "version cannot be null");
Assert.notNull(weekOfMonth, "weekOfMonth cannot be null");
Assert.notNull(dayOfWeek, "dayOfWeek cannot be null");
Assert.notNull(year, "year cannot be null");
return new SpringReleaseTrainSpec(train, version, weekOfMonth, dayOfWeek, year);
}
}
}
|
/* 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 android.support.v7.appcompat;
public final class R {
public static final class anim {
public static final int abc_fade_in = 0x7f050000;
public static final int abc_fade_out = 0x7f050001;
public static final int abc_grow_fade_in_from_bottom = 0x7f050002;
public static final int abc_popup_enter = 0x7f050003;
public static final int abc_popup_exit = 0x7f050004;
public static final int abc_shrink_fade_out_from_bottom = 0x7f050005;
public static final int abc_slide_in_bottom = 0x7f050006;
public static final int abc_slide_in_top = 0x7f050007;
public static final int abc_slide_out_bottom = 0x7f050008;
public static final int abc_slide_out_top = 0x7f050009;
}
public static final class attr {
public static final int actionBarDivider = 0x7f010045;
public static final int actionBarItemBackground = 0x7f010046;
public static final int actionBarPopupTheme = 0x7f01003f;
public static final int actionBarSize = 0x7f010044;
public static final int actionBarSplitStyle = 0x7f010041;
public static final int actionBarStyle = 0x7f010040;
public static final int actionBarTabBarStyle = 0x7f01003b;
public static final int actionBarTabStyle = 0x7f01003a;
public static final int actionBarTabTextStyle = 0x7f01003c;
public static final int actionBarTheme = 0x7f010042;
public static final int actionBarWidgetTheme = 0x7f010043;
public static final int actionButtonStyle = 0x7f010060;
public static final int actionDropDownStyle = 0x7f01005c;
public static final int actionLayout = 0x7f0100f1;
public static final int actionMenuTextAppearance = 0x7f010047;
public static final int actionMenuTextColor = 0x7f010048;
public static final int actionModeBackground = 0x7f01004b;
public static final int actionModeCloseButtonStyle = 0x7f01004a;
public static final int actionModeCloseDrawable = 0x7f01004d;
public static final int actionModeCopyDrawable = 0x7f01004f;
public static final int actionModeCutDrawable = 0x7f01004e;
public static final int actionModeFindDrawable = 0x7f010053;
public static final int actionModePasteDrawable = 0x7f010050;
public static final int actionModePopupWindowStyle = 0x7f010055;
public static final int actionModeSelectAllDrawable = 0x7f010051;
public static final int actionModeShareDrawable = 0x7f010052;
public static final int actionModeSplitBackground = 0x7f01004c;
public static final int actionModeStyle = 0x7f010049;
public static final int actionModeWebSearchDrawable = 0x7f010054;
public static final int actionOverflowButtonStyle = 0x7f01003d;
public static final int actionOverflowMenuStyle = 0x7f01003e;
public static final int actionProviderClass = 0x7f0100f3;
public static final int actionViewClass = 0x7f0100f2;
public static final int activityChooserViewStyle = 0x7f010068;
public static final int alertDialogButtonGroupStyle = 0x7f01008c;
public static final int alertDialogCenterButtons = 0x7f01008d;
public static final int alertDialogStyle = 0x7f01008b;
public static final int alertDialogTheme = 0x7f01008e;
public static final int allowStacking = 0x7f0100a4;
public static final int alpha = 0x7f0100b6;
public static final int arrowHeadLength = 0x7f0100c8;
public static final int arrowShaftLength = 0x7f0100c9;
public static final int autoCompleteTextViewStyle = 0x7f010093;
public static final int background = 0x7f01000c;
public static final int backgroundSplit = 0x7f01000e;
public static final int backgroundStacked = 0x7f01000d;
public static final int backgroundTint = 0x7f010152;
public static final int backgroundTintMode = 0x7f010153;
public static final int barLength = 0x7f0100ca;
public static final int borderlessButtonStyle = 0x7f010065;
public static final int buttonBarButtonStyle = 0x7f010062;
public static final int buttonBarNegativeButtonStyle = 0x7f010091;
public static final int buttonBarNeutralButtonStyle = 0x7f010092;
public static final int buttonBarPositiveButtonStyle = 0x7f010090;
public static final int buttonBarStyle = 0x7f010061;
public static final int buttonGravity = 0x7f010147;
public static final int buttonPanelSideLayout = 0x7f010021;
public static final int buttonStyle = 0x7f010094;
public static final int buttonStyleSmall = 0x7f010095;
public static final int buttonTint = 0x7f0100b7;
public static final int buttonTintMode = 0x7f0100b8;
public static final int checkboxStyle = 0x7f010096;
public static final int checkedTextViewStyle = 0x7f010097;
public static final int closeIcon = 0x7f010108;
public static final int closeItemLayout = 0x7f01001e;
public static final int collapseContentDescription = 0x7f010149;
public static final int collapseIcon = 0x7f010148;
public static final int color = 0x7f0100c4;
public static final int colorAccent = 0x7f010083;
public static final int colorBackgroundFloating = 0x7f01008a;
public static final int colorButtonNormal = 0x7f010087;
public static final int colorControlActivated = 0x7f010085;
public static final int colorControlHighlight = 0x7f010086;
public static final int colorControlNormal = 0x7f010084;
public static final int colorPrimary = 0x7f010081;
public static final int colorPrimaryDark = 0x7f010082;
public static final int colorSwitchThumbNormal = 0x7f010088;
public static final int commitIcon = 0x7f01010d;
public static final int contentInsetEnd = 0x7f010017;
public static final int contentInsetEndWithActions = 0x7f01001b;
public static final int contentInsetLeft = 0x7f010018;
public static final int contentInsetRight = 0x7f010019;
public static final int contentInsetStart = 0x7f010016;
public static final int contentInsetStartWithNavigation = 0x7f01001a;
public static final int controlBackground = 0x7f010089;
public static final int customNavigationLayout = 0x7f01000f;
public static final int defaultQueryHint = 0x7f010107;
public static final int dialogPreferredPadding = 0x7f01005a;
public static final int dialogTheme = 0x7f010059;
public static final int displayOptions = 0x7f010005;
public static final int divider = 0x7f01000b;
public static final int dividerHorizontal = 0x7f010067;
public static final int dividerPadding = 0x7f0100d5;
public static final int dividerVertical = 0x7f010066;
public static final int drawableSize = 0x7f0100c6;
public static final int drawerArrowStyle = 0x7f010000;
public static final int dropDownListViewStyle = 0x7f010079;
public static final int dropdownListPreferredItemHeight = 0x7f01005d;
public static final int editTextBackground = 0x7f01006e;
public static final int editTextColor = 0x7f01006d;
public static final int editTextStyle = 0x7f010098;
public static final int elevation = 0x7f01001c;
public static final int expandActivityOverflowButtonDrawable = 0x7f010020;
public static final int gapBetweenBars = 0x7f0100c7;
public static final int goIcon = 0x7f010109;
public static final int height = 0x7f010001;
public static final int hideOnContentScroll = 0x7f010015;
public static final int homeAsUpIndicator = 0x7f01005f;
public static final int homeLayout = 0x7f010010;
public static final int icon = 0x7f010009;
public static final int iconifiedByDefault = 0x7f010105;
public static final int imageButtonStyle = 0x7f01006f;
public static final int indeterminateProgressStyle = 0x7f010012;
public static final int initialActivityCount = 0x7f01001f;
public static final int isLightTheme = 0x7f010002;
public static final int itemPadding = 0x7f010014;
public static final int layout = 0x7f010104;
public static final int listChoiceBackgroundIndicator = 0x7f010080;
public static final int listDividerAlertDialog = 0x7f01005b;
public static final int listItemLayout = 0x7f010025;
public static final int listLayout = 0x7f010022;
public static final int listMenuViewStyle = 0x7f0100a0;
public static final int listPopupWindowStyle = 0x7f01007a;
public static final int listPreferredItemHeight = 0x7f010074;
public static final int listPreferredItemHeightLarge = 0x7f010076;
public static final int listPreferredItemHeightSmall = 0x7f010075;
public static final int listPreferredItemPaddingLeft = 0x7f010077;
public static final int listPreferredItemPaddingRight = 0x7f010078;
public static final int logo = 0x7f01000a;
public static final int logoDescription = 0x7f01014c;
public static final int maxButtonHeight = 0x7f010146;
public static final int measureWithLargestChild = 0x7f0100d3;
public static final int multiChoiceItemLayout = 0x7f010023;
public static final int navigationContentDescription = 0x7f01014b;
public static final int navigationIcon = 0x7f01014a;
public static final int navigationMode = 0x7f010004;
public static final int overlapAnchor = 0x7f0100fc;
public static final int paddingEnd = 0x7f010150;
public static final int paddingStart = 0x7f01014f;
public static final int panelBackground = 0x7f01007d;
public static final int panelMenuListTheme = 0x7f01007f;
public static final int panelMenuListWidth = 0x7f01007e;
public static final int popupMenuStyle = 0x7f01006b;
public static final int popupTheme = 0x7f01001d;
public static final int popupWindowStyle = 0x7f01006c;
public static final int preserveIconSpacing = 0x7f0100f4;
public static final int progressBarPadding = 0x7f010013;
public static final int progressBarStyle = 0x7f010011;
public static final int queryBackground = 0x7f01010f;
public static final int queryHint = 0x7f010106;
public static final int radioButtonStyle = 0x7f010099;
public static final int ratingBarStyle = 0x7f01009a;
public static final int ratingBarStyleIndicator = 0x7f01009b;
public static final int ratingBarStyleSmall = 0x7f01009c;
public static final int searchHintIcon = 0x7f01010b;
public static final int searchIcon = 0x7f01010a;
public static final int searchViewStyle = 0x7f010073;
public static final int seekBarStyle = 0x7f01009d;
public static final int selectableItemBackground = 0x7f010063;
public static final int selectableItemBackgroundBorderless = 0x7f010064;
public static final int showAsAction = 0x7f0100f0;
public static final int showDividers = 0x7f0100d4;
public static final int showText = 0x7f01011f;
public static final int singleChoiceItemLayout = 0x7f010024;
public static final int spinBars = 0x7f0100c5;
public static final int spinnerDropDownItemStyle = 0x7f01005e;
public static final int spinnerStyle = 0x7f01009e;
public static final int splitTrack = 0x7f01011e;
public static final int srcCompat = 0x7f01002b;
public static final int state_above_anchor = 0x7f0100fd;
public static final int subMenuArrow = 0x7f0100f5;
public static final int submitBackground = 0x7f010110;
public static final int subtitle = 0x7f010006;
public static final int subtitleTextAppearance = 0x7f01013f;
public static final int subtitleTextColor = 0x7f01014e;
public static final int subtitleTextStyle = 0x7f010008;
public static final int suggestionRowLayout = 0x7f01010e;
public static final int switchMinWidth = 0x7f01011c;
public static final int switchPadding = 0x7f01011d;
public static final int switchStyle = 0x7f01009f;
public static final int switchTextAppearance = 0x7f01011b;
public static final int textAllCaps = 0x7f01002f;
public static final int textAppearanceLargePopupMenu = 0x7f010056;
public static final int textAppearanceListItem = 0x7f01007b;
public static final int textAppearanceListItemSmall = 0x7f01007c;
public static final int textAppearancePopupMenuHeader = 0x7f010058;
public static final int textAppearanceSearchResultSubtitle = 0x7f010071;
public static final int textAppearanceSearchResultTitle = 0x7f010070;
public static final int textAppearanceSmallPopupMenu = 0x7f010057;
public static final int textColorAlertDialogListItem = 0x7f01008f;
public static final int textColorSearchUrl = 0x7f010072;
public static final int theme = 0x7f010151;
public static final int thickness = 0x7f0100cb;
public static final int thumbTextPadding = 0x7f01011a;
public static final int thumbTint = 0x7f010115;
public static final int thumbTintMode = 0x7f010116;
public static final int tickMark = 0x7f01002c;
public static final int tickMarkTint = 0x7f01002d;
public static final int tickMarkTintMode = 0x7f01002e;
public static final int title = 0x7f010003;
public static final int titleMargin = 0x7f010140;
public static final int titleMarginBottom = 0x7f010144;
public static final int titleMarginEnd = 0x7f010142;
public static final int titleMarginStart = 0x7f010141;
public static final int titleMarginTop = 0x7f010143;
public static final int titleMargins = 0x7f010145;
public static final int titleTextAppearance = 0x7f01013e;
public static final int titleTextColor = 0x7f01014d;
public static final int titleTextStyle = 0x7f010007;
public static final int toolbarNavigationButtonStyle = 0x7f01006a;
public static final int toolbarStyle = 0x7f010069;
public static final int track = 0x7f010117;
public static final int trackTint = 0x7f010118;
public static final int trackTintMode = 0x7f010119;
public static final int voiceIcon = 0x7f01010c;
public static final int windowActionBar = 0x7f010030;
public static final int windowActionBarOverlay = 0x7f010032;
public static final int windowActionModeOverlay = 0x7f010033;
public static final int windowFixedHeightMajor = 0x7f010037;
public static final int windowFixedHeightMinor = 0x7f010035;
public static final int windowFixedWidthMajor = 0x7f010034;
public static final int windowFixedWidthMinor = 0x7f010036;
public static final int windowMinWidthMajor = 0x7f010038;
public static final int windowMinWidthMinor = 0x7f010039;
public static final int windowNoTitle = 0x7f010031;
}
public static final class bool {
public static final int abc_action_bar_embed_tabs = 0x7f090000;
public static final int abc_allow_stacked_button_bar = 0x7f090001;
public static final int abc_config_actionMenuItemAllCaps = 0x7f090002;
public static final int abc_config_closeDialogWhenTouchOutside = 0x7f090003;
public static final int abc_config_showMenuShortcutsWhenKeyboardPresent = 0x7f090004;
}
public static final class color {
public static final int abc_background_cache_hint_selector_material_dark = 0x7f0b0051;
public static final int abc_background_cache_hint_selector_material_light = 0x7f0b0052;
public static final int abc_btn_colored_borderless_text_material = 0x7f0b0053;
public static final int abc_color_highlight_material = 0x7f0b0054;
public static final int abc_hint_foreground_material_dark = 0x7f0b0055;
public static final int abc_hint_foreground_material_light = 0x7f0b0056;
public static final int abc_input_method_navigation_guard = 0x7f0b0001;
public static final int abc_primary_text_disable_only_material_dark = 0x7f0b0057;
public static final int abc_primary_text_disable_only_material_light = 0x7f0b0058;
public static final int abc_primary_text_material_dark = 0x7f0b0059;
public static final int abc_primary_text_material_light = 0x7f0b005a;
public static final int abc_search_url_text = 0x7f0b005b;
public static final int abc_search_url_text_normal = 0x7f0b0002;
public static final int abc_search_url_text_pressed = 0x7f0b0003;
public static final int abc_search_url_text_selected = 0x7f0b0004;
public static final int abc_secondary_text_material_dark = 0x7f0b005c;
public static final int abc_secondary_text_material_light = 0x7f0b005d;
public static final int abc_tint_btn_checkable = 0x7f0b005e;
public static final int abc_tint_default = 0x7f0b005f;
public static final int abc_tint_edittext = 0x7f0b0060;
public static final int abc_tint_seek_thumb = 0x7f0b0061;
public static final int abc_tint_spinner = 0x7f0b0062;
public static final int abc_tint_switch_thumb = 0x7f0b0063;
public static final int abc_tint_switch_track = 0x7f0b0064;
public static final int accent_material_dark = 0x7f0b0005;
public static final int accent_material_light = 0x7f0b0006;
public static final int background_floating_material_dark = 0x7f0b0007;
public static final int background_floating_material_light = 0x7f0b0008;
public static final int background_material_dark = 0x7f0b0009;
public static final int background_material_light = 0x7f0b000a;
public static final int bright_foreground_disabled_material_dark = 0x7f0b000b;
public static final int bright_foreground_disabled_material_light = 0x7f0b000c;
public static final int bright_foreground_inverse_material_dark = 0x7f0b000d;
public static final int bright_foreground_inverse_material_light = 0x7f0b000e;
public static final int bright_foreground_material_dark = 0x7f0b000f;
public static final int bright_foreground_material_light = 0x7f0b0010;
public static final int button_material_dark = 0x7f0b0011;
public static final int button_material_light = 0x7f0b0012;
public static final int dim_foreground_disabled_material_dark = 0x7f0b0029;
public static final int dim_foreground_disabled_material_light = 0x7f0b002a;
public static final int dim_foreground_material_dark = 0x7f0b002b;
public static final int dim_foreground_material_light = 0x7f0b002c;
public static final int foreground_material_dark = 0x7f0b002d;
public static final int foreground_material_light = 0x7f0b002e;
public static final int highlighted_text_material_dark = 0x7f0b002f;
public static final int highlighted_text_material_light = 0x7f0b0030;
public static final int material_blue_grey_800 = 0x7f0b0031;
public static final int material_blue_grey_900 = 0x7f0b0032;
public static final int material_blue_grey_950 = 0x7f0b0033;
public static final int material_deep_teal_200 = 0x7f0b0034;
public static final int material_deep_teal_500 = 0x7f0b0035;
public static final int material_grey_100 = 0x7f0b0036;
public static final int material_grey_300 = 0x7f0b0037;
public static final int material_grey_50 = 0x7f0b0038;
public static final int material_grey_600 = 0x7f0b0039;
public static final int material_grey_800 = 0x7f0b003a;
public static final int material_grey_850 = 0x7f0b003b;
public static final int material_grey_900 = 0x7f0b003c;
public static final int notification_action_color_filter = 0x7f0b0000;
public static final int notification_icon_bg_color = 0x7f0b003d;
public static final int notification_material_background_media_default_color = 0x7f0b003e;
public static final int primary_dark_material_dark = 0x7f0b003f;
public static final int primary_dark_material_light = 0x7f0b0040;
public static final int primary_material_dark = 0x7f0b0041;
public static final int primary_material_light = 0x7f0b0042;
public static final int primary_text_default_material_dark = 0x7f0b0043;
public static final int primary_text_default_material_light = 0x7f0b0044;
public static final int primary_text_disabled_material_dark = 0x7f0b0045;
public static final int primary_text_disabled_material_light = 0x7f0b0046;
public static final int ripple_material_dark = 0x7f0b0047;
public static final int ripple_material_light = 0x7f0b0048;
public static final int secondary_text_default_material_dark = 0x7f0b0049;
public static final int secondary_text_default_material_light = 0x7f0b004a;
public static final int secondary_text_disabled_material_dark = 0x7f0b004b;
public static final int secondary_text_disabled_material_light = 0x7f0b004c;
public static final int switch_thumb_disabled_material_dark = 0x7f0b004d;
public static final int switch_thumb_disabled_material_light = 0x7f0b004e;
public static final int switch_thumb_material_dark = 0x7f0b0069;
public static final int switch_thumb_material_light = 0x7f0b006a;
public static final int switch_thumb_normal_material_dark = 0x7f0b004f;
public static final int switch_thumb_normal_material_light = 0x7f0b0050;
}
public static final class dimen {
public static final int abc_action_bar_content_inset_material = 0x7f07000c;
public static final int abc_action_bar_content_inset_with_nav = 0x7f07000d;
public static final int abc_action_bar_default_height_material = 0x7f070001;
public static final int abc_action_bar_default_padding_end_material = 0x7f07000e;
public static final int abc_action_bar_default_padding_start_material = 0x7f07000f;
public static final int abc_action_bar_elevation_material = 0x7f07001e;
public static final int abc_action_bar_icon_vertical_padding_material = 0x7f07001f;
public static final int abc_action_bar_overflow_padding_end_material = 0x7f070020;
public static final int abc_action_bar_overflow_padding_start_material = 0x7f070021;
public static final int abc_action_bar_progress_bar_size = 0x7f070002;
public static final int abc_action_bar_stacked_max_height = 0x7f070022;
public static final int abc_action_bar_stacked_tab_max_width = 0x7f070023;
public static final int abc_action_bar_subtitle_bottom_margin_material = 0x7f070024;
public static final int abc_action_bar_subtitle_top_margin_material = 0x7f070025;
public static final int abc_action_button_min_height_material = 0x7f070026;
public static final int abc_action_button_min_width_material = 0x7f070027;
public static final int abc_action_button_min_width_overflow_material = 0x7f070028;
public static final int abc_alert_dialog_button_bar_height = 0x7f070000;
public static final int abc_button_inset_horizontal_material = 0x7f070029;
public static final int abc_button_inset_vertical_material = 0x7f07002a;
public static final int abc_button_padding_horizontal_material = 0x7f07002b;
public static final int abc_button_padding_vertical_material = 0x7f07002c;
public static final int abc_cascading_menus_min_smallest_width = 0x7f07002d;
public static final int abc_config_prefDialogWidth = 0x7f070005;
public static final int abc_control_corner_material = 0x7f07002e;
public static final int abc_control_inset_material = 0x7f07002f;
public static final int abc_control_padding_material = 0x7f070030;
public static final int abc_dialog_fixed_height_major = 0x7f070006;
public static final int abc_dialog_fixed_height_minor = 0x7f070007;
public static final int abc_dialog_fixed_width_major = 0x7f070008;
public static final int abc_dialog_fixed_width_minor = 0x7f070009;
public static final int abc_dialog_list_padding_vertical_material = 0x7f070031;
public static final int abc_dialog_min_width_major = 0x7f07000a;
public static final int abc_dialog_min_width_minor = 0x7f07000b;
public static final int abc_dialog_padding_material = 0x7f070032;
public static final int abc_dialog_padding_top_material = 0x7f070033;
public static final int abc_disabled_alpha_material_dark = 0x7f070034;
public static final int abc_disabled_alpha_material_light = 0x7f070035;
public static final int abc_dropdownitem_icon_width = 0x7f070036;
public static final int abc_dropdownitem_text_padding_left = 0x7f070037;
public static final int abc_dropdownitem_text_padding_right = 0x7f070038;
public static final int abc_edit_text_inset_bottom_material = 0x7f070039;
public static final int abc_edit_text_inset_horizontal_material = 0x7f07003a;
public static final int abc_edit_text_inset_top_material = 0x7f07003b;
public static final int abc_floating_window_z = 0x7f07003c;
public static final int abc_list_item_padding_horizontal_material = 0x7f07003d;
public static final int abc_panel_menu_list_width = 0x7f07003e;
public static final int abc_progress_bar_height_material = 0x7f07003f;
public static final int abc_search_view_preferred_height = 0x7f070040;
public static final int abc_search_view_preferred_width = 0x7f070041;
public static final int abc_seekbar_track_background_height_material = 0x7f070042;
public static final int abc_seekbar_track_progress_height_material = 0x7f070043;
public static final int abc_select_dialog_padding_start_material = 0x7f070044;
public static final int abc_switch_padding = 0x7f070019;
public static final int abc_text_size_body_1_material = 0x7f070045;
public static final int abc_text_size_body_2_material = 0x7f070046;
public static final int abc_text_size_button_material = 0x7f070047;
public static final int abc_text_size_caption_material = 0x7f070048;
public static final int abc_text_size_display_1_material = 0x7f070049;
public static final int abc_text_size_display_2_material = 0x7f07004a;
public static final int abc_text_size_display_3_material = 0x7f07004b;
public static final int abc_text_size_display_4_material = 0x7f07004c;
public static final int abc_text_size_headline_material = 0x7f07004d;
public static final int abc_text_size_large_material = 0x7f07004e;
public static final int abc_text_size_medium_material = 0x7f07004f;
public static final int abc_text_size_menu_header_material = 0x7f070050;
public static final int abc_text_size_menu_material = 0x7f070051;
public static final int abc_text_size_small_material = 0x7f070052;
public static final int abc_text_size_subhead_material = 0x7f070053;
public static final int abc_text_size_subtitle_material_toolbar = 0x7f070003;
public static final int abc_text_size_title_material = 0x7f070054;
public static final int abc_text_size_title_material_toolbar = 0x7f070004;
public static final int disabled_alpha_material_dark = 0x7f070074;
public static final int disabled_alpha_material_light = 0x7f070075;
public static final int highlight_alpha_material_colored = 0x7f070076;
public static final int highlight_alpha_material_dark = 0x7f070077;
public static final int highlight_alpha_material_light = 0x7f070078;
public static final int hint_alpha_material_dark = 0x7f070079;
public static final int hint_alpha_material_light = 0x7f07007a;
public static final int hint_pressed_alpha_material_dark = 0x7f07007b;
public static final int hint_pressed_alpha_material_light = 0x7f07007c;
public static final int notification_action_icon_size = 0x7f070080;
public static final int notification_action_text_size = 0x7f070081;
public static final int notification_big_circle_margin = 0x7f070082;
public static final int notification_content_margin_start = 0x7f07001a;
public static final int notification_large_icon_height = 0x7f070083;
public static final int notification_large_icon_width = 0x7f070084;
public static final int notification_main_column_padding_top = 0x7f07001b;
public static final int notification_media_narrow_margin = 0x7f07001c;
public static final int notification_right_icon_size = 0x7f070085;
public static final int notification_right_side_padding_top = 0x7f070018;
public static final int notification_small_icon_background_padding = 0x7f070086;
public static final int notification_small_icon_size_as_large = 0x7f070087;
public static final int notification_subtext_size = 0x7f070088;
public static final int notification_top_pad = 0x7f070089;
public static final int notification_top_pad_large_text = 0x7f07008a;
}
public static final class drawable {
public static final int abc_ab_share_pack_mtrl_alpha = 0x7f020000;
public static final int abc_action_bar_item_background_material = 0x7f020001;
public static final int abc_btn_borderless_material = 0x7f020002;
public static final int abc_btn_check_material = 0x7f020003;
public static final int abc_btn_check_to_on_mtrl_000 = 0x7f020004;
public static final int abc_btn_check_to_on_mtrl_015 = 0x7f020005;
public static final int abc_btn_colored_material = 0x7f020006;
public static final int abc_btn_default_mtrl_shape = 0x7f020007;
public static final int abc_btn_radio_material = 0x7f020008;
public static final int abc_btn_radio_to_on_mtrl_000 = 0x7f020009;
public static final int abc_btn_radio_to_on_mtrl_015 = 0x7f02000a;
public static final int abc_btn_switch_to_on_mtrl_00001 = 0x7f02000b;
public static final int abc_btn_switch_to_on_mtrl_00012 = 0x7f02000c;
public static final int abc_cab_background_internal_bg = 0x7f02000d;
public static final int abc_cab_background_top_material = 0x7f02000e;
public static final int abc_cab_background_top_mtrl_alpha = 0x7f02000f;
public static final int abc_control_background_material = 0x7f020010;
public static final int abc_dialog_material_background = 0x7f020011;
public static final int abc_edit_text_material = 0x7f020012;
public static final int abc_ic_ab_back_material = 0x7f020013;
public static final int abc_ic_arrow_drop_right_black_24dp = 0x7f020014;
public static final int abc_ic_clear_material = 0x7f020015;
public static final int abc_ic_commit_search_api_mtrl_alpha = 0x7f020016;
public static final int abc_ic_go_search_api_material = 0x7f020017;
public static final int abc_ic_menu_copy_mtrl_am_alpha = 0x7f020018;
public static final int abc_ic_menu_cut_mtrl_alpha = 0x7f020019;
public static final int abc_ic_menu_overflow_material = 0x7f02001a;
public static final int abc_ic_menu_paste_mtrl_am_alpha = 0x7f02001b;
public static final int abc_ic_menu_selectall_mtrl_alpha = 0x7f02001c;
public static final int abc_ic_menu_share_mtrl_alpha = 0x7f02001d;
public static final int abc_ic_search_api_material = 0x7f02001e;
public static final int abc_ic_star_black_16dp = 0x7f02001f;
public static final int abc_ic_star_black_36dp = 0x7f020020;
public static final int abc_ic_star_black_48dp = 0x7f020021;
public static final int abc_ic_star_half_black_16dp = 0x7f020022;
public static final int abc_ic_star_half_black_36dp = 0x7f020023;
public static final int abc_ic_star_half_black_48dp = 0x7f020024;
public static final int abc_ic_voice_search_api_material = 0x7f020025;
public static final int abc_item_background_holo_dark = 0x7f020026;
public static final int abc_item_background_holo_light = 0x7f020027;
public static final int abc_list_divider_mtrl_alpha = 0x7f020028;
public static final int abc_list_focused_holo = 0x7f020029;
public static final int abc_list_longpressed_holo = 0x7f02002a;
public static final int abc_list_pressed_holo_dark = 0x7f02002b;
public static final int abc_list_pressed_holo_light = 0x7f02002c;
public static final int abc_list_selector_background_transition_holo_dark = 0x7f02002d;
public static final int abc_list_selector_background_transition_holo_light = 0x7f02002e;
public static final int abc_list_selector_disabled_holo_dark = 0x7f02002f;
public static final int abc_list_selector_disabled_holo_light = 0x7f020030;
public static final int abc_list_selector_holo_dark = 0x7f020031;
public static final int abc_list_selector_holo_light = 0x7f020032;
public static final int abc_menu_hardkey_panel_mtrl_mult = 0x7f020033;
public static final int abc_popup_background_mtrl_mult = 0x7f020034;
public static final int abc_ratingbar_indicator_material = 0x7f020035;
public static final int abc_ratingbar_material = 0x7f020036;
public static final int abc_ratingbar_small_material = 0x7f020037;
public static final int abc_scrubber_control_off_mtrl_alpha = 0x7f020038;
public static final int abc_scrubber_control_to_pressed_mtrl_000 = 0x7f020039;
public static final int abc_scrubber_control_to_pressed_mtrl_005 = 0x7f02003a;
public static final int abc_scrubber_primary_mtrl_alpha = 0x7f02003b;
public static final int abc_scrubber_track_mtrl_alpha = 0x7f02003c;
public static final int abc_seekbar_thumb_material = 0x7f02003d;
public static final int abc_seekbar_tick_mark_material = 0x7f02003e;
public static final int abc_seekbar_track_material = 0x7f02003f;
public static final int abc_spinner_mtrl_am_alpha = 0x7f020040;
public static final int abc_spinner_textfield_background_material = 0x7f020041;
public static final int abc_switch_thumb_material = 0x7f020042;
public static final int abc_switch_track_mtrl_alpha = 0x7f020043;
public static final int abc_tab_indicator_material = 0x7f020044;
public static final int abc_tab_indicator_mtrl_alpha = 0x7f020045;
public static final int abc_text_cursor_material = 0x7f020046;
public static final int abc_text_select_handle_left_mtrl_dark = 0x7f020047;
public static final int abc_text_select_handle_left_mtrl_light = 0x7f020048;
public static final int abc_text_select_handle_middle_mtrl_dark = 0x7f020049;
public static final int abc_text_select_handle_middle_mtrl_light = 0x7f02004a;
public static final int abc_text_select_handle_right_mtrl_dark = 0x7f02004b;
public static final int abc_text_select_handle_right_mtrl_light = 0x7f02004c;
public static final int abc_textfield_activated_mtrl_alpha = 0x7f02004d;
public static final int abc_textfield_default_mtrl_alpha = 0x7f02004e;
public static final int abc_textfield_search_activated_mtrl_alpha = 0x7f02004f;
public static final int abc_textfield_search_default_mtrl_alpha = 0x7f020050;
public static final int abc_textfield_search_material = 0x7f020051;
public static final int abc_vector_test = 0x7f020052;
public static final int notification_action_background = 0x7f02006e;
public static final int notification_bg = 0x7f02006f;
public static final int notification_bg_low = 0x7f020070;
public static final int notification_bg_low_normal = 0x7f020071;
public static final int notification_bg_low_pressed = 0x7f020072;
public static final int notification_bg_normal = 0x7f020073;
public static final int notification_bg_normal_pressed = 0x7f020074;
public static final int notification_icon_background = 0x7f020075;
public static final int notification_template_icon_bg = 0x7f020078;
public static final int notification_template_icon_low_bg = 0x7f020079;
public static final int notification_tile_bg = 0x7f020076;
public static final int notify_panel_notification_icon_bg = 0x7f020077;
}
public static final class id {
public static final int action0 = 0x7f0c008f;
public static final int action_bar = 0x7f0c006a;
public static final int action_bar_activity_content = 0x7f0c0000;
public static final int action_bar_container = 0x7f0c0069;
public static final int action_bar_root = 0x7f0c0065;
public static final int action_bar_spinner = 0x7f0c0001;
public static final int action_bar_subtitle = 0x7f0c004a;
public static final int action_bar_title = 0x7f0c0049;
public static final int action_container = 0x7f0c008c;
public static final int action_context_bar = 0x7f0c006b;
public static final int action_divider = 0x7f0c0093;
public static final int action_image = 0x7f0c008d;
public static final int action_menu_divider = 0x7f0c0002;
public static final int action_menu_presenter = 0x7f0c0003;
public static final int action_mode_bar = 0x7f0c0067;
public static final int action_mode_bar_stub = 0x7f0c0066;
public static final int action_mode_close_button = 0x7f0c004b;
public static final int action_text = 0x7f0c008e;
public static final int actions = 0x7f0c009c;
public static final int activity_chooser_view_content = 0x7f0c004c;
public static final int add = 0x7f0c001c;
public static final int alertTitle = 0x7f0c0058;
public static final int always = 0x7f0c003d;
public static final int beginning = 0x7f0c0036;
public static final int bottom = 0x7f0c0024;
public static final int buttonPanel = 0x7f0c0053;
public static final int cancel_action = 0x7f0c0090;
public static final int checkbox = 0x7f0c0061;
public static final int chronometer = 0x7f0c0098;
public static final int collapseActionView = 0x7f0c003e;
public static final int contentPanel = 0x7f0c0059;
public static final int custom = 0x7f0c005f;
public static final int customPanel = 0x7f0c005e;
public static final int decor_content_parent = 0x7f0c0068;
public static final int default_activity_button = 0x7f0c004f;
public static final int disableHome = 0x7f0c0010;
public static final int edit_query = 0x7f0c006c;
public static final int end = 0x7f0c0028;
public static final int end_padder = 0x7f0c00a2;
public static final int expand_activities_button = 0x7f0c004d;
public static final int expanded_menu = 0x7f0c0060;
public static final int home = 0x7f0c0004;
public static final int homeAsUp = 0x7f0c0011;
public static final int icon = 0x7f0c0051;
public static final int icon_group = 0x7f0c009d;
public static final int ifRoom = 0x7f0c003f;
public static final int image = 0x7f0c004e;
public static final int info = 0x7f0c0099;
public static final int line1 = 0x7f0c009e;
public static final int line3 = 0x7f0c00a0;
public static final int listMode = 0x7f0c000d;
public static final int list_item = 0x7f0c0050;
public static final int media_actions = 0x7f0c0092;
public static final int middle = 0x7f0c0037;
public static final int multiply = 0x7f0c001d;
public static final int never = 0x7f0c0040;
public static final int none = 0x7f0c0012;
public static final int normal = 0x7f0c000e;
public static final int notification_background = 0x7f0c009b;
public static final int notification_main_column = 0x7f0c0095;
public static final int notification_main_column_container = 0x7f0c0094;
public static final int parentPanel = 0x7f0c0055;
public static final int progress_circular = 0x7f0c0006;
public static final int progress_horizontal = 0x7f0c0007;
public static final int radio = 0x7f0c0063;
public static final int right_icon = 0x7f0c009a;
public static final int right_side = 0x7f0c0096;
public static final int screen = 0x7f0c001e;
public static final int scrollIndicatorDown = 0x7f0c005d;
public static final int scrollIndicatorUp = 0x7f0c005a;
public static final int scrollView = 0x7f0c005b;
public static final int search_badge = 0x7f0c006e;
public static final int search_bar = 0x7f0c006d;
public static final int search_button = 0x7f0c006f;
public static final int search_close_btn = 0x7f0c0074;
public static final int search_edit_frame = 0x7f0c0070;
public static final int search_go_btn = 0x7f0c0076;
public static final int search_mag_icon = 0x7f0c0071;
public static final int search_plate = 0x7f0c0072;
public static final int search_src_text = 0x7f0c0073;
public static final int search_voice_btn = 0x7f0c0077;
public static final int select_dialog_listview = 0x7f0c0078;
public static final int shortcut = 0x7f0c0062;
public static final int showCustom = 0x7f0c0013;
public static final int showHome = 0x7f0c0014;
public static final int showTitle = 0x7f0c0015;
public static final int spacer = 0x7f0c0054;
public static final int split_action_bar = 0x7f0c0008;
public static final int src_atop = 0x7f0c001f;
public static final int src_in = 0x7f0c0020;
public static final int src_over = 0x7f0c0021;
public static final int status_bar_latest_event_content = 0x7f0c0091;
public static final int submenuarrow = 0x7f0c0064;
public static final int submit_area = 0x7f0c0075;
public static final int tabMode = 0x7f0c000f;
public static final int text = 0x7f0c00a1;
public static final int text2 = 0x7f0c009f;
public static final int textSpacerNoButtons = 0x7f0c005c;
public static final int time = 0x7f0c0097;
public static final int title = 0x7f0c0052;
public static final int title_template = 0x7f0c0057;
public static final int top = 0x7f0c002d;
public static final int topPanel = 0x7f0c0056;
public static final int up = 0x7f0c000b;
public static final int useLogo = 0x7f0c0016;
public static final int withText = 0x7f0c0041;
public static final int wrap_content = 0x7f0c0022;
}
public static final class integer {
public static final int abc_config_activityDefaultDur = 0x7f0a0001;
public static final int abc_config_activityShortDur = 0x7f0a0002;
public static final int cancel_button_image_alpha = 0x7f0a0005;
public static final int status_bar_notification_info_maxnum = 0x7f0a0007;
}
public static final class layout {
public static final int abc_action_bar_title_item = 0x7f040000;
public static final int abc_action_bar_up_container = 0x7f040001;
public static final int abc_action_bar_view_list_nav_layout = 0x7f040002;
public static final int abc_action_menu_item_layout = 0x7f040003;
public static final int abc_action_menu_layout = 0x7f040004;
public static final int abc_action_mode_bar = 0x7f040005;
public static final int abc_action_mode_close_item_material = 0x7f040006;
public static final int abc_activity_chooser_view = 0x7f040007;
public static final int abc_activity_chooser_view_list_item = 0x7f040008;
public static final int abc_alert_dialog_button_bar_material = 0x7f040009;
public static final int abc_alert_dialog_material = 0x7f04000a;
public static final int abc_dialog_title_material = 0x7f04000b;
public static final int abc_expanded_menu_layout = 0x7f04000c;
public static final int abc_list_menu_item_checkbox = 0x7f04000d;
public static final int abc_list_menu_item_icon = 0x7f04000e;
public static final int abc_list_menu_item_layout = 0x7f04000f;
public static final int abc_list_menu_item_radio = 0x7f040010;
public static final int abc_popup_menu_header_item_layout = 0x7f040011;
public static final int abc_popup_menu_item_layout = 0x7f040012;
public static final int abc_screen_content_include = 0x7f040013;
public static final int abc_screen_simple = 0x7f040014;
public static final int abc_screen_simple_overlay_action_mode = 0x7f040015;
public static final int abc_screen_toolbar = 0x7f040016;
public static final int abc_search_dropdown_item_icons_2line = 0x7f040017;
public static final int abc_search_view = 0x7f040018;
public static final int abc_select_dialog_material = 0x7f040019;
public static final int notification_action = 0x7f04002d;
public static final int notification_action_tombstone = 0x7f04002e;
public static final int notification_media_action = 0x7f04002f;
public static final int notification_media_cancel_action = 0x7f040030;
public static final int notification_template_big_media = 0x7f040031;
public static final int notification_template_big_media_custom = 0x7f040032;
public static final int notification_template_big_media_narrow = 0x7f040033;
public static final int notification_template_big_media_narrow_custom = 0x7f040034;
public static final int notification_template_custom_big = 0x7f040035;
public static final int notification_template_icon_group = 0x7f040036;
public static final int notification_template_lines_media = 0x7f040037;
public static final int notification_template_media = 0x7f040038;
public static final int notification_template_media_custom = 0x7f040039;
public static final int notification_template_part_chronometer = 0x7f04003a;
public static final int notification_template_part_time = 0x7f04003b;
public static final int select_dialog_item_material = 0x7f04003c;
public static final int select_dialog_multichoice_material = 0x7f04003d;
public static final int select_dialog_singlechoice_material = 0x7f04003e;
public static final int support_simple_spinner_dropdown_item = 0x7f04003f;
}
public static final class string {
public static final int abc_action_bar_home_description = 0x7f060000;
public static final int abc_action_bar_home_description_format = 0x7f060001;
public static final int abc_action_bar_home_subtitle_description_format = 0x7f060002;
public static final int abc_action_bar_up_description = 0x7f060003;
public static final int abc_action_menu_overflow_description = 0x7f060004;
public static final int abc_action_mode_done = 0x7f060005;
public static final int abc_activity_chooser_view_see_all = 0x7f060006;
public static final int abc_activitychooserview_choose_application = 0x7f060007;
public static final int abc_capital_off = 0x7f060008;
public static final int abc_capital_on = 0x7f060009;
public static final int abc_font_family_body_1_material = 0x7f060026;
public static final int abc_font_family_body_2_material = 0x7f060027;
public static final int abc_font_family_button_material = 0x7f060028;
public static final int abc_font_family_caption_material = 0x7f060029;
public static final int abc_font_family_display_1_material = 0x7f06002a;
public static final int abc_font_family_display_2_material = 0x7f06002b;
public static final int abc_font_family_display_3_material = 0x7f06002c;
public static final int abc_font_family_display_4_material = 0x7f06002d;
public static final int abc_font_family_headline_material = 0x7f06002e;
public static final int abc_font_family_menu_material = 0x7f06002f;
public static final int abc_font_family_subhead_material = 0x7f060030;
public static final int abc_font_family_title_material = 0x7f060031;
public static final int abc_search_hint = 0x7f06000a;
public static final int abc_searchview_description_clear = 0x7f06000b;
public static final int abc_searchview_description_query = 0x7f06000c;
public static final int abc_searchview_description_search = 0x7f06000d;
public static final int abc_searchview_description_submit = 0x7f06000e;
public static final int abc_searchview_description_voice = 0x7f06000f;
public static final int abc_shareactionprovider_share_with = 0x7f060010;
public static final int abc_shareactionprovider_share_with_application = 0x7f060011;
public static final int abc_toolbar_collapse_description = 0x7f060012;
public static final int search_menu_title = 0x7f060024;
public static final int status_bar_notification_info_overflow = 0x7f060025;
}
public static final class style {
public static final int AlertDialog_AppCompat = 0x7f08009a;
public static final int AlertDialog_AppCompat_Light = 0x7f08009b;
public static final int Animation_AppCompat_Dialog = 0x7f08009c;
public static final int Animation_AppCompat_DropDownUp = 0x7f08009d;
public static final int Base_AlertDialog_AppCompat = 0x7f0800a0;
public static final int Base_AlertDialog_AppCompat_Light = 0x7f0800a1;
public static final int Base_Animation_AppCompat_Dialog = 0x7f0800a2;
public static final int Base_Animation_AppCompat_DropDownUp = 0x7f0800a3;
public static final int Base_DialogWindowTitleBackground_AppCompat = 0x7f0800a5;
public static final int Base_DialogWindowTitle_AppCompat = 0x7f0800a4;
public static final int Base_TextAppearance_AppCompat = 0x7f08003b;
public static final int Base_TextAppearance_AppCompat_Body1 = 0x7f08003c;
public static final int Base_TextAppearance_AppCompat_Body2 = 0x7f08003d;
public static final int Base_TextAppearance_AppCompat_Button = 0x7f080023;
public static final int Base_TextAppearance_AppCompat_Caption = 0x7f08003e;
public static final int Base_TextAppearance_AppCompat_Display1 = 0x7f08003f;
public static final int Base_TextAppearance_AppCompat_Display2 = 0x7f080040;
public static final int Base_TextAppearance_AppCompat_Display3 = 0x7f080041;
public static final int Base_TextAppearance_AppCompat_Display4 = 0x7f080042;
public static final int Base_TextAppearance_AppCompat_Headline = 0x7f080043;
public static final int Base_TextAppearance_AppCompat_Inverse = 0x7f08000c;
public static final int Base_TextAppearance_AppCompat_Large = 0x7f080044;
public static final int Base_TextAppearance_AppCompat_Large_Inverse = 0x7f08000d;
public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large = 0x7f080045;
public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small = 0x7f080046;
public static final int Base_TextAppearance_AppCompat_Medium = 0x7f080047;
public static final int Base_TextAppearance_AppCompat_Medium_Inverse = 0x7f08000e;
public static final int Base_TextAppearance_AppCompat_Menu = 0x7f080048;
public static final int Base_TextAppearance_AppCompat_SearchResult = 0x7f0800a6;
public static final int Base_TextAppearance_AppCompat_SearchResult_Subtitle = 0x7f080049;
public static final int Base_TextAppearance_AppCompat_SearchResult_Title = 0x7f08004a;
public static final int Base_TextAppearance_AppCompat_Small = 0x7f08004b;
public static final int Base_TextAppearance_AppCompat_Small_Inverse = 0x7f08000f;
public static final int Base_TextAppearance_AppCompat_Subhead = 0x7f08004c;
public static final int Base_TextAppearance_AppCompat_Subhead_Inverse = 0x7f080010;
public static final int Base_TextAppearance_AppCompat_Title = 0x7f08004d;
public static final int Base_TextAppearance_AppCompat_Title_Inverse = 0x7f080011;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu = 0x7f080091;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle = 0x7f08004e;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse = 0x7f08004f;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title = 0x7f080050;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse = 0x7f080051;
public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle = 0x7f080052;
public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Title = 0x7f080053;
public static final int Base_TextAppearance_AppCompat_Widget_Button = 0x7f080054;
public static final int Base_TextAppearance_AppCompat_Widget_Button_Inverse = 0x7f080092;
public static final int Base_TextAppearance_AppCompat_Widget_DropDownItem = 0x7f0800a7;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Header = 0x7f080055;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large = 0x7f080056;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small = 0x7f080057;
public static final int Base_TextAppearance_AppCompat_Widget_Switch = 0x7f080058;
public static final int Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem = 0x7f080059;
public static final int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item = 0x7f0800a8;
public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle = 0x7f08005a;
public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Title = 0x7f08005b;
public static final int Base_ThemeOverlay_AppCompat = 0x7f0800b1;
public static final int Base_ThemeOverlay_AppCompat_ActionBar = 0x7f0800b2;
public static final int Base_ThemeOverlay_AppCompat_Dark = 0x7f0800b3;
public static final int Base_ThemeOverlay_AppCompat_Dark_ActionBar = 0x7f0800b4;
public static final int Base_ThemeOverlay_AppCompat_Dialog = 0x7f080014;
public static final int Base_ThemeOverlay_AppCompat_Dialog_Alert = 0x7f0800b5;
public static final int Base_ThemeOverlay_AppCompat_Light = 0x7f0800b6;
public static final int Base_Theme_AppCompat = 0x7f08005c;
public static final int Base_Theme_AppCompat_CompactMenu = 0x7f0800a9;
public static final int Base_Theme_AppCompat_Dialog = 0x7f080012;
public static final int Base_Theme_AppCompat_DialogWhenLarge = 0x7f080002;
public static final int Base_Theme_AppCompat_Dialog_Alert = 0x7f0800aa;
public static final int Base_Theme_AppCompat_Dialog_FixedSize = 0x7f0800ab;
public static final int Base_Theme_AppCompat_Dialog_MinWidth = 0x7f0800ac;
public static final int Base_Theme_AppCompat_Light = 0x7f08005d;
public static final int Base_Theme_AppCompat_Light_DarkActionBar = 0x7f0800ad;
public static final int Base_Theme_AppCompat_Light_Dialog = 0x7f080013;
public static final int Base_Theme_AppCompat_Light_DialogWhenLarge = 0x7f080003;
public static final int Base_Theme_AppCompat_Light_Dialog_Alert = 0x7f0800ae;
public static final int Base_Theme_AppCompat_Light_Dialog_FixedSize = 0x7f0800af;
public static final int Base_Theme_AppCompat_Light_Dialog_MinWidth = 0x7f0800b0;
public static final int Base_V11_ThemeOverlay_AppCompat_Dialog = 0x7f080017;
public static final int Base_V11_Theme_AppCompat_Dialog = 0x7f080015;
public static final int Base_V11_Theme_AppCompat_Light_Dialog = 0x7f080016;
public static final int Base_V12_Widget_AppCompat_AutoCompleteTextView = 0x7f08001f;
public static final int Base_V12_Widget_AppCompat_EditText = 0x7f080020;
public static final int Base_V21_ThemeOverlay_AppCompat_Dialog = 0x7f080062;
public static final int Base_V21_Theme_AppCompat = 0x7f08005e;
public static final int Base_V21_Theme_AppCompat_Dialog = 0x7f08005f;
public static final int Base_V21_Theme_AppCompat_Light = 0x7f080060;
public static final int Base_V21_Theme_AppCompat_Light_Dialog = 0x7f080061;
public static final int Base_V22_Theme_AppCompat = 0x7f08008f;
public static final int Base_V22_Theme_AppCompat_Light = 0x7f080090;
public static final int Base_V23_Theme_AppCompat = 0x7f080093;
public static final int Base_V23_Theme_AppCompat_Light = 0x7f080094;
public static final int Base_V7_ThemeOverlay_AppCompat_Dialog = 0x7f0800bb;
public static final int Base_V7_Theme_AppCompat = 0x7f0800b7;
public static final int Base_V7_Theme_AppCompat_Dialog = 0x7f0800b8;
public static final int Base_V7_Theme_AppCompat_Light = 0x7f0800b9;
public static final int Base_V7_Theme_AppCompat_Light_Dialog = 0x7f0800ba;
public static final int Base_V7_Widget_AppCompat_AutoCompleteTextView = 0x7f0800bc;
public static final int Base_V7_Widget_AppCompat_EditText = 0x7f0800bd;
public static final int Base_Widget_AppCompat_ActionBar = 0x7f0800be;
public static final int Base_Widget_AppCompat_ActionBar_Solid = 0x7f0800bf;
public static final int Base_Widget_AppCompat_ActionBar_TabBar = 0x7f0800c0;
public static final int Base_Widget_AppCompat_ActionBar_TabText = 0x7f080063;
public static final int Base_Widget_AppCompat_ActionBar_TabView = 0x7f080064;
public static final int Base_Widget_AppCompat_ActionButton = 0x7f080065;
public static final int Base_Widget_AppCompat_ActionButton_CloseMode = 0x7f080066;
public static final int Base_Widget_AppCompat_ActionButton_Overflow = 0x7f080067;
public static final int Base_Widget_AppCompat_ActionMode = 0x7f0800c1;
public static final int Base_Widget_AppCompat_ActivityChooserView = 0x7f0800c2;
public static final int Base_Widget_AppCompat_AutoCompleteTextView = 0x7f080021;
public static final int Base_Widget_AppCompat_Button = 0x7f080068;
public static final int Base_Widget_AppCompat_ButtonBar = 0x7f08006c;
public static final int Base_Widget_AppCompat_ButtonBar_AlertDialog = 0x7f0800c4;
public static final int Base_Widget_AppCompat_Button_Borderless = 0x7f080069;
public static final int Base_Widget_AppCompat_Button_Borderless_Colored = 0x7f08006a;
public static final int Base_Widget_AppCompat_Button_ButtonBar_AlertDialog = 0x7f0800c3;
public static final int Base_Widget_AppCompat_Button_Colored = 0x7f080095;
public static final int Base_Widget_AppCompat_Button_Small = 0x7f08006b;
public static final int Base_Widget_AppCompat_CompoundButton_CheckBox = 0x7f08006d;
public static final int Base_Widget_AppCompat_CompoundButton_RadioButton = 0x7f08006e;
public static final int Base_Widget_AppCompat_CompoundButton_Switch = 0x7f0800c5;
public static final int Base_Widget_AppCompat_DrawerArrowToggle = 0x7f080000;
public static final int Base_Widget_AppCompat_DrawerArrowToggle_Common = 0x7f0800c6;
public static final int Base_Widget_AppCompat_DropDownItem_Spinner = 0x7f08006f;
public static final int Base_Widget_AppCompat_EditText = 0x7f080022;
public static final int Base_Widget_AppCompat_ImageButton = 0x7f080070;
public static final int Base_Widget_AppCompat_Light_ActionBar = 0x7f0800c7;
public static final int Base_Widget_AppCompat_Light_ActionBar_Solid = 0x7f0800c8;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabBar = 0x7f0800c9;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabText = 0x7f080071;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse = 0x7f080072;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabView = 0x7f080073;
public static final int Base_Widget_AppCompat_Light_PopupMenu = 0x7f080074;
public static final int Base_Widget_AppCompat_Light_PopupMenu_Overflow = 0x7f080075;
public static final int Base_Widget_AppCompat_ListMenuView = 0x7f0800ca;
public static final int Base_Widget_AppCompat_ListPopupWindow = 0x7f080076;
public static final int Base_Widget_AppCompat_ListView = 0x7f080077;
public static final int Base_Widget_AppCompat_ListView_DropDown = 0x7f080078;
public static final int Base_Widget_AppCompat_ListView_Menu = 0x7f080079;
public static final int Base_Widget_AppCompat_PopupMenu = 0x7f08007a;
public static final int Base_Widget_AppCompat_PopupMenu_Overflow = 0x7f08007b;
public static final int Base_Widget_AppCompat_PopupWindow = 0x7f0800cb;
public static final int Base_Widget_AppCompat_ProgressBar = 0x7f080018;
public static final int Base_Widget_AppCompat_ProgressBar_Horizontal = 0x7f080019;
public static final int Base_Widget_AppCompat_RatingBar = 0x7f08007c;
public static final int Base_Widget_AppCompat_RatingBar_Indicator = 0x7f080096;
public static final int Base_Widget_AppCompat_RatingBar_Small = 0x7f080097;
public static final int Base_Widget_AppCompat_SearchView = 0x7f0800cc;
public static final int Base_Widget_AppCompat_SearchView_ActionBar = 0x7f0800cd;
public static final int Base_Widget_AppCompat_SeekBar = 0x7f08007d;
public static final int Base_Widget_AppCompat_SeekBar_Discrete = 0x7f0800ce;
public static final int Base_Widget_AppCompat_Spinner = 0x7f08007e;
public static final int Base_Widget_AppCompat_Spinner_Underlined = 0x7f080004;
public static final int Base_Widget_AppCompat_TextView_SpinnerItem = 0x7f08007f;
public static final int Base_Widget_AppCompat_Toolbar = 0x7f0800cf;
public static final int Base_Widget_AppCompat_Toolbar_Button_Navigation = 0x7f080080;
public static final int Platform_AppCompat = 0x7f08001a;
public static final int Platform_AppCompat_Light = 0x7f08001b;
public static final int Platform_ThemeOverlay_AppCompat = 0x7f080081;
public static final int Platform_ThemeOverlay_AppCompat_Dark = 0x7f080082;
public static final int Platform_ThemeOverlay_AppCompat_Light = 0x7f080083;
public static final int Platform_V11_AppCompat = 0x7f08001c;
public static final int Platform_V11_AppCompat_Light = 0x7f08001d;
public static final int Platform_V14_AppCompat = 0x7f080024;
public static final int Platform_V14_AppCompat_Light = 0x7f080025;
public static final int Platform_V21_AppCompat = 0x7f080084;
public static final int Platform_V21_AppCompat_Light = 0x7f080085;
public static final int Platform_V25_AppCompat = 0x7f080098;
public static final int Platform_V25_AppCompat_Light = 0x7f080099;
public static final int Platform_Widget_AppCompat_Spinner = 0x7f08001e;
public static final int RtlOverlay_DialogWindowTitle_AppCompat = 0x7f08002d;
public static final int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem = 0x7f08002e;
public static final int RtlOverlay_Widget_AppCompat_DialogTitle_Icon = 0x7f08002f;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem = 0x7f080030;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup = 0x7f080031;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text = 0x7f080032;
public static final int RtlOverlay_Widget_AppCompat_SearchView_MagIcon = 0x7f080038;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown = 0x7f080033;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1 = 0x7f080034;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2 = 0x7f080035;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Query = 0x7f080036;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Text = 0x7f080037;
public static final int RtlUnderlay_Widget_AppCompat_ActionButton = 0x7f080039;
public static final int RtlUnderlay_Widget_AppCompat_ActionButton_Overflow = 0x7f08003a;
public static final int TextAppearance_AppCompat = 0x7f0800d2;
public static final int TextAppearance_AppCompat_Body1 = 0x7f0800d3;
public static final int TextAppearance_AppCompat_Body2 = 0x7f0800d4;
public static final int TextAppearance_AppCompat_Button = 0x7f0800d5;
public static final int TextAppearance_AppCompat_Caption = 0x7f0800d6;
public static final int TextAppearance_AppCompat_Display1 = 0x7f0800d7;
public static final int TextAppearance_AppCompat_Display2 = 0x7f0800d8;
public static final int TextAppearance_AppCompat_Display3 = 0x7f0800d9;
public static final int TextAppearance_AppCompat_Display4 = 0x7f0800da;
public static final int TextAppearance_AppCompat_Headline = 0x7f0800db;
public static final int TextAppearance_AppCompat_Inverse = 0x7f0800dc;
public static final int TextAppearance_AppCompat_Large = 0x7f0800dd;
public static final int TextAppearance_AppCompat_Large_Inverse = 0x7f0800de;
public static final int TextAppearance_AppCompat_Light_SearchResult_Subtitle = 0x7f0800df;
public static final int TextAppearance_AppCompat_Light_SearchResult_Title = 0x7f0800e0;
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large = 0x7f0800e1;
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small = 0x7f0800e2;
public static final int TextAppearance_AppCompat_Medium = 0x7f0800e3;
public static final int TextAppearance_AppCompat_Medium_Inverse = 0x7f0800e4;
public static final int TextAppearance_AppCompat_Menu = 0x7f0800e5;
public static final int TextAppearance_AppCompat_Notification = 0x7f080026;
public static final int TextAppearance_AppCompat_Notification_Info = 0x7f080086;
public static final int TextAppearance_AppCompat_Notification_Info_Media = 0x7f080087;
public static final int TextAppearance_AppCompat_Notification_Line2 = 0x7f0800e6;
public static final int TextAppearance_AppCompat_Notification_Line2_Media = 0x7f0800e7;
public static final int TextAppearance_AppCompat_Notification_Media = 0x7f080088;
public static final int TextAppearance_AppCompat_Notification_Time = 0x7f080089;
public static final int TextAppearance_AppCompat_Notification_Time_Media = 0x7f08008a;
public static final int TextAppearance_AppCompat_Notification_Title = 0x7f080027;
public static final int TextAppearance_AppCompat_Notification_Title_Media = 0x7f08008b;
public static final int TextAppearance_AppCompat_SearchResult_Subtitle = 0x7f0800e8;
public static final int TextAppearance_AppCompat_SearchResult_Title = 0x7f0800e9;
public static final int TextAppearance_AppCompat_Small = 0x7f0800ea;
public static final int TextAppearance_AppCompat_Small_Inverse = 0x7f0800eb;
public static final int TextAppearance_AppCompat_Subhead = 0x7f0800ec;
public static final int TextAppearance_AppCompat_Subhead_Inverse = 0x7f0800ed;
public static final int TextAppearance_AppCompat_Title = 0x7f0800ee;
public static final int TextAppearance_AppCompat_Title_Inverse = 0x7f0800ef;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Menu = 0x7f0800f0;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle = 0x7f0800f1;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse = 0x7f0800f2;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title = 0x7f0800f3;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse = 0x7f0800f4;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle = 0x7f0800f5;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse = 0x7f0800f6;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title = 0x7f0800f7;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse = 0x7f0800f8;
public static final int TextAppearance_AppCompat_Widget_Button = 0x7f0800f9;
public static final int TextAppearance_AppCompat_Widget_Button_Inverse = 0x7f0800fa;
public static final int TextAppearance_AppCompat_Widget_DropDownItem = 0x7f0800fb;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Header = 0x7f0800fc;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Large = 0x7f0800fd;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Small = 0x7f0800fe;
public static final int TextAppearance_AppCompat_Widget_Switch = 0x7f0800ff;
public static final int TextAppearance_AppCompat_Widget_TextView_SpinnerItem = 0x7f080100;
public static final int TextAppearance_StatusBar_EventContent = 0x7f080028;
public static final int TextAppearance_StatusBar_EventContent_Info = 0x7f080029;
public static final int TextAppearance_StatusBar_EventContent_Line2 = 0x7f08002a;
public static final int TextAppearance_StatusBar_EventContent_Time = 0x7f08002b;
public static final int TextAppearance_StatusBar_EventContent_Title = 0x7f08002c;
public static final int TextAppearance_Widget_AppCompat_ExpandedMenu_Item = 0x7f080108;
public static final int TextAppearance_Widget_AppCompat_Toolbar_Subtitle = 0x7f080109;
public static final int TextAppearance_Widget_AppCompat_Toolbar_Title = 0x7f08010a;
public static final int ThemeOverlay_AppCompat = 0x7f08011f;
public static final int ThemeOverlay_AppCompat_ActionBar = 0x7f080120;
public static final int ThemeOverlay_AppCompat_Dark = 0x7f080121;
public static final int ThemeOverlay_AppCompat_Dark_ActionBar = 0x7f080122;
public static final int ThemeOverlay_AppCompat_Dialog = 0x7f080123;
public static final int ThemeOverlay_AppCompat_Dialog_Alert = 0x7f080124;
public static final int ThemeOverlay_AppCompat_Light = 0x7f080125;
public static final int Theme_AppCompat = 0x7f08010b;
public static final int Theme_AppCompat_CompactMenu = 0x7f08010c;
public static final int Theme_AppCompat_DayNight = 0x7f080005;
public static final int Theme_AppCompat_DayNight_DarkActionBar = 0x7f080006;
public static final int Theme_AppCompat_DayNight_Dialog = 0x7f080007;
public static final int Theme_AppCompat_DayNight_DialogWhenLarge = 0x7f08000a;
public static final int Theme_AppCompat_DayNight_Dialog_Alert = 0x7f080008;
public static final int Theme_AppCompat_DayNight_Dialog_MinWidth = 0x7f080009;
public static final int Theme_AppCompat_DayNight_NoActionBar = 0x7f08000b;
public static final int Theme_AppCompat_Dialog = 0x7f08010d;
public static final int Theme_AppCompat_DialogWhenLarge = 0x7f080110;
public static final int Theme_AppCompat_Dialog_Alert = 0x7f08010e;
public static final int Theme_AppCompat_Dialog_MinWidth = 0x7f08010f;
public static final int Theme_AppCompat_Light = 0x7f080111;
public static final int Theme_AppCompat_Light_DarkActionBar = 0x7f080112;
public static final int Theme_AppCompat_Light_Dialog = 0x7f080113;
public static final int Theme_AppCompat_Light_DialogWhenLarge = 0x7f080116;
public static final int Theme_AppCompat_Light_Dialog_Alert = 0x7f080114;
public static final int Theme_AppCompat_Light_Dialog_MinWidth = 0x7f080115;
public static final int Theme_AppCompat_Light_NoActionBar = 0x7f080117;
public static final int Theme_AppCompat_NoActionBar = 0x7f080118;
public static final int Widget_AppCompat_ActionBar = 0x7f080126;
public static final int Widget_AppCompat_ActionBar_Solid = 0x7f080127;
public static final int Widget_AppCompat_ActionBar_TabBar = 0x7f080128;
public static final int Widget_AppCompat_ActionBar_TabText = 0x7f080129;
public static final int Widget_AppCompat_ActionBar_TabView = 0x7f08012a;
public static final int Widget_AppCompat_ActionButton = 0x7f08012b;
public static final int Widget_AppCompat_ActionButton_CloseMode = 0x7f08012c;
public static final int Widget_AppCompat_ActionButton_Overflow = 0x7f08012d;
public static final int Widget_AppCompat_ActionMode = 0x7f08012e;
public static final int Widget_AppCompat_ActivityChooserView = 0x7f08012f;
public static final int Widget_AppCompat_AutoCompleteTextView = 0x7f080130;
public static final int Widget_AppCompat_Button = 0x7f080131;
public static final int Widget_AppCompat_ButtonBar = 0x7f080137;
public static final int Widget_AppCompat_ButtonBar_AlertDialog = 0x7f080138;
public static final int Widget_AppCompat_Button_Borderless = 0x7f080132;
public static final int Widget_AppCompat_Button_Borderless_Colored = 0x7f080133;
public static final int Widget_AppCompat_Button_ButtonBar_AlertDialog = 0x7f080134;
public static final int Widget_AppCompat_Button_Colored = 0x7f080135;
public static final int Widget_AppCompat_Button_Small = 0x7f080136;
public static final int Widget_AppCompat_CompoundButton_CheckBox = 0x7f080139;
public static final int Widget_AppCompat_CompoundButton_RadioButton = 0x7f08013a;
public static final int Widget_AppCompat_CompoundButton_Switch = 0x7f08013b;
public static final int Widget_AppCompat_DrawerArrowToggle = 0x7f08013c;
public static final int Widget_AppCompat_DropDownItem_Spinner = 0x7f08013d;
public static final int Widget_AppCompat_EditText = 0x7f08013e;
public static final int Widget_AppCompat_ImageButton = 0x7f08013f;
public static final int Widget_AppCompat_Light_ActionBar = 0x7f080140;
public static final int Widget_AppCompat_Light_ActionBar_Solid = 0x7f080141;
public static final int Widget_AppCompat_Light_ActionBar_Solid_Inverse = 0x7f080142;
public static final int Widget_AppCompat_Light_ActionBar_TabBar = 0x7f080143;
public static final int Widget_AppCompat_Light_ActionBar_TabBar_Inverse = 0x7f080144;
public static final int Widget_AppCompat_Light_ActionBar_TabText = 0x7f080145;
public static final int Widget_AppCompat_Light_ActionBar_TabText_Inverse = 0x7f080146;
public static final int Widget_AppCompat_Light_ActionBar_TabView = 0x7f080147;
public static final int Widget_AppCompat_Light_ActionBar_TabView_Inverse = 0x7f080148;
public static final int Widget_AppCompat_Light_ActionButton = 0x7f080149;
public static final int Widget_AppCompat_Light_ActionButton_CloseMode = 0x7f08014a;
public static final int Widget_AppCompat_Light_ActionButton_Overflow = 0x7f08014b;
public static final int Widget_AppCompat_Light_ActionMode_Inverse = 0x7f08014c;
public static final int Widget_AppCompat_Light_ActivityChooserView = 0x7f08014d;
public static final int Widget_AppCompat_Light_AutoCompleteTextView = 0x7f08014e;
public static final int Widget_AppCompat_Light_DropDownItem_Spinner = 0x7f08014f;
public static final int Widget_AppCompat_Light_ListPopupWindow = 0x7f080150;
public static final int Widget_AppCompat_Light_ListView_DropDown = 0x7f080151;
public static final int Widget_AppCompat_Light_PopupMenu = 0x7f080152;
public static final int Widget_AppCompat_Light_PopupMenu_Overflow = 0x7f080153;
public static final int Widget_AppCompat_Light_SearchView = 0x7f080154;
public static final int Widget_AppCompat_Light_Spinner_DropDown_ActionBar = 0x7f080155;
public static final int Widget_AppCompat_ListMenuView = 0x7f080156;
public static final int Widget_AppCompat_ListPopupWindow = 0x7f080157;
public static final int Widget_AppCompat_ListView = 0x7f080158;
public static final int Widget_AppCompat_ListView_DropDown = 0x7f080159;
public static final int Widget_AppCompat_ListView_Menu = 0x7f08015a;
public static final int Widget_AppCompat_NotificationActionContainer = 0x7f08008c;
public static final int Widget_AppCompat_NotificationActionText = 0x7f08008d;
public static final int Widget_AppCompat_PopupMenu = 0x7f08015b;
public static final int Widget_AppCompat_PopupMenu_Overflow = 0x7f08015c;
public static final int Widget_AppCompat_PopupWindow = 0x7f08015d;
public static final int Widget_AppCompat_ProgressBar = 0x7f08015e;
public static final int Widget_AppCompat_ProgressBar_Horizontal = 0x7f08015f;
public static final int Widget_AppCompat_RatingBar = 0x7f080160;
public static final int Widget_AppCompat_RatingBar_Indicator = 0x7f080161;
public static final int Widget_AppCompat_RatingBar_Small = 0x7f080162;
public static final int Widget_AppCompat_SearchView = 0x7f080163;
public static final int Widget_AppCompat_SearchView_ActionBar = 0x7f080164;
public static final int Widget_AppCompat_SeekBar = 0x7f080165;
public static final int Widget_AppCompat_SeekBar_Discrete = 0x7f080166;
public static final int Widget_AppCompat_Spinner = 0x7f080167;
public static final int Widget_AppCompat_Spinner_DropDown = 0x7f080168;
public static final int Widget_AppCompat_Spinner_DropDown_ActionBar = 0x7f080169;
public static final int Widget_AppCompat_Spinner_Underlined = 0x7f08016a;
public static final int Widget_AppCompat_TextView_SpinnerItem = 0x7f08016b;
public static final int Widget_AppCompat_Toolbar = 0x7f08016c;
public static final int Widget_AppCompat_Toolbar_Button_Navigation = 0x7f08016d;
}
public static final class styleable {
public static final int[] ActionBar = { 0x7f010001, 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006, 0x7f010007, 0x7f010008, 0x7f010009, 0x7f01000a, 0x7f01000b, 0x7f01000c, 0x7f01000d, 0x7f01000e, 0x7f01000f, 0x7f010010, 0x7f010011, 0x7f010012, 0x7f010013, 0x7f010014, 0x7f010015, 0x7f010016, 0x7f010017, 0x7f010018, 0x7f010019, 0x7f01001a, 0x7f01001b, 0x7f01001c, 0x7f01001d, 0x7f01005f };
public static final int[] ActionBarLayout = { 0x010100b3 };
public static final int ActionBarLayout_android_layout_gravity = 0;
public static final int ActionBar_background = 10;
public static final int ActionBar_backgroundSplit = 12;
public static final int ActionBar_backgroundStacked = 11;
public static final int ActionBar_contentInsetEnd = 21;
public static final int ActionBar_contentInsetEndWithActions = 25;
public static final int ActionBar_contentInsetLeft = 22;
public static final int ActionBar_contentInsetRight = 23;
public static final int ActionBar_contentInsetStart = 20;
public static final int ActionBar_contentInsetStartWithNavigation = 24;
public static final int ActionBar_customNavigationLayout = 13;
public static final int ActionBar_displayOptions = 3;
public static final int ActionBar_divider = 9;
public static final int ActionBar_elevation = 26;
public static final int ActionBar_height = 0;
public static final int ActionBar_hideOnContentScroll = 19;
public static final int ActionBar_homeAsUpIndicator = 28;
public static final int ActionBar_homeLayout = 14;
public static final int ActionBar_icon = 7;
public static final int ActionBar_indeterminateProgressStyle = 16;
public static final int ActionBar_itemPadding = 18;
public static final int ActionBar_logo = 8;
public static final int ActionBar_navigationMode = 2;
public static final int ActionBar_popupTheme = 27;
public static final int ActionBar_progressBarPadding = 17;
public static final int ActionBar_progressBarStyle = 15;
public static final int ActionBar_subtitle = 4;
public static final int ActionBar_subtitleTextStyle = 6;
public static final int ActionBar_title = 1;
public static final int ActionBar_titleTextStyle = 5;
public static final int[] ActionMenuItemView = { 0x0101013f };
public static final int ActionMenuItemView_android_minWidth = 0;
public static final int[] ActionMenuView = { };
public static final int[] ActionMode = { 0x7f010001, 0x7f010007, 0x7f010008, 0x7f01000c, 0x7f01000e, 0x7f01001e };
public static final int ActionMode_background = 3;
public static final int ActionMode_backgroundSplit = 4;
public static final int ActionMode_closeItemLayout = 5;
public static final int ActionMode_height = 0;
public static final int ActionMode_subtitleTextStyle = 2;
public static final int ActionMode_titleTextStyle = 1;
public static final int[] ActivityChooserView = { 0x7f01001f, 0x7f010020 };
public static final int ActivityChooserView_expandActivityOverflowButtonDrawable = 1;
public static final int ActivityChooserView_initialActivityCount = 0;
public static final int[] AlertDialog = { 0x010100f2, 0x7f010021, 0x7f010022, 0x7f010023, 0x7f010024, 0x7f010025 };
public static final int AlertDialog_android_layout = 0;
public static final int AlertDialog_buttonPanelSideLayout = 1;
public static final int AlertDialog_listItemLayout = 5;
public static final int AlertDialog_listLayout = 2;
public static final int AlertDialog_multiChoiceItemLayout = 3;
public static final int AlertDialog_singleChoiceItemLayout = 4;
public static final int[] AppCompatImageView = { 0x01010119, 0x7f01002b };
public static final int AppCompatImageView_android_src = 0;
public static final int AppCompatImageView_srcCompat = 1;
public static final int[] AppCompatSeekBar = { 0x01010142, 0x7f01002c, 0x7f01002d, 0x7f01002e };
public static final int AppCompatSeekBar_android_thumb = 0;
public static final int AppCompatSeekBar_tickMark = 1;
public static final int AppCompatSeekBar_tickMarkTint = 2;
public static final int AppCompatSeekBar_tickMarkTintMode = 3;
public static final int[] AppCompatTextHelper = { 0x01010034, 0x0101016d, 0x0101016e, 0x0101016f, 0x01010170, 0x01010392, 0x01010393 };
public static final int AppCompatTextHelper_android_drawableBottom = 2;
public static final int AppCompatTextHelper_android_drawableEnd = 6;
public static final int AppCompatTextHelper_android_drawableLeft = 3;
public static final int AppCompatTextHelper_android_drawableRight = 4;
public static final int AppCompatTextHelper_android_drawableStart = 5;
public static final int AppCompatTextHelper_android_drawableTop = 1;
public static final int AppCompatTextHelper_android_textAppearance = 0;
public static final int[] AppCompatTextView = { 0x01010034, 0x7f01002f };
public static final int AppCompatTextView_android_textAppearance = 0;
public static final int AppCompatTextView_textAllCaps = 1;
public static final int[] AppCompatTheme = { 0x01010057, 0x010100ae, 0x7f010030, 0x7f010031, 0x7f010032, 0x7f010033, 0x7f010034, 0x7f010035, 0x7f010036, 0x7f010037, 0x7f010038, 0x7f010039, 0x7f01003a, 0x7f01003b, 0x7f01003c, 0x7f01003d, 0x7f01003e, 0x7f01003f, 0x7f010040, 0x7f010041, 0x7f010042, 0x7f010043, 0x7f010044, 0x7f010045, 0x7f010046, 0x7f010047, 0x7f010048, 0x7f010049, 0x7f01004a, 0x7f01004b, 0x7f01004c, 0x7f01004d, 0x7f01004e, 0x7f01004f, 0x7f010050, 0x7f010051, 0x7f010052, 0x7f010053, 0x7f010054, 0x7f010055, 0x7f010056, 0x7f010057, 0x7f010058, 0x7f010059, 0x7f01005a, 0x7f01005b, 0x7f01005c, 0x7f01005d, 0x7f01005e, 0x7f01005f, 0x7f010060, 0x7f010061, 0x7f010062, 0x7f010063, 0x7f010064, 0x7f010065, 0x7f010066, 0x7f010067, 0x7f010068, 0x7f010069, 0x7f01006a, 0x7f01006b, 0x7f01006c, 0x7f01006d, 0x7f01006e, 0x7f01006f, 0x7f010070, 0x7f010071, 0x7f010072, 0x7f010073, 0x7f010074, 0x7f010075, 0x7f010076, 0x7f010077, 0x7f010078, 0x7f010079, 0x7f01007a, 0x7f01007b, 0x7f01007c, 0x7f01007d, 0x7f01007e, 0x7f01007f, 0x7f010080, 0x7f010081, 0x7f010082, 0x7f010083, 0x7f010084, 0x7f010085, 0x7f010086, 0x7f010087, 0x7f010088, 0x7f010089, 0x7f01008a, 0x7f01008b, 0x7f01008c, 0x7f01008d, 0x7f01008e, 0x7f01008f, 0x7f010090, 0x7f010091, 0x7f010092, 0x7f010093, 0x7f010094, 0x7f010095, 0x7f010096, 0x7f010097, 0x7f010098, 0x7f010099, 0x7f01009a, 0x7f01009b, 0x7f01009c, 0x7f01009d, 0x7f01009e, 0x7f01009f, 0x7f0100a0 };
public static final int AppCompatTheme_actionBarDivider = 23;
public static final int AppCompatTheme_actionBarItemBackground = 24;
public static final int AppCompatTheme_actionBarPopupTheme = 17;
public static final int AppCompatTheme_actionBarSize = 22;
public static final int AppCompatTheme_actionBarSplitStyle = 19;
public static final int AppCompatTheme_actionBarStyle = 18;
public static final int AppCompatTheme_actionBarTabBarStyle = 13;
public static final int AppCompatTheme_actionBarTabStyle = 12;
public static final int AppCompatTheme_actionBarTabTextStyle = 14;
public static final int AppCompatTheme_actionBarTheme = 20;
public static final int AppCompatTheme_actionBarWidgetTheme = 21;
public static final int AppCompatTheme_actionButtonStyle = 50;
public static final int AppCompatTheme_actionDropDownStyle = 46;
public static final int AppCompatTheme_actionMenuTextAppearance = 25;
public static final int AppCompatTheme_actionMenuTextColor = 26;
public static final int AppCompatTheme_actionModeBackground = 29;
public static final int AppCompatTheme_actionModeCloseButtonStyle = 28;
public static final int AppCompatTheme_actionModeCloseDrawable = 31;
public static final int AppCompatTheme_actionModeCopyDrawable = 33;
public static final int AppCompatTheme_actionModeCutDrawable = 32;
public static final int AppCompatTheme_actionModeFindDrawable = 37;
public static final int AppCompatTheme_actionModePasteDrawable = 34;
public static final int AppCompatTheme_actionModePopupWindowStyle = 39;
public static final int AppCompatTheme_actionModeSelectAllDrawable = 35;
public static final int AppCompatTheme_actionModeShareDrawable = 36;
public static final int AppCompatTheme_actionModeSplitBackground = 30;
public static final int AppCompatTheme_actionModeStyle = 27;
public static final int AppCompatTheme_actionModeWebSearchDrawable = 38;
public static final int AppCompatTheme_actionOverflowButtonStyle = 15;
public static final int AppCompatTheme_actionOverflowMenuStyle = 16;
public static final int AppCompatTheme_activityChooserViewStyle = 58;
public static final int AppCompatTheme_alertDialogButtonGroupStyle = 94;
public static final int AppCompatTheme_alertDialogCenterButtons = 95;
public static final int AppCompatTheme_alertDialogStyle = 93;
public static final int AppCompatTheme_alertDialogTheme = 96;
public static final int AppCompatTheme_android_windowAnimationStyle = 1;
public static final int AppCompatTheme_android_windowIsFloating = 0;
public static final int AppCompatTheme_autoCompleteTextViewStyle = 101;
public static final int AppCompatTheme_borderlessButtonStyle = 55;
public static final int AppCompatTheme_buttonBarButtonStyle = 52;
public static final int AppCompatTheme_buttonBarNegativeButtonStyle = 99;
public static final int AppCompatTheme_buttonBarNeutralButtonStyle = 100;
public static final int AppCompatTheme_buttonBarPositiveButtonStyle = 98;
public static final int AppCompatTheme_buttonBarStyle = 51;
public static final int AppCompatTheme_buttonStyle = 102;
public static final int AppCompatTheme_buttonStyleSmall = 103;
public static final int AppCompatTheme_checkboxStyle = 104;
public static final int AppCompatTheme_checkedTextViewStyle = 105;
public static final int AppCompatTheme_colorAccent = 85;
public static final int AppCompatTheme_colorBackgroundFloating = 92;
public static final int AppCompatTheme_colorButtonNormal = 89;
public static final int AppCompatTheme_colorControlActivated = 87;
public static final int AppCompatTheme_colorControlHighlight = 88;
public static final int AppCompatTheme_colorControlNormal = 86;
public static final int AppCompatTheme_colorPrimary = 83;
public static final int AppCompatTheme_colorPrimaryDark = 84;
public static final int AppCompatTheme_colorSwitchThumbNormal = 90;
public static final int AppCompatTheme_controlBackground = 91;
public static final int AppCompatTheme_dialogPreferredPadding = 44;
public static final int AppCompatTheme_dialogTheme = 43;
public static final int AppCompatTheme_dividerHorizontal = 57;
public static final int AppCompatTheme_dividerVertical = 56;
public static final int AppCompatTheme_dropDownListViewStyle = 75;
public static final int AppCompatTheme_dropdownListPreferredItemHeight = 47;
public static final int AppCompatTheme_editTextBackground = 64;
public static final int AppCompatTheme_editTextColor = 63;
public static final int AppCompatTheme_editTextStyle = 106;
public static final int AppCompatTheme_homeAsUpIndicator = 49;
public static final int AppCompatTheme_imageButtonStyle = 65;
public static final int AppCompatTheme_listChoiceBackgroundIndicator = 82;
public static final int AppCompatTheme_listDividerAlertDialog = 45;
public static final int AppCompatTheme_listMenuViewStyle = 114;
public static final int AppCompatTheme_listPopupWindowStyle = 76;
public static final int AppCompatTheme_listPreferredItemHeight = 70;
public static final int AppCompatTheme_listPreferredItemHeightLarge = 72;
public static final int AppCompatTheme_listPreferredItemHeightSmall = 71;
public static final int AppCompatTheme_listPreferredItemPaddingLeft = 73;
public static final int AppCompatTheme_listPreferredItemPaddingRight = 74;
public static final int AppCompatTheme_panelBackground = 79;
public static final int AppCompatTheme_panelMenuListTheme = 81;
public static final int AppCompatTheme_panelMenuListWidth = 80;
public static final int AppCompatTheme_popupMenuStyle = 61;
public static final int AppCompatTheme_popupWindowStyle = 62;
public static final int AppCompatTheme_radioButtonStyle = 107;
public static final int AppCompatTheme_ratingBarStyle = 108;
public static final int AppCompatTheme_ratingBarStyleIndicator = 109;
public static final int AppCompatTheme_ratingBarStyleSmall = 110;
public static final int AppCompatTheme_searchViewStyle = 69;
public static final int AppCompatTheme_seekBarStyle = 111;
public static final int AppCompatTheme_selectableItemBackground = 53;
public static final int AppCompatTheme_selectableItemBackgroundBorderless = 54;
public static final int AppCompatTheme_spinnerDropDownItemStyle = 48;
public static final int AppCompatTheme_spinnerStyle = 112;
public static final int AppCompatTheme_switchStyle = 113;
public static final int AppCompatTheme_textAppearanceLargePopupMenu = 40;
public static final int AppCompatTheme_textAppearanceListItem = 77;
public static final int AppCompatTheme_textAppearanceListItemSmall = 78;
public static final int AppCompatTheme_textAppearancePopupMenuHeader = 42;
public static final int AppCompatTheme_textAppearanceSearchResultSubtitle = 67;
public static final int AppCompatTheme_textAppearanceSearchResultTitle = 66;
public static final int AppCompatTheme_textAppearanceSmallPopupMenu = 41;
public static final int AppCompatTheme_textColorAlertDialogListItem = 97;
public static final int AppCompatTheme_textColorSearchUrl = 68;
public static final int AppCompatTheme_toolbarNavigationButtonStyle = 60;
public static final int AppCompatTheme_toolbarStyle = 59;
public static final int AppCompatTheme_windowActionBar = 2;
public static final int AppCompatTheme_windowActionBarOverlay = 4;
public static final int AppCompatTheme_windowActionModeOverlay = 5;
public static final int AppCompatTheme_windowFixedHeightMajor = 9;
public static final int AppCompatTheme_windowFixedHeightMinor = 7;
public static final int AppCompatTheme_windowFixedWidthMajor = 6;
public static final int AppCompatTheme_windowFixedWidthMinor = 8;
public static final int AppCompatTheme_windowMinWidthMajor = 10;
public static final int AppCompatTheme_windowMinWidthMinor = 11;
public static final int AppCompatTheme_windowNoTitle = 3;
public static final int[] ButtonBarLayout = { 0x7f0100a4 };
public static final int ButtonBarLayout_allowStacking = 0;
public static final int[] ColorStateListItem = { 0x010101a5, 0x0101031f, 0x7f0100b6 };
public static final int ColorStateListItem_alpha = 2;
public static final int ColorStateListItem_android_alpha = 1;
public static final int ColorStateListItem_android_color = 0;
public static final int[] CompoundButton = { 0x01010107, 0x7f0100b7, 0x7f0100b8 };
public static final int CompoundButton_android_button = 0;
public static final int CompoundButton_buttonTint = 1;
public static final int CompoundButton_buttonTintMode = 2;
public static final int[] DrawerArrowToggle = { 0x7f0100c4, 0x7f0100c5, 0x7f0100c6, 0x7f0100c7, 0x7f0100c8, 0x7f0100c9, 0x7f0100ca, 0x7f0100cb };
public static final int DrawerArrowToggle_arrowHeadLength = 4;
public static final int DrawerArrowToggle_arrowShaftLength = 5;
public static final int DrawerArrowToggle_barLength = 6;
public static final int DrawerArrowToggle_color = 0;
public static final int DrawerArrowToggle_drawableSize = 2;
public static final int DrawerArrowToggle_gapBetweenBars = 3;
public static final int DrawerArrowToggle_spinBars = 1;
public static final int DrawerArrowToggle_thickness = 7;
public static final int[] LinearLayoutCompat = { 0x010100af, 0x010100c4, 0x01010126, 0x01010127, 0x01010128, 0x7f01000b, 0x7f0100d3, 0x7f0100d4, 0x7f0100d5 };
public static final int[] LinearLayoutCompat_Layout = { 0x010100b3, 0x010100f4, 0x010100f5, 0x01010181 };
public static final int LinearLayoutCompat_Layout_android_layout_gravity = 0;
public static final int LinearLayoutCompat_Layout_android_layout_height = 2;
public static final int LinearLayoutCompat_Layout_android_layout_weight = 3;
public static final int LinearLayoutCompat_Layout_android_layout_width = 1;
public static final int LinearLayoutCompat_android_baselineAligned = 2;
public static final int LinearLayoutCompat_android_baselineAlignedChildIndex = 3;
public static final int LinearLayoutCompat_android_gravity = 0;
public static final int LinearLayoutCompat_android_orientation = 1;
public static final int LinearLayoutCompat_android_weightSum = 4;
public static final int LinearLayoutCompat_divider = 5;
public static final int LinearLayoutCompat_dividerPadding = 8;
public static final int LinearLayoutCompat_measureWithLargestChild = 6;
public static final int LinearLayoutCompat_showDividers = 7;
public static final int[] ListPopupWindow = { 0x010102ac, 0x010102ad };
public static final int ListPopupWindow_android_dropDownHorizontalOffset = 0;
public static final int ListPopupWindow_android_dropDownVerticalOffset = 1;
public static final int[] MenuGroup = { 0x0101000e, 0x010100d0, 0x01010194, 0x010101de, 0x010101df, 0x010101e0 };
public static final int MenuGroup_android_checkableBehavior = 5;
public static final int MenuGroup_android_enabled = 0;
public static final int MenuGroup_android_id = 1;
public static final int MenuGroup_android_menuCategory = 3;
public static final int MenuGroup_android_orderInCategory = 4;
public static final int MenuGroup_android_visible = 2;
public static final int[] MenuItem = { 0x01010002, 0x0101000e, 0x010100d0, 0x01010106, 0x01010194, 0x010101de, 0x010101df, 0x010101e1, 0x010101e2, 0x010101e3, 0x010101e4, 0x010101e5, 0x0101026f, 0x7f0100f0, 0x7f0100f1, 0x7f0100f2, 0x7f0100f3 };
public static final int MenuItem_actionLayout = 14;
public static final int MenuItem_actionProviderClass = 16;
public static final int MenuItem_actionViewClass = 15;
public static final int MenuItem_android_alphabeticShortcut = 9;
public static final int MenuItem_android_checkable = 11;
public static final int MenuItem_android_checked = 3;
public static final int MenuItem_android_enabled = 1;
public static final int MenuItem_android_icon = 0;
public static final int MenuItem_android_id = 2;
public static final int MenuItem_android_menuCategory = 5;
public static final int MenuItem_android_numericShortcut = 10;
public static final int MenuItem_android_onClick = 12;
public static final int MenuItem_android_orderInCategory = 6;
public static final int MenuItem_android_title = 7;
public static final int MenuItem_android_titleCondensed = 8;
public static final int MenuItem_android_visible = 4;
public static final int MenuItem_showAsAction = 13;
public static final int[] MenuView = { 0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e, 0x0101012f, 0x01010130, 0x01010131, 0x7f0100f4, 0x7f0100f5 };
public static final int MenuView_android_headerBackground = 4;
public static final int MenuView_android_horizontalDivider = 2;
public static final int MenuView_android_itemBackground = 5;
public static final int MenuView_android_itemIconDisabledAlpha = 6;
public static final int MenuView_android_itemTextAppearance = 1;
public static final int MenuView_android_verticalDivider = 3;
public static final int MenuView_android_windowAnimationStyle = 0;
public static final int MenuView_preserveIconSpacing = 7;
public static final int MenuView_subMenuArrow = 8;
public static final int[] PopupWindow = { 0x01010176, 0x010102c9, 0x7f0100fc };
public static final int[] PopupWindowBackgroundState = { 0x7f0100fd };
public static final int PopupWindowBackgroundState_state_above_anchor = 0;
public static final int PopupWindow_android_popupAnimationStyle = 1;
public static final int PopupWindow_android_popupBackground = 0;
public static final int PopupWindow_overlapAnchor = 2;
public static final int[] SearchView = { 0x010100da, 0x0101011f, 0x01010220, 0x01010264, 0x7f010104, 0x7f010105, 0x7f010106, 0x7f010107, 0x7f010108, 0x7f010109, 0x7f01010a, 0x7f01010b, 0x7f01010c, 0x7f01010d, 0x7f01010e, 0x7f01010f, 0x7f010110 };
public static final int SearchView_android_focusable = 0;
public static final int SearchView_android_imeOptions = 3;
public static final int SearchView_android_inputType = 2;
public static final int SearchView_android_maxWidth = 1;
public static final int SearchView_closeIcon = 8;
public static final int SearchView_commitIcon = 13;
public static final int SearchView_defaultQueryHint = 7;
public static final int SearchView_goIcon = 9;
public static final int SearchView_iconifiedByDefault = 5;
public static final int SearchView_layout = 4;
public static final int SearchView_queryBackground = 15;
public static final int SearchView_queryHint = 6;
public static final int SearchView_searchHintIcon = 11;
public static final int SearchView_searchIcon = 10;
public static final int SearchView_submitBackground = 16;
public static final int SearchView_suggestionRowLayout = 14;
public static final int SearchView_voiceIcon = 12;
public static final int[] Spinner = { 0x010100b2, 0x01010176, 0x0101017b, 0x01010262, 0x7f01001d };
public static final int Spinner_android_dropDownWidth = 3;
public static final int Spinner_android_entries = 0;
public static final int Spinner_android_popupBackground = 1;
public static final int Spinner_android_prompt = 2;
public static final int Spinner_popupTheme = 4;
public static final int[] SwitchCompat = { 0x01010124, 0x01010125, 0x01010142, 0x7f010115, 0x7f010116, 0x7f010117, 0x7f010118, 0x7f010119, 0x7f01011a, 0x7f01011b, 0x7f01011c, 0x7f01011d, 0x7f01011e, 0x7f01011f };
public static final int SwitchCompat_android_textOff = 1;
public static final int SwitchCompat_android_textOn = 0;
public static final int SwitchCompat_android_thumb = 2;
public static final int SwitchCompat_showText = 13;
public static final int SwitchCompat_splitTrack = 12;
public static final int SwitchCompat_switchMinWidth = 10;
public static final int SwitchCompat_switchPadding = 11;
public static final int SwitchCompat_switchTextAppearance = 9;
public static final int SwitchCompat_thumbTextPadding = 8;
public static final int SwitchCompat_thumbTint = 3;
public static final int SwitchCompat_thumbTintMode = 4;
public static final int SwitchCompat_track = 5;
public static final int SwitchCompat_trackTint = 6;
public static final int SwitchCompat_trackTintMode = 7;
public static final int[] TextAppearance = { 0x01010095, 0x01010096, 0x01010097, 0x01010098, 0x0101009a, 0x01010161, 0x01010162, 0x01010163, 0x01010164, 0x7f01002f };
public static final int TextAppearance_android_shadowColor = 5;
public static final int TextAppearance_android_shadowDx = 6;
public static final int TextAppearance_android_shadowDy = 7;
public static final int TextAppearance_android_shadowRadius = 8;
public static final int TextAppearance_android_textColor = 3;
public static final int TextAppearance_android_textColorHint = 4;
public static final int TextAppearance_android_textSize = 0;
public static final int TextAppearance_android_textStyle = 2;
public static final int TextAppearance_android_typeface = 1;
public static final int TextAppearance_textAllCaps = 9;
public static final int[] Toolbar = { 0x010100af, 0x01010140, 0x7f010003, 0x7f010006, 0x7f01000a, 0x7f010016, 0x7f010017, 0x7f010018, 0x7f010019, 0x7f01001a, 0x7f01001b, 0x7f01001d, 0x7f01013e, 0x7f01013f, 0x7f010140, 0x7f010141, 0x7f010142, 0x7f010143, 0x7f010144, 0x7f010145, 0x7f010146, 0x7f010147, 0x7f010148, 0x7f010149, 0x7f01014a, 0x7f01014b, 0x7f01014c, 0x7f01014d, 0x7f01014e };
public static final int Toolbar_android_gravity = 0;
public static final int Toolbar_android_minHeight = 1;
public static final int Toolbar_buttonGravity = 21;
public static final int Toolbar_collapseContentDescription = 23;
public static final int Toolbar_collapseIcon = 22;
public static final int Toolbar_contentInsetEnd = 6;
public static final int Toolbar_contentInsetEndWithActions = 10;
public static final int Toolbar_contentInsetLeft = 7;
public static final int Toolbar_contentInsetRight = 8;
public static final int Toolbar_contentInsetStart = 5;
public static final int Toolbar_contentInsetStartWithNavigation = 9;
public static final int Toolbar_logo = 4;
public static final int Toolbar_logoDescription = 26;
public static final int Toolbar_maxButtonHeight = 20;
public static final int Toolbar_navigationContentDescription = 25;
public static final int Toolbar_navigationIcon = 24;
public static final int Toolbar_popupTheme = 11;
public static final int Toolbar_subtitle = 3;
public static final int Toolbar_subtitleTextAppearance = 13;
public static final int Toolbar_subtitleTextColor = 28;
public static final int Toolbar_title = 2;
public static final int Toolbar_titleMargin = 14;
public static final int Toolbar_titleMarginBottom = 18;
public static final int Toolbar_titleMarginEnd = 16;
public static final int Toolbar_titleMarginStart = 15;
public static final int Toolbar_titleMarginTop = 17;
public static final int Toolbar_titleMargins = 19;
public static final int Toolbar_titleTextAppearance = 12;
public static final int Toolbar_titleTextColor = 27;
public static final int[] View = { 0x01010000, 0x010100da, 0x7f01014f, 0x7f010150, 0x7f010151 };
public static final int[] ViewBackgroundHelper = { 0x010100d4, 0x7f010152, 0x7f010153 };
public static final int ViewBackgroundHelper_android_background = 0;
public static final int ViewBackgroundHelper_backgroundTint = 1;
public static final int ViewBackgroundHelper_backgroundTintMode = 2;
public static final int[] ViewStubCompat = { 0x010100d0, 0x010100f2, 0x010100f3 };
public static final int ViewStubCompat_android_id = 0;
public static final int ViewStubCompat_android_inflatedId = 2;
public static final int ViewStubCompat_android_layout = 1;
public static final int View_android_focusable = 1;
public static final int View_android_theme = 0;
public static final int View_paddingEnd = 3;
public static final int View_paddingStart = 2;
public static final int View_theme = 4;
}
}
|
package twitter4j;
import java.io.IOException;
/**
* @author Yusuke Yamamoto - yusuke at mac.com
* @since Twitter4J 2.1.8
*/
interface StreamImplementation {
void next(StreamListener[] listeners) throws TwitterException;
void close() throws IOException;
void onException(Exception ex);
}
|
package io.prestosql.operator.scalar;
/*
* 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.
*/
import com.google.common.collect.ImmutableList;
import io.prestosql.metadata.BoundVariables;
import io.prestosql.metadata.Metadata;
import io.prestosql.spi.block.Block;
import io.prestosql.spi.type.RowType;
import io.prestosql.spi.type.Type;
import java.lang.invoke.MethodHandle;
import java.util.List;
import static io.prestosql.operator.scalar.ScalarFunctionImplementation.ArgumentProperty.valueTypeArgumentProperty;
import static io.prestosql.operator.scalar.ScalarFunctionImplementation.NullConvention.RETURN_NULL_ON_NULL;
import static io.prestosql.spi.function.OperatorType.GREATER_THAN;
import static io.prestosql.spi.function.OperatorType.GREATER_THAN_OR_EQUAL;
import static io.prestosql.util.Reflection.methodHandle;
public final class RowGreaterThanOrEqualOperator
extends RowComparisonOperator
{
public static final RowGreaterThanOrEqualOperator ROW_GREATER_THAN_OR_EQUAL = new RowGreaterThanOrEqualOperator();
private static final MethodHandle METHOD_HANDLE = methodHandle(RowGreaterThanOrEqualOperator.class, "greaterOrEqual", RowType.class, List.class, Block.class, Block.class);
private RowGreaterThanOrEqualOperator()
{
super(GREATER_THAN_OR_EQUAL);
}
@Override
public ScalarFunctionImplementation specialize(BoundVariables boundVariables, int arity, Metadata metadata)
{
Type type = boundVariables.getTypeVariable("T");
return new ScalarFunctionImplementation(
false,
ImmutableList.of(
valueTypeArgumentProperty(RETURN_NULL_ON_NULL),
valueTypeArgumentProperty(RETURN_NULL_ON_NULL)),
METHOD_HANDLE.bindTo(type).bindTo(getMethodHandles((RowType) type, metadata, GREATER_THAN)));
}
public static boolean greaterOrEqual(
RowType rowType,
List<MethodHandle> lessThanFunctions,
Block leftRow, Block rightRow)
{
int compareResult = compare(rowType, lessThanFunctions, leftRow, rightRow);
return compareResult >= 0;
}
}
|
package kale.sharelogin.utils;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import android.app.Application;
import android.graphics.Bitmap;
import android.media.ThumbnailUtils;
import android.os.Environment;
import android.support.annotation.Nullable;
import android.support.annotation.RestrictTo;
import android.util.Log;
import kale.sharelogin.IPlatform;
import kale.sharelogin.ShareLoginLib;
import kale.sharelogin.content.ShareContent;
/**
* @author Kale
* @date 2017/3/21
*/
@RestrictTo(RestrictTo.Scope.LIBRARY)
public class SlUtils {
private static final String TAG = "ShareLoginLib";
public static void printLog(String message) {
if (ShareLoginLib.DEBUG) {
Log.i(TAG, "======> " + message);
}
}
public static void printErr(String message) {
if (ShareLoginLib.DEBUG) {
Log.e(TAG, "======>" + message);
}
}
/**
* 得到缓存图片的本地目录
*/
public static String generateTempPicDir(Application application) {
String tempPicDir = null;
if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {
try {
tempPicDir = application.getExternalCacheDir() + File.separator;
File dir = new File(tempPicDir);
if (!dir.exists()) {
dir.mkdirs();
}
} catch (Exception e) {
e.printStackTrace();
tempPicDir = null;
}
}
return tempPicDir;
}
/**
* 将bitmap缩小到可以分享的大小,并变为byte数组
*
* Note:外部传入的bitmap可能会被用于其他的地方,所以这里不能做recycle()
*
* https://juejin.im/post/5b0bad475188251545422199
* https://juejin.im/post/5b1a6b035188257d7102591a
*/
@Nullable
public static byte[] getImageThumbByteArr(@Nullable Bitmap src) {
if (src == null) {
return null;
}
final int WIDTH = 500, HEIGHT = 500;
final long SIZE = '耀'; // 最大的图片大小
final Bitmap bitmap;
if (src.getWidth() > WIDTH || src.getHeight() > WIDTH) {
// 裁剪为正方形的图片
bitmap = ThumbnailUtils.extractThumbnail(src, WIDTH, HEIGHT);
printLog("预览图过大,进行了裁剪");
} else {
bitmap = src;
}
ByteArrayOutputStream outputStream = new ByteArrayOutputStream(bitmap.getWidth() * bitmap.getHeight());
int options = 100;
bitmap.compress(Bitmap.CompressFormat.JPEG, options, outputStream);
if (outputStream.size() > SIZE) {
printLog("裁剪后的预览图仍旧过大,需要进一步压缩");
}
while (outputStream.size() > SIZE && options > 6) {
outputStream.reset();
options -= 6; // 不断的压缩图片的质量
bitmap.compress(Bitmap.CompressFormat.JPEG, options, outputStream);
}
printLog("最终的预览图大小:" + outputStream.size() + " ,目标大小:" + SIZE);
// bitmap.recycle();
return outputStream.toByteArray();
}
/**
* 将比特率存入本地磁盤
*/
@Nullable
public static String saveBytesToFile(byte[] bytes, String picPath) {
if (bytes == null) {
return null;
}
try (FileOutputStream fos = new FileOutputStream(picPath)) {
fos.write(bytes);
fos.close();
return picPath;
} catch (IOException e) {
e.printStackTrace();
printErr("save thumb picture error");
return null;
}
}
/**
* 此方法是耗时操作,如果对于特别大的图,那么需要做异步
*
* Note:外部传入的bitmap可能会被用于其他的地方,所以这里不能做recycle()
*/
public static String saveBitmapToFile(Bitmap bitmap, String imagePath) {
if (bitmap == null) {
printErr("bitmap is null");
return null;
}
try (FileOutputStream fos = new FileOutputStream(imagePath)) {
bitmap.compress(Bitmap.CompressFormat.JPEG, 100, fos);
return imagePath;
} catch (Exception e) {
e.printStackTrace();
printErr("save bitmap picture error");
return null;
}
}
public static IPlatform createPlatform(Class<? extends IPlatform> platformClz) {
try {
return platformClz.newInstance();
} catch (InstantiationException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
}
throw new RuntimeException("platform create error");
}
@RestrictTo(RestrictTo.Scope.LIBRARY)
public interface Function<T> {
T apply(ShareContent content);
}
}
|
package com.stickycoding.rokon.audio;
import com.stickycoding.rokon.Debug;
/**
* SoundFile.java
* SoundFile contains sounds which have been loaded into the RokonAudio class.
*
* @author Richard
*/
public class SoundFile {
private int id;
private int result;
private AudioStream audioStream;
private boolean res;
public SoundFile(int streamId) {
id = streamId;
}
public int getId() {
return id;
}
/**
* @return the AudioStream through which the sound is playing
*/
public AudioStream play() {
if(RokonAudio.mute)
return null;
result = RokonAudio.singleton.getSoundPool().play(id, RokonAudio.singleton.getMasterVolume(), RokonAudio.singleton.getMasterVolume(), 1, 0, 1f);
if(result != 0) {
audioStream = new AudioStream(result, false, RokonAudio.singleton.getMasterVolume());
return audioStream;
} else
return null;
}
/**
* @return the AudioStream through which the sound is playing
*/
public AudioStream playContinuous() {
if(RokonAudio.mute)
return null;
int result = RokonAudio.singleton.getSoundPool().play(id, RokonAudio.singleton.getMasterVolume(), RokonAudio.singleton.getMasterVolume(), 0, -1, 1);
if(result != 0) {
audioStream = new AudioStream(result, true, RokonAudio.singleton.getMasterVolume());
return audioStream;
} else
return null;
}
/**
* Removes this file from the memory. Should be used when this file is no longer needed.
*/
public void unload() {
res = RokonAudio.singleton.getSoundPool().unload(id);
Debug.print("Unloading " + id + " " + res);
}
}
|
/**
* Copyright (C) 2015 Red Hat, 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 io.fabric8.kubernetes.client.mock;
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.policy.PodDisruptionBudget;
import io.fabric8.kubernetes.api.model.policy.PodDisruptionBudgetBuilder;
import io.fabric8.kubernetes.api.model.policy.PodDisruptionBudgetList;
import io.fabric8.kubernetes.api.model.policy.PodDisruptionBudgetListBuilder;
import io.fabric8.kubernetes.client.KubernetesClient;
import io.fabric8.kubernetes.client.KubernetesClientException;
import io.fabric8.kubernetes.client.server.mock.KubernetesServer;
import org.junit.Rule;
import org.junit.Test;
import java.util.Collections;
import static junit.framework.TestCase.assertNotNull;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
public class PodDisruptionBudgetTest {
@Rule
public KubernetesServer server = new KubernetesServer();
@Test
public void list() {
server.expect().withPath("/apis/policy/v1beta1/namespaces/test/poddisruptionbudgets").andReturn(200, new PodDisruptionBudgetListBuilder().build()).once();
server.expect().withPath("/apis/policy/v1beta1/namespaces/ns1/poddisruptionbudgets").andReturn(200, new PodDisruptionBudgetListBuilder()
.addNewItem().and()
.addNewItem().and().build()).once();
server.expect().withPath("/apis/policy/v1beta1/poddisruptionbudgets").andReturn(200, new PodDisruptionBudgetListBuilder()
.addNewItem().and()
.addNewItem().and()
.addNewItem()
.and().build()).once();
KubernetesClient client = server.getClient();
PodDisruptionBudgetList podDisruptionBudgetList = client.policy().podDisruptionBudget().list();
assertNotNull(podDisruptionBudgetList);
assertEquals(0, podDisruptionBudgetList.getItems().size());
podDisruptionBudgetList = client.policy().podDisruptionBudget().inNamespace("ns1").list();
assertNotNull(podDisruptionBudgetList);
assertEquals(2, podDisruptionBudgetList.getItems().size());
podDisruptionBudgetList = client.policy().podDisruptionBudget().inAnyNamespace().list();
assertNotNull(podDisruptionBudgetList);
assertEquals(3, podDisruptionBudgetList.getItems().size());
}
@Test
public void testListWithLabels() {
server.expect().withPath("/apis/policy/v1beta1/namespaces/test/poddisruptionbudgets?labelSelector=" + toUrlEncoded("key1=value1,key2=value2,key3=value3")).andReturn(200, new PodDisruptionBudgetListBuilder().build()).always();
server.expect().withPath("/apis/policy/v1beta1/namespaces/test/poddisruptionbudgets?labelSelector=" + toUrlEncoded("key1=value1,key2=value2")).andReturn(200, new PodDisruptionBudgetListBuilder()
.addNewItem().and()
.addNewItem().and()
.addNewItem().and()
.build()).once();
KubernetesClient client = server.getClient();
PodDisruptionBudgetList podDisruptionBudgetList = client.policy().podDisruptionBudget()
.withLabel("key1", "value1")
.withLabel("key2", "value2")
.withLabel("key3", "value3")
.list();
assertNotNull(podDisruptionBudgetList);
assertEquals(0, podDisruptionBudgetList.getItems().size());
podDisruptionBudgetList = client.policy().podDisruptionBudget()
.withLabel("key1", "value1")
.withLabel("key2", "value2")
.list();
assertNotNull(podDisruptionBudgetList);
assertEquals(3, podDisruptionBudgetList.getItems().size());
}
@Test
public void testGet() {
server.expect().withPath("/apis/policy/v1beta1/namespaces/test/poddisruptionbudgets/poddisruptionbudget1").andReturn(200, new PodDisruptionBudgetBuilder().build()).once();
server.expect().withPath("/apis/policy/v1beta1/namespaces/ns1/poddisruptionbudgets/poddisruptionbudget2").andReturn(200, new PodDisruptionBudgetBuilder().build()).once();
KubernetesClient client = server.getClient();
PodDisruptionBudget podDisruptionBudget = client.policy().podDisruptionBudget().withName("poddisruptionbudget1").get();
assertNotNull(podDisruptionBudget);
podDisruptionBudget = client.policy().podDisruptionBudget().withName("poddisruptionbudget2").get();
assertNull(podDisruptionBudget);
podDisruptionBudget = client.policy().podDisruptionBudget().inNamespace("ns1").withName("poddisruptionbudget2").get();
assertNotNull(podDisruptionBudget);
}
@Test
public void testDelete() {
server.expect().withPath("/apis/policy/v1beta1/namespaces/test/poddisruptionbudgets/poddisruptionbudget1").andReturn(200, new PodDisruptionBudgetBuilder()
.withNewMetadata().withName("poddisruptionbudget1").withNamespace("test").endMetadata()
.withNewSpec()
.withMaxUnavailable(new IntOrString("1%"))
.withNewSelector()
.withMatchLabels(Collections.singletonMap("app", "zookeeper"))
.endSelector()
.endSpec()
.build()).once();
KubernetesClient client = server.getClient();
Boolean deleted = client.policy().podDisruptionBudget().withName("poddisruptionbudget1").delete();
assertNotNull(deleted);
assertTrue(deleted);
}
@Test(expected = KubernetesClientException.class)
public void testDeleteWithNamespaceMismatch() {
PodDisruptionBudget podDisruptionBudget1 = new PodDisruptionBudgetBuilder().withNewMetadata().withName("podDisruptionBudget1").withNamespace("test").and().build();
KubernetesClient client = server.getClient();
Boolean deleted = client.policy().podDisruptionBudget().inNamespace("test1").delete(podDisruptionBudget1);
assertNotNull(deleted);
}
@Test(expected = KubernetesClientException.class)
public void testCreateWithNameMismatch() {
PodDisruptionBudget podDisruptionBudget1 = new PodDisruptionBudgetBuilder().withNewMetadata().withName("podDisruptionBudget1").withNamespace("test").and().build();
KubernetesClient client = server.getClient();
client.policy().podDisruptionBudget().inNamespace("test1").withName("mypodDisruptionBudget1").create(podDisruptionBudget1);
}
@Test
public void testLoadFromFile() {
KubernetesClient client = server.getClient();
assertNotNull(client.policy().podDisruptionBudget().load(getClass().getResourceAsStream("/test-pdb.yml")).get());
}
/**
* Converts string to URL encoded string.
* It's not a full blown converter, it serves just the purpose of this test.
*
* @param str
* @return
*/
private static final String toUrlEncoded(String str) {
return str.replaceAll("=", "%3D");
}
}
|
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package org.devio.rn.splashscreen;
public final class R {
public static final class anim {
public static int abc_fade_in=0x7f040000;
public static int abc_fade_out=0x7f040001;
public static int abc_grow_fade_in_from_bottom=0x7f040002;
public static int abc_popup_enter=0x7f040003;
public static int abc_popup_exit=0x7f040004;
public static int abc_shrink_fade_out_from_bottom=0x7f040005;
public static int abc_slide_in_bottom=0x7f040006;
public static int abc_slide_in_top=0x7f040007;
public static int abc_slide_out_bottom=0x7f040008;
public static int abc_slide_out_top=0x7f040009;
public static int catalyst_push_up_in=0x7f04000a;
public static int catalyst_push_up_out=0x7f04000b;
public static int fade_in=0x7f04000c;
public static int fade_out=0x7f04000d;
public static int slide_down=0x7f04000e;
public static int slide_up=0x7f04000f;
}
public static final class attr {
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarDivider=0x7f01003b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarItemBackground=0x7f01003c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarPopupTheme=0x7f010035;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>May be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>wrap_content</code></td><td>0</td><td></td></tr>
</table>
*/
public static int actionBarSize=0x7f01003a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarSplitStyle=0x7f010037;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarStyle=0x7f010036;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarTabBarStyle=0x7f010031;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarTabStyle=0x7f010030;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarTabTextStyle=0x7f010032;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarTheme=0x7f010038;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionBarWidgetTheme=0x7f010039;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionButtonStyle=0x7f010055;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionDropDownStyle=0x7f010051;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionLayout=0x7f0100bc;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionMenuTextAppearance=0x7f01003d;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int actionMenuTextColor=0x7f01003e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeBackground=0x7f010041;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeCloseButtonStyle=0x7f010040;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeCloseDrawable=0x7f010043;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeCopyDrawable=0x7f010045;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeCutDrawable=0x7f010044;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeFindDrawable=0x7f010049;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModePasteDrawable=0x7f010046;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModePopupWindowStyle=0x7f01004b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeSelectAllDrawable=0x7f010047;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeShareDrawable=0x7f010048;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeSplitBackground=0x7f010042;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeStyle=0x7f01003f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionModeWebSearchDrawable=0x7f01004a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionOverflowButtonStyle=0x7f010033;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actionOverflowMenuStyle=0x7f010034;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int actionProviderClass=0x7f0100be;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int actionViewClass=0x7f0100bd;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int activityChooserViewStyle=0x7f01005d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int actualImageResource=0x7f0100d0;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
*/
public static int actualImageScaleType=0x7f0100aa;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int actualImageUri=0x7f0100cf;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int alertDialogButtonGroupStyle=0x7f010080;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int alertDialogCenterButtons=0x7f010081;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int alertDialogStyle=0x7f01007f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int alertDialogTheme=0x7f010082;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int allowStacking=0x7f010094;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int arrowHeadLength=0x7f01009b;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int arrowShaftLength=0x7f01009c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int autoCompleteTextViewStyle=0x7f010087;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int background=0x7f01000c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int backgroundImage=0x7f0100ab;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int backgroundSplit=0x7f01000e;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int backgroundStacked=0x7f01000d;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int backgroundTint=0x7f0100ea;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
*/
public static int backgroundTintMode=0x7f0100eb;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int barLength=0x7f01009d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int borderlessButtonStyle=0x7f01005a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonBarButtonStyle=0x7f010057;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonBarNegativeButtonStyle=0x7f010085;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonBarNeutralButtonStyle=0x7f010086;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonBarPositiveButtonStyle=0x7f010084;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonBarStyle=0x7f010056;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonPanelSideLayout=0x7f01001f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonStyle=0x7f010088;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int buttonStyleSmall=0x7f010089;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int buttonTint=0x7f010095;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
*/
public static int buttonTintMode=0x7f010096;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int checkboxStyle=0x7f01008a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int checkedTextViewStyle=0x7f01008b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int closeIcon=0x7f0100c6;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int closeItemLayout=0x7f01001c;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int collapseContentDescription=0x7f0100e1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int collapseIcon=0x7f0100e0;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int color=0x7f010097;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorAccent=0x7f010078;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorButtonNormal=0x7f01007c;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorControlActivated=0x7f01007a;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorControlHighlight=0x7f01007b;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorControlNormal=0x7f010079;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorPrimary=0x7f010076;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorPrimaryDark=0x7f010077;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int colorSwitchThumbNormal=0x7f01007d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int commitIcon=0x7f0100cb;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentInsetEnd=0x7f010017;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentInsetLeft=0x7f010018;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentInsetRight=0x7f010019;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int contentInsetStart=0x7f010016;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int controlBackground=0x7f01007e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int customNavigationLayout=0x7f01000f;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int defaultQueryHint=0x7f0100c5;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int dialogPreferredPadding=0x7f01004f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int dialogTheme=0x7f01004e;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>useLogo</code></td><td>0x1</td><td></td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr>
</table>
*/
public static int displayOptions=0x7f010005;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int divider=0x7f01000b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int dividerHorizontal=0x7f01005c;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int dividerPadding=0x7f0100ba;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int dividerVertical=0x7f01005b;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int drawableSize=0x7f010099;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int drawerArrowStyle=0x7f010000;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int dropDownListViewStyle=0x7f01006e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int dropdownListPreferredItemHeight=0x7f010052;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int editTextBackground=0x7f010063;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int editTextColor=0x7f010062;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int editTextStyle=0x7f01008c;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int elevation=0x7f01001a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int expandActivityOverflowButtonDrawable=0x7f01001e;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int fadeDuration=0x7f01009f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int failureImage=0x7f0100a5;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
*/
public static int failureImageScaleType=0x7f0100a6;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int gapBetweenBars=0x7f01009a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int goIcon=0x7f0100c7;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int height=0x7f010001;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int hideOnContentScroll=0x7f010015;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int homeAsUpIndicator=0x7f010054;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int homeLayout=0x7f010010;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int icon=0x7f010009;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int iconifiedByDefault=0x7f0100c3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int imageButtonStyle=0x7f010064;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int indeterminateProgressStyle=0x7f010012;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int initialActivityCount=0x7f01001d;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int isLightTheme=0x7f010002;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int itemPadding=0x7f010014;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int layout=0x7f0100c2;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int listChoiceBackgroundIndicator=0x7f010075;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int listDividerAlertDialog=0x7f010050;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int listItemLayout=0x7f010023;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int listLayout=0x7f010020;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int listPopupWindowStyle=0x7f01006f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemHeight=0x7f010069;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemHeightLarge=0x7f01006b;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemHeightSmall=0x7f01006a;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemPaddingLeft=0x7f01006c;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int listPreferredItemPaddingRight=0x7f01006d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int logo=0x7f01000a;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int logoDescription=0x7f0100e4;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int maxButtonHeight=0x7f0100df;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int measureWithLargestChild=0x7f0100b8;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int multiChoiceItemLayout=0x7f010021;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int navigationContentDescription=0x7f0100e3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int navigationIcon=0x7f0100e2;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>listMode</code></td><td>1</td><td></td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td></td></tr>
</table>
*/
public static int navigationMode=0x7f010004;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int overlapAnchor=0x7f0100c0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int overlayImage=0x7f0100ac;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int paddingEnd=0x7f0100e8;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int paddingStart=0x7f0100e7;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int panelBackground=0x7f010072;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int panelMenuListTheme=0x7f010074;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int panelMenuListWidth=0x7f010073;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int placeholderImage=0x7f0100a1;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
*/
public static int placeholderImageScaleType=0x7f0100a2;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int popupMenuStyle=0x7f010060;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int popupTheme=0x7f01001b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int popupWindowStyle=0x7f010061;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int preserveIconSpacing=0x7f0100bf;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int pressedStateOverlayImage=0x7f0100ad;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int progressBarAutoRotateInterval=0x7f0100a9;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int progressBarImage=0x7f0100a7;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
*/
public static int progressBarImageScaleType=0x7f0100a8;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int progressBarPadding=0x7f010013;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int progressBarStyle=0x7f010011;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int queryBackground=0x7f0100cd;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int queryHint=0x7f0100c4;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int radioButtonStyle=0x7f01008d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int ratingBarStyle=0x7f01008e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int ratingBarStyleIndicator=0x7f01008f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int ratingBarStyleSmall=0x7f010090;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int retryImage=0x7f0100a3;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
*/
public static int retryImageScaleType=0x7f0100a4;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int roundAsCircle=0x7f0100ae;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int roundBottomLeft=0x7f0100b3;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int roundBottomRight=0x7f0100b2;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int roundTopLeft=0x7f0100b0;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int roundTopRight=0x7f0100b1;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int roundWithOverlayColor=0x7f0100b4;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int roundedCornerRadius=0x7f0100af;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int roundingBorderColor=0x7f0100b6;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int roundingBorderPadding=0x7f0100b7;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int roundingBorderWidth=0x7f0100b5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int searchHintIcon=0x7f0100c9;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int searchIcon=0x7f0100c8;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int searchViewStyle=0x7f010068;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int seekBarStyle=0x7f010091;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int selectableItemBackground=0x7f010058;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int selectableItemBackgroundBorderless=0x7f010059;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>never</code></td><td>0</td><td></td></tr>
<tr><td><code>ifRoom</code></td><td>1</td><td></td></tr>
<tr><td><code>always</code></td><td>2</td><td></td></tr>
<tr><td><code>withText</code></td><td>4</td><td></td></tr>
<tr><td><code>collapseActionView</code></td><td>8</td><td></td></tr>
</table>
*/
public static int showAsAction=0x7f0100bb;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>beginning</code></td><td>1</td><td></td></tr>
<tr><td><code>middle</code></td><td>2</td><td></td></tr>
<tr><td><code>end</code></td><td>4</td><td></td></tr>
</table>
*/
public static int showDividers=0x7f0100b9;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int showText=0x7f0100d7;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int singleChoiceItemLayout=0x7f010022;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int spinBars=0x7f010098;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int spinnerDropDownItemStyle=0x7f010053;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int spinnerStyle=0x7f010092;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int splitTrack=0x7f0100d6;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int srcCompat=0x7f010024;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int state_above_anchor=0x7f0100c1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int submitBackground=0x7f0100ce;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int subtitle=0x7f010006;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int subtitleTextAppearance=0x7f0100d9;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int subtitleTextColor=0x7f0100e6;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int subtitleTextStyle=0x7f010008;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int suggestionRowLayout=0x7f0100cc;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int switchMinWidth=0x7f0100d4;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int switchPadding=0x7f0100d5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int switchStyle=0x7f010093;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int switchTextAppearance=0x7f0100d3;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
*/
public static int textAllCaps=0x7f010025;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceLargePopupMenu=0x7f01004c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceListItem=0x7f010070;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceListItemSmall=0x7f010071;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceSearchResultSubtitle=0x7f010066;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceSearchResultTitle=0x7f010065;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int textAppearanceSmallPopupMenu=0x7f01004d;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int textColorAlertDialogListItem=0x7f010083;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static int textColorSearchUrl=0x7f010067;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int theme=0x7f0100e9;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int thickness=0x7f01009e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int thumbTextPadding=0x7f0100d2;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int title=0x7f010003;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMarginBottom=0x7f0100de;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMarginEnd=0x7f0100dc;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMarginStart=0x7f0100db;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMarginTop=0x7f0100dd;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleMargins=0x7f0100da;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int titleTextAppearance=0x7f0100d8;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int titleTextColor=0x7f0100e5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int titleTextStyle=0x7f010007;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int toolbarNavigationButtonStyle=0x7f01005f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int toolbarStyle=0x7f01005e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int track=0x7f0100d1;
/** <p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int viewAspectRatio=0x7f0100a0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static int voiceIcon=0x7f0100ca;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowActionBar=0x7f010026;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowActionBarOverlay=0x7f010028;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowActionModeOverlay=0x7f010029;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowFixedHeightMajor=0x7f01002d;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowFixedHeightMinor=0x7f01002b;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowFixedWidthMajor=0x7f01002a;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowFixedWidthMinor=0x7f01002c;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowMinWidthMajor=0x7f01002e;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowMinWidthMinor=0x7f01002f;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static int windowNoTitle=0x7f010027;
}
public static final class bool {
public static int abc_action_bar_embed_tabs=0x7f070003;
public static int abc_action_bar_embed_tabs_pre_jb=0x7f070001;
public static int abc_action_bar_expanded_action_views_exclusive=0x7f070004;
public static int abc_allow_stacked_button_bar=0x7f070000;
public static int abc_config_actionMenuItemAllCaps=0x7f070005;
public static int abc_config_allowActionMenuItemTextWithIcon=0x7f070002;
public static int abc_config_closeDialogWhenTouchOutside=0x7f070006;
public static int abc_config_showMenuShortcutsWhenKeyboardPresent=0x7f070007;
}
public static final class color {
public static int abc_background_cache_hint_selector_material_dark=0x7f0b003b;
public static int abc_background_cache_hint_selector_material_light=0x7f0b003c;
public static int abc_color_highlight_material=0x7f0b003d;
public static int abc_input_method_navigation_guard=0x7f0b0000;
public static int abc_primary_text_disable_only_material_dark=0x7f0b003e;
public static int abc_primary_text_disable_only_material_light=0x7f0b003f;
public static int abc_primary_text_material_dark=0x7f0b0040;
public static int abc_primary_text_material_light=0x7f0b0041;
public static int abc_search_url_text=0x7f0b0042;
public static int abc_search_url_text_normal=0x7f0b0001;
public static int abc_search_url_text_pressed=0x7f0b0002;
public static int abc_search_url_text_selected=0x7f0b0003;
public static int abc_secondary_text_material_dark=0x7f0b0043;
public static int abc_secondary_text_material_light=0x7f0b0044;
public static int accent_material_dark=0x7f0b0004;
public static int accent_material_light=0x7f0b0005;
public static int background_floating_material_dark=0x7f0b0006;
public static int background_floating_material_light=0x7f0b0007;
public static int background_material_dark=0x7f0b0008;
public static int background_material_light=0x7f0b0009;
public static int bright_foreground_disabled_material_dark=0x7f0b000a;
public static int bright_foreground_disabled_material_light=0x7f0b000b;
public static int bright_foreground_inverse_material_dark=0x7f0b000c;
public static int bright_foreground_inverse_material_light=0x7f0b000d;
public static int bright_foreground_material_dark=0x7f0b000e;
public static int bright_foreground_material_light=0x7f0b000f;
public static int button_material_dark=0x7f0b0010;
public static int button_material_light=0x7f0b0011;
public static int catalyst_redbox_background=0x7f0b0012;
public static int dim_foreground_disabled_material_dark=0x7f0b0013;
public static int dim_foreground_disabled_material_light=0x7f0b0014;
public static int dim_foreground_material_dark=0x7f0b0015;
public static int dim_foreground_material_light=0x7f0b0016;
public static int foreground_material_dark=0x7f0b0017;
public static int foreground_material_light=0x7f0b0018;
public static int highlighted_text_material_dark=0x7f0b0019;
public static int highlighted_text_material_light=0x7f0b001a;
public static int hint_foreground_material_dark=0x7f0b001b;
public static int hint_foreground_material_light=0x7f0b001c;
public static int material_blue_grey_800=0x7f0b001d;
public static int material_blue_grey_900=0x7f0b001e;
public static int material_blue_grey_950=0x7f0b001f;
public static int material_deep_teal_200=0x7f0b0020;
public static int material_deep_teal_500=0x7f0b0021;
public static int material_grey_100=0x7f0b0022;
public static int material_grey_300=0x7f0b0023;
public static int material_grey_50=0x7f0b0024;
public static int material_grey_600=0x7f0b0025;
public static int material_grey_800=0x7f0b0026;
public static int material_grey_850=0x7f0b0027;
public static int material_grey_900=0x7f0b0028;
public static int primary_dark_material_dark=0x7f0b0029;
public static int primary_dark_material_light=0x7f0b002a;
public static int primary_material_dark=0x7f0b002b;
public static int primary_material_light=0x7f0b002c;
public static int primary_text_default_material_dark=0x7f0b002d;
public static int primary_text_default_material_light=0x7f0b002e;
public static int primary_text_disabled_material_dark=0x7f0b002f;
public static int primary_text_disabled_material_light=0x7f0b0030;
public static int ripple_material_dark=0x7f0b0031;
public static int ripple_material_light=0x7f0b0032;
public static int secondary_text_default_material_dark=0x7f0b0033;
public static int secondary_text_default_material_light=0x7f0b0034;
public static int secondary_text_disabled_material_dark=0x7f0b0035;
public static int secondary_text_disabled_material_light=0x7f0b0036;
public static int switch_thumb_disabled_material_dark=0x7f0b0037;
public static int switch_thumb_disabled_material_light=0x7f0b0038;
public static int switch_thumb_material_dark=0x7f0b0045;
public static int switch_thumb_material_light=0x7f0b0046;
public static int switch_thumb_normal_material_dark=0x7f0b0039;
public static int switch_thumb_normal_material_light=0x7f0b003a;
}
public static final class dimen {
public static int abc_action_bar_content_inset_material=0x7f08000d;
public static int abc_action_bar_default_height_material=0x7f080001;
public static int abc_action_bar_default_padding_end_material=0x7f08000e;
public static int abc_action_bar_default_padding_start_material=0x7f08000f;
public static int abc_action_bar_icon_vertical_padding_material=0x7f080011;
public static int abc_action_bar_overflow_padding_end_material=0x7f080012;
public static int abc_action_bar_overflow_padding_start_material=0x7f080013;
public static int abc_action_bar_progress_bar_size=0x7f080002;
public static int abc_action_bar_stacked_max_height=0x7f080014;
public static int abc_action_bar_stacked_tab_max_width=0x7f080015;
public static int abc_action_bar_subtitle_bottom_margin_material=0x7f080016;
public static int abc_action_bar_subtitle_top_margin_material=0x7f080017;
public static int abc_action_button_min_height_material=0x7f080018;
public static int abc_action_button_min_width_material=0x7f080019;
public static int abc_action_button_min_width_overflow_material=0x7f08001a;
public static int abc_alert_dialog_button_bar_height=0x7f080000;
public static int abc_button_inset_horizontal_material=0x7f08001b;
public static int abc_button_inset_vertical_material=0x7f08001c;
public static int abc_button_padding_horizontal_material=0x7f08001d;
public static int abc_button_padding_vertical_material=0x7f08001e;
public static int abc_config_prefDialogWidth=0x7f080005;
public static int abc_control_corner_material=0x7f08001f;
public static int abc_control_inset_material=0x7f080020;
public static int abc_control_padding_material=0x7f080021;
public static int abc_dialog_fixed_height_major=0x7f080006;
public static int abc_dialog_fixed_height_minor=0x7f080007;
public static int abc_dialog_fixed_width_major=0x7f080008;
public static int abc_dialog_fixed_width_minor=0x7f080009;
public static int abc_dialog_list_padding_vertical_material=0x7f080022;
public static int abc_dialog_min_width_major=0x7f08000a;
public static int abc_dialog_min_width_minor=0x7f08000b;
public static int abc_dialog_padding_material=0x7f080023;
public static int abc_dialog_padding_top_material=0x7f080024;
public static int abc_disabled_alpha_material_dark=0x7f080025;
public static int abc_disabled_alpha_material_light=0x7f080026;
public static int abc_dropdownitem_icon_width=0x7f080027;
public static int abc_dropdownitem_text_padding_left=0x7f080028;
public static int abc_dropdownitem_text_padding_right=0x7f080029;
public static int abc_edit_text_inset_bottom_material=0x7f08002a;
public static int abc_edit_text_inset_horizontal_material=0x7f08002b;
public static int abc_edit_text_inset_top_material=0x7f08002c;
public static int abc_floating_window_z=0x7f08002d;
public static int abc_list_item_padding_horizontal_material=0x7f08002e;
public static int abc_panel_menu_list_width=0x7f08002f;
public static int abc_search_view_preferred_width=0x7f080030;
public static int abc_search_view_text_min_width=0x7f08000c;
public static int abc_seekbar_track_background_height_material=0x7f080031;
public static int abc_seekbar_track_progress_height_material=0x7f080032;
public static int abc_select_dialog_padding_start_material=0x7f080033;
public static int abc_switch_padding=0x7f080010;
public static int abc_text_size_body_1_material=0x7f080034;
public static int abc_text_size_body_2_material=0x7f080035;
public static int abc_text_size_button_material=0x7f080036;
public static int abc_text_size_caption_material=0x7f080037;
public static int abc_text_size_display_1_material=0x7f080038;
public static int abc_text_size_display_2_material=0x7f080039;
public static int abc_text_size_display_3_material=0x7f08003a;
public static int abc_text_size_display_4_material=0x7f08003b;
public static int abc_text_size_headline_material=0x7f08003c;
public static int abc_text_size_large_material=0x7f08003d;
public static int abc_text_size_medium_material=0x7f08003e;
public static int abc_text_size_menu_material=0x7f08003f;
public static int abc_text_size_small_material=0x7f080040;
public static int abc_text_size_subhead_material=0x7f080041;
public static int abc_text_size_subtitle_material_toolbar=0x7f080003;
public static int abc_text_size_title_material=0x7f080042;
public static int abc_text_size_title_material_toolbar=0x7f080004;
public static int disabled_alpha_material_dark=0x7f080043;
public static int disabled_alpha_material_light=0x7f080044;
public static int highlight_alpha_material_colored=0x7f080045;
public static int highlight_alpha_material_dark=0x7f080046;
public static int highlight_alpha_material_light=0x7f080047;
public static int notification_large_icon_height=0x7f080048;
public static int notification_large_icon_width=0x7f080049;
public static int notification_subtext_size=0x7f08004a;
}
public static final class drawable {
public static int abc_ab_share_pack_mtrl_alpha=0x7f020000;
public static int abc_action_bar_item_background_material=0x7f020001;
public static int abc_btn_borderless_material=0x7f020002;
public static int abc_btn_check_material=0x7f020003;
public static int abc_btn_check_to_on_mtrl_000=0x7f020004;
public static int abc_btn_check_to_on_mtrl_015=0x7f020005;
public static int abc_btn_colored_material=0x7f020006;
public static int abc_btn_default_mtrl_shape=0x7f020007;
public static int abc_btn_radio_material=0x7f020008;
public static int abc_btn_radio_to_on_mtrl_000=0x7f020009;
public static int abc_btn_radio_to_on_mtrl_015=0x7f02000a;
public static int abc_btn_rating_star_off_mtrl_alpha=0x7f02000b;
public static int abc_btn_rating_star_on_mtrl_alpha=0x7f02000c;
public static int abc_btn_switch_to_on_mtrl_00001=0x7f02000d;
public static int abc_btn_switch_to_on_mtrl_00012=0x7f02000e;
public static int abc_cab_background_internal_bg=0x7f02000f;
public static int abc_cab_background_top_material=0x7f020010;
public static int abc_cab_background_top_mtrl_alpha=0x7f020011;
public static int abc_control_background_material=0x7f020012;
public static int abc_dialog_material_background_dark=0x7f020013;
public static int abc_dialog_material_background_light=0x7f020014;
public static int abc_edit_text_material=0x7f020015;
public static int abc_ic_ab_back_mtrl_am_alpha=0x7f020016;
public static int abc_ic_clear_mtrl_alpha=0x7f020017;
public static int abc_ic_commit_search_api_mtrl_alpha=0x7f020018;
public static int abc_ic_go_search_api_mtrl_alpha=0x7f020019;
public static int abc_ic_menu_copy_mtrl_am_alpha=0x7f02001a;
public static int abc_ic_menu_cut_mtrl_alpha=0x7f02001b;
public static int abc_ic_menu_moreoverflow_mtrl_alpha=0x7f02001c;
public static int abc_ic_menu_paste_mtrl_am_alpha=0x7f02001d;
public static int abc_ic_menu_selectall_mtrl_alpha=0x7f02001e;
public static int abc_ic_menu_share_mtrl_alpha=0x7f02001f;
public static int abc_ic_search_api_mtrl_alpha=0x7f020020;
public static int abc_ic_star_black_16dp=0x7f020021;
public static int abc_ic_star_black_36dp=0x7f020022;
public static int abc_ic_star_half_black_16dp=0x7f020023;
public static int abc_ic_star_half_black_36dp=0x7f020024;
public static int abc_ic_voice_search_api_mtrl_alpha=0x7f020025;
public static int abc_item_background_holo_dark=0x7f020026;
public static int abc_item_background_holo_light=0x7f020027;
public static int abc_list_divider_mtrl_alpha=0x7f020028;
public static int abc_list_focused_holo=0x7f020029;
public static int abc_list_longpressed_holo=0x7f02002a;
public static int abc_list_pressed_holo_dark=0x7f02002b;
public static int abc_list_pressed_holo_light=0x7f02002c;
public static int abc_list_selector_background_transition_holo_dark=0x7f02002d;
public static int abc_list_selector_background_transition_holo_light=0x7f02002e;
public static int abc_list_selector_disabled_holo_dark=0x7f02002f;
public static int abc_list_selector_disabled_holo_light=0x7f020030;
public static int abc_list_selector_holo_dark=0x7f020031;
public static int abc_list_selector_holo_light=0x7f020032;
public static int abc_menu_hardkey_panel_mtrl_mult=0x7f020033;
public static int abc_popup_background_mtrl_mult=0x7f020034;
public static int abc_ratingbar_full_material=0x7f020035;
public static int abc_ratingbar_indicator_material=0x7f020036;
public static int abc_ratingbar_small_material=0x7f020037;
public static int abc_scrubber_control_off_mtrl_alpha=0x7f020038;
public static int abc_scrubber_control_to_pressed_mtrl_000=0x7f020039;
public static int abc_scrubber_control_to_pressed_mtrl_005=0x7f02003a;
public static int abc_scrubber_primary_mtrl_alpha=0x7f02003b;
public static int abc_scrubber_track_mtrl_alpha=0x7f02003c;
public static int abc_seekbar_thumb_material=0x7f02003d;
public static int abc_seekbar_track_material=0x7f02003e;
public static int abc_spinner_mtrl_am_alpha=0x7f02003f;
public static int abc_spinner_textfield_background_material=0x7f020040;
public static int abc_switch_thumb_material=0x7f020041;
public static int abc_switch_track_mtrl_alpha=0x7f020042;
public static int abc_tab_indicator_material=0x7f020043;
public static int abc_tab_indicator_mtrl_alpha=0x7f020044;
public static int abc_text_cursor_material=0x7f020045;
public static int abc_textfield_activated_mtrl_alpha=0x7f020046;
public static int abc_textfield_default_mtrl_alpha=0x7f020047;
public static int abc_textfield_search_activated_mtrl_alpha=0x7f020048;
public static int abc_textfield_search_default_mtrl_alpha=0x7f020049;
public static int abc_textfield_search_material=0x7f02004a;
public static int notification_template_icon_bg=0x7f02004b;
}
public static final class id {
public static int action0=0x7f0c005b;
public static int action_bar=0x7f0c004b;
public static int action_bar_activity_content=0x7f0c0000;
public static int action_bar_container=0x7f0c004a;
public static int action_bar_root=0x7f0c0046;
public static int action_bar_spinner=0x7f0c0001;
public static int action_bar_subtitle=0x7f0c002c;
public static int action_bar_title=0x7f0c002b;
public static int action_context_bar=0x7f0c004c;
public static int action_divider=0x7f0c005f;
public static int action_menu_divider=0x7f0c0002;
public static int action_menu_presenter=0x7f0c0003;
public static int action_mode_bar=0x7f0c0048;
public static int action_mode_bar_stub=0x7f0c0047;
public static int action_mode_close_button=0x7f0c002d;
public static int activity_chooser_view_content=0x7f0c002e;
public static int alertTitle=0x7f0c003a;
public static int always=0x7f0c0026;
public static int beginning=0x7f0c0023;
public static int buttonPanel=0x7f0c0035;
public static int cancel_action=0x7f0c005c;
public static int catalyst_redbox_title=0x7f0c006a;
public static int center=0x7f0c001b;
public static int centerCrop=0x7f0c001c;
public static int centerInside=0x7f0c001d;
public static int checkbox=0x7f0c0043;
public static int chronometer=0x7f0c0062;
public static int collapseActionView=0x7f0c0027;
public static int contentPanel=0x7f0c003b;
public static int custom=0x7f0c0041;
public static int customPanel=0x7f0c0040;
public static int decor_content_parent=0x7f0c0049;
public static int default_activity_button=0x7f0c0031;
public static int disableHome=0x7f0c000e;
public static int edit_query=0x7f0c004d;
public static int end=0x7f0c0024;
public static int end_padder=0x7f0c0067;
public static int expand_activities_button=0x7f0c002f;
public static int expanded_menu=0x7f0c0042;
public static int fitCenter=0x7f0c001e;
public static int fitEnd=0x7f0c001f;
public static int fitStart=0x7f0c0020;
public static int fitXY=0x7f0c0021;
public static int focusCrop=0x7f0c0022;
public static int fps_text=0x7f0c005a;
public static int home=0x7f0c0004;
public static int homeAsUp=0x7f0c000f;
public static int icon=0x7f0c0033;
public static int ifRoom=0x7f0c0028;
public static int image=0x7f0c0030;
public static int info=0x7f0c0066;
public static int line1=0x7f0c0060;
public static int line3=0x7f0c0064;
public static int listMode=0x7f0c000b;
public static int list_item=0x7f0c0032;
public static int media_actions=0x7f0c005e;
public static int middle=0x7f0c0025;
public static int multiply=0x7f0c0016;
public static int never=0x7f0c0029;
public static int none=0x7f0c0010;
public static int normal=0x7f0c000c;
public static int parentPanel=0x7f0c0037;
public static int progress_circular=0x7f0c0005;
public static int progress_horizontal=0x7f0c0006;
public static int radio=0x7f0c0045;
public static int react_test_id=0x7f0c0007;
public static int rn_frame_file=0x7f0c0069;
public static int rn_frame_method=0x7f0c0068;
public static int rn_redbox_copy_button=0x7f0c0071;
public static int rn_redbox_dismiss_button=0x7f0c006f;
public static int rn_redbox_line_separator=0x7f0c006c;
public static int rn_redbox_loading_indicator=0x7f0c006d;
public static int rn_redbox_reload_button=0x7f0c0070;
public static int rn_redbox_report_button=0x7f0c0072;
public static int rn_redbox_report_label=0x7f0c006e;
public static int rn_redbox_stack=0x7f0c006b;
public static int screen=0x7f0c0017;
public static int scrollIndicatorDown=0x7f0c003f;
public static int scrollIndicatorUp=0x7f0c003c;
public static int scrollView=0x7f0c003d;
public static int search_badge=0x7f0c004f;
public static int search_bar=0x7f0c004e;
public static int search_button=0x7f0c0050;
public static int search_close_btn=0x7f0c0055;
public static int search_edit_frame=0x7f0c0051;
public static int search_go_btn=0x7f0c0057;
public static int search_mag_icon=0x7f0c0052;
public static int search_plate=0x7f0c0053;
public static int search_src_text=0x7f0c0054;
public static int search_voice_btn=0x7f0c0058;
public static int select_dialog_listview=0x7f0c0059;
public static int shortcut=0x7f0c0044;
public static int showCustom=0x7f0c0011;
public static int showHome=0x7f0c0012;
public static int showTitle=0x7f0c0013;
public static int spacer=0x7f0c0036;
public static int split_action_bar=0x7f0c0008;
public static int src_atop=0x7f0c0018;
public static int src_in=0x7f0c0019;
public static int src_over=0x7f0c001a;
public static int status_bar_latest_event_content=0x7f0c005d;
public static int submit_area=0x7f0c0056;
public static int tabMode=0x7f0c000d;
public static int text=0x7f0c0065;
public static int text2=0x7f0c0063;
public static int textSpacerNoButtons=0x7f0c003e;
public static int time=0x7f0c0061;
public static int title=0x7f0c0034;
public static int title_template=0x7f0c0039;
public static int topPanel=0x7f0c0038;
public static int up=0x7f0c0009;
public static int useLogo=0x7f0c0014;
public static int view_tag_native_id=0x7f0c000a;
public static int withText=0x7f0c002a;
public static int wrap_content=0x7f0c0015;
}
public static final class integer {
public static int abc_config_activityDefaultDur=0x7f0a0001;
public static int abc_config_activityShortDur=0x7f0a0002;
public static int abc_max_action_buttons=0x7f0a0000;
public static int cancel_button_image_alpha=0x7f0a0003;
public static int status_bar_notification_info_maxnum=0x7f0a0004;
}
public static final class layout {
public static int abc_action_bar_title_item=0x7f030000;
public static int abc_action_bar_up_container=0x7f030001;
public static int abc_action_bar_view_list_nav_layout=0x7f030002;
public static int abc_action_menu_item_layout=0x7f030003;
public static int abc_action_menu_layout=0x7f030004;
public static int abc_action_mode_bar=0x7f030005;
public static int abc_action_mode_close_item_material=0x7f030006;
public static int abc_activity_chooser_view=0x7f030007;
public static int abc_activity_chooser_view_list_item=0x7f030008;
public static int abc_alert_dialog_button_bar_material=0x7f030009;
public static int abc_alert_dialog_material=0x7f03000a;
public static int abc_dialog_title_material=0x7f03000b;
public static int abc_expanded_menu_layout=0x7f03000c;
public static int abc_list_menu_item_checkbox=0x7f03000d;
public static int abc_list_menu_item_icon=0x7f03000e;
public static int abc_list_menu_item_layout=0x7f03000f;
public static int abc_list_menu_item_radio=0x7f030010;
public static int abc_popup_menu_item_layout=0x7f030011;
public static int abc_screen_content_include=0x7f030012;
public static int abc_screen_simple=0x7f030013;
public static int abc_screen_simple_overlay_action_mode=0x7f030014;
public static int abc_screen_toolbar=0x7f030015;
public static int abc_search_dropdown_item_icons_2line=0x7f030016;
public static int abc_search_view=0x7f030017;
public static int abc_select_dialog_material=0x7f030018;
public static int dev_loading_view=0x7f030019;
public static int fps_view=0x7f03001a;
public static int launch_screen=0x7f03002a;
public static int notification_media_action=0x7f03001b;
public static int notification_media_cancel_action=0x7f03001c;
public static int notification_template_big_media=0x7f03001d;
public static int notification_template_big_media_narrow=0x7f03001e;
public static int notification_template_lines=0x7f03001f;
public static int notification_template_media=0x7f030020;
public static int notification_template_part_chronometer=0x7f030021;
public static int notification_template_part_time=0x7f030022;
public static int redbox_item_frame=0x7f030023;
public static int redbox_item_title=0x7f030024;
public static int redbox_view=0x7f030025;
public static int select_dialog_item_material=0x7f030026;
public static int select_dialog_multichoice_material=0x7f030027;
public static int select_dialog_singlechoice_material=0x7f030028;
public static int support_simple_spinner_dropdown_item=0x7f030029;
}
public static final class string {
public static int abc_action_bar_home_description=0x7f060000;
public static int abc_action_bar_home_description_format=0x7f060001;
public static int abc_action_bar_home_subtitle_description_format=0x7f060002;
public static int abc_action_bar_up_description=0x7f060003;
public static int abc_action_menu_overflow_description=0x7f060004;
public static int abc_action_mode_done=0x7f060005;
public static int abc_activity_chooser_view_see_all=0x7f060006;
public static int abc_activitychooserview_choose_application=0x7f060007;
public static int abc_capital_off=0x7f060008;
public static int abc_capital_on=0x7f060009;
public static int abc_search_hint=0x7f06000a;
public static int abc_searchview_description_clear=0x7f06000b;
public static int abc_searchview_description_query=0x7f06000c;
public static int abc_searchview_description_search=0x7f06000d;
public static int abc_searchview_description_submit=0x7f06000e;
public static int abc_searchview_description_voice=0x7f06000f;
public static int abc_shareactionprovider_share_with=0x7f060010;
public static int abc_shareactionprovider_share_with_application=0x7f060011;
public static int abc_toolbar_collapse_description=0x7f060012;
public static int app_name=0x7f060014;
public static int catalyst_copy_button=0x7f060015;
public static int catalyst_debugjs=0x7f060016;
public static int catalyst_debugjs_off=0x7f060017;
public static int catalyst_dismiss_button=0x7f060018;
public static int catalyst_element_inspector=0x7f060019;
public static int catalyst_heap_capture=0x7f06001a;
public static int catalyst_hot_module_replacement=0x7f06001b;
public static int catalyst_hot_module_replacement_off=0x7f06001c;
public static int catalyst_jsload_error=0x7f06001d;
public static int catalyst_live_reload=0x7f06001e;
public static int catalyst_live_reload_off=0x7f06001f;
public static int catalyst_loading_from_url=0x7f060020;
public static int catalyst_perf_monitor=0x7f060021;
public static int catalyst_perf_monitor_off=0x7f060022;
public static int catalyst_poke_sampling_profiler=0x7f060023;
public static int catalyst_reload_button=0x7f060024;
public static int catalyst_reloadjs=0x7f060025;
public static int catalyst_remotedbg_error=0x7f060026;
public static int catalyst_remotedbg_message=0x7f060027;
public static int catalyst_report_button=0x7f060028;
public static int catalyst_settings=0x7f060029;
public static int catalyst_settings_title=0x7f06002a;
public static int status_bar_notification_info_overflow=0x7f060013;
}
public static final class style {
public static int AlertDialog_AppCompat=0x7f090086;
public static int AlertDialog_AppCompat_Light=0x7f090087;
public static int Animation_AppCompat_Dialog=0x7f090088;
public static int Animation_AppCompat_DropDownUp=0x7f090089;
public static int Animation_Catalyst_RedBox=0x7f09008a;
public static int Base_AlertDialog_AppCompat=0x7f09008b;
public static int Base_AlertDialog_AppCompat_Light=0x7f09008c;
public static int Base_Animation_AppCompat_Dialog=0x7f09008d;
public static int Base_Animation_AppCompat_DropDownUp=0x7f09008e;
public static int Base_DialogWindowTitle_AppCompat=0x7f09008f;
public static int Base_DialogWindowTitleBackground_AppCompat=0x7f090090;
public static int Base_TextAppearance_AppCompat=0x7f090036;
public static int Base_TextAppearance_AppCompat_Body1=0x7f090037;
public static int Base_TextAppearance_AppCompat_Body2=0x7f090038;
public static int Base_TextAppearance_AppCompat_Button=0x7f090020;
public static int Base_TextAppearance_AppCompat_Caption=0x7f090039;
public static int Base_TextAppearance_AppCompat_Display1=0x7f09003a;
public static int Base_TextAppearance_AppCompat_Display2=0x7f09003b;
public static int Base_TextAppearance_AppCompat_Display3=0x7f09003c;
public static int Base_TextAppearance_AppCompat_Display4=0x7f09003d;
public static int Base_TextAppearance_AppCompat_Headline=0x7f09003e;
public static int Base_TextAppearance_AppCompat_Inverse=0x7f09000b;
public static int Base_TextAppearance_AppCompat_Large=0x7f09003f;
public static int Base_TextAppearance_AppCompat_Large_Inverse=0x7f09000c;
public static int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f090040;
public static int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f090041;
public static int Base_TextAppearance_AppCompat_Medium=0x7f090042;
public static int Base_TextAppearance_AppCompat_Medium_Inverse=0x7f09000d;
public static int Base_TextAppearance_AppCompat_Menu=0x7f090043;
public static int Base_TextAppearance_AppCompat_SearchResult=0x7f090091;
public static int Base_TextAppearance_AppCompat_SearchResult_Subtitle=0x7f090044;
public static int Base_TextAppearance_AppCompat_SearchResult_Title=0x7f090045;
public static int Base_TextAppearance_AppCompat_Small=0x7f090046;
public static int Base_TextAppearance_AppCompat_Small_Inverse=0x7f09000e;
public static int Base_TextAppearance_AppCompat_Subhead=0x7f090047;
public static int Base_TextAppearance_AppCompat_Subhead_Inverse=0x7f09000f;
public static int Base_TextAppearance_AppCompat_Title=0x7f090048;
public static int Base_TextAppearance_AppCompat_Title_Inverse=0x7f090010;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f09007f;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f090049;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f09004a;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f09004b;
public static int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f09004c;
public static int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f09004d;
public static int Base_TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f09004e;
public static int Base_TextAppearance_AppCompat_Widget_Button=0x7f09004f;
public static int Base_TextAppearance_AppCompat_Widget_Button_Inverse=0x7f090080;
public static int Base_TextAppearance_AppCompat_Widget_DropDownItem=0x7f090092;
public static int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f090050;
public static int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f090051;
public static int Base_TextAppearance_AppCompat_Widget_Switch=0x7f090052;
public static int Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f090053;
public static int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f090093;
public static int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f090054;
public static int Base_TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f090055;
public static int Base_Theme_AppCompat=0x7f090056;
public static int Base_Theme_AppCompat_CompactMenu=0x7f090094;
public static int Base_Theme_AppCompat_Dialog=0x7f090011;
public static int Base_Theme_AppCompat_Dialog_Alert=0x7f090095;
public static int Base_Theme_AppCompat_Dialog_FixedSize=0x7f090096;
public static int Base_Theme_AppCompat_Dialog_MinWidth=0x7f090097;
public static int Base_Theme_AppCompat_DialogWhenLarge=0x7f090001;
public static int Base_Theme_AppCompat_Light=0x7f090057;
public static int Base_Theme_AppCompat_Light_DarkActionBar=0x7f090098;
public static int Base_Theme_AppCompat_Light_Dialog=0x7f090012;
public static int Base_Theme_AppCompat_Light_Dialog_Alert=0x7f090099;
public static int Base_Theme_AppCompat_Light_Dialog_FixedSize=0x7f09009a;
public static int Base_Theme_AppCompat_Light_Dialog_MinWidth=0x7f09009b;
public static int Base_Theme_AppCompat_Light_DialogWhenLarge=0x7f090002;
public static int Base_ThemeOverlay_AppCompat=0x7f09009c;
public static int Base_ThemeOverlay_AppCompat_ActionBar=0x7f09009d;
public static int Base_ThemeOverlay_AppCompat_Dark=0x7f09009e;
public static int Base_ThemeOverlay_AppCompat_Dark_ActionBar=0x7f09009f;
public static int Base_ThemeOverlay_AppCompat_Light=0x7f0900a0;
public static int Base_V11_Theme_AppCompat_Dialog=0x7f090013;
public static int Base_V11_Theme_AppCompat_Light_Dialog=0x7f090014;
public static int Base_V12_Widget_AppCompat_AutoCompleteTextView=0x7f09001c;
public static int Base_V12_Widget_AppCompat_EditText=0x7f09001d;
public static int Base_V21_Theme_AppCompat=0x7f090058;
public static int Base_V21_Theme_AppCompat_Dialog=0x7f090059;
public static int Base_V21_Theme_AppCompat_Light=0x7f09005a;
public static int Base_V21_Theme_AppCompat_Light_Dialog=0x7f09005b;
public static int Base_V22_Theme_AppCompat=0x7f09007d;
public static int Base_V22_Theme_AppCompat_Light=0x7f09007e;
public static int Base_V23_Theme_AppCompat=0x7f090081;
public static int Base_V23_Theme_AppCompat_Light=0x7f090082;
public static int Base_V7_Theme_AppCompat=0x7f0900a1;
public static int Base_V7_Theme_AppCompat_Dialog=0x7f0900a2;
public static int Base_V7_Theme_AppCompat_Light=0x7f0900a3;
public static int Base_V7_Theme_AppCompat_Light_Dialog=0x7f0900a4;
public static int Base_V7_Widget_AppCompat_AutoCompleteTextView=0x7f0900a5;
public static int Base_V7_Widget_AppCompat_EditText=0x7f0900a6;
public static int Base_Widget_AppCompat_ActionBar=0x7f0900a7;
public static int Base_Widget_AppCompat_ActionBar_Solid=0x7f0900a8;
public static int Base_Widget_AppCompat_ActionBar_TabBar=0x7f0900a9;
public static int Base_Widget_AppCompat_ActionBar_TabText=0x7f09005c;
public static int Base_Widget_AppCompat_ActionBar_TabView=0x7f09005d;
public static int Base_Widget_AppCompat_ActionButton=0x7f09005e;
public static int Base_Widget_AppCompat_ActionButton_CloseMode=0x7f09005f;
public static int Base_Widget_AppCompat_ActionButton_Overflow=0x7f090060;
public static int Base_Widget_AppCompat_ActionMode=0x7f0900aa;
public static int Base_Widget_AppCompat_ActivityChooserView=0x7f0900ab;
public static int Base_Widget_AppCompat_AutoCompleteTextView=0x7f09001e;
public static int Base_Widget_AppCompat_Button=0x7f090061;
public static int Base_Widget_AppCompat_Button_Borderless=0x7f090062;
public static int Base_Widget_AppCompat_Button_Borderless_Colored=0x7f090063;
public static int Base_Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0900ac;
public static int Base_Widget_AppCompat_Button_Colored=0x7f090083;
public static int Base_Widget_AppCompat_Button_Small=0x7f090064;
public static int Base_Widget_AppCompat_ButtonBar=0x7f090065;
public static int Base_Widget_AppCompat_ButtonBar_AlertDialog=0x7f0900ad;
public static int Base_Widget_AppCompat_CompoundButton_CheckBox=0x7f090066;
public static int Base_Widget_AppCompat_CompoundButton_RadioButton=0x7f090067;
public static int Base_Widget_AppCompat_CompoundButton_Switch=0x7f0900ae;
public static int Base_Widget_AppCompat_DrawerArrowToggle=0x7f090000;
public static int Base_Widget_AppCompat_DrawerArrowToggle_Common=0x7f0900af;
public static int Base_Widget_AppCompat_DropDownItem_Spinner=0x7f090068;
public static int Base_Widget_AppCompat_EditText=0x7f09001f;
public static int Base_Widget_AppCompat_ImageButton=0x7f090069;
public static int Base_Widget_AppCompat_Light_ActionBar=0x7f0900b0;
public static int Base_Widget_AppCompat_Light_ActionBar_Solid=0x7f0900b1;
public static int Base_Widget_AppCompat_Light_ActionBar_TabBar=0x7f0900b2;
public static int Base_Widget_AppCompat_Light_ActionBar_TabText=0x7f09006a;
public static int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f09006b;
public static int Base_Widget_AppCompat_Light_ActionBar_TabView=0x7f09006c;
public static int Base_Widget_AppCompat_Light_PopupMenu=0x7f09006d;
public static int Base_Widget_AppCompat_Light_PopupMenu_Overflow=0x7f09006e;
public static int Base_Widget_AppCompat_ListPopupWindow=0x7f09006f;
public static int Base_Widget_AppCompat_ListView=0x7f090070;
public static int Base_Widget_AppCompat_ListView_DropDown=0x7f090071;
public static int Base_Widget_AppCompat_ListView_Menu=0x7f090072;
public static int Base_Widget_AppCompat_PopupMenu=0x7f090073;
public static int Base_Widget_AppCompat_PopupMenu_Overflow=0x7f090074;
public static int Base_Widget_AppCompat_PopupWindow=0x7f0900b3;
public static int Base_Widget_AppCompat_ProgressBar=0x7f090015;
public static int Base_Widget_AppCompat_ProgressBar_Horizontal=0x7f090016;
public static int Base_Widget_AppCompat_RatingBar=0x7f090075;
public static int Base_Widget_AppCompat_RatingBar_Indicator=0x7f090084;
public static int Base_Widget_AppCompat_RatingBar_Small=0x7f090085;
public static int Base_Widget_AppCompat_SearchView=0x7f0900b4;
public static int Base_Widget_AppCompat_SearchView_ActionBar=0x7f0900b5;
public static int Base_Widget_AppCompat_SeekBar=0x7f090076;
public static int Base_Widget_AppCompat_Spinner=0x7f090077;
public static int Base_Widget_AppCompat_Spinner_Underlined=0x7f090003;
public static int Base_Widget_AppCompat_TextView_SpinnerItem=0x7f090078;
public static int Base_Widget_AppCompat_Toolbar=0x7f0900b6;
public static int Base_Widget_AppCompat_Toolbar_Button_Navigation=0x7f090079;
public static int CalendarDatePickerDialog=0x7f0900b7;
public static int CalendarDatePickerStyle=0x7f0900b8;
public static int DialogAnimationFade=0x7f0900b9;
public static int DialogAnimationSlide=0x7f0900ba;
public static int Platform_AppCompat=0x7f090017;
public static int Platform_AppCompat_Light=0x7f090018;
public static int Platform_ThemeOverlay_AppCompat=0x7f09007a;
public static int Platform_ThemeOverlay_AppCompat_Dark=0x7f09007b;
public static int Platform_ThemeOverlay_AppCompat_Light=0x7f09007c;
public static int Platform_V11_AppCompat=0x7f090019;
public static int Platform_V11_AppCompat_Light=0x7f09001a;
public static int Platform_V14_AppCompat=0x7f090021;
public static int Platform_V14_AppCompat_Light=0x7f090022;
public static int Platform_Widget_AppCompat_Spinner=0x7f09001b;
public static int RtlOverlay_DialogWindowTitle_AppCompat=0x7f090028;
public static int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem=0x7f090029;
public static int RtlOverlay_Widget_AppCompat_DialogTitle_Icon=0x7f09002a;
public static int RtlOverlay_Widget_AppCompat_PopupMenuItem=0x7f09002b;
public static int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup=0x7f09002c;
public static int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text=0x7f09002d;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown=0x7f09002e;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1=0x7f09002f;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2=0x7f090030;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown_Query=0x7f090031;
public static int RtlOverlay_Widget_AppCompat_Search_DropDown_Text=0x7f090032;
public static int RtlOverlay_Widget_AppCompat_SearchView_MagIcon=0x7f090033;
public static int RtlUnderlay_Widget_AppCompat_ActionButton=0x7f090034;
public static int RtlUnderlay_Widget_AppCompat_ActionButton_Overflow=0x7f090035;
public static int SpinnerDatePickerDialog=0x7f0900bb;
public static int SpinnerDatePickerStyle=0x7f0900bc;
public static int SplashScreen_Fullscreen=0x7f0900bd;
public static int SplashScreen_SplashAnimation=0x7f0900be;
public static int SplashScreen_SplashTheme=0x7f0900bf;
public static int TextAppearance_AppCompat=0x7f0900c0;
public static int TextAppearance_AppCompat_Body1=0x7f0900c1;
public static int TextAppearance_AppCompat_Body2=0x7f0900c2;
public static int TextAppearance_AppCompat_Button=0x7f0900c3;
public static int TextAppearance_AppCompat_Caption=0x7f0900c4;
public static int TextAppearance_AppCompat_Display1=0x7f0900c5;
public static int TextAppearance_AppCompat_Display2=0x7f0900c6;
public static int TextAppearance_AppCompat_Display3=0x7f0900c7;
public static int TextAppearance_AppCompat_Display4=0x7f0900c8;
public static int TextAppearance_AppCompat_Headline=0x7f0900c9;
public static int TextAppearance_AppCompat_Inverse=0x7f0900ca;
public static int TextAppearance_AppCompat_Large=0x7f0900cb;
public static int TextAppearance_AppCompat_Large_Inverse=0x7f0900cc;
public static int TextAppearance_AppCompat_Light_SearchResult_Subtitle=0x7f0900cd;
public static int TextAppearance_AppCompat_Light_SearchResult_Title=0x7f0900ce;
public static int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0900cf;
public static int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0900d0;
public static int TextAppearance_AppCompat_Medium=0x7f0900d1;
public static int TextAppearance_AppCompat_Medium_Inverse=0x7f0900d2;
public static int TextAppearance_AppCompat_Menu=0x7f0900d3;
public static int TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0900d4;
public static int TextAppearance_AppCompat_SearchResult_Title=0x7f0900d5;
public static int TextAppearance_AppCompat_Small=0x7f0900d6;
public static int TextAppearance_AppCompat_Small_Inverse=0x7f0900d7;
public static int TextAppearance_AppCompat_Subhead=0x7f0900d8;
public static int TextAppearance_AppCompat_Subhead_Inverse=0x7f0900d9;
public static int TextAppearance_AppCompat_Title=0x7f0900da;
public static int TextAppearance_AppCompat_Title_Inverse=0x7f0900db;
public static int TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0900dc;
public static int TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0900dd;
public static int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0900de;
public static int TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0900df;
public static int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0900e0;
public static int TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0900e1;
public static int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse=0x7f0900e2;
public static int TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0900e3;
public static int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse=0x7f0900e4;
public static int TextAppearance_AppCompat_Widget_Button=0x7f0900e5;
public static int TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0900e6;
public static int TextAppearance_AppCompat_Widget_DropDownItem=0x7f0900e7;
public static int TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0900e8;
public static int TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0900e9;
public static int TextAppearance_AppCompat_Widget_Switch=0x7f0900ea;
public static int TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0900eb;
public static int TextAppearance_StatusBar_EventContent=0x7f090023;
public static int TextAppearance_StatusBar_EventContent_Info=0x7f090024;
public static int TextAppearance_StatusBar_EventContent_Line2=0x7f090025;
public static int TextAppearance_StatusBar_EventContent_Time=0x7f090026;
public static int TextAppearance_StatusBar_EventContent_Title=0x7f090027;
public static int TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0900ec;
public static int TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0900ed;
public static int TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0900ee;
public static int Theme=0x7f0900ef;
public static int Theme_AppCompat=0x7f0900f0;
public static int Theme_AppCompat_CompactMenu=0x7f0900f1;
public static int Theme_AppCompat_DayNight=0x7f090004;
public static int Theme_AppCompat_DayNight_DarkActionBar=0x7f090005;
public static int Theme_AppCompat_DayNight_Dialog=0x7f090006;
public static int Theme_AppCompat_DayNight_Dialog_Alert=0x7f090007;
public static int Theme_AppCompat_DayNight_Dialog_MinWidth=0x7f090008;
public static int Theme_AppCompat_DayNight_DialogWhenLarge=0x7f090009;
public static int Theme_AppCompat_DayNight_NoActionBar=0x7f09000a;
public static int Theme_AppCompat_Dialog=0x7f0900f2;
public static int Theme_AppCompat_Dialog_Alert=0x7f0900f3;
public static int Theme_AppCompat_Dialog_MinWidth=0x7f0900f4;
public static int Theme_AppCompat_DialogWhenLarge=0x7f0900f5;
public static int Theme_AppCompat_Light=0x7f0900f6;
public static int Theme_AppCompat_Light_DarkActionBar=0x7f0900f7;
public static int Theme_AppCompat_Light_Dialog=0x7f0900f8;
public static int Theme_AppCompat_Light_Dialog_Alert=0x7f0900f9;
public static int Theme_AppCompat_Light_Dialog_MinWidth=0x7f0900fa;
public static int Theme_AppCompat_Light_DialogWhenLarge=0x7f0900fb;
public static int Theme_AppCompat_Light_NoActionBar=0x7f0900fc;
public static int Theme_AppCompat_NoActionBar=0x7f0900fd;
public static int Theme_Catalyst=0x7f0900fe;
public static int Theme_Catalyst_RedBox=0x7f0900ff;
public static int Theme_FullScreenDialog=0x7f090100;
public static int Theme_FullScreenDialogAnimatedFade=0x7f090101;
public static int Theme_FullScreenDialogAnimatedSlide=0x7f090102;
public static int Theme_ReactNative_AppCompat_Light=0x7f090103;
public static int Theme_ReactNative_AppCompat_Light_NoActionBar_FullScreen=0x7f090104;
public static int ThemeOverlay_AppCompat=0x7f090105;
public static int ThemeOverlay_AppCompat_ActionBar=0x7f090106;
public static int ThemeOverlay_AppCompat_Dark=0x7f090107;
public static int ThemeOverlay_AppCompat_Dark_ActionBar=0x7f090108;
public static int ThemeOverlay_AppCompat_Light=0x7f090109;
public static int Widget_AppCompat_ActionBar=0x7f09010a;
public static int Widget_AppCompat_ActionBar_Solid=0x7f09010b;
public static int Widget_AppCompat_ActionBar_TabBar=0x7f09010c;
public static int Widget_AppCompat_ActionBar_TabText=0x7f09010d;
public static int Widget_AppCompat_ActionBar_TabView=0x7f09010e;
public static int Widget_AppCompat_ActionButton=0x7f09010f;
public static int Widget_AppCompat_ActionButton_CloseMode=0x7f090110;
public static int Widget_AppCompat_ActionButton_Overflow=0x7f090111;
public static int Widget_AppCompat_ActionMode=0x7f090112;
public static int Widget_AppCompat_ActivityChooserView=0x7f090113;
public static int Widget_AppCompat_AutoCompleteTextView=0x7f090114;
public static int Widget_AppCompat_Button=0x7f090115;
public static int Widget_AppCompat_Button_Borderless=0x7f090116;
public static int Widget_AppCompat_Button_Borderless_Colored=0x7f090117;
public static int Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f090118;
public static int Widget_AppCompat_Button_Colored=0x7f090119;
public static int Widget_AppCompat_Button_Small=0x7f09011a;
public static int Widget_AppCompat_ButtonBar=0x7f09011b;
public static int Widget_AppCompat_ButtonBar_AlertDialog=0x7f09011c;
public static int Widget_AppCompat_CompoundButton_CheckBox=0x7f09011d;
public static int Widget_AppCompat_CompoundButton_RadioButton=0x7f09011e;
public static int Widget_AppCompat_CompoundButton_Switch=0x7f09011f;
public static int Widget_AppCompat_DrawerArrowToggle=0x7f090120;
public static int Widget_AppCompat_DropDownItem_Spinner=0x7f090121;
public static int Widget_AppCompat_EditText=0x7f090122;
public static int Widget_AppCompat_ImageButton=0x7f090123;
public static int Widget_AppCompat_Light_ActionBar=0x7f090124;
public static int Widget_AppCompat_Light_ActionBar_Solid=0x7f090125;
public static int Widget_AppCompat_Light_ActionBar_Solid_Inverse=0x7f090126;
public static int Widget_AppCompat_Light_ActionBar_TabBar=0x7f090127;
public static int Widget_AppCompat_Light_ActionBar_TabBar_Inverse=0x7f090128;
public static int Widget_AppCompat_Light_ActionBar_TabText=0x7f090129;
public static int Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f09012a;
public static int Widget_AppCompat_Light_ActionBar_TabView=0x7f09012b;
public static int Widget_AppCompat_Light_ActionBar_TabView_Inverse=0x7f09012c;
public static int Widget_AppCompat_Light_ActionButton=0x7f09012d;
public static int Widget_AppCompat_Light_ActionButton_CloseMode=0x7f09012e;
public static int Widget_AppCompat_Light_ActionButton_Overflow=0x7f09012f;
public static int Widget_AppCompat_Light_ActionMode_Inverse=0x7f090130;
public static int Widget_AppCompat_Light_ActivityChooserView=0x7f090131;
public static int Widget_AppCompat_Light_AutoCompleteTextView=0x7f090132;
public static int Widget_AppCompat_Light_DropDownItem_Spinner=0x7f090133;
public static int Widget_AppCompat_Light_ListPopupWindow=0x7f090134;
public static int Widget_AppCompat_Light_ListView_DropDown=0x7f090135;
public static int Widget_AppCompat_Light_PopupMenu=0x7f090136;
public static int Widget_AppCompat_Light_PopupMenu_Overflow=0x7f090137;
public static int Widget_AppCompat_Light_SearchView=0x7f090138;
public static int Widget_AppCompat_Light_Spinner_DropDown_ActionBar=0x7f090139;
public static int Widget_AppCompat_ListPopupWindow=0x7f09013a;
public static int Widget_AppCompat_ListView=0x7f09013b;
public static int Widget_AppCompat_ListView_DropDown=0x7f09013c;
public static int Widget_AppCompat_ListView_Menu=0x7f09013d;
public static int Widget_AppCompat_PopupMenu=0x7f09013e;
public static int Widget_AppCompat_PopupMenu_Overflow=0x7f09013f;
public static int Widget_AppCompat_PopupWindow=0x7f090140;
public static int Widget_AppCompat_ProgressBar=0x7f090141;
public static int Widget_AppCompat_ProgressBar_Horizontal=0x7f090142;
public static int Widget_AppCompat_RatingBar=0x7f090143;
public static int Widget_AppCompat_RatingBar_Indicator=0x7f090144;
public static int Widget_AppCompat_RatingBar_Small=0x7f090145;
public static int Widget_AppCompat_SearchView=0x7f090146;
public static int Widget_AppCompat_SearchView_ActionBar=0x7f090147;
public static int Widget_AppCompat_SeekBar=0x7f090148;
public static int Widget_AppCompat_Spinner=0x7f090149;
public static int Widget_AppCompat_Spinner_DropDown=0x7f09014a;
public static int Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f09014b;
public static int Widget_AppCompat_Spinner_Underlined=0x7f09014c;
public static int Widget_AppCompat_TextView_SpinnerItem=0x7f09014d;
public static int Widget_AppCompat_Toolbar=0x7f09014e;
public static int Widget_AppCompat_Toolbar_Button_Navigation=0x7f09014f;
}
public static final class xml {
public static int preferences=0x7f050000;
}
public static final class styleable {
/** Attributes that can be used with a ActionBar.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionBar_background org.devio.rn.splashscreen:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundSplit org.devio.rn.splashscreen:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundStacked org.devio.rn.splashscreen:backgroundStacked}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetEnd org.devio.rn.splashscreen:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetLeft org.devio.rn.splashscreen:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetRight org.devio.rn.splashscreen:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetStart org.devio.rn.splashscreen:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_customNavigationLayout org.devio.rn.splashscreen:customNavigationLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_displayOptions org.devio.rn.splashscreen:displayOptions}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_divider org.devio.rn.splashscreen:divider}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_elevation org.devio.rn.splashscreen:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_height org.devio.rn.splashscreen:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_hideOnContentScroll org.devio.rn.splashscreen:hideOnContentScroll}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeAsUpIndicator org.devio.rn.splashscreen:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeLayout org.devio.rn.splashscreen:homeLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_icon org.devio.rn.splashscreen:icon}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_indeterminateProgressStyle org.devio.rn.splashscreen:indeterminateProgressStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_itemPadding org.devio.rn.splashscreen:itemPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_logo org.devio.rn.splashscreen:logo}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_navigationMode org.devio.rn.splashscreen:navigationMode}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_popupTheme org.devio.rn.splashscreen:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarPadding org.devio.rn.splashscreen:progressBarPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarStyle org.devio.rn.splashscreen:progressBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitle org.devio.rn.splashscreen:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitleTextStyle org.devio.rn.splashscreen:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_title org.devio.rn.splashscreen:title}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_titleTextStyle org.devio.rn.splashscreen:titleTextStyle}</code></td><td></td></tr>
</table>
@see #ActionBar_background
@see #ActionBar_backgroundSplit
@see #ActionBar_backgroundStacked
@see #ActionBar_contentInsetEnd
@see #ActionBar_contentInsetLeft
@see #ActionBar_contentInsetRight
@see #ActionBar_contentInsetStart
@see #ActionBar_customNavigationLayout
@see #ActionBar_displayOptions
@see #ActionBar_divider
@see #ActionBar_elevation
@see #ActionBar_height
@see #ActionBar_hideOnContentScroll
@see #ActionBar_homeAsUpIndicator
@see #ActionBar_homeLayout
@see #ActionBar_icon
@see #ActionBar_indeterminateProgressStyle
@see #ActionBar_itemPadding
@see #ActionBar_logo
@see #ActionBar_navigationMode
@see #ActionBar_popupTheme
@see #ActionBar_progressBarPadding
@see #ActionBar_progressBarStyle
@see #ActionBar_subtitle
@see #ActionBar_subtitleTextStyle
@see #ActionBar_title
@see #ActionBar_titleTextStyle
*/
public static final int[] ActionBar = {
0x7f010001, 0x7f010003, 0x7f010004, 0x7f010005,
0x7f010006, 0x7f010007, 0x7f010008, 0x7f010009,
0x7f01000a, 0x7f01000b, 0x7f01000c, 0x7f01000d,
0x7f01000e, 0x7f01000f, 0x7f010010, 0x7f010011,
0x7f010012, 0x7f010013, 0x7f010014, 0x7f010015,
0x7f010016, 0x7f010017, 0x7f010018, 0x7f010019,
0x7f01001a, 0x7f01001b, 0x7f010054
};
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#background}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:background
*/
public static int ActionBar_background = 10;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#backgroundSplit}
attribute's value can be found in the {@link #ActionBar} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name org.devio.rn.splashscreen:backgroundSplit
*/
public static int ActionBar_backgroundSplit = 12;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#backgroundStacked}
attribute's value can be found in the {@link #ActionBar} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name org.devio.rn.splashscreen:backgroundStacked
*/
public static int ActionBar_backgroundStacked = 11;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#contentInsetEnd}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:contentInsetEnd
*/
public static int ActionBar_contentInsetEnd = 21;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#contentInsetLeft}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:contentInsetLeft
*/
public static int ActionBar_contentInsetLeft = 22;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#contentInsetRight}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:contentInsetRight
*/
public static int ActionBar_contentInsetRight = 23;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#contentInsetStart}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:contentInsetStart
*/
public static int ActionBar_contentInsetStart = 20;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#customNavigationLayout}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:customNavigationLayout
*/
public static int ActionBar_customNavigationLayout = 13;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#displayOptions}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>useLogo</code></td><td>0x1</td><td></td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr>
</table>
@attr name org.devio.rn.splashscreen:displayOptions
*/
public static int ActionBar_displayOptions = 3;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#divider}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:divider
*/
public static int ActionBar_divider = 9;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#elevation}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:elevation
*/
public static int ActionBar_elevation = 24;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#height}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:height
*/
public static int ActionBar_height = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#hideOnContentScroll}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:hideOnContentScroll
*/
public static int ActionBar_hideOnContentScroll = 19;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#homeAsUpIndicator}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:homeAsUpIndicator
*/
public static int ActionBar_homeAsUpIndicator = 26;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#homeLayout}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:homeLayout
*/
public static int ActionBar_homeLayout = 14;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#icon}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:icon
*/
public static int ActionBar_icon = 7;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#indeterminateProgressStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:indeterminateProgressStyle
*/
public static int ActionBar_indeterminateProgressStyle = 16;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#itemPadding}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:itemPadding
*/
public static int ActionBar_itemPadding = 18;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#logo}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:logo
*/
public static int ActionBar_logo = 8;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#navigationMode}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>listMode</code></td><td>1</td><td></td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td></td></tr>
</table>
@attr name org.devio.rn.splashscreen:navigationMode
*/
public static int ActionBar_navigationMode = 2;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#popupTheme}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:popupTheme
*/
public static int ActionBar_popupTheme = 25;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#progressBarPadding}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:progressBarPadding
*/
public static int ActionBar_progressBarPadding = 17;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#progressBarStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:progressBarStyle
*/
public static int ActionBar_progressBarStyle = 15;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#subtitle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:subtitle
*/
public static int ActionBar_subtitle = 4;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#subtitleTextStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:subtitleTextStyle
*/
public static int ActionBar_subtitleTextStyle = 6;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#title}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:title
*/
public static int ActionBar_title = 1;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#titleTextStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:titleTextStyle
*/
public static int ActionBar_titleTextStyle = 5;
/** Attributes that can be used with a ActionBarLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionBarLayout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
</table>
@see #ActionBarLayout_android_layout_gravity
*/
public static final int[] ActionBarLayout = {
0x010100b3
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #ActionBarLayout} array.
@attr name android:layout_gravity
*/
public static int ActionBarLayout_android_layout_gravity = 0;
/** Attributes that can be used with a ActionMenuItemView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionMenuItemView_android_minWidth android:minWidth}</code></td><td></td></tr>
</table>
@see #ActionMenuItemView_android_minWidth
*/
public static final int[] ActionMenuItemView = {
0x0101013f
};
/**
<p>This symbol is the offset where the {@link android.R.attr#minWidth}
attribute's value can be found in the {@link #ActionMenuItemView} array.
@attr name android:minWidth
*/
public static int ActionMenuItemView_android_minWidth = 0;
/** Attributes that can be used with a ActionMenuView.
*/
public static final int[] ActionMenuView = {
};
/** Attributes that can be used with a ActionMode.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionMode_background org.devio.rn.splashscreen:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_backgroundSplit org.devio.rn.splashscreen:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_closeItemLayout org.devio.rn.splashscreen:closeItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_height org.devio.rn.splashscreen:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_subtitleTextStyle org.devio.rn.splashscreen:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_titleTextStyle org.devio.rn.splashscreen:titleTextStyle}</code></td><td></td></tr>
</table>
@see #ActionMode_background
@see #ActionMode_backgroundSplit
@see #ActionMode_closeItemLayout
@see #ActionMode_height
@see #ActionMode_subtitleTextStyle
@see #ActionMode_titleTextStyle
*/
public static final int[] ActionMode = {
0x7f010001, 0x7f010007, 0x7f010008, 0x7f01000c,
0x7f01000e, 0x7f01001c
};
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#background}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:background
*/
public static int ActionMode_background = 3;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#backgroundSplit}
attribute's value can be found in the {@link #ActionMode} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name org.devio.rn.splashscreen:backgroundSplit
*/
public static int ActionMode_backgroundSplit = 4;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#closeItemLayout}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:closeItemLayout
*/
public static int ActionMode_closeItemLayout = 5;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#height}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:height
*/
public static int ActionMode_height = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#subtitleTextStyle}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:subtitleTextStyle
*/
public static int ActionMode_subtitleTextStyle = 2;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#titleTextStyle}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:titleTextStyle
*/
public static int ActionMode_titleTextStyle = 1;
/** Attributes that can be used with a ActivityChooserView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActivityChooserView_expandActivityOverflowButtonDrawable org.devio.rn.splashscreen:expandActivityOverflowButtonDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #ActivityChooserView_initialActivityCount org.devio.rn.splashscreen:initialActivityCount}</code></td><td></td></tr>
</table>
@see #ActivityChooserView_expandActivityOverflowButtonDrawable
@see #ActivityChooserView_initialActivityCount
*/
public static final int[] ActivityChooserView = {
0x7f01001d, 0x7f01001e
};
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#expandActivityOverflowButtonDrawable}
attribute's value can be found in the {@link #ActivityChooserView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:expandActivityOverflowButtonDrawable
*/
public static int ActivityChooserView_expandActivityOverflowButtonDrawable = 1;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#initialActivityCount}
attribute's value can be found in the {@link #ActivityChooserView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:initialActivityCount
*/
public static int ActivityChooserView_initialActivityCount = 0;
/** Attributes that can be used with a AlertDialog.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AlertDialog_android_layout android:layout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_buttonPanelSideLayout org.devio.rn.splashscreen:buttonPanelSideLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_listItemLayout org.devio.rn.splashscreen:listItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_listLayout org.devio.rn.splashscreen:listLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_multiChoiceItemLayout org.devio.rn.splashscreen:multiChoiceItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_singleChoiceItemLayout org.devio.rn.splashscreen:singleChoiceItemLayout}</code></td><td></td></tr>
</table>
@see #AlertDialog_android_layout
@see #AlertDialog_buttonPanelSideLayout
@see #AlertDialog_listItemLayout
@see #AlertDialog_listLayout
@see #AlertDialog_multiChoiceItemLayout
@see #AlertDialog_singleChoiceItemLayout
*/
public static final int[] AlertDialog = {
0x010100f2, 0x7f01001f, 0x7f010020, 0x7f010021,
0x7f010022, 0x7f010023
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #AlertDialog} array.
@attr name android:layout
*/
public static int AlertDialog_android_layout = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#buttonPanelSideLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:buttonPanelSideLayout
*/
public static int AlertDialog_buttonPanelSideLayout = 1;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#listItemLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:listItemLayout
*/
public static int AlertDialog_listItemLayout = 5;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#listLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:listLayout
*/
public static int AlertDialog_listLayout = 2;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#multiChoiceItemLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:multiChoiceItemLayout
*/
public static int AlertDialog_multiChoiceItemLayout = 3;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#singleChoiceItemLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:singleChoiceItemLayout
*/
public static int AlertDialog_singleChoiceItemLayout = 4;
/** Attributes that can be used with a AppCompatImageView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AppCompatImageView_android_src android:src}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatImageView_srcCompat org.devio.rn.splashscreen:srcCompat}</code></td><td></td></tr>
</table>
@see #AppCompatImageView_android_src
@see #AppCompatImageView_srcCompat
*/
public static final int[] AppCompatImageView = {
0x01010119, 0x7f010024
};
/**
<p>This symbol is the offset where the {@link android.R.attr#src}
attribute's value can be found in the {@link #AppCompatImageView} array.
@attr name android:src
*/
public static int AppCompatImageView_android_src = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#srcCompat}
attribute's value can be found in the {@link #AppCompatImageView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:srcCompat
*/
public static 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 org.devio.rn.splashscreen:textAllCaps}</code></td><td></td></tr>
</table>
@see #AppCompatTextView_android_textAppearance
@see #AppCompatTextView_textAllCaps
*/
public static final int[] AppCompatTextView = {
0x01010034, 0x7f010025
};
/**
<p>This symbol is the offset where the {@link android.R.attr#textAppearance}
attribute's value can be found in the {@link #AppCompatTextView} array.
@attr name android:textAppearance
*/
public static int AppCompatTextView_android_textAppearance = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#textAllCaps}
attribute's value can be found in the {@link #AppCompatTextView} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
@attr name org.devio.rn.splashscreen:textAllCaps
*/
public static 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_actionBarDivider org.devio.rn.splashscreen:actionBarDivider}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarItemBackground org.devio.rn.splashscreen:actionBarItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarPopupTheme org.devio.rn.splashscreen:actionBarPopupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarSize org.devio.rn.splashscreen:actionBarSize}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarSplitStyle org.devio.rn.splashscreen:actionBarSplitStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarStyle org.devio.rn.splashscreen:actionBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTabBarStyle org.devio.rn.splashscreen:actionBarTabBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTabStyle org.devio.rn.splashscreen:actionBarTabStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTabTextStyle org.devio.rn.splashscreen:actionBarTabTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTheme org.devio.rn.splashscreen:actionBarTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarWidgetTheme org.devio.rn.splashscreen:actionBarWidgetTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionButtonStyle org.devio.rn.splashscreen:actionButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionDropDownStyle org.devio.rn.splashscreen:actionDropDownStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionMenuTextAppearance org.devio.rn.splashscreen:actionMenuTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionMenuTextColor org.devio.rn.splashscreen:actionMenuTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeBackground org.devio.rn.splashscreen:actionModeBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCloseButtonStyle org.devio.rn.splashscreen:actionModeCloseButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCloseDrawable org.devio.rn.splashscreen:actionModeCloseDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCopyDrawable org.devio.rn.splashscreen:actionModeCopyDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCutDrawable org.devio.rn.splashscreen:actionModeCutDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeFindDrawable org.devio.rn.splashscreen:actionModeFindDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModePasteDrawable org.devio.rn.splashscreen:actionModePasteDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModePopupWindowStyle org.devio.rn.splashscreen:actionModePopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeSelectAllDrawable org.devio.rn.splashscreen:actionModeSelectAllDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeShareDrawable org.devio.rn.splashscreen:actionModeShareDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeSplitBackground org.devio.rn.splashscreen:actionModeSplitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeStyle org.devio.rn.splashscreen:actionModeStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeWebSearchDrawable org.devio.rn.splashscreen:actionModeWebSearchDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionOverflowButtonStyle org.devio.rn.splashscreen:actionOverflowButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionOverflowMenuStyle org.devio.rn.splashscreen:actionOverflowMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_activityChooserViewStyle org.devio.rn.splashscreen:activityChooserViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogButtonGroupStyle org.devio.rn.splashscreen:alertDialogButtonGroupStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogCenterButtons org.devio.rn.splashscreen:alertDialogCenterButtons}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogStyle org.devio.rn.splashscreen:alertDialogStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogTheme org.devio.rn.splashscreen:alertDialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_android_windowIsFloating android:windowIsFloating}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_autoCompleteTextViewStyle org.devio.rn.splashscreen:autoCompleteTextViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_borderlessButtonStyle org.devio.rn.splashscreen:borderlessButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarButtonStyle org.devio.rn.splashscreen:buttonBarButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarNegativeButtonStyle org.devio.rn.splashscreen:buttonBarNegativeButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarNeutralButtonStyle org.devio.rn.splashscreen:buttonBarNeutralButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarPositiveButtonStyle org.devio.rn.splashscreen:buttonBarPositiveButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarStyle org.devio.rn.splashscreen:buttonBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonStyle org.devio.rn.splashscreen:buttonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonStyleSmall org.devio.rn.splashscreen:buttonStyleSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_checkboxStyle org.devio.rn.splashscreen:checkboxStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_checkedTextViewStyle org.devio.rn.splashscreen:checkedTextViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorAccent org.devio.rn.splashscreen:colorAccent}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorButtonNormal org.devio.rn.splashscreen:colorButtonNormal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorControlActivated org.devio.rn.splashscreen:colorControlActivated}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorControlHighlight org.devio.rn.splashscreen:colorControlHighlight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorControlNormal org.devio.rn.splashscreen:colorControlNormal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorPrimary org.devio.rn.splashscreen:colorPrimary}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorPrimaryDark org.devio.rn.splashscreen:colorPrimaryDark}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorSwitchThumbNormal org.devio.rn.splashscreen:colorSwitchThumbNormal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_controlBackground org.devio.rn.splashscreen:controlBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dialogPreferredPadding org.devio.rn.splashscreen:dialogPreferredPadding}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dialogTheme org.devio.rn.splashscreen:dialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dividerHorizontal org.devio.rn.splashscreen:dividerHorizontal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dividerVertical org.devio.rn.splashscreen:dividerVertical}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dropDownListViewStyle org.devio.rn.splashscreen:dropDownListViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dropdownListPreferredItemHeight org.devio.rn.splashscreen:dropdownListPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_editTextBackground org.devio.rn.splashscreen:editTextBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_editTextColor org.devio.rn.splashscreen:editTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_editTextStyle org.devio.rn.splashscreen:editTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_homeAsUpIndicator org.devio.rn.splashscreen:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_imageButtonStyle org.devio.rn.splashscreen:imageButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listChoiceBackgroundIndicator org.devio.rn.splashscreen:listChoiceBackgroundIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listDividerAlertDialog org.devio.rn.splashscreen:listDividerAlertDialog}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPopupWindowStyle org.devio.rn.splashscreen:listPopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemHeight org.devio.rn.splashscreen:listPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightLarge org.devio.rn.splashscreen:listPreferredItemHeightLarge}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightSmall org.devio.rn.splashscreen:listPreferredItemHeightSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingLeft org.devio.rn.splashscreen:listPreferredItemPaddingLeft}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingRight org.devio.rn.splashscreen:listPreferredItemPaddingRight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_panelBackground org.devio.rn.splashscreen:panelBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_panelMenuListTheme org.devio.rn.splashscreen:panelMenuListTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_panelMenuListWidth org.devio.rn.splashscreen:panelMenuListWidth}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_popupMenuStyle org.devio.rn.splashscreen:popupMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_popupWindowStyle org.devio.rn.splashscreen:popupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_radioButtonStyle org.devio.rn.splashscreen:radioButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_ratingBarStyle org.devio.rn.splashscreen:ratingBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_ratingBarStyleIndicator org.devio.rn.splashscreen:ratingBarStyleIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_ratingBarStyleSmall org.devio.rn.splashscreen:ratingBarStyleSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_searchViewStyle org.devio.rn.splashscreen:searchViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_seekBarStyle org.devio.rn.splashscreen:seekBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_selectableItemBackground org.devio.rn.splashscreen:selectableItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_selectableItemBackgroundBorderless org.devio.rn.splashscreen:selectableItemBackgroundBorderless}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_spinnerDropDownItemStyle org.devio.rn.splashscreen:spinnerDropDownItemStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_spinnerStyle org.devio.rn.splashscreen:spinnerStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_switchStyle org.devio.rn.splashscreen:switchStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceLargePopupMenu org.devio.rn.splashscreen:textAppearanceLargePopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceListItem org.devio.rn.splashscreen:textAppearanceListItem}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceListItemSmall org.devio.rn.splashscreen:textAppearanceListItemSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultSubtitle org.devio.rn.splashscreen:textAppearanceSearchResultSubtitle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultTitle org.devio.rn.splashscreen:textAppearanceSearchResultTitle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceSmallPopupMenu org.devio.rn.splashscreen:textAppearanceSmallPopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textColorAlertDialogListItem org.devio.rn.splashscreen:textColorAlertDialogListItem}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textColorSearchUrl org.devio.rn.splashscreen:textColorSearchUrl}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_toolbarNavigationButtonStyle org.devio.rn.splashscreen:toolbarNavigationButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_toolbarStyle org.devio.rn.splashscreen:toolbarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowActionBar org.devio.rn.splashscreen:windowActionBar}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowActionBarOverlay org.devio.rn.splashscreen:windowActionBarOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowActionModeOverlay org.devio.rn.splashscreen:windowActionModeOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedHeightMajor org.devio.rn.splashscreen:windowFixedHeightMajor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedHeightMinor org.devio.rn.splashscreen:windowFixedHeightMinor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedWidthMajor org.devio.rn.splashscreen:windowFixedWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedWidthMinor org.devio.rn.splashscreen:windowFixedWidthMinor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowMinWidthMajor org.devio.rn.splashscreen:windowMinWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowMinWidthMinor org.devio.rn.splashscreen:windowMinWidthMinor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowNoTitle org.devio.rn.splashscreen:windowNoTitle}</code></td><td></td></tr>
</table>
@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_android_windowAnimationStyle
@see #AppCompatTheme_android_windowIsFloating
@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, 0x7f010026, 0x7f010027,
0x7f010028, 0x7f010029, 0x7f01002a, 0x7f01002b,
0x7f01002c, 0x7f01002d, 0x7f01002e, 0x7f01002f,
0x7f010030, 0x7f010031, 0x7f010032, 0x7f010033,
0x7f010034, 0x7f010035, 0x7f010036, 0x7f010037,
0x7f010038, 0x7f010039, 0x7f01003a, 0x7f01003b,
0x7f01003c, 0x7f01003d, 0x7f01003e, 0x7f01003f,
0x7f010040, 0x7f010041, 0x7f010042, 0x7f010043,
0x7f010044, 0x7f010045, 0x7f010046, 0x7f010047,
0x7f010048, 0x7f010049, 0x7f01004a, 0x7f01004b,
0x7f01004c, 0x7f01004d, 0x7f01004e, 0x7f01004f,
0x7f010050, 0x7f010051, 0x7f010052, 0x7f010053,
0x7f010054, 0x7f010055, 0x7f010056, 0x7f010057,
0x7f010058, 0x7f010059, 0x7f01005a, 0x7f01005b,
0x7f01005c, 0x7f01005d, 0x7f01005e, 0x7f01005f,
0x7f010060, 0x7f010061, 0x7f010062, 0x7f010063,
0x7f010064, 0x7f010065, 0x7f010066, 0x7f010067,
0x7f010068, 0x7f010069, 0x7f01006a, 0x7f01006b,
0x7f01006c, 0x7f01006d, 0x7f01006e, 0x7f01006f,
0x7f010070, 0x7f010071, 0x7f010072, 0x7f010073,
0x7f010074, 0x7f010075, 0x7f010076, 0x7f010077,
0x7f010078, 0x7f010079, 0x7f01007a, 0x7f01007b,
0x7f01007c, 0x7f01007d, 0x7f01007e, 0x7f01007f,
0x7f010080, 0x7f010081, 0x7f010082, 0x7f010083,
0x7f010084, 0x7f010085, 0x7f010086, 0x7f010087,
0x7f010088, 0x7f010089, 0x7f01008a, 0x7f01008b,
0x7f01008c, 0x7f01008d, 0x7f01008e, 0x7f01008f,
0x7f010090, 0x7f010091, 0x7f010092, 0x7f010093
};
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionBarDivider}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionBarDivider
*/
public static int AppCompatTheme_actionBarDivider = 23;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionBarItemBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionBarItemBackground
*/
public static int AppCompatTheme_actionBarItemBackground = 24;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionBarPopupTheme}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionBarPopupTheme
*/
public static int AppCompatTheme_actionBarPopupTheme = 17;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.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), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>May be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>wrap_content</code></td><td>0</td><td></td></tr>
</table>
@attr name org.devio.rn.splashscreen:actionBarSize
*/
public static int AppCompatTheme_actionBarSize = 22;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionBarSplitStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionBarSplitStyle
*/
public static int AppCompatTheme_actionBarSplitStyle = 19;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionBarStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionBarStyle
*/
public static int AppCompatTheme_actionBarStyle = 18;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionBarTabBarStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionBarTabBarStyle
*/
public static int AppCompatTheme_actionBarTabBarStyle = 13;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionBarTabStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionBarTabStyle
*/
public static int AppCompatTheme_actionBarTabStyle = 12;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionBarTabTextStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionBarTabTextStyle
*/
public static int AppCompatTheme_actionBarTabTextStyle = 14;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionBarTheme}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionBarTheme
*/
public static int AppCompatTheme_actionBarTheme = 20;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionBarWidgetTheme}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionBarWidgetTheme
*/
public static int AppCompatTheme_actionBarWidgetTheme = 21;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionButtonStyle
*/
public static int AppCompatTheme_actionButtonStyle = 49;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionDropDownStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionDropDownStyle
*/
public static int AppCompatTheme_actionDropDownStyle = 45;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionMenuTextAppearance}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionMenuTextAppearance
*/
public static int AppCompatTheme_actionMenuTextAppearance = 25;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.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 to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name org.devio.rn.splashscreen:actionMenuTextColor
*/
public static int AppCompatTheme_actionMenuTextColor = 26;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModeBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModeBackground
*/
public static int AppCompatTheme_actionModeBackground = 29;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModeCloseButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModeCloseButtonStyle
*/
public static int AppCompatTheme_actionModeCloseButtonStyle = 28;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModeCloseDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModeCloseDrawable
*/
public static int AppCompatTheme_actionModeCloseDrawable = 31;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModeCopyDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModeCopyDrawable
*/
public static int AppCompatTheme_actionModeCopyDrawable = 33;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModeCutDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModeCutDrawable
*/
public static int AppCompatTheme_actionModeCutDrawable = 32;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModeFindDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModeFindDrawable
*/
public static int AppCompatTheme_actionModeFindDrawable = 37;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModePasteDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModePasteDrawable
*/
public static int AppCompatTheme_actionModePasteDrawable = 34;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModePopupWindowStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModePopupWindowStyle
*/
public static int AppCompatTheme_actionModePopupWindowStyle = 39;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModeSelectAllDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModeSelectAllDrawable
*/
public static int AppCompatTheme_actionModeSelectAllDrawable = 35;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModeShareDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModeShareDrawable
*/
public static int AppCompatTheme_actionModeShareDrawable = 36;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModeSplitBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModeSplitBackground
*/
public static int AppCompatTheme_actionModeSplitBackground = 30;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModeStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModeStyle
*/
public static int AppCompatTheme_actionModeStyle = 27;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionModeWebSearchDrawable}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionModeWebSearchDrawable
*/
public static int AppCompatTheme_actionModeWebSearchDrawable = 38;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionOverflowButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionOverflowButtonStyle
*/
public static int AppCompatTheme_actionOverflowButtonStyle = 15;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionOverflowMenuStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionOverflowMenuStyle
*/
public static int AppCompatTheme_actionOverflowMenuStyle = 16;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#activityChooserViewStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:activityChooserViewStyle
*/
public static int AppCompatTheme_activityChooserViewStyle = 57;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#alertDialogButtonGroupStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:alertDialogButtonGroupStyle
*/
public static int AppCompatTheme_alertDialogButtonGroupStyle = 92;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#alertDialogCenterButtons}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:alertDialogCenterButtons
*/
public static int AppCompatTheme_alertDialogCenterButtons = 93;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#alertDialogStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:alertDialogStyle
*/
public static int AppCompatTheme_alertDialogStyle = 91;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#alertDialogTheme}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:alertDialogTheme
*/
public static int AppCompatTheme_alertDialogTheme = 94;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
@attr name android:windowAnimationStyle
*/
public static int AppCompatTheme_android_windowAnimationStyle = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowIsFloating}
attribute's value can be found in the {@link #AppCompatTheme} array.
@attr name android:windowIsFloating
*/
public static int AppCompatTheme_android_windowIsFloating = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#autoCompleteTextViewStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:autoCompleteTextViewStyle
*/
public static int AppCompatTheme_autoCompleteTextViewStyle = 99;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#borderlessButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:borderlessButtonStyle
*/
public static int AppCompatTheme_borderlessButtonStyle = 54;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#buttonBarButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:buttonBarButtonStyle
*/
public static int AppCompatTheme_buttonBarButtonStyle = 51;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#buttonBarNegativeButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:buttonBarNegativeButtonStyle
*/
public static int AppCompatTheme_buttonBarNegativeButtonStyle = 97;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#buttonBarNeutralButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:buttonBarNeutralButtonStyle
*/
public static int AppCompatTheme_buttonBarNeutralButtonStyle = 98;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#buttonBarPositiveButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:buttonBarPositiveButtonStyle
*/
public static int AppCompatTheme_buttonBarPositiveButtonStyle = 96;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#buttonBarStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:buttonBarStyle
*/
public static int AppCompatTheme_buttonBarStyle = 50;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#buttonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:buttonStyle
*/
public static int AppCompatTheme_buttonStyle = 100;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#buttonStyleSmall}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:buttonStyleSmall
*/
public static int AppCompatTheme_buttonStyleSmall = 101;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#checkboxStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:checkboxStyle
*/
public static int AppCompatTheme_checkboxStyle = 102;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#checkedTextViewStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:checkedTextViewStyle
*/
public static int AppCompatTheme_checkedTextViewStyle = 103;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#colorAccent}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:colorAccent
*/
public static int AppCompatTheme_colorAccent = 84;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#colorButtonNormal}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:colorButtonNormal
*/
public static int AppCompatTheme_colorButtonNormal = 88;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#colorControlActivated}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:colorControlActivated
*/
public static int AppCompatTheme_colorControlActivated = 86;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#colorControlHighlight}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:colorControlHighlight
*/
public static int AppCompatTheme_colorControlHighlight = 87;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#colorControlNormal}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:colorControlNormal
*/
public static int AppCompatTheme_colorControlNormal = 85;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#colorPrimary}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:colorPrimary
*/
public static int AppCompatTheme_colorPrimary = 82;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#colorPrimaryDark}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:colorPrimaryDark
*/
public static int AppCompatTheme_colorPrimaryDark = 83;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#colorSwitchThumbNormal}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:colorSwitchThumbNormal
*/
public static int AppCompatTheme_colorSwitchThumbNormal = 89;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#controlBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:controlBackground
*/
public static int AppCompatTheme_controlBackground = 90;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#dialogPreferredPadding}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:dialogPreferredPadding
*/
public static int AppCompatTheme_dialogPreferredPadding = 43;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#dialogTheme}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:dialogTheme
*/
public static int AppCompatTheme_dialogTheme = 42;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#dividerHorizontal}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:dividerHorizontal
*/
public static int AppCompatTheme_dividerHorizontal = 56;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#dividerVertical}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:dividerVertical
*/
public static int AppCompatTheme_dividerVertical = 55;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#dropDownListViewStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:dropDownListViewStyle
*/
public static int AppCompatTheme_dropDownListViewStyle = 74;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#dropdownListPreferredItemHeight}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:dropdownListPreferredItemHeight
*/
public static int AppCompatTheme_dropdownListPreferredItemHeight = 46;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#editTextBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:editTextBackground
*/
public static int AppCompatTheme_editTextBackground = 63;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.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 to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name org.devio.rn.splashscreen:editTextColor
*/
public static int AppCompatTheme_editTextColor = 62;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#editTextStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:editTextStyle
*/
public static int AppCompatTheme_editTextStyle = 104;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#homeAsUpIndicator}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:homeAsUpIndicator
*/
public static int AppCompatTheme_homeAsUpIndicator = 48;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#imageButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:imageButtonStyle
*/
public static int AppCompatTheme_imageButtonStyle = 64;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#listChoiceBackgroundIndicator}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:listChoiceBackgroundIndicator
*/
public static int AppCompatTheme_listChoiceBackgroundIndicator = 81;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#listDividerAlertDialog}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:listDividerAlertDialog
*/
public static int AppCompatTheme_listDividerAlertDialog = 44;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#listPopupWindowStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:listPopupWindowStyle
*/
public static int AppCompatTheme_listPopupWindowStyle = 75;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#listPreferredItemHeight}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:listPreferredItemHeight
*/
public static int AppCompatTheme_listPreferredItemHeight = 69;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#listPreferredItemHeightLarge}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:listPreferredItemHeightLarge
*/
public static int AppCompatTheme_listPreferredItemHeightLarge = 71;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#listPreferredItemHeightSmall}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:listPreferredItemHeightSmall
*/
public static int AppCompatTheme_listPreferredItemHeightSmall = 70;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#listPreferredItemPaddingLeft}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:listPreferredItemPaddingLeft
*/
public static int AppCompatTheme_listPreferredItemPaddingLeft = 72;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#listPreferredItemPaddingRight}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:listPreferredItemPaddingRight
*/
public static int AppCompatTheme_listPreferredItemPaddingRight = 73;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#panelBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:panelBackground
*/
public static int AppCompatTheme_panelBackground = 78;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#panelMenuListTheme}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:panelMenuListTheme
*/
public static int AppCompatTheme_panelMenuListTheme = 80;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#panelMenuListWidth}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:panelMenuListWidth
*/
public static int AppCompatTheme_panelMenuListWidth = 79;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#popupMenuStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:popupMenuStyle
*/
public static int AppCompatTheme_popupMenuStyle = 60;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#popupWindowStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:popupWindowStyle
*/
public static int AppCompatTheme_popupWindowStyle = 61;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#radioButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:radioButtonStyle
*/
public static int AppCompatTheme_radioButtonStyle = 105;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#ratingBarStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:ratingBarStyle
*/
public static int AppCompatTheme_ratingBarStyle = 106;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#ratingBarStyleIndicator}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:ratingBarStyleIndicator
*/
public static int AppCompatTheme_ratingBarStyleIndicator = 107;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#ratingBarStyleSmall}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:ratingBarStyleSmall
*/
public static int AppCompatTheme_ratingBarStyleSmall = 108;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#searchViewStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:searchViewStyle
*/
public static int AppCompatTheme_searchViewStyle = 68;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#seekBarStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:seekBarStyle
*/
public static int AppCompatTheme_seekBarStyle = 109;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#selectableItemBackground}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:selectableItemBackground
*/
public static int AppCompatTheme_selectableItemBackground = 52;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#selectableItemBackgroundBorderless}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:selectableItemBackgroundBorderless
*/
public static int AppCompatTheme_selectableItemBackgroundBorderless = 53;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#spinnerDropDownItemStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:spinnerDropDownItemStyle
*/
public static int AppCompatTheme_spinnerDropDownItemStyle = 47;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#spinnerStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:spinnerStyle
*/
public static int AppCompatTheme_spinnerStyle = 110;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#switchStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:switchStyle
*/
public static int AppCompatTheme_switchStyle = 111;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#textAppearanceLargePopupMenu}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:textAppearanceLargePopupMenu
*/
public static int AppCompatTheme_textAppearanceLargePopupMenu = 40;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#textAppearanceListItem}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:textAppearanceListItem
*/
public static int AppCompatTheme_textAppearanceListItem = 76;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#textAppearanceListItemSmall}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:textAppearanceListItemSmall
*/
public static int AppCompatTheme_textAppearanceListItemSmall = 77;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#textAppearanceSearchResultSubtitle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:textAppearanceSearchResultSubtitle
*/
public static int AppCompatTheme_textAppearanceSearchResultSubtitle = 66;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#textAppearanceSearchResultTitle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:textAppearanceSearchResultTitle
*/
public static int AppCompatTheme_textAppearanceSearchResultTitle = 65;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#textAppearanceSmallPopupMenu}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:textAppearanceSmallPopupMenu
*/
public static int AppCompatTheme_textAppearanceSmallPopupMenu = 41;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.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 to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name org.devio.rn.splashscreen:textColorAlertDialogListItem
*/
public static int AppCompatTheme_textColorAlertDialogListItem = 95;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.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 to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name org.devio.rn.splashscreen:textColorSearchUrl
*/
public static int AppCompatTheme_textColorSearchUrl = 67;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#toolbarNavigationButtonStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:toolbarNavigationButtonStyle
*/
public static int AppCompatTheme_toolbarNavigationButtonStyle = 59;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#toolbarStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:toolbarStyle
*/
public static int AppCompatTheme_toolbarStyle = 58;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#windowActionBar}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:windowActionBar
*/
public static int AppCompatTheme_windowActionBar = 2;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#windowActionBarOverlay}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:windowActionBarOverlay
*/
public static int AppCompatTheme_windowActionBarOverlay = 4;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#windowActionModeOverlay}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:windowActionModeOverlay
*/
public static int AppCompatTheme_windowActionModeOverlay = 5;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.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), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:windowFixedHeightMajor
*/
public static int AppCompatTheme_windowFixedHeightMajor = 9;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.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), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:windowFixedHeightMinor
*/
public static int AppCompatTheme_windowFixedHeightMinor = 7;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.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), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:windowFixedWidthMajor
*/
public static int AppCompatTheme_windowFixedWidthMajor = 6;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.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), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:windowFixedWidthMinor
*/
public static int AppCompatTheme_windowFixedWidthMinor = 8;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.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), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:windowMinWidthMajor
*/
public static int AppCompatTheme_windowMinWidthMajor = 10;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.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), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:windowMinWidthMinor
*/
public static int AppCompatTheme_windowMinWidthMinor = 11;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#windowNoTitle}
attribute's value can be found in the {@link #AppCompatTheme} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:windowNoTitle
*/
public static int AppCompatTheme_windowNoTitle = 3;
/** Attributes that can be used with a ButtonBarLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ButtonBarLayout_allowStacking org.devio.rn.splashscreen:allowStacking}</code></td><td></td></tr>
</table>
@see #ButtonBarLayout_allowStacking
*/
public static final int[] ButtonBarLayout = {
0x7f010094
};
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#allowStacking}
attribute's value can be found in the {@link #ButtonBarLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:allowStacking
*/
public static 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 org.devio.rn.splashscreen:buttonTint}</code></td><td></td></tr>
<tr><td><code>{@link #CompoundButton_buttonTintMode org.devio.rn.splashscreen:buttonTintMode}</code></td><td></td></tr>
</table>
@see #CompoundButton_android_button
@see #CompoundButton_buttonTint
@see #CompoundButton_buttonTintMode
*/
public static final int[] CompoundButton = {
0x01010107, 0x7f010095, 0x7f010096
};
/**
<p>This symbol is the offset where the {@link android.R.attr#button}
attribute's value can be found in the {@link #CompoundButton} array.
@attr name android:button
*/
public static int CompoundButton_android_button = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#buttonTint}
attribute's value can be found in the {@link #CompoundButton} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:buttonTint
*/
public static int CompoundButton_buttonTint = 1;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#buttonTintMode}
attribute's value can be found in the {@link #CompoundButton} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name org.devio.rn.splashscreen:buttonTintMode
*/
public static 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 org.devio.rn.splashscreen:arrowHeadLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_arrowShaftLength org.devio.rn.splashscreen:arrowShaftLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_barLength org.devio.rn.splashscreen:barLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_color org.devio.rn.splashscreen:color}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_drawableSize org.devio.rn.splashscreen:drawableSize}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars org.devio.rn.splashscreen:gapBetweenBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_spinBars org.devio.rn.splashscreen:spinBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_thickness org.devio.rn.splashscreen: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 = {
0x7f010097, 0x7f010098, 0x7f010099, 0x7f01009a,
0x7f01009b, 0x7f01009c, 0x7f01009d, 0x7f01009e
};
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#arrowHeadLength}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:arrowHeadLength
*/
public static int DrawerArrowToggle_arrowHeadLength = 4;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#arrowShaftLength}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:arrowShaftLength
*/
public static int DrawerArrowToggle_arrowShaftLength = 5;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#barLength}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:barLength
*/
public static int DrawerArrowToggle_barLength = 6;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#color}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:color
*/
public static int DrawerArrowToggle_color = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#drawableSize}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:drawableSize
*/
public static int DrawerArrowToggle_drawableSize = 2;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#gapBetweenBars}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:gapBetweenBars
*/
public static int DrawerArrowToggle_gapBetweenBars = 3;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#spinBars}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:spinBars
*/
public static int DrawerArrowToggle_spinBars = 1;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#thickness}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:thickness
*/
public static int DrawerArrowToggle_thickness = 7;
/** Attributes that can be used with a GenericDraweeHierarchy.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_actualImageScaleType org.devio.rn.splashscreen:actualImageScaleType}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_backgroundImage org.devio.rn.splashscreen:backgroundImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_fadeDuration org.devio.rn.splashscreen:fadeDuration}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_failureImage org.devio.rn.splashscreen:failureImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_failureImageScaleType org.devio.rn.splashscreen:failureImageScaleType}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_overlayImage org.devio.rn.splashscreen:overlayImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_placeholderImage org.devio.rn.splashscreen:placeholderImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_placeholderImageScaleType org.devio.rn.splashscreen:placeholderImageScaleType}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_pressedStateOverlayImage org.devio.rn.splashscreen:pressedStateOverlayImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_progressBarAutoRotateInterval org.devio.rn.splashscreen:progressBarAutoRotateInterval}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_progressBarImage org.devio.rn.splashscreen:progressBarImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_progressBarImageScaleType org.devio.rn.splashscreen:progressBarImageScaleType}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_retryImage org.devio.rn.splashscreen:retryImage}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_retryImageScaleType org.devio.rn.splashscreen:retryImageScaleType}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundAsCircle org.devio.rn.splashscreen:roundAsCircle}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundBottomLeft org.devio.rn.splashscreen:roundBottomLeft}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundBottomRight org.devio.rn.splashscreen:roundBottomRight}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundTopLeft org.devio.rn.splashscreen:roundTopLeft}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundTopRight org.devio.rn.splashscreen:roundTopRight}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundWithOverlayColor org.devio.rn.splashscreen:roundWithOverlayColor}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundedCornerRadius org.devio.rn.splashscreen:roundedCornerRadius}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundingBorderColor org.devio.rn.splashscreen:roundingBorderColor}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundingBorderPadding org.devio.rn.splashscreen:roundingBorderPadding}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_roundingBorderWidth org.devio.rn.splashscreen:roundingBorderWidth}</code></td><td></td></tr>
<tr><td><code>{@link #GenericDraweeHierarchy_viewAspectRatio org.devio.rn.splashscreen:viewAspectRatio}</code></td><td></td></tr>
</table>
@see #GenericDraweeHierarchy_actualImageScaleType
@see #GenericDraweeHierarchy_backgroundImage
@see #GenericDraweeHierarchy_fadeDuration
@see #GenericDraweeHierarchy_failureImage
@see #GenericDraweeHierarchy_failureImageScaleType
@see #GenericDraweeHierarchy_overlayImage
@see #GenericDraweeHierarchy_placeholderImage
@see #GenericDraweeHierarchy_placeholderImageScaleType
@see #GenericDraweeHierarchy_pressedStateOverlayImage
@see #GenericDraweeHierarchy_progressBarAutoRotateInterval
@see #GenericDraweeHierarchy_progressBarImage
@see #GenericDraweeHierarchy_progressBarImageScaleType
@see #GenericDraweeHierarchy_retryImage
@see #GenericDraweeHierarchy_retryImageScaleType
@see #GenericDraweeHierarchy_roundAsCircle
@see #GenericDraweeHierarchy_roundBottomLeft
@see #GenericDraweeHierarchy_roundBottomRight
@see #GenericDraweeHierarchy_roundTopLeft
@see #GenericDraweeHierarchy_roundTopRight
@see #GenericDraweeHierarchy_roundWithOverlayColor
@see #GenericDraweeHierarchy_roundedCornerRadius
@see #GenericDraweeHierarchy_roundingBorderColor
@see #GenericDraweeHierarchy_roundingBorderPadding
@see #GenericDraweeHierarchy_roundingBorderWidth
@see #GenericDraweeHierarchy_viewAspectRatio
*/
public static final int[] GenericDraweeHierarchy = {
0x7f01009f, 0x7f0100a0, 0x7f0100a1, 0x7f0100a2,
0x7f0100a3, 0x7f0100a4, 0x7f0100a5, 0x7f0100a6,
0x7f0100a7, 0x7f0100a8, 0x7f0100a9, 0x7f0100aa,
0x7f0100ab, 0x7f0100ac, 0x7f0100ad, 0x7f0100ae,
0x7f0100af, 0x7f0100b0, 0x7f0100b1, 0x7f0100b2,
0x7f0100b3, 0x7f0100b4, 0x7f0100b5, 0x7f0100b6,
0x7f0100b7
};
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actualImageScaleType}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
@attr name org.devio.rn.splashscreen:actualImageScaleType
*/
public static int GenericDraweeHierarchy_actualImageScaleType = 11;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#backgroundImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:backgroundImage
*/
public static int GenericDraweeHierarchy_backgroundImage = 12;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#fadeDuration}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:fadeDuration
*/
public static int GenericDraweeHierarchy_fadeDuration = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#failureImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:failureImage
*/
public static int GenericDraweeHierarchy_failureImage = 6;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#failureImageScaleType}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
@attr name org.devio.rn.splashscreen:failureImageScaleType
*/
public static int GenericDraweeHierarchy_failureImageScaleType = 7;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#overlayImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:overlayImage
*/
public static int GenericDraweeHierarchy_overlayImage = 13;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#placeholderImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:placeholderImage
*/
public static int GenericDraweeHierarchy_placeholderImage = 2;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#placeholderImageScaleType}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
@attr name org.devio.rn.splashscreen:placeholderImageScaleType
*/
public static int GenericDraweeHierarchy_placeholderImageScaleType = 3;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#pressedStateOverlayImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:pressedStateOverlayImage
*/
public static int GenericDraweeHierarchy_pressedStateOverlayImage = 14;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#progressBarAutoRotateInterval}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:progressBarAutoRotateInterval
*/
public static int GenericDraweeHierarchy_progressBarAutoRotateInterval = 10;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#progressBarImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:progressBarImage
*/
public static int GenericDraweeHierarchy_progressBarImage = 8;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#progressBarImageScaleType}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
@attr name org.devio.rn.splashscreen:progressBarImageScaleType
*/
public static int GenericDraweeHierarchy_progressBarImageScaleType = 9;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#retryImage}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:retryImage
*/
public static int GenericDraweeHierarchy_retryImage = 4;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#retryImageScaleType}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>-1</td><td></td></tr>
<tr><td><code>fitXY</code></td><td>0</td><td></td></tr>
<tr><td><code>fitStart</code></td><td>1</td><td></td></tr>
<tr><td><code>fitCenter</code></td><td>2</td><td></td></tr>
<tr><td><code>fitEnd</code></td><td>3</td><td></td></tr>
<tr><td><code>center</code></td><td>4</td><td></td></tr>
<tr><td><code>centerInside</code></td><td>5</td><td></td></tr>
<tr><td><code>centerCrop</code></td><td>6</td><td></td></tr>
<tr><td><code>focusCrop</code></td><td>7</td><td></td></tr>
</table>
@attr name org.devio.rn.splashscreen:retryImageScaleType
*/
public static int GenericDraweeHierarchy_retryImageScaleType = 5;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#roundAsCircle}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:roundAsCircle
*/
public static int GenericDraweeHierarchy_roundAsCircle = 15;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#roundBottomLeft}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:roundBottomLeft
*/
public static int GenericDraweeHierarchy_roundBottomLeft = 20;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#roundBottomRight}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:roundBottomRight
*/
public static int GenericDraweeHierarchy_roundBottomRight = 19;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#roundTopLeft}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:roundTopLeft
*/
public static int GenericDraweeHierarchy_roundTopLeft = 17;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#roundTopRight}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:roundTopRight
*/
public static int GenericDraweeHierarchy_roundTopRight = 18;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#roundWithOverlayColor}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:roundWithOverlayColor
*/
public static int GenericDraweeHierarchy_roundWithOverlayColor = 21;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#roundedCornerRadius}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:roundedCornerRadius
*/
public static int GenericDraweeHierarchy_roundedCornerRadius = 16;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#roundingBorderColor}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:roundingBorderColor
*/
public static int GenericDraweeHierarchy_roundingBorderColor = 23;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#roundingBorderPadding}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:roundingBorderPadding
*/
public static int GenericDraweeHierarchy_roundingBorderPadding = 24;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#roundingBorderWidth}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:roundingBorderWidth
*/
public static int GenericDraweeHierarchy_roundingBorderWidth = 22;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#viewAspectRatio}
attribute's value can be found in the {@link #GenericDraweeHierarchy} array.
<p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:viewAspectRatio
*/
public static int GenericDraweeHierarchy_viewAspectRatio = 1;
/** Attributes that can be used with a LinearLayoutCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAligned android:baselineAligned}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAlignedChildIndex android:baselineAlignedChildIndex}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_orientation android:orientation}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_weightSum android:weightSum}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_divider org.devio.rn.splashscreen:divider}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_dividerPadding org.devio.rn.splashscreen:dividerPadding}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild org.devio.rn.splashscreen:measureWithLargestChild}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_showDividers org.devio.rn.splashscreen:showDividers}</code></td><td></td></tr>
</table>
@see #LinearLayoutCompat_android_baselineAligned
@see #LinearLayoutCompat_android_baselineAlignedChildIndex
@see #LinearLayoutCompat_android_gravity
@see #LinearLayoutCompat_android_orientation
@see #LinearLayoutCompat_android_weightSum
@see #LinearLayoutCompat_divider
@see #LinearLayoutCompat_dividerPadding
@see #LinearLayoutCompat_measureWithLargestChild
@see #LinearLayoutCompat_showDividers
*/
public static final int[] LinearLayoutCompat = {
0x010100af, 0x010100c4, 0x01010126, 0x01010127,
0x01010128, 0x7f01000b, 0x7f0100b8, 0x7f0100b9,
0x7f0100ba
};
/**
<p>This symbol is the offset where the {@link android.R.attr#baselineAligned}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:baselineAligned
*/
public static int LinearLayoutCompat_android_baselineAligned = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#baselineAlignedChildIndex}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:baselineAlignedChildIndex
*/
public static int LinearLayoutCompat_android_baselineAlignedChildIndex = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:gravity
*/
public static int LinearLayoutCompat_android_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#orientation}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:orientation
*/
public static int LinearLayoutCompat_android_orientation = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#weightSum}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:weightSum
*/
public static int LinearLayoutCompat_android_weightSum = 4;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#divider}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:divider
*/
public static int LinearLayoutCompat_divider = 5;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#dividerPadding}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:dividerPadding
*/
public static int LinearLayoutCompat_dividerPadding = 8;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#measureWithLargestChild}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:measureWithLargestChild
*/
public static int LinearLayoutCompat_measureWithLargestChild = 6;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#showDividers}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>beginning</code></td><td>1</td><td></td></tr>
<tr><td><code>middle</code></td><td>2</td><td></td></tr>
<tr><td><code>end</code></td><td>4</td><td></td></tr>
</table>
@attr name org.devio.rn.splashscreen:showDividers
*/
public static int LinearLayoutCompat_showDividers = 7;
/** Attributes that can be used with a LinearLayoutCompat_Layout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_height android:layout_height}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_weight android:layout_weight}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_width android:layout_width}</code></td><td></td></tr>
</table>
@see #LinearLayoutCompat_Layout_android_layout_gravity
@see #LinearLayoutCompat_Layout_android_layout_height
@see #LinearLayoutCompat_Layout_android_layout_weight
@see #LinearLayoutCompat_Layout_android_layout_width
*/
public static final int[] LinearLayoutCompat_Layout = {
0x010100b3, 0x010100f4, 0x010100f5, 0x01010181
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_gravity
*/
public static int LinearLayoutCompat_Layout_android_layout_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_height}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_height
*/
public static int LinearLayoutCompat_Layout_android_layout_height = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_weight}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_weight
*/
public static int LinearLayoutCompat_Layout_android_layout_weight = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_width}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_width
*/
public static int LinearLayoutCompat_Layout_android_layout_width = 1;
/** Attributes that can be used with a ListPopupWindow.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ListPopupWindow_android_dropDownHorizontalOffset android:dropDownHorizontalOffset}</code></td><td></td></tr>
<tr><td><code>{@link #ListPopupWindow_android_dropDownVerticalOffset android:dropDownVerticalOffset}</code></td><td></td></tr>
</table>
@see #ListPopupWindow_android_dropDownHorizontalOffset
@see #ListPopupWindow_android_dropDownVerticalOffset
*/
public static final int[] ListPopupWindow = {
0x010102ac, 0x010102ad
};
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownHorizontalOffset}
attribute's value can be found in the {@link #ListPopupWindow} array.
@attr name android:dropDownHorizontalOffset
*/
public static int ListPopupWindow_android_dropDownHorizontalOffset = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownVerticalOffset}
attribute's value can be found in the {@link #ListPopupWindow} array.
@attr name android:dropDownVerticalOffset
*/
public static int ListPopupWindow_android_dropDownVerticalOffset = 1;
/** Attributes that can be used with a MenuGroup.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuGroup_android_checkableBehavior android:checkableBehavior}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_enabled android:enabled}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_menuCategory android:menuCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_orderInCategory android:orderInCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_visible android:visible}</code></td><td></td></tr>
</table>
@see #MenuGroup_android_checkableBehavior
@see #MenuGroup_android_enabled
@see #MenuGroup_android_id
@see #MenuGroup_android_menuCategory
@see #MenuGroup_android_orderInCategory
@see #MenuGroup_android_visible
*/
public static final int[] MenuGroup = {
0x0101000e, 0x010100d0, 0x01010194, 0x010101de,
0x010101df, 0x010101e0
};
/**
<p>This symbol is the offset where the {@link android.R.attr#checkableBehavior}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:checkableBehavior
*/
public static int MenuGroup_android_checkableBehavior = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#enabled}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:enabled
*/
public static int MenuGroup_android_enabled = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:id
*/
public static int MenuGroup_android_id = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#menuCategory}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:menuCategory
*/
public static int MenuGroup_android_menuCategory = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#orderInCategory}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:orderInCategory
*/
public static int MenuGroup_android_orderInCategory = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#visible}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:visible
*/
public static int MenuGroup_android_visible = 2;
/** Attributes that can be used with a MenuItem.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuItem_actionLayout org.devio.rn.splashscreen:actionLayout}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionProviderClass org.devio.rn.splashscreen:actionProviderClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionViewClass org.devio.rn.splashscreen:actionViewClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_alphabeticShortcut android:alphabeticShortcut}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_checkable android:checkable}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_checked android:checked}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_enabled android:enabled}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_icon android:icon}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_menuCategory android:menuCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_numericShortcut android:numericShortcut}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_onClick android:onClick}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_orderInCategory android:orderInCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_title android:title}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_titleCondensed android:titleCondensed}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_visible android:visible}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_showAsAction org.devio.rn.splashscreen:showAsAction}</code></td><td></td></tr>
</table>
@see #MenuItem_actionLayout
@see #MenuItem_actionProviderClass
@see #MenuItem_actionViewClass
@see #MenuItem_android_alphabeticShortcut
@see #MenuItem_android_checkable
@see #MenuItem_android_checked
@see #MenuItem_android_enabled
@see #MenuItem_android_icon
@see #MenuItem_android_id
@see #MenuItem_android_menuCategory
@see #MenuItem_android_numericShortcut
@see #MenuItem_android_onClick
@see #MenuItem_android_orderInCategory
@see #MenuItem_android_title
@see #MenuItem_android_titleCondensed
@see #MenuItem_android_visible
@see #MenuItem_showAsAction
*/
public static final int[] MenuItem = {
0x01010002, 0x0101000e, 0x010100d0, 0x01010106,
0x01010194, 0x010101de, 0x010101df, 0x010101e1,
0x010101e2, 0x010101e3, 0x010101e4, 0x010101e5,
0x0101026f, 0x7f0100bb, 0x7f0100bc, 0x7f0100bd,
0x7f0100be
};
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionLayout}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actionLayout
*/
public static int MenuItem_actionLayout = 14;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionProviderClass}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:actionProviderClass
*/
public static int MenuItem_actionProviderClass = 16;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actionViewClass}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:actionViewClass
*/
public static int MenuItem_actionViewClass = 15;
/**
<p>This symbol is the offset where the {@link android.R.attr#alphabeticShortcut}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:alphabeticShortcut
*/
public static int MenuItem_android_alphabeticShortcut = 9;
/**
<p>This symbol is the offset where the {@link android.R.attr#checkable}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:checkable
*/
public static int MenuItem_android_checkable = 11;
/**
<p>This symbol is the offset where the {@link android.R.attr#checked}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:checked
*/
public static int MenuItem_android_checked = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#enabled}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:enabled
*/
public static int MenuItem_android_enabled = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#icon}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:icon
*/
public static int MenuItem_android_icon = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:id
*/
public static int MenuItem_android_id = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#menuCategory}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:menuCategory
*/
public static int MenuItem_android_menuCategory = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#numericShortcut}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:numericShortcut
*/
public static int MenuItem_android_numericShortcut = 10;
/**
<p>This symbol is the offset where the {@link android.R.attr#onClick}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:onClick
*/
public static int MenuItem_android_onClick = 12;
/**
<p>This symbol is the offset where the {@link android.R.attr#orderInCategory}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:orderInCategory
*/
public static int MenuItem_android_orderInCategory = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#title}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:title
*/
public static int MenuItem_android_title = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#titleCondensed}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:titleCondensed
*/
public static int MenuItem_android_titleCondensed = 8;
/**
<p>This symbol is the offset where the {@link android.R.attr#visible}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:visible
*/
public static int MenuItem_android_visible = 4;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#showAsAction}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>never</code></td><td>0</td><td></td></tr>
<tr><td><code>ifRoom</code></td><td>1</td><td></td></tr>
<tr><td><code>always</code></td><td>2</td><td></td></tr>
<tr><td><code>withText</code></td><td>4</td><td></td></tr>
<tr><td><code>collapseActionView</code></td><td>8</td><td></td></tr>
</table>
@attr name org.devio.rn.splashscreen:showAsAction
*/
public static int MenuItem_showAsAction = 13;
/** Attributes that can be used with a MenuView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuView_android_headerBackground android:headerBackground}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_horizontalDivider android:horizontalDivider}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemBackground android:itemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemIconDisabledAlpha android:itemIconDisabledAlpha}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemTextAppearance android:itemTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_verticalDivider android:verticalDivider}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_preserveIconSpacing org.devio.rn.splashscreen:preserveIconSpacing}</code></td><td></td></tr>
</table>
@see #MenuView_android_headerBackground
@see #MenuView_android_horizontalDivider
@see #MenuView_android_itemBackground
@see #MenuView_android_itemIconDisabledAlpha
@see #MenuView_android_itemTextAppearance
@see #MenuView_android_verticalDivider
@see #MenuView_android_windowAnimationStyle
@see #MenuView_preserveIconSpacing
*/
public static final int[] MenuView = {
0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e,
0x0101012f, 0x01010130, 0x01010131, 0x7f0100bf
};
/**
<p>This symbol is the offset where the {@link android.R.attr#headerBackground}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:headerBackground
*/
public static int MenuView_android_headerBackground = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#horizontalDivider}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:horizontalDivider
*/
public static int MenuView_android_horizontalDivider = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemBackground}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemBackground
*/
public static int MenuView_android_itemBackground = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemIconDisabledAlpha}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemIconDisabledAlpha
*/
public static int MenuView_android_itemIconDisabledAlpha = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemTextAppearance}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemTextAppearance
*/
public static int MenuView_android_itemTextAppearance = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#verticalDivider}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:verticalDivider
*/
public static int MenuView_android_verticalDivider = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:windowAnimationStyle
*/
public static int MenuView_android_windowAnimationStyle = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#preserveIconSpacing}
attribute's value can be found in the {@link #MenuView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:preserveIconSpacing
*/
public static 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 org.devio.rn.splashscreen:overlapAnchor}</code></td><td></td></tr>
</table>
@see #PopupWindow_android_popupBackground
@see #PopupWindow_overlapAnchor
*/
public static final int[] PopupWindow = {
0x01010176, 0x7f0100c0
};
/**
<p>This symbol is the offset where the {@link android.R.attr#popupBackground}
attribute's value can be found in the {@link #PopupWindow} array.
@attr name android:popupBackground
*/
public static int PopupWindow_android_popupBackground = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#overlapAnchor}
attribute's value can be found in the {@link #PopupWindow} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:overlapAnchor
*/
public static 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 org.devio.rn.splashscreen:state_above_anchor}</code></td><td></td></tr>
</table>
@see #PopupWindowBackgroundState_state_above_anchor
*/
public static final int[] PopupWindowBackgroundState = {
0x7f0100c1
};
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#state_above_anchor}
attribute's value can be found in the {@link #PopupWindowBackgroundState} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:state_above_anchor
*/
public static int PopupWindowBackgroundState_state_above_anchor = 0;
/** Attributes that can be used with a SearchView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SearchView_android_focusable android:focusable}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_imeOptions android:imeOptions}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_inputType android:inputType}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_maxWidth android:maxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_closeIcon org.devio.rn.splashscreen:closeIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_commitIcon org.devio.rn.splashscreen:commitIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_defaultQueryHint org.devio.rn.splashscreen:defaultQueryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_goIcon org.devio.rn.splashscreen:goIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_iconifiedByDefault org.devio.rn.splashscreen:iconifiedByDefault}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_layout org.devio.rn.splashscreen:layout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryBackground org.devio.rn.splashscreen:queryBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryHint org.devio.rn.splashscreen:queryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchHintIcon org.devio.rn.splashscreen:searchHintIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchIcon org.devio.rn.splashscreen:searchIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_submitBackground org.devio.rn.splashscreen:submitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_suggestionRowLayout org.devio.rn.splashscreen:suggestionRowLayout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_voiceIcon org.devio.rn.splashscreen:voiceIcon}</code></td><td></td></tr>
</table>
@see #SearchView_android_focusable
@see #SearchView_android_imeOptions
@see #SearchView_android_inputType
@see #SearchView_android_maxWidth
@see #SearchView_closeIcon
@see #SearchView_commitIcon
@see #SearchView_defaultQueryHint
@see #SearchView_goIcon
@see #SearchView_iconifiedByDefault
@see #SearchView_layout
@see #SearchView_queryBackground
@see #SearchView_queryHint
@see #SearchView_searchHintIcon
@see #SearchView_searchIcon
@see #SearchView_submitBackground
@see #SearchView_suggestionRowLayout
@see #SearchView_voiceIcon
*/
public static final int[] SearchView = {
0x010100da, 0x0101011f, 0x01010220, 0x01010264,
0x7f0100c2, 0x7f0100c3, 0x7f0100c4, 0x7f0100c5,
0x7f0100c6, 0x7f0100c7, 0x7f0100c8, 0x7f0100c9,
0x7f0100ca, 0x7f0100cb, 0x7f0100cc, 0x7f0100cd,
0x7f0100ce
};
/**
<p>This symbol is the offset where the {@link android.R.attr#focusable}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:focusable
*/
public static int SearchView_android_focusable = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#imeOptions}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:imeOptions
*/
public static int SearchView_android_imeOptions = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#inputType}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:inputType
*/
public static int SearchView_android_inputType = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#maxWidth}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:maxWidth
*/
public static int SearchView_android_maxWidth = 1;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#closeIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:closeIcon
*/
public static int SearchView_closeIcon = 8;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#commitIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:commitIcon
*/
public static int SearchView_commitIcon = 13;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#defaultQueryHint}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:defaultQueryHint
*/
public static int SearchView_defaultQueryHint = 7;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#goIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:goIcon
*/
public static int SearchView_goIcon = 9;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#iconifiedByDefault}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:iconifiedByDefault
*/
public static int SearchView_iconifiedByDefault = 5;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#layout}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:layout
*/
public static int SearchView_layout = 4;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#queryBackground}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:queryBackground
*/
public static int SearchView_queryBackground = 15;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#queryHint}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:queryHint
*/
public static int SearchView_queryHint = 6;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#searchHintIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:searchHintIcon
*/
public static int SearchView_searchHintIcon = 11;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#searchIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:searchIcon
*/
public static int SearchView_searchIcon = 10;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#submitBackground}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:submitBackground
*/
public static int SearchView_submitBackground = 16;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#suggestionRowLayout}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:suggestionRowLayout
*/
public static int SearchView_suggestionRowLayout = 14;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#voiceIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:voiceIcon
*/
public static int SearchView_voiceIcon = 12;
/** Attributes that can be used with a SimpleDraweeView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SimpleDraweeView_actualImageResource org.devio.rn.splashscreen:actualImageResource}</code></td><td></td></tr>
<tr><td><code>{@link #SimpleDraweeView_actualImageUri org.devio.rn.splashscreen:actualImageUri}</code></td><td></td></tr>
</table>
@see #SimpleDraweeView_actualImageResource
@see #SimpleDraweeView_actualImageUri
*/
public static final int[] SimpleDraweeView = {
0x7f0100cf, 0x7f0100d0
};
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actualImageResource}
attribute's value can be found in the {@link #SimpleDraweeView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:actualImageResource
*/
public static int SimpleDraweeView_actualImageResource = 1;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#actualImageUri}
attribute's value can be found in the {@link #SimpleDraweeView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:actualImageUri
*/
public static int SimpleDraweeView_actualImageUri = 0;
/** Attributes that can be used with a Spinner.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #Spinner_android_dropDownWidth android:dropDownWidth}</code></td><td></td></tr>
<tr><td><code>{@link #Spinner_android_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_popupTheme org.devio.rn.splashscreen:popupTheme}</code></td><td></td></tr>
</table>
@see #Spinner_android_dropDownWidth
@see #Spinner_android_entries
@see #Spinner_android_popupBackground
@see #Spinner_android_prompt
@see #Spinner_popupTheme
*/
public static final int[] Spinner = {
0x010100b2, 0x01010176, 0x0101017b, 0x01010262,
0x7f01001b
};
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownWidth}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:dropDownWidth
*/
public static int Spinner_android_dropDownWidth = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#entries}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:entries
*/
public static 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.
@attr name android:popupBackground
*/
public static 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.
@attr name android:prompt
*/
public static int Spinner_android_prompt = 2;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#popupTheme}
attribute's value can be found in the {@link #Spinner} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:popupTheme
*/
public static 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_textOff android:textOff}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_android_textOn android:textOn}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_android_thumb android:thumb}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_showText org.devio.rn.splashscreen:showText}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_splitTrack org.devio.rn.splashscreen:splitTrack}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchMinWidth org.devio.rn.splashscreen:switchMinWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchPadding org.devio.rn.splashscreen:switchPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchTextAppearance org.devio.rn.splashscreen:switchTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_thumbTextPadding org.devio.rn.splashscreen:thumbTextPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_track org.devio.rn.splashscreen:track}</code></td><td></td></tr>
</table>
@see #SwitchCompat_android_textOff
@see #SwitchCompat_android_textOn
@see #SwitchCompat_android_thumb
@see #SwitchCompat_showText
@see #SwitchCompat_splitTrack
@see #SwitchCompat_switchMinWidth
@see #SwitchCompat_switchPadding
@see #SwitchCompat_switchTextAppearance
@see #SwitchCompat_thumbTextPadding
@see #SwitchCompat_track
*/
public static final int[] SwitchCompat = {
0x01010124, 0x01010125, 0x01010142, 0x7f0100d1,
0x7f0100d2, 0x7f0100d3, 0x7f0100d4, 0x7f0100d5,
0x7f0100d6, 0x7f0100d7
};
/**
<p>This symbol is the offset where the {@link android.R.attr#textOff}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:textOff
*/
public static int SwitchCompat_android_textOff = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#textOn}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:textOn
*/
public static int SwitchCompat_android_textOn = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#thumb}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:thumb
*/
public static int SwitchCompat_android_thumb = 2;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#showText}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:showText
*/
public static int SwitchCompat_showText = 9;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#splitTrack}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:splitTrack
*/
public static int SwitchCompat_splitTrack = 8;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#switchMinWidth}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:switchMinWidth
*/
public static int SwitchCompat_switchMinWidth = 6;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#switchPadding}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:switchPadding
*/
public static int SwitchCompat_switchPadding = 7;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#switchTextAppearance}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:switchTextAppearance
*/
public static int SwitchCompat_switchTextAppearance = 5;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#thumbTextPadding}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:thumbTextPadding
*/
public static int SwitchCompat_thumbTextPadding = 4;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#track}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:track
*/
public static int SwitchCompat_track = 3;
/** Attributes that can be used with a TextAppearance.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #TextAppearance_android_shadowColor android:shadowColor}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_shadowDx android:shadowDx}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_shadowDy android:shadowDy}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_shadowRadius android:shadowRadius}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textColor android:textColor}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textSize android:textSize}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textStyle android:textStyle}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_typeface android:typeface}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_textAllCaps org.devio.rn.splashscreen:textAllCaps}</code></td><td></td></tr>
</table>
@see #TextAppearance_android_shadowColor
@see #TextAppearance_android_shadowDx
@see #TextAppearance_android_shadowDy
@see #TextAppearance_android_shadowRadius
@see #TextAppearance_android_textColor
@see #TextAppearance_android_textSize
@see #TextAppearance_android_textStyle
@see #TextAppearance_android_typeface
@see #TextAppearance_textAllCaps
*/
public static final int[] TextAppearance = {
0x01010095, 0x01010096, 0x01010097, 0x01010098,
0x01010161, 0x01010162, 0x01010163, 0x01010164,
0x7f010025
};
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowColor}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowColor
*/
public static int TextAppearance_android_shadowColor = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDx}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowDx
*/
public static int TextAppearance_android_shadowDx = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDy}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowDy
*/
public static int TextAppearance_android_shadowDy = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowRadius}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowRadius
*/
public static int TextAppearance_android_shadowRadius = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#textColor}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textColor
*/
public static int TextAppearance_android_textColor = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#textSize}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textSize
*/
public static int TextAppearance_android_textSize = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#textStyle}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textStyle
*/
public static int TextAppearance_android_textStyle = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#typeface}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:typeface
*/
public static int TextAppearance_android_typeface = 1;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#textAllCaps}
attribute's value can be found in the {@link #TextAppearance} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
@attr name org.devio.rn.splashscreen:textAllCaps
*/
public static int TextAppearance_textAllCaps = 8;
/** Attributes that can be used with a TextStyle.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #TextStyle_android_ellipsize android:ellipsize}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_maxLines android:maxLines}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_shadowColor android:shadowColor}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_shadowDx android:shadowDx}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_shadowDy android:shadowDy}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_shadowRadius android:shadowRadius}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_singleLine android:singleLine}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_textAppearance android:textAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_textColor android:textColor}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_textSize android:textSize}</code></td><td></td></tr>
<tr><td><code>{@link #TextStyle_android_textStyle android:textStyle}</code></td><td></td></tr>
</table>
@see #TextStyle_android_ellipsize
@see #TextStyle_android_maxLines
@see #TextStyle_android_shadowColor
@see #TextStyle_android_shadowDx
@see #TextStyle_android_shadowDy
@see #TextStyle_android_shadowRadius
@see #TextStyle_android_singleLine
@see #TextStyle_android_textAppearance
@see #TextStyle_android_textColor
@see #TextStyle_android_textSize
@see #TextStyle_android_textStyle
*/
public static final int[] TextStyle = {
0x01010034, 0x01010095, 0x01010097, 0x01010098,
0x010100ab, 0x01010153, 0x0101015d, 0x01010161,
0x01010162, 0x01010163, 0x01010164
};
/**
<p>This symbol is the offset where the {@link android.R.attr#ellipsize}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:ellipsize
*/
public static int TextStyle_android_ellipsize = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#maxLines}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:maxLines
*/
public static int TextStyle_android_maxLines = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowColor}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:shadowColor
*/
public static int TextStyle_android_shadowColor = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDx}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:shadowDx
*/
public static int TextStyle_android_shadowDx = 8;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDy}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:shadowDy
*/
public static int TextStyle_android_shadowDy = 9;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowRadius}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:shadowRadius
*/
public static int TextStyle_android_shadowRadius = 10;
/**
<p>This symbol is the offset where the {@link android.R.attr#singleLine}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:singleLine
*/
public static int TextStyle_android_singleLine = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#textAppearance}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:textAppearance
*/
public static int TextStyle_android_textAppearance = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#textColor}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:textColor
*/
public static int TextStyle_android_textColor = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#textSize}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:textSize
*/
public static int TextStyle_android_textSize = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#textStyle}
attribute's value can be found in the {@link #TextStyle} array.
@attr name android:textStyle
*/
public static int TextStyle_android_textStyle = 2;
/** Attributes that can be used with a Toolbar.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #Toolbar_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_android_minHeight android:minHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseContentDescription org.devio.rn.splashscreen:collapseContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseIcon org.devio.rn.splashscreen:collapseIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetEnd org.devio.rn.splashscreen:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetLeft org.devio.rn.splashscreen:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetRight org.devio.rn.splashscreen:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetStart org.devio.rn.splashscreen:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_logo org.devio.rn.splashscreen:logo}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_logoDescription org.devio.rn.splashscreen:logoDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_maxButtonHeight org.devio.rn.splashscreen:maxButtonHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationContentDescription org.devio.rn.splashscreen:navigationContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationIcon org.devio.rn.splashscreen:navigationIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_popupTheme org.devio.rn.splashscreen:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitle org.devio.rn.splashscreen:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextAppearance org.devio.rn.splashscreen:subtitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextColor org.devio.rn.splashscreen:subtitleTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_title org.devio.rn.splashscreen:title}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginBottom org.devio.rn.splashscreen:titleMarginBottom}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginEnd org.devio.rn.splashscreen:titleMarginEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginStart org.devio.rn.splashscreen:titleMarginStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginTop org.devio.rn.splashscreen:titleMarginTop}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMargins org.devio.rn.splashscreen:titleMargins}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextAppearance org.devio.rn.splashscreen:titleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextColor org.devio.rn.splashscreen:titleTextColor}</code></td><td></td></tr>
</table>
@see #Toolbar_android_gravity
@see #Toolbar_android_minHeight
@see #Toolbar_collapseContentDescription
@see #Toolbar_collapseIcon
@see #Toolbar_contentInsetEnd
@see #Toolbar_contentInsetLeft
@see #Toolbar_contentInsetRight
@see #Toolbar_contentInsetStart
@see #Toolbar_logo
@see #Toolbar_logoDescription
@see #Toolbar_maxButtonHeight
@see #Toolbar_navigationContentDescription
@see #Toolbar_navigationIcon
@see #Toolbar_popupTheme
@see #Toolbar_subtitle
@see #Toolbar_subtitleTextAppearance
@see #Toolbar_subtitleTextColor
@see #Toolbar_title
@see #Toolbar_titleMarginBottom
@see #Toolbar_titleMarginEnd
@see #Toolbar_titleMarginStart
@see #Toolbar_titleMarginTop
@see #Toolbar_titleMargins
@see #Toolbar_titleTextAppearance
@see #Toolbar_titleTextColor
*/
public static final int[] Toolbar = {
0x010100af, 0x01010140, 0x7f010003, 0x7f010006,
0x7f01000a, 0x7f010016, 0x7f010017, 0x7f010018,
0x7f010019, 0x7f01001b, 0x7f0100d8, 0x7f0100d9,
0x7f0100da, 0x7f0100db, 0x7f0100dc, 0x7f0100dd,
0x7f0100de, 0x7f0100df, 0x7f0100e0, 0x7f0100e1,
0x7f0100e2, 0x7f0100e3, 0x7f0100e4, 0x7f0100e5,
0x7f0100e6
};
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #Toolbar} array.
@attr name android:gravity
*/
public static int Toolbar_android_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#minHeight}
attribute's value can be found in the {@link #Toolbar} array.
@attr name android:minHeight
*/
public static int Toolbar_android_minHeight = 1;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#collapseContentDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:collapseContentDescription
*/
public static int Toolbar_collapseContentDescription = 19;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#collapseIcon}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:collapseIcon
*/
public static int Toolbar_collapseIcon = 18;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#contentInsetEnd}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:contentInsetEnd
*/
public static int Toolbar_contentInsetEnd = 6;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#contentInsetLeft}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:contentInsetLeft
*/
public static int Toolbar_contentInsetLeft = 7;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#contentInsetRight}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:contentInsetRight
*/
public static int Toolbar_contentInsetRight = 8;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#contentInsetStart}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:contentInsetStart
*/
public static int Toolbar_contentInsetStart = 5;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#logo}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:logo
*/
public static int Toolbar_logo = 4;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#logoDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:logoDescription
*/
public static int Toolbar_logoDescription = 22;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#maxButtonHeight}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:maxButtonHeight
*/
public static int Toolbar_maxButtonHeight = 17;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#navigationContentDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:navigationContentDescription
*/
public static int Toolbar_navigationContentDescription = 21;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#navigationIcon}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:navigationIcon
*/
public static int Toolbar_navigationIcon = 20;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#popupTheme}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:popupTheme
*/
public static int Toolbar_popupTheme = 9;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#subtitle}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:subtitle
*/
public static int Toolbar_subtitle = 3;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#subtitleTextAppearance}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:subtitleTextAppearance
*/
public static int Toolbar_subtitleTextAppearance = 11;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#subtitleTextColor}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:subtitleTextColor
*/
public static int Toolbar_subtitleTextColor = 24;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#title}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:title
*/
public static int Toolbar_title = 2;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#titleMarginBottom}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:titleMarginBottom
*/
public static int Toolbar_titleMarginBottom = 16;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#titleMarginEnd}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:titleMarginEnd
*/
public static int Toolbar_titleMarginEnd = 14;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#titleMarginStart}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:titleMarginStart
*/
public static int Toolbar_titleMarginStart = 13;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#titleMarginTop}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:titleMarginTop
*/
public static int Toolbar_titleMarginTop = 15;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#titleMargins}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:titleMargins
*/
public static int Toolbar_titleMargins = 12;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#titleTextAppearance}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:titleTextAppearance
*/
public static int Toolbar_titleTextAppearance = 10;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#titleTextColor}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:titleTextColor
*/
public static int Toolbar_titleTextColor = 23;
/** Attributes that can be used with a View.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #View_android_focusable android:focusable}</code></td><td></td></tr>
<tr><td><code>{@link #View_android_theme android:theme}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingEnd org.devio.rn.splashscreen:paddingEnd}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingStart org.devio.rn.splashscreen:paddingStart}</code></td><td></td></tr>
<tr><td><code>{@link #View_theme org.devio.rn.splashscreen:theme}</code></td><td></td></tr>
</table>
@see #View_android_focusable
@see #View_android_theme
@see #View_paddingEnd
@see #View_paddingStart
@see #View_theme
*/
public static final int[] View = {
0x01010000, 0x010100da, 0x7f0100e7, 0x7f0100e8,
0x7f0100e9
};
/**
<p>This symbol is the offset where the {@link android.R.attr#focusable}
attribute's value can be found in the {@link #View} array.
@attr name android:focusable
*/
public static int View_android_focusable = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#theme}
attribute's value can be found in the {@link #View} array.
@attr name android:theme
*/
public static int View_android_theme = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#paddingEnd}
attribute's value can be found in the {@link #View} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:paddingEnd
*/
public static int View_paddingEnd = 3;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#paddingStart}
attribute's value can be found in the {@link #View} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:paddingStart
*/
public static int View_paddingStart = 2;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#theme}
attribute's value can be found in the {@link #View} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name org.devio.rn.splashscreen:theme
*/
public static int View_theme = 4;
/** Attributes that can be used with a ViewBackgroundHelper.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ViewBackgroundHelper_android_background android:background}</code></td><td></td></tr>
<tr><td><code>{@link #ViewBackgroundHelper_backgroundTint org.devio.rn.splashscreen:backgroundTint}</code></td><td></td></tr>
<tr><td><code>{@link #ViewBackgroundHelper_backgroundTintMode org.devio.rn.splashscreen:backgroundTintMode}</code></td><td></td></tr>
</table>
@see #ViewBackgroundHelper_android_background
@see #ViewBackgroundHelper_backgroundTint
@see #ViewBackgroundHelper_backgroundTintMode
*/
public static final int[] ViewBackgroundHelper = {
0x010100d4, 0x7f0100ea, 0x7f0100eb
};
/**
<p>This symbol is the offset where the {@link android.R.attr#background}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
@attr name android:background
*/
public static int ViewBackgroundHelper_android_background = 0;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#backgroundTint}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name org.devio.rn.splashscreen:backgroundTint
*/
public static int ViewBackgroundHelper_backgroundTint = 1;
/**
<p>This symbol is the offset where the {@link org.devio.rn.splashscreen.R.attr#backgroundTintMode}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name org.devio.rn.splashscreen:backgroundTintMode
*/
public static int ViewBackgroundHelper_backgroundTintMode = 2;
/** Attributes that can be used with a ViewStubCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ViewStubCompat_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #ViewStubCompat_android_inflatedId android:inflatedId}</code></td><td></td></tr>
<tr><td><code>{@link #ViewStubCompat_android_layout android:layout}</code></td><td></td></tr>
</table>
@see #ViewStubCompat_android_id
@see #ViewStubCompat_android_inflatedId
@see #ViewStubCompat_android_layout
*/
public static final int[] ViewStubCompat = {
0x010100d0, 0x010100f2, 0x010100f3
};
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:id
*/
public static int ViewStubCompat_android_id = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#inflatedId}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:inflatedId
*/
public static int ViewStubCompat_android_inflatedId = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:layout
*/
public static int ViewStubCompat_android_layout = 1;
};
}
|
package io.netty.protocol.wamp;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageCodec;
import io.netty.handler.codec.http.websocketx.TextWebSocketFrame;
import io.netty.protocol.wamp.messages.MessageMapper;
import io.netty.protocol.wamp.messages.WampMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.util.List;
public class WampMessageCodec extends MessageToMessageCodec<TextWebSocketFrame, WampMessage> {
private static final Logger logger = LoggerFactory.getLogger(WampMessageCodec.class);
@Override
protected void encode(ChannelHandlerContext ctx, WampMessage msg, List<Object> out) throws Exception {
// TODO: validation
out.add(new TextWebSocketFrame(msg.toJson()));
logger.debug("WampMessage encoded: {}", msg.toString());
}
@Override
protected void decode(ChannelHandlerContext ctx, TextWebSocketFrame msg, List<Object> out) throws Exception {
try {
WampMessage wampMessage;
wampMessage = MessageMapper.fromJson(msg.text());
out.add(wampMessage);
logger.debug("WampMessage decoded: {}", wampMessage.toString());
} catch (IOException e) {
e.printStackTrace();
// TODO: send error message
}
}
}
|
/*
* Copyright 2002-2019 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
*
* 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 org.springframework.test.web.reactive.server;
import java.net.URI;
import java.util.function.Function;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.reactivestreams.Publisher;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.core.publisher.MonoProcessor;
import reactor.core.scheduler.Schedulers;
import org.springframework.core.io.buffer.DataBuffer;
import org.springframework.http.HttpCookie;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.client.reactive.ClientHttpConnector;
import org.springframework.http.client.reactive.ClientHttpRequest;
import org.springframework.http.client.reactive.ClientHttpResponse;
import org.springframework.http.server.reactive.HttpHandler;
import org.springframework.http.server.reactive.HttpHeadResponseDecorator;
import org.springframework.http.server.reactive.ServerHttpRequest;
import org.springframework.http.server.reactive.ServerHttpResponse;
import org.springframework.mock.http.client.reactive.MockClientHttpRequest;
import org.springframework.mock.http.client.reactive.MockClientHttpResponse;
import org.springframework.mock.http.server.reactive.MockServerHttpRequest;
import org.springframework.mock.http.server.reactive.MockServerHttpResponse;
import org.springframework.util.Assert;
import org.springframework.util.MultiValueMap;
/**
* Connector that handles requests by invoking an {@link HttpHandler} rather
* than making actual requests to a network socket.
*
* <p>Internally the connector uses and adapts<br>
* {@link MockClientHttpRequest} and {@link MockClientHttpResponse} to<br>
* {@link MockServerHttpRequest} and {@link MockServerHttpResponse}.
*
* @author Rossen Stoyanchev
* @since 5.0
*/
public class HttpHandlerConnector implements ClientHttpConnector {
private static Log logger = LogFactory.getLog(HttpHandlerConnector.class);
private final HttpHandler handler;
/**
* Constructor with the {@link HttpHandler} to handle requests with.
*/
public HttpHandlerConnector(HttpHandler handler) {
Assert.notNull(handler, "HttpHandler is required");
this.handler = handler;
}
@Override
public Mono<ClientHttpResponse> connect(HttpMethod httpMethod, URI uri,
Function<? super ClientHttpRequest, Mono<Void>> requestCallback) {
return Mono.defer(() -> doConnect(httpMethod, uri, requestCallback))
.subscribeOn(Schedulers.parallel());
}
private Mono<ClientHttpResponse> doConnect(
HttpMethod httpMethod, URI uri, Function<? super ClientHttpRequest, Mono<Void>> requestCallback) {
MonoProcessor<ClientHttpResponse> result = MonoProcessor.create();
MockClientHttpRequest mockClientRequest = new MockClientHttpRequest(httpMethod, uri);
MockServerHttpResponse mockServerResponse = new MockServerHttpResponse();
mockClientRequest.setWriteHandler(requestBody -> {
log("Invoking HttpHandler for ", httpMethod, uri);
ServerHttpRequest mockServerRequest = adaptRequest(mockClientRequest, requestBody);
ServerHttpResponse responseToUse = prepareResponse(mockServerResponse, mockServerRequest);
this.handler.handle(mockServerRequest, responseToUse).subscribe(aVoid -> {}, result::onError);
return Mono.empty();
});
mockServerResponse.setWriteHandler(responseBody ->
Mono.fromRunnable(() -> {
log("Creating client response for ", httpMethod, uri);
result.onNext(adaptResponse(mockServerResponse, responseBody));
}));
log("Writing client request for ", httpMethod, uri);
requestCallback.apply(mockClientRequest).subscribe(aVoid -> {}, result::onError);
return result;
}
private void log(String message, HttpMethod httpMethod, URI uri) {
if (logger.isDebugEnabled()) {
logger.debug(String.format("%s %s \"%s\"", message, httpMethod, uri));
}
}
private ServerHttpRequest adaptRequest(MockClientHttpRequest request, Publisher<DataBuffer> body) {
HttpMethod method = request.getMethod();
URI uri = request.getURI();
HttpHeaders headers = request.getHeaders();
MultiValueMap<String, HttpCookie> cookies = request.getCookies();
return MockServerHttpRequest.method(method, uri).headers(headers).cookies(cookies).body(body);
}
private ServerHttpResponse prepareResponse(ServerHttpResponse response, ServerHttpRequest request) {
return (request.getMethod() == HttpMethod.HEAD ? new HttpHeadResponseDecorator(response) : response);
}
private ClientHttpResponse adaptResponse(MockServerHttpResponse response, Flux<DataBuffer> body) {
Integer status = response.getStatusCodeValue();
MockClientHttpResponse clientResponse = new MockClientHttpResponse((status != null) ? status : 200);
clientResponse.getHeaders().putAll(response.getHeaders());
clientResponse.getCookies().putAll(response.getCookies());
clientResponse.setBody(body);
return clientResponse;
}
}
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.functions.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* <p>Place this on a parameter whose value would come from event hub, and causing the method to run when a new event is
* arrived. The parameter type can be one of the following:</p>
*
* <ul>
* <li>Any native Java types such as int, String, byte[]</li>
* <li>Nullable values using Optional<T></li>
* <li>Any POJO type</li>
* </ul>
*
* <p>The following example shows an event hub trigger which logs the message:</p>
*
* <pre>{@literal @}FunctionName("ehprocessor")
* public void eventHubProcessor(
* {@literal @}EventHubTrigger(name = "msg",
* eventHubName = "myeventhubname",
* connection = "myconnvarname") String message,
* final ExecutionContext context
* ) {
* context.getLogger().info(message);
* }</pre>
*
* @since 1.0.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface EventHubTrigger {
/**
* The variable name used in function.json.
* @return The variable name used in function.json.
*/
String name();
/**
* <p>Defines how Functions runtime should treat the parameter value. Possible values are:</p>
* <ul>
* <li>"": get the value as a string, and try to deserialize to actual parameter type like POJO</li>
* <li>string: always get the value as a string</li>
* <li>binary: get the value as a binary data, and try to deserialize to actual parameter type byte[]</li>
* </ul>
* @return The dataType which will be used by the Functions runtime.
*/
String dataType() default "";
/**
* Defines the name of the event hub to which to bind.
* @return The event hub name string.
*/
String eventHubName();
/**
* Defines the consumer group of the event hub to which to bind.
* @return The event hub consumer group string.
*/
String consumerGroup() default "$Default";
/**
* Defines the app setting name that contains the Azure Eventhub connection string.
* @return The app setting name of the connection string.
*/
String connection();
}
|
package com.sun.corba.se.PortableActivationIDL;
/**
* com/sun/corba/se/PortableActivationIDL/InitialNameService.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u202/12323/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activation.idl
* Saturday, December 15, 2018 7:56:49 PM PST
*/
/** Interface used to support binding references in the bootstrap name
* service.
*/
public interface InitialNameService extends InitialNameServiceOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
{
} // interface InitialNameService
|
package me.giskard.dust.runtime;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import me.giskard.GiskardException;
import me.giskard.GiskardUtils;
@SuppressWarnings({ "unchecked", "rawtypes" })
public abstract class DustRuntimeDataCollection<CollectorType> implements DustRuntimeConsts {
protected final CollectorType collector;
protected final DustRuntimeDataBlock owner;
protected final DustRuntimeToken token;
// TODO : access with standard hints like KEY_SIZE
public abstract Object access(DustNotifier notif, MiNDAccessCommand cmd, Object val, Object key);
abstract Iterator getIterator();
public static DustRuntimeDataCollection create(DustRuntimeDataBlock owner, DustRuntimeToken token) {
switch ( token.getCollType() ) {
case Arr:
return new ValArr(owner, token);
case Map:
return new ValMap(owner, token);
case Set:
return (MTMEM_MODEL_ENTITY_TAGS == token) ? new TagManager(owner, token) : new ValSet(owner, token);
default:
return null;
}
}
protected DustRuntimeDataCollection(DustRuntimeDataBlock owner_, DustRuntimeToken token_, CollectorType collector_) {
this.owner = owner_;
this.token = token_;
this.collector = collector_;
}
public static class ValSet extends DustRuntimeDataCollection<Set> {
public ValSet(DustRuntimeDataBlock owner, DustRuntimeToken token) {
super(owner, token, new HashSet());
}
@Override
public Object access(DustNotifier notif, MiNDAccessCommand cmd, Object val, Object key) {
Object ret = null;
switch ( cmd ) {
case Add:
if ( collector.add(val) ) {
ret = true;
notif.notify(cmd, owner.getHandle(), val, val, token, key);
} else {
ret = false;
}
break;
case Chk:
break;
case Del:
break;
case Get:
if ( GiskardUtils.isEqual(KEY_SIZE, key) ) {
return collector.size();
}
break;
case Set:
break;
}
return ret;
}
@Override
Iterator getIterator() {
return collector.iterator();
}
}
public static class ValArr extends DustRuntimeDataCollection<ArrayList> {
public ValArr(DustRuntimeDataBlock owner, DustRuntimeToken token) {
super(owner, token, new ArrayList());
}
@Override
public Object access(DustNotifier notif, MiNDAccessCommand cmd, Object val, Object key) {
Object ret = val;
Integer idx = (Integer) key;
switch ( cmd ) {
case Add:
collector.add(val);
break;
case Chk:
break;
case Del:
break;
case Get:
if ( GiskardUtils.isEqual(KEY_SIZE, key) ) {
return collector.size();
} else if ( idx < collector.size() ) {
ret = collector.get(idx);
}
break;
case Set:
break;
}
return ret;
}
@Override
Iterator getIterator() {
return collector.iterator();
}
}
public static class ValMap extends DustRuntimeDataCollection<Map> {
public ValMap(DustRuntimeDataBlock owner, DustRuntimeToken token) {
super(owner, token, new HashMap());
}
@Override
public Object access(DustNotifier notif, MiNDAccessCommand cmd, Object val, Object key) {
Object ret = val;
switch ( cmd ) {
case Add:
ret = collector.put(key, val);
if ( !GiskardUtils.isEqual(ret, val) ) {
notif.notify(cmd, owner.getHandle(), ret, val, token, key);
}
break;
case Chk:
break;
case Del:
break;
case Get:
ret = GiskardUtils.isEqual(KEY_SIZE, key) ? collector.size() : collector.get(key);
break;
case Set:
collector.clear();
collector.put(key, val);
break;
}
return ret;
}
@Override
Iterator getIterator() {
return collector.entrySet().iterator();
}
}
public static class TagManager extends ValSet {
public TagManager(DustRuntimeDataBlock owner, DustRuntimeToken token) {
super(owner, token);
}
@Override
public Object access(DustNotifier notif, MiNDAccessCommand cmd, Object val, Object key) {
if ( null == val ) {
GiskardException.wrap(null, "invalid access of", token, "missing value!");
}
DustRuntimeToken tok = (DustRuntimeToken) val;
Object ret = val;
DustRuntimeToken p = tok.getParent();
switch ( cmd ) {
case Add:
collector.add(tok);
break;
case Set:
if ( !collector.contains(tok) ) {
if ( null != p ) {
for (Iterator<DustRuntimeToken> it = collector.iterator(); it.hasNext();) {
DustRuntimeToken t = it.next();
if ( p == t.getParent() ) {
it.remove();
}
}
}
collector.add(tok);
}
break;
case Chk:
ret = collector.contains(tok);
break;
case Del:
ret = collector.remove(tok);
break;
case Get:
ret = tok;
if ( null != p ) {
for (DustRuntimeToken t : (Iterable<DustRuntimeToken>) collector) {
if ( p == t.getParent() ) {
ret = t;
break;
}
}
}
break;
}
return ret;
}
}
}
|
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.intel.qat.spark;
/**
* QatCodec compression or decompression error.
*/
public class QatCodecException extends RuntimeException {
private static final long serialVersionUID = 1L;
public QatCodecException(String msg, Throwable t) {
super(msg, t);
}
public QatCodecException(String msg) {
super(msg);
}
public QatCodecException() {
super();
}
}
|
import java.io.*;
import java.net.URL;
import java.security.*;
import java.security.cert.*;
import javax.net.ssl.*;
public class InstallCert {
public static void main(String[] args) throws Exception {
String host;
int port;
char[] passphrase;
if ((args.length == 1) || (args.length == 2)) {
String[] c = args[0].split(":");
host = c[0];
port = (c.length == 1) ? 443 : Integer.parseInt(c[1]);
String p = (args.length == 1) ? "changeit" : args[1];
passphrase = p.toCharArray();
} else {
System.out.println("Usage: java InstallCert <host>[:port] [passphrase]");
return;
}
File file = new File("jssecacerts");
if (file.isFile() == false) {
char SEP = File.separatorChar;
File dir = new File(System.getProperty("java.home") + SEP
+ "lib" + SEP + "security");
file = new File(dir, "jssecacerts");
if (file.isFile() == false) {
file = new File(dir, "cacerts");
}
}
System.out.println("Loading KeyStore " + file + "...");
InputStream in = new FileInputStream(file);
KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
ks.load(in, passphrase);
in.close();
SSLContext context = SSLContext.getInstance("TLS");
TrustManagerFactory tmf =
TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
tmf.init(ks);
X509TrustManager defaultTrustManager = (X509TrustManager)tmf.getTrustManagers()[0];
SavingTrustManager tm = new SavingTrustManager(defaultTrustManager);
context.init(null, new TrustManager[] {tm}, null);
SSLSocketFactory factory = context.getSocketFactory();
System.out.println("Opening connection to " + host + ":" + port + "...");
SSLSocket socket = (SSLSocket)factory.createSocket(host, port);
socket.setSoTimeout(10000);
try {
System.out.println("Starting SSL handshake...");
socket.startHandshake();
socket.close();
System.out.println();
System.out.println("No errors, certificate is already trusted");
} catch (SSLException e) {
System.out.println();
e.printStackTrace(System.out);
}
X509Certificate[] chain = tm.chain;
if (chain == null) {
System.out.println("Could not obtain server certificate chain");
return;
}
BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in));
System.out.println();
System.out.println("Server sent " + chain.length + " certificate(s):");
System.out.println();
MessageDigest sha1 = MessageDigest.getInstance("SHA1");
MessageDigest md5 = MessageDigest.getInstance("MD5");
for (int i = 0; i < chain.length; i++) {
X509Certificate cert = chain[i];
System.out.println
(" " + (i + 1) + " Subject " + cert.getSubjectDN());
System.out.println(" Issuer " + cert.getIssuerDN());
sha1.update(cert.getEncoded());
System.out.println(" sha1 " + toHexString(sha1.digest()));
md5.update(cert.getEncoded());
System.out.println(" md5 " + toHexString(md5.digest()));
System.out.println();
}
System.out.println("Enter certificate to add to trusted keystore or 'q' to quit: [1]");
String line = reader.readLine().trim();
int k;
try {
k = (line.length() == 0) ? 0 : Integer.parseInt(line) - 1;
} catch (NumberFormatException e) {
System.out.println("KeyStore not changed");
return;
}
X509Certificate cert = chain[k];
String alias = host + "-" + (k + 1);
ks.setCertificateEntry(alias, cert);
OutputStream out = new FileOutputStream("jssecacerts");
ks.store(out, passphrase);
out.close();
System.out.println();
System.out.println(cert);
System.out.println();
System.out.println
("Added certificate to keystore 'jssecacerts' using alias '"
+ alias + "'");
}
private static final char[] HEXDIGITS = "0123456789abcdef".toCharArray();
private static String toHexString(byte[] bytes) {
StringBuilder sb = new StringBuilder(bytes.length * 3);
for (int b : bytes) {
b &= 0xff;
sb.append(HEXDIGITS[b >> 4]);
sb.append(HEXDIGITS[b & 15]);
sb.append(' ');
}
return sb.toString();
}
private static class SavingTrustManager implements X509TrustManager {
private final X509TrustManager tm;
private X509Certificate[] chain;
SavingTrustManager(X509TrustManager tm) {
this.tm = tm;
}
public X509Certificate[] getAcceptedIssuers() {
//throw new UnsupportedOperationException();
return new X509Certificate[0];
}
public void checkClientTrusted(X509Certificate[] chain, String authType)
throws CertificateException {
throw new UnsupportedOperationException();
}
public void checkServerTrusted(X509Certificate[] chain, String authType)
throws CertificateException {
this.chain = chain;
tm.checkServerTrusted(chain, authType);
}
}
}
|
package edu.bu.met.cs665.simulator;
import edu.bu.met.cs665.simulator.namingsystem.ChineseNameGenerator;
import org.junit.Test;
public class ChineseNameGeneratorTest {
@Test
public void getName() {
ChineseNameGenerator chineseNameGenerator = new ChineseNameGenerator();
System.out.println(chineseNameGenerator.getName());
}
}
|
class DTwGSG1r {
}
class ewpgFN5IF9Wx {
public static void sZXGn3 (String[] yFEUfWl0EGR__g) {
void[] diQC;
h[] N5GOifymt7S = 368.X9aXM0Nz() = ( true.n7())[ ( new void[ !this.O_8].O)[ --new ULkXOFxWbr2b9()[ -( new HQMP().qE2QMRTvJ).atU()]]];
boolean[][][][] Da2vlC = !!!this[ !960054898.EzK];
boolean[] oyJFwhF4QSEGD;
while ( fUjPG0U()[ -( ( null[ !true.rrbHwX]).MxOGf0st6kF).T9G]) if ( !-!!false.xrxRv()) {
int[][] gZEx179dOei;
}
while ( 354899838.E()) while ( -l2leYJgyGCq()[ this[ !true.ok()]]) -50205.hKRLslueoN();
boolean[][] Z4dhBnm4CkVc = mRiULLFH().W42Rj1oZyJx();
O7O[][] t67O5gEG4rz = !null[ -true[ true[ -( this.oU).x1()]]];
void[][] UOBje = true.bQTLH3bwGkb() = !!new x6Ek().udwzyJY_2();
{
int[][] XUgAiO;
MGWKnm[] ZNVhNhkJ562nX;
if ( ----false.C2JXEnh1()) ;
xe3yw[][][] XyDEcADVH;
int[] PjaTvlmUv9;
return;
{
sDhxn6FWzI1 l4tSgk1eNCg;
}
boolean[][] CWe6YdUwkO;
int[][] CWKnlX9GekN;
while ( !-FOEa6.Oh9OTqfeZN14kX()) !!BeLtZRMDP.IdrNQIefOJCMiK;
if ( new vix()[ new boolean[ !!!!!new zStYof5Eo27[ new qHsS4l1[ true.EHHbIYmRmd].jCJali3vVjY][ !new M91GH3B4F().quec7rAo29wD2()]].jJp]) if ( -new ZXWFXqYewjjr6i()[ 1653.H]) ;
boolean xx15auv3X2;
}
int jlwc0Yvy = 5[ true[ -!--528773278.qkFJqUz]] = -kVPKa7V().fb;
}
public void z07JWaP87J;
}
class fyUtpN {
}
class PvaUG6hKgHby {
}
class ve7NFzulIjBO {
public static void zoudTokQm607 (String[] od) throws tJAYWeccnrzmvq {
zUHI[][][] BM5cZ_mdfVLK1b = new int[ -!!true[ ( false.TqZV4PRDghYTyM).I()]].exxZ4WRqZ() = null[ -Bk0159o4k_8CWM().FN1FDB];
}
public static void dnrgU (String[] i0lQrOB_OR1tas) {
void APofS;
return -new j_LXrAo6()[ new l()[ l.Hz()]];
void[] pwOh;
if ( new lGTTxhy_oV()[ !this.HJyBgpw1Kizt]) if ( this.zlGtd4()) return;
-null.BirJ();
!--false.yarb2F;
while ( false[ true[ new wa9gZwPa2lW()[ this[ --dRdqGMnpt0H5().RPdUn1ON()]]]]) this.ffgtNN7;
}
public void[][] iymPBrEsdm6I;
public static void oCk7Sj (String[] kuntI8) throws tJwxjv {
boolean rco;
boolean hcN = !( !true.kY60Sa12g0()).jgX;
int[] iPN3aSfgu9OVF = ( -!false.B3qgx_NdRz()).vO8RSvl5();
{
{
l[][][] YMjd;
}
uCMTCOArKlfE[] jJ91BAiAFrvK;
rRk4G EH9erHb;
return;
;
}
boolean[][] KZaI1BGC;
;
mR XeVqS = false.WGdwRAM();
{
while ( null.WXaDxhZMigEF_C) return;
boolean[][][] mBFHpeYc8;
int[][][] nRpxXY;
if ( new o0tvH().uE()) {
int[][][][] HXJu5RDjiEZpu;
}
{
boolean[] bmCEcF;
}
void[] SkIZFIfoobC;
f1L6[][] U0L_p;
{
int e6ZqiwT2P;
}
void UrGSw4Vv0WUGn2;
}
l NrBXQpE0QEKw = -new qu8KYn2CjHBI()[ !( ( -z().Q)[ -( false.h8tUCDygF()).k9()]).P()] = !new o7PaS47l[ new pv()[ !!-new BwMElo7nZd()[ 171765828.qphbzrSW]]][ null[ --sPVXVL6C.JAwLu()]];
boolean dIxzbSm5inJsE = !bu3LZmKlkGUED.J5ebd();
if ( new boolean[ Si9n5nDoJoo[ !this.CSF]].lIUATFtuN) {
void KdGfMqMI;
}
boolean[][] d4YhZLLmF1lLt = 634.wGVtJLRQPckG;
}
public void tESB_zzNi6u;
}
class aw {
}
class uj {
public void fPjhR () {
uSZ44KSpC_gQO9[][][] sr9G8I;
}
public int[][][][] KuoxqQoV () throws nvcKANv1uqgD {
if ( true[ new int[ -!02949.eMrr4KGA].GB5inJ2]) while ( false.Rque()) return;
!!false.r5r1Y;
TBDqGO[] JtU_;
void quX89qEeFnEQ = YzVc9iCcJJxE8[ AWDF.lSQ2_u()];
int[][][][] L3_3LYiOMXA = !!xB4liPf38PIglP.L3EiM();
}
public zQYLDdIhvZqXqo lw4_lCo2s () {
if ( ( 476.akuxf()).SZk78Kjx18Y()) if ( false.W8ylM1Em9XQZ_) while ( new nEVsb1ni[ null[ -!!new boolean[ ( new buDux().hkyy1Y()).Vtg].fs1QoKCsO()]].jpRI1sbnv) {
return;
}
return false[ Z().PWUWP];
void[][][][][][][][][][][] cvSA95;
if ( true[ -sq0()[ !-( !null.zrqI()).J]]) {
{
void gWg;
}
}else return;
void[] rSS2PlNOYgW = new vVOt().DOD2hySJua() = !!jZU.ncHdx;
dGuze5LjCa[][] TQip = --!06767.bQVVQp2nnRC = this.U_9B7aiE4_3V0;
rCnOiMXl1Hq2R Ro = !new zzND7g().T6Jpi;
}
public static void mAeqE9VUH (String[] PsdZ_RqW8NzTA4) throws KasewfSrCONyMJ {
!FqJMgBnvaM()[ gI_zFY[ !null.mMNBk5oF()]];
int[] w0FIY96IO = -this.KISaYj_a() = ( -new SRq2cnUI5eH5qp().V5sM4uJdGA())[ --!Tr7lg.b8MRcD()];
if ( true.Tqq3wJWIThRMW()) ;else ;
int WoE95xt = ReXY4().YBl;
;
return;
{
W80QnPCcZ7k Zoe;
return;
{
true.Ozz;
}
Uj[][] poh;
while ( !!-( null.da1kZwm()).NmNONadvowag4m) {
new int[ 54845516[ 951[ bRoC3pwxJgb.AExkcEnY]]].f1FgrB();
}
boolean[][][][][][][] V4V3E9Y9B_gYZ;
{
boolean[][] ZJOSChMLw;
}
return;
while ( ( Sd2u.nMzy912QjbZ()).RppcdPoT) return;
while ( -zIm5G8crUA().P83Bt2) V_h6fwQ().JmrllM;
int[] SqGoeajQ_v;
int C;
int tsXOm;
boolean[][] jXf;
{
kNv[][] qLl8UuPF9;
}
void J;
}
if ( !-false[ -!!8416764[ -WJS.P4MUf43O]]) return;else {
boolean[][] MsQh0mKeRu3;
}
boolean EriJOxrKmAn;
m6dTPaA cM9dudAQ3qz = new vRheMwiHQ().UA_SU97zbG_3() = !mxcXdTy().BMFE();
boolean d1wTtxMBo7gQ = true.esS();
void[] IChDzLTa6H;
boolean[] Qpqzo = !-!!-new boolean[ -true.p_ocMTPQS][ this.iHtA3__hS()];
while ( -!!-null[ !MGP1.hR]) {
ipWA4tAywuJORx f8auQIQGp1w;
}
ee3f Fpy8YPo3 = DsYP1().ei8;
{
int[] tw8;
return;
return;
!-215.doPD();
{
while ( 05.fxbZp1wfJ) false.zYEB3THi;
}
boolean[][][] EtghME;
{
return;
}
{
;
}
void[][] Nlxt96CzR5s;
while ( hwBaYsx().e6Q5kb4A) return;
int[] her;
!-kPiA3Mqyay().F9spybe();
int[][][][][][] VtcGVU;
}
while ( -false.OsB7aKXO) {
int[][][][][] WfSRFe8gFhdN;
}
while ( null.t) if ( Pss1yRfBb10Ece[ SbpjuVrea.ztNI]) ;
}
public int Mb8Vn9Rv (boolean[] mrpAMUsxerL, void FD3SMwZ7, boolean RG7KtRo, void MOslH2xOgUKd, int[][][][][] FVrFCBhZQ, void sTBdAJMAQNGw, void Lbl) throws BbwgE {
JFlnzv0jwf0dzP cYnQMSO5Sfvmpo;
boolean cQSfL = new SK_QuT()[ !true[ this[ vl1UgtDS4F.NI()]]] = new v4WvKtO0RHRMd9().ZzfvD;
int[][] Jy = ( -----EmN().Lzm).K5ZEJZDdsg = -!new X9R3ZMlaMKtUgY()[ !428174181.uD()];
boolean[] Bk29b68 = --null.tnIc = !true[ NFdd()[ false[ !!!-!12946.duRKwYAEq6x]]];
void ZsvHqqN48t7c;
int x;
return -new ksS().r_xQj31d();
wRo[] Mq = -true[ -this.QDN6()];
boolean[] meK = HpC9Bmu[ -!!!---( true.aexVfHSbf)[ !null[ !new int[ !new q9xUXKQpTuNDc().TfG()].JWNk()]]];
{
X1i5[] tE44I_fSy;
void[] Yha5eGdf;
!new nHeTaw().q6aYzmAu;
while ( 225886719.pFP2l7AdHT0rQ()) null[ !o9svcpKRYD7Hc[ false.O4WHASeM()]];
YKO2TLSJDB[][] prqg0;
int C0g5CTUFAhOlk;
int hbOJCh6ygR;
boolean[][] Q;
if ( -true._NOqM0Ez2m9Bk2()) while ( _QVi4Xy[ -new CuHgUpE91zIE_S().gv_yokmh95H()]) !-KaBZTs9MpmRZ().E3YjPb;
!null.Q7xe6yjM8A;
int v6zxGLDymMMHoz;
while ( -false[ !new void[ this.I3rsxXJivf9].cH4Qw_6N2]) return;
void LSkwGDY;
boolean[] owDOiw;
return;
boolean[][] dYL2TD1dkG;
int[][][][][] Rrs4tv04nVfTSQ;
boolean[] J;
if ( 05194267[ false.iV3wIom3MV1()]) return;
int zENv92qPxbZS7;
}
if ( ( !2131.dQ).fwDWNNtpx5q7r6) {
{
int bVwClkISQ6;
}
}else {
;
}
while ( new d0oD()[ !this.KkDQuv_1ze2Eq()]) return;
return;
!new xP98sJ()[ aS4Adkzt96oRvX().ufK];
boolean[][] p97MS3wQ97w = NflDN[ uc8y9().XbydKXPBd()];
PkV0[][] kscQIYF = --this.G2jReuzE;
boolean f = W1xQJVm.ySj_Joes4Ikb();
while ( !-!-true[ false.qgr()]) if ( true.ll6ioZBlzvr6()) while ( false.a) if ( -!null[ new void[ !-!-new boolean[ !470.nt63EUmQaWpf()].USTImub5()][ -!-null[ tiAOv[ w9yOXHal[ !true.iT_Aqg]]]]]) while ( !-!Y1cmv.pXvBD()) {
void oRahZklN50;
}
if ( ( 051[ -new eG9ISIkaaZ()[ !false[ false.aA0]]]).__7X2GkZj0()) if ( qrHDx.LmgsJVKTm) {
{
if ( null.k) false.p();
}
}else aAPksp7qpzIMEO.gtfy6pX();
}
public static void EdGooY (String[] IEYSL8d5Bmy) throws NGaAk64PKHAb {
wKEt4Q3p hv = this.KqKz4CWxzv = -false.i80();
}
public void[][] JzS (int[][][][][][] mJ1Lra9Av15c, UQk5Do4 LJjXk44, dBTH_OaRes3Fxc[] RV8x, boolean[][] srJS) {
;
return -this[ !( !null.f2E2Z2yhl3ASaF).wMb1OU62];
return;
boolean[][][] FAF66yQf7yS = --!!-!!this.Rt11Smf5();
boolean[][][] UEGu7tt;
if ( new int[ !!new boolean[ !!( !true.jijaX3Ci2mJ()).pKtZkQ8QBoJN()].hIMIAVdoET()][ -new boolean[ new e1().DGZC()][ -new Jm7PB()[ 311162931.fUZKeIAVb()]]]) false.JLt98a8CUg();
;
}
public static void C (String[] BGS41) throws vyM2geWlna {
nNn NyKF_G5v3ITjnx;
boolean[] w9H;
}
public void aK5bX () throws Pd1zER_NYk3p_ {
while ( -new Ax().AS4zLiJVP2qiox) ;
int yxb;
while ( !79334[ !2214[ ( !!!true[ new zuF4luyM_3_S4p()[ false.t6Zo4]])[ -!this[ new RhwkMIz3pPFVt().qwGVkLzMiKYrRP]]]]) return;
!( !!!false[ u_.vs4K])[ ( uROk9LZz[ new int[ ( !--!new H0B0().K3).n7].PXPfhSZTcE3sd]).lBcOJaQa];
if ( null.rj5()) while ( -null.dr0nwvB()) ;
while ( new Sox().RpGJ) !!!SjI4UlCnSjp3[ new WaDwBw().dtL2OjOv7xF()];
return new e9HLw6B()[ -null[ true.pM()]];
return this[ -true[ null.jyIko6Sb]];
boolean[][] eeI;
if ( new int[ dvzkSO4VfzMn().t][ true[ yTk().Dh]]) ;
return;
int tl8a = false[ --!-new int[ new int[ null.f()].cwnS()].z6R5d8];
if ( QrHvgdN9Wi4O.t88MhdaQ()) return;
return Oy.pFQHly();
QfYuDmIqc2H a9;
return -( --d5[ -new kQhbsm().Jl8DYwJhLmW()]).VYN53DKz3_7b6;
{
;
if ( !this[ false.fHmLkHfp()]) new bY1H[ -!true.cSZJSoQ()].idxzN5RiiWH();
return;
while ( null.o6cO6aHdw()) true[ false[ !-!-!!false.e2waExf4R]];
void rFBR;
return;
{
null.ngILicwp_KuoA8;
}
boolean wS9I4lhUI5CDRP;
---( null.hXk1Sqw()).aNZv();
return;
;
}
}
public int E (IT6MOnK MwJYiZVLD9FMt, void NmoI7g6Zm55hO, boolean[] zIUdQ, O[] v4vn, int Td_mggKXzDPvS) {
Pc2M5xegxE9rCr VGpUST_J3oA2_T;
{
{
return;
}
NR3ijChe74Podz S;
while ( new boolean[ !this.H1VA0_KqyzR6].MJymuATk) while ( !!new Zlqf4().ZCAkuqdi9qx) {
;
}
;
KeoaGzfPpnBjv[] dfqNyvHw;
;
return;
}
return;
return null[ null[ this.pBfp_z9]];
{
while ( 05211641.iwRJoj0ovu) if ( FsHYS().Gyyc4bCZwZLtK3) ;
while ( this.T()) new boolean[ 53261431.W()].F3P0R;
{
MKJh[][] j;
}
w6x5G7ms5qN1[] SNl0ISEmm;
-!null[ ( false.l)[ -!-82327360.tkuwXz908Sfw()]];
while ( !96187.lAiirLBmOAwo()) ;
cRmh0RVk8bND5I i;
int YQMiy;
fhx10fzp bfZF7MNBI5;
int[][] QseJ;
yTqeMEf0oaT0[][] tz9eUH;
!-false.nc4nvhi4mshqJ;
int[] XwsGBom;
return;
xnBcHZLK[][] bAO0Sd;
boolean[] DXtEb1M;
int njfbJq2TR;
DXH[] UL;
;
boolean[][] ygTF70q;
}
int[] Z3Bc9DY6F9TY8z = !-null.AOxMMs = new By0kral_3de[ true.rv25tb3kZKGn()].yjmNeQFFwxqG1M();
boolean P2pfTdgY = !false[ -!fuNeChy.Gccv()] = ---!null.G7JiObXz();
return !!-!57744[ this.PdM8eqt7B];
mBjhQ3().czyhS3lZOJhCz;
return !-new boolean[ new Vev1ATlYh()[ -new KZL_D00Ce()[ !new ciO9Wlvb2f().Lv5]]].s;
{
-!new int[ false.SVw][ -true.O()];
int mdOg;
if ( -HZRfGgQUDYu.EVYCiz6y) ;
boolean[] YbmuTOpmkIKQtC;
cNh[][] Mp9wEfO8k;
boolean W1bhEduuAQ;
}
int j8LZIl = false.Wh8wnaT = this.zi7XfyCd36zn();
return new SQ5rmOq5W()[ false.zzV7ya8oXH];
boolean VS9CQXff = true.iKbh() = false[ !!!j0VfqKU().RK_W04ZXctGQ0()];
while ( -( ( this.Djt).LbyTMiXjPRNf()).UgPRO()) return;
void S1KvEK7i;
return;
boolean Sy1P_P2gWB7ho;
;
lwjhcFFA LMvaLbDKiWawe = null[ false[ !!!!-true.PhdpFs()]] = !peFl()[ -new Dl[ !( new int[ -zV6j0jC_W()[ new boolean[ !I1NPpkP0wBnNfx()[ this.FNEhfy()]][ this.eFpat44z7]]].p_HNtiMK).FOAbsidGAtAB()].uhO];
}
}
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.sysds.runtime.controlprogram.paramserv.dp;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import org.apache.sysds.hops.OptimizerUtils;
import org.apache.sysds.runtime.controlprogram.paramserv.ParamservUtils;
import org.apache.sysds.runtime.matrix.data.MatrixBlock;
import scala.Tuple2;
/**
* Spark data partitioner Disjoint_Random:
*
* For the current row block, find all the shifted place for each row (WorkerID {@literal =>} (row block ID, matrix)
*/
public class DRSparkScheme extends DataPartitionSparkScheme {
private static final long serialVersionUID = -7655310624144544544L;
protected DRSparkScheme() {
// No-args constructor used for deserialization
}
@Override
public Result doPartitioning(int numWorkers, int rblkID, MatrixBlock features, MatrixBlock labels) {
List<Tuple2<Integer, Tuple2<Long, MatrixBlock>>> pfs = partition(rblkID, features);
List<Tuple2<Integer, Tuple2<Long, MatrixBlock>>> pls = partition(rblkID, labels);
return new Result(pfs, pls);
}
private List<Tuple2<Integer, Tuple2<Long, MatrixBlock>>> partition(int rblkID, MatrixBlock mb) {
MatrixBlock partialPerm = _globalPerms.get(0).getBlock(rblkID, 1);
// For each row, find out the shifted place
return IntStream.range(0, mb.getNumRows()).mapToObj(r -> {
MatrixBlock rowMB = ParamservUtils.sliceMatrixBlock(mb, r + 1, r + 1);
long shiftedPosition = (long) partialPerm.getValue(r, 0);
// Get the shifted block and position
int shiftedBlkID = (int) (shiftedPosition / OptimizerUtils.DEFAULT_BLOCKSIZE + 1);
MatrixBlock indicator = _workerIndicator.getBlock(shiftedBlkID, 1);
int workerID = (int) indicator.getValue((int) shiftedPosition / OptimizerUtils.DEFAULT_BLOCKSIZE, 0);
return new Tuple2<>(workerID, new Tuple2<>(shiftedPosition, rowMB));
}).collect(Collectors.toList());
}
}
|
/*
* Copyright 2021 Andreas Textor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package de.atextor.owlcli.diagram.graph.transformer;
import de.atextor.owlcli.diagram.graph.Edge;
import de.atextor.owlcli.diagram.graph.GraphElement;
import de.atextor.owlcli.diagram.graph.Node;
import de.atextor.owlcli.diagram.graph.node.PropertyMarker;
import de.atextor.owlcli.diagram.mappers.MappingConfiguration;
import io.vavr.Tuple2;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;
/**
* Implements a graph transformer that merges multiple {@link PropertyMarker}s on a given Object property
* or Data Property into one Property Marker
*/
public class PropertyMarkerMerger extends GraphTransformer {
private final MappingConfiguration mappingConfiguration;
private static final Logger LOG = LoggerFactory.getLogger( PropertyMarkerMerger.class );
/**
* Initialize the transformer
*
* @param mappingConfiguration the context mapping configuration
*/
public PropertyMarkerMerger( final MappingConfiguration mappingConfiguration ) {
this.mappingConfiguration = mappingConfiguration;
}
private Optional<Node> getNode( final Set<GraphElement> graph, final Node.Id id ) {
return graph.stream()
.filter( GraphElement::isNode )
.map( GraphElement::asNode )
.filter( node -> node.getId().equals( id ) )
.findFirst();
}
private Optional<PropertyMarker> markerByEdge( final Set<GraphElement> graph, final Edge edge ) {
return getNode( graph, edge.getTo().getId() ).stream()
.flatMap( node -> node.view( PropertyMarker.class ) )
.findFirst();
}
private ChangeSet mergePropertyMarkers( final Set<Tuple2<Edge, PropertyMarker>> propertyMarkers ) {
final Set<PropertyMarker.Kind> mergedKindSet =
propertyMarkers.stream().flatMap( marker -> marker._2().getKind().stream() ).collect( Collectors.toSet() );
final PropertyMarker newMarker =
new PropertyMarker( mappingConfiguration.getIdentifierMapper().getSyntheticId(), mergedKindSet );
final Edge newEdge = propertyMarkers.iterator().next()._1().setTo( newMarker );
final Set<GraphElement> additions = Set.of( newMarker, newEdge );
final Set<GraphElement> deletions = propertyMarkers.stream()
.flatMap( tuple -> Stream.of( tuple._1(), tuple._2() ) )
.collect( Collectors.toSet() );
return new ChangeSet( additions, deletions );
}
/**
* Apply this transformer to the given input graph
*
* @param graph the input graph
* @return the resulting graph that has at most one {@link PropertyMarker} for each property
*/
@Override
public Set<GraphElement> apply( final Set<GraphElement> graph ) {
LOG.debug( "Merging Property Markers in {}", graph );
final Set<GraphElement> result = graph.stream()
.filter( GraphElement::isEdge )
.map( GraphElement::asEdge )
.collect( Collectors.groupingBy( Edge::getFrom ) )
.values().stream().map( edges -> {
final Set<Tuple2<Edge, PropertyMarker>> propertyMarkers = edges.stream()
.flatMap( edge -> markerByEdge( graph, edge )
.map( marker -> new Tuple2<>( edge, marker ) )
.stream() ).collect( Collectors.toSet() );
if ( propertyMarkers.size() > 1 ) {
return mergePropertyMarkers( propertyMarkers );
}
return ChangeSet.EMPTY;
} ).reduce( ChangeSet.EMPTY, ChangeSet::merge )
.applyTo( graph );
LOG.debug( "Processed graph: {}", result );
return result;
}
}
|
/*******************************************************************************
* MIT License
*
* Copyright (c) 2021 Georgi Velev
*
* 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 com.iot.smarthome;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SmarthomeApplication {
public static void main(String[] args) {
SpringApplication.run(SmarthomeApplication.class, args);
}
}
|
/*******************************************************************************
* Copyright (c) 2010 Haifeng Li
*
* 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 smile.stat.hypothesis;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author Haifeng Li
*/
public class ChiSqTestTest {
public ChiSqTestTest() {
}
@BeforeClass
public static void setUpClass() throws Exception {
}
@AfterClass
public static void tearDownClass() throws Exception {
}
@Before
public void setUp() {
}
@After
public void tearDown() {
}
/**
* Test of test method, of class ChiSqTest.
*/
@Test
public void testTest() {
System.out.println("one sample test");
int[] bins = {20, 22, 13, 22, 10, 13};
double[] prob = {1.0/6, 1.0/6, 1.0/6, 1.0/6, 1.0/6, 1.0/6};
ChiSqTest result = ChiSqTest.test(bins, prob);
assertEquals(8.36, result.chisq, 1E-2);
assertEquals(5, result.df, 1E-10);
assertEquals(0.1375, result.pvalue, 1E-4);
}
/**
* Test of test method, of class ChiSqTest.
*/
@Test
public void testTest2() {
System.out.println("two sample test");
int[] bins1 = {8, 13, 16, 10, 3};
int[] bins2 = {4, 9, 14, 16, 7};
ChiSqTest result = ChiSqTest.test(bins1, bins2);
assertEquals(5.179, result.chisq, 1E-2);
assertEquals(4, result.df, 1E-10);
assertEquals(0.2695, result.pvalue, 1E-4);
}
}
|
package com.baeldung.s3;
import java.io.File;
import java.util.List;
import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.AmazonS3Client;
import com.amazonaws.services.s3.model.Bucket;
import com.amazonaws.services.s3.model.CopyObjectResult;
import com.amazonaws.services.s3.model.DeleteObjectsRequest;
import com.amazonaws.services.s3.model.DeleteObjectsResult;
import com.amazonaws.services.s3.model.ObjectListing;
import com.amazonaws.services.s3.model.PutObjectResult;
import com.amazonaws.services.s3.model.S3Object;
public class AWSS3Service {
private final AmazonS3 s3client;
public AWSS3Service() {
this(new AmazonS3Client() {
});
}
public AWSS3Service(AmazonS3 s3client) {
this.s3client = s3client;
}
//is bucket exist?
public boolean doesBucketExist(String bucketName) {
return s3client.doesBucketExist(bucketName);
}
//create a bucket
public Bucket createBucket(String bucketName) {
return s3client.createBucket(bucketName);
}
//list all buckets
public List<Bucket> listBuckets() {
return s3client.listBuckets();
}
//delete a bucket
public void deleteBucket(String bucketName) {
s3client.deleteBucket(bucketName);
}
//uploading object
public PutObjectResult putObject(String bucketName, String key, File file) {
return s3client.putObject(bucketName, key, file);
}
//listing objects
public ObjectListing listObjects(String bucketName) {
return s3client.listObjects(bucketName);
}
//get an object
public S3Object getObject(String bucketName, String objectKey) {
return s3client.getObject(bucketName, objectKey);
}
//copying an object
public CopyObjectResult copyObject(
String sourceBucketName,
String sourceKey,
String destinationBucketName,
String destinationKey
) {
return s3client.copyObject(
sourceBucketName,
sourceKey,
destinationBucketName,
destinationKey
);
}
//deleting an object
public void deleteObject(String bucketName, String objectKey) {
s3client.deleteObject(bucketName, objectKey);
}
//deleting multiple Objects
public DeleteObjectsResult deleteObjects(DeleteObjectsRequest delObjReq) {
return s3client.deleteObjects(delObjReq);
}
}
|
package pro.taskana.task.rest.models;
import java.util.HashMap;
import java.util.Map;
import pro.taskana.task.api.models.Attachment;
/** EntityModel class for {@link Attachment}. */
public class AttachmentRepresentationModel extends AttachmentSummaryRepresentationModel {
/** All additional information of the Attachment. */
private Map<String, String> customAttributes = new HashMap<>();
public Map<String, String> getCustomAttributes() {
return customAttributes;
}
public void setCustomAttributes(Map<String, String> customAttributes) {
this.customAttributes = customAttributes;
}
}
|
/*
* Copyright 2016 Huawei Technologies Co., Ltd.
*
* 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.openo.sdno.model.servicemodel.routeprotocol;
import java.util.List;
import org.openo.sdno.model.common.NVString;
import org.openo.sdno.wanvpn.util.paradesc.ContainerSizeDesc;
import org.openo.sdno.wanvpn.util.paradesc.IPDesc;
import org.openo.sdno.wanvpn.util.paradesc.StringDesc;
import org.openo.sdno.model.servicemodel.AbstractSvcModel;
/**
* The Static Route Table is a list<routing item>.<br>
*
* @author
* @version SDNO 0.5 August 5, 2016
*/
public class StaticRouteTable extends AbstractSvcModel {
@StringDesc(maxLen = 36)
private String uuid;
@StringDesc(maxLen = 200)
private String destinationCidr;
@StringDesc(maxLen = 200)
private String routePreference;
@IPDesc(hasMask = false)
private String nextHopIp;
@StringDesc(maxLen = 200)
private String type;
@ContainerSizeDesc(maxSize = 1000)
private List<NVString> addtionalInfo;
public String getRoutePreference() {
return routePreference;
}
public void setRoutePreference(final String routePreference) {
this.routePreference = routePreference;
}
public String getNextHopIp() {
return nextHopIp;
}
public void setNextHopIp(final String nextHopIp) {
this.nextHopIp = nextHopIp;
}
@Override
public String getUuid() {
return uuid;
}
public String getType() {
return type;
}
public void setType(final String type) {
this.type = type;
}
public String getDestinationCidr() {
return destinationCidr;
}
public void setDestinationCidr(final String destinationCidr) {
this.destinationCidr = destinationCidr;
}
public List<NVString> getAddtionalInfo() {
return addtionalInfo;
}
public void setAddtionalInfo(final List<NVString> addtionalInfo) {
this.addtionalInfo = addtionalInfo;
}
@Override
public void setUuid(final String uuid) {
this.uuid = uuid;
}
}
|
package com.daniellegb.movieflix.resources;
import javax.validation.Valid;
import org.springframework.security.core.Authentication;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.daniellegb.movieflix.dto.UserDTO;
import com.daniellegb.movieflix.services.UserService;
@RestController
@RequestMapping(value = "/users")
public class UserResource {
@Autowired
private UserService service;
@GetMapping(value = "/{id}")
public ResponseEntity<UserDTO> findById(@PathVariable Long id){
UserDTO dto = service.findById(id);
return ResponseEntity.ok().body(dto);
}
@GetMapping(value = "/profile")
public ResponseEntity<UserDTO> getProfile(){
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
UserDTO dto = service.findByEmail(authentication.getPrincipal().toString());
return ResponseEntity.ok().body(dto);
}
}
|
package org.wickedsource.coderadar.metric.rest;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.wickedsource.coderadar.metric.domain.metricvalue.MetricValueRepository;
import org.wickedsource.coderadar.project.rest.ProjectVerifier;
@Controller
@Transactional
@RequestMapping(path = "/projects/{projectId}/metrics")
public class MetricsController {
private ProjectVerifier projectVerifier;
private MetricValueRepository metricValueRepository;
@Autowired
public MetricsController(
ProjectVerifier projectVerifier, MetricValueRepository metricValueRepository) {
this.projectVerifier = projectVerifier;
this.metricValueRepository = metricValueRepository;
}
@SuppressWarnings("unchecked")
@RequestMapping(
method = {RequestMethod.GET},
produces = "application/hal+json"
)
public ResponseEntity<List<MetricResource>> listMetrics(@PathVariable Long projectId) {
projectVerifier.checkProjectExistsOrThrowException(projectId);
List<String> metrics = metricValueRepository.findMetricsInProject(projectId);
MetricResourceAssembler assembler = new MetricResourceAssembler();
List<MetricResource> metricResources = assembler.toResourceList(metrics);
return new ResponseEntity<>(metricResources, HttpStatus.OK);
}
}
|
/*
* Copyright (c) 2004-2022, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* Neither the name of the HISP project nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package org.hisp.dhis.analytics.security;
import static com.google.common.base.Preconditions.checkNotNull;
import static org.hisp.dhis.analytics.util.AnalyticsUtils.throwIllegalQueryEx;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import lombok.extern.slf4j.Slf4j;
import org.hisp.dhis.analytics.AnalyticsSecurityManager;
import org.hisp.dhis.analytics.DataQueryParams;
import org.hisp.dhis.analytics.QueryParamsBuilder;
import org.hisp.dhis.analytics.event.EventQueryParams;
import org.hisp.dhis.common.BaseDimensionalObject;
import org.hisp.dhis.common.DimensionService;
import org.hisp.dhis.common.DimensionType;
import org.hisp.dhis.common.DimensionalItemObject;
import org.hisp.dhis.common.DimensionalObject;
import org.hisp.dhis.common.IdentifiableObject;
import org.hisp.dhis.common.IllegalQueryException;
import org.hisp.dhis.commons.util.TextUtils;
import org.hisp.dhis.dataapproval.DataApproval;
import org.hisp.dhis.dataapproval.DataApprovalLevel;
import org.hisp.dhis.dataapproval.DataApprovalLevelService;
import org.hisp.dhis.feedback.ErrorCode;
import org.hisp.dhis.organisationunit.OrganisationUnit;
import org.hisp.dhis.security.acl.AclService;
import org.hisp.dhis.setting.SystemSettingManager;
import org.hisp.dhis.user.CurrentUserService;
import org.hisp.dhis.user.User;
import org.springframework.stereotype.Component;
/**
* @author Lars Helge Overland
*/
@Slf4j
@Component( "org.hisp.dhis.analytics.AnalyticsSecurityManager" )
public class DefaultAnalyticsSecurityManager
implements AnalyticsSecurityManager
{
private static final String AUTH_VIEW_EVENT_ANALYTICS = "F_VIEW_EVENT_ANALYTICS";
private final DataApprovalLevelService approvalLevelService;
private final SystemSettingManager systemSettingManager;
private final DimensionService dimensionService;
private final AclService aclService;
private final CurrentUserService currentUserService;
public DefaultAnalyticsSecurityManager( DataApprovalLevelService approvalLevelService,
SystemSettingManager systemSettingManager, DimensionService dimensionService, AclService aclService,
CurrentUserService currentUserService )
{
checkNotNull( approvalLevelService );
checkNotNull( systemSettingManager );
checkNotNull( dimensionService );
checkNotNull( aclService );
checkNotNull( currentUserService );
this.approvalLevelService = approvalLevelService;
this.systemSettingManager = systemSettingManager;
this.dimensionService = dimensionService;
this.aclService = aclService;
this.currentUserService = currentUserService;
}
// -------------------------------------------------------------------------
// AnalyticsSecurityManager implementation
// -------------------------------------------------------------------------
@Override
public void decideAccess( DataQueryParams params )
{
User user = currentUserService.getCurrentUser();
decideAccessDataViewOrganisationUnits( params, user );
decideAccessDataReadObjects( params, user );
}
/**
* Checks whether the given user has data view access to organisation units.
*
* @param params the data query parameters.
* @param user the user to check.
* @throws IllegalQueryException if user does not have access.
*/
private void decideAccessDataViewOrganisationUnits( DataQueryParams params, User user )
throws IllegalQueryException
{
List<OrganisationUnit> queryOrgUnits = params.getAllTypedOrganisationUnits();
if ( queryOrgUnits.isEmpty() || user == null || !user.hasDataViewOrganisationUnit() )
{
return; // Allow if no
}
Set<OrganisationUnit> viewOrgUnits = user.getDataViewOrganisationUnits();
Integer maxOrgUnitLevel = user.getDataViewMaxOrganisationUnitLevel();
for ( OrganisationUnit queryOrgUnit : queryOrgUnits )
{
boolean notDescendant = !queryOrgUnit.isDescendant( viewOrgUnits );
if ( notDescendant )
{
throwIllegalQueryEx( ErrorCode.E7120, user.getUsername(), queryOrgUnit.getUid() );
}
if ( maxOrgUnitLevel != null && queryOrgUnit.getLevel() > maxOrgUnitLevel )
{
throwIllegalQueryEx( ErrorCode.E7120, user.getUsername(), queryOrgUnit.getUid() );
}
}
}
/**
* Checks whether the given user has data read access to all programs,
* program stages, data sets and category options in the request.
*
* @param params the {@link {@link DataQueryParams}.
* @param user the user to check.
* @throws IllegalQueryException if user does not have access.
*/
void decideAccessDataReadObjects( DataQueryParams params, User user )
throws IllegalQueryException
{
Set<IdentifiableObject> objects = new HashSet<>();
objects.addAll( params.getAllDataSets() );
objects.addAll( params.getProgramsInAttributesAndDataElements() );
objects.addAll( params.getCategoryOptions() );
if ( params.hasProgram() )
{
objects.add( params.getProgram() );
}
if ( params.hasProgramStage() )
{
objects.add( params.getProgramStage() );
}
for ( IdentifiableObject object : objects )
{
if ( !aclService.canDataRead( user, object ) )
{
throwIllegalQueryEx( ErrorCode.E7121, user.getUsername(),
TextUtils.getPrettyClassName( object.getClass() ), object.getUid() );
}
}
}
@Override
public void decideAccessEventQuery( EventQueryParams params )
{
decideAccess( params );
decideAccessEventAnalyticsAuthority( params );
}
/**
* Checks whether the current user has the {@code F_VIEW_EVENT_ANALYTICS}
* authority.
*
* @param params the {@link {@link DataQueryParams}.
*/
private void decideAccessEventAnalyticsAuthority( EventQueryParams params )
{
User user = currentUserService.getCurrentUser();
boolean notAuthorized = user != null && !user.isAuthorized( AUTH_VIEW_EVENT_ANALYTICS );
String username = user != null ? user.getUsername() : "[None]";
if ( notAuthorized )
{
throwIllegalQueryEx( ErrorCode.E7217, username );
}
}
@Override
public User getCurrentUser( DataQueryParams params )
{
return params != null && params.hasCurrentUser() ? params.getCurrentUser()
: currentUserService.getCurrentUser();
}
@Override
public DataQueryParams withDataApprovalConstraints( DataQueryParams params )
{
DataQueryParams.Builder paramsBuilder = DataQueryParams.newBuilder( params );
User user = currentUserService.getCurrentUser();
boolean hideUnapprovedData = systemSettingManager.hideUnapprovedDataInAnalytics();
boolean canViewUnapprovedData = user == null || user.isAuthorized( DataApproval.AUTH_VIEW_UNAPPROVED_DATA );
if ( hideUnapprovedData && user != null )
{
Map<OrganisationUnit, Integer> approvalLevels = null;
if ( params.hasApprovalLevel() )
{
// Set approval level from query
DataApprovalLevel approvalLevel = approvalLevelService
.getDataApprovalLevel( params.getApprovalLevel() );
if ( approvalLevel == null )
{
throwIllegalQueryEx( ErrorCode.E7122, params.getApprovalLevel() );
}
approvalLevels = approvalLevelService.getUserReadApprovalLevels( approvalLevel );
}
else if ( !canViewUnapprovedData )
{
// Set approval level from user level
approvalLevels = approvalLevelService.getUserReadApprovalLevels();
}
if ( approvalLevels != null && !approvalLevels.isEmpty() )
{
paramsBuilder.withDataApprovalLevels( approvalLevels );
log.debug( String.format( "User: '%s' constrained by data approval levels: '%s'", user.getUsername(),
approvalLevels.values() ) );
}
}
return paramsBuilder.build();
}
@Override
public DataQueryParams withUserConstraints( DataQueryParams params )
{
DataQueryParams.Builder builder = DataQueryParams.newBuilder( params );
applyOrganisationUnitConstraint( builder, params );
applyDimensionConstraints( builder, params );
return builder.build();
}
@Override
public EventQueryParams withUserConstraints( EventQueryParams params )
{
EventQueryParams.Builder builder = new EventQueryParams.Builder( params );
applyOrganisationUnitConstraint( builder, params );
applyDimensionConstraints( builder, params );
return builder.build();
}
/**
* Applies organisation unit security constraint.
*
* @param builder the {@link QueryParamsBuilder}.
* @param params the data query parameters.
*/
private void applyOrganisationUnitConstraint( QueryParamsBuilder builder, DataQueryParams params )
{
User user = currentUserService.getCurrentUser();
// ---------------------------------------------------------------------
// Check if current user has data view organisation units
// ---------------------------------------------------------------------
if ( params == null || user == null || !user.hasDataViewOrganisationUnit() )
{
return;
}
// ---------------------------------------------------------------------
// Check if request already has organisation units specified
// ---------------------------------------------------------------------
if ( params.hasDimensionOrFilterWithItems( DimensionalObject.ORGUNIT_DIM_ID ) )
{
return;
}
// -----------------------------------------------------------------
// Apply constraint as filter, and remove potential all-dimension
// -----------------------------------------------------------------
builder.removeDimensionOrFilter( DimensionalObject.ORGUNIT_DIM_ID );
List<OrganisationUnit> orgUnits = new ArrayList<>( user.getDataViewOrganisationUnits() );
DimensionalObject constraint = new BaseDimensionalObject( DimensionalObject.ORGUNIT_DIM_ID,
DimensionType.ORGANISATION_UNIT, orgUnits );
builder.addFilter( constraint );
log.debug( String.format( "User: '%s' constrained by data view organisation units", user.getUsername() ) );
}
/**
* Applies dimension constraints.
*
* @param builder the {@link QueryParamsBuilder}.
* @param params the data query parameters.
*/
private void applyDimensionConstraints( QueryParamsBuilder builder, DataQueryParams params )
{
User user = currentUserService.getCurrentUser();
// ---------------------------------------------------------------------
// Check if current user has dimension constraints
// ---------------------------------------------------------------------
if ( params == null || user == null || !user.hasDimensionConstraints() )
{
return;
}
Set<DimensionalObject> dimensionConstraints = user.getDimensionConstraints();
for ( DimensionalObject dimension : dimensionConstraints )
{
// -----------------------------------------------------------------
// Check if dimension constraint already is specified with items
// -----------------------------------------------------------------
if ( params.hasDimensionOrFilterWithItems( dimension.getUid() ) )
{
continue;
}
List<DimensionalItemObject> canReadItems = dimensionService
.getCanReadDimensionItems( dimension.getDimension() );
// -----------------------------------------------------------------
// Check if current user has access to any items from constraint
// -----------------------------------------------------------------
if ( canReadItems.isEmpty() )
{
throwIllegalQueryEx( ErrorCode.E7123, dimension.getDimension() );
}
// -----------------------------------------------------------------
// Apply constraint as filter, and remove potential all-dimension
// -----------------------------------------------------------------
builder.removeDimensionOrFilter( dimension.getDimension() );
DimensionalObject constraint = new BaseDimensionalObject( dimension.getDimension(),
dimension.getDimensionType(), null, dimension.getDimensionDisplayName(), canReadItems );
builder.addFilter( constraint );
log.debug( String.format( "User: '%s' constrained by dimension: '%s'", user.getUsername(),
constraint.getDimension() ) );
}
}
}
|
/*
MIT License
Copyright (c) 2017 Universidad de los Andes - ISIS2603
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 co.edu.uniandes.csw.bookstore.test.persistence;
import co.edu.uniandes.csw.bookstore.entities.ClientEntity;
import co.edu.uniandes.csw.bookstore.persistence.ClientPersistence;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.transaction.UserTransaction;
import org.junit.Assert;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import uk.co.jemos.podam.api.PodamFactory;
import uk.co.jemos.podam.api.PodamFactoryImpl;
/**
* Pruebas de persistencia de Books
*
* @author ISIS2603
*/
@RunWith(Arquillian.class)
public class ClientPersistenceTest {
@Inject
private ClientPersistence p;
@PersistenceContext
private EntityManager em;
@Inject
UserTransaction utx;
private List<ClientEntity> data = new ArrayList<ClientEntity>();
/**
* @return Devuelve el jar que Arquillian va a desplegar en Payara embebido.
* El jar contiene las clases, el descriptor de la base de datos y el
* archivo beans.xml para resolver la inyección de dependencias.
*/
@Deployment
public static JavaArchive createDeployment() {
return ShrinkWrap.create(JavaArchive.class)
.addPackage(ClientEntity.class.getPackage())
.addPackage(ClientPersistence.class.getPackage())
.addAsManifestResource("META-INF/persistence.xml", "persistence.xml")
.addAsManifestResource("META-INF/beans.xml", "beans.xml");
}
/**
* Configuración inicial de la prueba.
*/
@Before
public void configTest() {
try {
utx.begin();
em.joinTransaction();
clearData();
insertData();
utx.commit();
} catch (Exception e) {
e.printStackTrace();
try {
utx.rollback();
} catch (Exception e1) {
e1.printStackTrace();
}
}
}
/**
* Limpia las tablas que están implicadas en la prueba.
*/
private void clearData() {
em.createQuery("delete from ClientEntity").executeUpdate();
}
/**
* Inserta los datos iniciales para el correcto funcionamiento de las
* pruebas.
*/
private void insertData() {
PodamFactory factory = new PodamFactoryImpl();
for (int i = 0; i < 3; i++) {
ClientEntity entity = factory.manufacturePojo(ClientEntity.class);
em.persist(entity);
data.add(entity);
}
}
/**
* Prueba para crear un CLient.
*/
@Test
public void createClientTest() {
PodamFactory factory = new PodamFactoryImpl();
ClientEntity newEntity = factory.manufacturePojo(ClientEntity.class);
ClientEntity result = p.create(newEntity);
Assert.assertNotNull(result);
ClientEntity entity = em.find(ClientEntity.class, result.getId());
Assert.assertEquals(newEntity.getName(), entity.getName());
Assert.assertEquals(newEntity.getUsser(), entity.getUsser());
Assert.assertEquals(newEntity.getPassword(), entity.getPassword());
Assert.assertEquals(newEntity.getLocation(), entity.getLocation());
}
/**
* Prueba para consultar la lista de Clients.
*/
@Test
public void getClientsTest() {
List<ClientEntity> list = p.findAll();
Assert.assertEquals(data.size(), list.size());
for (ClientEntity ent : list) {
boolean found = false;
for (ClientEntity entity : data) {
if (ent.getId().equals(entity.getId())) {
found = true;
}
}
Assert.assertTrue(found);
}
}
/**
* Prueba para consultar un Client.
*/
@Test
public void getClientTest() {
ClientEntity entity = data.get(0);
ClientEntity newEntity = p.find(entity.getId());
Assert.assertNotNull(newEntity);
Assert.assertEquals(entity.getName(), newEntity.getName());
Assert.assertEquals(entity.getUsser(), newEntity.getUsser());
Assert.assertEquals(entity.getPassword(), newEntity.getPassword());
Assert.assertEquals(newEntity.getLocation(), entity.getLocation());
}
/**
* Prueba para eliminar un Client.
*/
@Test
public void deleteClientTest() {
ClientEntity entity = data.get(0);
p.delete(entity.getId());
ClientEntity deleted = em.find(ClientEntity.class, entity.getId());
Assert.assertNull(deleted);
}
/**
* Prueba para actualizar un Client.
*/
@Test
public void updateClientTest() {
ClientEntity entity = data.get(0);
PodamFactory factory = new PodamFactoryImpl();
ClientEntity newEntity = factory.manufacturePojo(ClientEntity.class);
newEntity.setId(entity.getId());
p.update(newEntity);
ClientEntity resp = em.find(ClientEntity.class, entity.getId());
Assert.assertEquals(newEntity.getName(), resp.getName());
Assert.assertEquals(newEntity.getUsser(), resp.getUsser());
Assert.assertEquals(newEntity.getPassword(), resp.getPassword());
Assert.assertEquals(newEntity.getLocation(), resp.getLocation());
}
/**
* Prueba para consultasr un Client por User.
*/
@Test
public void findClientByUserTest() {
ClientEntity entity = data.get(0);
ClientEntity newEntity = p.findByUser(entity.getUsser());
Assert.assertNotNull(newEntity);
Assert.assertEquals(entity.getUsser(), newEntity.getUsser());
newEntity = p.findByUser(null);
Assert.assertNull(newEntity);
}
}
|
/*
* Copyright 2001-2013 Aspose Pty Ltd. All Rights Reserved.
*
* This file is part of Aspose.Slides. The source code in this file
* is only intended as a supplement to the documentation, and is provided
* "as is", without warranty of any kind, either expressed or implied.
*/
package com.aspose.slides.examples.Text.HTMLText;
import com.aspose.slides.*;
import com.aspose.slides.examples.Utils;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
public class ExportParagraphText
{
public static void main(String[] args) throws Exception
{
// The path to the documents directory.
String dataDir = Utils.getDataDir(ExportParagraphText.class);
//Load the Presentation1 file
Presentation pres = new Presentation(dataDir+ "input.pptx");
//Acesss the default first slide of Presentation1
ISlide slide = pres.getSlides().get_Item(0);
//Desired index
int index=0;
//Accessing the added shape
IAutoShape ashape = (IAutoShape)slide.getShapes().get_Item(index);
try{
//Creating output html file
OutputStream os = new FileOutputStream(dataDir+ "first paragraph_Java.html");
Writer writer = new OutputStreamWriter(os,"UTF-8");
// Extracting first paragraph as HTML
//Writing Paragraphs data to HTML by providing paragraph starting index, total paragraphs to be copied
writer.write(ashape.getTextFrame().getParagraphs().exportToHtml(0, ashape.getTextFrame().getParagraphs().getCount(), null));
writer.close();
}
catch(Exception fo)
{
fo.printStackTrace();
}
}
}
|
package com.jwt.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.jwt.dao.UrineDAO;
import com.jwt.model.Urine;
@Service
@Transactional
public class UrineServiceImpl implements UrineService {
@Autowired
private UrineDAO urineDAO;
@Transactional
public void addUrine(Urine urine) {
urineDAO.addUrine(urine);
}
@Transactional
public List<Urine> getAllUrines() {
return urineDAO.getAllUrines();
}
@Transactional
public void deleteUrine(Integer UrineId) {
urineDAO.deleteUrine(UrineId);
}
@Override
public Urine getUrine(int UrineId) {
return urineDAO.getUrine(UrineId);
}
@Override
public Urine updateUrine(Urine urine) {
return urineDAO.updateUrine(urine);
}
public void setUrineDAO(UrineDAO urineDAO) {
this.urineDAO = urineDAO;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.