blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 4
410
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
51
| license_type
stringclasses 2
values | repo_name
stringlengths 5
132
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringlengths 4
80
| visit_date
timestamp[us] | revision_date
timestamp[us] | committer_date
timestamp[us] | github_id
int64 5.85k
689M
⌀ | star_events_count
int64 0
209k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 22
values | gha_event_created_at
timestamp[us] | gha_created_at
timestamp[us] | gha_language
stringclasses 131
values | src_encoding
stringclasses 34
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 2
classes | length_bytes
int64 3
9.45M
| extension
stringclasses 32
values | content
stringlengths 3
9.45M
| authors
listlengths 1
1
| author_id
stringlengths 0
313
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
733474b57ba81d5c19f5382604223b81717d46d0 | 0c447a56a32047202295753c717cee9b874fe83a | /javasource/ktc_scs_schema/actions/SetTC9206.java | 69b143c9d30cf315036e2083bded95b5e9a18e13 | [] | no_license | Gayathrija/w | 6ef1eeeac9794d53c1202e4499558088c605907d | bd3c231f34fa3e9ec10329ebd13951dc9a27d419 | refs/heads/main | 2023-08-02T06:43:58.482512 | 2021-10-07T09:24:52 | 2021-10-07T09:24:52 | 414,537,127 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,885 | java | // This file was generated by Mendix Studio Pro.
//
// WARNING: Only the following code will be retained when actions are regenerated:
// - the import list
// - the code between BEGIN USER CODE and END USER CODE
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
// Other code you write will be lost the next time you deploy the project.
// Special characters, e.g., é, ö, à, etc. are supported in comments.
package ktc_scs_schema.actions;
import com.mendix.systemwideinterfaces.core.IContext;
import com.mendix.webui.CustomJavaAction;
import ktcmdwscsconnector.customs.MessageClass;
import com.mendix.systemwideinterfaces.core.IMendixObject;
public class SetTC9206 extends CustomJavaAction<java.lang.String>
{
private IMendixObject __TC9206Rq;
private ktc_scs_schema.proxies.TC9206_CUSMSCDS TC9206Rq;
public SetTC9206(IContext context, IMendixObject TC9206Rq)
{
super(context);
this.__TC9206Rq = TC9206Rq;
}
@java.lang.Override
public java.lang.String executeAction() throws Exception
{
this.TC9206Rq = __TC9206Rq == null ? null : ktc_scs_schema.proxies.TC9206_CUSMSCDS.initialize(getContext(), __TC9206Rq);
// BEGIN USER CODE
StringBuilder strMessageDetail = new StringBuilder();
try
{
strMessageDetail.append(MessageClass.setMessageNumber(this.TC9206Rq.getMSKIPN(), 19));
strMessageDetail.append(MessageClass.setMessageString(this.TC9206Rq.getMSINID(), 6));
strMessageDetail.append(MessageClass.setMessageString(this.TC9206Rq.getMSINFO(), 25));
strMessageDetail.append(MessageClass.setMessageNumber(this.TC9206Rq.getMSDTTM(), 8));
}
catch (Exception ex)
{
throw ex;
}
return strMessageDetail.toString();
// END USER CODE
}
/**
* Returns a string representation of this action
*/
@java.lang.Override
public java.lang.String toString()
{
return "SetTC9206";
}
// BEGIN EXTRA CODE
// END EXTRA CODE
}
| [
"[email protected]"
] | |
3f798f66fee6036b594ffd7641d41c17c16b6131 | ed6191681cb29117f3240b763d31f5e3e559c3cc | /generics/Caixa.java | 49e20dccd6bb9e52538a9f6846dafb78d7177ac6 | [
"MIT"
] | permissive | heltonricardo/estudo-java | 756c85c0869ff4f195dbf24b4039a662e4faeca2 | edaa8f968a75c4336e2646eb36c08ceda622cc36 | refs/heads/master | 2022-12-27T21:05:03.528948 | 2020-10-14T14:58:32 | 2020-10-14T14:58:32 | 284,755,962 | 0 | 0 | null | null | null | null | ISO-8859-1 | Java | false | false | 217 | java | package generics;
public class Caixa<T> {
// O Generic é sempre todo em maiúsculas, ex: TIPO
private T coisa;
public void guardar(T coisa) {
this.coisa = coisa;
}
public T abrir() {
return coisa;
}
}
| [
"[email protected]"
] | |
1d0446730996801721489abcc1b01757d1da5f6e | 6baf1fe00541560788e78de5244ae17a7a2b375a | /hollywood/com.oculus.socialplatform-base/sources/X/AnonymousClass0Qy.java | c4be12395be419b2af4d13d239dc0ca9fe77440e | [] | no_license | phwd/quest-tracker | 286e605644fc05f00f4904e51f73d77444a78003 | 3d46fbb467ba11bee5827f7cae7dfeabeb1fd2ba | refs/heads/main | 2023-03-29T20:33:10.959529 | 2021-04-10T22:14:11 | 2021-04-10T22:14:11 | 357,185,040 | 4 | 2 | null | 2021-04-12T12:28:09 | 2021-04-12T12:28:08 | null | UTF-8 | Java | false | false | 712 | java | package X;
import com.fasterxml.jackson.databind.annotation.JacksonStdImpl;
@JacksonStdImpl
/* renamed from: X.0Qy reason: invalid class name */
public final class AnonymousClass0Qy extends AbstractC02030hq {
public static final long serialVersionUID = 1;
public AnonymousClass0Qy() {
super(Byte.class);
}
@Override // X.AbstractC02030hq
public final Object A01(String str, AbstractC02210iH r4) throws Exception {
int parseInt = Integer.parseInt(str);
if (parseInt >= -128 && parseInt <= 255) {
return Byte.valueOf((byte) parseInt);
}
throw r4.A0E(this._keyClass, str, "overflow, value can not be represented as 8-bit value");
}
}
| [
"[email protected]"
] | |
90f7e507a976d71ed68469ad68eadd6f5ef7c046 | df98bafd2ff6d98ace95a87cdbb5d36b9c374397 | /MMU/CacheAlgorithm/src/com/company/MFUAlgoCacheImpl.java | d18c9809b21d60f653f48bdcc655a7a3538c47b5 | [] | no_license | SariYus/MMU-java | bf46e6d85a4129c8482c588d453b5a31a50c89fd | 8d66dd2419e94c57a32a46bddbc0a8cf85c0227d | refs/heads/main | 2023-07-14T01:12:11.006588 | 2021-08-25T21:15:11 | 2021-08-25T21:15:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,513 | java | package com.company;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Map;
/**
* implements cache memory according to the MFU algorithm
* memoryUse : saves the number of accesses per element in memory
*/
public class MFUAlgoCacheImpl<K, V> extends AbstractAlgoCache<K, V> {
private Map<K, Integer> memoryUse;
/**
* constructor - initialize variables
*/
public MFUAlgoCacheImpl(int capacity) {
super(capacity);
memoryUse = new HashMap<>();
}
/**
* @return memoryUse map of all elements
*/
public Map<K, Integer> getMemoryUse() {
return memoryUse;
}
@Override
public V putElement(K key, V value) {
putInRam(key, value);
V retValue = null;
if (isMemoryFull()) {
K max = Collections.max(memoryUse.entrySet(), Comparator.comparingInt(Map.Entry::getValue)).getKey();
retValue = getElement(max);
removeElement(max);
putInRam(key, value);
}
memoryUse.put(key, 0);
return retValue;
}
@Override
public V getElement(K key) {
if (memoryUse.get(key) != null) {
memoryUse.put(key, memoryUse.get(key).intValue() + 1);
}
return super.getElement(key);
}
@Override
public void removeElement(K key) {
super.removeElement(key);
memoryUse.remove(key);
}
}
| [
"[email protected]"
] | |
585daaa7a112b42a87ff15f89d38c19c164fd217 | 24aa99d8656a101bc8a838e062628d6a3ecf8732 | /team_market_customer/src/main/java/team/market/customer/dao/impl/ProductDaoImpl.java | 2e8e54b0e4961777e7804971b4dfcaeaa9757722 | [] | no_license | bhjklt/team_market | d7c7cb2b14d7f1c45b9b2bfde794e792f634818a | 8f50ab14ce060b499e9a6f5f0939d49a118709f8 | refs/heads/master | 2020-03-22T22:11:27.366223 | 2018-07-16T07:56:32 | 2018-07-16T07:56:32 | 140,738,349 | 1 | 1 | null | null | null | null | UTF-8 | Java | false | false | 1,371 | java | package team.market.customer.dao.impl;
import team.market.common.dao.BaseDaoImpl;
import team.market.common.util.ConnectionManager;
import team.market.customer.dao.ProductDao;
import team.market.customer.pojo.Product;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class ProductDaoImpl extends BaseDaoImpl<Product,String> implements ProductDao {
@Override
public List<Product> findProductsBySid(String sid) {
List<Product> products = new ArrayList<>();
String sql = "select * from mc_product where sid = ?";
try {
PreparedStatement statement = ConnectionManager.getInstance().prepareStatement(sql);
statement.setString(1,sid);
ResultSet rs = statement.executeQuery();
while(rs.next()){
Product product = new Product(rs.getString("id"),rs.getString("sid"),rs.getString("name"),
rs.getString("description"),rs.getString("images"),rs.getDouble("price"),
rs.getInt("quantity"),rs.getDate("create_time"));
products.add(product);
}
statement.close();
rs.close();
} catch (SQLException e) {
e.printStackTrace();
}
return products;
}
}
| [
"[email protected]"
] | |
49232f1f1bfffcf26a99dc4fb90241f98e4e1635 | cf0c8f2245cde6f40110ac0888af73f115fb8697 | /api/src/test/java/org/jmisb/api/klv/st1108/InterpretabilityQualityLocalSetFactoryTest.java | 1fece6eb7677d841943c02cbdce84767e59fdbb5 | [
"MIT"
] | permissive | WestRidgeSystems/jmisb | c7f63b5425be56963a8c9d622c1c5d61a460817c | 55efe5e92b96fa91b49e5b7d191c31ed82567601 | refs/heads/main | 2023-06-09T17:08:16.588360 | 2023-05-31T13:57:41 | 2023-05-31T13:57:41 | 134,449,523 | 46 | 16 | MIT | 2023-05-31T13:57:42 | 2018-05-22T17:15:01 | Java | UTF-8 | Java | false | false | 5,719 | java | package org.jmisb.api.klv.st1108;
import static org.testng.Assert.*;
import org.jmisb.api.common.KlvParseException;
import org.jmisb.api.klv.IMisbMessage;
import org.jmisb.api.klv.KlvConstants;
import org.jmisb.api.klv.LoggerChecks;
import org.jmisb.api.klv.st1108.st1108_2.LegacyIQLocalSet;
import org.jmisb.api.klv.st1108.st1108_2.LegacyIQLocalSetTest;
import org.jmisb.api.klv.st1108.st1108_3.IQLocalSet;
import org.jmisb.api.klv.st1108.st1108_3.IQLocalSetTest;
import org.testng.annotations.Test;
/** Tests for the ST 1108 Interpretability and Quality Local Set Factory. */
public class InterpretabilityQualityLocalSetFactoryTest extends LoggerChecks {
InterpretabilityQualityLocalSetFactoryTest() {
super(IQLocalSet.class);
}
@Test
public void parseTagSimple() throws KlvParseException {
final byte[] bytes =
new byte[] {
0x06,
0x0E,
0x2B,
0x34,
0x02,
0x03,
0x01,
0x01,
0x0E,
0x01,
0x03,
0x03,
0x1C,
0x00,
0x00,
0x00,
0x07,
0x01,
0x01,
0x04,
0x0B,
0x02,
(byte) 0xf5,
(byte) 0xca
};
InterpretabilityQualityLocalSetFactory factory =
new InterpretabilityQualityLocalSetFactory();
IMisbMessage message = factory.create(bytes);
assertNotNull(message);
assertTrue(message instanceof IQLocalSet);
IQLocalSet localSet = (IQLocalSet) message;
assertEquals(localSet.displayHeader(), "ST 1108 Interpretability and Quality");
assertEquals(localSet.getUniversalLabel(), KlvConstants.InterpretabilityQualityLocalSetUl);
assertEquals(localSet.getIdentifiers().size(), 1);
IQLocalSetTest.checkAssessmentPoint(localSet);
assertEquals(localSet.frameMessage(false), bytes);
}
@Test
public void parseTagSimpleLegacy() throws KlvParseException {
final byte[] bytes =
new byte[] {
0x06,
0x0E,
0x2B,
0x34,
0x02,
0x03,
0x01,
0x01,
0x0E,
0x01,
0x03,
0x03,
0x1C,
0x00,
0x00,
0x00,
0x0a,
0x01,
0x08,
(byte) 0x00,
(byte) 0x00,
(byte) 0x00,
(byte) 0x00,
(byte) 0x00,
(byte) 0x00,
(byte) 0x00,
(byte) 0x09,
};
InterpretabilityQualityLocalSetFactory factory =
new InterpretabilityQualityLocalSetFactory();
IMisbMessage message = factory.create(bytes);
assertNotNull(message);
assertTrue(message instanceof LegacyIQLocalSet);
LegacyIQLocalSet localSet = (LegacyIQLocalSet) message;
assertEquals(localSet.displayHeader(), "ST 1108 Legacy Interpretability and Quality");
assertEquals(localSet.getUniversalLabel(), KlvConstants.InterpretabilityQualityLocalSetUl);
assertEquals(localSet.getIdentifiers().size(), 1);
LegacyIQLocalSetTest.checkMostRecentFrameTime(localSet);
assertEquals(localSet.frameMessage(false), bytes);
}
@Test
public void parseTagSimpleUnknown() throws KlvParseException {
final byte[] bytes =
new byte[] {
0x06,
0x0E,
0x2B,
0x34,
0x02,
0x03,
0x01,
0x01,
0x0E,
0x01,
0x03,
0x03,
0x1C,
0x00,
0x00,
0x00,
0x05,
0x01,
0x03,
(byte) 0x01,
(byte) 0x02,
(byte) 0x03
};
InterpretabilityQualityLocalSetFactory factory =
new InterpretabilityQualityLocalSetFactory();
IMisbMessage message = factory.create(bytes);
assertNull(message);
}
@Test
public void parseTagSimpleUnknownNoTag1() throws KlvParseException {
final byte[] bytes =
new byte[] {
0x06,
0x0E,
0x2B,
0x34,
0x02,
0x03,
0x01,
0x01,
0x0E,
0x01,
0x03,
0x03,
0x1C,
0x00,
0x00,
0x00,
0x04,
0x02,
0x02,
(byte) 0x01,
(byte) 0x02,
};
InterpretabilityQualityLocalSetFactory factory =
new InterpretabilityQualityLocalSetFactory();
IMisbMessage message = factory.create(bytes);
assertNull(message);
}
}
| [
"[email protected]"
] | |
196fe85e2e00469b5e961e1badb658871d8285b0 | 9002ce5a547a799bfaadedf08c9dac59c5dc09b5 | /store-common/src/main/java/com/store/common/utils/R.java | b0272aad7fb1d9ecf8656d35bd1a091626d614e0 | [
"Apache-2.0"
] | permissive | ZeroCreate999/soundStore | 32184005fdeca057f79706c5b5c669c29b9c8362 | 4bf51aa81ffcafcaadfbfbd1a6aec7f8978307e1 | refs/heads/main | 2023-05-10T05:11:58.616064 | 2021-06-09T02:46:23 | 2021-06-09T02:46:23 | 373,701,681 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,140 | java | /**
* Copyright (c) 2016-2019 人人开源 All rights reserved.
*
* https://www.renren.io
*
* 版权所有,侵权必究!
*/
package com.store.common.utils;
import org.apache.http.HttpStatus;
import java.util.HashMap;
import java.util.Map;
/**
* 返回数据
*
* @author Mark [email protected]
*/
public class R extends HashMap<String, Object> {
private static final long serialVersionUID = 1L;
public R() {
put("code", 0);
put("msg", "success");
}
public static R error() {
return error(HttpStatus.SC_INTERNAL_SERVER_ERROR, "未知异常,请联系管理员");
}
public static R error(String msg) {
return error(HttpStatus.SC_INTERNAL_SERVER_ERROR, msg);
}
public static R error(int code, String msg) {
R r = new R();
r.put("code", code);
r.put("msg", msg);
return r;
}
public static R ok(String msg) {
R r = new R();
r.put("msg", msg);
return r;
}
public static R ok(Map<String, Object> map) {
R r = new R();
r.putAll(map);
return r;
}
public static R ok() {
return new R();
}
public R put(String key, Object value) {
super.put(key, value);
return this;
}
}
| [
"[email protected]"
] | |
a5173e8c5825a505793b0f9b5b616884004c5f7a | 065c1f648e8dd061a20147ff9c0dbb6b5bc8b9be | /eclipseswt_cluster/26400/src_1.java | b4867298dbd03fa39481999872a574317cbade9b | [] | no_license | martinezmatias/GenPat-data-C3 | 63cfe27efee2946831139747e6c20cf952f1d6f6 | b360265a6aa3bb21bd1d64f1fc43c3b37d0da2a4 | refs/heads/master | 2022-04-25T17:59:03.905613 | 2020-04-15T14:41:34 | 2020-04-15T14:41:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 28,512 | java | /*******************************************************************************
* Copyright (c) 2000, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.swt.graphics;
import org.eclipse.swt.internal.*;
import org.eclipse.swt.internal.gdip.*;
import org.eclipse.swt.internal.win32.*;
import org.eclipse.swt.*;
/**
* This class is the abstract superclass of all device objects,
* such as the Display device and the Printer device. Devices
* can have a graphics context (GC) created for them, and they
* can be drawn on by sending messages to the associated GC.
*/
public abstract class Device implements Drawable {
/* Debugging */
public static boolean DEBUG;
boolean debug = DEBUG;
boolean tracking = DEBUG;
Error [] errors;
Object [] objects;
Object trackingLock;
/**
* Palette
* (Warning: This field is platform dependent)
* <p>
* <b>IMPORTANT:</b> This field is <em>not</em> part of the SWT
* public API. It is marked public only so that it can be shared
* within the packages provided by SWT. It is not available on all
* platforms and should never be accessed from application code.
* </p>
*/
public int /*long*/ hPalette = 0;
int [] colorRefCount;
/* System Font */
Font systemFont;
/* Font Enumeration */
int nFonts = 256;
LOGFONT [] logFonts;
TEXTMETRIC metrics;
int[] pixels;
/* Scripts */
int /*long*/ [] scripts;
/* Advanced Graphics */
int /*long*/ [] gdipToken;
boolean disposed;
/*
* TEMPORARY CODE. When a graphics object is
* created and the device parameter is null,
* the current Display is used. This presents
* a problem because SWT graphics does not
* reference classes in SWT widgets. The correct
* fix is to remove this feature. Unfortunately,
* too many application programs rely on this
* feature.
*
* This code will be removed in the future.
*/
protected static Device CurrentDevice;
protected static Runnable DeviceFinder;
static {
try {
Class.forName ("org.eclipse.swt.widgets.Display"); //$NON-NLS-1$
} catch (Throwable e) {}
}
/*
* TEMPORARY CODE.
*/
static synchronized Device getDevice () {
if (DeviceFinder != null) DeviceFinder.run();
Device device = CurrentDevice;
CurrentDevice = null;
return device;
}
/**
* Constructs a new instance of this class.
* <p>
* You must dispose the device when it is no longer required.
* </p>
*
* @see #create
* @see #init
*
* @since 3.1
*/
public Device() {
this(null);
}
/**
* Constructs a new instance of this class.
* <p>
* You must dispose the device when it is no longer required.
* </p>
*
* @param data the DeviceData which describes the receiver
*
* @see #create
* @see #init
* @see DeviceData
*/
public Device(DeviceData data) {
synchronized (Device.class) {
if (data != null) {
debug = data.debug;
tracking = data.tracking;
}
if (tracking) {
errors = new Error [128];
objects = new Object [128];
trackingLock = new Object ();
}
create (data);
init ();
/* Initialize the system font slot */
systemFont = getSystemFont();
}
}
/**
* Throws an <code>SWTException</code> if the receiver can not
* be accessed by the caller. This may include both checks on
* the state of the receiver and more generally on the entire
* execution context. This method <em>should</em> be called by
* device implementors to enforce the standard SWT invariants.
* <p>
* Currently, it is an error to invoke any method (other than
* <code>isDisposed()</code> and <code>dispose()</code>) on a
* device that has had its <code>dispose()</code> method called.
* </p><p>
* In future releases of SWT, there may be more or fewer error
* checks and exceptions may be thrown for different reasons.
* <p>
*
* @exception SWTException <ul>
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
protected void checkDevice () {
if (disposed) SWT.error(SWT.ERROR_DEVICE_DISPOSED);
}
void checkGDIP() {
if (gdipToken != null) return;
int oldErrorMode = 0;
if (!OS.IsWinCE) oldErrorMode = OS.SetErrorMode (OS.SEM_FAILCRITICALERRORS);
try {
int /*long*/ [] token = new int /*long*/ [1];
GdiplusStartupInput input = new GdiplusStartupInput ();
input.GdiplusVersion = 1;
if (Gdip.GdiplusStartup (token, input, 0) == 0) {
gdipToken = token;
}
} catch (Throwable t) {
SWT.error (SWT.ERROR_NO_GRAPHICS_LIBRARY, t, " [GDI+ is required]"); //$NON-NLS-1$
} finally {
if (!OS.IsWinCE) OS.SetErrorMode (oldErrorMode);
}
}
/**
* Creates the device in the operating system. If the device
* does not have a handle, this method may do nothing depending
* on the device.
* <p>
* This method is called before <code>init</code>.
* </p><p>
* Subclasses are supposed to reimplement this method and not
* call the <code>super</code> implementation.
* </p>
*
* @param data the DeviceData which describes the receiver
*
* @see #init
*/
protected void create (DeviceData data) {
}
int computePixels(float height) {
int /*long*/ hDC = internal_new_GC (null);
int pixels = -(int)(0.5f + (height * OS.GetDeviceCaps(hDC, OS.LOGPIXELSY) / 72f));
internal_dispose_GC (hDC, null);
return pixels;
}
float computePoints(LOGFONT logFont, int /*long*/ hFont) {
int /*long*/ hDC = internal_new_GC (null);
int logPixelsY = OS.GetDeviceCaps(hDC, OS.LOGPIXELSY);
int pixels = 0;
if (logFont.lfHeight > 0) {
/*
* Feature in Windows. If the lfHeight of the LOGFONT structure
* is positive, the lfHeight measures the height of the entire
* cell, including internal leading, in logical units. Since the
* height of a font in points does not include the internal leading,
* we must subtract the internal leading, which requires a TEXTMETRIC.
*/
int /*long*/ oldFont = OS.SelectObject(hDC, hFont);
TEXTMETRIC lptm = OS.IsUnicode ? (TEXTMETRIC)new TEXTMETRICW() : new TEXTMETRICA();
OS.GetTextMetrics(hDC, lptm);
OS.SelectObject(hDC, oldFont);
pixels = logFont.lfHeight - lptm.tmInternalLeading;
} else {
pixels = -logFont.lfHeight;
}
internal_dispose_GC (hDC, null);
return pixels * 72f / logPixelsY;
}
/**
* Destroys the device in the operating system and releases
* the device's handle. If the device does not have a handle,
* this method may do nothing depending on the device.
* <p>
* This method is called after <code>release</code>.
* </p><p>
* Subclasses are supposed to reimplement this method and not
* call the <code>super</code> implementation.
* </p>
*
* @see #dispose
* @see #release
*/
protected void destroy () {
}
/**
* Disposes of the operating system resources associated with
* the receiver. After this method has been invoked, the receiver
* will answer <code>true</code> when sent the message
* <code>isDisposed()</code>.
*
* @see #release
* @see #destroy
* @see #checkDevice
*/
public void dispose () {
synchronized (Device.class) {
if (isDisposed()) return;
checkDevice ();
release ();
destroy ();
disposed = true;
if (tracking) {
synchronized (trackingLock) {
printErrors ();
objects = null;
errors = null;
trackingLock = null;
}
}
}
}
void dispose_Object (Object object) {
synchronized (trackingLock) {
for (int i=0; i<objects.length; i++) {
if (objects [i] == object) {
objects [i] = null;
errors [i] = null;
return;
}
}
}
}
int /*long*/ EnumFontFamProc (int /*long*/ lpelfe, int /*long*/ lpntme, int /*long*/ FontType, int /*long*/ lParam) {
boolean isScalable = ((int)/*64*/FontType & OS.RASTER_FONTTYPE) == 0;
boolean scalable = lParam == 1;
if (isScalable == scalable) {
/* Add the log font to the list of log fonts */
if (nFonts == logFonts.length) {
LOGFONT [] newLogFonts = new LOGFONT [logFonts.length + 128];
System.arraycopy (logFonts, 0, newLogFonts, 0, nFonts);
logFonts = newLogFonts;
int[] newPixels = new int[newLogFonts.length];
System.arraycopy (pixels, 0, newPixels, 0, nFonts);
pixels = newPixels;
}
LOGFONT logFont = logFonts [nFonts];
if (logFont == null) logFont = OS.IsUnicode ? (LOGFONT)new LOGFONTW () : new LOGFONTA ();
OS.MoveMemory (logFont, lpelfe, LOGFONT.sizeof);
logFonts [nFonts] = logFont;
if (logFont.lfHeight > 0) {
/*
* Feature in Windows. If the lfHeight of the LOGFONT structure
* is positive, the lfHeight measures the height of the entire
* cell, including internal leading, in logical units. Since the
* height of a font in points does not include the internal leading,
* we must subtract the internal leading, which requires a TEXTMETRIC,
* which in turn requires font creation.
*/
OS.MoveMemory(metrics, lpntme, TEXTMETRIC.sizeof);
pixels[nFonts] = logFont.lfHeight - metrics.tmInternalLeading;
} else {
pixels[nFonts] = -logFont.lfHeight;
}
nFonts++;
}
return 1;
}
/**
* Returns a rectangle describing the receiver's size and location.
*
* @return the bounding rectangle
*
* @exception SWTException <ul>
* <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
public Rectangle getBounds () {
checkDevice ();
int /*long*/ hDC = internal_new_GC (null);
int width = OS.GetDeviceCaps (hDC, OS.HORZRES);
int height = OS.GetDeviceCaps (hDC, OS.VERTRES);
internal_dispose_GC (hDC, null);
return new Rectangle (0, 0, width, height);
}
/**
* Returns a <code>DeviceData</code> based on the receiver.
* Modifications made to this <code>DeviceData</code> will not
* affect the receiver.
*
* @return a <code>DeviceData</code> containing the device's data and attributes
*
* @exception SWTException <ul>
* <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @see DeviceData
*/
public DeviceData getDeviceData () {
checkDevice();
DeviceData data = new DeviceData ();
data.debug = debug;
data.tracking = tracking;
if (tracking) {
synchronized (trackingLock) {
int count = 0, length = objects.length;
for (int i=0; i<length; i++) {
if (objects [i] != null) count++;
}
int index = 0;
data.objects = new Object [count];
data.errors = new Error [count];
for (int i=0; i<length; i++) {
if (objects [i] != null) {
data.objects [index] = objects [i];
data.errors [index] = errors [i];
index++;
}
}
}
} else {
data.objects = new Object [0];
data.errors = new Error [0];
}
return data;
}
/**
* Returns a rectangle which describes the area of the
* receiver which is capable of displaying data.
*
* @return the client area
*
* @exception SWTException <ul>
* <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @see #getBounds
*/
public Rectangle getClientArea () {
return getBounds ();
}
/**
* Returns the bit depth of the screen, which is the number of
* bits it takes to represent the number of unique colors that
* the screen is currently capable of displaying. This number
* will typically be one of 1, 8, 15, 16, 24 or 32.
*
* @return the depth of the screen
*
* @exception SWTException <ul>
* <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
public int getDepth () {
checkDevice ();
int /*long*/ hDC = internal_new_GC (null);
int bits = OS.GetDeviceCaps (hDC, OS.BITSPIXEL);
int planes = OS.GetDeviceCaps (hDC, OS.PLANES);
internal_dispose_GC (hDC, null);
return bits * planes;
}
/**
* Returns a point whose x coordinate is the horizontal
* dots per inch of the display, and whose y coordinate
* is the vertical dots per inch of the display.
*
* @return the horizontal and vertical DPI
*
* @exception SWTException <ul>
* <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
public Point getDPI () {
checkDevice ();
int /*long*/ hDC = internal_new_GC (null);
int dpiX = OS.GetDeviceCaps (hDC, OS.LOGPIXELSX);
int dpiY = OS.GetDeviceCaps (hDC, OS.LOGPIXELSY);
internal_dispose_GC (hDC, null);
return new Point (dpiX, dpiY);
}
/**
* Returns <code>FontData</code> objects which describe
* the fonts that match the given arguments. If the
* <code>faceName</code> is null, all fonts will be returned.
*
* @param faceName the name of the font to look for, or null
* @param scalable if true only scalable fonts are returned, otherwise only non-scalable fonts are returned.
* @return the matching font data
*
* @exception SWTException <ul>
* <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
public FontData [] getFontList (String faceName, boolean scalable) {
checkDevice ();
/* Create the callback */
Callback callback = new Callback (this, "EnumFontFamProc", 4); //$NON-NLS-1$
int /*long*/ lpEnumFontFamProc = callback.getAddress ();
if (lpEnumFontFamProc == 0) SWT.error (SWT.ERROR_NO_MORE_CALLBACKS);
/* Initialize the instance variables */
metrics = OS.IsUnicode ? (TEXTMETRIC)new TEXTMETRICW() : new TEXTMETRICA();
pixels = new int[nFonts];
logFonts = new LOGFONT [nFonts];
for (int i=0; i<logFonts.length; i++) {
logFonts [i] = OS.IsUnicode ? (LOGFONT) new LOGFONTW () : new LOGFONTA ();
}
nFonts = 0;
/* Enumerate */
int offset = 0;
int /*long*/ hDC = internal_new_GC (null);
if (faceName == null) {
/* The user did not specify a face name, so they want all versions of all available face names */
OS.EnumFontFamilies (hDC, null, lpEnumFontFamProc, scalable ? 1 : 0);
/**
* For bitmapped fonts, EnumFontFamilies only enumerates once for each font, regardless
* of how many styles are available. If the user wants bitmapped fonts, enumerate on
* each face name now.
*/
offset = nFonts;
for (int i=0; i<offset; i++) {
LOGFONT lf = logFonts [i];
/**
* Bug in Windows 98. When EnumFontFamiliesEx is called with a specified face name, it
* should enumerate for each available style of that font. Instead, it only enumerates
* once. The fix is to call EnumFontFamilies, which works as expected.
*/
if (OS.IsUnicode) {
OS.EnumFontFamiliesW (hDC, ((LOGFONTW)lf).lfFaceName, lpEnumFontFamProc, scalable ? 1 : 0);
} else {
OS.EnumFontFamiliesA (hDC, ((LOGFONTA)lf).lfFaceName, lpEnumFontFamProc, scalable ? 1 : 0);
}
}
} else {
/* Use the character encoding for the default locale */
TCHAR lpFaceName = new TCHAR (0, faceName, true);
/**
* Bug in Windows 98. When EnumFontFamiliesEx is called with a specified face name, it
* should enumerate for each available style of that font. Instead, it only enumerates
* once. The fix is to call EnumFontFamilies, which works as expected.
*/
OS.EnumFontFamilies (hDC, lpFaceName, lpEnumFontFamProc, scalable ? 1 : 0);
}
int logPixelsY = OS.GetDeviceCaps(hDC, OS.LOGPIXELSY);
internal_dispose_GC (hDC, null);
/* Create the fontData from the logfonts */
int count = 0;
FontData [] result = new FontData [nFonts - offset];
for (int i=offset; i<nFonts; i++) {
FontData fd = FontData.win32_new (logFonts [i], pixels [i] * 72f / logPixelsY);
int j;
for (j = 0; j < count; j++) {
if (fd.equals (result [j])) break;
}
if (j == count) result [count++] = fd;
}
if (count != result.length) {
FontData [] newResult = new FontData [count];
System.arraycopy (result, 0, newResult, 0, count);
result = newResult;
}
/* Clean up */
callback.dispose ();
logFonts = null;
pixels = null;
metrics = null;
return result;
}
String getLastError () {
int error = OS.GetLastError();
if (error == 0) return ""; //$NON-NLS-1$
return " [GetLastError=0x" + Integer.toHexString(error) + "]"; //$NON-NLS-1$ //$NON-NLS-2$
}
String getLastErrorText () {
int error = OS.GetLastError();
if (error == 0) return ""; //$NON-NLS-1$
int /*long*/ [] buffer = new int /*long*/ [1];
int dwFlags = OS.FORMAT_MESSAGE_ALLOCATE_BUFFER | OS.FORMAT_MESSAGE_FROM_SYSTEM | OS.FORMAT_MESSAGE_IGNORE_INSERTS;
int length = OS.FormatMessage(dwFlags, 0, error, OS.LANG_USER_DEFAULT, buffer, 0, 0);
if (length == 0) return " [GetLastError=0x" + Integer.toHexString(error) + "]"; //$NON-NLS-1$ //$NON-NLS-2$
TCHAR buffer1 = new TCHAR(0, length);
OS.MoveMemory(buffer1, buffer[0], length * TCHAR.sizeof);
if (buffer[0] != 0) OS.LocalFree(buffer[0]);
return buffer1.toString(0, length);
}
/**
* Returns the matching standard color for the given
* constant, which should be one of the color constants
* specified in class <code>SWT</code>. Any value other
* than one of the SWT color constants which is passed
* in will result in the color black. This color should
* not be freed because it was allocated by the system,
* not the application.
*
* @param id the color constant
* @return the matching color
*
* @exception SWTException <ul>
* <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @see SWT
*/
public Color getSystemColor (int id) {
checkDevice ();
int pixel = 0x00000000;
switch (id) {
case SWT.COLOR_WHITE: pixel = 0x00FFFFFF; break;
case SWT.COLOR_BLACK: pixel = 0x00000000; break;
case SWT.COLOR_RED: pixel = 0x000000FF; break;
case SWT.COLOR_DARK_RED: pixel = 0x00000080; break;
case SWT.COLOR_GREEN: pixel = 0x0000FF00; break;
case SWT.COLOR_DARK_GREEN: pixel = 0x00008000; break;
case SWT.COLOR_YELLOW: pixel = 0x0000FFFF; break;
case SWT.COLOR_DARK_YELLOW: pixel = 0x00008080; break;
case SWT.COLOR_BLUE: pixel = 0x00FF0000; break;
case SWT.COLOR_DARK_BLUE: pixel = 0x00800000; break;
case SWT.COLOR_MAGENTA: pixel = 0x00FF00FF; break;
case SWT.COLOR_DARK_MAGENTA: pixel = 0x00800080; break;
case SWT.COLOR_CYAN: pixel = 0x00FFFF00; break;
case SWT.COLOR_DARK_CYAN: pixel = 0x00808000; break;
case SWT.COLOR_GRAY: pixel = 0x00C0C0C0; break;
case SWT.COLOR_DARK_GRAY: pixel = 0x00808080; break;
}
return Color.win32_new (this, pixel);
}
/**
* Returns a reasonable font for applications to use.
* On some platforms, this will match the "default font"
* or "system font" if such can be found. This font
* should not be freed because it was allocated by the
* system, not the application.
* <p>
* Typically, applications which want the default look
* should simply not set the font on the widgets they
* create. Widgets are always created with the correct
* default font for the class of user-interface component
* they represent.
* </p>
*
* @return a font
*
* @exception SWTException <ul>
* <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
public Font getSystemFont () {
checkDevice ();
int /*long*/ hFont = OS.GetStockObject (OS.SYSTEM_FONT);
return Font.win32_new (this, hFont);
}
/**
* Returns <code>true</code> if the underlying window system prints out
* warning messages on the console, and <code>setWarnings</code>
* had previously been called with <code>true</code>.
*
* @return <code>true</code>if warnings are being handled, and <code>false</code> otherwise
*
* @exception SWTException <ul>
* <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
public boolean getWarnings () {
checkDevice ();
return false;
}
/**
* Initializes any internal resources needed by the
* device.
* <p>
* This method is called after <code>create</code>.
* </p><p>
* If subclasses reimplement this method, they must
* call the <code>super</code> implementation.
* </p>
*
* @see #create
*/
protected void init () {
if (debug) {
if (!OS.IsWinCE) OS.GdiSetBatchLimit(1);
}
/* Initialize scripts list */
if (!OS.IsWinCE) {
int /*long*/ [] ppSp = new int /*long*/ [1];
int [] piNumScripts = new int [1];
OS.ScriptGetProperties (ppSp, piNumScripts);
scripts = new int /*long*/ [piNumScripts [0]];
OS.MoveMemory (scripts, ppSp [0], scripts.length * OS.PTR_SIZEOF);
}
/*
* If we're not on a device which supports palettes,
* don't create one.
*/
int /*long*/ hDC = internal_new_GC (null);
int rc = OS.GetDeviceCaps (hDC, OS.RASTERCAPS);
int bits = OS.GetDeviceCaps (hDC, OS.BITSPIXEL);
int planes = OS.GetDeviceCaps (hDC, OS.PLANES);
bits *= planes;
if ((rc & OS.RC_PALETTE) == 0 || bits != 8) {
internal_dispose_GC (hDC, null);
return;
}
int numReserved = OS.GetDeviceCaps (hDC, OS.NUMRESERVED);
int numEntries = OS.GetDeviceCaps (hDC, OS.SIZEPALETTE);
if (OS.IsWinCE) {
/*
* Feature on WinCE. For some reason, certain 8 bit WinCE
* devices return 0 for the number of reserved entries in
* the system palette. Their system palette correctly contains
* the usual 20 system colors. The workaround is to assume
* there are 20 reserved system colors instead of 0.
*/
if (numReserved == 0 && numEntries >= 20) numReserved = 20;
}
/* Create the palette and reference counter */
colorRefCount = new int [numEntries];
/* 4 bytes header + 4 bytes per entry * numEntries entries */
byte [] logPalette = new byte [4 + 4 * numEntries];
/* 2 bytes = special header */
logPalette [0] = 0x00;
logPalette [1] = 0x03;
/* 2 bytes = number of colors, LSB first */
logPalette [2] = 0;
logPalette [3] = 1;
/*
* Create a palette which contains the system entries
* as they are located in the system palette. The
* MSDN article 'Memory Device Contexts' describes
* where system entries are located. On an 8 bit
* display with 20 reserved colors, the system colors
* will be the first 10 entries and the last 10 ones.
*/
byte[] lppe = new byte [4 * numEntries];
OS.GetSystemPaletteEntries (hDC, 0, numEntries, lppe);
/* Copy all entries from the system palette */
System.arraycopy (lppe, 0, logPalette, 4, 4 * numEntries);
/* Lock the indices corresponding to the system entries */
for (int i = 0; i < numReserved / 2; i++) {
colorRefCount [i] = 1;
colorRefCount [numEntries - 1 - i] = 1;
}
internal_dispose_GC (hDC, null);
hPalette = OS.CreatePalette (logPalette);
}
/**
* Invokes platform specific functionality to allocate a new GC handle.
* <p>
* <b>IMPORTANT:</b> This method is <em>not</em> part of the public
* API for <code>Device</code>. It is marked public only so that it
* can be shared within the packages provided by SWT. It is not
* available on all platforms, and should never be called from
* application code.
* </p>
*
* @param data the platform specific GC data
* @return the platform specific GC handle
*/
public abstract int /*long*/ internal_new_GC (GCData data);
/**
* Invokes platform specific functionality to dispose a GC handle.
* <p>
* <b>IMPORTANT:</b> This method is <em>not</em> part of the public
* API for <code>Device</code>. It is marked public only so that it
* can be shared within the packages provided by SWT. It is not
* available on all platforms, and should never be called from
* application code.
* </p>
*
* @param hDC the platform specific GC handle
* @param data the platform specific GC data
*/
public abstract void /*long*/ internal_dispose_GC (int /*long*/ hDC, GCData data);
/**
* Returns <code>true</code> if the device has been disposed,
* and <code>false</code> otherwise.
* <p>
* This method gets the dispose state for the device.
* When a device has been disposed, it is an error to
* invoke any other method using the device.
*
* @return <code>true</code> when the device is disposed and <code>false</code> otherwise
*/
public boolean isDisposed () {
synchronized (Device.class) {
return disposed;
}
}
/**
* Loads the font specified by a file. The font will be
* present in the list of fonts available to the application.
*
* @param path the font file path
* @return whether the font was successfully loaded
*
* @exception SWTException <ul>
* <li>ERROR_NULL_ARGUMENT - if path is null</li>
* <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li>
* </ul>
*
* @see Font
*
* @since 3.3
*/
public boolean loadFont (String path) {
checkDevice();
if (path == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
if (OS.IsWinNT && OS.WIN32_VERSION >= OS.VERSION (4, 10)) {
TCHAR lpszFilename = new TCHAR (0, path, true);
return OS.AddFontResourceEx (lpszFilename, OS.FR_PRIVATE, 0) != 0;
}
return false;
}
void new_Object (Object object) {
synchronized (trackingLock) {
for (int i=0; i<objects.length; i++) {
if (objects [i] == null) {
objects [i] = object;
errors [i] = new Error ();
return;
}
}
Object [] newObjects = new Object [objects.length + 128];
System.arraycopy (objects, 0, newObjects, 0, objects.length);
newObjects [objects.length] = object;
objects = newObjects;
Error [] newErrors = new Error [errors.length + 128];
System.arraycopy (errors, 0, newErrors, 0, errors.length);
newErrors [errors.length] = new Error ();
errors = newErrors;
}
}
void printErrors () {
if (!DEBUG) return;
if (tracking) {
synchronized (trackingLock) {
if (objects == null || errors == null) return;
int objectCount = 0;
int colors = 0, cursors = 0, fonts = 0, gcs = 0, images = 0;
int paths = 0, patterns = 0, regions = 0, textLayouts = 0, transforms = 0;
for (int i=0; i<objects.length; i++) {
Object object = objects [i];
if (object != null) {
objectCount++;
if (object instanceof Color) colors++;
if (object instanceof Cursor) cursors++;
if (object instanceof Font) fonts++;
if (object instanceof GC) gcs++;
if (object instanceof Image) images++;
if (object instanceof Path) paths++;
if (object instanceof Pattern) patterns++;
if (object instanceof Region) regions++;
if (object instanceof TextLayout) textLayouts++;
if (object instanceof Transform) transforms++;
}
}
if (objectCount != 0) {
String string = "Summary: ";
if (colors != 0) string += colors + " Color(s), ";
if (cursors != 0) string += cursors + " Cursor(s), ";
if (fonts != 0) string += fonts + " Font(s), ";
if (gcs != 0) string += gcs + " GC(s), ";
if (images != 0) string += images + " Image(s), ";
if (paths != 0) string += paths + " Path(s), ";
if (patterns != 0) string += patterns + " Pattern(s), ";
if (regions != 0) string += regions + " Region(s), ";
if (textLayouts != 0) string += textLayouts + " TextLayout(s), ";
if (transforms != 0) string += transforms + " Transforms(s), ";
if (string.length () != 0) {
string = string.substring (0, string.length () - 2);
System.err.println (string);
}
for (int i=0; i<errors.length; i++) {
if (errors [i] != null) errors [i].printStackTrace (System.err);
}
}
}
}
}
/**
* Releases any internal resources back to the operating
* system and clears all fields except the device handle.
* <p>
* When a device is destroyed, resources that were acquired
* on behalf of the programmer need to be returned to the
* operating system. For example, if the device allocated a
* font to be used as the system font, this font would be
* freed in <code>release</code>. Also,to assist the garbage
* collector and minimize the amount of memory that is not
* reclaimed when the programmer keeps a reference to a
* disposed device, all fields except the handle are zero'd.
* The handle is needed by <code>destroy</code>.
* </p>
* This method is called before <code>destroy</code>.
* </p><p>
* If subclasses reimplement this method, they must
* call the <code>super</code> implementation.
* </p>
*
* @see #dispose
* @see #destroy
*/
protected void release () {
if (gdipToken != null) {
Gdip.GdiplusShutdown (gdipToken[0]);
}
gdipToken = null;
scripts = null;
if (hPalette != 0) OS.DeleteObject (hPalette);
hPalette = 0;
colorRefCount = null;
logFonts = null;
nFonts = 0;
}
/**
* If the underlying window system supports printing warning messages
* to the console, setting warnings to <code>false</code> prevents these
* messages from being printed. If the argument is <code>true</code> then
* message printing is not blocked.
*
* @param warnings <code>true</code>if warnings should be printed, and <code>false</code> otherwise
*
* @exception SWTException <ul>
* <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li>
* </ul>
*/
public void setWarnings (boolean warnings) {
checkDevice ();
}
}
| [
"[email protected]"
] | |
b32da10254f312c2a615918c516810b76f82239f | cee10df57d1a7d3867018daed74eb7ef2f3d743a | /src/com/eg/fireman/util/QuestionUtil.java | 7d51a998b55f24a2f10c2414991cce381e09dc10 | [] | no_license | makewheels/fireman | 8178d1374bac8fe61f388e111a206e0a98da7ccc | 402f46e7993c3a74e063c4f8c63046cd3105eb90 | refs/heads/master | 2021-10-21T17:55:40.008462 | 2019-03-05T13:50:45 | 2019-03-05T13:50:45 | 164,665,230 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,588 | java | package com.eg.fireman.util;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import com.eg.fireman.bean.Question;
public class QuestionUtil {
public static List<Question> load() throws IOException {
String path = AnswerUtil.class.getClassLoader().getResource("question.txt").getPath();
FileReader fileReader = new FileReader(path);
BufferedReader bufferedReader = new BufferedReader(fileReader);
String line;
List<Question> questionList = new ArrayList<>();
String questionIdString;
Question question = null;
while ((line = bufferedReader.readLine()) != null) {
char startChar = line.charAt(0);
if (Character.isDigit(startChar)) {
question = new Question();
questionIdString = startChar + "";
int i = 1;
while (Character.isDigit(line.charAt(i))) {
questionIdString += line.charAt(i);
i++;
}
question.setQuestionId(Integer.parseInt(questionIdString));
question.setQuestion(line.substring(i + 1));
} else {
char optionChar = line.charAt(1);
if (optionChar == 'D') {
question.setOptionD(line.substring(3));
questionList.add(question);
} else {
if (optionChar == 'A') {
question.setOptionA(line.substring(3));
} else if (optionChar == 'B') {
question.setOptionB(line.substring(3));
} else {
question.setOptionC(line.substring(3));
}
}
}
}
bufferedReader.close();
fileReader.close();
return questionList;
}
}
| [
"[email protected]"
] | |
0192373f781c49d1f2718ba5d1fe0c9bddf3bb2c | adcc35b983e3e6b3e139eaff567f021196f3afd1 | /proj2backend/src/main/java/com/niit/backend/model/BlogPost.java | 83bef372f8d6d0bb55f0ac18151a05b9e722c9d6 | [] | no_license | harish333/project2 | 8e8777be5717a5b4940d2690a80a0a8425524e7e | 27cd200d762966140ef287f26d574e660af0555b | refs/heads/master | 2021-01-12T04:57:33.680940 | 2017-01-18T00:04:15 | 2017-01-18T00:04:15 | 77,814,370 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,950 | java | package com.niit.backend.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.annotation.Generated;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import org.springframework.stereotype.Component;
import com.fasterxml.jackson.annotation.JsonIgnore;
@SuppressWarnings("serial")
@Entity
@Table(name="blog_post")
@Component
public class BlogPost implements Serializable {
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
private int id;
private Date createdOn;
@ManyToOne(fetch = FetchType.EAGER,cascade=CascadeType.ALL)
@JoinColumn(name = "create_by_id")
private User createdBy;
private String title;
@Lob
@Column(name="body")
private String body;
@OneToMany(mappedBy="blogPost",fetch=FetchType.EAGER,cascade=CascadeType.ALL,orphanRemoval=true)
@JsonIgnore
private List<BlogComment> comments=new ArrayList<BlogComment>();
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public Date getCreatedOn() {
return createdOn;
}
public void setCreatedOn(Date createdOn) {
this.createdOn = createdOn;
}
public User getCreatedBy() {
return createdBy;
}
public void setCreatedBy(User createdBy) {
this.createdBy = createdBy;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getBody() {
return body;
}
public void setBody(String body) {
this.body = body;
}
public List<BlogComment> getComments() {
return comments;
}
public void setComments(List<BlogComment> comments) {
this.comments = comments;
}} | [
"[email protected]"
] | |
81356750dca54eead388930d7fadb5755e13e4a3 | a1a38cbbe921fec40aa13a4d0797084e4c4b2f84 | /Forwork/IMLib/build/generated/source/buildConfig/release/io/rong/imlib/BuildConfig.java | 62c2d5964b4cd947f3c7ff4971328d0bf60c6fcf | [] | no_license | Johzeal/Forwork | b55ea36459a454d7bda30e7a8b35058a38aee06d | 593094dbca52b83d94ac0c311f21ae2992b8a9fb | refs/heads/master | 2021-04-03T06:01:35.808181 | 2018-03-12T02:44:12 | 2018-03-12T02:44:12 | 124,824,081 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 431 | java | /**
* Automatically generated file. DO NOT MODIFY
*/
package io.rong.imlib;
public final class BuildConfig {
public static final boolean DEBUG = false;
public static final String APPLICATION_ID = "io.rong.imlib";
public static final String BUILD_TYPE = "release";
public static final String FLAVOR = "";
public static final int VERSION_CODE = 2017110217;
public static final String VERSION_NAME = "2.8.21 Stable";
}
| [
"[email protected]"
] | |
6ea82eaf9ab0d5aefe103452ffa17e22053e5824 | 05a6ddad62d5b0be54d105212ae37dbe09bbd06d | /src/main/java/it/poste/rtdm/serviceSAS2Kafka/schema/SendSASResponse.java | a7244d3483c0df668ef740fbb8ababa22a5675d5 | [] | no_license | marsPt/test | bd1f7e81688b1dcd7c9e104942528b486ecffec1 | 8cc2f5d8316bfef0f7b530998a7a6f698e3e2cd2 | refs/heads/master | 2020-03-28T00:00:06.671344 | 2018-09-04T15:31:38 | 2018-09-04T15:31:38 | 147,367,281 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,812 | java | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// 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.09.04 at 02:16:19 PM CEST
//
package it.poste.rtdm.serviceSAS2Kafka.schema;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="esito" type="{http://localhost/WSSAS2KAFKA}esitoType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"esito"
})
@XmlRootElement(name = "SendSASResponse")
public class SendSASResponse {
@XmlElement(required = true)
protected EsitoType esito;
/**
* Gets the value of the esito property.
*
* @return
* possible object is
* {@link EsitoType }
*
*/
public EsitoType getEsito() {
return esito;
}
/**
* Sets the value of the esito property.
*
* @param value
* allowed object is
* {@link EsitoType }
*
*/
public void setEsito(EsitoType value) {
this.esito = value;
}
}
| [
"[email protected]"
] | |
7400bb7047bd29070df04087013f27b011ed69ff | b37b5cf4af4d38019cf130cd967d632322f42562 | /app/src/main/java/me/codego/view/MentionText.java | cb61ec36af07e35f45203b4dfde8b25d47c5de39 | [] | no_license | mengxn/MentionText | 92af71f6eef24551bbb93f523931b83b01677fbd | 34579cfa46c80f8710b14c4645a8813a22d77405 | refs/heads/master | 2021-01-17T17:20:13.808909 | 2016-10-30T13:40:27 | 2016-10-30T13:40:27 | 70,334,430 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,275 | java | package me.codego.view;
import android.text.Editable;
import android.text.Spanned;
import android.text.TextWatcher;
import android.text.style.ForegroundColorSpan;
import android.widget.EditText;
import android.widget.TextView;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
*
* Created by mengxn on 16/10/8.
*/
public class MentionText {
private String regex;
private int color;
private List<Range> rangeList = new ArrayList<>();
private static final String DEFAULT_PATTERN = "@|#";
private static final int DEFAULT_COLOR = 0xffff0000;
private MentionText(String regex, int color) {
this.regex = String.format(Locale.getDefault(), "[%s]\\w+", regex);
this.color = color;
}
public static MentionText from() {
return from(DEFAULT_PATTERN, DEFAULT_COLOR);
}
public static MentionText from(String regex) {
return from(regex, DEFAULT_COLOR);
}
public static MentionText from(int color) {
return from(DEFAULT_PATTERN, color);
}
public static MentionText from(String regex, int color) {
return new MentionText(regex, color);
}
public void apply(final TextView textView) {
if (textView == null) {
return;
}
textView.addTextChangedListener(new TextWatcher() {
private Range readyDeleteRange;
@Override
public void beforeTextChanged(CharSequence s, int start, int count, int after) {
if (textView instanceof EditText) {
if (count == 1 && after == 0 && s.charAt(start) == ' ') {
for (Range range : rangeList) {
if (range.end == start) {
readyDeleteRange = range;
break;
}
}
}
}
}
@Override
public void onTextChanged(CharSequence s, int start, int before, int count) {
}
@Override
public void afterTextChanged(Editable editable) {
if (readyDeleteRange != null) {
int start = readyDeleteRange.start;
int end = readyDeleteRange.end;
readyDeleteRange = null;
editable.delete(start, end);
}
ForegroundColorSpan[] oldSpans = editable.getSpans(0, editable.length(), ForegroundColorSpan.class);
for (ForegroundColorSpan oldSpan : oldSpans) {
editable.removeSpan(oldSpan);
}
Pattern pattern = Pattern.compile(regex);
Matcher matcher = pattern.matcher(editable.toString());
rangeList.clear();
while (matcher.find()) {
int start = matcher.start();
int end = matcher.end();
rangeList.add(new Range(start, end));
editable.setSpan(new ForegroundColorSpan(color), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
}
}
});
}
}
| [
"[email protected]"
] | |
e4bf4d1bd04c71df879ffbe4828791ecfef8a1af | fa91450deb625cda070e82d5c31770be5ca1dec6 | /Diff-Raw-Data/23/23_ee1eab446d76e00955a8d87af9d3bbb275f3e31a/FeedbackManager/23_ee1eab446d76e00955a8d87af9d3bbb275f3e31a_FeedbackManager_s.java | 479dd226eca1c1828879c0006f4627c7cd7b6109 | [] | no_license | zhongxingyu/Seer | 48e7e5197624d7afa94d23f849f8ea2075bcaec0 | c11a3109fdfca9be337e509ecb2c085b60076213 | refs/heads/master | 2023-07-06T12:48:55.516692 | 2023-06-22T07:55:56 | 2023-06-22T07:55:56 | 259,613,157 | 6 | 2 | null | 2023-06-22T07:55:57 | 2020-04-28T11:07:49 | null | UTF-8 | Java | false | false | 11,002 | java | /**
*
*/
package de.fu_berlin.inf.dpp.feedback;
import java.util.Date;
import org.apache.log4j.Logger;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.util.IPropertyChangeListener;
import org.eclipse.jface.util.PropertyChangeEvent;
import org.eclipse.jface.window.Window;
import de.fu_berlin.inf.dpp.Saros;
import de.fu_berlin.inf.dpp.editor.internal.EditorAPI;
import de.fu_berlin.inf.dpp.preferences.PreferenceConstants;
import de.fu_berlin.inf.dpp.project.AbstractSessionListener;
import de.fu_berlin.inf.dpp.project.ISessionListener;
import de.fu_berlin.inf.dpp.project.ISharedProject;
import de.fu_berlin.inf.dpp.project.SessionManager;
import de.fu_berlin.inf.dpp.ui.FeedbackDialog;
import de.fu_berlin.inf.dpp.util.Util;
/**
* The FeedbackManager registers himself as a listener with the
* {@link SessionManager} to show a {@link FeedbackDialog} at the end of a
* session. But before he actually shows anything, it is determined from the
* global preferences if the user wants to participate in general and in which
* interval.
*
* @author Lisa Dohrmann
*
* @component The single instance of this class per application is created by
* PicoContainer in the central plug-in class {@link Saros}
*/
public class FeedbackManager extends AbstractFeedbackManager {
/** the URL to the website that contains our survey */
public static final String SURVEY_URL = "https://www.inf.fu-berlin.de/w/SE/DPPSurveys"; //$NON-NLS-1$
/** the text to show in the first FeedbackDialog */
public static final String FEEDBACK_REQUEST = Messages
.getString("feedback.dialog.request.general"); //$NON-NLS-1$
public static final String FEEDBACK_REQUEST_SHORT = Messages
.getString("feedback.dialog.request.short"); //$NON-NLS-1$
public static final long MIN_SESSION_TIME = 5 * 60; // 5 min.
public static final int FEEDBACK_UNDEFINED = 0;
public static final int FEEDBACK_ENABLED = 1;
public static final int FEEDBACK_DISABLED = 2;
protected static final Logger log = Logger.getLogger(FeedbackManager.class
.getName());
protected ISessionListener sessionListener = new AbstractSessionListener() {
@Override
public void sessionStarted(ISharedProject session) {
startTime = new Date();
}
@Override
public void sessionEnded(ISharedProject session) {
long sessionTime = (new Date().getTime() - startTime.getTime()) / 1000;
log.info(String.format("Session lasted %s min %s s",
sessionTime / 60, sessionTime % 60));
// don't show the survey if session was very short
if (sessionTime < MIN_SESSION_TIME)
return;
int sessionsUntilNext = getSessionsUntilNext() - 1;
setSessionsUntilNext(sessionsUntilNext);
log.debug("Sessions until next survey: " + sessionsUntilNext);
if (!showNow())
return;
Util.runSafeSWTAsync(log, new Runnable() {
public void run() {
// ask the user for feedback
// TODO show different messages
Dialog dialog = new FeedbackDialog(EditorAPI.getShell(),
saros, FeedbackManager.this, FEEDBACK_REQUEST);
int exitCode = dialog.open();
if (exitCode == Window.OK) {
showSurvey();
}
}
});
}
};
protected IPropertyChangeListener propertyListener = new IPropertyChangeListener() {
public void propertyChange(PropertyChangeEvent event) {
if (event.getProperty().equals(
PreferenceConstants.FEEDBACK_SURVEY_INTERVAL)) {
// each time the interval changes, reset the number of
// sessions until the next request is shown
resetSessionsUntilNext();
} else if (event.getProperty().equals(
PreferenceConstants.FEEDBACK_SURVEY_DISABLED)) {
Object value = event.getNewValue();
int disabled = ((Integer) value).intValue();
// if it changed to enabled, reset
// interval as well
if (disabled == FEEDBACK_ENABLED) {
resetSessionsUntilNext();
}
}
}
};
protected Date startTime;
public FeedbackManager(final Saros saros, SessionManager sessionManager) {
super(saros);
ensureConsistentPreferences();
// listen for start and end of a session
sessionManager.addSessionListener(sessionListener);
// listen for feedback preference changes
saros.getPreferenceStore().addPropertyChangeListener(propertyListener);
}
/**
* Ensures that the preferences the FeedbackManager manages are consistent
* after plugin start, i.e. if they are not existing in the global scope,
* the value from the workspace (might be the default) is globally set. If
* there exists a different value in the workspace than in the global scope,
* then the local value is overwritten. <br>
* <br>
*
* This must be done for all values kept both globally and per workspace.
*/
protected void ensureConsistentPreferences() {
makePrefConsistent(PreferenceConstants.FEEDBACK_SURVEY_DISABLED);
makePrefConsistent(PreferenceConstants.FEEDBACK_SURVEY_INTERVAL);
}
/**
* Number of sessions until the {@link FeedbackDialog} is shown.
*
* @return a positive number if the value exists in the preferences or the
* default value -1
*/
public int getSessionsUntilNext() {
return saros.getConfigPrefs().getInt(
PreferenceConstants.SESSIONS_UNTIL_NEXT, -1);
}
/**
* Saves the number of session until the next {@link FeedbackDialog} is
* shown in the global preferences.
*
* @param untilNext
*/
public void setSessionsUntilNext(int untilNext) {
saros.getConfigPrefs().putInt(PreferenceConstants.SESSIONS_UNTIL_NEXT,
untilNext);
saros.saveConfigPrefs();
}
/**
* Returns whether the feedback is disabled or enabled by the user. The
* global preferences have priority but if the value wasn't found there the
* value from the PreferenceStore (with fall back to the default) is used.
*
* @return 0 - undefined, 1 - enabled, 2 - disabled
*/
public int getFeedbackStatus() {
int disabled = saros.getConfigPrefs().getInt(
PreferenceConstants.FEEDBACK_SURVEY_DISABLED, -1);
if (disabled == -1)
disabled = saros.getPreferenceStore().getInt(
PreferenceConstants.FEEDBACK_SURVEY_DISABLED);
return disabled;
}
/**
* Returns if the feedback is disabled as a boolean.
*
* @return true if it is disabled
*/
public boolean isFeedbackDisabled() {
return getFeedbackStatus() != FEEDBACK_ENABLED;
}
/**
* Saves in the global preferences and in the workspace if the feedback is
* disabled or not.
*
* @param disabled
*/
public void setFeedbackDisabled(boolean disabled) {
int status = disabled ? FEEDBACK_DISABLED : FEEDBACK_ENABLED;
saros.getPreferenceStore().setValue(
PreferenceConstants.FEEDBACK_SURVEY_DISABLED, status);
saros.getConfigPrefs().putInt(
PreferenceConstants.FEEDBACK_SURVEY_DISABLED, status);
saros.saveConfigPrefs();
}
/**
* Returns the interval in which the survey should be shown. The global
* preferences have priority but if the value wasn't found there the value
* from the PreferenceStore (with fall back to the default) is used.
*
* @return
*/
public int getSurveyInterval() {
int interval = saros.getPreferenceStore().getInt(
PreferenceConstants.FEEDBACK_SURVEY_INTERVAL);
return saros.getConfigPrefs().getInt(
PreferenceConstants.FEEDBACK_SURVEY_INTERVAL, interval);
}
public void setSurveyInterval(int interval) {
saros.getPreferenceStore().setValue(
PreferenceConstants.FEEDBACK_SURVEY_INTERVAL, interval);
saros.getConfigPrefs().putInt(
PreferenceConstants.FEEDBACK_SURVEY_INTERVAL, interval);
saros.saveConfigPrefs();
}
/**
* Resets the counter of sessions until the survey request is shown the next
* time. It is reset to 1, which means that the survey is shown after the
* next session. Only then the counter is set to the current interval
* length.<br>
* This ensures that the survey is shown at the beginning of the interval
* rather than at the end.
*
*/
public void resetSessionsUntilNext() {
setSessionsUntilNext(1);
}
/**
* Resets the counter of sessions until the survey request is shown the next
* time to the current interval length.
*/
public void resetSessionsUntilNextToInterval() {
setSessionsUntilNext(getSurveyInterval());
}
/**
* Tries to open the survey in the default external browser. If this method
* fails Eclipse's internal browser is tried to use. If both methods failed,
* a message dialog that contains the survey URL is shown.<br>
* <br>
* The number of sessions until the next reminder is shown is reset to the
* current interval length on every call.
*/
public void showSurvey() {
if (!Util.openExternalBrowser(SURVEY_URL)) {
if (!Util.openInternalBrowser(SURVEY_URL, Messages
.getString("feedback.dialog.title"))) {
// last resort: present a link to the survey
// TODO user should be able to copy&paste the link easily
MessageDialog.openWarning(EditorAPI.getShell(),
"Opening survey failed",
"Your browser couldn't be opend. Please visit "
+ SURVEY_URL + " yourself.");
}
}
}
/**
* Determines from the users preferences if the survey should be shown now.
*
* @return true if the survey should be shown now, false otherwise
*/
public boolean showNow() {
if (isFeedbackDisabled()) {
return false;
}
if (getSessionsUntilNext() > 0) {
return false;
}
resetSessionsUntilNextToInterval();
return true;
}
}
| [
"[email protected]"
] | |
b4728ea2a9f4b5ea53544607a82d8849340fa22f | 5ad6425e87be9038355d897d10fd91a8821af100 | /jc-timer/src/pl/vdl/azbest/timer/cmd/Cmd_blogOpenSettingsWindow.java | 40e696e9f3d3b2f12f3afc1125f8b1bc22f14b28 | [] | no_license | azawisza/jc-timer | cbecdfe717932aaa68452771e205304a1ee0819b | b92e0bc3ed5de59d9d75c4e48e30e0a32c017270 | refs/heads/master | 2020-05-17T07:55:47.077851 | 2008-12-09T01:01:49 | 2008-12-09T01:01:49 | 33,726,111 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,200 | java | /*
This file is part of JCTimer
JCTimer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
JCTimer 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 JCTimer. If not, see <http://www.gnu.org/licenses/>.
author: azbest.pro ([email protected])
*/
package pl.vdl.azbest.timer.cmd;
import pl.vdl.azbest.timer.Conf;
import pl.vdl.azbest.timer.gui.Shell_BlogEntry;
import pl.vdl.azbest.timer.gui.Shell_BlogSettings;
public class Cmd_blogOpenSettingsWindow implements Command {
@Override
public void execute() {
Conf.getInstance().getDisplay().syncExec(new Runnable() {
public void run() {
Shell_BlogSettings set = new Shell_BlogSettings();
set.openSWTWidget();
}
});
}
}
| [
"azbest.pro@dfc7f85e-c589-11dd-bdf1-993be837f8bb"
] | azbest.pro@dfc7f85e-c589-11dd-bdf1-993be837f8bb |
73f2b424a032a78ab993e2709c93d48f8883e52e | 6456b7c13ddb74a740dc45355acdc3e09f93edf9 | /MainActivity/src/com/bcinfo/imageviewer/view/scrollerproxy/IcsScroller.java | 030ddf753cef58fcd36a80dc0a04c16b5c8189b9 | [] | no_license | caiyc0818/MyApp | 7fc10b480f29857fc919f23f21318e87dcf4a0d5 | 0c984b7b06cb9de2c4a1504e12ce9e8c9d634f94 | refs/heads/master | 2021-01-13T11:08:51.324113 | 2016-12-27T07:37:30 | 2016-12-27T07:37:30 | 77,296,234 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 329 | java | package com.bcinfo.imageviewer.view.scrollerproxy;
import android.content.Context;
public class IcsScroller extends GingerScroller
{
public IcsScroller(Context context)
{
super(context);
}
@Override
public boolean computeScrollOffset()
{
return mScroller.computeScrollOffset();
}
}
| [
"[email protected]"
] | |
47c7fc78a8e6fc3b3e84009be8b4414c1a396a13 | b7b44dc837cab3bb94194680bd6ab9dbc3c1506a | /shopping-web/src/main/java/com/edaochina/shopping/web/order/SysOrderController.java | e99c5ddd265bb88ab912f5c9d94a1d9dcf677c88 | [] | no_license | wu-weirdo/shopping-mall | 33c98da0832eced9a1f7a3249a4e8f1d7b0c5dc8 | 246ada0045743a48d299329dde18353b2eae9631 | refs/heads/master | 2023-01-23T05:50:03.870968 | 2020-11-18T15:53:39 | 2020-11-18T15:53:39 | 313,981,048 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,708 | java | package com.edaochina.shopping.web.order;
import com.edaochina.shopping.api.facade.order.SysOrderFacade;
import com.edaochina.shopping.common.annotation.OperationLogMark;
import com.edaochina.shopping.common.annotation.PermissionsMark;
import com.edaochina.shopping.common.result.AjaxResult;
import com.edaochina.shopping.common.result.BaseResult;
import com.edaochina.shopping.domain.constants.RoleConstants;
import com.edaochina.shopping.domain.dto.goods.DeleteOrdersDTO;
import com.edaochina.shopping.domain.dto.order.QuerySysOrderDTO;
import com.edaochina.shopping.domain.dto.order.QuerySysWriteOffOrderDTO;
import com.edaochina.shopping.domain.dto.order.SysOrderDto;
import com.edaochina.shopping.domain.dto.order.WriteOffDTO;
import com.edaochina.shopping.domain.dto.trade.SysShareGoodsProfitDTO;
import com.edaochina.shopping.domain.entity.trade.PayRefundApply;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
/**
* <p>
* 前端控制器
* </p>
*
* @author xww
* @since 2018-12-26
*/
@RestController
@RequestMapping("/sys/order")
public class SysOrderController {
private final SysOrderFacade sysOrderFacade;
public SysOrderController(SysOrderFacade sysOrderFacade) {
this.sysOrderFacade = sysOrderFacade;
}
@PostMapping("/refund")
@OperationLogMark("申请退款")
public AjaxResult apply(@RequestBody PayRefundApply payRefundApply) {
return BaseResult.successResult(sysOrderFacade.refund(payRefundApply));
}
/**
* 批量删除订单
*
* @return
*/
@PostMapping("/deleteOrders")
@OperationLogMark("批量删除订单")
@PermissionsMark(RoleConstants.ADMIN_ROLE)
public AjaxResult deleteOrders(@RequestBody DeleteOrdersDTO deleteOrdersDTO) {
return BaseResult.successResult(sysOrderFacade.deleteOrders(deleteOrdersDTO));
}
/**
* 核销
*
* @return
*/
@PostMapping("/writeOff")
@OperationLogMark("核销")
public AjaxResult writeOff(@RequestBody WriteOffDTO writeOffDTO) {
return BaseResult.successResult(sysOrderFacade.writeOff(writeOffDTO));
}
/**
* 查询订单列表
*
* @return
*/
@PostMapping("/getOrderList")
public AjaxResult getOrderList(@RequestBody SysOrderDto querySysOrderDTO) {
return BaseResult.successResult(sysOrderFacade.getOrderList(querySysOrderDTO));
}
/**
* 查询获取核销列表
*
* @return
*/
@ApiOperation("查询核销订单列表")
@PostMapping("/getWriteOffList")
public AjaxResult getWriteOffList(@RequestBody QuerySysWriteOffOrderDTO querySysOrderDTO) {
return BaseResult.successResult(sysOrderFacade.getWriteOffList(querySysOrderDTO));
}
/**
* 查询订单详情
*
* @return
*/
@PostMapping("/getOrderDetail")
public AjaxResult getOrderDetail(@RequestBody QuerySysOrderDTO querySysOrderDTO) {
return BaseResult.successResult(sysOrderFacade.getOrderDetail(querySysOrderDTO));
}
/**
* 导出订单
*
* @return
*/
@PostMapping("/exportOrder")
public AjaxResult exportOrder(@RequestBody SysOrderDto querySysOrderDTO) {
return BaseResult.successResult(sysOrderFacade.exportOrder(querySysOrderDTO));
}
@PostMapping("getShareOrder")
public AjaxResult getShareOrder(@RequestBody SysShareGoodsProfitDTO dto) {
return BaseResult.successResult(sysOrderFacade.getShareOrder(dto));
}
@GetMapping("getShareOrderDetail")
public AjaxResult getShareOrderDetail(String id) {
return BaseResult.successResult(sysOrderFacade.getShareOrderDetail(id));
}
}
| [
"[email protected]"
] | |
ef18f3274ec88ae6a890c53e6614acd0df2b03e3 | 55cba0f469c22339ef7293954857bbef56bb26cd | /src/main/java/org/apache/hadoop/mpich/appmaster/netty/PMIServer.java | 1b9cfbe0a8bc2cac51682e32564d573389a05b02 | [] | no_license | zyhtl/mpich-on-yarn | 7718cafb25a03faf09aece6dad145edb4d4f2d2c | 3199e28be81f8c64f547734d95d9f6ced63c6133 | refs/heads/master | 2021-01-22T10:33:44.182619 | 2017-02-27T02:20:13 | 2017-02-27T02:20:13 | 82,015,543 | 0 | 0 | null | 2017-02-15T03:17:45 | 2017-02-15T03:17:44 | null | UTF-8 | Java | false | false | 2,828 | java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.mpich.appmaster.netty;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelOption;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import org.apache.hadoop.mpich.MpiProcess;
import org.apache.hadoop.mpich.appmaster.MpiProcessManager;
import java.util.ArrayList;
import java.util.List;
public class PMIServer {
private int portNum;
private MpiProcessManager manager;
private EventLoopGroup bossGroup;
private EventLoopGroup workerGroup;
private Channel channel;
public PMIServer(List<MpiProcess> processes) {
this.manager = new MpiProcessManager(processes);
}
public int getPortNum() {
return this.portNum;
}
public void start() throws Exception {
this.bossGroup = new NioEventLoopGroup();
this.workerGroup = new NioEventLoopGroup();
ServerBootstrap b = new ServerBootstrap();
b.group(bossGroup, workerGroup)
.channel(NioServerSocketChannel.class)
.childHandler(new ServerChannelInitializer(this.manager))
.childOption(ChannelOption.SO_KEEPALIVE, true);
// Bind and start to accept incoming connections.
this.channel = b.bind(0).sync().channel();
this.portNum = ((NioServerSocketChannel)channel).localAddress().getPort();
}
public void stop() throws InterruptedException {
channel.close().sync();
workerGroup.shutdownGracefully();
bossGroup.shutdownGracefully();
}
private void waitUntilClose() throws InterruptedException {
this.channel.closeFuture().sync();
}
public static void main(String[] args) throws Exception {
List<MpiProcess> processes = new ArrayList<MpiProcess>();
processes.add(new MpiProcess(0, 0, "host1"));
processes.add(new MpiProcess(1, 1, "host2"));
PMIServer server = new PMIServer(processes);
server.start();
System.out.println(server.getPortNum());
server.waitUntilClose();
}
}
| [
"[email protected]"
] | |
4035bece8e1741e708b0def81f306b3abb80f27d | c17d5c4e2c2c3343a65e47b45bc3257f5a6aeed3 | /temp/src/minecraft_server/net/minecraft/src/CommandGive.java | 9566c97ad59818d69329b3c016b56b6d6455d357 | [] | no_license | errygg/minecraft_modding | b728546027a45a1d5215a92b8b0732217d19373b | 02b565ca78b6dd154050e96d1a4c8099fe10f475 | refs/heads/master | 2021-01-23T07:03:32.629087 | 2013-05-31T03:44:55 | 2013-05-31T03:44:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,309 | java | package net.minecraft.src;
import java.util.List;
import net.minecraft.server.MinecraftServer;
import net.minecraft.src.CommandBase;
import net.minecraft.src.EntityItem;
import net.minecraft.src.EntityPlayerMP;
import net.minecraft.src.ICommandSender;
import net.minecraft.src.Item;
import net.minecraft.src.ItemStack;
import net.minecraft.src.NumberInvalidException;
import net.minecraft.src.WrongUsageException;
public class CommandGive extends CommandBase {
public String func_71517_b() {
return "give";
}
public int func_82362_a() {
return 2;
}
public String func_71518_a(ICommandSender p_71518_1_) {
return p_71518_1_.func_70004_a("commands.give.usage", new Object[0]);
}
public void func_71515_b(ICommandSender p_71515_1_, String[] p_71515_2_) {
if(p_71515_2_.length >= 2) {
EntityPlayerMP var3 = func_82359_c(p_71515_1_, p_71515_2_[0]);
int var4 = func_71528_a(p_71515_1_, p_71515_2_[1], 1);
int var5 = 1;
int var6 = 0;
if(Item.field_77698_e[var4] == null) {
throw new NumberInvalidException("commands.give.notFound", new Object[]{Integer.valueOf(var4)});
} else {
if(p_71515_2_.length >= 3) {
var5 = func_71532_a(p_71515_1_, p_71515_2_[2], 1, 64);
}
if(p_71515_2_.length >= 4) {
var6 = func_71526_a(p_71515_1_, p_71515_2_[3]);
}
ItemStack var7 = new ItemStack(var4, var5, var6);
EntityItem var8 = var3.func_71021_b(var7);
var8.field_70293_c = 0;
func_71522_a(p_71515_1_, "commands.give.success", new Object[]{Item.field_77698_e[var4].func_77653_i(var7), Integer.valueOf(var4), Integer.valueOf(var5), var3.func_70023_ak()});
}
} else {
throw new WrongUsageException("commands.give.usage", new Object[0]);
}
}
public List func_71516_a(ICommandSender p_71516_1_, String[] p_71516_2_) {
return p_71516_2_.length == 1?func_71530_a(p_71516_2_, this.func_71536_c()):null;
}
protected String[] func_71536_c() {
return MinecraftServer.func_71276_C().func_71213_z();
}
public boolean func_82358_a(String[] p_82358_1_, int p_82358_2_) {
return p_82358_2_ == 0;
}
}
| [
"[email protected]"
] | |
d752c0a135c2d67e9eeee048f569edfaff25fa59 | 988da537ee94d8acd1b7dd2ef3687b56c2025574 | /openstoryboards/portal/portal-ejb/src/main/java/org/openstoryboards/portal/dao/ConnectionDao.java | 2d3e7149d186cf6142dfa12089dc2832b026d70c | [] | no_license | arsenij-solovjev/OpenStoryboards | 7cce4fdda993d769b068424dcc03e63b5a569c6d | 89f7b542e715ed7d7191addb86c65d3b29c7b955 | refs/heads/master | 2020-09-21T15:55:32.840396 | 2012-09-09T17:00:50 | 2012-09-09T17:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 958 | java | package org.openstoryboards.portal.dao;
import javax.ejb.Local;
import org.openstoryboards.portal.dao.common.Dao;
import org.openstoryboards.portal.entity.Connection;
import org.openstoryboards.portal.entity.Pad;
import org.openstoryboards.portal.entity.User;
import org.openstoryboards.portal.entity.enums.Right;
@Local
public interface ConnectionDao extends Dao<Connection>{
/**
* creates a new (open) connection to a given user and pad with an unique access token.
* returns null if their is already an connection to user and pad
* @param user
* @param pad
* @return
*/
Connection createConnection(User user, Pad pad);
/**
* returns the connection with the given access token
* an null if no such a connection could be found
* @param accessToken
* @return
*/
Connection getConnection(String accessToken);
/**
* marks the connection as closed
* @param connection
*/
void releaseConnection(Connection connection);
}
| [
"[email protected]"
] | |
89c1b061daf36a443a4ae363bb20e3eb294d56e8 | fa91450deb625cda070e82d5c31770be5ca1dec6 | /Diff-Raw-Data/10/10_5521c5fef7ee22346e247c43a362dbafc649e161/Reference/10_5521c5fef7ee22346e247c43a362dbafc649e161_Reference_s.java | b99c14f3b0264b2fab0b0f6d3ec4f7cc0d34b218 | [] | no_license | zhongxingyu/Seer | 48e7e5197624d7afa94d23f849f8ea2075bcaec0 | c11a3109fdfca9be337e509ecb2c085b60076213 | refs/heads/master | 2023-07-06T12:48:55.516692 | 2023-06-22T07:55:56 | 2023-06-22T07:55:56 | 259,613,157 | 6 | 2 | null | 2023-06-22T07:55:57 | 2020-04-28T11:07:49 | null | UTF-8 | Java | false | false | 68,378 | java | /*
* Copyright 2005-2007 Noelios Consulting.
*
* The contents of this file are subject to the terms of the Common Development
* and Distribution License (the "License"). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the license at
* http://www.opensource.org/licenses/cddl1.txt See the License for the specific
* language governing permissions and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each file and
* include the License file at http://www.opensource.org/licenses/cddl1.txt If
* applicable, add the following below this CDDL HEADER, with the fields
* enclosed by brackets "[]" replaced with your own identifying information:
* Portions Copyright [yyyy] [name of copyright owner]
*/
package org.restlet.data;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Reference to a Uniform Resource Identifier (URI). Contrary to the
* java.net.URI class, this interface represents mutable references. It strictly
* conforms to the RFC 3986 specifying URIs and follow its naming conventions.<br/>
*
* <pre>
* URI reference = absolute-reference | relative-reference
*
* absolute-reference = scheme ":" scheme-specific-part [ "#" fragment ]
* scheme-specific-part = ( hierarchical-part [ "?" query ] ) | opaque-part
* hierarchical-part = ( "//" authority path-abempty ) | path-absolute | path-rootless | path-empty
* authority = [ user-info "@" ] host-domain [ ":" host-port ]
*
* relative-reference = relative-part [ "?" query ] [ "#" fragment ]
* relative-part = ( "//" authority path-abempty ) | path-absolute | path-noscheme | path-empty
*
* path-abempty = begins with "/" or is empty
* path-absolute = begins with "/" but not "//"
* path-noscheme = begins with a non-colon segment
* path-rootless = begins with a segment
* path-empty = zero characters
* </pre>
*
* Note that this class doesn't encode or decode the reserved characters. It
* assumes that the URIs or the URI parts passed in are properly encoded using
* the standard URI encoding mechanism. You can use the static "encode()" and
* "decode()" methods for this purpose.
*
* @author Jerome Louvel ([email protected])
* @see <a href="http://www.faqs.org/rfcs/rfc3986.html">RFC 3986</a>
*/
public class Reference {
/**
* Decodes a given string using the standard URI encoding mechanism and the
* UTF-8 character set.
*
* @param toDecode
* The string to decode.
* @return The decoded string.
*/
public static String decode(String toDecode) {
String result = null;
try {
result = URLDecoder.decode(toDecode, "UTF-8");
} catch (UnsupportedEncodingException uee) {
Logger
.getLogger(Reference.class.getCanonicalName())
.log(
Level.WARNING,
"Unable to decode the string with the UTF-8 character set.",
uee);
}
return result;
}
/**
* Encodes a given string using the standard URI encoding mechanism and the
* UTF-8 character set.
*
* @param toEncode
* The string to encode.
* @return The encoded string.
*/
public static String encode(String toEncode) {
String result = null;
try {
result = URLEncoder.encode(toEncode, "UTF-8");
} catch (UnsupportedEncodingException uee) {
Logger
.getLogger(Reference.class.getCanonicalName())
.log(
Level.WARNING,
"Unable to encode the string with the UTF-8 character set.",
uee);
}
return result;
}
/**
* Encodes a given string using the standard URI encoding mechanism. If the
* provided character set is null, the string is returned but not encoded.
*
* <em><strong>Note:</strong> The <a
* href="http://www.w3.org/TR/html40/appendix/notes.html#non-ascii-chars">
* World Wide Web Consortium Recommendation</a> states that UTF-8 should be
* used. Not doing so may introduce incompatibilites.</em>
*
* @param toEncode
* The string to encode.
* @param characterSet
* The supported character encoding.
* @return The encoded string or null if the named character encoding is not
* supported.
*/
public static String encode(String toEncode, CharacterSet characterSet) {
String result = null;
try {
result = (characterSet == null) ? toEncode : URLEncoder.encode(
toEncode, characterSet.getName());
} catch (UnsupportedEncodingException uee) {
Logger
.getLogger(Reference.class.getCanonicalName())
.log(
Level.WARNING,
"Unable to encode the string with the UTF-8 character set.",
uee);
}
return result;
}
/**
* Decodes a given string using the standard URI encoding mechanism. If the
* provided character set is null, the string is returned but not decoded.
* <em><strong>Note:</strong> The <a
* href="http://www.w3.org/TR/html40/appendix/notes.html#non-ascii-chars">
* World Wide Web Consortium Recommendation</a> states that UTF-8 should be
* used. Not doing so may introduce incompatibilites.</em>
*
* @param toDecode
* The string to decode.
* @param characterSet
* The name of a supported character encoding.
* @return The decoded string or null if the named character encoding is not
* supported.
*/
public static String decode(String toDecode, CharacterSet characterSet) {
String result = null;
try {
result = (characterSet == null) ? toDecode : URLDecoder.decode(
toDecode, characterSet.getName());
} catch (UnsupportedEncodingException uee) {
Logger
.getLogger(Reference.class.getCanonicalName())
.log(
Level.WARNING,
"Unable to decode the string with the UTF-8 character set.",
uee);
}
return result;
}
/**
* Creates a reference string from its parts.
*
* @param scheme
* The scheme ("http", "https" or "ftp").
* @param hostName
* The host name or IP address.
* @param hostPort
* The host port (default ports are correctly ignored).
* @param path
* The path component for hierarchical identifiers.
* @param query
* The optional query component for hierarchical identifiers.
* @param fragment
* The optional fragment identifier.
*/
public static String toString(String scheme, String hostName,
Integer hostPort, String path, String query, String fragment) {
String host = hostName;
// Append the host port number
if (hostPort != null) {
int defaultPort = Protocol.valueOf(scheme).getDefaultPort();
if (hostPort != defaultPort) {
host = hostName + ':' + hostPort;
}
}
return toString(scheme, host, path, query, fragment);
}
/**
* Creates a relative reference string from its parts.
*
* @param relativePart
* The relative part component.
* @param query
* The optional query component for hierarchical identifiers.
* @param fragment
* The optional fragment identifier.
*/
public static String toString(String relativePart, String query,
String fragment) {
StringBuilder sb = new StringBuilder();
// Append the path
if (relativePart != null) {
sb.append(relativePart);
}
// Append the query string
if (query != null) {
sb.append('?').append(query);
}
// Append the fragment identifier
if (fragment != null) {
sb.append('#').append(fragment);
}
// Actually construct the reference
return sb.toString();
}
/**
* Creates a reference string from its parts.
*
* @param scheme
* The scheme ("http", "https" or "ftp").
* @param host
* The host name or IP address plus the optional port number.
* @param path
* The path component for hierarchical identifiers.
* @param query
* The optional query component for hierarchical identifiers.
* @param fragment
* The optional fragment identifier.
*/
public static String toString(String scheme, String host, String path,
String query, String fragment) {
StringBuilder sb = new StringBuilder();
if (scheme != null) {
// Append the scheme and host name
sb.append(scheme.toLowerCase()).append("://").append(host);
}
// Append the path
if (path != null) {
sb.append(path);
}
// Append the query string
if (query != null) {
sb.append('?').append(query);
}
// Append the fragment identifier
if (fragment != null) {
sb.append('#').append(fragment);
}
// Actually construct the reference
return sb.toString();
}
/** The base reference for relative references. */
private Reference baseRef;
/** The internal reference. */
private String internalRef;
/** The fragment separator index. */
private int fragmentIndex;
/** The query separator index. */
private int queryIndex;
/** The scheme separator index. */
private int schemeIndex;
/**
* Empty constructor.
*/
public Reference() {
this((Reference) null, (String) null);
}
/**
* Clone constructor.
*
* @param ref
* The reference to clone.
*/
public Reference(Reference ref) {
this(ref.baseRef, ref.internalRef);
}
/**
* Constructor from an URI reference (most likely relative).
*
* @param baseRef
* The base reference.
* @param uriReference
* The URI reference, either absolute or relative.
*/
public Reference(Reference baseRef, String uriReference) {
this.baseRef = baseRef;
this.internalRef = uriReference;
updateIndexes();
}
/**
* Constructor of relative reference from its parts.
*
* @param baseRef
* The base reference.
* @param relativePart
* The relative part component (most of the time it is the path
* component).
* @param query
* The optional query component for hierarchical identifiers.
* @param fragment
* The optional fragment identifier.
*/
public Reference(Reference baseRef, String relativePart, String query,
String fragment) {
this(baseRef, toString(relativePart, query, fragment));
}
/**
* Constructor from an URI reference.
*
* @param uriReference
* The URI reference, either absolute or relative.
*/
public Reference(String uriReference) {
this((Reference) null, uriReference);
}
/**
* Constructor from an identifier and a fragment.
*
* @param identifier
* The resource identifier.
* @param fragment
* The fragment identifier.
*/
public Reference(String identifier, String fragment) {
this((fragment == null) ? identifier : identifier + '#' + fragment);
}
/**
* Constructor of absolute reference from its parts.
*
* @param scheme
* The scheme ("http", "https" or "ftp").
* @param hostName
* The host name or IP address.
* @param hostPort
* The host port (default ports are correctly ignored).
* @param path
* The path component for hierarchical identifiers.
* @param query
* The optional query component for hierarchical identifiers.
* @param fragment
* The optional fragment identifier.
*/
public Reference(String scheme, String hostName, int hostPort, String path,
String query, String fragment) {
this(toString(scheme, hostName, hostPort, path, query, fragment));
}
/**
* Indicates whether some other object is "equal to" this one.
*
* @param object
* The object to compare to.
* @return True if this object is the same as the obj argument.
*/
@Override
public boolean equals(Object object) {
if (object instanceof Reference) {
Reference ref = (Reference) object;
if (this.internalRef == null) {
return ref.internalRef == null;
} else {
return this.internalRef.equals(ref.internalRef);
}
} else {
return false;
}
}
/**
* Returns the authority component for hierarchical identifiers. Includes
* the user info, host name and the host port number.
*
* @return The authority component for hierarchical identifiers.
*/
public String getAuthority() {
String part = isRelative() ? getRelativePart()
: getSchemeSpecificPart();
if (part.startsWith("//")) {
int index = part.indexOf('/', 2);
if (index != -1) {
return part.substring(2, index);
} else {
index = part.indexOf('?');
if (index != -1) {
return part.substring(2, index);
} else {
return part.substring(2);
}
}
} else {
return null;
}
}
/**
* Returns the base reference for relative references.
*
* @return The base reference for relative references.
*/
public Reference getBaseRef() {
return this.baseRef;
}
/**
* Returns the fragment identifier.
*
* @return The fragment identifier.
*/
public String getFragment() {
if (fragmentIndex != -1) {
return this.internalRef.substring(fragmentIndex + 1);
} else {
return null;
}
}
/**
* Returns the hierarchical part which is equivalent to the scheme specific
* part less the query component.
*
* @return The hierarchical part .
*/
public String getHierarchicalPart() {
if (schemeIndex != -1) {
// Scheme found
if (queryIndex != -1) {
// Query found
return this.internalRef.substring(schemeIndex + 1, queryIndex);
} else {
// No query found
if (fragmentIndex != -1) {
// Fragment found
return this.internalRef.substring(schemeIndex + 1,
fragmentIndex);
} else {
// No fragment found
return this.internalRef.substring(schemeIndex + 1);
}
}
} else {
// No scheme found
if (queryIndex != -1) {
// Query found
return this.internalRef.substring(0, queryIndex);
} else {
if (fragmentIndex != -1) {
// Fragment found
return this.internalRef.substring(0, fragmentIndex);
} else {
// No fragment found
return this.internalRef;
}
}
}
}
/**
* Returns the host domain name component for server based hierarchical
* identifiers. It can also be replaced by an IP address when no domain name
* was registered.
*
* @return The host domain name component for server based hierarchical
* identifiers.
*/
public String getHostDomain() {
String result = null;
String authority = getAuthority();
if (authority != null) {
int index1 = authority.indexOf('@');
int index2 = authority.indexOf(':');
if (index1 != -1) {
// User info found
if (index2 != -1) {
// Port found
result = authority.substring(index1 + 1, index2);
} else {
// No port found
result = authority.substring(index1 + 1);
}
} else {
// No user info found
if (index2 != -1) {
// Port found
result = authority.substring(0, index2);
} else {
// No port found
result = authority;
}
}
}
return result;
}
/**
* Returns the host identifier. Includes the scheme, the host name and the
* host port number.
*
* @return The host identifier.
*/
public String getHostIdentifier() {
StringBuilder result = new StringBuilder();
result.append(getScheme()).append("://").append(getAuthority());
return result.toString();
}
/**
* Returns the optional port number for server based hierarchical
* identifiers.
*
* @return The optional port number for server based hierarchical
* identifiers.
*/
public Integer getHostPort() {
Integer result = null;
String authority = getAuthority();
if (authority != null) {
int index = authority.indexOf(':');
if (index != -1) {
result = Integer.valueOf(authority.substring(index + 1));
}
}
return result;
}
/**
* Returns the absolute resource identifier, without the fragment.
*
* @return The absolute resource identifier, without the fragment.
*/
public String getIdentifier() {
if (fragmentIndex != -1) {
// Fragment found
return this.internalRef.substring(0, fragmentIndex);
} else {
// No fragment found
return this.internalRef;
}
}
/**
* Returns the last segment of a hierarchical path.<br/> For example the
* "/a/b/c" and "/a/b/c/" paths have the same segments: "a", "b", "c.
*
* @return The last segment of a hierarchical path.
*/
public String getLastSegment() {
String result = null;
int lastSlash = getPath().lastIndexOf('/');
if (lastSlash != -1) {
result = getPath().substring(lastSlash + 1);
}
return result;
}
/**
* Returns the parent reference of a hierarchical reference. The last slash
* of the path will be considered as the end of the parent path.
*
* @return The parent reference of a hierarchical reference.
*/
public Reference getParentRef() {
Reference result = null;
if (isHierarchical()) {
String parentRef = null;
String path = getPath();
if (!path.equals("/") && !path.equals("")) {
if (path.endsWith("/")) {
path = path.substring(0, path.length() - 1);
}
parentRef = getHostIdentifier()
+ path.substring(0, path.lastIndexOf('/') + 1);
} else {
parentRef = this.internalRef;
}
result = new Reference(parentRef);
}
return result;
}
/**
* Returns the path component for hierarchical identifiers.
*
* @return The path component for hierarchical identifiers.
*/
public String getPath() {
String result = null;
String part = isRelative() ? getRelativePart()
: getSchemeSpecificPart();
if (part != null) {
if (part.startsWith("//")) {
// Authority found
int index1 = part.indexOf('/', 2);
if (index1 != -1) {
// Path found
int index2 = part.indexOf('?');
if (index2 != -1) {
// Query found
result = part.substring(index1, index2);
} else {
// No query found
result = part.substring(index1);
}
} else {
// Path must be empty in this case
}
} else {
// No authority found
int index = part.indexOf('?');
if (index != -1) {
// Query found
result = part.substring(0, index);
} else {
// No query found
result = part;
}
}
}
return result;
}
/**
* Returns the optional query component for hierarchical identifiers.
*
* @return The optional query component for hierarchical identifiers.
*/
public String getQuery() {
if (queryIndex != -1) {
// Query found
if (fragmentIndex != -1) {
if (queryIndex < fragmentIndex) {
// Fragment found and query sign not inside fragment
return this.internalRef.substring(queryIndex + 1,
fragmentIndex);
} else {
return null;
}
} else {
// No fragment found
return this.internalRef.substring(queryIndex + 1);
}
} else {
// No query found
return null;
}
}
/**
* Returns the optional query component as a form submission.
*
* @return The optional query component as a form submission.
* @throws IOException
*/
public Form getQueryAsForm() {
return new Form(getQuery());
}
/**
* Returns the optional query component as a form submission.
*
* @param characterSet
* The supported character encoding.
* @return The optional query component as a form submission.
* @throws IOException
*/
public Form getQueryAsForm(CharacterSet characterSet) {
return new Form(getQuery(), characterSet);
}
/**
* Returns the relative part. Note that the optional query and fragment are
* not returned by this method.
*
* @return The relative part.
*/
public String getRelativePart() {
String result = null;
if (isRelative()) {
if (queryIndex != -1) {
// Query found
result = this.internalRef.substring(0, queryIndex);
} else {
if (fragmentIndex != -1) {
// Fragment found
result = this.internalRef.substring(0, fragmentIndex);
} else {
// No fragment found
result = this.internalRef;
}
}
} else {
result = getRelativeRef().getRelativePart();
}
return result;
}
/**
* Returns the part of the resource identifier remaining after the base
* reference. Note that the optional fragment is not returned by this
* method.
*
* @return The remaining resource part.
*/
public String getRemainingPart() {
if (getBaseRef() != null) {
return toString(true, false).substring(
getBaseRef().toString(true, false).length());
} else {
return toString(true, false);
}
}
/**
* Returns the current reference as a relative reference to the current base
* reference. This method should only be invoked for absolute references,
* otherwise an IllegalArgumentException will be raised.
*
* @return The current reference as a relative reference to the current base
* reference.
* @see #getRelativeRef(Reference)
*/
public Reference getRelativeRef() {
return getRelativeRef(getBaseRef());
}
/**
* Returns the current reference relatively to a base reference. This method
* should only be invoked for absolute references, otherwise an
* IllegalArgumentException will be raised.
*
* @param base
* The base reference to use.
* @return The current reference relatively to a base reference.
*/
public Reference getRelativeRef(Reference base) {
Reference result = null;
if (base == null) {
result = this;
} else if (!isAbsolute() || !isHierarchical()) {
throw new IllegalArgumentException(
"The reference must have an absolute hierarchical path component");
} else if (!base.isAbsolute() || !base.isHierarchical()) {
throw new IllegalArgumentException(
"The base reference must have an absolute hierarchical path component");
} else if (!getHostIdentifier().equals(base.getHostIdentifier())) {
result = this;
} else {
String localPath = getPath();
String basePath = base.getPath();
String relativePath = null;
if ((basePath == null) || (localPath == null)) {
relativePath = localPath;
} else {
// Find the junction point
boolean diffFound = false;
int lastSlashIndex = -1;
int i = 0;
char current;
while (!diffFound && (i < localPath.length())
&& (i < basePath.length())) {
current = localPath.charAt(i);
if (current != basePath.charAt(i)) {
diffFound = true;
} else {
if (current == '/')
lastSlashIndex = i;
i++;
}
}
if (!diffFound) {
if (localPath.length() == basePath.length()) {
// Both paths are strictely equivalent
relativePath = ".";
} else if (i == localPath.length()) {
// End of local path reached
if (basePath.charAt(i) == '/') {
if ((i + 1) == basePath.length()) {
// Both paths are strictely equivalent
relativePath = ".";
} else {
// The local path is a direct parent of the base
// path
// We need to add enough ".." in the relative
// path
StringBuilder sb = new StringBuilder();
sb.append("..");
boolean canAdd = false;
for (int j = i + 1; j < basePath.length(); j++) {
if (basePath.charAt(j) == '/') {
canAdd = true;
} else if (canAdd) {
sb.append("/..");
canAdd = false;
}
}
relativePath = sb.toString();
}
} else {
// The base path has a segment that starts like
// the last local path segment
// But that is longer. Situation similar to a
// junction
StringBuilder sb = new StringBuilder();
boolean firstAdd = true;
boolean canAdd = false;
for (int j = i; j < basePath.length(); j++) {
if (basePath.charAt(j) == '/') {
canAdd = true;
} else if (canAdd) {
if (firstAdd) {
firstAdd = false;
} else {
sb.append("/");
}
sb.append("..");
canAdd = false;
}
}
if (lastSlashIndex + 1 < localPath.length()) {
if (!firstAdd)
sb.append('/');
sb.append(localPath
.substring(lastSlashIndex + 1));
}
relativePath = sb.toString();
if (relativePath.equals(""))
relativePath = ".";
}
} else if (i == basePath.length()) {
if (localPath.charAt(i) == '/') {
if ((i + 1) == localPath.length()) {
// Both paths are strictely equivalent
relativePath = ".";
} else {
// The local path is a direct child of the base
// path
relativePath = localPath.substring(i + 1);
}
} else {
if (lastSlashIndex == (i - 1)) {
// The local path is a direct subpath of the
// base path
relativePath = localPath.substring(i);
} else {
relativePath = ".."
+ localPath.substring(lastSlashIndex);
}
}
}
} else {
// We found a junction point, we need to add enough ".." in
// the relative path and append the rest of the local path
// the local path is a direct subpath of the base path
StringBuilder sb = new StringBuilder();
boolean canAdd = false;
boolean firstAdd = true;
for (int j = i; j < basePath.length(); j++) {
if (basePath.charAt(j) == '/') {
canAdd = true;
} else if (canAdd) {
if (firstAdd) {
firstAdd = false;
} else {
sb.append("/");
}
sb.append("..");
canAdd = false;
}
}
if (!firstAdd)
sb.append('/');
sb.append(localPath.substring(lastSlashIndex + 1));
relativePath = sb.toString();
}
}
// Builde the result reference
result = new Reference();
String query = getQuery();
String fragment = getFragment();
boolean modified = false;
if ((query != null) && (!query.equals(base.getQuery()))) {
result.setQuery(query);
modified = true;
}
if ((fragment != null) && (!fragment.equals(base.getFragment()))) {
result.setFragment(fragment);
modified = true;
}
if (!modified || !relativePath.equals(".")) {
result.setPath(relativePath);
}
}
return result;
}
/**
* Returns the scheme component.
*
* @return The scheme component.
*/
public String getScheme() {
if (schemeIndex != -1) {
// Scheme found
return this.internalRef.substring(0, schemeIndex);
} else {
// No scheme found
return null;
}
}
/**
* Returns the protocol associated with the scheme component.
*
* @return The protocol associated with the scheme component.
*/
public Protocol getSchemeProtocol() {
return Protocol.valueOf(getScheme());
}
/**
* Returns the scheme specific part.
*
* @return The scheme specific part.
*/
public String getSchemeSpecificPart() {
String result = null;
if (schemeIndex != -1) {
// Scheme found
if (fragmentIndex != -1) {
// Fragment found
result = this.internalRef.substring(schemeIndex + 1,
fragmentIndex);
} else {
// No fragment found
result = this.internalRef.substring(schemeIndex + 1);
}
}
return result;
}
/**
* Returns the segments of a hierarchical path.<br/> A new list is created
* for each call.
*
* @return The segments of a hierarchical path.
*/
public List<String> getSegments() {
List<String> result = new ArrayList<String>();
;
String path = getPath();
int start = -2; // The index of the slash starting the segment
char current;
if (path != null) {
for (int i = 0; i < path.length(); i++) {
current = path.charAt(i);
if (current == '/') {
if (start == -2) {
// Beginning of an absolute path or sequence of two
// separators
start = i;
} else {
// End of a segment
result.add(path.substring(start + 1, i));
start = i;
}
} else {
if (start == -2) {
// Starting a new segment for a relative path
start = -1;
} else {
// Looking for the next character
}
}
}
if (start != -2) {
// Add the last segment
result.add(path.substring(start + 1));
}
}
return result;
}
/**
* Returns the target reference. This method resolves relative references
* against the base reference then normalize them.
*
* @return The target reference.
*/
public Reference getTargetRef() {
Reference result = null;
// Step 1 - Resolve relative reference against their base reference
if (isRelative() && (baseRef != null)) {
// Relative URI detected
String authority = getAuthority();
String path = getPath();
String query = getQuery();
String fragment = getFragment();
// Create an empty reference
result = new Reference();
result.setScheme(baseRef.getScheme());
if (authority != null) {
result.setAuthority(authority);
result.setPath(path);
result.setQuery(query);
} else {
result.setAuthority(baseRef.getAuthority());
if ((path == null) || (path.equals(""))) {
result.setPath(baseRef.getPath());
if (query != null) {
result.setQuery(query);
} else {
result.setQuery(baseRef.getQuery());
}
} else {
if (path.startsWith("/")) {
result.setPath(path);
} else {
String basePath = baseRef.getPath();
String mergedPath = null;
if ((baseRef.getAuthority() != null)
&& ((basePath == null) || (basePath.equals("")))) {
mergedPath = "/" + path;
} else {
// Remove the last segment which may be empty if
// the path is ending with a slash
int lastSlash = basePath.lastIndexOf('/');
if (lastSlash == -1) {
mergedPath = path;
} else {
mergedPath = basePath.substring(0,
lastSlash + 1)
+ path;
}
}
result.setPath(mergedPath);
}
result.setQuery(query);
}
}
result.setFragment(fragment);
} else {
// Absolute URI detected
result = new Reference(this);
}
// Step 2 - Normalize the target reference
result.normalize();
return result;
}
/**
* Returns the user info component for server based hierarchical
* identifiers.
*
* @return The user info component for server based hierarchical
* identifiers.
*/
public String getUserInfo() {
String result = null;
String authority = getAuthority();
if (authority != null) {
int index = authority.indexOf('@');
if (index != -1) {
result = authority.substring(0, index);
}
}
return result;
}
/**
* Returns a hash code value for the object.
*
* @return A hash code value for the object.
*/
@Override
public int hashCode() {
return (this.internalRef == null) ? 0 : this.internalRef.hashCode();
}
/**
* Indicates if the reference is absolute.
*
* @return True if the reference is absolute.
*/
public boolean isAbsolute() {
return (getScheme() != null);
}
/**
* Returns true if both reference are equivalent, meaning that they resolve
* to the same target reference.
*
* @param ref
* The reference to compare.
* @return True if both reference are equivalent.
*/
public boolean isEquivalentTo(Reference ref) {
return getTargetRef().equals(ref.getTargetRef());
}
/**
* Indicates if the identifier is hierarchical.
*
* @return True if the identifier is hierarchical, false if it is opaque.
*/
public boolean isHierarchical() {
return isRelative() || (getSchemeSpecificPart().charAt(0) == '/');
}
/**
* Indicates if the identifier is opaque.
*
* @return True if the identifier is opaque, false if it is hierarchical.
*/
public boolean isOpaque() {
return isAbsolute() && (getSchemeSpecificPart().charAt(0) != '/');
}
/**
* Indicates if the reference is a parent of the hierarchical child
* reference.
*
* @param childRef
* The hierarchical reference.
* @return True if the reference is a parent of the hierarchical child
* reference.
*/
public boolean isParent(Reference childRef) {
boolean result = false;
if ((childRef != null) && (childRef.isHierarchical())) {
result = childRef.toString(false, false).startsWith(
toString(false, false));
}
return result;
}
/**
* Indicates if the reference is relative.
*
* @return True if the reference is relative.
*/
public boolean isRelative() {
return (getScheme() == null);
}
/**
* Normalizes the reference. Useful before comparison between references or
* when building a target reference from a base and a relative references.
*
* @return The current reference.
*/
public Reference normalize() {
// 1. The input buffer is initialized with the now-appended path
// components
// and the output buffer is initialized to the empty string.
StringBuilder output = new StringBuilder();
StringBuilder input = new StringBuilder();
String path = getPath();
if (path != null)
input.append(path);
// 2. While the input buffer is not empty, loop as follows:
while (input.length() > 0) {
// A. If the input buffer begins with a prefix of "../" or "./",
// then remove that prefix from the input buffer; otherwise,
if ((input.length() >= 3) && input.substring(0, 3).equals("../")) {
input.delete(0, 3);
} else if ((input.length() >= 2)
&& input.substring(0, 2).equals("./")) {
input.delete(0, 2);
}
// B. if the input buffer begins with a prefix of "/./" or "/.",
// where "." is a complete path segment, then replace that
// prefix with "/" in the input buffer; otherwise,
else if ((input.length() >= 3)
&& input.substring(0, 3).equals("/./")) {
input.delete(0, 2);
} else if ((input.length() == 2)
&& input.substring(0, 2).equals("/.")) {
input.delete(1, 2);
}
// C. if the input buffer begins with a prefix of "/../" or "/..",
// where ".." is a complete path segment, then replace that prefix
// with "/" in the input buffer and remove the last segment and its
// preceding "/" (if any) from the output buffer; otherwise,
else if ((input.length() >= 4)
&& input.substring(0, 4).equals("/../")) {
input.delete(0, 3);
removeLastSegment(output);
} else if ((input.length() == 3)
&& input.substring(0, 3).equals("/..")) {
input.delete(1, 3);
removeLastSegment(output);
}
// D. if the input buffer consists only of "." or "..", then remove
// that from the input buffer; otherwise,
else if ((input.length() == 1) && input.substring(0, 1).equals(".")) {
input.delete(0, 1);
} else if ((input.length() == 2)
&& input.substring(0, 2).equals("..")) {
input.delete(0, 2);
}
// E. move the first path segment in the input buffer to the end of
// the output buffer, including the initial "/" character (if any)
// and any subsequent characters up to, but not including, the next
// "/" character or the end of the input buffer.
else {
int max = -1;
for (int i = 1; (max == -1) && (i < input.length()); i++) {
if (input.charAt(i) == '/')
max = i;
}
if (max != -1) {
// We found the next "/" character.
output.append(input.substring(0, max));
input.delete(0, max);
} else {
// End of input buffer reached
output.append(input);
input.delete(0, input.length());
}
}
}
// Finally, the output buffer is returned as the result
setPath(output.toString());
// Ensure that the scheme and host names are reset in lower case
setScheme(getScheme());
setHostDomain(getHostDomain());
return this;
}
/**
* Removes the last segement from the output builder.
*
* @param output
* The output builder to update.
*/
private void removeLastSegment(StringBuilder output) {
int min = -1;
for (int i = output.length() - 1; (min == -1) && (i >= 0); i--) {
if (output.charAt(i) == '/')
min = i;
}
if (min != -1) {
// We found the previous "/" character.
output.delete(min, output.length());
} else {
// End of output buffer reached
output.delete(0, output.length());
}
}
/**
* Sets the authority component for hierarchical identifiers.
*
* @param authority
* The authority component for hierarchical identifiers.
*/
public void setAuthority(String authority) {
String oldPart = isRelative() ? getRelativePart()
: getSchemeSpecificPart();
String newPart;
String newAuthority = (authority == null) ? "" : "//" + authority;
if (oldPart.startsWith("//")) {
int index = oldPart.indexOf('/', 2);
if (index != -1) {
newPart = newAuthority + oldPart.substring(index);
} else {
index = oldPart.indexOf('?');
if (index != -1) {
newPart = newAuthority + oldPart.substring(index);
} else {
newPart = newAuthority;
}
}
} else {
newPart = newAuthority + oldPart;
}
if (isAbsolute()) {
setSchemeSpecificPart(newPart);
} else {
setRelativePart(newPart);
}
}
/**
* Sets the base reference for relative references.
*
* @param baseUri
* The base URI for relative references.
*/
public void setBaseRef(String baseUri) {
setBaseRef(new Reference(baseUri));
}
/**
* Sets the base reference for relative references.
*
* @param baseRef
* The base reference for relative references.
*/
public void setBaseRef(Reference baseRef) {
this.baseRef = baseRef;
}
/**
* Sets the fragment identifier.
*
* @param fragment
* The fragment identifier.
*/
public void setFragment(String fragment) {
if ((fragment != null) && (fragment.indexOf('#') != -1)) {
throw new IllegalArgumentException(
"Illegal '#' character detected in parameter");
} else {
if (fragmentIndex != -1) {
// Existing fragment
if (fragment != null) {
this.internalRef = this.internalRef.substring(0,
fragmentIndex + 1)
+ fragment;
} else {
this.internalRef = this.internalRef.substring(0,
fragmentIndex);
}
} else {
// No existing fragment
if (fragment != null) {
if (this.internalRef != null) {
this.internalRef = this.internalRef + '#' + fragment;
} else {
this.internalRef = '#' + fragment;
}
} else {
// Do nothing
}
}
}
updateIndexes();
}
/**
* Sets the host domain component for server based hierarchical identifiers.
*
* @param domain
* The host component for server based hierarchical identifiers.
*/
public void setHostDomain(String domain) {
String authority = getAuthority();
if (authority != null) {
if (domain == null) {
domain = "";
} else {
// URI specification indicates that host names should be
// produced in lower case
domain = domain.toLowerCase();
}
int index1 = authority.indexOf('@');
int index2 = authority.indexOf(':');
if (index1 != -1) {
// User info found
if (index2 != -1) {
// Port found
setAuthority(authority.substring(0, index1 + 1) + domain
+ authority.substring(index2));
} else {
// No port found
setAuthority(authority.substring(0, index1 + 1) + domain);
}
} else {
// No user info found
if (index2 != -1) {
// Port found
setAuthority(domain + authority.substring(index2));
} else {
// No port found
setAuthority(domain);
}
}
}
}
/**
* Sets the optional port number for server based hierarchical identifiers.
*
* @param port
* The optional port number for server based hierarchical
* identifiers.
*/
public void setHostPort(Integer port) {
String authority = getAuthority();
if (authority != null) {
int index = authority.indexOf(':');
String newPort = (port == null) ? "" : ":" + port;
if (index != -1) {
setAuthority(authority.substring(0, index) + newPort);
} else {
setAuthority(authority + newPort);
}
} else {
throw new IllegalArgumentException(
"No authority defined, please define a host name first");
}
}
/**
* Sets the absolute resource identifier.
*
* @param identifier
* The absolute resource identifier.
*/
public void setIdentifier(String identifier) {
if (identifier == null)
identifier = "";
if (identifier.indexOf('#') == -1) {
throw new IllegalArgumentException(
"Illegal '#' character detected in parameter");
} else {
if (fragmentIndex != -1) {
// Fragment found
this.internalRef = identifier
+ this.internalRef.substring(fragmentIndex);
} else {
// No fragment found
this.internalRef = identifier;
}
updateIndexes();
}
}
/**
* Sets the path component for hierarchical identifiers.
*
* @param path
* The path component for hierarchical identifiers.
*/
public void setPath(String path) {
String oldPart = isRelative() ? getRelativePart()
: getSchemeSpecificPart();
String newPart = null;
if (oldPart != null) {
if (path == null)
path = "";
if (oldPart.startsWith("//")) {
// Authority found
int index1 = oldPart.indexOf('/', 2);
if (index1 != -1) {
// Path found
int index2 = oldPart.indexOf('?');
if (index2 != -1) {
// Query found
newPart = oldPart.substring(0, index1) + path
+ oldPart.substring(index2);
} else {
// No query found
newPart = oldPart.substring(0, index1) + path;
}
} else {
// No path found
int index2 = oldPart.indexOf('?');
if (index2 != -1) {
// Query found
newPart = oldPart.substring(0, index2) + path
+ oldPart.substring(index2);
} else {
// No query found
newPart = oldPart + path;
}
}
} else {
// No authority found
int index = oldPart.indexOf('?');
if (index != -1) {
// Query found
newPart = path + oldPart.substring(index);
} else {
// No query found
newPart = path;
}
}
} else {
newPart = path;
}
if (isAbsolute()) {
setSchemeSpecificPart(newPart);
} else {
setRelativePart(newPart);
}
}
/**
* Sets the scheme component based on this protocol.
*
* @param protocol
* The protocol of the scheme component.
*/
public void setProtocol(Protocol protocol) {
setScheme(protocol.getSchemeName());
}
/**
* Returns the query component for hierarchical identifiers.
*
* @param query
* The query component for hierarchical identifiers.
*/
public void setQuery(String query) {
if (queryIndex != -1) {
// Query found
if (fragmentIndex != -1) {
// Fragment found
if (query != null) {
this.internalRef = this.internalRef.substring(0,
queryIndex + 1)
+ query + this.internalRef.substring(fragmentIndex);
} else {
this.internalRef = this.internalRef
.substring(0, queryIndex)
+ this.internalRef.substring(fragmentIndex);
}
} else {
// No fragment found
if (query != null) {
this.internalRef = this.internalRef.substring(0,
queryIndex + 1)
+ query;
} else {
this.internalRef = this.internalRef
.substring(0, queryIndex);
}
}
} else {
// No query found
if (fragmentIndex != -1) {
// Fragment found
if (query != null) {
this.internalRef = this.internalRef.substring(0,
fragmentIndex)
+ '?'
+ query
+ this.internalRef.substring(fragmentIndex);
} else {
// Do nothing;
}
} else {
// No fragment found
if (query != null) {
if (this.internalRef != null) {
this.internalRef = this.internalRef + '?' + query;
} else {
this.internalRef = '?' + query;
}
} else {
// Do nothing;
}
}
}
updateIndexes();
}
/**
* Sets the relative part for relative references only.
*
* @param relativePart
* The relative part to set.
*/
public void setRelativePart(String relativePart) {
if (relativePart == null)
relativePart = "";
if (schemeIndex == -1) {
// This is a relative reference, no scheme found
if (queryIndex != -1) {
// Query found
this.internalRef = relativePart
+ this.internalRef.substring(queryIndex);
} else if (fragmentIndex != -1) {
// Fragment found
this.internalRef = relativePart
+ this.internalRef.substring(fragmentIndex);
} else {
// No fragment found
this.internalRef = relativePart;
}
}
updateIndexes();
}
/**
* Sets the scheme component.
*
* @param scheme
* The scheme component.
*/
public void setScheme(String scheme) {
if (scheme != null) {
// URI specification indicates that scheme names should be
// produced in lower case
scheme = scheme.toLowerCase();
}
if (schemeIndex != -1) {
// Scheme found
if (scheme != null) {
this.internalRef = scheme
+ this.internalRef.substring(schemeIndex);
} else {
this.internalRef = this.internalRef.substring(schemeIndex + 1);
}
} else {
// No scheme found
if (scheme != null) {
if (this.internalRef == null) {
this.internalRef = scheme + ':';
} else {
this.internalRef = scheme + ':' + this.internalRef;
}
}
}
updateIndexes();
}
/**
* Sets the scheme specific part.
*
* @param schemeSpecificPart
* The scheme specific part.
*/
public void setSchemeSpecificPart(String schemeSpecificPart) {
if (schemeSpecificPart == null)
schemeSpecificPart = "";
if (schemeIndex != -1) {
// Scheme found
if (fragmentIndex != -1) {
// Fragment found
this.internalRef = this.internalRef.substring(0,
schemeIndex + 1)
+ schemeSpecificPart
+ this.internalRef.substring(fragmentIndex);
} else {
// No fragment found
this.internalRef = this.internalRef.substring(0,
schemeIndex + 1)
+ schemeSpecificPart;
}
} else {
// No scheme found
if (fragmentIndex != -1) {
// Fragment found
this.internalRef = schemeSpecificPart
+ this.internalRef.substring(fragmentIndex);
} else {
// No fragment found
this.internalRef = schemeSpecificPart;
}
}
updateIndexes();
}
/**
* Sets the segments of a hierarchical path.<br/> A new absolute path will
* replace any existing one.
*
* @param segments
* The segments of the hierarchical path.
*/
public void setSegments(List<String> segments) {
StringBuilder sb = new StringBuilder();
for (String segment : segments) {
sb.append('/').append(segment);
}
setPath(sb.toString());
}
/**
* Sets the user info component for server based hierarchical identifiers.
*
* @param userInfo
* The user info component for server based hierarchical
* identifiers.
*/
public void setUserInfo(String userInfo) {
String authority = getAuthority();
if (authority != null) {
int index = authority.indexOf('@');
String newUserInfo = (userInfo == null) ? "" : userInfo + '@';
if (index != -1) {
setAuthority(newUserInfo + authority.substring(index + 1));
} else {
setAuthority(newUserInfo + authority);
}
} else {
throw new IllegalArgumentException(
"No authority defined, please define a host name first");
}
}
/**
* Returns the reference as an URI string.
*
* @return The reference as an URI string.
*/
@Override
public String toString() {
return this.internalRef;
}
/**
* Returns the URI reference string.
*
* @param query
* Indicates if the query should be included;
* @param fragment
* Indicates if the fragment should be included;
* @return The URI reference string.
*/
public String toString(boolean query, boolean fragment) {
if (query) {
if (fragment) {
return this.internalRef;
} else {
if (fragmentIndex != -1) {
return this.internalRef.substring(0, fragmentIndex);
} else {
return this.internalRef;
}
}
} else {
if (fragment) {
if (queryIndex != -1) {
if (fragmentIndex != -1) {
return this.internalRef.substring(0, queryIndex) + "#"
+ getFragment();
} else {
return this.internalRef.substring(0, queryIndex);
}
} else {
return this.internalRef;
}
} else {
if (queryIndex != -1) {
return this.internalRef.substring(0, queryIndex);
} else {
if (fragmentIndex != -1) {
return this.internalRef.substring(0, fragmentIndex);
} else {
return this.internalRef;
}
}
}
}
}
/**
* Update internal indexes.
*/
private void updateIndexes() {
if (internalRef != null) {
int firstSlashIndex = this.internalRef.indexOf('/');
this.schemeIndex = this.internalRef.indexOf(':');
if ((firstSlashIndex != -1) && (this.schemeIndex > firstSlashIndex)) {
// We are in the rare case of a relative reference where one of
// the path segments contains a colon character. In this case,
// we ignore the colon as a valid scheme index.
// Note that this colon can't be in the first segment as it is
// forbidden by the URI RFC.
this.schemeIndex = -1;
}
this.queryIndex = this.internalRef.indexOf('?');
this.fragmentIndex = this.internalRef.indexOf('#');
if ((this.queryIndex != -1) && (this.fragmentIndex != -1)
&& (this.queryIndex > this.fragmentIndex)) {
// Query sign inside fragment
this.queryIndex = -1;
}
} else {
this.schemeIndex = -1;
this.queryIndex = -1;
this.fragmentIndex = -1;
}
}
}
| [
"[email protected]"
] | |
0cd4228fa87b96ea98e78cf8f40032ce5ae5bd4f | b4eb41fb71d2104b85b72450c4fcb266dad59530 | /app/src/main/java/com/zguming/orangeschool/bean/Goods.java | 2f72ad4560516137dc2f8e08ddf8444260d426a4 | [] | no_license | zguming/OrangeSchool | 1da8d9a4f7d3a94b4e794c8e8fe176e9440c668c | cfdae075643283af8b41f313eed3135cbe5e8013 | refs/heads/master | 2021-09-09T23:55:15.124572 | 2018-03-20T09:06:22 | 2018-03-20T09:06:22 | 125,591,045 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,004 | java | package com.zguming.orangeschool.bean;
import android.widget.ImageView;
import android.widget.TextView;
/**
* Created by Administrator on 2018/2/23 0023.
*/
//商品
public class Goods {
private String imageUrl;
private String name;
private String price;
private String sales;
public Goods(String name, String price, String sales) {
this.name = name;
this.price = price;
this.sales = sales;
}
public String getImageUrl() {
return imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPrice() {
return price;
}
public void setPrice(String price) {
this.price = price;
}
public String getSales() {
return sales;
}
public void setSales(String sales) {
this.sales = sales;
}
}
| [
"[email protected]"
] | |
bbb1d082b57bf5fc3202215b3b302a8cd2c12c47 | 9fae27252b79cd0d49e2ae8af733e677102d7aed | /app/src/main/java/io/github/hidroh/materialistic/widget/SubmissionRecyclerViewAdapter.java | fdc10c693ad390754d16833cb7d1345c4c75d6b6 | [
"Apache-2.0"
] | permissive | reactivize/materialistic | ef93271a3c9967010b437fead2d0f61b7c26896c | 1ec12ef1544d8ee22fbfd645f29e0b6f62e39f0c | refs/heads/master | 2021-01-16T19:03:09.012136 | 2016-07-07T03:09:12 | 2016-07-07T03:09:12 | 62,782,872 | 1 | 0 | null | 2016-07-07T07:01:37 | 2016-07-07T07:01:36 | null | UTF-8 | Java | false | false | 3,537 | java | /*
* Copyright (c) 2015 Ha Duy Trung
*
* 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.github.hidroh.materialistic.widget;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewGroup;
import io.github.hidroh.materialistic.ItemActivity;
import io.github.hidroh.materialistic.R;
import io.github.hidroh.materialistic.ThreadPreviewActivity;
import io.github.hidroh.materialistic.data.Item;
import io.github.hidroh.materialistic.data.ItemManager;
public class SubmissionRecyclerViewAdapter extends ItemRecyclerViewAdapter<SubmissionViewHolder> {
private final Item[] mItems;
public SubmissionRecyclerViewAdapter(ItemManager itemManager, @NonNull Item[] items) {
super(itemManager);
mItems = items;
}
@Override
public SubmissionViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
return new SubmissionViewHolder(mLayoutInflater.inflate(R.layout.item_submission, parent, false));
}
@Override
public int getItemCount() {
return mItems.length;
}
@Override
protected Item getItem(int position) {
return mItems[position];
}
@Override
protected void bind(final SubmissionViewHolder holder, final Item item) {
super.bind(holder, item);
if (item == null) {
return;
}
final boolean isComment = TextUtils.equals(item.getType(), Item.COMMENT_TYPE);
holder.mPostedTextView.setText(item.getDisplayedTime(mContext, false, false));
if (isComment) {
holder.mTitleTextView.setText(null);
holder.mCommentButton.setText(R.string.view_thread);
} else {
holder.mPostedTextView.append(" - ");
holder.mPostedTextView.append(mContext.getResources()
.getQuantityString(R.plurals.score, item.getScore(), item.getScore()));
holder.mTitleTextView.setText(item.getDisplayedTitle());
holder.mCommentButton.setText(R.string.view_story);
}
holder.mTitleTextView.setVisibility(holder.mTitleTextView.length() > 0 ?
View.VISIBLE : View.GONE);
holder.mContentTextView.setVisibility(holder.mContentTextView.length() > 0 ?
View.VISIBLE : View.GONE);
holder.mCommentButton.setVisibility(item.isDeleted() ? View.GONE : View.VISIBLE);
holder.mCommentButton.setOnClickListener(v -> {
if (isComment) {
openPreview(item);
} else {
openItem(item);
}
});
}
private void openItem(Item item) {
mContext.startActivity(new Intent(mContext, ItemActivity.class)
.putExtra(ItemActivity.EXTRA_ITEM, item));
}
private void openPreview(Item item) {
mContext.startActivity(new Intent(mContext, ThreadPreviewActivity.class)
.putExtra(ThreadPreviewActivity.EXTRA_ITEM, item));
}
}
| [
"[email protected]"
] | |
02c9b6be12eacaf4f2af1807d96a6ce8afc2bfaa | c4ef4efbf11ba0404cc463ce2482c3554f06d6ea | /CollectionExperiment/src/CollectionExperiment.java | 10188cb8d9690b8d341fe9632d7f7dc5169d6784 | [] | no_license | imonbashir/CollectionExperiment | 3ca44e3194d1e4e0d7c2ee6469b8327906cea81b | 2a1d6fc010242f0fde0783d78be1a6a9968a9ae7 | refs/heads/master | 2020-12-24T21:10:48.562847 | 2016-04-26T17:05:37 | 2016-04-26T17:05:37 | 57,074,416 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,035 | java | import java.util.*;
public class CollectionExperiment
{
public static void main(String[] args)
{
List<String> liste = new ArrayList<String>();
experimentiereMit (liste);
Stack<String> stack = new Stack<String>();
experimentiereMit (stack);
Set<String> set = new HashSet<String>();
experimentiereMit (set);
}
private static void schreibeCollectionAufConsole(Collection<String> collect)
{
for(String s: collect)
{
System.out.println(s);
}
}
private static void experimentiereMit (Collection<String> coll)
{
coll.add("hans");
coll.add("franz");
if(coll.contains("hans"))
{
System.out.println("hans ist drin");
}
coll.clear();
int g = coll.size();
System.out.println(g);
coll.add("max");
coll.add("frax");
schreibeCollectionAufConsole(coll);
Collection<String> co2 = new HashSet<String>();
co2.add("max");
co2.add("abc");
coll.retainAll(co2);
schreibeCollectionAufConsole(coll);
}
}
| [
"[email protected]"
] | |
ddc48f90ff3816a96fa4b686661363f0d75023d1 | 3d16356ff176df0ab293ffd4b38424c8358e5abe | /app/src/main/java/com/meilekuan/zhushou_1514/active/adapter/TopPicAdapter.java | 290c3f07103f42a49740826c1a728b4efcd9f177 | [] | no_license | meilekuanqq/mlkTest | 7984fe43aac84046e8668438c3867424bca313b2 | 404e78bcd46aebab3924b4676085ccbb01416953 | refs/heads/master | 2016-08-09T19:50:37.854689 | 2016-02-19T07:09:52 | 2016-02-19T07:09:52 | 52,061,090 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,972 | java | package com.meilekuan.zhushou_1514.active.adapter;
import android.content.Context;
import android.support.v4.view.PagerAdapter;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.ImageView;
import com.meilekuan.zhushou_1514.R;
import com.squareup.picasso.Picasso;
import java.util.ArrayList;
import java.util.List;
/**
* function : 顶部轮播图数据适配器.
* <p/>
* date 2016/1/12 10:39
*/
public class TopPicAdapter extends PagerAdapter {
private Context mContext;
private List<Integer> mTopPicList = new ArrayList<>();
public TopPicAdapter(Context context, List<Integer> topPicList) {
mContext = context;
if (topPicList != null && topPicList.size() > 0) {
mTopPicList.clear();
mTopPicList.addAll(topPicList);
}
}
@Override
public int getCount() {
return mTopPicList.size();
}
@Override
public boolean isViewFromObject(View view, Object object) {
return view == object;
}
@Override
public void destroyItem(ViewGroup container, int position, Object object) {
container.removeView((View) object);
}
@Override
public Object instantiateItem(ViewGroup container, int position) {
ImageView iv = new ImageView(mContext);
iv.setScaleType(ImageView.ScaleType.CENTER_CROP);
iv.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
Picasso.with(mContext).load(mTopPicList.get(position)).into(iv);
iv.setTag(R.id.active_vp_pic, position);
iv.setOnClickListener(mOnClickListener);
container.addView(iv);
return iv;
}
private OnClickListener mOnClickListener = new OnClickListener() {
@Override
public void onClick(View v) {
int position = (int) v.getTag(R.id.active_vp_pic);
}
};
} | [
"[email protected]"
] | |
2b9a3b535c6787c976fbb42eea4d20e2212782e1 | ee5832ad3b70495eb7affaa5bf63720469ae4176 | /src/com/wgc/dao/Dao.java | 5b7d504ac9bcc3870f8f8a1d4b843c027bea50c4 | [] | no_license | 29littlemonk/Enterprise | 6bb66b30855c04b5f08c6069862043a1ccedce82 | 7511f95b01ca395077974f23c5cc19a39857194c | refs/heads/master | 2016-09-06T12:17:37.986457 | 2015-10-14T13:04:29 | 2015-10-14T13:04:29 | 42,813,194 | 0 | 0 | null | null | null | null | GB18030 | Java | false | false | 21,726 | java | package com.wgc.dao;
import java.awt.Component;
import java.awt.HeadlessException;
import java.io.ObjectInputStream.GetField;
import java.sql.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Date;
import java.util.Set;
import javax.swing.JOptionPane;
import com.wgc.dao.model.*;
public class Dao {
private static String dbDriverName = "com.mysql.jdbc.Driver";
private static String dbConnection = "jdbc:mysql://localhost:3306/enterprise";
private static String username = "root";
private static String password = "WA290029";
private static Connection conn = null;
static {
if (conn == null) {
try {
Class.forName(dbDriverName);
conn = DriverManager.getConnection(dbConnection, username,
password);
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
public static boolean addSupplier(SupplierInfo supplier) {
PreparedStatement pstat;
int i = 0;
try {
pstat = conn
.prepareStatement("insert into tb_supplier values(?,?,?,?,?,?,?,?)");
pstat.setString(1, supplier.getId());
pstat.setString(2, supplier.getFullname());
pstat.setString(3, supplier.getAddress());
pstat.setString(4, supplier.getContact());
pstat.setString(5, supplier.getPhone());
pstat.setString(6, supplier.getBank());
pstat.setString(7, supplier.getEmail());
pstat.setString(8, supplier.getShortname());
i = pstat.executeUpdate();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
if (i == 1)
return true;
else
return false;
}
public static int deleteSupplier(String fullname) {
int flag = 0;
String sql = "delete from tb_supplier where name = '" + fullname + "'";
Statement stat;
try {
stat = conn.createStatement();
flag = stat.executeUpdate(sql);
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return flag;
}
public static int updateSupplier(SupplierInfo supplier, String fullname) {
int flag = 0;
String id = "";
ResultSet result = getResultSet("select id from tb_supplier where name = '"
+ fullname + "'");
try {
result.next();
id = result.getString(1);
} catch (SQLException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
String sql = "update tb_supplier set name = ?,address = ?,contact = ?,phone = ?,bank = ?,email = ?,shortname = ? where id = '"
+ id + "'";
try {
PreparedStatement pstat = conn.prepareStatement(sql);
pstat.setString(1, supplier.getFullname());
pstat.setString(2, supplier.getAddress());
pstat.setString(3, supplier.getContact());
pstat.setString(4, supplier.getPhone());
pstat.setString(5, supplier.getBank());
pstat.setString(6, supplier.getEmail());
pstat.setString(7, supplier.getShortname());
flag = pstat.executeUpdate();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return flag;
}
public static List<String> getSupplierName() {
ResultSet result = getResultSet("select name from tb_supplier");
List<String> supplierName = new ArrayList<String>();
try {
while (result.next()) {
supplierName.add(result.getString(1));
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return supplierName;
}
public static String getContact(String supplierName) {
String contact = "";
ResultSet result = getResultSet("select contact from tb_supplier where name = '"+supplierName+"' ");
try {
while(result.next()) {
contact = result.getString(1);
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return contact;
}
/*
* public static Map<String,String> getSupplierByName(String name) {
* Map<String, String> map = new HashMap<String, String>(); ResultSet result
* = getResultSet("select * from where name = '" + name +"' "); try {
* ResultSetMetaData meta = result.getMetaData(); while(result.next()) {
* for(int i=1; i <= meta.getColumnCount(); i++) {
* map.put(meta.getColumnName(i), result.getString(i)); } } } catch
* (SQLException e) { // TODO Auto-generated catch block
* e.printStackTrace(); } return map; }
*/
public static SupplierInfo getSupplierByName(String name) {
SupplierInfo supplier = new SupplierInfo();
ResultSet result = getResultSet("select * from tb_supplier where name = '"
+ name + "' ");
try {
while (result.next()) {
supplier.setFullname(result.getString("name"));
supplier.setAddress(result.getString("address"));
supplier.setContact(result.getString("contact"));
supplier.setPhone(result.getString("phone"));
supplier.setBank(result.getString("bank"));
supplier.setEmail(result.getString("email"));
supplier.setShortname(result.getString("shortname"));
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return supplier;
}
public static boolean addProduct(ProductInfo product) {
PreparedStatement pstat;
int i = 0;
try {
pstat = conn
.prepareStatement("insert into tb_productInfo values(?,?,?,?,?,?,?,?,?,?,?)");
pstat.setString(1, product.getId());
pstat.setString(2, product.getFullname());
pstat.setString(3, product.getShortname());
pstat.setString(4, product.getOriginplace());
pstat.setString(5, product.getUnit());
pstat.setString(6, product.getStandard());
pstat.setString(7, product.getPac());
pstat.setString(8, product.getLotnumber());
pstat.setString(9, product.getApproval());
pstat.setString(10, product.getMemo());
pstat.setString(11, product.getSupplier());
i = pstat.executeUpdate();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
if (i == 1)
return true;
else
return false;
}
public static int deleteProduct(String fullname) {
int flag = 0;
String sql = "delete from tb_productInfo where fullname = '" + fullname
+ "'";
Statement stat;
try {
stat = conn.createStatement();
flag = stat.executeUpdate(sql);
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return flag;
}
public static int updateProduct(ProductInfo product, String fullname) {
int flag = 0;
String id = "";
ResultSet result = getResultSet("select id from tb_productInfo where fullname = '"
+ fullname + "'");
try {
result.next();
id = result.getString(1);
} catch (SQLException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
String sql = "update tb_productInfo set fullname = ?, shortname= ?,originplace = ?,unit = ?,standard = ?,package = ?,lotnumber = ?,approval = ?,memo = ?,supplier=? where id = '"
+ id + "'";
try {
PreparedStatement pstat = conn.prepareStatement(sql);
pstat.setString(1, product.getFullname());
pstat.setString(2, product.getShortname());
pstat.setString(3, product.getOriginplace());
pstat.setString(4, product.getUnit());
pstat.setString(5, product.getStandard());
pstat.setString(6, product.getPac());
pstat.setString(7, product.getLotnumber());
pstat.setString(8, product.getApproval());
pstat.setString(9, product.getMemo());
pstat.setString(10, product.getSupplier());
flag = pstat.executeUpdate();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return flag;
}
public static List<String> getProductName() {
ResultSet result = getResultSet("select fullname from tb_productInfo");
List<String> productName = new ArrayList<String>();
try {
while (result.next()) {
productName.add(result.getString(1));
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return productName;
}
public static List<String> getProductNameBySupplierName(String supplierName) {
ResultSet result = getResultSet("select fullname from tb_productInfo where supplier ='"+supplierName+"'");
List<String> productName = new ArrayList<String>();
try {
while (result.next()) {
productName.add(result.getString(1));
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return productName;
}
/*
* public static Map<String,String> getSupplierByName(String name) {
* Map<String, String> map = new HashMap<String, String>(); ResultSet result
* = getResultSet("select * from where name = '" + name +"' "); try {
* ResultSetMetaData meta = result.getMetaData(); while(result.next()) {
* for(int i=1; i <= meta.getColumnCount(); i++) {
* map.put(meta.getColumnName(i), result.getString(i)); } } } catch
* (SQLException e) { // TODO Auto-generated catch block
* e.printStackTrace(); } return map; }
*/
public static ProductInfo getProductByName(String name) {
ProductInfo product = new ProductInfo();
ResultSet result = getResultSet("select * from tb_productInfo where fullname = '"
+ name + "' ");
try {
while (result.next()) {
product.setId(result.getString("id"));
product.setFullname(result.getString("fullname"));
product.setApproval(result.getString("approval"));
product.setLotnumber(result.getString("lotnumber"));
product.setMemo(result.getString("memo"));
product.setOriginplace(result.getString("originplace"));
product.setPac(result.getString("package"));
product.setShortname(result.getString("shortname"));
product.setStandard(result.getString("standard"));
product.setSupplier(result.getString("supplier"));
product.setUnit(result.getString("unit"));
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return product;
}
public static ProductInfo getProductById(String id) {
ProductInfo product = new ProductInfo();
ResultSet result = getResultSet("select * from tb_productInfo where id = '"
+ id + "' ");
try {
while (result.next()) {
product.setId(result.getString("id"));
product.setFullname(result.getString("fullname"));
product.setApproval(result.getString("approval"));
product.setLotnumber(result.getString("lotnumber"));
product.setMemo(result.getString("memo"));
product.setOriginplace(result.getString("originplace"));
product.setPac(result.getString("package"));
product.setShortname(result.getString("shortname"));
product.setStandard(result.getString("standard"));
product.setSupplier(result.getString("supplier"));
product.setUnit(result.getString("unit"));
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return product;
}
public static boolean addClient(ClientInfo client) {
PreparedStatement pstat;
int i = 0;
try {
pstat = conn
.prepareStatement("insert into tb_client values(?,?,?,?,?,?,?,?)");
pstat.setString(1, client.getId());
pstat.setString(2, client.getFullname());
pstat.setString(3, client.getAddress());
pstat.setString(4, client.getContact());
pstat.setString(5, client.getPhone());
pstat.setString(6, client.getBank());
pstat.setString(7, client.getEmail());
pstat.setString(8, client.getShortname());
i = pstat.executeUpdate();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
if (i == 1)
return true;
else
return false;
}
public static int deleteClient(String fullname) {
int flag = 0;
String sql = "delete from tb_client where name = '" + fullname + "'";
Statement stat;
try {
stat = conn.createStatement();
flag = stat.executeUpdate(sql);
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return flag;
}
public static int updateClient(ClientInfo client, String fullname) {
int flag = 0;
String id = "";
ResultSet result = getResultSet("select id from tb_client where name = '"
+ fullname + "'");
try {
result.next();
id = result.getString(1);
} catch (SQLException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
String sql = "update tb_client set name = ?,address = ?,contact = ?,phone = ?,bank = ?,email = ?,shortname = ? where id = '"
+ id + "'";
try {
PreparedStatement pstat = conn.prepareStatement(sql);
pstat.setString(1, client.getFullname());
pstat.setString(2, client.getAddress());
pstat.setString(3, client.getContact());
pstat.setString(4, client.getPhone());
pstat.setString(5, client.getBank());
pstat.setString(6, client.getEmail());
pstat.setString(7, client.getShortname());
flag = pstat.executeUpdate();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return flag;
}
public static List<String> getClientName() {
ResultSet result = getResultSet("select name from tb_client");
List<String> clientName = new ArrayList<String>();
try {
while (result.next()) {
clientName.add(result.getString(1));
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return clientName;
}
/*
* public static Map<String,String> getSupplierByName(String name) {
* Map<String, String> map = new HashMap<String, String>(); ResultSet result
* = getResultSet("select * from where name = '" + name +"' "); try {
* ResultSetMetaData meta = result.getMetaData(); while(result.next()) {
* for(int i=1; i <= meta.getColumnCount(); i++) {
* map.put(meta.getColumnName(i), result.getString(i)); } } } catch
* (SQLException e) { // TODO Auto-generated catch block
* e.printStackTrace(); } return map; }
*/
public static ClientInfo getClientByName(String name) {
ClientInfo client = new ClientInfo();
ResultSet result = getResultSet("select * from tb_client where name = '"
+ name + "' ");
try {
while (result.next()) {
client.setFullname(result.getString("name"));
client.setAddress(result.getString("address"));
client.setContact(result.getString("contact"));
client.setPhone(result.getString("phone"));
client.setBank(result.getString("bank"));
client.setEmail(result.getString("email"));
client.setShortname(result.getString("shortname"));
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return client;
}
public static boolean addJsr(JsrInfo jsr) {
PreparedStatement pstat;
int i = 0;
try {
pstat = conn
.prepareStatement("insert into tb_jsr(name,age,sex,phone) values(?,?,?,?)");
pstat.setString(1, jsr.getName());
pstat.setString(2, jsr.getAge());
pstat.setString(3, jsr.getSex());
pstat.setString(4, jsr.getPhone());
i = pstat.executeUpdate();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
if (i == 1)
return true;
else
return false;
}
public static int updateJsr(JsrInfo jsr) {
String sql = "update tb_jsr set age = ?,sex = ?,phone = ? where name = ?";
int flag = 0;
try {
PreparedStatement pstat = conn.prepareStatement(sql);
pstat.setString(1, jsr.getAge());
pstat.setString(2, jsr.getSex());
pstat.setString(3, jsr.getPhone());
pstat.setString(4, jsr.getName());
flag = pstat.executeUpdate();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return flag;
}
public static int updateJsrState(int status, String name) {
String sql;
if (status == 1)
sql = "update tb_jsr set enable = enable-1 where name = '" + name
+ "'";
else
sql = "update tb_jsr set enable = enable+1 where name = '" + name
+ "'";
int flag = 0;
try {
Statement stat = conn.createStatement();
flag = stat.executeUpdate(sql);
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return flag;
}
public static int deleteJsr(String name) {
String sql = "delete from tb_jsr where name = '" + name + "'";
int flag = 0;
try {
Statement stat = conn.createStatement();
flag = stat.executeUpdate(sql);
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return flag;
}
//获得经手人
public static List<String> getJsrName() {
ResultSet result = getResultSet("select name from tb_jsr where enable = 1");
List<String> jsrName = new ArrayList<String>();
try {
while (result.next()) {
jsrName.add(result.getString(1));
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return jsrName;
}
public static String getRukuMainMaxId() {
String max = "";
String baseId = "";
ResultSet result = getResultSet("select max(id) from tb_ruku_main");
try {
if(result.next()) {
max = result.getString(1);
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
baseId = max == null ? "000" : max.substring(max.length()-3);
max = "RK";
Date date = new Date();
max += String.format("%tF", date).replace("-","");
max += String.format("%03d", Integer.parseInt(baseId) + 1);
return max;
}
public static boolean Ruku(RukuMainInfo rukumain) {
String sql = "insert into tb_ruku_main values(?,?,?,?,?,?,?,?,?)";
try {
boolean autoCommit = conn.getAutoCommit();
conn.setAutoCommit(false);
PreparedStatement pstat = conn.prepareStatement(sql);
pstat.setString(1, rukumain.getId());
pstat.setInt(2, rukumain.getProductnum());
pstat.setDouble(3, rukumain.getSummoney());
pstat.setString(4, rukumain.getConclusion());
pstat.setString(5, rukumain.getSuppliername());
pstat.setDate(6,new java.sql.Date(rukumain.getDate().getTime()));
pstat.setString(7, rukumain.getOperator());
pstat.setString(8, rukumain.getJsr());
pstat.setString(9, rukumain.getPayment());
if(pstat.executeUpdate() == 0)
return false;
Set<RuKuDetailInfo> set = rukumain.getDetail();
Iterator ite = set.iterator();
while(ite.hasNext()) {
RuKuDetailInfo detail = new RuKuDetailInfo();
detail = (RuKuDetailInfo)ite.next();
sql = "insert into tb_ruku_detail(rkID,productID,price,count) values(?,?,?,?)";
pstat = conn.prepareStatement(sql);
pstat.setString(1, detail.getRkID());
pstat.setString(2, detail.getProductID());
pstat.setDouble(3, detail.getPrice());
pstat.setInt(4, detail.getCount());
if(pstat.executeUpdate() == 0)
return false;
sql = "select * from tb_kucun where productID = '"+detail.getProductID()+"' ";
Statement stat = conn.createStatement();
ResultSet result = getResultSet(sql);
if(result.next()) {
sql = "update tb_kucun set count = count + '"+detail.getCount()+"' where productID = '"+detail.getProductID()+"'";
if(stat.executeUpdate(sql) == 0)
return false;
}
else {
ProductInfo product = getProductById(detail.getProductID());
sql = "insert into tb_kucun(productID,productName,productUnit,count,originalPlace) values(?,?,?,?,?)";
pstat = conn.prepareStatement(sql);
pstat.setString(1, detail.getProductID());
pstat.setString(2, product.getFullname());
pstat.setString(3, product.getUnit());
pstat.setInt(4, detail.getCount());
pstat.setString(5, product.getOriginplace());
if(pstat.executeUpdate() == 0)
return false;
}
}
conn.commit();
conn.setAutoCommit(autoCommit);
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
return false;
}
return true;
}
public static ResultSet getResultSet(String sql) {
ResultSet result = null;
try {
Statement stat = conn.createStatement();
result = stat.executeQuery(sql);
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return result;
}
public static int updatePassword(String username, String password) {
int flag = 0;
String sql = "update tb_userlist set pass = '" + password
+ "'where name='" + username + "' ";
try {
Statement stat = conn.createStatement();
flag = stat.executeUpdate(sql);
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return flag;
}
public static boolean checkOriginalPassword(String username, String password) {
String sql = "select pass from tb_userlist where name='" + username
+ "' ";
ResultSet result = getResultSet(sql);
try {
if (result.next()) {
if (result.getString(1).equals(password)) {
return true;
}
}
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return false;
}
public static boolean checkLogin(Component parentComponent,
String username, String password) {
ResultSet result = null;
String sql = "select * from tb_userlist where name='" + username + "' ";// 双引号单引号双引号
result = getResultSet(sql);
try {
if (!result.next()) {
// System.out.println(sql);
JOptionPane.showMessageDialog(parentComponent, "此用户不存在!");
return false;
} else {
result = getResultSet("select * from tb_userlist where name='"
+ username + "' and pass='" + password + "' ");
if (!result.next()) {
JOptionPane.showMessageDialog(parentComponent, "密码不正确!");
return false;
}
}
} catch (HeadlessException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return true;
}
}
| [
"[email protected]"
] | |
9e1839348fbbe0dc68fe48f650c4910857774586 | d7a66d64f7eda837f89afcc7f66774af682923b5 | /0108/src/app/e.java | c11a18cd8a379adbf8394f2f818b11fdc3f616fb | [] | no_license | lpaqkosw/jsl40 | 970d607317bc1c690bfd40744b98562a1b7a9529 | e7b62d8004cc88ad4a8f050f64b62061e6b5296c | refs/heads/master | 2020-12-30T02:40:17.130755 | 2020-03-24T01:03:05 | 2020-03-24T01:03:05 | 238,831,993 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 765 | java | package app;
import java.util.Scanner;
public class e {
public static void main(String[] args) throws Exception {
Scanner s = new Scanner(System.in);
int[] score = {50,70,60,90,80,77,45,78};
for(int i =0; i < score.length; i++){
System.out.print(score[i]+" ");
}
for(int i =0; i<score.length-1;i++){
for(int j = i+1; j <score.length;j++){
if(score[i]>score[j]){
int t = score[i];
score[i] = score[j];
score[j] = t;
}
}
}
System.out.println("");
for(int i = 0; i < score.length; i++){
System.out.print(score[i]+" ");
}
}
} | [
"[email protected]"
] | |
05fed2b64f4209bb2575d955ee9c099c11bf82f1 | fd69cf1f96e24249a5399fb374f7aedecf67926c | /app/src/test/java/com/example/hosungclass/ExampleUnitTest.java | 8433583e851b5e1898965b80dde31a4336b8e930 | [] | no_license | kissme93/HosungClass | b4d12b57da8d3aa46c92f300c4b3adbd1ce4d41d | 6f6ca5ead55ee5e29b607fca7e05b9d21c2b7920 | refs/heads/master | 2023-04-05T10:44:26.728624 | 2021-04-18T07:20:15 | 2021-04-18T07:20:15 | 353,320,257 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 384 | java | package com.example.hosungclass;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() {
assertEquals(4, 2 + 2);
}
} | [
"[email protected]"
] | |
ef01c9a48b5127a44b33524f9344c6c4d13325b9 | cd72a19c63cae5c2a84e6562f214e9a9daa40524 | /JPACRUDProject/src/com/capgemini/jpa/presentation/EmployeeTester.java | 4a99c72199b5f355a001d2281c18a57bee210464 | [] | no_license | swaz-swax/2ndNov-Maven-JPQL-JPA-Cardinality | 407e756fc472c23af260495be07348aef56b69da | c441570b00a273c99767a9ade8aec102242c7b6e | refs/heads/master | 2020-04-04T10:41:27.547932 | 2018-11-03T10:17:04 | 2018-11-03T10:17:04 | 155,862,482 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,942 | java | package com.capgemini.jpa.presentation;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.Scanner;
import javax.persistence.criteria.CriteriaBuilder.In;
import com.capgemini.jpa.entity.Employee;
import com.capgemini.jpa.exception.EmployeeException;
import com.capgemini.jpa.service.EmployeeServiceImpl;
import com.capgemini.jpa.service.IEmployeeService;
public class EmployeeTester {
private static IEmployeeService employeeService=
new EmployeeServiceImpl();
static Employee employee;
public static void main(String[] args)
{
while (true)
{Scanner scanner=new Scanner(System.in);
System.out.println("\n\tMenu");
System.out.println("1. Add an employee");
System.out.println("2. Delete an employee");
System.out.println("3. Update salary of an employee");
System.out.println("4. Display an employee");
System.out.println("5. Display all employees");
System.out.println("6. Exit");
System.out.println("\nEnter your choice: ");
int ch=scanner.nextInt();
switch (ch)
{
case 1:
System.out.println("Enter your details----");
System.out.println("Name :");
String name=scanner.next();
System.out.println("job :");
String job=scanner.next();
System.out.println("Salary :");
Double sal=scanner.nextDouble();
System.out.println("Department no. :");
int deptno=scanner.nextInt();
employee = new Employee(null, name,
new GregorianCalendar(2016, 10, 15), job,
sal, deptno);
addNewEmployee(employee);
break;
case 2:
System.out.println("Enter empid: ");
Integer empid = scanner.nextInt();
deleteEmployee(empid);
break;
case 3:
System.out.println("Enter empid: ");
empid = scanner.nextInt();
System.out.println("Enter new Salary: ");
Double newSalary=scanner.nextDouble();
/*employee = new Employee(null, "Meghali",
new GregorianCalendar(2016, 10, 15), "Developer",
65750.0, 10);*/
updateEmployee(empid, newSalary);
break;
case 4:
System.out.println("Enter empid: ");
empid = scanner.nextInt();
getEmployeeDetails(empid);
break;
case 5:
getAllEmployees();
break;
case 6:System.out.println("exit ");
System.exit(0);
}
}
}
private static void getAllEmployees() {
try {
List<Employee> emplist=employeeService.getAllEmployees();
for (Employee employee : emplist)
{
System.out.println(employee);
}
}
catch (EmployeeException e)
{
e.getMessage();
//e.printStackTrace();
}
}
private static void getEmployeeDetails(Integer empid) {
try {
Employee e1=employeeService.getEmployeeDetails(empid);
System.out.println(e1);
}
catch (EmployeeException e)
{
e.getMessage();
//e.printStackTrace();
}
}
private static void updateEmployee(Integer empid, Double newSalary)
{
try {
employee=employeeService.getEmployeeDetails(empid);
System.out.println(employee);
employee.setSalary(newSalary);
employeeService.updateEmployee(employee);
employee=employeeService.getEmployeeDetails(empid);
System.out.println(employee);
//employeeService.updateEmployee(employee);
}
catch (EmployeeException e)
{
e.getMessage();
//e.printStackTrace();
}
}
private static void deleteEmployee(Integer empid) {
try {
employeeService.deleteEmployee(empid);
}
catch (EmployeeException e)
{
e.getMessage();
//e.printStackTrace();
}
}
private static void addNewEmployee(Employee employee) {
try {
employeeService.addNewEmployee(employee);
} catch (EmployeeException e) {
e.getMessage();
//e.printStackTrace();
}
}
}
| [
"[email protected]"
] | |
24a06426fe9f761901b89f4b5f1436fcbafd1c1c | 7ea8e1be950b316b02b59e2ce3a19be50b1d993e | /src/shop_tool_regression_qa/MVM_shop_tool_QA.java | 4a99f8a58e596cbb7ae1c864408effa20df989a0 | [] | no_license | ryanwahid/shoptool_reg | 881865b684457e280e8b94bbab5afc1aee30db66 | 515ffab717bbcd52f23d6231cc11b7cced70981b | refs/heads/master | 2020-04-29T14:27:05.785863 | 2019-03-08T19:21:37 | 2019-03-08T19:21:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 29,490 | java | package shop_tool_regression_qa;
import org.testng.annotations.Test;
import java.util.List;
import org.apache.commons.lang3.RandomStringUtils;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.testng.Assert;
import org.testng.annotations.BeforeSuite;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
@SuppressWarnings("unused")
public class MVM_shop_tool_QA {
WebDriver driver;
public String baseUrl = "http://shopadmin-qa.playstudios.com/shopadmin/#/mvmshop/management/shopevents";
// Runs before test
@BeforeSuite
public void launchBrowser() {
System.out.println("launching Chrome browser");
driver = new ChromeDriver();
driver.get(baseUrl);
driver.manage().window().maximize();
}
// Upload JSON config from tester's local
@BeforeTest
public void importJSON() throws Exception {
Thread.sleep(1500);
// following uploads config file from user's local
driver.findElement(By.xpath("//input[@id='rootfileInput']"))
.sendKeys("C:/Users/ryan.wahid/Videos/autoMVM.json");
Thread.sleep(1500);
// following confirms file upload
WebElement elem1 = driver.findElement(By.xpath("//div[@class='mat-body-1']"));
boolean el1 = elem1.isDisplayed();
if (el1)
System.out.println("Config Upload: Successful");
else
System.out.println("Config Upload: Failed");
// following clicks on edit icon
driver.findElement(By.xpath("(//mat-icon[@class='mat-icon material-icons' and ./text()='edit'])[2]")).click();
}
// Verify Message
@Test(priority = 1)
public void verify_message() throws Exception {
try {
driver.findElement(By.xpath("//*[contains(text(), 'Success')]"));
System.out.println("Uploaded config is ok!");
} catch (Exception e) {
System.out.println("Uploaded config contains Error/Warnings!");
throw (e);
}
}
// verify_field_present checks for element present
@Test(priority = 2)
public void verify_field_present() throws Exception {
/*
* This bit checks for Element present. DO NOT DELETE.
*
* if(driver.findElements(By.xpath("//input[@id='Name']")).size() != 0){
* System.out.println("Element is Present"); }else{
* System.out.println("Element is Absent"); }
*/
// checking name field
WebElement elem2 = driver.findElement(By.xpath("//input[@ng-reflect-id=\"Name\"]"));
boolean el2 = elem2.isDisplayed();
if (el2)
System.out.println("Present: Name");
else
System.out.println("Absent: Name");
// checking PlayerID
if (driver.findElements(By.xpath("//input[@id='PlayerIds']")).size() != 0) {
System.out.println("Present: PlayerID");
} else {
System.out.println("Absent: PlayerID");
}
// checking ModGroup
if (driver.findElements(By.xpath("//input[@id='ModGroup']")).size() != 0) {
System.out.println("Present: ModGroup");
} else {
System.out.println("Absent: ModGroup");
}
// checking ModValues
if (driver.findElements(By.xpath("//input[@id='ModValues']")).size() != 0) {
System.out.println("Present: ModValues");
} else {
System.out.println("Absent: ModValues");
}
// checking Levels
if (driver.findElements(By.xpath("//input[@id='Levels']")).size() != 0) {
System.out.println("Present: Levels");
} else {
System.out.println("Absent: Levels");
}
// checking BonusMultiplier
if (driver.findElements(By.xpath("//input[@id='BonusMultiplier']")).size() != 0) {
System.out.println("Present: BonusMultiplier");
} else {
System.out.println("Absent: BonusMultiplier");
}
// checking Bonus Type-Decimal
if (driver.findElements(By.xpath("//div[contains(text(),'Decimal')]")).size() != 0) {
System.out.println("Present: Bonus Type-Decimal");
} else {
System.out.println("Absent: Bonus Type-Decimal");
}
// checking Bonus Type-Percent
if (driver.findElements(By.xpath("//div[contains(text(),'Percent')]")).size() != 0) {
System.out.println("Present: Bonus Type-Decimal");
} else {
System.out.println("Absent: Bonus Type-Decimal");
}
// checking Bonus Type-ClientAuthoritative
if (driver.findElements(By.xpath("//div[contains(text(),'ClientAuthoritative')]")).size() != 0) {
System.out.println("Present: Bonus Type-ClientAuthoritative");
} else {
System.out.println("Absent: Bonus Type-ClientAuthoritative");
}
// checking Priority
if (driver.findElements(By.xpath("//input[@id='Priority']")).size() != 0) {
System.out.println("Present: Priority");
} else {
System.out.println("Absent: Priority");
}
// checking Start Time
if (driver.findElements(By.xpath(" //div[@class='mat-form-field-infix']/input[@id='mat-input-7']"))
.size() != 0) {
System.out.println("Present: Start Time");
} else {
System.out.println("Absent: Start Time");
}
// checking End Time
if (driver.findElements(By.xpath("//div[@class='mat-form-field-infix']/input[@id='mat-input-8']"))
.size() != 0) {
System.out.println("Present: End Time");
} else {
System.out.println("Absent: End Time");
}
// checking Type
if (driver.findElements(By.xpath(" //div[@class='mat-form-field-infix']/input[@id='Type']")).size() != 0) {
System.out.println("Present: Type");
} else {
System.out.println("Absent: Type");
}
// checking Platforms
if (driver.findElements(By.xpath("//div[@class='mat-form-field-infix']/mat-select[@id='mat-select-0']"))
.size() != 0) {
System.out.println("Present: Platforms");
} else {
System.out.println("Absent: Platforms");
}
// checking Shop Event Theme: Add New Shop Event Themes button
if (driver.findElements(By.xpath("//div[@formarrayname='ShopEventThemes']//mat-icon[text()='add_circle']"))
.size() != 0) {
System.out.println("Present: Shop Event Theme: Add New Shop Event Themes button");
} else {
System.out.println("Absent: Shop Event Theme: Add New Shop Event Themes button");
}
// checking Shop Event Theme: Delete button
if (driver.findElements(By.xpath("//div[@formarrayname='ShopEventThemes']//mat-icon[text()='delete']"))
.size() != 0) {
System.out.println("Present: Shop Event Theme: Delete button");
} else {
System.out.println("Absent: Shop Event Theme: Add New Shop Event Themes button");
}
// checking Shop Event Theme: Name
if (driver.findElements(By.xpath("//div[@class='mat-form-field-infix']/input[@id='mat-input-10']"))
.size() != 0) {
System.out.println("Present: Shop Event Theme: Name");
} else {
System.out.println("Absent: Shop Event Theme: Name");
}
// checking Shop Event Theme: Asset Name/Theme Id
if (driver.findElements(By.xpath("//div[@class='mat-form-field-infix']/input[@id='mat-input-11']"))
.size() != 0) {
System.out.println("Present: Shop Event Theme: Asset Name/Theme Id");
} else {
System.out.println("Absent: Shop Event Theme: Asset Name/Theme Id");
}
// checking Shop Event Theme: Start Time
if (driver.findElements(By.xpath("//div[@class='mat-form-field-infix']/input[@id='mat-input-12']"))
.size() != 0) {
System.out.println("Present: Shop Event Theme: Start Time");
} else {
System.out.println("Absent: Shop Event Theme: Start Time");
}
// checking Shop Event Theme: End Time
if (driver.findElements(By.xpath("//div[@class='mat-form-field-infix']/input[@id='mat-input-13']"))
.size() != 0) {
System.out.println("Present: Shop Event Theme: End Time");
} else {
System.out.println("Absent: Shop Event Theme: End Time");
}
// checking Shops: Add new Shop button
if (driver.findElements(By.xpath("//div[@formarrayname='FormShopLogics']//mat-icon[text()='add_circle']"))
.size() != 0) {
System.out.println("Present: Shops: Add new Shop button");
} else {
System.out.println("Absent: Shops: Add new Shop button");
}
// checking Shops: Delete Shop button
if (driver.findElements(By.xpath("//div[@formarrayname='FormShopLogics']//mat-icon[text()='delete']"))
.size() != 0) {
System.out.println("Present: Shops: Delete Shop button");
} else {
System.out.println("Absent: Shops: Delete Shop button");
}
// checking Shops: Edit Shop button
if (driver.findElements(By.xpath("//div[@formarrayname='FormShopLogics']//mat-icon[text()='edit']"))
.size() != 0) {
System.out.println("Present: Shops: Edit Shop button");
} else {
System.out.println("Absent: Shops: Edit Shop button");
}
// checking Shops: Copy Shop button
if (driver.findElements(By.xpath("//div[@formarrayname='FormShopLogics']//mat-icon[text()='file_copy']"))
.size() != 0) {
System.out.println("Present: Shops: Copy Shop button");
} else {
System.out.println("Absent: Shops: Copy Shop button");
}
// checking Shops: Priority
if (driver.findElements(By.xpath("//div[@class='mat-form-field-infix']/input[@id='mat-input-14']"))
.size() != 0) {
System.out.println("Present: Shops: Priority");
} else {
System.out.println("Absent: Shops: Priority");
}
// checking Shops: Name
if (driver.findElements(By.xpath("//div[@class='mat-form-field-infix']/input[@id='mat-input-15']"))
.size() != 0) {
System.out.println("Present: Shops: Name");
} else {
System.out.println("Absent: Shops: Name");
}
// checking PBW: Add new PBW
if (driver.findElements(By.xpath(
"//h3[contains(text(),'PBW')]//div[@class='mat-button-ripple mat-ripple mat-button-ripple-round']"))
.size() != 0) {
System.out.println("Present: PBW: Add new PBW");
} else {
System.out.println("Absent: PBW: Add new PBW");
}
// checking PBW: PBW Override toggle
if (driver
.findElements(By
.xpath("//span[@class='mat-slide-toggle-content']/mat-label[contains(text(),'PBW Override')]"))
.size() != 0) {
System.out.println("Present: PBW: PBW Override toggle");
} else {
System.out.println("Absent: PBW: PBW Override toggle");
}
// checking Cancel editing Shop Event
if (driver.findElements(By.xpath("//button[@class='mat-raised-button']//span[contains(text(),'Cancel')]"))
.size() != 0) {
System.out.println("Present: Cancel editing Shop Event");
} else {
System.out.println("Absent: Cancel editing Shop Event");
}
// checking Save edited Shop Event
if (driver
.findElements(
By.xpath("//button[@class='mat-raised-button']//span[contains(text(),'Save Shop Event')]"))
.size() != 0) {
System.out.println("Present: Save edited Shop Event");
} else {
System.out.println("Absent: Save edited Shop Event");
}
} // end of verify_field_present
// Inputs or changes field values under Shop Event Details
@Test(priority = 3)
public void tests_field_values() throws Exception {
// Enters a PlayerID that Starts with 2 and 3 random digit
/*
* try { String randoPID = RandomStringUtils.randomNumeric(3); This generates
* random String WebElement pid =
* driver.findElement(By.xpath("//input[@id='PlayerIds']")); pid.sendKeys("2" +
* randoPID); pid.getText(); System.out.println("PlayerID: is set");
*
* } catch (Exception e) {
*
* System.out.println("PlayerID: Failed to set");
*
* throw (e); }
*/
// Enters a ModGroup that stays within 0-5
final int expectedMinLengthInclusive = 1;
try {
String randoModG = RandomStringUtils.randomNumeric(expectedMinLengthInclusive);
WebElement ModG = driver.findElement(By.xpath("//input[@id='ModGroup']"));
ModG.clear();
Thread.sleep(1000);
ModG.sendKeys(randoModG);
ModG.getText();
System.out.println("ModGroup: is set");
} catch (Exception e) {
System.out.println("ModGroup: Failed to set");
throw (e);
}
// Enters a Mod Value
try {
String randoModV = RandomStringUtils.randomNumeric(expectedMinLengthInclusive);
WebElement ModV = driver.findElement(By.xpath("//input[@id='ModValues']"));
ModV.clear();
Thread.sleep(1000);
ModV.sendKeys(randoModV + "+");
ModV.getText();
System.out.println("ModValues: is set");
} catch (Exception e) {
System.out.println("ModValues: Failed to set");
throw (e);
}
// Enters Levels
try {
String randoLevels = RandomStringUtils.randomNumeric(expectedMinLengthInclusive);
WebElement Levels = driver.findElement(By.xpath("//input[@id='Levels']"));
Levels.clear();
Thread.sleep(1000);
Levels.sendKeys(randoLevels + "+");
Levels.getText();
System.out.println("Levels: is set");
} catch (Exception e) {
System.out.println("Levels: Failed to set");
throw (e);
}
// Enters BonusMultiplier
try {
String randoBM = RandomStringUtils.randomNumeric(1);
WebElement BM = driver.findElement(By.xpath("//input[@id='BonusMultiplier']"));
BM.sendKeys(randoBM);
Thread.sleep(1000);
BM.getText();
System.out.println("BonusMultiplier: is set");
} catch (Exception e) {
System.out.println("BonusMultiplier: Failed to set");
throw (e);
}
// Selects Bonus Type Decimal
try {
((JavascriptExecutor) driver).executeScript("arguments[0].click();", driver
.findElement(By.xpath("//mat-radio-group[@role='radiogroup']//input[@id='mat-radio-2-input']")));
System.out.println("Selected Bonus Type Decimal");
} catch (Exception e) {
System.out.println("Failed to Select Bonus Type Decimal");
throw (e);
}
// Enters (Shop Event) Priority
try {
String randoPriority = RandomStringUtils.randomNumeric(1);
WebElement Priority = driver.findElement(By.xpath("//input[@id='Priority']"));
Thread.sleep(1000);
Priority.sendKeys(randoPriority);
Thread.sleep(500);
Priority.getText();
System.out.println("Event Priority: is set");
} catch (Exception e) {
System.out.println("Event Priority: Failed to set");
throw (e);
}
// Enters (Shop Event) Type: buychips
try {
WebElement Type = driver.findElement(By.xpath("//input[@id='Type']"));
Type.clear();
Thread.sleep(1000);
Type.sendKeys("buychips");
System.out.println("Event Type: is set to buychips");
} catch (Exception e) {
System.out.println("Event Type: Failed to set buychips");
throw (e);
}
} /* This is where tests_field_values end */
// tests Shop Event Start Date/Time picker
@Test(priority = 4)
public void testing_event_start_time() throws Exception {
// clicks Start Time(UTC) field to launch Calendar
driver.findElement(By.xpath("//input[@id='mat-input-7']")).click();
// clicks Year drop-down button
WebDriverWait wait = new WebDriverWait(driver, 10);
WebElement yrDropDown = wait.until(ExpectedConditions
.visibilityOfElementLocated(By.xpath("//span[@class='owl-dt-control-button-arrow']")));
yrDropDown.click();
// selects year 2020
WebElement pickAyr = wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(
"//table[@class='owl-dt-calendar-table owl-dt-calendar-multi-year-table']//span[text()='2020']")));
pickAyr.click();
// selects month of May for year 2020
WebElement pickAmonth = wait.until(ExpectedConditions
.visibilityOfElementLocated(By.xpath("//tr[@class='ng-star-inserted']//span[contains(text(),'May')]")));
pickAmonth.click();
// selects 10th day of May 2020
WebElement pickAdate = wait.until(ExpectedConditions
.visibilityOfElementLocated(By.xpath("//tr[@class='ng-star-inserted']//span[contains(text(),'10')]")));
pickAdate.click();
// selects an hour
WebElement pickANhr = wait
.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//button[@aria-label='Add a hour']")));
pickANhr.click();
// selects minutes
WebElement pickMinutes = wait.until(
ExpectedConditions.visibilityOfElementLocated(By.xpath("(//input[@class='owl-dt-timer-input'])[2]")));
pickMinutes.clear();
pickMinutes.sendKeys("30");
// Read Start Date
Thread.sleep(1500);
String StartFrom = driver
.findElement(By.xpath("(//div[@role='radiogroup']//span[@class='owl-dt-container-info-value'])[1]"))
.getText();
System.out.println("Shop Event Starts from " + StartFrom);
// Clicking Set after selection
WebElement SetStart = wait
.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//span[contains(text(),'Set')]")));
SetStart.click();
Thread.sleep(1500);
}
// tests Shop Event End Date/Time picker
@Test(priority = 5)
public void testing_Event_End_time() throws Exception {
// clicks Start Time(UTC) field to launch Calendar
driver.findElement(By.xpath("//input[@id='mat-input-8']")).click();
// clicks Year drop-down button
WebDriverWait wait = new WebDriverWait(driver, 10);
WebElement yrDropDown = wait.until(ExpectedConditions
.visibilityOfElementLocated(By.xpath("//span[@class='owl-dt-control-button-arrow']")));
yrDropDown.click();
// selects year 2020
WebElement pickAyr = wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(
"//table[@class='owl-dt-calendar-table owl-dt-calendar-multi-year-table']//span[text()='2021']")));
pickAyr.click();
// selects month of May for year 2020
WebElement pickAmonth = wait.until(ExpectedConditions
.visibilityOfElementLocated(By.xpath("//tr[@class='ng-star-inserted']//span[contains(text(),'Aug')]")));
pickAmonth.click();
// selects 10th day of May 2020
WebElement pickAdate = wait.until(ExpectedConditions
.visibilityOfElementLocated(By.xpath("//tr[@class='ng-star-inserted']//span[contains(text(),'15')]")));
pickAdate.click();
// selects an hour
WebElement pickANhr = wait
.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//button[@aria-label='Add a hour']")));
pickANhr.click();
// selects minutes
WebElement pickMinutes = wait.until(
ExpectedConditions.visibilityOfElementLocated(By.xpath("(//input[@class='owl-dt-timer-input'])[2]")));
pickMinutes.clear();
pickMinutes.sendKeys("10");
// Read Start Date
Thread.sleep(1500);
String EndsAt = driver
.findElement(By.xpath("(//div[@role='radiogroup']//span[@class='owl-dt-container-info-value'])[2]"))
.getText();
System.out.println("Shop Event Ends at " + EndsAt);
// Clicking Set after selection
WebElement SetEnd = wait
.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//span[contains(text(),'Set')]")));
SetEnd.click();
Thread.sleep(1500);
} /* This is where testing_Theme_End_time() ends */
@Test(priority = 6)
public void checking_Platform() throws Exception {
// De-selects Platform: Amazon
try {
WebElement Platform = driver.findElement(By.xpath("//div[@class='mat-select-arrow']"));
Platform.click();
((JavascriptExecutor) driver).executeScript("arguments[0].click();", driver.findElement(By.xpath(
"//mat-option[@id='mat-option-2']//mat-pseudo-checkbox[@class='mat-option-pseudo-checkbox mat-pseudo-checkbox ng-star-inserted mat-pseudo-checkbox-checked']")));
WebElement pp = driver
.findElement(By.xpath("//mat-option[@id='mat-option-2']")); /* This is bit closes the platform dd */
pp.sendKeys(Keys.ESCAPE);
System.out.println("Platform: Amazon de-selected");
} catch (Exception e) {
System.out.println("Failed to de-select Platform: Amazon");
throw (e);
}
/* Waits for a bit before selecting again */ Thread.sleep(1000);
// Selects Platform: Amazon after de-selecting Amazon Platform
try {
WebElement Platform = driver.findElement(By.xpath("//div[@class='mat-select-arrow']"));
Platform.click();
((JavascriptExecutor) driver).executeScript("arguments[0].click();", driver.findElement(By.xpath(
"//mat-pseudo-checkbox[@class='mat-option-pseudo-checkbox mat-pseudo-checkbox ng-star-inserted']")));
WebElement pp = driver.findElement(By.xpath("//mat-option[@id='mat-option-2']"));
pp.sendKeys(Keys.ESCAPE);
System.out.println("Platform: Amazon selected");
} catch (Exception e) {
System.out.println("Failed to select Platform: Amazon");
throw (e);
}
} /* This is where checking_Platform() ends */
// tests Shop Event End Date/Time picker
@Test(priority = 7)
public void testing_Theme_Start_time() throws Exception {
// clicks Start Time(UTC) field to launch Calendar
WebDriverWait wait = new WebDriverWait(driver, 10); /* making it wait WebElement */
WebElement element = driver.findElement(
By.xpath("//h3[contains(text(),'PBW')]")); /* not part of calendar but This bit SCROLLS TO VIEW */
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("arguments[0].scrollIntoView(true);", element);
((JavascriptExecutor) driver).executeScript("arguments[0].click();", /* \\\\\This is the new JS Executor\\\\\ */
driver.findElement(By.xpath("//div[@class='mat-form-field-wrapper']//input[@id='mat-input-12']")));
// clicks Year drop-down button
((JavascriptExecutor) driver).executeScript("arguments[0].click();",
driver.findElement(By.xpath("//span[@class='owl-dt-control-button-arrow']")));
// selects year 2021
((JavascriptExecutor) driver).executeScript("arguments[0].click();", driver.findElement(By.xpath(
"//table[@class='owl-dt-calendar-table owl-dt-calendar-multi-year-table']//span[text()='2021']")));
// selects month of Mar for year 2021
((JavascriptExecutor) driver).executeScript("arguments[0].click();",
driver.findElement(By.xpath("//tr[@class='ng-star-inserted']//span[contains(text(),'Mar')]")));
// selects 15th day of Mar 2021
((JavascriptExecutor) driver).executeScript("arguments[0].click();",
driver.findElement(By.xpath("//tr[@class='ng-star-inserted']//span[contains(text(),'15')]")));
// selects an hour
((JavascriptExecutor) driver).executeScript("arguments[0].click();",
driver.findElement(By.xpath("//button[@aria-label='Add a hour']")));
// selects minutes
WebElement pickMinutes = wait.until(
ExpectedConditions.visibilityOfElementLocated(By.xpath("(//input[@class='owl-dt-timer-input'])[2]")));
pickMinutes.clear();
pickMinutes.sendKeys("20");
// Read Start Date
Thread.sleep(1500);
String Startfrm = driver
.findElement(By.xpath("(//div[@role='radiogroup']//span[@class='owl-dt-container-info-value'])[2]"))
.getText();
System.out.println("Shop Theme Starts from " + Startfrm);
// Clicking Set after selection
((JavascriptExecutor) driver).executeScript("arguments[0].click();",
driver.findElement(By.xpath("//span[contains(text(),'Set')]")));
Thread.sleep(1000);
} /* This is where testing_event_start_time() ends */
// tests Shop Event Theme End Date/Time picker
@Test(priority = 8)
public void testing_Theme_End_time() throws Exception {
// clicks Start Time(UTC) field to launch Calendar
WebDriverWait wait = new WebDriverWait(driver, 10); /* making it wait WebElement */
((JavascriptExecutor) driver).executeScript("arguments[0].click();", /* \\\\\This is the new JS Executor\\\\\ */
driver.findElement(By.xpath("//div[@class='mat-form-field-wrapper']//input[@id='mat-input-13']")));
// clicks Year drop-down button
((JavascriptExecutor) driver).executeScript("arguments[0].click();",
driver.findElement(By.xpath("//span[@class='owl-dt-control-button-arrow']")));
// selects year 2023
((JavascriptExecutor) driver).executeScript("arguments[0].click();", driver.findElement(By.xpath(
"//table[@class='owl-dt-calendar-table owl-dt-calendar-multi-year-table']//span[text()='2023']")));
// selects month of Dec for year 2023
((JavascriptExecutor) driver).executeScript("arguments[0].click();",
driver.findElement(By.xpath("//tr[@class='ng-star-inserted']//span[contains(text(),'Dec')]")));
// selects 12th day of Dec 2023
((JavascriptExecutor) driver).executeScript("arguments[0].click();",
driver.findElement(By.xpath("//tr[@class='ng-star-inserted']//span[contains(text(),'12')]")));
// selects an hour
((JavascriptExecutor) driver).executeScript("arguments[0].click();",
driver.findElement(By.xpath("//button[@aria-label='Add a hour']")));
// selects minutes
WebElement pickMinutes = wait.until(
ExpectedConditions.visibilityOfElementLocated(By.xpath("(//input[@class='owl-dt-timer-input'])[2]")));
pickMinutes.clear();
pickMinutes.sendKeys("20");
// Read Start Date
Thread.sleep(1500);
String EndAt = driver
.findElement(By.xpath("(//div[@role='radiogroup']//span[@class='owl-dt-container-info-value'])[2]"))
.getText();
System.out.println("Shop Theme Ends At " + EndAt);
// Clicking Set after selection
((JavascriptExecutor) driver).executeScript("arguments[0].click();",
driver.findElement(By.xpath("//span[contains(text(),'Set')]")));
Thread.sleep(1000);
} /* This is where testing_Theme_End_time ends */
// tests new Shop Event Themes creation and delete
@Test(priority = 9)
public void newEventThemecreate() throws Exception {
// creates new Shop Event Themes
try {
((JavascriptExecutor) driver).executeScript("arguments[0].click();", driver.findElement(
By.xpath("(//span[@class='mat-button-wrapper']//*[text()[contains(.,'add_circle')]])[1]")));
} catch (Exception e) {
System.out.println("Failed to create new Shop Event Themes");
throw (e);
}
// Enters name for Shop Event Themes
try {
WebElement eThemeName = driver.findElement(By.xpath("//input[@id='mat-input-16']"));
eThemeName.sendKeys("buychips");
System.out.println("Theme Name: is set");
} catch (Exception e) {
System.out.println("Theme Name: Failed to set");
throw (e);
}
// Enters Asset Name/Theme ID for Shop Event Themes
try {
WebElement assetNtID = driver.findElement(By.xpath("//input[@id='mat-input-17']"));
assetNtID.clear();
Thread.sleep(1000);
assetNtID.sendKeys("ClassyRoses_6Item");
System.out.println("Asset Name/Theme ID: is set");
} catch (Exception e) {
System.out.println("Asset Name/Theme ID: Failed to set");
throw (e);
}
// creates ANOTHER new Shop Event Themes
Thread.sleep(1000);
try {
((JavascriptExecutor) driver).executeScript("arguments[0].click();", driver.findElement(
By.xpath("(//span[@class='mat-button-wrapper']//*[text()[contains(.,'add_circle')]])[1]")));
} catch (Exception e) {
System.out.println("Failed to create another new Shop Event Themes");
throw (e);
}
// Deletes recently created new Shop Event Themes
Thread.sleep(1500);
try {
driver.findElement(By.xpath("(//div[@formarrayname='ShopEventThemes']//mat-icon[text()='delete'])[3]"))
.click();
} catch (Exception e) {
System.out.println("Deletes recently created new Shop Event Themes");
throw (e);
}
Thread.sleep(500);
} /* This is where newEventThemecreate ends */
@Test(priority = 10)
public void Shops_edit() throws Exception {
// Edits existing Shop
try {
driver.findElement(By.xpath("(//div[@formarrayname='FormShopLogics']//mat-icon[text()='edit'])[1]"))
.click();
} catch (Exception e) {
System.out.println("Faild to click Edit in existing Shop");
throw (e);
}
Thread.sleep(1500);
// Edits Shop Priority
WebDriverWait wait = new WebDriverWait(driver, 10);
WebElement Editp = wait.until(ExpectedConditions.visibilityOfElementLocated(
By.xpath("(//div[@class='mat-form-field-wrapper']//input[@id='Priority'])[2]")));
Editp.clear();
Thread.sleep(1000);
Editp.sendKeys("10");
/*
* List<WebElement> list = driver.findElements(By.
* xpath("//div[@id='cdk-overlay-2']//h1[text()='Edit Shop']"));
* Assert.assertFalse(list.size() > 0, "Edit Shop");
*/
} /* This is where Shops_edit ends */
@Test(priority = 11)
public void editing_Shop_Platform() throws Exception {
// clicks Platform dropdown
((JavascriptExecutor) driver).executeScript("arguments[0].click();", driver.findElement(
By.xpath("(//div[@class='mat-select-arrow-wrapper']//div[@class='mat-select-arrow'])[2]")));
// Selects Platform: Apple
try {
// Adds Apple as Shop Platform
WebDriverWait wait = new WebDriverWait(driver, 10);
// Selecting Apple
WebElement paltApple = wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(
"(//div[@class='mat-select-content ng-trigger ng-trigger-fadeInContent']//mat-pseudo-checkbox[@class='mat-option-pseudo-checkbox mat-pseudo-checkbox ng-star-inserted'])[1]")));
paltApple.click();
Thread.sleep(500);
// Closing popup
/* This is bit closes the platform dd */
Actions closep = new Actions(driver);
closep.moveToElement(driver.findElement(By.xpath("(//div[@class='cdk-overlay-pane'])[2]")));
closep.sendKeys(Keys.ESCAPE);
closep.build().perform();
System.out.println("Platform: Apple selected");
} catch (Exception e) {
System.out.println("Failed to select Platform: Apple");
throw (e);
}
// Save Shop after editing
try {
driver.findElement(By.xpath("(//button[@class='mat-raised-button']//span[contains(text(),'Save')])[2]"))
.click();
} catch (Exception e) {
System.out.println("Failed to select Platform: Apple");
throw (e);
}
Thread.sleep(2000);
} /* This is where editing_Shop_Platform() ends */
@Test(priority = 12)
public void Saving_Edited_Event() throws Exception {
WebDriverWait wait = new WebDriverWait(driver, 10);
WebElement saveEvent = wait.until(ExpectedConditions.visibilityOfElementLocated(
By.xpath("//button[@class='mat-raised-button']//span[contains(text(),'Save Shop Event')]")));
saveEvent.click();
Thread.sleep(2000);
}
} // Don't delete
| [
"[email protected]"
] | |
6e7d923f85a7a89f992fb13f7fc7795b1819da15 | 4a8c493b329326aa603bf21b02294d38b078d3f6 | /ms-auth-server/src/main/java/com/demo/ms/domain/AutenticatioVO.java | 1fc7ac7c7de073b838601b5f253e2d19ecb7fa19 | [] | no_license | devjolima/microservicos | d3187404b139adf55c5e30b52ff8a5276fa659cd | 88638ba0f77558adf7c5e583570009d5507b7f0c | refs/heads/master | 2022-07-01T02:17:46.875895 | 2020-09-07T20:57:31 | 2020-09-07T20:57:31 | 203,032,797 | 0 | 0 | null | 2022-05-20T21:56:45 | 2019-08-18T16:58:03 | JavaScript | UTF-8 | Java | false | false | 160 | java | package com.demo.ms.domain;
import java.time.LocalDate;
public class AutenticatioVO {
public String name;
public String role;
public String expiration;
}
| [
"[email protected]"
] | |
c60fead4f70fd462e5df04a049771c047f3c278b | 332225ce3eb88ba40bf24b58ddfff7202830932f | /src/PercolationStats.java | c002261ca5a5d5fa7196e239f54a4a6f2cadfc55 | [] | no_license | auddyfuture/P1-Percolation | 4cfedaaa77daf29780fef1911caacba7fd088749 | c6b8eaea65623e93bf5d1d08992ff9089c697595 | refs/heads/main | 2023-08-16T00:35:34.336610 | 2021-10-15T05:51:17 | 2021-10-15T05:51:17 | 417,382,568 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,456 | java | import stdlib.StdOut;
import stdlib.StdRandom;
import stdlib.StdStats;
public class PercolationStats {
// Number of independent experiments
int m;
// Percolation thresholds for the m experiments, double[] x
double[] x;
// Performs m independent experiments on an n x n percolation system.
public PercolationStats(int n, int m) {
// throw an IllegalArgumentException("Illegal n or m") if either n ≤ 0 or m ≤ 0
if (n <= 0 || m <= 0) {
throw new IllegalArgumentException("Illegal n or m");
}
this.m = m;
x = new double[m];
// Perform the following experiment m times
for (int z = 0; z < m; z++) {
UFPercolation p = new UFPercolation(n);
// UNITLLLLL the system percolates, choose a site (i,j) at random and open it if not
while (!p.percolates()) {
int i = StdRandom.uniform(0, n);
int j = StdRandom.uniform(0, n);
p.open(i, j);
}
// Calculate percolation threshold as the fraction of sites opened, and store the value
// in x[]
double threshold = Double.valueOf(p.openSites) / Double.valueOf(n * n);
x[z] = threshold;
}
}
// Returns sample mean of percolation threshold.
public double mean() {
return StdStats.mean(x);
}
// Returns sample standard deviation of percolation threshold.
public double stddev() {
return StdStats.stddev(x);
}
// Returns low endpoint of the 95% confidence interval.
public double confidenceLow() {
return mean() - ((1.96 * stddev()) / Math.sqrt(m));
}
// Returns high endpoint of the 95% confidence interval.
public double confidenceHigh() {
return mean() + ((1.96 * stddev()) / Math.sqrt(m));
}
// Unit tests the data type. [DO NOT EDIT]
public static void main(String[] args) {
int n = Integer.parseInt(args[0]);
int m = Integer.parseInt(args[1]);
PercolationStats stats = new PercolationStats(n, m);
StdOut.printf("Percolation threshold for a %d x %d system:\n", n, n);
StdOut.printf(" Mean = %.3f\n", stats.mean());
StdOut.printf(" Standard deviation = %.3f\n", stats.stddev());
StdOut.printf(" Confidence interval = [%.3f, %.3f]\n", stats.confidenceLow(),
stats.confidenceHigh());
}
} | [
"[email protected]"
] | |
4bdbe9ec739b1a12c17de0ff4ea4c1733163d190 | 8695cca1198b5d55161713249300233305920724 | /src/main/java/appium_May_Framework/appiumFramework/utilities/utils/Utility.java | f10281410ad9f8e85d0157b0e1808daff8442a23 | [] | no_license | GurjotSingh92/AppiumLearning | f68b0f0a65eb1779bf50a6358cadbb579af2ee0d | e4ffa37679adf0e7444c06fb00f96a7b9aed9771 | refs/heads/master | 2021-07-08T13:49:14.368454 | 2019-06-09T08:19:24 | 2019-06-09T08:19:24 | 190,981,009 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 89 | java | package appium_May_Framework.appiumFramework.utilities.utils;
public class Utility {
}
| [
"[email protected]"
] | |
93155a80f2eebf54ea289e68544d40cfe9f5329d | d49bbeedf8073d0b4fc23672d24b484d8988024e | /BouncyCastle/prov/src/test/java/com/distrimind/bouncycastle/jce/provider/test/AllTests.java | 8921448ed43bbd92429b2b181fc0e18c0c5a29d1 | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sqf-ice/BouncyCastle | a6b34bd56fa7e5545e19dd8a1174d614b625a1e8 | 02bec112a39175ebe19dd22236d2b4d6558dfa8c | refs/heads/master | 2022-11-17T08:52:07.224092 | 2020-07-14T23:21:12 | 2020-07-14T23:21:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 991 | java | package com.distrimind.bouncycastle.jce.provider.test;
import java.security.Security;
import junit.extensions.TestSetup;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import com.distrimind.bouncycastle.jce.provider.BouncyCastleProvider;
public class AllTests
extends TestCase
{
public static void main(String[] args)
{
junit.textui.TestRunner.run(suite());
}
public static Test suite()
{
TestSuite suite = new TestSuite("JCE Tests");
suite.addTestSuite(SimpleTestTest.class);
return new BCTestSetup(suite);
}
static class BCTestSetup
extends TestSetup
{
public BCTestSetup(Test test)
{
super(test);
}
protected void setUp()
{
Security.addProvider(new BouncyCastleProvider());
}
protected void tearDown()
{
Security.removeProvider("BC");
}
}
}
| [
"[email protected]"
] | |
d146fdce3c6aecf3eceddf63221952e838fd517e | 232fbfa571427f8513b7ae81591e47c74ea47331 | /php-squid/src/test/java/org/sonar/php/parser/expression/FunctionCallParameterListTest.java | 42fed6f4f8021d2cbe147244821e36732165d10b | [] | no_license | theWhiteFox/sonar-php | 97cfffe278f884b6e2f9417a200e447d30e05895 | d761f600bcee46ee5f779b00be2741216d437ef0 | refs/heads/master | 2021-01-21T08:01:36.811906 | 2019-04-08T21:07:09 | 2019-04-08T21:07:09 | 25,589,380 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,326 | java | /*
* SonarQube PHP Plugin
* Copyright (C) 2010 SonarSource and Akram Ben Aissi
* [email protected]
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
package org.sonar.php.parser.expression;
import org.junit.Before;
import org.junit.Test;
import org.sonar.php.parser.PHPGrammar;
import org.sonar.php.parser.RuleTest;
public class FunctionCallParameterListTest extends RuleTest {
@Before
public void setUp() {
setTestedRule(PHPGrammar.FUNCTION_CALL_PARAMETER_LIST);
}
@Test
public void test() {
matches("()");
;
//matches("(yield $a;)"); // TODO: complete with non_empty_function_call_parameter_list
}
}
| [
"[email protected]"
] | |
f493e401655ae81bb5239d0dcbbe98d8f195c1c4 | 60ffee4de5e1853aaa3735d0e5e7d73c1608672c | /src/Leetcode/topic/hashmap/LC451_SortCharactersByFrequency.java | 20ca29ebb495d179aca775efb978fa6a88f4894e | [] | no_license | roppel/CodingInterviewProblems | d903e23de6f67c9e64ba19ea65af63684878fc03 | 4e63ef308e380f0e1644da3473c383ad95bdfbe4 | refs/heads/master | 2023-01-31T18:06:09.428696 | 2020-12-13T19:29:54 | 2020-12-13T19:29:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,458 | java | package Leetcode.topic.hashmap;
import java.util.Comparator;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
public class LC451_SortCharactersByFrequency {
public static void main(String[] args) {
System.out.println(new LC451_SortCharactersByFrequency().frequencySort("trree"));
System.out.println(new LC451_SortCharactersByFrequency().frequencySort("cccaaa"));
}
public String frequencySort(String s) {
Map<Character, Integer> map = new HashMap<>();
for(Character c : s.toCharArray()){
map.put(c, map.getOrDefault(c,0)+1);
}
LinkedHashMap<Character, Integer> reverseSortedMap = new LinkedHashMap<>();
map.entrySet()
.stream()
.sorted(Map.Entry.comparingByValue(Comparator.reverseOrder()))
.forEachOrdered(x -> reverseSortedMap.put(x.getKey(), x.getValue()));
//.forEach(System.out::println);
StringBuilder result = new StringBuilder();
for (Map.Entry<Character,Integer> entry : reverseSortedMap.entrySet()){
int count = entry.getValue();
while(count > 0){
result.append(entry.getKey());
count--;
}
}
// System.out.println("Key = " + entry.getKey() +
// ", Value = " + entry.getValue());
return result.toString();
}
}
| [
"[email protected]"
] | |
93fe5f95df3f719bb6b0edf92b7019e19371b27c | 92d7c9c1289ba698eb27c4bd8c2617516f4365ea | /app_fragment/src/main/java/com/example/mhlee/myexercise/MainActivity.java | 7b4f47dca7d3950156f6d402c171389ddf70680c | [] | no_license | mhlee1215/android_class2 | f1cf718c70414364707c0c2b5469032e5f241692 | 2fcc3c0bd77d2a310dcd84aeb6527c4184a830c4 | refs/heads/master | 2021-01-10T06:28:33.356778 | 2016-02-07T06:49:53 | 2016-02-07T06:49:53 | 51,258,536 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,603 | java | package com.example.mhlee.myexercise;
import android.content.Intent;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
public class MainActivity extends AppCompatActivity {
public final static String EXTRA_MESSAGE = "com.mycompany.myfirstapp.MESSAGE";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// Check whether the activity is using the layout version with
// the fragment_container FrameLayout. If so, we must add the first fragment
if (findViewById(R.id.fragment_container) != null) {
// However, if we're being restored from a previous state,
// then we don't need to do anything and should return or else
// we could end up with overlapping fragments.
if (savedInstanceState != null) {
return;
}
// Create an instance of ExampleFragment
HeadlinesFragment firstFragment = new HeadlinesFragment();
// In case this activity was started with special instructions from an Intent,
// pass the Intent's extras to the fragment as arguments
firstFragment.setArguments(getIntent().getExtras());
// Add the fragment to the 'fragment_container' FrameLayout
getSupportFragmentManager().beginTransaction()
.add(R.id.fragment_container, firstFragment).commit();
}
}
public void onArticleSelected(int position) {
// The user selected the headline of an article from the HeadlinesFragment
// Capture the article fragment from the activity layout
ArticleFragment articleFrag = (ArticleFragment)
getSupportFragmentManager().findFragmentById(R.id.article_fragment);
if (articleFrag != null) {
// If article frag is available, we're in two-pane layout...
// Call a method in the ArticleFragment to update its content
articleFrag.updateArticleView(position);
} else {
// If the frag is not available, we're in the one-pane layout and must swap frags...
// Create fragment and give it an argument for the selected article
ArticleFragment newFragment = new ArticleFragment();
Bundle args = new Bundle();
args.putInt(ArticleFragment.ARG_POSITION, position);
newFragment.setArguments(args);
FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
// Replace whatever is in the fragment_container view with this fragment,
// and add the transaction to the back stack so the user can navigate back
transaction.replace(R.id.fragment_container, newFragment);
transaction.addToBackStack(null);
// Commit the transaction
transaction.commit();
}
}
public void sendMessage(View view){
// Do something in response to button
//Create new indent
Intent intent = new Intent(this, DisplayMessageActivity.class);
//Load object
EditText editText = (EditText) findViewById(R.id.edit_message);
//Extract String
String message = editText.getText().toString();
//set message
intent.putExtra(EXTRA_MESSAGE, message);
//Start new activity..
startActivity(intent);
}
}
| [
"[email protected]"
] | |
b3e504319a7a6a824d3be74ffc102269cd13f958 | a6ee43db1ecf659c47967d3334ba15e504947a5e | /src/main/java/com/leetcode/minimum_window_substring/Solution.java | 528b4088791dc5528cf0c6bc5ff2775dd7e70b8c | [
"MIT"
] | permissive | magnetic1/leetcode | fa3d640b640b4626705272bbcafc31c082fa6138 | 4577439aac13f095bc1f20adec5521520b3bef70 | refs/heads/master | 2023-04-21T10:28:10.320263 | 2021-05-06T12:22:57 | 2021-05-06T12:22:57 | 230,269,263 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 369 | java | /**
* Leetcode - minimum_window_substring
*/
package com.leetcode.minimum_window_substring;
import java.util.*;
import com.ciaoshen.leetcode.util.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
interface Solution {
// use this Object to print the log (call from slf4j facade)
static Logger log = LoggerFactory.getLogger(Solution.class);
}
| [
"[email protected]"
] | |
8cf1766914d4ddccd437b89b6869fd26044f437c | 9abfff46c59dfcac15dbd8923f05f8ccc2f8bdf8 | /src/main/java/cs361/battleships/models/Result.java | 42727d0863548f56e71eda56d8b0de807e3c8327 | [] | no_license | 1mgroot/sprint1-project-group-17 | 00f53f16fb76431290099abddb6ff0f85ed8b33e | 6c8d8c943e93c257f1c2cb0ca7f364823d9d13e5 | refs/heads/master | 2020-04-17T19:51:42.669327 | 2019-01-20T00:32:08 | 2019-01-20T00:32:08 | 166,881,445 | 0 | 0 | null | 2019-01-21T21:12:32 | 2019-01-21T21:12:32 | null | UTF-8 | Java | false | false | 453 | java | package cs361.battleships.models;
public class Result {
public AtackStatus getResult() {
//TODO implement
return null;
}
public void setResult(AtackStatus result) {
//TODO implement
}
public Ship getShip() {
//TODO implement
return null;
}
public void setShip(Ship ship) {
//TODO implement
}
public Square getLocation() {
//TODO implement
return null;
}
public void setLocation(Square square) {
//TODO implement
}
}
| [
"[email protected]"
] | |
6fcc23ef64b384feaa3c865979d160306ff66cd7 | 6889f8f30f36928a2cd8ba880032c855ac1cc66c | /SemplestServiceMSNv8r3/src/org/datacontract/schemas/_2004/_07/Microsoft_AdCenter_Advertiser_CampaignManagement_Api_DataContracts/MatchType.java | 8300adbebfc531dd6ae0e00f50581a4e67f2611f | [] | no_license | enterstudio/semplest2 | 77ceb4fe6d076f8c161d24b510048802cd029b67 | 44eeade468a78ef647c62deb4cec2bea4318b455 | refs/heads/master | 2022-12-28T18:35:54.723459 | 2012-11-20T15:39:09 | 2012-11-20T15:39:09 | 86,645,696 | 0 | 0 | null | 2020-10-14T08:14:22 | 2017-03-30T01:32:35 | Roff | UTF-8 | Java | false | false | 3,246 | java | /**
* MatchType.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package org.datacontract.schemas._2004._07.Microsoft_AdCenter_Advertiser_CampaignManagement_Api_DataContracts;
public class MatchType implements java.io.Serializable {
private java.lang.String _value_;
private static java.util.HashMap _table_ = new java.util.HashMap();
// Constructor
protected MatchType(java.lang.String value) {
_value_ = value;
_table_.put(_value_,this);
}
public static final java.lang.String _Exact = "Exact";
public static final java.lang.String _Phrase = "Phrase";
public static final java.lang.String _Broad = "Broad";
public static final java.lang.String _Content = "Content";
public static final java.lang.String _Aggregate = "Aggregate";
public static final MatchType Exact = new MatchType(_Exact);
public static final MatchType Phrase = new MatchType(_Phrase);
public static final MatchType Broad = new MatchType(_Broad);
public static final MatchType Content = new MatchType(_Content);
public static final MatchType Aggregate = new MatchType(_Aggregate);
public java.lang.String getValue() { return _value_;}
public static MatchType fromValue(java.lang.String value)
throws java.lang.IllegalArgumentException {
MatchType enumeration = (MatchType)
_table_.get(value);
if (enumeration==null) throw new java.lang.IllegalArgumentException();
return enumeration;
}
public static MatchType fromString(java.lang.String value)
throws java.lang.IllegalArgumentException {
return fromValue(value);
}
public boolean equals(java.lang.Object obj) {return (obj == this);}
public int hashCode() { return toString().hashCode();}
public java.lang.String toString() { return _value_;}
public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumSerializer(
_javaType, _xmlType);
}
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.EnumDeserializer(
_javaType, _xmlType);
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(MatchType.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts", "MatchType"));
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
}
| [
"mitch@02200ff9-b5b2-46f0-9171-221b09c08c7b"
] | mitch@02200ff9-b5b2-46f0-9171-221b09c08c7b |
3a4b8cfa92d2b81ade94e6cb66eb89d0a0f1ba68 | a7c85a1e89063038e17ed2fa0174edf14dc9ed56 | /spring-aop-perf-tests/src/main/java/coas/perf/ComplexCondition300/Advice218.java | 4fb6557040cd70a6059e03b13a607933d59cd404 | [] | no_license | pmaslankowski/java-contracts | 28b1a3878f68fdd759d88b341c8831716533d682 | 46518bb9a83050956e631faa55fcdf426589830f | refs/heads/master | 2021-03-07T13:15:28.120769 | 2020-09-07T20:06:31 | 2020-09-07T20:06:31 | 246,267,189 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,644 | java |
package coas.perf.ComplexCondition300;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;
import coas.perf.ComplexCondition300.Subject300;
@Aspect
@Component("Advice_300_218_cc")
public class Advice218 {
@Around("execution(* coas.perf.ComplexCondition300.Subject300.*(..)) and (execution(* *.junk0(..)) or execution(* *.junk1(..)) or execution(* *.junk2(..)) or execution(* *.junk3(..)) or execution(* *.junk4(..)) or execution(* *.junk5(..)) or execution(* *.junk6(..)) or execution(* *.junk7(..)) or execution(* *.junk8(..)) or execution(* *.junk9(..)) or execution(* *.junk10(..)) or execution(* *.junk11(..)) or execution(* *.junk12(..)) or execution(* *.junk13(..)) or execution(* *.junk14(..)) or execution(* *.junk15(..)) or execution(* *.junk16(..)) or execution(* *.junk17(..)) or execution(* *.junk18(..)) or execution(* *.junk19(..)) or execution(* *.junk20(..)) or execution(* *.junk21(..)) or execution(* *.junk22(..)) or execution(* *.junk23(..)) or execution(* *.junk24(..)) or execution(* *.junk25(..)) or execution(* *.junk26(..)) or execution(* *.junk27(..)) or execution(* *.junk28(..)) or execution(* *.junk29(..)) or execution(* *.target(..)))")
public Object onTarget(ProceedingJoinPoint joinPoint) throws Throwable {
int res = (int) joinPoint.proceed();
for (int i=0; i < 1000; i++) {
if (res % 2 == 0) {
res /= 2;
} else {
res = 2 * res + 1;
}
}
return res;
}
}
| [
"[email protected]"
] | |
b8edf99be6d04fc1a72808306edc55dd5d17ed48 | 2d2013c46190f7f9927d3a923b8413a91e91fbbb | /sources/com/crashlytics/android/answers/SessionEventTransform.java | c44af1d570a994d55c42155a4d746b60be1a4a3c | [] | no_license | ghuntley/Aarogya-Setu_v1.1.1.apk | af5b054feddc901ca62b9233bb4aac576f8c4249 | ca931e596a31ab7298f3c7dc1ca3eaa327f84473 | refs/heads/master | 2022-05-26T15:50:36.276158 | 2020-05-02T12:06:54 | 2020-05-02T12:06:54 | 260,674,190 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,522 | java | package com.crashlytics.android.answers;
import android.annotation.TargetApi;
import java.io.IOException;
import l.a.a.a.o.d.a;
import org.json.JSONException;
import org.json.JSONObject;
public class SessionEventTransform implements a<SessionEvent> {
public static final String APP_BUNDLE_ID_KEY = "appBundleId";
public static final String APP_VERSION_CODE_KEY = "appVersionCode";
public static final String APP_VERSION_NAME_KEY = "appVersionName";
public static final String BETA_DEVICE_TOKEN_KEY = "betaDeviceToken";
public static final String BUILD_ID_KEY = "buildId";
public static final String CUSTOM_ATTRIBUTES = "customAttributes";
public static final String CUSTOM_TYPE = "customType";
public static final String DETAILS_KEY = "details";
public static final String DEVICE_MODEL_KEY = "deviceModel";
public static final String EXECUTION_ID_KEY = "executionId";
public static final String INSTALLATION_ID_KEY = "installationId";
public static final String LIMIT_AD_TRACKING_ENABLED_KEY = "limitAdTrackingEnabled";
public static final String OS_VERSION_KEY = "osVersion";
public static final String PREDEFINED_ATTRIBUTES = "predefinedAttributes";
public static final String PREDEFINED_TYPE = "predefinedType";
public static final String TIMESTAMP_KEY = "timestamp";
public static final String TYPE_KEY = "type";
@TargetApi(9)
public JSONObject buildJsonForEvent(SessionEvent sessionEvent) {
try {
JSONObject jSONObject = new JSONObject();
SessionEventMetadata sessionEventMetadata = sessionEvent.sessionEventMetadata;
jSONObject.put(APP_BUNDLE_ID_KEY, sessionEventMetadata.appBundleId);
jSONObject.put(EXECUTION_ID_KEY, sessionEventMetadata.executionId);
jSONObject.put(INSTALLATION_ID_KEY, sessionEventMetadata.installationId);
jSONObject.put(LIMIT_AD_TRACKING_ENABLED_KEY, sessionEventMetadata.limitAdTrackingEnabled);
jSONObject.put(BETA_DEVICE_TOKEN_KEY, sessionEventMetadata.betaDeviceToken);
jSONObject.put(BUILD_ID_KEY, sessionEventMetadata.buildId);
jSONObject.put(OS_VERSION_KEY, sessionEventMetadata.osVersion);
jSONObject.put(DEVICE_MODEL_KEY, sessionEventMetadata.deviceModel);
jSONObject.put(APP_VERSION_CODE_KEY, sessionEventMetadata.appVersionCode);
jSONObject.put(APP_VERSION_NAME_KEY, sessionEventMetadata.appVersionName);
jSONObject.put("timestamp", sessionEvent.timestamp);
jSONObject.put(TYPE_KEY, sessionEvent.type.toString());
if (sessionEvent.details != null) {
jSONObject.put(DETAILS_KEY, new JSONObject(sessionEvent.details));
}
jSONObject.put(CUSTOM_TYPE, sessionEvent.customType);
if (sessionEvent.customAttributes != null) {
jSONObject.put(CUSTOM_ATTRIBUTES, new JSONObject(sessionEvent.customAttributes));
}
jSONObject.put(PREDEFINED_TYPE, sessionEvent.predefinedType);
if (sessionEvent.predefinedAttributes != null) {
jSONObject.put(PREDEFINED_ATTRIBUTES, new JSONObject(sessionEvent.predefinedAttributes));
}
return jSONObject;
} catch (JSONException e) {
throw new IOException(e.getMessage(), e);
}
}
public byte[] toBytes(SessionEvent sessionEvent) {
return buildJsonForEvent(sessionEvent).toString().getBytes("UTF-8");
}
}
| [
"[email protected]"
] | |
372dc837f41c28b82fb314550421ca1db0faf07a | 380c741f8c5da7917c1742de82d7d216d9a8f139 | /DataService/src/main/java/com/opm/data/dtl/controller/FileController.java | 075673682da33fff2353e537b3dd12203c44fbb0 | [] | no_license | lovememo/helloMyWorld2 | e90d8777b6472261bef09de0f1f1b2da894d0c5f | 98a31ee4f434d69ed8fbd2d1a55ac57a4d353e64 | refs/heads/master | 2021-04-28T21:49:02.711493 | 2017-01-02T12:23:44 | 2017-01-02T12:23:44 | 77,734,295 | 0 | 0 | null | null | null | null | GB18030 | Java | false | false | 6,549 | java | package com.opm.data.dtl.controller;
import ch.qos.logback.classic.Logger;
import com.google.gson.Gson;
import com.opm.common.model.RequestModel;
import com.opm.common.model.ResponseModel;
import com.opm.data.common.model.DataErrorMsg;
import com.opm.data.dtl.model.DtlControl;
import com.opm.data.dtl.model.DtlFile;
import com.opm.data.dtl.service.IDataProcessService;
import com.opm.data.dtl.service.impl.DataCleaningWorker;
import com.opm.data.dtl.service.thread.DataCleaningThread;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
/**
* Created by kfzx-jinjf on 2016/12/9.
*/
@RestController
//@RequestMapping("/file")
public class FileController {
private static final Logger LOGGER = (Logger) LoggerFactory.getLogger(FileController.class);
@Autowired
private IDataProcessService dataProcessService;
/**
* 多文件上传
* @param request
* @param response
* @param dtlItemId
* @param isRealTimeStr 1-实时 0-异步 默认为实时
* @throws UnsupportedEncodingException
*/
@RequestMapping(value = "/file/upload", method = {RequestMethod.GET, RequestMethod.POST})
public void upload(HttpServletRequest request,
HttpServletResponse response,
@RequestParam(value = "dtlItemId", required = false) String dtlItemId,
@RequestParam(value = "isRealTime", required = false) String isRealTimeStr) throws UnsupportedEncodingException {
List<DtlFile> dtlFileList = new ArrayList();
List<DtlControl> dtlControlList = new ArrayList();
boolean isRealTime = !"0".equals(isRealTimeStr);/*case:null -> 实时 case: 2 ->实时 case: 1 -> 实时 case: 0 ->异步 即默认为实时*/
try {
DataCleaningWorker worker = new DataCleaningWorker(request, this.dataProcessService, dtlItemId);
//step1 插入文件处理控制表,并获取登记文件号
LOGGER.info("step0 插入文件处理控制表,并获取登记文件号");
dtlControlList = worker.beforeWork();
if(isRealTime) {
dtlFileList = worker.syncWork();
returnJsonStr(response, dtlFileList);
} else {
worker.syncSaveWork();
//new DataCleaningThread(worker).start();//异步线程
returnJsonStr(response, dtlControlList);
}
} catch (Exception e) {
LOGGER.info("文件上传处理失败!" + e.getMessage());
returnJsonStr(response, new DataErrorMsg("上传失败,请联系管理员,失败信息:" + e.getMessage()));
e.printStackTrace();
}
}
@RequestMapping(value = "dtl/cleaning", method = {RequestMethod.GET, RequestMethod.POST})
@ResponseBody
public ResponseModel clean(RequestModel resqModel) {
ResponseModel respModel = new ResponseModel(ResponseModel.State.FAIL, "clean 失败", null);
try {
String serialNo = (String) resqModel.getPrivateCtx().get("serialNo");
if (null == serialNo || "".equals(serialNo)) {
respModel.setMsg("未找到serialNo文件号");
}
DataCleaningWorker woker = new DataCleaningWorker(serialNo, this.dataProcessService);
new DataCleaningThread(woker).start();
respModel.setMsg("数据清理异步处理中...serialNo为:" + serialNo);
respModel.setObj(resqModel);
}
catch(Exception e) {
LOGGER.info("数据清理失败!" + e.getMessage());
e.printStackTrace();
}
return respModel;
}
/**
*翻页查询上传的文件列表
* @param serialNo 文件序列号
* @param beginPos 开始位置
* @param fetchNum 抽取数
* @return
*/
@RequestMapping(value = "file/list", method = {RequestMethod.GET, RequestMethod.POST})
public List<Object> queryFileUploadedList(
@RequestParam(value = "serialNo") String serialNo,
@RequestParam(value = "begNum") String beginPos,
@RequestParam(value = "fetchNum") String fetchNum) {
return this.dataProcessService.turnPageFileUploadedList(serialNo, beginPos, fetchNum);
}
/**
* 单文件下载
*
* @param serialNo
* @return
*/
@RequestMapping(value = "file/download", method = {RequestMethod.GET, RequestMethod.POST})
public ResponseEntity<byte[]> download(@RequestParam(value = "serialNo") String serialNo) {
DtlFile fi;
try {
fi = this.dataProcessService.readFile(serialNo);
String fileName = new String(fi.getFileName().getBytes("GBK"),"iso8859-1");
// String fileName = fi.getFileName();
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_OCTET_STREAM);
headers.setContentDispositionFormData("attachment", fileName);
return new ResponseEntity<>(fi.getFileContent(), headers, HttpStatus.OK);
} catch (Exception e) {
LOGGER.info("文件下载处理失败!" + e.getMessage());
e.printStackTrace();
}
return null;
}
@RequestMapping(value = "dtl/count")
public ResponseModel getDataProcessedCount(@RequestParam(value = "serialNo") String serialNo) {
int count = this.dataProcessService.getDataProcessedCount(serialNo);
HashMap mp = new HashMap<String, Integer>();
mp.put("count", count);
ResponseModel responseModel = new ResponseModel(ResponseModel.State.SUCC, "getDataProcessedCount3成功", mp);
return responseModel;
}
private Gson gson = new Gson();
private void returnJsonStr(HttpServletResponse response, Object obj) {
try {
response.setContentType("text/html;charset=UTF-8");
String retJson = gson.toJson(obj);
response.getWriter().write(retJson);
} catch (Exception e) {
e.printStackTrace();
}
}
}
| [
"[email protected]"
] | |
8ff77152ddca55e457b6b3e7fda334f0c49884e2 | 5d6b3ad627a778575c06850ed8a61dd42d696620 | /dbflute-mysql-example/src/main/java/com/example/dbflute/mysql/dbflute/cbean/bs/BsWhiteCompoundPkRefCB.java | 7b6e84b78b8a307fc62c13d5204f355cfa284cf6 | [
"Apache-2.0"
] | permissive | hajimeni/dbflute-example-database | 9246ba7959b33e3b4eb470e9fd3e26aa78d0519a | 66b8fdf4fec3a63eb8fce1705e86061c88a216b1 | refs/heads/master | 2020-12-25T14:33:48.342906 | 2013-10-10T16:35:24 | 2013-10-10T16:35:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 28,328 | java | /*
* Copyright 2004-2013 the Seasar Foundation and the Others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
package com.example.dbflute.mysql.dbflute.cbean.bs;
import org.seasar.dbflute.cbean.AbstractConditionBean;
import org.seasar.dbflute.cbean.AndQuery;
import org.seasar.dbflute.cbean.ConditionBean;
import org.seasar.dbflute.cbean.ConditionQuery;
import org.seasar.dbflute.cbean.OrQuery;
import org.seasar.dbflute.cbean.SpecifyQuery;
import org.seasar.dbflute.cbean.SubQuery;
import org.seasar.dbflute.cbean.UnionQuery;
import org.seasar.dbflute.cbean.chelper.*;
import org.seasar.dbflute.cbean.coption.*;
import org.seasar.dbflute.cbean.sqlclause.SqlClause;
import org.seasar.dbflute.cbean.sqlclause.SqlClauseCreator;
import org.seasar.dbflute.dbmeta.DBMetaProvider;
import org.seasar.dbflute.twowaysql.factory.SqlAnalyzerFactory;
import com.example.dbflute.mysql.dbflute.allcommon.DBFluteConfig;
import com.example.dbflute.mysql.dbflute.allcommon.DBMetaInstanceHandler;
import com.example.dbflute.mysql.dbflute.allcommon.ImplementedInvokerAssistant;
import com.example.dbflute.mysql.dbflute.allcommon.ImplementedSqlClauseCreator;
import com.example.dbflute.mysql.dbflute.cbean.*;
import com.example.dbflute.mysql.dbflute.cbean.cq.*;
import com.example.dbflute.mysql.dbflute.cbean.nss.*;
/**
* The base condition-bean of white_compound_pk_ref.
* @author DBFlute(AutoGenerator)
*/
public class BsWhiteCompoundPkRefCB extends AbstractConditionBean {
// ===================================================================================
// Attribute
// =========
protected WhiteCompoundPkRefCQ _conditionQuery;
// ===================================================================================
// Constructor
// ===========
public BsWhiteCompoundPkRefCB() {
if (DBFluteConfig.getInstance().isPagingCountLater()) {
enablePagingCountLater();
}
if (DBFluteConfig.getInstance().isPagingCountLeastJoin()) {
enablePagingCountLeastJoin();
}
if (DBFluteConfig.getInstance().isCheckCountBeforeQueryUpdate()) {
enableCheckCountBeforeQueryUpdate();
}
}
// ===================================================================================
// SqlClause
// =========
@Override
protected SqlClause createSqlClause() {
SqlClauseCreator creator = DBFluteConfig.getInstance().getSqlClauseCreator();
if (creator != null) {
return creator.createSqlClause(this);
}
return new ImplementedSqlClauseCreator().createSqlClause(this); // as default
}
// ===================================================================================
// DBMeta Provider
// ===============
@Override
protected DBMetaProvider getDBMetaProvider() {
return DBMetaInstanceHandler.getProvider(); // as default
}
// ===================================================================================
// Table Name
// ==========
public String getTableDbName() {
return "white_compound_pk_ref";
}
// ===================================================================================
// PrimaryKey Handling
// ===================
public void acceptPrimaryKey(Integer multipleFirstId, Integer multipleSecondId) {
assertObjectNotNull("multipleFirstId", multipleFirstId);assertObjectNotNull("multipleSecondId", multipleSecondId);
BsWhiteCompoundPkRefCB cb = this;
cb.query().setMultipleFirstId_Equal(multipleFirstId);cb.query().setMultipleSecondId_Equal(multipleSecondId);
}
public ConditionBean addOrderBy_PK_Asc() {
query().addOrderBy_MultipleFirstId_Asc();
query().addOrderBy_MultipleSecondId_Asc();
return this;
}
public ConditionBean addOrderBy_PK_Desc() {
query().addOrderBy_MultipleFirstId_Desc();
query().addOrderBy_MultipleSecondId_Desc();
return this;
}
// ===================================================================================
// Query
// =====
/**
* Prepare for various queries. <br />
* Examples of main functions are following:
* <pre>
* <span style="color: #3F7E5E">// Basic Queries</span>
* cb.query().setMemberId_Equal(value); <span style="color: #3F7E5E">// =</span>
* cb.query().setMemberId_NotEqual(value); <span style="color: #3F7E5E">// !=</span>
* cb.query().setMemberId_GreaterThan(value); <span style="color: #3F7E5E">// ></span>
* cb.query().setMemberId_LessThan(value); <span style="color: #3F7E5E">// <</span>
* cb.query().setMemberId_GreaterEqual(value); <span style="color: #3F7E5E">// >=</span>
* cb.query().setMemberId_LessEqual(value); <span style="color: #3F7E5E">// <=</span>
* cb.query().setMemberName_InScope(valueList); <span style="color: #3F7E5E">// in ('a', 'b')</span>
* cb.query().setMemberName_NotInScope(valueList); <span style="color: #3F7E5E">// not in ('a', 'b')</span>
* cb.query().setMemberName_PrefixSearch(value); <span style="color: #3F7E5E">// like 'a%' escape '|'</span>
* <span style="color: #3F7E5E">// LikeSearch with various options: (versatile)</span>
* <span style="color: #3F7E5E">// {like ... [options]}</span>
* cb.query().setMemberName_LikeSearch(value, option);
* cb.query().setMemberName_NotLikeSearch(value, option); <span style="color: #3F7E5E">// not like ...</span>
* <span style="color: #3F7E5E">// FromTo with various options: (versatile)</span>
* <span style="color: #3F7E5E">// {(default) fromDatetime <= BIRTHDATE <= toDatetime}</span>
* cb.query().setBirthdate_FromTo(fromDatetime, toDatetime, option);
* <span style="color: #3F7E5E">// DateFromTo: (Date means yyyy/MM/dd)</span>
* <span style="color: #3F7E5E">// {fromDate <= BIRTHDATE < toDate + 1 day}</span>
* cb.query().setBirthdate_DateFromTo(fromDate, toDate);
* cb.query().setBirthdate_IsNull(); <span style="color: #3F7E5E">// is null</span>
* cb.query().setBirthdate_IsNotNull(); <span style="color: #3F7E5E">// is not null</span>
*
* <span style="color: #3F7E5E">// ExistsReferrer: (co-related sub-query)</span>
* <span style="color: #3F7E5E">// {where exists (select PURCHASE_ID from PURCHASE where ...)}</span>
* cb.query().existsPurchaseList(new SubQuery<PurchaseCB>() {
* public void query(PurchaseCB subCB) {
* subCB.query().setXxx... <span style="color: #3F7E5E">// referrer sub-query condition</span>
* }
* });
* cb.query().notExistsPurchaseList...
*
* <span style="color: #3F7E5E">// InScopeRelation: (sub-query)</span>
* <span style="color: #3F7E5E">// {where MEMBER_STATUS_CODE in (select MEMBER_STATUS_CODE from MEMBER_STATUS where ...)}</span>
* cb.query().inScopeMemberStatus(new SubQuery<MemberStatusCB>() {
* public void query(MemberStatusCB subCB) {
* subCB.query().setXxx... <span style="color: #3F7E5E">// relation sub-query condition</span>
* }
* });
* cb.query().notInScopeMemberStatus...
*
* <span style="color: #3F7E5E">// (Query)DerivedReferrer: (co-related sub-query)</span>
* cb.query().derivedPurchaseList().max(new SubQuery<PurchaseCB>() {
* public void query(PurchaseCB subCB) {
* subCB.specify().columnPurchasePrice(); <span style="color: #3F7E5E">// derived column for function</span>
* subCB.query().setXxx... <span style="color: #3F7E5E">// referrer sub-query condition</span>
* }
* }).greaterEqual(value);
*
* <span style="color: #3F7E5E">// ScalarCondition: (self-table sub-query)</span>
* cb.query().scalar_Equal().max(new SubQuery<MemberCB>() {
* public void query(MemberCB subCB) {
* subCB.specify().columnBirthdate(); <span style="color: #3F7E5E">// derived column for function</span>
* subCB.query().setXxx... <span style="color: #3F7E5E">// scalar sub-query condition</span>
* }
* });
*
* <span style="color: #3F7E5E">// OrderBy</span>
* cb.query().addOrderBy_MemberName_Asc();
* cb.query().addOrderBy_MemberName_Desc().withManualOrder(valueList);
* cb.query().addOrderBy_MemberName_Desc().withNullsFirst();
* cb.query().addOrderBy_MemberName_Desc().withNullsLast();
* cb.query().addSpecifiedDerivedOrderBy_Desc(aliasName);
*
* <span style="color: #3F7E5E">// Query(Relation)</span>
* cb.query().queryMemberStatus()...;
* cb.query().queryMemberAddressAsValid(targetDate)...;
* </pre>
* @return The instance of condition-query for base-point table to set up query. (NotNull)
*/
public WhiteCompoundPkRefCQ query() {
assertQueryPurpose(); // assert only when user-public query
return getConditionQuery();
}
public WhiteCompoundPkRefCQ getConditionQuery() { // public for parameter comment and internal
if (_conditionQuery == null) {
_conditionQuery = createLocalCQ();
}
return _conditionQuery;
}
protected WhiteCompoundPkRefCQ createLocalCQ() {
return xcreateCQ(null, getSqlClause(), getSqlClause().getBasePointAliasName(), 0);
}
protected WhiteCompoundPkRefCQ xcreateCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
WhiteCompoundPkRefCQ cq = xnewCQ(childQuery, sqlClause, aliasName, nestLevel);
cq.xsetBaseCB(this);
return cq;
}
protected WhiteCompoundPkRefCQ xnewCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) {
return new WhiteCompoundPkRefCQ(childQuery, sqlClause, aliasName, nestLevel);
}
public ConditionQuery localCQ() {
return getConditionQuery();
}
// ===================================================================================
// Union
// =====
/**
* Set up 'union' for base-point table. <br />
* You don't need to call SetupSelect in union-query,
* because it inherits calls before. (Don't call SetupSelect after here)
* <pre>
* cb.query().<span style="color: #FD4747">union</span>(new UnionQuery<WhiteCompoundPkRefCB>() {
* public void query(WhiteCompoundPkRefCB unionCB) {
* unionCB.query().setXxx...
* }
* });
* </pre>
* @param unionQuery The query of 'union'. (NotNull)
*/
public void union(UnionQuery<WhiteCompoundPkRefCB> unionQuery) {
final WhiteCompoundPkRefCB cb = new WhiteCompoundPkRefCB();
cb.xsetupForUnion(this); xsyncUQ(cb); unionQuery.query(cb); xsaveUCB(cb);
final WhiteCompoundPkRefCQ cq = cb.query(); query().xsetUnionQuery(cq);
}
/**
* Set up 'union all' for base-point table. <br />
* You don't need to call SetupSelect in union-query,
* because it inherits calls before. (Don't call SetupSelect after here)
* <pre>
* cb.query().<span style="color: #FD4747">unionAll</span>(new UnionQuery<WhiteCompoundPkRefCB>() {
* public void query(WhiteCompoundPkRefCB unionCB) {
* unionCB.query().setXxx...
* }
* });
* </pre>
* @param unionQuery The query of 'union all'. (NotNull)
*/
public void unionAll(UnionQuery<WhiteCompoundPkRefCB> unionQuery) {
final WhiteCompoundPkRefCB cb = new WhiteCompoundPkRefCB();
cb.xsetupForUnion(this); xsyncUQ(cb); unionQuery.query(cb); xsaveUCB(cb);
final WhiteCompoundPkRefCQ cq = cb.query(); query().xsetUnionAllQuery(cq);
}
// ===================================================================================
// SetupSelect
// ===========
protected WhiteCompoundPkNss _nssWhiteCompoundPk;
public WhiteCompoundPkNss getNssWhiteCompoundPk() {
if (_nssWhiteCompoundPk == null) { _nssWhiteCompoundPk = new WhiteCompoundPkNss(null); }
return _nssWhiteCompoundPk;
}
/**
* Set up relation columns to select clause. <br />
* white_compound_pk by my REF_FIRST_ID, REF_SECOND_ID, named 'whiteCompoundPk'.
* <pre>
* WhiteCompoundPkRefCB cb = new WhiteCompoundPkRefCB();
* cb.<span style="color: #FD4747">setupSelect_WhiteCompoundPk()</span>; <span style="color: #3F7E5E">// ...().with[nested-relation]()</span>
* cb.query().setFoo...(value);
* WhiteCompoundPkRef whiteCompoundPkRef = whiteCompoundPkRefBhv.selectEntityWithDeletedCheck(cb);
* ... = whiteCompoundPkRef.<span style="color: #FD4747">getWhiteCompoundPk()</span>; <span style="color: #3F7E5E">// you can get by using SetupSelect</span>
* </pre>
* @return The set-upper of nested relation. {setupSelect...().with[nested-relation]} (NotNull)
*/
public WhiteCompoundPkNss setupSelect_WhiteCompoundPk() {
if (hasSpecifiedColumn()) { // if reverse call
specify().columnRefFirstId();
specify().columnRefSecondId();
}
doSetupSelect(new SsCall() { public ConditionQuery qf() { return query().queryWhiteCompoundPk(); } });
if (_nssWhiteCompoundPk == null || !_nssWhiteCompoundPk.hasConditionQuery())
{ _nssWhiteCompoundPk = new WhiteCompoundPkNss(query().queryWhiteCompoundPk()); }
return _nssWhiteCompoundPk;
}
// [DBFlute-0.7.4]
// ===================================================================================
// Specify
// =======
protected HpSpecification _specification;
/**
* Prepare for SpecifyColumn, (Specify)DerivedReferrer. <br />
* This method should be called after SetupSelect.
* <pre>
* cb.setupSelect_MemberStatus(); <span style="color: #3F7E5E">// should be called before specify()</span>
* cb.specify().columnMemberName();
* cb.specify().specifyMemberStatus().columnMemberStatusName();
* cb.specify().derivedPurchaseList().max(new SubQuery<PurchaseCB>() {
* public void query(PurchaseCB subCB) {
* subCB.specify().columnPurchaseDatetime();
* subCB.query().set...
* }
* }, aliasName);
* </pre>
* @return The instance of specification. (NotNull)
*/
public HpSpecification specify() {
assertSpecifyPurpose();
if (_specification == null) { _specification = new HpSpecification(this
, new HpSpQyCall<WhiteCompoundPkRefCQ>() {
public boolean has() { return true; }
public WhiteCompoundPkRefCQ qy() { return getConditionQuery(); }
}
, _purpose, getDBMetaProvider()); }
return _specification;
}
public HpColumnSpHandler localSp() {
return specify();
}
public boolean hasSpecifiedColumn() {
return _specification != null && _specification.isAlreadySpecifiedRequiredColumn();
}
public static class HpSpecification extends HpAbstractSpecification<WhiteCompoundPkRefCQ> {
protected WhiteCompoundPkCB.HpSpecification _whiteCompoundPk;
public HpSpecification(ConditionBean baseCB, HpSpQyCall<WhiteCompoundPkRefCQ> qyCall
, HpCBPurpose purpose, DBMetaProvider dbmetaProvider)
{ super(baseCB, qyCall, purpose, dbmetaProvider); }
/**
* MULTIPLE_FIRST_ID: {PK, NotNull, INT(10)}
* @return The information object of specified column. (NotNull)
*/
public HpSpecifiedColumn columnMultipleFirstId() { return doColumn("MULTIPLE_FIRST_ID"); }
/**
* MULTIPLE_SECOND_ID: {PK, NotNull, INT(10)}
* @return The information object of specified column. (NotNull)
*/
public HpSpecifiedColumn columnMultipleSecondId() { return doColumn("MULTIPLE_SECOND_ID"); }
/**
* REF_FIRST_ID: {IX, NotNull, INT(10), FK to white_compound_pk}
* @return The information object of specified column. (NotNull)
*/
public HpSpecifiedColumn columnRefFirstId() { return doColumn("REF_FIRST_ID"); }
/**
* REF_SECOND_ID: {IX+, NotNull, INT(10), FK to white_compound_pk}
* @return The information object of specified column. (NotNull)
*/
public HpSpecifiedColumn columnRefSecondId() { return doColumn("REF_SECOND_ID"); }
public void everyColumn() { doEveryColumn(); }
public void exceptRecordMetaColumn() { doExceptRecordMetaColumn(); }
@Override
protected void doSpecifyRequiredColumn() {
columnMultipleFirstId(); // PK
columnMultipleSecondId(); // PK
if (qyCall().qy().hasConditionQueryWhiteCompoundPk()
|| qyCall().qy().xgetReferrerQuery() instanceof WhiteCompoundPkCQ) {
columnRefFirstId(); // FK or one-to-one referrer
columnRefSecondId(); // FK or one-to-one referrer
}
}
@Override
protected String getTableDbName() { return "white_compound_pk_ref"; }
/**
* Prepare to specify functions about relation table. <br />
* white_compound_pk by my REF_FIRST_ID, REF_SECOND_ID, named 'whiteCompoundPk'.
* @return The instance for specification for relation table to specify. (NotNull)
*/
public WhiteCompoundPkCB.HpSpecification specifyWhiteCompoundPk() {
assertRelation("whiteCompoundPk");
if (_whiteCompoundPk == null) {
_whiteCompoundPk = new WhiteCompoundPkCB.HpSpecification(_baseCB, new HpSpQyCall<WhiteCompoundPkCQ>() {
public boolean has() { return _qyCall.has() && _qyCall.qy().hasConditionQueryWhiteCompoundPk(); }
public WhiteCompoundPkCQ qy() { return _qyCall.qy().queryWhiteCompoundPk(); } }
, _purpose, _dbmetaProvider);
if (xhasSyncQyCall()) { // inherits it
_whiteCompoundPk.xsetSyncQyCall(new HpSpQyCall<WhiteCompoundPkCQ>() {
public boolean has() { return xsyncQyCall().has() && xsyncQyCall().qy().hasConditionQueryWhiteCompoundPk(); }
public WhiteCompoundPkCQ qy() { return xsyncQyCall().qy().queryWhiteCompoundPk(); }
});
}
}
return _whiteCompoundPk;
}
}
// [DBFlute-0.9.5.3]
// ===================================================================================
// ColumnQuery
// ===========
/**
* Set up column-query. {column1 = column2}
* <pre>
* <span style="color: #3F7E5E">// where FOO < BAR</span>
* cb.<span style="color: #FD4747">columnQuery</span>(new SpecifyQuery<WhiteCompoundPkRefCB>() {
* public void query(WhiteCompoundPkRefCB cb) {
* cb.specify().<span style="color: #FD4747">columnFoo()</span>; <span style="color: #3F7E5E">// left column</span>
* }
* }).lessThan(new SpecifyQuery<WhiteCompoundPkRefCB>() {
* public void query(WhiteCompoundPkRefCB cb) {
* cb.specify().<span style="color: #FD4747">columnBar()</span>; <span style="color: #3F7E5E">// right column</span>
* }
* }); <span style="color: #3F7E5E">// you can calculate for right column like '}).plus(3);'</span>
* </pre>
* @param leftSpecifyQuery The specify-query for left column. (NotNull)
* @return The object for setting up operand and right column. (NotNull)
*/
public HpColQyOperand<WhiteCompoundPkRefCB> columnQuery(final SpecifyQuery<WhiteCompoundPkRefCB> leftSpecifyQuery) {
return new HpColQyOperand<WhiteCompoundPkRefCB>(new HpColQyHandler<WhiteCompoundPkRefCB>() {
public HpCalculator handle(SpecifyQuery<WhiteCompoundPkRefCB> rightSp, String operand) {
return xcolqy(xcreateColumnQueryCB(), xcreateColumnQueryCB(), leftSpecifyQuery, rightSp, operand);
}
});
}
protected WhiteCompoundPkRefCB xcreateColumnQueryCB() {
WhiteCompoundPkRefCB cb = new WhiteCompoundPkRefCB();
cb.xsetupForColumnQuery((WhiteCompoundPkRefCB)this);
return cb;
}
// ===================================================================================
// Dream Cruise
// ============
/**
* Welcome to the Dream Cruise for condition-bean deep world. <br />
* This is very specialty so you can get the frontier spirit. Bon voyage!
* @return The condition-bean for dream cruise, which is linked to main condition-bean.
*/
public WhiteCompoundPkRefCB dreamCruiseCB() {
WhiteCompoundPkRefCB cb = new WhiteCompoundPkRefCB();
cb.xsetupForDreamCruise((WhiteCompoundPkRefCB) this);
return cb;
}
protected ConditionBean xdoCreateDreamCruiseCB() {
return dreamCruiseCB();
}
// [DBFlute-0.9.6.3]
// ===================================================================================
// OrScopeQuery
// ============
/**
* Set up the query for or-scope. <br />
* (Same-column-and-same-condition-key conditions are allowed in or-scope)
* <pre>
* <span style="color: #3F7E5E">// where (FOO = '...' or BAR = '...')</span>
* cb.<span style="color: #FD4747">orScopeQuery</span>(new OrQuery<WhiteCompoundPkRefCB>() {
* public void query(WhiteCompoundPkRefCB orCB) {
* orCB.query().setFOO_Equal...
* orCB.query().setBAR_Equal...
* }
* });
* </pre>
* @param orQuery The query for or-condition. (NotNull)
*/
public void orScopeQuery(OrQuery<WhiteCompoundPkRefCB> orQuery) {
xorSQ((WhiteCompoundPkRefCB)this, orQuery);
}
/**
* Set up the and-part of or-scope. <br />
* (However nested or-scope query and as-or-split of like-search in and-part are unsupported)
* <pre>
* <span style="color: #3F7E5E">// where (FOO = '...' or (BAR = '...' and QUX = '...'))</span>
* cb.<span style="color: #FD4747">orScopeQuery</span>(new OrQuery<WhiteCompoundPkRefCB>() {
* public void query(WhiteCompoundPkRefCB orCB) {
* orCB.query().setFOO_Equal...
* orCB.<span style="color: #FD4747">orScopeQueryAndPart</span>(new AndQuery<WhiteCompoundPkRefCB>() {
* public void query(WhiteCompoundPkRefCB andCB) {
* andCB.query().setBar_...
* andCB.query().setQux_...
* }
* });
* }
* });
* </pre>
* @param andQuery The query for and-condition. (NotNull)
*/
public void orScopeQueryAndPart(AndQuery<WhiteCompoundPkRefCB> andQuery) {
xorSQAP((WhiteCompoundPkRefCB)this, andQuery);
}
// ===================================================================================
// DisplaySQL
// ==========
@Override
protected SqlAnalyzerFactory getSqlAnalyzerFactory()
{ return new ImplementedInvokerAssistant().assistSqlAnalyzerFactory(); }
@Override
protected String getLogDateFormat() { return DBFluteConfig.getInstance().getLogDateFormat(); }
@Override
protected String getLogTimestampFormat() { return DBFluteConfig.getInstance().getLogTimestampFormat(); }
// ===================================================================================
// Meta Handling
// =============
public boolean hasUnionQueryOrUnionAllQuery() {
return query().hasUnionQueryOrUnionAllQuery();
}
// ===================================================================================
// Purpose Type
// ============
@Override
protected void xprepareSyncQyCall(ConditionBean mainCB) {
final WhiteCompoundPkRefCB cb;
if (mainCB != null) {
cb = (WhiteCompoundPkRefCB)mainCB;
} else {
cb = new WhiteCompoundPkRefCB();
}
specify().xsetSyncQyCall(new HpSpQyCall<WhiteCompoundPkRefCQ>() {
public boolean has() { return true; }
public WhiteCompoundPkRefCQ qy() { return cb.query(); }
});
}
// ===================================================================================
// Internal
// ========
// very internal (for suppressing warn about 'Not Use Import')
protected String getConditionBeanClassNameInternally() { return WhiteCompoundPkRefCB.class.getName(); }
protected String getConditionQueryClassNameInternally() { return WhiteCompoundPkRefCQ.class.getName(); }
protected String getSubQueryClassNameInternally() { return SubQuery.class.getName(); }
protected String getConditionOptionClassNameInternally() { return ConditionOption.class.getName(); }
}
| [
"[email protected]"
] | |
621f407aa59947ab7b23a82a73cac0064bfe2efc | a7938369bdc5fddeec046da5b3b726d01ea2eec1 | /src/papeleria_completo/conectar.java | 18edb3e401d4ad90276873a56a428f09e2204c01 | [] | no_license | ariadnamtzbravo09/papeleria-Java | 05105d9e5361303e2ccb5a842431d136f5089111 | a3211d76eb532538571dc1999d6981fb7463a22e | refs/heads/master | 2021-01-19T02:33:58.305650 | 2016-06-06T18:16:42 | 2016-06-06T18:16:42 | 60,550,102 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 520 | java |
package papeleria_completo;
import java.sql.DriverManager;
import javax.swing.JOptionPane;
import java.sql.Connection;
public class conectar
{
Connection conect = null;
public Connection conexion()
{
try {
Class.forName("org.gjt.mm.mysql.Driver");
conect=DriverManager.getConnection("jdbc:mysql://localhost/papeleria","root","");
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "Error"+e);
}
return conect;
}
}
| [
"[email protected]"
] | |
3d90d8cf20067f60ce10d163e5ae840b09fbc027 | dd43d3a13b37649020e18de71df7d22509d7a0b1 | /Backend/winism/src/main/java/com/winism/winism/util/FileCheck.java | 55ea3b570f16401a0f12e5481736065631516b6c | [] | no_license | BONOBONOBOo/WINISM | 3438323b799552d795a981fd928e8f2971f8ee4b | d612f0a81207ede39b998a3843dff2ab8e915bfb | refs/heads/master | 2023-01-12T13:38:37.315583 | 2020-11-15T18:39:20 | 2020-11-15T18:39:20 | 314,123,326 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 372 | java | package com.winism.winism.util;
import java.io.File;
public class FileCheck {
public String checkImage(String img){
File fi = new File("/home/ubuntu/data/images/"+img+".png");
if(fi.exists()){
return "http://k3a208.p.ssafy.io/images/"+img+".png";
}
else{
return null;
}
}
}
| [
"[email protected]"
] | |
36fc5a70af4cc81538c53e30c9619c9e91d8a399 | bf2632f5b85991ce8900bdd77e94790451e7d4fb | /src/main/java/org/safs/rest/sample/resource/InvoiceResource.java | e37a11797945ab98376dc1bc8b45b0fed6a0487b | [] | no_license | leiwang008/RestSample | 607f87213c69c4dfced2ccc1fe21636ddebd3ddc | 0676bce814cedf587d09186a500b0b491c2ed4bb | refs/heads/master | 2021-04-26T22:13:12.848960 | 2019-11-15T08:10:14 | 2019-11-15T08:10:14 | 124,042,037 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 953 | java | /**
* Copyright (C) SAS Institute, All rights reserved.
* General Public License: http://www.opensource.org/licenses/gpl-license.php
*/
/**
* Logs for developers, not published to API DOC.
*
* History:
* @date 2018-03-06 (Lei Wang) Initial release.
*/
package org.safs.rest.sample.resource;
import org.safs.rest.sample.model.Invoice;
import org.safs.rest.sample.util.Util;
/**
* @author Lei Wang
*
*/
public class InvoiceResource {
private final Long id;
private final double total;
private final Long customerId;
public InvoiceResource(Invoice invoice){
this.id = invoice.getId();
this.customerId = invoice.getCustomerId();
this.total = invoice.getTotal();
}
/**
* @return the id
*/
public Long getId() {
return id;
}
/**
* @return the total
*/
public double getTotal() {
return Util.keep2Decimal(total);
}
/**
* @return the customerId
*/
public Long getCustomerId() {
return customerId;
}
}
| [
"[email protected]"
] | |
c78d7b1a24f422dc0d9dddc8f4a0a3ddc2ba4a04 | c23543bbd3e45c648f4fccac38dc8474e755065e | /src/codingpark/net/cheesecloud/wsi/ImageFloder.java | ee76b0638bd056b804e15ab0578d07feab876b20 | [] | no_license | fangjingfeng/cheese | 2bc1b3cef0ce255f432ae64a85fa160419ce0087 | 922a06c2e90c3ed49c34e3fca9829c372370b858 | refs/heads/master | 2021-01-20T12:10:38.031824 | 2015-06-10T08:43:17 | 2015-06-10T08:43:17 | 35,271,114 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 894 | java | package codingpark.net.cheesecloud.wsi;
public class ImageFloder
{
/**
* 图片的文件夹路径
*/
private String dir;
/**
* 第一张图片的路径
*/
private String firstImagePath;
/**
* 文件夹的名称
*/
private String name;
/**
* 图片的数量
*/
private int count;
public String getDir()
{
return dir;
}
public void setDir(String dir)
{
this.dir = dir;
int lastIndexOf = this.dir.lastIndexOf("/");
this.name = this.dir.substring(lastIndexOf);
}
public String getFirstImagePath()
{
return firstImagePath;
}
public void setFirstImagePath(String firstImagePath)
{
this.firstImagePath = firstImagePath;
}
public String getName()
{
return name;
}
public int getCount()
{
return count;
}
public void setCount(int count)
{
this.count = count;
}
}
| [
"123@computer"
] | 123@computer |
7c745e6e92bc056f84fcc330cdac8172ed512ad0 | 11ea1a597fe9b4881a42babfc9e7b0decdf3aace | /app/src/main/java/com/example/ihsan/BeneficiaryAdapter.java | 6cda9b21fe486246a0598ec3bcdfe873a929d05a | [] | no_license | Alanoud7m/ihsan | 4fc8201f890239b76f1198133f970fd525bd3e5a | 88f44ed936fba0d756c35ce51d0823e9d8d00105 | refs/heads/master | 2023-02-03T08:00:12.568996 | 2020-12-08T15:26:28 | 2020-12-08T15:26:28 | 309,044,286 | 0 | 0 | null | 2020-12-08T15:17:52 | 2020-11-01T07:23:53 | Java | UTF-8 | Java | false | false | 2,730 | java | package com.example.ihsan;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import java.util.ArrayList;
public class BeneficiaryAdapter extends RecyclerView.Adapter<BeneficiaryAdapter.BeneficiaryViewHolder> {
Context mContext;
ArrayList<Beneficiary> beneficiaries= new ArrayList<>();
OnVerifyButtonItemClickListener verifyButtonListener;
public interface OnVerifyButtonItemClickListener {
void onVerifyIsClick(View button, int position);
}
public void setVerifyButtonListener(BeneficiaryAdapter.OnVerifyButtonItemClickListener verifyButtonListener) {
this.verifyButtonListener= verifyButtonListener;
}
public BeneficiaryAdapter(Context mContext, ArrayList<Beneficiary> beneficiaries) {
this.mContext = mContext;
this.beneficiaries = beneficiaries;
}
@NonNull
@Override
public BeneficiaryViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.verify_b_list_item,parent,false);
BeneficiaryViewHolder beneficiaryViewHolder =new BeneficiaryViewHolder(view);
return beneficiaryViewHolder;
}
@Override
public void onBindViewHolder(@NonNull BeneficiaryViewHolder holder, final int position) {
holder.firstName.setText("اسم المستفيد الأول: "+beneficiaries.get(position).FirstName);
holder.familyName.setText("عائلة المستفيد: "+beneficiaries.get(position).FamilyName);
holder.phone.setText("هاتف المستفيد: "+beneficiaries.get(position).phoneNumber);
holder.verifyBtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
verifyButtonListener.onVerifyIsClick(view,position);
}
});
}
@Override
public int getItemCount() {
return beneficiaries.size();
}
public class BeneficiaryViewHolder extends RecyclerView.ViewHolder {
public TextView firstName,familyName,phone;
public Button verifyBtn;
public BeneficiaryViewHolder(@NonNull View itemView) {
super(itemView);
firstName = (TextView)itemView.findViewById(R.id.firstName);
familyName =(TextView) itemView.findViewById(R.id.familyName);
phone = (TextView)itemView.findViewById(R.id.phone);
verifyBtn = (Button) itemView.findViewById(R.id.verifyBtn);
}
}
}
| [
"[email protected]"
] | |
3a2f86554137857bca19c766953d272e80b28e28 | 872d28fae8987df1ada785f1e8a762b072497a95 | /src/main/java/com/example/comm/controller/BackstageController.java | aaae37f153a09ef8c0edf68962513691f1de76d6 | [] | no_license | dengjunyi/TJU | ba096f3c08ca66d57b3ad533b953066bdd78ee7a | c77fe9a6d391670bef7be2653facbd451c9ff6a0 | refs/heads/tom | 2022-07-14T05:28:01.637800 | 2020-04-08T09:04:13 | 2020-04-08T09:04:13 | 226,816,106 | 0 | 0 | null | 2022-06-21T02:27:36 | 2019-12-09T07:58:21 | Java | UTF-8 | Java | false | false | 4,845 | java | package com.example.comm.controller;
import com.example.comm.pojo.allocation.Allocation;
import com.example.comm.pojo.barcode.Barcode;
import com.example.comm.pojo.cursors.Cursors;
import com.example.comm.pojo.customer.Customer;
import com.example.comm.pojo.orders.Orders;
import com.example.comm.pojo.porttable.Porttable;
import com.example.comm.service.Orders.OrdersService;
import com.example.comm.service.barcode.BarcodeService;
import com.example.comm.service.customer.CustomerService;
import com.example.comm.service.ng.NgService;
import com.example.comm.service.porttable.PorttableService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import javax.annotation.Resource;
import java.util.List;
@Controller
@RequestMapping(value = "/backstage")
public class BackstageController {
@Resource
private OrdersService ordersService;//获取资源
@Resource
private PorttableService porttableService;//获取资源
@Resource
private CustomerService customerService;//获取资源
@Resource
private BarcodeService barcodeService;//获取资源
@RequestMapping("/Management")
public String helloSpringBoot() {
System.out.println("进入Management界面");
return "Management";
}
/**
* 端口
*
* @return
* @throws Exception
*/
@RequestMapping(value = "/getPorttableList", method = RequestMethod.POST)
@ResponseBody
public List<Porttable> getPorttableList() throws Exception {
System.out.println("进行AJAX");
List<Porttable> porttableList = porttableService.getPorttableList();
return porttableList;
}
@RequestMapping(value = "/getCustomerByPort", method = RequestMethod.POST)
@ResponseBody
public String getCustomerByPort(@RequestParam("o_port") String o_port) throws Exception {
System.out.println("进行AJAX");
System.out.println("端口号:" + o_port);
List<Customer> customerByPort = customerService.getCustomerByPort(o_port);
String customer_name = "";
try {
for (Customer customer : customerByPort) {
if (customerByPort.size() > 1) {
customer_name += customer.getCustomer_name() + " ";
} else {
customer_name += customer.getCustomer_name();
}
}
} catch (Exception e) {
System.out.println("异常信息:");
//e.printStackTrace();
customer_name = null;
}
System.out.println("客户名称:" + customer_name);
return customer_name;
}
@RequestMapping(value = "/addPort", method = RequestMethod.POST)
@ResponseBody
public Integer addPort(@RequestParam("p_port") String p_port) throws Exception {
int i = porttableService.addPort(p_port);
return i;
}
@RequestMapping(value = "/delPort", method = RequestMethod.POST)
@ResponseBody
public Integer delPort(@RequestParam("p_id") String p_id) throws Exception {
int i = porttableService.delPort(Integer.valueOf(p_id));
return i;
}
/**
* 订单
*
* @throws Exception
*/
@RequestMapping(value = "/getOrdersList", method = RequestMethod.POST)
@ResponseBody
public List<Orders> getOrdersList(@RequestParam("o_name") String o_name, @RequestParam("o_orderid") String o_orderid) throws Exception {
System.out.println("1:" + o_name);
String c_id;
Customer customer = null;
if (!o_name.isEmpty()) {
customer = customerService.getCustomerByName(o_name);
c_id = String.valueOf(customer.getC_id());
} else {
c_id = null;
}
List<Orders> ordersList = ordersService.getOrdersList(c_id, o_orderid);
return ordersList;
}
@RequestMapping(value = "/getCustomerByCid", method = RequestMethod.POST)
@ResponseBody
public String getCustomerByCid(@RequestParam("c_id") String c_id) throws Exception {
Customer customerByCid = customerService.getCustomerByCid(Integer.valueOf(c_id));
return customerByCid.getCustomer_name();
}
//物品
@RequestMapping(value = "/getBarcodeByBarcode", method = RequestMethod.POST)
@ResponseBody
public List<Barcode> getBarcodeByBarcode(@RequestParam("b_oid") String b_oid, @RequestParam("b_barcode") String b_barcode) throws Exception {
System.out.println("物品");
List<Barcode> barcodeByBarcode = barcodeService.getBarcodeByBarcode(b_oid, b_barcode);
return barcodeByBarcode;
}
}
| [
"dengyi20000516"
] | dengyi20000516 |
15a425970f4241c457718b2cddcfa7bb09d41b2d | 815cb2f74b1c48835d2763df6dbf2fd673772dd0 | /bpm/bonita-core/bonita-process-engine/src/main/java/org/bonitasoft/engine/service/impl/SessionAccessorAccessor.java | 5f6e25f160f360d56ec8213956f2e1de31a76443 | [] | no_license | Melandro/bonita-engine | 04238b7b1f6daefbf568e2985f9ad990e66d2a10 | bd4a9ab2492d5e9843a90fd9bbfe14700eb4bddb | refs/heads/master | 2021-01-15T18:36:29.949274 | 2013-08-14T14:22:15 | 2013-08-14T14:47:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,048 | java | /**
* Copyright (C) 2011-2013 BonitaSoft S.A.
* BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble
* This library is free software; you can redistribute it and/or modify it under the terms
* of the GNU Lesser General Public License as published by the Free Software Foundation
* version 2.1 of the License.
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301, USA.
**/
package org.bonitasoft.engine.service.impl;
import org.bonitasoft.engine.sessionaccessor.SessionAccessor;
/**
* @author Baptiste Mesta
* @author Matthieu Chaffotte
*/
public interface SessionAccessorAccessor {
SessionAccessor getSessionAccessor();
}
| [
"[email protected]"
] | |
136791dfa0b5fbaa11f9f60aa71c6db2ff0f64be | 86d2c6e478457ca97b72ee4fe142021cd203ad20 | /hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/builder/predicate/SourcePredicateBuilder.java | 0366a56646b69e66f0618630b45d16300bcf78bf | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | nmdp-bioinformatics/hapi-fhir | c43874d5a4862a13a7c6fb434acabbec77e9dc6a | 9ae71aba95d4af7650642f912c5b034ce537e835 | refs/heads/master | 2023-05-13T06:08:11.470244 | 2023-05-07T12:25:29 | 2023-05-07T12:25:29 | 71,417,241 | 1 | 1 | Apache-2.0 | 2022-12-23T16:21:54 | 2016-10-20T02:17:53 | Java | UTF-8 | Java | false | false | 2,066 | java | /*-
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2023 Smile CDR, 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.
* #L%
*/
package ca.uhn.fhir.jpa.search.builder.predicate;
import ca.uhn.fhir.jpa.search.builder.sql.SearchQueryBuilder;
import com.healthmarketscience.sqlbuilder.BinaryCondition;
import com.healthmarketscience.sqlbuilder.Condition;
import com.healthmarketscience.sqlbuilder.dbspec.basic.DbColumn;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class SourcePredicateBuilder extends BaseJoiningPredicateBuilder {
private static final Logger ourLog = LoggerFactory.getLogger(SourcePredicateBuilder.class);
private final DbColumn myColumnSourceUri;
private final DbColumn myColumnRequestId;
private final DbColumn myResourceIdColumn;
/**
* Constructor
*/
public SourcePredicateBuilder(SearchQueryBuilder theSearchSqlBuilder) {
super(theSearchSqlBuilder, theSearchSqlBuilder.addTable("HFJ_RES_VER_PROV"));
myResourceIdColumn = getTable().addColumn("RES_PID");
myColumnSourceUri = getTable().addColumn("SOURCE_URI");
myColumnRequestId = getTable().addColumn("REQUEST_ID");
}
@Override
public DbColumn getResourceIdColumn() {
return myResourceIdColumn;
}
public Condition createPredicateSourceUri(String theSourceUri) {
return BinaryCondition.equalTo(myColumnSourceUri, generatePlaceholder(theSourceUri));
}
public Condition createPredicateRequestId(String theRequestId) {
return BinaryCondition.equalTo(myColumnRequestId, generatePlaceholder(theRequestId));
}
}
| [
"[email protected]"
] | |
a230c487ba77aa18c0b632b2216636805f9eb229 | 518b1c5d25de78e56222e742c164b74952b3c58e | /src/gr/hua/dit/ds/group24/DAO/PublicServiceDAOImpl.java | 05c285d407cec0042b3e747b7f0cbe847b810f84 | [] | no_license | JasonTrib/DS_project | d013453f3ed21c26a7f409d88b6a5a2ac3ac5397 | 012deb04f214566bfe1042fdd0d0c4ac561bf7cd | refs/heads/main | 2023-03-05T11:02:02.802491 | 2021-02-18T03:00:23 | 2021-02-18T03:00:23 | 323,069,868 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 2,564 | java | package gr.hua.dit.ds.group24.DAO;
import javax.transaction.Transactional;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.query.Query;
import gr.hua.dit.ds.group24.entity.PublicService;
@Repository
public class PublicServiceDAOImpl implements PublicServiceDAO {
@Autowired
private SessionFactory sessionFactory;
@Override
@Transactional
public List<PublicService> getPublicServices() {
Session session = sessionFactory.getCurrentSession();
Query<PublicService> query = session.createQuery("from PublicService where validated=true", PublicService.class);
return query.getResultList();
}
@Override
@Transactional
public PublicService getPublicService(Integer id) {
Session session = sessionFactory.getCurrentSession();
Query<PublicService> query = session.createQuery("from PublicService where id='"+id+"' and validated=true", PublicService.class);
return query.getResultList().get(0);
}
@Override
@Transactional
public void savePublicService(PublicService ps) {
Session session = sessionFactory.getCurrentSession();
session.save(ps);
}
@Override
@Transactional
public void validatePublicService(PublicService ps){
Session session = sessionFactory.getCurrentSession();
session.createQuery("update PublicService set name='"+ps.getName()+"',address='"+ps.getAddress()+"',appointment_room='"+ps.getAppointmentRoom()+"',validated='"+(ps.isValidated()?1:0)+"',schedule='"+ps.getSchedule()+"',postcode='"+ps.getPostcode()+"',call_center='"+ps.getCallCenter()+"' where id='"+ps.getId()+"'").executeUpdate();
}
@Override
@Transactional
public void updatePublicService(PublicService ps){
Session session = sessionFactory.getCurrentSession();
session.createQuery("update PublicService set address='"+ps.getAddress()+"',appointment_room='"+ps.getAppointmentRoom()+"',schedule='"+ps.getSchedule()+"',postcode="+ps.getPostcode()+",call_center="+ps.getCallCenter()+" where id='"+ps.getId()+"'").executeUpdate();
}
@Override
@Transactional
public void deletePublicService(Integer id) {
Session session = sessionFactory.getCurrentSession();
PublicService ps = session.get(PublicService.class, id);
session.delete(ps);
}
@Override
@Transactional
public void rejectSubmission(Integer id) {
Session session = sessionFactory.getCurrentSession();
PublicService ps = session.get(PublicService.class, id);
session.delete(ps);
}
}
| [
"[email protected]"
] | |
73df861e6ac5e3c35625dd071e77a5cbf6068df5 | eb295572c087f03d7339794b369820b6d8defa2a | /图论建模/src/leetcode695/Solution.java | 47d09dbbd9c4101b543d86b8d643cd8997b7aa78 | [] | no_license | LastKnightCoder/graph-theory | 700040772cac196466a74607edb47c8c50eaf549 | 7bce92cc303b953ca649e2da2629b7e16281a0ef | refs/heads/master | 2023-02-22T19:58:17.550090 | 2021-01-29T18:30:05 | 2021-01-29T18:30:05 | 325,961,825 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,751 | java | package leetcode695;
import java.util.Arrays;
import java.util.stream.Collectors;
public class Solution {
private int rows;
private int columns;
private boolean[][] visited;
private int[][] grid;
public int maxAreaOfIsland(int[][] grid) {
if (grid == null) {
return 0;
}
this.rows = grid.length;
if (rows == 0) {
return 0;
}
this.columns = grid[0].length;
if (columns == 0) {
return 0;
}
this.grid = grid;
this.visited = new boolean[rows][columns];
int max = 0;
for (int row = 0; row < rows; row++) {
for (int column = 0; column < columns; column++) {
if (!visited[row][column] && grid[row][column] == 1) {
max = Math.max(max, dfs(row, column));
}
}
}
return max;
}
private int dfs(int row,int column) {
int count = 1;
visited[row][column] = true;
for (int[] w: adj(row, column)) {
int nextRow = w[0];
int nextColumn = w[1];
if (grid[nextRow][nextColumn] == 0) {
continue;
}
if (!visited[nextRow][nextColumn]) {
count += dfs(nextRow, nextColumn);
}
}
return count;
}
private Iterable<int[]> adj(int row, int column) {
int[][] dirs = {{-1, 0}, {0, -1}, {0, 1}, {1, 0}};
return Arrays.stream(dirs)
.map(dir -> new int[]{dir[0] + row, dir[1] + column})
.filter(item -> item[0] < rows && item[0] >= 0 && item[1] < columns && item[1] >= 0)
.collect(Collectors.toList());
}
}
| [
"[email protected]"
] | |
3a44148cd55fe785ad4fde354a23650c63c8e4eb | c181263010d6da95d06f0ec8cd9bfabb12c46dc8 | /app/src/androidTest/java/com/github/tianma8023/fontmetricssample/ExampleInstrumentedTest.java | e462f4bc4afb89a507d80703d0e93e539df9de0d | [
"Apache-2.0"
] | permissive | tianma8023/FontMetricsSample | f567a73719e1684bcf462c336c9c33df02713fb6 | 83d521acfb3b7ba7d4ee616002484eac97d01203 | refs/heads/master | 2021-05-11T01:28:21.777002 | 2018-01-27T07:54:25 | 2018-01-27T07:54:25 | 118,329,284 | 7 | 1 | null | null | null | null | UTF-8 | Java | false | false | 805 | java | package com.github.tianma8023.fontmetricssample;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.github.tianma8023.fontmetricssample", appContext.getPackageName());
}
}
| [
"[email protected]"
] | |
65a81e7e7accc59d8eccf6cf468fb5e5bf79b1fd | e5fd02c03d1da3025b10e21b1777968c8217be9f | /Cotizador/src/com/qbe/cotizador/dao/entidad/TipoIdentificacionDAO.java | 99bfe301c4c8194c66647888c3f69677eddf9875 | [] | no_license | luisitocaiza17/JavaProcesoBatch | 3d2069c6ed8e4358a47b34d42237b0e42a876812 | 69be7df9522c53c68d70ed980f0826de3e860653 | refs/heads/master | 2020-04-21T02:52:52.344661 | 2019-02-05T16:04:17 | 2019-02-05T16:04:17 | 169,267,952 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,074 | java | package com.qbe.cotizador.dao.entidad;
import java.util.List;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import com.qbe.cotizador.entitymanagerfactory.EntityManagerFactoryDAO;
import com.qbe.cotizador.model.TipoIdentificacion;
public class TipoIdentificacionDAO extends EntityManagerFactoryDAO<TipoIdentificacion>{
@PersistenceContext(name="CotizadorWebPC", unitName = "CotizadorWebPU" )
private EntityManager em;
@Override
protected EntityManager getEntityManager() {
if(em == null){
Context initCtx = null;
try {
initCtx = new InitialContext();
em = (javax.persistence.EntityManager) initCtx.lookup("java:comp/env/CotizadorWebPC");
} catch (NamingException e) {
e.printStackTrace();
}
}
return em;
}
public TipoIdentificacionDAO() {
super(TipoIdentificacion.class);
}
public List<TipoIdentificacion> buscarTodos(){
return getEntityManager().createNamedQuery("TipoIdentificacion.buscarTodos").getResultList();
}
public TipoIdentificacion buscarPorId(String id){
TipoIdentificacion tipo = new TipoIdentificacion();
List<TipoIdentificacion> query = getEntityManager().createNamedQuery("TipoIdentificacion.buscarPorId").setParameter("id", id).getResultList();
if(!query.isEmpty())
tipo = query.get(0);
return tipo;
}
// public List<TipoIdentificacion> buscarActivos(){
// EntityManager em = obtenerEntityManagerFactory().createEntityManager();
// List<TipoIdentificacion> results = null;
// try{
// TypedQuery<TipoIdentificacion> query = em.createQuery("SELECT c FROM TipoIdentificacion c WHERE c.activo =:valorActivo", TipoIdentificacion.class).setParameter("valorActivo", true);
// results = query.getResultList();
// }catch(Exception e) {
// em.getTransaction().rollback();
// }finally{
// em.close();
// }
// return results;
// }
}
| [
"luisito_caiza17"
] | luisito_caiza17 |
b3f5028974709f733a4e5856b848333f8fca1bb9 | 46d032112ccd547f0cbb6db17b8b1545b829911f | /cqhttp-spring-boot-starter/src/main/java/org/devefx/spring/boot/cqhttp/api/SetGroupAdmin.java | f230541adc69285202edf12a3f1a2fe2d3f3f218 | [
"Apache-2.0"
] | permissive | devefx/spring-boot-starters | cb8833a30ae15c985b6aaf87a323a56b52f9eeab | d2f0a3ac7cefec852e96955ac70ed2bec6ea7e51 | refs/heads/master | 2022-07-20T05:00:58.539035 | 2022-07-01T14:01:47 | 2022-07-01T14:01:47 | 163,935,217 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 692 | java | package org.devefx.spring.boot.cqhttp.api;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.RequiredArgsConstructor;
import javax.validation.constraints.NotNull;
/**
* 群组设置管理员
*/
@Data
@AllArgsConstructor
@RequiredArgsConstructor
public class SetGroupAdmin implements PostApi<Void> {
/**
* 群号
*/
@JsonProperty("group_id")
@NotNull
private final Long groupId;
/**
* 要设置管理员的 QQ 号
*/
@JsonProperty("user_id")
@NotNull
private final Long userId;
/**
* true 为设置,false 为取消
*/
private boolean enable;
}
| [
"[email protected]"
] | |
8dd6130a8b6de37de0d28d8f43db12c06dbc90a0 | bf0f21e34279af3e65892d14602b8e2f08a871cb | /ChatServer/src/main/java/io/grpc/chatservice/ChatServiceProto.java | 32807e6d3768bbcaa6eaaab6568206591f8ec37b | [] | no_license | hayyuelha/proto-IRC | 2b13040f7e5c3a67515638d9cf26b07b26f84043 | ef89c277aa4eb22070962e672845cecd4d65a087 | refs/heads/master | 2021-01-10T11:36:01.662946 | 2015-09-28T02:09:21 | 2015-09-28T02:09:21 | 43,232,406 | 0 | 0 | null | 2015-09-29T04:55:22 | 2015-09-27T03:13:09 | JavaScript | UTF-8 | Java | false | true | 5,600 | java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protoExercise/chat_proto/chat.proto
package main.java.io.grpc.chatservice;
public final class ChatServiceProto {
private ChatServiceProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
static com.google.protobuf.Descriptors.Descriptor
internal_static_chatservice_Message_descriptor;
static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_chatservice_Message_fieldAccessorTable;
static com.google.protobuf.Descriptors.Descriptor
internal_static_chatservice_User_descriptor;
static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_chatservice_User_fieldAccessorTable;
static com.google.protobuf.Descriptors.Descriptor
internal_static_chatservice_ChannelUser_descriptor;
static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_chatservice_ChannelUser_fieldAccessorTable;
static com.google.protobuf.Descriptors.Descriptor
internal_static_chatservice_Channel_descriptor;
static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_chatservice_Channel_fieldAccessorTable;
static com.google.protobuf.Descriptors.Descriptor
internal_static_chatservice_RetVal_descriptor;
static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_chatservice_RetVal_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n#protoExercise/chat_proto/chat.proto\022\013c" +
"hatservice\">\n\007Message\022\017\n\007channel\030\001 \001(\t\022\017" +
"\n\007message\030\002 \001(\t\022\021\n\tclientKey\030\003 \001(\t\"w\n\004Us" +
"er\022\021\n\tclientKey\030\001 \001(\t\022\014\n\004nick\030\002 \001(\t\022&\n\010m" +
"essages\030\003 \003(\0132\024.chatservice.Message\022&\n\010c" +
"hannels\030\004 \003(\0132\024.chatservice.Channel\"5\n\013C" +
"hannelUser\022\023\n\013channelName\030\001 \001(\t\022\021\n\tclien" +
"tKey\030\002 \001(\t\"@\n\007Channel\022\023\n\013channelName\030\001 \001" +
"(\t\022 \n\005users\030\002 \003(\0132\021.chatservice.User\"\030\n\006" +
"RetVal\022\016\n\006retval\030\001 \001(\t2\325\002\n\013ChatService\0220",
"\n\004nick\022\021.chatservice.User\032\023.chatservice." +
"RetVal\"\000\0227\n\004join\022\030.chatservice.ChannelUs" +
"er\032\023.chatservice.RetVal\"\000\0228\n\005leave\022\030.cha" +
"tservice.ChannelUser\032\023.chatservice.RetVa" +
"l\"\000\0220\n\004exit\022\021.chatservice.User\032\023.chatser" +
"vice.RetVal\"\000\022:\n\013getMessages\022\021.chatservi" +
"ce.User\032\024.chatservice.Message\"\0000\001\0223\n\004sen" +
"d\022\024.chatservice.Message\032\023.chatservice.Re" +
"tVal\"\000B3\n\035main.java.io.grpc.chatserviceB" +
"\020ChatServiceProtoP\001b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_chatservice_Message_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_chatservice_Message_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_chatservice_Message_descriptor,
new java.lang.String[] { "Channel", "Message", "ClientKey", });
internal_static_chatservice_User_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_chatservice_User_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_chatservice_User_descriptor,
new java.lang.String[] { "ClientKey", "Nick", "Messages", "Channels", });
internal_static_chatservice_ChannelUser_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_chatservice_ChannelUser_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_chatservice_ChannelUser_descriptor,
new java.lang.String[] { "ChannelName", "ClientKey", });
internal_static_chatservice_Channel_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_chatservice_Channel_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_chatservice_Channel_descriptor,
new java.lang.String[] { "ChannelName", "Users", });
internal_static_chatservice_RetVal_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_chatservice_RetVal_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_chatservice_RetVal_descriptor,
new java.lang.String[] { "Retval", });
}
// @@protoc_insertion_point(outer_class_scope)
}
| [
"[email protected]"
] | |
090e5c2fdc6a392b1933e1a6252108eaab3bd49e | 2cf26c806e8a45d91d3476baf474b2c82418329e | /RoundedEntry/RoundedEntry.Android/obj/Debug/android/com/companyname/roundedentry/R.java | 1f7cee97bdd0221c7e70b515eb95bed3134d4e70 | [] | no_license | omersezer/XamarinRoundedEntry | df1a42d2a5afb327da890a35bf5f194b9ed409f8 | bee04221fbb8fe15945091370be59a9a3a08041b | refs/heads/master | 2021-07-23T00:29:27.163854 | 2017-11-03T15:50:42 | 2017-11-03T15:50:42 | 109,413,845 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 639,206 | java | /* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.companyname.roundedentry;
public final class R {
public static final class anim {
public static final int abc_fade_in=0x7f040000;
public static final int abc_fade_out=0x7f040001;
public static final int abc_grow_fade_in_from_bottom=0x7f040002;
public static final int abc_popup_enter=0x7f040003;
public static final int abc_popup_exit=0x7f040004;
public static final int abc_shrink_fade_out_from_bottom=0x7f040005;
public static final int abc_slide_in_bottom=0x7f040006;
public static final int abc_slide_in_top=0x7f040007;
public static final int abc_slide_out_bottom=0x7f040008;
public static final int abc_slide_out_top=0x7f040009;
public static final int design_bottom_sheet_slide_in=0x7f04000a;
public static final int design_bottom_sheet_slide_out=0x7f04000b;
public static final int design_fab_in=0x7f04000c;
public static final int design_fab_out=0x7f04000d;
public static final int design_snackbar_in=0x7f04000e;
public static final int design_snackbar_out=0x7f04000f;
}
public static final class animator {
public static final int design_appbar_state_list_animator=0x7f050000;
}
public static final class attr {
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarDivider=0x7f01005f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarItemBackground=0x7f010060;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarPopupTheme=0x7f010059;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
<p>May be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>wrap_content</code></td><td>0</td><td></td></tr>
</table>
*/
public static final int actionBarSize=0x7f01005e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarSplitStyle=0x7f01005b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarStyle=0x7f01005a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarTabBarStyle=0x7f010055;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarTabStyle=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 final int actionBarTabTextStyle=0x7f010056;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarTheme=0x7f01005c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarWidgetTheme=0x7f01005d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionButtonStyle=0x7f01007a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionDropDownStyle=0x7f010076;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionLayout=0x7f0100cc;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionMenuTextAppearance=0x7f010061;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int actionMenuTextColor=0x7f010062;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeBackground=0x7f010065;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeCloseButtonStyle=0x7f010064;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeCloseDrawable=0x7f010067;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeCopyDrawable=0x7f010069;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeCutDrawable=0x7f010068;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeFindDrawable=0x7f01006d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModePasteDrawable=0x7f01006a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModePopupWindowStyle=0x7f01006f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeSelectAllDrawable=0x7f01006b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeShareDrawable=0x7f01006c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeSplitBackground=0x7f010066;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeStyle=0x7f010063;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeWebSearchDrawable=0x7f01006e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionOverflowButtonStyle=0x7f010057;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionOverflowMenuStyle=0x7f010058;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int actionProviderClass=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 final int actionViewClass=0x7f0100cd;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int activityChooserViewStyle=0x7f010082;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int alertDialogButtonGroupStyle=0x7f0100a7;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int alertDialogCenterButtons=0x7f0100a8;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int alertDialogStyle=0x7f0100a6;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int alertDialogTheme=0x7f0100a9;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int allowStacking=0x7f0100bc;
/** <p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int alpha=0x7f0100bd;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int arrowHeadLength=0x7f0100c4;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int arrowShaftLength=0x7f0100c5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int autoCompleteTextViewStyle=0x7f0100ae;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int background=0x7f010028;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int backgroundSplit=0x7f01002a;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int backgroundStacked=0x7f010029;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int backgroundTint=0x7f010101;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
*/
public static final int backgroundTintMode=0x7f010102;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int barLength=0x7f0100c6;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int behavior_autoHide=0x7f01012c;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int behavior_hideable=0x7f010109;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int behavior_overlapTop=0x7f010135;
/** <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>auto</code></td><td>-1</td><td></td></tr>
</table>
*/
public static final int behavior_peekHeight=0x7f010108;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int behavior_skipCollapsed=0x7f01010a;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int borderWidth=0x7f01012a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int borderlessButtonStyle=0x7f01007f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int bottomSheetDialogTheme=0x7f010124;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int bottomSheetStyle=0x7f010125;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarButtonStyle=0x7f01007c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarNegativeButtonStyle=0x7f0100ac;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarNeutralButtonStyle=0x7f0100ad;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarPositiveButtonStyle=0x7f0100ab;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarStyle=0x7f01007b;
/** <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>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
</table>
*/
public static final int buttonGravity=0x7f0100f6;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonPanelSideLayout=0x7f01003d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonStyle=0x7f0100af;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonStyleSmall=0x7f0100b0;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int buttonTint=0x7f0100be;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
*/
public static final int buttonTintMode=0x7f0100bf;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int cardBackgroundColor=0x7f010011;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int cardCornerRadius=0x7f010012;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int cardElevation=0x7f010013;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int cardMaxElevation=0x7f010014;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int cardPreventCornerOverlap=0x7f010016;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int cardUseCompatPadding=0x7f010015;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int checkboxStyle=0x7f0100b1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int checkedTextViewStyle=0x7f0100b2;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int closeIcon=0x7f0100d9;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int closeItemLayout=0x7f01003a;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int collapseContentDescription=0x7f0100f8;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int collapseIcon=0x7f0100f7;
/** <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>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x05</td><td></td></tr>
<tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr>
<tr><td><code>fill_vertical</code></td><td>0x70</td><td></td></tr>
<tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr>
<tr><td><code>center</code></td><td>0x11</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
*/
public static final int collapsedTitleGravity=0x7f010117;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int collapsedTitleTextAppearance=0x7f010111;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int color=0x7f0100c0;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorAccent=0x7f01009e;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorBackgroundFloating=0x7f0100a5;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorButtonNormal=0x7f0100a2;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorControlActivated=0x7f0100a0;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorControlHighlight=0x7f0100a1;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorControlNormal=0x7f01009f;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorPrimary=0x7f01009c;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorPrimaryDark=0x7f01009d;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int colorSwitchThumbNormal=0x7f0100a3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int commitIcon=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 final int contentInsetEnd=0x7f010033;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetEndWithActions=0x7f010037;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetLeft=0x7f010034;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetRight=0x7f010035;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetStart=0x7f010032;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentInsetStartWithNavigation=0x7f010036;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentPadding=0x7f010017;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentPaddingBottom=0x7f01001b;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentPaddingLeft=0x7f010018;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentPaddingRight=0x7f010019;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentPaddingTop=0x7f01001a;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentScrim=0x7f010112;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int controlBackground=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 final int counterEnabled=0x7f01014b;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int counterMaxLength=0x7f01014c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int counterOverflowTextAppearance=0x7f01014e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int counterTextAppearance=0x7f01014d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int customNavigationLayout=0x7f01002b;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int defaultQueryHint=0x7f0100d8;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int dialogPreferredPadding=0x7f010074;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dialogTheme=0x7f010073;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>useLogo</code></td><td>0x1</td><td></td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr>
</table>
*/
public static final int displayOptions=0x7f010021;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int divider=0x7f010027;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dividerHorizontal=0x7f010081;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int dividerPadding=0x7f0100ca;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dividerVertical=0x7f010080;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int drawableSize=0x7f0100c2;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int drawerArrowStyle=0x7f01001c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dropDownListViewStyle=0x7f010093;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int dropdownListPreferredItemHeight=0x7f010077;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int editTextBackground=0x7f010088;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int editTextColor=0x7f010087;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int editTextStyle=0x7f0100b3;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int elevation=0x7f010038;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int errorEnabled=0x7f010149;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int errorTextAppearance=0x7f01014a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int expandActivityOverflowButtonDrawable=0x7f01003c;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int expanded=0x7f010103;
/** <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>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x05</td><td></td></tr>
<tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr>
<tr><td><code>fill_vertical</code></td><td>0x70</td><td></td></tr>
<tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr>
<tr><td><code>center</code></td><td>0x11</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
*/
public static final int expandedTitleGravity=0x7f010118;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int expandedTitleMargin=0x7f01010b;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int expandedTitleMarginBottom=0x7f01010f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int expandedTitleMarginEnd=0x7f01010e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int expandedTitleMarginStart=0x7f01010c;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int expandedTitleMarginTop=0x7f01010d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int expandedTitleTextAppearance=0x7f010110;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int externalRouteEnabledDrawable=0x7f010010;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>auto</code></td><td>-1</td><td></td></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>mini</code></td><td>1</td><td></td></tr>
</table>
*/
public static final int fabSize=0x7f010128;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int foregroundInsidePadding=0x7f01012d;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int gapBetweenBars=0x7f0100c3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int goIcon=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 final int headerLayout=0x7f010133;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int height=0x7f01001d;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int hideOnContentScroll=0x7f010031;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int hintAnimationEnabled=0x7f01014f;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int hintEnabled=0x7f010148;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int hintTextAppearance=0x7f010147;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int homeAsUpIndicator=0x7f010079;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int homeLayout=0x7f01002c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int icon=0x7f010025;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int iconifiedByDefault=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 final int imageButtonStyle=0x7f010089;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int indeterminateProgressStyle=0x7f01002e;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int initialActivityCount=0x7f01003b;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int insetForeground=0x7f010134;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int isLightTheme=0x7f01001e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int itemBackground=0x7f010131;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int itemIconTint=0x7f01012f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int itemPadding=0x7f010030;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int itemTextAppearance=0x7f010132;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int itemTextColor=0x7f010130;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int keylines=0x7f01011c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int layout=0x7f0100d5;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int layoutManager=0x7f010000;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int layout_anchor=0x7f01011f;
/** <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>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x05</td><td></td></tr>
<tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr>
<tr><td><code>fill_vertical</code></td><td>0x70</td><td></td></tr>
<tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr>
<tr><td><code>fill_horizontal</code></td><td>0x07</td><td></td></tr>
<tr><td><code>center</code></td><td>0x11</td><td></td></tr>
<tr><td><code>fill</code></td><td>0x77</td><td></td></tr>
<tr><td><code>clip_vertical</code></td><td>0x80</td><td></td></tr>
<tr><td><code>clip_horizontal</code></td><td>0x08</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
*/
public static final int layout_anchorGravity=0x7f010121;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int layout_behavior=0x7f01011e;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>pin</code></td><td>1</td><td></td></tr>
<tr><td><code>parallax</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int layout_collapseMode=0x7f01011a;
/** <p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int layout_collapseParallaxMultiplier=0x7f01011b;
/** <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>0x0</td><td></td></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x03</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
<tr><td><code>all</code></td><td>0x77</td><td></td></tr>
</table>
*/
public static final int layout_dodgeInsetEdges=0x7f010123;
/** <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>0x0</td><td></td></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x03</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
*/
public static final int layout_insetEdge=0x7f010122;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int layout_keyline=0x7f010120;
/** <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>scroll</code></td><td>0x1</td><td></td></tr>
<tr><td><code>exitUntilCollapsed</code></td><td>0x2</td><td></td></tr>
<tr><td><code>enterAlways</code></td><td>0x4</td><td></td></tr>
<tr><td><code>enterAlwaysCollapsed</code></td><td>0x8</td><td></td></tr>
<tr><td><code>snap</code></td><td>0x10</td><td></td></tr>
</table>
*/
public static final int layout_scrollFlags=0x7f010106;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int layout_scrollInterpolator=0x7f010107;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listChoiceBackgroundIndicator=0x7f01009b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listDividerAlertDialog=0x7f010075;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listItemLayout=0x7f010041;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listLayout=0x7f01003e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listMenuViewStyle=0x7f0100bb;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listPopupWindowStyle=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 final int listPreferredItemHeight=0x7f01008e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemHeightLarge=0x7f010090;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemHeightSmall=0x7f01008f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemPaddingLeft=0x7f010091;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int listPreferredItemPaddingRight=0x7f010092;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int logo=0x7f010026;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int logoDescription=0x7f0100fb;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int maxActionInlineWidth=0x7f010136;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int maxButtonHeight=0x7f0100f5;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int measureWithLargestChild=0x7f0100c8;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteAudioTrackDrawable=0x7f010004;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteButtonStyle=0x7f010005;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteCloseDrawable=0x7f010006;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteControlPanelThemeOverlay=0x7f010007;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteDefaultIconDrawable=0x7f010008;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRoutePauseDrawable=0x7f010009;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRoutePlayDrawable=0x7f01000a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteSpeakerGroupIconDrawable=0x7f01000b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteSpeakerIconDrawable=0x7f01000c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteStopDrawable=0x7f01000d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteTheme=0x7f01000e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteTvIconDrawable=0x7f01000f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int menu=0x7f01012e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int multiChoiceItemLayout=0x7f01003f;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int navigationContentDescription=0x7f0100fa;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int navigationIcon=0x7f0100f9;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>listMode</code></td><td>1</td><td></td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td></td></tr>
</table>
*/
public static final int navigationMode=0x7f010020;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int overlapAnchor=0x7f0100d1;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int paddingBottomNoButtons=0x7f0100d3;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int paddingEnd=0x7f0100ff;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int paddingStart=0x7f0100fe;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int paddingTopNoTitle=0x7f0100d4;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int panelBackground=0x7f010098;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int panelMenuListTheme=0x7f01009a;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int panelMenuListWidth=0x7f010099;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int passwordToggleContentDescription=0x7f010152;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int passwordToggleDrawable=0x7f010151;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int passwordToggleEnabled=0x7f010150;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int passwordToggleTint=0x7f010153;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
*/
public static final int passwordToggleTintMode=0x7f010154;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int popupMenuStyle=0x7f010085;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int popupTheme=0x7f010039;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int popupWindowStyle=0x7f010086;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int preserveIconSpacing=0x7f0100cf;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int pressedTranslationZ=0x7f010129;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int progressBarPadding=0x7f01002f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int progressBarStyle=0x7f01002d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int queryBackground=0x7f0100e0;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int queryHint=0x7f0100d7;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int radioButtonStyle=0x7f0100b4;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int ratingBarStyle=0x7f0100b5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int ratingBarStyleIndicator=0x7f0100b6;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int ratingBarStyleSmall=0x7f0100b7;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int reverseLayout=0x7f010002;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int rippleColor=0x7f010127;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int scrimAnimationDuration=0x7f010116;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int scrimVisibleHeightTrigger=0x7f010115;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int searchHintIcon=0x7f0100dc;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int searchIcon=0x7f0100db;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int searchViewStyle=0x7f01008d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int seekBarStyle=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 final int selectableItemBackground=0x7f01007d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int selectableItemBackgroundBorderless=0x7f01007e;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>never</code></td><td>0</td><td></td></tr>
<tr><td><code>ifRoom</code></td><td>1</td><td></td></tr>
<tr><td><code>always</code></td><td>2</td><td></td></tr>
<tr><td><code>withText</code></td><td>4</td><td></td></tr>
<tr><td><code>collapseActionView</code></td><td>8</td><td></td></tr>
</table>
*/
public static final int showAsAction=0x7f0100cb;
/** <p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>beginning</code></td><td>1</td><td></td></tr>
<tr><td><code>middle</code></td><td>2</td><td></td></tr>
<tr><td><code>end</code></td><td>4</td><td></td></tr>
</table>
*/
public static final int showDividers=0x7f0100c9;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int showText=0x7f0100ec;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int showTitle=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 final int singleChoiceItemLayout=0x7f010040;
/** <p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int spanCount=0x7f010001;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int spinBars=0x7f0100c1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int spinnerDropDownItemStyle=0x7f010078;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int spinnerStyle=0x7f0100b9;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int splitTrack=0x7f0100eb;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int srcCompat=0x7f010043;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int stackFromEnd=0x7f010003;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int state_above_anchor=0x7f0100d2;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int state_collapsed=0x7f010104;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int state_collapsible=0x7f010105;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int statusBarBackground=0x7f01011d;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int statusBarScrim=0x7f010113;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int subMenuArrow=0x7f0100d0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int submitBackground=0x7f0100e1;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int subtitle=0x7f010022;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int subtitleTextAppearance=0x7f0100ee;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int subtitleTextColor=0x7f0100fd;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int subtitleTextStyle=0x7f010024;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int suggestionRowLayout=0x7f0100df;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int switchMinWidth=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 final int switchPadding=0x7f0100ea;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int switchStyle=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 final int switchTextAppearance=0x7f0100e8;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int tabBackground=0x7f01013a;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tabContentStart=0x7f010139;
/** <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>fill</code></td><td>0</td><td></td></tr>
<tr><td><code>center</code></td><td>1</td><td></td></tr>
</table>
*/
public static final int tabGravity=0x7f01013c;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tabIndicatorColor=0x7f010137;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tabIndicatorHeight=0x7f010138;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tabMaxWidth=0x7f01013e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tabMinWidth=0x7f01013d;
/** <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>scrollable</code></td><td>0</td><td></td></tr>
<tr><td><code>fixed</code></td><td>1</td><td></td></tr>
</table>
*/
public static final int tabMode=0x7f01013b;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tabPadding=0x7f010146;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tabPaddingBottom=0x7f010145;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tabPaddingEnd=0x7f010144;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tabPaddingStart=0x7f010142;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tabPaddingTop=0x7f010143;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tabSelectedTextColor=0x7f010141;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int tabTextAppearance=0x7f01013f;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tabTextColor=0x7f010140;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
*/
public static final int textAllCaps=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 final int textAppearanceLargePopupMenu=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 final int textAppearanceListItem=0x7f010095;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceListItemSecondary=0x7f010096;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceListItemSmall=0x7f010097;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearancePopupMenuHeader=0x7f010072;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceSearchResultSubtitle=0x7f01008b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceSearchResultTitle=0x7f01008a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceSmallPopupMenu=0x7f010071;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int textColorAlertDialogListItem=0x7f0100aa;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int textColorError=0x7f010126;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int textColorSearchUrl=0x7f01008c;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int theme=0x7f010100;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int thickness=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 final int thumbTextPadding=0x7f0100e7;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int thumbTint=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>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>
<tr><td><code>add</code></td><td>16</td><td></td></tr>
</table>
*/
public static final int thumbTintMode=0x7f0100e3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int tickMark=0x7f010046;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tickMarkTint=0x7f010047;
/** <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>
<tr><td><code>add</code></td><td>16</td><td></td></tr>
</table>
*/
public static final int tickMarkTintMode=0x7f010048;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int tint=0x7f010044;
/** <p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
*/
public static final int tintMode=0x7f010045;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int title=0x7f01001f;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleEnabled=0x7f010119;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMargin=0x7f0100ef;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginBottom=0x7f0100f3;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginEnd=0x7f0100f1;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginStart=0x7f0100f0;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginTop=0x7f0100f2;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMargins=0x7f0100f4;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int titleTextAppearance=0x7f0100ed;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleTextColor=0x7f0100fc;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int titleTextStyle=0x7f010023;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int toolbarId=0x7f010114;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int toolbarNavigationButtonStyle=0x7f010084;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int toolbarStyle=0x7f010083;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int track=0x7f0100e4;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int trackTint=0x7f0100e5;
/** <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>
<tr><td><code>add</code></td><td>16</td><td></td></tr>
</table>
*/
public static final int trackTintMode=0x7f0100e6;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int useCompatPadding=0x7f01012b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int voiceIcon=0x7f0100dd;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowActionBar=0x7f01004a;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowActionBarOverlay=0x7f01004c;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowActionModeOverlay=0x7f01004d;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowFixedHeightMajor=0x7f010051;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowFixedHeightMinor=0x7f01004f;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowFixedWidthMajor=0x7f01004e;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowFixedWidthMinor=0x7f010050;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowMinWidthMajor=0x7f010052;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>May be a fractional value, which is a floating point number appended with either % or %p, such as "<code>14.5%</code>".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowMinWidthMinor=0x7f010053;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowNoTitle=0x7f01004b;
}
public static final class bool {
public static final int abc_action_bar_embed_tabs=0x7f0d0000;
public static final int abc_allow_stacked_button_bar=0x7f0d0001;
public static final int abc_config_actionMenuItemAllCaps=0x7f0d0002;
public static final int abc_config_closeDialogWhenTouchOutside=0x7f0d0003;
public static final int abc_config_showMenuShortcutsWhenKeyboardPresent=0x7f0d0004;
}
public static final class color {
public static final int abc_background_cache_hint_selector_material_dark=0x7f0c004a;
public static final int abc_background_cache_hint_selector_material_light=0x7f0c004b;
public static final int abc_btn_colored_borderless_text_material=0x7f0c004c;
public static final int abc_btn_colored_text_material=0x7f0c004d;
public static final int abc_color_highlight_material=0x7f0c004e;
public static final int abc_hint_foreground_material_dark=0x7f0c004f;
public static final int abc_hint_foreground_material_light=0x7f0c0050;
public static final int abc_input_method_navigation_guard=0x7f0c0005;
public static final int abc_primary_text_disable_only_material_dark=0x7f0c0051;
public static final int abc_primary_text_disable_only_material_light=0x7f0c0052;
public static final int abc_primary_text_material_dark=0x7f0c0053;
public static final int abc_primary_text_material_light=0x7f0c0054;
public static final int abc_search_url_text=0x7f0c0055;
public static final int abc_search_url_text_normal=0x7f0c0006;
public static final int abc_search_url_text_pressed=0x7f0c0007;
public static final int abc_search_url_text_selected=0x7f0c0008;
public static final int abc_secondary_text_material_dark=0x7f0c0056;
public static final int abc_secondary_text_material_light=0x7f0c0057;
public static final int abc_tint_btn_checkable=0x7f0c0058;
public static final int abc_tint_default=0x7f0c0059;
public static final int abc_tint_edittext=0x7f0c005a;
public static final int abc_tint_seek_thumb=0x7f0c005b;
public static final int abc_tint_spinner=0x7f0c005c;
public static final int abc_tint_switch_thumb=0x7f0c005d;
public static final int abc_tint_switch_track=0x7f0c005e;
public static final int accent_material_dark=0x7f0c0009;
public static final int accent_material_light=0x7f0c000a;
public static final int background_floating_material_dark=0x7f0c000b;
public static final int background_floating_material_light=0x7f0c000c;
public static final int background_material_dark=0x7f0c000d;
public static final int background_material_light=0x7f0c000e;
public static final int bright_foreground_disabled_material_dark=0x7f0c000f;
public static final int bright_foreground_disabled_material_light=0x7f0c0010;
public static final int bright_foreground_inverse_material_dark=0x7f0c0011;
public static final int bright_foreground_inverse_material_light=0x7f0c0012;
public static final int bright_foreground_material_dark=0x7f0c0013;
public static final int bright_foreground_material_light=0x7f0c0014;
public static final int button_material_dark=0x7f0c0015;
public static final int button_material_light=0x7f0c0016;
public static final int cardview_dark_background=0x7f0c0000;
public static final int cardview_light_background=0x7f0c0001;
public static final int cardview_shadow_end_color=0x7f0c0002;
public static final int cardview_shadow_start_color=0x7f0c0003;
public static final int design_bottom_navigation_shadow_color=0x7f0c003f;
public static final int design_error=0x7f0c005f;
public static final int design_fab_shadow_end_color=0x7f0c0040;
public static final int design_fab_shadow_mid_color=0x7f0c0041;
public static final int design_fab_shadow_start_color=0x7f0c0042;
public static final int design_fab_stroke_end_inner_color=0x7f0c0043;
public static final int design_fab_stroke_end_outer_color=0x7f0c0044;
public static final int design_fab_stroke_top_inner_color=0x7f0c0045;
public static final int design_fab_stroke_top_outer_color=0x7f0c0046;
public static final int design_snackbar_background_color=0x7f0c0047;
public static final int design_textinput_error_color_dark=0x7f0c0048;
public static final int design_textinput_error_color_light=0x7f0c0049;
public static final int design_tint_password_toggle=0x7f0c0060;
public static final int dim_foreground_disabled_material_dark=0x7f0c0017;
public static final int dim_foreground_disabled_material_light=0x7f0c0018;
public static final int dim_foreground_material_dark=0x7f0c0019;
public static final int dim_foreground_material_light=0x7f0c001a;
public static final int foreground_material_dark=0x7f0c001b;
public static final int foreground_material_light=0x7f0c001c;
public static final int highlighted_text_material_dark=0x7f0c001d;
public static final int highlighted_text_material_light=0x7f0c001e;
public static final int material_blue_grey_800=0x7f0c001f;
public static final int material_blue_grey_900=0x7f0c0020;
public static final int material_blue_grey_950=0x7f0c0021;
public static final int material_deep_teal_200=0x7f0c0022;
public static final int material_deep_teal_500=0x7f0c0023;
public static final int material_grey_100=0x7f0c0024;
public static final int material_grey_300=0x7f0c0025;
public static final int material_grey_50=0x7f0c0026;
public static final int material_grey_600=0x7f0c0027;
public static final int material_grey_800=0x7f0c0028;
public static final int material_grey_850=0x7f0c0029;
public static final int material_grey_900=0x7f0c002a;
public static final int notification_action_color_filter=0x7f0c0004;
public static final int notification_icon_bg_color=0x7f0c002b;
public static final int notification_material_background_media_default_color=0x7f0c002c;
public static final int primary_dark_material_dark=0x7f0c002d;
public static final int primary_dark_material_light=0x7f0c002e;
public static final int primary_material_dark=0x7f0c002f;
public static final int primary_material_light=0x7f0c0030;
public static final int primary_text_default_material_dark=0x7f0c0031;
public static final int primary_text_default_material_light=0x7f0c0032;
public static final int primary_text_disabled_material_dark=0x7f0c0033;
public static final int primary_text_disabled_material_light=0x7f0c0034;
public static final int ripple_material_dark=0x7f0c0035;
public static final int ripple_material_light=0x7f0c0036;
public static final int secondary_text_default_material_dark=0x7f0c0037;
public static final int secondary_text_default_material_light=0x7f0c0038;
public static final int secondary_text_disabled_material_dark=0x7f0c0039;
public static final int secondary_text_disabled_material_light=0x7f0c003a;
public static final int switch_thumb_disabled_material_dark=0x7f0c003b;
public static final int switch_thumb_disabled_material_light=0x7f0c003c;
public static final int switch_thumb_material_dark=0x7f0c0061;
public static final int switch_thumb_material_light=0x7f0c0062;
public static final int switch_thumb_normal_material_dark=0x7f0c003d;
public static final int switch_thumb_normal_material_light=0x7f0c003e;
}
public static final class dimen {
public static final int abc_action_bar_content_inset_material=0x7f070018;
public static final int abc_action_bar_content_inset_with_nav=0x7f070019;
public static final int abc_action_bar_default_height_material=0x7f07000d;
public static final int abc_action_bar_default_padding_end_material=0x7f07001a;
public static final int abc_action_bar_default_padding_start_material=0x7f07001b;
public static final int abc_action_bar_elevation_material=0x7f070021;
public static final int abc_action_bar_icon_vertical_padding_material=0x7f070022;
public static final int abc_action_bar_overflow_padding_end_material=0x7f070023;
public static final int abc_action_bar_overflow_padding_start_material=0x7f070024;
public static final int abc_action_bar_progress_bar_size=0x7f07000e;
public static final int abc_action_bar_stacked_max_height=0x7f070025;
public static final int abc_action_bar_stacked_tab_max_width=0x7f070026;
public static final int abc_action_bar_subtitle_bottom_margin_material=0x7f070027;
public static final int abc_action_bar_subtitle_top_margin_material=0x7f070028;
public static final int abc_action_button_min_height_material=0x7f070029;
public static final int abc_action_button_min_width_material=0x7f07002a;
public static final int abc_action_button_min_width_overflow_material=0x7f07002b;
public static final int abc_alert_dialog_button_bar_height=0x7f07000c;
public static final int abc_button_inset_horizontal_material=0x7f07002c;
public static final int abc_button_inset_vertical_material=0x7f07002d;
public static final int abc_button_padding_horizontal_material=0x7f07002e;
public static final int abc_button_padding_vertical_material=0x7f07002f;
public static final int abc_cascading_menus_min_smallest_width=0x7f070030;
public static final int abc_config_prefDialogWidth=0x7f070011;
public static final int abc_control_corner_material=0x7f070031;
public static final int abc_control_inset_material=0x7f070032;
public static final int abc_control_padding_material=0x7f070033;
public static final int abc_dialog_fixed_height_major=0x7f070012;
public static final int abc_dialog_fixed_height_minor=0x7f070013;
public static final int abc_dialog_fixed_width_major=0x7f070014;
public static final int abc_dialog_fixed_width_minor=0x7f070015;
public static final int abc_dialog_list_padding_bottom_no_buttons=0x7f070034;
public static final int abc_dialog_list_padding_top_no_title=0x7f070035;
public static final int abc_dialog_min_width_major=0x7f070016;
public static final int abc_dialog_min_width_minor=0x7f070017;
public static final int abc_dialog_padding_material=0x7f070036;
public static final int abc_dialog_padding_top_material=0x7f070037;
public static final int abc_dialog_title_divider_material=0x7f070038;
public static final int abc_disabled_alpha_material_dark=0x7f070039;
public static final int abc_disabled_alpha_material_light=0x7f07003a;
public static final int abc_dropdownitem_icon_width=0x7f07003b;
public static final int abc_dropdownitem_text_padding_left=0x7f07003c;
public static final int abc_dropdownitem_text_padding_right=0x7f07003d;
public static final int abc_edit_text_inset_bottom_material=0x7f07003e;
public static final int abc_edit_text_inset_horizontal_material=0x7f07003f;
public static final int abc_edit_text_inset_top_material=0x7f070040;
public static final int abc_floating_window_z=0x7f070041;
public static final int abc_list_item_padding_horizontal_material=0x7f070042;
public static final int abc_panel_menu_list_width=0x7f070043;
public static final int abc_progress_bar_height_material=0x7f070044;
public static final int abc_search_view_preferred_height=0x7f070045;
public static final int abc_search_view_preferred_width=0x7f070046;
public static final int abc_seekbar_track_background_height_material=0x7f070047;
public static final int abc_seekbar_track_progress_height_material=0x7f070048;
public static final int abc_select_dialog_padding_start_material=0x7f070049;
public static final int abc_switch_padding=0x7f07001d;
public static final int abc_text_size_body_1_material=0x7f07004a;
public static final int abc_text_size_body_2_material=0x7f07004b;
public static final int abc_text_size_button_material=0x7f07004c;
public static final int abc_text_size_caption_material=0x7f07004d;
public static final int abc_text_size_display_1_material=0x7f07004e;
public static final int abc_text_size_display_2_material=0x7f07004f;
public static final int abc_text_size_display_3_material=0x7f070050;
public static final int abc_text_size_display_4_material=0x7f070051;
public static final int abc_text_size_headline_material=0x7f070052;
public static final int abc_text_size_large_material=0x7f070053;
public static final int abc_text_size_medium_material=0x7f070054;
public static final int abc_text_size_menu_header_material=0x7f070055;
public static final int abc_text_size_menu_material=0x7f070056;
public static final int abc_text_size_small_material=0x7f070057;
public static final int abc_text_size_subhead_material=0x7f070058;
public static final int abc_text_size_subtitle_material_toolbar=0x7f07000f;
public static final int abc_text_size_title_material=0x7f070059;
public static final int abc_text_size_title_material_toolbar=0x7f070010;
public static final int cardview_compat_inset_shadow=0x7f070009;
public static final int cardview_default_elevation=0x7f07000a;
public static final int cardview_default_radius=0x7f07000b;
public static final int design_appbar_elevation=0x7f070076;
public static final int design_bottom_navigation_active_item_max_width=0x7f070077;
public static final int design_bottom_navigation_active_text_size=0x7f070078;
public static final int design_bottom_navigation_elevation=0x7f070079;
public static final int design_bottom_navigation_height=0x7f07007a;
public static final int design_bottom_navigation_item_max_width=0x7f07007b;
public static final int design_bottom_navigation_item_min_width=0x7f07007c;
public static final int design_bottom_navigation_margin=0x7f07007d;
public static final int design_bottom_navigation_shadow_height=0x7f07007e;
public static final int design_bottom_navigation_text_size=0x7f07007f;
public static final int design_bottom_sheet_modal_elevation=0x7f070080;
public static final int design_bottom_sheet_peek_height_min=0x7f070081;
public static final int design_fab_border_width=0x7f070082;
public static final int design_fab_elevation=0x7f070083;
public static final int design_fab_image_size=0x7f070084;
public static final int design_fab_size_mini=0x7f070085;
public static final int design_fab_size_normal=0x7f070086;
public static final int design_fab_translation_z_pressed=0x7f070087;
public static final int design_navigation_elevation=0x7f070088;
public static final int design_navigation_icon_padding=0x7f070089;
public static final int design_navigation_icon_size=0x7f07008a;
public static final int design_navigation_max_width=0x7f07006e;
public static final int design_navigation_padding_bottom=0x7f07008b;
public static final int design_navigation_separator_vertical_padding=0x7f07008c;
public static final int design_snackbar_action_inline_max_width=0x7f07006f;
public static final int design_snackbar_background_corner_radius=0x7f070070;
public static final int design_snackbar_elevation=0x7f07008d;
public static final int design_snackbar_extra_spacing_horizontal=0x7f070071;
public static final int design_snackbar_max_width=0x7f070072;
public static final int design_snackbar_min_width=0x7f070073;
public static final int design_snackbar_padding_horizontal=0x7f07008e;
public static final int design_snackbar_padding_vertical=0x7f07008f;
public static final int design_snackbar_padding_vertical_2lines=0x7f070074;
public static final int design_snackbar_text_size=0x7f070090;
public static final int design_tab_max_width=0x7f070091;
public static final int design_tab_scrollable_min_width=0x7f070075;
public static final int design_tab_text_size=0x7f070092;
public static final int design_tab_text_size_2line=0x7f070093;
public static final int disabled_alpha_material_dark=0x7f07005a;
public static final int disabled_alpha_material_light=0x7f07005b;
public static final int highlight_alpha_material_colored=0x7f07005c;
public static final int highlight_alpha_material_dark=0x7f07005d;
public static final int highlight_alpha_material_light=0x7f07005e;
public static final int hint_alpha_material_dark=0x7f07005f;
public static final int hint_alpha_material_light=0x7f070060;
public static final int hint_pressed_alpha_material_dark=0x7f070061;
public static final int hint_pressed_alpha_material_light=0x7f070062;
public static final int item_touch_helper_max_drag_scroll_per_frame=0x7f070000;
public static final int item_touch_helper_swipe_escape_max_velocity=0x7f070001;
public static final int item_touch_helper_swipe_escape_velocity=0x7f070002;
public static final int mr_controller_volume_group_list_item_height=0x7f070003;
public static final int mr_controller_volume_group_list_item_icon_size=0x7f070004;
public static final int mr_controller_volume_group_list_max_height=0x7f070005;
public static final int mr_controller_volume_group_list_padding_top=0x7f070008;
public static final int mr_dialog_fixed_width_major=0x7f070006;
public static final int mr_dialog_fixed_width_minor=0x7f070007;
public static final int notification_action_icon_size=0x7f070063;
public static final int notification_action_text_size=0x7f070064;
public static final int notification_big_circle_margin=0x7f070065;
public static final int notification_content_margin_start=0x7f07001e;
public static final int notification_large_icon_height=0x7f070066;
public static final int notification_large_icon_width=0x7f070067;
public static final int notification_main_column_padding_top=0x7f07001f;
public static final int notification_media_narrow_margin=0x7f070020;
public static final int notification_right_icon_size=0x7f070068;
public static final int notification_right_side_padding_top=0x7f07001c;
public static final int notification_small_icon_background_padding=0x7f070069;
public static final int notification_small_icon_size_as_large=0x7f07006a;
public static final int notification_subtext_size=0x7f07006b;
public static final int notification_top_pad=0x7f07006c;
public static final int notification_top_pad_large_text=0x7f07006d;
}
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 avd_hide_password=0x7f020053;
public static final int avd_hide_password_1=0x7f02010f;
public static final int avd_hide_password_2=0x7f020110;
public static final int avd_hide_password_3=0x7f020111;
public static final int avd_show_password=0x7f020054;
public static final int avd_show_password_1=0x7f020112;
public static final int avd_show_password_2=0x7f020113;
public static final int avd_show_password_3=0x7f020114;
public static final int design_bottom_navigation_item_background=0x7f020055;
public static final int design_fab_background=0x7f020056;
public static final int design_ic_visibility=0x7f020057;
public static final int design_ic_visibility_off=0x7f020058;
public static final int design_password_eye=0x7f020059;
public static final int design_snackbar_background=0x7f02005a;
public static final int ic_audiotrack_dark=0x7f02005b;
public static final int ic_audiotrack_light=0x7f02005c;
public static final int ic_dialog_close_dark=0x7f02005d;
public static final int ic_dialog_close_light=0x7f02005e;
public static final int ic_group_collapse_00=0x7f02005f;
public static final int ic_group_collapse_01=0x7f020060;
public static final int ic_group_collapse_02=0x7f020061;
public static final int ic_group_collapse_03=0x7f020062;
public static final int ic_group_collapse_04=0x7f020063;
public static final int ic_group_collapse_05=0x7f020064;
public static final int ic_group_collapse_06=0x7f020065;
public static final int ic_group_collapse_07=0x7f020066;
public static final int ic_group_collapse_08=0x7f020067;
public static final int ic_group_collapse_09=0x7f020068;
public static final int ic_group_collapse_10=0x7f020069;
public static final int ic_group_collapse_11=0x7f02006a;
public static final int ic_group_collapse_12=0x7f02006b;
public static final int ic_group_collapse_13=0x7f02006c;
public static final int ic_group_collapse_14=0x7f02006d;
public static final int ic_group_collapse_15=0x7f02006e;
public static final int ic_group_expand_00=0x7f02006f;
public static final int ic_group_expand_01=0x7f020070;
public static final int ic_group_expand_02=0x7f020071;
public static final int ic_group_expand_03=0x7f020072;
public static final int ic_group_expand_04=0x7f020073;
public static final int ic_group_expand_05=0x7f020074;
public static final int ic_group_expand_06=0x7f020075;
public static final int ic_group_expand_07=0x7f020076;
public static final int ic_group_expand_08=0x7f020077;
public static final int ic_group_expand_09=0x7f020078;
public static final int ic_group_expand_10=0x7f020079;
public static final int ic_group_expand_11=0x7f02007a;
public static final int ic_group_expand_12=0x7f02007b;
public static final int ic_group_expand_13=0x7f02007c;
public static final int ic_group_expand_14=0x7f02007d;
public static final int ic_group_expand_15=0x7f02007e;
public static final int ic_media_pause_dark=0x7f02007f;
public static final int ic_media_pause_light=0x7f020080;
public static final int ic_media_play_dark=0x7f020081;
public static final int ic_media_play_light=0x7f020082;
public static final int ic_media_stop_dark=0x7f020083;
public static final int ic_media_stop_light=0x7f020084;
public static final int ic_mr_button_connected_00_dark=0x7f020085;
public static final int ic_mr_button_connected_00_light=0x7f020086;
public static final int ic_mr_button_connected_01_dark=0x7f020087;
public static final int ic_mr_button_connected_01_light=0x7f020088;
public static final int ic_mr_button_connected_02_dark=0x7f020089;
public static final int ic_mr_button_connected_02_light=0x7f02008a;
public static final int ic_mr_button_connected_03_dark=0x7f02008b;
public static final int ic_mr_button_connected_03_light=0x7f02008c;
public static final int ic_mr_button_connected_04_dark=0x7f02008d;
public static final int ic_mr_button_connected_04_light=0x7f02008e;
public static final int ic_mr_button_connected_05_dark=0x7f02008f;
public static final int ic_mr_button_connected_05_light=0x7f020090;
public static final int ic_mr_button_connected_06_dark=0x7f020091;
public static final int ic_mr_button_connected_06_light=0x7f020092;
public static final int ic_mr_button_connected_07_dark=0x7f020093;
public static final int ic_mr_button_connected_07_light=0x7f020094;
public static final int ic_mr_button_connected_08_dark=0x7f020095;
public static final int ic_mr_button_connected_08_light=0x7f020096;
public static final int ic_mr_button_connected_09_dark=0x7f020097;
public static final int ic_mr_button_connected_09_light=0x7f020098;
public static final int ic_mr_button_connected_10_dark=0x7f020099;
public static final int ic_mr_button_connected_10_light=0x7f02009a;
public static final int ic_mr_button_connected_11_dark=0x7f02009b;
public static final int ic_mr_button_connected_11_light=0x7f02009c;
public static final int ic_mr_button_connected_12_dark=0x7f02009d;
public static final int ic_mr_button_connected_12_light=0x7f02009e;
public static final int ic_mr_button_connected_13_dark=0x7f02009f;
public static final int ic_mr_button_connected_13_light=0x7f0200a0;
public static final int ic_mr_button_connected_14_dark=0x7f0200a1;
public static final int ic_mr_button_connected_14_light=0x7f0200a2;
public static final int ic_mr_button_connected_15_dark=0x7f0200a3;
public static final int ic_mr_button_connected_15_light=0x7f0200a4;
public static final int ic_mr_button_connected_16_dark=0x7f0200a5;
public static final int ic_mr_button_connected_16_light=0x7f0200a6;
public static final int ic_mr_button_connected_17_dark=0x7f0200a7;
public static final int ic_mr_button_connected_17_light=0x7f0200a8;
public static final int ic_mr_button_connected_18_dark=0x7f0200a9;
public static final int ic_mr_button_connected_18_light=0x7f0200aa;
public static final int ic_mr_button_connected_19_dark=0x7f0200ab;
public static final int ic_mr_button_connected_19_light=0x7f0200ac;
public static final int ic_mr_button_connected_20_dark=0x7f0200ad;
public static final int ic_mr_button_connected_20_light=0x7f0200ae;
public static final int ic_mr_button_connected_21_dark=0x7f0200af;
public static final int ic_mr_button_connected_21_light=0x7f0200b0;
public static final int ic_mr_button_connected_22_dark=0x7f0200b1;
public static final int ic_mr_button_connected_22_light=0x7f0200b2;
public static final int ic_mr_button_connecting_00_dark=0x7f0200b3;
public static final int ic_mr_button_connecting_00_light=0x7f0200b4;
public static final int ic_mr_button_connecting_01_dark=0x7f0200b5;
public static final int ic_mr_button_connecting_01_light=0x7f0200b6;
public static final int ic_mr_button_connecting_02_dark=0x7f0200b7;
public static final int ic_mr_button_connecting_02_light=0x7f0200b8;
public static final int ic_mr_button_connecting_03_dark=0x7f0200b9;
public static final int ic_mr_button_connecting_03_light=0x7f0200ba;
public static final int ic_mr_button_connecting_04_dark=0x7f0200bb;
public static final int ic_mr_button_connecting_04_light=0x7f0200bc;
public static final int ic_mr_button_connecting_05_dark=0x7f0200bd;
public static final int ic_mr_button_connecting_05_light=0x7f0200be;
public static final int ic_mr_button_connecting_06_dark=0x7f0200bf;
public static final int ic_mr_button_connecting_06_light=0x7f0200c0;
public static final int ic_mr_button_connecting_07_dark=0x7f0200c1;
public static final int ic_mr_button_connecting_07_light=0x7f0200c2;
public static final int ic_mr_button_connecting_08_dark=0x7f0200c3;
public static final int ic_mr_button_connecting_08_light=0x7f0200c4;
public static final int ic_mr_button_connecting_09_dark=0x7f0200c5;
public static final int ic_mr_button_connecting_09_light=0x7f0200c6;
public static final int ic_mr_button_connecting_10_dark=0x7f0200c7;
public static final int ic_mr_button_connecting_10_light=0x7f0200c8;
public static final int ic_mr_button_connecting_11_dark=0x7f0200c9;
public static final int ic_mr_button_connecting_11_light=0x7f0200ca;
public static final int ic_mr_button_connecting_12_dark=0x7f0200cb;
public static final int ic_mr_button_connecting_12_light=0x7f0200cc;
public static final int ic_mr_button_connecting_13_dark=0x7f0200cd;
public static final int ic_mr_button_connecting_13_light=0x7f0200ce;
public static final int ic_mr_button_connecting_14_dark=0x7f0200cf;
public static final int ic_mr_button_connecting_14_light=0x7f0200d0;
public static final int ic_mr_button_connecting_15_dark=0x7f0200d1;
public static final int ic_mr_button_connecting_15_light=0x7f0200d2;
public static final int ic_mr_button_connecting_16_dark=0x7f0200d3;
public static final int ic_mr_button_connecting_16_light=0x7f0200d4;
public static final int ic_mr_button_connecting_17_dark=0x7f0200d5;
public static final int ic_mr_button_connecting_17_light=0x7f0200d6;
public static final int ic_mr_button_connecting_18_dark=0x7f0200d7;
public static final int ic_mr_button_connecting_18_light=0x7f0200d8;
public static final int ic_mr_button_connecting_19_dark=0x7f0200d9;
public static final int ic_mr_button_connecting_19_light=0x7f0200da;
public static final int ic_mr_button_connecting_20_dark=0x7f0200db;
public static final int ic_mr_button_connecting_20_light=0x7f0200dc;
public static final int ic_mr_button_connecting_21_dark=0x7f0200dd;
public static final int ic_mr_button_connecting_21_light=0x7f0200de;
public static final int ic_mr_button_connecting_22_dark=0x7f0200df;
public static final int ic_mr_button_connecting_22_light=0x7f0200e0;
public static final int ic_mr_button_disabled_dark=0x7f0200e1;
public static final int ic_mr_button_disabled_light=0x7f0200e2;
public static final int ic_mr_button_disconnected_dark=0x7f0200e3;
public static final int ic_mr_button_disconnected_light=0x7f0200e4;
public static final int ic_mr_button_grey=0x7f0200e5;
public static final int ic_vol_type_speaker_dark=0x7f0200e6;
public static final int ic_vol_type_speaker_group_dark=0x7f0200e7;
public static final int ic_vol_type_speaker_group_light=0x7f0200e8;
public static final int ic_vol_type_speaker_light=0x7f0200e9;
public static final int ic_vol_type_tv_dark=0x7f0200ea;
public static final int ic_vol_type_tv_light=0x7f0200eb;
public static final int icon=0x7f0200ec;
public static final int mr_button_connected_dark=0x7f0200ed;
public static final int mr_button_connected_light=0x7f0200ee;
public static final int mr_button_connecting_dark=0x7f0200ef;
public static final int mr_button_connecting_light=0x7f0200f0;
public static final int mr_button_dark=0x7f0200f1;
public static final int mr_button_light=0x7f0200f2;
public static final int mr_dialog_close_dark=0x7f0200f3;
public static final int mr_dialog_close_light=0x7f0200f4;
public static final int mr_dialog_material_background_dark=0x7f0200f5;
public static final int mr_dialog_material_background_light=0x7f0200f6;
public static final int mr_group_collapse=0x7f0200f7;
public static final int mr_group_expand=0x7f0200f8;
public static final int mr_media_pause_dark=0x7f0200f9;
public static final int mr_media_pause_light=0x7f0200fa;
public static final int mr_media_play_dark=0x7f0200fb;
public static final int mr_media_play_light=0x7f0200fc;
public static final int mr_media_stop_dark=0x7f0200fd;
public static final int mr_media_stop_light=0x7f0200fe;
public static final int mr_vol_type_audiotrack_dark=0x7f0200ff;
public static final int mr_vol_type_audiotrack_light=0x7f020100;
public static final int navigation_empty_icon=0x7f020101;
public static final int notification_action_background=0x7f020102;
public static final int notification_bg=0x7f020103;
public static final int notification_bg_low=0x7f020104;
public static final int notification_bg_low_normal=0x7f020105;
public static final int notification_bg_low_pressed=0x7f020106;
public static final int notification_bg_normal=0x7f020107;
public static final int notification_bg_normal_pressed=0x7f020108;
public static final int notification_icon_background=0x7f020109;
public static final int notification_template_icon_bg=0x7f02010d;
public static final int notification_template_icon_low_bg=0x7f02010e;
public static final int notification_tile_bg=0x7f02010a;
public static final int notify_panel_notification_icon_bg=0x7f02010b;
public static final int roundedentry=0x7f02010c;
}
public static final class id {
public static final int action0=0x7f08009c;
public static final int action_bar=0x7f080062;
public static final int action_bar_activity_content=0x7f080001;
public static final int action_bar_container=0x7f080061;
public static final int action_bar_root=0x7f08005d;
public static final int action_bar_spinner=0x7f080002;
public static final int action_bar_subtitle=0x7f080040;
public static final int action_bar_title=0x7f08003f;
public static final int action_container=0x7f080099;
public static final int action_context_bar=0x7f080063;
public static final int action_divider=0x7f0800a0;
public static final int action_image=0x7f08009a;
public static final int action_menu_divider=0x7f080003;
public static final int action_menu_presenter=0x7f080004;
public static final int action_mode_bar=0x7f08005f;
public static final int action_mode_bar_stub=0x7f08005e;
public static final int action_mode_close_button=0x7f080041;
public static final int action_text=0x7f08009b;
public static final int actions=0x7f0800a9;
public static final int activity_chooser_view_content=0x7f080042;
public static final int add=0x7f08001c;
public static final int alertTitle=0x7f080056;
public static final int all=0x7f08003b;
public static final int always=0x7f080021;
public static final int auto=0x7f08002d;
public static final int beginning=0x7f08001e;
public static final int bottom=0x7f080026;
public static final int buttonPanel=0x7f080049;
public static final int cancel_action=0x7f08009d;
public static final int center=0x7f08002e;
public static final int center_horizontal=0x7f08002f;
public static final int center_vertical=0x7f080030;
public static final int checkbox=0x7f080059;
public static final int chronometer=0x7f0800a5;
public static final int clip_horizontal=0x7f080037;
public static final int clip_vertical=0x7f080038;
public static final int collapseActionView=0x7f080022;
public static final int container=0x7f080073;
public static final int contentPanel=0x7f08004c;
public static final int coordinator=0x7f080074;
public static final int custom=0x7f080053;
public static final int customPanel=0x7f080052;
public static final int decor_content_parent=0x7f080060;
public static final int default_activity_button=0x7f080045;
public static final int design_bottom_sheet=0x7f080076;
public static final int design_menu_item_action_area=0x7f08007d;
public static final int design_menu_item_action_area_stub=0x7f08007c;
public static final int design_menu_item_text=0x7f08007b;
public static final int design_navigation_view=0x7f08007a;
public static final int disableHome=0x7f080010;
public static final int edit_query=0x7f080064;
public static final int end=0x7f08001f;
public static final int end_padder=0x7f0800af;
public static final int enterAlways=0x7f080028;
public static final int enterAlwaysCollapsed=0x7f080029;
public static final int exitUntilCollapsed=0x7f08002a;
public static final int expand_activities_button=0x7f080043;
public static final int expanded_menu=0x7f080058;
public static final int fill=0x7f080039;
public static final int fill_horizontal=0x7f08003a;
public static final int fill_vertical=0x7f080031;
public static final int fixed=0x7f08003d;
public static final int home=0x7f080005;
public static final int homeAsUp=0x7f080011;
public static final int icon=0x7f080047;
public static final int icon_group=0x7f0800aa;
public static final int ifRoom=0x7f080023;
public static final int image=0x7f080044;
public static final int info=0x7f0800a6;
public static final int item_touch_helper_previous_elevation=0x7f080000;
public static final int largeLabel=0x7f080072;
public static final int left=0x7f080032;
public static final int line1=0x7f0800ab;
public static final int line3=0x7f0800ad;
public static final int listMode=0x7f08000d;
public static final int list_item=0x7f080046;
public static final int masked=0x7f0800b3;
public static final int media_actions=0x7f08009f;
public static final int middle=0x7f080020;
public static final int mini=0x7f08003c;
public static final int mr_art=0x7f08008b;
public static final int mr_chooser_list=0x7f080080;
public static final int mr_chooser_route_desc=0x7f080083;
public static final int mr_chooser_route_icon=0x7f080081;
public static final int mr_chooser_route_name=0x7f080082;
public static final int mr_chooser_title=0x7f08007f;
public static final int mr_close=0x7f080088;
public static final int mr_control_divider=0x7f08008e;
public static final int mr_control_playback_ctrl=0x7f080094;
public static final int mr_control_subtitle=0x7f080097;
public static final int mr_control_title=0x7f080096;
public static final int mr_control_title_container=0x7f080095;
public static final int mr_custom_control=0x7f080089;
public static final int mr_default_control=0x7f08008a;
public static final int mr_dialog_area=0x7f080085;
public static final int mr_expandable_area=0x7f080084;
public static final int mr_group_expand_collapse=0x7f080098;
public static final int mr_media_main_control=0x7f08008c;
public static final int mr_name=0x7f080087;
public static final int mr_playback_control=0x7f08008d;
public static final int mr_title_bar=0x7f080086;
public static final int mr_volume_control=0x7f08008f;
public static final int mr_volume_group_list=0x7f080090;
public static final int mr_volume_item_icon=0x7f080092;
public static final int mr_volume_slider=0x7f080093;
public static final int multiply=0x7f080017;
public static final int navigation_header_container=0x7f080079;
public static final int never=0x7f080024;
public static final int none=0x7f080012;
public static final int normal=0x7f08000e;
public static final int notification_background=0x7f0800a8;
public static final int notification_main_column=0x7f0800a2;
public static final int notification_main_column_container=0x7f0800a1;
public static final int parallax=0x7f080035;
public static final int parentPanel=0x7f08004b;
public static final int pin=0x7f080036;
public static final int progress_circular=0x7f080006;
public static final int progress_horizontal=0x7f080007;
public static final int radio=0x7f08005b;
public static final int right=0x7f080033;
public static final int right_icon=0x7f0800a7;
public static final int right_side=0x7f0800a3;
public static final int screen=0x7f080018;
public static final int scroll=0x7f08002b;
public static final int scrollIndicatorDown=0x7f080051;
public static final int scrollIndicatorUp=0x7f08004d;
public static final int scrollView=0x7f08004e;
public static final int scrollable=0x7f08003e;
public static final int search_badge=0x7f080066;
public static final int search_bar=0x7f080065;
public static final int search_button=0x7f080067;
public static final int search_close_btn=0x7f08006c;
public static final int search_edit_frame=0x7f080068;
public static final int search_go_btn=0x7f08006e;
public static final int search_mag_icon=0x7f080069;
public static final int search_plate=0x7f08006a;
public static final int search_src_text=0x7f08006b;
public static final int search_voice_btn=0x7f08006f;
public static final int select_dialog_listview=0x7f080070;
public static final int shortcut=0x7f08005a;
public static final int showCustom=0x7f080013;
public static final int showHome=0x7f080014;
public static final int showTitle=0x7f080015;
public static final int sliding_tabs=0x7f0800b0;
public static final int smallLabel=0x7f080071;
public static final int snackbar_action=0x7f080078;
public static final int snackbar_text=0x7f080077;
public static final int snap=0x7f08002c;
public static final int spacer=0x7f08004a;
public static final int split_action_bar=0x7f080008;
public static final int src_atop=0x7f080019;
public static final int src_in=0x7f08001a;
public static final int src_over=0x7f08001b;
public static final int start=0x7f080034;
public static final int status_bar_latest_event_content=0x7f08009e;
public static final int submenuarrow=0x7f08005c;
public static final int submit_area=0x7f08006d;
public static final int tabMode=0x7f08000f;
public static final int text=0x7f0800ae;
public static final int text2=0x7f0800ac;
public static final int textSpacerNoButtons=0x7f080050;
public static final int textSpacerNoTitle=0x7f08004f;
public static final int text_input_password_toggle=0x7f08007e;
public static final int textinput_counter=0x7f08000a;
public static final int textinput_error=0x7f08000b;
public static final int time=0x7f0800a4;
public static final int title=0x7f080048;
public static final int titleDividerNoCustom=0x7f080057;
public static final int title_template=0x7f080055;
public static final int toolbar=0x7f0800b1;
public static final int top=0x7f080027;
public static final int topPanel=0x7f080054;
public static final int touch_outside=0x7f080075;
public static final int up=0x7f080009;
public static final int useLogo=0x7f080016;
public static final int view_offset_helper=0x7f08000c;
public static final int visible=0x7f0800b2;
public static final int volume_item_container=0x7f080091;
public static final int withText=0x7f080025;
public static final int wrap_content=0x7f08001d;
}
public static final class integer {
public static final int abc_config_activityDefaultDur=0x7f0a0003;
public static final int abc_config_activityShortDur=0x7f0a0004;
public static final int app_bar_elevation_anim_duration=0x7f0a0008;
public static final int bottom_sheet_slide_duration=0x7f0a0009;
public static final int cancel_button_image_alpha=0x7f0a0005;
public static final int design_snackbar_text_max_lines=0x7f0a0007;
public static final int hide_password_duration=0x7f0a000a;
public static final int mr_controller_volume_group_list_animation_duration_ms=0x7f0a0000;
public static final int mr_controller_volume_group_list_fade_in_duration_ms=0x7f0a0001;
public static final int mr_controller_volume_group_list_fade_out_duration_ms=0x7f0a0002;
public static final int show_password_duration=0x7f0a000b;
public static final int status_bar_notification_info_maxnum=0x7f0a0006;
}
public static final class interpolator {
public static final int mr_fast_out_slow_in=0x7f060000;
public static final int mr_linear_out_slow_in=0x7f060001;
}
public static final class layout {
public static final int abc_action_bar_title_item=0x7f030000;
public static final int abc_action_bar_up_container=0x7f030001;
public static final int abc_action_bar_view_list_nav_layout=0x7f030002;
public static final int abc_action_menu_item_layout=0x7f030003;
public static final int abc_action_menu_layout=0x7f030004;
public static final int abc_action_mode_bar=0x7f030005;
public static final int abc_action_mode_close_item_material=0x7f030006;
public static final int abc_activity_chooser_view=0x7f030007;
public static final int abc_activity_chooser_view_list_item=0x7f030008;
public static final int abc_alert_dialog_button_bar_material=0x7f030009;
public static final int abc_alert_dialog_material=0x7f03000a;
public static final int abc_alert_dialog_title_material=0x7f03000b;
public static final int abc_dialog_title_material=0x7f03000c;
public static final int abc_expanded_menu_layout=0x7f03000d;
public static final int abc_list_menu_item_checkbox=0x7f03000e;
public static final int abc_list_menu_item_icon=0x7f03000f;
public static final int abc_list_menu_item_layout=0x7f030010;
public static final int abc_list_menu_item_radio=0x7f030011;
public static final int abc_popup_menu_header_item_layout=0x7f030012;
public static final int abc_popup_menu_item_layout=0x7f030013;
public static final int abc_screen_content_include=0x7f030014;
public static final int abc_screen_simple=0x7f030015;
public static final int abc_screen_simple_overlay_action_mode=0x7f030016;
public static final int abc_screen_toolbar=0x7f030017;
public static final int abc_search_dropdown_item_icons_2line=0x7f030018;
public static final int abc_search_view=0x7f030019;
public static final int abc_select_dialog_material=0x7f03001a;
public static final int design_bottom_navigation_item=0x7f03001b;
public static final int design_bottom_sheet_dialog=0x7f03001c;
public static final int design_layout_snackbar=0x7f03001d;
public static final int design_layout_snackbar_include=0x7f03001e;
public static final int design_layout_tab_icon=0x7f03001f;
public static final int design_layout_tab_text=0x7f030020;
public static final int design_menu_item_action_area=0x7f030021;
public static final int design_navigation_item=0x7f030022;
public static final int design_navigation_item_header=0x7f030023;
public static final int design_navigation_item_separator=0x7f030024;
public static final int design_navigation_item_subheader=0x7f030025;
public static final int design_navigation_menu=0x7f030026;
public static final int design_navigation_menu_item=0x7f030027;
public static final int design_text_input_password_icon=0x7f030028;
public static final int mr_chooser_dialog=0x7f030029;
public static final int mr_chooser_list_item=0x7f03002a;
public static final int mr_controller_material_dialog_b=0x7f03002b;
public static final int mr_controller_volume_item=0x7f03002c;
public static final int mr_playback_control=0x7f03002d;
public static final int mr_volume_control=0x7f03002e;
public static final int notification_action=0x7f03002f;
public static final int notification_action_tombstone=0x7f030030;
public static final int notification_media_action=0x7f030031;
public static final int notification_media_cancel_action=0x7f030032;
public static final int notification_template_big_media=0x7f030033;
public static final int notification_template_big_media_custom=0x7f030034;
public static final int notification_template_big_media_narrow=0x7f030035;
public static final int notification_template_big_media_narrow_custom=0x7f030036;
public static final int notification_template_custom_big=0x7f030037;
public static final int notification_template_icon_group=0x7f030038;
public static final int notification_template_lines_media=0x7f030039;
public static final int notification_template_media=0x7f03003a;
public static final int notification_template_media_custom=0x7f03003b;
public static final int notification_template_part_chronometer=0x7f03003c;
public static final int notification_template_part_time=0x7f03003d;
public static final int select_dialog_item_material=0x7f03003e;
public static final int select_dialog_multichoice_material=0x7f03003f;
public static final int select_dialog_singlechoice_material=0x7f030040;
public static final int support_simple_spinner_dropdown_item=0x7f030041;
public static final int tabbar=0x7f030042;
public static final int toolbar=0x7f030043;
}
public static final class string {
public static final int abc_action_bar_home_description=0x7f090015;
public static final int abc_action_bar_home_description_format=0x7f090016;
public static final int abc_action_bar_home_subtitle_description_format=0x7f090017;
public static final int abc_action_bar_up_description=0x7f090018;
public static final int abc_action_menu_overflow_description=0x7f090019;
public static final int abc_action_mode_done=0x7f09001a;
public static final int abc_activity_chooser_view_see_all=0x7f09001b;
public static final int abc_activitychooserview_choose_application=0x7f09001c;
public static final int abc_capital_off=0x7f09001d;
public static final int abc_capital_on=0x7f09001e;
public static final int abc_font_family_body_1_material=0x7f09002a;
public static final int abc_font_family_body_2_material=0x7f09002b;
public static final int abc_font_family_button_material=0x7f09002c;
public static final int abc_font_family_caption_material=0x7f09002d;
public static final int abc_font_family_display_1_material=0x7f09002e;
public static final int abc_font_family_display_2_material=0x7f09002f;
public static final int abc_font_family_display_3_material=0x7f090030;
public static final int abc_font_family_display_4_material=0x7f090031;
public static final int abc_font_family_headline_material=0x7f090032;
public static final int abc_font_family_menu_material=0x7f090033;
public static final int abc_font_family_subhead_material=0x7f090034;
public static final int abc_font_family_title_material=0x7f090035;
public static final int abc_search_hint=0x7f09001f;
public static final int abc_searchview_description_clear=0x7f090020;
public static final int abc_searchview_description_query=0x7f090021;
public static final int abc_searchview_description_search=0x7f090022;
public static final int abc_searchview_description_submit=0x7f090023;
public static final int abc_searchview_description_voice=0x7f090024;
public static final int abc_shareactionprovider_share_with=0x7f090025;
public static final int abc_shareactionprovider_share_with_application=0x7f090026;
public static final int abc_toolbar_collapse_description=0x7f090027;
public static final int appbar_scrolling_view_behavior=0x7f090036;
public static final int bottom_sheet_behavior=0x7f090037;
public static final int character_counter_pattern=0x7f090038;
public static final int mr_button_content_description=0x7f090000;
public static final int mr_cast_button_connected=0x7f090001;
public static final int mr_cast_button_connecting=0x7f090002;
public static final int mr_cast_button_disconnected=0x7f090003;
public static final int mr_chooser_searching=0x7f090004;
public static final int mr_chooser_title=0x7f090005;
public static final int mr_controller_album_art=0x7f090006;
public static final int mr_controller_casting_screen=0x7f090007;
public static final int mr_controller_close_description=0x7f090008;
public static final int mr_controller_collapse_group=0x7f090009;
public static final int mr_controller_disconnect=0x7f09000a;
public static final int mr_controller_expand_group=0x7f09000b;
public static final int mr_controller_no_info_available=0x7f09000c;
public static final int mr_controller_no_media_selected=0x7f09000d;
public static final int mr_controller_pause=0x7f09000e;
public static final int mr_controller_play=0x7f09000f;
public static final int mr_controller_stop=0x7f090014;
public static final int mr_controller_stop_casting=0x7f090010;
public static final int mr_controller_volume_slider=0x7f090011;
public static final int mr_system_route_name=0x7f090012;
public static final int mr_user_route_category_name=0x7f090013;
public static final int password_toggle_content_description=0x7f090039;
public static final int path_password_eye=0x7f09003a;
public static final int path_password_eye_mask_strike_through=0x7f09003b;
public static final int path_password_eye_mask_visible=0x7f09003c;
public static final int path_password_strike_through=0x7f09003d;
public static final int search_menu_title=0x7f090028;
public static final int status_bar_notification_info_overflow=0x7f090029;
}
public static final class style {
public static final int AlertDialog_AppCompat=0x7f0b00ae;
public static final int AlertDialog_AppCompat_Light=0x7f0b00af;
public static final int Animation_AppCompat_Dialog=0x7f0b00b0;
public static final int Animation_AppCompat_DropDownUp=0x7f0b00b1;
public static final int Animation_Design_BottomSheetDialog=0x7f0b0170;
public static final int AppCompatDialogStyle=0x7f0b018b;
public static final int Base_AlertDialog_AppCompat=0x7f0b00b2;
public static final int Base_AlertDialog_AppCompat_Light=0x7f0b00b3;
public static final int Base_Animation_AppCompat_Dialog=0x7f0b00b4;
public static final int Base_Animation_AppCompat_DropDownUp=0x7f0b00b5;
public static final int Base_CardView=0x7f0b000c;
public static final int Base_DialogWindowTitle_AppCompat=0x7f0b00b6;
public static final int Base_DialogWindowTitleBackground_AppCompat=0x7f0b00b7;
public static final int Base_TextAppearance_AppCompat=0x7f0b004e;
public static final int Base_TextAppearance_AppCompat_Body1=0x7f0b004f;
public static final int Base_TextAppearance_AppCompat_Body2=0x7f0b0050;
public static final int Base_TextAppearance_AppCompat_Button=0x7f0b0036;
public static final int Base_TextAppearance_AppCompat_Caption=0x7f0b0051;
public static final int Base_TextAppearance_AppCompat_Display1=0x7f0b0052;
public static final int Base_TextAppearance_AppCompat_Display2=0x7f0b0053;
public static final int Base_TextAppearance_AppCompat_Display3=0x7f0b0054;
public static final int Base_TextAppearance_AppCompat_Display4=0x7f0b0055;
public static final int Base_TextAppearance_AppCompat_Headline=0x7f0b0056;
public static final int Base_TextAppearance_AppCompat_Inverse=0x7f0b001a;
public static final int Base_TextAppearance_AppCompat_Large=0x7f0b0057;
public static final int Base_TextAppearance_AppCompat_Large_Inverse=0x7f0b001b;
public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0b0058;
public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0b0059;
public static final int Base_TextAppearance_AppCompat_Medium=0x7f0b005a;
public static final int Base_TextAppearance_AppCompat_Medium_Inverse=0x7f0b001c;
public static final int Base_TextAppearance_AppCompat_Menu=0x7f0b005b;
public static final int Base_TextAppearance_AppCompat_SearchResult=0x7f0b00b8;
public static final int Base_TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0b005c;
public static final int Base_TextAppearance_AppCompat_SearchResult_Title=0x7f0b005d;
public static final int Base_TextAppearance_AppCompat_Small=0x7f0b005e;
public static final int Base_TextAppearance_AppCompat_Small_Inverse=0x7f0b001d;
public static final int Base_TextAppearance_AppCompat_Subhead=0x7f0b005f;
public static final int Base_TextAppearance_AppCompat_Subhead_Inverse=0x7f0b001e;
public static final int Base_TextAppearance_AppCompat_Title=0x7f0b0060;
public static final int Base_TextAppearance_AppCompat_Title_Inverse=0x7f0b001f;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0b00a3;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0b0061;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0b0062;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0b0063;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0b0064;
public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0b0065;
public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0b0066;
public static final int Base_TextAppearance_AppCompat_Widget_Button=0x7f0b0067;
public static final int Base_TextAppearance_AppCompat_Widget_Button_Borderless_Colored=0x7f0b00aa;
public static final int Base_TextAppearance_AppCompat_Widget_Button_Colored=0x7f0b00ab;
public static final int Base_TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0b00a4;
public static final int Base_TextAppearance_AppCompat_Widget_DropDownItem=0x7f0b00b9;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Header=0x7f0b0068;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0b0069;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0b006a;
public static final int Base_TextAppearance_AppCompat_Widget_Switch=0x7f0b006b;
public static final int Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0b006c;
public static final int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0b00ba;
public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0b006d;
public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0b006e;
public static final int Base_Theme_AppCompat=0x7f0b006f;
public static final int Base_Theme_AppCompat_CompactMenu=0x7f0b00bb;
public static final int Base_Theme_AppCompat_Dialog=0x7f0b0020;
public static final int Base_Theme_AppCompat_Dialog_Alert=0x7f0b0021;
public static final int Base_Theme_AppCompat_Dialog_FixedSize=0x7f0b00bc;
public static final int Base_Theme_AppCompat_Dialog_MinWidth=0x7f0b0022;
public static final int Base_Theme_AppCompat_DialogWhenLarge=0x7f0b0010;
public static final int Base_Theme_AppCompat_Light=0x7f0b0070;
public static final int Base_Theme_AppCompat_Light_DarkActionBar=0x7f0b00bd;
public static final int Base_Theme_AppCompat_Light_Dialog=0x7f0b0023;
public static final int Base_Theme_AppCompat_Light_Dialog_Alert=0x7f0b0024;
public static final int Base_Theme_AppCompat_Light_Dialog_FixedSize=0x7f0b00be;
public static final int Base_Theme_AppCompat_Light_Dialog_MinWidth=0x7f0b0025;
public static final int Base_Theme_AppCompat_Light_DialogWhenLarge=0x7f0b0011;
public static final int Base_ThemeOverlay_AppCompat=0x7f0b00bf;
public static final int Base_ThemeOverlay_AppCompat_ActionBar=0x7f0b00c0;
public static final int Base_ThemeOverlay_AppCompat_Dark=0x7f0b00c1;
public static final int Base_ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0b00c2;
public static final int Base_ThemeOverlay_AppCompat_Dialog=0x7f0b0026;
public static final int Base_ThemeOverlay_AppCompat_Dialog_Alert=0x7f0b0027;
public static final int Base_ThemeOverlay_AppCompat_Light=0x7f0b00c3;
public static final int Base_V11_Theme_AppCompat_Dialog=0x7f0b0028;
public static final int Base_V11_Theme_AppCompat_Light_Dialog=0x7f0b0029;
public static final int Base_V11_ThemeOverlay_AppCompat_Dialog=0x7f0b002a;
public static final int Base_V12_Widget_AppCompat_AutoCompleteTextView=0x7f0b0032;
public static final int Base_V12_Widget_AppCompat_EditText=0x7f0b0033;
public static final int Base_V21_Theme_AppCompat=0x7f0b0071;
public static final int Base_V21_Theme_AppCompat_Dialog=0x7f0b0072;
public static final int Base_V21_Theme_AppCompat_Light=0x7f0b0073;
public static final int Base_V21_Theme_AppCompat_Light_Dialog=0x7f0b0074;
public static final int Base_V21_ThemeOverlay_AppCompat_Dialog=0x7f0b0075;
public static final int Base_V22_Theme_AppCompat=0x7f0b00a1;
public static final int Base_V22_Theme_AppCompat_Light=0x7f0b00a2;
public static final int Base_V23_Theme_AppCompat=0x7f0b00a5;
public static final int Base_V23_Theme_AppCompat_Light=0x7f0b00a6;
public static final int Base_V7_Theme_AppCompat=0x7f0b00c4;
public static final int Base_V7_Theme_AppCompat_Dialog=0x7f0b00c5;
public static final int Base_V7_Theme_AppCompat_Light=0x7f0b00c6;
public static final int Base_V7_Theme_AppCompat_Light_Dialog=0x7f0b00c7;
public static final int Base_V7_ThemeOverlay_AppCompat_Dialog=0x7f0b00c8;
public static final int Base_V7_Widget_AppCompat_AutoCompleteTextView=0x7f0b00c9;
public static final int Base_V7_Widget_AppCompat_EditText=0x7f0b00ca;
public static final int Base_Widget_AppCompat_ActionBar=0x7f0b00cb;
public static final int Base_Widget_AppCompat_ActionBar_Solid=0x7f0b00cc;
public static final int Base_Widget_AppCompat_ActionBar_TabBar=0x7f0b00cd;
public static final int Base_Widget_AppCompat_ActionBar_TabText=0x7f0b0076;
public static final int Base_Widget_AppCompat_ActionBar_TabView=0x7f0b0077;
public static final int Base_Widget_AppCompat_ActionButton=0x7f0b0078;
public static final int Base_Widget_AppCompat_ActionButton_CloseMode=0x7f0b0079;
public static final int Base_Widget_AppCompat_ActionButton_Overflow=0x7f0b007a;
public static final int Base_Widget_AppCompat_ActionMode=0x7f0b00ce;
public static final int Base_Widget_AppCompat_ActivityChooserView=0x7f0b00cf;
public static final int Base_Widget_AppCompat_AutoCompleteTextView=0x7f0b0034;
public static final int Base_Widget_AppCompat_Button=0x7f0b007b;
public static final int Base_Widget_AppCompat_Button_Borderless=0x7f0b007c;
public static final int Base_Widget_AppCompat_Button_Borderless_Colored=0x7f0b007d;
public static final int Base_Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0b00d0;
public static final int Base_Widget_AppCompat_Button_Colored=0x7f0b00a7;
public static final int Base_Widget_AppCompat_Button_Small=0x7f0b007e;
public static final int Base_Widget_AppCompat_ButtonBar=0x7f0b007f;
public static final int Base_Widget_AppCompat_ButtonBar_AlertDialog=0x7f0b00d1;
public static final int Base_Widget_AppCompat_CompoundButton_CheckBox=0x7f0b0080;
public static final int Base_Widget_AppCompat_CompoundButton_RadioButton=0x7f0b0081;
public static final int Base_Widget_AppCompat_CompoundButton_Switch=0x7f0b00d2;
public static final int Base_Widget_AppCompat_DrawerArrowToggle=0x7f0b000f;
public static final int Base_Widget_AppCompat_DrawerArrowToggle_Common=0x7f0b00d3;
public static final int Base_Widget_AppCompat_DropDownItem_Spinner=0x7f0b0082;
public static final int Base_Widget_AppCompat_EditText=0x7f0b0035;
public static final int Base_Widget_AppCompat_ImageButton=0x7f0b0083;
public static final int Base_Widget_AppCompat_Light_ActionBar=0x7f0b00d4;
public static final int Base_Widget_AppCompat_Light_ActionBar_Solid=0x7f0b00d5;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabBar=0x7f0b00d6;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabText=0x7f0b0084;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0b0085;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabView=0x7f0b0086;
public static final int Base_Widget_AppCompat_Light_PopupMenu=0x7f0b0087;
public static final int Base_Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0b0088;
public static final int Base_Widget_AppCompat_ListMenuView=0x7f0b00d7;
public static final int Base_Widget_AppCompat_ListPopupWindow=0x7f0b0089;
public static final int Base_Widget_AppCompat_ListView=0x7f0b008a;
public static final int Base_Widget_AppCompat_ListView_DropDown=0x7f0b008b;
public static final int Base_Widget_AppCompat_ListView_Menu=0x7f0b008c;
public static final int Base_Widget_AppCompat_PopupMenu=0x7f0b008d;
public static final int Base_Widget_AppCompat_PopupMenu_Overflow=0x7f0b008e;
public static final int Base_Widget_AppCompat_PopupWindow=0x7f0b00d8;
public static final int Base_Widget_AppCompat_ProgressBar=0x7f0b002b;
public static final int Base_Widget_AppCompat_ProgressBar_Horizontal=0x7f0b002c;
public static final int Base_Widget_AppCompat_RatingBar=0x7f0b008f;
public static final int Base_Widget_AppCompat_RatingBar_Indicator=0x7f0b00a8;
public static final int Base_Widget_AppCompat_RatingBar_Small=0x7f0b00a9;
public static final int Base_Widget_AppCompat_SearchView=0x7f0b00d9;
public static final int Base_Widget_AppCompat_SearchView_ActionBar=0x7f0b00da;
public static final int Base_Widget_AppCompat_SeekBar=0x7f0b0090;
public static final int Base_Widget_AppCompat_SeekBar_Discrete=0x7f0b00db;
public static final int Base_Widget_AppCompat_Spinner=0x7f0b0091;
public static final int Base_Widget_AppCompat_Spinner_Underlined=0x7f0b0012;
public static final int Base_Widget_AppCompat_TextView_SpinnerItem=0x7f0b0092;
public static final int Base_Widget_AppCompat_Toolbar=0x7f0b00dc;
public static final int Base_Widget_AppCompat_Toolbar_Button_Navigation=0x7f0b0093;
public static final int Base_Widget_Design_AppBarLayout=0x7f0b0171;
public static final int Base_Widget_Design_TabLayout=0x7f0b0172;
public static final int CardView=0x7f0b000b;
public static final int CardView_Dark=0x7f0b000d;
public static final int CardView_Light=0x7f0b000e;
public static final int MainTheme=0x7f0b0189;
/** Base theme applied no matter what API
*/
public static final int MainTheme_Base=0x7f0b018a;
public static final int Platform_AppCompat=0x7f0b002d;
public static final int Platform_AppCompat_Light=0x7f0b002e;
public static final int Platform_ThemeOverlay_AppCompat=0x7f0b0094;
public static final int Platform_ThemeOverlay_AppCompat_Dark=0x7f0b0095;
public static final int Platform_ThemeOverlay_AppCompat_Light=0x7f0b0096;
public static final int Platform_V11_AppCompat=0x7f0b002f;
public static final int Platform_V11_AppCompat_Light=0x7f0b0030;
public static final int Platform_V14_AppCompat=0x7f0b0037;
public static final int Platform_V14_AppCompat_Light=0x7f0b0038;
public static final int Platform_V21_AppCompat=0x7f0b0097;
public static final int Platform_V21_AppCompat_Light=0x7f0b0098;
public static final int Platform_V25_AppCompat=0x7f0b00ac;
public static final int Platform_V25_AppCompat_Light=0x7f0b00ad;
public static final int Platform_Widget_AppCompat_Spinner=0x7f0b0031;
public static final int RtlOverlay_DialogWindowTitle_AppCompat=0x7f0b0040;
public static final int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem=0x7f0b0041;
public static final int RtlOverlay_Widget_AppCompat_DialogTitle_Icon=0x7f0b0042;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem=0x7f0b0043;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup=0x7f0b0044;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text=0x7f0b0045;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown=0x7f0b0046;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1=0x7f0b0047;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2=0x7f0b0048;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Query=0x7f0b0049;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Text=0x7f0b004a;
public static final int RtlOverlay_Widget_AppCompat_SearchView_MagIcon=0x7f0b004b;
public static final int RtlUnderlay_Widget_AppCompat_ActionButton=0x7f0b004c;
public static final int RtlUnderlay_Widget_AppCompat_ActionButton_Overflow=0x7f0b004d;
public static final int TextAppearance_AppCompat=0x7f0b00dd;
public static final int TextAppearance_AppCompat_Body1=0x7f0b00de;
public static final int TextAppearance_AppCompat_Body2=0x7f0b00df;
public static final int TextAppearance_AppCompat_Button=0x7f0b00e0;
public static final int TextAppearance_AppCompat_Caption=0x7f0b00e1;
public static final int TextAppearance_AppCompat_Display1=0x7f0b00e2;
public static final int TextAppearance_AppCompat_Display2=0x7f0b00e3;
public static final int TextAppearance_AppCompat_Display3=0x7f0b00e4;
public static final int TextAppearance_AppCompat_Display4=0x7f0b00e5;
public static final int TextAppearance_AppCompat_Headline=0x7f0b00e6;
public static final int TextAppearance_AppCompat_Inverse=0x7f0b00e7;
public static final int TextAppearance_AppCompat_Large=0x7f0b00e8;
public static final int TextAppearance_AppCompat_Large_Inverse=0x7f0b00e9;
public static final int TextAppearance_AppCompat_Light_SearchResult_Subtitle=0x7f0b00ea;
public static final int TextAppearance_AppCompat_Light_SearchResult_Title=0x7f0b00eb;
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0b00ec;
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0b00ed;
public static final int TextAppearance_AppCompat_Medium=0x7f0b00ee;
public static final int TextAppearance_AppCompat_Medium_Inverse=0x7f0b00ef;
public static final int TextAppearance_AppCompat_Menu=0x7f0b00f0;
public static final int TextAppearance_AppCompat_Notification=0x7f0b0039;
public static final int TextAppearance_AppCompat_Notification_Info=0x7f0b0099;
public static final int TextAppearance_AppCompat_Notification_Info_Media=0x7f0b009a;
public static final int TextAppearance_AppCompat_Notification_Line2=0x7f0b00f1;
public static final int TextAppearance_AppCompat_Notification_Line2_Media=0x7f0b00f2;
public static final int TextAppearance_AppCompat_Notification_Media=0x7f0b009b;
public static final int TextAppearance_AppCompat_Notification_Time=0x7f0b009c;
public static final int TextAppearance_AppCompat_Notification_Time_Media=0x7f0b009d;
public static final int TextAppearance_AppCompat_Notification_Title=0x7f0b003a;
public static final int TextAppearance_AppCompat_Notification_Title_Media=0x7f0b009e;
public static final int TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0b00f3;
public static final int TextAppearance_AppCompat_SearchResult_Title=0x7f0b00f4;
public static final int TextAppearance_AppCompat_Small=0x7f0b00f5;
public static final int TextAppearance_AppCompat_Small_Inverse=0x7f0b00f6;
public static final int TextAppearance_AppCompat_Subhead=0x7f0b00f7;
public static final int TextAppearance_AppCompat_Subhead_Inverse=0x7f0b00f8;
public static final int TextAppearance_AppCompat_Title=0x7f0b00f9;
public static final int TextAppearance_AppCompat_Title_Inverse=0x7f0b00fa;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0b00fb;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0b00fc;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0b00fd;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0b00fe;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0b00ff;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0b0100;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse=0x7f0b0101;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0b0102;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse=0x7f0b0103;
public static final int TextAppearance_AppCompat_Widget_Button=0x7f0b0104;
public static final int TextAppearance_AppCompat_Widget_Button_Borderless_Colored=0x7f0b0105;
public static final int TextAppearance_AppCompat_Widget_Button_Colored=0x7f0b0106;
public static final int TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0b0107;
public static final int TextAppearance_AppCompat_Widget_DropDownItem=0x7f0b0108;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Header=0x7f0b0109;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0b010a;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0b010b;
public static final int TextAppearance_AppCompat_Widget_Switch=0x7f0b010c;
public static final int TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0b010d;
public static final int TextAppearance_Design_CollapsingToolbar_Expanded=0x7f0b0173;
public static final int TextAppearance_Design_Counter=0x7f0b0174;
public static final int TextAppearance_Design_Counter_Overflow=0x7f0b0175;
public static final int TextAppearance_Design_Error=0x7f0b0176;
public static final int TextAppearance_Design_Hint=0x7f0b0177;
public static final int TextAppearance_Design_Snackbar_Message=0x7f0b0178;
public static final int TextAppearance_Design_Tab=0x7f0b0179;
public static final int TextAppearance_MediaRouter_PrimaryText=0x7f0b0000;
public static final int TextAppearance_MediaRouter_SecondaryText=0x7f0b0001;
public static final int TextAppearance_MediaRouter_Title=0x7f0b0002;
public static final int TextAppearance_StatusBar_EventContent=0x7f0b003b;
public static final int TextAppearance_StatusBar_EventContent_Info=0x7f0b003c;
public static final int TextAppearance_StatusBar_EventContent_Line2=0x7f0b003d;
public static final int TextAppearance_StatusBar_EventContent_Time=0x7f0b003e;
public static final int TextAppearance_StatusBar_EventContent_Title=0x7f0b003f;
public static final int TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0b010e;
public static final int TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0b010f;
public static final int TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0b0110;
public static final int Theme_AppCompat=0x7f0b0111;
public static final int Theme_AppCompat_CompactMenu=0x7f0b0112;
public static final int Theme_AppCompat_DayNight=0x7f0b0013;
public static final int Theme_AppCompat_DayNight_DarkActionBar=0x7f0b0014;
public static final int Theme_AppCompat_DayNight_Dialog=0x7f0b0015;
public static final int Theme_AppCompat_DayNight_Dialog_Alert=0x7f0b0016;
public static final int Theme_AppCompat_DayNight_Dialog_MinWidth=0x7f0b0017;
public static final int Theme_AppCompat_DayNight_DialogWhenLarge=0x7f0b0018;
public static final int Theme_AppCompat_DayNight_NoActionBar=0x7f0b0019;
public static final int Theme_AppCompat_Dialog=0x7f0b0113;
public static final int Theme_AppCompat_Dialog_Alert=0x7f0b0114;
public static final int Theme_AppCompat_Dialog_MinWidth=0x7f0b0115;
public static final int Theme_AppCompat_DialogWhenLarge=0x7f0b0116;
public static final int Theme_AppCompat_Light=0x7f0b0117;
public static final int Theme_AppCompat_Light_DarkActionBar=0x7f0b0118;
public static final int Theme_AppCompat_Light_Dialog=0x7f0b0119;
public static final int Theme_AppCompat_Light_Dialog_Alert=0x7f0b011a;
public static final int Theme_AppCompat_Light_Dialog_MinWidth=0x7f0b011b;
public static final int Theme_AppCompat_Light_DialogWhenLarge=0x7f0b011c;
public static final int Theme_AppCompat_Light_NoActionBar=0x7f0b011d;
public static final int Theme_AppCompat_NoActionBar=0x7f0b011e;
public static final int Theme_Design=0x7f0b017a;
public static final int Theme_Design_BottomSheetDialog=0x7f0b017b;
public static final int Theme_Design_Light=0x7f0b017c;
public static final int Theme_Design_Light_BottomSheetDialog=0x7f0b017d;
public static final int Theme_Design_Light_NoActionBar=0x7f0b017e;
public static final int Theme_Design_NoActionBar=0x7f0b017f;
public static final int Theme_MediaRouter=0x7f0b0003;
public static final int Theme_MediaRouter_Light=0x7f0b0004;
public static final int Theme_MediaRouter_Light_DarkControlPanel=0x7f0b0005;
public static final int Theme_MediaRouter_LightControlPanel=0x7f0b0006;
public static final int ThemeOverlay_AppCompat=0x7f0b011f;
public static final int ThemeOverlay_AppCompat_ActionBar=0x7f0b0120;
public static final int ThemeOverlay_AppCompat_Dark=0x7f0b0121;
public static final int ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0b0122;
public static final int ThemeOverlay_AppCompat_Dialog=0x7f0b0123;
public static final int ThemeOverlay_AppCompat_Dialog_Alert=0x7f0b0124;
public static final int ThemeOverlay_AppCompat_Light=0x7f0b0125;
public static final int ThemeOverlay_MediaRouter_Dark=0x7f0b0007;
public static final int ThemeOverlay_MediaRouter_Light=0x7f0b0008;
public static final int Widget_AppCompat_ActionBar=0x7f0b0126;
public static final int Widget_AppCompat_ActionBar_Solid=0x7f0b0127;
public static final int Widget_AppCompat_ActionBar_TabBar=0x7f0b0128;
public static final int Widget_AppCompat_ActionBar_TabText=0x7f0b0129;
public static final int Widget_AppCompat_ActionBar_TabView=0x7f0b012a;
public static final int Widget_AppCompat_ActionButton=0x7f0b012b;
public static final int Widget_AppCompat_ActionButton_CloseMode=0x7f0b012c;
public static final int Widget_AppCompat_ActionButton_Overflow=0x7f0b012d;
public static final int Widget_AppCompat_ActionMode=0x7f0b012e;
public static final int Widget_AppCompat_ActivityChooserView=0x7f0b012f;
public static final int Widget_AppCompat_AutoCompleteTextView=0x7f0b0130;
public static final int Widget_AppCompat_Button=0x7f0b0131;
public static final int Widget_AppCompat_Button_Borderless=0x7f0b0132;
public static final int Widget_AppCompat_Button_Borderless_Colored=0x7f0b0133;
public static final int Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0b0134;
public static final int Widget_AppCompat_Button_Colored=0x7f0b0135;
public static final int Widget_AppCompat_Button_Small=0x7f0b0136;
public static final int Widget_AppCompat_ButtonBar=0x7f0b0137;
public static final int Widget_AppCompat_ButtonBar_AlertDialog=0x7f0b0138;
public static final int Widget_AppCompat_CompoundButton_CheckBox=0x7f0b0139;
public static final int Widget_AppCompat_CompoundButton_RadioButton=0x7f0b013a;
public static final int Widget_AppCompat_CompoundButton_Switch=0x7f0b013b;
public static final int Widget_AppCompat_DrawerArrowToggle=0x7f0b013c;
public static final int Widget_AppCompat_DropDownItem_Spinner=0x7f0b013d;
public static final int Widget_AppCompat_EditText=0x7f0b013e;
public static final int Widget_AppCompat_ImageButton=0x7f0b013f;
public static final int Widget_AppCompat_Light_ActionBar=0x7f0b0140;
public static final int Widget_AppCompat_Light_ActionBar_Solid=0x7f0b0141;
public static final int Widget_AppCompat_Light_ActionBar_Solid_Inverse=0x7f0b0142;
public static final int Widget_AppCompat_Light_ActionBar_TabBar=0x7f0b0143;
public static final int Widget_AppCompat_Light_ActionBar_TabBar_Inverse=0x7f0b0144;
public static final int Widget_AppCompat_Light_ActionBar_TabText=0x7f0b0145;
public static final int Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0b0146;
public static final int Widget_AppCompat_Light_ActionBar_TabView=0x7f0b0147;
public static final int Widget_AppCompat_Light_ActionBar_TabView_Inverse=0x7f0b0148;
public static final int Widget_AppCompat_Light_ActionButton=0x7f0b0149;
public static final int Widget_AppCompat_Light_ActionButton_CloseMode=0x7f0b014a;
public static final int Widget_AppCompat_Light_ActionButton_Overflow=0x7f0b014b;
public static final int Widget_AppCompat_Light_ActionMode_Inverse=0x7f0b014c;
public static final int Widget_AppCompat_Light_ActivityChooserView=0x7f0b014d;
public static final int Widget_AppCompat_Light_AutoCompleteTextView=0x7f0b014e;
public static final int Widget_AppCompat_Light_DropDownItem_Spinner=0x7f0b014f;
public static final int Widget_AppCompat_Light_ListPopupWindow=0x7f0b0150;
public static final int Widget_AppCompat_Light_ListView_DropDown=0x7f0b0151;
public static final int Widget_AppCompat_Light_PopupMenu=0x7f0b0152;
public static final int Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0b0153;
public static final int Widget_AppCompat_Light_SearchView=0x7f0b0154;
public static final int Widget_AppCompat_Light_Spinner_DropDown_ActionBar=0x7f0b0155;
public static final int Widget_AppCompat_ListMenuView=0x7f0b0156;
public static final int Widget_AppCompat_ListPopupWindow=0x7f0b0157;
public static final int Widget_AppCompat_ListView=0x7f0b0158;
public static final int Widget_AppCompat_ListView_DropDown=0x7f0b0159;
public static final int Widget_AppCompat_ListView_Menu=0x7f0b015a;
public static final int Widget_AppCompat_NotificationActionContainer=0x7f0b009f;
public static final int Widget_AppCompat_NotificationActionText=0x7f0b00a0;
public static final int Widget_AppCompat_PopupMenu=0x7f0b015b;
public static final int Widget_AppCompat_PopupMenu_Overflow=0x7f0b015c;
public static final int Widget_AppCompat_PopupWindow=0x7f0b015d;
public static final int Widget_AppCompat_ProgressBar=0x7f0b015e;
public static final int Widget_AppCompat_ProgressBar_Horizontal=0x7f0b015f;
public static final int Widget_AppCompat_RatingBar=0x7f0b0160;
public static final int Widget_AppCompat_RatingBar_Indicator=0x7f0b0161;
public static final int Widget_AppCompat_RatingBar_Small=0x7f0b0162;
public static final int Widget_AppCompat_SearchView=0x7f0b0163;
public static final int Widget_AppCompat_SearchView_ActionBar=0x7f0b0164;
public static final int Widget_AppCompat_SeekBar=0x7f0b0165;
public static final int Widget_AppCompat_SeekBar_Discrete=0x7f0b0166;
public static final int Widget_AppCompat_Spinner=0x7f0b0167;
public static final int Widget_AppCompat_Spinner_DropDown=0x7f0b0168;
public static final int Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f0b0169;
public static final int Widget_AppCompat_Spinner_Underlined=0x7f0b016a;
public static final int Widget_AppCompat_TextView_SpinnerItem=0x7f0b016b;
public static final int Widget_AppCompat_Toolbar=0x7f0b016c;
public static final int Widget_AppCompat_Toolbar_Button_Navigation=0x7f0b016d;
public static final int Widget_Design_AppBarLayout=0x7f0b016f;
public static final int Widget_Design_BottomNavigationView=0x7f0b0180;
public static final int Widget_Design_BottomSheet_Modal=0x7f0b0181;
public static final int Widget_Design_CollapsingToolbar=0x7f0b0182;
public static final int Widget_Design_CoordinatorLayout=0x7f0b0183;
public static final int Widget_Design_FloatingActionButton=0x7f0b0184;
public static final int Widget_Design_NavigationView=0x7f0b0185;
public static final int Widget_Design_ScrimInsetsFrameLayout=0x7f0b0186;
public static final int Widget_Design_Snackbar=0x7f0b0187;
public static final int Widget_Design_TabLayout=0x7f0b016e;
public static final int Widget_Design_TextInputLayout=0x7f0b0188;
public static final int Widget_MediaRouter_Light_MediaRouteButton=0x7f0b0009;
public static final int Widget_MediaRouter_MediaRouteButton=0x7f0b000a;
}
public static final class styleable {
/** Attributes that can be used with a ActionBar.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionBar_background com.companyname.RoundedEntry:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundSplit com.companyname.RoundedEntry:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundStacked com.companyname.RoundedEntry:backgroundStacked}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetEnd com.companyname.RoundedEntry:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetEndWithActions com.companyname.RoundedEntry:contentInsetEndWithActions}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetLeft com.companyname.RoundedEntry:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetRight com.companyname.RoundedEntry:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetStart com.companyname.RoundedEntry:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetStartWithNavigation com.companyname.RoundedEntry:contentInsetStartWithNavigation}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_customNavigationLayout com.companyname.RoundedEntry:customNavigationLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_displayOptions com.companyname.RoundedEntry:displayOptions}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_divider com.companyname.RoundedEntry:divider}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_elevation com.companyname.RoundedEntry:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_height com.companyname.RoundedEntry:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_hideOnContentScroll com.companyname.RoundedEntry:hideOnContentScroll}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeAsUpIndicator com.companyname.RoundedEntry:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeLayout com.companyname.RoundedEntry:homeLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_icon com.companyname.RoundedEntry:icon}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_indeterminateProgressStyle com.companyname.RoundedEntry:indeterminateProgressStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_itemPadding com.companyname.RoundedEntry:itemPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_logo com.companyname.RoundedEntry:logo}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_navigationMode com.companyname.RoundedEntry:navigationMode}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_popupTheme com.companyname.RoundedEntry:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarPadding com.companyname.RoundedEntry:progressBarPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarStyle com.companyname.RoundedEntry:progressBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitle com.companyname.RoundedEntry:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitleTextStyle com.companyname.RoundedEntry:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_title com.companyname.RoundedEntry:title}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_titleTextStyle com.companyname.RoundedEntry:titleTextStyle}</code></td><td></td></tr>
</table>
@see #ActionBar_background
@see #ActionBar_backgroundSplit
@see #ActionBar_backgroundStacked
@see #ActionBar_contentInsetEnd
@see #ActionBar_contentInsetEndWithActions
@see #ActionBar_contentInsetLeft
@see #ActionBar_contentInsetRight
@see #ActionBar_contentInsetStart
@see #ActionBar_contentInsetStartWithNavigation
@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 = {
0x7f01001d, 0x7f01001f, 0x7f010020, 0x7f010021,
0x7f010022, 0x7f010023, 0x7f010024, 0x7f010025,
0x7f010026, 0x7f010027, 0x7f010028, 0x7f010029,
0x7f01002a, 0x7f01002b, 0x7f01002c, 0x7f01002d,
0x7f01002e, 0x7f01002f, 0x7f010030, 0x7f010031,
0x7f010032, 0x7f010033, 0x7f010034, 0x7f010035,
0x7f010036, 0x7f010037, 0x7f010038, 0x7f010039,
0x7f010079
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#background}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:background
*/
public static final int ActionBar_background = 10;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#backgroundSplit}
attribute's value can be found in the {@link #ActionBar} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.companyname.RoundedEntry:backgroundSplit
*/
public static final int ActionBar_backgroundSplit = 12;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#backgroundStacked}
attribute's value can be found in the {@link #ActionBar} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.companyname.RoundedEntry:backgroundStacked
*/
public static final int ActionBar_backgroundStacked = 11;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentInsetEnd}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentInsetEnd
*/
public static final int ActionBar_contentInsetEnd = 21;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentInsetEndWithActions}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentInsetEndWithActions
*/
public static final int ActionBar_contentInsetEndWithActions = 25;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentInsetLeft}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentInsetLeft
*/
public static final int ActionBar_contentInsetLeft = 22;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentInsetRight}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentInsetRight
*/
public static final int ActionBar_contentInsetRight = 23;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentInsetStart}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentInsetStart
*/
public static final int ActionBar_contentInsetStart = 20;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentInsetStartWithNavigation}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentInsetStartWithNavigation
*/
public static final int ActionBar_contentInsetStartWithNavigation = 24;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#customNavigationLayout}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:customNavigationLayout
*/
public static final int ActionBar_customNavigationLayout = 13;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#displayOptions}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>useLogo</code></td><td>0x1</td><td></td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:displayOptions
*/
public static final int ActionBar_displayOptions = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#divider}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:divider
*/
public static final int ActionBar_divider = 9;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#elevation}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:elevation
*/
public static final int ActionBar_elevation = 26;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#height}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:height
*/
public static final int ActionBar_height = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#hideOnContentScroll}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:hideOnContentScroll
*/
public static final int ActionBar_hideOnContentScroll = 19;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#homeAsUpIndicator}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:homeAsUpIndicator
*/
public static final int ActionBar_homeAsUpIndicator = 28;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#homeLayout}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:homeLayout
*/
public static final int ActionBar_homeLayout = 14;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#icon}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:icon
*/
public static final int ActionBar_icon = 7;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#indeterminateProgressStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:indeterminateProgressStyle
*/
public static final int ActionBar_indeterminateProgressStyle = 16;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#itemPadding}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:itemPadding
*/
public static final int ActionBar_itemPadding = 18;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#logo}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:logo
*/
public static final int ActionBar_logo = 8;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#navigationMode}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>listMode</code></td><td>1</td><td></td></tr>
<tr><td><code>tabMode</code></td><td>2</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:navigationMode
*/
public static final int ActionBar_navigationMode = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#popupTheme}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:popupTheme
*/
public static final int ActionBar_popupTheme = 27;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#progressBarPadding}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:progressBarPadding
*/
public static final int ActionBar_progressBarPadding = 17;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#progressBarStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:progressBarStyle
*/
public static final int ActionBar_progressBarStyle = 15;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#subtitle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:subtitle
*/
public static final int ActionBar_subtitle = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#subtitleTextStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:subtitleTextStyle
*/
public static final int ActionBar_subtitleTextStyle = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#title}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:title
*/
public static final int ActionBar_title = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#titleTextStyle}
attribute's value can be found in the {@link #ActionBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:titleTextStyle
*/
public static final int ActionBar_titleTextStyle = 5;
/** Attributes that can be used with a ActionBarLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionBarLayout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
</table>
@see #ActionBarLayout_android_layout_gravity
*/
public static final int[] ActionBarLayout = {
0x010100b3
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #ActionBarLayout} array.
@attr name android:layout_gravity
*/
public static final int ActionBarLayout_android_layout_gravity = 0;
/** Attributes that can be used with a ActionMenuItemView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionMenuItemView_android_minWidth android:minWidth}</code></td><td></td></tr>
</table>
@see #ActionMenuItemView_android_minWidth
*/
public static final int[] ActionMenuItemView = {
0x0101013f
};
/**
<p>This symbol is the offset where the {@link android.R.attr#minWidth}
attribute's value can be found in the {@link #ActionMenuItemView} array.
@attr name android:minWidth
*/
public static final int ActionMenuItemView_android_minWidth = 0;
/** Attributes that can be used with a ActionMenuView.
*/
public static final int[] ActionMenuView = {
};
/** Attributes that can be used with a ActionMode.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActionMode_background com.companyname.RoundedEntry:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_backgroundSplit com.companyname.RoundedEntry:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_closeItemLayout com.companyname.RoundedEntry:closeItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_height com.companyname.RoundedEntry:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_subtitleTextStyle com.companyname.RoundedEntry:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_titleTextStyle com.companyname.RoundedEntry: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 = {
0x7f01001d, 0x7f010023, 0x7f010024, 0x7f010028,
0x7f01002a, 0x7f01003a
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#background}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:background
*/
public static final int ActionMode_background = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#backgroundSplit}
attribute's value can be found in the {@link #ActionMode} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.companyname.RoundedEntry:backgroundSplit
*/
public static final int ActionMode_backgroundSplit = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#closeItemLayout}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:closeItemLayout
*/
public static final int ActionMode_closeItemLayout = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#height}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:height
*/
public static final int ActionMode_height = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#subtitleTextStyle}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:subtitleTextStyle
*/
public static final int ActionMode_subtitleTextStyle = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#titleTextStyle}
attribute's value can be found in the {@link #ActionMode} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:titleTextStyle
*/
public static final int ActionMode_titleTextStyle = 1;
/** Attributes that can be used with a ActivityChooserView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ActivityChooserView_expandActivityOverflowButtonDrawable com.companyname.RoundedEntry:expandActivityOverflowButtonDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #ActivityChooserView_initialActivityCount com.companyname.RoundedEntry:initialActivityCount}</code></td><td></td></tr>
</table>
@see #ActivityChooserView_expandActivityOverflowButtonDrawable
@see #ActivityChooserView_initialActivityCount
*/
public static final int[] ActivityChooserView = {
0x7f01003b, 0x7f01003c
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#expandActivityOverflowButtonDrawable}
attribute's value can be found in the {@link #ActivityChooserView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:expandActivityOverflowButtonDrawable
*/
public static final int ActivityChooserView_expandActivityOverflowButtonDrawable = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#initialActivityCount}
attribute's value can be found in the {@link #ActivityChooserView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:initialActivityCount
*/
public static final int ActivityChooserView_initialActivityCount = 0;
/** Attributes that can be used with a AlertDialog.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AlertDialog_android_layout android:layout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_buttonPanelSideLayout com.companyname.RoundedEntry:buttonPanelSideLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_listItemLayout com.companyname.RoundedEntry:listItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_listLayout com.companyname.RoundedEntry:listLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_multiChoiceItemLayout com.companyname.RoundedEntry:multiChoiceItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_showTitle com.companyname.RoundedEntry:showTitle}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_singleChoiceItemLayout com.companyname.RoundedEntry: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_showTitle
@see #AlertDialog_singleChoiceItemLayout
*/
public static final int[] AlertDialog = {
0x010100f2, 0x7f01003d, 0x7f01003e, 0x7f01003f,
0x7f010040, 0x7f010041, 0x7f010042
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #AlertDialog} array.
@attr name android:layout
*/
public static final int AlertDialog_android_layout = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#buttonPanelSideLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:buttonPanelSideLayout
*/
public static final int AlertDialog_buttonPanelSideLayout = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#listItemLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:listItemLayout
*/
public static final int AlertDialog_listItemLayout = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#listLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:listLayout
*/
public static final int AlertDialog_listLayout = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#multiChoiceItemLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:multiChoiceItemLayout
*/
public static final int AlertDialog_multiChoiceItemLayout = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#showTitle}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:showTitle
*/
public static final int AlertDialog_showTitle = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#singleChoiceItemLayout}
attribute's value can be found in the {@link #AlertDialog} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:singleChoiceItemLayout
*/
public static final int AlertDialog_singleChoiceItemLayout = 4;
/** Attributes that can be used with a AppBarLayout.
<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 #AppBarLayout_android_background android:background}</code></td><td></td></tr>
<tr><td><code>{@link #AppBarLayout_elevation com.companyname.RoundedEntry:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #AppBarLayout_expanded com.companyname.RoundedEntry:expanded}</code></td><td></td></tr>
</table>
@see #AppBarLayout_android_background
@see #AppBarLayout_elevation
@see #AppBarLayout_expanded
*/
public static final int[] AppBarLayout = {
0x010100d4, 0x7f010038, 0x7f010103
};
/**
<p>This symbol is the offset where the {@link android.R.attr#background}
attribute's value can be found in the {@link #AppBarLayout} array.
@attr name android:background
*/
public static final int AppBarLayout_android_background = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#elevation}
attribute's value can be found in the {@link #AppBarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:elevation
*/
public static final int AppBarLayout_elevation = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#expanded}
attribute's value can be found in the {@link #AppBarLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:expanded
*/
public static final int AppBarLayout_expanded = 2;
/** Attributes that can be used with a AppBarLayoutStates.
<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 #AppBarLayoutStates_state_collapsed com.companyname.RoundedEntry:state_collapsed}</code></td><td></td></tr>
<tr><td><code>{@link #AppBarLayoutStates_state_collapsible com.companyname.RoundedEntry:state_collapsible}</code></td><td></td></tr>
</table>
@see #AppBarLayoutStates_state_collapsed
@see #AppBarLayoutStates_state_collapsible
*/
public static final int[] AppBarLayoutStates = {
0x7f010104, 0x7f010105
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#state_collapsed}
attribute's value can be found in the {@link #AppBarLayoutStates} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:state_collapsed
*/
public static final int AppBarLayoutStates_state_collapsed = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#state_collapsible}
attribute's value can be found in the {@link #AppBarLayoutStates} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:state_collapsible
*/
public static final int AppBarLayoutStates_state_collapsible = 1;
/** Attributes that can be used with a AppBarLayout_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 #AppBarLayout_Layout_layout_scrollFlags com.companyname.RoundedEntry:layout_scrollFlags}</code></td><td></td></tr>
<tr><td><code>{@link #AppBarLayout_Layout_layout_scrollInterpolator com.companyname.RoundedEntry:layout_scrollInterpolator}</code></td><td></td></tr>
</table>
@see #AppBarLayout_Layout_layout_scrollFlags
@see #AppBarLayout_Layout_layout_scrollInterpolator
*/
public static final int[] AppBarLayout_Layout = {
0x7f010106, 0x7f010107
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#layout_scrollFlags}
attribute's value can be found in the {@link #AppBarLayout_Layout} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>scroll</code></td><td>0x1</td><td></td></tr>
<tr><td><code>exitUntilCollapsed</code></td><td>0x2</td><td></td></tr>
<tr><td><code>enterAlways</code></td><td>0x4</td><td></td></tr>
<tr><td><code>enterAlwaysCollapsed</code></td><td>0x8</td><td></td></tr>
<tr><td><code>snap</code></td><td>0x10</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:layout_scrollFlags
*/
public static final int AppBarLayout_Layout_layout_scrollFlags = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#layout_scrollInterpolator}
attribute's value can be found in the {@link #AppBarLayout_Layout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:layout_scrollInterpolator
*/
public static final int AppBarLayout_Layout_layout_scrollInterpolator = 1;
/** Attributes that can be used with a AppCompatImageView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AppCompatImageView_android_src android:src}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatImageView_srcCompat com.companyname.RoundedEntry:srcCompat}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatImageView_tint com.companyname.RoundedEntry:tint}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatImageView_tintMode com.companyname.RoundedEntry:tintMode}</code></td><td></td></tr>
</table>
@see #AppCompatImageView_android_src
@see #AppCompatImageView_srcCompat
@see #AppCompatImageView_tint
@see #AppCompatImageView_tintMode
*/
public static final int[] AppCompatImageView = {
0x01010119, 0x7f010043, 0x7f010044, 0x7f010045
};
/**
<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 final int AppCompatImageView_android_src = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:srcCompat
*/
public static final int AppCompatImageView_srcCompat = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tint}
attribute's value can be found in the {@link #AppCompatImageView} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tint
*/
public static final int AppCompatImageView_tint = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tintMode}
attribute's value can be found in the {@link #AppCompatImageView} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:tintMode
*/
public static final int AppCompatImageView_tintMode = 3;
/** Attributes that can be used with a AppCompatSeekBar.
<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 #AppCompatSeekBar_android_thumb android:thumb}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatSeekBar_tickMark com.companyname.RoundedEntry:tickMark}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatSeekBar_tickMarkTint com.companyname.RoundedEntry:tickMarkTint}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatSeekBar_tickMarkTintMode com.companyname.RoundedEntry:tickMarkTintMode}</code></td><td></td></tr>
</table>
@see #AppCompatSeekBar_android_thumb
@see #AppCompatSeekBar_tickMark
@see #AppCompatSeekBar_tickMarkTint
@see #AppCompatSeekBar_tickMarkTintMode
*/
public static final int[] AppCompatSeekBar = {
0x01010142, 0x7f010046, 0x7f010047, 0x7f010048
};
/**
<p>This symbol is the offset where the {@link android.R.attr#thumb}
attribute's value can be found in the {@link #AppCompatSeekBar} array.
@attr name android:thumb
*/
public static final int AppCompatSeekBar_android_thumb = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tickMark}
attribute's value can be found in the {@link #AppCompatSeekBar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:tickMark
*/
public static final int AppCompatSeekBar_tickMark = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tickMarkTint}
attribute's value can be found in the {@link #AppCompatSeekBar} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tickMarkTint
*/
public static final int AppCompatSeekBar_tickMarkTint = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tickMarkTintMode}
attribute's value can be found in the {@link #AppCompatSeekBar} 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>
<tr><td><code>add</code></td><td>16</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:tickMarkTintMode
*/
public static final int AppCompatSeekBar_tickMarkTintMode = 3;
/** Attributes that can be used with a AppCompatTextHelper.
<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 #AppCompatTextHelper_android_drawableBottom android:drawableBottom}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTextHelper_android_drawableEnd android:drawableEnd}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTextHelper_android_drawableLeft android:drawableLeft}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTextHelper_android_drawableRight android:drawableRight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTextHelper_android_drawableStart android:drawableStart}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTextHelper_android_drawableTop android:drawableTop}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTextHelper_android_textAppearance android:textAppearance}</code></td><td></td></tr>
</table>
@see #AppCompatTextHelper_android_drawableBottom
@see #AppCompatTextHelper_android_drawableEnd
@see #AppCompatTextHelper_android_drawableLeft
@see #AppCompatTextHelper_android_drawableRight
@see #AppCompatTextHelper_android_drawableStart
@see #AppCompatTextHelper_android_drawableTop
@see #AppCompatTextHelper_android_textAppearance
*/
public static final int[] AppCompatTextHelper = {
0x01010034, 0x0101016d, 0x0101016e, 0x0101016f,
0x01010170, 0x01010392, 0x01010393
};
/**
<p>This symbol is the offset where the {@link android.R.attr#drawableBottom}
attribute's value can be found in the {@link #AppCompatTextHelper} array.
@attr name android:drawableBottom
*/
public static final int AppCompatTextHelper_android_drawableBottom = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#drawableEnd}
attribute's value can be found in the {@link #AppCompatTextHelper} array.
@attr name android:drawableEnd
*/
public static final int AppCompatTextHelper_android_drawableEnd = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#drawableLeft}
attribute's value can be found in the {@link #AppCompatTextHelper} array.
@attr name android:drawableLeft
*/
public static final int AppCompatTextHelper_android_drawableLeft = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#drawableRight}
attribute's value can be found in the {@link #AppCompatTextHelper} array.
@attr name android:drawableRight
*/
public static final int AppCompatTextHelper_android_drawableRight = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#drawableStart}
attribute's value can be found in the {@link #AppCompatTextHelper} array.
@attr name android:drawableStart
*/
public static final int AppCompatTextHelper_android_drawableStart = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#drawableTop}
attribute's value can be found in the {@link #AppCompatTextHelper} array.
@attr name android:drawableTop
*/
public static final int AppCompatTextHelper_android_drawableTop = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#textAppearance}
attribute's value can be found in the {@link #AppCompatTextHelper} array.
@attr name android:textAppearance
*/
public static final int AppCompatTextHelper_android_textAppearance = 0;
/** Attributes that can be used with a AppCompatTextView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AppCompatTextView_android_textAppearance android:textAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTextView_textAllCaps com.companyname.RoundedEntry:textAllCaps}</code></td><td></td></tr>
</table>
@see #AppCompatTextView_android_textAppearance
@see #AppCompatTextView_textAllCaps
*/
public static final int[] AppCompatTextView = {
0x01010034, 0x7f010049
};
/**
<p>This symbol is the offset where the {@link android.R.attr#textAppearance}
attribute's value can be found in the {@link #AppCompatTextView} array.
@attr name android:textAppearance
*/
public static final int AppCompatTextView_android_textAppearance = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#textAllCaps}
attribute's value can be found in the {@link #AppCompatTextView} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
@attr name com.companyname.RoundedEntry:textAllCaps
*/
public static final int AppCompatTextView_textAllCaps = 1;
/** Attributes that can be used with a AppCompatTheme.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarDivider com.companyname.RoundedEntry:actionBarDivider}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarItemBackground com.companyname.RoundedEntry:actionBarItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarPopupTheme com.companyname.RoundedEntry:actionBarPopupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarSize com.companyname.RoundedEntry:actionBarSize}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarSplitStyle com.companyname.RoundedEntry:actionBarSplitStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarStyle com.companyname.RoundedEntry:actionBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTabBarStyle com.companyname.RoundedEntry:actionBarTabBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTabStyle com.companyname.RoundedEntry:actionBarTabStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTabTextStyle com.companyname.RoundedEntry:actionBarTabTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTheme com.companyname.RoundedEntry:actionBarTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarWidgetTheme com.companyname.RoundedEntry:actionBarWidgetTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionButtonStyle com.companyname.RoundedEntry:actionButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionDropDownStyle com.companyname.RoundedEntry:actionDropDownStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionMenuTextAppearance com.companyname.RoundedEntry:actionMenuTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionMenuTextColor com.companyname.RoundedEntry:actionMenuTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeBackground com.companyname.RoundedEntry:actionModeBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCloseButtonStyle com.companyname.RoundedEntry:actionModeCloseButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCloseDrawable com.companyname.RoundedEntry:actionModeCloseDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCopyDrawable com.companyname.RoundedEntry:actionModeCopyDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCutDrawable com.companyname.RoundedEntry:actionModeCutDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeFindDrawable com.companyname.RoundedEntry:actionModeFindDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModePasteDrawable com.companyname.RoundedEntry:actionModePasteDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModePopupWindowStyle com.companyname.RoundedEntry:actionModePopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeSelectAllDrawable com.companyname.RoundedEntry:actionModeSelectAllDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeShareDrawable com.companyname.RoundedEntry:actionModeShareDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeSplitBackground com.companyname.RoundedEntry:actionModeSplitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeStyle com.companyname.RoundedEntry:actionModeStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeWebSearchDrawable com.companyname.RoundedEntry:actionModeWebSearchDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionOverflowButtonStyle com.companyname.RoundedEntry:actionOverflowButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionOverflowMenuStyle com.companyname.RoundedEntry:actionOverflowMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_activityChooserViewStyle com.companyname.RoundedEntry:activityChooserViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogButtonGroupStyle com.companyname.RoundedEntry:alertDialogButtonGroupStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogCenterButtons com.companyname.RoundedEntry:alertDialogCenterButtons}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogStyle com.companyname.RoundedEntry:alertDialogStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogTheme com.companyname.RoundedEntry: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 com.companyname.RoundedEntry:autoCompleteTextViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_borderlessButtonStyle com.companyname.RoundedEntry:borderlessButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarButtonStyle com.companyname.RoundedEntry:buttonBarButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarNegativeButtonStyle com.companyname.RoundedEntry:buttonBarNegativeButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarNeutralButtonStyle com.companyname.RoundedEntry:buttonBarNeutralButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarPositiveButtonStyle com.companyname.RoundedEntry:buttonBarPositiveButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarStyle com.companyname.RoundedEntry:buttonBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonStyle com.companyname.RoundedEntry:buttonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonStyleSmall com.companyname.RoundedEntry:buttonStyleSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_checkboxStyle com.companyname.RoundedEntry:checkboxStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_checkedTextViewStyle com.companyname.RoundedEntry:checkedTextViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorAccent com.companyname.RoundedEntry:colorAccent}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorBackgroundFloating com.companyname.RoundedEntry:colorBackgroundFloating}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorButtonNormal com.companyname.RoundedEntry:colorButtonNormal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorControlActivated com.companyname.RoundedEntry:colorControlActivated}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorControlHighlight com.companyname.RoundedEntry:colorControlHighlight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorControlNormal com.companyname.RoundedEntry:colorControlNormal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorPrimary com.companyname.RoundedEntry:colorPrimary}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorPrimaryDark com.companyname.RoundedEntry:colorPrimaryDark}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorSwitchThumbNormal com.companyname.RoundedEntry:colorSwitchThumbNormal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_controlBackground com.companyname.RoundedEntry:controlBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dialogPreferredPadding com.companyname.RoundedEntry:dialogPreferredPadding}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dialogTheme com.companyname.RoundedEntry:dialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dividerHorizontal com.companyname.RoundedEntry:dividerHorizontal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dividerVertical com.companyname.RoundedEntry:dividerVertical}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dropDownListViewStyle com.companyname.RoundedEntry:dropDownListViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dropdownListPreferredItemHeight com.companyname.RoundedEntry:dropdownListPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_editTextBackground com.companyname.RoundedEntry:editTextBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_editTextColor com.companyname.RoundedEntry:editTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_editTextStyle com.companyname.RoundedEntry:editTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_homeAsUpIndicator com.companyname.RoundedEntry:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_imageButtonStyle com.companyname.RoundedEntry:imageButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listChoiceBackgroundIndicator com.companyname.RoundedEntry:listChoiceBackgroundIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listDividerAlertDialog com.companyname.RoundedEntry:listDividerAlertDialog}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listMenuViewStyle com.companyname.RoundedEntry:listMenuViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPopupWindowStyle com.companyname.RoundedEntry:listPopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemHeight com.companyname.RoundedEntry:listPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightLarge com.companyname.RoundedEntry:listPreferredItemHeightLarge}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightSmall com.companyname.RoundedEntry:listPreferredItemHeightSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingLeft com.companyname.RoundedEntry:listPreferredItemPaddingLeft}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingRight com.companyname.RoundedEntry:listPreferredItemPaddingRight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_panelBackground com.companyname.RoundedEntry:panelBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_panelMenuListTheme com.companyname.RoundedEntry:panelMenuListTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_panelMenuListWidth com.companyname.RoundedEntry:panelMenuListWidth}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_popupMenuStyle com.companyname.RoundedEntry:popupMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_popupWindowStyle com.companyname.RoundedEntry:popupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_radioButtonStyle com.companyname.RoundedEntry:radioButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_ratingBarStyle com.companyname.RoundedEntry:ratingBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_ratingBarStyleIndicator com.companyname.RoundedEntry:ratingBarStyleIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_ratingBarStyleSmall com.companyname.RoundedEntry:ratingBarStyleSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_searchViewStyle com.companyname.RoundedEntry:searchViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_seekBarStyle com.companyname.RoundedEntry:seekBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_selectableItemBackground com.companyname.RoundedEntry:selectableItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_selectableItemBackgroundBorderless com.companyname.RoundedEntry:selectableItemBackgroundBorderless}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_spinnerDropDownItemStyle com.companyname.RoundedEntry:spinnerDropDownItemStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_spinnerStyle com.companyname.RoundedEntry:spinnerStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_switchStyle com.companyname.RoundedEntry:switchStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceLargePopupMenu com.companyname.RoundedEntry:textAppearanceLargePopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceListItem com.companyname.RoundedEntry:textAppearanceListItem}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceListItemSecondary com.companyname.RoundedEntry:textAppearanceListItemSecondary}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceListItemSmall com.companyname.RoundedEntry:textAppearanceListItemSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearancePopupMenuHeader com.companyname.RoundedEntry:textAppearancePopupMenuHeader}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultSubtitle com.companyname.RoundedEntry:textAppearanceSearchResultSubtitle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultTitle com.companyname.RoundedEntry:textAppearanceSearchResultTitle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceSmallPopupMenu com.companyname.RoundedEntry:textAppearanceSmallPopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textColorAlertDialogListItem com.companyname.RoundedEntry:textColorAlertDialogListItem}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textColorSearchUrl com.companyname.RoundedEntry:textColorSearchUrl}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_toolbarNavigationButtonStyle com.companyname.RoundedEntry:toolbarNavigationButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_toolbarStyle com.companyname.RoundedEntry:toolbarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowActionBar com.companyname.RoundedEntry:windowActionBar}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowActionBarOverlay com.companyname.RoundedEntry:windowActionBarOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowActionModeOverlay com.companyname.RoundedEntry:windowActionModeOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedHeightMajor com.companyname.RoundedEntry:windowFixedHeightMajor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedHeightMinor com.companyname.RoundedEntry:windowFixedHeightMinor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedWidthMajor com.companyname.RoundedEntry:windowFixedWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedWidthMinor com.companyname.RoundedEntry:windowFixedWidthMinor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowMinWidthMajor com.companyname.RoundedEntry:windowMinWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowMinWidthMinor com.companyname.RoundedEntry:windowMinWidthMinor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowNoTitle com.companyname.RoundedEntry: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_colorBackgroundFloating
@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_listMenuViewStyle
@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_textAppearanceListItemSecondary
@see #AppCompatTheme_textAppearanceListItemSmall
@see #AppCompatTheme_textAppearancePopupMenuHeader
@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, 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, 0x7f0100a1, 0x7f0100a2, 0x7f0100a3,
0x7f0100a4, 0x7f0100a5, 0x7f0100a6, 0x7f0100a7,
0x7f0100a8, 0x7f0100a9, 0x7f0100aa, 0x7f0100ab,
0x7f0100ac, 0x7f0100ad, 0x7f0100ae, 0x7f0100af,
0x7f0100b0, 0x7f0100b1, 0x7f0100b2, 0x7f0100b3,
0x7f0100b4, 0x7f0100b5, 0x7f0100b6, 0x7f0100b7,
0x7f0100b8, 0x7f0100b9, 0x7f0100ba, 0x7f0100bb
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionBarDivider
*/
public static final int AppCompatTheme_actionBarDivider = 23;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionBarItemBackground
*/
public static final int AppCompatTheme_actionBarItemBackground = 24;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionBarPopupTheme
*/
public static final int AppCompatTheme_actionBarPopupTheme = 17;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionBarSize
*/
public static final int AppCompatTheme_actionBarSize = 22;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionBarSplitStyle
*/
public static final int AppCompatTheme_actionBarSplitStyle = 19;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionBarStyle
*/
public static final int AppCompatTheme_actionBarStyle = 18;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionBarTabBarStyle
*/
public static final int AppCompatTheme_actionBarTabBarStyle = 13;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionBarTabStyle
*/
public static final int AppCompatTheme_actionBarTabStyle = 12;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionBarTabTextStyle
*/
public static final int AppCompatTheme_actionBarTabTextStyle = 14;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionBarTheme
*/
public static final int AppCompatTheme_actionBarTheme = 20;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionBarWidgetTheme
*/
public static final int AppCompatTheme_actionBarWidgetTheme = 21;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionButtonStyle
*/
public static final int AppCompatTheme_actionButtonStyle = 50;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionDropDownStyle
*/
public static final int AppCompatTheme_actionDropDownStyle = 46;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionMenuTextAppearance
*/
public static final int AppCompatTheme_actionMenuTextAppearance = 25;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionMenuTextColor
*/
public static final int AppCompatTheme_actionMenuTextColor = 26;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModeBackground
*/
public static final int AppCompatTheme_actionModeBackground = 29;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModeCloseButtonStyle
*/
public static final int AppCompatTheme_actionModeCloseButtonStyle = 28;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModeCloseDrawable
*/
public static final int AppCompatTheme_actionModeCloseDrawable = 31;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModeCopyDrawable
*/
public static final int AppCompatTheme_actionModeCopyDrawable = 33;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModeCutDrawable
*/
public static final int AppCompatTheme_actionModeCutDrawable = 32;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModeFindDrawable
*/
public static final int AppCompatTheme_actionModeFindDrawable = 37;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModePasteDrawable
*/
public static final int AppCompatTheme_actionModePasteDrawable = 34;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModePopupWindowStyle
*/
public static final int AppCompatTheme_actionModePopupWindowStyle = 39;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModeSelectAllDrawable
*/
public static final int AppCompatTheme_actionModeSelectAllDrawable = 35;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModeShareDrawable
*/
public static final int AppCompatTheme_actionModeShareDrawable = 36;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModeSplitBackground
*/
public static final int AppCompatTheme_actionModeSplitBackground = 30;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModeStyle
*/
public static final int AppCompatTheme_actionModeStyle = 27;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionModeWebSearchDrawable
*/
public static final int AppCompatTheme_actionModeWebSearchDrawable = 38;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionOverflowButtonStyle
*/
public static final int AppCompatTheme_actionOverflowButtonStyle = 15;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:actionOverflowMenuStyle
*/
public static final int AppCompatTheme_actionOverflowMenuStyle = 16;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:activityChooserViewStyle
*/
public static final int AppCompatTheme_activityChooserViewStyle = 58;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:alertDialogButtonGroupStyle
*/
public static final int AppCompatTheme_alertDialogButtonGroupStyle = 95;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:alertDialogCenterButtons
*/
public static final int AppCompatTheme_alertDialogCenterButtons = 96;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:alertDialogStyle
*/
public static final int AppCompatTheme_alertDialogStyle = 94;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:alertDialogTheme
*/
public static final int AppCompatTheme_alertDialogTheme = 97;
/**
<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 final 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 final int AppCompatTheme_android_windowIsFloating = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:autoCompleteTextViewStyle
*/
public static final int AppCompatTheme_autoCompleteTextViewStyle = 102;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:borderlessButtonStyle
*/
public static final int AppCompatTheme_borderlessButtonStyle = 55;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:buttonBarButtonStyle
*/
public static final int AppCompatTheme_buttonBarButtonStyle = 52;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:buttonBarNegativeButtonStyle
*/
public static final int AppCompatTheme_buttonBarNegativeButtonStyle = 100;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:buttonBarNeutralButtonStyle
*/
public static final int AppCompatTheme_buttonBarNeutralButtonStyle = 101;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:buttonBarPositiveButtonStyle
*/
public static final int AppCompatTheme_buttonBarPositiveButtonStyle = 99;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:buttonBarStyle
*/
public static final int AppCompatTheme_buttonBarStyle = 51;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:buttonStyle
*/
public static final int AppCompatTheme_buttonStyle = 103;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:buttonStyleSmall
*/
public static final int AppCompatTheme_buttonStyleSmall = 104;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:checkboxStyle
*/
public static final int AppCompatTheme_checkboxStyle = 105;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:checkedTextViewStyle
*/
public static final int AppCompatTheme_checkedTextViewStyle = 106;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:colorAccent
*/
public static final int AppCompatTheme_colorAccent = 86;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#colorBackgroundFloating}
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 com.companyname.RoundedEntry:colorBackgroundFloating
*/
public static final int AppCompatTheme_colorBackgroundFloating = 93;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:colorButtonNormal
*/
public static final int AppCompatTheme_colorButtonNormal = 90;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:colorControlActivated
*/
public static final int AppCompatTheme_colorControlActivated = 88;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:colorControlHighlight
*/
public static final int AppCompatTheme_colorControlHighlight = 89;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:colorControlNormal
*/
public static final int AppCompatTheme_colorControlNormal = 87;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:colorPrimary
*/
public static final int AppCompatTheme_colorPrimary = 84;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:colorPrimaryDark
*/
public static final int AppCompatTheme_colorPrimaryDark = 85;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:colorSwitchThumbNormal
*/
public static final int AppCompatTheme_colorSwitchThumbNormal = 91;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:controlBackground
*/
public static final int AppCompatTheme_controlBackground = 92;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:dialogPreferredPadding
*/
public static final int AppCompatTheme_dialogPreferredPadding = 44;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:dialogTheme
*/
public static final int AppCompatTheme_dialogTheme = 43;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:dividerHorizontal
*/
public static final int AppCompatTheme_dividerHorizontal = 57;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:dividerVertical
*/
public static final int AppCompatTheme_dividerVertical = 56;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:dropDownListViewStyle
*/
public static final int AppCompatTheme_dropDownListViewStyle = 75;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:dropdownListPreferredItemHeight
*/
public static final int AppCompatTheme_dropdownListPreferredItemHeight = 47;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:editTextBackground
*/
public static final int AppCompatTheme_editTextBackground = 64;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:editTextColor
*/
public static final int AppCompatTheme_editTextColor = 63;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:editTextStyle
*/
public static final int AppCompatTheme_editTextStyle = 107;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:homeAsUpIndicator
*/
public static final int AppCompatTheme_homeAsUpIndicator = 49;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:imageButtonStyle
*/
public static final int AppCompatTheme_imageButtonStyle = 65;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:listChoiceBackgroundIndicator
*/
public static final int AppCompatTheme_listChoiceBackgroundIndicator = 83;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:listDividerAlertDialog
*/
public static final int AppCompatTheme_listDividerAlertDialog = 45;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#listMenuViewStyle}
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 com.companyname.RoundedEntry:listMenuViewStyle
*/
public static final int AppCompatTheme_listMenuViewStyle = 115;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:listPopupWindowStyle
*/
public static final int AppCompatTheme_listPopupWindowStyle = 76;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:listPreferredItemHeight
*/
public static final int AppCompatTheme_listPreferredItemHeight = 70;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:listPreferredItemHeightLarge
*/
public static final int AppCompatTheme_listPreferredItemHeightLarge = 72;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:listPreferredItemHeightSmall
*/
public static final int AppCompatTheme_listPreferredItemHeightSmall = 71;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:listPreferredItemPaddingLeft
*/
public static final int AppCompatTheme_listPreferredItemPaddingLeft = 73;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:listPreferredItemPaddingRight
*/
public static final int AppCompatTheme_listPreferredItemPaddingRight = 74;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:panelBackground
*/
public static final int AppCompatTheme_panelBackground = 80;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:panelMenuListTheme
*/
public static final int AppCompatTheme_panelMenuListTheme = 82;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:panelMenuListWidth
*/
public static final int AppCompatTheme_panelMenuListWidth = 81;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:popupMenuStyle
*/
public static final int AppCompatTheme_popupMenuStyle = 61;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:popupWindowStyle
*/
public static final int AppCompatTheme_popupWindowStyle = 62;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:radioButtonStyle
*/
public static final int AppCompatTheme_radioButtonStyle = 108;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:ratingBarStyle
*/
public static final int AppCompatTheme_ratingBarStyle = 109;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:ratingBarStyleIndicator
*/
public static final int AppCompatTheme_ratingBarStyleIndicator = 110;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:ratingBarStyleSmall
*/
public static final int AppCompatTheme_ratingBarStyleSmall = 111;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:searchViewStyle
*/
public static final int AppCompatTheme_searchViewStyle = 69;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:seekBarStyle
*/
public static final int AppCompatTheme_seekBarStyle = 112;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:selectableItemBackground
*/
public static final int AppCompatTheme_selectableItemBackground = 53;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:selectableItemBackgroundBorderless
*/
public static final int AppCompatTheme_selectableItemBackgroundBorderless = 54;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:spinnerDropDownItemStyle
*/
public static final int AppCompatTheme_spinnerDropDownItemStyle = 48;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:spinnerStyle
*/
public static final int AppCompatTheme_spinnerStyle = 113;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:switchStyle
*/
public static final int AppCompatTheme_switchStyle = 114;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:textAppearanceLargePopupMenu
*/
public static final int AppCompatTheme_textAppearanceLargePopupMenu = 40;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:textAppearanceListItem
*/
public static final int AppCompatTheme_textAppearanceListItem = 77;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#textAppearanceListItemSecondary}
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 com.companyname.RoundedEntry:textAppearanceListItemSecondary
*/
public static final int AppCompatTheme_textAppearanceListItemSecondary = 78;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:textAppearanceListItemSmall
*/
public static final int AppCompatTheme_textAppearanceListItemSmall = 79;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#textAppearancePopupMenuHeader}
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 com.companyname.RoundedEntry:textAppearancePopupMenuHeader
*/
public static final int AppCompatTheme_textAppearancePopupMenuHeader = 42;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:textAppearanceSearchResultSubtitle
*/
public static final int AppCompatTheme_textAppearanceSearchResultSubtitle = 67;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:textAppearanceSearchResultTitle
*/
public static final int AppCompatTheme_textAppearanceSearchResultTitle = 66;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:textAppearanceSmallPopupMenu
*/
public static final int AppCompatTheme_textAppearanceSmallPopupMenu = 41;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:textColorAlertDialogListItem
*/
public static final int AppCompatTheme_textColorAlertDialogListItem = 98;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:textColorSearchUrl
*/
public static final int AppCompatTheme_textColorSearchUrl = 68;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:toolbarNavigationButtonStyle
*/
public static final int AppCompatTheme_toolbarNavigationButtonStyle = 60;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:toolbarStyle
*/
public static final int AppCompatTheme_toolbarStyle = 59;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:windowActionBar
*/
public static final int AppCompatTheme_windowActionBar = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:windowActionBarOverlay
*/
public static final int AppCompatTheme_windowActionBarOverlay = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:windowActionModeOverlay
*/
public static final int AppCompatTheme_windowActionModeOverlay = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:windowFixedHeightMajor
*/
public static final int AppCompatTheme_windowFixedHeightMajor = 9;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:windowFixedHeightMinor
*/
public static final int AppCompatTheme_windowFixedHeightMinor = 7;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:windowFixedWidthMajor
*/
public static final int AppCompatTheme_windowFixedWidthMajor = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:windowFixedWidthMinor
*/
public static final int AppCompatTheme_windowFixedWidthMinor = 8;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:windowMinWidthMajor
*/
public static final int AppCompatTheme_windowMinWidthMajor = 10;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:windowMinWidthMinor
*/
public static final int AppCompatTheme_windowMinWidthMinor = 11;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:windowNoTitle
*/
public static final int AppCompatTheme_windowNoTitle = 3;
/** Attributes that can be used with a BottomNavigationView.
<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 #BottomNavigationView_elevation com.companyname.RoundedEntry:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #BottomNavigationView_itemBackground com.companyname.RoundedEntry:itemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #BottomNavigationView_itemIconTint com.companyname.RoundedEntry:itemIconTint}</code></td><td></td></tr>
<tr><td><code>{@link #BottomNavigationView_itemTextColor com.companyname.RoundedEntry:itemTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #BottomNavigationView_menu com.companyname.RoundedEntry:menu}</code></td><td></td></tr>
</table>
@see #BottomNavigationView_elevation
@see #BottomNavigationView_itemBackground
@see #BottomNavigationView_itemIconTint
@see #BottomNavigationView_itemTextColor
@see #BottomNavigationView_menu
*/
public static final int[] BottomNavigationView = {
0x7f010038, 0x7f01012e, 0x7f01012f, 0x7f010130,
0x7f010131
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#elevation}
attribute's value can be found in the {@link #BottomNavigationView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:elevation
*/
public static final int BottomNavigationView_elevation = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#itemBackground}
attribute's value can be found in the {@link #BottomNavigationView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:itemBackground
*/
public static final int BottomNavigationView_itemBackground = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#itemIconTint}
attribute's value can be found in the {@link #BottomNavigationView} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:itemIconTint
*/
public static final int BottomNavigationView_itemIconTint = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#itemTextColor}
attribute's value can be found in the {@link #BottomNavigationView} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:itemTextColor
*/
public static final int BottomNavigationView_itemTextColor = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#menu}
attribute's value can be found in the {@link #BottomNavigationView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:menu
*/
public static final int BottomNavigationView_menu = 1;
/** Attributes that can be used with a BottomSheetBehavior_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 #BottomSheetBehavior_Layout_behavior_hideable com.companyname.RoundedEntry:behavior_hideable}</code></td><td></td></tr>
<tr><td><code>{@link #BottomSheetBehavior_Layout_behavior_peekHeight com.companyname.RoundedEntry:behavior_peekHeight}</code></td><td></td></tr>
<tr><td><code>{@link #BottomSheetBehavior_Layout_behavior_skipCollapsed com.companyname.RoundedEntry:behavior_skipCollapsed}</code></td><td></td></tr>
</table>
@see #BottomSheetBehavior_Layout_behavior_hideable
@see #BottomSheetBehavior_Layout_behavior_peekHeight
@see #BottomSheetBehavior_Layout_behavior_skipCollapsed
*/
public static final int[] BottomSheetBehavior_Layout = {
0x7f010108, 0x7f010109, 0x7f01010a
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#behavior_hideable}
attribute's value can be found in the {@link #BottomSheetBehavior_Layout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:behavior_hideable
*/
public static final int BottomSheetBehavior_Layout_behavior_hideable = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#behavior_peekHeight}
attribute's value can be found in the {@link #BottomSheetBehavior_Layout} array.
<p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></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>auto</code></td><td>-1</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:behavior_peekHeight
*/
public static final int BottomSheetBehavior_Layout_behavior_peekHeight = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#behavior_skipCollapsed}
attribute's value can be found in the {@link #BottomSheetBehavior_Layout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:behavior_skipCollapsed
*/
public static final int BottomSheetBehavior_Layout_behavior_skipCollapsed = 2;
/** Attributes that can be used with a ButtonBarLayout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ButtonBarLayout_allowStacking com.companyname.RoundedEntry:allowStacking}</code></td><td></td></tr>
</table>
@see #ButtonBarLayout_allowStacking
*/
public static final int[] ButtonBarLayout = {
0x7f0100bc
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.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 com.companyname.RoundedEntry:allowStacking
*/
public static final int ButtonBarLayout_allowStacking = 0;
/** Attributes that can be used with a CardView.
<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 #CardView_android_minHeight android:minHeight}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_android_minWidth android:minWidth}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardBackgroundColor com.companyname.RoundedEntry:cardBackgroundColor}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardCornerRadius com.companyname.RoundedEntry:cardCornerRadius}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardElevation com.companyname.RoundedEntry:cardElevation}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardMaxElevation com.companyname.RoundedEntry:cardMaxElevation}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardPreventCornerOverlap com.companyname.RoundedEntry:cardPreventCornerOverlap}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardUseCompatPadding com.companyname.RoundedEntry:cardUseCompatPadding}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPadding com.companyname.RoundedEntry:contentPadding}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPaddingBottom com.companyname.RoundedEntry:contentPaddingBottom}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPaddingLeft com.companyname.RoundedEntry:contentPaddingLeft}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPaddingRight com.companyname.RoundedEntry:contentPaddingRight}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPaddingTop com.companyname.RoundedEntry:contentPaddingTop}</code></td><td></td></tr>
</table>
@see #CardView_android_minHeight
@see #CardView_android_minWidth
@see #CardView_cardBackgroundColor
@see #CardView_cardCornerRadius
@see #CardView_cardElevation
@see #CardView_cardMaxElevation
@see #CardView_cardPreventCornerOverlap
@see #CardView_cardUseCompatPadding
@see #CardView_contentPadding
@see #CardView_contentPaddingBottom
@see #CardView_contentPaddingLeft
@see #CardView_contentPaddingRight
@see #CardView_contentPaddingTop
*/
public static final int[] CardView = {
0x0101013f, 0x01010140, 0x7f010011, 0x7f010012,
0x7f010013, 0x7f010014, 0x7f010015, 0x7f010016,
0x7f010017, 0x7f010018, 0x7f010019, 0x7f01001a,
0x7f01001b
};
/**
<p>This symbol is the offset where the {@link android.R.attr#minHeight}
attribute's value can be found in the {@link #CardView} array.
@attr name android:minHeight
*/
public static final int CardView_android_minHeight = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#minWidth}
attribute's value can be found in the {@link #CardView} array.
@attr name android:minWidth
*/
public static final int CardView_android_minWidth = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#cardBackgroundColor}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:cardBackgroundColor
*/
public static final int CardView_cardBackgroundColor = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#cardCornerRadius}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:cardCornerRadius
*/
public static final int CardView_cardCornerRadius = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#cardElevation}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:cardElevation
*/
public static final int CardView_cardElevation = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#cardMaxElevation}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:cardMaxElevation
*/
public static final int CardView_cardMaxElevation = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#cardPreventCornerOverlap}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:cardPreventCornerOverlap
*/
public static final int CardView_cardPreventCornerOverlap = 7;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#cardUseCompatPadding}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:cardUseCompatPadding
*/
public static final int CardView_cardUseCompatPadding = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentPadding}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentPadding
*/
public static final int CardView_contentPadding = 8;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentPaddingBottom}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentPaddingBottom
*/
public static final int CardView_contentPaddingBottom = 12;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentPaddingLeft}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentPaddingLeft
*/
public static final int CardView_contentPaddingLeft = 9;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentPaddingRight}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentPaddingRight
*/
public static final int CardView_contentPaddingRight = 10;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentPaddingTop}
attribute's value can be found in the {@link #CardView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentPaddingTop
*/
public static final int CardView_contentPaddingTop = 11;
/** Attributes that can be used with a CollapsingToolbarLayout.
<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 #CollapsingToolbarLayout_collapsedTitleGravity com.companyname.RoundedEntry:collapsedTitleGravity}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_collapsedTitleTextAppearance com.companyname.RoundedEntry:collapsedTitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_contentScrim com.companyname.RoundedEntry:contentScrim}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleGravity com.companyname.RoundedEntry:expandedTitleGravity}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMargin com.companyname.RoundedEntry:expandedTitleMargin}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginBottom com.companyname.RoundedEntry:expandedTitleMarginBottom}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginEnd com.companyname.RoundedEntry:expandedTitleMarginEnd}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginStart com.companyname.RoundedEntry:expandedTitleMarginStart}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginTop com.companyname.RoundedEntry:expandedTitleMarginTop}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleTextAppearance com.companyname.RoundedEntry:expandedTitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_scrimAnimationDuration com.companyname.RoundedEntry:scrimAnimationDuration}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_scrimVisibleHeightTrigger com.companyname.RoundedEntry:scrimVisibleHeightTrigger}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_statusBarScrim com.companyname.RoundedEntry:statusBarScrim}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_title com.companyname.RoundedEntry:title}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_titleEnabled com.companyname.RoundedEntry:titleEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_toolbarId com.companyname.RoundedEntry:toolbarId}</code></td><td></td></tr>
</table>
@see #CollapsingToolbarLayout_collapsedTitleGravity
@see #CollapsingToolbarLayout_collapsedTitleTextAppearance
@see #CollapsingToolbarLayout_contentScrim
@see #CollapsingToolbarLayout_expandedTitleGravity
@see #CollapsingToolbarLayout_expandedTitleMargin
@see #CollapsingToolbarLayout_expandedTitleMarginBottom
@see #CollapsingToolbarLayout_expandedTitleMarginEnd
@see #CollapsingToolbarLayout_expandedTitleMarginStart
@see #CollapsingToolbarLayout_expandedTitleMarginTop
@see #CollapsingToolbarLayout_expandedTitleTextAppearance
@see #CollapsingToolbarLayout_scrimAnimationDuration
@see #CollapsingToolbarLayout_scrimVisibleHeightTrigger
@see #CollapsingToolbarLayout_statusBarScrim
@see #CollapsingToolbarLayout_title
@see #CollapsingToolbarLayout_titleEnabled
@see #CollapsingToolbarLayout_toolbarId
*/
public static final int[] CollapsingToolbarLayout = {
0x7f01001f, 0x7f01010b, 0x7f01010c, 0x7f01010d,
0x7f01010e, 0x7f01010f, 0x7f010110, 0x7f010111,
0x7f010112, 0x7f010113, 0x7f010114, 0x7f010115,
0x7f010116, 0x7f010117, 0x7f010118, 0x7f010119
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#collapsedTitleGravity}
attribute's value can be found in the {@link #CollapsingToolbarLayout} 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>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x05</td><td></td></tr>
<tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr>
<tr><td><code>fill_vertical</code></td><td>0x70</td><td></td></tr>
<tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr>
<tr><td><code>center</code></td><td>0x11</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:collapsedTitleGravity
*/
public static final int CollapsingToolbarLayout_collapsedTitleGravity = 13;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#collapsedTitleTextAppearance}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:collapsedTitleTextAppearance
*/
public static final int CollapsingToolbarLayout_collapsedTitleTextAppearance = 7;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentScrim}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentScrim
*/
public static final int CollapsingToolbarLayout_contentScrim = 8;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#expandedTitleGravity}
attribute's value can be found in the {@link #CollapsingToolbarLayout} 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>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x05</td><td></td></tr>
<tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr>
<tr><td><code>fill_vertical</code></td><td>0x70</td><td></td></tr>
<tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr>
<tr><td><code>center</code></td><td>0x11</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:expandedTitleGravity
*/
public static final int CollapsingToolbarLayout_expandedTitleGravity = 14;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#expandedTitleMargin}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:expandedTitleMargin
*/
public static final int CollapsingToolbarLayout_expandedTitleMargin = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#expandedTitleMarginBottom}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:expandedTitleMarginBottom
*/
public static final int CollapsingToolbarLayout_expandedTitleMarginBottom = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#expandedTitleMarginEnd}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:expandedTitleMarginEnd
*/
public static final int CollapsingToolbarLayout_expandedTitleMarginEnd = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#expandedTitleMarginStart}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:expandedTitleMarginStart
*/
public static final int CollapsingToolbarLayout_expandedTitleMarginStart = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#expandedTitleMarginTop}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:expandedTitleMarginTop
*/
public static final int CollapsingToolbarLayout_expandedTitleMarginTop = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#expandedTitleTextAppearance}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:expandedTitleTextAppearance
*/
public static final int CollapsingToolbarLayout_expandedTitleTextAppearance = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#scrimAnimationDuration}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:scrimAnimationDuration
*/
public static final int CollapsingToolbarLayout_scrimAnimationDuration = 12;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#scrimVisibleHeightTrigger}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:scrimVisibleHeightTrigger
*/
public static final int CollapsingToolbarLayout_scrimVisibleHeightTrigger = 11;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#statusBarScrim}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:statusBarScrim
*/
public static final int CollapsingToolbarLayout_statusBarScrim = 9;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#title}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:title
*/
public static final int CollapsingToolbarLayout_title = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#titleEnabled}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:titleEnabled
*/
public static final int CollapsingToolbarLayout_titleEnabled = 15;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#toolbarId}
attribute's value can be found in the {@link #CollapsingToolbarLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:toolbarId
*/
public static final int CollapsingToolbarLayout_toolbarId = 10;
/** Attributes that can be used with a CollapsingToolbarLayout_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 #CollapsingToolbarLayout_Layout_layout_collapseMode com.companyname.RoundedEntry:layout_collapseMode}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_Layout_layout_collapseParallaxMultiplier com.companyname.RoundedEntry:layout_collapseParallaxMultiplier}</code></td><td></td></tr>
</table>
@see #CollapsingToolbarLayout_Layout_layout_collapseMode
@see #CollapsingToolbarLayout_Layout_layout_collapseParallaxMultiplier
*/
public static final int[] CollapsingToolbarLayout_Layout = {
0x7f01011a, 0x7f01011b
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#layout_collapseMode}
attribute's value can be found in the {@link #CollapsingToolbarLayout_Layout} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>pin</code></td><td>1</td><td></td></tr>
<tr><td><code>parallax</code></td><td>2</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:layout_collapseMode
*/
public static final int CollapsingToolbarLayout_Layout_layout_collapseMode = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#layout_collapseParallaxMultiplier}
attribute's value can be found in the {@link #CollapsingToolbarLayout_Layout} array.
<p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:layout_collapseParallaxMultiplier
*/
public static final int CollapsingToolbarLayout_Layout_layout_collapseParallaxMultiplier = 1;
/** Attributes that can be used with a ColorStateListItem.
<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 #ColorStateListItem_alpha com.companyname.RoundedEntry:alpha}</code></td><td></td></tr>
<tr><td><code>{@link #ColorStateListItem_android_alpha android:alpha}</code></td><td></td></tr>
<tr><td><code>{@link #ColorStateListItem_android_color android:color}</code></td><td></td></tr>
</table>
@see #ColorStateListItem_alpha
@see #ColorStateListItem_android_alpha
@see #ColorStateListItem_android_color
*/
public static final int[] ColorStateListItem = {
0x010101a5, 0x0101031f, 0x7f0100bd
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#alpha}
attribute's value can be found in the {@link #ColorStateListItem} array.
<p>Must be a floating point value, such as "<code>1.2</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:alpha
*/
public static final int ColorStateListItem_alpha = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#alpha}
attribute's value can be found in the {@link #ColorStateListItem} array.
@attr name android:alpha
*/
public static final int ColorStateListItem_android_alpha = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#color}
attribute's value can be found in the {@link #ColorStateListItem} array.
@attr name android:color
*/
public static final int ColorStateListItem_android_color = 0;
/** Attributes that can be used with a CompoundButton.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #CompoundButton_android_button android:button}</code></td><td></td></tr>
<tr><td><code>{@link #CompoundButton_buttonTint com.companyname.RoundedEntry:buttonTint}</code></td><td></td></tr>
<tr><td><code>{@link #CompoundButton_buttonTintMode com.companyname.RoundedEntry:buttonTintMode}</code></td><td></td></tr>
</table>
@see #CompoundButton_android_button
@see #CompoundButton_buttonTint
@see #CompoundButton_buttonTintMode
*/
public static final int[] CompoundButton = {
0x01010107, 0x7f0100be, 0x7f0100bf
};
/**
<p>This symbol is the offset where the {@link android.R.attr#button}
attribute's value can be found in the {@link #CompoundButton} array.
@attr name android:button
*/
public static final int CompoundButton_android_button = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#buttonTint}
attribute's value can be found in the {@link #CompoundButton} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:buttonTint
*/
public static final int CompoundButton_buttonTint = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#buttonTintMode}
attribute's value can be found in the {@link #CompoundButton} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:buttonTintMode
*/
public static final int CompoundButton_buttonTintMode = 2;
/** Attributes that can be used with a CoordinatorLayout.
<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 #CoordinatorLayout_keylines com.companyname.RoundedEntry:keylines}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_statusBarBackground com.companyname.RoundedEntry:statusBarBackground}</code></td><td></td></tr>
</table>
@see #CoordinatorLayout_keylines
@see #CoordinatorLayout_statusBarBackground
*/
public static final int[] CoordinatorLayout = {
0x7f01011c, 0x7f01011d
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#keylines}
attribute's value can be found in the {@link #CoordinatorLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:keylines
*/
public static final int CoordinatorLayout_keylines = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#statusBarBackground}
attribute's value can be found in the {@link #CoordinatorLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:statusBarBackground
*/
public static final int CoordinatorLayout_statusBarBackground = 1;
/** Attributes that can be used with a CoordinatorLayout_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 #CoordinatorLayout_Layout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_Layout_layout_anchor com.companyname.RoundedEntry:layout_anchor}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_Layout_layout_anchorGravity com.companyname.RoundedEntry:layout_anchorGravity}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_Layout_layout_behavior com.companyname.RoundedEntry:layout_behavior}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_Layout_layout_dodgeInsetEdges com.companyname.RoundedEntry:layout_dodgeInsetEdges}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_Layout_layout_insetEdge com.companyname.RoundedEntry:layout_insetEdge}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_Layout_layout_keyline com.companyname.RoundedEntry:layout_keyline}</code></td><td></td></tr>
</table>
@see #CoordinatorLayout_Layout_android_layout_gravity
@see #CoordinatorLayout_Layout_layout_anchor
@see #CoordinatorLayout_Layout_layout_anchorGravity
@see #CoordinatorLayout_Layout_layout_behavior
@see #CoordinatorLayout_Layout_layout_dodgeInsetEdges
@see #CoordinatorLayout_Layout_layout_insetEdge
@see #CoordinatorLayout_Layout_layout_keyline
*/
public static final int[] CoordinatorLayout_Layout = {
0x010100b3, 0x7f01011e, 0x7f01011f, 0x7f010120,
0x7f010121, 0x7f010122, 0x7f010123
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #CoordinatorLayout_Layout} array.
@attr name android:layout_gravity
*/
public static final int CoordinatorLayout_Layout_android_layout_gravity = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#layout_anchor}
attribute's value can be found in the {@link #CoordinatorLayout_Layout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:layout_anchor
*/
public static final int CoordinatorLayout_Layout_layout_anchor = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#layout_anchorGravity}
attribute's value can be found in the {@link #CoordinatorLayout_Layout} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x05</td><td></td></tr>
<tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr>
<tr><td><code>fill_vertical</code></td><td>0x70</td><td></td></tr>
<tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr>
<tr><td><code>fill_horizontal</code></td><td>0x07</td><td></td></tr>
<tr><td><code>center</code></td><td>0x11</td><td></td></tr>
<tr><td><code>fill</code></td><td>0x77</td><td></td></tr>
<tr><td><code>clip_vertical</code></td><td>0x80</td><td></td></tr>
<tr><td><code>clip_horizontal</code></td><td>0x08</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:layout_anchorGravity
*/
public static final int CoordinatorLayout_Layout_layout_anchorGravity = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#layout_behavior}
attribute's value can be found in the {@link #CoordinatorLayout_Layout} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:layout_behavior
*/
public static final int CoordinatorLayout_Layout_layout_behavior = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#layout_dodgeInsetEdges}
attribute's value can be found in the {@link #CoordinatorLayout_Layout} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0x0</td><td></td></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x03</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
<tr><td><code>all</code></td><td>0x77</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:layout_dodgeInsetEdges
*/
public static final int CoordinatorLayout_Layout_layout_dodgeInsetEdges = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#layout_insetEdge}
attribute's value can be found in the {@link #CoordinatorLayout_Layout} 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>0x0</td><td></td></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
<tr><td><code>left</code></td><td>0x03</td><td></td></tr>
<tr><td><code>right</code></td><td>0x03</td><td></td></tr>
<tr><td><code>start</code></td><td>0x00800003</td><td></td></tr>
<tr><td><code>end</code></td><td>0x00800005</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:layout_insetEdge
*/
public static final int CoordinatorLayout_Layout_layout_insetEdge = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#layout_keyline}
attribute's value can be found in the {@link #CoordinatorLayout_Layout} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:layout_keyline
*/
public static final int CoordinatorLayout_Layout_layout_keyline = 3;
/** Attributes that can be used with a DesignTheme.
<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 #DesignTheme_bottomSheetDialogTheme com.companyname.RoundedEntry:bottomSheetDialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #DesignTheme_bottomSheetStyle com.companyname.RoundedEntry:bottomSheetStyle}</code></td><td></td></tr>
<tr><td><code>{@link #DesignTheme_textColorError com.companyname.RoundedEntry:textColorError}</code></td><td></td></tr>
</table>
@see #DesignTheme_bottomSheetDialogTheme
@see #DesignTheme_bottomSheetStyle
@see #DesignTheme_textColorError
*/
public static final int[] DesignTheme = {
0x7f010124, 0x7f010125, 0x7f010126
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#bottomSheetDialogTheme}
attribute's value can be found in the {@link #DesignTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:bottomSheetDialogTheme
*/
public static final int DesignTheme_bottomSheetDialogTheme = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#bottomSheetStyle}
attribute's value can be found in the {@link #DesignTheme} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:bottomSheetStyle
*/
public static final int DesignTheme_bottomSheetStyle = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#textColorError}
attribute's value can be found in the {@link #DesignTheme} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:textColorError
*/
public static final int DesignTheme_textColorError = 2;
/** Attributes that can be used with a DrawerArrowToggle.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #DrawerArrowToggle_arrowHeadLength com.companyname.RoundedEntry:arrowHeadLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_arrowShaftLength com.companyname.RoundedEntry:arrowShaftLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_barLength com.companyname.RoundedEntry:barLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_color com.companyname.RoundedEntry:color}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_drawableSize com.companyname.RoundedEntry:drawableSize}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars com.companyname.RoundedEntry:gapBetweenBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_spinBars com.companyname.RoundedEntry:spinBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_thickness com.companyname.RoundedEntry: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 = {
0x7f0100c0, 0x7f0100c1, 0x7f0100c2, 0x7f0100c3,
0x7f0100c4, 0x7f0100c5, 0x7f0100c6, 0x7f0100c7
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#arrowHeadLength}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:arrowHeadLength
*/
public static final int DrawerArrowToggle_arrowHeadLength = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#arrowShaftLength}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:arrowShaftLength
*/
public static final int DrawerArrowToggle_arrowShaftLength = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#barLength}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:barLength
*/
public static final int DrawerArrowToggle_barLength = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#color}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:color
*/
public static final int DrawerArrowToggle_color = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#drawableSize}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:drawableSize
*/
public static final int DrawerArrowToggle_drawableSize = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#gapBetweenBars}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:gapBetweenBars
*/
public static final int DrawerArrowToggle_gapBetweenBars = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#spinBars}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:spinBars
*/
public static final int DrawerArrowToggle_spinBars = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#thickness}
attribute's value can be found in the {@link #DrawerArrowToggle} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:thickness
*/
public static final int DrawerArrowToggle_thickness = 7;
/** Attributes that can be used with a FloatingActionButton.
<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 #FloatingActionButton_backgroundTint com.companyname.RoundedEntry:backgroundTint}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_backgroundTintMode com.companyname.RoundedEntry:backgroundTintMode}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_borderWidth com.companyname.RoundedEntry:borderWidth}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_elevation com.companyname.RoundedEntry:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_fabSize com.companyname.RoundedEntry:fabSize}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_pressedTranslationZ com.companyname.RoundedEntry:pressedTranslationZ}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_rippleColor com.companyname.RoundedEntry:rippleColor}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_useCompatPadding com.companyname.RoundedEntry:useCompatPadding}</code></td><td></td></tr>
</table>
@see #FloatingActionButton_backgroundTint
@see #FloatingActionButton_backgroundTintMode
@see #FloatingActionButton_borderWidth
@see #FloatingActionButton_elevation
@see #FloatingActionButton_fabSize
@see #FloatingActionButton_pressedTranslationZ
@see #FloatingActionButton_rippleColor
@see #FloatingActionButton_useCompatPadding
*/
public static final int[] FloatingActionButton = {
0x7f010038, 0x7f010101, 0x7f010102, 0x7f010127,
0x7f010128, 0x7f010129, 0x7f01012a, 0x7f01012b
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#backgroundTint}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:backgroundTint
*/
public static final int FloatingActionButton_backgroundTint = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#backgroundTintMode}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:backgroundTintMode
*/
public static final int FloatingActionButton_backgroundTintMode = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#borderWidth}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:borderWidth
*/
public static final int FloatingActionButton_borderWidth = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#elevation}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:elevation
*/
public static final int FloatingActionButton_elevation = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#fabSize}
attribute's value can be found in the {@link #FloatingActionButton} 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>auto</code></td><td>-1</td><td></td></tr>
<tr><td><code>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>mini</code></td><td>1</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:fabSize
*/
public static final int FloatingActionButton_fabSize = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#pressedTranslationZ}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:pressedTranslationZ
*/
public static final int FloatingActionButton_pressedTranslationZ = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#rippleColor}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:rippleColor
*/
public static final int FloatingActionButton_rippleColor = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#useCompatPadding}
attribute's value can be found in the {@link #FloatingActionButton} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:useCompatPadding
*/
public static final int FloatingActionButton_useCompatPadding = 7;
/** Attributes that can be used with a FloatingActionButton_Behavior_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 #FloatingActionButton_Behavior_Layout_behavior_autoHide com.companyname.RoundedEntry:behavior_autoHide}</code></td><td></td></tr>
</table>
@see #FloatingActionButton_Behavior_Layout_behavior_autoHide
*/
public static final int[] FloatingActionButton_Behavior_Layout = {
0x7f01012c
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#behavior_autoHide}
attribute's value can be found in the {@link #FloatingActionButton_Behavior_Layout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:behavior_autoHide
*/
public static final int FloatingActionButton_Behavior_Layout_behavior_autoHide = 0;
/** Attributes that can be used with a ForegroundLinearLayout.
<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 #ForegroundLinearLayout_android_foreground android:foreground}</code></td><td></td></tr>
<tr><td><code>{@link #ForegroundLinearLayout_android_foregroundGravity android:foregroundGravity}</code></td><td></td></tr>
<tr><td><code>{@link #ForegroundLinearLayout_foregroundInsidePadding com.companyname.RoundedEntry:foregroundInsidePadding}</code></td><td></td></tr>
</table>
@see #ForegroundLinearLayout_android_foreground
@see #ForegroundLinearLayout_android_foregroundGravity
@see #ForegroundLinearLayout_foregroundInsidePadding
*/
public static final int[] ForegroundLinearLayout = {
0x01010109, 0x01010200, 0x7f01012d
};
/**
<p>This symbol is the offset where the {@link android.R.attr#foreground}
attribute's value can be found in the {@link #ForegroundLinearLayout} array.
@attr name android:foreground
*/
public static final int ForegroundLinearLayout_android_foreground = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#foregroundGravity}
attribute's value can be found in the {@link #ForegroundLinearLayout} array.
@attr name android:foregroundGravity
*/
public static final int ForegroundLinearLayout_android_foregroundGravity = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#foregroundInsidePadding}
attribute's value can be found in the {@link #ForegroundLinearLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:foregroundInsidePadding
*/
public static final int ForegroundLinearLayout_foregroundInsidePadding = 2;
/** Attributes that can be used with a LinearLayoutCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAligned android:baselineAligned}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_baselineAlignedChildIndex android:baselineAlignedChildIndex}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_orientation android:orientation}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_android_weightSum android:weightSum}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_divider com.companyname.RoundedEntry:divider}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_dividerPadding com.companyname.RoundedEntry:dividerPadding}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild com.companyname.RoundedEntry:measureWithLargestChild}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_showDividers com.companyname.RoundedEntry: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, 0x7f010027, 0x7f0100c8, 0x7f0100c9,
0x7f0100ca
};
/**
<p>This symbol is the offset where the {@link android.R.attr#baselineAligned}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:baselineAligned
*/
public static final int LinearLayoutCompat_android_baselineAligned = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#baselineAlignedChildIndex}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:baselineAlignedChildIndex
*/
public static final int LinearLayoutCompat_android_baselineAlignedChildIndex = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:gravity
*/
public static final int LinearLayoutCompat_android_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#orientation}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:orientation
*/
public static final int LinearLayoutCompat_android_orientation = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#weightSum}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
@attr name android:weightSum
*/
public static final int LinearLayoutCompat_android_weightSum = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#divider}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:divider
*/
public static final int LinearLayoutCompat_divider = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#dividerPadding}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:dividerPadding
*/
public static final int LinearLayoutCompat_dividerPadding = 8;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#measureWithLargestChild}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:measureWithLargestChild
*/
public static final int LinearLayoutCompat_measureWithLargestChild = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#showDividers}
attribute's value can be found in the {@link #LinearLayoutCompat} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>none</code></td><td>0</td><td></td></tr>
<tr><td><code>beginning</code></td><td>1</td><td></td></tr>
<tr><td><code>middle</code></td><td>2</td><td></td></tr>
<tr><td><code>end</code></td><td>4</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:showDividers
*/
public static final int LinearLayoutCompat_showDividers = 7;
/** Attributes that can be used with a LinearLayoutCompat_Layout.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_height android:layout_height}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_weight android:layout_weight}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_Layout_android_layout_width android:layout_width}</code></td><td></td></tr>
</table>
@see #LinearLayoutCompat_Layout_android_layout_gravity
@see #LinearLayoutCompat_Layout_android_layout_height
@see #LinearLayoutCompat_Layout_android_layout_weight
@see #LinearLayoutCompat_Layout_android_layout_width
*/
public static final int[] LinearLayoutCompat_Layout = {
0x010100b3, 0x010100f4, 0x010100f5, 0x01010181
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_gravity
*/
public static final int LinearLayoutCompat_Layout_android_layout_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_height}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_height
*/
public static final int LinearLayoutCompat_Layout_android_layout_height = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_weight}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_weight
*/
public static final int LinearLayoutCompat_Layout_android_layout_weight = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_width}
attribute's value can be found in the {@link #LinearLayoutCompat_Layout} array.
@attr name android:layout_width
*/
public static final int LinearLayoutCompat_Layout_android_layout_width = 1;
/** Attributes that can be used with a ListPopupWindow.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ListPopupWindow_android_dropDownHorizontalOffset android:dropDownHorizontalOffset}</code></td><td></td></tr>
<tr><td><code>{@link #ListPopupWindow_android_dropDownVerticalOffset android:dropDownVerticalOffset}</code></td><td></td></tr>
</table>
@see #ListPopupWindow_android_dropDownHorizontalOffset
@see #ListPopupWindow_android_dropDownVerticalOffset
*/
public static final int[] ListPopupWindow = {
0x010102ac, 0x010102ad
};
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownHorizontalOffset}
attribute's value can be found in the {@link #ListPopupWindow} array.
@attr name android:dropDownHorizontalOffset
*/
public static final int ListPopupWindow_android_dropDownHorizontalOffset = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownVerticalOffset}
attribute's value can be found in the {@link #ListPopupWindow} array.
@attr name android:dropDownVerticalOffset
*/
public static final int ListPopupWindow_android_dropDownVerticalOffset = 1;
/** Attributes that can be used with a MediaRouteButton.
<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 #MediaRouteButton_android_minHeight android:minHeight}</code></td><td></td></tr>
<tr><td><code>{@link #MediaRouteButton_android_minWidth android:minWidth}</code></td><td></td></tr>
<tr><td><code>{@link #MediaRouteButton_buttonTint com.companyname.RoundedEntry:buttonTint}</code></td><td></td></tr>
<tr><td><code>{@link #MediaRouteButton_externalRouteEnabledDrawable com.companyname.RoundedEntry:externalRouteEnabledDrawable}</code></td><td></td></tr>
</table>
@see #MediaRouteButton_android_minHeight
@see #MediaRouteButton_android_minWidth
@see #MediaRouteButton_buttonTint
@see #MediaRouteButton_externalRouteEnabledDrawable
*/
public static final int[] MediaRouteButton = {
0x0101013f, 0x01010140, 0x7f010010, 0x7f0100be
};
/**
<p>This symbol is the offset where the {@link android.R.attr#minHeight}
attribute's value can be found in the {@link #MediaRouteButton} array.
@attr name android:minHeight
*/
public static final int MediaRouteButton_android_minHeight = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#minWidth}
attribute's value can be found in the {@link #MediaRouteButton} array.
@attr name android:minWidth
*/
public static final int MediaRouteButton_android_minWidth = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#buttonTint}
attribute's value can be found in the {@link #MediaRouteButton} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:buttonTint
*/
public static final int MediaRouteButton_buttonTint = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#externalRouteEnabledDrawable}
attribute's value can be found in the {@link #MediaRouteButton} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:externalRouteEnabledDrawable
*/
public static final int MediaRouteButton_externalRouteEnabledDrawable = 2;
/** Attributes that can be used with a MenuGroup.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuGroup_android_checkableBehavior android:checkableBehavior}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_enabled android:enabled}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_menuCategory android:menuCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_orderInCategory android:orderInCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuGroup_android_visible android:visible}</code></td><td></td></tr>
</table>
@see #MenuGroup_android_checkableBehavior
@see #MenuGroup_android_enabled
@see #MenuGroup_android_id
@see #MenuGroup_android_menuCategory
@see #MenuGroup_android_orderInCategory
@see #MenuGroup_android_visible
*/
public static final int[] MenuGroup = {
0x0101000e, 0x010100d0, 0x01010194, 0x010101de,
0x010101df, 0x010101e0
};
/**
<p>This symbol is the offset where the {@link android.R.attr#checkableBehavior}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:checkableBehavior
*/
public static final int MenuGroup_android_checkableBehavior = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#enabled}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:enabled
*/
public static final int MenuGroup_android_enabled = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:id
*/
public static final int MenuGroup_android_id = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#menuCategory}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:menuCategory
*/
public static final int MenuGroup_android_menuCategory = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#orderInCategory}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:orderInCategory
*/
public static final int MenuGroup_android_orderInCategory = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#visible}
attribute's value can be found in the {@link #MenuGroup} array.
@attr name android:visible
*/
public static final int MenuGroup_android_visible = 2;
/** Attributes that can be used with a MenuItem.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuItem_actionLayout com.companyname.RoundedEntry:actionLayout}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionProviderClass com.companyname.RoundedEntry:actionProviderClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionViewClass com.companyname.RoundedEntry:actionViewClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_alphabeticShortcut android:alphabeticShortcut}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_checkable android:checkable}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_checked android:checked}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_enabled android:enabled}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_icon android:icon}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_menuCategory android:menuCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_numericShortcut android:numericShortcut}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_onClick android:onClick}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_orderInCategory android:orderInCategory}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_title android:title}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_titleCondensed android:titleCondensed}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_android_visible android:visible}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_showAsAction com.companyname.RoundedEntry: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, 0x7f0100cb, 0x7f0100cc, 0x7f0100cd,
0x7f0100ce
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#actionLayout}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:actionLayout
*/
public static final int MenuItem_actionLayout = 14;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#actionProviderClass}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:actionProviderClass
*/
public static final int MenuItem_actionProviderClass = 16;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#actionViewClass}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:actionViewClass
*/
public static final int MenuItem_actionViewClass = 15;
/**
<p>This symbol is the offset where the {@link android.R.attr#alphabeticShortcut}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:alphabeticShortcut
*/
public static final int MenuItem_android_alphabeticShortcut = 9;
/**
<p>This symbol is the offset where the {@link android.R.attr#checkable}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:checkable
*/
public static final int MenuItem_android_checkable = 11;
/**
<p>This symbol is the offset where the {@link android.R.attr#checked}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:checked
*/
public static final int MenuItem_android_checked = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#enabled}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:enabled
*/
public static final int MenuItem_android_enabled = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#icon}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:icon
*/
public static final int MenuItem_android_icon = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:id
*/
public static final int MenuItem_android_id = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#menuCategory}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:menuCategory
*/
public static final int MenuItem_android_menuCategory = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#numericShortcut}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:numericShortcut
*/
public static final int MenuItem_android_numericShortcut = 10;
/**
<p>This symbol is the offset where the {@link android.R.attr#onClick}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:onClick
*/
public static final int MenuItem_android_onClick = 12;
/**
<p>This symbol is the offset where the {@link android.R.attr#orderInCategory}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:orderInCategory
*/
public static final int MenuItem_android_orderInCategory = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#title}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:title
*/
public static final int MenuItem_android_title = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#titleCondensed}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:titleCondensed
*/
public static final int MenuItem_android_titleCondensed = 8;
/**
<p>This symbol is the offset where the {@link android.R.attr#visible}
attribute's value can be found in the {@link #MenuItem} array.
@attr name android:visible
*/
public static final int MenuItem_android_visible = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#showAsAction}
attribute's value can be found in the {@link #MenuItem} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>never</code></td><td>0</td><td></td></tr>
<tr><td><code>ifRoom</code></td><td>1</td><td></td></tr>
<tr><td><code>always</code></td><td>2</td><td></td></tr>
<tr><td><code>withText</code></td><td>4</td><td></td></tr>
<tr><td><code>collapseActionView</code></td><td>8</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:showAsAction
*/
public static final int MenuItem_showAsAction = 13;
/** Attributes that can be used with a MenuView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #MenuView_android_headerBackground android:headerBackground}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_horizontalDivider android:horizontalDivider}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemBackground android:itemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemIconDisabledAlpha android:itemIconDisabledAlpha}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_itemTextAppearance android:itemTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_verticalDivider android:verticalDivider}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_android_windowAnimationStyle android:windowAnimationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_preserveIconSpacing com.companyname.RoundedEntry:preserveIconSpacing}</code></td><td></td></tr>
<tr><td><code>{@link #MenuView_subMenuArrow com.companyname.RoundedEntry:subMenuArrow}</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
@see #MenuView_subMenuArrow
*/
public static final int[] MenuView = {
0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e,
0x0101012f, 0x01010130, 0x01010131, 0x7f0100cf,
0x7f0100d0
};
/**
<p>This symbol is the offset where the {@link android.R.attr#headerBackground}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:headerBackground
*/
public static final int MenuView_android_headerBackground = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#horizontalDivider}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:horizontalDivider
*/
public static final int MenuView_android_horizontalDivider = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemBackground}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemBackground
*/
public static final int MenuView_android_itemBackground = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemIconDisabledAlpha}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemIconDisabledAlpha
*/
public static final int MenuView_android_itemIconDisabledAlpha = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#itemTextAppearance}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:itemTextAppearance
*/
public static final int MenuView_android_itemTextAppearance = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#verticalDivider}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:verticalDivider
*/
public static final int MenuView_android_verticalDivider = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle}
attribute's value can be found in the {@link #MenuView} array.
@attr name android:windowAnimationStyle
*/
public static final int MenuView_android_windowAnimationStyle = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#preserveIconSpacing}
attribute's value can be found in the {@link #MenuView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:preserveIconSpacing
*/
public static final int MenuView_preserveIconSpacing = 7;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#subMenuArrow}
attribute's value can be found in the {@link #MenuView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:subMenuArrow
*/
public static final int MenuView_subMenuArrow = 8;
/** Attributes that can be used with a NavigationView.
<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 #NavigationView_android_background android:background}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_android_fitsSystemWindows android:fitsSystemWindows}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_android_maxWidth android:maxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_elevation com.companyname.RoundedEntry:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_headerLayout com.companyname.RoundedEntry:headerLayout}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_itemBackground com.companyname.RoundedEntry:itemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_itemIconTint com.companyname.RoundedEntry:itemIconTint}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_itemTextAppearance com.companyname.RoundedEntry:itemTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_itemTextColor com.companyname.RoundedEntry:itemTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_menu com.companyname.RoundedEntry:menu}</code></td><td></td></tr>
</table>
@see #NavigationView_android_background
@see #NavigationView_android_fitsSystemWindows
@see #NavigationView_android_maxWidth
@see #NavigationView_elevation
@see #NavigationView_headerLayout
@see #NavigationView_itemBackground
@see #NavigationView_itemIconTint
@see #NavigationView_itemTextAppearance
@see #NavigationView_itemTextColor
@see #NavigationView_menu
*/
public static final int[] NavigationView = {
0x010100d4, 0x010100dd, 0x0101011f, 0x7f010038,
0x7f01012e, 0x7f01012f, 0x7f010130, 0x7f010131,
0x7f010132, 0x7f010133
};
/**
<p>This symbol is the offset where the {@link android.R.attr#background}
attribute's value can be found in the {@link #NavigationView} array.
@attr name android:background
*/
public static final int NavigationView_android_background = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#fitsSystemWindows}
attribute's value can be found in the {@link #NavigationView} array.
@attr name android:fitsSystemWindows
*/
public static final int NavigationView_android_fitsSystemWindows = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#maxWidth}
attribute's value can be found in the {@link #NavigationView} array.
@attr name android:maxWidth
*/
public static final int NavigationView_android_maxWidth = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#elevation}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:elevation
*/
public static final int NavigationView_elevation = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#headerLayout}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:headerLayout
*/
public static final int NavigationView_headerLayout = 9;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#itemBackground}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:itemBackground
*/
public static final int NavigationView_itemBackground = 7;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#itemIconTint}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:itemIconTint
*/
public static final int NavigationView_itemIconTint = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#itemTextAppearance}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:itemTextAppearance
*/
public static final int NavigationView_itemTextAppearance = 8;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#itemTextColor}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:itemTextColor
*/
public static final int NavigationView_itemTextColor = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#menu}
attribute's value can be found in the {@link #NavigationView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:menu
*/
public static final int NavigationView_menu = 4;
/** 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_popupAnimationStyle android:popupAnimationStyle}</code></td><td></td></tr>
<tr><td><code>{@link #PopupWindow_android_popupBackground android:popupBackground}</code></td><td></td></tr>
<tr><td><code>{@link #PopupWindow_overlapAnchor com.companyname.RoundedEntry:overlapAnchor}</code></td><td></td></tr>
</table>
@see #PopupWindow_android_popupAnimationStyle
@see #PopupWindow_android_popupBackground
@see #PopupWindow_overlapAnchor
*/
public static final int[] PopupWindow = {
0x01010176, 0x010102c9, 0x7f0100d1
};
/**
<p>This symbol is the offset where the {@link android.R.attr#popupAnimationStyle}
attribute's value can be found in the {@link #PopupWindow} array.
@attr name android:popupAnimationStyle
*/
public static final int PopupWindow_android_popupAnimationStyle = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#popupBackground}
attribute's value can be found in the {@link #PopupWindow} array.
@attr name android:popupBackground
*/
public static final int PopupWindow_android_popupBackground = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#overlapAnchor}
attribute's value can be found in the {@link #PopupWindow} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:overlapAnchor
*/
public static final int PopupWindow_overlapAnchor = 2;
/** Attributes that can be used with a PopupWindowBackgroundState.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #PopupWindowBackgroundState_state_above_anchor com.companyname.RoundedEntry:state_above_anchor}</code></td><td></td></tr>
</table>
@see #PopupWindowBackgroundState_state_above_anchor
*/
public static final int[] PopupWindowBackgroundState = {
0x7f0100d2
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#state_above_anchor}
attribute's value can be found in the {@link #PopupWindowBackgroundState} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:state_above_anchor
*/
public static final int PopupWindowBackgroundState_state_above_anchor = 0;
/** Attributes that can be used with a RecycleListView.
<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 #RecycleListView_paddingBottomNoButtons com.companyname.RoundedEntry:paddingBottomNoButtons}</code></td><td></td></tr>
<tr><td><code>{@link #RecycleListView_paddingTopNoTitle com.companyname.RoundedEntry:paddingTopNoTitle}</code></td><td></td></tr>
</table>
@see #RecycleListView_paddingBottomNoButtons
@see #RecycleListView_paddingTopNoTitle
*/
public static final int[] RecycleListView = {
0x7f0100d3, 0x7f0100d4
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#paddingBottomNoButtons}
attribute's value can be found in the {@link #RecycleListView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:paddingBottomNoButtons
*/
public static final int RecycleListView_paddingBottomNoButtons = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#paddingTopNoTitle}
attribute's value can be found in the {@link #RecycleListView} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:paddingTopNoTitle
*/
public static final int RecycleListView_paddingTopNoTitle = 1;
/** Attributes that can be used with a RecyclerView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #RecyclerView_android_descendantFocusability android:descendantFocusability}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_android_orientation android:orientation}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_layoutManager com.companyname.RoundedEntry:layoutManager}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_reverseLayout com.companyname.RoundedEntry:reverseLayout}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_spanCount com.companyname.RoundedEntry:spanCount}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_stackFromEnd com.companyname.RoundedEntry:stackFromEnd}</code></td><td></td></tr>
</table>
@see #RecyclerView_android_descendantFocusability
@see #RecyclerView_android_orientation
@see #RecyclerView_layoutManager
@see #RecyclerView_reverseLayout
@see #RecyclerView_spanCount
@see #RecyclerView_stackFromEnd
*/
public static final int[] RecyclerView = {
0x010100c4, 0x010100f1, 0x7f010000, 0x7f010001,
0x7f010002, 0x7f010003
};
/**
<p>This symbol is the offset where the {@link android.R.attr#descendantFocusability}
attribute's value can be found in the {@link #RecyclerView} array.
@attr name android:descendantFocusability
*/
public static final int RecyclerView_android_descendantFocusability = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#orientation}
attribute's value can be found in the {@link #RecyclerView} array.
@attr name android:orientation
*/
public static final int RecyclerView_android_orientation = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#layoutManager}
attribute's value can be found in the {@link #RecyclerView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:layoutManager
*/
public static final int RecyclerView_layoutManager = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#reverseLayout}
attribute's value can be found in the {@link #RecyclerView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:reverseLayout
*/
public static final int RecyclerView_reverseLayout = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#spanCount}
attribute's value can be found in the {@link #RecyclerView} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:spanCount
*/
public static final int RecyclerView_spanCount = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#stackFromEnd}
attribute's value can be found in the {@link #RecyclerView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:stackFromEnd
*/
public static final int RecyclerView_stackFromEnd = 5;
/** Attributes that can be used with a ScrimInsetsFrameLayout.
<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 #ScrimInsetsFrameLayout_insetForeground com.companyname.RoundedEntry:insetForeground}</code></td><td></td></tr>
</table>
@see #ScrimInsetsFrameLayout_insetForeground
*/
public static final int[] ScrimInsetsFrameLayout = {
0x7f010134
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#insetForeground}
attribute's value can be found in the {@link #ScrimInsetsFrameLayout} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
@attr name com.companyname.RoundedEntry:insetForeground
*/
public static final int ScrimInsetsFrameLayout_insetForeground = 0;
/** Attributes that can be used with a ScrollingViewBehavior_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 #ScrollingViewBehavior_Layout_behavior_overlapTop com.companyname.RoundedEntry:behavior_overlapTop}</code></td><td></td></tr>
</table>
@see #ScrollingViewBehavior_Layout_behavior_overlapTop
*/
public static final int[] ScrollingViewBehavior_Layout = {
0x7f010135
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#behavior_overlapTop}
attribute's value can be found in the {@link #ScrollingViewBehavior_Layout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:behavior_overlapTop
*/
public static final int ScrollingViewBehavior_Layout_behavior_overlapTop = 0;
/** Attributes that can be used with a SearchView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SearchView_android_focusable android:focusable}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_imeOptions android:imeOptions}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_inputType android:inputType}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_android_maxWidth android:maxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_closeIcon com.companyname.RoundedEntry:closeIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_commitIcon com.companyname.RoundedEntry:commitIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_defaultQueryHint com.companyname.RoundedEntry:defaultQueryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_goIcon com.companyname.RoundedEntry:goIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_iconifiedByDefault com.companyname.RoundedEntry:iconifiedByDefault}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_layout com.companyname.RoundedEntry:layout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryBackground com.companyname.RoundedEntry:queryBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryHint com.companyname.RoundedEntry:queryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchHintIcon com.companyname.RoundedEntry:searchHintIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchIcon com.companyname.RoundedEntry:searchIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_submitBackground com.companyname.RoundedEntry:submitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_suggestionRowLayout com.companyname.RoundedEntry:suggestionRowLayout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_voiceIcon com.companyname.RoundedEntry: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,
0x7f0100d5, 0x7f0100d6, 0x7f0100d7, 0x7f0100d8,
0x7f0100d9, 0x7f0100da, 0x7f0100db, 0x7f0100dc,
0x7f0100dd, 0x7f0100de, 0x7f0100df, 0x7f0100e0,
0x7f0100e1
};
/**
<p>This symbol is the offset where the {@link android.R.attr#focusable}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:focusable
*/
public static final int SearchView_android_focusable = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#imeOptions}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:imeOptions
*/
public static final int SearchView_android_imeOptions = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#inputType}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:inputType
*/
public static final int SearchView_android_inputType = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#maxWidth}
attribute's value can be found in the {@link #SearchView} array.
@attr name android:maxWidth
*/
public static final int SearchView_android_maxWidth = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#closeIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:closeIcon
*/
public static final int SearchView_closeIcon = 8;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#commitIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:commitIcon
*/
public static final int SearchView_commitIcon = 13;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#defaultQueryHint}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:defaultQueryHint
*/
public static final int SearchView_defaultQueryHint = 7;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#goIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:goIcon
*/
public static final int SearchView_goIcon = 9;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#iconifiedByDefault}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:iconifiedByDefault
*/
public static final int SearchView_iconifiedByDefault = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#layout}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:layout
*/
public static final int SearchView_layout = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#queryBackground}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:queryBackground
*/
public static final int SearchView_queryBackground = 15;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#queryHint}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:queryHint
*/
public static final int SearchView_queryHint = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#searchHintIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:searchHintIcon
*/
public static final int SearchView_searchHintIcon = 11;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#searchIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:searchIcon
*/
public static final int SearchView_searchIcon = 10;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#submitBackground}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:submitBackground
*/
public static final int SearchView_submitBackground = 16;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#suggestionRowLayout}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:suggestionRowLayout
*/
public static final int SearchView_suggestionRowLayout = 14;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#voiceIcon}
attribute's value can be found in the {@link #SearchView} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:voiceIcon
*/
public static final int SearchView_voiceIcon = 12;
/** Attributes that can be used with a SnackbarLayout.
<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 #SnackbarLayout_android_maxWidth android:maxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SnackbarLayout_elevation com.companyname.RoundedEntry:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #SnackbarLayout_maxActionInlineWidth com.companyname.RoundedEntry:maxActionInlineWidth}</code></td><td></td></tr>
</table>
@see #SnackbarLayout_android_maxWidth
@see #SnackbarLayout_elevation
@see #SnackbarLayout_maxActionInlineWidth
*/
public static final int[] SnackbarLayout = {
0x0101011f, 0x7f010038, 0x7f010136
};
/**
<p>This symbol is the offset where the {@link android.R.attr#maxWidth}
attribute's value can be found in the {@link #SnackbarLayout} array.
@attr name android:maxWidth
*/
public static final int SnackbarLayout_android_maxWidth = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#elevation}
attribute's value can be found in the {@link #SnackbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:elevation
*/
public static final int SnackbarLayout_elevation = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#maxActionInlineWidth}
attribute's value can be found in the {@link #SnackbarLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:maxActionInlineWidth
*/
public static final int SnackbarLayout_maxActionInlineWidth = 2;
/** 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 com.companyname.RoundedEntry: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,
0x7f010039
};
/**
<p>This symbol is the offset where the {@link android.R.attr#dropDownWidth}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:dropDownWidth
*/
public static final int Spinner_android_dropDownWidth = 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 final int Spinner_android_entries = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#popupBackground}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:popupBackground
*/
public static final int Spinner_android_popupBackground = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#prompt}
attribute's value can be found in the {@link #Spinner} array.
@attr name android:prompt
*/
public static final int Spinner_android_prompt = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#popupTheme}
attribute's value can be found in the {@link #Spinner} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:popupTheme
*/
public static final int Spinner_popupTheme = 4;
/** Attributes that can be used with a SwitchCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #SwitchCompat_android_textOff android:textOff}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_android_textOn android:textOn}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_android_thumb android:thumb}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_showText com.companyname.RoundedEntry:showText}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_splitTrack com.companyname.RoundedEntry:splitTrack}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchMinWidth com.companyname.RoundedEntry:switchMinWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchPadding com.companyname.RoundedEntry:switchPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchTextAppearance com.companyname.RoundedEntry:switchTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_thumbTextPadding com.companyname.RoundedEntry:thumbTextPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_thumbTint com.companyname.RoundedEntry:thumbTint}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_thumbTintMode com.companyname.RoundedEntry:thumbTintMode}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_track com.companyname.RoundedEntry:track}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_trackTint com.companyname.RoundedEntry:trackTint}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_trackTintMode com.companyname.RoundedEntry:trackTintMode}</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_thumbTint
@see #SwitchCompat_thumbTintMode
@see #SwitchCompat_track
@see #SwitchCompat_trackTint
@see #SwitchCompat_trackTintMode
*/
public static final int[] SwitchCompat = {
0x01010124, 0x01010125, 0x01010142, 0x7f0100e2,
0x7f0100e3, 0x7f0100e4, 0x7f0100e5, 0x7f0100e6,
0x7f0100e7, 0x7f0100e8, 0x7f0100e9, 0x7f0100ea,
0x7f0100eb, 0x7f0100ec
};
/**
<p>This symbol is the offset where the {@link android.R.attr#textOff}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:textOff
*/
public static final int SwitchCompat_android_textOff = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#textOn}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:textOn
*/
public static final int SwitchCompat_android_textOn = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#thumb}
attribute's value can be found in the {@link #SwitchCompat} array.
@attr name android:thumb
*/
public static final int SwitchCompat_android_thumb = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#showText}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:showText
*/
public static final int SwitchCompat_showText = 13;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#splitTrack}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:splitTrack
*/
public static final int SwitchCompat_splitTrack = 12;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#switchMinWidth}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:switchMinWidth
*/
public static final int SwitchCompat_switchMinWidth = 10;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#switchPadding}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:switchPadding
*/
public static final int SwitchCompat_switchPadding = 11;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#switchTextAppearance}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:switchTextAppearance
*/
public static final int SwitchCompat_switchTextAppearance = 9;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#thumbTextPadding}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:thumbTextPadding
*/
public static final int SwitchCompat_thumbTextPadding = 8;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#thumbTint}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:thumbTint
*/
public static final int SwitchCompat_thumbTint = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#thumbTintMode}
attribute's value can be found in the {@link #SwitchCompat} 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>
<tr><td><code>add</code></td><td>16</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:thumbTintMode
*/
public static final int SwitchCompat_thumbTintMode = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#track}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:track
*/
public static final int SwitchCompat_track = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#trackTint}
attribute's value can be found in the {@link #SwitchCompat} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:trackTint
*/
public static final int SwitchCompat_trackTint = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#trackTintMode}
attribute's value can be found in the {@link #SwitchCompat} 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>
<tr><td><code>add</code></td><td>16</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:trackTintMode
*/
public static final int SwitchCompat_trackTintMode = 7;
/** Attributes that can be used with a TabItem.
<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 #TabItem_android_icon android:icon}</code></td><td></td></tr>
<tr><td><code>{@link #TabItem_android_layout android:layout}</code></td><td></td></tr>
<tr><td><code>{@link #TabItem_android_text android:text}</code></td><td></td></tr>
</table>
@see #TabItem_android_icon
@see #TabItem_android_layout
@see #TabItem_android_text
*/
public static final int[] TabItem = {
0x01010002, 0x010100f2, 0x0101014f
};
/**
<p>This symbol is the offset where the {@link android.R.attr#icon}
attribute's value can be found in the {@link #TabItem} array.
@attr name android:icon
*/
public static final int TabItem_android_icon = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #TabItem} array.
@attr name android:layout
*/
public static final int TabItem_android_layout = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#text}
attribute's value can be found in the {@link #TabItem} array.
@attr name android:text
*/
public static final int TabItem_android_text = 2;
/** Attributes that can be used with a TabLayout.
<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 #TabLayout_tabBackground com.companyname.RoundedEntry:tabBackground}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabContentStart com.companyname.RoundedEntry:tabContentStart}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabGravity com.companyname.RoundedEntry:tabGravity}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabIndicatorColor com.companyname.RoundedEntry:tabIndicatorColor}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabIndicatorHeight com.companyname.RoundedEntry:tabIndicatorHeight}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabMaxWidth com.companyname.RoundedEntry:tabMaxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabMinWidth com.companyname.RoundedEntry:tabMinWidth}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabMode com.companyname.RoundedEntry:tabMode}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPadding com.companyname.RoundedEntry:tabPadding}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPaddingBottom com.companyname.RoundedEntry:tabPaddingBottom}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPaddingEnd com.companyname.RoundedEntry:tabPaddingEnd}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPaddingStart com.companyname.RoundedEntry:tabPaddingStart}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPaddingTop com.companyname.RoundedEntry:tabPaddingTop}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabSelectedTextColor com.companyname.RoundedEntry:tabSelectedTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabTextAppearance com.companyname.RoundedEntry:tabTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabTextColor com.companyname.RoundedEntry:tabTextColor}</code></td><td></td></tr>
</table>
@see #TabLayout_tabBackground
@see #TabLayout_tabContentStart
@see #TabLayout_tabGravity
@see #TabLayout_tabIndicatorColor
@see #TabLayout_tabIndicatorHeight
@see #TabLayout_tabMaxWidth
@see #TabLayout_tabMinWidth
@see #TabLayout_tabMode
@see #TabLayout_tabPadding
@see #TabLayout_tabPaddingBottom
@see #TabLayout_tabPaddingEnd
@see #TabLayout_tabPaddingStart
@see #TabLayout_tabPaddingTop
@see #TabLayout_tabSelectedTextColor
@see #TabLayout_tabTextAppearance
@see #TabLayout_tabTextColor
*/
public static final int[] TabLayout = {
0x7f010137, 0x7f010138, 0x7f010139, 0x7f01013a,
0x7f01013b, 0x7f01013c, 0x7f01013d, 0x7f01013e,
0x7f01013f, 0x7f010140, 0x7f010141, 0x7f010142,
0x7f010143, 0x7f010144, 0x7f010145, 0x7f010146
};
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabBackground}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:tabBackground
*/
public static final int TabLayout_tabBackground = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabContentStart}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tabContentStart
*/
public static final int TabLayout_tabContentStart = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabGravity}
attribute's value can be found in the {@link #TabLayout} 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>fill</code></td><td>0</td><td></td></tr>
<tr><td><code>center</code></td><td>1</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:tabGravity
*/
public static final int TabLayout_tabGravity = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabIndicatorColor}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tabIndicatorColor
*/
public static final int TabLayout_tabIndicatorColor = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabIndicatorHeight}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tabIndicatorHeight
*/
public static final int TabLayout_tabIndicatorHeight = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabMaxWidth}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tabMaxWidth
*/
public static final int TabLayout_tabMaxWidth = 7;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabMinWidth}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tabMinWidth
*/
public static final int TabLayout_tabMinWidth = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabMode}
attribute's value can be found in the {@link #TabLayout} 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>scrollable</code></td><td>0</td><td></td></tr>
<tr><td><code>fixed</code></td><td>1</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:tabMode
*/
public static final int TabLayout_tabMode = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabPadding}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tabPadding
*/
public static final int TabLayout_tabPadding = 15;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabPaddingBottom}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tabPaddingBottom
*/
public static final int TabLayout_tabPaddingBottom = 14;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabPaddingEnd}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tabPaddingEnd
*/
public static final int TabLayout_tabPaddingEnd = 13;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabPaddingStart}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tabPaddingStart
*/
public static final int TabLayout_tabPaddingStart = 11;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabPaddingTop}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tabPaddingTop
*/
public static final int TabLayout_tabPaddingTop = 12;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabSelectedTextColor}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tabSelectedTextColor
*/
public static final int TabLayout_tabSelectedTextColor = 10;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabTextAppearance}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:tabTextAppearance
*/
public static final int TabLayout_tabTextAppearance = 8;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#tabTextColor}
attribute's value can be found in the {@link #TabLayout} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:tabTextColor
*/
public static final int TabLayout_tabTextColor = 9;
/** Attributes that can be used with a TextAppearance.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #TextAppearance_android_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_textColorHint android:textColorHint}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textSize android:textSize}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_textStyle android:textStyle}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_android_typeface android:typeface}</code></td><td></td></tr>
<tr><td><code>{@link #TextAppearance_textAllCaps com.companyname.RoundedEntry: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_textColorHint
@see #TextAppearance_android_textSize
@see #TextAppearance_android_textStyle
@see #TextAppearance_android_typeface
@see #TextAppearance_textAllCaps
*/
public static final int[] TextAppearance = {
0x01010095, 0x01010096, 0x01010097, 0x01010098,
0x0101009a, 0x01010161, 0x01010162, 0x01010163,
0x01010164, 0x7f010049
};
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowColor}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowColor
*/
public static final int TextAppearance_android_shadowColor = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDx}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowDx
*/
public static final int TextAppearance_android_shadowDx = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDy}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowDy
*/
public static final int TextAppearance_android_shadowDy = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowRadius}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowRadius
*/
public static final int TextAppearance_android_shadowRadius = 8;
/**
<p>This symbol is the offset where the {@link android.R.attr#textColor}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textColor
*/
public static final int TextAppearance_android_textColor = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#textColorHint}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textColorHint
*/
public static final int TextAppearance_android_textColorHint = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#textSize}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textSize
*/
public static final int TextAppearance_android_textSize = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#textStyle}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textStyle
*/
public static final int TextAppearance_android_textStyle = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#typeface}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:typeface
*/
public static final int TextAppearance_android_typeface = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#textAllCaps}
attribute's value can be found in the {@link #TextAppearance} array.
<p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a boolean value, either "<code>true</code>" or "<code>false</code>".
@attr name com.companyname.RoundedEntry:textAllCaps
*/
public static final int TextAppearance_textAllCaps = 9;
/** Attributes that can be used with a TextInputLayout.
<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 #TextInputLayout_android_hint android:hint}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_android_textColorHint android:textColorHint}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_counterEnabled com.companyname.RoundedEntry:counterEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_counterMaxLength com.companyname.RoundedEntry:counterMaxLength}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_counterOverflowTextAppearance com.companyname.RoundedEntry:counterOverflowTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_counterTextAppearance com.companyname.RoundedEntry:counterTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_errorEnabled com.companyname.RoundedEntry:errorEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_errorTextAppearance com.companyname.RoundedEntry:errorTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_hintAnimationEnabled com.companyname.RoundedEntry:hintAnimationEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_hintEnabled com.companyname.RoundedEntry:hintEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_hintTextAppearance com.companyname.RoundedEntry:hintTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_passwordToggleContentDescription com.companyname.RoundedEntry:passwordToggleContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_passwordToggleDrawable com.companyname.RoundedEntry:passwordToggleDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_passwordToggleEnabled com.companyname.RoundedEntry:passwordToggleEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_passwordToggleTint com.companyname.RoundedEntry:passwordToggleTint}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_passwordToggleTintMode com.companyname.RoundedEntry:passwordToggleTintMode}</code></td><td></td></tr>
</table>
@see #TextInputLayout_android_hint
@see #TextInputLayout_android_textColorHint
@see #TextInputLayout_counterEnabled
@see #TextInputLayout_counterMaxLength
@see #TextInputLayout_counterOverflowTextAppearance
@see #TextInputLayout_counterTextAppearance
@see #TextInputLayout_errorEnabled
@see #TextInputLayout_errorTextAppearance
@see #TextInputLayout_hintAnimationEnabled
@see #TextInputLayout_hintEnabled
@see #TextInputLayout_hintTextAppearance
@see #TextInputLayout_passwordToggleContentDescription
@see #TextInputLayout_passwordToggleDrawable
@see #TextInputLayout_passwordToggleEnabled
@see #TextInputLayout_passwordToggleTint
@see #TextInputLayout_passwordToggleTintMode
*/
public static final int[] TextInputLayout = {
0x0101009a, 0x01010150, 0x7f010147, 0x7f010148,
0x7f010149, 0x7f01014a, 0x7f01014b, 0x7f01014c,
0x7f01014d, 0x7f01014e, 0x7f01014f, 0x7f010150,
0x7f010151, 0x7f010152, 0x7f010153, 0x7f010154
};
/**
<p>This symbol is the offset where the {@link android.R.attr#hint}
attribute's value can be found in the {@link #TextInputLayout} array.
@attr name android:hint
*/
public static final int TextInputLayout_android_hint = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#textColorHint}
attribute's value can be found in the {@link #TextInputLayout} array.
@attr name android:textColorHint
*/
public static final int TextInputLayout_android_textColorHint = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#counterEnabled}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:counterEnabled
*/
public static final int TextInputLayout_counterEnabled = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#counterMaxLength}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be an integer value, such as "<code>100</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:counterMaxLength
*/
public static final int TextInputLayout_counterMaxLength = 7;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#counterOverflowTextAppearance}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:counterOverflowTextAppearance
*/
public static final int TextInputLayout_counterOverflowTextAppearance = 9;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#counterTextAppearance}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:counterTextAppearance
*/
public static final int TextInputLayout_counterTextAppearance = 8;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#errorEnabled}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:errorEnabled
*/
public static final int TextInputLayout_errorEnabled = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#errorTextAppearance}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:errorTextAppearance
*/
public static final int TextInputLayout_errorTextAppearance = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#hintAnimationEnabled}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:hintAnimationEnabled
*/
public static final int TextInputLayout_hintAnimationEnabled = 10;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#hintEnabled}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:hintEnabled
*/
public static final int TextInputLayout_hintEnabled = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#hintTextAppearance}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:hintTextAppearance
*/
public static final int TextInputLayout_hintTextAppearance = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#passwordToggleContentDescription}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:passwordToggleContentDescription
*/
public static final int TextInputLayout_passwordToggleContentDescription = 13;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#passwordToggleDrawable}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:passwordToggleDrawable
*/
public static final int TextInputLayout_passwordToggleDrawable = 12;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#passwordToggleEnabled}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:passwordToggleEnabled
*/
public static final int TextInputLayout_passwordToggleEnabled = 11;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#passwordToggleTint}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:passwordToggleTint
*/
public static final int TextInputLayout_passwordToggleTint = 14;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#passwordToggleTintMode}
attribute's value can be found in the {@link #TextInputLayout} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:passwordToggleTintMode
*/
public static final int TextInputLayout_passwordToggleTintMode = 15;
/** 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_buttonGravity com.companyname.RoundedEntry:buttonGravity}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseContentDescription com.companyname.RoundedEntry:collapseContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseIcon com.companyname.RoundedEntry:collapseIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetEnd com.companyname.RoundedEntry:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetEndWithActions com.companyname.RoundedEntry:contentInsetEndWithActions}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetLeft com.companyname.RoundedEntry:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetRight com.companyname.RoundedEntry:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetStart com.companyname.RoundedEntry:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetStartWithNavigation com.companyname.RoundedEntry:contentInsetStartWithNavigation}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_logo com.companyname.RoundedEntry:logo}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_logoDescription com.companyname.RoundedEntry:logoDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_maxButtonHeight com.companyname.RoundedEntry:maxButtonHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationContentDescription com.companyname.RoundedEntry:navigationContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationIcon com.companyname.RoundedEntry:navigationIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_popupTheme com.companyname.RoundedEntry:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitle com.companyname.RoundedEntry:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextAppearance com.companyname.RoundedEntry:subtitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextColor com.companyname.RoundedEntry:subtitleTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_title com.companyname.RoundedEntry:title}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMargin com.companyname.RoundedEntry:titleMargin}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginBottom com.companyname.RoundedEntry:titleMarginBottom}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginEnd com.companyname.RoundedEntry:titleMarginEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginStart com.companyname.RoundedEntry:titleMarginStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginTop com.companyname.RoundedEntry:titleMarginTop}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMargins com.companyname.RoundedEntry:titleMargins}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextAppearance com.companyname.RoundedEntry:titleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextColor com.companyname.RoundedEntry:titleTextColor}</code></td><td></td></tr>
</table>
@see #Toolbar_android_gravity
@see #Toolbar_android_minHeight
@see #Toolbar_buttonGravity
@see #Toolbar_collapseContentDescription
@see #Toolbar_collapseIcon
@see #Toolbar_contentInsetEnd
@see #Toolbar_contentInsetEndWithActions
@see #Toolbar_contentInsetLeft
@see #Toolbar_contentInsetRight
@see #Toolbar_contentInsetStart
@see #Toolbar_contentInsetStartWithNavigation
@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_titleMargin
@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, 0x7f01001f, 0x7f010022,
0x7f010026, 0x7f010032, 0x7f010033, 0x7f010034,
0x7f010035, 0x7f010036, 0x7f010037, 0x7f010039,
0x7f0100ed, 0x7f0100ee, 0x7f0100ef, 0x7f0100f0,
0x7f0100f1, 0x7f0100f2, 0x7f0100f3, 0x7f0100f4,
0x7f0100f5, 0x7f0100f6, 0x7f0100f7, 0x7f0100f8,
0x7f0100f9, 0x7f0100fa, 0x7f0100fb, 0x7f0100fc,
0x7f0100fd
};
/**
<p>This symbol is the offset where the {@link android.R.attr#gravity}
attribute's value can be found in the {@link #Toolbar} array.
@attr name android:gravity
*/
public static final int Toolbar_android_gravity = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#minHeight}
attribute's value can be found in the {@link #Toolbar} array.
@attr name android:minHeight
*/
public static final int Toolbar_android_minHeight = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#buttonGravity}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be one or more (separated by '|') of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>top</code></td><td>0x30</td><td></td></tr>
<tr><td><code>bottom</code></td><td>0x50</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:buttonGravity
*/
public static final int Toolbar_buttonGravity = 21;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#collapseContentDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:collapseContentDescription
*/
public static final int Toolbar_collapseContentDescription = 23;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#collapseIcon}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:collapseIcon
*/
public static final int Toolbar_collapseIcon = 22;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentInsetEnd}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentInsetEnd
*/
public static final int Toolbar_contentInsetEnd = 6;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentInsetEndWithActions}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentInsetEndWithActions
*/
public static final int Toolbar_contentInsetEndWithActions = 10;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentInsetLeft}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentInsetLeft
*/
public static final int Toolbar_contentInsetLeft = 7;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentInsetRight}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentInsetRight
*/
public static final int Toolbar_contentInsetRight = 8;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentInsetStart}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentInsetStart
*/
public static final int Toolbar_contentInsetStart = 5;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#contentInsetStartWithNavigation}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:contentInsetStartWithNavigation
*/
public static final int Toolbar_contentInsetStartWithNavigation = 9;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#logo}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:logo
*/
public static final int Toolbar_logo = 4;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#logoDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:logoDescription
*/
public static final int Toolbar_logoDescription = 26;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#maxButtonHeight}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:maxButtonHeight
*/
public static final int Toolbar_maxButtonHeight = 20;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#navigationContentDescription}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:navigationContentDescription
*/
public static final int Toolbar_navigationContentDescription = 25;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#navigationIcon}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:navigationIcon
*/
public static final int Toolbar_navigationIcon = 24;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#popupTheme}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:popupTheme
*/
public static final int Toolbar_popupTheme = 11;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#subtitle}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:subtitle
*/
public static final int Toolbar_subtitle = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#subtitleTextAppearance}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:subtitleTextAppearance
*/
public static final int Toolbar_subtitleTextAppearance = 13;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#subtitleTextColor}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:subtitleTextColor
*/
public static final int Toolbar_subtitleTextColor = 28;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#title}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:title
*/
public static final int Toolbar_title = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#titleMargin}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:titleMargin
*/
public static final int Toolbar_titleMargin = 14;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#titleMarginBottom}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:titleMarginBottom
*/
public static final int Toolbar_titleMarginBottom = 18;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#titleMarginEnd}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:titleMarginEnd
*/
public static final int Toolbar_titleMarginEnd = 16;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#titleMarginStart}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:titleMarginStart
*/
public static final int Toolbar_titleMarginStart = 15;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#titleMarginTop}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:titleMarginTop
*/
public static final int Toolbar_titleMarginTop = 17;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#titleMargins}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:titleMargins
*/
public static final int Toolbar_titleMargins = 19;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#titleTextAppearance}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:titleTextAppearance
*/
public static final int Toolbar_titleTextAppearance = 12;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#titleTextColor}
attribute's value can be found in the {@link #Toolbar} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:titleTextColor
*/
public static final int Toolbar_titleTextColor = 27;
/** Attributes that can be used with a View.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #View_android_focusable android:focusable}</code></td><td></td></tr>
<tr><td><code>{@link #View_android_theme android:theme}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingEnd com.companyname.RoundedEntry:paddingEnd}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingStart com.companyname.RoundedEntry:paddingStart}</code></td><td></td></tr>
<tr><td><code>{@link #View_theme com.companyname.RoundedEntry: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, 0x7f0100fe, 0x7f0100ff,
0x7f010100
};
/**
<p>This symbol is the offset where the {@link android.R.attr#focusable}
attribute's value can be found in the {@link #View} array.
@attr name android:focusable
*/
public static final int View_android_focusable = 1;
/**
<p>This symbol is the offset where the {@link android.R.attr#theme}
attribute's value can be found in the {@link #View} array.
@attr name android:theme
*/
public static final int View_android_theme = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#paddingEnd}
attribute's value can be found in the {@link #View} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:paddingEnd
*/
public static final int View_paddingEnd = 3;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#paddingStart}
attribute's value can be found in the {@link #View} array.
<p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:paddingStart
*/
public static final int View_paddingStart = 2;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#theme}
attribute's value can be found in the {@link #View} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name com.companyname.RoundedEntry:theme
*/
public static final int View_theme = 4;
/** Attributes that can be used with a ViewBackgroundHelper.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ViewBackgroundHelper_android_background android:background}</code></td><td></td></tr>
<tr><td><code>{@link #ViewBackgroundHelper_backgroundTint com.companyname.RoundedEntry:backgroundTint}</code></td><td></td></tr>
<tr><td><code>{@link #ViewBackgroundHelper_backgroundTintMode com.companyname.RoundedEntry:backgroundTintMode}</code></td><td></td></tr>
</table>
@see #ViewBackgroundHelper_android_background
@see #ViewBackgroundHelper_backgroundTint
@see #ViewBackgroundHelper_backgroundTintMode
*/
public static final int[] ViewBackgroundHelper = {
0x010100d4, 0x7f010101, 0x7f010102
};
/**
<p>This symbol is the offset where the {@link android.R.attr#background}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
@attr name android:background
*/
public static final int ViewBackgroundHelper_android_background = 0;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#backgroundTint}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
<p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
@attr name com.companyname.RoundedEntry:backgroundTint
*/
public static final int ViewBackgroundHelper_backgroundTint = 1;
/**
<p>This symbol is the offset where the {@link com.companyname.RoundedEntry.R.attr#backgroundTintMode}
attribute's value can be found in the {@link #ViewBackgroundHelper} array.
<p>Must be one of the following constant values.</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Constant</th><th>Value</th><th>Description</th></tr>
<tr><td><code>src_over</code></td><td>3</td><td></td></tr>
<tr><td><code>src_in</code></td><td>5</td><td></td></tr>
<tr><td><code>src_atop</code></td><td>9</td><td></td></tr>
<tr><td><code>multiply</code></td><td>14</td><td></td></tr>
<tr><td><code>screen</code></td><td>15</td><td></td></tr>
</table>
@attr name com.companyname.RoundedEntry:backgroundTintMode
*/
public static final int ViewBackgroundHelper_backgroundTintMode = 2;
/** Attributes that can be used with a ViewStubCompat.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #ViewStubCompat_android_id android:id}</code></td><td></td></tr>
<tr><td><code>{@link #ViewStubCompat_android_inflatedId android:inflatedId}</code></td><td></td></tr>
<tr><td><code>{@link #ViewStubCompat_android_layout android:layout}</code></td><td></td></tr>
</table>
@see #ViewStubCompat_android_id
@see #ViewStubCompat_android_inflatedId
@see #ViewStubCompat_android_layout
*/
public static final int[] ViewStubCompat = {
0x010100d0, 0x010100f2, 0x010100f3
};
/**
<p>This symbol is the offset where the {@link android.R.attr#id}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:id
*/
public static final int ViewStubCompat_android_id = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#inflatedId}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:inflatedId
*/
public static final int ViewStubCompat_android_inflatedId = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#layout}
attribute's value can be found in the {@link #ViewStubCompat} array.
@attr name android:layout
*/
public static final int ViewStubCompat_android_layout = 1;
};
}
| [
"[email protected]"
] | |
59d453d8c6b48e008543a24c12f9846b683ed6f8 | ecc710ffd731bf07b9bce5821d053354978e45df | /src/main/java/org/beginningee6/book/chapter04/ex01/Book01.java | 1505b0cdb6e02f252b584cbc5856a641a3a8fb2b | [] | no_license | osakanaya/beginningee6-chapter04 | 078871aeb438b40b7ce1ad46b365993fadaf81e1 | 7df8922fa828f9f6729bf2e24c78f926fec20fa0 | refs/heads/master | 2021-01-15T09:32:58.775755 | 2013-06-04T01:20:50 | 2013-06-04T01:20:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,019 | java | package org.beginningee6.book.chapter04.ex01;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "book_ex01")
public class Book01 implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
private String title;
private Float price;
private String description;
private String isbn;
private Integer nbOfPage;
private Boolean illustrations;
public Book01() {}
public Book01(String title, Float price, String description, String isbn,
Integer nbOfPage, Boolean illustrations) {
this.title = title;
this.price = price;
this.description = description;
this.isbn = isbn;
this.nbOfPage = nbOfPage;
this.illustrations = illustrations;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public Float getPrice() {
return price;
}
public void setPrice(Float price) {
this.price = price;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getIsbn() {
return isbn;
}
public void setIsbn(String isbn) {
this.isbn = isbn;
}
public Integer getNbOfPage() {
return nbOfPage;
}
public void setNbOfPage(Integer nbOfPage) {
this.nbOfPage = nbOfPage;
}
public Boolean getIllustrations() {
return illustrations;
}
public void setIllustrations(Boolean illustrations) {
this.illustrations = illustrations;
}
public Long getId() {
return id;
}
@Override
public String toString() {
return "Book01 [id=" + id + ", title=" + title + ", price=" + price
+ ", description=" + description + ", isbn=" + isbn
+ ", nbOfPage=" + nbOfPage + ", illustrations=" + illustrations
+ "]";
}
}
| [
"[email protected]"
] | |
3c3daaa58f8cc583f821aba2992f3c2b4dce778e | b1b42d5edde8a18ae8cfe9d39a43f47eac7bda36 | /src/main/java/stepDefinations/Deals.java | dcc0f744cf04d1f5504cb2b3acfaeafce6afcaff | [] | no_license | mmkyqa10/cucumbertest | 8e47349adc8a7dd3c2fb09bc4f0520305c3046b6 | d71a693e4f0ca5c365f346a508d3a7a63c01e557 | refs/heads/master | 2023-01-02T13:13:08.826340 | 2020-10-19T04:12:16 | 2020-10-19T04:12:16 | 305,219,423 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,569 | java | package stepDefinations;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import io.cucumber.datatable.DataTable;
import io.cucumber.java.en.And;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
public class Deals {
WebDriver driver;
@Given("^that the user is on the login page for deals$")
public void that_the_user_is_on_the_login_page() {
System.setProperty("webdriver.chrome.driver","C:\\Drivers\\chromedriver.exe");
driver=new ChromeDriver();
driver.manage().deleteAllCookies();
driver.manage().window().maximize();
driver.get("https://freecrm.com/");
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
}
@And("click on the Login button")
public void click_on_the_login_button() {
WebElement element=driver.findElement(By.xpath("//span[text()='Log In']"));
JavascriptExecutor js= (JavascriptExecutor)driver;
js.executeScript("arguments[0].click();",element);
}
@When("^provided the valid username and password$")
public void provided_the_valid_username_and_password(DataTable credentials) {
List<List<String>> data=credentials.asLists();
driver.findElement(By.name("email")).sendKeys(data.get(0).get(0));
driver.findElement(By.name("password")).sendKeys(data.get(0).get(1));
}
@And("^click on the login buttom$")
public void click_on_login_buttom() {
driver.findElement(By.xpath("//*[@id=\"ui\"]/div/div/form/div/div[3]")).click();
}
@And("^clicks on the deals->New option$")
public void clicks_on_the_deals_new_option() {
driver.findElement(By.xpath("//span[text()='Deals']")).click();
driver.findElement(By.xpath("//button[text()='New']")).click();
}
@And("^fill the title,description and probability$")
public void fill_the_title_description_and_probability(DataTable dealinfo) {
List<List<String>> data=dealinfo.asLists();
driver.findElement(By.name("title")).sendKeys(data.get(0).get(0));
driver.findElement(By.name("description")).sendKeys(data.get(0).get(1));
driver.findElement(By.name("probability")).sendKeys(data.get(0).get(2));
}
@And("^click on Save button for deals$")
public void click_on_save_button_for_deals() {
driver.findElement(By.xpath("//button[text()='Save']")).click();
}
@Then("^deal should be added$")
public void deal_should_be_added() {
driver.close();
}
}
| [
"[email protected]"
] | |
aa71c865cebfd8c54a46c12dafb3344a78634831 | 75ad70d669c0d98eff9d3dae7510b38c620985db | /src/main/java/demo/AclCheckingEntityListener.java | b9011f56ca4749244b85539fac10c2514a62c062 | [] | no_license | aravindhrs/spring-security-data | cf796a433dc6aa10c255c39f1901aabd57112cb3 | 11fedda6f1d4d1df65413fa83662cbf9a5f33b26 | refs/heads/master | 2021-01-13T08:01:45.647926 | 2015-09-10T15:50:54 | 2015-09-10T15:50:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,521 | java | /*
* Copyright 2015 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 demo;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Collections;
import javax.persistence.EntityManager;
import javax.persistence.PostPersist;
import javax.persistence.PrePersist;
import javax.persistence.PreRemove;
import javax.persistence.PreUpdate;
import org.aopalliance.intercept.MethodInvocation;
import org.springframework.aop.interceptor.ExposeInvocationInterceptor;
import org.springframework.data.jpa.repository.JpaContext;
import org.springframework.data.jpa.repository.support.JpaEntityInformation;
import org.springframework.data.jpa.repository.support.JpaEntityInformationSupport;
import org.springframework.data.jpa.repository.support.JpaUpdateContext;
import org.springframework.data.jpa.repository.support.QueryExecutor;
import org.springframework.data.repository.Repository;
import org.springframework.data.repository.augment.QueryAugmentationEngine;
import org.springframework.data.repository.augment.UpdateContext.UpdateMode;
import org.springframework.security.core.context.SecurityContextHolder;
/**
* A JPA entity listener to make sure permissions are checked for JPA flushes outside a repository invocation. Also
* registers default Permissions when objects are persisted.
*
* @author Oliver Gierke
*/
public class AclCheckingEntityListener {
// TODO: Use proper dependency injection
private AclQueryAugmentor<Object> augmentor = new AclQueryAugmentor<Object>();
// TODO: Use proper dependency injection
public static JpaContext context;
@PrePersist
@PreUpdate
public void verifyAclBeforeModification(Object entity) {
verifyAcl(entity, UpdateMode.SAVE);
}
@PreRemove
public void verifyAclBeforeDelete(Object entity) {
verifyAcl(entity, UpdateMode.DELETE);
}
@SuppressWarnings({ "unchecked", "rawtypes" })
private void verifyAcl(Object entity, UpdateMode mode) {
try {
MethodInvocation invocation = ExposeInvocationInterceptor.currentInvocation();
// In case the call is issued by a call to a repository the verification has already taken place
if (Repository.class.isInstance(invocation.getThis())) {
return;
}
} catch (IllegalStateException e) {}
Class<? extends Object> domainType = entity.getClass();
EntityManager entityManager = context.getEntityManagerByManagedType(domainType);
JpaEntityInformation entityInformation = JpaEntityInformationSupport.getEntityInformation(domainType,
entityManager);
QueryAugmentationEngine engine = new QueryAugmentationEngine(Collections.singleton(augmentor));
QueryExecutor<Object, Serializable> executor = new QueryExecutor<Object, Serializable>(entityInformation,
entityManager, engine, null);
JpaUpdateContext<Object, Serializable> updateContext = new JpaUpdateContext<Object, Serializable>(entity, mode,
entityManager, executor, entityInformation);
augmentor.prepareUpdate(updateContext, null);
}
/**
* Creates default {@link Permission} instances when an entity is created. TODO: Make sure the default permissions can
* be configured somewhere.
*
* @param entity
*/
@PostPersist
@SuppressWarnings({ "unchecked", "rawtypes" })
public void createDefaultAcl(Object entity) {
if (Permission.class.isInstance(entity)) {
return;
}
Class<? extends Object> domainType = entity.getClass();
EntityManager entityManager = context.getEntityManagerByManagedType(domainType);
JpaEntityInformation entityInformation = JpaEntityInformationSupport.getEntityInformation(domainType,
entityManager);
for (String value : Arrays.asList("read", "write")) {
Permission permission = new Permission();
permission.setDomainId(entityInformation.getId(entity).toString());
permission.setDomainType(domainType.getName());
permission.setUsername(SecurityContextHolder.getContext().getAuthentication().getName());
permission.setPermission(value);
entityManager.persist(permission);
}
}
}
| [
"[email protected]"
] | |
24464d6aa9851e15280b7b8d485a8c1877d78d8e | 74f13340210fb12c0c8ac175b971262a5f7f9d93 | /Bouquet.java | cae1556c58818874930333000659517f1860c7ab | [] | no_license | BladeSv/Flowers | e4887048017ce64d65838530fc70caa93002b1fb | b1e9f54639ee65890a885ec21d13b89890303aa0 | refs/heads/master | 2020-03-19T06:52:11.030225 | 2018-06-05T18:13:39 | 2018-06-05T18:13:39 | 136,061,895 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 130 | java | package by.htp.flowers.emtty;
public class Bouquet {
private String name;
private double price;
new partsBouquet[] ;
}
| [
"[email protected]"
] | |
f967feb59ff4a399502fdd3c8e39418d6ebee307 | b6795014e8da62573cb7786c2ccda81ca1c44c49 | /new/app/src/main/java/apitest/settings/SettingsActivity.java | f93f75074badc38e433141c2be1c4676f68c003c | [] | no_license | j1george/food-roulette-stuff | b99a2649e7f49f8868f52c11d7b8b19c20da55ff | 6bdad83153e0384b2b2b9ad83f2da4d874d001cc | refs/heads/master | 2021-06-11T19:19:29.794653 | 2016-12-21T21:30:06 | 2016-12-21T21:30:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 6,299 | java | package apitest.settings;
//import android.content.Intent;
import android.content.Intent;
import android.media.AudioManager;
import android.os.Bundle;
import android.preference.ListPreference;
import android.preference.Preference;
import android.preference.PreferenceActivity;
import android.preference.PreferenceCategory;
import android.view.View;
//import android.preference.PreferenceManager;
//import android.view.View;
//import android.widget.Button;
import com.example.ozzca_000.myapplication.R;
/**
* A {@link PreferenceActivity} that presents a set of application settings. On
* handset devices, settings are presented as a single list. On tablets,
* settings are split by category, with category headers shown to the left of
* the list of settings.
* <p>
* See <a href="http://developer.android.com/design/patterns/settings.html">
* Android Design: Settings</a> for design guidelines and the <a
* href="http://developer.android.com/guide/topics/ui/settings.html">Settings
* API Guide</a> for more information on developing a Settings UI.
*/
public class SettingsActivity extends PreferenceActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setVolumeControlStream(AudioManager.STREAM_MUSIC);
// setContentView(R.layout.activity_settings__main);
PreferenceCategory fakeHeader;
// In the simplified UI, fragments are not used at all and we instead
// use the older PreferenceActivity APIs.
// Add 'general' preferences.
addPreferencesFromResource(R.xml.pref_general);
// Add 'notifications' preferences, and a corresponding header.
fakeHeader = new PreferenceCategory(this);
fakeHeader.setTitle(R.string.pref_header_categories);
getPreferenceScreen().addPreference(fakeHeader);
addPreferencesFromResource(R.xml.pref_categories);
// Add 'data and sync' preferences, and a corresponding header.
// fakeHeader = new PreferenceCategory(this);
// fakeHeader.setTitle(R.string.pref_header_data_sync);
// getPreferenceScreen().addPreference(fakeHeader);
addPreferencesFromResource(R.xml.pref_data_sync);
// Bind the summaries of EditText/List/Dialog/Ringtone preferences to
// their values. When their values change, their summaries are updated
// to reflect the new value, per the Android Design guidelines.
// bindPreferenceSummaryToValue(findPreference("example_text"));
// bindPreferenceSummaryToValue(findPreference("example_list"));
// bindPreferenceSummaryToValue(findPreference("notifications_new_message_ringtone"));
// bindPreferenceSummaryToValue(findPreference("sync_frequency"));
// addPreferencesFromResource(R.xml.pref_categories);
setContentView(R.layout.catbutton);
}
/**
* A preference value change listener that updates the preference's summary
* to reflect its new value.
*/
private static Preference.OnPreferenceChangeListener sBindPreferenceSummaryToValueListener = new Preference.OnPreferenceChangeListener() {
@Override
public boolean onPreferenceChange(Preference preference, Object value) {
String stringValue = value.toString();
if (preference instanceof ListPreference) {
// For list preferences, look up the correct display value in
// the preference's 'entries' list.
ListPreference listPreference = (ListPreference) preference;
int index = listPreference.findIndexOfValue(stringValue);
// Set the summary to reflect the new value.
preference.setSummary(
index >= 0
? listPreference.getEntries()[index]
: null);
}
// else if (preference instanceof RingtonePreference) {
// // For ringtone preferences, look up the correct display value
// // using RingtoneManager.
// if (TextUtils.isEmpty(stringValue)) {
// // Empty values correspond to 'silent' (no ringtone).
// preference.setSummary(R.string.pref_ringtone_silent);
//
// } else {
// Ringtone ringtone = RingtoneManager.getRingtone(
// preference.getContext(), Uri.parse(stringValue));
//
// if (ringtone == null) {
// // Clear the summary if there was a lookup error.
// preference.setSummary(null);
// } else {
// // Set the summary to reflect the new ringtone display
// // name.
// String name = ringtone.getTitle(preference.getContext());
// preference.setSummary(name);
// }
// }
//
// }
else {
// For all other preferences, set the summary to the value's
// simple string representation.
preference.setSummary(stringValue);
}
return true;
}
};
}
/**
* Binds a preference's summary to its value. More specifically, when the
* preference's value is changed, its summary (line of text below the
* preference title) is updated to reflect the value. The summary is also
* immediately updated upon calling this method. The exact display format is
* dependent on the type of preference.
*
* @see #sBindPreferenceSummaryToValueListener
*/
// private static void bindPreferenceSummaryToValue(Preference preference) {
// // Set the listener to watch for value changes.
// preference.setOnPreferenceChangeListener(sBindPreferenceSummaryToValueListener);
//
// // Trigger the listener immediately with the preference's
// // current value.
// sBindPreferenceSummaryToValueListener.onPreferenceChange(preference,
// PreferenceManager
// .getDefaultSharedPreferences(preference.getContext())
// .getString(preference.getKey(), ""));
// }
| [
"[email protected]"
] | |
6fbaf856f407315415721f178cf41a7a25ec4649 | a96e07002b823800c9041639334e1f42421c1991 | /holly old/src/main/java/controllers/TopPicks.java | b7b19f10dbc0091e97e9d91b9eb7cb66130101a1 | [] | no_license | BoomerMonkey234/holly | d24fc5ce3eedc14335cc0b84ff719ca2951b08e9 | 1e6839a2937853ba4c49e14d1b21dda208820bee | refs/heads/main | 2023-03-07T16:14:30.914601 | 2021-02-05T18:55:14 | 2021-02-05T18:55:14 | 329,963,796 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 52 | java | package controllers;
public class TopPicks {
}
| [
"[email protected]"
] | |
188ad4f9e650d6970bb046c181523aa0fe2bdb11 | 1808857263a6c48b42a3f65ce953d6f311b52400 | /flutter-studio/src/io/flutter/profiler/Memory.java | 9f41d0b00312d6e3af02d9490b45deac5c51fdc4 | [
"BSD-3-Clause"
] | permissive | MuhammadUmairghufran/flutter-intellij | f030b04f5ef4a165e1b90283f0b099dc5aac2fbd | ad1544eebfffee0b3d2f5aa1f8cccda47cd84473 | refs/heads/master | 2020-04-16T06:54:57.989681 | 2019-01-11T23:38:31 | 2019-01-11T23:38:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 17,731 | java | /*
* Copyright 2018 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter.profiler;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.intellij.openapi.diagnostic.Logger;
import io.flutter.utils.AsyncUtils;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import javax.swing.JTable;
import javax.swing.JTree;
import javax.swing.RowSorter;
import javax.swing.SortOrder;
import javax.swing.SwingUtilities;
import javax.swing.table.AbstractTableModel;
import javax.swing.table.TableModel;
import javax.swing.table.TableRowSorter;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeModel;
import org.dartlang.vm.service.element.AllocationProfile;
import org.dartlang.vm.service.element.ClassHeapStats;
import org.dartlang.vm.service.element.ClassObj;
import org.dartlang.vm.service.element.ClassRef;
import org.gradle.internal.impldep.com.esotericsoftware.minlog.Log;
class Memory {
private final static Logger LOG = Logger.getInstance(Memory.class);
// Entries returned from call to getAllocationProfile - new and old heap statistics (ClassHeapStats).
//
// public List<Integer> getNew() // new heap space
// public List<Integer> getOld() // old heap space
//
// getNew/getOld both returns a list with 8 entries of the particular heap (new/old) in this order:
// [0] Pre-GC heap space allocation count
// [1] Pre-GC heap space allocations (includes new external)
// [2] Post-GC heap space allocation count
// [3] Post-GC heap space allocations (includes new external)
// [4] Recent heap space allocation count
// [5] Recent heap space allocations (includes new external)
// [6] Total heap space allocation count since last reset
// [7] Total heap space allocations (including new external) since last reset
//
// public int getPromotedBytes()
// number of bytes promoted from new space to old space since last GC of new space
// public int getPromotedInstances()
// number of instances promoted from new space to old space since last GC of new space
private final int ALLOCATED_BEFORE_GC = 0;
private final int ALLOCATED_BEFORE_GC_SIZE = 1;
private final int LIVE_AFTER_GC = 2;
private final int LIVE_AFTER_GC_SIZE = 3;
private final int ALLOCATED_SINCE_GC = 4;
private final int ALLOCATED_SINCE_GC_SIZE = 5;
private final int ACCUMULATED = 6;
private final int ACCUMULATED_SIZE = 7;
class ClassesTableModel extends AbstractTableModel {
public static final int CLASS_COLUMN_INDEX = 0;
public static final int INSTANCE_COUNT_COLUMN_INDEX = 1;
public static final int ACCUMULATED_INSTNACE_COUNT_COLUMN_INDEX = 2;
public static final int TOTAL_BYTES_COLUMN_INDEX = 3;
// Class is class name, "Instances Allocated" is number of instances (active / to be GC'd), and
// "Total Bytes Allocated" is number of bytes allocated in the heap (active and to be GC'd).
private final String[] COLUMN_NAMES = {"Class", "Instances", "Accumulated Instances", "Total Bytes"};
private DefaultMutableTreeNode classesRoot;
public ClassesTableModel(DefaultMutableTreeNode classesRoot) {
this.classesRoot = classesRoot;
}
@Override
public String getColumnName(int col) {
return COLUMN_NAMES[col];
}
@Override
public int getRowCount() {
return classesRoot.getChildCount();
}
@Override
public int getColumnCount() {
return COLUMN_NAMES.length;
}
@Override
public Class getColumnClass(int column) {
// Column 0 is String everything else is an Integer.
switch (column) {
case 0:
return String.class;
default:
return Integer.class;
}
}
@Override
public Object getValueAt(int rowIndex, int columnIndex) {
if (rowIndex >= classesRoot.getChildCount()) {
// TODO(terry): How is this possible?
return "????";
}
DefaultMutableTreeNode node = (DefaultMutableTreeNode)(classesRoot.getChildAt(rowIndex));
ClassNode classNode = (ClassNode)(node.getUserObject());
switch (columnIndex) {
case CLASS_COLUMN_INDEX:
return classNode.getClassName();
case INSTANCE_COUNT_COLUMN_INDEX:
return classNode.getInstancesCount();
case TOTAL_BYTES_COLUMN_INDEX:
return classNode.getByteSize();
case ACCUMULATED_INSTNACE_COUNT_COLUMN_INDEX:
return classNode.getAccumulatedInstancesCount();
default:
Log.error("Unexpected columnIndex: " + columnIndex);
return "";
}
}
Memory.ClassNode getClassNode ( int rowIndex){
DefaultMutableTreeNode node = (DefaultMutableTreeNode)(classesRoot.getChildAt(rowIndex));
return (Memory.ClassNode)(node.getUserObject());
}
}
DefaultMutableTreeNode classesRoot;
DefaultTreeModel myClassesTreeModel;
DefaultMutableTreeNode myInstancesRoot;
DefaultTreeModel myInstancesTreeModel;
// All Classes (unfiltered) associated with the ClassesTable.
List<AllClassesInformation> allClassesUnfiltered;
// Used to signal when all ClassRefs have been interrogated.
private int runningClassInfo;
private int filteredClasses; // Total filtered classes displayed in snapshot
public void resetFilteredClasses() {
filteredClasses = 0;
}
public int getFilteredClassesCount() {
return filteredClasses;
}
protected class InstanceNode {
static final String ROOT_POSTFIX = " Instances";
private String objectRef;
InstanceNode(String objectRef) {
this.objectRef = objectRef;
}
String getObjectRef() {
return objectRef;
}
void setObjectRef(String newRef) { objectRef = newRef; }
DefaultTreeModel getInstancesModel() { return myInstancesTreeModel; }
void setRootSize(int size) {
if (objectRef.endsWith(ROOT_POSTFIX)) {
objectRef = size + ROOT_POSTFIX;
}
}
@Override
public String toString() {
return getObjectRef();
}
}
protected class ClassNode {
private ClassRef ref;
private int byteSize;
private int instanceCount;
private int accumulatedInstanceCount;
private List<String> instanceIds;
ClassNode(ClassRef ref, int byteSize, int instanceCount, int accumulatedInstanceCount) {
this.ref = ref;
this.byteSize = byteSize;
this.instanceCount = instanceCount;
this.accumulatedInstanceCount = accumulatedInstanceCount;
}
ClassRef getClassRef() { return ref; }
String getClassName() { return ref.getName(); }
int getByteSize() { return byteSize; }
int getInstancesCount() { return instanceCount; }
int getAccumulatedInstancesCount() { return accumulatedInstanceCount; }
List<String> getInstanceIds() { return instanceIds; }
void addInstances(List<String> instanceIds) {
this.instanceIds = instanceIds;
}
@Override
public String toString() {
if (ref == null) {
return "CLASSES USED";
}
return getClassName() + " " + instanceCount + " [" + byteSize + "]";
}
}
// All Classes information displayed in ClassTable.
protected class AllClassesInformation {
private ClassRef classRef;
private ClassObj classObj;
private int bytes;
private int instances;
private int accumulatedInstances;
public AllClassesInformation(ClassRef classRef, ClassObj classObj, int total_bytes, int total_instances, int accumulated_instances) {
this.classRef = classRef;
this.classObj = classObj;
this.bytes = total_bytes;
this.instances = total_instances;
this.accumulatedInstances = accumulated_instances;
}
}
Memory() {
classesRoot = new DefaultMutableTreeNode(new ClassNode(null, -1, -1, -1));
myClassesTreeModel = new DefaultTreeModel(classesRoot);
myInstancesRoot = new DefaultMutableTreeNode(new InstanceNode(InstanceNode.ROOT_POSTFIX));
myInstancesTreeModel = new DefaultTreeModel(myInstancesRoot);
}
DefaultTreeModel getClassTreeModel() { return myClassesTreeModel; }
ClassesTableModel getClassesTableModel() {
return new ClassesTableModel(classesRoot);
}
void removeAllClassChildren(Boolean updateUI) {
classesRoot.removeAllChildren();
if (updateUI) {
myClassesTreeModel.reload();
}
}
void removeAllInstanceChildren(Boolean updateUI) {
myInstancesRoot.removeAllChildren();
if (updateUI) {
myInstancesTreeModel.reload();
}
}
void addClassToTreeModel(DefaultMutableTreeNode node) {
myClassesTreeModel.insertNodeInto(node, classesRoot, classesRoot.getChildCount());
}
void addInstanceToTreeModel(DefaultMutableTreeNode node) {
myInstancesTreeModel.insertNodeInto(node, myInstancesRoot, myInstancesRoot.getChildCount());
}
void addDetailNodeInstance(DefaultMutableTreeNode parent, DefaultMutableTreeNode node) {
parent.insert(node, parent.getChildCount());
}
protected void decodeClassesInHeap(FlutterStudioMonitorStageView view, AllocationProfile allocatedResponse, JTable classesTable) {
myClassesTreeModel = new DefaultTreeModel(classesRoot);
allClassesUnfiltered = new ArrayList<AllClassesInformation>();
ClassesTableModel tableModel = getClassesTableModel();
classesTable.setModel(tableModel); // Change underlying model associated with this JTable.
runningClassInfo = 0;
filteredClasses = 0;
view.updateClassesStatus("Decoding Classes...");
final Iterator<ClassHeapStats> itClassStats = allocatedResponse.getMembers().iterator();
while (itClassStats.hasNext()) {
ClassHeapStats data = itClassStats.next();
ClassRef classRef = data.getClassRef();
String className = classRef.getName();
String classId = classRef.getId();
// Ignore any class with _vmName it's an internal VM thing.
if (className.length() == 0) {
JsonElement jsonVmName = classRef.getJson().get("_vmName");
if (jsonVmName != null) {
String vmName = jsonVmName.getAsString();
if (vmName.length() != 0) continue;
}
}
runningClassInfo++;
AsyncUtils.whenCompleteUiThread(view.vmGetObject(classId), (JsonObject response, Throwable exception) -> {
ClassObj classObj = new ClassObj(response);
List<Integer> newHeap = data.getNew();
List<Integer> oldHeap = data.getOld();
int totalAccumulatedBytes = newHeap.get(ACCUMULATED_SIZE) + oldHeap.get(ACCUMULATED_SIZE);
int totalAccumulatedInstances = newHeap.get(ACCUMULATED) + oldHeap.get(ACCUMULATED);
int totalInstances = newHeap.get(LIVE_AFTER_GC) + newHeap.get(ALLOCATED_SINCE_GC) +
oldHeap.get(LIVE_AFTER_GC) + oldHeap.get(ALLOCATED_SINCE_GC);
int totalBytesAllocated = newHeap.get(LIVE_AFTER_GC_SIZE) + newHeap.get(ALLOCATED_SINCE_GC_SIZE) +
oldHeap.get(LIVE_AFTER_GC_SIZE) + oldHeap.get(ALLOCATED_SINCE_GC_SIZE);
AllClassesInformation currentClass = new AllClassesInformation(classRef, classObj,
totalBytesAllocated,
totalInstances,
totalAccumulatedInstances);
allClassesUnfiltered.add(currentClass);
filterClassesTable(view, classesTable, currentClass);
view.updateClassesStatus("Processing ClassRefs: " + runningClassInfo);
if (--runningClassInfo == 0) {
view.updateClassesStatus("Snapshot complete filtered " + filteredClasses + " classes.");
view.getProfilersView().snapshotComplete();
}
});
}
}
int getClassRefInstanceCount(FlutterStudioMonitorStageView view, ClassRef classRef) {
int instanceLimit = 1;
String classId = classRef.getId();
AtomicInteger totalCount = new AtomicInteger();
AsyncUtils.whenCompleteUiThread(view.getInstances(classId, instanceLimit), (JsonObject response, Throwable exception) -> {
totalCount.set(response.get("totalCount").getAsInt());
});
return totalCount.get();
}
public void filterClassesTable(FlutterStudioMonitorStageView view, JTable classesTable, AllClassesInformation currentClass) {
String classLibrary = currentClass.classObj.getLibrary().getId();
ClassesTableModel tableModel = (ClassesTableModel)(classesTable.getModel());
// Only show ClassRef's if its in a library checked.
if (view.filteredLibraries.contains(classLibrary)) {
filteredClasses++;
int bytes = currentClass.bytes;
int instances = currentClass.instances;
int accumulatedInstances = currentClass.accumulatedInstances;
DefaultMutableTreeNode node =
new DefaultMutableTreeNode(new ClassNode(currentClass.classRef, bytes, instances, accumulatedInstances));
addClassToTreeModel(node);
// Update the UI
SwingUtilities.invokeLater(() -> {
tableModel.fireTableStructureChanged(); // Update the table UI.
myClassesTreeModel.reload();
// Setup for sorting the classes table.
TableRowSorter<TableModel> sorter = new TableRowSorter(classesTable.getModel());
classesTable.setRowSorter(sorter);
List<RowSorter.SortKey> sortKeys = new ArrayList<>();
// Default sorting of the instance count in descending order.
int columnIndexToSort = ClassesTableModel.INSTANCE_COUNT_COLUMN_INDEX;
sortKeys.add(new RowSorter.SortKey(columnIndexToSort, SortOrder.DESCENDING));
// Apply the sorting.
sorter.setSortKeys(sortKeys);
sorter.sort();
});
}
}
protected void decodeInstances(FlutterStudioMonitorStageView view, List<String> instances, JTree instanceObjects) {
myInstancesTreeModel = new DefaultTreeModel(myInstancesRoot);
InstanceNode rootNode = (InstanceNode)(myInstancesRoot.getUserObject());
rootNode.setRootSize(instances.size());
for (int index = 0; index < instances.size(); index++) {
String instanceId = instances.get(index);
DefaultMutableTreeNode node = new DefaultMutableTreeNode(new InstanceNode(instanceId));
addInstanceToTreeModel(node);
// TODO(terry): Fake node for now need to hookup Instance Detail node.
DefaultMutableTreeNode instanceDetailNode = new DefaultMutableTreeNode();
addDetailNodeInstance(node, instanceDetailNode);
}
instanceObjects.setModel(myInstancesTreeModel);
DefaultMutableTreeNode r = TreeUtil.deepCopyTree(myInstancesRoot, (DefaultMutableTreeNode)myInstancesRoot.clone());
//TreeUtil.sortClasses(_myInstancesRoot);
view.updateClassesStatus(instances.size() + " Instances loaded.");
// TODO(terry): enabling clicking in classes again.
// Update the new data.
myInstancesTreeModel.reload();
}
}
final class TreeUtil {
private static boolean ascending;
private static Comparator<DefaultMutableTreeNode> tnc = Comparator.comparing(DefaultMutableTreeNode::isLeaf)
.thenComparing(n -> n.getUserObject().toString());
private static Comparator<DefaultMutableTreeNode> tncCount =
Comparator.comparing(DefaultMutableTreeNode::isLeaf)
.thenComparing(n -> ((Memory.ClassNode)(n.getUserObject())).getInstancesCount());
private static void timsort(DefaultMutableTreeNode parent) {
int n = parent.getChildCount();
List<DefaultMutableTreeNode> children = new ArrayList<>(n);
for (int i = 0; i < n; i++) {
children.add((DefaultMutableTreeNode)parent.getChildAt(i));
}
Collections.sort(children, tncCount);
parent.removeAllChildren();
if (ascending) {
children.forEach(parent::add);
}
else {
int numChildren = children.size();
for (int idx = numChildren - 1; idx >= 0; idx--) {
parent.add(children.get(idx));
}
}
}
public static void sortClasses(DefaultMutableTreeNode parent, boolean sortAscending) {
ascending = sortAscending;
Collections.list((Enumeration<?>)parent.preorderEnumeration()).stream()
.filter(DefaultMutableTreeNode.class::isInstance)
.map(DefaultMutableTreeNode.class::cast)
.filter(node -> !node.isLeaf())
.forEach(TreeUtil::timsort);
}
public static DefaultMutableTreeNode deepCopyTree(DefaultMutableTreeNode src, DefaultMutableTreeNode tgt) {
Collections.list((Enumeration<?>)src.children()).stream()
.filter(DefaultMutableTreeNode.class::isInstance)
.map(DefaultMutableTreeNode.class::cast)
.forEach(node -> {
DefaultMutableTreeNode clone = new DefaultMutableTreeNode(node.getUserObject());
tgt.add(clone);
if (!node.isLeaf()) {
deepCopyTree(node, clone);
}
});
return tgt;
}
}
| [
"[email protected]"
] | |
522853e31b1b4891bc14693350b01402e38a1e87 | 5efbe1ce4035df0d4a7aa478ac37fa75aa68025c | /reference no run/com.martinstudio.hiddenrecorder/src/com/google/android/gms/games/internal/constants/NotificationChannel.java | 87f5d636fd9c59977353884f8db87c5f6635534a | [] | no_license | dat0106/datkts0106 | 6ec70e6adb90ba36237d4225b5cba80fcbd30343 | 885c9bec5b5cd3c4d677d8d579cd91cf7fd6d2e5 | refs/heads/master | 2016-08-05T08:24:11.701355 | 2014-08-01T04:35:12 | 2014-08-01T04:35:59 | 15,329,353 | 1 | 1 | null | null | null | null | UTF-8 | Java | false | false | 311 | java | package com.google.android.gms.games.internal.constants;
public final class NotificationChannel {}
/* Location: E:\android\Androidvn\dex2jar\classes_dex2jar.jar
* Qualified Name: com.google.android.gms.games.internal.constants.NotificationChannel
* JD-Core Version: 0.7.0.1
*/ | [
"[email protected]"
] | |
036a6aea14bdbb21573e98abf314eb9db1dbd34d | faf08fd4484c6538578bc28ab6fb943826db1adc | /src/main/java/com/samar/sprincloud/model/dto/CouponDto.java | 3827a4d7ebb577f0264ec46a18f65c36c2e35073 | [] | no_license | iamsamarsharma/productservice | bef3e5f43dbb78f26bb29c1bb07f0cc94a860431 | ad360901b8f743ded2b4d39d99c9e566c48fc09d | refs/heads/master | 2020-11-25T13:24:13.222365 | 2019-12-17T19:12:45 | 2019-12-17T19:12:45 | 228,684,615 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 411 | java | package com.samar.sprincloud.model.dto;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.math.BigDecimal;
@Getter
@Setter
public class CouponDto {
private Long id;
private String code;
private BigDecimal discount;
private String expDate;
}
| [
"[email protected]"
] | |
412c1c7273aadb0ffe844a6f09b07bf5177cfe63 | ec5d42b952c4b3da93aeef815610415daa1ca955 | /QrCodeScanning/app/src/main/java/com/neml/qrcodescanner/model/DataResponseModel.java | 9e24a38af838f37b0146736d6414fe97025830ad | [] | no_license | rajashri04/NemlRepository | 3a066223a0e1912983036f50ede4433dab92e28c | ce059c7bca8858403a57a74f02e9f03003905565 | refs/heads/master | 2022-12-20T13:55:56.527765 | 2020-10-07T05:53:33 | 2020-10-07T05:53:33 | 301,938,249 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,525 | java | package com.neml.qrcodescanner.model;
public class DataResponseModel {
String qrCode;
String stateCode;
String market;
String society;
String agency;
String commodity;
String season;
String farmerId;
String farmerName;
String farmerMobileNo;
String bagScannedOn;
String lotId;
String lotReferenceNo;
String lotQty;
String totalBags;
String tradePrice;
String tradeValue;
String lotStatus;
String lotCreatedDate;
public String getQrCode() {
return qrCode;
}
public void setQrCode(String qrCode) {
this.qrCode = qrCode;
}
public String getStateCode() {
return stateCode;
}
public void setStateCode(String stateCode) {
this.stateCode = stateCode;
}
public String getMarket() {
return market;
}
public void setMarket(String market) {
this.market = market;
}
public String getSociety() {
return society;
}
public void setSociety(String society) {
this.society = society;
}
public String getAgency() {
return agency;
}
public void setAgency(String agency) {
this.agency = agency;
}
public String getCommodity() {
return commodity;
}
public void setCommodity(String commodity) {
this.commodity = commodity;
}
public String getSeason() {
return season;
}
public void setSeason(String season) {
this.season = season;
}
public String getFarmerId() {
return farmerId;
}
public void setFarmerId(String farmerId) {
this.farmerId = farmerId;
}
public String getFarmerName() {
return farmerName;
}
public void setFarmerName(String farmerName) {
this.farmerName = farmerName;
}
public String getFarmerMobileNo() {
return farmerMobileNo;
}
public void setFarmerMobileNo(String farmerMobileNo) {
this.farmerMobileNo = farmerMobileNo;
}
public String getBagScannedOn() {
return bagScannedOn;
}
public void setBagScannedOn(String bagScannedOn) {
this.bagScannedOn = bagScannedOn;
}
public String getLotId() {
return lotId;
}
public void setLotId(String lotId) {
this.lotId = lotId;
}
public String getLotReferenceNo() {
return lotReferenceNo;
}
public void setLotReferenceNo(String lotReferenceNo) {
this.lotReferenceNo = lotReferenceNo;
}
public String getLotQty() {
return lotQty;
}
public void setLotQty(String lotQty) {
this.lotQty = lotQty;
}
public String getTotalBags() {
return totalBags;
}
public void setTotalBags(String totalBags) {
this.totalBags = totalBags;
}
public String getTradePrice() {
return tradePrice;
}
public void setTradePrice(String tradePrice) {
this.tradePrice = tradePrice;
}
public String getTradeValue() {
return tradeValue;
}
public void setTradeValue(String tradeValue) {
this.tradeValue = tradeValue;
}
public String getLotStatus() {
return lotStatus;
}
public void setLotStatus(String lotStatus) {
this.lotStatus = lotStatus;
}
public String getLotCreatedDate() {
return lotCreatedDate;
}
public void setLotCreatedDate(String lotCreatedDate) {
this.lotCreatedDate = lotCreatedDate;
}
}
| [
"[email protected]"
] | |
f49e82c3e2618f056375ac9fe49af0475654e36c | 79759a51f97394daa18b9456f377210a504b87ca | /dynamic/awacp/src/com/awacp/entity/Product.java | 1c3363272523344ea2dcfae0f2ea8d168ffb4180 | [] | no_license | sts-admin/sts-repo | c3e65c524ddb3eb3e77c84e37abbf142476cfd53 | 187d354a4e7770a04e1bc909ecadd0e91a5de9c1 | refs/heads/master | 2020-04-12T05:33:23.581457 | 2018-06-09T06:24:13 | 2018-06-09T06:24:13 | 65,720,586 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,834 | java | package com.awacp.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlRootElement;
import com.sts.core.entity.BaseEntity;
/**
* Entity implementation class for Entity: Product
*
*/
@Entity
@XmlRootElement
@NamedQueries({
@NamedQuery(name = "Product.filterByNameMatch", query = "SELECT new com.awacp.entity.Product(s.id, s.productName) FROM Product s WHERE s.archived = 'false' AND LOWER(s.productName) LIKE :keyword"),
@NamedQuery(name = "Product.findAll", query = "SELECT p FROM Product p WHERE p.archived = 'false'")
})
public class Product extends BaseEntity {
private static final long serialVersionUID = 1L;
private String productName;
private String createdByUserCode; // Code of the User created this record.
private String updatedByUserCode; // Code of the user update this record.
public Product() {
super();
}
public Product(Long id, String productName) {
this.setId(id);
this.productName = productName;
}
@NotNull
@Column(nullable = false, length = 255)
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
this.productName = productName;
}
@NotNull
@Column(nullable = false, length = 10)
public String getCreatedByUserCode() {
return createdByUserCode;
}
public void setCreatedByUserCode(String createdByUserCode) {
this.createdByUserCode = createdByUserCode;
}
@Column(length = 10)
public String getUpdatedByUserCode() {
return updatedByUserCode;
}
public void setUpdatedByUserCode(String updatedByUserCode) {
this.updatedByUserCode = updatedByUserCode;
}
}
| [
"[email protected]"
] | |
c89890d2e2a3930f7adfc5a2ce87fa7a686ff8d7 | 267737b79140a8d873b5603403aa2502535fae20 | /src/Concrete/PlayerManager.java | d001023f1e4742eba82bd5a54577b96e02b5993d | [] | no_license | muratcengizli/Kodlama.i0-HW-4 | 8d9a56307ede69d5a3c0c35af20e0c46876ab1c1 | dccb89c27f5231bb0b57b174e71e26df59c33164 | refs/heads/master | 2023-04-16T18:18:03.534020 | 2021-05-05T15:13:47 | 2021-05-05T15:13:47 | 364,618,714 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,004 | java | package Concrete;
import Abstract.ConfirmationSystem;
import Entities.Player;
public class PlayerManager {
private ConfirmationSystem confirmationSystem;
public PlayerManager (ConfirmationSystem confirmationSystem) {
this.confirmationSystem = confirmationSystem;
}
public void add(Player player) {
System.out.println("player is added");
this.confirmationSystem.confirm(player.getFirstName() + player.getLastName());
System.out.println("*********************************************");
}
public void update(Player player) {
System.out.println("player is updated.");
this.confirmationSystem.confirm(player.getFirstName() + player.getLastName());
System.out.println("*********************************************");
}
public void delete(Player player) {
System.out.println("player is deleted.");
this.confirmationSystem.confirm(player.getFirstName() + player.getLastName());
System.out.println("*********************************************");
}
}
| [
"[email protected]"
] | |
d2fcf057ed910b453394395f610706624f1dcdbc | 4a897f35da696472dd2eebab43b1c730a100277a | /src/me/engine/gui/SkillInventory.java | 8e69d4960b1fe6c9e9cf60a3d6257e30fbff2217 | [] | no_license | Pusty/LudumDare33 | 3bf520a4ddff6eb80764137e67d03fed1d4accfd | 91d2f5c13ae363c95c49226e3b92925aa5fd7e8e | refs/heads/master | 2021-01-17T10:23:25.833503 | 2017-10-17T02:41:13 | 2017-10-17T02:41:13 | 40,480,188 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,065 | java | package me.engine.gui;
import static org.lwjgl.opengl.GL11.GL_QUADS;
import static org.lwjgl.opengl.GL11.GL_TEXTURE_2D;
import static org.lwjgl.opengl.GL11.glBegin;
import static org.lwjgl.opengl.GL11.glBindTexture;
import static org.lwjgl.opengl.GL11.glEnd;
import org.lwjgl.opengl.GL11;
import me.engine.location.Location;
import me.engine.main.MainClass;
import me.engine.render.Render2D;
public class SkillInventory extends Part{
public SkillInventory(Location loc) {
super(loc,-1,-1,20,80,20,80);
}
int timer=0;
int buttonIndex=0;
int skillIndex=0;
int offset=0;
public void click(MainClass m,float mx,float mz) {
if(timer>=0){}
else{
buttonClick(m,mx,mz);
timer=20;
}
}
public int getItemIndex(){
return skillIndex+offset;
}
public void tick(){
if(timer>=0)timer--;
}
public void buttonClick(MainClass m,float mx,float mz){
int value = (int) ((mz-this.getP3()) / 10);
buttonIndex=4-value;
if(buttonIndex >= 0 && buttonIndex < 4)
skillIndex=buttonIndex;
if(buttonIndex == -1){
if(offset > 0){
offset=offset-1;
skillIndex=skillIndex+1;
}
}if(buttonIndex == 4){
String skills = (String) m.getSavedData().getData("inv");
String[] inv = skills.split("%");
if(offset < inv.length-4){
offset=offset+1;
skillIndex=skillIndex-1;
}
}
m.getSoundPlayer().playSound("select", true);
}
public void render(MainClass m){
String skills = (String) m.getSavedData().getData("inv");
String[] inv = skills.split("%");
String[] invS = new String[inv.length];
for(int in=0;in<inv.length;in++){
if(inv[in].split("&").length > 1)
invS[in]=inv[in].split("&")[1];
}
String[] show = new String[4];
for(int in=0;in<4;in++){
if(in+offset < invS.length && invS[in+offset] != null){
show[in]=invS[in+offset];
}else{show[in]="None";}
}
for(int i=0;i<4;i++){
renderButton(m,i,i==skillIndex,show[i]);
}
renderButton(m,-1,-1==buttonIndex,"///");
renderButton(m,4,4==buttonIndex,"///");
}
public float getSizeY(){
return 2f;
}
public float getSizeX(){
return 10f;
}
public void renderButton(MainClass m,int i,boolean b,String text){
GL11.glPushMatrix();
GL11.glTranslatef(loc.x+0.5f, loc.z+0.5f, 0f);
GL11.glTranslatef(0f, -2f*i, 0);
if(i != -1 && i != 4){
if((b && i >= 0 && i < 4) || ((i==-1 || i==4 ) && b && timer > 0))
glBindTexture(GL_TEXTURE_2D,
m.getPictureLoader().getImageAsInteger("item_8"));
else
glBindTexture(GL_TEXTURE_2D,
m.getPictureLoader().getImageAsInteger("item_0"));
}else if(i == -1){
if((b && i >= 0 && i < 4) || ((i==-1 || i==4 ) && b && timer > 0))
glBindTexture(GL_TEXTURE_2D,
m.getPictureLoader().getImageAsInteger("item_9"));
else
glBindTexture(GL_TEXTURE_2D,
m.getPictureLoader().getImageAsInteger("item_1"));
}else if(i == 4){
if((b && i >= 0 && i < 4) || ((i==-1 || i==4 ) && b && timer > 0))
glBindTexture(GL_TEXTURE_2D,
m.getPictureLoader().getImageAsInteger("item_10"));
else
glBindTexture(GL_TEXTURE_2D,
m.getPictureLoader().getImageAsInteger("item_2"));
}
if(i != -1 && i != 4){
glBegin(GL_QUADS);
GL11.glTexCoord2f(0f, 1f);
GL11.glVertex2f(0f,getSizeY());
GL11.glTexCoord2f(1f, 1f);
GL11.glVertex2f(getSizeX(),getSizeY());
GL11.glTexCoord2f(1f, 0f);
GL11.glVertex2f(getSizeX(),0f);
GL11.glTexCoord2f(0f, 0f);
GL11.glVertex2f(0f,0f);
glEnd();
GL11.glTranslatef(5f- text.length()/2f,0.5f,0f);
Render2D.renderString(m, text);
}else{
glBegin(GL_QUADS);
GL11.glTexCoord2f(0f, 1f);
GL11.glVertex2f(getSizeX()/2 - getSizeX()/4,getSizeY());
GL11.glTexCoord2f(1f, 1f);
GL11.glVertex2f(getSizeX()/2 + getSizeX()/4,getSizeY());
GL11.glTexCoord2f(1f, 0f);
GL11.glVertex2f(getSizeX()/2 + getSizeX()/4,0f);
GL11.glTexCoord2f(0f, 0f);
GL11.glVertex2f(getSizeX()/2 -getSizeX()/4 ,0f);
glEnd();
}
GL11.glPopMatrix();
}
}
| [
"[email protected]"
] | |
9c52a57d8a8d0a26194c153c9aef28986a8808ec | f86938ea6307bf6d1d89a07b5b5f9e360673d9b8 | /CodeComment_Data/Code_Jam/val/Counting_Sheep/S/CountingSheep(1075).java | 008abfd7a15c57921d5a6d11b0e4c4ce2f9efc94 | [] | no_license | yxh-y/code_comment_generation | 8367b355195a8828a27aac92b3c738564587d36f | 2c7bec36dd0c397eb51ee5bd77c94fa9689575fa | refs/heads/master | 2021-09-28T18:52:40.660282 | 2018-11-19T14:54:56 | 2018-11-19T14:54:56 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 962 | java | package methodEmbedding.Counting_Sheep.S.LYD646;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.util.Scanner;
/**
* Created by rvisweswaran on 4/8/16.
*/
public class CountingSheep {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(new File("input.txt"));
FileWriter fw = new FileWriter(new File("output.txt"));
int T = sc.nextInt();
for(int t=1; t<=T; t++)
{
int N = sc.nextInt();
boolean[] seen = new boolean[10];
int count = 0;
int index = 1;
if(N==0)
fw.write("Case #"+t+": INSOMNIA\n");
else
{
while (count<10)
{
int temp = index++ * N;
while (temp>0)
{
int digit = temp%10;
temp = temp/10;
if( ! seen[digit])
{
seen[digit] = true;
count++;
}
}
}
fw.write("Case #"+t+": "+(N*(index-1))+"\n");
}
}
fw.flush();
fw.close();
sc.close();
}
}
| [
"[email protected]"
] | |
aa2e638c77c38d1fab004f87158cfb7041de9a10 | 320020551155ad8335465e2a10fe4b7973234d33 | /src/main/java/club/fangqcloud/controller/ProductClassController.java | f3cacf3507cf19f778fc9d9e7fdb61805c17d4ab | [] | no_license | jaee2/market | 26ece78dd946d30afc89cb34a25ebb052dc552ba | bc79e8d55f2e984aa3fbf45ed4ba42f441f6fd81 | refs/heads/master | 2020-06-12T05:08:31.351261 | 2019-06-27T13:28:59 | 2019-06-27T13:28:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 11,737 | java | package club.fangqcloud.controller;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.InitBinder;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import club.fangqcloud.utils.ExportExcelUtil;
import club.fangqcloud.utils.UserException;
import club.fangqcloud.service.ProductClassService;
import club.fangqcloud.pojo.ProductClass;
//ProductClass管理控制层
@Controller
@RequestMapping("/ProductClass")
public class ProductClassController extends BaseController {
/*业务层对象*/
@Resource
ProductClassService productClassService;
@InitBinder("productClass")
public void initBinderProductClass(WebDataBinder binder) {
binder.setFieldDefaultPrefix("productClass.");
}
/*跳转到添加ProductClass视图*/
@RequestMapping(value = "/add", method = RequestMethod.GET)
public String add(Model model, HttpServletRequest request) throws Exception {
model.addAttribute(new ProductClass());
return "ProductClass_add";
}
/*客户端ajax方式提交添加商品类别信息*/
@RequestMapping(value = "/add", method = RequestMethod.POST)
public void add(@Validated ProductClass productClass, BindingResult br,
Model model, HttpServletRequest request, HttpServletResponse response) throws Exception {
String message = "";
boolean success = false;
if (br.hasErrors()) {
message = "输入信息不符合要求!";
writeJsonResponse(response, success, message);
return;
}
productClassService.addProductClass(productClass);
message = "商品类别添加成功!";
success = true;
writeJsonResponse(response, success, message);
}
/*ajax方式按照查询条件分页查询商品类别信息*/
@RequestMapping(value = {"/list"}, method = {RequestMethod.GET, RequestMethod.POST})
public void list(Integer page, Integer rows, Model model, HttpServletRequest request, HttpServletResponse response) throws Exception {
if (page == null || page == 0) page = 1;
if (rows != 0) productClassService.setRows(rows);
List<ProductClass> productClassList = productClassService.queryProductClass(page);
/*计算总的页数和总的记录数*/
productClassService.queryTotalPageAndRecordNumber();
/*获取到总的页码数目*/
int totalPage = productClassService.getTotalPage();
/*当前查询条件下总记录数*/
int recordNumber = productClassService.getRecordNumber();
response.setContentType("text/json;charset=UTF-8");
PrintWriter out = response.getWriter();
//将要被返回到客户端的对象
JSONObject jsonObj = new JSONObject();
jsonObj.accumulate("total", recordNumber);
JSONArray jsonArray = new JSONArray();
for (ProductClass productClass : productClassList) {
JSONObject jsonProductClass = productClass.getJsonObject();
jsonArray.put(jsonProductClass);
}
jsonObj.accumulate("rows", jsonArray);
out.println(jsonObj.toString());
out.flush();
out.close();
}
/*ajax方式按照查询条件分页查询商品类别信息*/
@RequestMapping(value = {"/listAll"}, method = {RequestMethod.GET, RequestMethod.POST})
public void listAll(HttpServletResponse response) throws Exception {
List<ProductClass> productClassList = productClassService.queryAllProductClass();
response.setContentType("text/json;charset=UTF-8");
PrintWriter out = response.getWriter();
JSONArray jsonArray = new JSONArray();
for (ProductClass productClass : productClassList) {
JSONObject jsonProductClass = new JSONObject();
jsonProductClass.accumulate("classId", productClass.getClassId());
jsonProductClass.accumulate("className", productClass.getClassName());
jsonArray.put(jsonProductClass);
}
out.println(jsonArray.toString());
out.flush();
out.close();
}
/*前台按照查询条件分页查询商品类别信息*/
@RequestMapping(value = {"/frontlist"}, method = {RequestMethod.GET, RequestMethod.POST})
public String frontlist(Integer currentPage, Model model, HttpServletRequest request) throws Exception {
if (currentPage == null || currentPage == 0) currentPage = 1;
List<ProductClass> productClassList = productClassService.queryProductClass(currentPage);
/*计算总的页数和总的记录数*/
productClassService.queryTotalPageAndRecordNumber();
/*获取到总的页码数目*/
int totalPage = productClassService.getTotalPage();
/*当前查询条件下总记录数*/
int recordNumber = productClassService.getRecordNumber();
request.setAttribute("productClassList", productClassList);
request.setAttribute("totalPage", totalPage);
request.setAttribute("recordNumber", recordNumber);
request.setAttribute("currentPage", currentPage);
return "ProductClass/productClass_frontquery_result";
}
/*前台查询ProductClass信息*/
@RequestMapping(value = "/{classId}/frontshow", method = RequestMethod.GET)
public String frontshow(@PathVariable Integer classId, Model model, HttpServletRequest request) throws Exception {
/*根据主键classId获取ProductClass对象*/
ProductClass productClass = productClassService.getProductClass(classId);
request.setAttribute("productClass", productClass);
return "ProductClass/productClass_frontshow";
}
/*ajax方式显示商品类别修改jsp视图页*/
@RequestMapping(value = "/{classId}/update", method = RequestMethod.GET)
public void update(@PathVariable Integer classId, Model model, HttpServletRequest request, HttpServletResponse response) throws Exception {
/*根据主键classId获取ProductClass对象*/
ProductClass productClass = productClassService.getProductClass(classId);
response.setContentType("text/json;charset=UTF-8");
PrintWriter out = response.getWriter();
//将要被返回到客户端的对象
JSONObject jsonProductClass = productClass.getJsonObject();
out.println(jsonProductClass.toString());
out.flush();
out.close();
}
/*ajax方式更新商品类别信息*/
@RequestMapping(value = "/{classId}/update", method = RequestMethod.POST)
public void update(@Validated ProductClass productClass, BindingResult br,
Model model, HttpServletRequest request, HttpServletResponse response) throws Exception {
String message = "";
boolean success = false;
if (br.hasErrors()) {
message = "输入的信息有错误!";
writeJsonResponse(response, success, message);
return;
}
try {
productClassService.updateProductClass(productClass);
message = "商品类别更新成功!";
success = true;
writeJsonResponse(response, success, message);
} catch (Exception e) {
e.printStackTrace();
message = "商品类别更新失败!";
writeJsonResponse(response, success, message);
}
}
/*删除商品类别信息*/
@RequestMapping(value = "/{classId}/delete", method = RequestMethod.GET)
public String delete(@PathVariable Integer classId, HttpServletRequest request) throws UnsupportedEncodingException {
try {
productClassService.deleteProductClass(classId);
request.setAttribute("message", "商品类别删除成功!");
return "message";
} catch (Exception e) {
e.printStackTrace();
request.setAttribute("error", "商品类别删除失败!");
return "error";
}
}
/*ajax方式删除多条商品类别记录*/
@RequestMapping(value = "/deletes", method = RequestMethod.POST)
public void delete(String classIds, HttpServletRequest request, HttpServletResponse response) throws IOException, JSONException {
String message = "";
boolean success = false;
try {
int count = productClassService.deleteProductClasss(classIds);
success = true;
message = count + "条记录删除成功";
writeJsonResponse(response, success, message);
} catch (Exception e) {
//e.printStackTrace();
message = "有记录存在外键约束,删除失败";
writeJsonResponse(response, success, message);
}
}
/*按照查询条件导出商品类别信息到Excel*/
@RequestMapping(value = {"/OutToExcel"}, method = {RequestMethod.GET, RequestMethod.POST})
public void OutToExcel(Model model, HttpServletRequest request, HttpServletResponse response) throws Exception {
List<ProductClass> productClassList = productClassService.queryProductClass();
ExportExcelUtil ex = new ExportExcelUtil();
String _title = "ProductClass信息记录";
String[] headers = {"类别id", "类别名称", "类别描述"};
List<String[]> dataset = new ArrayList<String[]>();
for (int i = 0; i < productClassList.size(); i++) {
ProductClass productClass = productClassList.get(i);
dataset.add(new String[]{productClass.getClassId() + "", productClass.getClassName(), productClass.getClassDesc()});
}
/*
OutputStream out = null;
try {
out = new FileOutputStream("C://output.xls");
ex.exportExcel(title,headers, dataset, out);
out.close();
} catch (Exception e) {
e.printStackTrace();
}
*/
OutputStream out = null;//创建一个输出流对象
try {
out = response.getOutputStream();//
response.setHeader("Content-disposition", "attachment; filename=" + "ProductClass.xls");//filename是下载的xls的名,建议最好用英文
response.setContentType("application/msexcel;charset=UTF-8");//设置类型
response.setHeader("Pragma", "No-cache");//设置头
response.setHeader("Cache-Control", "no-cache");//设置头
response.setDateHeader("Expires", 0);//设置日期头
String rootPath = request.getSession().getServletContext().getRealPath("/");
ex.exportExcel(rootPath, _title, headers, dataset, out);
out.flush();
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
if (out != null) {
out.close();
}
} catch (IOException e) {
e.printStackTrace();
}
}
}
}
| [
"[email protected]"
] | |
46c8df89ae21ce939c4d52d194aa1e903732831d | a3ed7512b0f713bf28abf2972fb0747170685d8b | /workFiles/[email protected]/GithubResults/Java/1_2_25_SAP.java | 5425615ff6084ace2eb32380e68aa95102c6214a | [] | no_license | Nohbody/MPI_Programs | 96e30e67031f9ad890674c2a5e02c8b53858dac0 | 6135cdf497850941b4035dbff89266a31ea5f4c2 | refs/heads/master | 2020-05-14T11:59:25.401631 | 2019-04-23T00:38:16 | 2019-04-23T00:38:16 | 181,782,352 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 5,111 | java | /**
* Names: Andrew Lewin & Spenser Riches
* Class: CSIS 2420
* Assignment: A06 WordNet
* Due Date: 05/01/15
*/
package wordnet;
import edu.princeton.cs.algs4.BreadthFirstDirectedPaths;
import edu.princeton.cs.algs4.DepthFirstDirectedPaths;
import edu.princeton.cs.algs4.DepthFirstOrder;
import edu.princeton.cs.algs4.Digraph;
import edu.princeton.cs.algs4.DirectedCycle;
import edu.princeton.cs.algs4.Stack;
public class SAP {
private Digraph graph;
/**
* Constructor takes a digraph
* @param G digraph
*/
public SAP(Digraph G){
if (G == null) throw new NullPointerException("Digraph G can't be null");
graph = new Digraph(G);
}
/**
* Is the digraph a directed acyclic graph?
* @return boolean true if it is a directed acyclic graph, false otherwise
*/
public boolean isDAG(){
// A digraph has a topological order iff no directed cycle
return !new DirectedCycle(graph).hasCycle();
}
/**
* Is the digraph a rooted DAG?
* @return boolean true if yes, false if no
*/
public boolean isRootedDAG(){
// First, make sure the graph is a DAG (use method above)
if(!isDAG()) return false;
// Find the potential 'root' - (last vertex in topological order (reversePost), or 1st vertex in Post Order)
DepthFirstOrder dfo = new DepthFirstOrder(this.graph);
Integer rootVertex = dfo.post().iterator().next();
// Check if all vertices have a path to the root
// Send DepthFirstDirectedPaths a reverse graph, that way, the root will point to all children
DepthFirstDirectedPaths dfdp = new DepthFirstDirectedPaths(graph.reverse(), rootVertex);
for(int i=0; i<graph.V(); i++){
// return false if one of the vertices does NOT have a path to the root
if(!dfdp.hasPathTo(i)) return false;
}
// All vertices have a path to the rootVertex
return true;
}
/**
* length of the shortest ancestral path between v and w; -1 if no such path
* @param v vertex 1
* @param w vertex 2
* @return length of the shortest ancestral apth between v and w; -1 if no such path
*/
public int length(int v, int w){
Stack<Integer> vStack = new Stack<>();
vStack.push(v);
Stack<Integer> wStack = new Stack<>();
wStack.push(w);
return ancestorAndLength(vStack, wStack)[1];
}
/**
* a common ancestor of v and w that participates in a shortest ancestral path; -1 if no such path
* @param v vertex 1
* @param w vertex 2
* @return a common ancestor of v and w that participates in a shortest ancestral path; -1 if no such path
*/
public int ancestor(int v, int w){
Stack<Integer> vStack = new Stack<>();
vStack.push(v);
Stack<Integer> wStack = new Stack<>();
wStack.push(w);
return ancestorAndLength(vStack, wStack)[0];
}
/**
* length of the shortest ancestral path between any vertex in v and any vertex in w; -1 if no such path
* @param v vertex 1
* @param w vertex 2
* @return int length of the shortest ancestral path between any vertex in v and any vertex in w; -1 if no such path
*/
public int length(Iterable<Integer> v, Iterable<Integer> w){
return ancestorAndLength(v, w)[1];
}
/**
* length of the shortest ancestral path between any vertex in v and any vertex in w; -1 if no such path
* @param v vertex 1
* @param w vertex 2
* @return int length of the shortest ancestral path between any vertex in v and any vertex in w; -1 if no such path
*/
public int ancestor(Iterable<Integer> v, Iterable<Integer> w){
return ancestorAndLength(v, w)[0];
}
private int[] ancestorAndLength(Iterable<Integer> v, Iterable<Integer> w){
// Data Structures to find the paths
BreadthFirstDirectedPaths vPaths = new BreadthFirstDirectedPaths(graph, v);
BreadthFirstDirectedPaths wPaths = new BreadthFirstDirectedPaths(graph, w);
// DepthFirstOrder in a graph
DepthFirstOrder DFO = new DepthFirstOrder(graph);
// Closest ancestor and length
int ancestor = -1;
int length = -1;
// Start with reverse post order from the DFO
for(int i: DFO.reversePost()){
if(vPaths.hasPathTo(i) && wPaths.hasPathTo(i)){
// Common ancestor found, calculate the current length
int currentLength = vPaths.distTo(i) + wPaths.distTo(i);
// See if it's closer than the current
if(currentLength < length || ancestor == -1){
ancestor = i;
length = currentLength;
}else break;
}
}
// Returns an array where ancestorAndLength[0] = ancestor and ancestorAndLength[1] = length
int[] ancestorAndLength = {ancestor, length};
return ancestorAndLength;
}
/******************************************************************************
* TESTING *
******************************************************************************/
public static void main(String[] args){
// See Unit Tests
}
} | [
"[email protected]"
] | |
edf25a2843a74a917039af38baf8d3966ee9d47f | 18e85f330ae425c8cbeeffbb43da4951905afddd | /src/com/znaka/Tokens/TokenMatches/TokenPunctuationMatch.java | 7f402f58c400809a02d2efa4fafc7c48ff3f1c26 | [] | no_license | tonipelovski/znaka | fe37817f3e8870801f63968265ba041eaa21fe01 | 241d24c2d35e5f44e2f495aec37d0fc6cf00d544 | refs/heads/master | 2020-04-22T18:07:36.912446 | 2019-06-13T10:25:38 | 2019-06-13T10:25:38 | 170,566,911 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 422 | java | package com.znaka.Tokens.TokenMatches;
public class TokenPunctuationMatch extends TokenMatch {
private static String punc = ",;(){}[]";
public TokenPunctuationMatch() {
super("punc");
}
@Override
public int nextTokenEndIndex(String s) {
for(char c : punc.toCharArray()){
if(s.toCharArray()[0] == c){
return 1;
}
}
return 0;
}
}
| [
"[email protected]"
] | |
d5172cf230c0922704c89882f2acc964bdd27b1f | 0f72932b9862ba8a7f6bdfd449e2e6f0cb95d13a | /src/gas/telas/PesqUsuario.java | 0711dfa34871264ebcb1c7b5bffa3bc00c8cd53c | [] | no_license | gabrielaug/GAS | 2f915542ea774b4db92d3ad9dba6adb3d637bdb2 | c71f1d27b625d13b4269983d2623c5e7f349d7e3 | refs/heads/master | 2020-05-26T17:52:22.887556 | 2019-09-08T22:33:41 | 2019-09-08T22:33:41 | 188,326,757 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 11,873 | java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package gas.telas;
import com.sun.glass.events.KeyEvent;
import gas.basicas.Voluntario;
import gas.regra.RNVoluntario;
import gas.util.CustomDocument;
import java.awt.Component;
import java.util.ArrayList;
import javax.swing.RowFilter;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;
import javax.swing.table.TableRowSorter;
/**
*
* @author Gabriel Augusto
*/
public class PesqUsuario extends javax.swing.JDialog {
private ArrayList<Voluntario> listaVoluntarios;
private Voluntario retornoVoluntario;
/**
* Creates new form PesqUsuario
*/
public PesqUsuario(java.awt.Frame parent, boolean modal) {
super(parent, modal);
initComponents();
}
public PesqUsuario(java.awt.Frame parent, boolean modal,Component x) {
super(parent, modal);
initComponents();
lista();
this.setLocationRelativeTo(x);
txtNome.setDocument(new CustomDocument());
retornoVoluntario = new Voluntario();
//listaVoluntarios = new ArrayList();
}
public void lista(){
RNVoluntario rnVoluntario = new RNVoluntario(); //CRIAR A INSTANCIA DA FACHADA
DefaultTableModel modelo = new DefaultTableModel(); // INSTANCIA O OBJETO PADRÃO DE TABELA - ADICIONE A IMPORTAÇÃO
ArrayList<Voluntario> lista = new ArrayList(); // CRIA UMA LISTA, DE ARRAYLIST DE LIVRO
try {
lista = rnVoluntario.listarVoluntario(); // BUSCA OS DADOS DO BANCO PARA A LISTA
this.listaVoluntarios = lista;
} catch (Exception ex) {
}
modelo = (DefaultTableModel) tbPesq.getModel(); // CHECA O JTABLE PARA RECEBER OS DADOS
if(modelo.getRowCount() > 0){ //se existir linha
modelo.setRowCount(0); // apaga todas as linhas
}
for (Voluntario voluntario : lista) {
modelo.addRow(new Object[]{voluntario.getLogin(),
voluntario.getNome()
});
} // TRAS AS INFORMAÇÕES NA TABELA COM OS DADOS SOLICITADOS.
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jPanel1 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
txtNome = new javax.swing.JTextField();
jLabel23 = new javax.swing.JLabel();
jScrollPane1 = new javax.swing.JScrollPane();
tbPesq = new javax.swing.JTable();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
setTitle("Pesquisar Usuário");
jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
jLabel1.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
jLabel1.setText("Nome:");
txtNome.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
txtNomeKeyPressed(evt);
}
});
jLabel23.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gas/util/imagens/miniGAS.png"))); // NOI18N
tbPesq.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{null, null},
{null, null},
{null, null},
{null, null}
},
new String [] {
"Login", "Nome"
}
) {
Class[] types = new Class [] {
java.lang.String.class, java.lang.String.class
};
boolean[] canEdit = new boolean [] {
false, false
};
public Class getColumnClass(int columnIndex) {
return types [columnIndex];
}
public boolean isCellEditable(int rowIndex, int columnIndex) {
return canEdit [columnIndex];
}
});
tbPesq.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
tbPesqKeyPressed(evt);
}
});
jScrollPane1.setViewportView(tbPesq);
if (tbPesq.getColumnModel().getColumnCount() > 0) {
tbPesq.getColumnModel().getColumn(0).setMinWidth(100);
tbPesq.getColumnModel().getColumn(0).setPreferredWidth(100);
tbPesq.getColumnModel().getColumn(0).setMaxWidth(100);
tbPesq.getColumnModel().getColumn(1).setResizable(false);
}
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(14, 14, 14)
.addComponent(jLabel1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(txtNome)
.addContainerGap())
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
.addGap(0, 11, Short.MAX_VALUE)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
.addComponent(jLabel23)
.addGap(20, 20, 20))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 386, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap())))
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel23, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel1)
.addComponent(txtNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 166, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
);
pack();
setLocationRelativeTo(null);
}// </editor-fold>//GEN-END:initComponents
/**
* RETORNO DO JDIALOG COM VOLUNTARIO
* @return RETORNA UM VOLUNTARIO
*/
public Voluntario retornoPesq(){
return this.retornoVoluntario;
}
private void tbPesqKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_tbPesqKeyPressed
if(evt.getKeyCode() == KeyEvent.VK_ENTER){
int linha;
linha = tbPesq.getSelectedRow();
this.retornoVoluntario = listaVoluntarios.get(linha);
this.dispose();
}
}//GEN-LAST:event_tbPesqKeyPressed
private void txtNomeKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_txtNomeKeyPressed
TableRowSorter sorter = null;
DefaultTableModel model = (DefaultTableModel) tbPesq.getModel();
sorter = new TableRowSorter<TableModel>(model);
tbPesq.setRowSorter(sorter);
String nome = txtNome.getText();
if(nome.length() == 0 ){
sorter.setRowFilter(null);
}else{
sorter.setRowFilter(RowFilter.regexFilter(nome,1));
}
}//GEN-LAST:event_txtNomeKeyPressed
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(PesqUsuario.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(PesqUsuario.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(PesqUsuario.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(PesqUsuario.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
/* Create and display the dialog */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
PesqUsuario dialog = new PesqUsuario(new javax.swing.JFrame(), true);
dialog.addWindowListener(new java.awt.event.WindowAdapter() {
@Override
public void windowClosing(java.awt.event.WindowEvent e) {
System.exit(0);
}
});
dialog.setVisible(true);
}
});
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel23;
private javax.swing.JPanel jPanel1;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable tbPesq;
private javax.swing.JTextField txtNome;
// End of variables declaration//GEN-END:variables
}
| [
"[email protected]"
] | |
b06eecdcdedc2ead8c925a1a57e80e853315dd5c | 57ebce0289ed367c1301e32961f66df8aaf23458 | /JUC/src/main/java/com/mashibing/juc/c_026_01_ThreadPool/abstract_executor_service/ExecutorServiceDemo_invokeAny.java | 3bb23365e1e688ad8abe58dabf97a836052f1cf4 | [] | no_license | fadaiyoona/java | 50d00b91a2a77a0a91601d5966fd026904398660 | 65d6b681b1c181e7e560a5c63a770c1f63254345 | refs/heads/master | 2023-08-28T11:38:45.582003 | 2021-11-04T10:20:10 | 2021-11-04T10:20:10 | 261,119,385 | 0 | 0 | null | 2021-03-31T22:10:53 | 2020-05-04T08:30:15 | Java | UTF-8 | Java | false | false | 1,322 | java | package com.mashibing.juc.c_026_01_ThreadPool.abstract_executor_service;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
/**
* @author zl(952999)
* @description:
* @date 2020-08-04 17:31
*/
public class ExecutorServiceDemo_invokeAny {
public static void main(String[] args) throws Exception {
ExecutorService e = Executors.newFixedThreadPool(3);
List<Callable<String>> callables = new ArrayList<>();
callables.add(() -> {
Thread.currentThread().sleep(3000);
return "111";
});
callables.add(() -> {
Thread.currentThread().sleep(4000);
return "222";
});
callables.add(() -> {
Thread.currentThread().sleep(5000);
return "333";
});
try {
// String futures = e.invokeAny(callables);
// String futures = e.invokeAny(callables, 3, TimeUnit.SECONDS);
String futures = e.invokeAny(callables, 2, TimeUnit.SECONDS);
System.out.println(futures);
} finally {
System.out.println("------------done--------------");
e.shutdownNow();
}
}
}
| [
"[email protected]"
] | |
ca64a86bd0d867b17898769719a09dec6872249b | b725fd31bc92b3b771e1f79f8689896904df346d | /Labo/Clase 22/src/com/company/Persona.java | a2834a764d1c49fffbaaa8f16bf195d2615dad53 | [] | no_license | MaximoGismondi/TareasLabo | b699ecf16beb9517895cbc85491cf9e8116beec5 | c03ce38b48081cb6227e1655c08bb486326bda14 | refs/heads/master | 2023-02-22T17:43:18.698217 | 2020-09-15T16:17:37 | 2020-09-15T16:17:37 | 252,253,848 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 966 | java | package com.company;
public class Persona {
private String nombre;
private String apellido;
private Integer edad;
private String ocupacion;
public Persona(String nombre, String apellido, Integer edad, String ocupacion) {
this.nombre = nombre;
this.apellido = apellido;
this.edad = edad;
this.ocupacion = ocupacion;
}
public String getNombre() {
return nombre;
}
public void setNombre(String nombre) {
this.nombre = nombre;
}
public String getApellido() {
return apellido;
}
public void setApellido(String apellido) {
this.apellido = apellido;
}
public Integer getEdad() {
return edad;
}
public void setEdad(Integer edad) {
this.edad = edad;
}
public String getOcupacion() {
return ocupacion;
}
public void setOcupacion(String ocupacion) {
this.ocupacion = ocupacion;
}
}
| [
"[email protected]"
] | |
15c1ebac53d32fe71b3a665a8f63962342064402 | 9fecd19ccc2a679bcc106781c29d084362509d6c | /classlib/java.xml/src/main/resources/META-INF/modules/java.xml/classes/com/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaFactory.java | b7fc01f5cbf42d46f1ad3b5533c8e5fbf2bfc3d4 | [
"Apache-2.0"
] | permissive | renesugar/Bytecoder | f0c4eb2547fb2ee87f06f9544fa73bc9026bf8e9 | e28cb615c2d4e2afa3aa5d29571c8815e0b9d3f5 | refs/heads/master | 2023-01-06T19:27:17.049721 | 2020-10-30T22:20:41 | 2020-10-30T22:20:41 | 297,577,126 | 0 | 0 | Apache-2.0 | 2020-10-30T22:20:43 | 2020-09-22T07:58:05 | null | UTF-8 | Java | false | false | 27,068 | java | /*
* Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
*/
/*
* 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.sun.org.apache.xerces.internal.jaxp.validation;
import com.sun.org.apache.xerces.internal.impl.Constants;
import com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader;
import com.sun.org.apache.xerces.internal.util.DOMEntityResolverWrapper;
import com.sun.org.apache.xerces.internal.util.DOMInputSource;
import com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper;
import com.sun.org.apache.xerces.internal.util.SAXInputSource;
import com.sun.org.apache.xerces.internal.util.SAXMessageFormatter;
import com.sun.org.apache.xerces.internal.util.StAXInputSource;
import com.sun.org.apache.xerces.internal.util.Status;
import com.sun.org.apache.xerces.internal.util.XMLGrammarPoolImpl;
import com.sun.org.apache.xerces.internal.utils.XMLSecurityManager;
import com.sun.org.apache.xerces.internal.utils.XMLSecurityPropertyManager;
import com.sun.org.apache.xerces.internal.xni.XNIException;
import com.sun.org.apache.xerces.internal.xni.grammars.Grammar;
import com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarDescription;
import com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool;
import com.sun.org.apache.xerces.internal.xni.parser.XMLConfigurationException;
import com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import javax.xml.XMLConstants;
import javax.xml.catalog.CatalogFeatures.Feature;
import javax.xml.stream.XMLEventReader;
import javax.xml.transform.Source;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.sax.SAXSource;
import javax.xml.transform.stax.StAXSource;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.Schema;
import javax.xml.validation.SchemaFactory;
import jdk.xml.internal.JdkXmlFeatures;
import jdk.xml.internal.JdkXmlUtils;
import org.w3c.dom.Node;
import org.w3c.dom.ls.LSResourceResolver;
import org.xml.sax.ErrorHandler;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.SAXNotRecognizedException;
import org.xml.sax.SAXNotSupportedException;
import org.xml.sax.SAXParseException;
/**
* {@link SchemaFactory} for XML Schema.
*
* @author Kohsuke Kawaguchi
*/
public final class XMLSchemaFactory extends SchemaFactory {
// feature identifiers
/** JAXP Source feature prefix. */
private static final String JAXP_SOURCE_FEATURE_PREFIX = "http://javax.xml.transform";
/** Feature identifier: schema full checking. */
private static final String SCHEMA_FULL_CHECKING =
Constants.XERCES_FEATURE_PREFIX + Constants.SCHEMA_FULL_CHECKING;
/** Feature identifier: use grammar pool only. */
private static final String USE_GRAMMAR_POOL_ONLY =
Constants.XERCES_FEATURE_PREFIX + Constants.USE_GRAMMAR_POOL_ONLY_FEATURE;
// property identifiers
/** Property identifier: grammar pool. */
private static final String XMLGRAMMAR_POOL =
Constants.XERCES_PROPERTY_PREFIX + Constants.XMLGRAMMAR_POOL_PROPERTY;
/** Property identifier: XMLSecurityManager. */
private static final String SECURITY_MANAGER =
Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY;
/** Property identifier: Security property manager. */
private static final String XML_SECURITY_PROPERTY_MANAGER =
Constants.XML_SECURITY_PROPERTY_MANAGER;
//
// Data
//
/** The XMLSchemaLoader */
private final XMLSchemaLoader fXMLSchemaLoader = new XMLSchemaLoader();
/** User-specified ErrorHandler; can be null. */
private ErrorHandler fErrorHandler;
/** The LSResrouceResolver */
private LSResourceResolver fLSResourceResolver;
/** The DOMEntityResolverWrapper */
private final DOMEntityResolverWrapper fDOMEntityResolverWrapper;
/** The ErrorHandlerWrapper */
private final ErrorHandlerWrapper fErrorHandlerWrapper;
/** The SecurityManager. */
private XMLSecurityManager fSecurityManager;
/** The Security property manager. */
private XMLSecurityPropertyManager fSecurityPropertyMgr;
/** The container for the real grammar pool. */
private final XMLGrammarPoolWrapper fXMLGrammarPoolWrapper;
/** Whether or not to allow new schemas to be added to the grammar pool */
private boolean fUseGrammarPoolOnly;
private final JdkXmlFeatures fXmlFeatures;
/**
* Indicates whether 3rd party parser may be used to override the system-default
* Note the default value (false) is the safe option.
* Note same as the old property useServicesMechanism
*/
private final boolean fOverrideDefaultParser;
public XMLSchemaFactory() {
fErrorHandlerWrapper = new ErrorHandlerWrapper(DraconianErrorHandler.getInstance());
fDOMEntityResolverWrapper = new DOMEntityResolverWrapper();
fXMLGrammarPoolWrapper = new XMLGrammarPoolWrapper();
fXMLSchemaLoader.setFeature(SCHEMA_FULL_CHECKING, true);
fXMLSchemaLoader.setProperty(XMLGRAMMAR_POOL, fXMLGrammarPoolWrapper);
fXMLSchemaLoader.setEntityResolver(fDOMEntityResolverWrapper);
fXMLSchemaLoader.setErrorHandler(fErrorHandlerWrapper);
fUseGrammarPoolOnly = true;
// Enable secure processing feature by default
fSecurityManager = new XMLSecurityManager(true);
fXMLSchemaLoader.setProperty(SECURITY_MANAGER, fSecurityManager);
fSecurityPropertyMgr = new XMLSecurityPropertyManager();
fXMLSchemaLoader.setProperty(XML_SECURITY_PROPERTY_MANAGER,
fSecurityPropertyMgr);
// use catalog
fXMLSchemaLoader.setFeature(XMLConstants.USE_CATALOG, JdkXmlUtils.USE_CATALOG_DEFAULT);
for (Feature f : Feature.values()) {
fXMLSchemaLoader.setProperty(f.getPropertyName(), null);
}
fXMLSchemaLoader.setProperty(JdkXmlUtils.CDATA_CHUNK_SIZE, JdkXmlUtils.CDATA_CHUNK_SIZE_DEFAULT);
fXmlFeatures = new JdkXmlFeatures(fSecurityManager.isSecureProcessing());
fOverrideDefaultParser = fXmlFeatures.getFeature(
JdkXmlFeatures.XmlFeature.JDK_OVERRIDE_PARSER);
fXMLSchemaLoader.setFeature(JdkXmlUtils.OVERRIDE_PARSER, fOverrideDefaultParser);
}
/**
* <p>Is specified schema supported by this <code>SchemaFactory</code>?</p>
*
* @param schemaLanguage Specifies the schema language which the returned <code>SchemaFactory</code> will understand.
* <code>schemaLanguage</code> must specify a <a href="#schemaLanguage">valid</a> schema language.
*
* @return <code>true</code> if <code>SchemaFactory</code> supports <code>schemaLanguage</code>, else <code>false</code>.
*
* @throws NullPointerException If <code>schemaLanguage</code> is <code>null</code>.
* @throws IllegalArgumentException If <code>schemaLanguage.length() == 0</code>
* or <code>schemaLanguage</code> does not specify a <a href="#schemaLanguage">valid</a> schema language.
*/
public boolean isSchemaLanguageSupported(String schemaLanguage) {
if (schemaLanguage == null) {
throw new NullPointerException(JAXPValidationMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"SchemaLanguageNull", null));
}
if (schemaLanguage.length() == 0) {
throw new IllegalArgumentException(JAXPValidationMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"SchemaLanguageLengthZero", null));
}
// only W3C XML Schema 1.0 is supported
return schemaLanguage.equals(XMLConstants.W3C_XML_SCHEMA_NS_URI) ||
schemaLanguage.equals(Constants.W3C_XML_SCHEMA10_NS_URI);
}
public LSResourceResolver getResourceResolver() {
return fLSResourceResolver;
}
public void setResourceResolver(LSResourceResolver resourceResolver) {
fLSResourceResolver = resourceResolver;
fDOMEntityResolverWrapper.setEntityResolver(resourceResolver);
fXMLSchemaLoader.setEntityResolver(fDOMEntityResolverWrapper);
}
public ErrorHandler getErrorHandler() {
return fErrorHandler;
}
public void setErrorHandler(ErrorHandler errorHandler) {
fErrorHandler = errorHandler;
fErrorHandlerWrapper.setErrorHandler(errorHandler != null ? errorHandler : DraconianErrorHandler.getInstance());
fXMLSchemaLoader.setErrorHandler(fErrorHandlerWrapper);
}
public Schema newSchema( Source[] schemas ) throws SAXException {
// this will let the loader store parsed Grammars into the pool.
XMLGrammarPoolImplExtension pool = new XMLGrammarPoolImplExtension();
fXMLGrammarPoolWrapper.setGrammarPool(pool);
XMLInputSource[] xmlInputSources = new XMLInputSource[schemas.length];
InputStream inputStream;
Reader reader;
for (int i = 0; i < schemas.length; ++i) {
Source source = schemas[i];
if (source instanceof StreamSource) {
StreamSource streamSource = (StreamSource) source;
String publicId = streamSource.getPublicId();
String systemId = streamSource.getSystemId();
inputStream = streamSource.getInputStream();
reader = streamSource.getReader();
XMLInputSource xmlInputSource = new XMLInputSource(publicId, systemId, null, false);
xmlInputSource.setByteStream(inputStream);
xmlInputSource.setCharacterStream(reader);
xmlInputSources[i] = xmlInputSource;
}
else if (source instanceof SAXSource) {
SAXSource saxSource = (SAXSource) source;
InputSource inputSource = saxSource.getInputSource();
if (inputSource == null) {
throw new SAXException(JAXPValidationMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"SAXSourceNullInputSource", null));
}
xmlInputSources[i] = new SAXInputSource(saxSource.getXMLReader(), inputSource);
}
else if (source instanceof DOMSource) {
DOMSource domSource = (DOMSource) source;
Node node = domSource.getNode();
String systemID = domSource.getSystemId();
xmlInputSources[i] = new DOMInputSource(node, systemID);
}
else if (source instanceof StAXSource) {
StAXSource staxSource = (StAXSource) source;
XMLEventReader eventReader = staxSource.getXMLEventReader();
if (eventReader != null) {
xmlInputSources[i] = new StAXInputSource(eventReader);
}
else {
xmlInputSources[i] = new StAXInputSource(staxSource.getXMLStreamReader());
}
}
else if (source == null) {
throw new NullPointerException(JAXPValidationMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"SchemaSourceArrayMemberNull", null));
}
else {
throw new IllegalArgumentException(JAXPValidationMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"SchemaFactorySourceUnrecognized",
new Object [] {source.getClass().getName()}));
}
}
try {
fXMLSchemaLoader.loadGrammar(xmlInputSources);
}
catch (XNIException e) {
// this should have been reported to users already.
throw Util.toSAXException(e);
}
catch (IOException e) {
// this hasn't been reported, so do so now.
SAXParseException se = new SAXParseException(e.getMessage(),null,e);
if (fErrorHandler != null) {
fErrorHandler.error(se);
}
throw se; // and we must throw it.
}
// Clear reference to grammar pool.
fXMLGrammarPoolWrapper.setGrammarPool(null);
// Select Schema implementation based on grammar count.
final int grammarCount = pool.getGrammarCount();
AbstractXMLSchema schema = null;
if (fUseGrammarPoolOnly) {
if (grammarCount > 1) {
schema = new XMLSchema(new ReadOnlyGrammarPool(pool));
}
else if (grammarCount == 1) {
Grammar[] grammars = pool.retrieveInitialGrammarSet(XMLGrammarDescription.XML_SCHEMA);
schema = new SimpleXMLSchema(grammars[0]);
}
else {
schema = new EmptyXMLSchema();
}
}
else {
schema = new XMLSchema(new ReadOnlyGrammarPool(pool), false);
}
propagateFeatures(schema);
propagateProperties(schema);
return schema;
}
public Schema newSchema() throws SAXException {
/*
* It would make sense to return an EmptyXMLSchema object here, if
* fUseGrammarPoolOnly is set to true. However, because the default
* value of this feature is true, doing so would change the default
* behaviour of this method. Thus, we return a WeakReferenceXMLSchema
* regardless of the value of fUseGrammarPoolOnly. -PM
*/
// Use a Schema that uses the system id as the equality source.
AbstractXMLSchema schema = new WeakReferenceXMLSchema();
propagateFeatures(schema);
propagateProperties(schema);
return schema;
}
public Schema newSchema(XMLGrammarPool pool) throws SAXException {
// If the "use-grammar-pool-only" feature is set to true
// prevent the application's grammar pool from being mutated
// by wrapping it in a ReadOnlyGrammarPool.
final AbstractXMLSchema schema = (fUseGrammarPoolOnly) ?
new XMLSchema(new ReadOnlyGrammarPool(pool)) :
new XMLSchema(pool, false);
propagateFeatures(schema);
return schema;
}
public boolean getFeature(String name)
throws SAXNotRecognizedException, SAXNotSupportedException {
if (name == null) {
throw new NullPointerException(JAXPValidationMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"FeatureNameNull", null));
}
if (name.startsWith(JAXP_SOURCE_FEATURE_PREFIX)) {
// Indicates to the caller that this SchemaFactory supports a specific JAXP Source.
if (name.equals(StreamSource.FEATURE) ||
name.equals(SAXSource.FEATURE) ||
name.equals(DOMSource.FEATURE) ||
name.equals(StAXSource.FEATURE)) {
return true;
}
}
if (name.equals(XMLConstants.FEATURE_SECURE_PROCESSING)) {
return (fSecurityManager != null && fSecurityManager.isSecureProcessing());
}
else if (name.equals(USE_GRAMMAR_POOL_ONLY)) {
return fUseGrammarPoolOnly;
}
/** Check to see if the property is managed by the JdkXmlFeatues **/
int index = fXmlFeatures.getIndex(name);
if (index > -1) {
return fXmlFeatures.getFeature(index);
}
try {
return fXMLSchemaLoader.getFeature(name);
}
catch (XMLConfigurationException e) {
String identifier = e.getIdentifier();
if (e.getType() == Status.NOT_RECOGNIZED) {
throw new SAXNotRecognizedException(
SAXMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"feature-not-recognized", new Object [] {identifier}));
}
else {
throw new SAXNotSupportedException(
SAXMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"feature-not-supported", new Object [] {identifier}));
}
}
}
public Object getProperty(String name)
throws SAXNotRecognizedException, SAXNotSupportedException {
if (name == null) {
throw new NullPointerException(JAXPValidationMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"ProperyNameNull", null));
}
if (name.equals(SECURITY_MANAGER)) {
return fSecurityManager;
}
else if (name.equals(XMLGRAMMAR_POOL)) {
throw new SAXNotSupportedException(
SAXMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"property-not-supported", new Object [] {name}));
}
try {
return fXMLSchemaLoader.getProperty(name);
}
catch (XMLConfigurationException e) {
String identifier = e.getIdentifier();
if (e.getType() == Status.NOT_RECOGNIZED) {
throw new SAXNotRecognizedException(
SAXMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"property-not-recognized", new Object [] {identifier}));
}
else {
throw new SAXNotSupportedException(
SAXMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"property-not-supported", new Object [] {identifier}));
}
}
}
public void setFeature(String name, boolean value)
throws SAXNotRecognizedException, SAXNotSupportedException {
if (name == null) {
throw new NullPointerException(JAXPValidationMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"FeatureNameNull", null));
}
if (name.startsWith(JAXP_SOURCE_FEATURE_PREFIX)) {
if (name.equals(StreamSource.FEATURE) ||
name.equals(SAXSource.FEATURE) ||
name.equals(DOMSource.FEATURE) ||
name.equals(StAXSource.FEATURE)) {
throw new SAXNotSupportedException(
SAXMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"feature-read-only", new Object [] {name}));
}
}
if (name.equals(XMLConstants.FEATURE_SECURE_PROCESSING)) {
if (System.getSecurityManager() != null && (!value)) {
throw new SAXNotSupportedException(
SAXMessageFormatter.formatMessage(null,
"jaxp-secureprocessing-feature", null));
}
fSecurityManager.setSecureProcessing(value);
if (value) {
fSecurityPropertyMgr.setValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_DTD,
XMLSecurityPropertyManager.State.FSP, Constants.EXTERNAL_ACCESS_DEFAULT_FSP);
fSecurityPropertyMgr.setValue(XMLSecurityPropertyManager.Property.ACCESS_EXTERNAL_SCHEMA,
XMLSecurityPropertyManager.State.FSP, Constants.EXTERNAL_ACCESS_DEFAULT_FSP);
}
fXMLSchemaLoader.setProperty(SECURITY_MANAGER, fSecurityManager);
return;
}
else if (name.equals(USE_GRAMMAR_POOL_ONLY)) {
fUseGrammarPoolOnly = value;
return;
}
else if (name.equals(Constants.ORACLE_FEATURE_SERVICE_MECHANISM)) {
//in secure mode, let useServicesMechanism be determined by the constructor
if (System.getSecurityManager() != null)
return;
}
if ((fXmlFeatures != null) &&
fXmlFeatures.setFeature(name, JdkXmlFeatures.State.APIPROPERTY, value)) {
if (name.equals(JdkXmlUtils.OVERRIDE_PARSER)
|| name.equals(Constants.ORACLE_FEATURE_SERVICE_MECHANISM)
|| name.equals(JdkXmlUtils.USE_CATALOG)) {
fXMLSchemaLoader.setFeature(name, value);
}
return;
}
try {
fXMLSchemaLoader.setFeature(name, value);
}
catch (XMLConfigurationException e) {
String identifier = e.getIdentifier();
if (e.getType() == Status.NOT_RECOGNIZED) {
throw new SAXNotRecognizedException(
SAXMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"feature-not-recognized", new Object [] {identifier}));
}
else {
throw new SAXNotSupportedException(
SAXMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"feature-not-supported", new Object [] {identifier}));
}
}
}
public void setProperty(String name, Object object)
throws SAXNotRecognizedException, SAXNotSupportedException {
if (name == null) {
throw new NullPointerException(JAXPValidationMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"ProperyNameNull", null));
}
if (name.equals(SECURITY_MANAGER)) {
fSecurityManager = XMLSecurityManager.convert(object, fSecurityManager);
fXMLSchemaLoader.setProperty(SECURITY_MANAGER, fSecurityManager);
return;
} else if (name.equals(Constants.XML_SECURITY_PROPERTY_MANAGER)) {
if (object == null) {
fSecurityPropertyMgr = new XMLSecurityPropertyManager();
} else {
fSecurityPropertyMgr = (XMLSecurityPropertyManager)object;
}
fXMLSchemaLoader.setProperty(Constants.XML_SECURITY_PROPERTY_MANAGER, fSecurityPropertyMgr);
return;
}
else if (name.equals(XMLGRAMMAR_POOL)) {
throw new SAXNotSupportedException(
SAXMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"property-not-supported", new Object [] {name}));
}
try {
//check if the property is managed by security manager
if (fSecurityManager == null ||
!fSecurityManager.setLimit(name, XMLSecurityManager.State.APIPROPERTY, object)) {
//check if the property is managed by security property manager
if (fSecurityPropertyMgr == null ||
!fSecurityPropertyMgr.setValue(name, XMLSecurityPropertyManager.State.APIPROPERTY, object)) {
//fall back to the existing property manager
fXMLSchemaLoader.setProperty(name, object);
}
}
}
catch (XMLConfigurationException e) {
String identifier = e.getIdentifier();
if (e.getType() == Status.NOT_RECOGNIZED) {
throw new SAXNotRecognizedException(
SAXMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"property-not-recognized", new Object [] {identifier}));
}
else {
throw new SAXNotSupportedException(
SAXMessageFormatter.formatMessage(fXMLSchemaLoader.getLocale(),
"property-not-supported", new Object [] {identifier}));
}
}
}
private void propagateFeatures(AbstractXMLSchema schema) {
schema.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING,
(fSecurityManager != null && fSecurityManager.isSecureProcessing()));
schema.setFeature(JdkXmlUtils.OVERRIDE_PARSER, fOverrideDefaultParser);
String[] features = fXMLSchemaLoader.getRecognizedFeatures();
for (int i = 0; i < features.length; ++i) {
boolean state = fXMLSchemaLoader.getFeature(features[i]);
schema.setFeature(features[i], state);
}
}
private void propagateProperties(AbstractXMLSchema schema) {
String[] properties = fXMLSchemaLoader.getRecognizedProperties();
for (int i = 0; i < properties.length; ++i) {
Object state = fXMLSchemaLoader.getProperty(properties[i]);
schema.setProperty(properties[i], state);
}
}
/**
* Extension of XMLGrammarPoolImpl which exposes the number of
* grammars stored in the grammar pool.
*/
static class XMLGrammarPoolImplExtension extends XMLGrammarPoolImpl {
/** Constructs a grammar pool with a default number of buckets. */
public XMLGrammarPoolImplExtension() {
super();
}
/** Constructs a grammar pool with a specified number of buckets. */
public XMLGrammarPoolImplExtension(int initialCapacity) {
super(initialCapacity);
}
/** Returns the number of grammars contained in this pool. */
int getGrammarCount() {
return fGrammarCount;
}
} // XMLSchemaFactory.XMLGrammarPoolImplExtension
/**
* A grammar pool which wraps another.
*/
static class XMLGrammarPoolWrapper implements XMLGrammarPool {
private XMLGrammarPool fGrammarPool;
/*
* XMLGrammarPool methods
*/
public Grammar[] retrieveInitialGrammarSet(String grammarType) {
return fGrammarPool.retrieveInitialGrammarSet(grammarType);
}
public void cacheGrammars(String grammarType, Grammar[] grammars) {
fGrammarPool.cacheGrammars(grammarType, grammars);
}
public Grammar retrieveGrammar(XMLGrammarDescription desc) {
return fGrammarPool.retrieveGrammar(desc);
}
public void lockPool() {
fGrammarPool.lockPool();
}
public void unlockPool() {
fGrammarPool.unlockPool();
}
public void clear() {
fGrammarPool.clear();
}
/*
* Other methods
*/
void setGrammarPool(XMLGrammarPool grammarPool) {
fGrammarPool = grammarPool;
}
XMLGrammarPool getGrammarPool() {
return fGrammarPool;
}
} // XMLSchemaFactory.XMLGrammarPoolWrapper
} // XMLSchemaFactory
| [
"[email protected]"
] | |
e6f5deea297f36fdb12409a845ba167d63b97fd6 | a90769c9599a3714bf17083cbcffa3ca74ae4c4a | /AutomationPractice/src/main/java/com/automationpractice/java/Navigation.java | 27f10fb901b96f973f60acb3dbf3abbf10dfa05e | [] | no_license | outbox3399/Testing | 3a0d32f4bc46a2ba7aff91179c617c461d74f10d | eaf35ecbd04fa0124b038396882a42b9dbaba2c7 | refs/heads/master | 2021-06-09T19:21:22.635979 | 2021-04-06T14:00:08 | 2021-04-06T14:00:08 | 144,155,845 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 445 | java | package com.automationpractice.java;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class Navigation extends Base{
@FindBy(xpath = "(//a[@title='T-shirts'])[2]")
private WebElement navTShirt;
public Navigation() {
PageFactory.initElements(Base.getDriver(), this);
}
public WebElement getBtnNavTShirt() {
return navTShirt;
}
}
| [
"[email protected]"
] | |
c244a44eaabd25c0f1cddd7e999ce16ccff7e791 | c50f8c11e28995a6a98a7ff6127ba7e8fffb9653 | /src/com/golam/view/AdminLogin.java | c9e5628f7c15b821a9112040fa2e8f03c28114a1 | [] | no_license | golamhossen/EbillSystem_11 | 36dcfaa22ad04b04d63cff916d4fa19e25202815 | 5c9b62ce9af5f17e82ac1f3362e9ad498fb51c2c | refs/heads/main | 2023-03-14T01:33:49.871842 | 2021-03-02T17:42:37 | 2021-03-02T17:42:37 | 343,860,957 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 9,817 | java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.golam.view;
import javax.swing.JOptionPane;
/**
*
* @author HP
*/
public class AdminLogin extends javax.swing.JFrame {
/**
* Creates new form AdminLogin
*/
public AdminLogin() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jPanel1 = new javax.swing.JPanel();
txtUser = new javax.swing.JTextField();
txtPass = new javax.swing.JTextField();
btnLogin = new javax.swing.JButton();
btnCancel = new javax.swing.JButton();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jPanel1.setBackground(new java.awt.Color(255, 255, 204));
btnLogin.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
btnLogin.setText("Login");
btnLogin.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnLoginActionPerformed(evt);
}
});
btnCancel.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
btnCancel.setText("Cancel");
btnCancel.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnCancelActionPerformed(evt);
}
});
jLabel1.setFont(new java.awt.Font("Tahoma", 1, 48)); // NOI18N
jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel1.setText("Login Admin");
jLabel2.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
jLabel2.setText("User Name");
jLabel3.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
jLabel3.setText("Password");
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(73, 73, 73)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 112, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(txtUser, javax.swing.GroupLayout.PREFERRED_SIZE, 254, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 112, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(16, 16, 16)
.addComponent(btnLogin)
.addGap(53, 53, 53)
.addComponent(btnCancel))
.addComponent(txtPass, javax.swing.GroupLayout.PREFERRED_SIZE, 254, javax.swing.GroupLayout.PREFERRED_SIZE)))))
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(103, 103, 103)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 435, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap(141, Short.MAX_VALUE))
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(42, 42, 42)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 65, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(65, 65, 65)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(txtUser, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(txtPass, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(44, 44, 44)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(btnLogin)
.addComponent(btnCancel))
.addContainerGap(235, Short.MAX_VALUE))
);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
pack();
}// </editor-fold>//GEN-END:initComponents
String userName = "admin";
String password = "1234";
private void btnLoginActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnLoginActionPerformed
if (userName.equalsIgnoreCase(txtUser.getText().trim()) && password.equalsIgnoreCase(txtPass.getText().trim())) {
this.setVisible(false);
new DashBoard().setVisible(true);
} else {
JOptionPane.showMessageDialog(rootPane, "Invalid user or Password");
}
}//GEN-LAST:event_btnLoginActionPerformed
private void btnCancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelActionPerformed
this.setVisible(false);
new HomePage1().setVisible(true);
}//GEN-LAST:event_btnCancelActionPerformed
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(AdminLogin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(AdminLogin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(AdminLogin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(AdminLogin.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new AdminLogin().setVisible(true);
}
});
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton btnCancel;
private javax.swing.JButton btnLogin;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JPanel jPanel1;
private javax.swing.JTextField txtPass;
private javax.swing.JTextField txtUser;
// End of variables declaration//GEN-END:variables
}
| [
"[email protected]"
] | |
88051471f4edfdfae929860888bb34c52ff437af | a016b0e9093cadb2d972f52821385f573750b130 | /src/org/launchcode/java/demos/lsn6inheritance/test/CatTest.java | 3117a373748700a6d10a576ead7331c583c49621 | [] | no_license | MechanicCoder00/java-web-dev-exercises | f7f9b4ddc7d0131eb9402e6abd035e32e063527f | bddeb76e0e631ab6732691b89cb0a120d1ef3a8d | refs/heads/master | 2022-11-14T04:19:58.680757 | 2020-07-05T15:22:48 | 2020-07-05T15:22:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 885 | java | package org.launchcode.java.demos.lsn6inheritance.test;
import org.junit.Test;
import org.launchcode.java.demos.lsn6inheritance.HouseCat;
import static org.junit.Assert.*;
public class CatTest {
//TODO: add emptyTest so we can configure our runtime environment (remove this test before pushing to your personal GitLab account)
@Test
public void emptyTest() {
assertEquals(10,10,.001);
}
@Test
public void inheritsSuperInFirstConstructor() {
HouseCat keyboardCat = new HouseCat("Keyboard Cat", 7);
assertEquals(7, keyboardCat.getWeight(), .001);
}
@Test
public void isNotInitiallyTired() {
HouseCat keyboardCat = new HouseCat("Keyboard Cat",5);
assertFalse(keyboardCat.isHungry());
assertFalse(keyboardCat.isTired());
keyboardCat.eat();
assertTrue(keyboardCat.isTired());
}
}
| [
"[email protected]"
] | |
6d61877b2869e4d1d1a8fe842aac7c953558a8a8 | b34654bd96750be62556ed368ef4db1043521ff2 | /web_service_wrapper_for_resource_management/trunk/src/java/tests/com/topcoder/registration/persistence/failuretests/ResourceManagerRegistrationPersistenceFailureTests.java | 53facee9fee652be2d9b591eab92df726203f7cc | [] | no_license | topcoder-platform/tcs-cronos | 81fed1e4f19ef60cdc5e5632084695d67275c415 | c4ad087bb56bdaa19f9890e6580fcc5a3121b6c6 | refs/heads/master | 2023-08-03T22:21:52.216762 | 2019-03-19T08:53:31 | 2019-03-19T08:53:31 | 89,589,444 | 0 | 1 | null | 2019-03-19T08:53:32 | 2017-04-27T11:19:01 | null | UTF-8 | Java | false | false | 19,890 | java | /*
* Copyright (C) 2008 TopCoder Inc., All Rights Reserved.
*/
package com.topcoder.registration.persistence.failuretests;
import java.util.Date;
import com.topcoder.configuration.ConfigurationObject;
import com.topcoder.configuration.defaults.DefaultConfigurationObject;
import com.topcoder.registration.entities.Contest;
import com.topcoder.registration.entities.ContestRole;
import com.topcoder.registration.entities.User;
import com.topcoder.registration.persistence.ConfigurationException;
import com.topcoder.registration.persistence.RegistrationEntitiesToResourceConverter;
import com.topcoder.registration.persistence.ResourceManagerRegistrationPersistence;
import com.topcoder.registration.persistence.client.ResourceManagerServiceClient;
import com.topcoder.registration.persistence.client.ResourceManagerServiceClientCreationException;
import com.topcoder.registration.persistence.converter.RegistrationEntitiesToResourceConverterImpl;
/**
* Failure test for class ResourceManagerRegistrationPersistence.
*
* @author extra
* @version 1.0
*/
public class ResourceManagerRegistrationPersistenceFailureTests extends BaseTestCase {
/**
* Represents instance of ResourceManagerRegistrationPersistence for test.
*/
private ResourceManagerRegistrationPersistence persistence;
/**
* Represents instance of RegistrationEntitiesToResourceConverter for test.
*/
private RegistrationEntitiesToResourceConverter converter;
/**
* Represents instance of ConfigurationObject for test.
*/
private ConfigurationObject config;
/**
* Represents instance of ConfigurationObject for test.
*/
private ConfigurationObject child;
/**
* Represents instance of ConfigurationObject for test.
*/
private ConfigurationObject ofChild;
/**
* Represents instance of ConfigurationObject for test.
*/
private ConfigurationObject converterChild;
/**
* Represents instance of Contest for test.
*/
private Contest contest;
/**
* Represents instance of User for test.
*/
private User user;
/**
* Represents instance of ContestRole for test.
*/
private ContestRole contestRole;
/**
* Sets up test environment.
*
* @throws Exception
* to JUnt.
*/
protected void setUp() throws Exception {
converter = new RegistrationEntitiesToResourceConverterImpl();
persistence = new ResourceManagerRegistrationPersistence(CLIENT, converter);
config = new DefaultConfigurationObject("config");
child = new DefaultConfigurationObject("ws_wrapper_resource_management");
child.setPropertyValue("url", WSDL);
child.setPropertyValue("converter_key", "converterKey");
child.setPropertyValue("object_factory_config_child_name", "objectFactoryChild");
config.addChild(child);
ofChild = new DefaultConfigurationObject("objectFactoryChild");
converterChild = new DefaultConfigurationObject("converterKey");
converterChild.setPropertyValue("type", RegistrationEntitiesToResourceConverterImpl.class.getName());
ofChild.addChild(converterChild);
config.addChild(ofChild);
contest = createContest(10);
user = createUser(5);
contestRole = createContestRole(4);
super.setUp();
}
/**
* Tears down test environment.
*
* @throws Exception
* to JUnit.
*/
protected void tearDown() throws Exception {
this.converter = null;
this.persistence = null;
this.child = null;
this.config = null;
this.contest = null;
this.contestRole = null;
this.ofChild = null;
this.converterChild = null;
this.user = null;
super.tearDown();
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ResourceManagerServiceClient,
* RegistrationEntitiesToResourceConverter). With null client,
* IllegalArgumentException expected.
*
* @throws Exception
* to JUnit
*/
public void testResourceManagerRegistrationPersistence_NullClient() throws Exception {
try {
this.persistence = new ResourceManagerRegistrationPersistence((ResourceManagerServiceClient) null,
converter);
fail("IllegalArgumentException expected.");
} catch (IllegalArgumentException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ResourceManagerServiceClient,
* RegistrationEntitiesToResourceConverter). With null converter,
* IllegalArgumentException expected.
*
* @throws Exception
* to JUnit
*/
public void testResourceManagerRegistrationPersistence_NullConverter() throws Exception {
try {
this.persistence = new ResourceManagerRegistrationPersistence(CLIENT,
(RegistrationEntitiesToResourceConverter) null);
fail("IllegalArgumentException expected.");
} catch (IllegalArgumentException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). With null
* config, IllegalArgumentException expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_NullConfigurationObject() throws Exception {
try {
new ResourceManagerRegistrationPersistence(null);
fail("IllegalArgumentException expected");
} catch (IllegalArgumentException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). Without
* config of child "ws_wrapper_resource_management", ConfigurationException
* expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_WithoutChild() throws Exception {
config.removeChild("ws_wrapper_resource_management");
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). Without
* property "url", ConfigurationException expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_WithoutURL() throws Exception {
child.removeProperty("url");
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). With empty
* property "url", ConfigurationException expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_EmptyURL() throws Exception {
child.setPropertyValue("url", " ");
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). WIth invalid
* type of property "url", ConfigurationException expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_InvalidURL1() throws Exception {
child.setPropertyValue("url", new Date());
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). With
* multiple value of property "url", ConfigurationException expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_MultiURL() throws Exception {
child.setPropertyValues("url", new String[] {"url", "url" });
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). The property
* "converter_key" is missing, ConfigurationException expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_NullConverterKey() throws Exception {
child.removeProperty("converter_key");
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject).
* With empty property "converter_key", ConfigurationException
* expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_EmptyConverterKey() throws Exception {
child.setPropertyValue("converter_key", " ");
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject).
* With invalid property "converter_key",
* ConfigurationException expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_InvalidConverterKey() throws Exception {
child.setPropertyValue("converter_key", 1);
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). With
* multiple values of property "converter_key", ConfigurationException
* expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_MultiConverterKey() throws Exception {
child.setPropertyValues("converter_key", new String[] {"1", "2" });
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). Without
* property "object_factory_config_child_name", ConfigurationException
* expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_WithoutObjectFactoryChildName() throws Exception {
child.removeProperty("object_factory_config_child_name");
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). With empty
* property "object_factory_config_child_name", ConfigurationException
* expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_EmptyObjectFactoryChildName() throws Exception {
child.setPropertyValue("object_factory_config_child_name", " ");
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). With
* multiple values property "object_factory_config_child_name",
* ConfigurationException expected.
*
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_MultiObjectFactoryChildName() throws Exception {
child.setPropertyValues("object_factory_config_child_name", new String[] {"child1", "child2" });
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). Without the
* child with name given by "object_factory_config_child_name" property,
* ConfigurationException expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_WIthoutObjectFactoryChild() throws Exception {
config.removeChild("objectFactoryChild");
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). With invalid
* object factory child, ConfigurationException expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_InvalidObjectFactoryChild() throws Exception {
ofChild.clearChildren();
ofChild.clearProperties();
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). Return type
* is not RegistrationEntitiesToResourceConverter, ConfigurationException
* expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_InvalidObject() throws Exception {
converterChild.setPropertyValue("type", "java.lang.String");
try {
new ResourceManagerRegistrationPersistence(config);
fail("ConfigurationException expected");
} catch (ConfigurationException e) {
// expected
}
}
/**
* Failure test for method
* ResourceManagerRegistrationPersistence(ConfigurationObject). Error occurs
* while creating ResourceManagerServiceClient,
* ResourceManagerServiceClientCreationException expected.
*
* @throws Exception
* to JUnit.
*/
public void testResourceManagerRegistrationPersistence_WrongURL() throws Exception {
child.setPropertyValue("url", "http://www.google.com");
try {
new ResourceManagerRegistrationPersistence(config);
fail("ResourceManagerServiceClientCreationException expected");
} catch (ResourceManagerServiceClientCreationException e) {
// expected
}
}
/**
* Failure test for method register(Contest contest, User user, ContestRole
* contestRole). With null contest, IllegalArgumentException expected.
*
* @throws Exception
* to JUnit
*/
public void testRegister_NullContest() throws Exception {
try {
this.persistence.register(null, user, contestRole);
fail("IllegalArgumentException expected");
} catch (IllegalArgumentException e) {
// expected
}
}
/**
* Failure test for method register(Contest contest, User user, ContestRole
* contestRole). With null user, IllegalArgumentException expected.
*
* @throws Exception
* to JUnit
*/
public void testRegister_NullUser() throws Exception {
try {
this.persistence.register(contest, null, contestRole);
fail("IllegalArgumentException expected");
} catch (IllegalArgumentException e) {
// expected
}
}
/**
* Failure test for method register(Contest contest, User user, ContestRole
* contestRole). With null contestRole, IllegalArgumentException expected.
*
* @throws Exception
* to JUnit
*/
public void testRegister_NullContestRole() throws Exception {
try {
this.persistence.register(contest, user, null);
fail("IllegalArgumentException expected");
} catch (IllegalArgumentException e) {
// expected
}
}
/**
* Failure test for method unregister(Contest contest, User user,
* ContestRole contestRole). With null contest, IllegalArgumentException
* expected.
*
* @throws Exception
* to JUnit
*/
public void testUnregister_NullContest() throws Exception {
try {
this.persistence.unregister(null, user, contestRole);
fail("IllegalArgumentException expected");
} catch (IllegalArgumentException e) {
// expected
}
}
/**
* Failure test for method unregister(Contest contest, User user,
* ContestRole contestRole). With null user, IllegalArgumentException
* expected.
*
* @throws Exception
* to JUnit
*/
public void testUnregister_NullUser() throws Exception {
try {
this.persistence.unregister(contest, null, contestRole);
fail("IllegalArgumentException expected");
} catch (IllegalArgumentException e) {
// expected
}
}
/**
* Failure test for method unregister(Contest contest, User user,
* ContestRole contestRole). With null contestRole, IllegalArgumentException
* expected.
*
* @throws Exception
* to JUnit
*/
public void testUnregister_NullContestRole() throws Exception {
try {
this.persistence.unregister(contest, user, null);
fail("IllegalArgumentException expected");
} catch (IllegalArgumentException e) {
// expected
}
}
}
| [
"extra@fb370eea-3af6-4597-97f7-f7400a59c12a"
] | extra@fb370eea-3af6-4597-97f7-f7400a59c12a |
4c3bedd9497a580e2cceae158d111f3fd11d3458 | 2ee45c9a0333c24d5d6f4263822966dbccd98068 | /5 DFS/Lint_915.java | 4c7dca72cb7a1d0645e94fe67484238d873b1f5f | [] | no_license | hekillno16/LL_code | ce782850a782d7df5bd8310886a63a58a2051e02 | f0686b887213a1ecd1d17a4245387ae1d1301228 | refs/heads/master | 2020-04-05T21:47:27.655457 | 2020-03-26T05:11:52 | 2020-03-26T05:11:52 | 157,233,032 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,424 | java | // https://www.lintcode.com/problem/inorder-predecessor-in-bst/description?_from=ladder&&fromId=1
// M1, (template)traversal
public class Solution {
/**
* @param root: the given BST
* @param p: the given node
* @return: the in-order predecessor of the given node in the BST
*/
public TreeNode inorderPredecessor(TreeNode root, TreeNode p) {
Stack<TreeNode> stack = new Stack<>();
TreeNode curt = root;
TreeNode pred = null;
while (curt != null || !stack.isEmpty()) {
while (curt != null) {
stack.push(curt);
curt = curt.left;
}
curt = stack.pop();
if (curt == p && pred != null) {
return pred;
}
pred = curt;
curt = curt.right;
}
return null;
}
}
// M2, over simplified
public class Solution {
/**
* @param root: the given BST
* @param p: the given node
* @return: the in-order predecessor of the given node in the BST
*/
public TreeNode inorderPredecessor(TreeNode root, TreeNode p) {
TreeNode pred = null;
while (root != null) {
if (p.val > root.val) {
pred = root;
root = root.right;
} else {
root = root.left;
}
}
return pred;
}
}
| [
"[email protected]"
] | |
e544131b935d48f44e9ddeeb448152c6a6d3ef77 | 2f671c035b4eb7a970bae10ca9759f29df54550e | /annotation/src/main/java/com/example/annotation/params_inject/ParseParamsActivity.java | d15b94e374a111f4eaa857c18dcc974933b122a4 | [] | no_license | justinworkshop/BasicTech | 956bab0e82b241f0f3f8e470437becb544ce68c2 | 73cfeb183b11b103da4c904f9a45bc8bc8fd72e9 | refs/heads/master | 2023-08-17T03:01:43.314666 | 2020-08-10T15:51:22 | 2020-08-10T15:51:22 | 259,841,339 | 0 | 0 | null | 2020-08-10T15:51:23 | 2020-04-29T06:17:55 | Java | UTF-8 | Java | false | false | 1,995 | java | package com.example.annotation.params_inject;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import com.example.annotation.R;
import com.example.annotation.params_inject.annotation.AutoWried;
import com.example.annotation.params_inject.annotation.InjectView;
import com.example.annotation.params_inject.annotation.UserInfo;
import java.util.Arrays;
import java.util.List;
/**
* Copyright (C), 2016-2020
* FileName: ParseParamsActivity
* Author: zhengwei
* Date: 2020-05-03 18:12
* Description: 通过注解解析参数
*/
public class ParseParamsActivity extends AppCompatActivity {
@InjectView(R.id.tv)
private TextView textView;
@AutoWried
private String name;
@AutoWried("attr")
String attr;
@AutoWried
private int[] array;
@AutoWried
private UserInfo userInfo;
@AutoWried
private UserInfo[] userInfos;
private List<UserInfo> userInfoList;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_parse_params);
InjectUtils.injectView(this);
InjectUtils.injectAutoWried(this);
textView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Toast.makeText(ParseParamsActivity.this, "Hello", Toast.LENGTH_SHORT).show();
}
});
System.out.println(toString());
}
@Override
public String toString() {
return "ParseParamsActivity{" +
"name='" + name + '\'' +
", attr='" + attr + '\'' +
", array=" + Arrays.toString(array) +
", userInfo=" + userInfo +
", userInfos=" + Arrays.toString(userInfos) +
", userInfoList=" + userInfoList +
'}';
}
}
| [
"[email protected]"
] | |
6db89b87993e1b642dd0c8248f0ba28265427b03 | 6d59418fda917b374e73d8fcdd1a325724300ad1 | /jslack-api-client/src/main/java/com/github/seratch/jslack/api/methods/request/groups/GroupsLeaveRequest.java | c4894ee42d57eb64de507b7d8ddb1d129f9aa8bf | [
"MIT"
] | permissive | seratch/jslack-maintenance-releases | 6625f87c604ddbfa78f26fee1c685f2a53f5aeb3 | 02032fb24ac4737ec52e5daffef861eb8f5d9b41 | refs/heads/master | 2023-09-06T08:09:55.926223 | 2023-04-19T13:42:27 | 2023-04-19T13:42:27 | 236,092,259 | 8 | 6 | MIT | 2023-08-23T21:40:17 | 2020-01-24T22:11:55 | Java | UTF-8 | Java | false | false | 531 | java | package com.github.seratch.jslack.api.methods.request.groups;
import com.github.seratch.jslack.api.methods.SlackApiRequest;
import lombok.Builder;
import lombok.Data;
@Deprecated // https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-api
@Data
@Builder
public class GroupsLeaveRequest implements SlackApiRequest {
/**
* Authentication token. Requires scope: `groups:write`
*/
private String token;
/**
* Private channel to leave
*/
private String channel;
} | [
"[email protected]"
] | |
6ccb0d893929f6997c3421d852811cd65e74c039 | a44c2c8f9d9090a59e048ac20ffe7676bc274669 | /src/main/java/com/fabrick/rs/api/exception/FabrickNotFoundException.java | 6086a78edd1618c27bd4ba321d0ef6663e0d1c86 | [] | no_license | luigiricco/fabrick-test | 4e703ce3be7c41a9d057fa0d186d332f09a503f8 | 19663dbe35ab76147ca623139f8aefca3065f598 | refs/heads/main | 2023-06-15T17:27:55.946475 | 2021-07-17T16:57:32 | 2021-07-17T16:57:32 | 386,992,283 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 177 | java | package com.fabrick.rs.api.exception;
public class FabrickNotFoundException extends FabrickException {
public FabrickNotFoundException(String message) {super(message); }
}
| [
"[email protected]"
] | |
8783d30eefb444b56b29bcc250de7b9aea33af17 | cd2a47f35344a0649690afc9599239312c54b2cb | /gemfire-data/src/main/java/com/spring/gemfire/data/App.java | 6b714bc4ad0f37aa44a3e973e9cb3a5074fcfec8 | [] | no_license | chenchuan01/spring-case | 18965c434799e94e8c1fe02e81f1cc85d79aa643 | f6bfe328346d45ff2fcf921374d646c7e95d3b7a | refs/heads/master | 2020-05-27T10:35:00.239051 | 2017-03-13T10:11:01 | 2017-03-13T10:11:01 | 82,542,397 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,229 | java | package com.spring.gemfire.data;
import java.util.Properties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.gemfire.CacheFactoryBean;
import org.springframework.data.gemfire.LocalRegionFactoryBean;
import org.springframework.data.gemfire.repository.config.EnableGemfireRepositories;
import com.gemstone.gemfire.cache.GemFireCache;
import com.spring.gemfire.data.entity.Person;
import com.spring.gemfire.data.repos.PersonRepository;
/**
* Hello world!
*
*/
@Configuration
@EnableGemfireRepositories
public class App implements CommandLineRunner{
@Bean
Properties gemfrieProperties(){
Properties gemfireProperties= new Properties();
gemfireProperties.setProperty("name", "DataGemFireApplication");
gemfireProperties.setProperty("mcast-port", "0");
gemfireProperties.setProperty("log-level", "config");
return gemfireProperties;
}
@Bean
CacheFactoryBean gemfireCache(){
CacheFactoryBean gemfireCache = new CacheFactoryBean();
gemfireCache.setClose(true);
gemfireCache.setProperties(gemfrieProperties());
return gemfireCache;
}
@Bean
LocalRegionFactoryBean<String, Person> helloRegin(final GemFireCache cache){
LocalRegionFactoryBean<String, Person> helloRegin = new LocalRegionFactoryBean<>();
helloRegin.setCache(cache);
helloRegin.setClose(false);
helloRegin.setName("person");
helloRegin.setPersistent(false);
return helloRegin;
}
@Autowired
PersonRepository personRepository;
public static void main(String[] args) {
SpringApplication application = new SpringApplication(App.class);
application.setWebEnvironment(false);
application.run(args);
}
@Override
public void run(String... args) throws Exception {
Person alice = new Person("Alice", 40);
Person bob = new Person("Baby Bob", 1);
Person carol = new Person("Teen Carol", 13);
System.out.println("Before linking up with Gemfire...");
for (Person person : new Person[] { alice, bob, carol }) {
System.out.println("\t" + person);
}
personRepository.save(alice);
personRepository.save(bob);
personRepository.save(carol);
System.out.println("Lookup each person by name...");
for (String name : new String[] { alice.getName(), bob.getName(), carol.getName() }) {
System.out.println("\t" + personRepository.findByName(name));
}
System.out.println("Adults (over 18):");
for (Person person : personRepository.findByAgeGreaterThan(18)) {
System.out.println("\t" + person);
}
System.out.println("Babies (less than 5):");
for (Person person : personRepository.findByAgeLessThan(5)) {
System.out.println("\t" + person);
}
System.out.println("Teens (between 12 and 20):");
for (Person person : personRepository.findByAgeGreaterThanAndAgeLessThan(12, 20)) {
System.out.println("\t" + person);
}
}
}
| [
"[email protected]"
] | |
26e8cf51e8358714edfb28ea20c598c35f10a82a | 7f059f64638762a4af033553e10fe0707dacbbcc | /java/CourseSchedule.java | 253cfa74c9ddb2d5e6a7ae5acbe15fe2bf175c4a | [
"MIT"
] | permissive | sureleo/leetcode | df9099d895faaa7f14aa5c0309cbd603ccf22e2f | 190b81817c7e7c564f5f1299b8c5638d10d2a511 | refs/heads/master | 2021-01-10T18:26:24.372568 | 2019-12-24T17:45:40 | 2019-12-24T17:45:40 | 28,789,872 | 1 | 2 | null | null | null | null | UTF-8 | Java | false | false | 1,719 | java | public class Solution {
public boolean canFinish(int numCourses, int[][] prerequisites) {
Map<Integer, List<Integer>> map = new HashMap<Integer, List<Integer>>();
int[] degreeMap = new int[numCourses];
int rows = prerequisites.length;
for (int i = 0; i < rows; i++) {
int key = prerequisites[i][1];
if (map.containsKey(key)) {
List<Integer> next = new ArrayList<Integer>(map.get(key));
next.add(prerequisites[i][0]);
degreeMap[prerequisites[i][0]] += 1;
map.put(key, next);
} else {
List<Integer> newList = new ArrayList<Integer>();
newList.add(prerequisites[i][0]);
degreeMap[prerequisites[i][0]] += 1;
map.put(key, newList);
}
}
List<Integer> inDegreeZero = new ArrayList<Integer>();
for (int i = 0; i < degreeMap.length; i++) {
if (degreeMap[i] == 0) {
inDegreeZero.add(i);
}
}
while (inDegreeZero.size() > 0) {
int lastOne = inDegreeZero.remove(inDegreeZero.size() - 1);
if (map.containsKey(lastOne) == false) {
continue;
}
for (int i = 0; i < map.get(lastOne).size(); i++) {
int currElement = map.get(lastOne).get(i);
degreeMap[currElement] -= 1;
if (degreeMap[currElement] == 0) {
inDegreeZero.add(currElement);
}
}
map.remove(lastOne);
}
return map.size() == 0;
}
}
| [
"[email protected]"
] | |
a9a095445a4f4e3f4677d1c8227e1b3ffe617a68 | 5b57c7277320f45b9ca684c2d572cd99234b221f | /src/main/java/com/baulsupp/oksocial/services/surveymonkey/SurveyMonkeyToken.java | 3239eb09befd133a9f8610e1c4449448d7f44f51 | [
"Apache-2.0"
] | permissive | fcjjcf/oksocial | 676948724c4331e8d38f5fa4b69557417b3b03fe | 254cc75eefd2b0d54b59a5519d2cfb670e112300 | refs/heads/master | 2021-01-21T14:53:09.344220 | 2017-06-25T09:10:55 | 2017-06-25T09:10:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 273 | java | package com.baulsupp.oksocial.services.surveymonkey;
public class SurveyMonkeyToken {
public String apiKey;
public String accessToken;
public SurveyMonkeyToken(String apiKey, String accessToken) {
this.apiKey = apiKey;
this.accessToken = accessToken;
}
}
| [
"[email protected]"
] | |
6d50a01b672ef6293692e8284826a485ae4bc0c8 | 13608cc48397dee94b427f4bbcd1ade224749be7 | /Logistics01/target/tomcat/work/Tomcat/localhost/_/org/apache/jsp/WEB_002dINF/pages/sysadmin/left_jsp.java | 985246be473ab917bb35f5b4ca017afb6947c30c | [] | no_license | balyi/zhucheng_SE | 0e124c1b987003904ce2509841fd2f2e6d91d197 | 3bcfc910e1b314541ce29b02951592372fa1b3af | refs/heads/master | 2020-08-04T18:13:09.146154 | 2019-05-08T01:24:31 | 2019-05-08T01:24:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 20,027 | java | /*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/7.0.47
* Generated at: 2017-11-23 07:14:34 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.WEB_002dINF.pages.sysadmin;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class left_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
static {
_jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(2);
_jspx_dependants.put("/WEB-INF/pages/sysadmin/../baselist.jsp", Long.valueOf(1459237033023L));
_jspx_dependants.put("/WEB-INF/pages/sysadmin/../base.jsp", Long.valueOf(1510816078347L));
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody.release();
_005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html;charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write('\r');
out.write('\n');
out.write("\r\n");
out.write("\r\n");
if (_jspx_meth_c_005fset_005f0(_jspx_page_context))
return;
out.write("\r\n");
out.write("\r\n");
out.write("<link rel=\"stylesheet\" rev=\"stylesheet\" type=\"text/css\" href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/staticfile/skin/default/css/default.css\" media=\"all\"/>\r\n");
out.write("<link rel=\"stylesheet\" rev=\"stylesheet\" type=\"text/css\" href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/staticfile/skin/default/css/button.css\" media=\"all\"/>\r\n");
out.write("<link rel=\"stylesheet\" rev=\"stylesheet\" type=\"text/css\" href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/staticfile/skin/default/css/table.css\" media=\"all\"/>\r\n");
out.write("<script language=\"javascript\" src=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/staticfile/js/common.js\"></script>");
out.write("\r\n");
out.write("\r\n");
out.write(" \t<link rel=\"stylesheet\" rev=\"stylesheet\" type=\"text/css\" href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/staticfile/css/extreme/extremecomponents.css\" />\r\n");
out.write(" <link rel=\"stylesheet\" rev=\"stylesheet\" type=\"text/css\" href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/staticfile/css/extreme/extremesite.css\" />");
out.write("\r\n");
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
out.write("<head>\r\n");
out.write(" <title></title>\r\n");
out.write(" <link rel=\"stylesheet\" rev=\"stylesheet\" type=\"text/css\" href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/staticfile/skin/default/css/left.css\" media=\"all\"/>\r\n");
out.write("</head>\r\n");
out.write(" \r\n");
out.write("<body id=\"left_frame\">\r\n");
out.write("<div class=\"PositionFrame_black\" id=\"PositionFrame\"></div>\r\n");
out.write(" \r\n");
out.write(" \r\n");
out.write("<!-- begin1 -->\r\n");
out.write("<div id=\"sidebar\" class=\"sidebar\">\r\n");
out.write("\t<div class=\"sidebar_t\">\r\n");
out.write("\t\t<div class=\"sidebar_t_l\"></div>\r\n");
out.write("\t\t<div class=\"sidebar_t_c\"></div>\r\n");
out.write("\t\t<div class=\"sidebar_t_r\"></div>\r\n");
out.write("\t</div>\r\n");
out.write(" <div class=\"panel\">\r\n");
out.write(" <div class=\"panel_icon\"><img src=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/staticfile/skin/default/images/icon/user1_lock.png\"/></div>\r\n");
out.write(" <div class=\"panel-header\">\r\n");
out.write(" <div class=\"panel-title\">权限管理</div>\r\n");
out.write(" <div class=\"panel-content\">\r\n");
out.write("\t\t\t<ul>\r\n");
out.write("\t\t\t");
if (_jspx_meth_shiro_005fhasPermission_005f0(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t");
if (_jspx_meth_shiro_005fhasPermission_005f1(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t");
if (_jspx_meth_shiro_005fhasPermission_005f2(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t");
if (_jspx_meth_shiro_005fhasPermission_005f3(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t</ul>\r\n");
out.write(" </div>\r\n");
out.write(" </div>\r\n");
out.write(" </div>\r\n");
out.write(" <div class=\"sidebar_t\">\r\n");
out.write("\t\t<div class=\"sidebar_b_l\"></div>\r\n");
out.write("\t\t<div class=\"sidebar_t_c\"></div>\r\n");
out.write("\t\t<div class=\"sidebar_b_r\"></div>\r\n");
out.write("\t</div> \r\n");
out.write("</div>\t\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (java.lang.Throwable t) {
if (!(t instanceof javax.servlet.jsp.SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
else throw new ServletException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_c_005fset_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// c:set
org.apache.taglibs.standard.tag.rt.core.SetTag _jspx_th_c_005fset_005f0 = (org.apache.taglibs.standard.tag.rt.core.SetTag) _005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.SetTag.class);
_jspx_th_c_005fset_005f0.setPageContext(_jspx_page_context);
_jspx_th_c_005fset_005f0.setParent(null);
// /WEB-INF/pages/sysadmin/../base.jsp(3,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_c_005fset_005f0.setVar("ctx");
// /WEB-INF/pages/sysadmin/../base.jsp(3,0) name = value type = javax.el.ValueExpression reqTime = true required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
_jspx_th_c_005fset_005f0.setValue(new org.apache.jasper.el.JspValueExpression("/WEB-INF/pages/sysadmin/../base.jsp(3,0) '${pageContext.request.contextPath}'",_el_expressionfactory.createValueExpression(_jspx_page_context.getELContext(),"${pageContext.request.contextPath}",java.lang.Object.class)).getValue(_jspx_page_context.getELContext()));
int _jspx_eval_c_005fset_005f0 = _jspx_th_c_005fset_005f0.doStartTag();
if (_jspx_th_c_005fset_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005fset_005f0);
return true;
}
_005fjspx_005ftagPool_005fc_005fset_0026_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005fset_005f0);
return false;
}
private boolean _jspx_meth_shiro_005fhasPermission_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// shiro:hasPermission
org.apache.shiro.web.tags.HasPermissionTag _jspx_th_shiro_005fhasPermission_005f0 = (org.apache.shiro.web.tags.HasPermissionTag) _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.get(org.apache.shiro.web.tags.HasPermissionTag.class);
_jspx_th_shiro_005fhasPermission_005f0.setPageContext(_jspx_page_context);
_jspx_th_shiro_005fhasPermission_005f0.setParent(null);
// /WEB-INF/pages/sysadmin/left.jsp(27,3) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_shiro_005fhasPermission_005f0.setName("部门管理");
int _jspx_eval_shiro_005fhasPermission_005f0 = _jspx_th_shiro_005fhasPermission_005f0.doStartTag();
if (_jspx_eval_shiro_005fhasPermission_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t\t\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/sysadmin/dept/list\" onclick=\"linkHighlighted(this)\" target=\"main\" id=\"aa_1\">部门管理</a></li>\r\n");
out.write("\t\t\t");
int evalDoAfterBody = _jspx_th_shiro_005fhasPermission_005f0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_shiro_005fhasPermission_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(_jspx_th_shiro_005fhasPermission_005f0);
return true;
}
_005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(_jspx_th_shiro_005fhasPermission_005f0);
return false;
}
private boolean _jspx_meth_shiro_005fhasPermission_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// shiro:hasPermission
org.apache.shiro.web.tags.HasPermissionTag _jspx_th_shiro_005fhasPermission_005f1 = (org.apache.shiro.web.tags.HasPermissionTag) _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.get(org.apache.shiro.web.tags.HasPermissionTag.class);
_jspx_th_shiro_005fhasPermission_005f1.setPageContext(_jspx_page_context);
_jspx_th_shiro_005fhasPermission_005f1.setParent(null);
// /WEB-INF/pages/sysadmin/left.jsp(30,3) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_shiro_005fhasPermission_005f1.setName("用户管理");
int _jspx_eval_shiro_005fhasPermission_005f1 = _jspx_th_shiro_005fhasPermission_005f1.doStartTag();
if (_jspx_eval_shiro_005fhasPermission_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t\t\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/sysadmin/user/list\" onclick=\"linkHighlighted(this)\" target=\"main\" id=\"aa_1\">用户管理</a></li>\r\n");
out.write("\t\t\t");
int evalDoAfterBody = _jspx_th_shiro_005fhasPermission_005f1.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_shiro_005fhasPermission_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(_jspx_th_shiro_005fhasPermission_005f1);
return true;
}
_005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(_jspx_th_shiro_005fhasPermission_005f1);
return false;
}
private boolean _jspx_meth_shiro_005fhasPermission_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// shiro:hasPermission
org.apache.shiro.web.tags.HasPermissionTag _jspx_th_shiro_005fhasPermission_005f2 = (org.apache.shiro.web.tags.HasPermissionTag) _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.get(org.apache.shiro.web.tags.HasPermissionTag.class);
_jspx_th_shiro_005fhasPermission_005f2.setPageContext(_jspx_page_context);
_jspx_th_shiro_005fhasPermission_005f2.setParent(null);
// /WEB-INF/pages/sysadmin/left.jsp(33,3) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_shiro_005fhasPermission_005f2.setName("角色管理");
int _jspx_eval_shiro_005fhasPermission_005f2 = _jspx_th_shiro_005fhasPermission_005f2.doStartTag();
if (_jspx_eval_shiro_005fhasPermission_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t\t\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/sysadmin/role/list\" onclick=\"linkHighlighted(this)\" target=\"main\" id=\"aa_1\">角色管理</a></li>\r\n");
out.write("\t\t\t");
int evalDoAfterBody = _jspx_th_shiro_005fhasPermission_005f2.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_shiro_005fhasPermission_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(_jspx_th_shiro_005fhasPermission_005f2);
return true;
}
_005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(_jspx_th_shiro_005fhasPermission_005f2);
return false;
}
private boolean _jspx_meth_shiro_005fhasPermission_005f3(javax.servlet.jsp.PageContext _jspx_page_context)
throws java.lang.Throwable {
javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
// shiro:hasPermission
org.apache.shiro.web.tags.HasPermissionTag _jspx_th_shiro_005fhasPermission_005f3 = (org.apache.shiro.web.tags.HasPermissionTag) _005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.get(org.apache.shiro.web.tags.HasPermissionTag.class);
_jspx_th_shiro_005fhasPermission_005f3.setPageContext(_jspx_page_context);
_jspx_th_shiro_005fhasPermission_005f3.setParent(null);
// /WEB-INF/pages/sysadmin/left.jsp(36,3) name = name type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
_jspx_th_shiro_005fhasPermission_005f3.setName("模块管理");
int _jspx_eval_shiro_005fhasPermission_005f3 = _jspx_th_shiro_005fhasPermission_005f3.doStartTag();
if (_jspx_eval_shiro_005fhasPermission_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t\t\t\t\t<li><a href=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write("/sysadmin/module/list\" onclick=\"linkHighlighted(this)\" target=\"main\" id=\"aa_1\">模块管理</a></li>\r\n");
out.write("\t\t\t");
int evalDoAfterBody = _jspx_th_shiro_005fhasPermission_005f3.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_shiro_005fhasPermission_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(_jspx_th_shiro_005fhasPermission_005f3);
return true;
}
_005fjspx_005ftagPool_005fshiro_005fhasPermission_0026_005fname.reuse(_jspx_th_shiro_005fhasPermission_005f3);
return false;
}
}
| [
"[email protected]"
] | |
a65f42544b10a305846692ca380ade6d3fcf8050 | 8a16368f2963f43dbe1565ed6c8b157ca80f880b | /src/main/java/cn/gson/oasys/model/entity/user/UserLog.java | 582e5dcb6a8eb3c03479d9055c1c80434e79823e | [] | no_license | HuMengZhi/OA | adbb57eaf9d8907e9c77927c0908015de4541096 | 75519fac47db25cf6ec9bf70aa02aa3491b2c9e8 | refs/heads/main | 2023-09-04T20:59:57.390551 | 2021-11-14T10:40:52 | 2021-11-14T10:40:52 | 427,881,466 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,666 | java | package cn.gson.oasys.model.entity.user;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@Table(name = "aoa_user_log")
public class UserLog {
@Id
@Column(name = "log_id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id; //logid
@Column(name = "ip_addr")
private String ipAddr; //ip地址
private String title; //操作菜单名字
private String url; //操作菜单url
@Column(name = "log_time")
private Date logTime; //日志记录时间
@ManyToOne
@JoinColumn(name = "user_id")
private User user;
public UserLog() {
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getIpAddr() {
return ipAddr;
}
public void setIpAddr(String ipAddr) {
this.ipAddr = ipAddr;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Date getLogTime() {
return logTime;
}
public void setLogTime(Date logTime) {
this.logTime = logTime;
}
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
@Override
public String toString() {
return "UserLog [id=" + id + ", ipAddr=" + ipAddr + ", title=" + title + ", url=" + url + ", logTime=" + logTime
+ "]";
}
}
| [
"[email protected]"
] | |
145cfbb0b7cc0df9b462d271807025cd11ac96ca | bea67efc9261672fdcd7f3c82ad80e73061917b4 | /joybar/src/main/java/com/shenma/yueba/baijia/modle/GridVIewItemBean.java | 24ab53f079b5a3a9e5353c9344428fc834a2c5c3 | [] | no_license | MagicalHorse/Android_App_Studio | 60a0858bbb8e87173af70bc23c0fb030a41ad7fe | b51bab247f31d1ca97eb4a7c8acaaac2b6f2ceab | refs/heads/master | 2021-05-01T08:15:37.306021 | 2015-11-11T06:00:14 | 2015-11-11T06:00:14 | 34,716,948 | 1 | 2 | null | null | null | null | UTF-8 | Java | false | false | 503 | java | package com.shenma.yueba.baijia.modle;
public class GridVIewItemBean {
private String name;
private String head;
private boolean showDelete;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getHead() {
return head;
}
public void setHead(String head) {
this.head = head;
}
public boolean isShowDelete() {
return showDelete;
}
public void setShowDelete(boolean showDelete) {
this.showDelete = showDelete;
}
}
| [
"[email protected]"
] | |
80fadf86f158f7ee3588697c44e2d9b4aabaa545 | 1b53f7dc407d0b3d02d97bacaa4f97166db2625a | /src/main/java/com/springboot/parkinglot/controller/ParkingLotController.java | 08ddba6a21f90355434471e906fee760ba5a08ed | [] | no_license | mjoe92/parking-lot-service | a77ae0034fc0b11cf56060b02f18496abe8f0647 | c48d18abef85bed31f82381c1d1d1457ca2e6d1b | refs/heads/main | 2023-04-05T07:42:28.481848 | 2021-04-16T12:56:33 | 2021-04-16T12:56:33 | 358,596,878 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 808 | java | package com.springboot.parkinglot.controller;
import com.springboot.parkinglot.model.VehicleDTO;
import com.springboot.parkinglot.service.ParkingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
@RequestMapping("/parkinglot")
public class ParkingLotController {
@Autowired
ParkingService parkingService;
@GetMapping("/parkinginfo")
public List<VehicleDTO> getAllVehicles() {
return parkingService.getAllVehicles();
}
@PostMapping("/park")
public String park(VehicleDTO vehicleDTO) {
return parkingService.park(vehicleDTO);
}
@DeleteMapping("/unPark")
public String unPark(Long id) {
return parkingService.unPark(id);
}
}
| [
"[email protected]"
] | |
8b4601ebe281c172da2f81188fcf8afd70c2434e | 85080c64c2724a45f356d480b2c659f1954801be | /app/src/main/java/fodiee/thenick/com/SellIt/UI/ProductDetail.java | 190351afc52edcec78dfe4ccd911bb86cc4ebc8c | [] | no_license | nikhil097/Buyinge | 47500a464bb61837a545e3b64b15db1cf934fd24 | 172dc3417125b1951a727b32cede6e8fb27cd78c | refs/heads/master | 2021-10-19T13:50:20.324233 | 2019-02-21T15:48:28 | 2019-02-21T15:48:28 | 166,271,179 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 13,882 | java | package fodiee.thenick.com.SellIt.UI;
import android.annotation.SuppressLint;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.RecyclerView;
import android.text.TextUtils;
import android.util.Base64;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;
import com.bumptech.glide.Glide;
import com.google.firebase.auth.FirebaseAuth;
import com.google.firebase.database.ChildEventListener;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
import com.google.firebase.storage.FirebaseStorage;
import com.google.firebase.storage.StorageReference;
import com.like.LikeButton;
import java.util.ArrayList;
import fodiee.thenick.com.SellIt.Pojo.Product;
import fodiee.thenick.com.SellIt.R;
public class ProductDetail extends AppCompatActivity {
TextView title_tv,category_tv,description_tv,expectedPrice_tv;
ImageView productView;
Button bComment, bReply,bPostComment;
LikeButton bLike;
EditText comment_et;
Product product;
LinearLayout likeCommentLayout,commentPostLayout;
ArrayList<String> comments;
ArrayList<String> likes;
FirebaseDatabase firebase;
DatabaseReference myRef;
FirebaseAuth auth;
ProgressBar productsDetailBar;
boolean isLiked;
String path;
TextView comments_tv;
int counter=0;
TextView noOfLikes;
ListView commentsView;
StorageReference imagreference;
@SuppressLint("ClickableViewAccessibility")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_product_detail);
Log.v("called1","yes");
product= (Product) getIntent().getSerializableExtra("product");
title_tv=findViewById(R.id.product_title_et);
category_tv=findViewById(R.id.product_category_et);
expectedPrice_tv=findViewById(R.id.product_expectedPrice_et);
productView=findViewById(R.id.product_fullView);
description_tv=findViewById(R.id.product_desciption_et);
likeCommentLayout=findViewById(R.id.likeCommentLayout);
commentPostLayout=findViewById(R.id.commentPostLayout);
noOfLikes=findViewById(R.id.noOfLikes_tv);
commentsView=findViewById(R.id.commentsLv);
comments_tv=findViewById(R.id.comments_tv);
productsDetailBar =findViewById(R.id.productDetailBar);
imagreference=FirebaseStorage.getInstance().getReference();
imagreference.child("images");
comments=new ArrayList<>();
likes=new ArrayList<>();
// commentsView.setAdapter(new ArrayAdapter(getApplicationContext(),android.R.layout.simple_list_item_1,comments));
firebase=FirebaseDatabase.getInstance();
myRef=firebase.getReference().child("Products");
auth=FirebaseAuth.getInstance();
bPostComment=findViewById(R.id.postCooment);
comment_et=findViewById(R.id.comments_et);
bLike=findViewById(R.id.likeButton);
bComment=findViewById(R.id.commentButton);
bReply =findViewById(R.id.bidButton);
// getSupportActionBar().setTitle("Product Details");
bComment.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// bComment.setVisibility(View.GONE);
// bLike.setVisibility(View.GONE);
// bReply.setVisibility(View.GONE);
// noOfLikes.setVisibility(View.GONE);
likeCommentLayout.setVisibility(View.GONE);
commentPostLayout.setVisibility(View.VISIBLE);
}
});
bPostComment.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
if(auth.getCurrentUser()==null)
{
Toast.makeText(getApplicationContext(),"Please sign in first.",Toast.LENGTH_SHORT).show();
}
else {
if(!TextUtils.isEmpty(comment_et.getText().toString().trim())) {
String uploadedBy=auth.getCurrentUser().getEmail();
if(uploadedBy==null)
{
uploadedBy=auth.getCurrentUser().getPhoneNumber();
}
else if(uploadedBy.equals(""))
{
uploadedBy=auth.getCurrentUser().getPhoneNumber();
}
myRef.child(product.getProductId()).child("comments").push().setValue(uploadedBy + ": " + comment_et.getText().toString().trim());
comment_et.setText("");
commentPostLayout.setVisibility(View.GONE);
// comment_et.setVisibility(View.GONE);
// bPostComment.setVisibility(View.GONE);
// bComment.setVisibility(View.VISIBLE);
// bLike.setVisibility(View.VISIBLE);
// bReply.setVisibility(View.VISIBLE);
// noOfLikes.setVisibility(View.VISIBLE);
likeCommentLayout.setVisibility(View.VISIBLE);
}
else{
Toast.makeText(getApplicationContext(),"Please enter something",Toast.LENGTH_SHORT).show();
}
}
}
});
bLike.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
if(auth.getCurrentUser()==null)
{
Toast.makeText(ProductDetail.this, "Please sign in first", Toast.LENGTH_SHORT).show();
}
else {
if (!isLiked) {
String uploadedBy=auth.getCurrentUser().getEmail();
if(uploadedBy==null)
{
uploadedBy=auth.getCurrentUser().getPhoneNumber();
}
else if(uploadedBy.equals(""))
{
uploadedBy=auth.getCurrentUser().getPhoneNumber();
}
myRef.child(product.getProductId()).child("likes").push().setValue(uploadedBy);
// bLike.setBackground(getResources().getDrawable(R.drawable.baseline_thumb_up_black_18dp));
bLike.setLiked(true);
// counter++;
} else {
// Toast.makeText(getApplicationContext(), path, Toast.LENGTH_SHORT).show();
myRef.child(product.getProductId()).child("likes").child(path).setValue(null);
path = null;
isLiked = false;
// bLike.setBackground(getResources().getDrawable(R.drawable.baseline_thumb_down_black_18dp));
bLike.setLiked(false);
counter--;
noOfLikes.setText(counter + "");
}
}
}
});
commentsView.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
v.getParent().requestDisallowInterceptTouchEvent(true);
return false;
}
});
bReply.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
if(auth.getCurrentUser()==null)
{
Toast.makeText(getApplicationContext(),"Please sign in first",Toast.LENGTH_SHORT).show();
}
else {
// startActivity(new Intent(ProductDetail.this, Main2Activity.class));
}
}
});
attachDbListener();
title_tv.setText(product.getTitle());
category_tv.setText(product.getCategory());
expectedPrice_tv.setText(product.getExpectedPrice());
// productView.setImageBitmap(base64ToImage(product.getBitmap()));
// ImageView image = (ImageView)findViewById(R.id.imageView);
Glide.with(this)
.load(product.getBitmap())
.into(productView);
description_tv.setText(description_tv.getText().toString()+product.getDescription());
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
/* Create an Intent that will start the Menu-Activity. */
productsDetailBar.setVisibility(View.GONE);
if (comments.size()==0)
{
comments_tv.setText(comments_tv.getText()+"\nNo comments");
}
}
}, 5000);
}
@Override
public void onBackPressed() {
if(commentPostLayout.getVisibility()==View.VISIBLE)
{
commentPostLayout.setVisibility(View.GONE);
likeCommentLayout.setVisibility(View.VISIBLE);
}
else{
super.onBackPressed();
}
}
public void attachDbListener()
{
myRef.child(product.getProductId()).child("comments").addChildEventListener(new ChildEventListener() {
@Override
public void onChildAdded(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {
String comment=dataSnapshot.getValue(String.class);
productsDetailBar.setVisibility(View.GONE);
comments_tv.setText("Comments\n");
comments.add(comment);
commentsView.setAdapter(new ArrayAdapter(getApplicationContext(),android.R.layout.simple_list_item_1,comments));
}
@Override
public void onChildChanged(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {
}
@Override
public void onChildRemoved(@NonNull DataSnapshot dataSnapshot) {
}
@Override
public void onChildMoved(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {
}
@Override
public void onCancelled(@NonNull DatabaseError databaseError) {
}
});
myRef.child(product.getProductId()).child("likes").addChildEventListener(new ChildEventListener() {
@Override
public void onChildAdded(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {
if(auth.getCurrentUser()!=null) {
counter++;
noOfLikes.setText(counter + " ");
String likedBy = dataSnapshot.getValue(String.class);
String uploadedBy=auth.getCurrentUser().getEmail();
if(uploadedBy==null)
{
uploadedBy=auth.getCurrentUser().getPhoneNumber();
}
else if(uploadedBy.equals(""))
{
uploadedBy=auth.getCurrentUser().getPhoneNumber();
}
if (likedBy.equals(uploadedBy)) {
isLiked = true;
// bLike.setBackground(getResources().getDrawable(R.drawable.baseline_thumb_up_black_18dp));
bLike.setLiked(true);
path = dataSnapshot.getKey();
}
}
}
@Override
public void onChildChanged(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {
counter++;
noOfLikes.setText(counter);
String likedBy=dataSnapshot.getValue(String.class);
String uploadedBy=auth.getCurrentUser().getEmail();
if(uploadedBy==null)
{
uploadedBy=auth.getCurrentUser().getPhoneNumber();
}
else if(uploadedBy.equals(""))
{
uploadedBy=auth.getCurrentUser().getPhoneNumber();
}
if(likedBy.equals(uploadedBy))
{
isLiked=true;
//bLike.setBackground(getResources().getDrawable(R.drawable.baseline_thumb_up_black_18dp));
bLike.setLiked(true);
path=dataSnapshot.getKey();
}
}
@Override
public void onChildRemoved(@NonNull DataSnapshot dataSnapshot) {
}
@Override
public void onChildMoved(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {
}
@Override
public void onCancelled(@NonNull DatabaseError databaseError) {
}
});
}
public Bitmap base64ToImage(String encodedImage)
{
byte[] decodedString = Base64.decode(encodedImage, Base64.DEFAULT);
return BitmapFactory.decodeByteArray(decodedString, 0, decodedString.length);
}
}
| [
"[email protected]"
] | |
2787b0fcc7f0f313c99609aeaebb78fd132bbe9f | 8e766bb2bc64876f29ca2af7500a24c0156740a8 | /toypop/app/src/main/java/com/jysd/toypop/bean/Share.java | f1456af0a48b4e946ad286ae91aa7f6851d2fe48 | [] | no_license | zhou411424/Android | 80f094f7d081c7900fb30476a92e1ee8657e5834 | bf5f552ed36f8ed5512f18ae8d7f44ee6a02d3d1 | refs/heads/master | 2021-01-17T14:16:04.723752 | 2016-07-11T09:37:43 | 2016-07-11T09:37:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 233 | java | package com.jysd.toypop.bean;
import com.umeng.socialize.bean.SHARE_MEDIA;
/**
* Created by sysadminl on 2016/1/20.
*/
public class Share {
public int resPic;
public String resStr;
public SHARE_MEDIA share_media;
}
| [
"920123"
] | 920123 |
e04195158659e357206f0af50db9527feedfbe14 | a5d763be0b09d49496967db1d138143d1bf7fba8 | /app/src/main/java/com/example/rth/widgets/wheel/TosGallery.java | 15e40c74c9ceefa4e04c1cf159e68af7c86838b7 | [
"Apache-2.0"
] | permissive | rantianhua/MoneyRecord | 8f4f4f6bead904728139a0674bf3248386771188 | cc71b4d6a39448e5b3045767d97743684a3cf54f | refs/heads/master | 2021-01-23T19:45:00.134678 | 2015-09-17T15:01:14 | 2015-09-17T15:01:14 | 42,163,118 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 101,859 | java | package com.example.rth.widgets.wheel;
/**
* Created by rth on 15-9-11.
*/
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.util.Log;
import android.view.ContextMenu.ContextMenuInfo;
import android.view.GestureDetector;
import android.view.Gravity;
import android.view.HapticFeedbackConstants;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.SoundEffectConstants;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.view.animation.Transformation;
import android.widget.Scroller;
import com.example.rth.moneyrecord.R;
/**
* A view that shows items in a center-locked, horizontally scrolling list.
* <p>
* The default values for the Gallery assume you will be using
* the Gallery from the Adapter. If you are not doing this, you may need to adjust some Gallery
* properties, such as the spacing.
* <p>
* Views given to the Gallery should use {@link TosGallery.LayoutParams} as their layout parameters
* type.
*
* @attr ref android.R.styleable#Gallery_animationDuration
* @attr ref android.R.styleable#Gallery_spacing
* @attr ref android.R.styleable#Gallery_gravity
*/
public class TosGallery extends TosAbsSpinner implements GestureDetector.OnGestureListener,
GestureDetector.OnDoubleTapListener {
private static final String TAG = "Gallery";
private static final boolean localLOGV = false;
/**
* Duration in milliseconds from the start of a scroll during which we're unsure whether the
* user is scrolling or flinging.
*/
private static final int SCROLL_TO_FLING_UNCERTAINTY_TIMEOUT = 250;
/**
* Horizontal spacing between items.
*/
private int mSpacing = 0;
/**
* How long the transition animation should run when a child view changes position, measured in
* milliseconds.
*/
private int mAnimationDuration = 400;
/**
* The alpha of items that are not selected.
*/
private float mUnselectedAlpha;
/**
* Left most edge of a child seen so far during layout.
*/
private int mLeftMost;
/**
* Right most edge of a child seen so far during layout.
*/
private int mRightMost;
private int mGravity;
/**
* Helper for detecting touch gestures.
*/
private GestureDetector mGestureDetector;
/**
* The position of the item that received the user's down touch.
*/
private int mDownTouchPosition;
/**
* The view of the item that received the user's down touch.
*/
private View mDownTouchView;
/**
* Executes the delta scrolls from a fling or scroll movement.
*/
private FlingRunnable mFlingRunnable = new FlingRunnable();
/**
* Sets mSuppressSelectionChanged = false. This is used to set it to false in the future. It
* will also trigger a selection changed.
*/
private Runnable mDisableSuppressSelectionChangedRunnable = new Runnable() {
public void run() {
mSuppressSelectionChanged = false;
selectionChanged();
}
};
/**
* When fling runnable runs, it resets this to false. Any method along the path until the end of
* its run() can set this to true to abort any remaining fling. For example, if we've reached
* either the leftmost or rightmost item, we will set this to true.
*/
private boolean mShouldStopFling;
/**
* The currently selected item's child.
*/
private View mSelectedChild;
/**
* Whether to continuously callback on the item selected listener during a fling.
*/
private boolean mShouldCallbackDuringFling = true;
/**
* Whether to callback when an item that is not selected is clicked.
*/
private boolean mShouldCallbackOnUnselectedItemClick = true;
/**
* If true, do not callback to item selected listener.
*/
private boolean mSuppressSelectionChanged;
/**
* If true, we have received the "invoke" (center or enter buttons) key down. This is checked
* before we action on the "invoke" key up, and is subsequently cleared.
*/
private boolean mReceivedInvokeKeyDown;
private AdapterContextMenuInfo mContextMenuInfo;
/**
* If true, this onScroll is the first for this user's drag (remember, a drag sends many
* onScrolls).
*/
private boolean mIsFirstScroll;
public TosGallery(Context context) {
this(context, null);
}
public TosGallery(Context context, AttributeSet attrs) {
this(context, attrs, R.attr.galleryStyle);
}
public TosGallery(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
mGestureDetector = new GestureDetector(context, this);
mGestureDetector.setIsLongpressEnabled(true);
TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.Gallery, defStyle, 0);
int index = a.getInt(R.styleable.Gallery_gravity, -1);
if (index >= 0) {
setGravity(index);
}
int animationDuration = a.getInt(R.styleable.Gallery_animationDuration, -1);
if (animationDuration > 0) {
setAnimationDuration(animationDuration);
}
int spacing = a.getDimensionPixelOffset(R.styleable.Gallery_spacing, 0);
setSpacing(spacing);
float unselectedAlpha = a.getFloat(R.styleable.Gallery_unselectedAlpha, 0.5f);
setUnselectedAlpha(unselectedAlpha);
a.recycle();
// Deleted by LiHong at 2011/08/12 begin.
//
// Note: FLAG_USE_CHILD_DRAWING_ORDER and FLAG_SUPPORT_STATIC_TRANSFORMATIONS are
// defined in ViewGroup class, they are protected static final, in this class, we
// can not access the members, but we can use methods to replace these members.
/**
* // We draw the selected item last (because otherwise the item to the // right overlaps
* it) mGroupFlags |= FLAG_USE_CHILD_DRAWING_ORDER;
*
* mGroupFlags |= FLAG_SUPPORT_STATIC_TRANSFORMATIONS;
*/
//
// Deleted by LiHong at 2011/08/12 end.
// Added by LiHong at 2011/08/12 begin===================================.
//
// We draw the selected item last (because otherwise the item to the
// right overlaps it)
setChildrenDrawingOrderEnabled(true);
setStaticTransformationsEnabled(true);
// The scroll bar size.
mScrollBarSize = ViewConfiguration.get(context).getScaledScrollBarSize();
if (isOrientationVertical()) {
mGravity = Gravity.CENTER_HORIZONTAL;
} else {
mGravity = Gravity.CENTER_VERTICAL;
}
//
// Added by LiHong at 2011/08/12 end=====================================.
}
/**
* Whether or not to callback on any {@link #getOnItemSelectedListener()} while the items are
* being flinged. If false, only the final selected item will cause the callback. If true, all
* items between the first and the final will cause callbacks.
*
* @param shouldCallback Whether or not to callback on the listener while the items are being
* flinged.
*/
public void setCallbackDuringFling(boolean shouldCallback) {
mShouldCallbackDuringFling = shouldCallback;
}
/**
* Whether or not to callback when an item that is not selected is clicked. If false, the item
* will become selected (and re-centered). If true, the {@link #getOnItemClickListener()} will
* get the callback.
*
* @param shouldCallback Whether or not to callback on the listener when a item that is not
* selected is clicked.
* @hide
*/
public void setCallbackOnUnselectedItemClick(boolean shouldCallback) {
mShouldCallbackOnUnselectedItemClick = shouldCallback;
}
/**
* Sets how long the transition animation should run when a child view changes position. Only
* relevant if animation is turned on.
*
* @param animationDurationMillis The duration of the transition, in milliseconds.
*
* @attr ref android.R.styleable#Gallery_animationDuration
*/
public void setAnimationDuration(int animationDurationMillis) {
mAnimationDuration = animationDurationMillis;
}
/**
* Sets the spacing between items in a Gallery
*
* @param spacing The spacing in pixels between items in the Gallery
*
* @attr ref android.R.styleable#Gallery_spacing
*/
public void setSpacing(int spacing) {
mSpacing = spacing;
}
/**
* Sets the alpha of items that are not selected in the Gallery.
*
* @param unselectedAlpha the alpha for the items that are not selected.
*
* @attr ref android.R.styleable#Gallery_unselectedAlpha
*/
public void setUnselectedAlpha(float unselectedAlpha) {
mUnselectedAlpha = unselectedAlpha;
}
@Override
protected boolean getChildStaticTransformation(View child, Transformation t) {
t.clear();
t.setAlpha(child == mSelectedChild ? 1.0f : mUnselectedAlpha);
Log(" getChildStaticTransformation mSelectedPosition = " + mSelectedPosition + " mFirstPosition = "
+ mFirstPosition + " mSelectedChild = " + mSelectedChild);
return true;
}
// Added by LiHong at 2011/09/29 begin ===========================
//
protected void onDrawHorizontalScrollBar(Canvas canvas, Drawable scrollBar, int l, int t, int r, int b) {
// This method is hide for client, add the bottom margin of the scroll bar.
//
// Note: If the bottom margin is not zero, we should override the
// #invalidate(int, int, int, int) method so that the scroll bar can be fade when
// completing scrolling.
t -= mScrollBarBottomMargin;
b -= mScrollBarBottomMargin;
t = b - mScrollBarSize;
scrollBar.setBounds(l, t, r, b);
scrollBar.draw(canvas);
}
/**
* Mark the the area defined by the rect (l,t,r,b) as needing to be drawn. The coordinates of
* the dirty rect are relative to the view. If the view is visible, {@link #onDraw} will be
* called at some point in the future. This must be called from a UI thread. To call from a
* non-UI thread, call {@link #postInvalidate()}.
*
* @param l the left position of the dirty region
* @param t the top position of the dirty region
* @param r the right position of the dirty region
* @param b the bottom position of the dirty region
*/
public void invalidate(int l, int t, int r, int b) {
t -= (mScrollBarSize + mScrollBarBottomMargin);
super.invalidate(l, t, r, b);
}
// Added by LiHong at 2011/09/29 end =============================
@Override
protected int computeHorizontalScrollExtent() {
// Only 1 item is considered to be selected
// return 1;
// Added by LiHong at 2011/09/29 begin ==================
//
// Note: Support the horizontal scroll bar for this gallery.
final int count = getChildCount();
if (count > 0) {
int extent = count * 100;
View view = getChildAt(0);
final int left = view.getLeft();
int width = view.getWidth();
if (width > 0) {
boolean isFirst = (0 == mFirstPosition);
// If the first position is zero and the left is more than zero, we do not add the
// left extent.
if (!(isFirst && left > 0)) {
extent += (left * 100) / width;
}
}
view = getChildAt(count - 1);
final int right = view.getRight();
width = view.getWidth();
if (width > 0) {
boolean isLast = (mFirstPosition + count == mItemCount);
// If the last child is show, we do no add the right extent.
if (!(isLast && right < getWidth())) {
extent -= ((right - getWidth()) * 100) / width;
}
}
return extent;
}
return 0;
// Added by LiHong at 2011/09/29 end ====================
}
@Override
protected int computeHorizontalScrollOffset() {
// Current scroll position is the same as the selected position
// return mSelectedPosition;
// Added by LiHong at 2011/09/29 begin ==================
//
// Note: Support the horizontal scroll bar for this gallery.
if (mFirstPosition >= 0 && getChildCount() > 0) {
final View view = getChildAt(0);
final int left = view.getLeft();
int width = view.getWidth();
if (width > 0) {
final int whichCol = mFirstPosition / 1;
return Math.max(whichCol * 100 - (left * 100) / width, 0);
}
}
return mSelectedPosition;
// Added by LiHong at 2011/09/29 end ====================
}
@Override
protected int computeHorizontalScrollRange() {
// Scroll range is the same as the item count
// return mItemCount;
// Added by LiHong at 2011/09/29 begin ==================
//
// Note: Support the horizontal scroll bar for this gallery.
final int numRows = 1;
final int colCount = (mItemCount + numRows - 1) / numRows;
return Math.max(colCount * 100, 0);
// Added by LiHong at 2011/09/29 end ====================
}
protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
return p instanceof LayoutParams;
}
@Override
protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
return new LayoutParams(p);
}
@Override
public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) {
return new LayoutParams(getContext(), attrs);
}
@Override
protected ViewGroup.LayoutParams generateDefaultLayoutParams() {
/*
* Gallery expects Gallery.LayoutParams.
*/
return new TosGallery.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
}
@Override
protected void onLayout(boolean changed, int l, int t, int r, int b) {
super.onLayout(changed, l, t, r, b);
/*
* Remember that we are in layout to prevent more layout request from being generated.
*/
mInLayout = true;
layout(0, false);
mInLayout = false;
}
@Override
int getChildHeight(View child) {
return child.getMeasuredHeight();
}
/**
* Tracks a motion scroll. In reality, this is used to do just about any movement to items
* (touch scroll, arrow-key scroll, set an item as selected).
*
* @param deltaX Change in X from the previous event.
*/
void trackMotionScroll(int deltaX) {
if (getChildCount() == 0) {
return;
}
boolean toLeft = deltaX < 0;
// Deleted by LiHong at 2011/08/12 begin =========================
//
if (isSlotInCenter()) {
// If the gallery scroll cycle, or item count not fill the gallery fully.
if (!isScrollCycle() || getChildCount() >= mItemCount) {
int limitedDeltaX = getLimitedMotionScrollAmount(toLeft, deltaX);
if (limitedDeltaX != deltaX) {
// The above call returned a limited amount, so stop any scrolls/flings
mFlingRunnable.endFling(false);
onFinishedMovement();
}
}
offsetChildrenLeftAndRight(deltaX);
detachOffScreenChildren(toLeft);
if (toLeft) {
// If moved left, there will be empty space on the right
fillToGalleryRight();
} else {
// Similarly, empty space on the left
fillToGalleryLeft();
}
// Clear unused views
mRecycler.clear();
setSelectionToCenterChild();
invalidate();
return;
}
//
// Deleted by LiHong at 2011/08/12 end ===========================
// Add by ZhouYuanqi begin.
if (toLeft) {
View child = getChildAt(getChildCount() - 1);
if (null != child && child.getRight() < getStopFlingPosition()) {
deltaX = 0;
if (null != mFlingRunnable) {
mFlingRunnable.stop(false);
}
}
} else {
// First child is out of gallery left bound.
View child = getChildAt(0);
if (null != child && child.getLeft() > (getWidth() - getStopFlingPosition())) {
deltaX = 0;
if (null != mFlingRunnable) {
mFlingRunnable.stop(false);
}
}
}
// Add by ZhouYuanqi end.
offsetChildrenLeftAndRight(deltaX);
detachOffScreenChildren(toLeft);
if (toLeft) {
// If moved left, there will be empty space on the right
fillToGalleryRight();
} else {
// Similarly, empty space on the left
fillToGalleryLeft();
}
// Clear unused views
mRecycler.clear();
// Must call this method, if not, it may lead crash when user scroll left or right.
setSelectionToCenterChild();
// Added by LiHong at 2011/09/29 to awake the scroll bar.
awakenScrollBars();
invalidate();
}
void trackMotionScrollVertical(int deltaY) {
if (getChildCount() == 0) {
return;
}
boolean toTop = deltaY < 0;
// Deleted by LiHong at 2011/08/12 begin =========================
//
if (isSlotInCenter()) {
// If the gallery scroll cycle, or item count not fill the gallery fully.
if (!isScrollCycle() || getChildCount() >= mItemCount) {
int limitedDeltaX = getLimitedMotionScrollAmount(toTop, deltaY);
if (limitedDeltaX != deltaY) {
// The above call returned a limited amount, so stop any scrolls/flings
mFlingRunnable.endFling(false);
onFinishedMovement();
}
}
offsetChildrenTopAndBottom(deltaY);
detachOffScreenChildrenVertical(toTop);
if (toTop) {
// If moved left, there will be empty space on the right
fillToGalleryBottom();
} else {
// Similarly, empty space on the left
fillToGalleryTop();
}
// Clear unused views
mRecycler.clear();
setSelectionToCenterChildVertical();
invalidate();
return;
}
//
// Deleted by LiHong at 2011/08/12 end ===========================
// Add by ZhouYuanqi begin.
if (toTop) {
View child = getChildAt(getChildCount() - 1);
if (null != child && child.getRight() < getStopFlingPosition()) {
deltaY = 0;
if (null != mFlingRunnable) {
mFlingRunnable.stop(false);
}
}
} else {
// First child is out of gallery left bound.
View child = getChildAt(0);
if (null != child && child.getLeft() > (getWidth() - getStopFlingPosition())) {
deltaY = 0;
if (null != mFlingRunnable) {
mFlingRunnable.stop(false);
}
}
}
// Add by ZhouYuanqi end.
offsetChildrenTopAndBottom(deltaY);
detachOffScreenChildrenVertical(toTop);
if (toTop) {
// If moved left, there will be empty space on the right
fillToGalleryBottom();
} else {
// Similarly, empty space on the left
fillToGalleryTop();
}
// Clear unused views
mRecycler.clear();
// Must call this method, if not, it may lead crash when user scroll left or right.
setSelectionToCenterChild();
// Added by LiHong at 2011/09/29 to awake the scroll bar.
awakenScrollBars();
invalidate();
}
int getLimitedMotionScrollAmount(boolean motionToLeft, int deltaX) {
int extremeItemPosition = motionToLeft ? mItemCount - 1 : 0;
View extremeChild = getChildAt(extremeItemPosition - mFirstPosition);
if (extremeChild == null) {
return deltaX;
}
int extremeChildCenter = getCenterOfView(extremeChild);
int galleryCenter = getCenterOfGallery();
if (motionToLeft) {
if (extremeChildCenter <= galleryCenter) {
// The extreme child is past his boundary point!
return 0;
}
} else {
if (extremeChildCenter >= galleryCenter) {
// The extreme child is past his boundary point!
return 0;
}
}
int centerDifference = galleryCenter - extremeChildCenter;
return motionToLeft ? Math.max(centerDifference, deltaX) : Math.min(centerDifference, deltaX);
}
/**
* Offset the horizontal location of all children of this view by the specified number of
* pixels.
*
* @param offset the number of pixels to offset
*/
private void offsetChildrenLeftAndRight(int offset) {
for (int i = getChildCount() - 1; i >= 0; i--) {
getChildAt(i).offsetLeftAndRight(offset);
}
}
private void offsetChildrenTopAndBottom(int offset) {
for (int i = getChildCount() - 1; i >= 0; i--) {
getChildAt(i).offsetTopAndBottom(offset);
}
}
/**
* @return The center of this Gallery.
*/
protected int getCenterOfGallery() {
if (isOrientationVertical()) {
return (getHeight() - getPaddingTop() - getPaddingBottom()) / 2 + getPaddingTop();
}
// return (getWidth() - mPaddingLeft - mPaddingRight) / 2 + mPaddingLeft;
// Modified by LiHong at 2011/08/12 begin ========================
//
return (getWidth() - getPaddingLeft() - getPaddingRight()) / 2 + getPaddingLeft();
//
// Modified by LiHong at 2011/08/12 end ==========================
}
/**
* @return the stop fling position.
*/
private float getStopFlingPosition() {
if (isOrientationVertical()) {
return (getHeight() - getPaddingTop() - getPaddingBottom()) * onStopFlingPosRatio() + getPaddingTop();
}
return (getWidth() - getPaddingLeft() - getPaddingRight()) * onStopFlingPosRatio() + getPaddingLeft();
}
/**
* @return the position for stopping fling.
*/
protected float onStopFlingPosRatio() {
return 0.0f;
}
/**
* @return The center of the given view.
*/
private int getCenterOfView(View view) {
if (isOrientationVertical()) {
return view.getTop() + view.getHeight() / 2;
}
return view.getLeft() + view.getWidth() / 2;
}
/**
* Detaches children that are off the screen (i.e.: Gallery bounds).
*
* @param toLeft Whether to detach children to the left of the Gallery, or to the right.
*/
private void detachOffScreenChildren(boolean toLeft) {
int numChildren = getChildCount();
int firstPosition = mFirstPosition;
int start = 0;
int count = 0;
if (toLeft) {
final int galleryLeft = getPaddingLeft();// mPaddingLeft;
for (int i = 0; i < numChildren; i++) {
final View child = getChildAt(i);
if (child.getRight() >= galleryLeft) {
break;
} else {
count++;
mRecycler.put(firstPosition + i, child);
}
}
// Do not detach the last child when the child is out of the left bound.
if (count == numChildren) {
count -= 1;
}
} else {
final int galleryRight = getWidth() - getPaddingRight();// mPaddingRight;
for (int i = numChildren - 1; i >= 0; i--) {
final View child = getChildAt(i);
if (child.getLeft() <= galleryRight) {
break;
} else {
start = i;
count++;
mRecycler.put(firstPosition + i, child);
}
}
// Do not detach the first child when the child is out of the left bound.
if (0 == start) {
start += 1;
}
}
detachViewsFromParent(start, count);
if (toLeft) {
mFirstPosition += count;
// Added by LiHong at 2012/10/11 begin =======
if (isScrollCycle()) {
mFirstPosition = mFirstPosition % mItemCount;
}
// Added by LiHong at 2012/10/11 end =========
}
}
private void detachOffScreenChildrenVertical(boolean toTop) {
int numChildren = getChildCount();
int firstPosition = mFirstPosition;
int start = 0;
int count = 0;
if (toTop) {
final int galleryTop = getPaddingTop();// mPaddingLeft;
for (int i = 0; i < numChildren; i++) {
final View child = getChildAt(i);
if (child.getBottom() >= galleryTop) {
break;
} else {
count++;
mRecycler.put(firstPosition + i, child);
}
}
// Do not detach the last child when the child is out of the left bound.
if (count == numChildren) {
count -= 1;
}
} else {
final int galleryBottom = getHeight() - getPaddingBottom();// mPaddingRight;
for (int i = numChildren - 1; i >= 0; i--) {
final View child = getChildAt(i);
if (child.getTop() <= galleryBottom) {
break;
} else {
start = i;
count++;
mRecycler.put(firstPosition + i, child);
}
}
// Do not detach the first child when the child is out of the left bound.
if (0 == start) {
start += 1;
}
}
detachViewsFromParent(start, count);
if (toTop) {
mFirstPosition += count;
// Added by LiHong at 2012/10/11 begin =======
if (isScrollCycle()) {
mFirstPosition = mFirstPosition % mItemCount;
}
// Added by LiHong at 2012/10/11 end =========
}
}
/**
* Scrolls the items so that the selected item is in its 'slot' (its center is the gallery's
* center).
*/
public void scrollIntoSlots() {
if (isOrientationVertical()) {
scrollIntoSlotsVertical();
return;
}
// Deleted by LiHong at 2011/08/12 begin ====================================
//
if (isSlotInCenter()) {
if (getChildCount() == 0 || mSelectedChild == null)
return;
int selectedCenter = getCenterOfView(mSelectedChild);
int targetCenter = getCenterOfGallery();
int scrollAmount = targetCenter - selectedCenter;
if (scrollAmount != 0) {
mFlingRunnable.startUsingDistance(scrollAmount);
} else {
onFinishedMovement();
}
return;
}
//
// Deleted by LiHong at 2011/08/12 end ======================================
// Added by LiHong at 2011/08/12 begin ====================================
//
// Note: Make the gallery item views always dock right or left sides.
// If the gallery is playing animation, do nothing.
//
if (getChildCount() == 0) {
return;
}
int scrollAmount = 0;
if (0 == mFirstPosition) {
// In these cases the gallery child count is equal or more than the item count
// (adapter.getCount()),
// and the gallery first child's left is bigger than zero, we should move the
// first child anchors at the most left side of gallery.
View child = getChildAt(0);
// Make the first child anchors at the most left side of gallery when it is over
// the left side of gallery.
if (child.getLeft() >= 0) {
scrollAmount = getPaddingLeft() - child.getLeft();
} else {
/*
* Delete by ZhouYuanqi on 2012/2/8. // Make the right child anchors at the right
* side of gallery. child = getChildAt(getChildCount() - 1); // If the child's right
* side is fully seeing, i.e, the child right side is // in the right of gallery. if
* (child.getRight() < (getRight() - getPaddingRight())) { scrollAmount = getWidth()
* - getPaddingRight() - child.getRight(); }
*
* // Add this line to solve the issue that shrink children. scrollAmount =
* getPaddingLeft() - m_firstChildOffset;
*/
// Add by ZhouYuanqi on 2012/2/8 for solve the issue
// when scroll from right to left.
View lastChild = getChildAt(getChildCount() - 1);
if ((lastChild.getRight() - child.getLeft()) < (getRight() - getPaddingRight())) {
scrollAmount = getPaddingLeft() - mFirstChildOffset;
} else if (lastChild.getRight() < (getRight() - getPaddingRight())) {
scrollAmount = getWidth() - getPaddingRight() - lastChild.getRight();
}
}
}
// If the most right view is the last item.
else if (mFirstPosition + getChildCount() == mItemCount) {
View child = getChildAt(getChildCount() - 1);
// If the child's right side is fully seeing, i.e, the child right side is
// in the right of gallery.
if (child.getRight() < (getRight() - getPaddingRight())) {
scrollAmount = getWidth() - getPaddingRight() - child.getRight();
}
}
if (0 != scrollAmount) {
// Call startUsingDistance method to implement elastic effect.
mFlingRunnable.startUsingDistance(scrollAmount);
} else {
onFinishedMovement();
}
//
// Added by LiHong at 2011/08/12 end ======================================
}
private void scrollIntoSlotsVertical() {
// Deleted by LiHong at 2011/08/12 begin ====================================
//
if (isSlotInCenter()) {
if (getChildCount() == 0 || mSelectedChild == null)
return;
int selectedCenter = getCenterOfView(mSelectedChild);
int targetCenter = getCenterOfGallery();
int scrollAmount = targetCenter - selectedCenter;
if (scrollAmount != 0) {
mFlingRunnable.startUsingDistance(scrollAmount);
} else {
onFinishedMovement();
}
return;
}
//
// Deleted by LiHong at 2011/08/12 end ======================================
// Added by LiHong at 2011/08/12 begin ====================================
//
// Note: Make the gallery item views always dock right or left sides.
// If the gallery is playing animation, do nothing.
//
if (getChildCount() == 0) {
return;
}
int scrollAmount = 0;
if (0 == mFirstPosition) {
// In these cases the gallery child count is equal or more than the item count
// (adapter.getCount()),
// and the gallery first child's left is bigger than zero, we should move the
// first child anchors at the most left side of gallery.
View child = getChildAt(0);
// Make the first child anchors at the most left side of gallery when it is over
// the left side of gallery.
if (child.getTop() >= 0) {
scrollAmount = getPaddingTop() - child.getTop();
} else {
/*
* Delete by ZhouYuanqi on 2012/2/8. // Make the right child anchors at the right
* side of gallery. child = getChildAt(getChildCount() - 1); // If the child's right
* side is fully seeing, i.e, the child right side is // in the right of gallery. if
* (child.getRight() < (getRight() - getPaddingRight())) { scrollAmount = getWidth()
* - getPaddingRight() - child.getRight(); }
*
* // Add this line to solve the issue that shrink children. scrollAmount =
* getPaddingLeft() - m_firstChildOffset;
*/
// Add by ZhouYuanqi on 2012/2/8 for solve the issue
// when scroll from right to left.
View lastChild = getChildAt(getChildCount() - 1);
if ((lastChild.getBottom() - child.getTop()) < (getBottom() - getPaddingBottom())) {
scrollAmount = getPaddingLeft() - mFirstChildOffset;
} else if (lastChild.getBottom() < (getBottom() - getPaddingBottom())) {
scrollAmount = getHeight() - getPaddingBottom() - lastChild.getBottom();
}
}
}
// If the most right view is the last item.
else if (mFirstPosition + getChildCount() == mItemCount) {
View child = getChildAt(getChildCount() - 1);
// If the child's right side is fully seeing, i.e, the child right side is
// in the right of gallery.
if (child.getBottom() < (getBottom() - getPaddingBottom())) {
scrollAmount = getHeight() - getPaddingBottom() - child.getBottom();
}
}
if (0 != scrollAmount) {
// Call startUsingDistance method to implement elastic effect.
mFlingRunnable.startUsingDistance(scrollAmount);
} else {
onFinishedMovement();
}
//
// Added by LiHong at 2011/08/12 end ======================================
}
private void onFinishedMovement() {
if (mSuppressSelectionChanged) {
mSuppressSelectionChanged = false;
// We haven't been callbacking during the fling, so do it now
super.selectionChanged();
}
invalidate();
}
@Override
protected void selectionChanged() {
if (!mSuppressSelectionChanged) {
super.selectionChanged();
}
}
/**
* Looks for the child that is closest to the center and sets it as the selected child.
*/
private void setSelectionToCenterChild() {
View selView = mSelectedChild;
if (mSelectedChild == null)
return;
int galleryCenter = getCenterOfGallery();
// Common case where the current selected position is correct
if (selView.getLeft() <= galleryCenter && selView.getRight() >= galleryCenter) {
return;
}
// TODO better search
int closestEdgeDistance = Integer.MAX_VALUE;
int newSelectedChildIndex = 0;
for (int i = getChildCount() - 1; i >= 0; i--) {
View child = getChildAt(i);
if (child.getLeft() <= galleryCenter && child.getRight() >= galleryCenter) {
// This child is in the center
newSelectedChildIndex = i;
break;
}
int childClosestEdgeDistance = Math.min(Math.abs(child.getLeft() - galleryCenter),
Math.abs(child.getRight() - galleryCenter));
if (childClosestEdgeDistance < closestEdgeDistance) {
closestEdgeDistance = childClosestEdgeDistance;
newSelectedChildIndex = i;
}
}
int newPos = mFirstPosition + newSelectedChildIndex;
// Added by LiHong at 2012/11/18 begin ======
if (isScrollCycle()) {
newPos = newPos % mItemCount;
}
// Added by LiHong at 2012/11/18 end ========
if (newPos != mSelectedPosition) {
setSelectedPositionInt(newPos);
setNextSelectedPositionInt(newPos);
checkSelectionChanged();
}
}
/**
* Looks for the child that is closest to the center and sets it as the selected child.
*/
private void setSelectionToCenterChildVertical() {
View selView = mSelectedChild;
if (mSelectedChild == null)
return;
int galleryCenter = getCenterOfGallery();
if (null != selView) {
// Common case where the current selected position is correct
if (selView.getTop() <= galleryCenter && selView.getBottom() >= galleryCenter) {
return;
}
}
// TODO better search
int closestEdgeDistance = Integer.MAX_VALUE;
int newSelectedChildIndex = 0;
for (int i = getChildCount() - 1; i >= 0; i--) {
View child = getChildAt(i);
if (child.getTop() <= galleryCenter && child.getBottom() >= galleryCenter) {
// This child is in the center
newSelectedChildIndex = i;
break;
}
int childClosestEdgeDistance = Math.min(Math.abs(child.getTop() - galleryCenter),
Math.abs(child.getBottom() - galleryCenter));
if (childClosestEdgeDistance < closestEdgeDistance) {
closestEdgeDistance = childClosestEdgeDistance;
newSelectedChildIndex = i;
}
}
int newPos = mFirstPosition + newSelectedChildIndex;
// Added by LiHong at 2012/11/18 begin ======
if (isScrollCycle()) {
newPos = newPos % mItemCount;
}
// Added by LiHong at 2012/11/18 end ========
if (newPos != mSelectedPosition) {
setSelectedPositionInt(newPos);
setNextSelectedPositionInt(newPos);
checkSelectionChanged();
}
}
/**
* Creates and positions all views for this Gallery.
* <p>
* We layout rarely, most of the time {@link #trackMotionScroll(int)} takes care of
* repositioning, adding, and removing children.
*
* @param delta Change in the selected position. +1 means the selection is moving to the right,
* so views are scrolling to the left. -1 means the selection is moving to the left.
*/
@Override
void layout(int delta, boolean animate) {
if (isOrientationVertical()) {
layoutVertical(delta, animate);
return;
}
// Make the first child's position does not change.
// View firstChild = getChildAt(0);
// int firstChildLeft =(null != firstChild) ? firstChild.getLeft() : 0;
int childrenLeft = mSpinnerPadding.left + mFirstChildOffset;
// Modified by LiHong at 2011/08/12 begin===========================.
//
// int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right;
// int childrenWidth = getRight() - getLeft() - mSpinnerPadding.left -
// mSpinnerPadding.right;
//
// Modified by LiHong at 2011/08/12 end=============================.
if (mDataChanged) {
handleDataChanged();
}
// Handle an empty gallery by removing all views.
if (mItemCount == 0) {
resetList();
return;
}
// Update to the new selected position.
if (mNextSelectedPosition >= 0) {
setSelectedPositionInt(mNextSelectedPosition);
}
// All views go in recycler while we are in layout
recycleAllViews();
// Clear out old views
// removeAllViewsInLayout();
detachAllViewsFromParent();
/*
* These will be used to give initial positions to views entering the gallery as we scroll
*/
mRightMost = 0;
mLeftMost = 0;
// Make selected view and center it
/*
* mFirstPosition will be decreased as we add views to the left later on. The 0 for x will
* be offset in a couple lines down.
*/
// mFirstPosition = mSelectedPosition;
// View sel = makeAndAddView(mSelectedPosition, 0, 0, true);
mFirstPosition = mSelectedPosition;
View sel = makeAndAddView(mFirstPosition, 0, 0, true);
// Put the selected child in the center
// Modify by LiHong at 2011/08/12 begin ============================
//
// Note: Make the selected item offset is near left of the gallery, default
// the first item is selected, so the first item's offset is near left of gallery.
//
// int selectedOffset = childrenLeft + (childrenWidth / 2) - (sel.getWidth() / 2);
int selectedOffset = childrenLeft + mSpacing;
if (isSlotInCenter()) {
int childrenWidth = getRight() - getLeft() - mSpinnerPadding.left - mSpinnerPadding.right;
selectedOffset = childrenLeft + (childrenWidth / 2) - (sel.getWidth() / 2);
}
//
// Modify by LiHong at 2011/08/12 end ============================
sel.offsetLeftAndRight(selectedOffset);
fillToGalleryRight();
fillToGalleryLeft();
// Flush any cached views that did not get reused above
mRecycler.clear();
invalidate();
// checkSelectionChanged();
mDataChanged = false;
mNeedSync = false;
setNextSelectedPositionInt(mSelectedPosition);
updateSelectedItemMetadata();
// Added by LiHong at 2012/11/17 begin ==========
//
// NOTE: If the child count is less than the item count, we should disable cycle scroll,
// but, we should NOT change the mIsScrollCycle which is set by callers, because
// after user enlarge the item count such as add data dynamically, if the item count
// is bigger than child count, the gallery should be scrolling cycle.
mIsScrollCycleTemp = !(getChildCount() >= mItemCount);
// Added by LiHong at 2012/11/17 end ============
}
void layoutVertical(int delta, boolean animate) {
// Make the first child's position does not change.
// View firstChild = getChildAt(0);
// int firstChildLeft =(null != firstChild) ? firstChild.getLeft() : 0;
int childrenTop = mSpinnerPadding.top + mFirstChildOffset;
// Modified by LiHong at 2011/08/12 begin===========================.
//
// int childrenWidth = mRight - mLeft - mSpinnerPadding.left - mSpinnerPadding.right;
// int childrenWidth = getRight() - getLeft() - mSpinnerPadding.left -
// mSpinnerPadding.right;
//
// Modified by LiHong at 2011/08/12 end=============================.
if (mDataChanged) {
handleDataChanged();
}
// Handle an empty gallery by removing all views.
if (mItemCount == 0) {
resetList();
return;
}
// Update to the new selected position.
if (mNextSelectedPosition >= 0) {
setSelectedPositionInt(mNextSelectedPosition);
}
// All views go in recycler while we are in layout
recycleAllViews();
// Clear out old views
// removeAllViewsInLayout();
detachAllViewsFromParent();
/*
* These will be used to give initial positions to views entering the gallery as we scroll
*/
mRightMost = 0;
mLeftMost = 0;
// Make selected view and center it
/*
* mFirstPosition will be decreased as we add views to the left later on. The 0 for x will
* be offset in a couple lines down.
*/
// mFirstPosition = mSelectedPosition;
// View sel = makeAndAddView(mSelectedPosition, 0, 0, true);
mFirstPosition = mSelectedPosition;
View sel = makeAndAddViewVertical(mFirstPosition, 0, 0, true);
// Put the selected child in the center
// Modify by LiHong at 2011/08/12 begin ============================
//
// Note: Make the selected item offset is near left of the gallery, default
// the first item is selected, so the first item's offset is near left of gallery.
//
// int selectedOffset = childrenLeft + (childrenWidth / 2) - (sel.getWidth() / 2);
int selectedOffset = childrenTop + mSpacing;
if (isSlotInCenter()) {
int childrenHeight = getBottom() - getTop() - mSpinnerPadding.top - mSpinnerPadding.bottom;
selectedOffset = childrenTop + (childrenHeight / 2) - (sel.getHeight() / 2);
}
//
// Modify by LiHong at 2011/08/12 end ============================
sel.offsetTopAndBottom(selectedOffset);
fillToGalleryBottom();
fillToGalleryTop();
// Flush any cached views that did not get reused above
mRecycler.clear();
invalidate();
// checkSelectionChanged();
mDataChanged = false;
mNeedSync = false;
setNextSelectedPositionInt(mSelectedPosition);
updateSelectedItemMetadata();
// Added by LiHong at 2012/11/17 begin ==========
//
// NOTE: If the child count is less than the item count, we should disable cycle scroll,
// but, we should NOT change the mIsScrollCycle which is set by callers, because
// after user enlarge the item count such as add data dynamically, if the item count
// is bigger than child count, the gallery should be scrolling cycle.
mIsScrollCycleTemp = !(getChildCount() >= mItemCount);
// Added by LiHong at 2012/11/17 end ============
}
private void fillToGalleryLeft() {
// Added by LiHong at 2012/10/11 begin =======
if (isScrollCycle()) {
fillToGalleryLeftCycle();
return;
}
// Added by LiHong at 2012/10/11 end =========
int itemSpacing = mSpacing;
int galleryLeft = getPaddingLeft();// mPaddingLeft;
// Set state for initial iteration
View prevIterationView = getChildAt(0);
int curPosition;
int curRightEdge;
if (prevIterationView != null) {
curPosition = mFirstPosition - 1;
curRightEdge = prevIterationView.getLeft() - itemSpacing;
} else {
// No children available!
curPosition = 0;
// curRightEdge = mRight - mLeft - mPaddingRight;
curRightEdge = getRight() - getLeft() - getPaddingRight();
mShouldStopFling = true;
}
while (curRightEdge > galleryLeft && curPosition >= 0) {
prevIterationView = makeAndAddView(curPosition, curPosition - mSelectedPosition, curRightEdge, false);
// Remember some state
mFirstPosition = curPosition;
// Set state for next iteration
curRightEdge = prevIterationView.getLeft() - itemSpacing;
curPosition--;
}
}
private void fillToGalleryTop() {
// Added by LiHong at 2012/10/11 begin =======
if (isScrollCycle()) {
fillToGalleryTopCycle();
return;
}
// Added by LiHong at 2012/10/11 end =========
int itemSpacing = mSpacing;
int galleryTop = getPaddingTop();// mPaddingLeft;
// Set state for initial iteration
View prevIterationView = getChildAt(0);
int curPosition;
int curRightEdge;
if (prevIterationView != null) {
curPosition = mFirstPosition - 1;
curRightEdge = prevIterationView.getTop() - itemSpacing;
} else {
// No children available!
curPosition = 0;
// curRightEdge = mRight - mLeft - mPaddingRight;
curRightEdge = getBottom() - getTop() - getPaddingBottom();
mShouldStopFling = true;
}
while (curRightEdge > galleryTop && curPosition >= 0) {
prevIterationView = makeAndAddViewVertical(curPosition, curPosition - mSelectedPosition, curRightEdge,
false);
// Remember some state
mFirstPosition = curPosition;
// Set state for next iteration
curRightEdge = prevIterationView.getTop() - itemSpacing;
curPosition--;
}
}
private void fillToGalleryRight() {
// Added by LiHong at 2012/10/11 begin =======
if (isScrollCycle()) {
fillToGalleryRightCycle();
return;
}
// Added by LiHong at 2012/10/11 end =========
int itemSpacing = mSpacing;
// int galleryRight = mRight - mLeft - mPaddingRight;
int galleryRight = getRight() - getLeft() - getPaddingRight();
int numChildren = getChildCount();
int numItems = mItemCount;
// Set state for initial iteration
View prevIterationView = getChildAt(numChildren - 1);
int curPosition;
int curLeftEdge;
if (prevIterationView != null) {
curPosition = mFirstPosition + numChildren;
curLeftEdge = prevIterationView.getRight() + itemSpacing;
} else {
mFirstPosition = curPosition = mItemCount - 1;
curLeftEdge = getPaddingLeft();// mPaddingLeft;
mShouldStopFling = true;
}
while (curLeftEdge < galleryRight && curPosition < numItems) {
prevIterationView = makeAndAddView(curPosition, curPosition - mSelectedPosition, curLeftEdge, true);
// Set state for next iteration
curLeftEdge = prevIterationView.getRight() + itemSpacing;
curPosition++;
}
}
private void fillToGalleryBottom() {
// Added by LiHong at 2012/10/11 begin =======
if (isScrollCycle()) {
fillToGalleryBottomCycle();
return;
}
// Added by LiHong at 2012/10/11 end =========
int itemSpacing = mSpacing;
// int galleryRight = mRight - mLeft - mPaddingRight;
int galleryRight = getBottom() - getTop() - getPaddingRight();
int numChildren = getChildCount();
int numItems = mItemCount;
// Set state for initial iteration
View prevIterationView = getChildAt(numChildren - 1);
int curPosition;
int curLeftEdge;
if (prevIterationView != null) {
curPosition = mFirstPosition + numChildren;
curLeftEdge = prevIterationView.getBottom() + itemSpacing;
} else {
mFirstPosition = curPosition = mItemCount - 1;
curLeftEdge = getPaddingTop();// mPaddingLeft;
mShouldStopFling = true;
}
while (curLeftEdge < galleryRight && curPosition < numItems) {
prevIterationView = makeAndAddViewVertical(curPosition, curPosition - mSelectedPosition, curLeftEdge, true);
// Set state for next iteration
curLeftEdge = prevIterationView.getBottom() + itemSpacing;
curPosition++;
}
}
/**
* Obtain a view, either by pulling an existing view from the recycler or by getting a new one
* from the adapter. If we are animating, make sure there is enough information in the view's
* layout parameters to animate from the old to new positions.
*
* @param position Position in the gallery for the view to obtain
* @param offset Offset from the selected position
* @param x X-coordintate indicating where this view should be placed. This will either be the
* left or right edge of the view, depending on the fromLeft paramter
* @param fromLeft Are we posiitoning views based on the left edge? (i.e., building from left to
* right)?
* @return A view that has been added to the gallery
*/
private View makeAndAddView(int position, int offset, int x, boolean fromLeft) {
View child;
if (!mDataChanged) {
child = mRecycler.get(position);
if (child != null) {
// Can reuse an existing view
int childLeft = child.getLeft();
// Remember left and right edges of where views have been placed
mRightMost = Math.max(mRightMost, childLeft + child.getMeasuredWidth());
mLeftMost = Math.min(mLeftMost, childLeft);
// Position the view
setUpChild(child, offset, x, fromLeft);
return child;
}
}
// Nothing found in the recycler -- ask the adapter for a view
child = mAdapter.getView(position, null, this);
// Position the view
setUpChild(child, offset, x, fromLeft);
return child;
}
private View makeAndAddViewVertical(int position, int offset, int y, boolean fromTop) {
View child;
if (!mDataChanged) {
child = mRecycler.get(position);
if (child != null) {
// Can reuse an existing view
int childTop = child.getTop();
// Remember left and right edges of where views have been placed
mRightMost = Math.max(mRightMost, childTop + child.getMeasuredHeight());
mLeftMost = Math.min(mLeftMost, childTop);
// Position the view
setUpChildVertical(child, offset, y, fromTop);
return child;
}
}
// Nothing found in the recycler -- ask the adapter for a view
child = mAdapter.getView(position, null, this);
// Position the view
setUpChildVertical(child, offset, y, fromTop);
return child;
}
/**
* Helper for makeAndAddView to set the position of a view and fill out its layout paramters.
*
* @param child The view to position
* @param offset Offset from the selected position
* @param x X-coordintate indicating where this view should be placed. This will either be the
* left or right edge of the view, depending on the fromLeft paramter
* @param fromLeft Are we posiitoning views based on the left edge? (i.e., building from left to
* right)?
*/
private void setUpChild(View child, int offset, int x, boolean fromLeft) {
// Respect layout params that are already in the view. Otherwise
// make some up...
TosGallery.LayoutParams lp = (TosGallery.LayoutParams) child.getLayoutParams();
if (lp == null) {
lp = (TosGallery.LayoutParams) generateDefaultLayoutParams();
}
addViewInLayout(child, fromLeft ? -1 : 0, lp);
child.setSelected(offset == 0);
// Get measure specs
int childHeightSpec = ViewGroup.getChildMeasureSpec(mHeightMeasureSpec, mSpinnerPadding.top
+ mSpinnerPadding.bottom, lp.height);
int childWidthSpec = ViewGroup.getChildMeasureSpec(mWidthMeasureSpec, mSpinnerPadding.left
+ mSpinnerPadding.right, lp.width);
// Measure child
child.measure(childWidthSpec, childHeightSpec);
int childLeft;
int childRight;
// Position vertically based on gravity setting
int childTop = calculateTop(child, true);
int childBottom = childTop + child.getMeasuredHeight();
int width = child.getMeasuredWidth();
if (fromLeft) {
childLeft = x;
childRight = childLeft + width;
} else {
childLeft = x - width;
childRight = x;
}
child.layout(childLeft, childTop, childRight, childBottom);
}
/**
* Helper for makeAndAddView to set the position of a view and fill out its layout paramters.
*
* @param child The view to position
* @param offset Offset from the selected position
* @param y X-coordintate indicating where this view should be placed. This will either be the
* left or right edge of the view, depending on the fromLeft paramter
* @param fromTop Are we posiitoning views based on the left edge? (i.e., building from left to
* right)?
*/
private void setUpChildVertical(View child, int offset, int y, boolean fromTop) {
// Respect layout params that are already in the view. Otherwise
// make some up...
TosGallery.LayoutParams lp = (TosGallery.LayoutParams) child.getLayoutParams();
if (lp == null) {
lp = (TosGallery.LayoutParams) generateDefaultLayoutParams();
}
addViewInLayout(child, fromTop ? -1 : 0, lp);
child.setSelected(offset == 0);
// Get measure specs
int childHeightSpec = ViewGroup.getChildMeasureSpec(mHeightMeasureSpec, mSpinnerPadding.top
+ mSpinnerPadding.bottom, lp.height);
int childWidthSpec = ViewGroup.getChildMeasureSpec(mWidthMeasureSpec, mSpinnerPadding.left
+ mSpinnerPadding.right, lp.width);
// Measure child
child.measure(childWidthSpec, childHeightSpec);
int childTop;
int childBottom;
// Position vertically based on gravity setting
int childLeft = calculateLeft(child, true);
int childRight = childLeft + child.getMeasuredWidth();
int height = child.getMeasuredHeight();
if (fromTop) {
childTop = y;
childBottom = childTop + height;
} else {
childTop = y - height;
childBottom = y;
}
child.layout(childLeft, childTop, childRight, childBottom);
}
/**
* Figure out vertical placement based on mGravity
*
* @param child Child to place
* @return Where the top of the child should be
*/
private int calculateTop(View child, boolean duringLayout) {
// int myHeight = duringLayout ? mMeasuredHeight : getHeight();
int myHeight = duringLayout ? getMeasuredHeight() : getHeight();
int childHeight = duringLayout ? child.getMeasuredHeight() : child.getHeight();
int childTop = 0;
switch (mGravity) {
case Gravity.TOP:
childTop = mSpinnerPadding.top;
break;
case Gravity.CENTER_VERTICAL:
int availableSpace = myHeight - mSpinnerPadding.bottom - mSpinnerPadding.top - childHeight;
childTop = mSpinnerPadding.top + (availableSpace / 2);
break;
case Gravity.BOTTOM:
childTop = myHeight - mSpinnerPadding.bottom - childHeight;
break;
}
return childTop;
}
private int calculateLeft(View child, boolean duringLayout) {
// int myHeight = duringLayout ? mMeasuredHeight : getHeight();
int myWidth = duringLayout ? getMeasuredWidth() : getWidth();
int childWidth = duringLayout ? child.getMeasuredWidth() : child.getWidth();
int childLeft = 0;
switch (mGravity) {
case Gravity.LEFT:
childLeft = mSpinnerPadding.left;
break;
case Gravity.CENTER_HORIZONTAL:
int availableSpace = myWidth - mSpinnerPadding.right - mSpinnerPadding.left - childWidth;
childLeft = mSpinnerPadding.left + (availableSpace / 2);
break;
case Gravity.RIGHT:
childLeft = myWidth - mSpinnerPadding.right - childWidth;
break;
}
return childLeft;
}
@Override
public boolean onTouchEvent(MotionEvent event) {
// Give everything to the gesture detector
boolean retValue = mGestureDetector.onTouchEvent(event);
int action = event.getAction();
if (action == MotionEvent.ACTION_UP) {
// Helper method for lifted finger
onUp();
} else if (action == MotionEvent.ACTION_CANCEL) {
onCancel();
}
return retValue;
}
/**
* {@inheritDoc}
*/
public boolean onSingleTapUp(MotionEvent e) {
if (mDownTouchPosition >= 0) {
// If the gallery is scroll cycle, we must calculate the touch position.
if (isScrollCycle()) {
mDownTouchPosition = mDownTouchPosition % getCount();
}
if (isSlotInCenter()) {
// An item tap should make it selected, so scroll to this child.
scrollToChild(mDownTouchPosition - mFirstPosition);
}
performItemSelect(mDownTouchPosition);
// Also pass the click so the client knows, if it wants to.
if (mShouldCallbackOnUnselectedItemClick || mDownTouchPosition == mSelectedPosition) {
performItemClick(mDownTouchView, mDownTouchPosition, mAdapter.getItemId(mDownTouchPosition));
}
return true;
}
return false;
}
/**
* {@inheritDoc}
*/
public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
// Added by LiHong at 2011/09/07 begin ===================
//
// User can disable scroll action when the child count is less than the adapter item count.
//
boolean disableScroll = shouldDisableScroll();
if (disableScroll) {
return true;
}
//
// Added by LiHong at 2011/09/07 end =====================
if (!mShouldCallbackDuringFling) {
// We want to suppress selection changes
// Remove any future code to set mSuppressSelectionChanged = false
removeCallbacks(mDisableSuppressSelectionChangedRunnable);
// This will get reset once we scroll into slots
if (!mSuppressSelectionChanged)
mSuppressSelectionChanged = true;
}
if (isOrientationVertical()) {
// Accelerate or decelerate the velocity of gallery on X directioin.
velocityY *= getVelocityRatio();
// Fling the gallery!
mFlingRunnable.startUsingVelocity((int) -velocityY);
} else {
// Accelerate or decelerate the velocity of gallery on X directioin.
velocityX *= getVelocityRatio();
// Fling the gallery!
mFlingRunnable.startUsingVelocity((int) -velocityX);
}
return true;
}
/**
* {@inheritDoc}
*/
public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
// Added by LiHong at 2011/09/07 begin ===================
//
// User can disable scroll action when the child count is less than the adapter item count.
//
boolean disableScroll = shouldDisableScroll();
if (disableScroll) {
return true;
}
mScrolling = true;
//
// Added by LiHong at 2011/09/07 end =====================
if (localLOGV)
Log.v(TAG, String.valueOf(e2.getX() - e1.getX()));
/*
* Now's a good time to tell our parent to stop intercepting our events! The user has moved
* more than the slop amount, since GestureDetector ensures this before calling this method.
* Also, if a parent is more interested in this touch's events than we are, it would have
* intercepted them by now (for example, we can assume when a Gallery is in the ListView, a
* vertical scroll would not end up in this method since a ListView would have intercepted
* it by now).
*/
// mParent.requestDisallowInterceptTouchEvent(true);
getParent().requestDisallowInterceptTouchEvent(true);
// As the user scrolls, we want to callback selection changes so related-
// info on the screen is up-to-date with the gallery's selection
if (!mShouldCallbackDuringFling) {
if (mIsFirstScroll) {
/*
* We're not notifying the client of selection changes during the fling, and this
* scroll could possibly be a fling. Don't do selection changes until we're sure it
* is not a fling.
*/
if (!mSuppressSelectionChanged)
mSuppressSelectionChanged = true;
postDelayed(mDisableSuppressSelectionChangedRunnable, SCROLL_TO_FLING_UNCERTAINTY_TIMEOUT);
}
} else {
if (mSuppressSelectionChanged)
mSuppressSelectionChanged = false;
}
// Track the motion
if (isOrientationVertical()) {
trackMotionScrollVertical(-1 * (int) distanceY);
} else {
trackMotionScroll(-1 * (int) distanceX);
}
mIsFirstScroll = false;
return true;
}
/**
* {@inheritDoc}
*/
public boolean onDown(MotionEvent e) {
// Kill any existing fling/scroll
mFlingRunnable.stop(false);
// Get the item's view that was touched
mDownTouchPosition = pointToPosition((int) e.getX(), (int) e.getY());
if (mDownTouchPosition >= 0) {
mDownTouchView = getChildAt(mDownTouchPosition - mFirstPosition);
mDownTouchView.setPressed(true);
}
// Reset the multiple-scroll tracking state
mIsFirstScroll = true;
// Must return true to get matching events for this down event.
return true;
}
/**
* Called when a touch event's action is MotionEvent.ACTION_UP.
*/
protected void onUp() {
if (mFlingRunnable.mScroller.isFinished()) {
scrollIntoSlots();
}
dispatchUnpress();
}
/**
* Called when a touch event's action is MotionEvent.ACTION_CANCEL.
*/
void onCancel() {
onUp();
}
/**
* {@inheritDoc}
*/
public void onLongPress(MotionEvent e) {
if (mDownTouchPosition < 0) {
return;
}
performHapticFeedback(HapticFeedbackConstants.LONG_PRESS);
long id = getItemIdAtPosition(mDownTouchPosition);
dispatchLongPress(mDownTouchView, mDownTouchPosition, id);
}
// Unused methods from GestureDetector.OnGestureListener below
/**
* {@inheritDoc}
*/
public void onShowPress(MotionEvent e) {
}
// Unused methods from GestureDetector.OnGestureListener above
private void dispatchPress(View child) {
if (child != null) {
child.setPressed(true);
}
setPressed(true);
}
protected void dispatchUnpress() {
for (int i = getChildCount() - 1; i >= 0; i--) {
getChildAt(i).setPressed(false);
}
setPressed(false);
}
@Override
public void dispatchSetSelected(boolean selected) {
/*
* We don't want to pass the selected state given from its parent to its children since this
* widget itself has a selected state to give to its children.
*/
}
@Override
protected void dispatchSetPressed(boolean pressed) {
// Show the pressed state on the selected child
if (mSelectedChild != null) {
mSelectedChild.setPressed(pressed);
}
}
@Override
protected ContextMenuInfo getContextMenuInfo() {
return mContextMenuInfo;
}
@Override
public boolean showContextMenuForChild(View originalView) {
final int longPressPosition = getPositionForView(originalView);
if (longPressPosition < 0) {
return false;
}
final long longPressId = mAdapter.getItemId(longPressPosition);
return dispatchLongPress(originalView, longPressPosition, longPressId);
}
@Override
public boolean showContextMenu() {
if (isPressed() && mSelectedPosition >= 0) {
int index = mSelectedPosition - mFirstPosition;
View v = getChildAt(index);
return dispatchLongPress(v, mSelectedPosition, mSelectedRowId);
}
return false;
}
private boolean dispatchLongPress(View view, int position, long id) {
boolean handled = false;
if (mOnItemLongClickListener != null) {
handled = mOnItemLongClickListener.onItemLongClick(this, mDownTouchView, mDownTouchPosition, id);
}
if (!handled) {
mContextMenuInfo = new AdapterContextMenuInfo(view, position, id);
handled = super.showContextMenuForChild(this);
}
if (handled) {
performHapticFeedback(HapticFeedbackConstants.LONG_PRESS);
}
return handled;
}
@Override
public boolean dispatchKeyEvent(KeyEvent event) {
// Gallery steals all key events
return event.dispatch(this);
}
/**
* Handles left, right, and clicking
*
* @see android.view.View#onKeyDown
*/
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
switch (keyCode) {
case KeyEvent.KEYCODE_DPAD_LEFT:
if (movePrevious()) {
playSoundEffect(SoundEffectConstants.NAVIGATION_LEFT);
}
return true;
case KeyEvent.KEYCODE_DPAD_RIGHT:
if (moveNext()) {
playSoundEffect(SoundEffectConstants.NAVIGATION_RIGHT);
}
return true;
case KeyEvent.KEYCODE_DPAD_CENTER:
case KeyEvent.KEYCODE_ENTER:
mReceivedInvokeKeyDown = true;
// fallthrough to default handling
}
return super.onKeyDown(keyCode, event);
}
@Override
public boolean onKeyUp(int keyCode, KeyEvent event) {
switch (keyCode) {
case KeyEvent.KEYCODE_DPAD_CENTER:
case KeyEvent.KEYCODE_ENTER: {
if (mReceivedInvokeKeyDown) {
if (mItemCount > 0) {
dispatchPress(mSelectedChild);
postDelayed(new Runnable() {
public void run() {
dispatchUnpress();
}
}, ViewConfiguration.getPressedStateDuration());
int selectedIndex = mSelectedPosition - mFirstPosition;
performItemClick(getChildAt(selectedIndex), mSelectedPosition,
mAdapter.getItemId(mSelectedPosition));
}
}
// Clear the flag
mReceivedInvokeKeyDown = false;
return true;
}
}
return super.onKeyUp(keyCode, event);
}
boolean movePrevious() {
if (mItemCount > 0 && mSelectedPosition > 0) {
// scrollToChild(mSelectedPosition - mFirstPosition - 1);
return true;
} else {
return false;
}
}
boolean moveNext() {
if (mItemCount > 0 && mSelectedPosition < mItemCount - 1) {
// scrollToChild(mSelectedPosition - mFirstPosition + 1);
return true;
} else {
return false;
}
}
private boolean scrollToChild(int childPosition) {
View child = getChildAt(childPosition);
if (child != null) {
int distance = getCenterOfGallery() - getCenterOfView(child);
mFlingRunnable.startUsingDistance(distance);
return true;
}
return false;
}
@Override
protected void setSelectedPositionInt(int position) {
super.setSelectedPositionInt(position);
// Updates any metadata we keep about the selected item.
updateSelectedItemMetadata();
}
private void updateSelectedItemMetadata() {
View oldSelectedChild = mSelectedChild;
Log(" updateSelectedItemMetadata mSelectedPosition = " + mSelectedPosition + " mFirstPosition = "
+ mFirstPosition);
int index = mSelectedPosition - mFirstPosition;
if (isScrollCycle()) {
if (mFirstPosition > mSelectedPosition) {
index = mItemCount - mFirstPosition + mSelectedPosition;
}
}
View child = mSelectedChild = getChildAt(index);
if (child == null) {
return;
}
child.setSelected(true);
child.setFocusable(true);
if (hasFocus()) {
child.requestFocus();
}
// We unfocus the old child down here so the above hasFocus check
// returns true
if (oldSelectedChild != null) {
// Make sure its drawable state doesn't contain 'selected'
oldSelectedChild.setSelected(false);
// Make sure it is not focusable anymore, since otherwise arrow keys
// can make this one be focused
oldSelectedChild.setFocusable(false);
}
}
/**
* Describes how the child views are aligned.
*
* @param gravity
*
* @attr ref android.R.styleable#Gallery_gravity
*/
public void setGravity(int gravity) {
if (mGravity != gravity) {
mGravity = gravity;
requestLayout();
}
}
@Override
protected int getChildDrawingOrder(int childCount, int i) {
// Removed by LiHong at 201109/21 begin =============
//
//
int selectedIndex = mSelectedPosition - mFirstPosition;
// Just to be safe
if (selectedIndex < 0)
return i;
if (i == childCount - 1) {
// Draw the selected child last
return selectedIndex;
} else if (i >= selectedIndex) {
// Move the children to the right of the selected child earlier one
return i + 1;
} else {
// Keep the children to the left of the selected child the same
return i;
}
//
// Removed by LiHong at 201109/21 end ===============
// We make the drawing order reverses the children order in list.
// return (childCount - 1 - i);
}
@Override
protected void onFocusChanged(boolean gainFocus, int direction, Rect previouslyFocusedRect) {
super.onFocusChanged(gainFocus, direction, previouslyFocusedRect);
/*
* The gallery shows focus by focusing the selected item. So, give focus to our selected
* item instead. We steal keys from our selected item elsewhere.
*/
if (gainFocus && mSelectedChild != null) {
mSelectedChild.requestFocus(direction);
}
}
/**
* Responsible for fling behavior. Use {@link #startUsingVelocity(int)} to initiate a fling.
* Each frame of the fling is handled in {@link #run()}. A FlingRunnable will keep re-posting
* itself until the fling is done.
*
*/
private class FlingRunnable implements Runnable {
/**
* Tracks the decay of a fling scroll
*/
private Scroller mScroller;
/**
* X value reported by mScroller on the previous fling
*/
private int mLastFlingX;
private int mLastFlingY;
public FlingRunnable() {
mScroller = new Scroller(getContext());
}
private void startCommon() {
// Remove any pending flings
removeCallbacks(this);
}
public void startUsingVelocity(int initialVelocity) {
if (initialVelocity == 0)
return;
startCommon();
if (isOrientationVertical()) {
int initialY = initialVelocity < 0 ? Integer.MAX_VALUE : 0;
mLastFlingY = initialY;
mScroller.fling(0, initialY, 0, initialVelocity, 0, Integer.MAX_VALUE, 0, Integer.MAX_VALUE);
post(this);
return;
}
int initialX = initialVelocity < 0 ? Integer.MAX_VALUE : 0;
mLastFlingX = initialX;
mScroller.fling(initialX, 0, initialVelocity, 0, 0, Integer.MAX_VALUE, 0, Integer.MAX_VALUE);
post(this);
}
public void startUsingDistance(int distance) {
if (distance == 0)
return;
if (isOrientationVertical()) {
startCommon();
mScrolling = true;
mLastFlingY = 0;
mScroller.startScroll(0, 0, 0, -distance, mAnimationDuration);
post(this);
return;
}
startCommon();
mScrolling = true;
mLastFlingX = 0;
mScroller.startScroll(0, 0, -distance, 0, mAnimationDuration);
post(this);
}
public void stop(boolean scrollIntoSlots) {
removeCallbacks(this);
endFling(scrollIntoSlots);
}
private void endFling(boolean scrollIntoSlots) {
mScrolling = false;
/*
* Force the scroller's status to finished (without setting its position to the end)
*/
mScroller.forceFinished(true);
if (scrollIntoSlots)
scrollIntoSlots();
// Added by LiHong at 2011/09/14 begin ==============
//
onEndFling();
//
// Added by LiHong at 2011/09/14 end ================
}
public void run() {
if (isOrientationVertical()) {
runVertical();
return;
}
if (mItemCount == 0) {
endFling(true);
return;
}
mShouldStopFling = false;
final Scroller scroller = mScroller;
boolean more = scroller.computeScrollOffset();
final int x = scroller.getCurrX();
// Flip sign to convert finger direction to list items direction
// (e.g. finger moving down means list is moving towards the top)
int delta = mLastFlingX - x;
// Pretend that each frame of a fling scroll is a touch scroll
if (delta > 0) {
// Moving towards the left. Use first view as mDownTouchPosition
mDownTouchPosition = mFirstPosition;
// Don't fling more than 1 screen
// delta = Math.min(getWidth() - mPaddingLeft - mPaddingRight - 1, delta);
delta = Math.min(getWidth() - getPaddingLeft() - getPaddingRight() - 1, delta);
} else {
// Moving towards the right. Use last view as mDownTouchPosition
int offsetToLast = getChildCount() - 1;
mDownTouchPosition = mFirstPosition + offsetToLast;
// Don't fling more than 1 screen
delta = Math.max(-(getWidth() - getPaddingRight() - getPaddingLeft() - 1), delta);
}
trackMotionScroll(delta);
if (more && !mShouldStopFling) {
mLastFlingX = x;
post(this);
} else {
endFling(true);
}
}
public void runVertical() {
if (mItemCount == 0) {
endFling(true);
return;
}
mShouldStopFling = false;
final Scroller scroller = mScroller;
boolean more = scroller.computeScrollOffset();
final int y = scroller.getCurrY();
// Flip sign to convert finger direction to list items direction
// (e.g. finger moving down means list is moving towards the top)
int delta = mLastFlingY - y;
// Pretend that each frame of a fling scroll is a touch scroll
if (delta > 0) {
// Moving towards the left. Use first view as mDownTouchPosition
mDownTouchPosition = mFirstPosition;
// Don't fling more than 1 screen
// delta = Math.min(getWidth() - mPaddingLeft - mPaddingRight - 1, delta);
delta = Math.min(getHeight() - getPaddingTop() - getPaddingBottom() - 1, delta);
} else {
// Moving towards the right. Use last view as mDownTouchPosition
int offsetToLast = getChildCount() - 1;
mDownTouchPosition = mFirstPosition + offsetToLast;
// Don't fling more than 1 screen
delta = Math.max(-(getHeight() - getPaddingBottom() - getPaddingTop() - 1), delta);
}
trackMotionScrollVertical(delta);
if (more && !mShouldStopFling) {
mLastFlingY = y;
post(this);
} else {
endFling(true);
}
}
}
/**
* Gallery extends LayoutParams to provide a place to hold current Transformation information
* along with previous position/transformation info.
*
*/
public static class LayoutParams extends ViewGroup.LayoutParams {
public LayoutParams(Context c, AttributeSet attrs) {
super(c, attrs);
}
public LayoutParams(int w, int h) {
super(w, h);
}
public LayoutParams(ViewGroup.LayoutParams source) {
super(source);
}
}
// Added by LiHong at 2011/08/12 begin ============================================.
//
// Author: Lee Hong
//
// Date 2012/10/12
//
/**
* Indicate disable scroll action when the child item is less than mItemCount. in other word,
* the children can be fully seeing in the gallery.
*/
private boolean mIsDisableScroll = false;
/**
* scrolling and animating flag
*/
private boolean mScrolling = false;
/**
* The first child offset.
*/
private int mFirstChildOffset = 0;
/**
* The bottom margin of the horizontal scroll bar.
*/
private int mScrollBarBottomMargin = 0;
/**
* The scroll bar size.
*/
private int mScrollBarSize = 5;
/**
* The scroll velocity ratio.
*/
private float mVelocityRatio = 1.0f;
/**
* Indicate the gallery scroll cycle or not.
*/
private boolean mIsScrollCycle = false;
/**
* The temporary member for mIsScrollCycle
*/
private boolean mIsScrollCycleTemp = true;
/**
* Slot into center. The default behavior of gallery is that the selected child will be slot in
* center.
*/
private boolean mIsSlotCenter = true;
/**
* The orientation, default value is horizontal
*/
private int mOrientation = HORIZONTAL;
/**
* The fling listener.
*/
private OnEndFlingListener mOnEndFlingListener = null;
/**
* The orientation horizontal
*/
public static final int HORIZONTAL = 0x01;
/**
* The orientation vertical
*/
public static final int VERTICAL = 0x02;
/**
* Select a child.
*/
private boolean performItemSelect(int childPosition) {
if (childPosition != mSelectedPosition) {
setSelectedPositionInt(childPosition);
setNextSelectedPositionInt(childPosition);
checkSelectionChanged();
return true;
}
return false;
}
/**
* Set the first child offset.
*
* @param firstChildOffset The value of first child offset.
*
* @author LeeHong
*/
public void setFirstChildOffset(int firstChildOffset) {
mFirstChildOffset = firstChildOffset;
}
/**
* Set the first position of the gallery.
*
* @param firstPosition The first position.
*
* @author LeeHong
*/
public void setFirstPosition(int firstPosition) {
mFirstPosition = firstPosition;
}
/**
* Indicate the gallery selected slot in center of not, default is false.
*
* @param isSlotCenter
*/
public void setSlotInCenter(boolean isSlotCenter) {
mIsSlotCenter = isSlotCenter;
}
/**
* Indicate the gallery selected slot in center of not, default is false.
*
* @return
*/
public boolean isSlotInCenter() {
return mIsSlotCenter;
}
/**
* Indicate the gallery layout in vertical or not.
*
* @return
*/
private boolean isOrientationVertical() {
return (mOrientation == VERTICAL);
}
/**
* @return the m_oritentation
*/
public int getOrientation() {
return mOrientation;
}
/**
* @param orientation the m_orientation to set
*/
public void setOrientation(int orientation) {
this.mOrientation = orientation;
}
/**
* Set the gallery fling listener.
*
* @param listener The OnEndFlingListener instance.
*
* @author LeeHong
*/
public void setOnEndFlingListener(OnEndFlingListener listener) {
mOnEndFlingListener = listener;
}
/**
* Call this method to disable the scroll action, this method makes affect only when the all
* items are displaying in the gallery.
*
* @param disableScroll true if disable the scroll action, otherwise false, default false.
*
* @author LeeHong
*/
public void setDisableScroll(boolean disableScroll) {
mIsDisableScroll = disableScroll;
}
/**
* Set the scroll bar bottom margin
*
* @param scrollBarBottomMargin
*
* @author LeeHong
*/
public void setScrollBarBottomMargin(int scrollBarBottomMargin) {
mScrollBarBottomMargin = scrollBarBottomMargin;
}
/**
* Set the scroll bar size.
*
* @param scrollBarSize The scroll bar.
*
* @author LeeHong
*/
public void setScrollBarSize(int scrollBarSize) {
mScrollBarSize = scrollBarSize;
}
/**
* Get the The position of the first child displayed.
*
* @return
*
* @author LeeHong
*/
public int getFirstPosition() {
return mFirstPosition;
}
/**
* Get the spacing between children.
*
* @return The spacing of the children.
*
* @author LeeHong
*/
public int getSpacing() {
return mSpacing;
}
/**
* Return the scrolling flag.
*
* @return true if the gallery is scrolling, otherwise false.
*
* @author LeeHong
*/
public boolean isScrolling() {
return mScrolling;
}
/**
* Scroll gallery items towards left or right direction with the one item's width.
*
* @param toLeft Indicate offset towards left or right.
*
* @return The offset of the items.
*
* @author LeeHong
*/
public int scrollGalleryItems(boolean toLeft) {
if (0 == getChildCount()) {
return 0;
}
int offset = 0;
if (toLeft) {
View child = getChildAt(getChildCount() - 1);
offset = child.getRight() - this.getRight() + this.getPaddingRight();
offset = Math.max(offset, 0);
// The item is not the last one.
if (0 == offset && (mFirstPosition + getChildCount() != mItemCount)) {
offset += (null != child) ? child.getWidth() : 0;
}
} else {
View child = getChildAt(0);
offset = child.getLeft() - this.getPaddingLeft();
offset = Math.min(offset, 0);
// The current item is not the first one.
if (0 == offset && 0 != mFirstPosition) {
offset -= (null != child) ? child.getWidth() : 0;
}
}
// If the offset is not zero, scroll these items.
if (0 != offset) {
// trackMotionScroll(-1 * offset);
if (null != mFlingRunnable) {
mFlingRunnable.startUsingDistance(-1 * offset);
}
}
return (-1 * offset);
}
/**
* Scroll gallery items towards left or right direction with the one item's width.
*
* @param offset The scroll offset
*
* @author LeeHong
*/
public int scrollGalleryItems(int offset) {
if (null != mFlingRunnable) {
mFlingRunnable.startUsingDistance(-1 * offset);
}
return (-1 * offset);
}
/**
* Get the index from specified point.
*
* @param pt The specified point.
*
* @return The based zero index, -1 if not found child which bound not contains the point.
*
* @author LeeHong
*/
public int getItemIndexFromPoint(android.graphics.Point pt) {
int nChildCount = getChildCount();
int nIndex = -1;
Rect rc = new Rect();
this.getDrawingRect(rc);
if (rc.contains(pt.x, pt.y)) {
for (int i = 0; i < nChildCount; ++i) {
// Get the rectangle of the child.
getChildAt(i).getHitRect(rc);
if (rc.contains(pt.x, pt.y)) {
nIndex = i;
break;
}
}
}
return (nIndex >= 0) ? (nIndex + mFirstPosition) : -1;
}
/**
* Called when the gallery ends fling operation.
*
* @author LeeHong
*/
protected void onEndFling() {
if (null != mOnEndFlingListener) {
mOnEndFlingListener.onEndFling(this);
}
}
/**
* Called when fling occurs, this method can return ratio value to accelerate or decelerate the
* velocity of gallery.
*
* @return default return 1.0f.
*
* @author LeeHong
*/
public float getVelocityRatio() {
return mVelocityRatio;
}
/**
* Set the scroll or fling velocity ratio, value is in the range [0.5, 1.5], default value is
* 1.0f.
*
* @param velocityRatio
*
* @author LeeHong
*/
public void setVelocityRatio(float velocityRatio) {
mVelocityRatio = velocityRatio;
if (mVelocityRatio < 0.5f) {
mVelocityRatio = 0.5f;
} else if (mVelocityRatio > 1.5f) {
mVelocityRatio = 1.5f;
}
}
/**
* Indicate the should disable scroll action.
*
* @return true if disable scroll, otherwise false.
*
* @author LeeHong
*/
protected boolean shouldDisableScroll() {
if (mIsDisableScroll) {
if (getChildCount() < mItemCount) {
return false;
}
// First child is out of gallery left bound.
View child = getChildAt(0);
if (null != child && child.getLeft() < getLeft()) {
return false;
}
// Last child is out of gallery right bound.
child = getChildAt(getChildCount() - 1);
if (null != child && child.getRight() > getRight()) {
return false;
}
return true;
}
return false;
}
@Override
public boolean onSingleTapConfirmed(MotionEvent e) {
return false;
}
@Override
public boolean onDoubleTapEvent(MotionEvent e) {
if (MotionEvent.ACTION_UP == e.getAction()) {
if (mDownTouchPosition >= 0) {
// Also pass the click so the client knows, if it wants to.
if (mShouldCallbackOnUnselectedItemClick || mDownTouchPosition == mSelectedPosition) {
performItemDoubleClick(mDownTouchView, mDownTouchPosition, mAdapter.getItemId(mDownTouchPosition));
}
return true;
}
}
return false;
}
@Override
public boolean onDoubleTap(MotionEvent e) {
return false;
}
/**
* This method is used to indicate the point is contained in a child or not.
*
* @param x The x coordinate to the gallery.
* @param y The y coordinate to the gallery.
*
* @return true if the point contained in a child.
*
* @author LeeHong
*/
public boolean isPointInChild(float x, float y) {
int childCount = getChildCount();
for (int i = 0; i < childCount; ++i) {
View child = getChildAt(i);
if (x >= child.getLeft() && x <= child.getRight() && y >= child.getTop() && y <= child.getBottom()) {
return true;
}
}
return false;
}
/**
* Set the scroll cycle.
*
* @param scrollCycle
*/
public void setScrollCycle(boolean scrollCycle) {
mIsScrollCycle = scrollCycle;
}
/**
* Get the flag for scroll cycle.
*
* @return
*/
public boolean isScrollCycle() {
return mIsScrollCycle && mIsScrollCycleTemp;
}
/**
* @author LeeHong
*/
protected void Log(String msg) {
if (localLOGV) {
Log.d(TAG, msg);
}
}
private void fillToGalleryLeftCycle() {
int itemSpacing = mSpacing;
int galleryLeft = getPaddingLeft();// mPaddingLeft;
// Set state for initial iteration
View prevIterationView = getChildAt(0);
int curPosition;
int curRightEdge;
if (prevIterationView != null) {
curPosition = mFirstPosition - 1;
curRightEdge = prevIterationView.getLeft() - itemSpacing;
} else {
// No children available!
curPosition = 0;
// curRightEdge = mRight - mLeft - mPaddingRight;
curRightEdge = getRight() - getLeft() - getPaddingRight();
mShouldStopFling = true;
}
while (curRightEdge > galleryLeft && curPosition >= 0) {
prevIterationView = makeAndAddView(curPosition, curPosition - mSelectedPosition, curRightEdge, false);
// Remember some state
mFirstPosition = curPosition;
// Set state for next iteration
curRightEdge = prevIterationView.getLeft() - itemSpacing;
curPosition--;
}
// Added by LiHong at 2012/10/11 begin ===========
curPosition = mItemCount - 1;
while (curRightEdge > galleryLeft && getChildCount() < mItemCount) {
prevIterationView = makeAndAddView(curPosition, curPosition - mSelectedPosition, curRightEdge, false);
// Remember some state
mFirstPosition = curPosition;
// Set state for next iteration
curRightEdge = prevIterationView.getLeft() - itemSpacing;
curPosition--;
}
// Added by LiHong at 2012/10/11 end =============
}
private void fillToGalleryTopCycle() {
int itemSpacing = mSpacing;
int galleryTop = getPaddingTop();// mPaddingLeft;
// Set state for initial iteration
View prevIterationView = getChildAt(0);
int curPosition;
int curRightEdge;
if (prevIterationView != null) {
curPosition = mFirstPosition - 1;
curRightEdge = prevIterationView.getTop() - itemSpacing;
} else {
// No children available!
curPosition = 0;
// curRightEdge = mRight - mLeft - mPaddingRight;
curRightEdge = getBottom() - getTop() - getPaddingBottom();
mShouldStopFling = true;
}
while (curRightEdge > galleryTop && curPosition >= 0) {
prevIterationView = makeAndAddViewVertical(curPosition, curPosition - mSelectedPosition, curRightEdge,
false);
// Remember some state
mFirstPosition = curPosition;
// Set state for next iteration
curRightEdge = prevIterationView.getTop() - itemSpacing;
curPosition--;
}
// Added by LiHong at 2012/10/11 begin ===========
curPosition = mItemCount - 1;
while (curRightEdge > galleryTop && getChildCount() < mItemCount) {
prevIterationView = makeAndAddViewVertical(curPosition, curPosition - mSelectedPosition, curRightEdge,
false);
// Remember some state
mFirstPosition = curPosition;
// Set state for next iteration
curRightEdge = prevIterationView.getTop() - itemSpacing;
curPosition--;
}
// Added by LiHong at 2012/10/11 end =============
}
private void fillToGalleryRightCycle() {
int itemSpacing = mSpacing;
// int galleryRight = mRight - mLeft - mPaddingRight;
int galleryRight = getRight() - getLeft() - getPaddingRight();
int numChildren = getChildCount();
int numItems = mItemCount;
// Set state for initial iteration
View prevIterationView = getChildAt(numChildren - 1);
int curPosition;
int curLeftEdge;
Log(" fillToGalleryRightCycle mFirstPosition = " + mFirstPosition);
if (prevIterationView != null) {
curPosition = mFirstPosition + numChildren;
curLeftEdge = prevIterationView.getRight() + itemSpacing;
} else {
mFirstPosition = curPosition = mItemCount - 1;
curLeftEdge = getPaddingLeft();// mPaddingLeft;
mShouldStopFling = true;
}
while (curLeftEdge < galleryRight && curPosition < numItems) {
prevIterationView = makeAndAddView(curPosition, curPosition - mSelectedPosition, curLeftEdge, true);
// Set state for next iteration
curLeftEdge = prevIterationView.getRight() + itemSpacing;
curPosition++;
}
// Added by LiHong at 2012/10/11 begin ===========
curPosition = curPosition % numItems;
while (curLeftEdge <= galleryRight && getChildCount() < mItemCount) {
prevIterationView = makeAndAddView(curPosition, curPosition - mSelectedPosition, curLeftEdge, true);
// Set state for next iteration
curLeftEdge = prevIterationView.getRight() + itemSpacing;
curPosition++;
}
// Added by LiHong at 2012/10/11 end =============
}
private void fillToGalleryBottomCycle() {
int itemSpacing = mSpacing;
// int galleryRight = mRight - mLeft - mPaddingRight;
int galleryBottom = getBottom() - getTop() - getPaddingBottom();
int numChildren = getChildCount();
int numItems = mItemCount;
// Set state for initial iteration
View prevIterationView = getChildAt(numChildren - 1);
int curPosition;
int curLeftEdge;
Log(" fillToGalleryRightCycle mFirstPosition = " + mFirstPosition);
if (prevIterationView != null) {
curPosition = mFirstPosition + numChildren;
curLeftEdge = prevIterationView.getBottom() + itemSpacing;
} else {
mFirstPosition = curPosition = mItemCount - 1;
curLeftEdge = getPaddingTop();// mPaddingLeft;
mShouldStopFling = true;
}
while (curLeftEdge < galleryBottom && curPosition < numItems) {
prevIterationView = makeAndAddViewVertical(curPosition, curPosition - mSelectedPosition, curLeftEdge, true);
// Set state for next iteration
curLeftEdge = prevIterationView.getBottom() + itemSpacing;
curPosition++;
}
// Added by LiHong at 2012/10/11 begin ===========
curPosition = curPosition % numItems;
while (curLeftEdge <= galleryBottom && getChildCount() < mItemCount) {
prevIterationView = makeAndAddViewVertical(curPosition, curPosition - mSelectedPosition, curLeftEdge, true);
// Set state for next iteration
curLeftEdge = prevIterationView.getBottom() + itemSpacing;
curPosition++;
}
// Added by LiHong at 2012/10/11 end =============
}
/**
* This interface defines methods for TosGallery.
*
* @author LeeHong
*/
public interface OnEndFlingListener {
/**
* Called when the fling operation ends.
*
* @param v The gallery view.
*/
public void onEndFling(TosGallery v);
}
//
// Added by LiHong at 2011/08/12 end ============================================.
}
| [
"[email protected]"
] | |
7f46fb320b0cd98ec85397b04aee7bc02f4870b2 | 88768b2c0a86683fc3329e80126b0e27a6a45dff | /Adityakumar-Patel-ProductSale/ProductSaleProject/src/main/java/com/productsale/app/platform/database/PostgreSqlEmbadded.java | 33ada8d8c1206634b649f00cf7a1ab8ee4c67c88 | [] | no_license | LTI-ProgrammingTest/LTI-TechnicalTest | c86e1d641ba4a46c648b6a7dc709ba2be4eee5b6 | ccef67863eb722e7d69849e2608d9a29da0c87fb | refs/heads/master | 2022-12-06T12:51:57.293355 | 2020-08-23T18:32:57 | 2020-08-23T18:32:57 | 288,414,069 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 343 | java | package com.productsale.app.platform.database;
public class PostgreSqlEmbadded extends Database {
public static Database getInstance() {
/*
*
* We can write implementation here for postgresql embadded configuration
*
*/
return null;
}
@Override
public void onInitialize() {
// TODO Auto-generated method stub
}
}
| [
"[email protected]"
] | |
632382c41b336fc2b11f0f118ba7b81edd3b0370 | 26baa6a4f0bde23883e93309d9ad28e2feee23d1 | /opennms-config/src/main/java/org/opennms/netmgt/config/datacollection/descriptors/SystemDefChoiceDescriptor.java | c23ceb63c58c2fbd2fa8dabaf14da520f56ce23a | [] | no_license | taochong123456/opennms-1.10.12-1 | 6532544405fff3dddd96f1250775e48f2aa38f0f | 0f4c01a8e80e2144125eb189daac38a4e559421a | refs/heads/master | 2020-03-18T12:37:27.510530 | 2018-09-20T17:00:28 | 2018-09-20T17:00:28 | 134,734,970 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 9,139 | java | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(R) is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation, either version 3 of the License,
* or (at your option) any later version.
*
* OpenNMS(R) 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 OpenNMS(R). If not, see:
* http://www.gnu.org/licenses/
*
* For more information contact:
* OpenNMS(R) Licensing <[email protected]>
* http://www.opennms.org/
* http://www.opennms.com/
*******************************************************************************/
/*
* This class was automatically generated with
* <a href="http://www.castor.org">Castor 1.1.2.1</a>, using an XML
* Schema.
* $Id$
*/
package org.opennms.netmgt.config.datacollection.descriptors;
//---------------------------------/
//- Imported classes and packages -/
//---------------------------------/
import org.opennms.netmgt.config.datacollection.SystemDefChoice;
/**
* Class SystemDefChoiceDescriptor.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings("all") public class SystemDefChoiceDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Field _elementDefinition.
*/
private boolean _elementDefinition;
/**
* Field _nsPrefix.
*/
private java.lang.String _nsPrefix;
/**
* Field _nsURI.
*/
private java.lang.String _nsURI;
/**
* Field _xmlName.
*/
private java.lang.String _xmlName;
/**
* Field _identity.
*/
private org.exolab.castor.xml.XMLFieldDescriptor _identity;
//----------------/
//- Constructors -/
//----------------/
public SystemDefChoiceDescriptor() {
super();
_nsURI = "http://xmlns.opennms.org/xsd/config/datacollection";
_elementDefinition = false;
//-- set grouping compositor
setCompositorAsChoice();
org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null;
org.exolab.castor.mapping.FieldHandler handler = null;
org.exolab.castor.xml.FieldValidator fieldValidator = null;
//-- initialize attribute descriptors
//-- initialize element descriptors
//-- _sysoid
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_sysoid", "sysoid", org.exolab.castor.xml.NodeType.Element);
desc.setImmutable(true);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
@Override
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
SystemDefChoice target = (SystemDefChoice) object;
return target.getSysoid();
}
@Override
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
SystemDefChoice target = (SystemDefChoice) object;
target.setSysoid( (java.lang.String) value);
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
}
@Override
@SuppressWarnings("unused")
public java.lang.Object newInstance(java.lang.Object parent) {
return null;
}
};
desc.setSchemaType("string");
desc.setHandler(handler);
desc.setNameSpaceURI("http://xmlns.opennms.org/xsd/config/datacollection");
desc.setRequired(true);
desc.setMultivalued(false);
addFieldDescriptor(desc);
addSequenceElement(desc);
//-- validation code for: _sysoid
fieldValidator = new org.exolab.castor.xml.FieldValidator();
fieldValidator.setMinOccurs(1);
{ //-- local scope
org.exolab.castor.xml.validators.StringValidator typeValidator;
typeValidator = new org.exolab.castor.xml.validators.StringValidator();
fieldValidator.setValidator(typeValidator);
typeValidator.setWhiteSpace("preserve");
}
desc.setValidator(fieldValidator);
//-- _sysoidMask
desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_sysoidMask", "sysoidMask", org.exolab.castor.xml.NodeType.Element);
desc.setImmutable(true);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
@Override
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
SystemDefChoice target = (SystemDefChoice) object;
return target.getSysoidMask();
}
@Override
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
SystemDefChoice target = (SystemDefChoice) object;
target.setSysoidMask( (java.lang.String) value);
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
}
@Override
@SuppressWarnings("unused")
public java.lang.Object newInstance(java.lang.Object parent) {
return null;
}
};
desc.setSchemaType("string");
desc.setHandler(handler);
desc.setNameSpaceURI("http://xmlns.opennms.org/xsd/config/datacollection");
desc.setRequired(true);
desc.setMultivalued(false);
addFieldDescriptor(desc);
addSequenceElement(desc);
//-- validation code for: _sysoidMask
fieldValidator = new org.exolab.castor.xml.FieldValidator();
fieldValidator.setMinOccurs(1);
{ //-- local scope
org.exolab.castor.xml.validators.StringValidator typeValidator;
typeValidator = new org.exolab.castor.xml.validators.StringValidator();
fieldValidator.setValidator(typeValidator);
typeValidator.setWhiteSpace("preserve");
}
desc.setValidator(fieldValidator);
}
//-----------/
//- Methods -/
//-----------/
/**
* Method getAccessMode.
*
* @return the access mode specified for this class.
*/
@Override()
public org.exolab.castor.mapping.AccessMode getAccessMode(
) {
return null;
}
/**
* Method getIdentity.
*
* @return the identity field, null if this class has no
* identity.
*/
@Override()
public org.exolab.castor.mapping.FieldDescriptor getIdentity(
) {
return _identity;
}
/**
* Method getJavaClass.
*
* @return the Java class represented by this descriptor.
*/
@Override()
public java.lang.Class<?> getJavaClass(
) {
return org.opennms.netmgt.config.datacollection.SystemDefChoice.class;
}
/**
* Method getNameSpacePrefix.
*
* @return the namespace prefix to use when marshaling as XML.
*/
@Override()
public java.lang.String getNameSpacePrefix(
) {
return _nsPrefix;
}
/**
* Method getNameSpaceURI.
*
* @return the namespace URI used when marshaling and
* unmarshaling as XML.
*/
@Override()
public java.lang.String getNameSpaceURI(
) {
return _nsURI;
}
/**
* Method getValidator.
*
* @return a specific validator for the class described by this
* ClassDescriptor.
*/
@Override()
public org.exolab.castor.xml.TypeValidator getValidator(
) {
return this;
}
/**
* Method getXMLName.
*
* @return the XML Name for the Class being described.
*/
@Override()
public java.lang.String getXMLName(
) {
return _xmlName;
}
/**
* Method isElementDefinition.
*
* @return true if XML schema definition of this Class is that
* of a global
* element or element with anonymous type definition.
*/
public boolean isElementDefinition(
) {
return _elementDefinition;
}
}
| [
"[email protected]"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.