blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 7 332 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2 values | repo_name stringlengths 7 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 557 values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 5.85k 684M ⌀ | star_events_count int64 0 77.7k | fork_events_count int64 0 48k | gha_license_id stringclasses 17 values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 82 values | src_encoding stringclasses 28 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 2 classes | length_bytes int64 7 5.41M | extension stringclasses 11 values | content stringlengths 7 5.41M | authors listlengths 1 1 | author stringlengths 0 161 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4b5841aaef66e6f36a534908f2d5c3d015ad1cf9 | 3a2f869f142b385451525326fcf03c822eda728e | /src/FileWorks/CollectionManager.java | 116a58fd0902c7b5bc2a2e7374d59a99a351fd40 | [] | no_license | MaxLebedev2000/lab5 | ee31c8d1c7b4454f4c8ad6a66a72be37fe1f4ff9 | 100ff230416d23081f17c2ff4b94f4ddbc6cf6ce | refs/heads/master | 2020-07-14T02:27:33.084425 | 2019-08-29T17:14:11 | 2019-08-29T17:14:11 | 205,213,660 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,818 | java | package FileWorks;
import Humans.Card;
import java.util.HashSet;
/**
* Класс-менеджер коллекции
*/
public class CollectionManager implements FileWorks.collection.CollectionManager {
/**
* Читатель коллекции
*/
private CollectionReader reader;
/**
* Записыватель коллекции
*/
private CollectionWriter writer;
/**
* Коллекция
*/
private HashSet<Card> collection;
/**
* Конструктор
* @param filePath Путь к файлу
*/
public CollectionManager(String filePath){
reader = new CollectionReader(filePath);
writer = new CollectionWriter(filePath);
collection = new HashSet<>();
}
/**
* Читает из коллекции
* @return Успешно ли прошла операция?
*/
public boolean read(){
if(reader.read()){
collection = reader.getCollection();
return true;
}
return false;
}
/**
* Обновляет коллекцию из файла
*/
public void updateCollection(){
collection.clear();
read();
}
/**
* Записывает коллекцию
* @return Успешно ли прошла операция?
*/
public boolean write(){
boolean result = writer.write(collection);
writer.reset();
return result;
}
/**
* Завешает работу менеджера коллекцией
*/
public void close(){
writer.close();
}
/**
* Геттер коллекции
* @return Коллекция из Card
*/
public HashSet<Card> getCollection() {
return collection;
}
}
| [
"max.lebedev2000@yandex.ru"
] | max.lebedev2000@yandex.ru |
3c276e921e84374defee87eac019623e3e4016f3 | 5bb97209e9287669057936d20745573a9743a490 | /src/main/java/com/rollncode/basement/application/BaseAContext.java | d7918af557c83c5df733ea515bddc133970d67e3 | [] | no_license | RollnCode/Android-Basement | ace9ebf16d7a653ded49b6a53b3396678f0e1570 | e18e2b2d503a0990fba636b59e1f4467fc61b8da | refs/heads/master | 2021-01-22T10:59:55.482507 | 2017-05-04T12:12:55 | 2017-05-04T12:12:55 | 82,061,761 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,659 | java | package com.rollncode.basement.application;
import android.annotation.SuppressLint;
import android.content.ContentResolver;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Point;
import android.graphics.drawable.Drawable;
import android.net.ConnectivityManager;
import android.support.annotation.CheckResult;
import android.support.annotation.ColorRes;
import android.support.annotation.DimenRes;
import android.support.annotation.DrawableRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.StringRes;
import android.support.v4.content.ContextCompat;
import android.util.TypedValue;
import android.view.View;
import android.view.WindowManager;
import android.view.inputmethod.InputMethodManager;
import com.rollncode.basement.R;
import com.rollncode.basement.utility.BaseUtils;
/**
* @author Tregub Artem tregub.artem@gmail.com
* @since 19/01/17
*/
public class BaseAContext<A extends BaseApp> {
protected final A mApp;
protected final Resources mResources;
protected final ContentResolver mContentResolver;
private final InputMethodManager mInputMethodManager;
private final ConnectivityManager mConnectivityManager;
protected final Point mScreenSize;
protected final int mStatusBarHeight;
protected final int mActionBarHeight;
@SuppressLint({"HardwareIds", "PrivateResource"})
protected BaseAContext(@NonNull A app) {
mApp = app;
mResources = mApp.getResources();
mContentResolver = mApp.getContentResolver();
mInputMethodManager = (InputMethodManager) mApp.getSystemService(Context.INPUT_METHOD_SERVICE);
mConnectivityManager = (ConnectivityManager) mApp.getSystemService(Context.CONNECTIVITY_SERVICE);
{
final WindowManager windowManager = (WindowManager) mApp.getSystemService(Context.WINDOW_SERVICE);
mScreenSize = new Point();
windowManager.getDefaultDisplay().getSize(mScreenSize);
}
{
final int resourceId = mResources.getIdentifier("status_bar_height", "dimen", "android");
mStatusBarHeight = resourceId > 0 ? mResources.getDimensionPixelSize(resourceId) : 0;
}
final TypedValue value = new TypedValue();
if (app.getTheme().resolveAttribute(R.attr.actionBarSize, value, true)) {
mActionBarHeight = TypedValue.complexToDimensionPixelSize(value.data, mResources.getDisplayMetrics());
} else {
mActionBarHeight = mResources.getDimensionPixelSize(R.dimen.abc_action_bar_default_height_material);
}
}
@CheckResult
@Nullable
protected final String getStringInner(@StringRes int stringRes, @NonNull Object... objects) {
return mResources.getString(stringRes, objects);
}
protected final void hideInputKeyboardInner(@Nullable View view) {
if (view != null) {
mInputMethodManager.hideSoftInputFromWindow(view.getWindowToken(), 0);
}
}
@CheckResult
@Nullable
protected final Drawable getDrawableInner(@DrawableRes int drawableRes) {
return ContextCompat.getDrawable(mApp, drawableRes);
}
protected final int getColorInner(@ColorRes int colorRes) {
return ContextCompat.getColor(mApp, colorRes);
}
protected final int getDimensionPixelSizeInner(@DimenRes int id) {
return id == 0 ? 0 : mResources.getDimensionPixelSize(id);
}
@CheckResult
protected final boolean isNetworkAvailableInner() {
return BaseUtils.isNetworkAvailable(mConnectivityManager);
}
} | [
"tregub.artem@gmail.com"
] | tregub.artem@gmail.com |
4450e3af13f7be35b66b4d09826af5a0c18e7de5 | d3583629609d4f2268ca17762336f209cf2e30d7 | /hw6/android/gen/processing/test/hw6/R.java | 5ffa2ef20a2d36848a54d0a9d42da9afa1f82d60 | [] | no_license | kyungyunlee/GameOfLife | f4bc1f6a27bc896934465864f8152619aaa8853e | b552b4c5138ecdbc07f0c4e4a65f0c22cd8811c1 | refs/heads/master | 2020-07-05T22:58:29.049427 | 2016-11-30T10:48:09 | 2016-11-30T10:48:09 | 73,977,167 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 564 | 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 processing.test.hw6;
public final class R {
public static final class attr {
}
public static final class drawable {
public static final int icon=0x7f020000;
}
public static final class id {
public static final int fragment=0x7f040000;
}
public static final class layout {
public static final int main=0x7f030000;
}
}
| [
"kyungyunlee2393@gmail.com"
] | kyungyunlee2393@gmail.com |
949bcd749ecd8e0a32e9ea6332e179b4b9fa2741 | 2612f336d667a087823234daf946f09b40d8ca3d | /java/java-tests/testData/inspection/streamApiCallChains/beforeRangeToArraySource.java | 4266b6f99465f645fd51458b493ea070cdaa2e55 | [
"Apache-2.0"
] | permissive | tnorbye/intellij-community | df7f181861fc5c551c02c73df3b00b70ab2dd589 | f01cf262fc196bf4dbb99e20cd937dee3705a7b6 | refs/heads/master | 2021-04-06T06:57:57.974599 | 2018-03-13T17:37:00 | 2018-03-13T17:37:00 | 125,079,130 | 2 | 0 | Apache-2.0 | 2018-03-13T16:09:41 | 2018-03-13T16:09:41 | null | UTF-8 | Java | false | false | 276 | java | // "Replace with Arrays.stream()" "true"
import java.util.*;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
class Test {
public void test(Object[] array) {
IntStream.<caret>range(1, 5).mapToObj(x -> array[x]).collect(Collectors.toList());
}
} | [
"Roman.Ivanov@jetbrains.com"
] | Roman.Ivanov@jetbrains.com |
b770fa9b53be341c89bc62c1a49351d142aaa46e | 46035fc1bee00bd99978bdffc3e38852ddc49de4 | /org.eclipse.nebula.widgets.nattable.extension.glazedlists.test/src/org/eclipse/nebula/widgets/nattable/extension/glazedlists/filterrow/FilterRowRegularExpressionConverterTest.java | 45b739bcf90abbd34f9642be262f61da856dd6fc | [] | no_license | lukemaxon/nebula.widgets.nattable | e3fe62c843010dad76072a68e3aee01d2f8d999e | 8e6ad2f7e2561b6449519d7e776323621bb1b4fb | refs/heads/master | 2022-04-06T00:46:35.460441 | 2020-04-09T12:27:19 | 2020-04-09T12:27:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,121 | java | /*******************************************************************************
* Copyright (c) 2015 Dirk Fauth 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:
* Dirk Fauth <dirk.fauth@googlemail.com> - initial API and implementation
*******************************************************************************/
package org.eclipse.nebula.widgets.nattable.extension.glazedlists.filterrow;
import static org.junit.Assert.assertEquals;
import org.eclipse.nebula.widgets.nattable.filterrow.FilterRowRegularExpressionConverter;
import org.junit.Test;
public class FilterRowRegularExpressionConverterTest {
@Test
public void shouldConvertAsteriskFromDisplayToCanonical() {
FilterRowRegularExpressionConverter converter = new FilterRowRegularExpressionConverter();
assertEquals("(.*)", converter.displayToCanonicalValue("*"));
assertEquals("(.*)abc", converter.displayToCanonicalValue("*abc"));
assertEquals("abc(.*)", converter.displayToCanonicalValue("abc*"));
assertEquals("ab(.*)g", converter.displayToCanonicalValue("ab*g"));
assertEquals("(.*)abc(.*)", converter.displayToCanonicalValue("*abc*"));
assertEquals("(.*)ab(.*)cd(.*)", converter.displayToCanonicalValue("*ab*cd*"));
}
@Test
public void shouldConvertQuestionMarkFromDisplayToCanonical() {
FilterRowRegularExpressionConverter converter = new FilterRowRegularExpressionConverter();
assertEquals("(.?)", converter.displayToCanonicalValue("?"));
assertEquals("(.?)abc", converter.displayToCanonicalValue("?abc"));
assertEquals("abc(.?)", converter.displayToCanonicalValue("abc?"));
assertEquals("ab(.?)g", converter.displayToCanonicalValue("ab?g"));
assertEquals("(.?)abc(.?)", converter.displayToCanonicalValue("?abc?"));
assertEquals("(.?)ab(.?)cd(.?)", converter.displayToCanonicalValue("?ab?cd?"));
}
@Test
public void shouldConvertMixedFromDisplayToCanonical() {
FilterRowRegularExpressionConverter converter = new FilterRowRegularExpressionConverter();
assertEquals("(.*)abc(.?)", converter.displayToCanonicalValue("*abc?"));
assertEquals("(.?)abc(.*)", converter.displayToCanonicalValue("?abc*"));
}
@Test
public void shouldConvertAsteriskFromCanonicalToDisplay() {
FilterRowRegularExpressionConverter converter = new FilterRowRegularExpressionConverter();
assertEquals("*", converter.canonicalToDisplayValue("(.*)"));
assertEquals("*abc", converter.canonicalToDisplayValue("(.*)abc"));
assertEquals("abc*", converter.canonicalToDisplayValue("abc(.*)"));
assertEquals("ab*g", converter.canonicalToDisplayValue("ab(.*)g"));
assertEquals("*abc*", converter.canonicalToDisplayValue("(.*)abc(.*)"));
assertEquals("*ab*cd*", converter.canonicalToDisplayValue("(.*)ab(.*)cd(.*)"));
}
@Test
public void shouldConvertQuestionMarkFromCanonicalToDisplay() {
FilterRowRegularExpressionConverter converter = new FilterRowRegularExpressionConverter();
assertEquals("?", converter.canonicalToDisplayValue("(.?)"));
assertEquals("?abc", converter.canonicalToDisplayValue("(.?)abc"));
assertEquals("abc?", converter.canonicalToDisplayValue("abc(.?)"));
assertEquals("ab?g", converter.canonicalToDisplayValue("ab(.?)g"));
assertEquals("?abc?", converter.canonicalToDisplayValue("(.?)abc(.?)"));
assertEquals("?ab?cd?", converter.canonicalToDisplayValue("(.?)ab(.?)cd(.?)"));
}
@Test
public void shouldConvertMixedFromCanonicalToDisplay() {
FilterRowRegularExpressionConverter converter = new FilterRowRegularExpressionConverter();
assertEquals("*abc?", converter.canonicalToDisplayValue("(.*)abc(.?)"));
assertEquals("?abc*", converter.canonicalToDisplayValue("(.?)abc(.*)"));
}
}
| [
"dirk.fauth@googlemail.com"
] | dirk.fauth@googlemail.com |
a6c87751a10cd9fa9cc8f38baf11641334cbd21d | 39b6f83641d1a80a48937c42beb6a73311aebc55 | /integration-tests/smallrye-config/src/test/java/io/quarkus/it/smallrye/config/HibernatePropertiesTest.java | 6e5132c0aefe69a2aefe59f604a48b778e78e500 | [
"Apache-2.0"
] | permissive | quarkusio/quarkus | 112ecda7236bc061920978ac49289da6259360f4 | 68af440f3081de7a26bbee655f74bb8b2c57c2d5 | refs/heads/main | 2023-09-04T06:39:33.043251 | 2023-09-04T05:44:43 | 2023-09-04T05:44:43 | 139,914,932 | 13,109 | 2,940 | Apache-2.0 | 2023-09-14T21:31:23 | 2018-07-06T00:44:20 | Java | UTF-8 | Java | false | false | 1,518 | java | package io.quarkus.it.smallrye.config;
import static io.restassured.RestAssured.given;
import static jakarta.ws.rs.core.Response.Status.OK;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.logging.Level;
import java.util.logging.LogManager;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.jupiter.api.extension.RegisterExtension;
import io.quarkus.test.InMemoryLogHandler;
import io.quarkus.test.junit.QuarkusTestExtension;
public class HibernatePropertiesTest {
private static final java.util.logging.Logger rootLogger = LogManager.getLogManager().getLogger("io.quarkus.config");
private static final InMemoryLogHandler inMemoryLogHandler = new InMemoryLogHandler(
record -> record.getLevel().intValue() >= Level.WARNING.intValue());
static {
rootLogger.addHandler(inMemoryLogHandler);
}
// So we can use .env. We don't have support in the other extensions to pass in external files to the application jar.
@RegisterExtension
static QuarkusTestExtension TEST = new QuarkusTestExtension() {
@Override
public void beforeAll(final ExtensionContext context) throws Exception {
super.beforeAll(context);
assertTrue(inMemoryLogHandler.getRecords().isEmpty());
}
};
@Test
void properties() {
given()
.get("/users")
.then()
.statusCode(OK.getStatusCode());
}
}
| [
"guillaume.smet@gmail.com"
] | guillaume.smet@gmail.com |
e085c09d51d41c0d258ee96b619c39ca4b71a0f2 | c345610010472d0b2f3aeb6b693ea5c6f9162106 | /logodoctor/app/src/main/java/waterdroplistview/WaterDropListView.java | b0f37bd8e5ad60dac0e81c0940dcd5a65cca437a | [] | no_license | sollian/logo_doctor | 1e72745f8c730df2ee67c61748dcc6cdf26950c9 | 1652a89c34707bb4bdd56c33cfabc9500d91c81e | refs/heads/master | 2021-01-21T21:54:19.978308 | 2016-03-28T10:02:22 | 2016-03-28T10:02:22 | 41,791,263 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 14,481 | java | /**
* @file XListView.java
* @package me.maxwin.view
* @create Mar 18, 2012 6:28:41 PM
* @author Maxwin
* @description An ListView support (a) Pull down to refresh, (b) Pull up to load more.
* Implement IWaterDropListViewListener, and see stopRefresh() / stopLoadMore().
*/
package waterdroplistview;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.animation.DecelerateInterpolator;
import android.widget.AbsListView;
import android.widget.AbsListView.OnScrollListener;
import android.widget.ListAdapter;
import android.widget.ListView;
import android.widget.Scroller;
public class WaterDropListView extends ListView implements OnScrollListener, WaterDropListViewHeader.IStateChangedListener {
private float mLastY = -1; // save event y
private Scroller mScroller; // used for scroll back
private OnScrollListener mScrollListener; // user's scroll listener
// the interface to trigger refresh and load more.
private IWaterDropListViewListener mListViewListener;
// -- header view
private WaterDropListViewHeader mHeaderView;
// header view content, use it to calculate the Header's height. And hide it
// when disable pull refresh.
// private RelativeLayout mHeaderViewContent;
private boolean mEnablePullRefresh = true;
// private boolean mPullRefreshing = false; // is refreashing.
// -- footer view
private WaterDropListViewFooter mFooterView;
private boolean mEnablePullLoad;
private boolean mPullLoading;
private boolean mIsFooterReady = false;
// total list items, used to detect is at the bottom of listview.
private int mTotalItemCount;
// for mScroller, scroll back from header or footer.
private ScrollBack mScrollBack;
private boolean isTouchingScreen = false;//手指是否触摸屏幕
// private int mStretchHeight; // view开始变形的高度
// private int mReadyHeight; // view由stretch变成ready的高度
private final static int SCROLL_DURATION = 400; // scroll back duration
private final static int PULL_LOAD_MORE_DELTA = 50; // when pull up >= 50px
// at bottom, trigger
// load more.
private final static float OFFSET_RADIO = 1.8f; // support iOS like pull
private enum ScrollBack {
header,
footer
} // feature.
/**
* @param context
*/
public WaterDropListView(Context context) {
super(context);
initWithContext(context);
}
public WaterDropListView(Context context, AttributeSet attrs) {
super(context, attrs);
initWithContext(context);
}
public WaterDropListView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
initWithContext(context);
}
private void initWithContext(Context context) {
mScroller = new Scroller(context, new DecelerateInterpolator());
// XListView need the scroll event, and it will dispatch the event to
// user's listener (as a proxy).
super.setOnScrollListener(this);
// init header view
mHeaderView = new WaterDropListViewHeader(context);
mHeaderView.setStateChangedListener(this);
addHeaderView(mHeaderView);
// init footer view
mFooterView = new WaterDropListViewFooter(context);
}
@Override
public void setAdapter(ListAdapter adapter) {
// make sure XListViewFooter is the last footer view, and only add once.
if (mIsFooterReady == false) {
mIsFooterReady = true;
addFooterView(mFooterView);
}
super.setAdapter(adapter);
}
/**
* enable or disable pull down refresh feature.
*
* @param enable
*/
/*public void setPullRefreshEnable(boolean enable) {
mEnablePullRefresh = enable;
if (!mEnablePullRefresh) { // disable, hide the content
mHeaderViewContent.setVisibility(View.INVISIBLE);
} else {
mHeaderViewContent.setVisibility(View.VISIBLE);
}
}*/
/**
* enable or disable pull up load more feature.
*
* @param enable
*/
public void setPullLoadEnable(boolean enable) {
mEnablePullLoad = enable;
if (!mEnablePullLoad) {
mFooterView.hide();
mFooterView.setOnClickListener(null);
} else {
mPullLoading = false;
mFooterView.show();
mFooterView.setState(WaterDropListViewFooter.STATE.normal);
// both "pull up" and "click" will invoke load more.
mFooterView.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
mFooterView.setEnabled(false);
startLoadMore();
}
});
}
}
public void startRefresh() {
if (mHeaderView.getCurrentState() != WaterDropListViewHeader.STATE.refreshing) {
mHeaderView.updateState(WaterDropListViewHeader.STATE.refreshing);
if (!isTouchingScreen) {
resetHeaderHeight();
}
}
}
/**
* stop refresh, reset header view.
*/
public void stopRefresh() {
if (mHeaderView.getCurrentState() == WaterDropListViewHeader.STATE.refreshing) {
mHeaderView.updateState(WaterDropListViewHeader.STATE.end);
if (!isTouchingScreen) {
resetHeaderHeight();
}
}
}
/**
* stop load more, reset footer view.
*/
public void stopLoadMore() {
if (mPullLoading) {
mPullLoading = false;
mFooterView.setState(WaterDropListViewFooter.STATE.normal);
}
mFooterView.setEnabled(true);
}
private void invokeOnScrolling() {
if (mScrollListener instanceof OnXScrollListener) {
OnXScrollListener l = (OnXScrollListener) mScrollListener;
l.onXScrolling(this);
}
}
private void updateHeaderHeight(int height) {
if (mEnablePullRefresh) {
if (mHeaderView.getCurrentState() == WaterDropListViewHeader.STATE.normal && height >= mHeaderView.getStretchHeight()) {
//由normal变成stretch的逻辑:1、当前状态是normal;2、下拉头达到了stretchheight的高度
mHeaderView.updateState(WaterDropListViewHeader.STATE.stretch);
} else if (mHeaderView.getCurrentState() == WaterDropListViewHeader.STATE.stretch && height >= mHeaderView.getReadyHeight()) {
//由stretch变成ready的逻辑:1、当前状态是stretch;2、下拉头达到了readyheight的高度
mHeaderView.updateState(WaterDropListViewHeader.STATE.ready);
} else if (mHeaderView.getCurrentState() == WaterDropListViewHeader.STATE.stretch && height < mHeaderView.getStretchHeight()) {
// 由stretch变成normal的逻辑:1、当前状态是stretch;2、下拉头高度小于stretchheight的高度
mHeaderView.updateState(WaterDropListViewHeader.STATE.normal);
} else if (mHeaderView.getCurrentState() == WaterDropListViewHeader.STATE.end && height < 2) {
//由end变成normal的逻辑:1、当前状态是end;2、下拉头高度小于一个极小值
mHeaderView.updateState(WaterDropListViewHeader.STATE.normal);
}
/*else{
throw new IllegalStateException("WaterDropListView's state is illegal!");
}*/
}
mHeaderView.setVisiableHeight(height);//动态设置HeaderView的高度
}
private void updateHeaderHeight(float delta) {
int newHeight = (int) delta + mHeaderView.getVisiableHeight();
updateHeaderHeight(newHeight);
}
/**
* reset header view's height.
* 重置headerheight的高度
* 逻辑:1、如果状态处于非refreshing,则回滚到height=0状态2;2、如果状态处于refreshing,则回滚到stretchheight高度
*/
private void resetHeaderHeight() {
int height = mHeaderView.getVisiableHeight();
if (height == 0) {
// not visible.
return;
}
// refreshing and header isn't shown fully. do nothing.
if (mHeaderView.getCurrentState() == WaterDropListViewHeader.STATE.refreshing && height <= mHeaderView.getStretchHeight()) {
return;
}
int finalHeight = 0; // default: scroll back to dismiss header.
// is refreshing, just scroll back to show all the header.
if ((mHeaderView.getCurrentState() == WaterDropListViewHeader.STATE.ready || mHeaderView.getCurrentState() == WaterDropListViewHeader.STATE.refreshing) && height > mHeaderView.getStretchHeight()) {
finalHeight = mHeaderView.getStretchHeight();
}
mScrollBack = ScrollBack.header;
mScroller.startScroll(0, height, 0, finalHeight - height, SCROLL_DURATION);
// trigger computeScroll
invalidate();
}
private void updateFooterHeight(float delta) {
int height = mFooterView.getBottomMargin() + (int) delta;
if (mEnablePullLoad && !mPullLoading) {
if (height > PULL_LOAD_MORE_DELTA) { // height enough to invoke load
// more.
mFooterView.setState(WaterDropListViewFooter.STATE.ready);
} else {
mFooterView.setState(WaterDropListViewFooter.STATE.normal);
}
}
mFooterView.setBottomMargin(height);
// setSelection(mTotalItemCount - 1); // scroll to bottom
}
private void resetFooterHeight() {
int bottomMargin = mFooterView.getBottomMargin();
if (bottomMargin > 0) {
mScrollBack = ScrollBack.footer;
mScroller.startScroll(0, bottomMargin, 0, -bottomMargin, SCROLL_DURATION);
invalidate();
}
}
private void startLoadMore() {
mPullLoading = true;
mFooterView.setState(WaterDropListViewFooter.STATE.loading);
if (mListViewListener != null) {
mListViewListener.onLoadMore();
}
}
@Override
public boolean onTouchEvent(MotionEvent ev) {
if (mLastY == -1) {
mLastY = ev.getRawY();
}
switch (ev.getAction()) {
case MotionEvent.ACTION_DOWN:
mLastY = ev.getRawY();
isTouchingScreen = true;
break;
case MotionEvent.ACTION_MOVE:
final float deltaY = ev.getRawY() - mLastY;
mLastY = ev.getRawY();
if (getFirstVisiblePosition() == 0 && (mHeaderView.getVisiableHeight() > 0 || deltaY > 0)) {
// the first item is showing, header has shown or pull down.
updateHeaderHeight(deltaY / OFFSET_RADIO);
invokeOnScrolling();
} else if (getLastVisiblePosition() == mTotalItemCount - 1 && (mFooterView.getBottomMargin() > 0 || deltaY < 0)) {
// last item, already pulled up or want to pull up.
updateFooterHeight(-deltaY / OFFSET_RADIO);
}
break;
default:
mLastY = -1; // reset
isTouchingScreen = false;
//TODO 存在bug:当两个if的条件都满足的时候,只能滚动一个,所以在reSetHeader的时候就不起作用了,一般就只会reSetFooter
if (getFirstVisiblePosition() == 0) {
resetHeaderHeight();
}
if (getLastVisiblePosition() == mTotalItemCount - 1) {
// invoke load more.
if (mEnablePullLoad && mFooterView.getBottomMargin() > PULL_LOAD_MORE_DELTA) {
startLoadMore();
}
resetFooterHeight();
}
break;
}
return super.onTouchEvent(ev);
}
@Override
public void computeScroll() {
if (mScroller.computeScrollOffset()) {
if (mScrollBack == ScrollBack.header) {
updateHeaderHeight(mScroller.getCurrY());
if (mScroller.getCurrY() < 2 && mHeaderView.getCurrentState() == WaterDropListViewHeader.STATE.end) {
//停止滚动了
//逻辑:如果header范围进入了一个极小值内,且当前的状态是end,就把状态置成normal
mHeaderView.updateState(WaterDropListViewHeader.STATE.normal);
}
} else {
mFooterView.setBottomMargin(mScroller.getCurrY());
}
postInvalidate();
invokeOnScrolling();
}
super.computeScroll();
}
@Override
public void setOnScrollListener(OnScrollListener l) {
mScrollListener = l;
}
@Override
public void onScrollStateChanged(AbsListView view, int scrollState) {
if (mScrollListener != null) {
mScrollListener.onScrollStateChanged(view, scrollState);
}
}
@Override
public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
// send to user's listener
mTotalItemCount = totalItemCount;
if (mScrollListener != null) {
mScrollListener.onScroll(view, firstVisibleItem, visibleItemCount, totalItemCount);
}
}
@Override
public void notifyStateChanged(WaterDropListViewHeader.STATE oldState, WaterDropListViewHeader.STATE newState) {
if (newState == WaterDropListViewHeader.STATE.refreshing) {
if (mListViewListener != null) {
mListViewListener.onRefresh();
}
}
}
public void setWaterDropListViewListener(IWaterDropListViewListener l) {
mListViewListener = l;
}
/**
* you can listen ListView.OnScrollListener or this one. it will invoke onXScrolling when header/footer scroll back.
*/
public interface OnXScrollListener extends OnScrollListener {
public void onXScrolling(View view);
}
/**
* implements this interface to get refresh/load more event.
*/
public interface IWaterDropListViewListener {
public void onRefresh();
public void onLoadMore();
}
}
| [
"lishouxian@comisys.net"
] | lishouxian@comisys.net |
8607454b321722fec4a6dd305be7587c288da205 | 6fc5b637d6d7e1853d0b0e92d109755fc7ef4886 | /LCServer/src/main/java/com/awakenguys/kmitl/ladkrabangcountry/VanStationRepo.java | bc5cc07c66d1999ea48c646a10adf027ea2b1f34 | [] | no_license | CE-KMITL-OOAD-2015/Ladkrabang-Country | f3bbbd2d553b8932f6598d367246fc5c2aa07e70 | eee4258e39c9015fbdce82a02139b8d3a518f570 | refs/heads/master | 2020-05-13T05:45:47.077847 | 2015-11-19T21:01:25 | 2015-11-19T21:02:37 | 41,353,554 | 2 | 0 | null | 2015-10-15T16:16:23 | 2015-08-25T08:46:44 | Java | UTF-8 | Java | false | false | 573 | java | package com.awakenguys.kmitl.ladkrabangcountry;
import com.awakenguys.kmitl.ladkrabangcountry.model.Van_Station;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import java.util.List;
@RepositoryRestResource(collectionResourceRel = "van_stations", path = "van_stations")
public interface VanStationRepo extends MongoRepository<Van_Station, String> {
List<Van_Station> findByName(@Param("name") String name);
}
| [
"x_zeed_kz@hotmail.com"
] | x_zeed_kz@hotmail.com |
e00bc791ac5417d81ebcd0670d081c42ebfa5793 | 499056472528f2379f25c2fe2318c18f6213d785 | /src/main/java/com/ya/yaevent/security/Http401UnauthorizedEntryPoint.java | d4870937cd8d6b2e5ddf5a2bb903793cc6560457 | [] | no_license | alefebvre-fixit/ya-event | 7298d50c0be6d331b3128174e73610d36ae6d6a4 | 4e1dc7100db57dc8c266d7de6f6cd05b23741c5b | refs/heads/master | 2021-01-10T14:23:13.941114 | 2017-07-21T15:42:34 | 2017-07-21T15:42:34 | 49,549,026 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,107 | java | package com.ya.yaevent.security;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.AuthenticationEntryPoint;
import org.springframework.stereotype.Component;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* Returns a 401 error code (Unauthorized) to the client.
*/
@Component
public class Http401UnauthorizedEntryPoint implements AuthenticationEntryPoint {
private final Logger log = LoggerFactory.getLogger(Http401UnauthorizedEntryPoint.class);
/**
* Always returns a 401 error code to the client.
*/
@Override
public void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException arg2)
throws IOException,
ServletException {
log.debug("Pre-authenticated entry point called. Rejecting access");
response.sendError(HttpServletResponse.SC_UNAUTHORIZED, "Access Denied");
}
}
| [
"antoinelefebvre@gmail.com"
] | antoinelefebvre@gmail.com |
14442c6920ad441a29df5cdc294a863a2d530694 | cfb7d5752953dcbccb474c7615876f34e23ad598 | /kaiyanstudy/src/main/java/com/example/zq/kaiyanstudy/MainActivityRecycler.java | 6b4b0988451eca8efceffc94ecd12b280d228cda | [] | no_license | zhangzzqq/CustomExecise | 365e619ab2310b47fa7ef1b58c06325f93723449 | a8ebb17a63c64b417bed70b0e3bb6a01f993817c | refs/heads/master | 2021-01-12T04:24:47.992585 | 2019-05-31T07:17:51 | 2019-05-31T07:17:51 | 77,600,745 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 9,362 | java | package com.example.zq.kaiyanstudy;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.ScrollView;
import java.util.ArrayList;
import java.util.List;
public class MainActivityRecycler extends AppCompatActivity {
private ScrollView scrollView;
private ImageView image;
//记录首次按下的位置
private float mFirstPosition =0;
private DisplayMetrics metrics;
private Boolean mScaling =false;
private static final String TAG = "MainActivity";
private RecyclerView recyclerView;
private List<Integer> data;
private VideoPlayer_recycler adapter;
private ImageView imageView;
private View header;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main_recycler);
initView();
initData();
}
public void initView(){
//获取控件
recyclerView = (RecyclerView) findViewById(R.id.recyclerView);
recyclerView.setLayoutManager(new LinearLayoutManager(this));
adapter = new VideoPlayer_recycler(this,getData());
recyclerView.setAdapter(adapter);
setHeaderView(recyclerView);
//获取屏幕的宽高
metrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(metrics);
adapter.getItemViewType(0);
// //设置图片初始大小,这里设置满屏16:9
// ViewGroup.LayoutParams lp = (ViewGroup.LayoutParams) image.getLayoutParams();
// lp.width = metrics.widthPixels;
// lp.height = metrics.widthPixels*9/16;
// image.setLayoutParams(lp);
}
public void initData(){
adapter.setOnItemTouchListener(new VideoPlayer_recycler.FirstItemTouchListener() {
@Override
public boolean onFirstItemTouch(View view, MotionEvent motionEvent) {
ViewGroup.LayoutParams lp = (ViewGroup.LayoutParams)image.getLayoutParams();
switch (motionEvent.getAction()){
case MotionEvent.ACTION_UP:
//手指离开
mScaling = false;
replyImage();
break;
/**
* getRawX()和getRawY()获得的是相对屏幕的位置,getX()和getY()获得的永远是view的触摸位置坐标
*/
case MotionEvent.ACTION_MOVE:
if(!mScaling){
//attention 不是getScaleY()
if(recyclerView.getScrollY()==0){
//滚动到顶部的时候记录位置,否则正常返回,没有头部 mFirstPositon位置为0
mFirstPosition = motionEvent.getY();
}else {
break;
}
}
//滚动距离乘以一个系数
int distance = (int) ((motionEvent.getY()-mFirstPosition)*0.6);
Log.v(TAG,"distance="+distance);
//当前位置比记录的位置要小,正常返回
if(distance<0){
break;
}
//处理放大
mScaling = true;
lp.width = metrics.widthPixels+distance;
lp.height = (metrics.widthPixels+distance)*9/16;
image.setLayoutParams(lp);
//返回true 表示已经完成触摸事件,不再交给其他处理
return false;
}
return false;
// Log.e(TAG,"first==");
//
// ViewGroup.LayoutParams lp = image.getLayoutParams();
// switch (motionEvent.getAction()){
// case MotionEvent.ACTION_UP:
// mScaling = false;
// replyImage();
// break;
//
// case MotionEvent.ACTION_MOVE:
// if(!mScaling){
// if(recyclerView.getScrollY()==0){
//// mFirstPosition = motionEvent.getY();
// mFirstPosition = 0;
// }else {
// break;
// }
// }
// //滚动距离乘以一个系数
// int distance = (int) ((motionEvent.getY()-mFirstPosition)*0.6);
// Log.v(TAG,"distance="+distance);
// //当前位置比记录的位置要小,正常返回
// if(distance<0){
// break;
// }
// //处理放大
// mScaling = true;
// lp.width = metrics.widthPixels+distance;
// lp.height = (metrics.widthPixels+distance)*9/16;
// image.setLayoutParams(lp);
// //返回true 表示已经完成触摸事件,不再交给其他处理
// return true;
// }
// return false;
}
});
// image.setOnTouchListener(new View.OnTouchListener() {
// @Override
// public boolean onTouch(View view, MotionEvent motionEvent) {
// ViewGroup.LayoutParams lp = image.getLayoutParams();
// switch (motionEvent.getAction()){
// case MotionEvent.ACTION_UP:
// mScaling = false;
// replyImage();
// break;
//
// case MotionEvent.ACTION_MOVE:
// if(!mScaling){
// if(recyclerView.getScrollY()==0){
// mFirstPosition = motionEvent.getY();
// }else {
// break;
// }
// }
// //滚动距离乘以一个系数
// int distance = (int) ((motionEvent.getY()-mFirstPosition)*0.6);
// Log.v(TAG,"distance="+distance);
// //当前位置比记录的位置要小,正常返回
// if(distance<0){
// break;
// }
// //处理放大
// mScaling = true;
// lp.width = metrics.widthPixels+distance;
// lp.height = (metrics.widthPixels+distance)*9/16;
// image.setLayoutParams(lp);
// //返回true 表示已经完成触摸事件,不再交给其他处理
// return true;
// }
// return false;
// }
//
// });
}
private void replyImage() {
final ViewGroup.LayoutParams lp = image.getLayoutParams();
final float w = image.getLayoutParams().width;//图片当前宽度
final float h = image.getLayoutParams().height;//图片当前高度
final float newW = metrics.widthPixels;//图片原宽度
final float newH = metrics.widthPixels*9/16 ;//图片的高度
ValueAnimator anim = ObjectAnimator.ofFloat(0.0F,1.0F).setDuration(200);
anim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
@Override
public void onAnimationUpdate(ValueAnimator valueAnimator) {
float cVal = (float) valueAnimator.getAnimatedValue();
lp.width = (int) (w-(w-newW)*cVal);
lp.height = (int) (h-(h-newH)*cVal);
image.setLayoutParams(lp);
}
});
anim.start();
}
public List<Integer> getData() {
data = new ArrayList<>();
data.add(R.drawable.anim1);
data.add(R.drawable.anim2);
data.add(R.drawable.anim3);
data.add(R.drawable.anim4);
data.add(R.drawable.anim5);
return data;
}
//头部布局
private void setHeaderView(RecyclerView view){
View header = LayoutInflater.from(this).inflate(R.layout.item_video_recycler, view, false);
image = (ImageView) header.findViewById(R.id.iv_head);
adapter.setHeaderView(header);
}
// private void setFooterView(RecyclerView view){
// View footer = LayoutInflater.from(this).inflate(R.layout.footer, view, false);
// adapter.setFooterView(footer);
// }
}
| [
"zhangqihappyzq@163.com"
] | zhangqihappyzq@163.com |
31ef26e30cddadb1f9eb60a1fec7808c3c699aec | 88ffb1adcd4c012f452561bf72da2e3e13892224 | /src/main/java/GuardedSuspension/deadlock/TalkThread.java | cc4b437fcdff43fc9f7c368c068732d9376e44dc | [] | no_license | EasyArch-ls/Designpattern | 02d7c487827e0c5041de6fa7e9c227d40d228b11 | 051fc424af961d671fbbef85e8a869d25fd639e5 | refs/heads/master | 2021-01-07T22:34:58.853659 | 2020-02-22T05:18:29 | 2020-02-22T05:18:29 | 241,839,285 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,008 | java | package GuardedSuspension.deadlock;
import GuardedSuspension.correct.Requst;
import GuardedSuspension.correct.RequstQueue;
/**
* Demo class
*
* @author ls
* @date 20-2-21
*/
public class TalkThread extends Thread {
private final RequstQueue input;
private final RequstQueue output;
public TalkThread(RequstQueue input, RequstQueue output,String name) {
super(name);
this.input = input;
this.output = output;
}
@Override
public void run(){
System.out.println(Thread.currentThread().getName()+" BEGIN:");
for (int i = 0; i <20 ; i++) {
Requst requst=input.getRequst();
System.out.println(Thread.currentThread().getName()+" gets "+requst);
Requst requst1=new Requst(requst.getName()+"!");
System.out.println(Thread.currentThread().getName()+" puts "+requst1);
output.putRequst(requst1);
}
System.out.println(Thread.currentThread().getName()+" END");
}
}
| [
"EasyArch_ls@163.com"
] | EasyArch_ls@163.com |
de2b429d6a39a3051f76a64a096d5390bd4bd14f | 65ead8271796ad0f80a752df014f2385721207cd | /src/com/appspot/livelove/controller/livelove/ViewRegistLiveController.java | dbd1681697ac85df16dfb0b2a5f782928955e26a | [] | no_license | georgenano/live-love | a6ec3fe23c28f0720adcca73c1c130e81a0ae4fe | ab865eae9db595c0530954886d95e498fcb7ca54 | refs/heads/master | 2020-04-23T19:10:18.754083 | 2011-10-10T07:10:56 | 2011-10-10T07:10:56 | 2,252,518 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 779 | java | package com.appspot.livelove.controller.livelove;
import java.util.Calendar;
import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;
public class ViewRegistLiveController extends Controller {
@Override
public Navigation run() throws Exception {
Calendar cal = Calendar.getInstance();
int thisYear = cal.get(Calendar.YEAR);
int thisMonth = cal.get(Calendar.MONTH) + 1;
int thisDay = cal.get(Calendar.DATE);
int dayMaximum = cal.getActualMaximum(Calendar.DAY_OF_MONTH);
requestScope("thisYear", thisYear);
requestScope("thisMonth", thisMonth);
requestScope("thisDay", thisDay);
requestScope("dayMaximum", dayMaximum);
return forward("viewRegistLive.jsp");
}
}
| [
"okada_george@kcf.biglobe.ne.jp"
] | okada_george@kcf.biglobe.ne.jp |
fb3dcf0b1dd0df969586b6b2d26781966a1479d1 | e38d18173741ad89282164e05340d611155bf7dd | /Reversecontroller/src/reversecontroller/Activator.java | 4657206233a5724bf395feea9db5ac5b1ff5fca6 | [] | no_license | santhoshrajan89/Masters_Project_Autonomous_Driving | d3d70b7d1274a05325c5e87987635c47da35b63f | 3dbf7472cedb58ee47257f942cb8c5d6cb197c16 | refs/heads/master | 2021-05-17T23:52:38.480754 | 2020-03-29T11:04:24 | 2020-03-29T11:04:24 | 251,007,856 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 482 | java | package reversecontroller;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class Activator implements BundleActivator {
private static BundleContext context;
static BundleContext getContext() {
return context;
}
public void start(BundleContext bundleContext) throws Exception {
Activator.context = bundleContext;
}
public void stop(BundleContext bundleContext) throws Exception {
Activator.context = null;
}
}
| [
"santhoshrajan89@gmail.com"
] | santhoshrajan89@gmail.com |
b8ea42373b4ae58d62e37eb4c9719aaafd968a26 | 34b0f6131fd9730c6fd92a48d9df0e12122513c7 | /sdk-server/src/main/java/com/spier/listener/StartupListener.java | 9b17a79d0969e9fc06cce4beaf10555be8807c4f | [] | no_license | KangnamJJ/smsTest | 2d0d704fe4a2be2b213e82de29e795d9925ac5c7 | b1dfa34f2e3cda2e19a3a115652217e19d4fd621 | refs/heads/master | 2022-12-17T00:03:57.706617 | 2019-06-11T02:55:03 | 2019-06-11T02:55:03 | 191,279,739 | 0 | 0 | null | 2022-12-06T00:31:42 | 2019-06-11T02:35:06 | Java | UTF-8 | Java | false | false | 12,739 | java | package com.spier.listener;
import java.io.File;
import java.io.IOException;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.ServletContext;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.stereotype.Component;
import org.springframework.web.context.ServletContextAware;
import com.spier.common.bean.db.CountryInfo;
import com.spier.common.bean.db.OperatorInfo;
import com.spier.common.config.GlobalConfig;
import com.spier.service.BussinessCommonService;
import com.spier.service.IAutoInitTable;
import com.spier.service.ICountriesInfoService;
import com.spier.service.IOperatorsInfoService;
import com.spier.service.IPhoneInfoService;
import com.spier.service.IPkgCfgsInfoService;
import com.spier.service.ISimInfoService;
import com.spier.service.ISyncTaskInfoService;
import com.spier.service.IUserInfoService;
import com.spier.service.channel.IChanCfgsInfoService;
import com.spier.service.channel.IChannelInfoService;
import com.spier.service.file.INormalFileService;
import com.spier.service.job.ICPICampaignInfoService;
import com.spier.service.job.ICPIMaterialInfoService;
import com.spier.service.job.ICPIOfferService;
import com.spier.service.referrer.IReferrerService;
import com.spier.service.spot.ISpotInfoService;
import com.spier.service.table.ITableManagerService;
import com.spier.service.task.IScriptInfoService;
import com.spier.service.task.ISyncTaskStatisticsService;
import com.spier.service.task.ITaskInfoService;
import com.spier.service.task.ITaskStatisticsInfoService;
/**
* 程序启动监听,在这里进行初始化工作
* @author GHB
* @version 1.0
* @date 2019.1.10
*/
@Component
public class StartupListener implements ApplicationContextAware,
ServletContextAware, InitializingBean, ApplicationListener<ContextRefreshedEvent> {
@Override
public void afterPropertiesSet() throws Exception {
// TODO Auto-generated method stub
Logger.getAnonymousLogger().log(Level.INFO, "afterPropertiesSet");
}
@Override
public void setServletContext(ServletContext servletContext) {
// TODO Auto-generated method stub
Logger.getAnonymousLogger().log(Level.INFO, "setServletContext");
}
@Override
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
// TODO Auto-generated method stub
}
@Override
public void onApplicationEvent(ContextRefreshedEvent event) {
Logger.getAnonymousLogger().log(Level.INFO,
MessageFormat.format("程序启动,版本号:{0}", GlobalConfig.M_VERSION));
// 初始化工具类
//initCommonUtil();
// 组件加载完成了,在这里进行初始化工作
initPaths();
// 加载数据文件
initFromFiles();
// 注册数据相关服务
registerTableInfo();
// 初始化表
initTables();
}
/*private void initCommonUtil() {
BussinessCommonUtil.getInstance().setCountriesInfoService(mCountriesInfoService);
BussinessCommonUtil.getInstance().setOperatorInfoService(mOperatorsInfoService);
BussinessCommonUtil.getInstance().setScriptInfoService(mScriptInfoService);
}*/
private String mResourcesDir;
private void initPaths() {
mResourcesDir = this.getClass().getClassLoader().getResource("").getPath()+"file";
}
private String getResourcesDir() {
return mResourcesDir;
}
private String mCountriesFileName = "countries.txt";
private String getCountriesFileName() {
return mCountriesFileName;
}
private String mOperatorsFileName = "operators-tab.txt";
private String getOperatorsFileName() {
return mOperatorsFileName;
}
private void initFromFiles() {
initCountriesFile();
initOperatorsFile();
}
@Autowired
private ITableManagerService mTableManagerService;
@Autowired
private ICountriesInfoService mCountriesInfoService;
@Autowired
private IOperatorsInfoService mOperatorsInfoService;
@Autowired
private IChannelInfoService mChanInfoService;
@Autowired
private INormalFileService mNormalFileService;
@Autowired
private IPhoneInfoService mPhoneInfoService;
@Autowired
private IScriptInfoService mScriptInfoService;
@Autowired
private ISimInfoService mSimInfoService;
@Autowired
private ITaskInfoService mTasksInfoService;
@Autowired
private IUserInfoService mUserInfoService;
@Autowired
private ITaskStatisticsInfoService mTaskStatisticsInfoService;
@Autowired
private ISpotInfoService mSpotInfoService;
@Autowired
private ICPIOfferService mCPIOfferInfoService;
@Autowired
private ICPIMaterialInfoService mCPIMaterialService;
@Autowired
private ICPICampaignInfoService mCPICampaignService;
@Autowired
private ISyncTaskInfoService mSyncTaskService;
@Autowired
private ISyncTaskStatisticsService mSyncTaskStatisticsService;
@Autowired
private IChanCfgsInfoService mChanCfgsService;
@Autowired
private IPkgCfgsInfoService mPkgCfgsService;
@Autowired
private IReferrerService mReferrerService;
private static final String M_ITEM_SPLITER = "---";
private List<CountryInfo> mCountries = new ArrayList<CountryInfo>();
private List<CountryInfo> getCountries() {
return mCountries;
}
private void initCountriesFile() {
Logger.getAnonymousLogger().log(Level.INFO, "开始加载国家配置文件……");
// 检查文件是否存在,如果存在则加载进内存,插入数据库
String countriesFile = getResourcesDir() + File.separator + getCountriesFileName();
List<String> lines = null;
try {
lines = FileUtils.readLines(new File(countriesFile), "UTF-8");
} catch (IOException e) {
e.printStackTrace();
}
if(null == lines) {
Logger.getAnonymousLogger().log(Level.SEVERE, "未从国家配置文件中读到内容!!");
return;
}
List<CountryInfo> countries = new ArrayList<CountryInfo>();
for(String line : lines) {
String[] items = line.split(M_ITEM_SPLITER);
if(items.length < 3) {
Logger.getAnonymousLogger().log(Level.SEVERE, MessageFormat.format("行格式有误:【{0}】", line));
continue;
}
CountryInfo country = new CountryInfo();
country.setAbbrevation(items[0]);
country.setChiness(items[1]);
country.setEnglish(items[2]);
countries.add(country);
}
if(!countries.isEmpty()) {
mCountries = countries;
}
Logger.getAnonymousLogger().log(Level.INFO, "国家配置文件加载完成!");
}
private List<OperatorInfo> mOperators = new ArrayList<OperatorInfo>();
private List<OperatorInfo> getOperators() {
return mOperators;
}
private void initOperatorsFile() {
Logger.getAnonymousLogger().log(Level.INFO, "开始加载运营商配置文件……");
String countriesFile = getResourcesDir() + File.separator + getOperatorsFileName();
List<String> lines = null;
try {
lines = FileUtils.readLines(new File(countriesFile), "UTF-8");
} catch (IOException e) {
e.printStackTrace();
}
if(null == lines) {
Logger.getAnonymousLogger().log(Level.SEVERE, "未从国家配置文件中读到内容!!");
return;
}
List<OperatorInfo> operators = new ArrayList<OperatorInfo>();
for(String line : lines) {
if(StringUtils.isEmpty(line)) {
continue;
}
String[] slices = line.split(M_ITEM_SPLITER);
if(slices.length != 3) {
Logger.getAnonymousLogger().log(Level.WARNING,
MessageFormat.format("文本行【{0}】格式不对,无法解析运营商!", line));
continue;
}
String opCode = slices[0];
if(opCode.length() != 5) {
Logger.getAnonymousLogger().log(Level.SEVERE, MessageFormat.format(
"opCode【{0}】格式错误,无法解析MCC和MNC", opCode));
continue;
}
String mcc = opCode.substring(0, 3);
String mnc = opCode.substring(3);
String op = slices[1];
String countryAbb = slices[2];
OperatorInfo info = new OperatorInfo();
info.setCountryAbb(countryAbb);
info.setOperatorName(op);
info.setMCC(mcc);
info.setMNC(mnc);
operators.add(info);
}
if(!operators.isEmpty()) {
mOperators = operators;
}
Logger.getAnonymousLogger().log(Level.INFO, "运营商配置文件加载完成!");
}
private List<IAutoInitTable> mTablesInfo = new ArrayList<IAutoInitTable>();
private void registerTableInfo() {
mTablesInfo.add(mCountriesInfoService);
mTablesInfo.add(mOperatorsInfoService);
mTablesInfo.add(mChanInfoService);
mTablesInfo.add(mNormalFileService);
mTablesInfo.add(mPhoneInfoService);
mTablesInfo.add(mScriptInfoService);
mTablesInfo.add(mSimInfoService);
mTablesInfo.add(mTasksInfoService);
mTablesInfo.add(mUserInfoService);
mTablesInfo.add(mTaskStatisticsInfoService);
mTablesInfo.add(mSpotInfoService);
mTablesInfo.add(mCPIOfferInfoService);
mTablesInfo.add(mCPIMaterialService);
mTablesInfo.add(mCPICampaignService);
mTablesInfo.add(mSyncTaskService);
mTablesInfo.add(mSyncTaskStatisticsService);
mTablesInfo.add(mChanCfgsService);
mTablesInfo.add(mPkgCfgsService);
mTablesInfo.add(mReferrerService);
}
private List<IAutoInitTable> getTableInfo() {
return mTablesInfo;
}
private void initTables() {
// 创建表
//createTables();
// 初始化国家表
initCountiresTab();
// 初始化运营商表
initOperatorsTab();
// 最后清除内存中的数据
clearMem();
}
private void createTables() {
Logger.getAnonymousLogger().log(Level.INFO, "创建表……");
for(IAutoInitTable table : getTableInfo()) {
if(null == table) {
continue;
}
Logger.getAnonymousLogger().log(Level.INFO, MessageFormat.format("创建表【{0}】", table.getTableName()));
// 检查数据库表,没有则创建
if(!mTableManagerService.checkTableExists(table.getTableName())) {
Logger.getAnonymousLogger().log(Level.INFO, MessageFormat.format("表【{0}】不存在,开始创建……", table.getTableName()));
// 创建表
if(!mTableManagerService.createTable(
table.getTableName(), table.getCreateTableSql())) {
Logger.getAnonymousLogger().log(Level.SEVERE,
MessageFormat.format("表【{0}】创建失败!", table.getTableName()));
continue;
}
}
}
Logger.getAnonymousLogger().log(Level.INFO, "创建表完成!");
}
private void initCountiresTab() {
Logger.getAnonymousLogger().log(Level.INFO, "初始化国家表……");
if(getCountries().isEmpty()) {
Logger.getAnonymousLogger().log(Level.INFO, "无数据,停止初始化国家表……");
return;
}
// 更新表
if(mCountriesInfoService.countCountries() != mCountries.size()) {
// 清空表
if(!mTableManagerService.clearTable(mCountriesInfoService.getTableName())) {
Logger.getAnonymousLogger().log(Level.SEVERE, "国家表清空失败,无法初始化国家表");
return;
}
// 插入
for(CountryInfo country : getCountries()) {
if(null == country) {
continue;
}
mCountriesInfoService.addCountry(country);
}
}
Logger.getAnonymousLogger().log(Level.INFO, "国家表初始化完成");
}
private void initOperatorsTab() {
Logger.getAnonymousLogger().log(Level.INFO, "初始化运营商表……");
if(getOperators().isEmpty()) {
Logger.getAnonymousLogger().log(Level.INFO, "无数据,停止初始化运营商表……");
return;
}
int count = mOperatorsInfoService.getOperatorsAmount();
int txtCount = getOperators().size();
if(count != txtCount) {
Logger.getAnonymousLogger().log(Level.INFO, "发现运营商信息有更新,更新运营商信息表……");
// 清空表
if(!mTableManagerService.clearTable(mOperatorsInfoService.getTableName())) {
Logger.getAnonymousLogger().log(Level.SEVERE, "运营商表清空失败,无法更新运营商信息表!");
return;
}
if(!mOperatorsInfoService.addOperatorsBatch(getOperators())) {
Logger.getAnonymousLogger().log(Level.SEVERE, "运营商表更新失败!");
return;
}
Logger.getAnonymousLogger().log(Level.INFO, "运营商信息更新完成!");
}
Logger.getAnonymousLogger().log(Level.INFO, "运营商表初始化完成");
}
private void clearMem() {
getCountries().clear();
getOperators().clear();
}
}
| [
"cjj827635091@163.com"
] | cjj827635091@163.com |
2f43962a59add1afd919c21b85c3afa1bb8ef7e8 | a4b6ed8de6b115db391e7265331046556c1eb40a | /app/src/main/java/com/tnpxu/tuparkinglot/api/responsedata/ParkingDetail.java | ccc94bc98af251fa27e2000c0d2a185b22b72a24 | [] | no_license | tnpxu/tuparkinglot | 1389bfec507ffbdb64dd6f6fb1aad9428753e2b0 | b6cecd754e57c30f5225f11bcd367169fc731c1c | refs/heads/master | 2021-04-28T21:18:12.152328 | 2016-05-17T13:22:13 | 2016-05-17T13:22:13 | 77,774,737 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,237 | java | package com.tnpxu.tuparkinglot.api.responsedata;
import java.util.ArrayList;
import java.util.List;
/**
* Created by tnpxu on 5/6/16 AD.
*/
public class ParkingDetail {
private List<SlotStatus> slotStatusList;
private String parkingStatus;
private String slotSize;
private String carCount;
public List<SlotStatus> getSlotStatusList() {
return slotStatusList;
}
public void setSlotStatusList(List<SlotStatus> slotStatusList) {
this.slotStatusList = slotStatusList;
}
public String getParkingStatus() {
return parkingStatus;
}
public void setParkingStatus(String parkingStatus) {
this.parkingStatus = parkingStatus;
}
public String getSlotSize() {
return slotSize;
}
public void setSlotSize(String slotSize) {
this.slotSize = slotSize;
}
public String getCarCount() {
return carCount;
}
public void setCarCount(String carCount) {
this.carCount = carCount;
}
public ParkingDetail() {
}
public void add(SlotStatus slotStatus){
if(slotStatusList == null){
slotStatusList = new ArrayList<>();
}
slotStatusList.add(slotStatus);
}
}
| [
"tanapatxu@gmail.com"
] | tanapatxu@gmail.com |
2e111ae0691df42cd02a2be6ae4594ae3e7e4127 | da99ab7484847434f1c7d9577db59a287357ad99 | /src/main/java/ua/com/foxminded/university/model/Teacher.java | 0d8050bd0544e33197fe0c634a568f1e88048d56 | [] | no_license | YaroslavHrab/CI-CD-Test-with-University | cb323ac3339d5521466c88fbddd2b260b474b57f | 6aa60c2ab212ca490e2f6d2e0c35fa2b2758e19f | refs/heads/main | 2023-07-25T05:58:04.173293 | 2021-08-29T10:53:14 | 2021-08-29T10:53:14 | 388,828,982 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,370 | java | package ua.com.foxminded.university.model;
import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@Entity
@Table(name = "teachers")
public class Teacher {
@Column(name = "teacher_first_name")
@NotBlank(message = "Teacher name can`t be empty")
@Size(min = 2, max = 20, message = "Teacher name length must be from 2 to 20 digits")
@Pattern(regexp = "[A-Z]{1}[a-z]+", message = "Teacher name must begin with A-Z and contain only letters")
private String name;
@Column(name = "teacher_last_name")
@NotBlank(message = "Teacher surname can`t be empty")
@Size(min = 2, max = 20, message = "Teacher surname length must be from 2 to 20 digits")
@Pattern(regexp = "[A-Z]{1}[a-z]+", message = "Teacher surname must begin with A-Z and contain only letters")
private String surname;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "teacher_id")
private Long id;
public Teacher() {
}
public Teacher(String name, String surname) {
this.name = name;
this.surname = surname;
}
@Override
public String toString() {
return String.format("%s %s", name, surname);
}
}
| [
"hrab.yaroslav@gmail.com"
] | hrab.yaroslav@gmail.com |
17f9f66f5b0c5b6af4b865a049aec2fd3e5e5e5e | 786f338203631c7557fab24ab02f0fd3c1c2597e | /floj-core/src/test/java/org/floj/core/PostgresFullPrunedBlockChainTest.java | f324b9364b0e3c0de601bfe81435cf4329bb45b2 | [
"Apache-2.0"
] | permissive | floj-org/floj | 818aaa7946742a5312b375fda2603b45ed659582 | f9397e1ad83ebb950e7bc869aa2910ffd3018bb5 | refs/heads/master | 2020-03-23T00:29:36.655039 | 2018-07-18T17:57:47 | 2018-07-18T17:57:47 | 140,866,820 | 1 | 2 | Apache-2.0 | 2018-07-18T17:57:48 | 2018-07-13T15:57:24 | Java | UTF-8 | Java | false | false | 2,683 | java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.floj.core;
import org.floj.core.NetworkParameters;
import org.floj.store.BlockStoreException;
import org.floj.store.FullPrunedBlockStore;
import org.floj.store.PostgresFullPrunedBlockStore;
import org.junit.After;
import org.junit.Ignore;
import org.junit.Test;
/**
* A Postgres implementation of the {@link AbstractFullPrunedBlockChainTest}
*/
@Ignore("enable the postgres driver dependency in the maven POM")
public class PostgresFullPrunedBlockChainTest extends AbstractFullPrunedBlockChainTest
{
// Replace these with your postgres location/credentials and remove @Ignore to test
// You can set up a fresh postgres with the command: create user bitcoinj superuser password 'password';
private static final String DB_HOSTNAME = "localhost";
private static final String DB_NAME = "floj_test";
private static final String DB_USERNAME = "floj";
private static final String DB_PASSWORD = "password";
private static final String DB_SCHEMA = "blockstore_schema";
// whether to run the test with a schema name
private boolean useSchema = false;
@After
public void tearDown() throws Exception {
((PostgresFullPrunedBlockStore)store).deleteStore();
}
@Override
public FullPrunedBlockStore createStore(NetworkParameters params, int blockCount)
throws BlockStoreException {
if(useSchema) {
return new PostgresFullPrunedBlockStore(params, blockCount, DB_HOSTNAME, DB_NAME, DB_USERNAME, DB_PASSWORD, DB_SCHEMA);
}
else {
return new PostgresFullPrunedBlockStore(params, blockCount, DB_HOSTNAME, DB_NAME, DB_USERNAME, DB_PASSWORD);
}
}
@Override
public void resetStore(FullPrunedBlockStore store) throws BlockStoreException {
((PostgresFullPrunedBlockStore)store).resetStore();
}
@Test
public void testFirst100kBlocksWithCustomSchema() throws Exception {
boolean oldSchema = useSchema;
useSchema = true;
try {
super.testFirst100KBlocks();
} finally {
useSchema = oldSchema;
}
}
}
| [
"ray_engelking@hotmail.com"
] | ray_engelking@hotmail.com |
6d2740abd408750c3cd0e6627c4a02b6bd2e4e8f | 88e4c2a0f6e9097efe89b47612509f32b79badb8 | /src/main/java/com/alipay/api/response/MybankFinanceYulibaoAccountQueryResponse.java | 35b772895c00369a03712a2014e7d6eaf96e238c | [] | no_license | xushaomin/alipay-sdk-java | 15f8e311b6ded9a565f473cd732e2747ed33d8b0 | a03324a1ddc6eb3469c18f831512d5248bc98461 | refs/heads/master | 2020-06-15T13:26:40.913354 | 2016-12-01T12:23:27 | 2016-12-01T12:23:27 | 75,289,929 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,024 | java | package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.domain.YLBProfitDetailInfo;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: mybank.finance.yulibao.account.query response.
*
* @author auto create
* @since 1.0, 2016-11-01 10:11:31
*/
public class MybankFinanceYulibaoAccountQueryResponse extends AlipayResponse {
private static final long serialVersionUID = 5263242882339771152L;
/**
* 可用份额,单位为元
*/
@ApiField("available_amount")
private String availableAmount;
/**
* 业务冻结份额,单位为元
*/
@ApiField("freeze_amount")
private String freezeAmount;
/**
* 系统冻结份额,单位为元(建议不展示给用户)
*/
@ApiField("sys_freeze_amount")
private String sysFreezeAmount;
/**
* 余利宝总余额,单位为元
*/
@ApiField("total_amount")
private String totalAmount;
/**
* 余利宝收益详情
*/
@ApiField("ylb_profit_detail_info")
private YLBProfitDetailInfo ylbProfitDetailInfo;
public void setAvailableAmount(String availableAmount) {
this.availableAmount = availableAmount;
}
public String getAvailableAmount( ) {
return this.availableAmount;
}
public void setFreezeAmount(String freezeAmount) {
this.freezeAmount = freezeAmount;
}
public String getFreezeAmount( ) {
return this.freezeAmount;
}
public void setSysFreezeAmount(String sysFreezeAmount) {
this.sysFreezeAmount = sysFreezeAmount;
}
public String getSysFreezeAmount( ) {
return this.sysFreezeAmount;
}
public void setTotalAmount(String totalAmount) {
this.totalAmount = totalAmount;
}
public String getTotalAmount( ) {
return this.totalAmount;
}
public void setYlbProfitDetailInfo(YLBProfitDetailInfo ylbProfitDetailInfo) {
this.ylbProfitDetailInfo = ylbProfitDetailInfo;
}
public YLBProfitDetailInfo getYlbProfitDetailInfo( ) {
return this.ylbProfitDetailInfo;
}
}
| [
"xushaomin@foxmail.com"
] | xushaomin@foxmail.com |
f096e89ee751805771c1d5a8c504ff8d9a82f831 | ed146e538a0b4a2f1e7ed7ddc27a33826b8c96b8 | /SimpleCalculator/src/net/jcornelio/projects/calculator/listeners/ResultActionListener.java | d7efa1245abadb78a0104f9061a3e98074f95237 | [] | no_license | JuanCornelioGuzman/astounding-adventure | 3e9fe4147dba63a471604b0544ae6a0fc289f94c | a65e6f940dfc7d9f142309242c756803f44f8e99 | refs/heads/master | 2021-05-16T03:07:00.456487 | 2017-02-16T16:24:08 | 2017-02-16T16:24:08 | 19,778,110 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 877 | java | package net.jcornelio.projects.calculator.listeners;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import net.jcornelio.projects.calculator.controllers.ScreenController;
import net.jcornelio.projects.calculator.domain.Expression;
import net.jcornelio.projects.calculator.logic.ComputationPerformer;
/***************************************************
* @author: Juan Cornelio S. Guzman
* @since: Sep 18, 2013
* @version: 1.0
**************************************************/
public class ResultActionListener implements ActionListener{
@Override
public void actionPerformed(ActionEvent e) {
ComputationPerformer.calculateExpresion(ScreenController.getInstance().getDisplayedText());
ScreenController.getInstance().display(Expression.getInstance().getResult());
Expression.getInstance().clearAll();
}
}
| [
"jcornelio.guzman@gmail.com"
] | jcornelio.guzman@gmail.com |
6e75371c3c595bde0f31b4fb73f47e03750e16f1 | dc1842a888cdd5abc8933b49c8223626f06607ee | /K12IF/src/com/aplus/k12if/user/RegisterValidCode.java | 90c9c500fdae00da60d3a55aeabd9408edf8b084 | [] | no_license | RJDream/kif | 5e6d941105af3f5d578edaf2828c73216daa4b41 | f85fb07499533406de4478a1e8ee7493ea9466bd | refs/heads/master | 2021-05-03T17:42:06.513643 | 2018-02-06T12:32:22 | 2018-02-06T12:32:22 | 120,452,971 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 5,160 | java | /**
* Id: RegisterValidCode.java, v1.0 2015-8-14 下午3:15:20 Sunshine Exp
*
* Copyright (c) 2012 ChinaSoft International, Ltd. All rights reserved
*
*/
package com.aplus.k12if.user;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
import com.aplus.bo.Phone;
import com.aplus.utils.PhoneUtils;
import com.aplus.utils.SendSms;
import com.aplus.utils.StringUtils;
import com.aplus.v1.framework.Constants;
import com.aplus.v1.framework.annotation.AutoInterface;
import com.aplus.v1.framework.config.Config;
import com.aplus.v1.framework.interf.NoneTransactionInterfaceBase;
import com.aplus.v1.framework.protocol.request.IFRequestData;
import com.aplus.v1.framework.protocol.request.IFRequestMessage;
/**
* ------------------------------------------------------------
* <p>Title:@RegisterValidCode.java </p>
* <p>Description:
* 用户验证码获取接口
* </p>
* <p>Copyright: Copyright (c) 2015</p>
* <p>Company: 成都艾尔帕思科技有限公司</p>
* <p>Project: K12</p>
* @author 徐易<594642389@qq.com>
* @version 1.0
* @date 2015-8-14
* ------------------------------------------------------------
*/
@AutoInterface(id="IF00010002",versions="V1000",des="用户验证码获取接口")
public class RegisterValidCode extends NoneTransactionInterfaceBase {
// 用户注册时,验证码存放Map
public static Map<String, Phone> validCodes = new HashMap<String, Phone>();
// 异常配置文件
Config config = Config.getInstance("k12_ex");
// TODO 验证码Map 定时清理机制
static String SMS_TEPMLATE = "欢迎来到文昊校园平台,您的验证码为:{0},有效时间为90秒!";
/*
* (非 Javadoc) <p>Title: execute</p> <p>Description: </p>
*
* @param tmb
*
* @return
*
* @see
* com.aplus.v1.framework.interf.NoneTransactionInterfaceBase#execute(com
* .aplus.v1.framework.protocol.request.IFRequestMessage)
*/
@SuppressWarnings("unchecked")
@Override
public String execute(IFRequestMessage tmb) {
IFRequestData data = getBody(tmb);
Map<String, Object> ifData = ((HashMap<String, Object>) data.get("data"));
String phoneNumber = ifData.get("phone").toString();
// 防短信轰炸及机器验证拦截过滤(24 小时内不能超过5次)
if (PhoneUtils.checkSendNumber(phoneNumber)) {
head.setRet(Constants.RET_E);
head.setErrMsg("你已重复发送5条验证码,超过发送上限,请24小时后再重新获取验证码!");
return ret();
}
// 防短信轰炸及机器验证拦截过滤(90 秒验证)
if (validCodes.containsKey(phoneNumber)) {
Phone p = validCodes.get(phoneNumber);
// 在有效期内,不能重复发送短信
if (p.checkValidTime()) {
head.setRet(Constants.RET_E);
head.setErrMsg("请勿重复发送短信!");
return ret();
}
}
try {
RegisterMember member = new RegisterMember();
// 注册唯一性检查
if (!member.checkMemberPhoneOnly(phoneNumber)) {
head.setRet(Constants.RET_E);
head.setErrCode("Ex010302");
head.setErrMsg(config.get("Ex010302"));
return ret();
}
// 生成随机码
String key = this.create4BitValidCode();
String[] phone = new String[]{phoneNumber};
Object[] params = {key};
String result = SendSms.sendMessage(StringUtils.format(SMS_TEPMLATE, params) , phone);
Map<String, String> map = SendSms.parserResult(result);
if (map.get(SendSms.RESULT).equals("0")) {
Phone p = new Phone();
p.setTel(phoneNumber);
p.setSendTime(System.currentTimeMillis());
p.setCode(key);
PhoneUtils.recordSendNumber(p);
validCodes.put(phoneNumber, p);
head.setRet(Constants.RET_S);
// 测试用代码
//ifdata.put("code", key);
} else {
head.setRet(Constants.RET_E);
head.setErrMsg(map.get(SendSms.DESCRIPTION));
}
} catch (Exception e) {
head.setRet(Constants.RET_E);
head.setErrMsg("获取验证码失败:" + e.getMessage());
}
return ret();
}
/**
* <p>方法描述: 生成4位数验证码 </p>
* @return
* @return String
* 2015-8-14 下午3:48:04
*/
private String create4BitValidCode(){
return this.createValidCode(4);
}
/**
* <p>方法描述: 生成6位数验证码 </p>
* @return
* @return String
* 2015-8-14 下午3:48:12
*/
private String create6BitValidCode() {
return this.createValidCode(6);
}
/**
* <p>方法描述: 生成指定位数的验证 </p>
* @param bit
* @return
* @return String
* 2015-8-14 下午3:44:26
*/
private String createValidCode(int bit) {
String str = "0,1,2,3,4,5,6,7,8,9";
String str2[] = str.split(",");// 将字符串以,分割
Random rand = new Random();// 创建Random类的对象rand
int index = 0;
String randStr = "";// 创建内容为空字符串对象randStr
for (int i = 0; i < bit; ++i) {
index = rand.nextInt(str2.length - 1);// 在0到str2.length-1生成一个伪随机数赋值给index
randStr += str2[index];// 将对应索引的数组与randStr的变量值相连接
}
return randStr;
}
public static void main(String[] args){
// RegisterValidCode.create6BitValidCode();
}
}
| [
"renjie.li@accenture.com"
] | renjie.li@accenture.com |
da2fc02607a1fab7628cf69ad75d3e4c2bed5632 | 39854fb04796055a2d157769f43362b59ee9a00c | /DioriteAPI/src/main/java/org/diorite/material/blocks/others/GlassPaneMat.java | ef8359b698a9a73f4865442eba2909d83a1a54c0 | [
"MIT"
] | permissive | tpacce/Diorite | 35ed8d0dfd114e8b26afe058494405b6650de9ec | 3828c65422e5c04e12ae306c9baebb7227d50ae1 | refs/heads/master | 2021-01-21T01:34:53.059367 | 2015-09-12T12:30:49 | 2015-09-12T12:30:49 | 42,354,127 | 1 | 0 | null | 2015-09-12T11:05:34 | 2015-09-12T11:05:34 | null | UTF-8 | Java | false | false | 3,088 | java | package org.diorite.material.blocks.others;
import java.util.Map;
import org.diorite.material.BlockMaterialData;
import org.diorite.material.blocks.FenceMat;
import org.diorite.utils.collections.maps.CaseInsensitiveMap;
import gnu.trove.map.TByteObjectMap;
import gnu.trove.map.hash.TByteObjectHashMap;
/**
* Class representing block "GlassPane" and all its subtypes.
*/
public class GlassPaneMat extends BlockMaterialData implements FenceMat
{
/**
* Sub-ids used by diorite/minecraft by default
*/
public static final int USED_DATA_VALUES = 1;
public static final GlassPaneMat GLASS_PANE = new GlassPaneMat();
private static final Map<String, GlassPaneMat> byName = new CaseInsensitiveMap<>(USED_DATA_VALUES, SMALL_LOAD_FACTOR);
private static final TByteObjectMap<GlassPaneMat> byID = new TByteObjectHashMap<>(USED_DATA_VALUES, SMALL_LOAD_FACTOR, Byte.MIN_VALUE);
@SuppressWarnings("MagicNumber")
protected GlassPaneMat()
{
super("GLASS_PANE", 102, "minecraft:glass_pane", "GLASS_PANE", (byte) 0x00, 0.3f, 1.5f);
}
protected GlassPaneMat(final String enumName, final int id, final String minecraftId, final int maxStack, final String typeName, final byte type, final float hardness, final float blastResistance)
{
super(enumName, id, minecraftId, maxStack, typeName, type, hardness, blastResistance);
}
@Override
public GlassPaneMat getType(final String name)
{
return getByEnumName(name);
}
@Override
public GlassPaneMat getType(final int id)
{
return getByID(id);
}
/**
* Returns one of GlassPane sub-type based on sub-id, may return null
*
* @param id sub-type id
*
* @return sub-type of GlassPane or null
*/
public static GlassPaneMat getByID(final int id)
{
return byID.get((byte) id);
}
/**
* Returns one of GlassPane sub-type based on name (selected by diorite team), may return null
* If block contains only one type, sub-name of it will be this same as name of material.
*
* @param name name of sub-type
*
* @return sub-type of GlassPane or null
*/
public static GlassPaneMat getByEnumName(final String name)
{
return byName.get(name);
}
/**
* Register new sub-type, may replace existing sub-types.
* Should be used only if you know what are you doing, it will not create fully usable material.
*
* @param element sub-type to register
*/
public static void register(final GlassPaneMat element)
{
byID.put((byte) element.getType(), element);
byName.put(element.getTypeName(), element);
}
@Override
public GlassPaneMat[] types()
{
return GlassPaneMat.glassPaneTypes();
}
/**
* @return array that contains all sub-types of this block.
*/
public static GlassPaneMat[] glassPaneTypes()
{
return byID.values(new GlassPaneMat[byID.size()]);
}
static
{
GlassPaneMat.register(GLASS_PANE);
}
}
| [
"bartlomiejkmazur@gmail.com"
] | bartlomiejkmazur@gmail.com |
3fd384166b1b5dbf60156c2b3f1263b1cda808e9 | a4fc7cacd46f25cec05103bb7d9b48a773f14591 | /src/main/java/models/User.java | 09dd267abbedcba1fcd3e96e37be691f42cd7e14 | [] | no_license | Robinhiio/spring-user-test | fc7c56714f33126c257dc32b9cffa66e924320b7 | 4a4a6d6881fbc6a5d98381a151b251520fe02ac5 | refs/heads/master | 2020-03-20T19:39:36.356205 | 2018-06-17T12:26:20 | 2018-06-17T12:26:20 | 137,647,579 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 844 | java | package models;
import lombok.Data;
import javax.persistence.*;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;
import java.util.Set;
@Entity
@Data
public class User {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private long id;
@Email(message = "please provide a valid email")
@NotEmpty(message = "please provide an email")
private String email;
@Transient
private String password;
@NotEmpty(message = "please provide your name")
private String name;
@NotEmpty(message = "please provide your lastname")
private String lastName;
@ManyToMany(cascade = CascadeType.ALL)
@JoinTable(name = "user_role", joinColumns = @JoinColumn(name = "user_id"), inverseJoinColumns = @JoinColumn(name = "role_id"))
private Set<Role> roles;
}
| [
"Robinhiio@hotmail.com"
] | Robinhiio@hotmail.com |
46fd81232216bd4ee0aa65a29288856459b63f35 | ed24039720ae042610c6372f8733d94a40495be7 | /org/MasterSwings/BaseMasterSwings/src/org/masterswings/base/view/BaseMasterSwingsPanel.java | 6a09ecd47c9984b749c6a5a837efcda81411dc57 | [] | no_license | amitkshirsagar13/Study | a716a97944ac2f882419e3021fc539acb8f8abce | 5c8b0a7686bacb551432c856ac75cc2118db67b8 | refs/heads/master | 2022-05-10T20:46:38.959138 | 2022-03-03T18:09:23 | 2022-03-03T18:09:23 | 33,051,857 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 6,251 | java | /**
* <p>
* <b>Overview:</b>
* <p>
*
*
* <pre>
* Creation date: Jan 17, 2014
* @author Amit Kshirsagar
* @email amit.kshirsagar.13@gmail.com
* @version 1.0
* @since
*
* <p><b>Modification History:</b><p>
*
*
* </pre>
*/
package org.masterswings.base.view;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.LayoutManager;
import java.io.File;
import java.io.IOException;
import java.util.List;
import javax.imageio.ImageIO;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JTextField;
import org.apache.log4j.Logger;
import org.masterswings.base.actions.BaseComponantActions;
import org.masterswings.base.actions.BaseMasterSwingsContants;
import org.masterswings.builder.ButtonBuilder;
import org.masterswings.builder.LabelBuilder;
import org.masterswings.builder.TextBoxBuilder;
import org.masterswings.componants.Button;
import org.masterswings.componants.Label;
import org.masterswings.componants.TextBox;
public class BaseMasterSwingsPanel extends BaseComponantActions implements
BaseMasterSwingsContants, Runnable {
Logger _log = Logger.getLogger(BaseMasterSwingsPanel.class.getName());
private void logMessage(String message, Throwable exception) {
if (exception != null) {
_log.error(message, exception);
} else {
_log.info(message);
}
}
private void debug(String message) {
_log.debug(message);
}
private BaseMasterSwingsFrame _mainFrame = null;
/**
* @param applicationName
*/
public BaseMasterSwingsPanel(LayoutManager layoutManager,
BaseMasterSwingsFrame mainFrame) {
super(layoutManager);
_mainFrame = mainFrame;
}
public JPanel getTab() {
return this;
}
protected JPanel _infoPanel = null;
protected JPanel _centerPanel = null;
protected JPanel _buttonPanel = null;
public void buildForm() {
loadInfoPanel();
loadCenterPanel();
loadButtonPanel();
}
public void loadInfoPanel() {
_infoPanel = new JPanel(new FlowLayout(FlowLayout.LEFT, 50, 25));
List<Label> labelList = LabelBuilder
.getLabelsForPanel("BASEMASTERSWINGSPANEL");
LabelBuilder.addLabelsToPanel(_infoPanel, labelList, this);
this.add(_infoPanel, BorderLayout.NORTH);
}
public void loadCenterPanel() {
_centerPanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
_centerPanel.setBorder(BorderFactory.createLoweredBevelBorder());
List<TextBox> textBoxList = TextBoxBuilder
.getTextBoxsForPanel("BASEMASTERSWINGSPANEL");
addTextBoxsToPanel(_centerPanel, textBoxList);
this.add(_centerPanel, BorderLayout.CENTER);
}
public void loadButtonPanel() {
_buttonPanel = new JPanel(new FlowLayout());
List<Button> buttonList = ButtonBuilder
.getButtonsForPanel("BASEMASTERSWINGSPANEL");
try {
addButtonsToPanel(_buttonPanel, buttonList);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
this.add(_buttonPanel, BorderLayout.SOUTH);
}
/**
* @param controlPanel
* @param buttonList
* @throws IOException
*/
public void addButtonsToPanel(JPanel controlPanel, List<Button> buttonList)
throws IOException {
for (int i = 0; i < buttonList.size(); i++) {
Button button = buttonList.get(i);
if (!buttonMap.containsKey(button.getButtonName())) {
JButton jButton = new JButton(button.getButtonName());
jButton.setName(button.getButtonName());
jButton.setActionCommand(button.getButtonAction());
jButton.addActionListener(this);
if (button.getButtonImage() != null) {
jButton.setIcon(ButtonBuilder.getScaledIcon(
ImageIO.read(new File("./images/"
+ button.getButtonImage())), 0.5));
} else {
jButton.setText(button.getButtonName());
}
jButton.setToolTipText(button.getButtonToolTip().toString());
if (button.getButtonDisabled() != null
&& button.getButtonDisabled().equalsIgnoreCase(
"Disabled")) {
jButton.setEnabled(false);
}
buttonMap.put(jButton.getName(), jButton);
controlPanel.add(jButton);
}
}
}
/**
* @param controlPanel
* @param buttonList
*/
public void addTextBoxsToPanel(JPanel controlPanel, List<TextBox> labelList) {
for (int i = 0; i < labelList.size(); i++) {
TextBox textBox = labelList.get(i);
if (!formMap.containsKey(textBox.getTextBoxName())) {
JTextField jTextBox = new JTextField(textBox.getTextBoxName());
jTextBox.setName(textBox.getTextBoxName());
jTextBox.setText(textBox.getTextBoxToolTip());
jTextBox.addMouseListener(this);
jTextBox.setToolTipText(textBox.getTextBoxToolTip());
formMap.put(jTextBox.getName(), jTextBox);
controlPanel.add(jTextBox);
}
}
}
private String executingCommand = "Executing Command: ";
@Override
public void executeOk() {
debug(executingCommand + OK);
setStatusBarMessage(executingCommand + OK);
waitSomeTime();
setProgressStatus(50);
}
@Override
public void executeCancel() {
debug(executingCommand + CANCEL);
setStatusBarMessage(executingCommand + CANCEL);
setProgressStatus(25);
}
@Override
public void executeReset() {
debug(executingCommand + RESET);
setStatusBarMessage(executingCommand + RESET);
setProgressStatus(0);
}
@Override
public void executeSubmit() {
debug(executingCommand + SUBMIT);
setStatusBarMessage(executingCommand + SUBMIT);
setProgressStatus(100);
}
@Override
public void executeAdd() {
debug(executingCommand + ADD);
}
@Override
public void executeRemove() {
debug(executingCommand + REMOVE);
}
@Override
public void executeDuplicate() {
debug(executingCommand + DUPLICATE);
}
public void setStatusBarMessage(String statusMessage) {
_mainFrame.setStatusBarMessage(statusMessage);
debug(statusMessage);
}
public void setProgressStatus(int progressStatus) {
_mainFrame.setProgressStatus(progressStatus);
}
/*
* (non-Javadoc)
*
* @see java.lang.Runnable#run()
*/
@Override
public void run() {
debug("Running Some Thing...");
waitSomeTime();
}
}
| [
"amit.kshirsagar.13@gmail.com@00bf6314-d853-5732-4094-fd89616d7e70"
] | amit.kshirsagar.13@gmail.com@00bf6314-d853-5732-4094-fd89616d7e70 |
369ad9c413a3c87f8e180cfe2fd81c9603f96005 | 2e6ceb3c12044190a270821b9301293ee82eda51 | /src/main/java/br/org/assembleia/model/MembroModel.java | f98ab7d9a040b96a55dcd33200c1aaf754a94187 | [] | no_license | andrezitojava2017/Assembeia.org | 5f6ef21ff96b3e38cbcaa6347470cbeeaa524a7e | f5ee00820ccb9dff17cb2f1282798ab1e0f2eb70 | refs/heads/master | 2022-07-14T06:33:07.371969 | 2019-10-21T02:23:26 | 2019-10-21T02:23:26 | 202,462,799 | 0 | 0 | null | 2022-06-21T01:40:17 | 2019-08-15T02:51:35 | Java | UTF-8 | Java | false | false | 4,011 | 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 br.org.assembleia.model;
import br.org.assembleia.dao.MembroDao;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.List;
/**
*
* @author andre
*/
public class MembroModel extends PessoasModel {
public MembroModel() {
}
private int id;
private String dataPosse;
private String dataDemissao;
private int idCargo;
public int getIdCargo() {
return idCargo;
}
public void setIdCargo(int idCargo) {
this.idCargo = idCargo;
}
public String getDataDemissao() {
return dataDemissao;
}
public void setDataDemissao(String dataDemissao) {
this.dataDemissao = dataDemissao;
}
// public String getCargo() {
// return cargo;
// }
//
// public void setCargo(String cargo) {
// this.cargo = cargo;
// }
public String getDataPosse() {
return dataPosse;
}
public void setDataPosse(String dataPosse) {
this.dataPosse = dataPosse;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
/**
* Formata datas para o padrao aceito pelo MYSQL
*
* @param membro
* @return
*/
private String formatarDataMysql(MembroModel membro) {
DateTimeFormatter frm = DateTimeFormatter.ofPattern("dd/MM/yyyy");
LocalDate date = LocalDate.parse(membro.getDataPosse(), frm);
return date.toString();
}
/**
* Formata a data para ser exibido na view
* @param data
* @return String
*/
private String formatarDataView(String data){
DateTimeFormatter frm = DateTimeFormatter.ofPattern("dd/MM/yyyy");
LocalDate dat = LocalDate.parse(data);
// System.out.println(frm.format(dat));
return frm.format(dat);
}
/**
* Chamada para o metodo DAO que faz gravação dos dados do novo membro
*
* @param model
* @return MembroModel
*/
public int insertMembro(MembroModel model) {
MembroDao dao = new MembroDao();
model.setDataPosse(
//formata a data
formatarDataMysql(model)
);
return dao.insertMembro(model);
}
/**
* Chamada para o metodo DAO que recupera uma lista de membros cadastrados
*
* @return List<MembroModel>
*/
public List<MembroModel> getListaMembro() {
MembroDao dao = new MembroDao();
// return dao.getListaMembro();
List<MembroModel> membro = dao.getListaMembro();
// iremos formatar a data para ser exibida na view, se necessário
for (int i = 0; i < membro.size(); i++) {
String data = formatarDataView(
membro.get(i).getDataPosse());
membro.get(i).setDataPosse(data);
}
return membro;
}
/**
* Recupera informações de um determinado membro
*
* @param idMembro
* @return MembroModel
*/
public MembroModel getMembro(int idMembro) {
MembroDao md = new MembroDao();
MembroModel membro = md.getMembro(idMembro);
return membro;
}
/**
* Desativa um membro do cadastro
* @param membro
*/
public int desativarMembro(MembroModel membro){
MembroDao dao = new MembroDao();
membro.setDataPosse(formatarDataMysql(membro));
return dao.desativarMembro(membro);
}
/**
* Autalizar cadastro de membro
* @param membro
* @return int
*/
public int updateMembro(MembroModel membro){
MembroDao dao = new MembroDao();
membro.setDataPosse(formatarDataMysql(membro));
return dao.updateMembro(membro);
}
}
| [
"andre_sjx@live.com"
] | andre_sjx@live.com |
9e5d02d1bb227c79472027c0ab63926da94c78a7 | fa91450deb625cda070e82d5c31770be5ca1dec6 | /Diff-Raw-Data/2/2_63bdf5e25a4fa01690f7610a0e5d05653489893e/PrivacyService/2_63bdf5e25a4fa01690f7610a0e5d05653489893e_PrivacyService_t.java | d88523648862d503720e4038a673d46f02a1da24 | [] | 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 | 73,669 | java | package biz.bokhorst.xprivacy;
import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStreamWriter;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.ReentrantReadWriteLock;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.content.ContentValues;
import android.content.Context;
import android.content.DialogInterface;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.content.res.Resources;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDoneException;
import android.database.sqlite.SQLiteException;
import android.database.sqlite.SQLiteStatement;
import android.os.Binder;
import android.os.Build;
import android.os.Environment;
import android.os.Handler;
import android.os.IBinder;
import android.os.Looper;
import android.os.Process;
import android.os.RemoteException;
import android.os.StrictMode;
import android.os.StrictMode.ThreadPolicy;
import android.text.TextUtils;
import android.util.Log;
import android.util.Patterns;
import android.view.LayoutInflater;
import android.view.View;
import android.view.WindowManager;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.ImageView;
import android.widget.ProgressBar;
import android.widget.TableRow;
import android.widget.TextView;
import android.widget.Toast;
public class PrivacyService {
private static int mXUid = -1;
private static boolean mRegistered = false;
private static boolean mUseCache = false;
private static String mSecret = null;
private static Thread mWorker = null;
private static Handler mHandler = null;
private static Semaphore mOndemandSemaphore = new Semaphore(1, true);
private static List<String> mListError = new ArrayList<String>();
private static IPrivacyService mClient = null;
private static final String cTableRestriction = "restriction";
private static final String cTableUsage = "usage";
private static final String cTableSetting = "setting";
private static final int cCurrentVersion = 311;
private static final String cServiceName = "xprivacy305";
// TODO: define column names
// sqlite3 /data/system/xprivacy/xprivacy.db
public static void register(List<String> listError, String secret) {
// Store secret and errors
mSecret = secret;
mListError.addAll(listError);
try {
// Register privacy service
// @formatter:off
// public static void addService(String name, IBinder service)
// public static void addService(String name, IBinder service, boolean allowIsolated)
// @formatter:on
Class<?> cServiceManager = Class.forName("android.os.ServiceManager");
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
Method mAddService = cServiceManager.getDeclaredMethod("addService", String.class, IBinder.class,
boolean.class);
mAddService.invoke(null, cServiceName, mPrivacyService, true);
} else {
Method mAddService = cServiceManager.getDeclaredMethod("addService", String.class, IBinder.class);
mAddService.invoke(null, cServiceName, mPrivacyService);
}
// This will and should open the database
mRegistered = true;
Util.log(null, Log.WARN, "Service registered name=" + cServiceName);
// Publish semaphore to activity manager service
XActivityManagerService.setSemaphore(mOndemandSemaphore);
// Get memory class to enable/disable caching
// http://stackoverflow.com/questions/2630158/detect-application-heap-size-in-android
int memoryClass = (int) (Runtime.getRuntime().maxMemory() / 1024L / 1024L);
mUseCache = (memoryClass >= 32);
Util.log(null, Log.WARN, "Memory class=" + memoryClass + " cache=" + mUseCache);
// Start a worker thread
mWorker = new Thread(new Runnable() {
@Override
public void run() {
try {
Looper.prepare();
mHandler = new Handler();
Looper.loop();
} catch (Throwable ex) {
Util.bug(null, ex);
}
}
});
mWorker.start();
} catch (Throwable ex) {
Util.bug(null, ex);
}
}
public static boolean isRegistered() {
return mRegistered;
}
public static boolean checkClient() {
// Runs client side
try {
IPrivacyService client = getClient();
if (client != null)
return (client.getVersion() == cCurrentVersion);
} catch (RemoteException ex) {
Util.bug(null, ex);
}
return false;
}
public static IPrivacyService getClient() {
// Runs client side
if (mClient == null)
try {
// public static IBinder getService(String name)
Class<?> cServiceManager = Class.forName("android.os.ServiceManager");
Method mGetService = cServiceManager.getDeclaredMethod("getService", String.class);
mClient = IPrivacyService.Stub.asInterface((IBinder) mGetService.invoke(null, cServiceName));
} catch (Throwable ex) {
Util.bug(null, ex);
}
// Disable disk/network strict mode
// TODO: hook setThreadPolicy
try {
ThreadPolicy oldPolicy = StrictMode.getThreadPolicy();
ThreadPolicy newpolicy = new ThreadPolicy.Builder(oldPolicy).permitDiskReads().permitDiskWrites()
.permitNetwork().build();
StrictMode.setThreadPolicy(newpolicy);
} catch (Throwable ex) {
Util.bug(null, ex);
}
return mClient;
}
public static void reportErrorInternal(String message) {
synchronized (mListError) {
mListError.add(message);
}
}
public static PRestriction getRestriction(final PRestriction restriction, boolean usage, String secret)
throws RemoteException {
if (isRegistered())
return mPrivacyService.getRestriction(restriction, usage, secret);
else {
IPrivacyService client = getClient();
if (client == null) {
Log.w("XPrivacy", "No client for " + restriction);
Log.w("XPrivacy", Log.getStackTraceString(new Exception("StackTrace")));
PRestriction result = new PRestriction(restriction);
result.restricted = false;
return result;
} else
return client.getRestriction(restriction, usage, secret);
}
}
public static PSetting getSetting(PSetting setting) throws RemoteException {
if (isRegistered())
return mPrivacyService.getSetting(setting);
else {
IPrivacyService client = getClient();
if (client == null) {
Log.w("XPrivacy", "No client for " + setting + " uid=" + Process.myUid() + " pid=" + Process.myPid());
Log.w("XPrivacy", Log.getStackTraceString(new Exception("StackTrace")));
return setting;
} else
return client.getSetting(setting);
}
}
private static final IPrivacyService.Stub mPrivacyService = new IPrivacyService.Stub() {
private SQLiteDatabase mDb = null;
private SQLiteDatabase mDbUsage = null;
private SQLiteStatement stmtGetRestriction = null;
private SQLiteStatement stmtGetSetting = null;
private SQLiteStatement stmtGetUsageRestriction = null;
private SQLiteStatement stmtGetUsageMethod = null;
private ReentrantReadWriteLock mLock = new ReentrantReadWriteLock(true);
private ReentrantReadWriteLock mLockUsage = new ReentrantReadWriteLock(true);
private boolean mSelectCategory = true;
private boolean mSelectOnce = false;
private Map<CSetting, CSetting> mSettingCache = new HashMap<CSetting, CSetting>();
private Map<CRestriction, CRestriction> mAskedOnceCache = new HashMap<CRestriction, CRestriction>();
private Map<CRestriction, CRestriction> mRestrictionCache = new HashMap<CRestriction, CRestriction>();
private final int cMaxUsageData = 500; // entries
private final int cMaxOnDemandDialog = 20; // seconds
private ExecutorService mExecutor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors(),
new PriorityThreadFactory());
final class PriorityThreadFactory implements ThreadFactory {
@Override
public Thread newThread(Runnable r) {
Thread t = new Thread(r);
t.setPriority(Thread.MIN_PRIORITY);
return t;
}
}
// Management
@Override
public int getVersion() throws RemoteException {
return cCurrentVersion;
}
@Override
public List<String> check() throws RemoteException {
enforcePermission();
List<String> listError = new ArrayList<String>();
synchronized (mListError) {
int c = 0;
int i = 0;
while (i < mListError.size()) {
String msg = mListError.get(i);
c += msg.length();
if (c < 5000)
listError.add(msg);
else
break;
i++;
}
}
File dbFile = getDbFile();
if (!dbFile.exists())
listError.add("Database does not exists");
if (!dbFile.canRead())
listError.add("Database not readable");
if (!dbFile.canWrite())
listError.add("Database not writable");
SQLiteDatabase db = getDb();
if (db == null)
listError.add("Database not available");
else if (!db.isOpen())
listError.add("Database not open");
return listError;
}
@Override
public void reportError(String message) throws RemoteException {
reportErrorInternal(message);
}
// Restrictions
@Override
public void setRestriction(PRestriction restriction) throws RemoteException {
try {
enforcePermission();
setRestrictionInternal(restriction);
} catch (Throwable ex) {
Util.bug(null, ex);
throw new RemoteException(ex.toString());
}
}
private void setRestrictionInternal(PRestriction restriction) throws RemoteException {
// Validate
if (restriction.restrictionName == null) {
Util.log(null, Log.ERROR, "Set invalid restriction " + restriction);
Util.logStack(null, Log.ERROR);
throw new RemoteException("Invalid restriction");
}
try {
SQLiteDatabase db = getDb();
if (db == null)
return;
// 0 not restricted, ask
// 1 restricted, ask
// 2 not restricted, asked
// 3 restricted, asked
mLock.writeLock().lock();
db.beginTransaction();
try {
// Create category record
if (restriction.methodName == null) {
ContentValues cvalues = new ContentValues();
cvalues.put("uid", restriction.uid);
cvalues.put("restriction", restriction.restrictionName);
cvalues.put("method", "");
cvalues.put("restricted", (restriction.restricted ? 1 : 0) + (restriction.asked ? 2 : 0));
db.insertWithOnConflict(cTableRestriction, null, cvalues, SQLiteDatabase.CONFLICT_REPLACE);
}
// Create method exception record
if (restriction.methodName != null) {
ContentValues mvalues = new ContentValues();
mvalues.put("uid", restriction.uid);
mvalues.put("restriction", restriction.restrictionName);
mvalues.put("method", restriction.methodName);
mvalues.put("restricted", (restriction.restricted ? 0 : 1) + (restriction.asked ? 2 : 0));
db.insertWithOnConflict(cTableRestriction, null, mvalues, SQLiteDatabase.CONFLICT_REPLACE);
}
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
// Update cache
if (mUseCache)
synchronized (mRestrictionCache) {
for (CRestriction key : new ArrayList<CRestriction>(mRestrictionCache.keySet()))
if (key.isSameMethod(restriction))
mRestrictionCache.remove(key);
CRestriction key = new CRestriction(restriction, restriction.extra);
if (mRestrictionCache.containsKey(key))
mRestrictionCache.remove(key);
mRestrictionCache.put(key, key);
}
} catch (Throwable ex) {
Util.bug(null, ex);
throw new RemoteException(ex.toString());
}
}
@Override
public void setRestrictionList(List<PRestriction> listRestriction) throws RemoteException {
enforcePermission();
for (PRestriction restriction : listRestriction)
setRestrictionInternal(restriction);
}
@Override
public PRestriction getRestriction(final PRestriction restriction, boolean usage, String secret)
throws RemoteException {
long start = System.currentTimeMillis();
boolean cached = false;
final PRestriction mresult = new PRestriction(restriction);
try {
// No permissions enforced, but usage data requires a secret
// Sanity checks
if (restriction.restrictionName == null) {
Util.log(null, Log.ERROR, "Get invalid restriction " + restriction);
return mresult;
}
if (usage && restriction.methodName == null) {
Util.log(null, Log.ERROR, "Get invalid restriction " + restriction);
return mresult;
}
// Check for self
if (Util.getAppId(restriction.uid) == getXUid()) {
if (PrivacyManager.cIdentification.equals(restriction.restrictionName)
&& "getString".equals(restriction.methodName)) {
mresult.asked = true;
return mresult;
}
if (PrivacyManager.cIPC.equals(restriction.restrictionName)) {
mresult.asked = true;
return mresult;
} else if (PrivacyManager.cStorage.equals(restriction.restrictionName)) {
mresult.asked = true;
return mresult;
} else if (PrivacyManager.cSystem.equals(restriction.restrictionName)) {
mresult.asked = true;
return mresult;
} else if (PrivacyManager.cView.equals(restriction.restrictionName)) {
mresult.asked = true;
return mresult;
}
}
// Get meta data
Hook hook = null;
if (restriction.methodName != null) {
hook = PrivacyManager.getHook(restriction.restrictionName, restriction.methodName);
if (hook == null)
// Can happen after replacing apk
Util.log(null, Log.WARN, "Hook not found in service: " + restriction);
}
// Check for system component
if (usage && !PrivacyManager.isApplication(restriction.uid))
if (!getSettingBool(0, PrivacyManager.cSettingSystem, false))
return mresult;
// Check if restrictions enabled
if (usage && !getSettingBool(restriction.uid, PrivacyManager.cSettingRestricted, true))
return mresult;
// Check cache
if (mUseCache) {
CRestriction key = new CRestriction(restriction, restriction.extra);
synchronized (mRestrictionCache) {
if (mRestrictionCache.containsKey(key)) {
cached = true;
CRestriction cache = mRestrictionCache.get(key);
mresult.restricted = cache.restricted;
mresult.asked = cache.asked;
}
}
}
if (!cached) {
PRestriction cresult = new PRestriction(restriction.uid, restriction.restrictionName, null);
boolean methodFound = false;
// No permissions required
SQLiteDatabase db = getDb();
if (db == null)
return mresult;
// Precompile statement when needed
if (stmtGetRestriction == null) {
String sql = "SELECT restricted FROM " + cTableRestriction
+ " WHERE uid=? AND restriction=? AND method=?";
stmtGetRestriction = db.compileStatement(sql);
}
// Execute statement
mLock.readLock().lock();
db.beginTransaction();
try {
try {
synchronized (stmtGetRestriction) {
stmtGetRestriction.clearBindings();
stmtGetRestriction.bindLong(1, restriction.uid);
stmtGetRestriction.bindString(2, restriction.restrictionName);
stmtGetRestriction.bindString(3, "");
long state = stmtGetRestriction.simpleQueryForLong();
cresult.restricted = ((state & 1) != 0);
cresult.asked = ((state & 2) != 0);
mresult.restricted = cresult.restricted;
mresult.asked = cresult.asked;
}
} catch (SQLiteDoneException ignored) {
}
if (restriction.methodName != null)
try {
synchronized (stmtGetRestriction) {
stmtGetRestriction.clearBindings();
stmtGetRestriction.bindLong(1, restriction.uid);
stmtGetRestriction.bindString(2, restriction.restrictionName);
stmtGetRestriction.bindString(3, restriction.methodName);
long state = stmtGetRestriction.simpleQueryForLong();
// Method can be excepted
if (mresult.restricted)
mresult.restricted = ((state & 1) == 0);
// Category asked=true takes precedence
if (!mresult.asked)
mresult.asked = ((state & 2) != 0);
methodFound = true;
}
} catch (SQLiteDoneException ignored) {
}
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.readLock().unlock();
}
}
// Default dangerous
if (!methodFound && hook != null && hook.isDangerous())
if (!getSettingBool(0, PrivacyManager.cSettingDangerous, false)) {
mresult.restricted = false;
mresult.asked = true;
}
// Check whitelist
if (usage && hook != null && hook.whitelist() != null && restriction.extra != null) {
String value = getSetting(new PSetting(restriction.uid, hook.whitelist(), restriction.extra,
null)).value;
if (value == null) {
String xextra = getXExtra(restriction, hook);
if (xextra != null)
value = getSetting(new PSetting(restriction.uid, hook.whitelist(), xextra, null)).value;
}
if (value != null) {
// true means allow, false means block
mresult.restricted = !Boolean.parseBoolean(value);
mresult.asked = true;
}
}
// Fallback
if (!mresult.restricted && usage && PrivacyManager.isApplication(restriction.uid)
&& !getSettingBool(0, PrivacyManager.cSettingMigrated, false)) {
if (hook != null && !hook.isDangerous()) {
mresult.restricted = PrivacyProvider.getRestrictedFallback(null, restriction.uid,
restriction.restrictionName, restriction.methodName);
Util.log(null, Log.WARN, "Fallback " + mresult);
}
}
// Update cache
if (mUseCache) {
CRestriction key = new CRestriction(mresult, restriction.extra);
synchronized (mRestrictionCache) {
if (mRestrictionCache.containsKey(key))
mRestrictionCache.remove(key);
mRestrictionCache.put(key, key);
}
}
}
// Ask to restrict
boolean ondemand = false;
if (!mresult.asked && usage && PrivacyManager.isApplication(restriction.uid))
ondemand = onDemandDialog(hook, restriction, mresult);
// Notify user
if (!ondemand && mresult.restricted && usage && hook != null && hook.shouldNotify())
notifyRestricted(restriction);
// Store usage data
if (usage && hook != null && hook.hasUsageData())
storeUsageData(restriction, secret, mresult);
} catch (Throwable ex) {
Util.bug(null, ex);
}
long ms = System.currentTimeMillis() - start;
Util.log(null, Log.INFO,
String.format("get service %s%s %d ms", restriction, (cached ? " (cached)" : ""), ms));
return mresult;
}
private void storeUsageData(final PRestriction restriction, String secret, final PRestriction mresult)
throws RemoteException {
// Check if enabled
if (getSettingBool(0, PrivacyManager.cSettingUsage, true)) {
// Check secret
boolean allowed = true;
if (Util.getAppId(Binder.getCallingUid()) != getXUid()) {
if (mSecret == null || !mSecret.equals(secret)) {
allowed = false;
Util.log(null, Log.WARN, "Invalid secret");
}
}
if (allowed) {
mExecutor.execute(new Runnable() {
public void run() {
try {
if (XActivityManagerService.canWriteUsageData()) {
SQLiteDatabase dbUsage = getDbUsage();
if (dbUsage == null)
return;
String extra = "";
if (restriction.extra != null)
if (getSettingBool(0, PrivacyManager.cSettingParameters, false))
extra = restriction.extra;
mLockUsage.writeLock().lock();
dbUsage.beginTransaction();
try {
ContentValues values = new ContentValues();
values.put("uid", restriction.uid);
values.put("restriction", restriction.restrictionName);
values.put("method", restriction.methodName);
values.put("restricted", mresult.restricted);
values.put("time", new Date().getTime());
values.put("extra", extra);
dbUsage.insertWithOnConflict(cTableUsage, null, values,
SQLiteDatabase.CONFLICT_REPLACE);
dbUsage.setTransactionSuccessful();
} finally {
try {
dbUsage.endTransaction();
} finally {
mLockUsage.writeLock().unlock();
}
}
}
} catch (SQLiteException ex) {
Util.log(null, Log.WARN, ex.toString());
} catch (Throwable ex) {
Util.bug(null, ex);
}
}
});
}
}
}
@Override
public List<PRestriction> getRestrictionList(PRestriction selector) throws RemoteException {
List<PRestriction> result = new ArrayList<PRestriction>();
try {
enforcePermission();
PRestriction query;
if (selector.restrictionName == null)
for (String sRestrictionName : PrivacyManager.getRestrictions()) {
PRestriction restriction = new PRestriction(selector.uid, sRestrictionName, null, false);
query = getRestriction(restriction, false, null);
restriction.restricted = query.restricted;
restriction.asked = query.asked;
result.add(restriction);
}
else
for (Hook md : PrivacyManager.getHooks(selector.restrictionName)) {
PRestriction restriction = new PRestriction(selector.uid, selector.restrictionName,
md.getName(), false);
query = getRestriction(restriction, false, null);
restriction.restricted = query.restricted;
restriction.asked = query.asked;
result.add(restriction);
}
} catch (Throwable ex) {
Util.bug(null, ex);
throw new RemoteException(ex.toString());
}
return result;
}
@Override
public void deleteRestrictions(int uid, String restrictionName) throws RemoteException {
try {
enforcePermission();
SQLiteDatabase db = getDb();
if (db == null)
return;
mLock.writeLock().lock();
db.beginTransaction();
try {
if ("".equals(restrictionName))
db.delete(cTableRestriction, "uid=?", new String[] { Integer.toString(uid) });
else
db.delete(cTableRestriction, "uid=? AND restriction=?", new String[] { Integer.toString(uid),
restrictionName });
Util.log(null, Log.WARN, "Restrictions deleted uid=" + uid + " category=" + restrictionName);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
// Clear caches
if (mUseCache)
synchronized (mRestrictionCache) {
mRestrictionCache.clear();
}
synchronized (mAskedOnceCache) {
mAskedOnceCache.clear();
}
} catch (Throwable ex) {
Util.bug(null, ex);
throw new RemoteException(ex.toString());
}
}
// Usage
@Override
public long getUsage(List<PRestriction> listRestriction) throws RemoteException {
long lastUsage = 0;
try {
enforcePermission();
SQLiteDatabase dbUsage = getDbUsage();
// Precompile statement when needed
if (stmtGetUsageRestriction == null) {
String sql = "SELECT MAX(time) FROM " + cTableUsage + " WHERE uid=? AND restriction=?";
stmtGetUsageRestriction = dbUsage.compileStatement(sql);
}
if (stmtGetUsageMethod == null) {
String sql = "SELECT MAX(time) FROM " + cTableUsage + " WHERE uid=? AND restriction=? AND method=?";
stmtGetUsageMethod = dbUsage.compileStatement(sql);
}
mLockUsage.readLock().lock();
dbUsage.beginTransaction();
try {
for (PRestriction restriction : listRestriction) {
if (restriction.methodName == null)
try {
synchronized (stmtGetUsageRestriction) {
stmtGetUsageRestriction.clearBindings();
stmtGetUsageRestriction.bindLong(1, restriction.uid);
stmtGetUsageRestriction.bindString(2, restriction.restrictionName);
lastUsage = Math.max(lastUsage, stmtGetUsageRestriction.simpleQueryForLong());
}
} catch (SQLiteDoneException ignored) {
}
else
try {
synchronized (stmtGetUsageMethod) {
stmtGetUsageMethod.clearBindings();
stmtGetUsageMethod.bindLong(1, restriction.uid);
stmtGetUsageMethod.bindString(2, restriction.restrictionName);
stmtGetUsageMethod.bindString(3, restriction.methodName);
lastUsage = Math.max(lastUsage, stmtGetUsageMethod.simpleQueryForLong());
}
} catch (SQLiteDoneException ignored) {
}
}
dbUsage.setTransactionSuccessful();
} finally {
try {
dbUsage.endTransaction();
} finally {
mLockUsage.readLock().unlock();
}
}
} catch (Throwable ex) {
Util.bug(null, ex);
throw new RemoteException(ex.toString());
}
return lastUsage;
}
@Override
public List<PRestriction> getUsageList(int uid, String restrictionName) throws RemoteException {
List<PRestriction> result = new ArrayList<PRestriction>();
try {
enforcePermission();
SQLiteDatabase dbUsage = getDbUsage();
mLockUsage.readLock().lock();
dbUsage.beginTransaction();
try {
Cursor cursor;
if (uid == 0) {
if ("".equals(restrictionName))
cursor = dbUsage.query(cTableUsage, new String[] { "uid", "restriction", "method",
"restricted", "time", "extra" }, null, new String[] {}, null, null,
"time DESC LIMIT " + cMaxUsageData);
else
cursor = dbUsage.query(cTableUsage, new String[] { "uid", "restriction", "method",
"restricted", "time", "extra" }, "restriction=?", new String[] { restrictionName },
null, null, "time DESC LIMIT " + cMaxUsageData);
} else {
if ("".equals(restrictionName))
cursor = dbUsage.query(cTableUsage, new String[] { "uid", "restriction", "method",
"restricted", "time", "extra" }, "uid=?", new String[] { Integer.toString(uid) },
null, null, "time DESC LIMIT " + cMaxUsageData);
else
cursor = dbUsage.query(cTableUsage, new String[] { "uid", "restriction", "method",
"restricted", "time", "extra" }, "uid=? AND restriction=?",
new String[] { Integer.toString(uid), restrictionName }, null, null,
"time DESC LIMIT " + cMaxUsageData);
}
if (cursor == null)
Util.log(null, Log.WARN, "Database cursor null (usage data)");
else
try {
while (cursor.moveToNext()) {
PRestriction data = new PRestriction();
data.uid = cursor.getInt(0);
data.restrictionName = cursor.getString(1);
data.methodName = cursor.getString(2);
data.restricted = (cursor.getInt(3) > 0);
data.time = cursor.getLong(4);
data.extra = cursor.getString(5);
result.add(data);
}
} finally {
cursor.close();
}
dbUsage.setTransactionSuccessful();
} finally {
try {
dbUsage.endTransaction();
} finally {
mLockUsage.readLock().unlock();
}
}
} catch (Throwable ex) {
Util.bug(null, ex);
throw new RemoteException(ex.toString());
}
return result;
}
@Override
public void deleteUsage(int uid) throws RemoteException {
try {
enforcePermission();
SQLiteDatabase dbUsage = getDbUsage();
mLockUsage.writeLock().lock();
dbUsage.beginTransaction();
try {
if (uid == 0)
dbUsage.delete(cTableUsage, null, new String[] {});
else
dbUsage.delete(cTableUsage, "uid=?", new String[] { Integer.toString(uid) });
Util.log(null, Log.WARN, "Usage data deleted uid=" + uid);
dbUsage.setTransactionSuccessful();
} finally {
try {
dbUsage.endTransaction();
} finally {
mLockUsage.writeLock().unlock();
}
}
} catch (Throwable ex) {
Util.bug(null, ex);
throw new RemoteException(ex.toString());
}
}
// Settings
@Override
public void setSetting(PSetting setting) throws RemoteException {
try {
enforcePermission();
setSettingInternal(setting);
} catch (Throwable ex) {
Util.bug(null, ex);
throw new RemoteException(ex.toString());
}
}
private void setSettingInternal(PSetting setting) throws RemoteException {
try {
SQLiteDatabase db = getDb();
if (db == null)
return;
mLock.writeLock().lock();
db.beginTransaction();
try {
if (setting.value == null)
db.delete(cTableSetting, "uid=? AND type=? AND name=?",
new String[] { Integer.toString(setting.uid), setting.type, setting.name });
else {
// Create record
ContentValues values = new ContentValues();
values.put("uid", setting.uid);
values.put("type", setting.type);
values.put("name", setting.name);
values.put("value", setting.value);
// Insert/update record
db.insertWithOnConflict(cTableSetting, null, values, SQLiteDatabase.CONFLICT_REPLACE);
}
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
// Update cache
if (mUseCache) {
CSetting key = new CSetting(setting.uid, setting.type, setting.name);
key.setValue(setting.value);
synchronized (mSettingCache) {
if (mSettingCache.containsKey(key))
mSettingCache.remove(key);
if (setting.value != null)
mSettingCache.put(key, key);
}
}
// Clear restrictions for white list
if (Meta.isWhitelist(setting.type))
for (String restrictionName : PrivacyManager.getRestrictions())
for (Hook hook : PrivacyManager.getHooks(restrictionName))
if (setting.type.equals(hook.whitelist())) {
PRestriction restriction = new PRestriction(setting.uid, hook.getRestrictionName(),
hook.getName());
Util.log(null, Log.WARN, "Clearing cache for " + restriction);
synchronized (mRestrictionCache) {
for (CRestriction key : new ArrayList<CRestriction>(mRestrictionCache.keySet()))
if (key.isSameMethod(restriction)) {
Util.log(null, Log.WARN, "Removing " + key);
mRestrictionCache.remove(key);
}
}
}
} catch (Throwable ex) {
Util.bug(null, ex);
throw new RemoteException(ex.toString());
}
}
@Override
public void setSettingList(List<PSetting> listSetting) throws RemoteException {
enforcePermission();
for (PSetting setting : listSetting)
setSettingInternal(setting);
}
@Override
@SuppressLint("DefaultLocale")
public PSetting getSetting(PSetting setting) throws RemoteException {
PSetting result = new PSetting(setting.uid, setting.type, setting.name, setting.value);
try {
// No permissions enforced
// Check cache
if (mUseCache && setting.value != null) {
CSetting key = new CSetting(setting.uid, setting.type, setting.name);
synchronized (mSettingCache) {
if (mSettingCache.containsKey(key)) {
result.value = mSettingCache.get(key).getValue();
return result;
}
}
}
// No persmissions required
SQLiteDatabase db = getDb();
if (db == null)
return result;
// Fallback
if (!PrivacyManager.cSettingMigrated.equals(setting.name)
&& !getSettingBool(0, PrivacyManager.cSettingMigrated, false)) {
if (setting.uid == 0)
result.value = PrivacyProvider.getSettingFallback(setting.name, null, false);
if (result.value == null) {
result.value = PrivacyProvider.getSettingFallback(
String.format("%s.%d", setting.name, setting.uid), setting.value, false);
return result;
}
}
// Precompile statement when needed
if (stmtGetSetting == null) {
String sql = "SELECT value FROM " + cTableSetting + " WHERE uid=? AND type=? AND name=?";
stmtGetSetting = db.compileStatement(sql);
}
// Execute statement
mLock.readLock().lock();
db.beginTransaction();
try {
try {
synchronized (stmtGetSetting) {
stmtGetSetting.clearBindings();
stmtGetSetting.bindLong(1, setting.uid);
stmtGetSetting.bindString(2, setting.type);
stmtGetSetting.bindString(3, setting.name);
String value = stmtGetSetting.simpleQueryForString();
if (value != null)
result.value = value;
}
} catch (SQLiteDoneException ignored) {
}
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.readLock().unlock();
}
}
// Add to cache
if (mUseCache && result.value != null) {
CSetting key = new CSetting(setting.uid, setting.type, setting.name);
key.setValue(result.value);
synchronized (mSettingCache) {
if (mSettingCache.containsKey(key))
mSettingCache.remove(key);
mSettingCache.put(key, key);
}
}
} catch (Throwable ex) {
Util.bug(null, ex);
}
return result;
}
@Override
public List<PSetting> getSettingList(int uid) throws RemoteException {
List<PSetting> listSetting = new ArrayList<PSetting>();
try {
enforcePermission();
SQLiteDatabase db = getDb();
if (db == null)
return listSetting;
mLock.readLock().lock();
db.beginTransaction();
try {
Cursor cursor = db.query(cTableSetting, new String[] { "type", "name", "value" }, "uid=?",
new String[] { Integer.toString(uid) }, null, null, null);
if (cursor == null)
Util.log(null, Log.WARN, "Database cursor null (settings)");
else
try {
while (cursor.moveToNext())
listSetting.add(new PSetting(uid, cursor.getString(0), cursor.getString(1), cursor
.getString(2)));
} finally {
cursor.close();
}
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.readLock().unlock();
}
}
} catch (Throwable ex) {
Util.bug(null, ex);
throw new RemoteException(ex.toString());
}
return listSetting;
}
@Override
public void deleteSettings(int uid) throws RemoteException {
try {
enforcePermission();
SQLiteDatabase db = getDb();
if (db == null)
return;
mLock.writeLock().lock();
db.beginTransaction();
try {
db.delete(cTableSetting, "uid=?", new String[] { Integer.toString(uid) });
Util.log(null, Log.WARN, "Settings deleted uid=" + uid);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
// Clear cache
if (mUseCache)
synchronized (mSettingCache) {
mSettingCache.clear();
}
} catch (Throwable ex) {
Util.bug(null, ex);
throw new RemoteException(ex.toString());
}
}
@Override
public void clear() throws RemoteException {
try {
enforcePermission();
SQLiteDatabase db = getDb();
SQLiteDatabase dbUsage = getDbUsage();
if (db == null || dbUsage == null)
return;
mLock.writeLock().lock();
db.beginTransaction();
try {
db.execSQL("DELETE FROM " + cTableRestriction);
db.execSQL("DELETE FROM " + cTableSetting);
Util.log(null, Log.WARN, "Database cleared");
// Reset migrated
ContentValues values = new ContentValues();
values.put("uid", 0);
values.put("type", "");
values.put("name", PrivacyManager.cSettingMigrated);
values.put("value", Boolean.toString(true));
db.insertWithOnConflict(cTableSetting, null, values, SQLiteDatabase.CONFLICT_REPLACE);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
// Clear caches
if (mUseCache) {
synchronized (mRestrictionCache) {
mRestrictionCache.clear();
}
synchronized (mSettingCache) {
mSettingCache.clear();
}
}
synchronized (mAskedOnceCache) {
mAskedOnceCache.clear();
}
Util.log(null, Log.WARN, "Caches cleared");
mLockUsage.writeLock().lock();
dbUsage.beginTransaction();
try {
dbUsage.execSQL("DELETE FROM " + cTableUsage);
Util.log(null, Log.WARN, "Usage database cleared");
dbUsage.setTransactionSuccessful();
} finally {
try {
dbUsage.endTransaction();
} finally {
mLockUsage.writeLock().unlock();
}
}
} catch (Throwable ex) {
Util.bug(null, ex);
throw new RemoteException(ex.toString());
}
}
@Override
public void dump(int uid) throws RemoteException {
if (uid == 0) {
} else {
synchronized (mRestrictionCache) {
for (CRestriction crestriction : mRestrictionCache.keySet())
if (crestriction.getUid() == uid)
Util.log(null, Log.WARN, "Dump crestriction=" + crestriction);
}
synchronized (mAskedOnceCache) {
for (CRestriction crestriction : mAskedOnceCache.keySet())
if (crestriction.getUid() == uid && !crestriction.isExpired())
Util.log(null, Log.WARN, "Dump asked=" + crestriction);
}
synchronized (mSettingCache) {
for (CSetting csetting : mSettingCache.keySet())
if (csetting.getUid() == uid)
Util.log(null, Log.WARN, "Dump csetting=" + csetting);
}
}
}
// Helper methods
private boolean onDemandDialog(final Hook hook, final PRestriction restriction, final PRestriction result) {
try {
// Without handler nothing can be done
if (mHandler == null)
return false;
// Check for exceptions
if (hook != null && !hook.canOnDemand())
return false;
// Check if enabled
if (!getSettingBool(0, PrivacyManager.cSettingOnDemand, true))
return false;
if (!getSettingBool(restriction.uid, PrivacyManager.cSettingOnDemand, false))
return false;
// Skip dangerous methods
final boolean dangerous = getSettingBool(0, PrivacyManager.cSettingDangerous, false);
if (!dangerous && hook != null && hook.isDangerous() && hook.whitelist() == null)
return false;
// Get am context
final Context context = getContext();
if (context == null)
return false;
long token = 0;
try {
token = Binder.clearCallingIdentity();
// Get application info
final ApplicationInfoEx appInfo = new ApplicationInfoEx(context, restriction.uid);
// Check if system application
if (!dangerous && appInfo.isSystem())
return false;
// Check if activity manager agrees
if (!XActivityManagerService.canOnDemand())
return false;
// Go ask
Util.log(null, Log.WARN, "On demand " + restriction);
mOndemandSemaphore.acquireUninterruptibly();
try {
// Check if activity manager still agrees
if (!XActivityManagerService.canOnDemand())
return false;
Util.log(null, Log.WARN, "On demanding " + restriction);
// Check if not asked before
CRestriction key = new CRestriction(restriction, restriction.extra);
synchronized (mRestrictionCache) {
if (mRestrictionCache.containsKey(key))
if (mRestrictionCache.get(key).asked) {
Util.log(null, Log.WARN, "Already asked " + restriction);
return false;
}
}
synchronized (mAskedOnceCache) {
if (mAskedOnceCache.containsKey(key) && !mAskedOnceCache.get(key).isExpired()) {
Util.log(null, Log.WARN, "Already asked once " + restriction);
return false;
}
}
if (restriction.extra != null && hook != null && hook.whitelist() != null) {
CSetting skey = new CSetting(restriction.uid, hook.whitelist(), restriction.extra);
CSetting xkey = null;
String xextra = getXExtra(restriction, hook);
if (xextra != null)
xkey = new CSetting(restriction.uid, hook.whitelist(), xextra);
synchronized (mSettingCache) {
if (mSettingCache.containsKey(skey)
|| (xkey != null && mSettingCache.containsKey(xkey))) {
Util.log(null, Log.WARN, "Already asked " + skey);
return false;
}
}
}
final AlertDialogHolder holder = new AlertDialogHolder();
final CountDownLatch latch = new CountDownLatch(1);
// Run dialog in looper
mHandler.post(new Runnable() {
@Override
public void run() {
try {
// Dialog
AlertDialog.Builder builder = getOnDemandDialogBuilder(restriction, hook, appInfo,
dangerous, result, context, latch);
AlertDialog alertDialog = builder.create();
alertDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_PHONE);
alertDialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN);
alertDialog.getWindow().setSoftInputMode(
WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
alertDialog.setCancelable(false);
alertDialog.setCanceledOnTouchOutside(false);
alertDialog.show();
holder.dialog = alertDialog;
// Progress bar
final ProgressBar mProgress = (ProgressBar) alertDialog
.findViewById(R.id.pbProgress);
mProgress.setMax(cMaxOnDemandDialog * 20);
mProgress.setProgress(cMaxOnDemandDialog * 20);
Runnable rProgress = new Runnable() {
@Override
public void run() {
AlertDialog dialog = holder.dialog;
if (dialog != null && dialog.isShowing() && mProgress.getProgress() > 0) {
mProgress.incrementProgressBy(-1);
mHandler.postDelayed(this, 50);
}
}
};
mHandler.postDelayed(rProgress, 50);
} catch (Throwable ex) {
Util.bug(null, ex);
latch.countDown();
}
}
});
// Wait for dialog to complete
if (!latch.await(cMaxOnDemandDialog, TimeUnit.SECONDS)) {
Util.log(null, Log.WARN, "On demand dialog timeout " + restriction);
mHandler.post(new Runnable() {
@Override
public void run() {
AlertDialog dialog = holder.dialog;
if (dialog != null)
dialog.cancel();
}
});
}
} finally {
mOndemandSemaphore.release();
}
} finally {
Binder.restoreCallingIdentity(token);
}
} catch (Throwable ex) {
Util.bug(null, ex);
}
return true;
}
final class AlertDialogHolder {
public AlertDialog dialog = null;
}
private AlertDialog.Builder getOnDemandDialogBuilder(final PRestriction restriction, final Hook hook,
ApplicationInfoEx appInfo, boolean dangerous, final PRestriction result, Context context,
final CountDownLatch latch) throws NameNotFoundException {
// Get resources
String self = PrivacyService.class.getPackage().getName();
Resources resources = context.getPackageManager().getResourcesForApplication(self);
// Reference views
View view = LayoutInflater.from(context.createPackageContext(self, 0)).inflate(R.layout.ondemand, null);
ImageView ivAppIcon = (ImageView) view.findViewById(R.id.ivAppIcon);
TextView tvUid = (TextView) view.findViewById(R.id.tvUid);
TextView tvAppName = (TextView) view.findViewById(R.id.tvAppName);
TextView tvAttempt = (TextView) view.findViewById(R.id.tvAttempt);
TextView tvCategory = (TextView) view.findViewById(R.id.tvCategory);
TextView tvFunction = (TextView) view.findViewById(R.id.tvFunction);
TextView tvParameters = (TextView) view.findViewById(R.id.tvParameters);
TableRow rowParameters = (TableRow) view.findViewById(R.id.rowParameters);
final CheckBox cbCategory = (CheckBox) view.findViewById(R.id.cbCategory);
final CheckBox cbOnce = (CheckBox) view.findViewById(R.id.cbOnce);
final CheckBox cbWhitelist = (CheckBox) view.findViewById(R.id.cbWhitelist);
final CheckBox cbWhitelistExtra = (CheckBox) view.findViewById(R.id.cbWhitelistExtra);
// Set values
if ((hook != null && hook.isDangerous()) || appInfo.isSystem())
view.setBackgroundColor(resources.getColor(R.color.color_dangerous_dark));
ivAppIcon.setImageDrawable(appInfo.getIcon(context));
tvUid.setText(Integer.toString(restriction.uid));
tvAppName.setText(TextUtils.join(", ", appInfo.getApplicationName()));
String defaultAction = resources.getString(result.restricted ? R.string.title_deny : R.string.title_allow);
tvAttempt.setText(resources.getString(R.string.title_attempt) + " (" + defaultAction + ")");
int catId = resources.getIdentifier("restrict_" + restriction.restrictionName, "string", self);
tvCategory.setText(resources.getString(catId));
tvFunction.setText(restriction.methodName);
if (restriction.extra == null)
rowParameters.setVisibility(View.GONE);
else
tvParameters.setText(restriction.extra);
cbCategory.setChecked(mSelectCategory);
cbOnce.setChecked(mSelectOnce);
cbOnce.setText(String.format(resources.getString(R.string.title_once),
PrivacyManager.cRestrictionCacheTimeoutMs / 1000));
if (hook != null && hook.whitelist() != null && restriction.extra != null) {
cbWhitelist.setText(resources.getString(R.string.title_whitelist, restriction.extra));
cbWhitelist.setVisibility(View.VISIBLE);
String xextra = getXExtra(restriction, hook);
if (xextra != null) {
cbWhitelistExtra.setText(resources.getString(R.string.title_whitelist, xextra));
cbWhitelistExtra.setVisibility(View.VISIBLE);
}
}
// Category, once and whitelist exclude each other
cbCategory.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
if (isChecked) {
cbOnce.setChecked(false);
cbWhitelist.setChecked(false);
cbWhitelistExtra.setChecked(false);
}
}
});
cbOnce.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
if (isChecked) {
cbCategory.setChecked(false);
cbWhitelist.setChecked(false);
cbWhitelistExtra.setChecked(false);
}
}
});
cbWhitelist.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
if (isChecked) {
cbCategory.setChecked(false);
cbOnce.setChecked(false);
cbWhitelistExtra.setChecked(false);
}
}
});
cbWhitelistExtra.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
if (isChecked) {
cbCategory.setChecked(false);
cbOnce.setChecked(false);
cbWhitelist.setChecked(false);
}
}
});
// Ask
AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context);
alertDialogBuilder.setTitle(resources.getString(R.string.app_name));
alertDialogBuilder.setView(view);
alertDialogBuilder.setIcon(resources.getDrawable(R.drawable.ic_launcher));
alertDialogBuilder.setPositiveButton(resources.getString(R.string.title_deny),
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
// Deny
result.restricted = true;
if (!cbWhitelist.isChecked() && !cbWhitelistExtra.isChecked()) {
mSelectCategory = cbCategory.isChecked();
mSelectOnce = cbOnce.isChecked();
}
if (cbWhitelist.isChecked())
onDemandWhitelist(restriction, null, result, hook);
else if (cbWhitelistExtra.isChecked())
onDemandWhitelist(restriction, getXExtra(restriction, hook), result, hook);
else if (cbOnce.isChecked())
onDemandOnce(restriction, result);
else
onDemandChoice(restriction, cbCategory.isChecked(), true);
latch.countDown();
}
});
alertDialogBuilder.setNegativeButton(resources.getString(R.string.title_allow),
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
// Allow
result.restricted = false;
if (!cbWhitelist.isChecked() && !cbWhitelistExtra.isChecked()) {
mSelectCategory = cbCategory.isChecked();
mSelectOnce = cbOnce.isChecked();
}
if (cbWhitelist.isChecked())
onDemandWhitelist(restriction, null, result, hook);
else if (cbWhitelistExtra.isChecked())
onDemandWhitelist(restriction, getXExtra(restriction, hook), result, hook);
else if (cbOnce.isChecked())
onDemandOnce(restriction, result);
else
onDemandChoice(restriction, cbCategory.isChecked(), false);
latch.countDown();
}
});
return alertDialogBuilder;
}
private String getXExtra(PRestriction restriction, Hook hook) {
if (hook != null)
if (hook.whitelist().equals(Meta.cTypeFilename)) {
String folder = new File(restriction.extra).getParent();
if (!TextUtils.isEmpty(folder))
return folder + File.separatorChar + "*";
} else if (hook.whitelist().equals(Meta.cTypeIPAddress)) {
int semi = restriction.extra.lastIndexOf(':');
String address = (semi >= 0 ? restriction.extra.substring(0, semi) : restriction.extra);
if (Patterns.IP_ADDRESS.matcher(address).matches()) {
int dot = address.lastIndexOf('.');
return address.substring(0, dot + 1) + '*'
+ (semi >= 0 ? restriction.extra.substring(semi) : "");
} else {
int dot = restriction.extra.indexOf('.');
if (dot > 0)
return '*' + restriction.extra.substring(dot);
}
}
return null;
}
private void onDemandWhitelist(final PRestriction restriction, String xextra, final PRestriction result,
Hook hook) {
try {
// Set the whitelist
Util.log(null, Log.WARN, (result.restricted ? "Black" : "White") + "listing " + restriction
+ " xextra=" + xextra);
setSettingInternal(new PSetting(restriction.uid, hook.whitelist(), (xextra == null ? restriction.extra
: xextra), Boolean.toString(!result.restricted)));
} catch (Throwable ex) {
Util.bug(null, ex);
}
}
private void onDemandOnce(final PRestriction restriction, final PRestriction result) {
Util.log(null, Log.WARN, (result.restricted ? "Deny" : "Allow") + " once " + restriction);
result.time = new Date().getTime() + PrivacyManager.cRestrictionCacheTimeoutMs;
CRestriction key = new CRestriction(restriction, restriction.extra);
synchronized (mAskedOnceCache) {
if (mAskedOnceCache.containsKey(key))
mAskedOnceCache.remove(key);
mAskedOnceCache.put(key, key);
}
}
private void onDemandChoice(PRestriction restriction, boolean category, boolean restrict) {
try {
PRestriction result = new PRestriction(restriction);
// Get current category restriction state
boolean prevRestricted = false;
CRestriction key = new CRestriction(restriction.uid, restriction.restrictionName, null, null);
synchronized (mRestrictionCache) {
if (mRestrictionCache.containsKey(key))
prevRestricted = mRestrictionCache.get(key).restricted;
}
Util.log(null, Log.WARN, "On demand choice " + restriction + " category=" + category + "/"
+ prevRestricted + " restrict=" + restrict);
if (category || (restrict && restrict != prevRestricted)) {
// Set category restriction
result.methodName = null;
result.restricted = restrict;
result.asked = category;
setRestrictionInternal(result);
// Clear category on change
boolean dangerous = getSettingBool(0, PrivacyManager.cSettingDangerous, false);
for (Hook md : PrivacyManager.getHooks(restriction.restrictionName)) {
result.methodName = md.getName();
result.restricted = (md.isDangerous() && !dangerous ? false : restrict);
result.asked = category;
setRestrictionInternal(result);
}
}
if (!category) {
// Set method restriction
result.methodName = restriction.methodName;
result.restricted = restrict;
result.asked = true;
result.extra = restriction.extra;
setRestrictionInternal(result);
}
// Mark state as changed
setSettingInternal(new PSetting(restriction.uid, "", PrivacyManager.cSettingState,
Integer.toString(ActivityMain.STATE_CHANGED)));
// Update modification time
setSettingInternal(new PSetting(restriction.uid, "", PrivacyManager.cSettingModifyTime,
Long.toString(System.currentTimeMillis())));
} catch (Throwable ex) {
Util.bug(null, ex);
}
}
private void notifyRestricted(final PRestriction restriction) {
final Context context = getContext();
if (context != null && mHandler != null)
mHandler.post(new Runnable() {
@Override
public void run() {
long token = 0;
try {
token = Binder.clearCallingIdentity();
// Get resources
String self = PrivacyService.class.getPackage().getName();
Resources resources = context.getPackageManager().getResourcesForApplication(self);
// Notify user
String text = resources.getString(R.string.msg_restrictedby);
text += " (" + restriction.uid + " " + restriction.restrictionName + "/"
+ restriction.methodName + ")";
Toast.makeText(context, text, Toast.LENGTH_LONG).show();
} catch (NameNotFoundException ex) {
Util.bug(null, ex);
} finally {
Binder.restoreCallingIdentity(token);
}
}
});
}
private boolean getSettingBool(int uid, String name, boolean defaultValue) throws RemoteException {
return getSettingBool(uid, "", name, defaultValue);
}
private boolean getSettingBool(int uid, String type, String name, boolean defaultValue) throws RemoteException {
String value = getSetting(new PSetting(uid, type, name, Boolean.toString(defaultValue))).value;
return Boolean.parseBoolean(value);
}
private void enforcePermission() {
int callingUid = Util.getAppId(Binder.getCallingUid());
if (callingUid != getXUid() && callingUid != Process.SYSTEM_UID)
throw new SecurityException("xuid=" + mXUid + " calling=" + Binder.getCallingUid());
}
private Context getContext() {
// public static ActivityManagerService self()
// frameworks/base/services/java/com/android/server/am/ActivityManagerService.java
try {
Class<?> cam = Class.forName("com.android.server.am.ActivityManagerService");
Object am = cam.getMethod("self").invoke(null);
if (am == null)
return null;
return (Context) cam.getDeclaredField("mContext").get(am);
} catch (Throwable ex) {
Util.bug(null, ex);
return null;
}
}
private int getXUid() {
if (mXUid < 0)
try {
Context context = getContext();
if (context != null) {
PackageManager pm = context.getPackageManager();
if (pm != null) {
String self = PrivacyService.class.getPackage().getName();
ApplicationInfo xInfo = pm.getApplicationInfo(self, 0);
mXUid = xInfo.uid;
}
}
} catch (Throwable ignored) {
// The package manager may not be up-to-date yet
}
return mXUid;
}
private File getDbFile() {
return new File(Environment.getDataDirectory() + File.separator + "system" + File.separator + "xprivacy"
+ File.separator + "xprivacy.db");
}
private File getDbUsageFile() {
return new File(Environment.getDataDirectory() + File.separator + "system" + File.separator + "xprivacy"
+ File.separator + "usage.db");
}
private void setupDatabase() {
try {
File dbFile = getDbFile();
// Create database folder
dbFile.getParentFile().mkdirs();
// Check database folder
if (dbFile.getParentFile().isDirectory())
Util.log(null, Log.WARN, "Database folder=" + dbFile.getParentFile());
else
Util.log(null, Log.ERROR, "Does not exist folder=" + dbFile.getParentFile());
// Move database from data/xprivacy folder
File folder = new File(Environment.getDataDirectory() + File.separator + "xprivacy");
if (folder.exists()) {
File[] oldFiles = folder.listFiles();
if (oldFiles != null)
for (File file : oldFiles)
if (file.getName().startsWith("xprivacy.db") || file.getName().startsWith("usage.db")) {
File target = new File(dbFile.getParentFile() + File.separator + file.getName());
boolean status = Util.move(file, target);
Util.log(null, Log.WARN, "Moved " + file + " to " + target + " ok=" + status);
}
folder.delete();
}
// Move database from data/application folder
folder = new File(Environment.getDataDirectory() + File.separator + "data" + File.separator
+ PrivacyService.class.getPackage().getName());
if (folder.exists()) {
File[] oldFiles = folder.listFiles();
if (oldFiles != null)
for (File file : oldFiles)
if (file.getName().startsWith("xprivacy.db")) {
File target = new File(dbFile.getParentFile() + File.separator + file.getName());
boolean status = Util.move(file, target);
Util.log(null, Log.WARN, "Moved " + file + " to " + target + " ok=" + status);
}
folder.delete();
}
// Set database file permissions
// Owner: rwx (system)
// Group: rwx (system)
// World: ---
Util.setPermissions(dbFile.getParentFile().getAbsolutePath(), 0770, Process.SYSTEM_UID,
Process.SYSTEM_UID);
File[] files = dbFile.getParentFile().listFiles();
if (files != null)
for (File file : files)
if (file.getName().startsWith("xprivacy.db") || file.getName().startsWith("usage.db"))
Util.setPermissions(file.getAbsolutePath(), 0770, Process.SYSTEM_UID, Process.SYSTEM_UID);
} catch (Throwable ex) {
Util.bug(null, ex);
}
}
private SQLiteDatabase getDb() {
synchronized (this) {
// Check current reference
if (mDb != null && !mDb.isOpen()) {
mDb = null;
Util.log(null, Log.ERROR, "Database not open");
}
if (mDb == null)
try {
setupDatabase();
// Create/upgrade database when needed
File dbFile = getDbFile();
SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(dbFile, null);
// Check database integrity
if (db.isDatabaseIntegrityOk())
Util.log(null, Log.WARN, "Database integrity ok");
else {
// http://www.sqlite.org/howtocorrupt.html
Util.log(null, Log.ERROR, "Database corrupt");
Cursor cursor = db.rawQuery("PRAGMA integrity_check", null);
try {
while (cursor.moveToNext()) {
String message = cursor.getString(0);
Util.log(null, Log.ERROR, message);
}
} finally {
cursor.close();
}
db.close();
// Backup database file
File dbBackup = new File(dbFile.getParentFile() + File.separator + "xprivacy.backup");
dbBackup.delete();
dbFile.renameTo(dbBackup);
File dbJournal = new File(dbFile.getAbsolutePath() + "-journal");
File dbJournalBackup = new File(dbBackup.getAbsolutePath() + "-journal");
dbJournalBackup.delete();
dbJournal.renameTo(dbJournalBackup);
Util.log(null, Log.ERROR, "Old database backup: " + dbBackup.getAbsolutePath());
// Create new database
db = SQLiteDatabase.openOrCreateDatabase(dbFile, null);
Util.log(null, Log.ERROR, "New, empty database created");
}
// Update migration status
if (db.getVersion() > 1) {
Util.log(null, Log.WARN, "Updating migration status");
mLock.writeLock().lock();
db.beginTransaction();
try {
ContentValues values = new ContentValues();
values.put("uid", 0);
if (db.getVersion() > 9)
values.put("type", "");
values.put("name", PrivacyManager.cSettingMigrated);
values.put("value", Boolean.toString(true));
db.insertWithOnConflict(cTableSetting, null, values, SQLiteDatabase.CONFLICT_REPLACE);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
}
// Upgrade database if needed
if (db.needUpgrade(1)) {
Util.log(null, Log.WARN, "Creating database");
mLock.writeLock().lock();
db.beginTransaction();
try {
// http://www.sqlite.org/lang_createtable.html
db.execSQL("CREATE TABLE restriction (uid INTEGER NOT NULL, restriction TEXT NOT NULL, method TEXT NOT NULL, restricted INTEGER NOT NULL)");
db.execSQL("CREATE TABLE setting (uid INTEGER NOT NULL, name TEXT NOT NULL, value TEXT)");
db.execSQL("CREATE TABLE usage (uid INTEGER NOT NULL, restriction TEXT NOT NULL, method TEXT NOT NULL, restricted INTEGER NOT NULL, time INTEGER NOT NULL)");
db.execSQL("CREATE UNIQUE INDEX idx_restriction ON restriction(uid, restriction, method)");
db.execSQL("CREATE UNIQUE INDEX idx_setting ON setting(uid, name)");
db.execSQL("CREATE UNIQUE INDEX idx_usage ON usage(uid, restriction, method)");
db.setVersion(1);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
}
if (db.needUpgrade(2)) {
Util.log(null, Log.WARN, "Upgrading from version=" + db.getVersion());
// Old migrated indication
db.setVersion(2);
}
if (db.needUpgrade(3)) {
Util.log(null, Log.WARN, "Upgrading from version=" + db.getVersion());
mLock.writeLock().lock();
db.beginTransaction();
try {
db.execSQL("DELETE FROM usage WHERE method=''");
db.setVersion(3);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
}
if (db.needUpgrade(4)) {
Util.log(null, Log.WARN, "Upgrading from version=" + db.getVersion());
mLock.writeLock().lock();
db.beginTransaction();
try {
db.execSQL("DELETE FROM setting WHERE value IS NULL");
db.setVersion(4);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
}
if (db.needUpgrade(5)) {
Util.log(null, Log.WARN, "Upgrading from version=" + db.getVersion());
mLock.writeLock().lock();
db.beginTransaction();
try {
db.execSQL("DELETE FROM setting WHERE value = ''");
db.execSQL("DELETE FROM setting WHERE name = 'Random@boot' AND value = 'false'");
db.setVersion(5);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
}
if (db.needUpgrade(6)) {
Util.log(null, Log.WARN, "Upgrading from version=" + db.getVersion());
mLock.writeLock().lock();
db.beginTransaction();
try {
db.execSQL("DELETE FROM setting WHERE name LIKE 'OnDemand.%'");
db.setVersion(6);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
}
if (db.needUpgrade(7)) {
Util.log(null, Log.WARN, "Upgrading from version=" + db.getVersion());
mLock.writeLock().lock();
db.beginTransaction();
try {
db.execSQL("ALTER TABLE usage ADD COLUMN extra TEXT");
db.setVersion(7);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
}
if (db.needUpgrade(8)) {
Util.log(null, Log.WARN, "Upgrading from version=" + db.getVersion());
mLock.writeLock().lock();
db.beginTransaction();
try {
db.execSQL("DROP INDEX idx_usage");
db.execSQL("CREATE UNIQUE INDEX idx_usage ON usage(uid, restriction, method, extra)");
db.setVersion(8);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
}
if (db.needUpgrade(9)) {
Util.log(null, Log.WARN, "Upgrading from version=" + db.getVersion());
mLock.writeLock().lock();
db.beginTransaction();
try {
db.execSQL("DROP TABLE usage");
db.setVersion(9);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
}
if (db.needUpgrade(10)) {
Util.log(null, Log.WARN, "Upgrading from version=" + db.getVersion());
mLock.writeLock().lock();
db.beginTransaction();
try {
db.execSQL("ALTER TABLE setting ADD COLUMN type TEXT");
db.execSQL("DROP INDEX idx_setting");
db.execSQL("CREATE UNIQUE INDEX idx_setting ON setting(uid, type, name)");
db.execSQL("UPDATE setting SET type=''");
db.setVersion(10);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
}
if (db.needUpgrade(11)) {
Util.log(null, Log.WARN, "Upgrading from version=" + db.getVersion());
mLock.writeLock().lock();
db.beginTransaction();
try {
List<PSetting> listSetting = new ArrayList<PSetting>();
Cursor cursor = db.query(cTableSetting, new String[] { "uid", "name", "value" }, null,
null, null, null, null);
if (cursor != null)
try {
while (cursor.moveToNext()) {
int uid = cursor.getInt(0);
String name = cursor.getString(1);
String value = cursor.getString(2);
if (name.startsWith("Account.") || name.startsWith("Application.")
|| name.startsWith("Contact.") || name.startsWith("Template.")) {
int dot = name.indexOf('.');
String type = name.substring(0, dot);
listSetting
.add(new PSetting(uid, type, name.substring(dot + 1), value));
listSetting.add(new PSetting(uid, "", name, null));
} else if (name.startsWith("Whitelist.")) {
String[] component = name.split("\\.");
listSetting.add(new PSetting(uid, component[1], name.replace(
component[0] + "." + component[1] + ".", ""), value));
listSetting.add(new PSetting(uid, "", name, null));
}
}
} finally {
cursor.close();
}
for (PSetting setting : listSetting) {
Util.log(null, Log.WARN, "Converting " + setting);
if (setting.value == null)
db.delete(cTableSetting, "uid=? AND type=? AND name=?",
new String[] { Integer.toString(setting.uid), setting.type,
setting.name });
else {
// Create record
ContentValues values = new ContentValues();
values.put("uid", setting.uid);
values.put("type", setting.type);
values.put("name", setting.name);
values.put("value", setting.value);
// Insert/update record
db.insertWithOnConflict(cTableSetting, null, values,
SQLiteDatabase.CONFLICT_REPLACE);
}
}
db.setVersion(11);
db.setTransactionSuccessful();
} finally {
try {
db.endTransaction();
} finally {
mLock.writeLock().unlock();
}
}
}
Util.log(null, Log.WARN, "Running VACUUM");
mLock.writeLock().lock();
try {
db.execSQL("VACUUM");
} catch (Throwable ex) {
Util.bug(null, ex);
} finally {
mLock.writeLock().unlock();
}
Util.log(null, Log.WARN, "Database version=" + db.getVersion());
mDb = db;
} catch (Throwable ex) {
mDb = null; // retry
Util.bug(null, ex);
try {
OutputStreamWriter outputStreamWriter = new OutputStreamWriter(new FileOutputStream(
"/cache/xprivacy.log", true));
outputStreamWriter.write(ex.toString());
outputStreamWriter.write("\n");
outputStreamWriter.write(Log.getStackTraceString(ex));
outputStreamWriter.write("\n");
outputStreamWriter.close();
} catch (Throwable exex) {
Util.bug(null, exex);
}
}
return mDb;
}
}
private SQLiteDatabase getDbUsage() {
synchronized (this) {
// Check current reference
if (mDbUsage != null && !mDbUsage.isOpen()) {
mDbUsage = null;
Util.log(null, Log.ERROR, "Usage database not open");
}
if (mDbUsage == null)
try {
// Create/upgrade database when needed
File dbUsageFile = getDbUsageFile();
SQLiteDatabase dbUsage = SQLiteDatabase.openOrCreateDatabase(dbUsageFile, null);
// Check database integrity
if (dbUsage.isDatabaseIntegrityOk())
Util.log(null, Log.WARN, "Usage database integrity ok");
else {
dbUsage.close();
dbUsageFile.delete();
new File(dbUsageFile + "-journal").delete();
dbUsage = SQLiteDatabase.openOrCreateDatabase(dbUsageFile, null);
Util.log(null, Log.ERROR, "Deleted corrupt usage data database");
}
// Upgrade database if needed
if (dbUsage.needUpgrade(1)) {
Util.log(null, Log.WARN, "Creating usage database");
mLockUsage.writeLock().lock();
dbUsage.beginTransaction();
try {
dbUsage.execSQL("CREATE TABLE usage (uid INTEGER NOT NULL, restriction TEXT NOT NULL, method TEXT NOT NULL, extra TEXT NOT NULL, restricted INTEGER NOT NULL, time INTEGER NOT NULL)");
dbUsage.execSQL("CREATE UNIQUE INDEX idx_usage ON usage(uid, restriction, method, extra)");
dbUsage.setVersion(1);
dbUsage.setTransactionSuccessful();
} finally {
try {
dbUsage.endTransaction();
} finally {
mLockUsage.writeLock().unlock();
}
}
}
Util.log(null, Log.WARN, "Running VACUUM");
mLockUsage.writeLock().lock();
try {
dbUsage.execSQL("VACUUM");
} catch (Throwable ex) {
Util.bug(null, ex);
} finally {
mLockUsage.writeLock().unlock();
}
Util.log(null, Log.WARN, "Changing to asynchronous mode");
try {
dbUsage.rawQuery("PRAGMA synchronous=OFF", null);
} catch (Throwable ex) {
Util.bug(null, ex);
}
Util.log(null, Log.WARN, "Usage database version=" + dbUsage.getVersion());
mDbUsage = dbUsage;
} catch (Throwable ex) {
mDbUsage = null; // retry
Util.bug(null, ex);
}
return mDbUsage;
}
}
};
}
| [
"yuzhongxing88@gmail.com"
] | yuzhongxing88@gmail.com |
b2fc8f84c24b85e27dae67b8d1ce1eaca045ce5f | a6d50f4a13d399fd5fc1c35f142687529e9387ee | /commonsdk/src/main/java/com/tw/commonsdk/base/delegate/IActivity.java | b886e6c283d525cd40b8db5af0cfd61852e17450 | [] | no_license | Apengsun/wechat_moments | 00871b6b4bc59feebdb4ae323d90afd053bd50cb | 286149dd191a5ddc64de2c1578ac54881b45473e | refs/heads/master | 2020-08-27T02:35:50.263561 | 2019-10-24T06:11:59 | 2019-10-24T06:11:59 | 217,220,838 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,809 | java | /*
* Copyright 2017 JessYan
*
* 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.tw.commonsdk.base.delegate;
import android.app.Activity;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.fragment.app.FragmentManager;
import com.tw.commonsdk.base.BaseActivity;
import com.tw.commonsdk.base.BaseFragment;
/**
* ================================================
* 框架要求框架中的每个 {@link Activity} 都需要实现此类,以满足规范
*
* @see BaseActivity
* Created by JessYan on 26/04/2017 21:42
* <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
* <a href="https://github.com/JessYanCoding">Follow me</a>
* ================================================
*/
public interface IActivity {
/**
* 是否使用 EventBus
* Arms 核心库现在并不会依赖某个 EventBus, 要想使用 EventBus, 还请在项目中自行依赖对应的 EventBus
* 现在支持两种 EventBus, greenrobot 的 EventBus 和畅销书 《Android源码设计模式解析与实战》的作者 何红辉 所作的 AndroidEventBus
* 确保依赖后, 将此方法返回 true, Arms 会自动检测您依赖的 EventBus, 并自动注册
* 这种做法可以让使用者有自行选择三方库的权利, 并且还可以减轻 Arms 的体积
*
* @return 返回 {@code true}, Arms 会自动注册 EventBus
*/
boolean useEventBus();
/**
* 初始化 View, 如果 {@link #initView(Bundle)} 返回 0, 框架则不会调用 {@link Activity#setContentView(int)}
*
* @param savedInstanceState
* @return
*/
int initView(@Nullable Bundle savedInstanceState);
/**
* 初始化数据
*
* @param savedInstanceState
*/
void initData(@Nullable Bundle savedInstanceState);
/**
* 这个 Activity 是否会使用 Fragment,框架会根据这个属性判断是否注册 {@link FragmentManager.FragmentLifecycleCallbacks}
* 如果返回{@code false},那意味着这个 Activity 不需要绑定 Fragment,那你再在这个 Activity 中绑定继承于 {@link BaseFragment} 的 Fragment 将不起任何作用
* @see ActivityLifecycle#registerFragmentCallbacks (Fragment 的注册过程)
*
* @return
*/
boolean useFragment();
}
| [
"sunzhipeng@houyicloud.com"
] | sunzhipeng@houyicloud.com |
6d62895bdfb1eb9d906a26ffcb62b3afc2b207ac | 360a9f791764e561fd246df53bdcaab1f711fec6 | /cty/src/com/cty/web/action/UserAction.java | 24d7419f0b0d15b86934c1cd5d62746eb64b8b7a | [] | no_license | jizhanfei/work | 614cfd8c32236897bf2a34fdf30ffd12d4048866 | ab81cb62f51caff85b48d8005b7fe16af09947ca | refs/heads/master | 2020-03-29T05:06:17.103031 | 2018-09-21T02:30:15 | 2018-09-21T02:30:15 | 149,566,651 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,474 | java | package com.cty.web.action;
import org.apache.commons.lang3.StringUtils;
import org.apache.struts2.ServletActionContext;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import com.cty.domain.User;
import com.cty.service.IUserService;
import com.cty.web.action.base.BaseAction;
@Controller
@Scope("prototype")
public class UserAction extends BaseAction<User>{
private IUserService userService;
//通过属性驱动接收验证码
private String checkcode;
public void setCheckcode(String checkcode) {
this.checkcode = checkcode;
}
public String login(){
//生成的验证码
String key = (String) ServletActionContext.getRequest().getSession().getAttribute("key");
//判断用户输入的验证码是否正确
if(StringUtils.isNotBlank(checkcode) && checkcode.equals(key)){
//验证码正确
User user = userService.login(model);
if(user != null){
//登录成功,将User放入session域,跳转到系统首页
ServletActionContext.getRequest().getSession().setAttribute("loginUser", user);
return "home";
}else{
//登录失败,设置错误提示信息,跳转到登录页面
this.addActionError(this.getText("loginError"));
return "login";
}
}else{
//验证码错误,设置错误提示信息,跳转到登录页面
this.addActionError(this.getText("validateCodeError"));
return "login";
}
}
public String logout(){
return "";
}
}
| [
"308350144@qq.com"
] | 308350144@qq.com |
4eb1494a6fcb426f2188e06a2171dfa5e5c24198 | f0987f5c4c44e4ead7ca09c44c45a7a9f2ef0880 | /src/upem/jarret/task/TaskWorker.java | 354b0137fe104b7e9c30051bdd8e455e232c50da | [] | no_license | rojorabelisoa/HttpTcp | 4916037cb1aca8e35c3ce94c48a9358cb1156f34 | 8a287ee55dbfa7d9a12900f281546f7b31efd1aa | refs/heads/master | 2021-01-19T13:06:12.908132 | 2017-04-12T15:00:38 | 2017-04-12T15:00:38 | 88,064,075 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 395 | java | package upem.jarret.task;
import java.net.MalformedURLException;
import upem.jarret.worker.Worker;
import upem.jarret.worker.WorkerFactory;
public class TaskWorker extends Task {
public Worker getWorker() throws MalformedURLException,
ClassNotFoundException, IllegalAccessException,
InstantiationException {
return WorkerFactory.getWorker(getWorkerURL(), getWorkerClassName());
}
}
| [
"rojorabelisoa@yahoo.fr"
] | rojorabelisoa@yahoo.fr |
9cdc3d76c724af79f9043bc07e581bfee9a2f82d | a45dff9eb7c4ea22b3fd2f7fb5c7d0470aa70c74 | /src/main/java/com/lib/management/service/BookInfoResponseService.java | b0010a0bdf27bac729905a25592a4e600d7eacc7 | [] | no_license | bamboo3333/management | 19da2a272e4523cf3170545c684229e4006f769f | 842e425383a6309dd86bc9666bcea0a5a98c33f1 | refs/heads/master | 2021-05-16T19:10:31.927565 | 2020-03-26T11:13:14 | 2020-03-26T11:13:14 | 250,433,981 | 0 | 0 | null | 2020-03-27T03:46:33 | 2020-03-27T03:46:32 | null | UTF-8 | Java | false | false | 392 | java | package com.lib.management.service;
import com.lib.management.dto.BookInfoResponse;
import java.util.List;
import java.util.Map;
public interface BookInfoResponseService {
BookInfoResponse getBookInfoByBookInfoId(int bookInfoId);
List<BookInfoResponse> getBooksInfoByBookName(String bookName,int page);
List<BookInfoResponse> searchByMultParams(Map<String,Object> params);
}
| [
"zhangyonglele@yeah.net"
] | zhangyonglele@yeah.net |
0b7380c1e7f69db0b09aadd8788ea887d8942d0d | f50558074523ef4051dd63f1f205cd009152c623 | /src/wota/ai/pwahs05/ScoutAI.java | 73cbee99030024e9354a3fed11fae7679380e3a6 | [] | no_license | wotateam/wota | 60ad8265704b3a05d7ab315f90aab8fe1e49ae34 | 97522bfd061d6bbd77ac0431ebdf5097a4e2d939 | refs/heads/master | 2021-12-14T15:20:52.537185 | 2021-11-27T15:52:57 | 2021-11-27T15:52:57 | 9,792,486 | 5 | 0 | null | 2015-04-20T18:59:24 | 2013-05-01T14:03:18 | Java | UTF-8 | Java | false | false | 2,839 | java | /**
*
*/
package wota.ai.pwahs05; /* <-- change this to wota.ai.YOUR_AI_NAME
* make sure your file is in the folder /de/wota/ai/YOUR_AI_NAME
* and has the same name as the class (change TemplateAI to
* the name of your choice)
*/
import wota.gamemaster.AIInformation;
import wota.gameobjects.*;
import java.util.LinkedList;
/**
* Put a description of you AI here.
*/
// Here, you may use spaces, etc., unlike in the package path wota.ai.YOUR_AI_NAME:
@AIInformation(creator = "Anonymous", name = "Anonymous's AI")
public class ScoutAI extends TalkingAntAI {
/*
* tick() gets called in every step of the game.
* You have to call methods of AntAI to specify
* the desired action.
*
* you have access to
* the Ants you see: visibleAnts
* the sources of sugar you see: visibleSugar
* the Hills you see: visibleHills
*
* you can move using one of the methods starting
* with move. For example to move ahead (in the
* direction of the last tick) call moveAhead()
*
* to attack other ants use methods starting with attack(otherAnt)
* attack, e.g.
*
* if you want a List containing only the hostile
* ants you can see, call visibleEnemies()
*
* communication is possible with talk(content)
* where content is an integer value with is
* contained in the message
*
* To measure the distance between two objects
* (you must be able to see both of them), call vectorBetween(start, end).length()
*
* to get information about yourself, for example
* your health points self.health
*
* to obtain random numbers use SeededRandomizer
* e.g. a random elment of {0,1,2} SeededRandomizer.getInt(3)
*
* to iterate over a list (e.g. visibleAnts) use for (Ant ant : visibleAnts) {
* // ant is an element of visibleAnts
* }
*
* A full list of possible actions and how to get information is available at
* doc/de/wota/gameobjects/AntAI.html
*/
boolean fight = false;
boolean run = false;
double rundir = 0;
@Override
public void first_cry(){
if (time == 1){ //was just born, figure out time and directions:
//find time:
if (audibleHillMessage != null){
if (audibleHillMessage.content < 0) {
initialTime = audibleHillMessage.content - HillAI.initTime;
}
}
dir = Math.asin(self.caste.SIGHT_RANGE / parameters.SIZE_X) * 360 / Math.PI
+ (self.id * 90) % 360;
//initialize hills:
for(int i = 0 ; i < HillAI.NR_HILLS ; ++i) {
hills.add(new LinkedList<Snapshot>());
indices[i] = 0;
}
//add my hill:
for(Hill h: visibleHills){
if (h.playerID == self.playerID){
hills.get(HillAI.HILL_IND).add(visibleHills.get(0));
}
}
nr_hill = 0;
}
}
}
| [
"philipp.weisz@gmail.com"
] | philipp.weisz@gmail.com |
223d6705dd472683d14e493bff1a903b5193350f | 39481154f1a728c73367efa782346844b9272492 | /src/main/java/top/zywork/security/MyUserDetailsService.java | a36d87250932bf2c7bb015b364a7534b5a6d54bc | [] | no_license | hyx-jetbrains/zywork-app | 1580d544df8dbe7e4547d70ff797a68cf8a9c104 | 81a26a374496aa1e15b2847f2a32f0fc8a982367 | refs/heads/master | 2020-07-06T08:28:42.718528 | 2019-08-16T09:10:09 | 2019-08-16T09:10:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 481 | java | package top.zywork.security;
import org.springframework.security.core.userdetails.UserDetailsService;
/**
* 自定义用户详情接口,继承自SpringSecurity的UserDetailsService接口<br/>
*
* 创建于2018-12-23<br/>
*
* @author 王振宇
* @version 1.0
*/
public interface MyUserDetailsService extends UserDetailsService {
/**
* 根据用户编号获取用户详情
* @param userId
* @return
*/
UserDO loadUserByUserId(Long userId);
}
| [
"847315251@qq.com"
] | 847315251@qq.com |
0d95fa3ec0fd7be2c23ace4ccf1ab6bf9e267b0f | b4caf4bf393a00fb0dcb2a057700b96b3c9e4075 | /print-client/src/main/java/net/steampunkfoundry/techdemo/client/printclient/login/service/CaseClient.java | 3a81f345aa10394f6df448b53a204a729e5075a3 | [] | no_license | rhcdg/speed-core | eea4356221c7d5683bb592f4fa18ab95d857a84f | 78872e3d8e050759bb75baa7748e5517a0c1ae6d | refs/heads/main | 2023-04-08T20:54:49.967127 | 2021-04-21T20:37:34 | 2021-04-21T20:37:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,709 | java | package net.steampunkfoundry.techdemo.client.printclient.login.service;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import net.steampunkfoundry.techdemo.client.printclient.dto.Pdf;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.ResponseEntity;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;
import org.springframework.web.util.UriComponentsBuilder;
/**
* CaseClient is used to make a rest call to the case service and retrieve the list of PDFs that are
* ready to print from the case service.
*/
@Service
public class CaseClient {
private final RestTemplate restTemplate;
@Value("${case.getPdfs.endpoint}")
private String getPdfApi;
public CaseClient(RestTemplate restTemplate) {
this.restTemplate = restTemplate;
}
/**
* @return set of PDFS that are available to print from the Case Service
*/
public List<Pdf> getPdfs() {
HttpHeaders headers = new HttpHeaders();
JwtAuthenticationToken authentication = (JwtAuthenticationToken) SecurityContextHolder
.getContext().getAuthentication();
headers.set("Authorization",
"Bearer " + authentication.getToken().getTokenValue());
Logger.getLogger(CaseClient.class.getName())
.log(Level.INFO, "jwt token: " + authentication.getToken().getTokenValue());
UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(getPdfApi);
HttpEntity<?> entity = new HttpEntity<>(headers);
ResponseEntity<Set<Pdf>> responseEntity =
restTemplate
.exchange(
getPdfApi,
HttpMethod.GET,
entity,
new ParameterizedTypeReference<Set<Pdf>>() {
}
);
List<Pdf> pdfs = new ArrayList<Pdf>();
pdfs.addAll(responseEntity.getBody());
pdfs.sort(Comparator.comparing(Pdf::getCaseNumber).thenComparing(Pdf::getAnumber)
.thenComparing(Pdf::getPdfDescription));
return pdfs;
}
}
| [
"farrukh.saleem@creativedevgroup.com"
] | farrukh.saleem@creativedevgroup.com |
7b28bec93d99cde9c3881d27c9a7455cfef1b314 | fa91450deb625cda070e82d5c31770be5ca1dec6 | /Diff-Raw-Data/30/30_5d96348296eda5f85cc5c56de9389fe022c24423/DefaultReleaseManager/30_5d96348296eda5f85cc5c56de9389fe022c24423_DefaultReleaseManager_s.java | 031903b8981e1bd8833e4456af3173b6583e368e | [] | 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 | 20,199 | java | package org.apache.maven.shared.release;
/*
* 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.
*/
import org.apache.maven.scm.ScmException;
import org.apache.maven.scm.ScmFileSet;
import org.apache.maven.scm.command.checkout.CheckOutScmResult;
import org.apache.maven.scm.manager.NoSuchScmProviderException;
import org.apache.maven.scm.provider.ScmProvider;
import org.apache.maven.scm.repository.ScmRepository;
import org.apache.maven.scm.repository.ScmRepositoryException;
import org.apache.maven.settings.Settings;
import org.apache.maven.shared.release.config.ReleaseDescriptor;
import org.apache.maven.shared.release.config.ReleaseDescriptorStore;
import org.apache.maven.shared.release.config.ReleaseDescriptorStoreException;
import org.apache.maven.shared.release.exec.MavenExecutor;
import org.apache.maven.shared.release.exec.MavenExecutorException;
import org.apache.maven.shared.release.phase.ReleasePhase;
import org.apache.maven.shared.release.scm.ReleaseScmCommandException;
import org.apache.maven.shared.release.scm.ReleaseScmRepositoryException;
import org.apache.maven.shared.release.scm.ScmRepositoryConfigurator;
import org.codehaus.plexus.logging.AbstractLogEnabled;
import org.codehaus.plexus.util.FileUtils;
import org.codehaus.plexus.util.StringUtils;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
/**
* Implementation of the release manager.
*
* @author <a href="mailto:brett@apache.org">Brett Porter</a>
*/
public class DefaultReleaseManager
extends AbstractLogEnabled
implements ReleaseManager
{
/**
* The phases of release to run, and in what order.
*/
private List preparePhases;
//todo implement
private List performPhases;
/**
* The phases of release to run to rollback changes
*/
private List rollbackPhases;
/**
* The available phases.
*/
private Map releasePhases;
/**
* The configuration storage.
*/
private ReleaseDescriptorStore configStore;
/**
* Tool for configuring SCM repositories from release configuration.
*/
private ScmRepositoryConfigurator scmRepositoryConfigurator;
/**
* Tool to execute Maven.
*/
private MavenExecutor mavenExecutor;
private static final int PHASE_SKIP = 0, PHASE_START = 1, PHASE_END = 2, GOAL_START = 11, GOAL_END = 12, ERROR = 99;
public void prepare( ReleaseDescriptor releaseDescriptor, Settings settings, List reactorProjects )
throws ReleaseExecutionException, ReleaseFailureException
{
prepare( releaseDescriptor, settings, reactorProjects, true, false, null );
}
public void prepare( ReleaseDescriptor releaseDescriptor, Settings settings, List reactorProjects, boolean resume,
boolean dryRun )
throws ReleaseExecutionException, ReleaseFailureException
{
prepare( releaseDescriptor, settings, reactorProjects, resume, dryRun, null );
}
public ReleaseResult prepareWithResult( ReleaseDescriptor releaseDescriptor, Settings settings,
List reactorProjects, boolean resume, boolean dryRun,
ReleaseManagerListener listener )
{
ReleaseResult result = new ReleaseResult();
result.setStartTime( System.currentTimeMillis() );
try
{
prepare( releaseDescriptor, settings, reactorProjects, resume, dryRun, listener, result );
result.setResultCode( ReleaseResult.SUCCESS );
}
catch ( ReleaseExecutionException e )
{
captureException( result, listener, e );
}
catch ( ReleaseFailureException e )
{
captureException( result, listener, e );
}
finally
{
result.setEndTime( System.currentTimeMillis() );
}
return result;
}
public void prepare( ReleaseDescriptor releaseDescriptor, Settings settings, List reactorProjects, boolean resume,
boolean dryRun, ReleaseManagerListener listener )
throws ReleaseExecutionException, ReleaseFailureException
{
prepare( releaseDescriptor, settings, reactorProjects, resume, dryRun, listener, null );
}
private void prepare( ReleaseDescriptor releaseDescriptor, Settings settings, List reactorProjects, boolean resume,
boolean dryRun, ReleaseManagerListener listener, ReleaseResult result )
throws ReleaseExecutionException, ReleaseFailureException
{
updateListener( listener, "prepare", GOAL_START );
ReleaseDescriptor config;
if ( resume )
{
config = loadReleaseDescriptor( releaseDescriptor, listener );
}
else
{
config = releaseDescriptor;
}
// Later, it would be a good idea to introduce a proper workflow tool so that the release can be made up of a
// more flexible set of steps.
String completedPhase = config.getCompletedPhase();
int index = preparePhases.indexOf( completedPhase );
for ( int idx = 0; idx <= index; idx++ )
{
updateListener( listener, preparePhases.get( idx ).toString(), PHASE_SKIP );
}
if ( index == preparePhases.size() - 1 )
{
logInfo( result, "Release preparation already completed. You can now continue with release:perform, " +
"or start again using the -Dresume=false flag" );
}
else if ( index >= 0 )
{
logInfo( result, "Resuming release from phase '" + preparePhases.get( index + 1 ) + "'" );
}
// start from next phase
for ( int i = index + 1; i < preparePhases.size(); i++ )
{
String name = (String) preparePhases.get( i );
ReleasePhase phase = (ReleasePhase) releasePhases.get( name );
if ( phase == null )
{
throw new ReleaseExecutionException( "Unable to find phase '" + name + "' to execute" );
}
updateListener( listener, name, PHASE_START );
ReleaseResult phaseResult = null;
try
{
if ( dryRun )
{
phaseResult = phase.simulate( config, settings, reactorProjects );
}
else
{
phaseResult = phase.execute( config, settings, reactorProjects );
}
}
finally
{
if ( result != null && phaseResult != null )
{
result.getOutputBuffer().append( phaseResult.getOutput() );
}
}
config.setCompletedPhase( name );
try
{
configStore.write( config );
}
catch ( ReleaseDescriptorStoreException e )
{
// TODO: rollback?
throw new ReleaseExecutionException( "Error writing release properties after completing phase", e );
}
updateListener( listener, name, PHASE_END );
}
updateListener( listener, "prepare", GOAL_END );
}
public void rollback( ReleaseDescriptor releaseDescriptor, Settings settings, List reactorProjects )
throws ReleaseExecutionException, ReleaseFailureException
{
rollback( releaseDescriptor, settings, reactorProjects, null );
}
public void rollback( ReleaseDescriptor releaseDescriptor, Settings settings, List reactorProjects,
ReleaseManagerListener listener )
throws ReleaseExecutionException, ReleaseFailureException
{
updateListener( listener, "rollback", GOAL_START );
releaseDescriptor = loadReleaseDescriptor( releaseDescriptor, null );
for( Iterator phases = rollbackPhases.iterator(); phases.hasNext(); )
{
String name = (String) phases.next();
ReleasePhase phase = (ReleasePhase) releasePhases.get( name );
if ( phase == null )
{
throw new ReleaseExecutionException( "Unable to find phase '" + name + "' to execute" );
}
updateListener( listener, name, PHASE_START );
phase.execute( releaseDescriptor, settings, reactorProjects );
updateListener( listener, name, PHASE_END );
}
//call release:clean so that resume will not be possible anymore after a rollback
clean( releaseDescriptor, reactorProjects );
updateListener( listener, "prepare", GOAL_END );
}
public void perform( ReleaseDescriptor releaseDescriptor, Settings settings, List reactorProjects,
File checkoutDirectory, String goals, boolean useReleaseProfile )
throws ReleaseExecutionException, ReleaseFailureException
{
perform( releaseDescriptor, settings, reactorProjects, checkoutDirectory, goals, useReleaseProfile, null );
}
public void perform( ReleaseDescriptor releaseDescriptor, Settings settings, List reactorProjects,
File checkoutDirectory, String goals, boolean useReleaseProfile,
ReleaseManagerListener listener )
throws ReleaseExecutionException, ReleaseFailureException
{
perform( releaseDescriptor, settings, reactorProjects, checkoutDirectory, goals, useReleaseProfile, listener,
new ReleaseResult() );
}
public ReleaseResult performWithResult( ReleaseDescriptor releaseDescriptor, Settings settings,
List reactorProjects, File checkoutDirectory, String goals,
boolean useReleaseProfile, ReleaseManagerListener listener )
{
ReleaseResult result = new ReleaseResult();
try
{
result.setStartTime( System.currentTimeMillis() );
perform( releaseDescriptor, settings, reactorProjects, checkoutDirectory, goals, useReleaseProfile,
listener, result );
result.setResultCode( ReleaseResult.SUCCESS );
}
catch ( ReleaseExecutionException e )
{
captureException( result, listener, e );
}
catch ( ReleaseFailureException e )
{
captureException( result, listener, e );
}
finally
{
result.setEndTime( System.currentTimeMillis() );
}
return result;
}
private void perform( ReleaseDescriptor releaseDescriptor, Settings settings, List reactorProjects,
File checkoutDirectory, String goals, boolean useReleaseProfile,
ReleaseManagerListener listener, ReleaseResult result )
throws ReleaseExecutionException, ReleaseFailureException
{
updateListener( listener, "perform", GOAL_START );
logInfo( result, "Checking out the project to perform the release ..." );
updateListener( listener, "verify-release-configuration", PHASE_START );
ReleaseDescriptor config = loadReleaseDescriptor( releaseDescriptor, listener );
updateListener( listener, "verify-release-configuration", PHASE_END );
updateListener( listener, "verify-completed-prepare-phases", PHASE_START );
// if we stopped mid-way through preparation - don't perform
if ( config.getCompletedPhase() != null && !"end-release".equals( config.getCompletedPhase() ) )
{
String message = "Cannot perform release - the preparation step was stopped mid-way. Please re-run " +
"release:prepare to continue, or perform the release from an SCM tag.";
updateListener( listener, message, ERROR );
throw new ReleaseFailureException( message );
}
if ( config.getScmSourceUrl() == null )
{
String message = "No SCM URL was provided to perform the release from";
updateListener( listener, message, ERROR );
throw new ReleaseFailureException( message );
}
updateListener( listener, "verify-completed-prepare-phases", PHASE_END );
updateListener( listener, "configure-repositories", PHASE_START );
ScmRepository repository;
ScmProvider provider;
try
{
repository = scmRepositoryConfigurator.getConfiguredRepository( config, settings );
provider = scmRepositoryConfigurator.getRepositoryProvider( repository );
}
catch ( ScmRepositoryException e )
{
updateListener( listener, e.getMessage(), ERROR );
throw new ReleaseScmRepositoryException( e.getMessage(), e.getValidationMessages() );
}
catch ( NoSuchScmProviderException e )
{
updateListener( listener, e.getMessage(), ERROR );
throw new ReleaseExecutionException( "Unable to configure SCM repository: " + e.getMessage(), e );
}
// TODO: sanity check that it is not . or .. or lower
updateListener( listener, "configure-repositories", PHASE_END );
updateListener( listener, "checkout-project-from-scm", PHASE_START );
if ( checkoutDirectory.exists() )
{
try
{
FileUtils.deleteDirectory( checkoutDirectory );
}
catch ( IOException e )
{
updateListener( listener, e.getMessage(), ERROR );
throw new ReleaseExecutionException( "Unable to remove old checkout directory: " + e.getMessage(), e );
}
}
checkoutDirectory.mkdirs();
CheckOutScmResult scmResult;
try
{
scmResult =
provider.checkOut( repository, new ScmFileSet( checkoutDirectory ), config.getScmReleaseLabel() );
}
catch ( ScmException e )
{
updateListener( listener, e.getMessage(), ERROR );
throw new ReleaseExecutionException( "An error is occurred in the checkout process: " + e.getMessage(), e );
}
if ( !scmResult.isSuccess() )
{
updateListener( listener, scmResult.getProviderMessage(), ERROR );
throw new ReleaseScmCommandException( "Unable to checkout from SCM", scmResult );
}
updateListener( listener, "checkout-project-from-scm", PHASE_END );
updateListener( listener, "build-project", PHASE_START );
String additionalArguments = config.getAdditionalArguments();
if ( useReleaseProfile )
{
if ( !StringUtils.isEmpty( additionalArguments ) )
{
additionalArguments = additionalArguments + " -DperformRelease=true";
}
else
{
additionalArguments = "-DperformRelease=true";
}
}
try
{
mavenExecutor.executeGoals( checkoutDirectory, goals, config.isInteractive(), additionalArguments,
config.getPomFileName(), result );
}
catch ( MavenExecutorException e )
{
updateListener( listener, e.getMessage(), ERROR );
throw new ReleaseExecutionException( "Error executing Maven: " + e.getMessage(), e );
}
updateListener( listener, "build-project", PHASE_END );
updateListener( listener, "cleanup", PHASE_START );
clean( config, reactorProjects );
updateListener( listener, "cleanup", PHASE_END );
updateListener( listener, "perform", GOAL_END );
}
private ReleaseDescriptor loadReleaseDescriptor( ReleaseDescriptor releaseDescriptor, ReleaseManagerListener listener )
throws ReleaseExecutionException
{
try
{
return configStore.read( releaseDescriptor );
}
catch ( ReleaseDescriptorStoreException e )
{
updateListener( listener, e.getMessage(), ERROR );
throw new ReleaseExecutionException( "Error reading stored configuration: " + e.getMessage(), e );
}
}
public void clean( ReleaseDescriptor releaseDescriptor, List reactorProjects )
{
getLogger().info( "Cleaning up after release..." );
configStore.delete( releaseDescriptor );
for ( Iterator i = preparePhases.iterator(); i.hasNext(); )
{
String name = (String) i.next();
ReleasePhase phase = (ReleasePhase) releasePhases.get( name );
phase.clean( reactorProjects );
}
}
void setConfigStore( ReleaseDescriptorStore configStore )
{
this.configStore = configStore;
}
void setMavenExecutor( MavenExecutor mavenExecutor )
{
this.mavenExecutor = mavenExecutor;
}
void updateListener( ReleaseManagerListener listener, String name, int state )
{
if ( listener != null )
{
switch ( state )
{
case GOAL_START:
listener.goalStart( name, getGoalPhases( name ) );
break;
case GOAL_END:
listener.goalEnd();
break;
case PHASE_SKIP:
listener.phaseSkip( name );
break;
case PHASE_START:
listener.phaseStart( name );
break;
case PHASE_END:
listener.phaseEnd();
break;
default:
listener.error( name );
}
}
}
private List getGoalPhases( String name )
{
List phases = new ArrayList();
if ( "prepare".equals( name ) )
{
phases.addAll( this.preparePhases );
}
else if ( "perform".equals( name ) )
{
phases.addAll( this.performPhases );
}
else if ( "rollback".equals( name ) )
{
phases.addAll( this.rollbackPhases );
}
return Collections.unmodifiableList( phases );
}
private void logInfo( ReleaseResult result, String message )
{
if ( result != null )
{
result.appendInfo( message );
}
getLogger().info( message );
}
private void captureException( ReleaseResult result, ReleaseManagerListener listener, Exception e )
{
updateListener( listener, e.getMessage(), ERROR );
result.appendError( e );
result.setResultCode( ReleaseResult.ERROR );
}
}
| [
"yuzhongxing88@gmail.com"
] | yuzhongxing88@gmail.com |
0c1513405fb3b1ab9ecf6e003333cad07a876b94 | 43f2e571586438c03b2ae777e4ea0e40f9a87df2 | /src/main/java/com/digitalpebble/storm/crawler/util/StringTabScheme.java | 5df4ed918e32c0e83911f669bad5f7338bf54436 | [] | no_license | Weborama/storm-crawler | 03cb74d1d8cca45f5ad39811b4c6188300f0ff0b | 7ac981e717a7d3f768abfa06e7d68233bc449d7b | refs/heads/master | 2021-01-12T20:07:40.814020 | 2014-09-04T12:53:18 | 2014-09-04T12:53:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,347 | 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 com.digitalpebble.storm.crawler.util;
import java.io.UnsupportedEncodingException;
import java.util.HashMap;
import java.util.List;
import backtype.storm.spout.Scheme;
import backtype.storm.tuple.Fields;
import backtype.storm.tuple.Values;
/** Converts a byte array into URL + metadata **/
public class StringTabScheme implements Scheme {
public List<Object> deserialize(byte[] bytes) {
String input = null;
try {
input = new String(bytes, "UTF-8");
} catch (UnsupportedEncodingException e) {
throw new RuntimeException(e);
}
String[] tokens = input.split("\t");
if (tokens.length < 1)
return new Values();
String url = tokens[0];
HashMap<String, String[]> metadata = null;
for (int i = 1; i < tokens.length; i++) {
String token = tokens[i];
// split into key & value
int firstequals = token.indexOf("=");
String value = null;
String key = token;
if (firstequals != -1) {
key = token.substring(0, firstequals);
value = token.substring(firstequals + 1);
}
if (metadata == null)
metadata = new HashMap<String, String[]>();
// TODO handle multiple values?
metadata.put(key, new String[] { value });
}
return new Values(url, metadata);
}
public Fields getOutputFields() {
return new Fields("url", "metadata");
}
} | [
"julien@digitalpebble.com"
] | julien@digitalpebble.com |
cbaefde4d72bcd9deb05f5e0021da3f782e64bdc | 8ec539c764795f1e60d25291b58d5375fe896def | /FindHoroscope.java | cc3e39620da7e7b2254af8eac0b5aba60208f35e | [
"MIT"
] | permissive | YunusEmreUyar/kodluyoruzilkrepo | 1bb4ba90b2840d2fef7cc4aa07f11b1603dc8f1b | 0046daacc5057f1bb4733b772385d77aaf287587 | refs/heads/master | 2023-06-28T13:09:47.664228 | 2021-07-25T12:00:13 | 2021-07-25T12:00:13 | 377,606,894 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,192 | java | import java.util.Scanner;
public class FindHoroscope {
public static void main(String[] args) {
Scanner inp = new Scanner(System.in);
int month, day;
/*
Koç Burcu : 21 Mart - 20 Nisan
Boğa Burcu : 21 Nisan - 21 Mayıs
İkizler Burcu : 22 Mayıs - 22 Haziran
Yengeç Burcu : 23 Haziran - 22 Temmuz
Aslan Burcu : 23 Temmuz - 22 Ağustos
Başak Burcu : 23 Ağustos - 22 Eylül
Terazi Burcu : 23 Eylül - 22 Ekim
Akrep Burcu : 23 Ekim - 21 Kasım
Yay Burcu : 22 Kasım - 21 Aralık
Oğlak Burcu : 22 Aralık - 21 Ocak
Kova Burcu : 22 Ocak - 19 Şubat
Balık Burcu : 20 Şubat - 20 Mart
*/
System.out.println("Ay numarası giriniz (Ocak 1'dir): ");
month = inp.nextInt();
System.out.println("Gün numarası: ");
day = inp.nextInt();
if (month == 1){
if (day < 21){
System.out.println("Oğlak");
} else {
System.out.println("Kova");
}
} else if (month == 2) {
if (day < 19) {
System.out.println("Kova");
} else {
System.out.println("Balık");
}
} else if (month == 3) {
if (day < 20) {
System.out.println("Balık");
} else {
System.out.println("Koç");
}
} else if (month == 4) {
if (day < 21) {
System.out.println("Koç");
} else {
System.out.println("Boğa");
}
} else if (month == 5) {
if (day < 21) {
System.out.println("Boğa");
} else {
System.out.println("İkizler");
}
} else if (month == 6) {
if (day < 22) {
System.out.println("İkizler");
} else {
System.out.println("Yengeç");
}
} else if (month == 7) {
if (day < 23) {
System.out.println("Yengeç");
} else {
System.out.println("Aslan");
}
} else if (month == 8) {
if (day < 20) {
System.out.println("Aslan");
} else {
System.out.println("Başak");
}
} else if (month == 9) {
if (day < 23) {
System.out.println("Başak");
} else {
System.out.println("Terazi");
}
} else if (month == 10) {
if (day < 23) {
System.out.println("Terazi");
} else {
System.out.println("Akrep");
}
} else if (month == 11) {
if (day < 22) {
System.out.println("Akrep");
} else {
System.out.println("Yay");
}
} else if (month == 12) {
if (day < 22) {
System.out.println("Yay");
} else {
System.out.println("Oğlak");
}
}
inp.close();
}
}
| [
"yunusemreuyarr@outlook.com"
] | yunusemreuyarr@outlook.com |
56e14aa5be4fec3e9b9f0fafa995263002bfcb59 | a3402d5ffe3ab9040dcb2cb7160782f32f6e97a0 | /modules/core/src/flex/messaging/util/concurrent/Executor.java | 63919acdb8d6675c2d802deab53c91eb67614ab0 | [
"Apache-2.0",
"Apache-1.0"
] | permissive | charithdesilva/flex-blazeds | aa152ec0289b52b4f5c86d8a0530e39a018c0511 | 0e3be5953d9f6fe8fd7f093c086e0fcac131c744 | refs/heads/master | 2021-01-21T19:01:44.467350 | 2015-07-02T04:28:59 | 2015-07-02T04:28:59 | 38,409,303 | 0 | 0 | null | 2015-07-02T03:35:04 | 2015-07-02T03:35:04 | null | UTF-8 | Java | false | false | 2,538 | 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 flex.messaging.util.concurrent;
/**
* This interface allows different Executor implementations to be chosen and used
* without creating a direct dependency upon <code>java.util.concurrent.Executor</code>
* added in Java 1.5, the Java 1.4.x-friendly backport of the <code>java.util.concurrent</code> APIs
* which has a different package structure, or alternative work execution frameworks such as
* IBM WebSphere 5's <code>com.ibm.websphere.asynchbeans.WorkManager</code> or the
* <code>commonj.work.WorkManager</code> available in IBM WebSphere 6, BEA WebLogic 9 or
* other application servers that support the <code>commonj</code> API.
* Implementations should notify clients of any failure with executing a command by invoking
* the callback on the <code>FailedExecutionHandler</code> if one has been set.
*
* @see java.util.concurrent.Executor
* @exclude
*/
public interface Executor
{
/**
* Executes the given command at some time in the future.
* The command may execute in a new thread, in a pooled thread, or in the calling thread, at the
* discretion of the <code>Executor</code> implementation.
* Implementation classes are free to throw a <code>RuntimeException</code> if the command can not
* be executed.
*
* @param command The command to execute.
*/
void execute(Runnable command);
/**
* Returns the current handler for failed executions.
*
* @return The current handler.
*/
FailedExecutionHandler getFailedExecutionHandler();
/**
* Sets the handler for failed executions.
*
* @param handler The new handler.
*/
void setFailedExecutionHandler(FailedExecutionHandler handler);
}
| [
"christofer.dutz@c-ware.de"
] | christofer.dutz@c-ware.de |
657473c2630f971d649d468ea3a920355221933a | 5883133e5c39bd7c5b87c95ac9293a7369269b6f | /app/src/main/java/com/example/kylehirschfelder/ship/HouseTransferList.java | 8b1686223eee4e9d35d88b0a6b6dc04502b6d39e | [] | no_license | kalemayank29/leone | 70f3b38028479b950c0bed3688891f9090446808 | bebf2a118d0d1011c1a996b6f0d6ca53de9dc2e2 | refs/heads/master | 2021-01-20T16:28:47.938004 | 2016-06-02T03:33:05 | 2016-06-02T03:33:05 | 60,229,057 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,788 | java | package com.example.kylehirschfelder.ship;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.ListView;
import android.widget.TextView;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
public class HouseTransferList extends AppCompatActivity {
Button pushAll;
ListView lv;
MemberDataInterface interfaceMember;
CF_DatabaseOperations interfaceHouse;
ArrayList<String> memberList;
List<Census> houseList,allList;
ArrayAdapter<String> memberAdapter;
int longClickItemIndex;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_house_transfer_list);
memberList = new ArrayList<String>();
pushAll = (Button) findViewById(R.id.pushAllHouse);
lv = (ListView) findViewById(R.id.houseTransferList);
interfaceMember = new MemberDataInterface(getApplicationContext());
interfaceHouse = new CF_DatabaseOperations(getApplicationContext());
try {
houseList = interfaceHouse.getUnsynced(1);
for (Census house: houseList
) {
memberList.add(interfaceMember.getHeadFromHouse(Integer.parseInt(house.getHouseID())));
}
} catch (SQLException e) {
e.printStackTrace();
}
populateList();
registerForContextMenu(lv);
pushAll.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
ArrayList<HashMap<String, String>> houseMap = new ArrayList<HashMap<String, String>>();
allList = interfaceHouse.getUnsynced(1);
HashMap<String,String> village = new HashMap<String, String>();
village.put("village","2");
houseMap = interfaceHouse.toHashList(allList,village);
Bundle bundle = new Bundle();
bundle.putSerializable("map",houseMap);
Intent intent = new Intent(HouseTransferList.this, WifiDirectActivity.class);
intent.putExtras(bundle);
intent.putExtra("activityFlag","2");
//Log.println(Log.ASSERT, "Size: ", String.valueOf(memberMap.size()));
startActivity(intent);
}
});
lv.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() {
@Override
public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) {
longClickItemIndex = position;
return false;
}
});
}
public void populateList() {
memberAdapter = new memberListAdapter(this.memberList);
lv.setAdapter(memberAdapter);
memberAdapter.notifyDataSetChanged();
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.menu_house_transfer_list, menu);
return true;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();
//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
}
private class memberListAdapter extends ArrayAdapter<String> {
ArrayList<String> memberList;
public memberListAdapter(ArrayList<String> medList) {
super(HouseTransferList.this, R.layout.house_item, medList);
this.memberList = medList;
}
@Override
public View getView(int position, View view, ViewGroup parent) {
if (view == null) {
view = getLayoutInflater().inflate(R.layout.house_item, parent, false);
}
// Member currentMember = memberList.get(position);
String current = memberList.get(position);
Translation object = new Translation();
TextView name = (TextView) view.findViewById(R.id.headName);
name.setText(object.Letter_E2M(current));
return view;
}
}
}
| [
"kalemayank29@gmail.com"
] | kalemayank29@gmail.com |
ceccdb0214c6a638cf98e6b64264e8cef6ec9dbc | 2afdc434064510869b75fe157b82b3440ddbb748 | /presto-spi/src/test/java/io/prestosql/spi/PrestoWarningTest.java | 047820bc56a15a55a1bd806cdd4d7c2e41a700db | [] | no_license | openlookeng/hetu-core | 6dd74c62303f91d70e5eb6043b320054d1b4b550 | 73989707b733c11c74147d9228a0600e16fe5193 | refs/heads/master | 2023-09-03T20:27:49.706678 | 2023-06-26T09:51:37 | 2023-06-26T09:51:37 | 276,025,804 | 553 | 398 | null | 2023-09-14T17:07:01 | 2020-06-30T07:14:20 | Java | UTF-8 | Java | false | false | 1,550 | java | /*
* 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.prestosql.spi;
import org.mockito.Mock;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import static org.mockito.MockitoAnnotations.initMocks;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
public class PrestoWarningTest
{
@Mock
private WarningCode mockWarningCode;
private PrestoWarning prestoWarningUnderTest;
@BeforeMethod
public void setUp() throws Exception
{
initMocks(this);
prestoWarningUnderTest = new PrestoWarning(mockWarningCode, "message");
}
@Test
public void testEquals() throws Exception
{
assertTrue(prestoWarningUnderTest.equals("o"));
}
@Test
public void testHashCode() throws Exception
{
assertEquals(0, prestoWarningUnderTest.hashCode());
}
@Test
public void testToString() throws Exception
{
assertEquals("result", prestoWarningUnderTest.toString());
}
}
| [
"zhengqijv@workingman.cn"
] | zhengqijv@workingman.cn |
02b500a894717553072d110ce443423fc732789d | 6a48246db56e3ea89762a789c0482a7c06d21ab8 | /libs/utils/lib-encrypt/src/main/java/com/yyxnb/what/encrypt/MD5Utils.java | 9ec8c54d169b81b98da3fc8e7d1a493db7e939fe | [
"Apache-2.0"
] | permissive | y1xian/What | d7cddb60010723dfed83bb2dafebe57ffec8f91c | ddd57d3a5095510773041df08af184ef6ce8ceae | refs/heads/master | 2021-06-21T19:30:34.174368 | 2021-04-09T02:27:39 | 2021-04-09T02:27:39 | 208,196,833 | 55 | 8 | Apache-2.0 | 2019-10-20T14:56:18 | 2019-09-13T04:44:31 | Kotlin | UTF-8 | Java | false | false | 1,832 | java | package com.yyxnb.what.encrypt;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class MD5Utils {
/**
*
* @Description: 32位小写MD5
*/
public static String parseStrToMd5L32(String str){
String reStr = null;
try {
MessageDigest md5 = MessageDigest.getInstance("MD5");
byte[] bytes = md5.digest(str.getBytes());
StringBuffer stringBuffer = new StringBuffer();
for (byte b : bytes){
int bt = b&0xff;
if (bt < 16){
stringBuffer.append(0);
}
stringBuffer.append(Integer.toHexString(bt));
}
reStr = stringBuffer.toString();
} catch (NoSuchAlgorithmException e) {
e.printStackTrace();
}
return reStr;
}
/**
* @param str
* @Description: 32位大写MD5
*/
public static String parseStrToMd5U32(String str){
String reStr = parseStrToMd5L32(str);
if (reStr != null){
reStr = reStr.toUpperCase();
}
return reStr;
}
/**
* @param str
* @Description: 16位小写MD5
*/
public static String parseStrToMd5U16(String str){
String reStr = parseStrToMd5L32(str);
if (reStr != null){
reStr = reStr.toUpperCase().substring(8, 24);
}
return reStr;
}
/**
* @param str
* @Description: 16位大写MD5
*/
public static String parseStrToMd5L16(String str){
String reStr = parseStrToMd5L32(str);
if (reStr != null){
reStr = reStr.substring(8, 24);
}
return reStr;
}
} | [
"yyxnb@outlook.com"
] | yyxnb@outlook.com |
16f610e0f1a4c6a063aa276731f78255a2c7310d | 8e143cb0857ea064236a01e75d233567e056b981 | /src/Layers/FrontDotLayer.java | e5f73bba4718b3c1cada9ae16287818acdf80a0b | [
"MIT"
] | permissive | atsisy/yuri_face_jc | d2ac3a4dbf80791a474ed07dfef4c93e109e60dd | 4b75937b4f089e2b299a232c8db1c93b1e03a4fb | refs/heads/master | 2021-06-21T11:08:40.502917 | 2017-08-12T02:29:13 | 2017-08-12T02:29:13 | 83,509,849 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,491 | java | package Layers;
import UI.Dot;
import UI.Main;
import UI.Point2i;
import UI.UIValues;
import javafx.scene.control.Alert;
import javafx.scene.control.ButtonType;
import javafx.scene.input.KeyCode;
import javafx.scene.input.ScrollEvent;
import javafx.scene.paint.Color;
import java.util.Optional;
import static UI.Main.CurrentLayerData;
import static UI.Main.x;
import static UI.Main.y;
/**
* Created by Akihiro on 2017/03/01.
*/
public class FrontDotLayer extends Layer {
private boolean selecting;
private Dot last;
public FrontDotLayer(double width, double height){
super(width, height);
selecting = false;
last = null;
}
public boolean isSelecting() {
return this.selecting;
}
public void Selecting(boolean status){
this.selecting = status;
}
public void setLast(Dot dot){
last = dot;
}
public Dot getLast() {
return last;
}
public boolean isLastEmpty(){
return last == null;
}
@Override
public void scroll_handler(ScrollEvent event)
{
if(Main.keyTable.isPressed(KeyCode.Z)) {
clear();
Main.main_view.getSystemLayers().getLines().clear();
GridLayer grid_layer = Main.main_view.getSystemLayers().getGrid();
grid_layer.editInterval(event.getDeltaY() > 0 ? UIValues.EXPANSION_PER_ONE_SCROLL : -UIValues.EXPANSION_PER_ONE_SCROLL);
grid_layer.redrawGrid();
CurrentLayerData.AllDraw4PR(this, Main.main_view.getSystemLayers().getLines());
}else{
Main.main_view.scroll((int)event.getDeltaX() / 4, (int)event.getDeltaY() / 10);
Main.main_view.lookAt();
}
}
/*
* ドット配置を行うメソッド
*/
public void putDot(GridLayer gridLayer){
//nullチェック
if(CurrentLayerData == null)
return;
Point2i begin_point = Main.main_view.getMainViewBegin();
System.out.println((begin_point.getX() + (x / gridLayer.getInterval())) + ":" + (begin_point.getY() + (y / gridLayer.getInterval())));
for(final Dot p : CurrentLayerData.getDotSet()){
if(Math.abs(p.getX() - x) == 0){
if(Math.abs(p.getY() - y) == 0){
Alert alert = new Alert(Alert.AlertType.CONFIRMATION, "ドットを配置しますか?", ButtonType.NO, ButtonType.YES);
alert.setHeaderText("付近にドットがあります");
Optional<ButtonType> result = alert.showAndWait();
if(!result.isPresent() || result.get() == ButtonType.NO){
return;
}
break;
}
}
}
//グリッド補正の判定
//Dot dot = gridLayer.isEnableComplete() ? new Dot(x, y, gridLayer.getInterval()) : new Dot(x, y);
Dot dot = new Dot(begin_point.getX() + (x / gridLayer.getInterval()), begin_point.getY() + (y / gridLayer.getInterval()));
dot.drawOffset(this, Color.BLACK, gridLayer.getInterval(), Main.main_view.getMainViewBegin());
CurrentLayerData.AddDot(dot);
System.out.println("came");
setLast(dot);
}
public void putOneDot(Dot dot){
dot.drawOffset(this, Color.BLACK, Main.main_view.getSystemLayers().getGrid().getInterval(), Main.main_view.getMainViewBegin());
CurrentLayerData.AddDot(dot);
setLast(dot);
}
}
| [
"at.sisy@gmail.com"
] | at.sisy@gmail.com |
0d28dca2b9df09296fa9d87de8bb01487ca1b366 | f90eb4e744246add7385d75cffc6b6560bba361b | /Practice_SpirngMVC/src/main/java/com/kgitbank/controller/practice/SessionController.java | 16fe955fcb3b07259cbae20d2858d56e5e0e8512 | [] | no_license | Ahos92/SPRING_STUDY | f7e1fca6f5b5fe6b81ad84c7864b964db578134a | cd7124ffd07cd2695c16d403be06e78fa4dd3306 | refs/heads/main | 2023-03-02T19:13:34.397624 | 2021-02-10T08:34:16 | 2021-02-10T08:34:16 | 331,788,004 | 0 | 0 | null | null | null | null | UHC | Java | false | false | 2,027 | java | package com.kgitbank.controller.practice;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.SessionAttribute;
import org.springframework.web.bind.annotation.SessionAttributes;
import org.springframework.web.bind.support.SessionStatus;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
import lombok.extern.log4j.Log4j;
@Controller
@SessionAttributes(names = {"session1", "session2", "user"})
@Log4j
public class SessionController {
@GetMapping("/session/")
public String index() {
return "session/index";
}
@GetMapping("/session/success")
public String success(Model model, String session1, String session2) {
model.addAttribute("session1", session1);
model.addAttribute("session2", session2);
return "session/index";
}
@GetMapping("/session/check")
public String check(
RedirectAttributes rttr,
@ModelAttribute("session1") String session1,
@ModelAttribute("session2") String session2
) {
log.info(session1);
log.info(session2);
return "redirect:/session/";
}
@GetMapping("/session/check2")
public String check2(
Model model,
RedirectAttributes rttr,
@SessionAttribute("session1") String session1,
@SessionAttribute("session2") String session2
) {
model.addAttribute("session1", "cc");
model.addAttribute("session2", "dd");
log.info(session1);
log.info(session2);
rttr.addFlashAttribute("msg", "세션 값이 변경되었습니다.");
return "redirect:/session/";
}
@GetMapping("session/remove")
public String remove(SessionStatus status) {
// 특정 세션 지우기 , HttpSession session
// session.removeAttribute("");
// session.invalidate();
// 세션 전부삭제
status.setComplete();
return "redirect:/session/";
}
}
| [
"ahosism@gmail.com"
] | ahosism@gmail.com |
409d1e8b66c6817ce45fcd8d1e73aa14ddbd454d | f74b851f4661f808833d092d3c0cd0c0b4270fc8 | /app/src/main/java/com/cucr/myapplication/adapter/PagerAdapter/ImgPagerAdapter.java | 37e6f1da137e75da62605ba340727b0feb92f501 | [] | no_license | dengjiaping/HeartJump | eb3eeb3df24b9a567e4229c92bf0081d56470eed | 31af25dc06c97f993f228464b054299690308e4b | refs/heads/master | 2021-08-24T13:19:20.914881 | 2017-11-21T07:09:21 | 2017-11-21T07:09:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,378 | java | package com.cucr.myapplication.adapter.PagerAdapter;
import android.content.Context;
import android.support.v4.view.PagerAdapter;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.cucr.myapplication.MyApplication;
import com.cucr.myapplication.constants.HttpContans;
import com.cucr.myapplication.model.fenTuan.QueryFtInfos;
import com.cucr.myapplication.widget.photoView.PhotoView;
import java.util.List;
/**
* Created by cucr on 2017/9/30.
*/
public class ImgPagerAdapter extends PagerAdapter {
private List<QueryFtInfos.RowsBean.AttrFileListBean> attrFileList;
private Context context;
public ImgPagerAdapter(Context context, List<QueryFtInfos.RowsBean.AttrFileListBean> attrFileList) {
this.context = context;
this.attrFileList = attrFileList;
}
@Override
public int getCount() {
return attrFileList == null ? 0 : attrFileList.size();
}
@Override
public boolean isViewFromObject(View view, Object object) {
return view == object;
}
@Override
public Object instantiateItem(ViewGroup container, int position) {
String url = HttpContans.HTTP_HOST + attrFileList.get(position).getFileUrl();
PhotoView view = new PhotoView(context);
//开启缩放
view.enable();
//开启旋转
// view.enableRotate();
view.setScaleType(ImageView.ScaleType.FIT_CENTER);
// DisplayImageOptions options = new DisplayImageOptions.Builder()//
//// .showImageOnLoading(R.mipmap.ic_launcher) // 加载中显示的默认图片
// .showImageOnFail(R.mipmap.ic_launcher) // 设置加载失败的默认图片
// .cacheInMemory(true) // 内存缓存
// .cacheOnDisk(true) // sdcard缓存
// .bitmapConfig(Bitmap.Config.RGB_565)// 设置最低配置
// .build();//
// ImageLoader.getInstance().displayImage(url, view, options);
Glide.with(context).load(url)
.apply(MyApplication.getGlideOptions())
.into(view);
container.addView(view);
return view;
}
@Override
public void destroyItem(ViewGroup container, int position, Object object) {
container.removeView((View) object);
}
}
| [
"1666930276@qq.com"
] | 1666930276@qq.com |
827c046e970cc9abe99e961c2dd1667617527785 | ac18e72c4ced308c01d7eb3eead96b946adf2ddf | /micro-domain/src/main/java/mabubu0203/com/github/catcafe/domain/value/CastId.java | bb080d51ecb96845f53a02f3a9ddd73f1ae79623 | [] | no_license | mabubu0203/catcafe-r2dbc | dc8c22d062e8d687039a29dd5b23798fdb5a02e3 | 4068bb3971aad7fb61956864fc73704b92607b15 | refs/heads/develop | 2023-06-11T13:15:02.874915 | 2021-07-10T06:13:19 | 2021-07-10T06:13:19 | 346,630,015 | 0 | 0 | null | 2021-07-10T06:03:47 | 2021-03-11T08:26:53 | Java | UTF-8 | Java | false | false | 272 | java | package mabubu0203.com.github.catcafe.domain.value;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.experimental.Accessors;
@RequiredArgsConstructor
@Accessors(fluent = true)
@Getter
public class CastId {
private final Integer intValue;
}
| [
"mabu_ip@msn.com"
] | mabu_ip@msn.com |
07be04c1d39001f455a2d7bd842dcd738a5470cc | 2c3e0fff295204823dba9ea8b60297d509f6b4e2 | /optimove/src/com/topcheer/dao/noticeMgr/NoticeMapper.java | 38cfd48280139773a5d2a88516867d1838641b35 | [] | no_license | xiaogang2525/optimove | 5914e6d8e6731af582b2ea9a4fbd060e866314b9 | b67c5b00030371548b34954c0332b34c8859132b | refs/heads/master | 2023-03-15T17:20:56.310559 | 2015-07-21T12:24:52 | 2015-07-21T12:24:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 447 | java | package com.topcheer.dao.noticeMgr;
import java.util.List;
import java.util.Map;
import com.topcheer.model.noticeMgr.Notice;
public interface NoticeMapper {
public List<Notice> searchNotice(Map searchMap);
public List<Notice> searchAll();
public List<Notice> getNotice(String noticecode);
public void insert(Notice notice);
public void update(Notice notice);
public void delete(String noticecode);
}
| [
"1965571954@qq.com"
] | 1965571954@qq.com |
8f5410209d0ca9d98c84cf3b0af5c4f564402e15 | 3a0468f2bea2d17f83ddd03eb216914c07b09f8e | /CollectionSets/cw2.java | 957c2a67ae0b9fc8d14071c8a255352c1ab4474e | [] | no_license | saglan99/Core-Java-Booklet | 47b534976c2f1df51cc6dfdbef6f45b1f4690d09 | daf24337f21e4345893e8d69311b17e3494c6697 | refs/heads/main | 2023-02-22T02:03:24.388737 | 2021-01-26T11:05:00 | 2021-01-26T11:05:00 | 322,999,374 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 425 | java | package CollectionSets;
import java.awt.List;
import java.util.HashSet;
import java.util.Iterator;
public class cw2 {
public static void main(String[] args) {
HashSet<Integer> hs = new HashSet<>();
hs.add(11);
hs.add(12);
hs.add(13);
hs.add(14);
hs.add(15);
Iterator<Integer> it = hs.iterator();
while(it.hasNext())
{
System.out.println(it.next());
}
}
}
| [
"noreply@github.com"
] | noreply@github.com |
ffa36d2d6f60fe0ed9da3a83141d33635c5cba43 | cb88a02fa2ef4092a150b229b5b3779dc89b1586 | /Java/HelloWorld/src/JavaBase/ArrayDemo/ListDemo.java | e67f3fe80cc49aa73b3c3e1b1a07c8016f60dec1 | [] | no_license | 1765155167/C-Java-Python | f083ed7de36936ff4b20ddcf865b593c353d3abd | aa31d765d3e895dc65bbb770a32c7bc07a64b4bd | refs/heads/master | 2022-06-26T19:55:45.171720 | 2020-04-13T15:20:39 | 2020-04-13T15:20:39 | 205,353,222 | 0 | 0 | null | 2022-06-21T04:12:40 | 2019-08-30T09:45:46 | Python | UTF-8 | Java | false | false | 2,496 | java | package JavaBase.ArrayDemo;
import java.security.SecureRandom;
import java.util.*;
public class ListDemo {
public static void main(String[] args) {
// 构造从start到end的序列:
final int start = 10;
final int end = 20;
List<Integer> list = new ArrayList<>();
for (int i = start; i <= end; i++) {
list.add(i);
}
// Collections.shuffle(list);
shuffle(list);// 洗牌算法suffle可以随机交换List中的元素位置:
Integer[] integers1 = list.toArray(new Integer[list.size()]);
Integer[] integers2 = list.toArray(Integer[]::new);
for (int i = 0; i < integers1.length; i++) {
System.out.print(integers1[i] + " ");
}
System.out.println();
// 随机删除List中的一个元素:
int removed = list.remove((int) (Math.random() * list.size()));
int found = findMissingNumber(start, end, list);
System.out.println(toString(list));
System.out.println("missing number: " + found);
System.out.println(removed == found ? "测试成功" : "测试失败");
List<Person> personList = List.of(
new Person("Hu","QiuFeng", 21),
new Person("Xiao", "Ming", 18),
new Person("Bob", "Smith", 20));
boolean exist = personList.contains(new Person("Xiao", "Ming", 18));
System.out.println(exist ? "测试成功!" : "测试失败!");
}
private static String toString(List<Integer> list) {
StringJoiner joiner = new StringJoiner(", ", "[", "]");
for (Integer num:
list) {
joiner.add(num.toString());
}
return joiner.toString();
}
private static void shuffle(List<Integer> list) {
SecureRandom random = new SecureRandom();
for (int i = list.size() - 1; i > 0; i--) {
swap(list, i, random.nextInt(i + 1));
}
}
private static void swap(List<Integer> list, int i, int nextInt) {
Integer temp = list.get(i);
list.set(i, list.get(nextInt));
list.set(nextInt, temp);
}
private static int findMissingNumber(int start, int end, List<Integer> list) {
for (int i = start; i <= end; i++) {
// if (!list.contains(Integer.valueOf(i))) {
// return i;
// }
if (list.indexOf(i) == -1) {
return i;
}
}
return end;
}
}
| [
"1765155167@qq.com"
] | 1765155167@qq.com |
4b221d55a3111d352ba218a157a214d8e3b67d4d | b2bb1c9d2c757c51dfe268d909177b5fae12c6df | /src/main/java/uz/document/converter/service/impl/MargePdf.java | ffa0c43332c33dc87e8bd742f3616502018937fa | [] | no_license | farxod2528/convertify.org | c0ea9ee72fff8d8d367934121f8dfc6308781b74 | adb8be83c32aba582355ac3ea9a2ee93a602a8aa | refs/heads/master | 2023-02-15T23:56:22.185997 | 2021-01-14T16:46:54 | 2021-01-14T16:46:54 | 329,700,495 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 444 | java | package uz.document.converter.service.impl;
import org.springframework.core.io.Resource;
import org.springframework.stereotype.Component;
import uz.document.converter.model.Request;
import uz.document.converter.service.AbstractConverter;
import java.util.Optional;
@Component
public class MargePdf extends AbstractConverter {
@Override
protected Optional<Resource> convert(Request source) {
return Optional.empty();
}
}
| [
"revenge9449@gmail.com"
] | revenge9449@gmail.com |
c59b254af1d041dee42b5a781be0802d29d176e8 | 27df38dbf60fac629aa82c7cd8a568c9e388e838 | /src/main/java/com/sapienter/jbilling/server/provisioning/task/mmsc/DeleteCustomerRequest.java | 560d6455123df02334080ef2931bf7605f2a9ae1 | [] | no_license | SolarBilling/solar-billing | 5e33bfcc403238f4ccd90ac6608946f097185ea8 | b55d92bd4d3b6b3e65eb610511862889d7e9929e | refs/heads/master | 2022-12-20T23:44:27.741634 | 2021-08-15T08:16:54 | 2021-08-15T08:16:54 | 57,198,389 | 1 | 2 | null | 2022-12-16T09:58:49 | 2016-04-27T08:47:08 | Java | UTF-8 | Java | false | false | 1,737 | java | /*
jBilling - The Enterprise Open Source Billing System
Copyright (C) 2003-2009 Enterprise jBilling Software Ltd. and Emiliano Conde
This file is part of jbilling.
jbilling is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
jbilling 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with jbilling. If not, see <http://www.gnu.org/licenses/>.
*/
package com.sapienter.jbilling.server.provisioning.task.mmsc;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for deleteCustomerRequest complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="deleteCustomerRequest">
* <complexContent>
* <extension base="{http://mmschandlerfacade.efs.teliasonera.se/}efsBaseMSISDNRequest">
* <sequence>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "deleteCustomerRequest")
public class DeleteCustomerRequest
extends EfsBaseMSISDNRequest
{
}
| [
"davidhodges.nz@gmail.com"
] | davidhodges.nz@gmail.com |
2c14ae353a1ebd6a691eaf3ed5449fd3ecb66a8a | e90b8fe49f04dcdf466bd5e1abce818195abe361 | /Programming/exam/java/kalah/Game.java | caf982057945125f1f3d3349cd7b0514c281c0a7 | [] | no_license | victor11555/ITMO | d97437a2c28cbb7f1668b45b2df8dd70d937f91c | ba4e7c506eabff03760e8b3028e8385c9e94e197 | refs/heads/main | 2023-03-05T18:12:05.189818 | 2021-02-15T10:28:35 | 2021-02-15T10:28:35 | 294,439,078 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,877 | java | public class Game {
private final boolean log;
private final Player player1, player2;
public Game(final boolean log, final Player player1, final Player player2) {
this.log = log;
this.player1 = player1;
this.player2 = player2;
}
public int play(Board board) {
while (true) {
int result1 = move(board, player1, 1);
if (result1 != -1) {
return result1;
}
while(Race.size.flags) {
result1 = move(board, player1, 1);
if (result1 != -1) {
return result1;
}
}
//final int result2 = move(board, player2, 2);
int result2 = move(board, player2, 2);
if (result2 != -1) {
return result2;
}
while(Race.size.flags) {
result2 = move(board, player2, 2);
if (result2 != -1) {
return result2;
}
}
}
}
private int move(final Board board, final Player player, final int no) {
final Move move = player.move(board.getPosition(), board.getCell());
final Result result = board.makeMove(move);
//log("Player " + no + " move: " + move);
log("Position:\n" + board);
if (result == Result.WIN) {
//log("Player " + no + " won");
return no;
} else if (result == Result.LOSE) {
//log("Player " + no + " lose");
return 3 - no;
} else if (result == Result.DRAW) {
//log("Draw");
return 0;
} else {
return -1;
}
}
private void log(final String message) {
System.out.println(message);
}
} | [
"ZabrovskiyVictor@MacBook-Pro.local"
] | ZabrovskiyVictor@MacBook-Pro.local |
c06e35ec866a4d58364d1fc502ed6fdea7f7305d | 3725a4a90e26c458427e077fe4ed4f7c801becc1 | /src/patterns/visitor/Brasil.java | 10cf518d5ff7d0e99cc41e616bdf7fdab977d234 | [] | no_license | GSuaki/operacao-lava-java | fdf098eff7a867843abd9733a83a5fc13adbc3e4 | 9fd85a99ef77a08a2b15032cf7404445d5cc27c5 | refs/heads/master | 2021-01-10T17:20:56.558948 | 2016-03-29T02:28:16 | 2016-03-29T02:28:16 | 54,936,708 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 274 | java | /**
*
*/
package patterns.visitor;
/**
* @author GSuaki
*
*/
public class Brasil implements Visitable {
/* (non-Javadoc)
* @see visitor.Visitable#accept(visitor.Visitor)
*/
@Override
public String accept(Visitor visitor) {
return visitor.visit(this);
}
}
| [
"gsuaki@hotmail.com"
] | gsuaki@hotmail.com |
5b2b3a78fb1adb596c79d78d3f98b3c4c8a0cc24 | 69a4f2d51ebeea36c4d8192e25cfb5f3f77bef5e | /methods/Method_19200.java | 4a2dd60a3e23397472f2f615c2600ad57e8facc0 | [] | no_license | P79N6A/icse_20_user_study | 5b9c42c6384502fdc9588430899f257761f1f506 | 8a3676bc96059ea2c4f6d209016f5088a5628f3c | refs/heads/master | 2020-06-24T08:25:22.606717 | 2019-07-25T15:31:16 | 2019-07-25T15:31:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,152 | java | @OnCreateLayout static Component onCreateLayout(ComponentContext c,@Prop Component content,@Prop(optional=true,resType=ResType.COLOR) int cardBackgroundColor,@Prop(optional=true,resType=ResType.COLOR) int clippingColor,@Prop(optional=true,resType=ResType.COLOR) int shadowStartColor,@Prop(optional=true,resType=ResType.COLOR) int shadowEndColor,@Prop(optional=true,resType=ResType.DIMEN_OFFSET) float cornerRadius,@Prop(optional=true,resType=ResType.DIMEN_OFFSET) float elevation,@Prop(optional=true,resType=ResType.DIMEN_OFFSET) int shadowBottomOverride,@Prop(optional=true) boolean disableClipTopLeft,@Prop(optional=true) boolean disableClipTopRight,@Prop(optional=true) boolean disableClipBottomLeft,@Prop(optional=true) boolean disableClipBottomRight){
final Resources resources=c.getAndroidContext().getResources();
if (cornerRadius == -1) {
cornerRadius=pixels(resources,DEFAULT_CORNER_RADIUS_DP);
}
if (elevation == -1) {
elevation=pixels(resources,DEFAULT_SHADOW_SIZE_DP);
}
final int shadowTop=getShadowTop(elevation);
final int shadowBottom=shadowBottomOverride == -1 ? getShadowBottom(elevation) : shadowBottomOverride;
final int shadowHorizontal=getShadowHorizontal(elevation);
return Column.create(c).child(Column.create(c).marginPx(HORIZONTAL,shadowHorizontal).marginPx(TOP,disableClipTopLeft && disableClipTopRight ? 0 : shadowTop).marginPx(BOTTOM,disableClipBottomLeft && disableClipBottomRight ? 0 : shadowBottom).backgroundColor(cardBackgroundColor).child(content).child(CardClip.create(c).clippingColor(clippingColor).cornerRadiusPx(cornerRadius).positionType(ABSOLUTE).positionPx(ALL,0).disableClipTopLeft(disableClipTopLeft).disableClipTopRight(disableClipTopRight).disableClipBottomLeft(disableClipBottomLeft).disableClipBottomRight(disableClipBottomRight))).child(elevation > 0 ? CardShadow.create(c).shadowStartColor(shadowStartColor).shadowEndColor(shadowEndColor).cornerRadiusPx(cornerRadius).shadowSizePx(elevation).hideTopShadow(disableClipTopLeft && disableClipTopRight).hideBottomShadow(disableClipBottomLeft && disableClipBottomRight).positionType(ABSOLUTE).positionPx(ALL,0) : null).build();
}
| [
"sonnguyen@utdallas.edu"
] | sonnguyen@utdallas.edu |
74223b5e9a43abf1f1cdc8dee7864dd63ca85073 | 8f634dfc515cf3d89241f88073f3a7c416e05404 | /src/com/class12/Array2D.java | afcc803dda0367aa8c02cab22e5ebb428ccaeaa5 | [] | no_license | shaistaaryan/JavaBasics | f3fd4c24cfabf045ebf98e20255e7d7717fc027b | 72be0c35b5a97c8604727f3c505d6706dced79e3 | refs/heads/master | 2021-05-19T16:48:36.794460 | 2020-04-19T15:38:54 | 2020-04-19T15:38:54 | 252,034,785 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 862 | java | package com.class12;
public class Array2D {
public static void main(String[] args) {
// Lets create array of groceries
String[][] groceries = {
{ "cucumer", "potato", "carrot" },
{ "mango", "apple", "banana", "kiwi" },
{ "milk", "cheese", "yogurt" }
};
System.out.println(groceries[1][2]);
// get all values from 2D array
// loop through rows
for (int r = 0; r < groceries.length; r++) {
// loop through columns
for (int c = 0; c < groceries[r].length; c++) {
System.out.print(groceries[r][c] + " ");
}
System.out.println();
}
System.out.println("----GETING ELEMENTS USING ADVACED FOR LOOP-------");
// loops through all arrays
for (String[] array : groceries) {
// loops through single array
for (String items : array) {
System.out.print(items + " ");
}
System.out.println();
}
}
}
| [
"shaistaaryan315@gmail.com"
] | shaistaaryan315@gmail.com |
aeca02b04c2e76617a643f9a209ed25df5282c19 | 4763508ec11577c5f36e2d7faee6af4c3ff8b2e3 | /src/main/java/seleniumDesign/srp/result/ResultStat.java | 6aa7275cc4986b2c0788ae6e6873dc0d142a9805 | [] | no_license | rohitdalmia90/SRP | d9eba2ad62088afb1664701e435ef07064c1c74b | 6c0cea3884f88a98006452ad4281b4fbdc024215 | refs/heads/main | 2023-01-11T02:00:21.508242 | 2020-10-18T09:20:46 | 2020-10-18T09:20:46 | 305,144,073 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 569 | java | package seleniumDesign.srp.result;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import seleniumDesign.srp.common.AbstractComponent;
public class ResultStat extends AbstractComponent {
@FindBy(id = "result-stats")
private WebElement stat;
public ResultStat(WebDriver driver) {
super(driver);
}
public String getStat() {
return this.stat.getText();
}
@Override
public boolean isDisplayed() {
return false;
}
}
| [
"rohit.dalmia@xebia.com"
] | rohit.dalmia@xebia.com |
cb6de5675fa7f0b42a1084e581b57d84086e95f5 | 4a33a4e1646efbecaa5172c20a67be57dcda1fea | /springboot-mybatis-transaction/src/main/java/com/composite/dao/UserDao.java | a008c855850b5a63c9e26829adfcc73a00d797d0 | [] | no_license | jackyzonewen/SpringBootCompositeLearn | b2bc92803ee7b2338f49077dfdfcd0633cea9897 | 7e20b4cf62d2955f6ecd98ad032b2fa4bfda619f | refs/heads/master | 2020-09-12T06:26:39.599625 | 2019-04-26T02:45:43 | 2019-04-26T02:45:43 | 222,340,752 | 1 | 0 | null | 2019-11-18T01:43:08 | 2019-11-18T01:43:08 | null | UTF-8 | Java | false | false | 322 | java | package com.composite.dao;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;
@Repository
public interface UserDao {
int insert(Map<String, Object> userMap);
List<Map<String, Object>> selectUsers();
List<Map<String, Object>> selectUsersByName(String name);
}
| [
"847350737@qq.com"
] | 847350737@qq.com |
d06e1b3e2fa0d904556e9d2f492431aaac621016 | d7ad72ae96a5e0a6b68a8ac349f9115f86abb35d | /app/src/main/java/com/example/hello/Exchange.java | 8c19535594dd921e3564acc49683a59804e21ab2 | [] | no_license | Dzx-oyysterrr/Hello | cb7cfd1c8551a1fdf4c52dc72a08270e7a3fbfaa | b415d7ed4a7764b2a9615ccb22fc9fa67d6edf48 | refs/heads/master | 2020-08-29T14:00:20.203991 | 2019-10-28T13:51:05 | 2019-10-28T13:51:05 | 218,053,846 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 7,574 | java | package com.example.hello;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.preference.PreferenceManager;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.ListAdapter;
import android.widget.TextView;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
public class Exchange extends AppCompatActivity implements Runnable {
Handler handler;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_exchange);
SharedPreferences sharedPreferences = getSharedPreferences("myrate", Activity.MODE_PRIVATE);
PreferenceManager.getDefaultSharedPreferences(this);
dollar_key = sharedPreferences.getFloat("dollar_rate1", 0.0f);
eu_key = sharedPreferences.getFloat("eu_rate1", 0.0f);
won_key = sharedPreferences.getFloat("won_rate1", 0.0f);
String[] list_data = {"one","two","three","four"};
ListAdapter adapter = new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1,list_data);
handler=new Handler(){
@Override
public void handleMessage(@NonNull Message msg) {
if(msg.what==5){
String so=(String)msg.obj;
String[] str= so.split(",");
for (int i=0;i<=str.length-1;i++)
{
Log.i(TAG, "rate "+str[i] );
}
}
super.handleMessage(msg);
}
};
//开启子进程
Thread th=new Thread(this);
th.start();
}
private String inputStream25tring(InputStream in) throws IOException {
String url = "http:www.usd-cny.com/bankofchina.htm";
Document doc = Jsoup.connect(url).get();
Elements tables = doc.getElementsByTag("table");
Element table1 = tables.get(0);
Elements tds = table1.getElementsByTag("tag");
for (int i = 0; i <= tds.size(); i += 6) {
Element td1 = tds.get(i);
Element td2 = tds.get(i + 3);
String str1 = td1.text();
String val = td2.text();
float v = 100f / Float.parseFloat(val);
}
return url;
}
private static final String TAG = "MainActivity";
float dollar_key = 0.1404f;
float eu_key = 0.1278f;
float won_key = 167.8756f;
TextView show;
public void click(View v) {
EditText input = findViewById(R.id.txt);
String str = input.getText().toString();
float s = Float.parseFloat(str);
double e = s * eu_key;
TextView show = findViewById(R.id.show_tmp);
show.setText(String.format("%.2f", e));
}
public void doller(View v) {
EditText input = findViewById(R.id.txt);
String str = input.getText().toString();
float s = Float.parseFloat(str);
double d = s * dollar_key;
TextView show = findViewById(R.id.show_tmp);
show.setText(String.format("%.2f", d));
}
public void won(View v) {
EditText input = findViewById(R.id.txt);
String str = input.getText().toString();
float s = Float.parseFloat(str);
double w = s * won_key;
TextView show = findViewById(R.id.show_tmp);
show.setText(String.format("%.2f", w));
}
public void sendinf(View v) {
Intent intent = new Intent(this, NewA.class);
intent.putExtra("dollar_rate_key", dollar_key);
intent.putExtra("eu_rate_key", eu_key);
intent.putExtra("won_rate_key", won_key);
//startActivity(intent);
startActivityForResult(intent, 1);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.rate, menu);
return super.onCreateOptionsMenu(menu);
}
@Override
public boolean onOptionsItemSelected(@NonNull MenuItem item) {
if (item.getItemId() == R.id.menu_set) {
Intent intent = new Intent(this, NewA.class);
intent.putExtra("dollar_rate_key", dollar_key);
intent.putExtra("eu_rate_key", eu_key);
intent.putExtra("won_rate_key", won_key);
//startActivity(intent);
startActivityForResult(intent, 1);
} else if (item.getItemId() == R.id.list_open) {
Intent list = new Intent(this, List.class);
startActivity(list);
}else if (item.getItemId() == R.id.list2){
Intent list = new Intent(this, List2Activity.class);
startActivity(list);
}
return super.onOptionsItemSelected(item);
}
@Override
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
if (requestCode == 1 && resultCode == 2) {
Bundle bundle = data.getExtras();
dollar_key = bundle.getFloat("key_dollar", 0.01f);
eu_key = bundle.getFloat("key_eu", 0.01f);
won_key = bundle.getFloat("key_won", 0.01f);
SharedPreferences sharedPreferences = getSharedPreferences("myrate", Activity.MODE_PRIVATE);
SharedPreferences.Editor editor = sharedPreferences.edit();
editor.putFloat("dollar_rate1", dollar_key);
editor.putFloat("eu_rate1", eu_key);
editor.putFloat("won_rate1", won_key);
editor.apply();
}
super.onActivityResult(requestCode, resultCode, data);
}
public void run() {
for (int i = 1; i < 6; i++) {
try {
Thread.sleep(200);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
Message msg = handler.obtainMessage(5);
msg.obj = "hello";
handler.sendMessage(msg);
URL url = null;
try {
url = new URL("www.usd-cny.com/bankofchina.htm");
HttpURLConnection http = (HttpURLConnection) url.openConnection();
InputStream in = http.getInputStream();
//String html = inputStream25tring(in);
String html = inputStream2String(in);
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}
private String inputStream2String(InputStream inpurstream) throws IOException {
final int bufferSize = 1024;
final char[] buffer = new char[bufferSize];
final StringBuilder out = new StringBuilder();
Reader in = new InputStreamReader(inpurstream,"gb2312");
for(;; ){
int rsz = in.read(buffer,0,buffer.length);
if(rsz<0)
break;
out.append(buffer,0, rsz);
}
return out.toString();
}
}
| [
"you@example.com"
] | you@example.com |
1a68b8d6ff34351f55ed2e6cb20dd7efe1870564 | 8939371a045b69f345da111bbaa93f4e98753b2c | /app/src/main/java/com/example/cameraxtutorial/MainActivity.java | a8b3d0006c15339f68bd106f47b2b409d8cffa2d | [] | no_license | shreyaaishi/CameraXTutorial | 887316c4e609dd3ae1aeac1e3070f1c42f1eab63 | 3eb8dd55c69ce7113f7828c6c3c0c4456f750b0d | refs/heads/master | 2023-04-09T10:39:33.648925 | 2021-04-20T07:00:05 | 2021-04-20T07:00:05 | 359,715,971 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,056 | java | package com.example.cameraxtutorial;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import androidx.camera.core.Camera;
import androidx.camera.core.CameraSelector;
import androidx.camera.core.ImageCapture;
import androidx.camera.core.ImageCaptureException;
import androidx.camera.core.ImageProxy;
import androidx.camera.core.Preview;
import androidx.camera.lifecycle.ProcessCameraProvider;
import androidx.camera.view.PreviewView;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import androidx.lifecycle.LifecycleOwner;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import com.example.cameraxtutorial.ml.Model;
import com.google.common.util.concurrent.ListenableFuture;
import org.tensorflow.lite.DataType;
import org.tensorflow.lite.support.image.ImageProcessor;
import org.tensorflow.lite.support.image.TensorImage;
import org.tensorflow.lite.support.image.ops.ResizeOp;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.ByteBuffer;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
public class MainActivity extends AppCompatActivity {
Bitmap bmp;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// Get file path from Intent and use it to retrieve Bitmap (image to analyze)
Bundle extras = getIntent().getExtras();
String filePath = extras.getString("path");
File file = new File(filePath);
bmp = BitmapFactory.decodeFile(file.getAbsolutePath());
}
public void analyzeImage(View view) {
try {
// Converts bitmap captured by camera into a TensorImage
TensorImage tfImage = new TensorImage(DataType.FLOAT32);
tfImage.load(bmp);
// Build ImageProcessor object
ImageProcessor imageProcessor = new ImageProcessor.Builder().
add(new ResizeOp(224, 224, ResizeOp.ResizeMethod.BILINEAR)).
build();
tfImage = imageProcessor.process(tfImage);
// Code copied directly from sample. To view it, open your .tflite within Android Studio
// Make sure to import the correct Model class! Should be along the lines of something
// like com.example.projectname.ml
Model model = Model.newInstance(view.getContext());
Model.Outputs outputs = model.process(tfImage);
} catch(IOException e) {
Log.e("MainActivity", "IOException");
}
}
} | [
"shreyab4@illinois.edu"
] | shreyab4@illinois.edu |
c092675150755a992f6d5ef31f3dcc8cc1cea0a4 | d1877c7147b854ffcb8e74bfb9a3295a2030c95f | /app/src/main/java/com/example/annascott/apachelanguage/Word.java | 552b663cdd3fd38dbbaa3acf8ce950c5f86dedc8 | [] | no_license | forfireonly/ApacheLanguage | 749ac057975c7b361ea1f60074757a56cc2c2252 | 6edf409aa175f4ca568ad70a492e6a9c330b1f2f | refs/heads/master | 2020-04-17T10:23:45.375307 | 2019-02-27T22:16:34 | 2019-02-27T22:16:34 | 154,760,898 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,128 | java | package com.example.annascott.apachelanguage;
/**
* {@link Word} represents a vocabulary word that the user wants to learn.
* It contains resource IDs for the default translation, Miwok translation, audio file, and
* optional image file for that word.
*/
public class Word {
/** String resource ID for the default translation of the word */
private int mDefaultTranslationId;
/** String resource ID for the Miwok translation of the word */
private int mMiwokTranslationId;
/** Audio resource ID for the word */
private int mAudioResourceId;
/** Image resource ID for the word */
private int mImageResourceId = NO_IMAGE_PROVIDED;
/** Constant value that represents no image was provided for this word */
private static final int NO_IMAGE_PROVIDED = -1;
/**
* Create a new Word object.
*
* @param defaultTranslationId is the string resource ID for the word in a language that the
* user is already familiar with (such as English)
* @param miwokTranslationId is the string resource Id for the word in the Miwok language
* @param audioResourceId is the resource ID for the audio file associated with this word
*/
public Word(int defaultTranslationId, int miwokTranslationId, int audioResourceId) {
mDefaultTranslationId = defaultTranslationId;
mMiwokTranslationId = miwokTranslationId;
mAudioResourceId = audioResourceId;
}
/**
* Create a new Word object.
*
* @param defaultTranslationId is the string resource ID for the word in a language that the
* user is already familiar with (such as English)
* @param miwokTranslationId is the string resource Id for the word in the Miwok language
* @param imageResourceId is the drawable resource ID for the image associated with the word
* @param audioResourceId is the resource ID for the audio file associated with this word
*/
public Word(int defaultTranslationId, int miwokTranslationId, int imageResourceId,
int audioResourceId) {
mDefaultTranslationId = defaultTranslationId;
mMiwokTranslationId = miwokTranslationId;
mImageResourceId = imageResourceId;
mAudioResourceId = audioResourceId;
}
/**
* Get the string resource ID for the default translation of the word.
*/
public int getDefaultTranslationId() {
return mDefaultTranslationId;
}
/**
* Get the string resource ID for the Miwok translation of the word.
*/
public int getMiwokTranslationId() {
return mMiwokTranslationId;
}
/**
* Return the image resource ID of the word.
*/
public int getImageResourceId() {
return mImageResourceId;
}
/**
* Returns whether or not there is an image for this word.
*/
public boolean hasImage() {
return mImageResourceId != NO_IMAGE_PROVIDED;
}
/**
* Return the audio resource ID of the word.
*/
public int getAudioResourceId() {
return mAudioResourceId;
}
}
| [
"workwithpurpose@yahoo.com"
] | workwithpurpose@yahoo.com |
e57669231674cebfa09f29b9f791f2c76d6c9713 | b79c418201fbc54d7a61950073bd55f41b34fb06 | /src/main/java/com/junewool/springservice/dao/repository/PagingStatRepository.java | 2a5dfd17e0b13a6e24db956f3a4ef342b27758f3 | [] | no_license | junewool/springservice | eca12409757c9ab83ec01d5c84b457402272d923 | 70c42baf565072418246c023710b30a3f99de4c1 | refs/heads/master | 2020-03-18T12:16:43.620045 | 2018-06-03T06:55:17 | 2018-06-03T06:55:17 | 134,719,117 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 276 | java | package com.junewool.springservice.dao.repository;
import com.junewool.springservice.dao.entity.StatiTest;
import org.springframework.data.repository.PagingAndSortingRepository;
public interface PagingStatRepository extends PagingAndSortingRepository<StatiTest, Long> {
}
| [
"1084282852@qq.com"
] | 1084282852@qq.com |
0e41f10cb41858d01ec5b08f161fa7caa7cbc130 | b17c8c8f72198561443c273d2dc2ba236b529da0 | /parser/src/test/java/com/example/UsesSealed.java | f42235a56c2d6e279010ce8ea87e1922be320d29 | [
"Apache-2.0"
] | permissive | fburato/highwheel-modules | d0123c842984f020e135102b3814eeaa88e367b2 | 2ce135a66622735b3787ff2adba9b75849d34ee1 | refs/heads/master | 2023-04-12T10:42:58.576870 | 2023-03-22T21:15:32 | 2023-03-22T21:22:31 | 128,535,513 | 7 | 0 | Apache-2.0 | 2021-10-29T20:00:14 | 2018-04-07T14:21:28 | Scala | UTF-8 | Java | false | false | 178 | java | package com.example;
public class UsesSealed {
public void usesSealed() {
final Sealed sealedClass = new SealedImplementation();
sealedClass.foo();
}
}
| [
"francesco.burato@gmail.com"
] | francesco.burato@gmail.com |
d55eef6ceb19c35717f66f849a14a4709298ff53 | 65c37921c5000bc01a428d36f059578ce02ebaab | /jooq/src/main/test/test/generated/pg_catalog/routines/Regexeqsel.java | 1c1b162c62fe7fe099e02f24bdcb4201828a1399 | [] | no_license | azeredoA/projetos | 05dde053aaba32f825f17f3e951d2fcb2d3034fc | 7be5995edfaad4449ec3c68d422247fc113281d0 | refs/heads/master | 2021-01-11T05:43:21.466522 | 2013-06-10T15:39:42 | 2013-06-10T15:40:20 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,981 | java | /**
* This class is generated by jOOQ
*/
package test.generated.pg_catalog.routines;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(value = {"http://www.jooq.org", "2.6.0"},
comments = "This class is generated by jOOQ")
@java.lang.SuppressWarnings("all")
public class Regexeqsel extends org.jooq.impl.AbstractRoutine<java.lang.Double> {
private static final long serialVersionUID = 2100051091;
/**
* The procedure parameter <code>pg_catalog.regexeqsel.RETURN_VALUE</code>
*/
public static final org.jooq.Parameter<java.lang.Double> RETURN_VALUE = createParameter("RETURN_VALUE", org.jooq.impl.SQLDataType.DOUBLE);
/**
* The procedure parameter <code>pg_catalog.regexeqsel._1</code>
* <p>
* The SQL type of this item (internal) could not be mapped.<br/>
* Deserialising this field might not work!
*/
public static final org.jooq.Parameter<java.lang.Object> _1 = createParameter("_1", org.jooq.util.postgres.PostgresDataType.getDefaultDataType("internal"));
/**
* The procedure parameter <code>pg_catalog.regexeqsel._2</code>
*/
public static final org.jooq.Parameter<java.lang.Long> _2 = createParameter("_2", org.jooq.impl.SQLDataType.BIGINT);
/**
* The procedure parameter <code>pg_catalog.regexeqsel._3</code>
* <p>
* The SQL type of this item (internal) could not be mapped.<br/>
* Deserialising this field might not work!
*/
public static final org.jooq.Parameter<java.lang.Object> _3 = createParameter("_3", org.jooq.util.postgres.PostgresDataType.getDefaultDataType("internal"));
/**
* The procedure parameter <code>pg_catalog.regexeqsel._4</code>
*/
public static final org.jooq.Parameter<java.lang.Integer> _4 = createParameter("_4", org.jooq.impl.SQLDataType.INTEGER);
/**
* Create a new routine call instance
*/
public Regexeqsel() {
super("regexeqsel", test.generated.pg_catalog.PgCatalog.PG_CATALOG, org.jooq.impl.SQLDataType.DOUBLE);
setReturnParameter(RETURN_VALUE);
addInParameter(_1);
addInParameter(_2);
addInParameter(_3);
addInParameter(_4);
}
/**
* Set the <code>_1</code> parameter IN value to the routine
*/
public void set__1(java.lang.Object value) {
setValue(test.generated.pg_catalog.routines.Regexeqsel._1, value);
}
/**
* Set the <code>_1</code> parameter to the function
* <p>
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
*/
public void set__1(org.jooq.Field<java.lang.Object> field) {
setField(_1, field);
}
/**
* Set the <code>_2</code> parameter IN value to the routine
*/
public void set__2(java.lang.Long value) {
setValue(test.generated.pg_catalog.routines.Regexeqsel._2, value);
}
/**
* Set the <code>_2</code> parameter to the function
* <p>
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
*/
public void set__2(org.jooq.Field<java.lang.Long> field) {
setField(_2, field);
}
/**
* Set the <code>_3</code> parameter IN value to the routine
*/
public void set__3(java.lang.Object value) {
setValue(test.generated.pg_catalog.routines.Regexeqsel._3, value);
}
/**
* Set the <code>_3</code> parameter to the function
* <p>
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
*/
public void set__3(org.jooq.Field<java.lang.Object> field) {
setField(_3, field);
}
/**
* Set the <code>_4</code> parameter IN value to the routine
*/
public void set__4(java.lang.Integer value) {
setValue(test.generated.pg_catalog.routines.Regexeqsel._4, value);
}
/**
* Set the <code>_4</code> parameter to the function
* <p>
* Use this method only, if the function is called as a {@link org.jooq.Field} in a {@link org.jooq.Select} statement!
*/
public void set__4(org.jooq.Field<java.lang.Integer> field) {
setField(_4, field);
}
}
| [
"lindomar_reitz@hotmail.com"
] | lindomar_reitz@hotmail.com |
367a954a852240c0c0118e5c44a7e349e5d45049 | 238bf8a660dfb293d76b22c8839128a79c9f7ec1 | /app/src/main/java/com/fragment/antifurtoappbasic/TutorialMain.java | 8d30e4da5a0eedae08f5ece464231ebdf26498ab | [] | no_license | danielebat/antifurto_app_basic | 9be29893135b580caa62bd1226fa155b01201bd3 | 645e634d2699a7e79fb0837c6cf9be343b8aff51 | refs/heads/master | 2021-01-15T15:25:30.592773 | 2016-06-23T15:47:26 | 2016-06-23T15:47:26 | 52,212,860 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 641 | java | package com.fragment.antifurtoappbasic;
import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.example.antifurtoappbasic.R;
public class TutorialMain extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View rootView = inflater.inflate(R.layout.fragment_tutorial_main, container, false);
return rootView;
}
}
| [
"noreply@github.com"
] | noreply@github.com |
481717fe7f0e0263232c40214afd50a635696db6 | 2f1ace995993a7fd2092c2094d01906cbda102da | /Android aplikacija/KarateKlub/app/src/main/java/com/example/x/karateklub/area_trener/model/TakmicenjeAddVM.java | 160641e56b49825d51fdd9a3eed7225dce22bd73 | [] | no_license | efna/KarateKlub | 65fb56ca63063bb050fe16aa1ee65d81c5365a0e | 658d76117d2ef926b9062758305deb66d46f9df2 | refs/heads/master | 2022-11-03T11:31:28.775341 | 2020-08-28T11:13:44 | 2020-08-28T11:13:44 | 136,021,658 | 0 | 0 | null | 2022-11-01T20:09:26 | 2018-06-04T12:27:18 | HTML | UTF-8 | Java | false | false | 607 | java | package com.example.x.karateklub.area_trener.model;
import java.io.Serializable;
public class TakmicenjeAddVM implements Serializable {
public String naziv;
public String mjestoOdrzavanja;
public String datumOdrzavanja;
public String organizator;
public int savezId;
public TakmicenjeAddVM(String naziv,String mjestoOdrzavanja,String datumOdrzavanja,String organizator,int savezId){
this.naziv=naziv;
this.mjestoOdrzavanja=mjestoOdrzavanja;
this.datumOdrzavanja=datumOdrzavanja;
this.organizator=organizator;
this.savezId=savezId;
}
}
| [
"efnan.cano@edu.fit.ba"
] | efnan.cano@edu.fit.ba |
38af1f133962e8b4c0e3c97a26307a01d0cafc3a | 6f6135bddcb5490d4b2d42936fed3e3d4a01c4f5 | /src/com/atenea/datos/Conexion.java | 50c29fea07714f6f0dfaf760aaf94870506afd39 | [] | no_license | thaednevol/CuestionarioLuisa | e550f2074fc72fa0490c27460e4f6a876587456c | 12444706a83c8e4a4e1bbb2125d9a5159f013906 | refs/heads/master | 2021-01-20T20:32:41.988609 | 2016-07-05T02:33:13 | 2016-07-05T02:33:13 | 62,598,520 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 149 | java | package com.atenea.datos;
import java.sql.*;
public class Conexion {
Connection con = null;
public void conectar(){
}
}
| [
"thaednevol@gmail.com"
] | thaednevol@gmail.com |
bae4450d7d318aa8e15e1bba3a9a7184758f95c2 | b90916b12988a4ce04dc467831a6ef1c2123bff6 | /src/main/java/com/hb/hbetl/jobEtl/parsers/JobFieldParser.java | a5eede09bbb87d92e6a6def58c5cb84483f29a23 | [] | no_license | cpoonolly/nyc_dob_etl | d38c048a00a75ebeb625b2fb12f9050410a63375 | a3e5adbf8c58cb70bcaa9d7f0507c5e884457bb6 | refs/heads/master | 2020-03-09T09:10:12.790185 | 2016-12-10T19:05:52 | 2018-04-09T02:56:51 | 128,706,324 | 1 | 1 | null | null | null | null | UTF-8 | Java | false | false | 272 | java | package com.hb.hbetl.jobEtl.parsers;
import org.jsoup.nodes.Document;
/**
*
*/
public interface JobFieldParser {
String getFieldName();
String getSqlColumnDefinition();
String parseFieldFromDocument(Document jobDocument) throws JobFieldParsingException;
}
| [
"rpoonolly@gmail.com"
] | rpoonolly@gmail.com |
259bf0fc651cf379e9579473423b5048df5acf21 | 8c6ac4ae44d92717d56b69f2561e7b83f00ca132 | /Block.java | bad791e249a6ac804019e76b6d762e9422682d26 | [] | no_license | Gandalf-pro/Snake | bd6aa3b5380690cfdf1ff0d45a59a515ea071eb6 | 9251f30a61105649c89e93dcf641d54ddcf96653 | refs/heads/master | 2020-04-29T00:13:30.080648 | 2019-04-17T17:21:24 | 2019-04-17T17:21:24 | 175,686,136 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 834 | java | /**
* Block
*/
public class Block {
private Coor coordinate;
private boolean checked;
public Block(int x, int y) {
checked = false;
coordinate = new Coor(x, y);
}
/**
* @return Coor return the coordinate
*/
public Coor getCoordinate() {
return coordinate;
}
/**
* @param coordinate the coordinate to set
*/
public void setCoordinate(Coor coordinate) {
this.coordinate = coordinate;
}
/**
* @return boolean return the checked
*/
public boolean isChecked() {
return checked;
}
/**
* @param checked the checked to set
*/
public void setChecked(boolean checked) {
this.checked = checked;
}
public Block() {
checked = false;
coordinate = new Coor();
}
} | [
"asoc04@hotmail.com"
] | asoc04@hotmail.com |
ff2f72d26737edbd4ad0ae7f3f4ed28470b581b0 | fb6cd3425d8b8a883ac06f09dd35483d98a86f25 | /app/src/main/java/com/hfad/mytimetracker/CalendarFragment.java | ab6e0385e9ce84b3f7592af96ad2a180f4f97ff5 | [] | no_license | mi4467/TeamViolet | 5eaf11df790cff31009e34b412401a6b59a9874a | dd20de01f6c72dcb8aefb82f6d88b178647ede6f | refs/heads/master | 2021-09-23T17:59:34.996208 | 2018-09-26T06:40:16 | 2018-09-26T06:40:16 | 122,245,890 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 10,653 | java | package com.hfad.mytimetracker;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.OvershootInterpolator;
import android.widget.Button;
import android.widget.CalendarView;
import android.widget.TextView;
import android.widget.Toast;
import net.cachapa.expandablelayout.ExpandableLayout;
import java.util.Calendar;
import es.dmoral.toasty.Toasty;
/**
* A simple {@link Fragment} subclass.
*/
public class CalendarFragment extends Fragment {
private int currentId;
Button button;
String currentDate;
public CalendarFragment() {
// Required empty public constructor
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
final View layout = inflater.inflate(R.layout.fragment_calendar, container, false);
initListeners(layout);
setDate(Calendar.getInstance());
setUpRecyclerView(layout);
setUpToast();
return layout;
}
@Override
public void onResume(){
super.onResume();
setUpRecyclerView(getView());
}
public void initListeners(View view){
final View layout = view;
CalendarView calendarView = layout.findViewById(R.id.simpleCalendarView);
calendarView.setOnDateChangeListener(new CalendarView.OnDateChangeListener() {
@Override
public void onSelectedDayChange(@NonNull CalendarView calendarView, int i, int i1, int i2) {
TimeTrackerDataBaseHelper dataBaseHelper = TimeTrackerDataBaseHelper.getInstance(getActivity());
setDate(i, i1, i2);
setUpRecyclerView(layout);
}
});
}
public void setDate(Calendar today){
Integer cday = today.get(Calendar.DAY_OF_MONTH);
Integer cmonth = today.get(Calendar.MONTH);
Integer cyear = today.get(Calendar.YEAR);
currentDate = TaskCreatorFragment.constructDateStr(cyear, cmonth, cday);
}
public void setDate(Integer year, Integer month, Integer day){
currentDate = TaskCreatorFragment.constructDateStr(year, month, day);
}
public void setUpRecyclerView(View view){
final View layout = view;
Cursor data = SQLfunctionHelper.queryWithParams(getContext(), "TASK_INFORMATION", new String[] {"_ID", "TASK_NAME", "DUE_DATE", "START_TIME", "END_TIME"}, "DUE_DATE = ?", new String[]{ currentDate});
RecyclerView recyclerView = layout.findViewById(R.id.recycler_view);
recyclerView.setLayoutManager(new LinearLayoutManager(getContext()));
recyclerView.setAdapter(new SimpleAdapter(recyclerView, data)); //pa
}
@Override
public void setUserVisibleHint(boolean isVisibleToUser) {
super.setUserVisibleHint(isVisibleToUser);
if(isVisibleToUser && getView()!=null) {
setUpRecyclerView(getView());
}
}
private void setUpToast(){
Toasty.Config.getInstance()
.setErrorColor(Color.parseColor("#B71C1C"))
.setSuccessColor(Color.parseColor("#1B5E20"))
.setTextColor(Color.WHITE)
.apply();
}
private void markComplete(int id){
boolean result = SQLfunctionHelper.markComplete(id, TimeTrackerDataBaseHelper.getInstance(getContext()), verifyOnTime(id));
if(result){
Toasty.success(getContext(), "Marked Complete!", Toast.LENGTH_LONG, true).show();
}
else{
Toasty.error(getContext(), "Already Marked Complete!", Toast.LENGTH_LONG, true).show();
}
}
private boolean verifyOnTime(int id){
Cursor check = SQLfunctionHelper.queryWithString(getContext(), "SELECT * FROM TASK_INFORMATION WHERE _ID = " +id);
check.moveToFirst();
String[] dueDate = check.getString(2).split("-");
int dueYear = Integer.parseInt(dueDate[0]);
int dueDay = Integer.parseInt(dueDate[2]);
int dueMonth = Integer.parseInt(dueDate[1]);
String[] dueTime = check.getString(5).split("-");
int dueHour = Integer.parseInt(dueTime[0]);
int dueMin = Integer.parseInt(dueTime[1]);
Calendar today = Calendar.getInstance();
int current_hour = today.get(Calendar.HOUR);
int current_minute = today.get(Calendar.MINUTE);
int cday = today.get(Calendar.DAY_OF_MONTH);
int cmonth = today.get(Calendar.MONTH)+1;
int cyear = today.get(Calendar.YEAR);
if(dueYear<cyear || (dueYear==cyear && dueMonth<cmonth) || (dueYear==cyear && dueMonth==cmonth && dueDay<cday) ){
return false;
}
else{
if(dueDay>cday){
return true;
}
if(current_hour<dueHour || (current_hour==dueHour && current_minute<dueMin)){
return true;
}
else{
return false;
}
}
}
private void deleteTask(int id){
SQLfunctionHelper.deleteTask(id, getContext());
Cursor data = SQLfunctionHelper.queryWithParams(getContext(), "TASK_INFORMATION", new String[] {"_ID", "TASK_NAME", "DUE_DATE", "START_TIME", "END_TIME"}, "DUE_DATE = ?", new String[]{ currentDate});
RecyclerView recyclerView = getView().findViewById(R.id.recycler_view);
recyclerView.setLayoutManager(new LinearLayoutManager(getContext()));
recyclerView.setAdapter(new CalendarFragment.SimpleAdapter(recyclerView, data));
}
private void startTaskActivity(int id){
Intent intent = new Intent(getContext(), TaskActivity.class);
intent.putExtra("TASK_ID", id);
startActivity(intent);
}
private class SimpleAdapter extends RecyclerView.Adapter<SimpleAdapter.ViewHolder> {
private static final int UNSELECTED = -1;
private RecyclerView recyclerView;
private Cursor data;
private int selectedItem = UNSELECTED;
public SimpleAdapter(RecyclerView recyclerView, Cursor data) {
this.recyclerView = recyclerView;
this.data = data;
data.moveToFirst();
}
@Override
public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
View itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.recycler_item, parent, false);
return new ViewHolder(itemView);
}
@Override
public void onBindViewHolder(ViewHolder holder, int position) {
holder.bind();
}
@Override
public int getItemCount() {
return data.getCount();
}
public class ViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener, ExpandableLayout.OnExpansionUpdateListener {
private ExpandableLayout expandableLayout;
private TextView expandButton;
public ViewHolder(View itemView){
super(itemView);
expandableLayout = itemView.findViewById(R.id.expandable_layout);
expandableLayout.setInterpolator(new OvershootInterpolator());
expandableLayout.setOnExpansionUpdateListener(this);
expandButton = itemView.findViewById(R.id.expand_button);
expandButton.setOnClickListener(this);
}
public void bind() {
int position = getAdapterPosition();
boolean isSelected = position == selectedItem;
expandButton.setText(data.getString(1));
currentId = data.getInt(0);
data.moveToNext();
expandButton.setSelected(isSelected);
expandableLayout.setExpanded(isSelected, false);
setUpTags();
}
public void setUpTags(){
((Button)expandableLayout.findViewById(R.id.task_activity)).setTag(R.id.Button_ID, currentId);
((Button)expandableLayout.findViewById(R.id.task_complete_button)).setTag(R.id.Button_ID, currentId);
((Button)expandableLayout.findViewById(R.id.task_delete_button)).setTag(R.id.Button_ID, currentId);
}
@Override
public void onClick(View view) {
ViewHolder holder = (ViewHolder) recyclerView.findViewHolderForAdapterPosition(selectedItem);
if (holder != null) {
holder.expandButton.setSelected(false);
holder.expandableLayout.collapse();
}
int position = getAdapterPosition();
if (position == selectedItem) {
selectedItem = UNSELECTED;
}
else {
expandButton.setSelected(true);
expandableLayout.expand();
setListeners();
selectedItem = position;
}
}
public void setListeners(){
((Button)expandableLayout.findViewById(R.id.task_activity)).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
startTaskActivity((Integer)view.getTag(R.id.Button_ID));
}
});
((Button)expandableLayout.findViewById(R.id.task_delete_button)).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
deleteTask((Integer)view.getTag(R.id.Button_ID));
}
});
((Button)expandableLayout.findViewById(R.id.task_complete_button)).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
markComplete((Integer)view.getTag(R.id.Button_ID));
}
});
}
@Override
public void onExpansionUpdate(float expansionFraction, int state) {
if (state == ExpandableLayout.State.EXPANDING) {
recyclerView.smoothScrollToPosition(getAdapterPosition());
}
}
}
}
}
| [
"pariskaman@utexas.edu"
] | pariskaman@utexas.edu |
407be00643a9a4dabba47d76b2d3883dbe751e1f | 385c61a2d158bae1c4749432c6633abeb3fb298e | /com/google/android/gms/internal/em.java | b8972b2b55efa6a7f209dd18b7560f6410e2aeda | [] | no_license | niketpatel2525/Tic-Tac-Toe | a17b84a242aac0ab084b99fb8e98e11955235291 | 123bcea632dc03b4e3f85a766ade71dbed1e4a66 | refs/heads/master | 2021-01-21T08:08:47.747336 | 2017-02-27T17:56:06 | 2017-02-27T17:56:06 | 83,339,606 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 52,653 | java | package com.google.android.gms.internal;
import android.content.Context;
import android.content.Intent;
import android.net.LocalSocket;
import android.net.LocalSocketAddress;
import android.os.Binder;
import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcelable;
import android.os.RemoteException;
import android.view.View;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallbacks;
import com.google.android.gms.common.GooglePlayServicesClient.OnConnectionFailedListener;
import com.google.android.gms.common.GooglePlayServicesUtil;
import com.google.android.gms.common.Scopes;
import com.google.android.gms.common.data.C0345d;
import com.google.android.gms.games.Game;
import com.google.android.gms.games.GameBuffer;
import com.google.android.gms.games.GameEntity;
import com.google.android.gms.games.GamesClient;
import com.google.android.gms.games.OnGamesLoadedListener;
import com.google.android.gms.games.OnPlayersLoadedListener;
import com.google.android.gms.games.OnSignOutCompleteListener;
import com.google.android.gms.games.Player;
import com.google.android.gms.games.PlayerBuffer;
import com.google.android.gms.games.PlayerEntity;
import com.google.android.gms.games.achievement.AchievementBuffer;
import com.google.android.gms.games.achievement.OnAchievementUpdatedListener;
import com.google.android.gms.games.achievement.OnAchievementsLoadedListener;
import com.google.android.gms.games.leaderboard.LeaderboardBuffer;
import com.google.android.gms.games.leaderboard.LeaderboardScoreBuffer;
import com.google.android.gms.games.leaderboard.OnLeaderboardMetadataLoadedListener;
import com.google.android.gms.games.leaderboard.OnLeaderboardScoresLoadedListener;
import com.google.android.gms.games.leaderboard.OnScoreSubmittedListener;
import com.google.android.gms.games.leaderboard.SubmitScoreResult;
import com.google.android.gms.games.multiplayer.Invitation;
import com.google.android.gms.games.multiplayer.InvitationBuffer;
import com.google.android.gms.games.multiplayer.OnInvitationReceivedListener;
import com.google.android.gms.games.multiplayer.OnInvitationsLoadedListener;
import com.google.android.gms.games.multiplayer.ParticipantUtils;
import com.google.android.gms.games.multiplayer.realtime.C0573a;
import com.google.android.gms.games.multiplayer.realtime.RealTimeMessage;
import com.google.android.gms.games.multiplayer.realtime.RealTimeMessageReceivedListener;
import com.google.android.gms.games.multiplayer.realtime.RealTimeReliableMessageSentListener;
import com.google.android.gms.games.multiplayer.realtime.RealTimeSocket;
import com.google.android.gms.games.multiplayer.realtime.Room;
import com.google.android.gms.games.multiplayer.realtime.RoomConfig;
import com.google.android.gms.games.multiplayer.realtime.RoomStatusUpdateListener;
import com.google.android.gms.games.multiplayer.realtime.RoomUpdateListener;
import com.google.android.gms.internal.de.C0135b;
import com.google.android.gms.internal.de.C0412c;
import com.google.android.gms.internal.de.C0579d;
import com.google.android.gms.internal.er.C0435a;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
public final class em extends de<er> {
private final String it;
private final String mF;
private final Map<String, et> mG;
private PlayerEntity mH;
private GameEntity mI;
private final es mJ;
private boolean mK;
private final Binder mL;
private final long mM;
private final boolean mN;
final class ag extends C0135b<RealTimeReliableMessageSentListener> {
private final int iC;
final /* synthetic */ em mP;
private final String nf;
private final int ng;
ag(em emVar, RealTimeReliableMessageSentListener realTimeReliableMessageSentListener, int i, int i2, String str) {
this.mP = emVar;
super(emVar, realTimeReliableMessageSentListener);
this.iC = i;
this.ng = i2;
this.nf = str;
}
public void m1320a(RealTimeReliableMessageSentListener realTimeReliableMessageSentListener) {
if (realTimeReliableMessageSentListener != null) {
realTimeReliableMessageSentListener.onRealTimeMessageSent(this.iC, this.ng, this.nf);
}
}
protected void aF() {
}
}
final class ao extends C0135b<OnSignOutCompleteListener> {
final /* synthetic */ em mP;
public ao(em emVar, OnSignOutCompleteListener onSignOutCompleteListener) {
this.mP = emVar;
super(emVar, onSignOutCompleteListener);
}
public void m1322a(OnSignOutCompleteListener onSignOutCompleteListener) {
onSignOutCompleteListener.onSignOutComplete();
}
protected void aF() {
}
}
final class aq extends C0135b<OnScoreSubmittedListener> {
final /* synthetic */ em mP;
private final SubmitScoreResult nn;
public aq(em emVar, OnScoreSubmittedListener onScoreSubmittedListener, SubmitScoreResult submitScoreResult) {
this.mP = emVar;
super(emVar, onScoreSubmittedListener);
this.nn = submitScoreResult;
}
public void m1324a(OnScoreSubmittedListener onScoreSubmittedListener) {
onScoreSubmittedListener.onScoreSubmitted(this.nn.getStatusCode(), this.nn);
}
protected void aF() {
}
}
/* renamed from: com.google.android.gms.internal.em.e */
final class C0425e extends C0135b<OnAchievementUpdatedListener> {
private final int iC;
final /* synthetic */ em mP;
private final String mR;
C0425e(em emVar, OnAchievementUpdatedListener onAchievementUpdatedListener, int i, String str) {
this.mP = emVar;
super(emVar, onAchievementUpdatedListener);
this.iC = i;
this.mR = str;
}
protected void m1326a(OnAchievementUpdatedListener onAchievementUpdatedListener) {
onAchievementUpdatedListener.onAchievementUpdated(this.iC, this.mR);
}
protected void aF() {
}
}
/* renamed from: com.google.android.gms.internal.em.m */
final class C0426m extends C0135b<OnInvitationReceivedListener> {
final /* synthetic */ em mP;
private final Invitation mV;
C0426m(em emVar, OnInvitationReceivedListener onInvitationReceivedListener, Invitation invitation) {
this.mP = emVar;
super(emVar, onInvitationReceivedListener);
this.mV = invitation;
}
protected void m1328a(OnInvitationReceivedListener onInvitationReceivedListener) {
onInvitationReceivedListener.onInvitationReceived(this.mV);
}
protected void aF() {
}
}
/* renamed from: com.google.android.gms.internal.em.r */
final class C0427r extends C0135b<OnLeaderboardScoresLoadedListener> {
final /* synthetic */ em mP;
private final C0345d mY;
private final C0345d mZ;
C0427r(em emVar, OnLeaderboardScoresLoadedListener onLeaderboardScoresLoadedListener, C0345d c0345d, C0345d c0345d2) {
this.mP = emVar;
super(emVar, onLeaderboardScoresLoadedListener);
this.mY = c0345d;
this.mZ = c0345d2;
}
protected void m1330a(OnLeaderboardScoresLoadedListener onLeaderboardScoresLoadedListener) {
C0345d c0345d = null;
C0345d c0345d2 = this.mY;
C0345d c0345d3 = this.mZ;
if (onLeaderboardScoresLoadedListener != null) {
try {
onLeaderboardScoresLoadedListener.onLeaderboardScoresLoaded(c0345d3.getStatusCode(), new LeaderboardBuffer(c0345d2), new LeaderboardScoreBuffer(c0345d3));
c0345d3 = null;
} catch (Throwable th) {
if (c0345d2 != null) {
c0345d2.close();
}
if (c0345d3 != null) {
c0345d3.close();
}
}
} else {
c0345d = c0345d3;
c0345d3 = c0345d2;
}
if (c0345d3 != null) {
c0345d3.close();
}
if (c0345d != null) {
c0345d.close();
}
}
protected void aF() {
if (this.mY != null) {
this.mY.close();
}
if (this.mZ != null) {
this.mZ.close();
}
}
}
/* renamed from: com.google.android.gms.internal.em.u */
final class C0428u extends C0135b<RoomUpdateListener> {
private final int iC;
final /* synthetic */ em mP;
private final String nb;
C0428u(em emVar, RoomUpdateListener roomUpdateListener, int i, String str) {
this.mP = emVar;
super(emVar, roomUpdateListener);
this.iC = i;
this.nb = str;
}
public void m1332a(RoomUpdateListener roomUpdateListener) {
roomUpdateListener.onLeftRoom(this.iC, this.nb);
}
protected void aF() {
}
}
/* renamed from: com.google.android.gms.internal.em.v */
final class C0429v extends C0135b<RealTimeMessageReceivedListener> {
final /* synthetic */ em mP;
private final RealTimeMessage nc;
C0429v(em emVar, RealTimeMessageReceivedListener realTimeMessageReceivedListener, RealTimeMessage realTimeMessage) {
this.mP = emVar;
super(emVar, realTimeMessageReceivedListener);
this.nc = realTimeMessage;
}
public void m1334a(RealTimeMessageReceivedListener realTimeMessageReceivedListener) {
ep.m454b("GamesClient", "Deliver Message received callback");
if (realTimeMessageReceivedListener != null) {
realTimeMessageReceivedListener.onRealTimeMessageReceived(this.nc);
}
}
protected void aF() {
}
}
/* renamed from: com.google.android.gms.internal.em.w */
final class C0430w extends C0135b<RoomStatusUpdateListener> {
final /* synthetic */ em mP;
private final String nd;
C0430w(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, String str) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener);
this.nd = str;
}
public void m1336a(RoomStatusUpdateListener roomStatusUpdateListener) {
if (roomStatusUpdateListener != null) {
roomStatusUpdateListener.onP2PConnected(this.nd);
}
}
protected void aF() {
}
}
/* renamed from: com.google.android.gms.internal.em.x */
final class C0431x extends C0135b<RoomStatusUpdateListener> {
final /* synthetic */ em mP;
private final String nd;
C0431x(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, String str) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener);
this.nd = str;
}
public void m1338a(RoomStatusUpdateListener roomStatusUpdateListener) {
if (roomStatusUpdateListener != null) {
roomStatusUpdateListener.onP2PDisconnected(this.nd);
}
}
protected void aF() {
}
}
final class af extends C0412c<OnPlayersLoadedListener> {
final /* synthetic */ em mP;
af(em emVar, OnPlayersLoadedListener onPlayersLoadedListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, onPlayersLoadedListener, c0345d);
}
protected void m1859a(OnPlayersLoadedListener onPlayersLoadedListener, C0345d c0345d) {
onPlayersLoadedListener.onPlayersLoaded(c0345d.getStatusCode(), new PlayerBuffer(c0345d));
}
}
/* renamed from: com.google.android.gms.internal.em.b */
abstract class C0580b extends C0412c<RoomUpdateListener> {
final /* synthetic */ em mP;
C0580b(em emVar, RoomUpdateListener roomUpdateListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, roomUpdateListener, c0345d);
}
protected void m1861a(RoomUpdateListener roomUpdateListener, C0345d c0345d) {
m1862a(roomUpdateListener, this.mP.m1877x(c0345d), c0345d.getStatusCode());
}
protected abstract void m1862a(RoomUpdateListener roomUpdateListener, Room room, int i);
}
/* renamed from: com.google.android.gms.internal.em.c */
abstract class C0581c extends C0412c<RoomStatusUpdateListener> {
final /* synthetic */ em mP;
C0581c(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener, c0345d);
}
protected void m1864a(RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d) {
m1865a(roomStatusUpdateListener, this.mP.m1877x(c0345d));
}
protected abstract void m1865a(RoomStatusUpdateListener roomStatusUpdateListener, Room room);
}
/* renamed from: com.google.android.gms.internal.em.g */
final class C0582g extends C0412c<OnAchievementsLoadedListener> {
final /* synthetic */ em mP;
C0582g(em emVar, OnAchievementsLoadedListener onAchievementsLoadedListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, onAchievementsLoadedListener, c0345d);
}
protected void m1867a(OnAchievementsLoadedListener onAchievementsLoadedListener, C0345d c0345d) {
onAchievementsLoadedListener.onAchievementsLoaded(c0345d.getStatusCode(), new AchievementBuffer(c0345d));
}
}
/* renamed from: com.google.android.gms.internal.em.k */
final class C0583k extends C0412c<OnGamesLoadedListener> {
final /* synthetic */ em mP;
C0583k(em emVar, OnGamesLoadedListener onGamesLoadedListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, onGamesLoadedListener, c0345d);
}
protected void m1869a(OnGamesLoadedListener onGamesLoadedListener, C0345d c0345d) {
onGamesLoadedListener.onGamesLoaded(c0345d.getStatusCode(), new GameBuffer(c0345d));
}
}
/* renamed from: com.google.android.gms.internal.em.o */
final class C0584o extends C0412c<OnInvitationsLoadedListener> {
final /* synthetic */ em mP;
C0584o(em emVar, OnInvitationsLoadedListener onInvitationsLoadedListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, onInvitationsLoadedListener, c0345d);
}
protected void m1871a(OnInvitationsLoadedListener onInvitationsLoadedListener, C0345d c0345d) {
onInvitationsLoadedListener.onInvitationsLoaded(c0345d.getStatusCode(), new InvitationBuffer(c0345d));
}
}
/* renamed from: com.google.android.gms.internal.em.t */
final class C0585t extends C0412c<OnLeaderboardMetadataLoadedListener> {
final /* synthetic */ em mP;
C0585t(em emVar, OnLeaderboardMetadataLoadedListener onLeaderboardMetadataLoadedListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, onLeaderboardMetadataLoadedListener, c0345d);
}
protected void m1873a(OnLeaderboardMetadataLoadedListener onLeaderboardMetadataLoadedListener, C0345d c0345d) {
onLeaderboardMetadataLoadedListener.onLeaderboardMetadataLoaded(c0345d.getStatusCode(), new LeaderboardBuffer(c0345d));
}
}
/* renamed from: com.google.android.gms.internal.em.a */
abstract class C0620a extends C0581c {
private final ArrayList<String> mO;
final /* synthetic */ em mP;
C0620a(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d, String[] strArr) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener, c0345d);
this.mO = new ArrayList();
for (Object add : strArr) {
this.mO.add(add);
}
}
protected void m2088a(RoomStatusUpdateListener roomStatusUpdateListener, Room room) {
m2089a(roomStatusUpdateListener, room, this.mO);
}
protected abstract void m2089a(RoomStatusUpdateListener roomStatusUpdateListener, Room room, ArrayList<String> arrayList);
}
final class ae extends el {
final /* synthetic */ em mP;
private final OnPlayersLoadedListener ne;
ae(em emVar, OnPlayersLoadedListener onPlayersLoadedListener) {
this.mP = emVar;
this.ne = (OnPlayersLoadedListener) dm.m388a((Object) onPlayersLoadedListener, (Object) "Listener must not be null");
}
public void m2090e(C0345d c0345d) {
this.mP.m1243a(new af(this.mP, this.ne, c0345d));
}
}
final class ah extends el {
final /* synthetic */ em mP;
final RealTimeReliableMessageSentListener nh;
public ah(em emVar, RealTimeReliableMessageSentListener realTimeReliableMessageSentListener) {
this.mP = emVar;
this.nh = realTimeReliableMessageSentListener;
}
public void m2091a(int i, int i2, String str) {
this.mP.m1243a(new ag(this.mP, this.nh, i, i2, str));
}
}
final class ai extends C0581c {
final /* synthetic */ em mP;
ai(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener, c0345d);
}
public void m2092a(RoomStatusUpdateListener roomStatusUpdateListener, Room room) {
roomStatusUpdateListener.onRoomAutoMatching(room);
}
}
final class aj extends el {
final /* synthetic */ em mP;
private final RoomUpdateListener ni;
private final RoomStatusUpdateListener nj;
private final RealTimeMessageReceivedListener nk;
public aj(em emVar, RoomUpdateListener roomUpdateListener) {
this.mP = emVar;
this.ni = (RoomUpdateListener) dm.m388a((Object) roomUpdateListener, (Object) "Callbacks must not be null");
this.nj = null;
this.nk = null;
}
public aj(em emVar, RoomUpdateListener roomUpdateListener, RoomStatusUpdateListener roomStatusUpdateListener, RealTimeMessageReceivedListener realTimeMessageReceivedListener) {
this.mP = emVar;
this.ni = (RoomUpdateListener) dm.m388a((Object) roomUpdateListener, (Object) "Callbacks must not be null");
this.nj = roomStatusUpdateListener;
this.nk = realTimeMessageReceivedListener;
}
public void m2093a(C0345d c0345d, String[] strArr) {
this.mP.m1243a(new ab(this.mP, this.nj, c0345d, strArr));
}
public void m2094b(C0345d c0345d, String[] strArr) {
this.mP.m1243a(new ac(this.mP, this.nj, c0345d, strArr));
}
public void m2095c(C0345d c0345d, String[] strArr) {
this.mP.m1243a(new ad(this.mP, this.nj, c0345d, strArr));
}
public void m2096d(C0345d c0345d, String[] strArr) {
this.mP.m1243a(new C0636z(this.mP, this.nj, c0345d, strArr));
}
public void m2097e(C0345d c0345d, String[] strArr) {
this.mP.m1243a(new C0635y(this.mP, this.nj, c0345d, strArr));
}
public void m2098f(C0345d c0345d, String[] strArr) {
this.mP.m1243a(new aa(this.mP, this.nj, c0345d, strArr));
}
public void m2099n(C0345d c0345d) {
this.mP.m1243a(new am(this.mP, this.ni, c0345d));
}
public void m2100o(C0345d c0345d) {
this.mP.m1243a(new C0628p(this.mP, this.ni, c0345d));
}
public void onLeftRoom(int statusCode, String externalRoomId) {
this.mP.m1243a(new C0428u(this.mP, this.ni, statusCode, externalRoomId));
}
public void onP2PConnected(String participantId) {
this.mP.m1243a(new C0430w(this.mP, this.nj, participantId));
}
public void onP2PDisconnected(String participantId) {
this.mP.m1243a(new C0431x(this.mP, this.nj, participantId));
}
public void onRealTimeMessageReceived(RealTimeMessage message) {
ep.m454b("GamesClient", "RoomBinderCallbacks: onRealTimeMessageReceived");
this.mP.m1243a(new C0429v(this.mP, this.nk, message));
}
public void m2101p(C0345d c0345d) {
this.mP.m1243a(new al(this.mP, this.nj, c0345d));
}
public void m2102q(C0345d c0345d) {
this.mP.m1243a(new ai(this.mP, this.nj, c0345d));
}
public void m2103r(C0345d c0345d) {
this.mP.m1243a(new ak(this.mP, this.ni, c0345d));
}
public void m2104s(C0345d c0345d) {
this.mP.m1243a(new C0623h(this.mP, this.nj, c0345d));
}
public void m2105t(C0345d c0345d) {
this.mP.m1243a(new C0624i(this.mP, this.nj, c0345d));
}
}
final class ak extends C0580b {
final /* synthetic */ em mP;
ak(em emVar, RoomUpdateListener roomUpdateListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, roomUpdateListener, c0345d);
}
public void m2106a(RoomUpdateListener roomUpdateListener, Room room, int i) {
roomUpdateListener.onRoomConnected(i, room);
}
}
final class al extends C0581c {
final /* synthetic */ em mP;
al(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener, c0345d);
}
public void m2107a(RoomStatusUpdateListener roomStatusUpdateListener, Room room) {
roomStatusUpdateListener.onRoomConnecting(room);
}
}
final class am extends C0580b {
final /* synthetic */ em mP;
public am(em emVar, RoomUpdateListener roomUpdateListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, roomUpdateListener, c0345d);
}
public void m2108a(RoomUpdateListener roomUpdateListener, Room room, int i) {
roomUpdateListener.onRoomCreated(i, room);
}
}
final class an extends el {
final /* synthetic */ em mP;
private final OnSignOutCompleteListener nl;
public an(em emVar, OnSignOutCompleteListener onSignOutCompleteListener) {
this.mP = emVar;
this.nl = (OnSignOutCompleteListener) dm.m388a((Object) onSignOutCompleteListener, (Object) "Listener must not be null");
}
public void onSignOutComplete() {
this.mP.m1243a(new ao(this.mP, this.nl));
}
}
final class ap extends el {
final /* synthetic */ em mP;
private final OnScoreSubmittedListener nm;
public ap(em emVar, OnScoreSubmittedListener onScoreSubmittedListener) {
this.mP = emVar;
this.nm = (OnScoreSubmittedListener) dm.m388a((Object) onScoreSubmittedListener, (Object) "Listener must not be null");
}
public void m2109d(C0345d c0345d) {
this.mP.m1243a(new aq(this.mP, this.nm, new SubmitScoreResult(c0345d)));
}
}
/* renamed from: com.google.android.gms.internal.em.d */
final class C0621d extends el {
final /* synthetic */ em mP;
private final OnAchievementUpdatedListener mQ;
C0621d(em emVar, OnAchievementUpdatedListener onAchievementUpdatedListener) {
this.mP = emVar;
this.mQ = (OnAchievementUpdatedListener) dm.m388a((Object) onAchievementUpdatedListener, (Object) "Listener must not be null");
}
public void onAchievementUpdated(int statusCode, String achievementId) {
this.mP.m1243a(new C0425e(this.mP, this.mQ, statusCode, achievementId));
}
}
/* renamed from: com.google.android.gms.internal.em.f */
final class C0622f extends el {
final /* synthetic */ em mP;
private final OnAchievementsLoadedListener mS;
C0622f(em emVar, OnAchievementsLoadedListener onAchievementsLoadedListener) {
this.mP = emVar;
this.mS = (OnAchievementsLoadedListener) dm.m388a((Object) onAchievementsLoadedListener, (Object) "Listener must not be null");
}
public void m2110b(C0345d c0345d) {
this.mP.m1243a(new C0582g(this.mP, this.mS, c0345d));
}
}
/* renamed from: com.google.android.gms.internal.em.h */
final class C0623h extends C0581c {
final /* synthetic */ em mP;
C0623h(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener, c0345d);
}
public void m2111a(RoomStatusUpdateListener roomStatusUpdateListener, Room room) {
roomStatusUpdateListener.onConnectedToRoom(room);
}
}
/* renamed from: com.google.android.gms.internal.em.i */
final class C0624i extends C0581c {
final /* synthetic */ em mP;
C0624i(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener, c0345d);
}
public void m2112a(RoomStatusUpdateListener roomStatusUpdateListener, Room room) {
roomStatusUpdateListener.onDisconnectedFromRoom(room);
}
}
/* renamed from: com.google.android.gms.internal.em.j */
final class C0625j extends el {
final /* synthetic */ em mP;
private final OnGamesLoadedListener mT;
C0625j(em emVar, OnGamesLoadedListener onGamesLoadedListener) {
this.mP = emVar;
this.mT = (OnGamesLoadedListener) dm.m388a((Object) onGamesLoadedListener, (Object) "Listener must not be null");
}
public void m2113g(C0345d c0345d) {
this.mP.m1243a(new C0583k(this.mP, this.mT, c0345d));
}
}
/* renamed from: com.google.android.gms.internal.em.l */
final class C0626l extends el {
final /* synthetic */ em mP;
private final OnInvitationReceivedListener mU;
C0626l(em emVar, OnInvitationReceivedListener onInvitationReceivedListener) {
this.mP = emVar;
this.mU = onInvitationReceivedListener;
}
public void m2114k(C0345d c0345d) {
InvitationBuffer invitationBuffer = new InvitationBuffer(c0345d);
Invitation invitation = null;
try {
if (invitationBuffer.getCount() > 0) {
invitation = (Invitation) ((Invitation) invitationBuffer.get(0)).freeze();
}
invitationBuffer.close();
if (invitation != null) {
this.mP.m1243a(new C0426m(this.mP, this.mU, invitation));
}
} catch (Throwable th) {
invitationBuffer.close();
}
}
}
/* renamed from: com.google.android.gms.internal.em.n */
final class C0627n extends el {
final /* synthetic */ em mP;
private final OnInvitationsLoadedListener mW;
C0627n(em emVar, OnInvitationsLoadedListener onInvitationsLoadedListener) {
this.mP = emVar;
this.mW = onInvitationsLoadedListener;
}
public void m2115j(C0345d c0345d) {
this.mP.m1243a(new C0584o(this.mP, this.mW, c0345d));
}
}
/* renamed from: com.google.android.gms.internal.em.p */
final class C0628p extends C0580b {
final /* synthetic */ em mP;
public C0628p(em emVar, RoomUpdateListener roomUpdateListener, C0345d c0345d) {
this.mP = emVar;
super(emVar, roomUpdateListener, c0345d);
}
public void m2116a(RoomUpdateListener roomUpdateListener, Room room, int i) {
roomUpdateListener.onJoinedRoom(i, room);
}
}
/* renamed from: com.google.android.gms.internal.em.q */
final class C0629q extends el {
final /* synthetic */ em mP;
private final OnLeaderboardScoresLoadedListener mX;
C0629q(em emVar, OnLeaderboardScoresLoadedListener onLeaderboardScoresLoadedListener) {
this.mP = emVar;
this.mX = (OnLeaderboardScoresLoadedListener) dm.m388a((Object) onLeaderboardScoresLoadedListener, (Object) "Listener must not be null");
}
public void m2117a(C0345d c0345d, C0345d c0345d2) {
this.mP.m1243a(new C0427r(this.mP, this.mX, c0345d, c0345d2));
}
}
/* renamed from: com.google.android.gms.internal.em.s */
final class C0630s extends el {
final /* synthetic */ em mP;
private final OnLeaderboardMetadataLoadedListener na;
C0630s(em emVar, OnLeaderboardMetadataLoadedListener onLeaderboardMetadataLoadedListener) {
this.mP = emVar;
this.na = (OnLeaderboardMetadataLoadedListener) dm.m388a((Object) onLeaderboardMetadataLoadedListener, (Object) "Listener must not be null");
}
public void m2118c(C0345d c0345d) {
this.mP.m1243a(new C0585t(this.mP, this.na, c0345d));
}
}
final class aa extends C0620a {
final /* synthetic */ em mP;
aa(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d, String[] strArr) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener, c0345d, strArr);
}
protected void m2125a(RoomStatusUpdateListener roomStatusUpdateListener, Room room, ArrayList<String> arrayList) {
roomStatusUpdateListener.onPeersDisconnected(room, arrayList);
}
}
final class ab extends C0620a {
final /* synthetic */ em mP;
ab(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d, String[] strArr) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener, c0345d, strArr);
}
protected void m2126a(RoomStatusUpdateListener roomStatusUpdateListener, Room room, ArrayList<String> arrayList) {
roomStatusUpdateListener.onPeerInvitedToRoom(room, arrayList);
}
}
final class ac extends C0620a {
final /* synthetic */ em mP;
ac(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d, String[] strArr) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener, c0345d, strArr);
}
protected void m2127a(RoomStatusUpdateListener roomStatusUpdateListener, Room room, ArrayList<String> arrayList) {
roomStatusUpdateListener.onPeerJoined(room, arrayList);
}
}
final class ad extends C0620a {
final /* synthetic */ em mP;
ad(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d, String[] strArr) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener, c0345d, strArr);
}
protected void m2128a(RoomStatusUpdateListener roomStatusUpdateListener, Room room, ArrayList<String> arrayList) {
roomStatusUpdateListener.onPeerLeft(room, arrayList);
}
}
/* renamed from: com.google.android.gms.internal.em.y */
final class C0635y extends C0620a {
final /* synthetic */ em mP;
C0635y(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d, String[] strArr) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener, c0345d, strArr);
}
protected void m2129a(RoomStatusUpdateListener roomStatusUpdateListener, Room room, ArrayList<String> arrayList) {
roomStatusUpdateListener.onPeersConnected(room, arrayList);
}
}
/* renamed from: com.google.android.gms.internal.em.z */
final class C0636z extends C0620a {
final /* synthetic */ em mP;
C0636z(em emVar, RoomStatusUpdateListener roomStatusUpdateListener, C0345d c0345d, String[] strArr) {
this.mP = emVar;
super(emVar, roomStatusUpdateListener, c0345d, strArr);
}
protected void m2130a(RoomStatusUpdateListener roomStatusUpdateListener, Room room, ArrayList<String> arrayList) {
roomStatusUpdateListener.onPeerDeclined(room, arrayList);
}
}
public em(Context context, String str, String str2, ConnectionCallbacks connectionCallbacks, OnConnectionFailedListener onConnectionFailedListener, String[] strArr, int i, View view, boolean z) {
super(context, connectionCallbacks, onConnectionFailedListener, strArr);
this.mK = false;
this.mF = str;
this.it = (String) dm.m392e(str2);
this.mL = new Binder();
this.mG = new HashMap();
this.mJ = es.m568a(this, i);
setViewForPopups(view);
this.mM = (long) hashCode();
this.mN = z;
}
private et m1875K(String str) {
try {
String M = ((er) bd()).m495M(str);
if (M == null) {
return null;
}
ep.m457e("GamesClient", "Creating a socket to bind to:" + M);
LocalSocket localSocket = new LocalSocket();
try {
localSocket.connect(new LocalSocketAddress(M));
et etVar = new et(localSocket, str);
this.mG.put(str, etVar);
return etVar;
} catch (IOException e) {
ep.m456d("GamesClient", "connect() call failed on socket: " + e.getMessage());
return null;
}
} catch (RemoteException e2) {
ep.m456d("GamesClient", "Unable to create socket. Service died.");
return null;
}
}
private void bR() {
this.mH = null;
}
private void bS() {
for (et close : this.mG.values()) {
try {
close.close();
} catch (Throwable e) {
ep.m453a("GamesClient", "IOException:", e);
}
}
this.mG.clear();
}
private Room m1877x(C0345d c0345d) {
C0573a c0573a = new C0573a(c0345d);
Room room = null;
try {
if (c0573a.getCount() > 0) {
room = (Room) ((Room) c0573a.get(0)).freeze();
}
c0573a.close();
return room;
} catch (Throwable th) {
c0573a.close();
}
}
protected er m1878A(IBinder iBinder) {
return C0435a.m1451C(iBinder);
}
public int m1879a(byte[] bArr, String str, String[] strArr) {
dm.m388a((Object) strArr, (Object) "Participant IDs must not be null");
try {
return ((er) bd()).m523b(bArr, str, strArr);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
return -1;
}
}
protected void m1880a(int i, IBinder iBinder, Bundle bundle) {
if (i == 0 && bundle != null) {
this.mK = bundle.getBoolean("show_welcome_popup");
}
super.m1241a(i, iBinder, bundle);
}
public void m1881a(IBinder iBinder, Bundle bundle) {
if (isConnected()) {
try {
((er) bd()).m500a(iBinder, bundle);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
}
protected void m1882a(ConnectionResult connectionResult) {
super.m1242a(connectionResult);
this.mK = false;
}
public void m1883a(OnPlayersLoadedListener onPlayersLoadedListener, int i, boolean z, boolean z2) {
try {
((er) bd()).m503a(new ae(this, onPlayersLoadedListener), i, z, z2);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void m1884a(OnAchievementUpdatedListener onAchievementUpdatedListener, String str) {
if (onAchievementUpdatedListener == null) {
eq eqVar = null;
} else {
Object c0621d = new C0621d(this, onAchievementUpdatedListener);
}
try {
((er) bd()).m515a(eqVar, str, this.mJ.bZ(), this.mJ.bY());
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void m1885a(OnAchievementUpdatedListener onAchievementUpdatedListener, String str, int i) {
try {
((er) bd()).m510a(onAchievementUpdatedListener == null ? null : new C0621d(this, onAchievementUpdatedListener), str, i, this.mJ.bZ(), this.mJ.bY());
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void m1886a(OnScoreSubmittedListener onScoreSubmittedListener, String str, long j, String str2) {
try {
((er) bd()).m514a(onScoreSubmittedListener == null ? null : new ap(this, onScoreSubmittedListener), str, j, str2);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
protected void m1887a(dj djVar, C0579d c0579d) throws RemoteException {
String locale = getContext().getResources().getConfiguration().locale.toString();
Bundle bundle = new Bundle();
bundle.putBoolean("com.google.android.gms.games.key.isHeadless", this.mN);
djVar.m375a(c0579d, GooglePlayServicesUtil.GOOGLE_PLAY_SERVICES_VERSION_CODE, getContext().getPackageName(), this.it, aY(), this.mF, this.mJ.bZ(), locale, bundle);
}
protected void m1888a(String... strArr) {
int i = 0;
boolean z = false;
for (String str : strArr) {
if (str.equals(Scopes.GAMES)) {
z = true;
} else if (str.equals("https://www.googleapis.com/auth/games.firstparty")) {
i = 1;
}
}
if (i != 0) {
dm.m389a(!z, String.format("Cannot have both %s and %s!", new Object[]{Scopes.GAMES, "https://www.googleapis.com/auth/games.firstparty"}));
return;
}
dm.m389a(z, String.format("GamesClient requires %s to function.", new Object[]{Scopes.GAMES}));
}
protected void aZ() {
super.aZ();
if (this.mK) {
this.mJ.bX();
this.mK = false;
}
}
protected String ag() {
return "com.google.android.gms.games.service.START";
}
protected String ah() {
return "com.google.android.gms.games.internal.IGamesService";
}
public void m1889b(OnAchievementUpdatedListener onAchievementUpdatedListener, String str) {
if (onAchievementUpdatedListener == null) {
eq eqVar = null;
} else {
Object c0621d = new C0621d(this, onAchievementUpdatedListener);
}
try {
((er) bd()).m530b(eqVar, str, this.mJ.bZ(), this.mJ.bY());
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void m1890b(OnAchievementUpdatedListener onAchievementUpdatedListener, String str, int i) {
try {
((er) bd()).m528b(onAchievementUpdatedListener == null ? null : new C0621d(this, onAchievementUpdatedListener), str, i, this.mJ.bZ(), this.mJ.bY());
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void bT() {
if (isConnected()) {
try {
((er) bd()).bT();
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
}
protected Bundle ba() {
try {
Bundle ba = ((er) bd()).ba();
if (ba == null) {
return ba;
}
ba.setClassLoader(em.class.getClassLoader());
return ba;
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
return null;
}
}
public void clearNotifications(int notificationTypes) {
try {
((er) bd()).clearNotifications(notificationTypes);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void connect() {
bR();
super.connect();
}
public void createRoom(RoomConfig config) {
try {
((er) bd()).m506a(new aj(this, config.getRoomUpdateListener(), config.getRoomStatusUpdateListener(), config.getMessageReceivedListener()), this.mL, config.getVariant(), config.getInvitedPlayerIds(), config.getAutoMatchCriteria(), config.isSocketEnabled(), this.mM);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void disconnect() {
this.mK = false;
if (isConnected()) {
try {
er erVar = (er) bd();
erVar.bT();
erVar.m554g(this.mM);
erVar.m550f(this.mM);
} catch (RemoteException e) {
ep.m455c("GamesClient", "Failed to notify client disconnect.");
}
}
bS();
super.disconnect();
}
public Intent getAchievementsIntent() {
bc();
Intent intent = new Intent("com.google.android.gms.games.VIEW_ACHIEVEMENTS");
intent.addFlags(67108864);
return eo.m452c(intent);
}
public Intent getAllLeaderboardsIntent() {
bc();
Intent intent = new Intent("com.google.android.gms.games.VIEW_LEADERBOARDS");
intent.putExtra("com.google.android.gms.games.GAME_PACKAGE_NAME", this.mF);
intent.addFlags(67108864);
return eo.m452c(intent);
}
public String getAppId() {
try {
return ((er) bd()).getAppId();
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
return null;
}
}
public String getCurrentAccountName() {
try {
return ((er) bd()).getCurrentAccountName();
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
return null;
}
}
public Game getCurrentGame() {
bc();
synchronized (this) {
if (this.mI == null) {
GameBuffer gameBuffer;
try {
gameBuffer = new GameBuffer(((er) bd()).bW());
if (gameBuffer.getCount() > 0) {
this.mI = (GameEntity) gameBuffer.get(0).freeze();
}
gameBuffer.close();
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
} catch (Throwable th) {
gameBuffer.close();
}
}
}
return this.mI;
}
public Player getCurrentPlayer() {
bc();
synchronized (this) {
if (this.mH == null) {
PlayerBuffer playerBuffer;
try {
playerBuffer = new PlayerBuffer(((er) bd()).bU());
if (playerBuffer.getCount() > 0) {
this.mH = (PlayerEntity) playerBuffer.get(0).freeze();
}
playerBuffer.close();
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
} catch (Throwable th) {
playerBuffer.close();
}
}
}
return this.mH;
}
public String getCurrentPlayerId() {
try {
return ((er) bd()).getCurrentPlayerId();
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
return null;
}
}
public Intent getInvitationInboxIntent() {
bc();
Intent intent = new Intent("com.google.android.gms.games.SHOW_INVITATIONS");
intent.putExtra("com.google.android.gms.games.GAME_PACKAGE_NAME", this.mF);
return eo.m452c(intent);
}
public Intent getLeaderboardIntent(String leaderboardId) {
bc();
Intent intent = new Intent("com.google.android.gms.games.VIEW_LEADERBOARD_SCORES");
intent.putExtra("com.google.android.gms.games.LEADERBOARD_ID", leaderboardId);
intent.addFlags(67108864);
return eo.m452c(intent);
}
public RealTimeSocket getRealTimeSocketForParticipant(String roomId, String participantId) {
if (participantId == null || !ParticipantUtils.m153Q(participantId)) {
throw new IllegalArgumentException("Bad participant ID");
}
et etVar = (et) this.mG.get(participantId);
return (etVar == null || etVar.isClosed()) ? m1875K(participantId) : etVar;
}
public Intent getRealTimeWaitingRoomIntent(Room room, int minParticipantsToStart) {
bc();
Intent intent = new Intent("com.google.android.gms.games.SHOW_REAL_TIME_WAITING_ROOM");
dm.m388a((Object) room, (Object) "Room parameter must not be null");
intent.putExtra(GamesClient.EXTRA_ROOM, (Parcelable) room.freeze());
dm.m389a(minParticipantsToStart >= 0, (Object) "minParticipantsToStart must be >= 0");
intent.putExtra("com.google.android.gms.games.MIN_PARTICIPANTS_TO_START", minParticipantsToStart);
return eo.m452c(intent);
}
public Intent getSelectPlayersIntent(int minPlayers, int maxPlayers) {
bc();
Intent intent = new Intent("com.google.android.gms.games.SELECT_PLAYERS");
intent.putExtra("com.google.android.gms.games.MIN_SELECTIONS", minPlayers);
intent.putExtra("com.google.android.gms.games.MAX_SELECTIONS", maxPlayers);
return eo.m452c(intent);
}
public Intent getSettingsIntent() {
bc();
Intent intent = new Intent("com.google.android.gms.games.SHOW_SETTINGS");
intent.putExtra("com.google.android.gms.games.GAME_PACKAGE_NAME", this.mF);
intent.addFlags(67108864);
return eo.m452c(intent);
}
public void m1891i(String str, int i) {
try {
((er) bd()).m561i(str, i);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void m1892j(String str, int i) {
try {
((er) bd()).m563j(str, i);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void joinRoom(RoomConfig config) {
try {
((er) bd()).m507a(new aj(this, config.getRoomUpdateListener(), config.getRoomStatusUpdateListener(), config.getMessageReceivedListener()), this.mL, config.getInvitationId(), config.isSocketEnabled(), this.mM);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void leaveRoom(RoomUpdateListener listener, String roomId) {
try {
((er) bd()).m549e(new aj(this, listener), roomId);
bS();
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void loadAchievements(OnAchievementsLoadedListener listener, boolean forceReload) {
try {
((er) bd()).m535b(new C0622f(this, listener), forceReload);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void loadGame(OnGamesLoadedListener listener) {
try {
((er) bd()).m542d(new C0625j(this, listener));
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void loadInvitations(OnInvitationsLoadedListener listener) {
try {
((er) bd()).m547e(new C0627n(this, listener));
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void loadLeaderboardMetadata(OnLeaderboardMetadataLoadedListener listener, String leaderboardId, boolean forceReload) {
try {
((er) bd()).m540c(new C0630s(this, listener), leaderboardId, forceReload);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void loadLeaderboardMetadata(OnLeaderboardMetadataLoadedListener listener, boolean forceReload) {
try {
((er) bd()).m541c(new C0630s(this, listener), forceReload);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void loadMoreScores(OnLeaderboardScoresLoadedListener listener, LeaderboardScoreBuffer buffer, int maxResults, int pageDirection) {
try {
((er) bd()).m505a(new C0629q(this, listener), buffer.cb().cc(), maxResults, pageDirection);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void loadPlayer(OnPlayersLoadedListener listener, String playerId) {
try {
((er) bd()).m538c(new ae(this, listener), playerId);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void loadPlayerCenteredScores(OnLeaderboardScoresLoadedListener listener, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) {
try {
((er) bd()).m527b(new C0629q(this, listener), leaderboardId, span, leaderboardCollection, maxResults, forceReload);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void loadTopScores(OnLeaderboardScoresLoadedListener listener, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) {
try {
((er) bd()).m509a(new C0629q(this, listener), leaderboardId, span, leaderboardCollection, maxResults, forceReload);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
protected /* synthetic */ IInterface m1893p(IBinder iBinder) {
return m1878A(iBinder);
}
public void registerInvitationListener(OnInvitationReceivedListener listener) {
try {
((er) bd()).m504a(new C0626l(this, listener), this.mM);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public int sendReliableRealTimeMessage(RealTimeReliableMessageSentListener listener, byte[] messageData, String roomId, String recipientParticipantId) {
try {
return ((er) bd()).m499a(new ah(this, listener), messageData, roomId, recipientParticipantId);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
return -1;
}
}
public int sendUnreliableRealTimeMessageToAll(byte[] messageData, String roomId) {
try {
return ((er) bd()).m523b(messageData, roomId, null);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
return -1;
}
}
public void setGravityForPopups(int gravity) {
this.mJ.setGravity(gravity);
}
public void setUseNewPlayerNotificationsFirstParty(boolean newPlayerStyle) {
try {
((er) bd()).setUseNewPlayerNotificationsFirstParty(newPlayerStyle);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void setViewForPopups(View gamesContentView) {
this.mJ.m570e(gamesContentView);
}
public void signOut(OnSignOutCompleteListener listener) {
if (listener == null) {
eq eqVar = null;
} else {
Object anVar = new an(this, listener);
}
try {
((er) bd()).m501a(eqVar);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
public void unregisterInvitationListener() {
try {
((er) bd()).m554g(this.mM);
} catch (RemoteException e) {
ep.m455c("GamesClient", "service died");
}
}
}
| [
"niketpatel2525@gmail.com"
] | niketpatel2525@gmail.com |
56552735ebfcec52feffaadef3106fe8d8585e5f | 773b6a611c9d35973fed8bab298084cd8ed9be56 | /src/cn/com/minstone/eBusiness/service/inter/BussInterService.java | b5854498fd7222b83a0267473d5d01cde3f3175a | [] | no_license | GardeniaFei/test | adb1a763b15030b94ac5f0951770a856ec818204 | c7d4ed9487bc5046a6d89bae6f26e594c65d398e | refs/heads/master | 2021-01-17T20:46:18.311416 | 2016-07-18T04:01:06 | 2016-07-18T04:01:06 | 63,565,168 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 12,980 | java | package cn.com.minstone.eBusiness.service.inter;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.jfinal.core.Controller;
import com.jfinal.plugin.activerecord.Page;
import cn.com.minstone.eBusiness.dao.inter.BussInterDao;
import cn.com.minstone.eBusiness.model.EbAttention;
import cn.com.minstone.eBusiness.model.EbBusiness;
import cn.com.minstone.eBusiness.model.EbBusinessType;
import cn.com.minstone.eBusiness.model.EbDepart;
import cn.com.minstone.eBusiness.model.EbMessage;
import cn.com.minstone.eBusiness.model.EbUserInfo;
import cn.com.minstone.eBusiness.service.BaseService;
public class BussInterService extends BaseService {
private BussInterDao dao;
private Controller ctrl;
public BussInterService() {
dao = new BussInterDao();
}
/**
* 修改企业的类型id
* @param businessId
* @param typeId
*/
public void updateType(String businessId, String typeId) {
try {
if (typeId != null && !typeId.equals("") && !typeId.equalsIgnoreCase("null")) {
BussInterService bService = new BussInterService();
EbBusiness bussInfo = bService.findById(businessId);
if(bussInfo != null) {
bussInfo.setTypeId(new BigDecimal(typeId));
bussInfo.update();
}
}
} catch (Exception e) {
e.printStackTrace();
}
}
/**
* 获取所有的企业
* @return list
*/
public List<EbBusiness> getAllBussInfoList() {
List<EbBusiness> list = new ArrayList<EbBusiness>();
list = dao.findAllList();
// log.error("打印获取到的数据" + list.toString());
return list;
}
/**
* 获取所有的企业
* @return Page
*/
public Page<EbBusiness> getAllBussInfo(int page) {
Page<EbBusiness> listPage = dao.findAll(page);
return listPage;
}
/**
* 根据用户id获取所有的企业
* @param userId
* @param page
* @return
*/
public Page<EbBusiness> getBussByUId(String userId, int page) {
Page<EbBusiness> listPage = dao.findAllByUId(userId, page);
return listPage;
}
/**
* 获取所有已签收企业
* @return Page
*/
public Page<EbBusiness> getAllBussSign(int page) {
Page<EbBusiness> listPage = dao.findAllSign(page);
return listPage;
}
/**
* 获取所有已签收企业
* @return list
*/
public List<EbBusiness> getAllBussSignli() {
List<EbBusiness> list = dao.findAllSignli();
return list;
}
/**
* 获取所有的企业类型
* @return list
*/
public List<EbBusinessType> getAllBsTypeList() {
return dao.findAllBsTypeList();
}
/**
* 获取所有的企业类型
* @param page
* @return Page
*/
public Page<EbBusinessType> getAllBsType(int page) {
return dao.findAllBsType(page);
}
/**
* 根据企业名称获取企业
* @param bussName
* @return list
*/
public List<EbBusiness> findByBussName(String bussName) {
return dao.findByBussName(bussName);
}
/**
* 根据企业名称获取企业
* @param bussName
* @return EbBusiness
*/
public EbBusiness findByBussNameOne(String bussName) {
return dao.findByBussNameOne(bussName);
}
/**
* 获取企业类型信息
* @param typeId
* @return
*/
public EbBusinessType getBsTypeById(String typeId) {
if(typeId == null || "".equals(typeId) || "null".equalsIgnoreCase(typeId)) {
return null;
}else {
return dao.findBsTypeById(typeId);
}
}
/**
* 获取企业类型信息
* @param typeName
* @return
*/
public EbBusinessType getBsTypeByTypeName(String typeName) {
return dao.findBsTypeByName(typeName);
}
/**
* 添加企业类型信息
* @param typeName
* @return
*/
public boolean addBsType(String typeName){
EbBusinessType bType = new EbBusinessType();
bType.set("TYPE_ID","buss_type_seq.nextval");
bType.setTypeName(typeName);
bType.set("IS_DELET", "1");
//获取当前系统时间作为更新时间
bType.setRefreshTime(new Date().getTime()+"");
boolean result = false;
if(bType.save()){
result = true;
}else{
result = false;
}
return result;
}
/**
* 删除企业类型信息
* @param typeId
*
*/
public boolean deletBsType(String typeId){
EbBusinessType bType = dao.findBsTypeById(typeId);
if(bType!=null){
//假删除,数据存在
return EbBusinessType.dao.findById(bType.getTypeId()).set("is_delet", "0").update();
//真删除,数据不存在
// return dao.deleteUserInfo(bType);
}else{
return false;
}
}
/**
* 修改企业类型信息
* @param typeName
* @param typeId
* @return
*/
public boolean resetBsType(String typeId,String typeName){
EbBusinessType bType = new EbBusinessType();
bType = dao.findBsTypeById(typeId);
boolean result = false;
if(bType!=null){
//修改名字和更新时间
bType.setTypeName(typeName);
//获取当前系统时间作为更新时间
bType.setRefreshTime(new Date().getTime()+"");
if(bType.update()){
result = true;
}else{
result = false;
}
}else{
result = false;
}
return result;
}
/**
* 根据企业id获取企业信息
* @param bussId
* @return
*/
public EbBusiness getBussById(String bussId) {
if(bussId == null || "".equals(bussId) || "null".equalsIgnoreCase(bussId)) {
return null;
}else {
return dao.findById(bussId);
}
}
/**
* 根据企业id获取企业
* @param businessId
* @return Object<EbBusiness>
*/
public EbBusiness findById(String businessId) {
if(businessId == null || "".equals(businessId) || "null".equalsIgnoreCase(businessId)) {
return null;
}
return dao.findById(businessId);
}
/**
* 根据企业类型和企业名称筛选所有企业
* @param typeId 企业类型id
* @param bussName 企业名称
* @return list
*/
public List<EbBusiness> filterBussList(String typeId, String bussName) {
int bussType = -1;
if(typeId != null && !"".equals(typeId) && !"null".equalsIgnoreCase(typeId)) {
bussType = Integer.parseInt(typeId);
}
return dao.findByTpOrNameList(bussType, bussName);
}
/**
* 根据企业类型和企业名称筛选所有企业
* @param typeId 企业类型id
* @param bussName 企业名称
* @param page
* @return Page
*/
public Page<EbBusiness> filterBuss(String typeId, String bussName, int page) {
int bussType = -1;
if(typeId != null && !"".equals(typeId) && !"null".equalsIgnoreCase(typeId)) {
bussType = Integer.parseInt(typeId);
}
return dao.findByTpOrName(bussType, bussName, page);
}
/**
*
* 添加企业
* @param bussName 企业名称
* @param projectName 项目名称
* @param linkerName 联系人姓名
* @param telephone 电话号码
* @param typeId 企业类型
* @param userId 添加用户id
* @param projectIntro 项目简介
* @param bussInto 企业简介
* @param registCapital 注册资金
* @param operateScope 许可经营范围
* @param email
* @param webAddress 企业网址
* @param bussAddress 企业地址
* @return 0 失败 1 成功 -1 失败缺少参数
*/
public int addBussInfo(String bussName, String projectName, String linkerName,
String telephone, String typeId,String userId,String projectIntro,
String bussInto, String registCapital, String operateScope, String bussEmail,
String webAddress, String bussAddress,String service_admin) {
EbBusiness bussInfo = new EbBusiness();
EbUserInfo userInfo = new UserInterService(null).findById(userId);
bussInfo.set("BUILD_USER_ID", userId);
if(userInfo != null) {
bussInfo.setBuildUserCode(userInfo.getUserAccount());
bussInfo.setBuildUserName(userInfo.getUserName());
}
bussInfo.setAddTime(System.currentTimeMillis() + "");
bussInfo.set("BUSINESS_ID", "business_seq.nextval");
if(bussName != null && !"".equals(bussName)) {
bussInfo.setBusinessName(bussName); //企业名称
} else {
return -1;
}
bussInfo.setProjectName(projectName); //项目名称
if(linkerName != null && !"".equals(linkerName) && linkerName.length() <= 20) {
bussInfo.setContactName(linkerName); //联系人姓名
} else {
return -1;
}
if(telephone != null && !"".equals(telephone)) {
bussInfo.setContactPhone(telephone); //联系人电话
} else {
return -1;
}
if(typeId != null && !"".equals(typeId)) {
int type = Integer.parseInt(typeId);
bussInfo.setTypeId(new BigDecimal(type));
} else {
return -1;
}
if(registCapital != null && !registCapital.equalsIgnoreCase("null") && !registCapital.equals("")) {
bussInfo.set("REGIST_CAPITAL", registCapital);//注册资金
}else {
return -1;
}
if(operateScope != null && !operateScope.equalsIgnoreCase("null") && !operateScope.equals("")) {
bussInfo.set("OPERATE_SCOPE", operateScope);//经营许可范围
}else {
return -1;
}
bussInfo.setBusinessIntro(bussInto);//企业简介
if(bussEmail != null && !bussEmail.equalsIgnoreCase("null") && !bussEmail.equals("")){
// if(!StringUtil.valiateEmail(bussEmail)) {//验证邮箱
// return -1;
// }
bussInfo.setBussEmail(bussEmail);//企业邮箱
}
bussInfo.setSignStatus(new BigDecimal(0));//签收状态
bussInfo.setSettleStatus(new BigDecimal(0)); //落户状态
bussInfo.setDistributedStatus(new BigDecimal(0)); //是否分发任务
bussInfo.setProject_intro(projectIntro);//增加项目简介字段
bussInfo.setWebAddress(webAddress);//企业网址
bussInfo.setBussAddress(bussAddress);//企业地址
String user_authority = "4";
String service_admin2 = "";
UserInterService uSer = new UserInterService(ctrl);
EbUserInfo u = uSer.getUserByUId(userId);//获取登录用户信息
if(u != null){
user_authority = u.getAuthority()+"";//判断用户什么权限
service_admin2 = u.getUserAccount();//取出用户账号
}
if(user_authority.equals("2")) {//用户为VIP服务专员,则用户自己为企业服务
bussInfo.setService_admin(service_admin2);
}else{
bussInfo.setService_admin(service_admin);
}
if(dao.addBussInfo(bussInfo)) {
return 1;
}
return 0;
}
/**
* 根据企业id获取企业审批单位列表
* @param businessId
* @return
*/
public List<EbDepart> getDeptsByBussId(String businessId) {
return dao.findDeptsByBussId(businessId);
}
/**
* 根据企业id和部门id获取留言或回复列表
* @param businessId
* @param departId
* @return
*/
public List<EbMessage> getMsgByBDId(String businessId, String departId) {
return dao.findMsgByBDId(businessId, departId);
}
/**
* 根据企业id和部门id获取留言列表
* @param businessId
* @param departId
* @return
*/
public List<EbMessage> getMsgByBDId_Status(String businessId, String departId) {
List<EbMessage> list = dao.findMsgByBDId_Status(businessId, departId);
return list;
}
/**
* 根据企业id和部门id获取留言列表(企业用户可看到自己)
* @param businessId
* @param departId
* @return
*/
public List<EbMessage> getMsgByBDId_StatusByBuss(String businessId, String departId) {
List<EbMessage> list = dao.findMsgByBDId_StatusByBuss(businessId, departId);
return list;
}
/**
* 根据领导用户id获取关注的所有企业
* @param userId
* @return
*/
public List<EbAttention> getAllAttentByUserIdList(String userId){
return dao.findAllAttentByUserIdList(userId);
}
/**
* 根据领导用户id获取关注的所有企业
* @param userId
* @param page
* @return
*/
public Page<EbAttention> getAllAttentByUserId(String userId,int page){
return dao.findAllAttentByUserId(userId,page);
}
/**
* 根据用户id和企业id查询是否被关注
* @param userId
* @param businessId
* @return
*/
public EbAttention getAttenByUBid(String userId,String businessId){
return dao.findAttenByUBid(userId,businessId);
}
/**
* 根据用户id和企业id查询企业关注信息
* @param userId
* @param businessId
* @return
*/
public EbAttention getAttenByUBID(String userId, String businessId){
return dao.findAttenByUBID(userId, businessId);
}
/**
* 添加企业关注,领导用户
* @param userId
* @param businessId
* @return
*/
public boolean addAtten(String userId,String businessId){
boolean result = false;
EbAttention att = new EbAttention();
att.set("ATTENT_ID", "lead_atten_seq.nextval");
att.setBusinessId(new BigDecimal(businessId));
att.setUserId(new BigDecimal(userId));
att.set("is_delet", new BigDecimal("1"));
try {
result = att.save();
} catch (Exception e) {
e.printStackTrace();
result = att.save();
}
return result;
}
/**
* 根据VIP服务专员code筛选未分发任务的企业
* @param userCode
* @param page
* @return
*/
public Page<EbBusiness> filterBsInfosByVipCode(String userCode, int page) {
return dao.findBsInfosByVipCode(userCode, page);
}
/**
* vip服务专员管理员
* @param page
* @return
*/
public Page<EbBusiness> findBsInfosByVIP(int page){
return dao.findBsInfosByVIP(page);
}
}
| [
"wangjfn@minstone.com.cn"
] | wangjfn@minstone.com.cn |
4b5e9a2d2b67c0e6832aa59d40310ff3a389b405 | 7b82ceedd090eb433ca28787536e7bb18ac9f563 | /Coursera/Android/Programming-Android/coursera-android-master/Examples/NetworkingSockets/src/course/examples/Networking/Sockets/NetworkingSocketsActivity.java | 3914afeafeeda0c88b0d59b5b78d685834f2128e | [] | no_license | traveling-desi/Courses | 62311437442fd35599544ccadfee86a17fef66a8 | 8d9fb0dcb08a080a755115347aa53c6ecafb383b | refs/heads/master | 2023-01-13T00:00:52.364242 | 2016-09-22T23:00:54 | 2016-09-22T23:00:54 | 66,979,647 | 4 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,846 | java | package course.examples.Networking.Sockets;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;
import android.app.Activity;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
public class NetworkingSocketsActivity extends Activity {
TextView mTextView;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
mTextView = (TextView) findViewById(R.id.textView1);
final Button loadButton = (Button) findViewById(R.id.button1);
loadButton.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
new HttpGetTask().execute();
}
});
}
private class HttpGetTask extends AsyncTask<Void, Void, String> {
private static final String HOST = "api.geonames.org";
// Get your own user name at http://www.geonames.org/login
private static final String USER_NAME = "aporter";
private static final String HTTP_GET_COMMAND = "GET /earthquakesJSON?north=44.1&south=-9.9&east=-22.4&west=55.2&username="
+ USER_NAME
+ " HTTP/1.1"
+ "\n"
+ "Host: "
+ HOST
+ "\n"
+ "Connection: close" + "\n\n";
private static final String TAG = "HttpGet";
@Override
protected String doInBackground(Void... params) {
Socket socket = null;
String data = "";
try {
socket = new Socket(HOST, 80);
PrintWriter pw = new PrintWriter(new OutputStreamWriter(
socket.getOutputStream()), true);
pw.println(HTTP_GET_COMMAND);
data = readStream(socket.getInputStream());
} catch (UnknownHostException exception) {
exception.printStackTrace();
} catch (IOException exception) {
exception.printStackTrace();
} finally {
if (null != socket)
try {
socket.close();
} catch (IOException e) {
Log.e(TAG, "IOException");
}
}
return data;
}
@Override
protected void onPostExecute(String result) {
mTextView.setText(result);
}
private String readStream(InputStream in) {
BufferedReader reader = null;
StringBuffer data = new StringBuffer();
try {
reader = new BufferedReader(new InputStreamReader(in));
String line = "";
while ((line = reader.readLine()) != null) {
data.append(line);
}
} catch (IOException e) {
Log.e(TAG, "IOException");
} finally {
if (reader != null) {
try {
reader.close();
} catch (IOException e) {
Log.e(TAG, "IOException");
}
}
}
return data.toString();
}
}
} | [
"sarpotd@yahoo.com"
] | sarpotd@yahoo.com |
abcfb634e71d6334aa1b7e03472d817e452de0c0 | e70b25cede9418595a846b9c9f6b8a7fa4ffcb3c | /crypto/src/main/java/cn/mrzhqiang/security/crypto/keygen/StringKeyGenerator.java | 697a3a908f7f03ef80fc2af0efdc6ce9fb2e88d6 | [] | no_license | mrzhqiang/security | 86ae8f1cda73c97aa568dfd94ad8246eb7753534 | 0d64178708d031fdfc07b2ea1b02b0433b323ddc | refs/heads/master | 2022-07-21T05:10:06.981822 | 2020-05-10T15:24:39 | 2020-05-10T15:24:39 | 262,817,502 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 803 | java | /*
* Copyright 2011-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.mrzhqiang.security.crypto.keygen;
/**
* A generator for unique string keys.
* @author Keith Donald
*/
public interface StringKeyGenerator {
String generateKey();
} | [
"287431404@qq.com"
] | 287431404@qq.com |
515febb5dd42ccc8fc78505976c3234780a17cb7 | acf42a72e397122862ddec272ae4718653338c1e | /core/src/test/java/org/pivxj/core/PeerAddressTest.java | b769b0b35e84d2c3101eb47ccb024864bc96561c | [
"Apache-2.0"
] | permissive | C2Play/coin2playj | 2c53776593202cf4783f74577c73f2c94324cd71 | 3088bf9a754e7e07f43574126e053065ccb2c9f5 | refs/heads/master | 2020-03-30T16:42:11.205111 | 2018-09-19T06:12:18 | 2018-09-19T06:12:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,662 | java | /*
* Copyright 2011 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.coin2playj.core;
import org.coin2playj.params.MainNetParams;
import org.junit.Test;
import java.net.InetAddress;
import static org.coin2playj.core.Utils.HEX;
import static org.junit.Assert.assertEquals;
public class PeerAddressTest
{
@Test
public void testPeerAddressRoundtrip() throws Exception {
// copied verbatim from https://en.bitcoin.it/wiki/Protocol_specification#Network_address
String fromSpec = "010000000000000000000000000000000000ffff0a000001208d";
PeerAddress pa = new PeerAddress(MainNetParams.get(),
HEX.decode(fromSpec), 0, 0);
String reserialized = Utils.HEX.encode(pa.unsafeBitcoinSerialize());
assertEquals(reserialized,fromSpec );
}
@Test
public void testBitcoinSerialize() throws Exception {
PeerAddress pa = new PeerAddress(InetAddress.getByName(null), 8333, 0);
assertEquals("000000000000000000000000000000000000ffff7f000001208d",
Utils.HEX.encode(pa.bitcoinSerialize()));
}
}
| [
"akshaycm@hotmail.com"
] | akshaycm@hotmail.com |
c61cb365079374448510612e226cbe12c98c88f8 | c8f57858b8f56250b4033302af3d1586cb4127bc | /other-problems/src/main/java/org/learning/numbers/CountingSegments.java | 45877f941e62823ef524c9aff6e624efa6ec8941 | [] | no_license | hluu/intv-problems | d517b650cf153473c10035fda0b4828c234ec892 | 0df98ef45469372640add927b6a361d3deba2730 | refs/heads/master | 2022-11-15T03:31:45.165883 | 2022-11-05T19:45:10 | 2022-11-05T19:45:10 | 47,561,673 | 4 | 1 | null | null | null | null | UTF-8 | Java | false | false | 3,214 | java | package org.learning.numbers;
import org.testng.Assert;
import java.util.Arrays;
/**
* Given an array of numbers that representing labels, find the smallest number of
* segments given that a label can appear only one segment
*
*
* For example:
* arr = {1,2,3} ==> 3
* arr = {1,2,3,1} ==> 1
* arr = {1,2,3,1,2} ==> 1
* arr = {1,2,3,1,2,3} ==> 1
* arr = {1,2,1,3} ==> 2
*
* arr = [1,2,1,3,4,1,2,5,8,9,8,12,8] => 3 (1,2,1,3,4,1,2), (5), (8,9,8,12,8)
*
* Approach (Algorithm):
* * For each elm at index i
* * See if it exists at another location j where j > i
* * if not, bump up segment count because the segment boundary has reached
* * if exists
* * see if any of the values between i and j exists after j
* * if exists, update j to new index
* * if not exist, check for next element i+1
* * stop when i == j
*
*/
public class CountingSegments {
public static void main(String[] args) {
System.out.printf("%s\n", CountingSegments.class.getName());
test(new int[] {1,2,3}, 3);
test(new int[] {1,2,3,1}, 1);
test(new int[] {1,2,3,1,2}, 1);
test(new int[] {1,2,1,3,4,2,5}, 2);
test(new int[] {1,2,1,3,4,1,2}, 1);
test(new int[] {1,2,1,3,4,1,2,5,8,9,8,12,8}, 3);
test(new int[] {1,2,1,3,4,4,5}, 4);
test(new int[] {1,2,1,3,4,2,3,4}, 1);
test(new int[] {8,1,2,1,3,4,2,3,1,4}, 2);
}
private static void test(int[] inputs, int expectedSegCnt) {
System.out.println("===== " + Arrays.toString(inputs));
int actualSegCnt = findSegment(inputs);
System.out.printf("expected: %d, actual: %d\n", expectedSegCnt, actualSegCnt);
System.out.println();
Assert.assertEquals(actualSegCnt, expectedSegCnt);
}
public static int findSegment(int[] inputs) {
int segCount = 0;
int idx = 0;
while (idx < inputs.length) {
int value = inputs[idx];
int right = findElm(value, inputs, idx);
if (right == -1) {
segCount++;
idx++;
} else {
// extending the segment
// for all the values between index i and right
// look for them in starting right+1
// if found then extend the right boundary
int left = idx+1;
while (left < right) {
value = inputs[left];
int tmp = findElm(value, inputs, left);
if (tmp != -1 && tmp > right) {
right = tmp;
}
left++;
}
segCount++;
idx = left+1;
}
}
return segCount;
}
/**
* Find the index of value from the end and stop at stopAt
* @param value
* @param input
* @param stopAt
* @return elm index if found, otherwise -1
*/
private static int findElm(int value, int[] input, int stopAt) {
for (int i = input.length-1; i > stopAt; i--) {
if (input[i] == value) {
return i;
}
}
return -1;
}
}
| [
"hluu@yahoo.com"
] | hluu@yahoo.com |
217b5d5fb05f3b637d97983c0d97bacbd26aee6e | a130768c1822b37da11fd518ef9c3b7b67c2d693 | /sample-db/src/main/java/com/ai/sample/db/model/algo/SeasonDetails.java | 9c86141244ff12a6e2a6ef127a794fe506060e9c | [] | no_license | aatmasidha/examplecode | 3cbfd9594b427f5a268379cd824c5612c2da301c | 3138cce25a54d1aae1594f0c1a9077a48aafc1a1 | refs/heads/master | 2021-01-19T02:49:38.284433 | 2017-04-05T12:29:07 | 2017-04-05T12:32:45 | 87,295,262 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,751 | java | package com.ai.sample.db.model.algo;
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.ManyToOne;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.ai.sample.db.model.property.configuration.PropertyDetails;
@Entity
@Table(name="season_details", uniqueConstraints=
@UniqueConstraint(columnNames={"propertyid", "fromWeek", "toWeek"}))
public class SeasonDetails {
private int id;
int seasonNumber;
private PropertyDetails propertyDetails;
int fromWeek;
String fromWeekCondition;
int toWeek;
String toWeekCondition;
String condition;
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
@ManyToOne(fetch = FetchType.LAZY, cascade=CascadeType.ALL)
@JoinColumn(name = "propertyid", nullable = false)
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public PropertyDetails getPropertyDetails() {
return propertyDetails;
}
public void setPropertyDetails(PropertyDetails propertyDetails) {
this.propertyDetails = propertyDetails;
}
@Column(nullable = false)
public int getFromWeek() {
return fromWeek;
}
public void setFromWeek(int fromWeek) {
this.fromWeek = fromWeek;
}
@Column(nullable = false)
public int getToWeek() {
return toWeek;
}
public void setToWeek(int toWeek) {
this.toWeek = toWeek;
}
public String getCondition() {
return condition;
}
public void setCondition(String condition) {
this.condition = condition;
}
public String getFromWeekCondition() {
return fromWeekCondition;
}
public void setFromWeekCondition(String fromWeekCondition) {
this.fromWeekCondition = fromWeekCondition;
}
public String getToWeekCondition() {
return toWeekCondition;
}
public void setToWeekCondition(String toWeekCondition) {
this.toWeekCondition = toWeekCondition;
}
public int getSeasonNumber() {
return seasonNumber;
}
public void setSeasonNumber(int seasonNumber) {
this.seasonNumber = seasonNumber;
}
@Override
public String toString() {
return "SeasonDetails [id=" + id + ", seasonNumber=" + seasonNumber
+ ", propertyDetails=" + propertyDetails + ", fromWeek="
+ fromWeek + ", fromWeekCondition=" + fromWeekCondition
+ ", toWeek=" + toWeek + ", toWeekCondition=" + toWeekCondition
+ ", condition=" + condition + "]";
}
}
| [
"aparna.atmasidha@gmail.com"
] | aparna.atmasidha@gmail.com |
2e81ff869688ba38ba5b9b1c637789b55ce0e778 | cb7a713e9a3af3ce615a96c4d220019628dad840 | /08_Xamarin/tema03/exercise03/exercise03/exercise03.Android/obj/Debug/android/exercise03/android/R.java | 3353bbe96e018131beea5f0416a856a8973b7fe8 | [] | no_license | alejandroca5tro/Curso | 2ebf9aa8114ee29a31980d4876cf4437b3b01462 | 2447a3bd75111c1be15c21514877515be6b0d78d | refs/heads/master | 2021-01-20T08:37:10.378599 | 2017-08-17T17:39:49 | 2017-08-17T17:39:49 | 90,163,731 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 545,906 | 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 exercise03.android;
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 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 MediaRouteControllerWindowBackground=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 actionBarDivider=0x7f010061;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarItemBackground=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 actionBarPopupTheme=0x7f01005b;
/** <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=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 actionBarSplitStyle=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 actionBarStyle=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 actionBarTabBarStyle=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 actionBarTabStyle=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 actionBarTabTextStyle=0x7f010058;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionBarTheme=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 actionBarWidgetTheme=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 actionButtonStyle=0x7f01007b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionDropDownStyle=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 actionLayout=0x7f0100c9;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionMenuTextAppearance=0x7f010063;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
*/
public static final int actionMenuTextColor=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 actionModeBackground=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 actionModeCloseButtonStyle=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 actionModeCloseDrawable=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 actionModeCopyDrawable=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 actionModeCutDrawable=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 actionModeFindDrawable=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 actionModePasteDrawable=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 actionModePopupWindowStyle=0x7f010071;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionModeSelectAllDrawable=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 actionModeShareDrawable=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 actionModeSplitBackground=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 actionModeStyle=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 actionModeWebSearchDrawable=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 actionOverflowButtonStyle=0x7f010059;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int actionOverflowMenuStyle=0x7f01005a;
/** <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=0x7f0100cb;
/** <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=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 activityChooserViewStyle=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 alertDialogButtonGroupStyle=0x7f0100a6;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int alertDialogCenterButtons=0x7f0100a7;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int alertDialogStyle=0x7f0100a5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int alertDialogTheme=0x7f0100a8;
/** <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=0x7f0100ba;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f0100c1;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=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 autoCompleteTextViewStyle=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 background=0x7f010032;
/** <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=0x7f010034;
/** <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=0x7f010033;
/** <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=0x7f0100f5;
/** <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=0x7f0100f6;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f0100c3;
/** <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=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 behavior_overlapTop=0x7f010121;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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_peekHeight=0x7f0100fa;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=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 borderlessButtonStyle=0x7f010080;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int bottomSheetDialogTheme=0x7f010111;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=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 buttonBarButtonStyle=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 buttonBarNegativeButtonStyle=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 buttonBarNeutralButtonStyle=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 buttonBarPositiveButtonStyle=0x7f0100aa;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonBarStyle=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 buttonPanelSideLayout=0x7f010045;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int buttonStyle=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 buttonStyleSmall=0x7f0100af;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int buttonTint=0x7f0100bb;
/** <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=0x7f0100bc;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int cardBackgroundColor=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 cardCornerRadius=0x7f01001c;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f01001d;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f01001e;
/** <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=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 cardUseCompatPadding=0x7f01001f;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int checkboxStyle=0x7f0100b0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=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 closeIcon=0x7f0100d3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010042;
/** <p>Must be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character.
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int collapseContentDescription=0x7f0100ec;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f0100eb;
/** <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=0x7f010108;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010104;
/** <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=0x7f0100bd;
/** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>",
"<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int 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 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=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 contentInsetEnd=0x7f01003d;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f01003e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f01003f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f01003c;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int contentPadding=0x7f010021;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f010025;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f010022;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f010023;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f010024;
/** <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=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 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=0x7f010137;
/** <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=0x7f010138;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f01013a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010139;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010035;
/** <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=0x7f0100d2;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=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 dialogTheme=0x7f010074;
/** <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=0x7f01002b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010031;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dividerHorizontal=0x7f010082;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f0100c7;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=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 drawableSize=0x7f0100bf;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int drawerArrowStyle=0x7f010026;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int dropDownListViewStyle=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 dropdownListPreferredItemHeight=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 editTextBackground=0x7f010089;
/** <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=0x7f010088;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int editTextStyle=0x7f0100b2;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int elevation=0x7f010040;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int errorEnabled=0x7f010135;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010136;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010044;
/** <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=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 expandedTitleGravity=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 expandedTitleMargin=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 expandedTitleMarginBottom=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 expandedTitleMarginEnd=0x7f010101;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=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 expandedTitleMarginTop=0x7f010100;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010103;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f01001a;
/** <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>mini</code></td><td>1</td><td></td></tr>
</table>
*/
public static final int fabSize=0x7f010115;
/** <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=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 gapBetweenBars=0x7f0100c0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int goIcon=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 headerLayout=0x7f01011f;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f010027;
/** <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=0x7f01003b;
/** <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=0x7f01013b;
/** <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=0x7f010134;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010133;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=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 homeLayout=0x7f010036;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int icon=0x7f01002f;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int iconifiedByDefault=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 imageButtonStyle=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 indeterminateProgressStyle=0x7f010038;
/** <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=0x7f010043;
/** <p>May be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
<p>May be a 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=0x7f010120;
/** <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=0x7f010028;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int itemBackground=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 itemIconTint=0x7f01011b;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f01003a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int itemTextAppearance=0x7f01011e;
/** <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=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 keylines=0x7f01010b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f0100cf;
/** <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=0x7f01010e;
/** <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=0x7f010110;
/** <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=0x7f01010d;
/** <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=0x7f0100fc;
/** <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=0x7f0100fd;
/** <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=0x7f01010f;
/** <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=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 layout_scrollInterpolator=0x7f0100f9;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=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 listItemLayout=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 listLayout=0x7f010046;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int listPopupWindowStyle=0x7f010095;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=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 listPreferredItemHeightLarge=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 listPreferredItemHeightSmall=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 listPreferredItemPaddingLeft=0x7f010092;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f010093;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int logo=0x7f010030;
/** <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=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 maxActionInlineWidth=0x7f010122;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f0100ea;
/** <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=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 mediaRouteAudioTrackDrawable=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 mediaRouteBluetoothIconDrawable=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 mediaRouteButtonStyle=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 mediaRouteCastDrawable=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 mediaRouteChooserPrimaryTextStyle=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 mediaRouteChooserSecondaryTextStyle=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 mediaRouteCloseDrawable=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 mediaRouteCollapseGroupDrawable=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 mediaRouteConnectingDrawable=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 mediaRouteControllerPrimaryTextStyle=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 mediaRouteControllerSecondaryTextStyle=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 mediaRouteControllerTitleTextStyle=0x7f010010;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteDefaultIconDrawable=0x7f010011;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteExpandGroupDrawable=0x7f010012;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteOffDrawable=0x7f010013;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteOnDrawable=0x7f010014;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRoutePauseDrawable=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 mediaRoutePlayDrawable=0x7f010016;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int mediaRouteSpeakerGroupIconDrawable=0x7f010017;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010018;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010019;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f01011a;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010047;
/** <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=0x7f0100ee;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f0100ed;
/** <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=0x7f01002a;
/** <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=0x7f0100cd;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=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 paddingStart=0x7f0100f2;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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 reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f010086;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int popupTheme=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 popupWindowStyle=0x7f010087;
/** <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=0x7f0100cc;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int pressedTranslationZ=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 progressBarPadding=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 progressBarStyle=0x7f010037;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int queryBackground=0x7f0100da;
/** <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=0x7f0100d1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int radioButtonStyle=0x7f0100b3;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=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 ratingBarStyleIndicator=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 ratingBarStyleSmall=0x7f0100b6;
/** <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=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 searchHintIcon=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 searchIcon=0x7f0100d5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int searchViewStyle=0x7f01008e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int seekBarStyle=0x7f0100b7;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int selectableItemBackground=0x7f01007e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int selectableItemBackgroundBorderless=0x7f01007f;
/** <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=0x7f0100c8;
/** <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=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 showText=0x7f0100e2;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int singleChoiceItemLayout=0x7f010048;
/** <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=0x7f0100be;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=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 spinnerStyle=0x7f0100b8;
/** <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=0x7f0100e1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int srcCompat=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 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=0x7f0100ce;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int statusBarBackground=0x7f01010c;
/** <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=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 submitBackground=0x7f0100db;
/** <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=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 subtitleTextAppearance=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 subtitleTextColor=0x7f0100f1;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f01002e;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f0100d9;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int switchMinWidth=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 switchPadding=0x7f0100e0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int switchStyle=0x7f0100b9;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int switchTextAppearance=0x7f0100de;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int tabBackground=0x7f010126;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f010125;
/** <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=0x7f010128;
/** <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=0x7f010123;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f010124;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f01012a;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f010129;
/** <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=0x7f010127;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f010132;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f010131;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f010130;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f01012e;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f01012f;
/** <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=0x7f01012d;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f01012b;
/** <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=0x7f01012c;
/** <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=0x7f01004b;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int textAppearanceLargePopupMenu=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 textAppearanceListItem=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 textAppearanceSearchResultSubtitle=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 textAppearanceSearchResultTitle=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 textAppearanceSmallPopupMenu=0x7f010073;
/** <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=0x7f0100a9;
/** <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=0x7f010113;
/** <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=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 theme=0x7f0100f4;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=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 thumbTextPadding=0x7f0100dd;
/** <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=0x7f010029;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleEnabled=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 titleMarginBottom=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 titleMarginEnd=0x7f0100e7;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (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=0x7f0100e6;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMarginTop=0x7f0100e8;
/** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int titleMargins=0x7f0100e5;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
*/
public static final int titleTextAppearance=0x7f0100e3;
/** <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=0x7f0100f0;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=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 toolbarId=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 toolbarNavigationButtonStyle=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 toolbarStyle=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 track=0x7f0100dc;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int useCompatPadding=0x7f010118;
/** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></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=0x7f0100d7;
/** <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=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 windowActionBarOverlay=0x7f01004e;
/** <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=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 windowFixedHeightMajor=0x7f010053;
/** <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=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 windowFixedWidthMajor=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 windowFixedWidthMinor=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 windowMinWidthMajor=0x7f010054;
/** <p>May be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
<p>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=0x7f010055;
/** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>".
<p>This may also be a reference to a resource (in the form
"<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or
theme attribute (in the form
"<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>")
containing a value of this type.
*/
public static final int windowNoTitle=0x7f01004d;
}
public static final class bool {
public static final int abc_action_bar_embed_tabs=0x7f0c0003;
public static final int abc_action_bar_embed_tabs_pre_jb=0x7f0c0001;
public static final int abc_action_bar_expanded_action_views_exclusive=0x7f0c0004;
public static final int abc_allow_stacked_button_bar=0x7f0c0000;
public static final int abc_config_actionMenuItemAllCaps=0x7f0c0005;
public static final int abc_config_allowActionMenuItemTextWithIcon=0x7f0c0002;
public static final int abc_config_closeDialogWhenTouchOutside=0x7f0c0006;
public static final int abc_config_showMenuShortcutsWhenKeyboardPresent=0x7f0c0007;
}
public static final class color {
public static final int abc_background_cache_hint_selector_material_dark=0x7f0b0048;
public static final int abc_background_cache_hint_selector_material_light=0x7f0b0049;
public static final int abc_color_highlight_material=0x7f0b004a;
public static final int abc_input_method_navigation_guard=0x7f0b0004;
public static final int abc_primary_text_disable_only_material_dark=0x7f0b004b;
public static final int abc_primary_text_disable_only_material_light=0x7f0b004c;
public static final int abc_primary_text_material_dark=0x7f0b004d;
public static final int abc_primary_text_material_light=0x7f0b004e;
public static final int abc_search_url_text=0x7f0b004f;
public static final int abc_search_url_text_normal=0x7f0b0005;
public static final int abc_search_url_text_pressed=0x7f0b0006;
public static final int abc_search_url_text_selected=0x7f0b0007;
public static final int abc_secondary_text_material_dark=0x7f0b0050;
public static final int abc_secondary_text_material_light=0x7f0b0051;
public static final int accent_material_dark=0x7f0b0008;
public static final int accent_material_light=0x7f0b0009;
public static final int background_floating_material_dark=0x7f0b000a;
public static final int background_floating_material_light=0x7f0b000b;
public static final int background_material_dark=0x7f0b000c;
public static final int background_material_light=0x7f0b000d;
public static final int bright_foreground_disabled_material_dark=0x7f0b000e;
public static final int bright_foreground_disabled_material_light=0x7f0b000f;
public static final int bright_foreground_inverse_material_dark=0x7f0b0010;
public static final int bright_foreground_inverse_material_light=0x7f0b0011;
public static final int bright_foreground_material_dark=0x7f0b0012;
public static final int bright_foreground_material_light=0x7f0b0013;
public static final int button_material_dark=0x7f0b0014;
public static final int button_material_light=0x7f0b0015;
public static final int cardview_dark_background=0x7f0b0000;
public static final int cardview_light_background=0x7f0b0001;
public static final int cardview_shadow_end_color=0x7f0b0002;
public static final int cardview_shadow_start_color=0x7f0b0003;
public static final int design_fab_shadow_end_color=0x7f0b003e;
public static final int design_fab_shadow_mid_color=0x7f0b003f;
public static final int design_fab_shadow_start_color=0x7f0b0040;
public static final int design_fab_stroke_end_inner_color=0x7f0b0041;
public static final int design_fab_stroke_end_outer_color=0x7f0b0042;
public static final int design_fab_stroke_top_inner_color=0x7f0b0043;
public static final int design_fab_stroke_top_outer_color=0x7f0b0044;
public static final int design_snackbar_background_color=0x7f0b0045;
public static final int design_textinput_error_color_dark=0x7f0b0046;
public static final int design_textinput_error_color_light=0x7f0b0047;
public static final int dim_foreground_disabled_material_dark=0x7f0b0016;
public static final int dim_foreground_disabled_material_light=0x7f0b0017;
public static final int dim_foreground_material_dark=0x7f0b0018;
public static final int dim_foreground_material_light=0x7f0b0019;
public static final int foreground_material_dark=0x7f0b001a;
public static final int foreground_material_light=0x7f0b001b;
public static final int highlighted_text_material_dark=0x7f0b001c;
public static final int highlighted_text_material_light=0x7f0b001d;
public static final int hint_foreground_material_dark=0x7f0b001e;
public static final int hint_foreground_material_light=0x7f0b001f;
public static final int material_blue_grey_800=0x7f0b0020;
public static final int material_blue_grey_900=0x7f0b0021;
public static final int material_blue_grey_950=0x7f0b0022;
public static final int material_deep_teal_200=0x7f0b0023;
public static final int material_deep_teal_500=0x7f0b0024;
public static final int material_grey_100=0x7f0b0025;
public static final int material_grey_300=0x7f0b0026;
public static final int material_grey_50=0x7f0b0027;
public static final int material_grey_600=0x7f0b0028;
public static final int material_grey_800=0x7f0b0029;
public static final int material_grey_850=0x7f0b002a;
public static final int material_grey_900=0x7f0b002b;
public static final int primary_dark_material_dark=0x7f0b002c;
public static final int primary_dark_material_light=0x7f0b002d;
public static final int primary_material_dark=0x7f0b002e;
public static final int primary_material_light=0x7f0b002f;
public static final int primary_text_default_material_dark=0x7f0b0030;
public static final int primary_text_default_material_light=0x7f0b0031;
public static final int primary_text_disabled_material_dark=0x7f0b0032;
public static final int primary_text_disabled_material_light=0x7f0b0033;
public static final int ripple_material_dark=0x7f0b0034;
public static final int ripple_material_light=0x7f0b0035;
public static final int secondary_text_default_material_dark=0x7f0b0036;
public static final int secondary_text_default_material_light=0x7f0b0037;
public static final int secondary_text_disabled_material_dark=0x7f0b0038;
public static final int secondary_text_disabled_material_light=0x7f0b0039;
public static final int switch_thumb_disabled_material_dark=0x7f0b003a;
public static final int switch_thumb_disabled_material_light=0x7f0b003b;
public static final int switch_thumb_material_dark=0x7f0b0052;
public static final int switch_thumb_material_light=0x7f0b0053;
public static final int switch_thumb_normal_material_dark=0x7f0b003c;
public static final int switch_thumb_normal_material_light=0x7f0b003d;
}
public static final class dimen {
public static final int abc_action_bar_content_inset_material=0x7f060019;
public static final int abc_action_bar_default_height_material=0x7f06000d;
public static final int abc_action_bar_default_padding_end_material=0x7f06001a;
public static final int abc_action_bar_default_padding_start_material=0x7f06001b;
public static final int abc_action_bar_icon_vertical_padding_material=0x7f06001d;
public static final int abc_action_bar_overflow_padding_end_material=0x7f06001e;
public static final int abc_action_bar_overflow_padding_start_material=0x7f06001f;
public static final int abc_action_bar_progress_bar_size=0x7f06000e;
public static final int abc_action_bar_stacked_max_height=0x7f060020;
public static final int abc_action_bar_stacked_tab_max_width=0x7f060021;
public static final int abc_action_bar_subtitle_bottom_margin_material=0x7f060022;
public static final int abc_action_bar_subtitle_top_margin_material=0x7f060023;
public static final int abc_action_button_min_height_material=0x7f060024;
public static final int abc_action_button_min_width_material=0x7f060025;
public static final int abc_action_button_min_width_overflow_material=0x7f060026;
public static final int abc_alert_dialog_button_bar_height=0x7f06000c;
public static final int abc_button_inset_horizontal_material=0x7f060027;
public static final int abc_button_inset_vertical_material=0x7f060028;
public static final int abc_button_padding_horizontal_material=0x7f060029;
public static final int abc_button_padding_vertical_material=0x7f06002a;
public static final int abc_config_prefDialogWidth=0x7f060011;
public static final int abc_control_corner_material=0x7f06002b;
public static final int abc_control_inset_material=0x7f06002c;
public static final int abc_control_padding_material=0x7f06002d;
public static final int abc_dialog_fixed_height_major=0x7f060012;
public static final int abc_dialog_fixed_height_minor=0x7f060013;
public static final int abc_dialog_fixed_width_major=0x7f060014;
public static final int abc_dialog_fixed_width_minor=0x7f060015;
public static final int abc_dialog_list_padding_vertical_material=0x7f06002e;
public static final int abc_dialog_min_width_major=0x7f060016;
public static final int abc_dialog_min_width_minor=0x7f060017;
public static final int abc_dialog_padding_material=0x7f06002f;
public static final int abc_dialog_padding_top_material=0x7f060030;
public static final int abc_disabled_alpha_material_dark=0x7f060031;
public static final int abc_disabled_alpha_material_light=0x7f060032;
public static final int abc_dropdownitem_icon_width=0x7f060033;
public static final int abc_dropdownitem_text_padding_left=0x7f060034;
public static final int abc_dropdownitem_text_padding_right=0x7f060035;
public static final int abc_edit_text_inset_bottom_material=0x7f060036;
public static final int abc_edit_text_inset_horizontal_material=0x7f060037;
public static final int abc_edit_text_inset_top_material=0x7f060038;
public static final int abc_floating_window_z=0x7f060039;
public static final int abc_list_item_padding_horizontal_material=0x7f06003a;
public static final int abc_panel_menu_list_width=0x7f06003b;
public static final int abc_search_view_preferred_width=0x7f06003c;
public static final int abc_search_view_text_min_width=0x7f060018;
public static final int abc_seekbar_track_background_height_material=0x7f06003d;
public static final int abc_seekbar_track_progress_height_material=0x7f06003e;
public static final int abc_select_dialog_padding_start_material=0x7f06003f;
public static final int abc_switch_padding=0x7f06001c;
public static final int abc_text_size_body_1_material=0x7f060040;
public static final int abc_text_size_body_2_material=0x7f060041;
public static final int abc_text_size_button_material=0x7f060042;
public static final int abc_text_size_caption_material=0x7f060043;
public static final int abc_text_size_display_1_material=0x7f060044;
public static final int abc_text_size_display_2_material=0x7f060045;
public static final int abc_text_size_display_3_material=0x7f060046;
public static final int abc_text_size_display_4_material=0x7f060047;
public static final int abc_text_size_headline_material=0x7f060048;
public static final int abc_text_size_large_material=0x7f060049;
public static final int abc_text_size_medium_material=0x7f06004a;
public static final int abc_text_size_menu_material=0x7f06004b;
public static final int abc_text_size_small_material=0x7f06004c;
public static final int abc_text_size_subhead_material=0x7f06004d;
public static final int abc_text_size_subtitle_material_toolbar=0x7f06000f;
public static final int abc_text_size_title_material=0x7f06004e;
public static final int abc_text_size_title_material_toolbar=0x7f060010;
public static final int cardview_compat_inset_shadow=0x7f060009;
public static final int cardview_default_elevation=0x7f06000a;
public static final int cardview_default_radius=0x7f06000b;
public static final int design_appbar_elevation=0x7f06005f;
public static final int design_bottom_sheet_modal_elevation=0x7f060060;
public static final int design_bottom_sheet_modal_peek_height=0x7f060061;
public static final int design_fab_border_width=0x7f060062;
public static final int design_fab_elevation=0x7f060063;
public static final int design_fab_image_size=0x7f060064;
public static final int design_fab_size_mini=0x7f060065;
public static final int design_fab_size_normal=0x7f060066;
public static final int design_fab_translation_z_pressed=0x7f060067;
public static final int design_navigation_elevation=0x7f060068;
public static final int design_navigation_icon_padding=0x7f060069;
public static final int design_navigation_icon_size=0x7f06006a;
public static final int design_navigation_max_width=0x7f060057;
public static final int design_navigation_padding_bottom=0x7f06006b;
public static final int design_navigation_separator_vertical_padding=0x7f06006c;
public static final int design_snackbar_action_inline_max_width=0x7f060058;
public static final int design_snackbar_background_corner_radius=0x7f060059;
public static final int design_snackbar_elevation=0x7f06006d;
public static final int design_snackbar_extra_spacing_horizontal=0x7f06005a;
public static final int design_snackbar_max_width=0x7f06005b;
public static final int design_snackbar_min_width=0x7f06005c;
public static final int design_snackbar_padding_horizontal=0x7f06006e;
public static final int design_snackbar_padding_vertical=0x7f06006f;
public static final int design_snackbar_padding_vertical_2lines=0x7f06005d;
public static final int design_snackbar_text_size=0x7f060070;
public static final int design_tab_max_width=0x7f060071;
public static final int design_tab_scrollable_min_width=0x7f06005e;
public static final int design_tab_text_size=0x7f060072;
public static final int design_tab_text_size_2line=0x7f060073;
public static final int disabled_alpha_material_dark=0x7f06004f;
public static final int disabled_alpha_material_light=0x7f060050;
public static final int highlight_alpha_material_colored=0x7f060051;
public static final int highlight_alpha_material_dark=0x7f060052;
public static final int highlight_alpha_material_light=0x7f060053;
public static final int item_touch_helper_max_drag_scroll_per_frame=0x7f060000;
public static final int item_touch_helper_swipe_escape_max_velocity=0x7f060001;
public static final int item_touch_helper_swipe_escape_velocity=0x7f060002;
public static final int mr_controller_volume_group_list_item_height=0x7f060003;
public static final int mr_controller_volume_group_list_item_icon_size=0x7f060004;
public static final int mr_controller_volume_group_list_max_height=0x7f060005;
public static final int mr_controller_volume_group_list_padding_top=0x7f060008;
public static final int mr_dialog_fixed_width_major=0x7f060006;
public static final int mr_dialog_fixed_width_minor=0x7f060007;
public static final int notification_large_icon_height=0x7f060054;
public static final int notification_large_icon_width=0x7f060055;
public static final int notification_subtext_size=0x7f060056;
}
public static final class drawable {
public static final int abc_ab_share_pack_mtrl_alpha=0x7f020000;
public static final int abc_action_bar_item_background_material=0x7f020001;
public static final int abc_btn_borderless_material=0x7f020002;
public static final int abc_btn_check_material=0x7f020003;
public static final int abc_btn_check_to_on_mtrl_000=0x7f020004;
public static final int abc_btn_check_to_on_mtrl_015=0x7f020005;
public static final int abc_btn_colored_material=0x7f020006;
public static final int abc_btn_default_mtrl_shape=0x7f020007;
public static final int abc_btn_radio_material=0x7f020008;
public static final int abc_btn_radio_to_on_mtrl_000=0x7f020009;
public static final int abc_btn_radio_to_on_mtrl_015=0x7f02000a;
public static final int abc_btn_rating_star_off_mtrl_alpha=0x7f02000b;
public static final int abc_btn_rating_star_on_mtrl_alpha=0x7f02000c;
public static final int abc_btn_switch_to_on_mtrl_00001=0x7f02000d;
public static final int abc_btn_switch_to_on_mtrl_00012=0x7f02000e;
public static final int abc_cab_background_internal_bg=0x7f02000f;
public static final int abc_cab_background_top_material=0x7f020010;
public static final int abc_cab_background_top_mtrl_alpha=0x7f020011;
public static final int abc_control_background_material=0x7f020012;
public static final int abc_dialog_material_background_dark=0x7f020013;
public static final int abc_dialog_material_background_light=0x7f020014;
public static final int abc_edit_text_material=0x7f020015;
public static final int abc_ic_ab_back_mtrl_am_alpha=0x7f020016;
public static final int abc_ic_clear_mtrl_alpha=0x7f020017;
public static final int abc_ic_commit_search_api_mtrl_alpha=0x7f020018;
public static final int abc_ic_go_search_api_mtrl_alpha=0x7f020019;
public static final int abc_ic_menu_copy_mtrl_am_alpha=0x7f02001a;
public static final int abc_ic_menu_cut_mtrl_alpha=0x7f02001b;
public static final int abc_ic_menu_moreoverflow_mtrl_alpha=0x7f02001c;
public static final int abc_ic_menu_paste_mtrl_am_alpha=0x7f02001d;
public static final int abc_ic_menu_selectall_mtrl_alpha=0x7f02001e;
public static final int abc_ic_menu_share_mtrl_alpha=0x7f02001f;
public static final int abc_ic_search_api_mtrl_alpha=0x7f020020;
public static final int abc_ic_star_black_16dp=0x7f020021;
public static final int abc_ic_star_black_36dp=0x7f020022;
public static final int abc_ic_star_half_black_16dp=0x7f020023;
public static final int abc_ic_star_half_black_36dp=0x7f020024;
public static final int abc_ic_voice_search_api_mtrl_alpha=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_full_material=0x7f020035;
public static final int abc_ratingbar_indicator_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_track_material=0x7f02003e;
public static final int abc_spinner_mtrl_am_alpha=0x7f02003f;
public static final int abc_spinner_textfield_background_material=0x7f020040;
public static final int abc_switch_thumb_material=0x7f020041;
public static final int abc_switch_track_mtrl_alpha=0x7f020042;
public static final int abc_tab_indicator_material=0x7f020043;
public static final int abc_tab_indicator_mtrl_alpha=0x7f020044;
public static final int abc_text_cursor_material=0x7f020045;
public static final int abc_textfield_activated_mtrl_alpha=0x7f020046;
public static final int abc_textfield_default_mtrl_alpha=0x7f020047;
public static final int abc_textfield_search_activated_mtrl_alpha=0x7f020048;
public static final int abc_textfield_search_default_mtrl_alpha=0x7f020049;
public static final int abc_textfield_search_material=0x7f02004a;
public static final int design_fab_background=0x7f02004b;
public static final int design_snackbar_background=0x7f02004c;
public static final int ic_audiotrack=0x7f02004d;
public static final int ic_audiotrack_light=0x7f02004e;
public static final int ic_bluetooth_grey=0x7f02004f;
public static final int ic_bluetooth_white=0x7f020050;
public static final int ic_cast_dark=0x7f020051;
public static final int ic_cast_disabled_light=0x7f020052;
public static final int ic_cast_grey=0x7f020053;
public static final int ic_cast_light=0x7f020054;
public static final int ic_cast_off_light=0x7f020055;
public static final int ic_cast_on_0_light=0x7f020056;
public static final int ic_cast_on_1_light=0x7f020057;
public static final int ic_cast_on_2_light=0x7f020058;
public static final int ic_cast_on_light=0x7f020059;
public static final int ic_cast_white=0x7f02005a;
public static final int ic_close_dark=0x7f02005b;
public static final int ic_close_light=0x7f02005c;
public static final int ic_collapse=0x7f02005d;
public static final int ic_collapse_00000=0x7f02005e;
public static final int ic_collapse_00001=0x7f02005f;
public static final int ic_collapse_00002=0x7f020060;
public static final int ic_collapse_00003=0x7f020061;
public static final int ic_collapse_00004=0x7f020062;
public static final int ic_collapse_00005=0x7f020063;
public static final int ic_collapse_00006=0x7f020064;
public static final int ic_collapse_00007=0x7f020065;
public static final int ic_collapse_00008=0x7f020066;
public static final int ic_collapse_00009=0x7f020067;
public static final int ic_collapse_00010=0x7f020068;
public static final int ic_collapse_00011=0x7f020069;
public static final int ic_collapse_00012=0x7f02006a;
public static final int ic_collapse_00013=0x7f02006b;
public static final int ic_collapse_00014=0x7f02006c;
public static final int ic_collapse_00015=0x7f02006d;
public static final int ic_expand=0x7f02006e;
public static final int ic_expand_00000=0x7f02006f;
public static final int ic_expand_00001=0x7f020070;
public static final int ic_expand_00002=0x7f020071;
public static final int ic_expand_00003=0x7f020072;
public static final int ic_expand_00004=0x7f020073;
public static final int ic_expand_00005=0x7f020074;
public static final int ic_expand_00006=0x7f020075;
public static final int ic_expand_00007=0x7f020076;
public static final int ic_expand_00008=0x7f020077;
public static final int ic_expand_00009=0x7f020078;
public static final int ic_expand_00010=0x7f020079;
public static final int ic_expand_00011=0x7f02007a;
public static final int ic_expand_00012=0x7f02007b;
public static final int ic_expand_00013=0x7f02007c;
public static final int ic_expand_00014=0x7f02007d;
public static final int ic_expand_00015=0x7f02007e;
public static final int ic_media_pause=0x7f02007f;
public static final int ic_media_play=0x7f020080;
public static final int ic_media_route_disabled_mono_dark=0x7f020081;
public static final int ic_media_route_off_mono_dark=0x7f020082;
public static final int ic_media_route_on_0_mono_dark=0x7f020083;
public static final int ic_media_route_on_1_mono_dark=0x7f020084;
public static final int ic_media_route_on_2_mono_dark=0x7f020085;
public static final int ic_media_route_on_mono_dark=0x7f020086;
public static final int ic_pause_dark=0x7f020087;
public static final int ic_pause_light=0x7f020088;
public static final int ic_play_dark=0x7f020089;
public static final int ic_play_light=0x7f02008a;
public static final int ic_speaker_dark=0x7f02008b;
public static final int ic_speaker_group_dark=0x7f02008c;
public static final int ic_speaker_group_light=0x7f02008d;
public static final int ic_speaker_light=0x7f02008e;
public static final int ic_tv_dark=0x7f02008f;
public static final int ic_tv_light=0x7f020090;
public static final int icon=0x7f020091;
public static final int mr_dialog_material_background_dark=0x7f020092;
public static final int mr_dialog_material_background_light=0x7f020093;
public static final int mr_ic_audiotrack_light=0x7f020094;
public static final int mr_ic_cast_dark=0x7f020095;
public static final int mr_ic_cast_light=0x7f020096;
public static final int mr_ic_close_dark=0x7f020097;
public static final int mr_ic_close_light=0x7f020098;
public static final int mr_ic_media_route_connecting_mono_dark=0x7f020099;
public static final int mr_ic_media_route_connecting_mono_light=0x7f02009a;
public static final int mr_ic_media_route_mono_dark=0x7f02009b;
public static final int mr_ic_media_route_mono_light=0x7f02009c;
public static final int mr_ic_pause_dark=0x7f02009d;
public static final int mr_ic_pause_light=0x7f02009e;
public static final int mr_ic_play_dark=0x7f02009f;
public static final int mr_ic_play_light=0x7f0200a0;
public static final int notification_template_icon_bg=0x7f0200a1;
}
public static final class id {
public static final int action0=0x7f07008b;
public static final int action_bar=0x7f07005a;
public static final int action_bar_activity_content=0x7f070001;
public static final int action_bar_container=0x7f070059;
public static final int action_bar_root=0x7f070055;
public static final int action_bar_spinner=0x7f070002;
public static final int action_bar_subtitle=0x7f07003b;
public static final int action_bar_title=0x7f07003a;
public static final int action_context_bar=0x7f07005b;
public static final int action_divider=0x7f07008f;
public static final int action_menu_divider=0x7f070003;
public static final int action_menu_presenter=0x7f070004;
public static final int action_mode_bar=0x7f070057;
public static final int action_mode_bar_stub=0x7f070056;
public static final int action_mode_close_button=0x7f07003c;
public static final int activity_chooser_view_content=0x7f07003d;
public static final int alertTitle=0x7f070049;
public static final int always=0x7f07001e;
public static final int beginning=0x7f07001b;
public static final int bottom=0x7f07002a;
public static final int buttonPanel=0x7f070044;
public static final int cancel_action=0x7f07008c;
public static final int center=0x7f07002b;
public static final int center_horizontal=0x7f07002c;
public static final int center_vertical=0x7f07002d;
public static final int checkbox=0x7f070052;
public static final int chronometer=0x7f070092;
public static final int clip_horizontal=0x7f070033;
public static final int clip_vertical=0x7f070034;
public static final int collapseActionView=0x7f07001f;
public static final int contentPanel=0x7f07004a;
public static final int custom=0x7f070050;
public static final int customPanel=0x7f07004f;
public static final int decor_content_parent=0x7f070058;
public static final int default_activity_button=0x7f070040;
public static final int design_bottom_sheet=0x7f07006a;
public static final int design_menu_item_action_area=0x7f070071;
public static final int design_menu_item_action_area_stub=0x7f070070;
public static final int design_menu_item_text=0x7f07006f;
public static final int design_navigation_view=0x7f07006e;
public static final int disableHome=0x7f07000e;
public static final int edit_query=0x7f07005c;
public static final int end=0x7f07001c;
public static final int end_padder=0x7f070097;
public static final int enterAlways=0x7f070023;
public static final int enterAlwaysCollapsed=0x7f070024;
public static final int exitUntilCollapsed=0x7f070025;
public static final int expand_activities_button=0x7f07003e;
public static final int expanded_menu=0x7f070051;
public static final int fill=0x7f070035;
public static final int fill_horizontal=0x7f070036;
public static final int fill_vertical=0x7f07002e;
public static final int fixed=0x7f070038;
public static final int home=0x7f070005;
public static final int homeAsUp=0x7f07000f;
public static final int icon=0x7f070042;
public static final int ifRoom=0x7f070020;
public static final int image=0x7f07003f;
public static final int info=0x7f070096;
public static final int item_touch_helper_previous_elevation=0x7f070000;
public static final int left=0x7f07002f;
public static final int line1=0x7f070090;
public static final int line3=0x7f070094;
public static final int listMode=0x7f07000b;
public static final int list_item=0x7f070041;
public static final int media_actions=0x7f07008e;
public static final int middle=0x7f07001d;
public static final int mini=0x7f070037;
public static final int mr_art=0x7f07007d;
public static final int mr_chooser_list=0x7f070072;
public static final int mr_chooser_route_desc=0x7f070075;
public static final int mr_chooser_route_icon=0x7f070073;
public static final int mr_chooser_route_name=0x7f070074;
public static final int mr_close=0x7f07007a;
public static final int mr_control_divider=0x7f070080;
public static final int mr_control_play_pause=0x7f070086;
public static final int mr_control_subtitle=0x7f070089;
public static final int mr_control_title=0x7f070088;
public static final int mr_control_title_container=0x7f070087;
public static final int mr_custom_control=0x7f07007b;
public static final int mr_default_control=0x7f07007c;
public static final int mr_dialog_area=0x7f070077;
public static final int mr_expandable_area=0x7f070076;
public static final int mr_group_expand_collapse=0x7f07008a;
public static final int mr_media_main_control=0x7f07007e;
public static final int mr_name=0x7f070079;
public static final int mr_playback_control=0x7f07007f;
public static final int mr_title_bar=0x7f070078;
public static final int mr_volume_control=0x7f070081;
public static final int mr_volume_group_list=0x7f070082;
public static final int mr_volume_item_icon=0x7f070084;
public static final int mr_volume_slider=0x7f070085;
public static final int multiply=0x7f070016;
public static final int navigation_header_container=0x7f07006d;
public static final int never=0x7f070021;
public static final int none=0x7f070010;
public static final int normal=0x7f07000c;
public static final int parallax=0x7f070028;
public static final int parentPanel=0x7f070046;
public static final int pin=0x7f070029;
public static final int progress_circular=0x7f070006;
public static final int progress_horizontal=0x7f070007;
public static final int radio=0x7f070054;
public static final int right=0x7f070030;
public static final int screen=0x7f070017;
public static final int scroll=0x7f070026;
public static final int scrollIndicatorDown=0x7f07004e;
public static final int scrollIndicatorUp=0x7f07004b;
public static final int scrollView=0x7f07004c;
public static final int scrollable=0x7f070039;
public static final int search_badge=0x7f07005e;
public static final int search_bar=0x7f07005d;
public static final int search_button=0x7f07005f;
public static final int search_close_btn=0x7f070064;
public static final int search_edit_frame=0x7f070060;
public static final int search_go_btn=0x7f070066;
public static final int search_mag_icon=0x7f070061;
public static final int search_plate=0x7f070062;
public static final int search_src_text=0x7f070063;
public static final int search_voice_btn=0x7f070067;
public static final int select_dialog_listview=0x7f070068;
public static final int shortcut=0x7f070053;
public static final int showCustom=0x7f070011;
public static final int showHome=0x7f070012;
public static final int showTitle=0x7f070013;
public static final int sliding_tabs=0x7f070098;
public static final int snackbar_action=0x7f07006c;
public static final int snackbar_text=0x7f07006b;
public static final int snap=0x7f070027;
public static final int spacer=0x7f070045;
public static final int split_action_bar=0x7f070008;
public static final int src_atop=0x7f070018;
public static final int src_in=0x7f070019;
public static final int src_over=0x7f07001a;
public static final int start=0x7f070031;
public static final int status_bar_latest_event_content=0x7f07008d;
public static final int submit_area=0x7f070065;
public static final int tabMode=0x7f07000d;
public static final int text=0x7f070095;
public static final int text2=0x7f070093;
public static final int textSpacerNoButtons=0x7f07004d;
public static final int time=0x7f070091;
public static final int title=0x7f070043;
public static final int title_template=0x7f070048;
public static final int toolbar=0x7f070099;
public static final int top=0x7f070032;
public static final int topPanel=0x7f070047;
public static final int touch_outside=0x7f070069;
public static final int up=0x7f070009;
public static final int useLogo=0x7f070014;
public static final int view_offset_helper=0x7f07000a;
public static final int volume_item_container=0x7f070083;
public static final int withText=0x7f070022;
public static final int wrap_content=0x7f070015;
}
public static final class integer {
public static final int abc_config_activityDefaultDur=0x7f090004;
public static final int abc_config_activityShortDur=0x7f090005;
public static final int abc_max_action_buttons=0x7f090003;
public static final int bottom_sheet_slide_duration=0x7f090009;
public static final int cancel_button_image_alpha=0x7f090006;
public static final int design_snackbar_text_max_lines=0x7f090008;
public static final int mr_controller_volume_group_list_animation_duration_ms=0x7f090000;
public static final int mr_controller_volume_group_list_fade_in_duration_ms=0x7f090001;
public static final int mr_controller_volume_group_list_fade_out_duration_ms=0x7f090002;
public static final int status_bar_notification_info_maxnum=0x7f090007;
}
public static final class interpolator {
public static final int mr_fast_out_slow_in=0x7f050000;
public static final int mr_linear_out_slow_in=0x7f050001;
}
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_dialog_title_material=0x7f03000b;
public static final int abc_expanded_menu_layout=0x7f03000c;
public static final int abc_list_menu_item_checkbox=0x7f03000d;
public static final int abc_list_menu_item_icon=0x7f03000e;
public static final int abc_list_menu_item_layout=0x7f03000f;
public static final int abc_list_menu_item_radio=0x7f030010;
public static final int abc_popup_menu_item_layout=0x7f030011;
public static final int abc_screen_content_include=0x7f030012;
public static final int abc_screen_simple=0x7f030013;
public static final int abc_screen_simple_overlay_action_mode=0x7f030014;
public static final int abc_screen_toolbar=0x7f030015;
public static final int abc_search_dropdown_item_icons_2line=0x7f030016;
public static final int abc_search_view=0x7f030017;
public static final int abc_select_dialog_material=0x7f030018;
public static final int design_bottom_sheet_dialog=0x7f030019;
public static final int design_layout_snackbar=0x7f03001a;
public static final int design_layout_snackbar_include=0x7f03001b;
public static final int design_layout_tab_icon=0x7f03001c;
public static final int design_layout_tab_text=0x7f03001d;
public static final int design_menu_item_action_area=0x7f03001e;
public static final int design_navigation_item=0x7f03001f;
public static final int design_navigation_item_header=0x7f030020;
public static final int design_navigation_item_separator=0x7f030021;
public static final int design_navigation_item_subheader=0x7f030022;
public static final int design_navigation_menu=0x7f030023;
public static final int design_navigation_menu_item=0x7f030024;
public static final int mr_chooser_dialog=0x7f030025;
public static final int mr_chooser_list_item=0x7f030026;
public static final int mr_controller_material_dialog_b=0x7f030027;
public static final int mr_controller_volume_item=0x7f030028;
public static final int mr_playback_control=0x7f030029;
public static final int mr_volume_control=0x7f03002a;
public static final int notification_media_action=0x7f03002b;
public static final int notification_media_cancel_action=0x7f03002c;
public static final int notification_template_big_media=0x7f03002d;
public static final int notification_template_big_media_narrow=0x7f03002e;
public static final int notification_template_lines=0x7f03002f;
public static final int notification_template_media=0x7f030030;
public static final int notification_template_part_chronometer=0x7f030031;
public static final int notification_template_part_time=0x7f030032;
public static final int select_dialog_item_material=0x7f030033;
public static final int select_dialog_multichoice_material=0x7f030034;
public static final int select_dialog_singlechoice_material=0x7f030035;
public static final int support_simple_spinner_dropdown_item=0x7f030036;
public static final int tabbar=0x7f030037;
public static final int toolbar=0x7f030038;
}
public static final class string {
public static final int abc_action_bar_home_description=0x7f08000f;
public static final int abc_action_bar_home_description_format=0x7f080010;
public static final int abc_action_bar_home_subtitle_description_format=0x7f080011;
public static final int abc_action_bar_up_description=0x7f080012;
public static final int abc_action_menu_overflow_description=0x7f080013;
public static final int abc_action_mode_done=0x7f080014;
public static final int abc_activity_chooser_view_see_all=0x7f080015;
public static final int abc_activitychooserview_choose_application=0x7f080016;
public static final int abc_capital_off=0x7f080017;
public static final int abc_capital_on=0x7f080018;
public static final int abc_search_hint=0x7f080019;
public static final int abc_searchview_description_clear=0x7f08001a;
public static final int abc_searchview_description_query=0x7f08001b;
public static final int abc_searchview_description_search=0x7f08001c;
public static final int abc_searchview_description_submit=0x7f08001d;
public static final int abc_searchview_description_voice=0x7f08001e;
public static final int abc_shareactionprovider_share_with=0x7f08001f;
public static final int abc_shareactionprovider_share_with_application=0x7f080020;
public static final int abc_toolbar_collapse_description=0x7f080021;
public static final int appbar_scrolling_view_behavior=0x7f080023;
public static final int bottom_sheet_behavior=0x7f080024;
public static final int character_counter_pattern=0x7f080025;
public static final int mr_button_content_description=0x7f080000;
public static final int mr_chooser_searching=0x7f080001;
public static final int mr_chooser_title=0x7f080002;
public static final int mr_controller_casting_screen=0x7f080003;
public static final int mr_controller_close_description=0x7f080004;
public static final int mr_controller_collapse_group=0x7f080005;
public static final int mr_controller_disconnect=0x7f080006;
public static final int mr_controller_expand_group=0x7f080007;
public static final int mr_controller_no_info_available=0x7f080008;
public static final int mr_controller_no_media_selected=0x7f080009;
public static final int mr_controller_pause=0x7f08000a;
public static final int mr_controller_play=0x7f08000b;
public static final int mr_controller_stop=0x7f08000c;
public static final int mr_system_route_name=0x7f08000d;
public static final int mr_user_route_category_name=0x7f08000e;
public static final int status_bar_notification_info_overflow=0x7f080022;
}
public static final class style {
public static final int AlertDialog_AppCompat=0x7f0a00a1;
public static final int AlertDialog_AppCompat_Light=0x7f0a00a2;
public static final int Animation_AppCompat_Dialog=0x7f0a00a3;
public static final int Animation_AppCompat_DropDownUp=0x7f0a00a4;
public static final int Animation_Design_BottomSheetDialog=0x7f0a015a;
public static final int AppCompatDialogStyle=0x7f0a0174;
public static final int Base_AlertDialog_AppCompat=0x7f0a00a5;
public static final int Base_AlertDialog_AppCompat_Light=0x7f0a00a6;
public static final int Base_Animation_AppCompat_Dialog=0x7f0a00a7;
public static final int Base_Animation_AppCompat_DropDownUp=0x7f0a00a8;
public static final int Base_CardView=0x7f0a0018;
public static final int Base_DialogWindowTitle_AppCompat=0x7f0a00a9;
public static final int Base_DialogWindowTitleBackground_AppCompat=0x7f0a00aa;
public static final int Base_TextAppearance_AppCompat=0x7f0a0051;
public static final int Base_TextAppearance_AppCompat_Body1=0x7f0a0052;
public static final int Base_TextAppearance_AppCompat_Body2=0x7f0a0053;
public static final int Base_TextAppearance_AppCompat_Button=0x7f0a003b;
public static final int Base_TextAppearance_AppCompat_Caption=0x7f0a0054;
public static final int Base_TextAppearance_AppCompat_Display1=0x7f0a0055;
public static final int Base_TextAppearance_AppCompat_Display2=0x7f0a0056;
public static final int Base_TextAppearance_AppCompat_Display3=0x7f0a0057;
public static final int Base_TextAppearance_AppCompat_Display4=0x7f0a0058;
public static final int Base_TextAppearance_AppCompat_Headline=0x7f0a0059;
public static final int Base_TextAppearance_AppCompat_Inverse=0x7f0a0026;
public static final int Base_TextAppearance_AppCompat_Large=0x7f0a005a;
public static final int Base_TextAppearance_AppCompat_Large_Inverse=0x7f0a0027;
public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0a005b;
public static final int Base_TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0a005c;
public static final int Base_TextAppearance_AppCompat_Medium=0x7f0a005d;
public static final int Base_TextAppearance_AppCompat_Medium_Inverse=0x7f0a0028;
public static final int Base_TextAppearance_AppCompat_Menu=0x7f0a005e;
public static final int Base_TextAppearance_AppCompat_SearchResult=0x7f0a00ab;
public static final int Base_TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0a005f;
public static final int Base_TextAppearance_AppCompat_SearchResult_Title=0x7f0a0060;
public static final int Base_TextAppearance_AppCompat_Small=0x7f0a0061;
public static final int Base_TextAppearance_AppCompat_Small_Inverse=0x7f0a0029;
public static final int Base_TextAppearance_AppCompat_Subhead=0x7f0a0062;
public static final int Base_TextAppearance_AppCompat_Subhead_Inverse=0x7f0a002a;
public static final int Base_TextAppearance_AppCompat_Title=0x7f0a0063;
public static final int Base_TextAppearance_AppCompat_Title_Inverse=0x7f0a002b;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0a009a;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0a0064;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0a0065;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0a0066;
public static final int Base_TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0a0067;
public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0a0068;
public static final int Base_TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0a0069;
public static final int Base_TextAppearance_AppCompat_Widget_Button=0x7f0a006a;
public static final int Base_TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0a009b;
public static final int Base_TextAppearance_AppCompat_Widget_DropDownItem=0x7f0a00ac;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0a006b;
public static final int Base_TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0a006c;
public static final int Base_TextAppearance_AppCompat_Widget_Switch=0x7f0a006d;
public static final int Base_TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0a006e;
public static final int Base_TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0a00ad;
public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0a006f;
public static final int Base_TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0a0070;
public static final int Base_Theme_AppCompat=0x7f0a0071;
public static final int Base_Theme_AppCompat_CompactMenu=0x7f0a00ae;
public static final int Base_Theme_AppCompat_Dialog=0x7f0a002c;
public static final int Base_Theme_AppCompat_Dialog_Alert=0x7f0a00af;
public static final int Base_Theme_AppCompat_Dialog_FixedSize=0x7f0a00b0;
public static final int Base_Theme_AppCompat_Dialog_MinWidth=0x7f0a00b1;
public static final int Base_Theme_AppCompat_DialogWhenLarge=0x7f0a001c;
public static final int Base_Theme_AppCompat_Light=0x7f0a0072;
public static final int Base_Theme_AppCompat_Light_DarkActionBar=0x7f0a00b2;
public static final int Base_Theme_AppCompat_Light_Dialog=0x7f0a002d;
public static final int Base_Theme_AppCompat_Light_Dialog_Alert=0x7f0a00b3;
public static final int Base_Theme_AppCompat_Light_Dialog_FixedSize=0x7f0a00b4;
public static final int Base_Theme_AppCompat_Light_Dialog_MinWidth=0x7f0a00b5;
public static final int Base_Theme_AppCompat_Light_DialogWhenLarge=0x7f0a001d;
public static final int Base_ThemeOverlay_AppCompat=0x7f0a00b6;
public static final int Base_ThemeOverlay_AppCompat_ActionBar=0x7f0a00b7;
public static final int Base_ThemeOverlay_AppCompat_Dark=0x7f0a00b8;
public static final int Base_ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0a00b9;
public static final int Base_ThemeOverlay_AppCompat_Light=0x7f0a00ba;
public static final int Base_V11_Theme_AppCompat_Dialog=0x7f0a002e;
public static final int Base_V11_Theme_AppCompat_Light_Dialog=0x7f0a002f;
public static final int Base_V12_Widget_AppCompat_AutoCompleteTextView=0x7f0a0037;
public static final int Base_V12_Widget_AppCompat_EditText=0x7f0a0038;
public static final int Base_V21_Theme_AppCompat=0x7f0a0073;
public static final int Base_V21_Theme_AppCompat_Dialog=0x7f0a0074;
public static final int Base_V21_Theme_AppCompat_Light=0x7f0a0075;
public static final int Base_V21_Theme_AppCompat_Light_Dialog=0x7f0a0076;
public static final int Base_V22_Theme_AppCompat=0x7f0a0098;
public static final int Base_V22_Theme_AppCompat_Light=0x7f0a0099;
public static final int Base_V23_Theme_AppCompat=0x7f0a009c;
public static final int Base_V23_Theme_AppCompat_Light=0x7f0a009d;
public static final int Base_V7_Theme_AppCompat=0x7f0a00bb;
public static final int Base_V7_Theme_AppCompat_Dialog=0x7f0a00bc;
public static final int Base_V7_Theme_AppCompat_Light=0x7f0a00bd;
public static final int Base_V7_Theme_AppCompat_Light_Dialog=0x7f0a00be;
public static final int Base_V7_Widget_AppCompat_AutoCompleteTextView=0x7f0a00bf;
public static final int Base_V7_Widget_AppCompat_EditText=0x7f0a00c0;
public static final int Base_Widget_AppCompat_ActionBar=0x7f0a00c1;
public static final int Base_Widget_AppCompat_ActionBar_Solid=0x7f0a00c2;
public static final int Base_Widget_AppCompat_ActionBar_TabBar=0x7f0a00c3;
public static final int Base_Widget_AppCompat_ActionBar_TabText=0x7f0a0077;
public static final int Base_Widget_AppCompat_ActionBar_TabView=0x7f0a0078;
public static final int Base_Widget_AppCompat_ActionButton=0x7f0a0079;
public static final int Base_Widget_AppCompat_ActionButton_CloseMode=0x7f0a007a;
public static final int Base_Widget_AppCompat_ActionButton_Overflow=0x7f0a007b;
public static final int Base_Widget_AppCompat_ActionMode=0x7f0a00c4;
public static final int Base_Widget_AppCompat_ActivityChooserView=0x7f0a00c5;
public static final int Base_Widget_AppCompat_AutoCompleteTextView=0x7f0a0039;
public static final int Base_Widget_AppCompat_Button=0x7f0a007c;
public static final int Base_Widget_AppCompat_Button_Borderless=0x7f0a007d;
public static final int Base_Widget_AppCompat_Button_Borderless_Colored=0x7f0a007e;
public static final int Base_Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0a00c6;
public static final int Base_Widget_AppCompat_Button_Colored=0x7f0a009e;
public static final int Base_Widget_AppCompat_Button_Small=0x7f0a007f;
public static final int Base_Widget_AppCompat_ButtonBar=0x7f0a0080;
public static final int Base_Widget_AppCompat_ButtonBar_AlertDialog=0x7f0a00c7;
public static final int Base_Widget_AppCompat_CompoundButton_CheckBox=0x7f0a0081;
public static final int Base_Widget_AppCompat_CompoundButton_RadioButton=0x7f0a0082;
public static final int Base_Widget_AppCompat_CompoundButton_Switch=0x7f0a00c8;
public static final int Base_Widget_AppCompat_DrawerArrowToggle=0x7f0a001b;
public static final int Base_Widget_AppCompat_DrawerArrowToggle_Common=0x7f0a00c9;
public static final int Base_Widget_AppCompat_DropDownItem_Spinner=0x7f0a0083;
public static final int Base_Widget_AppCompat_EditText=0x7f0a003a;
public static final int Base_Widget_AppCompat_ImageButton=0x7f0a0084;
public static final int Base_Widget_AppCompat_Light_ActionBar=0x7f0a00ca;
public static final int Base_Widget_AppCompat_Light_ActionBar_Solid=0x7f0a00cb;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabBar=0x7f0a00cc;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabText=0x7f0a0085;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0a0086;
public static final int Base_Widget_AppCompat_Light_ActionBar_TabView=0x7f0a0087;
public static final int Base_Widget_AppCompat_Light_PopupMenu=0x7f0a0088;
public static final int Base_Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0a0089;
public static final int Base_Widget_AppCompat_ListPopupWindow=0x7f0a008a;
public static final int Base_Widget_AppCompat_ListView=0x7f0a008b;
public static final int Base_Widget_AppCompat_ListView_DropDown=0x7f0a008c;
public static final int Base_Widget_AppCompat_ListView_Menu=0x7f0a008d;
public static final int Base_Widget_AppCompat_PopupMenu=0x7f0a008e;
public static final int Base_Widget_AppCompat_PopupMenu_Overflow=0x7f0a008f;
public static final int Base_Widget_AppCompat_PopupWindow=0x7f0a00cd;
public static final int Base_Widget_AppCompat_ProgressBar=0x7f0a0030;
public static final int Base_Widget_AppCompat_ProgressBar_Horizontal=0x7f0a0031;
public static final int Base_Widget_AppCompat_RatingBar=0x7f0a0090;
public static final int Base_Widget_AppCompat_RatingBar_Indicator=0x7f0a009f;
public static final int Base_Widget_AppCompat_RatingBar_Small=0x7f0a00a0;
public static final int Base_Widget_AppCompat_SearchView=0x7f0a00ce;
public static final int Base_Widget_AppCompat_SearchView_ActionBar=0x7f0a00cf;
public static final int Base_Widget_AppCompat_SeekBar=0x7f0a0091;
public static final int Base_Widget_AppCompat_Spinner=0x7f0a0092;
public static final int Base_Widget_AppCompat_Spinner_Underlined=0x7f0a001e;
public static final int Base_Widget_AppCompat_TextView_SpinnerItem=0x7f0a0093;
public static final int Base_Widget_AppCompat_Toolbar=0x7f0a00d0;
public static final int Base_Widget_AppCompat_Toolbar_Button_Navigation=0x7f0a0094;
public static final int Base_Widget_Design_TabLayout=0x7f0a015b;
public static final int CardView=0x7f0a0017;
public static final int CardView_Dark=0x7f0a0019;
public static final int CardView_Light=0x7f0a001a;
public static final int MainTheme=0x7f0a0172;
/** Base theme applied no matter what API
*/
public static final int MainTheme_Base=0x7f0a0173;
public static final int Platform_AppCompat=0x7f0a0032;
public static final int Platform_AppCompat_Light=0x7f0a0033;
public static final int Platform_ThemeOverlay_AppCompat=0x7f0a0095;
public static final int Platform_ThemeOverlay_AppCompat_Dark=0x7f0a0096;
public static final int Platform_ThemeOverlay_AppCompat_Light=0x7f0a0097;
public static final int Platform_V11_AppCompat=0x7f0a0034;
public static final int Platform_V11_AppCompat_Light=0x7f0a0035;
public static final int Platform_V14_AppCompat=0x7f0a003c;
public static final int Platform_V14_AppCompat_Light=0x7f0a003d;
public static final int Platform_Widget_AppCompat_Spinner=0x7f0a0036;
public static final int RtlOverlay_DialogWindowTitle_AppCompat=0x7f0a0043;
public static final int RtlOverlay_Widget_AppCompat_ActionBar_TitleItem=0x7f0a0044;
public static final int RtlOverlay_Widget_AppCompat_DialogTitle_Icon=0x7f0a0045;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem=0x7f0a0046;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_InternalGroup=0x7f0a0047;
public static final int RtlOverlay_Widget_AppCompat_PopupMenuItem_Text=0x7f0a0048;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown=0x7f0a0049;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon1=0x7f0a004a;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Icon2=0x7f0a004b;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Query=0x7f0a004c;
public static final int RtlOverlay_Widget_AppCompat_Search_DropDown_Text=0x7f0a004d;
public static final int RtlOverlay_Widget_AppCompat_SearchView_MagIcon=0x7f0a004e;
public static final int RtlUnderlay_Widget_AppCompat_ActionButton=0x7f0a004f;
public static final int RtlUnderlay_Widget_AppCompat_ActionButton_Overflow=0x7f0a0050;
public static final int TextAppearance_AppCompat=0x7f0a00d1;
public static final int TextAppearance_AppCompat_Body1=0x7f0a00d2;
public static final int TextAppearance_AppCompat_Body2=0x7f0a00d3;
public static final int TextAppearance_AppCompat_Button=0x7f0a00d4;
public static final int TextAppearance_AppCompat_Caption=0x7f0a00d5;
public static final int TextAppearance_AppCompat_Display1=0x7f0a00d6;
public static final int TextAppearance_AppCompat_Display2=0x7f0a00d7;
public static final int TextAppearance_AppCompat_Display3=0x7f0a00d8;
public static final int TextAppearance_AppCompat_Display4=0x7f0a00d9;
public static final int TextAppearance_AppCompat_Headline=0x7f0a00da;
public static final int TextAppearance_AppCompat_Inverse=0x7f0a00db;
public static final int TextAppearance_AppCompat_Large=0x7f0a00dc;
public static final int TextAppearance_AppCompat_Large_Inverse=0x7f0a00dd;
public static final int TextAppearance_AppCompat_Light_SearchResult_Subtitle=0x7f0a00de;
public static final int TextAppearance_AppCompat_Light_SearchResult_Title=0x7f0a00df;
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Large=0x7f0a00e0;
public static final int TextAppearance_AppCompat_Light_Widget_PopupMenu_Small=0x7f0a00e1;
public static final int TextAppearance_AppCompat_Medium=0x7f0a00e2;
public static final int TextAppearance_AppCompat_Medium_Inverse=0x7f0a00e3;
public static final int TextAppearance_AppCompat_Menu=0x7f0a00e4;
public static final int TextAppearance_AppCompat_SearchResult_Subtitle=0x7f0a00e5;
public static final int TextAppearance_AppCompat_SearchResult_Title=0x7f0a00e6;
public static final int TextAppearance_AppCompat_Small=0x7f0a00e7;
public static final int TextAppearance_AppCompat_Small_Inverse=0x7f0a00e8;
public static final int TextAppearance_AppCompat_Subhead=0x7f0a00e9;
public static final int TextAppearance_AppCompat_Subhead_Inverse=0x7f0a00ea;
public static final int TextAppearance_AppCompat_Title=0x7f0a00eb;
public static final int TextAppearance_AppCompat_Title_Inverse=0x7f0a00ec;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Menu=0x7f0a00ed;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle=0x7f0a00ee;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse=0x7f0a00ef;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title=0x7f0a00f0;
public static final int TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse=0x7f0a00f1;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle=0x7f0a00f2;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse=0x7f0a00f3;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title=0x7f0a00f4;
public static final int TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse=0x7f0a00f5;
public static final int TextAppearance_AppCompat_Widget_Button=0x7f0a00f6;
public static final int TextAppearance_AppCompat_Widget_Button_Inverse=0x7f0a00f7;
public static final int TextAppearance_AppCompat_Widget_DropDownItem=0x7f0a00f8;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Large=0x7f0a00f9;
public static final int TextAppearance_AppCompat_Widget_PopupMenu_Small=0x7f0a00fa;
public static final int TextAppearance_AppCompat_Widget_Switch=0x7f0a00fb;
public static final int TextAppearance_AppCompat_Widget_TextView_SpinnerItem=0x7f0a00fc;
public static final int TextAppearance_Design_CollapsingToolbar_Expanded=0x7f0a015c;
public static final int TextAppearance_Design_Counter=0x7f0a015d;
public static final int TextAppearance_Design_Counter_Overflow=0x7f0a015e;
public static final int TextAppearance_Design_Error=0x7f0a015f;
public static final int TextAppearance_Design_Hint=0x7f0a0160;
public static final int TextAppearance_Design_Snackbar_Message=0x7f0a0161;
public static final int TextAppearance_Design_Tab=0x7f0a0162;
public static final int TextAppearance_StatusBar_EventContent=0x7f0a003e;
public static final int TextAppearance_StatusBar_EventContent_Info=0x7f0a003f;
public static final int TextAppearance_StatusBar_EventContent_Line2=0x7f0a0040;
public static final int TextAppearance_StatusBar_EventContent_Time=0x7f0a0041;
public static final int TextAppearance_StatusBar_EventContent_Title=0x7f0a0042;
public static final int TextAppearance_Widget_AppCompat_ExpandedMenu_Item=0x7f0a00fd;
public static final int TextAppearance_Widget_AppCompat_Toolbar_Subtitle=0x7f0a00fe;
public static final int TextAppearance_Widget_AppCompat_Toolbar_Title=0x7f0a00ff;
public static final int Theme_AppCompat=0x7f0a0100;
public static final int Theme_AppCompat_CompactMenu=0x7f0a0101;
public static final int Theme_AppCompat_DayNight=0x7f0a001f;
public static final int Theme_AppCompat_DayNight_DarkActionBar=0x7f0a0020;
public static final int Theme_AppCompat_DayNight_Dialog=0x7f0a0021;
public static final int Theme_AppCompat_DayNight_Dialog_Alert=0x7f0a0022;
public static final int Theme_AppCompat_DayNight_Dialog_MinWidth=0x7f0a0023;
public static final int Theme_AppCompat_DayNight_DialogWhenLarge=0x7f0a0024;
public static final int Theme_AppCompat_DayNight_NoActionBar=0x7f0a0025;
public static final int Theme_AppCompat_Dialog=0x7f0a0102;
public static final int Theme_AppCompat_Dialog_Alert=0x7f0a0103;
public static final int Theme_AppCompat_Dialog_MinWidth=0x7f0a0104;
public static final int Theme_AppCompat_DialogWhenLarge=0x7f0a0105;
public static final int Theme_AppCompat_Light=0x7f0a0106;
public static final int Theme_AppCompat_Light_DarkActionBar=0x7f0a0107;
public static final int Theme_AppCompat_Light_Dialog=0x7f0a0108;
public static final int Theme_AppCompat_Light_Dialog_Alert=0x7f0a0109;
public static final int Theme_AppCompat_Light_Dialog_MinWidth=0x7f0a010a;
public static final int Theme_AppCompat_Light_DialogWhenLarge=0x7f0a010b;
public static final int Theme_AppCompat_Light_NoActionBar=0x7f0a010c;
public static final int Theme_AppCompat_NoActionBar=0x7f0a010d;
public static final int Theme_Design=0x7f0a0163;
public static final int Theme_Design_BottomSheetDialog=0x7f0a0164;
public static final int Theme_Design_Light=0x7f0a0165;
public static final int Theme_Design_Light_BottomSheetDialog=0x7f0a0166;
public static final int Theme_Design_Light_NoActionBar=0x7f0a0167;
public static final int Theme_Design_NoActionBar=0x7f0a0168;
public static final int Theme_MediaRouter=0x7f0a0000;
public static final int Theme_MediaRouter_Light=0x7f0a0001;
public static final int Theme_MediaRouter_Light_DarkControlPanel=0x7f0a0002;
public static final int Theme_MediaRouter_LightControlPanel=0x7f0a0003;
public static final int ThemeOverlay_AppCompat=0x7f0a010e;
public static final int ThemeOverlay_AppCompat_ActionBar=0x7f0a010f;
public static final int ThemeOverlay_AppCompat_Dark=0x7f0a0110;
public static final int ThemeOverlay_AppCompat_Dark_ActionBar=0x7f0a0111;
public static final int ThemeOverlay_AppCompat_Light=0x7f0a0112;
public static final int Widget_AppCompat_ActionBar=0x7f0a0113;
public static final int Widget_AppCompat_ActionBar_Solid=0x7f0a0114;
public static final int Widget_AppCompat_ActionBar_TabBar=0x7f0a0115;
public static final int Widget_AppCompat_ActionBar_TabText=0x7f0a0116;
public static final int Widget_AppCompat_ActionBar_TabView=0x7f0a0117;
public static final int Widget_AppCompat_ActionButton=0x7f0a0118;
public static final int Widget_AppCompat_ActionButton_CloseMode=0x7f0a0119;
public static final int Widget_AppCompat_ActionButton_Overflow=0x7f0a011a;
public static final int Widget_AppCompat_ActionMode=0x7f0a011b;
public static final int Widget_AppCompat_ActivityChooserView=0x7f0a011c;
public static final int Widget_AppCompat_AutoCompleteTextView=0x7f0a011d;
public static final int Widget_AppCompat_Button=0x7f0a011e;
public static final int Widget_AppCompat_Button_Borderless=0x7f0a011f;
public static final int Widget_AppCompat_Button_Borderless_Colored=0x7f0a0120;
public static final int Widget_AppCompat_Button_ButtonBar_AlertDialog=0x7f0a0121;
public static final int Widget_AppCompat_Button_Colored=0x7f0a0122;
public static final int Widget_AppCompat_Button_Small=0x7f0a0123;
public static final int Widget_AppCompat_ButtonBar=0x7f0a0124;
public static final int Widget_AppCompat_ButtonBar_AlertDialog=0x7f0a0125;
public static final int Widget_AppCompat_CompoundButton_CheckBox=0x7f0a0126;
public static final int Widget_AppCompat_CompoundButton_RadioButton=0x7f0a0127;
public static final int Widget_AppCompat_CompoundButton_Switch=0x7f0a0128;
public static final int Widget_AppCompat_DrawerArrowToggle=0x7f0a0129;
public static final int Widget_AppCompat_DropDownItem_Spinner=0x7f0a012a;
public static final int Widget_AppCompat_EditText=0x7f0a012b;
public static final int Widget_AppCompat_ImageButton=0x7f0a012c;
public static final int Widget_AppCompat_Light_ActionBar=0x7f0a012d;
public static final int Widget_AppCompat_Light_ActionBar_Solid=0x7f0a012e;
public static final int Widget_AppCompat_Light_ActionBar_Solid_Inverse=0x7f0a012f;
public static final int Widget_AppCompat_Light_ActionBar_TabBar=0x7f0a0130;
public static final int Widget_AppCompat_Light_ActionBar_TabBar_Inverse=0x7f0a0131;
public static final int Widget_AppCompat_Light_ActionBar_TabText=0x7f0a0132;
public static final int Widget_AppCompat_Light_ActionBar_TabText_Inverse=0x7f0a0133;
public static final int Widget_AppCompat_Light_ActionBar_TabView=0x7f0a0134;
public static final int Widget_AppCompat_Light_ActionBar_TabView_Inverse=0x7f0a0135;
public static final int Widget_AppCompat_Light_ActionButton=0x7f0a0136;
public static final int Widget_AppCompat_Light_ActionButton_CloseMode=0x7f0a0137;
public static final int Widget_AppCompat_Light_ActionButton_Overflow=0x7f0a0138;
public static final int Widget_AppCompat_Light_ActionMode_Inverse=0x7f0a0139;
public static final int Widget_AppCompat_Light_ActivityChooserView=0x7f0a013a;
public static final int Widget_AppCompat_Light_AutoCompleteTextView=0x7f0a013b;
public static final int Widget_AppCompat_Light_DropDownItem_Spinner=0x7f0a013c;
public static final int Widget_AppCompat_Light_ListPopupWindow=0x7f0a013d;
public static final int Widget_AppCompat_Light_ListView_DropDown=0x7f0a013e;
public static final int Widget_AppCompat_Light_PopupMenu=0x7f0a013f;
public static final int Widget_AppCompat_Light_PopupMenu_Overflow=0x7f0a0140;
public static final int Widget_AppCompat_Light_SearchView=0x7f0a0141;
public static final int Widget_AppCompat_Light_Spinner_DropDown_ActionBar=0x7f0a0142;
public static final int Widget_AppCompat_ListPopupWindow=0x7f0a0143;
public static final int Widget_AppCompat_ListView=0x7f0a0144;
public static final int Widget_AppCompat_ListView_DropDown=0x7f0a0145;
public static final int Widget_AppCompat_ListView_Menu=0x7f0a0146;
public static final int Widget_AppCompat_PopupMenu=0x7f0a0147;
public static final int Widget_AppCompat_PopupMenu_Overflow=0x7f0a0148;
public static final int Widget_AppCompat_PopupWindow=0x7f0a0149;
public static final int Widget_AppCompat_ProgressBar=0x7f0a014a;
public static final int Widget_AppCompat_ProgressBar_Horizontal=0x7f0a014b;
public static final int Widget_AppCompat_RatingBar=0x7f0a014c;
public static final int Widget_AppCompat_RatingBar_Indicator=0x7f0a014d;
public static final int Widget_AppCompat_RatingBar_Small=0x7f0a014e;
public static final int Widget_AppCompat_SearchView=0x7f0a014f;
public static final int Widget_AppCompat_SearchView_ActionBar=0x7f0a0150;
public static final int Widget_AppCompat_SeekBar=0x7f0a0151;
public static final int Widget_AppCompat_Spinner=0x7f0a0152;
public static final int Widget_AppCompat_Spinner_DropDown=0x7f0a0153;
public static final int Widget_AppCompat_Spinner_DropDown_ActionBar=0x7f0a0154;
public static final int Widget_AppCompat_Spinner_Underlined=0x7f0a0155;
public static final int Widget_AppCompat_TextView_SpinnerItem=0x7f0a0156;
public static final int Widget_AppCompat_Toolbar=0x7f0a0157;
public static final int Widget_AppCompat_Toolbar_Button_Navigation=0x7f0a0158;
public static final int Widget_Design_AppBarLayout=0x7f0a0169;
public static final int Widget_Design_BottomSheet_Modal=0x7f0a016a;
public static final int Widget_Design_CollapsingToolbar=0x7f0a016b;
public static final int Widget_Design_CoordinatorLayout=0x7f0a016c;
public static final int Widget_Design_FloatingActionButton=0x7f0a016d;
public static final int Widget_Design_NavigationView=0x7f0a016e;
public static final int Widget_Design_ScrimInsetsFrameLayout=0x7f0a016f;
public static final int Widget_Design_Snackbar=0x7f0a0170;
public static final int Widget_Design_TabLayout=0x7f0a0159;
public static final int Widget_Design_TextInputLayout=0x7f0a0171;
public static final int Widget_MediaRouter_ChooserText=0x7f0a0004;
public static final int Widget_MediaRouter_ChooserText_Primary=0x7f0a0005;
public static final int Widget_MediaRouter_ChooserText_Primary_Dark=0x7f0a0006;
public static final int Widget_MediaRouter_ChooserText_Primary_Light=0x7f0a0007;
public static final int Widget_MediaRouter_ChooserText_Secondary=0x7f0a0008;
public static final int Widget_MediaRouter_ChooserText_Secondary_Dark=0x7f0a0009;
public static final int Widget_MediaRouter_ChooserText_Secondary_Light=0x7f0a000a;
public static final int Widget_MediaRouter_ControllerText=0x7f0a000b;
public static final int Widget_MediaRouter_ControllerText_Primary=0x7f0a000c;
public static final int Widget_MediaRouter_ControllerText_Primary_Dark=0x7f0a000d;
public static final int Widget_MediaRouter_ControllerText_Primary_Light=0x7f0a000e;
public static final int Widget_MediaRouter_ControllerText_Secondary=0x7f0a000f;
public static final int Widget_MediaRouter_ControllerText_Secondary_Dark=0x7f0a0010;
public static final int Widget_MediaRouter_ControllerText_Secondary_Light=0x7f0a0011;
public static final int Widget_MediaRouter_ControllerText_Title=0x7f0a0012;
public static final int Widget_MediaRouter_ControllerText_Title_Dark=0x7f0a0013;
public static final int Widget_MediaRouter_ControllerText_Title_Light=0x7f0a0014;
public static final int Widget_MediaRouter_Light_MediaRouteButton=0x7f0a0015;
public static final int Widget_MediaRouter_MediaRouteButton=0x7f0a0016;
}
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 exercise03.Android:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundSplit exercise03.Android:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_backgroundStacked exercise03.Android:backgroundStacked}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetEnd exercise03.Android:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetLeft exercise03.Android:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetRight exercise03.Android:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_contentInsetStart exercise03.Android:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_customNavigationLayout exercise03.Android:customNavigationLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_displayOptions exercise03.Android:displayOptions}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_divider exercise03.Android:divider}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_elevation exercise03.Android:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_height exercise03.Android:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_hideOnContentScroll exercise03.Android:hideOnContentScroll}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeAsUpIndicator exercise03.Android:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_homeLayout exercise03.Android:homeLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_icon exercise03.Android:icon}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_indeterminateProgressStyle exercise03.Android:indeterminateProgressStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_itemPadding exercise03.Android:itemPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_logo exercise03.Android:logo}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_navigationMode exercise03.Android:navigationMode}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_popupTheme exercise03.Android:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarPadding exercise03.Android:progressBarPadding}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_progressBarStyle exercise03.Android:progressBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitle exercise03.Android:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_subtitleTextStyle exercise03.Android:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_title exercise03.Android:title}</code></td><td></td></tr>
<tr><td><code>{@link #ActionBar_titleTextStyle exercise03.Android:titleTextStyle}</code></td><td></td></tr>
</table>
@see #ActionBar_background
@see #ActionBar_backgroundSplit
@see #ActionBar_backgroundStacked
@see #ActionBar_contentInsetEnd
@see #ActionBar_contentInsetLeft
@see #ActionBar_contentInsetRight
@see #ActionBar_contentInsetStart
@see #ActionBar_customNavigationLayout
@see #ActionBar_displayOptions
@see #ActionBar_divider
@see #ActionBar_elevation
@see #ActionBar_height
@see #ActionBar_hideOnContentScroll
@see #ActionBar_homeAsUpIndicator
@see #ActionBar_homeLayout
@see #ActionBar_icon
@see #ActionBar_indeterminateProgressStyle
@see #ActionBar_itemPadding
@see #ActionBar_logo
@see #ActionBar_navigationMode
@see #ActionBar_popupTheme
@see #ActionBar_progressBarPadding
@see #ActionBar_progressBarStyle
@see #ActionBar_subtitle
@see #ActionBar_subtitleTextStyle
@see #ActionBar_title
@see #ActionBar_titleTextStyle
*/
public static final int[] ActionBar = {
0x7f010027, 0x7f010029, 0x7f01002a, 0x7f01002b,
0x7f01002c, 0x7f01002d, 0x7f01002e, 0x7f01002f,
0x7f010030, 0x7f010031, 0x7f010032, 0x7f010033,
0x7f010034, 0x7f010035, 0x7f010036, 0x7f010037,
0x7f010038, 0x7f010039, 0x7f01003a, 0x7f01003b,
0x7f01003c, 0x7f01003d, 0x7f01003e, 0x7f01003f,
0x7f010040, 0x7f010041, 0x7f01007a
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:background
*/
public static final int ActionBar_background = 10;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:backgroundSplit
*/
public static final int ActionBar_backgroundSplit = 12;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:backgroundStacked
*/
public static final int ActionBar_backgroundStacked = 11;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentInsetEnd
*/
public static final int ActionBar_contentInsetEnd = 21;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentInsetLeft
*/
public static final int ActionBar_contentInsetLeft = 22;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentInsetRight
*/
public static final int ActionBar_contentInsetRight = 23;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentInsetStart
*/
public static final int ActionBar_contentInsetStart = 20;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:customNavigationLayout
*/
public static final int ActionBar_customNavigationLayout = 13;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:displayOptions
*/
public static final int ActionBar_displayOptions = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:divider
*/
public static final int ActionBar_divider = 9;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:elevation
*/
public static final int ActionBar_elevation = 24;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:height
*/
public static final int ActionBar_height = 0;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:hideOnContentScroll
*/
public static final int ActionBar_hideOnContentScroll = 19;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:homeAsUpIndicator
*/
public static final int ActionBar_homeAsUpIndicator = 26;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:homeLayout
*/
public static final int ActionBar_homeLayout = 14;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:icon
*/
public static final int ActionBar_icon = 7;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:indeterminateProgressStyle
*/
public static final int ActionBar_indeterminateProgressStyle = 16;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:itemPadding
*/
public static final int ActionBar_itemPadding = 18;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:logo
*/
public static final int ActionBar_logo = 8;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:navigationMode
*/
public static final int ActionBar_navigationMode = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:popupTheme
*/
public static final int ActionBar_popupTheme = 25;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:progressBarPadding
*/
public static final int ActionBar_progressBarPadding = 17;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:progressBarStyle
*/
public static final int ActionBar_progressBarStyle = 15;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:subtitle
*/
public static final int ActionBar_subtitle = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:subtitleTextStyle
*/
public static final int ActionBar_subtitleTextStyle = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:title
*/
public static final int ActionBar_title = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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 exercise03.Android:background}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_backgroundSplit exercise03.Android:backgroundSplit}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_closeItemLayout exercise03.Android:closeItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_height exercise03.Android:height}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_subtitleTextStyle exercise03.Android:subtitleTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #ActionMode_titleTextStyle exercise03.Android: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 = {
0x7f010027, 0x7f01002d, 0x7f01002e, 0x7f010032,
0x7f010034, 0x7f010042
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:background
*/
public static final int ActionMode_background = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:backgroundSplit
*/
public static final int ActionMode_backgroundSplit = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:closeItemLayout
*/
public static final int ActionMode_closeItemLayout = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:height
*/
public static final int ActionMode_height = 0;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:subtitleTextStyle
*/
public static final int ActionMode_subtitleTextStyle = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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 exercise03.Android:expandActivityOverflowButtonDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #ActivityChooserView_initialActivityCount exercise03.Android:initialActivityCount}</code></td><td></td></tr>
</table>
@see #ActivityChooserView_expandActivityOverflowButtonDrawable
@see #ActivityChooserView_initialActivityCount
*/
public static final int[] ActivityChooserView = {
0x7f010043, 0x7f010044
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:expandActivityOverflowButtonDrawable
*/
public static final int ActivityChooserView_expandActivityOverflowButtonDrawable = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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 exercise03.Android:buttonPanelSideLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_listItemLayout exercise03.Android:listItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_listLayout exercise03.Android:listLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_multiChoiceItemLayout exercise03.Android:multiChoiceItemLayout}</code></td><td></td></tr>
<tr><td><code>{@link #AlertDialog_singleChoiceItemLayout exercise03.Android:singleChoiceItemLayout}</code></td><td></td></tr>
</table>
@see #AlertDialog_android_layout
@see #AlertDialog_buttonPanelSideLayout
@see #AlertDialog_listItemLayout
@see #AlertDialog_listLayout
@see #AlertDialog_multiChoiceItemLayout
@see #AlertDialog_singleChoiceItemLayout
*/
public static final int[] AlertDialog = {
0x010100f2, 0x7f010045, 0x7f010046, 0x7f010047,
0x7f010048, 0x7f010049
};
/**
<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 exercise03.Android.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 exercise03.Android:buttonPanelSideLayout
*/
public static final int AlertDialog_buttonPanelSideLayout = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:listItemLayout
*/
public static final int AlertDialog_listItemLayout = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:listLayout
*/
public static final int AlertDialog_listLayout = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:multiChoiceItemLayout
*/
public static final int AlertDialog_multiChoiceItemLayout = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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 exercise03.Android:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #AppBarLayout_expanded exercise03.Android:expanded}</code></td><td></td></tr>
</table>
@see #AppBarLayout_android_background
@see #AppBarLayout_elevation
@see #AppBarLayout_expanded
*/
public static final int[] AppBarLayout = {
0x010100d4, 0x7f010040, 0x7f0100f7
};
/**
<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 exercise03.Android.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 exercise03.Android:elevation
*/
public static final int AppBarLayout_elevation = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:expanded
*/
public static final int AppBarLayout_expanded = 2;
/** Attributes that can be used with a AppBarLayout_LayoutParams.
<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_LayoutParams_layout_scrollFlags exercise03.Android:layout_scrollFlags}</code></td><td></td></tr>
<tr><td><code>{@link #AppBarLayout_LayoutParams_layout_scrollInterpolator exercise03.Android:layout_scrollInterpolator}</code></td><td></td></tr>
</table>
@see #AppBarLayout_LayoutParams_layout_scrollFlags
@see #AppBarLayout_LayoutParams_layout_scrollInterpolator
*/
public static final int[] AppBarLayout_LayoutParams = {
0x7f0100f8, 0x7f0100f9
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.R.attr#layout_scrollFlags}
attribute's value can be found in the {@link #AppBarLayout_LayoutParams} 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 exercise03.Android:layout_scrollFlags
*/
public static final int AppBarLayout_LayoutParams_layout_scrollFlags = 0;
/**
<p>This symbol is the offset where the {@link exercise03.Android.R.attr#layout_scrollInterpolator}
attribute's value can be found in the {@link #AppBarLayout_LayoutParams} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name exercise03.Android:layout_scrollInterpolator
*/
public static final int AppBarLayout_LayoutParams_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 exercise03.Android:srcCompat}</code></td><td></td></tr>
</table>
@see #AppCompatImageView_android_src
@see #AppCompatImageView_srcCompat
*/
public static final int[] AppCompatImageView = {
0x01010119, 0x7f01004a
};
/**
<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 exercise03.Android.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 exercise03.Android:srcCompat
*/
public static final int AppCompatImageView_srcCompat = 1;
/** Attributes that can be used with a AppCompatTextView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #AppCompatTextView_android_textAppearance android:textAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTextView_textAllCaps exercise03.Android:textAllCaps}</code></td><td></td></tr>
</table>
@see #AppCompatTextView_android_textAppearance
@see #AppCompatTextView_textAllCaps
*/
public static final int[] AppCompatTextView = {
0x01010034, 0x7f01004b
};
/**
<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 exercise03.Android.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 exercise03.Android: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 exercise03.Android:actionBarDivider}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarItemBackground exercise03.Android:actionBarItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarPopupTheme exercise03.Android:actionBarPopupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarSize exercise03.Android:actionBarSize}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarSplitStyle exercise03.Android:actionBarSplitStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarStyle exercise03.Android:actionBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTabBarStyle exercise03.Android:actionBarTabBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTabStyle exercise03.Android:actionBarTabStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTabTextStyle exercise03.Android:actionBarTabTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarTheme exercise03.Android:actionBarTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionBarWidgetTheme exercise03.Android:actionBarWidgetTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionButtonStyle exercise03.Android:actionButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionDropDownStyle exercise03.Android:actionDropDownStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionMenuTextAppearance exercise03.Android:actionMenuTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionMenuTextColor exercise03.Android:actionMenuTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeBackground exercise03.Android:actionModeBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCloseButtonStyle exercise03.Android:actionModeCloseButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCloseDrawable exercise03.Android:actionModeCloseDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCopyDrawable exercise03.Android:actionModeCopyDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeCutDrawable exercise03.Android:actionModeCutDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeFindDrawable exercise03.Android:actionModeFindDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModePasteDrawable exercise03.Android:actionModePasteDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModePopupWindowStyle exercise03.Android:actionModePopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeSelectAllDrawable exercise03.Android:actionModeSelectAllDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeShareDrawable exercise03.Android:actionModeShareDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeSplitBackground exercise03.Android:actionModeSplitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeStyle exercise03.Android:actionModeStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionModeWebSearchDrawable exercise03.Android:actionModeWebSearchDrawable}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionOverflowButtonStyle exercise03.Android:actionOverflowButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_actionOverflowMenuStyle exercise03.Android:actionOverflowMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_activityChooserViewStyle exercise03.Android:activityChooserViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogButtonGroupStyle exercise03.Android:alertDialogButtonGroupStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogCenterButtons exercise03.Android:alertDialogCenterButtons}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogStyle exercise03.Android:alertDialogStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_alertDialogTheme exercise03.Android: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 exercise03.Android:autoCompleteTextViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_borderlessButtonStyle exercise03.Android:borderlessButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarButtonStyle exercise03.Android:buttonBarButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarNegativeButtonStyle exercise03.Android:buttonBarNegativeButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarNeutralButtonStyle exercise03.Android:buttonBarNeutralButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarPositiveButtonStyle exercise03.Android:buttonBarPositiveButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonBarStyle exercise03.Android:buttonBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonStyle exercise03.Android:buttonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_buttonStyleSmall exercise03.Android:buttonStyleSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_checkboxStyle exercise03.Android:checkboxStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_checkedTextViewStyle exercise03.Android:checkedTextViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorAccent exercise03.Android:colorAccent}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorButtonNormal exercise03.Android:colorButtonNormal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorControlActivated exercise03.Android:colorControlActivated}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorControlHighlight exercise03.Android:colorControlHighlight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorControlNormal exercise03.Android:colorControlNormal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorPrimary exercise03.Android:colorPrimary}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorPrimaryDark exercise03.Android:colorPrimaryDark}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_colorSwitchThumbNormal exercise03.Android:colorSwitchThumbNormal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_controlBackground exercise03.Android:controlBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dialogPreferredPadding exercise03.Android:dialogPreferredPadding}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dialogTheme exercise03.Android:dialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dividerHorizontal exercise03.Android:dividerHorizontal}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dividerVertical exercise03.Android:dividerVertical}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dropDownListViewStyle exercise03.Android:dropDownListViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_dropdownListPreferredItemHeight exercise03.Android:dropdownListPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_editTextBackground exercise03.Android:editTextBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_editTextColor exercise03.Android:editTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_editTextStyle exercise03.Android:editTextStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_homeAsUpIndicator exercise03.Android:homeAsUpIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_imageButtonStyle exercise03.Android:imageButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listChoiceBackgroundIndicator exercise03.Android:listChoiceBackgroundIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listDividerAlertDialog exercise03.Android:listDividerAlertDialog}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPopupWindowStyle exercise03.Android:listPopupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemHeight exercise03.Android:listPreferredItemHeight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightLarge exercise03.Android:listPreferredItemHeightLarge}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemHeightSmall exercise03.Android:listPreferredItemHeightSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingLeft exercise03.Android:listPreferredItemPaddingLeft}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_listPreferredItemPaddingRight exercise03.Android:listPreferredItemPaddingRight}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_panelBackground exercise03.Android:panelBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_panelMenuListTheme exercise03.Android:panelMenuListTheme}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_panelMenuListWidth exercise03.Android:panelMenuListWidth}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_popupMenuStyle exercise03.Android:popupMenuStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_popupWindowStyle exercise03.Android:popupWindowStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_radioButtonStyle exercise03.Android:radioButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_ratingBarStyle exercise03.Android:ratingBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_ratingBarStyleIndicator exercise03.Android:ratingBarStyleIndicator}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_ratingBarStyleSmall exercise03.Android:ratingBarStyleSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_searchViewStyle exercise03.Android:searchViewStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_seekBarStyle exercise03.Android:seekBarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_selectableItemBackground exercise03.Android:selectableItemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_selectableItemBackgroundBorderless exercise03.Android:selectableItemBackgroundBorderless}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_spinnerDropDownItemStyle exercise03.Android:spinnerDropDownItemStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_spinnerStyle exercise03.Android:spinnerStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_switchStyle exercise03.Android:switchStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceLargePopupMenu exercise03.Android:textAppearanceLargePopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceListItem exercise03.Android:textAppearanceListItem}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceListItemSmall exercise03.Android:textAppearanceListItemSmall}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultSubtitle exercise03.Android:textAppearanceSearchResultSubtitle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceSearchResultTitle exercise03.Android:textAppearanceSearchResultTitle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textAppearanceSmallPopupMenu exercise03.Android:textAppearanceSmallPopupMenu}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textColorAlertDialogListItem exercise03.Android:textColorAlertDialogListItem}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_textColorSearchUrl exercise03.Android:textColorSearchUrl}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_toolbarNavigationButtonStyle exercise03.Android:toolbarNavigationButtonStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_toolbarStyle exercise03.Android:toolbarStyle}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowActionBar exercise03.Android:windowActionBar}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowActionBarOverlay exercise03.Android:windowActionBarOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowActionModeOverlay exercise03.Android:windowActionModeOverlay}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedHeightMajor exercise03.Android:windowFixedHeightMajor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedHeightMinor exercise03.Android:windowFixedHeightMinor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedWidthMajor exercise03.Android:windowFixedWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowFixedWidthMinor exercise03.Android:windowFixedWidthMinor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowMinWidthMajor exercise03.Android:windowMinWidthMajor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowMinWidthMinor exercise03.Android:windowMinWidthMinor}</code></td><td></td></tr>
<tr><td><code>{@link #AppCompatTheme_windowNoTitle exercise03.Android:windowNoTitle}</code></td><td></td></tr>
</table>
@see #AppCompatTheme_actionBarDivider
@see #AppCompatTheme_actionBarItemBackground
@see #AppCompatTheme_actionBarPopupTheme
@see #AppCompatTheme_actionBarSize
@see #AppCompatTheme_actionBarSplitStyle
@see #AppCompatTheme_actionBarStyle
@see #AppCompatTheme_actionBarTabBarStyle
@see #AppCompatTheme_actionBarTabStyle
@see #AppCompatTheme_actionBarTabTextStyle
@see #AppCompatTheme_actionBarTheme
@see #AppCompatTheme_actionBarWidgetTheme
@see #AppCompatTheme_actionButtonStyle
@see #AppCompatTheme_actionDropDownStyle
@see #AppCompatTheme_actionMenuTextAppearance
@see #AppCompatTheme_actionMenuTextColor
@see #AppCompatTheme_actionModeBackground
@see #AppCompatTheme_actionModeCloseButtonStyle
@see #AppCompatTheme_actionModeCloseDrawable
@see #AppCompatTheme_actionModeCopyDrawable
@see #AppCompatTheme_actionModeCutDrawable
@see #AppCompatTheme_actionModeFindDrawable
@see #AppCompatTheme_actionModePasteDrawable
@see #AppCompatTheme_actionModePopupWindowStyle
@see #AppCompatTheme_actionModeSelectAllDrawable
@see #AppCompatTheme_actionModeShareDrawable
@see #AppCompatTheme_actionModeSplitBackground
@see #AppCompatTheme_actionModeStyle
@see #AppCompatTheme_actionModeWebSearchDrawable
@see #AppCompatTheme_actionOverflowButtonStyle
@see #AppCompatTheme_actionOverflowMenuStyle
@see #AppCompatTheme_activityChooserViewStyle
@see #AppCompatTheme_alertDialogButtonGroupStyle
@see #AppCompatTheme_alertDialogCenterButtons
@see #AppCompatTheme_alertDialogStyle
@see #AppCompatTheme_alertDialogTheme
@see #AppCompatTheme_android_windowAnimationStyle
@see #AppCompatTheme_android_windowIsFloating
@see #AppCompatTheme_autoCompleteTextViewStyle
@see #AppCompatTheme_borderlessButtonStyle
@see #AppCompatTheme_buttonBarButtonStyle
@see #AppCompatTheme_buttonBarNegativeButtonStyle
@see #AppCompatTheme_buttonBarNeutralButtonStyle
@see #AppCompatTheme_buttonBarPositiveButtonStyle
@see #AppCompatTheme_buttonBarStyle
@see #AppCompatTheme_buttonStyle
@see #AppCompatTheme_buttonStyleSmall
@see #AppCompatTheme_checkboxStyle
@see #AppCompatTheme_checkedTextViewStyle
@see #AppCompatTheme_colorAccent
@see #AppCompatTheme_colorButtonNormal
@see #AppCompatTheme_colorControlActivated
@see #AppCompatTheme_colorControlHighlight
@see #AppCompatTheme_colorControlNormal
@see #AppCompatTheme_colorPrimary
@see #AppCompatTheme_colorPrimaryDark
@see #AppCompatTheme_colorSwitchThumbNormal
@see #AppCompatTheme_controlBackground
@see #AppCompatTheme_dialogPreferredPadding
@see #AppCompatTheme_dialogTheme
@see #AppCompatTheme_dividerHorizontal
@see #AppCompatTheme_dividerVertical
@see #AppCompatTheme_dropDownListViewStyle
@see #AppCompatTheme_dropdownListPreferredItemHeight
@see #AppCompatTheme_editTextBackground
@see #AppCompatTheme_editTextColor
@see #AppCompatTheme_editTextStyle
@see #AppCompatTheme_homeAsUpIndicator
@see #AppCompatTheme_imageButtonStyle
@see #AppCompatTheme_listChoiceBackgroundIndicator
@see #AppCompatTheme_listDividerAlertDialog
@see #AppCompatTheme_listPopupWindowStyle
@see #AppCompatTheme_listPreferredItemHeight
@see #AppCompatTheme_listPreferredItemHeightLarge
@see #AppCompatTheme_listPreferredItemHeightSmall
@see #AppCompatTheme_listPreferredItemPaddingLeft
@see #AppCompatTheme_listPreferredItemPaddingRight
@see #AppCompatTheme_panelBackground
@see #AppCompatTheme_panelMenuListTheme
@see #AppCompatTheme_panelMenuListWidth
@see #AppCompatTheme_popupMenuStyle
@see #AppCompatTheme_popupWindowStyle
@see #AppCompatTheme_radioButtonStyle
@see #AppCompatTheme_ratingBarStyle
@see #AppCompatTheme_ratingBarStyleIndicator
@see #AppCompatTheme_ratingBarStyleSmall
@see #AppCompatTheme_searchViewStyle
@see #AppCompatTheme_seekBarStyle
@see #AppCompatTheme_selectableItemBackground
@see #AppCompatTheme_selectableItemBackgroundBorderless
@see #AppCompatTheme_spinnerDropDownItemStyle
@see #AppCompatTheme_spinnerStyle
@see #AppCompatTheme_switchStyle
@see #AppCompatTheme_textAppearanceLargePopupMenu
@see #AppCompatTheme_textAppearanceListItem
@see #AppCompatTheme_textAppearanceListItemSmall
@see #AppCompatTheme_textAppearanceSearchResultSubtitle
@see #AppCompatTheme_textAppearanceSearchResultTitle
@see #AppCompatTheme_textAppearanceSmallPopupMenu
@see #AppCompatTheme_textColorAlertDialogListItem
@see #AppCompatTheme_textColorSearchUrl
@see #AppCompatTheme_toolbarNavigationButtonStyle
@see #AppCompatTheme_toolbarStyle
@see #AppCompatTheme_windowActionBar
@see #AppCompatTheme_windowActionBarOverlay
@see #AppCompatTheme_windowActionModeOverlay
@see #AppCompatTheme_windowFixedHeightMajor
@see #AppCompatTheme_windowFixedHeightMinor
@see #AppCompatTheme_windowFixedWidthMajor
@see #AppCompatTheme_windowFixedWidthMinor
@see #AppCompatTheme_windowMinWidthMajor
@see #AppCompatTheme_windowMinWidthMinor
@see #AppCompatTheme_windowNoTitle
*/
public static final int[] AppCompatTheme = {
0x01010057, 0x010100ae, 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
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionBarDivider
*/
public static final int AppCompatTheme_actionBarDivider = 23;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionBarItemBackground
*/
public static final int AppCompatTheme_actionBarItemBackground = 24;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionBarPopupTheme
*/
public static final int AppCompatTheme_actionBarPopupTheme = 17;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionBarSize
*/
public static final int AppCompatTheme_actionBarSize = 22;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionBarSplitStyle
*/
public static final int AppCompatTheme_actionBarSplitStyle = 19;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionBarStyle
*/
public static final int AppCompatTheme_actionBarStyle = 18;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionBarTabBarStyle
*/
public static final int AppCompatTheme_actionBarTabBarStyle = 13;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionBarTabStyle
*/
public static final int AppCompatTheme_actionBarTabStyle = 12;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionBarTabTextStyle
*/
public static final int AppCompatTheme_actionBarTabTextStyle = 14;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionBarTheme
*/
public static final int AppCompatTheme_actionBarTheme = 20;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionBarWidgetTheme
*/
public static final int AppCompatTheme_actionBarWidgetTheme = 21;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionButtonStyle
*/
public static final int AppCompatTheme_actionButtonStyle = 49;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionDropDownStyle
*/
public static final int AppCompatTheme_actionDropDownStyle = 45;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionMenuTextAppearance
*/
public static final int AppCompatTheme_actionMenuTextAppearance = 25;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionMenuTextColor
*/
public static final int AppCompatTheme_actionMenuTextColor = 26;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModeBackground
*/
public static final int AppCompatTheme_actionModeBackground = 29;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModeCloseButtonStyle
*/
public static final int AppCompatTheme_actionModeCloseButtonStyle = 28;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModeCloseDrawable
*/
public static final int AppCompatTheme_actionModeCloseDrawable = 31;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModeCopyDrawable
*/
public static final int AppCompatTheme_actionModeCopyDrawable = 33;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModeCutDrawable
*/
public static final int AppCompatTheme_actionModeCutDrawable = 32;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModeFindDrawable
*/
public static final int AppCompatTheme_actionModeFindDrawable = 37;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModePasteDrawable
*/
public static final int AppCompatTheme_actionModePasteDrawable = 34;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModePopupWindowStyle
*/
public static final int AppCompatTheme_actionModePopupWindowStyle = 39;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModeSelectAllDrawable
*/
public static final int AppCompatTheme_actionModeSelectAllDrawable = 35;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModeShareDrawable
*/
public static final int AppCompatTheme_actionModeShareDrawable = 36;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModeSplitBackground
*/
public static final int AppCompatTheme_actionModeSplitBackground = 30;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModeStyle
*/
public static final int AppCompatTheme_actionModeStyle = 27;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionModeWebSearchDrawable
*/
public static final int AppCompatTheme_actionModeWebSearchDrawable = 38;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionOverflowButtonStyle
*/
public static final int AppCompatTheme_actionOverflowButtonStyle = 15;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionOverflowMenuStyle
*/
public static final int AppCompatTheme_actionOverflowMenuStyle = 16;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:activityChooserViewStyle
*/
public static final int AppCompatTheme_activityChooserViewStyle = 57;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:alertDialogButtonGroupStyle
*/
public static final int AppCompatTheme_alertDialogButtonGroupStyle = 92;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:alertDialogCenterButtons
*/
public static final int AppCompatTheme_alertDialogCenterButtons = 93;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:alertDialogStyle
*/
public static final int AppCompatTheme_alertDialogStyle = 91;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:alertDialogTheme
*/
public static final int AppCompatTheme_alertDialogTheme = 94;
/**
<p>This symbol is the offset where the {@link android.R.attr#windowAnimationStyle}
attribute's value can be found in the {@link #AppCompatTheme} array.
@attr name android:windowAnimationStyle
*/
public static 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 exercise03.Android.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 exercise03.Android:autoCompleteTextViewStyle
*/
public static final int AppCompatTheme_autoCompleteTextViewStyle = 99;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:borderlessButtonStyle
*/
public static final int AppCompatTheme_borderlessButtonStyle = 54;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:buttonBarButtonStyle
*/
public static final int AppCompatTheme_buttonBarButtonStyle = 51;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:buttonBarNegativeButtonStyle
*/
public static final int AppCompatTheme_buttonBarNegativeButtonStyle = 97;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:buttonBarNeutralButtonStyle
*/
public static final int AppCompatTheme_buttonBarNeutralButtonStyle = 98;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:buttonBarPositiveButtonStyle
*/
public static final int AppCompatTheme_buttonBarPositiveButtonStyle = 96;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:buttonBarStyle
*/
public static final int AppCompatTheme_buttonBarStyle = 50;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:buttonStyle
*/
public static final int AppCompatTheme_buttonStyle = 100;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:buttonStyleSmall
*/
public static final int AppCompatTheme_buttonStyleSmall = 101;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:checkboxStyle
*/
public static final int AppCompatTheme_checkboxStyle = 102;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:checkedTextViewStyle
*/
public static final int AppCompatTheme_checkedTextViewStyle = 103;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:colorAccent
*/
public static final int AppCompatTheme_colorAccent = 84;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:colorButtonNormal
*/
public static final int AppCompatTheme_colorButtonNormal = 88;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:colorControlActivated
*/
public static final int AppCompatTheme_colorControlActivated = 86;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:colorControlHighlight
*/
public static final int AppCompatTheme_colorControlHighlight = 87;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:colorControlNormal
*/
public static final int AppCompatTheme_colorControlNormal = 85;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:colorPrimary
*/
public static final int AppCompatTheme_colorPrimary = 82;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:colorPrimaryDark
*/
public static final int AppCompatTheme_colorPrimaryDark = 83;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:colorSwitchThumbNormal
*/
public static final int AppCompatTheme_colorSwitchThumbNormal = 89;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:controlBackground
*/
public static final int AppCompatTheme_controlBackground = 90;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:dialogPreferredPadding
*/
public static final int AppCompatTheme_dialogPreferredPadding = 43;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:dialogTheme
*/
public static final int AppCompatTheme_dialogTheme = 42;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:dividerHorizontal
*/
public static final int AppCompatTheme_dividerHorizontal = 56;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:dividerVertical
*/
public static final int AppCompatTheme_dividerVertical = 55;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:dropDownListViewStyle
*/
public static final int AppCompatTheme_dropDownListViewStyle = 74;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:dropdownListPreferredItemHeight
*/
public static final int AppCompatTheme_dropdownListPreferredItemHeight = 46;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:editTextBackground
*/
public static final int AppCompatTheme_editTextBackground = 63;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:editTextColor
*/
public static final int AppCompatTheme_editTextColor = 62;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:editTextStyle
*/
public static final int AppCompatTheme_editTextStyle = 104;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:homeAsUpIndicator
*/
public static final int AppCompatTheme_homeAsUpIndicator = 48;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:imageButtonStyle
*/
public static final int AppCompatTheme_imageButtonStyle = 64;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:listChoiceBackgroundIndicator
*/
public static final int AppCompatTheme_listChoiceBackgroundIndicator = 81;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:listDividerAlertDialog
*/
public static final int AppCompatTheme_listDividerAlertDialog = 44;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:listPopupWindowStyle
*/
public static final int AppCompatTheme_listPopupWindowStyle = 75;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:listPreferredItemHeight
*/
public static final int AppCompatTheme_listPreferredItemHeight = 69;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:listPreferredItemHeightLarge
*/
public static final int AppCompatTheme_listPreferredItemHeightLarge = 71;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:listPreferredItemHeightSmall
*/
public static final int AppCompatTheme_listPreferredItemHeightSmall = 70;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:listPreferredItemPaddingLeft
*/
public static final int AppCompatTheme_listPreferredItemPaddingLeft = 72;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:listPreferredItemPaddingRight
*/
public static final int AppCompatTheme_listPreferredItemPaddingRight = 73;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:panelBackground
*/
public static final int AppCompatTheme_panelBackground = 78;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:panelMenuListTheme
*/
public static final int AppCompatTheme_panelMenuListTheme = 80;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:panelMenuListWidth
*/
public static final int AppCompatTheme_panelMenuListWidth = 79;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:popupMenuStyle
*/
public static final int AppCompatTheme_popupMenuStyle = 60;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:popupWindowStyle
*/
public static final int AppCompatTheme_popupWindowStyle = 61;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:radioButtonStyle
*/
public static final int AppCompatTheme_radioButtonStyle = 105;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:ratingBarStyle
*/
public static final int AppCompatTheme_ratingBarStyle = 106;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:ratingBarStyleIndicator
*/
public static final int AppCompatTheme_ratingBarStyleIndicator = 107;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:ratingBarStyleSmall
*/
public static final int AppCompatTheme_ratingBarStyleSmall = 108;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:searchViewStyle
*/
public static final int AppCompatTheme_searchViewStyle = 68;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:seekBarStyle
*/
public static final int AppCompatTheme_seekBarStyle = 109;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:selectableItemBackground
*/
public static final int AppCompatTheme_selectableItemBackground = 52;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:selectableItemBackgroundBorderless
*/
public static final int AppCompatTheme_selectableItemBackgroundBorderless = 53;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:spinnerDropDownItemStyle
*/
public static final int AppCompatTheme_spinnerDropDownItemStyle = 47;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:spinnerStyle
*/
public static final int AppCompatTheme_spinnerStyle = 110;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:switchStyle
*/
public static final int AppCompatTheme_switchStyle = 111;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:textAppearanceLargePopupMenu
*/
public static final int AppCompatTheme_textAppearanceLargePopupMenu = 40;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:textAppearanceListItem
*/
public static final int AppCompatTheme_textAppearanceListItem = 76;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:textAppearanceListItemSmall
*/
public static final int AppCompatTheme_textAppearanceListItemSmall = 77;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:textAppearanceSearchResultSubtitle
*/
public static final int AppCompatTheme_textAppearanceSearchResultSubtitle = 66;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:textAppearanceSearchResultTitle
*/
public static final int AppCompatTheme_textAppearanceSearchResultTitle = 65;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:textAppearanceSmallPopupMenu
*/
public static final int AppCompatTheme_textAppearanceSmallPopupMenu = 41;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:textColorAlertDialogListItem
*/
public static final int AppCompatTheme_textColorAlertDialogListItem = 95;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:textColorSearchUrl
*/
public static final int AppCompatTheme_textColorSearchUrl = 67;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:toolbarNavigationButtonStyle
*/
public static final int AppCompatTheme_toolbarNavigationButtonStyle = 59;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:toolbarStyle
*/
public static final int AppCompatTheme_toolbarStyle = 58;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:windowActionBar
*/
public static final int AppCompatTheme_windowActionBar = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:windowActionBarOverlay
*/
public static final int AppCompatTheme_windowActionBarOverlay = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:windowActionModeOverlay
*/
public static final int AppCompatTheme_windowActionModeOverlay = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:windowFixedHeightMajor
*/
public static final int AppCompatTheme_windowFixedHeightMajor = 9;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:windowFixedHeightMinor
*/
public static final int AppCompatTheme_windowFixedHeightMinor = 7;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:windowFixedWidthMajor
*/
public static final int AppCompatTheme_windowFixedWidthMajor = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:windowFixedWidthMinor
*/
public static final int AppCompatTheme_windowFixedWidthMinor = 8;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:windowMinWidthMajor
*/
public static final int AppCompatTheme_windowMinWidthMajor = 10;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:windowMinWidthMinor
*/
public static final int AppCompatTheme_windowMinWidthMinor = 11;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:windowNoTitle
*/
public static final int AppCompatTheme_windowNoTitle = 3;
/** Attributes that can be used with a BottomSheetBehavior_Params.
<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_Params_behavior_hideable exercise03.Android:behavior_hideable}</code></td><td></td></tr>
<tr><td><code>{@link #BottomSheetBehavior_Params_behavior_peekHeight exercise03.Android:behavior_peekHeight}</code></td><td></td></tr>
</table>
@see #BottomSheetBehavior_Params_behavior_hideable
@see #BottomSheetBehavior_Params_behavior_peekHeight
*/
public static final int[] BottomSheetBehavior_Params = {
0x7f0100fa, 0x7f0100fb
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.R.attr#behavior_hideable}
attribute's value can be found in the {@link #BottomSheetBehavior_Params} 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 exercise03.Android:behavior_hideable
*/
public static final int BottomSheetBehavior_Params_behavior_hideable = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.R.attr#behavior_peekHeight}
attribute's value can be found in the {@link #BottomSheetBehavior_Params} 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 exercise03.Android:behavior_peekHeight
*/
public static final int BottomSheetBehavior_Params_behavior_peekHeight = 0;
/** 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 exercise03.Android:allowStacking}</code></td><td></td></tr>
</table>
@see #ButtonBarLayout_allowStacking
*/
public static final int[] ButtonBarLayout = {
0x7f0100ba
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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 exercise03.Android:cardBackgroundColor}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardCornerRadius exercise03.Android:cardCornerRadius}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardElevation exercise03.Android:cardElevation}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardMaxElevation exercise03.Android:cardMaxElevation}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardPreventCornerOverlap exercise03.Android:cardPreventCornerOverlap}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_cardUseCompatPadding exercise03.Android:cardUseCompatPadding}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPadding exercise03.Android:contentPadding}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPaddingBottom exercise03.Android:contentPaddingBottom}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPaddingLeft exercise03.Android:contentPaddingLeft}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPaddingRight exercise03.Android:contentPaddingRight}</code></td><td></td></tr>
<tr><td><code>{@link #CardView_contentPaddingTop exercise03.Android: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, 0x7f01001b, 0x7f01001c,
0x7f01001d, 0x7f01001e, 0x7f01001f, 0x7f010020,
0x7f010021, 0x7f010022, 0x7f010023, 0x7f010024,
0x7f010025
};
/**
<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 exercise03.Android.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 exercise03.Android:cardBackgroundColor
*/
public static final int CardView_cardBackgroundColor = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:cardCornerRadius
*/
public static final int CardView_cardCornerRadius = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:cardElevation
*/
public static final int CardView_cardElevation = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:cardMaxElevation
*/
public static final int CardView_cardMaxElevation = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:cardPreventCornerOverlap
*/
public static final int CardView_cardPreventCornerOverlap = 7;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:cardUseCompatPadding
*/
public static final int CardView_cardUseCompatPadding = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentPadding
*/
public static final int CardView_contentPadding = 8;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentPaddingBottom
*/
public static final int CardView_contentPaddingBottom = 12;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentPaddingLeft
*/
public static final int CardView_contentPaddingLeft = 9;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentPaddingRight
*/
public static final int CardView_contentPaddingRight = 10;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentPaddingTop
*/
public static final int CardView_contentPaddingTop = 11;
/** Attributes that can be used with a CollapsingAppBarLayout_LayoutParams.
<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 #CollapsingAppBarLayout_LayoutParams_layout_collapseMode exercise03.Android:layout_collapseMode}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingAppBarLayout_LayoutParams_layout_collapseParallaxMultiplier exercise03.Android:layout_collapseParallaxMultiplier}</code></td><td></td></tr>
</table>
@see #CollapsingAppBarLayout_LayoutParams_layout_collapseMode
@see #CollapsingAppBarLayout_LayoutParams_layout_collapseParallaxMultiplier
*/
public static final int[] CollapsingAppBarLayout_LayoutParams = {
0x7f0100fc, 0x7f0100fd
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.R.attr#layout_collapseMode}
attribute's value can be found in the {@link #CollapsingAppBarLayout_LayoutParams} 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 exercise03.Android:layout_collapseMode
*/
public static final int CollapsingAppBarLayout_LayoutParams_layout_collapseMode = 0;
/**
<p>This symbol is the offset where the {@link exercise03.Android.R.attr#layout_collapseParallaxMultiplier}
attribute's value can be found in the {@link #CollapsingAppBarLayout_LayoutParams} 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 exercise03.Android:layout_collapseParallaxMultiplier
*/
public static final int CollapsingAppBarLayout_LayoutParams_layout_collapseParallaxMultiplier = 1;
/** 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 exercise03.Android:collapsedTitleGravity}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_collapsedTitleTextAppearance exercise03.Android:collapsedTitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_contentScrim exercise03.Android:contentScrim}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleGravity exercise03.Android:expandedTitleGravity}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMargin exercise03.Android:expandedTitleMargin}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginBottom exercise03.Android:expandedTitleMarginBottom}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginEnd exercise03.Android:expandedTitleMarginEnd}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginStart exercise03.Android:expandedTitleMarginStart}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleMarginTop exercise03.Android:expandedTitleMarginTop}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_expandedTitleTextAppearance exercise03.Android:expandedTitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_statusBarScrim exercise03.Android:statusBarScrim}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_title exercise03.Android:title}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_titleEnabled exercise03.Android:titleEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #CollapsingToolbarLayout_toolbarId exercise03.Android: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_statusBarScrim
@see #CollapsingToolbarLayout_title
@see #CollapsingToolbarLayout_titleEnabled
@see #CollapsingToolbarLayout_toolbarId
*/
public static final int[] CollapsingToolbarLayout = {
0x7f010029, 0x7f0100fe, 0x7f0100ff, 0x7f010100,
0x7f010101, 0x7f010102, 0x7f010103, 0x7f010104,
0x7f010105, 0x7f010106, 0x7f010107, 0x7f010108,
0x7f010109, 0x7f01010a
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:collapsedTitleGravity
*/
public static final int CollapsingToolbarLayout_collapsedTitleGravity = 11;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:collapsedTitleTextAppearance
*/
public static final int CollapsingToolbarLayout_collapsedTitleTextAppearance = 7;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentScrim
*/
public static final int CollapsingToolbarLayout_contentScrim = 8;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:expandedTitleGravity
*/
public static final int CollapsingToolbarLayout_expandedTitleGravity = 12;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:expandedTitleMargin
*/
public static final int CollapsingToolbarLayout_expandedTitleMargin = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:expandedTitleMarginBottom
*/
public static final int CollapsingToolbarLayout_expandedTitleMarginBottom = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:expandedTitleMarginEnd
*/
public static final int CollapsingToolbarLayout_expandedTitleMarginEnd = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:expandedTitleMarginStart
*/
public static final int CollapsingToolbarLayout_expandedTitleMarginStart = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:expandedTitleMarginTop
*/
public static final int CollapsingToolbarLayout_expandedTitleMarginTop = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:expandedTitleTextAppearance
*/
public static final int CollapsingToolbarLayout_expandedTitleTextAppearance = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:statusBarScrim
*/
public static final int CollapsingToolbarLayout_statusBarScrim = 9;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:title
*/
public static final int CollapsingToolbarLayout_title = 0;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:titleEnabled
*/
public static final int CollapsingToolbarLayout_titleEnabled = 13;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:toolbarId
*/
public static final int CollapsingToolbarLayout_toolbarId = 10;
/** 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 exercise03.Android:buttonTint}</code></td><td></td></tr>
<tr><td><code>{@link #CompoundButton_buttonTintMode exercise03.Android:buttonTintMode}</code></td><td></td></tr>
</table>
@see #CompoundButton_android_button
@see #CompoundButton_buttonTint
@see #CompoundButton_buttonTintMode
*/
public static final int[] CompoundButton = {
0x01010107, 0x7f0100bb, 0x7f0100bc
};
/**
<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 exercise03.Android.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 exercise03.Android:buttonTint
*/
public static final int CompoundButton_buttonTint = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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 exercise03.Android:keylines}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_statusBarBackground exercise03.Android:statusBarBackground}</code></td><td></td></tr>
</table>
@see #CoordinatorLayout_keylines
@see #CoordinatorLayout_statusBarBackground
*/
public static final int[] CoordinatorLayout = {
0x7f01010b, 0x7f01010c
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:keylines
*/
public static final int CoordinatorLayout_keylines = 0;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:statusBarBackground
*/
public static final int CoordinatorLayout_statusBarBackground = 1;
/** Attributes that can be used with a CoordinatorLayout_LayoutParams.
<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_LayoutParams_android_layout_gravity android:layout_gravity}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_LayoutParams_layout_anchor exercise03.Android:layout_anchor}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_LayoutParams_layout_anchorGravity exercise03.Android:layout_anchorGravity}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_LayoutParams_layout_behavior exercise03.Android:layout_behavior}</code></td><td></td></tr>
<tr><td><code>{@link #CoordinatorLayout_LayoutParams_layout_keyline exercise03.Android:layout_keyline}</code></td><td></td></tr>
</table>
@see #CoordinatorLayout_LayoutParams_android_layout_gravity
@see #CoordinatorLayout_LayoutParams_layout_anchor
@see #CoordinatorLayout_LayoutParams_layout_anchorGravity
@see #CoordinatorLayout_LayoutParams_layout_behavior
@see #CoordinatorLayout_LayoutParams_layout_keyline
*/
public static final int[] CoordinatorLayout_LayoutParams = {
0x010100b3, 0x7f01010d, 0x7f01010e, 0x7f01010f,
0x7f010110
};
/**
<p>This symbol is the offset where the {@link android.R.attr#layout_gravity}
attribute's value can be found in the {@link #CoordinatorLayout_LayoutParams} array.
@attr name android:layout_gravity
*/
public static final int CoordinatorLayout_LayoutParams_android_layout_gravity = 0;
/**
<p>This symbol is the offset where the {@link exercise03.Android.R.attr#layout_anchor}
attribute's value can be found in the {@link #CoordinatorLayout_LayoutParams} array.
<p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>"
or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>".
@attr name exercise03.Android:layout_anchor
*/
public static final int CoordinatorLayout_LayoutParams_layout_anchor = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.R.attr#layout_anchorGravity}
attribute's value can be found in the {@link #CoordinatorLayout_LayoutParams} 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 exercise03.Android:layout_anchorGravity
*/
public static final int CoordinatorLayout_LayoutParams_layout_anchorGravity = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.R.attr#layout_behavior}
attribute's value can be found in the {@link #CoordinatorLayout_LayoutParams} 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 exercise03.Android:layout_behavior
*/
public static final int CoordinatorLayout_LayoutParams_layout_behavior = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.R.attr#layout_keyline}
attribute's value can be found in the {@link #CoordinatorLayout_LayoutParams} 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 exercise03.Android:layout_keyline
*/
public static final int CoordinatorLayout_LayoutParams_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 exercise03.Android:bottomSheetDialogTheme}</code></td><td></td></tr>
<tr><td><code>{@link #DesignTheme_bottomSheetStyle exercise03.Android:bottomSheetStyle}</code></td><td></td></tr>
<tr><td><code>{@link #DesignTheme_textColorError exercise03.Android:textColorError}</code></td><td></td></tr>
</table>
@see #DesignTheme_bottomSheetDialogTheme
@see #DesignTheme_bottomSheetStyle
@see #DesignTheme_textColorError
*/
public static final int[] DesignTheme = {
0x7f010111, 0x7f010112, 0x7f010113
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:bottomSheetDialogTheme
*/
public static final int DesignTheme_bottomSheetDialogTheme = 0;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:bottomSheetStyle
*/
public static final int DesignTheme_bottomSheetStyle = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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 exercise03.Android:arrowHeadLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_arrowShaftLength exercise03.Android:arrowShaftLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_barLength exercise03.Android:barLength}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_color exercise03.Android:color}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_drawableSize exercise03.Android:drawableSize}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_gapBetweenBars exercise03.Android:gapBetweenBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_spinBars exercise03.Android:spinBars}</code></td><td></td></tr>
<tr><td><code>{@link #DrawerArrowToggle_thickness exercise03.Android: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 = {
0x7f0100bd, 0x7f0100be, 0x7f0100bf, 0x7f0100c0,
0x7f0100c1, 0x7f0100c2, 0x7f0100c3, 0x7f0100c4
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:arrowHeadLength
*/
public static final int DrawerArrowToggle_arrowHeadLength = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:arrowShaftLength
*/
public static final int DrawerArrowToggle_arrowShaftLength = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:barLength
*/
public static final int DrawerArrowToggle_barLength = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:color
*/
public static final int DrawerArrowToggle_color = 0;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:drawableSize
*/
public static final int DrawerArrowToggle_drawableSize = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:gapBetweenBars
*/
public static final int DrawerArrowToggle_gapBetweenBars = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:spinBars
*/
public static final int DrawerArrowToggle_spinBars = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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 exercise03.Android:backgroundTint}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_backgroundTintMode exercise03.Android:backgroundTintMode}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_borderWidth exercise03.Android:borderWidth}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_elevation exercise03.Android:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_fabSize exercise03.Android:fabSize}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_pressedTranslationZ exercise03.Android:pressedTranslationZ}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_rippleColor exercise03.Android:rippleColor}</code></td><td></td></tr>
<tr><td><code>{@link #FloatingActionButton_useCompatPadding exercise03.Android: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 = {
0x7f010040, 0x7f0100f5, 0x7f0100f6, 0x7f010114,
0x7f010115, 0x7f010116, 0x7f010117, 0x7f010118
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:backgroundTint
*/
public static final int FloatingActionButton_backgroundTint = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:backgroundTintMode
*/
public static final int FloatingActionButton_backgroundTintMode = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:borderWidth
*/
public static final int FloatingActionButton_borderWidth = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:elevation
*/
public static final int FloatingActionButton_elevation = 0;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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>normal</code></td><td>0</td><td></td></tr>
<tr><td><code>mini</code></td><td>1</td><td></td></tr>
</table>
@attr name exercise03.Android:fabSize
*/
public static final int FloatingActionButton_fabSize = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:pressedTranslationZ
*/
public static final int FloatingActionButton_pressedTranslationZ = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:rippleColor
*/
public static final int FloatingActionButton_rippleColor = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:useCompatPadding
*/
public static final int FloatingActionButton_useCompatPadding = 7;
/** 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 exercise03.Android: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, 0x7f010119
};
/**
<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 exercise03.Android.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 exercise03.Android: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 exercise03.Android:divider}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_dividerPadding exercise03.Android:dividerPadding}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_measureWithLargestChild exercise03.Android:measureWithLargestChild}</code></td><td></td></tr>
<tr><td><code>{@link #LinearLayoutCompat_showDividers exercise03.Android: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, 0x7f010031, 0x7f0100c5, 0x7f0100c6,
0x7f0100c7
};
/**
<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 exercise03.Android.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 exercise03.Android:divider
*/
public static final int LinearLayoutCompat_divider = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:dividerPadding
*/
public static final int LinearLayoutCompat_dividerPadding = 8;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:measureWithLargestChild
*/
public static final int LinearLayoutCompat_measureWithLargestChild = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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_externalRouteEnabledDrawable exercise03.Android:externalRouteEnabledDrawable}</code></td><td></td></tr>
</table>
@see #MediaRouteButton_android_minHeight
@see #MediaRouteButton_android_minWidth
@see #MediaRouteButton_externalRouteEnabledDrawable
*/
public static final int[] MediaRouteButton = {
0x0101013f, 0x01010140, 0x7f01001a
};
/**
<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 exercise03.Android.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 exercise03.Android: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 exercise03.Android:actionLayout}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionProviderClass exercise03.Android:actionProviderClass}</code></td><td></td></tr>
<tr><td><code>{@link #MenuItem_actionViewClass exercise03.Android: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 exercise03.Android: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, 0x7f0100c8, 0x7f0100c9, 0x7f0100ca,
0x7f0100cb
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionLayout
*/
public static final int MenuItem_actionLayout = 14;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:actionProviderClass
*/
public static final int MenuItem_actionProviderClass = 16;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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 exercise03.Android.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 exercise03.Android: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 exercise03.Android:preserveIconSpacing}</code></td><td></td></tr>
</table>
@see #MenuView_android_headerBackground
@see #MenuView_android_horizontalDivider
@see #MenuView_android_itemBackground
@see #MenuView_android_itemIconDisabledAlpha
@see #MenuView_android_itemTextAppearance
@see #MenuView_android_verticalDivider
@see #MenuView_android_windowAnimationStyle
@see #MenuView_preserveIconSpacing
*/
public static final int[] MenuView = {
0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e,
0x0101012f, 0x01010130, 0x01010131, 0x7f0100cc
};
/**
<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 exercise03.Android.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 exercise03.Android:preserveIconSpacing
*/
public static final int MenuView_preserveIconSpacing = 7;
/** 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 exercise03.Android:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_headerLayout exercise03.Android:headerLayout}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_itemBackground exercise03.Android:itemBackground}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_itemIconTint exercise03.Android:itemIconTint}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_itemTextAppearance exercise03.Android:itemTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_itemTextColor exercise03.Android:itemTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #NavigationView_menu exercise03.Android: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, 0x7f010040,
0x7f01011a, 0x7f01011b, 0x7f01011c, 0x7f01011d,
0x7f01011e, 0x7f01011f
};
/**
<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 exercise03.Android.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 exercise03.Android:elevation
*/
public static final int NavigationView_elevation = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:headerLayout
*/
public static final int NavigationView_headerLayout = 9;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:itemBackground
*/
public static final int NavigationView_itemBackground = 7;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:itemIconTint
*/
public static final int NavigationView_itemIconTint = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:itemTextAppearance
*/
public static final int NavigationView_itemTextAppearance = 8;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:itemTextColor
*/
public static final int NavigationView_itemTextColor = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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_popupBackground android:popupBackground}</code></td><td></td></tr>
<tr><td><code>{@link #PopupWindow_overlapAnchor exercise03.Android:overlapAnchor}</code></td><td></td></tr>
</table>
@see #PopupWindow_android_popupBackground
@see #PopupWindow_overlapAnchor
*/
public static final int[] PopupWindow = {
0x01010176, 0x7f0100cd
};
/**
<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 exercise03.Android.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 exercise03.Android:overlapAnchor
*/
public static final int PopupWindow_overlapAnchor = 1;
/** Attributes that can be used with a PopupWindowBackgroundState.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #PopupWindowBackgroundState_state_above_anchor exercise03.Android:state_above_anchor}</code></td><td></td></tr>
</table>
@see #PopupWindowBackgroundState_state_above_anchor
*/
public static final int[] PopupWindowBackgroundState = {
0x7f0100ce
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:state_above_anchor
*/
public static final int PopupWindowBackgroundState_state_above_anchor = 0;
/** Attributes that can be used with a RecyclerView.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #RecyclerView_android_orientation android:orientation}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_layoutManager exercise03.Android:layoutManager}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_reverseLayout exercise03.Android:reverseLayout}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_spanCount exercise03.Android:spanCount}</code></td><td></td></tr>
<tr><td><code>{@link #RecyclerView_stackFromEnd exercise03.Android:stackFromEnd}</code></td><td></td></tr>
</table>
@see #RecyclerView_android_orientation
@see #RecyclerView_layoutManager
@see #RecyclerView_reverseLayout
@see #RecyclerView_spanCount
@see #RecyclerView_stackFromEnd
*/
public static final int[] RecyclerView = {
0x010100c4, 0x7f010000, 0x7f010001, 0x7f010002,
0x7f010003
};
/**
<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 exercise03.Android.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 exercise03.Android:layoutManager
*/
public static final int RecyclerView_layoutManager = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:reverseLayout
*/
public static final int RecyclerView_reverseLayout = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:spanCount
*/
public static final int RecyclerView_spanCount = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:stackFromEnd
*/
public static final int RecyclerView_stackFromEnd = 4;
/** 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 exercise03.Android:insetForeground}</code></td><td></td></tr>
</table>
@see #ScrimInsetsFrameLayout_insetForeground
*/
public static final int[] ScrimInsetsFrameLayout = {
0x7f010120
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:insetForeground
*/
public static final int ScrimInsetsFrameLayout_insetForeground = 0;
/** Attributes that can be used with a ScrollingViewBehavior_Params.
<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_Params_behavior_overlapTop exercise03.Android:behavior_overlapTop}</code></td><td></td></tr>
</table>
@see #ScrollingViewBehavior_Params_behavior_overlapTop
*/
public static final int[] ScrollingViewBehavior_Params = {
0x7f010121
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.R.attr#behavior_overlapTop}
attribute's value can be found in the {@link #ScrollingViewBehavior_Params} 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 exercise03.Android:behavior_overlapTop
*/
public static final int ScrollingViewBehavior_Params_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 exercise03.Android:closeIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_commitIcon exercise03.Android:commitIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_defaultQueryHint exercise03.Android:defaultQueryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_goIcon exercise03.Android:goIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_iconifiedByDefault exercise03.Android:iconifiedByDefault}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_layout exercise03.Android:layout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryBackground exercise03.Android:queryBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_queryHint exercise03.Android:queryHint}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchHintIcon exercise03.Android:searchHintIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_searchIcon exercise03.Android:searchIcon}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_submitBackground exercise03.Android:submitBackground}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_suggestionRowLayout exercise03.Android:suggestionRowLayout}</code></td><td></td></tr>
<tr><td><code>{@link #SearchView_voiceIcon exercise03.Android: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,
0x7f0100cf, 0x7f0100d0, 0x7f0100d1, 0x7f0100d2,
0x7f0100d3, 0x7f0100d4, 0x7f0100d5, 0x7f0100d6,
0x7f0100d7, 0x7f0100d8, 0x7f0100d9, 0x7f0100da,
0x7f0100db
};
/**
<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 exercise03.Android.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 exercise03.Android:closeIcon
*/
public static final int SearchView_closeIcon = 8;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:commitIcon
*/
public static final int SearchView_commitIcon = 13;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:defaultQueryHint
*/
public static final int SearchView_defaultQueryHint = 7;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:goIcon
*/
public static final int SearchView_goIcon = 9;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:iconifiedByDefault
*/
public static final int SearchView_iconifiedByDefault = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:layout
*/
public static final int SearchView_layout = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:queryBackground
*/
public static final int SearchView_queryBackground = 15;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:queryHint
*/
public static final int SearchView_queryHint = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:searchHintIcon
*/
public static final int SearchView_searchHintIcon = 11;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:searchIcon
*/
public static final int SearchView_searchIcon = 10;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:submitBackground
*/
public static final int SearchView_submitBackground = 16;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:suggestionRowLayout
*/
public static final int SearchView_suggestionRowLayout = 14;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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 exercise03.Android:elevation}</code></td><td></td></tr>
<tr><td><code>{@link #SnackbarLayout_maxActionInlineWidth exercise03.Android:maxActionInlineWidth}</code></td><td></td></tr>
</table>
@see #SnackbarLayout_android_maxWidth
@see #SnackbarLayout_elevation
@see #SnackbarLayout_maxActionInlineWidth
*/
public static final int[] SnackbarLayout = {
0x0101011f, 0x7f010040, 0x7f010122
};
/**
<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 exercise03.Android.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 exercise03.Android:elevation
*/
public static final int SnackbarLayout_elevation = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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 exercise03.Android: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,
0x7f010041
};
/**
<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 exercise03.Android.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 exercise03.Android: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 exercise03.Android:showText}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_splitTrack exercise03.Android:splitTrack}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchMinWidth exercise03.Android:switchMinWidth}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchPadding exercise03.Android:switchPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_switchTextAppearance exercise03.Android:switchTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_thumbTextPadding exercise03.Android:thumbTextPadding}</code></td><td></td></tr>
<tr><td><code>{@link #SwitchCompat_track exercise03.Android:track}</code></td><td></td></tr>
</table>
@see #SwitchCompat_android_textOff
@see #SwitchCompat_android_textOn
@see #SwitchCompat_android_thumb
@see #SwitchCompat_showText
@see #SwitchCompat_splitTrack
@see #SwitchCompat_switchMinWidth
@see #SwitchCompat_switchPadding
@see #SwitchCompat_switchTextAppearance
@see #SwitchCompat_thumbTextPadding
@see #SwitchCompat_track
*/
public static final int[] SwitchCompat = {
0x01010124, 0x01010125, 0x01010142, 0x7f0100dc,
0x7f0100dd, 0x7f0100de, 0x7f0100df, 0x7f0100e0,
0x7f0100e1, 0x7f0100e2
};
/**
<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 exercise03.Android.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 exercise03.Android:showText
*/
public static final int SwitchCompat_showText = 9;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:splitTrack
*/
public static final int SwitchCompat_splitTrack = 8;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:switchMinWidth
*/
public static final int SwitchCompat_switchMinWidth = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:switchPadding
*/
public static final int SwitchCompat_switchPadding = 7;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:switchTextAppearance
*/
public static final int SwitchCompat_switchTextAppearance = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:thumbTextPadding
*/
public static final int SwitchCompat_thumbTextPadding = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:track
*/
public static final int SwitchCompat_track = 3;
/** 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 exercise03.Android:tabBackground}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabContentStart exercise03.Android:tabContentStart}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabGravity exercise03.Android:tabGravity}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabIndicatorColor exercise03.Android:tabIndicatorColor}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabIndicatorHeight exercise03.Android:tabIndicatorHeight}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabMaxWidth exercise03.Android:tabMaxWidth}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabMinWidth exercise03.Android:tabMinWidth}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabMode exercise03.Android:tabMode}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPadding exercise03.Android:tabPadding}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPaddingBottom exercise03.Android:tabPaddingBottom}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPaddingEnd exercise03.Android:tabPaddingEnd}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPaddingStart exercise03.Android:tabPaddingStart}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabPaddingTop exercise03.Android:tabPaddingTop}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabSelectedTextColor exercise03.Android:tabSelectedTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabTextAppearance exercise03.Android:tabTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TabLayout_tabTextColor exercise03.Android: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 = {
0x7f010123, 0x7f010124, 0x7f010125, 0x7f010126,
0x7f010127, 0x7f010128, 0x7f010129, 0x7f01012a,
0x7f01012b, 0x7f01012c, 0x7f01012d, 0x7f01012e,
0x7f01012f, 0x7f010130, 0x7f010131, 0x7f010132
};
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabBackground
*/
public static final int TabLayout_tabBackground = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabContentStart
*/
public static final int TabLayout_tabContentStart = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabGravity
*/
public static final int TabLayout_tabGravity = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabIndicatorColor
*/
public static final int TabLayout_tabIndicatorColor = 0;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabIndicatorHeight
*/
public static final int TabLayout_tabIndicatorHeight = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabMaxWidth
*/
public static final int TabLayout_tabMaxWidth = 7;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabMinWidth
*/
public static final int TabLayout_tabMinWidth = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabMode
*/
public static final int TabLayout_tabMode = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabPadding
*/
public static final int TabLayout_tabPadding = 15;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabPaddingBottom
*/
public static final int TabLayout_tabPaddingBottom = 14;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabPaddingEnd
*/
public static final int TabLayout_tabPaddingEnd = 13;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabPaddingStart
*/
public static final int TabLayout_tabPaddingStart = 11;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabPaddingTop
*/
public static final int TabLayout_tabPaddingTop = 12;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabSelectedTextColor
*/
public static final int TabLayout_tabSelectedTextColor = 10;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:tabTextAppearance
*/
public static final int TabLayout_tabTextAppearance = 8;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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_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 exercise03.Android:textAllCaps}</code></td><td></td></tr>
</table>
@see #TextAppearance_android_shadowColor
@see #TextAppearance_android_shadowDx
@see #TextAppearance_android_shadowDy
@see #TextAppearance_android_shadowRadius
@see #TextAppearance_android_textColor
@see #TextAppearance_android_textSize
@see #TextAppearance_android_textStyle
@see #TextAppearance_android_typeface
@see #TextAppearance_textAllCaps
*/
public static final int[] TextAppearance = {
0x01010095, 0x01010096, 0x01010097, 0x01010098,
0x01010161, 0x01010162, 0x01010163, 0x01010164,
0x7f01004b
};
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowColor}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowColor
*/
public static final int TextAppearance_android_shadowColor = 4;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDx}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowDx
*/
public static final int TextAppearance_android_shadowDx = 5;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowDy}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowDy
*/
public static final int TextAppearance_android_shadowDy = 6;
/**
<p>This symbol is the offset where the {@link android.R.attr#shadowRadius}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:shadowRadius
*/
public static final int TextAppearance_android_shadowRadius = 7;
/**
<p>This symbol is the offset where the {@link android.R.attr#textColor}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textColor
*/
public static final int TextAppearance_android_textColor = 3;
/**
<p>This symbol is the offset where the {@link android.R.attr#textSize}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textSize
*/
public static final int TextAppearance_android_textSize = 0;
/**
<p>This symbol is the offset where the {@link android.R.attr#textStyle}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:textStyle
*/
public static final int TextAppearance_android_textStyle = 2;
/**
<p>This symbol is the offset where the {@link android.R.attr#typeface}
attribute's value can be found in the {@link #TextAppearance} array.
@attr name android:typeface
*/
public static final int TextAppearance_android_typeface = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:textAllCaps
*/
public static final int TextAppearance_textAllCaps = 8;
/** 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 exercise03.Android:counterEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_counterMaxLength exercise03.Android:counterMaxLength}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_counterOverflowTextAppearance exercise03.Android:counterOverflowTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_counterTextAppearance exercise03.Android:counterTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_errorEnabled exercise03.Android:errorEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_errorTextAppearance exercise03.Android:errorTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_hintAnimationEnabled exercise03.Android:hintAnimationEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_hintEnabled exercise03.Android:hintEnabled}</code></td><td></td></tr>
<tr><td><code>{@link #TextInputLayout_hintTextAppearance exercise03.Android:hintTextAppearance}</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
*/
public static final int[] TextInputLayout = {
0x0101009a, 0x01010150, 0x7f010133, 0x7f010134,
0x7f010135, 0x7f010136, 0x7f010137, 0x7f010138,
0x7f010139, 0x7f01013a, 0x7f01013b
};
/**
<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 exercise03.Android.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 exercise03.Android:counterEnabled
*/
public static final int TextInputLayout_counterEnabled = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:counterMaxLength
*/
public static final int TextInputLayout_counterMaxLength = 7;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:counterOverflowTextAppearance
*/
public static final int TextInputLayout_counterOverflowTextAppearance = 9;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:counterTextAppearance
*/
public static final int TextInputLayout_counterTextAppearance = 8;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:errorEnabled
*/
public static final int TextInputLayout_errorEnabled = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:errorTextAppearance
*/
public static final int TextInputLayout_errorTextAppearance = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:hintAnimationEnabled
*/
public static final int TextInputLayout_hintAnimationEnabled = 10;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:hintEnabled
*/
public static final int TextInputLayout_hintEnabled = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:hintTextAppearance
*/
public static final int TextInputLayout_hintTextAppearance = 2;
/** Attributes that can be used with a Toolbar.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #Toolbar_android_gravity android:gravity}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_android_minHeight android:minHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseContentDescription exercise03.Android:collapseContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_collapseIcon exercise03.Android:collapseIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetEnd exercise03.Android:contentInsetEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetLeft exercise03.Android:contentInsetLeft}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetRight exercise03.Android:contentInsetRight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_contentInsetStart exercise03.Android:contentInsetStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_logo exercise03.Android:logo}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_logoDescription exercise03.Android:logoDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_maxButtonHeight exercise03.Android:maxButtonHeight}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationContentDescription exercise03.Android:navigationContentDescription}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_navigationIcon exercise03.Android:navigationIcon}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_popupTheme exercise03.Android:popupTheme}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitle exercise03.Android:subtitle}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextAppearance exercise03.Android:subtitleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_subtitleTextColor exercise03.Android:subtitleTextColor}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_title exercise03.Android:title}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginBottom exercise03.Android:titleMarginBottom}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginEnd exercise03.Android:titleMarginEnd}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginStart exercise03.Android:titleMarginStart}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMarginTop exercise03.Android:titleMarginTop}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleMargins exercise03.Android:titleMargins}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextAppearance exercise03.Android:titleTextAppearance}</code></td><td></td></tr>
<tr><td><code>{@link #Toolbar_titleTextColor exercise03.Android:titleTextColor}</code></td><td></td></tr>
</table>
@see #Toolbar_android_gravity
@see #Toolbar_android_minHeight
@see #Toolbar_collapseContentDescription
@see #Toolbar_collapseIcon
@see #Toolbar_contentInsetEnd
@see #Toolbar_contentInsetLeft
@see #Toolbar_contentInsetRight
@see #Toolbar_contentInsetStart
@see #Toolbar_logo
@see #Toolbar_logoDescription
@see #Toolbar_maxButtonHeight
@see #Toolbar_navigationContentDescription
@see #Toolbar_navigationIcon
@see #Toolbar_popupTheme
@see #Toolbar_subtitle
@see #Toolbar_subtitleTextAppearance
@see #Toolbar_subtitleTextColor
@see #Toolbar_title
@see #Toolbar_titleMarginBottom
@see #Toolbar_titleMarginEnd
@see #Toolbar_titleMarginStart
@see #Toolbar_titleMarginTop
@see #Toolbar_titleMargins
@see #Toolbar_titleTextAppearance
@see #Toolbar_titleTextColor
*/
public static final int[] Toolbar = {
0x010100af, 0x01010140, 0x7f010029, 0x7f01002c,
0x7f010030, 0x7f01003c, 0x7f01003d, 0x7f01003e,
0x7f01003f, 0x7f010041, 0x7f0100e3, 0x7f0100e4,
0x7f0100e5, 0x7f0100e6, 0x7f0100e7, 0x7f0100e8,
0x7f0100e9, 0x7f0100ea, 0x7f0100eb, 0x7f0100ec,
0x7f0100ed, 0x7f0100ee, 0x7f0100ef, 0x7f0100f0,
0x7f0100f1
};
/**
<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 exercise03.Android.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 exercise03.Android:collapseContentDescription
*/
public static final int Toolbar_collapseContentDescription = 19;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:collapseIcon
*/
public static final int Toolbar_collapseIcon = 18;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentInsetEnd
*/
public static final int Toolbar_contentInsetEnd = 6;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentInsetLeft
*/
public static final int Toolbar_contentInsetLeft = 7;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentInsetRight
*/
public static final int Toolbar_contentInsetRight = 8;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:contentInsetStart
*/
public static final int Toolbar_contentInsetStart = 5;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:logo
*/
public static final int Toolbar_logo = 4;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:logoDescription
*/
public static final int Toolbar_logoDescription = 22;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:maxButtonHeight
*/
public static final int Toolbar_maxButtonHeight = 17;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:navigationContentDescription
*/
public static final int Toolbar_navigationContentDescription = 21;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:navigationIcon
*/
public static final int Toolbar_navigationIcon = 20;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:popupTheme
*/
public static final int Toolbar_popupTheme = 9;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:subtitle
*/
public static final int Toolbar_subtitle = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:subtitleTextAppearance
*/
public static final int Toolbar_subtitleTextAppearance = 11;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:subtitleTextColor
*/
public static final int Toolbar_subtitleTextColor = 24;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:title
*/
public static final int Toolbar_title = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:titleMarginBottom
*/
public static final int Toolbar_titleMarginBottom = 16;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:titleMarginEnd
*/
public static final int Toolbar_titleMarginEnd = 14;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:titleMarginStart
*/
public static final int Toolbar_titleMarginStart = 13;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:titleMarginTop
*/
public static final int Toolbar_titleMarginTop = 15;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:titleMargins
*/
public static final int Toolbar_titleMargins = 12;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:titleTextAppearance
*/
public static final int Toolbar_titleTextAppearance = 10;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:titleTextColor
*/
public static final int Toolbar_titleTextColor = 23;
/** Attributes that can be used with a View.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
<colgroup align="left" />
<tr><th>Attribute</th><th>Description</th></tr>
<tr><td><code>{@link #View_android_focusable android:focusable}</code></td><td></td></tr>
<tr><td><code>{@link #View_android_theme android:theme}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingEnd exercise03.Android:paddingEnd}</code></td><td></td></tr>
<tr><td><code>{@link #View_paddingStart exercise03.Android:paddingStart}</code></td><td></td></tr>
<tr><td><code>{@link #View_theme exercise03.Android: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, 0x7f0100f2, 0x7f0100f3,
0x7f0100f4
};
/**
<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 exercise03.Android.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 exercise03.Android:paddingEnd
*/
public static final int View_paddingEnd = 3;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android:paddingStart
*/
public static final int View_paddingStart = 2;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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 exercise03.Android:backgroundTint}</code></td><td></td></tr>
<tr><td><code>{@link #ViewBackgroundHelper_backgroundTintMode exercise03.Android:backgroundTintMode}</code></td><td></td></tr>
</table>
@see #ViewBackgroundHelper_android_background
@see #ViewBackgroundHelper_backgroundTint
@see #ViewBackgroundHelper_backgroundTintMode
*/
public static final int[] ViewBackgroundHelper = {
0x010100d4, 0x7f0100f5, 0x7f0100f6
};
/**
<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 exercise03.Android.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 exercise03.Android:backgroundTint
*/
public static final int ViewBackgroundHelper_backgroundTint = 1;
/**
<p>This symbol is the offset where the {@link exercise03.Android.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 exercise03.Android: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;
};
}
| [
"alejandrocastro@gmx.es"
] | alejandrocastro@gmx.es |
2a7390762cf595567ad6c62a49c229d057ec6cb9 | db7538d9a60634618b691c06cb663809fc3530c4 | /dsf-fhir/dsf-fhir-server/src/main/java/org/highmed/dsf/fhir/service/SnapshotInfo.java | 81f2b7881281653f13dbc45f77b3f6cc8ef873a3 | [
"Apache-2.0"
] | permissive | SevKohler/highmed-dsf | 474cdc8504bdd0649a46e00e026698fcc55e7e8b | 6ddaaca95f085ac7c34986f1034f46f9d1189472 | refs/heads/master | 2020-07-27T08:03:53.128072 | 2019-09-17T12:40:17 | 2019-09-17T12:40:17 | 209,023,673 | 0 | 0 | Apache-2.0 | 2019-09-17T10:20:49 | 2019-09-17T10:20:49 | null | UTF-8 | Java | false | false | 467 | java | package org.highmed.dsf.fhir.service;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class SnapshotInfo
{
private final SnapshotDependencies dependencies;
@JsonCreator
public SnapshotInfo(@JsonProperty("dependencies") SnapshotDependencies dependencies)
{
this.dependencies = dependencies;
}
public SnapshotDependencies getDependencies()
{
return dependencies;
}
}
| [
"hauke.hund@hs-heilbronn.de"
] | hauke.hund@hs-heilbronn.de |
3a6db760064ef6c0aec13a3156aaddf07e2c0607 | 2f2bcace813d2b5b7ae9a482152e7748f3f1e4b8 | /app/src/main/java/com/ags/financemanager/controller/TipoDespesaControllerImpl.java | 993cb9f473cc25894d96abdc487299538166e510 | [] | no_license | Acastelo/financeManager | 52887c5838aebb489347937f2b0a5f3e22f55926 | 034595a36b31c6fe11ae44867159636b1fad0fd0 | refs/heads/master | 2020-12-11T07:52:09.546179 | 2016-12-26T15:53:45 | 2016-12-26T15:53:45 | 68,725,248 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,294 | java | package com.ags.financemanager.controller;
import com.ags.financemanager.controller.exception.ControllerException;
import com.ags.financemanager.controller.helper.ExceptionHelper;
import com.ags.financemanager.model.bean.TipoDespesa;
import com.ags.financemanager.model.dao.TipoDespesaDAO;
import java.util.List;
/**
* Created by Max on 04/10/2016.
*/
public class TipoDespesaControllerImpl extends BaseControllerImpl<TipoDespesa> implements TipoDespesaController {
private TipoDespesaDAO tipoDespesaDAO;
private ExceptionHelper exceptionHelper;
public TipoDespesaControllerImpl(TipoDespesaDAO tipoDespesaDAO) {
this.tipoDespesaDAO = tipoDespesaDAO;
this.exceptionHelper = new ExceptionHelper();
}
@Override
public List<TipoDespesa> getTodos() {
try {
validarDAO();
List<TipoDespesa> tiposDespesa = tipoDespesaDAO.getTodos();
return tiposDespesa;
} catch (Exception e) {
if (e instanceof ControllerException)
throw e;
throw exceptionHelper.getNewConsultarControllerException(e);
}
}
private void validarDAO() {
if (tipoDespesaDAO == null)
throw new NullPointerException("TipoDespesaDAO está nulo.");
}
}
| [
"maxwilkson@hotmail.com"
] | maxwilkson@hotmail.com |
2e748c7923d971feef55a4de05f2ff928fe39f1d | 8963924703e2c707570f8e6f78c8c6ffa5bec049 | /src/entities/Projeto.java | 47704167291918223f2bd5828cf2dd05613bc4db | [] | no_license | danielsm/Manager | 42f9f315a4719fea56ac2e62219e8b2455b31dc2 | 56e6a170fd20d6f06e7e3ecec5ac0a0cef032a0d | refs/heads/master | 2021-03-16T06:51:34.035959 | 2016-09-19T21:35:09 | 2016-09-19T21:35:09 | 68,299,128 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 687 | java | package entities;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="projeto")
public class Projeto {
@Id
@Column(name="nome")
private String nome;
@Column(name="duracao")
private long duracao;
public Projeto() {
// TODO Auto-generated constructor stub
}
public Projeto(String nome, long dur){
this.nome = nome;
this.duracao = dur;
}
public String getNome() {
return nome;
}
public void setNome(String nome) {
this.nome = nome;
}
public long getDuracao() {
return duracao;
}
public void setDuracao(long duracao) {
this.duracao = duracao;
}
}
| [
"daniel@laws.deinf.ufma.br"
] | daniel@laws.deinf.ufma.br |
83a2c28b3950bbdbde76bb1b3c65d584e848ba2c | 6523f7b62390477ce5025428e55191fd40c5f951 | /Java/Practice/Rentables/src/ca/nscc/Outhouse.java | 52bb87e45c8c61cbab7113f266438c0ec1ec85ac | [] | no_license | EmonMajumder/All-Code | 28288ec4f84b35e2edf93ae3d3f43f06da40676c | 77d2313898e8c4875c00689eb6f8ab55fdf62567 | refs/heads/master | 2023-01-11T00:53:11.959483 | 2020-07-28T03:07:28 | 2020-07-28T03:07:28 | 210,633,751 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 89 | java | package ca.nscc;
public class Outhouse extends Building {
public int numofHoles;
}
| [
"43067648+EmonMajumder@users.noreply.github.com"
] | 43067648+EmonMajumder@users.noreply.github.com |
01976a7560093f3e3e71266ed7e2e91f0b7936ef | 0ddde9f36f00910d074a5db40d7d4e802edf5c70 | /src/java_20200525/ThrowsDemo.java | c79018b81996b5ebb8c9f5a63b69051a5a45b1de | [] | no_license | ehdwn0730/Java_Fundamental | 186975ea36f587df59e337e77924876e33b745c2 | fbe371e3346ad2ff23fadf5d971da71aa95b07d2 | refs/heads/master | 2022-11-07T11:11:45.115784 | 2020-06-08T08:39:53 | 2020-06-08T08:39:53 | 263,535,618 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 917 | java | package java_20200525;
public class ThrowsDemo {
public static int getDivide(int first, int second)
throws ArithmeticException {
int result = first / second; //예외가 발생하는 코드
return result;
}
public static void main(String[] args) {
try {
int first = Integer.parseInt(args[0]); //예외가 발생하는 코드
int second = Integer.parseInt(args[1]); //예외가 발생하는 코드
int result = getDivide(first, second);
System.out.printf("결과 : %d%n", result);
} catch (ArrayIndexOutOfBoundsException e) {
System.err.println("인자를 2개 입력하셔야 합니다.");
} catch (NumberFormatException e) {
System.err.println("인자에는 숫자를 넣어야 합니다.");
}catch(ArithmeticException e) {
System.out.println("0으로 나눌 수 없습니다.");
}finally {
System.out.println("finally");
}
System.out.println("끝");
}
}
| [
"ehdwn0730@hbilab.org"
] | ehdwn0730@hbilab.org |
f8b460963cc4919924042dd8417bfa25f185fefa | cb65711038f023e471f6bd5336a007e2d5120f91 | /src/Test.java | a93bd60f72fbb7095251762f1039d7e333ac92fd | [] | no_license | 1773860218/test | 3f0adbcf0cd75fa5433d8881de5ce35ae0b67bd6 | 7d1931ce7a33a5eee0ca259e0bb5823035c7a677 | refs/heads/master | 2023-02-23T23:51:27.969594 | 2021-01-28T04:01:20 | 2021-01-28T04:01:20 | 333,639,978 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 110 | java | public class Test {
public static void main(String[] args) {
System.out.println("world");
}
}
| [
"1773860218@qq.com"
] | 1773860218@qq.com |
080f18546b4c187f0e7baa1a804a616f8d82e949 | 77f0aeb4db1f1c11e0ccfcc263a2bec75b879fa6 | /app/src/androidTest/java/com/example/giggy/calendar/ApplicationTest.java | 59dffd3518e1058a324ae07f1a7ab0e94d9b8768 | [] | no_license | ToastyKrabstix/WeekDayApp | bbc4dd9182adca3aec2307ca3d7780fa68a3984a | 0dea1b4d3856769886fa240a268d71ce3078b922 | refs/heads/master | 2021-01-10T15:22:32.302874 | 2015-09-29T12:39:06 | 2015-09-29T12:39:06 | 43,363,742 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 357 | java | package com.example.giggy.calendar;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
} | [
"jiggydominguez@gmail.com"
] | jiggydominguez@gmail.com |
eee5721c1adf308a579c7d43e330bc6529af0f04 | 03341ced9c69d1a03468c57565cc09319b8adbfa | /src/web/beans/AuthorList.java | a92e671d765f14b57ec3ca5db44844f5d04b6ce9 | [] | no_license | poll-74EITK/LNB-Pavel | fa450a1c3d2bc71113d7e73c85a342a95ab42767 | 7dae1d133c237061d596921d121e0eb28b49b47d | refs/heads/master | 2021-05-02T17:51:06.939332 | 2016-09-22T13:22:59 | 2016-09-22T13:22:59 | 63,500,755 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,607 | java | package web.beans;
import web.db.Database;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Created by Pavels Papsh on 12.09.2016.
*/
public class AuthorList {
private ArrayList<Author> authorList = new ArrayList<Author>();
private ArrayList<Author> getAuthors() {
Statement stmt = null;
ResultSet rs = null;
Connection conn = null;
try {
conn = Database.getConnection();
stmt = conn.createStatement();
rs = stmt.executeQuery("select * from author order by fio");
while (rs.next()) {
Author author = new Author();
author.setId(rs.getLong("id"));
author.setName(rs.getString("fio"));
authorList.add(author);
}
} catch (SQLException ex) {
Logger.getLogger(AuthorList.class.getName()).log(Level.SEVERE, null, ex);
} finally {
try {
if (stmt!=null) stmt.close();
if (rs!=null)rs.close();
if (conn!=null)conn.close();
} catch (SQLException ex) {
Logger.getLogger(AuthorList.class.getName()).log(Level.SEVERE, null, ex);
}
}
return authorList;
}
public ArrayList<Author> getAuthorList() {
if (!authorList.isEmpty()) {
return authorList;
} else {
return getAuthors();
}
}
}
| [
"pavels_papsh@inbox.lv"
] | pavels_papsh@inbox.lv |
e1c684c9760e428d31d6a93cc909f750e7c41a26 | 55f30676ca17dc0dc2e35432bc2f26cddd5c28c6 | /stock-ui/src/main/java/com/mechanitis/demo/stockui/StageInitializer.java | aa6fecc4d88bfd02019b633edf30bfaad7340b29 | [] | no_license | trishagee/jb-stock-client | 0280d7b55c9f160eb6ae1519ca69868a31b6bdde | cb889461099eaa5dad84967fd59f749021208b17 | refs/heads/main | 2023-02-23T23:30:54.543790 | 2023-02-09T15:32:17 | 2023-02-09T15:32:17 | 227,395,482 | 61 | 40 | null | null | null | null | UTF-8 | Java | false | false | 1,048 | java | package com.mechanitis.demo.stockui;
import com.mechanitis.demo.stockui.ChartApplication.StageReadyEvent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import net.rgielen.fxweaver.core.FxWeaver;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;
@Component
public class StageInitializer implements ApplicationListener<StageReadyEvent> {
private final String applicationTitle;
private final FxWeaver fxWeaver;
public StageInitializer(@Value("${spring.application.ui.title}") String applicationTitle,
FxWeaver fxWeaver) {
this.applicationTitle = applicationTitle;
this.fxWeaver = fxWeaver;
}
@Override
public void onApplicationEvent(StageReadyEvent event) {
Stage stage = event.getStage();
stage.setScene(new Scene(fxWeaver.loadView(ChartController.class), 800, 600));
stage.setTitle(applicationTitle);
stage.show();
}
}
| [
"trisha.gee@gmail.com"
] | trisha.gee@gmail.com |
6568efbaefd8c4fecd79ac33c0bfdb4a71a89f8e | c0987825ee049cfc4d6312db1b4fed3aeda1491c | /Uri1065.java | 3308c509bbad414c648c463c4436a97fe98ba2b7 | [] | no_license | ricardofiragi/java | aa9d40ddaa9c4162c665e8044dd13e74a2664557 | 3070b9a30e20919f8b4ffc2a835b3312664c1b1d | refs/heads/master | 2023-02-15T07:06:57.641300 | 2021-01-06T20:44:53 | 2021-01-06T20:44:53 | 327,422,804 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 428 | java | import java.util.Scanner;
public class Uri1065{
public static void main(String args[]){
Scanner teclado = new Scanner(System.in);
float num;
int par = 0;
for (int contador = 1; contador <= 5; contador++){
num = teclado.nextFloat();
if (num % 2 == 0) {
par++;
}
}
System.out.println(par + " valores pares");
}
} | [
"ricardo.firagi@gmail.com"
] | ricardo.firagi@gmail.com |
f573dc3b1bdd25f2783a96fce2d549fa8fd4c31d | 104f7e3b5b5bae8b43c8bddeaada44977d6d63c1 | /src/br/com/gu/entidade/ItemPedido.java | c5bf4626b35b13ef3db4c4fd0382c519ae8ef338 | [] | no_license | acgustavo/controle-de-estoque- | e3485126c4a3cc81497405c34ba542ef5793b193 | 289302919ba61222ff9a463a3e2a64aa5b8e9950 | refs/heads/master | 2021-01-10T14:46:33.900490 | 2016-04-03T13:43:17 | 2016-04-03T13:43:17 | 54,934,763 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,276 | java | package br.com.gu.entidade;
public class ItemPedido {
private Long id;
private Integer quantidade;
private Double valorUnitario;
private Produto produto;
private Pedido pedido;
public ItemPedido() {
super();
}
public ItemPedido(Integer quantidade, Produto produto, Pedido pedido) {
super();
this.quantidade = quantidade;
this.produto = produto;
this.pedido = pedido;
this.valorUnitario = this.getProduto().getValorUnitario();
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Integer getQuantidade() {
return quantidade;
}
public void setQuantidade(Integer quantidade) {
this.quantidade = quantidade;
}
public Double getValorUnitario() {
return valorUnitario;
}
public void setValorUnitario(Double valorUnitario) {
valorUnitario=this.getProduto().getValorUnitario();
this.valorUnitario = valorUnitario;
}
public Produto getProduto() {
return produto;
}
public void setProduto(Produto produto) {
this.produto = produto;
}
public Pedido getPedido() {
return pedido;
}
public void setPedido(Pedido pedido) {
this.pedido = pedido;
}
@Override
public String toString() {
return (produto + " Quantidade: " + quantidade + " Valor: " + valorUnitario + "\n" );
}
}
| [
"dj_gustavo_@hotmail.com"
] | dj_gustavo_@hotmail.com |
ba3ac9a6b0b78fff98859d204bf6b577e703d6f5 | e84989168437afa0d36f66d38d4918d23caf689c | /gaming-server-service-admin/src/main/java/com/zy/springboot/gamingserverserviceadmin/GamingServerServiceAdminApplication.java | 9718bd19e1125e3a1254c10314213414f82052de | [] | no_license | Iideas2017/springboot | c1441f662d184d7adca9ee157fb15473d8ac8304 | d29b7f08535dd0935c8bdf3cb5b9fd5de37117d3 | refs/heads/master | 2020-03-21T15:02:15.587772 | 2018-07-07T15:37:56 | 2018-07-07T15:37:56 | 138,690,568 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 569 | java | package com.zy.springboot.gamingserverserviceadmin;
import org.springframework.boot.SpringApplication;
import com.alibaba.dubbo.container.Main;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.mybatis.spring.annotation.MapperScan;
@SpringBootApplication
@MapperScan(basePackages = "com.zy.springboot.gamingserverserviceadmin")
public class GamingServerServiceAdminApplication {
public static void main(String[] args) {
SpringApplication.run(GamingServerServiceAdminApplication.class, args);
Main.main(args);
}
}
| [
"1524285681@qq.com"
] | 1524285681@qq.com |
d0df910c451a3e92fd0e34796a746694f8f7ae1c | 9254e7279570ac8ef687c416a79bb472146e9b35 | /pai-dlc-20201203/src/main/java/com/aliyun/pai_dlc20201203/models/CreateCodeSourceRequest.java | d28bd548c9e4bc42be75882006879411f7607824 | [
"Apache-2.0"
] | permissive | lquterqtd/alibabacloud-java-sdk | 3eaa17276dd28004dae6f87e763e13eb90c30032 | 3e5dca8c36398469e10cdaaa34c314ae0bb640b4 | refs/heads/master | 2023-08-12T13:56:26.379027 | 2021-10-19T07:22:15 | 2021-10-19T07:22:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,600 | java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.pai_dlc20201203.models;
import com.aliyun.tea.*;
public class CreateCodeSourceRequest extends TeaModel {
// 代码源配置名称
@NameInMap("DisplayName")
public String displayName;
// 代码源详细描述
@NameInMap("Description")
public String description;
// 代码仓库地址
@NameInMap("CodeRepo")
public String codeRepo;
// 代码分支
@NameInMap("CodeBranch")
public String codeBranch;
// 代码本地挂载目录,默认挂载到/root/code/下
@NameInMap("MountPath")
public String mountPath;
// 用户名
@NameInMap("CodeRepoUserName")
public String codeRepoUserName;
// 密码
@NameInMap("CodeRepoAccessToken")
public String codeRepoAccessToken;
public static CreateCodeSourceRequest build(java.util.Map<String, ?> map) throws Exception {
CreateCodeSourceRequest self = new CreateCodeSourceRequest();
return TeaModel.build(map, self);
}
public CreateCodeSourceRequest setDisplayName(String displayName) {
this.displayName = displayName;
return this;
}
public String getDisplayName() {
return this.displayName;
}
public CreateCodeSourceRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public CreateCodeSourceRequest setCodeRepo(String codeRepo) {
this.codeRepo = codeRepo;
return this;
}
public String getCodeRepo() {
return this.codeRepo;
}
public CreateCodeSourceRequest setCodeBranch(String codeBranch) {
this.codeBranch = codeBranch;
return this;
}
public String getCodeBranch() {
return this.codeBranch;
}
public CreateCodeSourceRequest setMountPath(String mountPath) {
this.mountPath = mountPath;
return this;
}
public String getMountPath() {
return this.mountPath;
}
public CreateCodeSourceRequest setCodeRepoUserName(String codeRepoUserName) {
this.codeRepoUserName = codeRepoUserName;
return this;
}
public String getCodeRepoUserName() {
return this.codeRepoUserName;
}
public CreateCodeSourceRequest setCodeRepoAccessToken(String codeRepoAccessToken) {
this.codeRepoAccessToken = codeRepoAccessToken;
return this;
}
public String getCodeRepoAccessToken() {
return this.codeRepoAccessToken;
}
}
| [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
848e39eb109094a01bce4e15a9444b59511152c1 | fa91450deb625cda070e82d5c31770be5ca1dec6 | /Diff-Raw-Data/5/5_cb34fa9475c27a14aa85f8e46504ac1359f6d0b3/XBRLStoreImpl/5_cb34fa9475c27a14aa85f8e46504ac1359f6d0b3_XBRLStoreImpl_s.java | f1d3aa02594eb9a848c02c1cb1e85ab8122863df | [] | 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 | 21,054 | java | package org.xbrlapi.data;
import java.net.URL;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Vector;
import org.xbrlapi.Arc;
import org.xbrlapi.ArcEnd;
import org.xbrlapi.ArcroleType;
import org.xbrlapi.Concept;
import org.xbrlapi.ExtendedLink;
import org.xbrlapi.Fact;
import org.xbrlapi.Fragment;
import org.xbrlapi.FragmentList;
import org.xbrlapi.Instance;
import org.xbrlapi.Item;
import org.xbrlapi.Locator;
import org.xbrlapi.Resource;
import org.xbrlapi.RoleType;
import org.xbrlapi.Tuple;
import org.xbrlapi.impl.FragmentListImpl;
import org.xbrlapi.networks.Network;
import org.xbrlapi.networks.Networks;
import org.xbrlapi.networks.NetworksImpl;
import org.xbrlapi.networks.Relationship;
import org.xbrlapi.utilities.Constants;
import org.xbrlapi.utilities.XBRLException;
/**
* Abstract implementation of the XBRL data store.
* @author Geoffrey Shuetrim (geoff@galexy.net)
*/
public abstract class XBRLStoreImpl extends BaseStoreImpl implements XBRLStore {
public XBRLStoreImpl() {
super();
}
/**
* @return a list of all of the root-level facts in the data store (those facts
* that are children of the root element of an XBRL instance). Returns an empty list
* if no facts are found.
* @throws XBRLException
*/
public FragmentList<Fact> getFacts() throws XBRLException {
FragmentList<Instance> instances = this.<Instance>getFragments("Instance");
return getFactsFromInstances(instances);
}
/**
* This method is provided as a helper method for the getFact methods.
* @param instances The list of instance fragments to extract facts from.
* @return The list of facts in the instances.
* @throws XBRLException
*/
private FragmentList<Fact> getFactsFromInstances(FragmentList<Instance> instances) throws XBRLException {
FragmentList<Fact> facts = new FragmentListImpl<Fact>();
for (Instance instance: instances) {
facts.addAll(instance.getFacts());
}
return facts;
}
/**
* Helper method for common code in the getItem methods.
* @param instances The instances to retrieve items for.
* @return a list of root items in the instances.
* @throws XBRLException
*/
private FragmentList<Item> getItemsFromInstances(FragmentList<Instance> instances) throws XBRLException {
FragmentList<Fact> facts = getFactsFromInstances(instances);
FragmentList<Item> items = new FragmentListImpl<Item>();
for (Fact fact: facts) {
if (! fact.getType().equals("org.xbrlapi.org.impl.TupleImpl"))
items.addFragment((Item) fact);
}
return items;
}
/**
* Helper method for common code in the getTuple methods.
* @param instances The instances to retrieve tuples for.
* @return a list of root tuples in the instances.
* @throws XBRLException
*/
private FragmentList<Tuple> getTuplesFromInstances(FragmentList<Instance> instances) throws XBRLException {
FragmentList<Fact> facts = getFactsFromInstances(instances);
FragmentList<Tuple> tuples = new FragmentListImpl<Tuple>();
for (Fact fact: facts) {
if (fact.getType().equals("org.xbrlapi.org.impl.TupleImpl"))
tuples.addFragment((Tuple) fact);
}
return tuples;
}
/**
* @return a list of all of the root-level items in the data store(those items
* that are children of the root element of an XBRL instance).
* TODO eliminate the redundant retrieval of tuples from the getItems methods.
* @throws XBRLException
*/
public FragmentList<Item> getItems() throws XBRLException {
FragmentList<Instance> instances = this.<Instance>getFragments("Instance");
return getItemsFromInstances(instances);
}
/**
* @return a list of all of the tuples in the data store.
* @throws XBRLException
*/
public FragmentList<Tuple> getTuples() throws XBRLException {
FragmentList<Instance> instances = this.<Instance>getFragments("Instance");
return this.getTuplesFromInstances(instances);
}
/**
* @param url The URL of the document to get the facts from.
* @return a list of all of the root-level facts in the specified document.
* @throws XBRLException
*/
public FragmentList<Fact> getFacts(URL url) throws XBRLException {
FragmentList<Instance> instances = this.<Instance>getFragmentsFromDocument(url,"Instance");
return this.getFactsFromInstances(instances);
}
/**
* @param url The URL of the document to get the items from.
* @return a list of all of the root-level items in the data store.
* @throws XBRLException
*/
public FragmentList<Item> getItems(URL url) throws XBRLException {
FragmentList<Instance> instances = this.<Instance>getFragmentsFromDocument(url,"Instance");
return this.getItemsFromInstances(instances);
}
/**
* @param url The URL of the document to get the facts from.
* @return a list of all of the root-level tuples in the specified document.
* @throws XBRLException
*/
public FragmentList<Tuple> getTuples(URL url) throws XBRLException {
FragmentList<Instance> instances = this.<Instance>getFragmentsFromDocument(url,"Instance");
return this.getTuplesFromInstances(instances);
}
/**
* Implementation strategy is:<br/>
* 1. Get all extended link elements matching network requirements.<br/>
* 2. Get all arcs defining relationships in the network.<br/>
* 3. Get all resources at the source of the arcs.<br/>
* 4. Return only those source resources that that are not target resources also.<br/>
*
* @param linkNamespace The namespace of the link element.
* @param linkName The name of the link element.
* @param linkRole the role on the extended links that contain the network arcs.
* @param arcNamespace The namespace of the arc element.
* @param arcName The name of the arc element.
* @param arcRole the arcrole on the arcs describing the network.
* @return The list of fragments for each of the resources that is identified as a root
* of the specified network (noting that a root resource is defined as a resource that is
* at the source of one or more relationships in the network and that is not at the target
* of any relationships in the network).
* @throws XBRLException
*/
@SuppressWarnings("unchecked")
public <F extends Fragment> FragmentList<F> getNetworkRoots(String linkNamespace, String linkName, String linkRole, String arcNamespace, String arcName, String arcRole) throws XBRLException {
// Get the links that contain the network declaring arcs.
String linkQuery = "/"+ Constants.XBRLAPIPrefix+ ":" + "fragment[@type='org.xbrlapi.impl.ExtendedLinkImpl' and "+ Constants.XBRLAPIPrefix+ ":" + "data/*[namespace-uri()='" + linkNamespace + "' and local-name()='" + linkName + "' and @xlink:role='" + linkRole + "']]";
FragmentList<ExtendedLink> links = this.<ExtendedLink>query(linkQuery);
// Get the arcs that declare the relationships in the network.
// For each arc map the ids of the fragments at their sources and targets.
HashMap<String,String> sourceIds = new HashMap<String,String>();
HashMap<String,String> targetIds = new HashMap<String,String>();
for (int i=0; i<links.getLength(); i++) {
ExtendedLink link = links.getFragment(i);
FragmentList<Arc> arcs = link.getArcs();
for (Arc arc: arcs) {
if (arc.getNamespaceURI().equals(arcNamespace))
if (arc.getLocalname().equals(arcName))
if (arc.getArcrole().equals(arcRole)) {
FragmentList<ArcEnd> sources = arc.getSourceFragments();
FragmentList<ArcEnd> targets = arc.getTargetFragments();
for (int k=0; k<sources.getLength(); k++) {
sourceIds.put(sources.getFragment(k).getFragmentIndex(),"");
}
for (int k=0; k<sources.getLength(); k++) {
targetIds.put(targets.getFragment(k).getFragmentIndex(),"");
}
}
}
}
// Get the root resources in the network
FragmentList<F> roots = new FragmentListImpl<F>();
Iterator<String> iterator = sourceIds.keySet().iterator();
while (iterator.hasNext()) {
String id = iterator.next();
if (! targetIds.containsKey(id)) {
Fragment target = this.getFragment(id);
if (! target.isa("org.xbrlapi.impl.LocatorImpl"))
roots.addFragment((F) target);
else {
roots.addFragment((F) ((Locator) target).getTargetFragment());
}
}
}
return roots;
}
/**
* @see XBRLStore#getNetworkRoots(String, String)
*/
public FragmentList<Fragment> getNetworkRoots(String linkRole, String arcRole) throws XBRLException {
// Get the links that contain the network declaring arcs.
String linkQuery = "/"+ Constants.XBRLAPIPrefix+ ":" + "fragment[@type='org.xbrlapi.impl.ExtendedLinkImpl' and "+ Constants.XBRLAPIPrefix+ ":" + "data/*[@xlink:role='" + linkRole + "']]";
FragmentList<ExtendedLink> links = this.<ExtendedLink>query(linkQuery);
// Get the arcs that declare the relationships in the network.
// For each arc map the ids of the fragments at their sources and targets.
HashMap<String,String> sourceIds = new HashMap<String,String>();
HashMap<String,String> targetIds = new HashMap<String,String>();
for (int i=0; i<links.getLength(); i++) {
ExtendedLink link = links.getFragment(i);
FragmentList<Arc> arcs = link.getArcs();
for (Arc arc: arcs) {
if (arc.getArcrole().equals(arcRole)) {
FragmentList<ArcEnd> sources = arc.getSourceFragments();
FragmentList<ArcEnd> targets = arc.getTargetFragments();
for (int k=0; k<sources.getLength(); k++) {
sourceIds.put(sources.getFragment(k).getFragmentIndex(),"");
}
for (int k=0; k<sources.getLength(); k++) {
targetIds.put(targets.getFragment(k).getFragmentIndex(),"");
}
}
}
}
// Get the root resources in the network
FragmentList<Fragment> roots = new FragmentListImpl<Fragment>();
Iterator<String> iterator = sourceIds.keySet().iterator();
while (iterator.hasNext()) {
String id = iterator.next();
if (! targetIds.containsKey(id)) {
roots.addFragment(this.getFragment(id));
}
}
return roots;
}
/**
* @param namespace The namespace for the concept.
* @param name The local name for the concept.
* @return the concept fragment for the specified namespace and name.
* @throws XBRLException if more than one matching concept is found in the data store
* or if no matching concepts are found in the data store.
*/
public Concept getConcept(String namespace, String name) throws XBRLException {
// TODO Make sure that non-concept element declarations are handled.
FragmentList<Concept> concepts = this.<Concept>query("/"+ Constants.XBRLAPIPrefix+ ":" + "fragment/"+ Constants.XBRLAPIPrefix+ ":" + "data/xsd:element[@name='" + name + "']");
FragmentList<Concept> matches = new FragmentListImpl<Concept>();
for (Concept concept: concepts) {
if (concept.getTargetNamespaceURI().equals(namespace)) {
matches.addFragment(concept);
}
}
if (matches.getLength() == 0)
throw new XBRLException("No matching concepts were found for " + namespace + ":" + name + ".");
if (matches.getLength() > 1)
throw new XBRLException(new Integer(matches.getLength()) + "matching concepts were found for " + namespace + ":" + name + ".");
return matches.getFragment(0);
}
/**
* @see org.xbrlapi.data.XBRLStore#getLinkRoles()
*/
public HashMap<String,String> getLinkRoles() throws XBRLException {
HashMap<String,String> roles = new HashMap<String,String>();
FragmentList<RoleType> types = this.getRoleTypes();
for (RoleType type: types) {
String role = type.getCustomURI();
String query = "/"+ Constants.XBRLAPIPrefix+ ":" + "fragment[@type='org.xbrlapi.impl.ExtendedLinkImpl' and "+ Constants.XBRLAPIPrefix+ ":" + "data/*/@xlink:role='" + role + "']";
FragmentList<ExtendedLink> links = this.<ExtendedLink>query(query);
if (links.getLength() > 0) {
roles.put(role,"");
}
}
return roles;
}
/**
* @see org.xbrlapi.data.XBRLStore#getArcRoles()
*/
public HashMap<String,String> getArcRoles() throws XBRLException {
// TODO Simplify getArcRoles method of the XBRLStore to eliminate need to get all arcs in the data store.
HashMap<String,String> roles = new HashMap<String,String>();
FragmentList<ArcroleType> types = this.getArcroleTypes();
for (ArcroleType type: types) {
String role = type.getCustomURI();
String query = "/"+ Constants.XBRLAPIPrefix + ":" + "fragment["+ Constants.XBRLAPIPrefix+ ":" + "data/*[@xlink:type='arc' and @xlink:arcrole='" + role + "']]";
FragmentList<Arc> arcs = this.<Arc>query(query);
if (arcs.getLength() > 0) {
roles.put(role,"");
}
}
return roles;
}
/**
* @see org.xbrlapi.data.XBRLStore#getLinkRoles(String)
*/
public HashMap<String,String> getLinkRoles(String arcrole) throws XBRLException {
HashMap<String,String> roles = new HashMap<String,String>();
HashMap<String,Fragment> links = new HashMap<String,Fragment>();
String query = "/"+ Constants.XBRLAPIPrefix+ ":" + "fragment["+ Constants.XBRLAPIPrefix+ ":" + "data/*[@xlink:type='arc' and @xlink:arcrole='" + arcrole + "']]";
FragmentList<Arc> arcs = this.<Arc>query(query);
for (Arc arc: arcs) {
if (! links.containsKey(arc.getParentIndex())) {
ExtendedLink link = arc.getExtendedLink();
links.put(link.getFragmentIndex(),link);
}
}
for (Fragment l: links.values()) {
ExtendedLink link = (ExtendedLink) l;
if (! roles.containsKey(link.getLinkRole())) {
roles.put(link.getLinkRole(),"");
}
}
return roles;
}
/**
* @return a list of roleType fragments
* @throws XBRLException
*/
public FragmentList<RoleType> getRoleTypes() throws XBRLException {
return this.<RoleType>getFragments("RoleType");
}
/**
* @see org.xbrlapi.data.XBRLStore#getRoleTypes(String)
*/
public FragmentList<RoleType> getRoleTypes(String uri) throws XBRLException {
String query = "/"+ Constants.XBRLAPIPrefix+ ":" + "fragment["+ Constants.XBRLAPIPrefix+ ":" + "data/link:roleType/@roleURI='" + uri + "']";
return this.<RoleType>query(query);
}
/**
* @return a list of ArcroleType fragments
* @throws XBRLException
*/
public FragmentList<ArcroleType> getArcroleTypes() throws XBRLException {
return this.<ArcroleType>getFragments("ArcroleType");
}
/**
* @return a list of arcroleType fragments that define a given arcrole.
* @throws XBRLException
*/
public FragmentList<ArcroleType> getArcroleTypes(String uri) throws XBRLException {
String query = "/"+ Constants.XBRLAPIPrefix+ ":" + "fragment["+ Constants.XBRLAPIPrefix+ ":" + "data/link:arcroleType/@arcroleURI='" + uri + "']";
return this.<ArcroleType>query(query);
}
/**
* @see org.xbrlapi.data.XBRLStore#getResourceRoles()
*/
public HashMap<String,String> getResourceRoles() throws XBRLException {
HashMap<String,String> roles = new HashMap<String,String>();
FragmentList<Resource> resources = this.<Resource>query("/"+ Constants.XBRLAPIPrefix+ ":" + "fragment["+ Constants.XBRLAPIPrefix+ ":" + "data/*/@xlink:type='resource']");
for (Resource resource: resources) {
String role = resource.getResourceRole();
if (! roles.containsKey(role)) roles.put(role,"");
}
return roles;
}
/**
* @see org.xbrlapi.data.XBRLStore#getMinimumDocumentSet(String)
*/
public List<String> getMinimumDocumentSet(String url) throws XBRLException {
List<String> starters = new Vector<String>();
starters.add(url);
return this.getMinimumDocumentSet(starters);
}
/**
* @see org.xbrlapi.data.XBRLStore#getMinimumDocumentSet(List)
*/
public List<String> getMinimumDocumentSet(List<String> starters) throws XBRLException {
List<String> allDocuments = new Vector<String>();
List<String> documentsToCheck = new Vector<String>();
Map<String,String> foundDocuments = new HashMap<String,String>();
for (String starter: starters) {
if (! foundDocuments.containsKey(starter)) {
foundDocuments.put(starter,"");
documentsToCheck.add(starter);
}
}
while (documentsToCheck.size() > 0) {
String doc = documentsToCheck.get(0);
allDocuments.add(doc);
List<String> newDocuments = this.getReferencedDocuments(doc);
for (String newDocument: newDocuments) {
if (! foundDocuments.containsKey(newDocument)) {
foundDocuments.put(newDocument,"");
documentsToCheck.add(newDocument);
}
}
documentsToCheck.remove(0);
}
return allDocuments;
}
/**
* @see XBRLStore#getExtendedLinksWithRole(String)
*/
public FragmentList<ExtendedLink> getExtendedLinksWithRole(String linkrole) throws XBRLException {
String query = "/*[*/*[@xlink:type='extended' and @xlink:role='" + linkrole + "']]";
FragmentList<ExtendedLink> links = this.<ExtendedLink>query(query);
return links;
}
/**
* Tracks the fragments that have been processed to get minimal networks with a given arcrole
*/
private HashMap<String,Fragment> processedFragments = new HashMap<String,Fragment>();
/**
* @see org.xbrlapi.XBRLStore#getMinimalNetworksWithArcrole(Fragment, String)
*/
public Networks getMinimalNetworksWithArcrole(Fragment fragment, String arcrole) throws XBRLException {
return this.getMinimalNetworksWithArcrole(new FragmentListImpl<Fragment>(fragment),arcrole);
}
/**
* @see org.xbrlapi.XBRLStore#getMinimalNetworksWithArcrole(FragmentList<Fragment> fragments, String)
*/
public Networks getMinimalNetworksWithArcrole(FragmentList<Fragment> fragments, String arcrole) throws XBRLException {
Networks networks;
if (this.hasStoredNetworks()) networks = this.getStoredNetworks();
else networks = new NetworksImpl(this);
processedFragments = new HashMap<String,Fragment>();
for (Fragment fragment: fragments) {
networks = augmentNetworksForFragment(fragment,arcrole,networks);
}
return networks;
}
/**
* This method is recursive.
* @param fragment The fragment to use as the target for the relationships to be added to the networks
* @param arcrole The arcrole for the networks to augment.
* @param networks The networks system to augment.
* @return The networks after augmentation.
* @throws XBRLException
*/
private Networks augmentNetworksForFragment(Fragment fragment, String arcrole, Networks networks) throws XBRLException {
if (processedFragments.containsKey(fragment.getFragmentIndex())) {
return networks;
}
for (Relationship relationship: fragment.getRelationshipsToWithArcrole(arcrole)) {
networks.addRelationship(relationship);
}
for (Network network: networks.getNetworks(arcrole)) {
List<Relationship> activeRelationships = network.getActiveRelationshipsTo(fragment.getFragmentIndex());
logger.debug(fragment.getFragmentIndex() + " has " + activeRelationships.size() + " parent fragments.");
for (Relationship activeRelationship: activeRelationships) {
Fragment source = activeRelationship.getSource();
networks = augmentNetworksForFragment(source,arcrole,networks);
}
}
return networks;
}
}
| [
"yuzhongxing88@gmail.com"
] | yuzhongxing88@gmail.com |
3534989dc82bc2980c840e18a6690523c4b173ca | 961e2409466619122edc32602d324bc0b0526b6d | /modules/core/src/test/java/org/apache/ignite/internal/processors/service/ServiceDeploymentOnActivationTest.java | 52d706b920dca18c62df909ef81f63c077bafa94 | [
"BSD-3-Clause",
"LicenseRef-scancode-gutenberg-2020",
"Apache-2.0",
"CC0-1.0"
] | permissive | bloomberg/ignite | f85a89ab175f609eec1e3bbbc800249621d994c0 | 2b5f78f2099005d5e18c4b3ad6a35c8fec56b30a | refs/heads/master | 2023-07-23T09:13:41.577943 | 2018-04-28T16:27:27 | 2018-04-28T16:27:59 | 131,645,252 | 2 | 1 | Apache-2.0 | 2023-07-11T06:05:18 | 2018-04-30T20:50:27 | Java | UTF-8 | Java | false | false | 7,743 | 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.ignite.internal.processors.service;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import org.apache.ignite.Ignite;
import org.apache.ignite.cluster.ClusterNode;
import org.apache.ignite.configuration.DataRegionConfiguration;
import org.apache.ignite.configuration.DataStorageConfiguration;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.configuration.WALMode;
import org.apache.ignite.internal.util.typedef.F;
import org.apache.ignite.lang.IgnitePredicate;
import org.apache.ignite.services.ServiceConfiguration;
import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
import org.apache.ignite.spi.discovery.tcp.ipfinder.TcpDiscoveryIpFinder;
import org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder;
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
/** */
public class ServiceDeploymentOnActivationTest extends GridCommonAbstractTest {
/** */
private static final TcpDiscoveryIpFinder IP_FINDER = new TcpDiscoveryVmIpFinder(true);
/** */
private static final String SERVICE_NAME = "test-service";
/** */
private static final IgnitePredicate<ClusterNode> CLIENT_FILTER = new IgnitePredicate<ClusterNode>() {
@Override public boolean apply(ClusterNode node) {
return node.isClient();
}
};
/** */
private boolean client;
/** */
private boolean persistence;
/** */
private ServiceConfiguration srvcCfg;
/** {@inheritDoc} */
@Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception {
IgniteConfiguration cfg = super.getConfiguration(igniteInstanceName);
TcpDiscoverySpi discoverySpi = new TcpDiscoverySpi();
discoverySpi.setIpFinder(IP_FINDER);
cfg.setDiscoverySpi(discoverySpi);
cfg.setClientMode(client);
if (srvcCfg != null)
cfg.setServiceConfiguration(srvcCfg);
if (persistence) {
cfg.setDataStorageConfiguration(
new DataStorageConfiguration()
.setDefaultDataRegionConfiguration(
new DataRegionConfiguration()
.setPersistenceEnabled(true)
.setMaxSize(10 * 1024 * 1024)
).setWalMode(WALMode.LOG_ONLY)
);
}
return cfg;
}
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
client = false;
persistence = false;
srvcCfg = null;
cleanPersistenceDir();
}
/** {@inheritDoc} */
@Override protected void afterTest() throws Exception {
stopAllGrids();
}
/**
* @throws Exception If failed.
*/
public void testServersWithPersistence() throws Exception {
persistence = true;
checkRedeployment(2, 0, F.alwaysTrue(), 2, false, true);
}
/**
* @throws Exception if failed.
*/
public void testClientsWithPersistence() throws Exception {
persistence = true;
checkRedeployment(2, 2, CLIENT_FILTER, 2, false, true);
}
/**
* @throws Exception if failed.
*/
public void testServersWithoutPersistence() throws Exception {
persistence = false;
checkRedeployment(2, 0, F.alwaysTrue(), 2, false, false);
}
/**
* @throws Exception if failed.
*/
public void testClientsWithoutPersistence() throws Exception {
persistence = false;
checkRedeployment(2, 2, CLIENT_FILTER, 2, false, false);
}
/**
* @throws Exception If failed.
*/
public void testServersStaticConfigWithPersistence() throws Exception {
persistence = true;
checkRedeployment(2, 0, F.alwaysTrue(), 2, true, true);
}
/**
* @throws Exception If failed.
*/
public void testClientsStaticConfigWithPersistence() throws Exception {
persistence = true;
checkRedeployment(2, 2, CLIENT_FILTER, 2, true, true);
}
/**
* @throws Exception If failed.
*/
public void testServersStaticConfigWithoutPersistence() throws Exception {
persistence = false;
checkRedeployment(2, 0, F.alwaysTrue(), 2, true, true);
}
/**
* @throws Exception If failed.
*/
public void _testClientsStaticConfigWithoutPersistence() throws Exception {
fail("https://issues.apache.org/jira/browse/IGNITE-8279");
persistence = false;
checkRedeployment(2, 2, CLIENT_FILTER, 2, true, true);
}
/**
* @param srvsNum Number of server nodes to start.
* @param clientsNum Number of client nodes to start.
* @param nodeFilter Node filter.
* @param deps Expected number of deployed services.
* @param isStatic Static or dynamic service deployment is used.
* @param expRedep {@code true} if services should be redeployed on activation. {@code false} otherwise.
* @throws Exception If failed.
*/
private void checkRedeployment(int srvsNum, int clientsNum, IgnitePredicate<ClusterNode> nodeFilter, int deps,
boolean isStatic, boolean expRedep) throws Exception {
if (isStatic)
srvcCfg = getServiceConfiguration(nodeFilter);
CountDownLatch exeLatch = new CountDownLatch(deps);
CountDownLatch cancelLatch = new CountDownLatch(deps);
DummyService.exeLatch(SERVICE_NAME, exeLatch);
DummyService.cancelLatch(SERVICE_NAME, cancelLatch);
for (int i = 0; i < srvsNum; i++)
startGrid(i);
client = true;
for (int i = 0; i < clientsNum; i++)
startGrid(srvsNum + i);
Ignite ignite = grid(0);
ignite.cluster().active(true);
if (!isStatic) {
ServiceConfiguration srvcCfg = getServiceConfiguration(nodeFilter);
ignite.services().deploy(srvcCfg);
}
assertTrue(exeLatch.await(10, TimeUnit.SECONDS));
ignite.cluster().active(false);
assertTrue(cancelLatch.await(10, TimeUnit.SECONDS));
exeLatch = new CountDownLatch(expRedep ? deps : 1);
DummyService.exeLatch(SERVICE_NAME, exeLatch);
ignite.cluster().active(true);
if (expRedep)
assertTrue(exeLatch.await(10, TimeUnit.SECONDS));
else
assertFalse(exeLatch.await(1, TimeUnit.SECONDS));
}
/**
* @param nodeFilter Node filter.
* @return Service configuration.
*/
private ServiceConfiguration getServiceConfiguration(IgnitePredicate<ClusterNode> nodeFilter) {
ServiceConfiguration srvcCfg = new ServiceConfiguration();
srvcCfg.setName(SERVICE_NAME);
srvcCfg.setMaxPerNodeCount(1);
srvcCfg.setNodeFilter(nodeFilter);
srvcCfg.setService(new DummyService());
return srvcCfg;
}
}
| [
"agura@apache.org"
] | agura@apache.org |
bc7d0bc9e71433d41fdeedd8973b9db230f90194 | 0c519497ec558f208b0840c6ad18daf70b6ce396 | /app/src/main/java/com/moremoregreen/atm/LoginActivity.java | 900c3dda876e46395e26294ccf3ab85aaa558f30 | [] | no_license | Moremoregreen/Atm | 21ca0444afba0f9a322292a5a13ea477f85489c3 | 661f4dd0c32765a21ec3a78c131b2beca9857a17 | refs/heads/master | 2020-03-30T20:57:38.943762 | 2018-10-04T17:39:16 | 2018-10-04T17:39:16 | 151,611,594 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 6,904 | java | package com.moremoregreen.atm;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.AsyncTask;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.EditText;
import android.widget.Toast;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import com.google.firebase.database.FirebaseDatabase;
import com.google.firebase.database.ValueEventListener;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
public class LoginActivity extends AppCompatActivity {
private static final String TAG = LoginActivity.class.getSimpleName();
private EditText edUserid;
private EditText edPasswd;
private CheckBox cbRemember;
private Intent helloService;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_login);
// settingTest();
//Fragment
FragmentManager manager = getSupportFragmentManager();
FragmentTransaction fragmentTransaction = manager.beginTransaction();
fragmentTransaction.add(R.id.container_news, NewsFragment.getInstance());
fragmentTransaction.commit();
//Service
helloService = new Intent(this, HelloService.class);
helloService.putExtra("NAME", "T1");
startService(helloService);
findViews();
new TestTask().execute("https://tw.yahoo.com/"); //TestTask()後千萬不要直接加doIngBackground
}
public void map (View view){
startActivity(new Intent(this,MapsActivity.class));
}
BroadcastReceiver receiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
Log.d(TAG, "onReceive: Hello123:" + intent.getAction());
}
};
@Override
protected void onStart() {
super.onStart();
IntentFilter filter = new IntentFilter(HelloService.ACTION_HELLO_DONE);
registerReceiver(receiver,filter);
}
@Override
protected void onStop() {
super.onStop();
stopService(helloService);
unregisterReceiver(receiver);
}
public class TestTask extends AsyncTask<String, Void, Integer> {
@Override
protected void onPreExecute() {
super.onPreExecute();
Log.d(TAG, "onPreExecute: ");
Toast.makeText(LoginActivity.this, "onPreExecute", Toast.LENGTH_SHORT).show();
}
@Override
protected void onPostExecute(Integer integer) {
super.onPostExecute(integer);
Log.d(TAG, "onPostExecute: ");
Toast.makeText(LoginActivity.this, "onPostExecute" + integer, Toast.LENGTH_SHORT).show();
}
@Override
protected Integer doInBackground(String... strings) {
int data = 0;
try {
URL url = new URL(strings[0]);
data = url.openStream().read();
Log.d(TAG, "TestTask: " + data);
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
return data;
}
}
private void findViews() {
edUserid = findViewById(R.id.userid);
edPasswd = findViewById(R.id.passwd);
cbRemember = findViewById(R.id.cb_rem_userid);
cbRemember.setChecked(
getSharedPreferences("atm", MODE_PRIVATE)
.getBoolean("REMEMBER_USERID", false));
cbRemember.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean b) {
getSharedPreferences("atm", MODE_PRIVATE)
.edit()
.putBoolean("REMEMBER_USERID", b)
.apply();
}
});
String userid = getSharedPreferences("atm", MODE_PRIVATE)
.getString("USERID", "");
edUserid.setText(userid);
}
private void settingTest() {
getSharedPreferences("atm", MODE_PRIVATE)
.edit()
.putInt("LEVEL", 3)
.commit();
int level = getSharedPreferences("atm", MODE_PRIVATE)
.getInt("LEVEL", 0);
Log.d(TAG, "onCreate: LEVEL = " + level);
}
public void login(View view) {
final String userid = edUserid.getText().toString();
final String passwd = edPasswd.getText().toString();
FirebaseDatabase.getInstance().getReference("users").child(userid).child("password")
.addListenerForSingleValueEvent(new ValueEventListener() {
@Override
public void onDataChange(DataSnapshot dataSnapshot) {
String pw = (String) dataSnapshot.getValue();
if (pw.equals(passwd)) {
Boolean remember = getSharedPreferences("atm", MODE_PRIVATE)
.getBoolean("REMEMBER_USERID", false);
if (remember) {
//save userId
getSharedPreferences("atm", MODE_PRIVATE)
.edit()
.putString("USERID", userid)
.apply();//不急著讀用apply 急的用commit
} else {
edUserid.setText("");
}
setResult(RESULT_OK);
finish();
} else {
new AlertDialog.Builder(LoginActivity.this)
.setTitle("登入結果")
.setMessage("登入失敗")
.setPositiveButton("OK", null)
.show();
}
}
@Override
public void onCancelled(DatabaseError databaseError) {
}
});
// if("jack".equals(userid) && "1234".equals(passwd)){
//
// }
}
public void quit(View view) {
}
}
| [
"zzz2009j@gmail.com"
] | zzz2009j@gmail.com |
22edd2a22e0817c3ad46d5ece46568ae47c542b6 | 3f48ee13daf10c8a9257fafa4db9e22ef8fcba02 | /Microservices/payment-app/src/test/java/com/ip/payment/web/rest/ProfileInfoResourceIntTest.java | 768750f184239435a5b28b4dc8973162f124cf1c | [] | no_license | cristi-cosulianu/B4_Airlines | 7d607500f942b8f20a48fdde5ef2c0ace831001e | cf6d0e21fec0c760f33d9af4804777b7e178c12b | refs/heads/master | 2020-03-14T01:59:54.549887 | 2018-06-03T18:07:51 | 2018-06-03T18:07:51 | 131,389,847 | 2 | 0 | null | 2018-06-01T13:43:49 | 2018-04-28T08:26:23 | Java | UTF-8 | Java | false | false | 3,212 | java | package com.ip.payment.web.rest;
import io.github.jhipster.config.JHipsterProperties;
import com.ip.payment.PaymentApp;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.core.env.Environment;
import org.springframework.http.MediaType;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
import static org.mockito.Mockito.when;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
/**
* Test class for the ProfileInfoResource REST controller.
*
* @see ProfileInfoResource
**/
@RunWith(SpringRunner.class)
@SpringBootTest(classes = PaymentApp.class)
public class ProfileInfoResourceIntTest {
@Mock
private Environment environment;
@Mock
private JHipsterProperties jHipsterProperties;
private MockMvc restProfileMockMvc;
@Before
public void setup() {
MockitoAnnotations.initMocks(this);
String mockProfile[] = { "test" };
JHipsterProperties.Ribbon ribbon = new JHipsterProperties.Ribbon();
ribbon.setDisplayOnActiveProfiles(mockProfile);
when(jHipsterProperties.getRibbon()).thenReturn(ribbon);
String activeProfiles[] = {"test"};
when(environment.getDefaultProfiles()).thenReturn(activeProfiles);
when(environment.getActiveProfiles()).thenReturn(activeProfiles);
ProfileInfoResource profileInfoResource = new ProfileInfoResource(environment, jHipsterProperties);
this.restProfileMockMvc = MockMvcBuilders
.standaloneSetup(profileInfoResource)
.build();
}
@Test
public void getProfileInfoWithRibbon() throws Exception {
restProfileMockMvc.perform(get("/api/profile-info"))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE));
}
@Test
public void getProfileInfoWithoutRibbon() throws Exception {
JHipsterProperties.Ribbon ribbon = new JHipsterProperties.Ribbon();
ribbon.setDisplayOnActiveProfiles(null);
when(jHipsterProperties.getRibbon()).thenReturn(ribbon);
restProfileMockMvc.perform(get("/api/profile-info"))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE));
}
@Test
public void getProfileInfoWithoutActiveProfiles() throws Exception {
String emptyProfile[] = {};
when(environment.getDefaultProfiles()).thenReturn(emptyProfile);
when(environment.getActiveProfiles()).thenReturn(emptyProfile);
restProfileMockMvc.perform(get("/api/profile-info"))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE));
}
}
| [
"mrsavra@gmail.com"
] | mrsavra@gmail.com |
e2b781998c25a1ac6065a2c2e62ab47e0b0c9c15 | 8c6289c1aea7855cd12258aa4e5e21871b0cd8cf | /src/HeapSort.java | 8afde2698a015fdc1ed3d1e40f05139e02420c41 | [] | no_license | wmingstar/Mysolutions | ee011f9c6fbadd0cdc50b58b54a0cbab3c32b14a | e3d077bffbc7db3df354267a580772303a7e0b86 | refs/heads/master | 2021-01-01T05:53:22.637913 | 2017-07-15T06:57:52 | 2017-07-15T06:57:52 | 97,298,324 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,331 | java | import java.util.Arrays;
/**
* Created by byuwa on 2017/4/26.
*/
public class HeapSort {
public static void heapSort(int[] data){
if(data==null && data.length<1){
return;
}
System.out.println("开始排序");
int arrayLength=data.length;
//循环建堆
for(int i=0;i<arrayLength-1;i++){
//建堆
buildMaxHeap(data,arrayLength-1-i);
//交换堆顶和最后一个元素
swap(data,0,arrayLength-1-i);
System.out.println(Arrays.toString(data));
}
}
private static void swap(int[] data, int i, int j) {
int tmp=data[i];
data[i]=data[j];
data[j]=tmp;
}
//对data数组从0到lastIndex建大顶堆
private static void buildMaxHeap(int[] data, int lastIndex) {
//从lastIndex处节点(最后一个节点)的父节点开始
// i=(lastIndex-1)/2,因为是从 0 开始标记
for(int i=(lastIndex-1)/2;i>=0;i--){
//k保存正在判断的节点
int k=i;
//如果当前k节点的子节点存在
while(k*2+1<=lastIndex){
//k节点的左子节点的索引
int biggerIndex=2*k+1;
//如果biggerIndex小于lastIndex,即biggerIndex+1代表的k节点的右子节点存在
if(biggerIndex<lastIndex){
//如果右子节点的值较大
if(data[biggerIndex]<data[biggerIndex+1]){
//biggerIndex总是记录较大子节点的索引
biggerIndex++;
}
}
//如果k节点的值小于其较大的子节点的值
if(data[k]<data[biggerIndex]){
//交换他们
swap(data,k,biggerIndex);
//将biggerIndex赋予k,开始while循环的下一次循环,重新保证k节点的值大于其左右子节点的值
k=biggerIndex;
}else{
break;
}
}
}
}
public static void main(String[] args){
int[] a={49,38,65,97,76,13,27,49,78,34,12,64,5,4,62,99,98,54,56,17,18,23,34,15,35,25,53,51};
HeapSort.heapSort(a);
}
}
| [
"wangmingbupt@163.com"
] | wangmingbupt@163.com |
ea99bc750ed248a3db6b33194e2ef358308d1bb2 | 6fb6731f9bc7371c44a38dc2bb7de8b493f4be8b | /src/Main.java | 46eec29593d87d07d4b344a4d56cccb88f0d378d | [] | no_license | Makarkin/PermutationEntropyClassic | 3b59e144f1b74b203bae9b3a9b26005379e2f4b0 | e94a2dbca81fa84887faf67281a68babea21c8ab | refs/heads/master | 2020-03-17T01:26:59.313344 | 2018-05-12T14:27:51 | 2018-05-12T14:27:51 | 133,153,379 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 812 | java | import Methods.ReadWrite;
import Methods.ValueAndIndex;
import Methods.ValueAndIndexComparator;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("Введите путь до файла с исходными данными");
String filePath = sc.nextLine();
System.out.println("Введите вложенную размерность");
int dimension = Integer.valueOf(sc.nextLine());
HashMap<Double, Integer> map = ReadWrite.read(filePath, dimension);
System.out.println("Введите путь до файла с результирующими данными");
String resFilePath = sc.nextLine();
ReadWrite.write(resFilePath, map);
}
}
| [
"makarkinstanislav@mail.ru"
] | makarkinstanislav@mail.ru |
7837c54649a1039df5af2aa968a4dbfde8ff2bb8 | f00241985f2d7e0fab3ed34fee44767d09ede28a | /Recursos/LectorImagenes/ParserImagenes.java | bffa1b275a7644aa2a7388e0b5b988a2aa77e7f5 | [] | no_license | froi0409/GeneradorImagenes | 88b773ca51bf65a58f33466b76da82b67114850c | 284b62b5a7354d42d82ef8f49cff7b83d950471c | refs/heads/main | 2023-04-04T23:14:31.651013 | 2021-04-12T07:38:44 | 2021-04-12T07:38:44 | 354,402,303 | 0 | 0 | null | 2021-04-12T07:38:44 | 2021-04-03T21:56:21 | Java | UTF-8 | Java | false | false | 14,753 | java |
//----------------------------------------------------
// The following code was generated by CUP v0.11b 20160615 (GIT 4ac7450)
//----------------------------------------------------
package com.froi.generadorfiguras.analizadores.imagenes;
import com.froi.generadorfiguras.estructuras.ArbolAVL;
import com.froi.generadorfiguras.estructuras.ListaDoblementeEnlazada;
import com.froi.generadorfiguras.estructuras.ListaEnlazadaDobleCircular;
import java_cup.runtime.*;
import java_cup.runtime.XMLElement;
/** CUP v0.11b 20160615 (GIT 4ac7450) generated parser.
*/
@SuppressWarnings({"rawtypes"})
public class ParserImagenes extends java_cup.runtime.lr_parser {
public final Class getSymbolContainer() {
return ParserImagenesSym.class;
}
/** Default constructor. */
@Deprecated
public ParserImagenes() {super();}
/** Constructor which sets the default scanner. */
@Deprecated
public ParserImagenes(java_cup.runtime.Scanner s) {super(s);}
/** Constructor which sets the default scanner. */
public ParserImagenes(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) {super(s,sf);}
/** Production table. */
protected static final short _production_table[][] =
unpackFromStrings(new String[] {
"\000\011\000\002\002\004\000\002\002\004\000\002\002" +
"\002\000\002\003\006\000\002\005\005\000\002\005\004" +
"\000\002\005\002\000\002\004\003\000\002\004\003" });
/** Access to production table. */
public short[][] production_table() {return _production_table;}
/** Parse-action table. */
protected static final short[][] _action_table =
unpackFromStrings(new String[] {
"\000\016\000\010\002\uffff\007\004\010\007\001\002\000" +
"\014\004\ufff9\005\ufff9\006\ufff9\007\ufff9\010\ufff9\001\002" +
"\000\004\004\013\001\002\000\010\002\uffff\007\004\010" +
"\007\001\002\000\014\004\ufffa\005\ufffa\006\ufffa\007\ufffa" +
"\010\ufffa\001\002\000\004\002\011\001\002\000\004\002" +
"\001\001\002\000\004\002\000\001\002\000\012\005\ufffb" +
"\006\ufffb\007\ufffb\010\ufffb\001\002\000\012\005\017\006" +
"\015\007\004\010\007\001\002\000\006\007\004\010\007" +
"\001\002\000\012\005\ufffc\006\ufffc\007\ufffc\010\ufffc\001" +
"\002\000\010\002\ufffe\007\ufffe\010\ufffe\001\002\000\012" +
"\005\ufffd\006\ufffd\007\ufffd\010\ufffd\001\002" });
/** Access to parse-action table. */
public short[][] action_table() {return _action_table;}
/** <code>reduce_goto</code> table. */
protected static final short[][] _reduce_table =
unpackFromStrings(new String[] {
"\000\016\000\010\002\007\003\005\004\004\001\001\000" +
"\002\001\001\000\002\001\001\000\010\002\011\003\005" +
"\004\004\001\001\000\002\001\001\000\002\001\001\000" +
"\002\001\001\000\002\001\001\000\004\005\013\001\001" +
"\000\004\004\015\001\001\000\004\004\017\001\001\000" +
"\002\001\001\000\002\001\001\000\002\001\001" });
/** Access to <code>reduce_goto</code> table. */
public short[][] reduce_table() {return _reduce_table;}
/** Instance of action encapsulation class. */
protected CUP$ParserImagenes$actions action_obj;
/** Action encapsulation object initializer. */
protected void init_actions()
{
action_obj = new CUP$ParserImagenes$actions(this);
}
/** Invoke a user supplied parse action. */
public java_cup.runtime.Symbol do_action(
int act_num,
java_cup.runtime.lr_parser parser,
java.util.Stack stack,
int top)
throws java.lang.Exception
{
/* call code in generated class */
return action_obj.CUP$ParserImagenes$do_action(act_num, parser, stack, top);
}
/** Indicates start state. */
public int start_state() {return 0;}
/** Indicates start production. */
public int start_production() {return 0;}
/** <code>EOF</code> Symbol index. */
public int EOF_sym() {return 0;}
/** <code>error</code> Symbol index. */
public int error_sym() {return 1;}
private ListaEnlazadaDobleCircular listaImagenes;
private ArbolAVL arbolCapas;
public ParserImagenes(ImagenesLexer lexer, ListaEnlazadaDobleCircular listaImagenes, ArbolAVL arbolCapas) {
super(lexer);
this.listaImagenes = listaImagenes;
this.arbolCapas = arbolCapas;
}
public void report_error(String message, Object info) {
System.out.println("reporterror");
}
public void report_fatal_error(String message, Object info) {
System.out.println("reportfatal " + info);
}
@Override
public void syntax_error(Symbol s) {
System.out.println("linea: " + s.left + " columna: " + s.right);
}
protected int error_sync_size() {
return 1;
}
/** Cup generated class to encapsulate user supplied action code.*/
@SuppressWarnings({"rawtypes", "unchecked", "unused"})
class CUP$ParserImagenes$actions {
private final ParserImagenes parser;
/** Constructor */
CUP$ParserImagenes$actions(ParserImagenes parser) {
this.parser = parser;
}
/** Method 0 with the actual generated action code for actions 0 to 300. */
public final java_cup.runtime.Symbol CUP$ParserImagenes$do_action_part00000000(
int CUP$ParserImagenes$act_num,
java_cup.runtime.lr_parser CUP$ParserImagenes$parser,
java.util.Stack CUP$ParserImagenes$stack,
int CUP$ParserImagenes$top)
throws java.lang.Exception
{
/* Symbol object for return from actions */
java_cup.runtime.Symbol CUP$ParserImagenes$result;
/* select the action based on the action number */
switch (CUP$ParserImagenes$act_num)
{
/*. . . . . . . . . . . . . . . . . . . .*/
case 0: // $START ::= inicio EOF
{
Object RESULT =null;
int start_valleft = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-1)).left;
int start_valright = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-1)).right;
Object start_val = (Object)((java_cup.runtime.Symbol) CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-1)).value;
RESULT = start_val;
CUP$ParserImagenes$result = parser.getSymbolFactory().newSymbol("$START",0, ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-1)), ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()), RESULT);
}
/* ACCEPT */
CUP$ParserImagenes$parser.done_parsing();
return CUP$ParserImagenes$result;
/*. . . . . . . . . . . . . . . . . . . .*/
case 1: // inicio ::= inicio_p inicio
{
Object RESULT =null;
CUP$ParserImagenes$result = parser.getSymbolFactory().newSymbol("inicio",0, ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-1)), ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()), RESULT);
}
return CUP$ParserImagenes$result;
/*. . . . . . . . . . . . . . . . . . . .*/
case 2: // inicio ::=
{
Object RESULT =null;
CUP$ParserImagenes$result = parser.getSymbolFactory().newSymbol("inicio",0, ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()), RESULT);
}
return CUP$ParserImagenes$result;
/*. . . . . . . . . . . . . . . . . . . .*/
case 3: // inicio_p ::= identificador LLAVE_A capas LLAVE_C
{
Object RESULT =null;
int idleft = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-3)).left;
int idright = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-3)).right;
Object id = (Object)((java_cup.runtime.Symbol) CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-3)).value;
int listaleft = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-1)).left;
int listaright = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-1)).right;
ListaDoblementeEnlazada lista = (ListaDoblementeEnlazada)((java_cup.runtime.Symbol) CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-1)).value;
try {
listaImagenes.insertar(id.toString(), lista);
System.out.println("Se insertó la imagen: " + id.toString() + " y su lista es:");
} catch(RuntimeException e) {
System.out.println("Error de imagen duplicada: " + e.getMessage());
}
CUP$ParserImagenes$result = parser.getSymbolFactory().newSymbol("inicio_p",1, ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-3)), ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()), RESULT);
}
return CUP$ParserImagenes$result;
/*. . . . . . . . . . . . . . . . . . . .*/
case 4: // capas ::= capas COMA identificador
{
ListaDoblementeEnlazada RESULT =null;
int listaleft = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-2)).left;
int listaright = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-2)).right;
ListaDoblementeEnlazada lista = (ListaDoblementeEnlazada)((java_cup.runtime.Symbol) CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-2)).value;
int idleft = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()).left;
int idright = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()).right;
Object id = (Object)((java_cup.runtime.Symbol) CUP$ParserImagenes$stack.peek()).value;
try {
lista.insertar(arbolCapas.buscar(id.toString()));
System.out.println("Se encontró la capa: " + id.toString());
} catch(Exception e) {
System.out.println("Error al buscar nodo");
}
RESULT = lista;
CUP$ParserImagenes$result = parser.getSymbolFactory().newSymbol("capas",3, ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-2)), ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()), RESULT);
}
return CUP$ParserImagenes$result;
/*. . . . . . . . . . . . . . . . . . . .*/
case 5: // capas ::= capas identificador
{
ListaDoblementeEnlazada RESULT =null;
int listaleft = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-1)).left;
int listaright = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-1)).right;
ListaDoblementeEnlazada lista = (ListaDoblementeEnlazada)((java_cup.runtime.Symbol) CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-1)).value;
int idleft = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()).left;
int idright = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()).right;
Object id = (Object)((java_cup.runtime.Symbol) CUP$ParserImagenes$stack.peek()).value;
try {
lista.insertar(arbolCapas.buscar(id.toString()));
System.out.println("Se encontró la capa: " + id.toString());
} catch(Exception e) {
System.out.println("Error al buscar nodo");
}
RESULT = lista;
CUP$ParserImagenes$result = parser.getSymbolFactory().newSymbol("capas",3, ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.elementAt(CUP$ParserImagenes$top-1)), ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()), RESULT);
}
return CUP$ParserImagenes$result;
/*. . . . . . . . . . . . . . . . . . . .*/
case 6: // capas ::=
{
ListaDoblementeEnlazada RESULT =null;
RESULT = new ListaDoblementeEnlazada();
CUP$ParserImagenes$result = parser.getSymbolFactory().newSymbol("capas",3, ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()), RESULT);
}
return CUP$ParserImagenes$result;
/*. . . . . . . . . . . . . . . . . . . .*/
case 7: // identificador ::= ALFANUMERICO
{
Object RESULT =null;
int paramleft = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()).left;
int paramright = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()).right;
Object param = (Object)((java_cup.runtime.Symbol) CUP$ParserImagenes$stack.peek()).value;
RESULT=param;
CUP$ParserImagenes$result = parser.getSymbolFactory().newSymbol("identificador",2, ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()), ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()), RESULT);
}
return CUP$ParserImagenes$result;
/*. . . . . . . . . . . . . . . . . . . .*/
case 8: // identificador ::= NUMERO
{
Object RESULT =null;
int paramleft = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()).left;
int paramright = ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()).right;
Object param = (Object)((java_cup.runtime.Symbol) CUP$ParserImagenes$stack.peek()).value;
RESULT=param;
CUP$ParserImagenes$result = parser.getSymbolFactory().newSymbol("identificador",2, ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()), ((java_cup.runtime.Symbol)CUP$ParserImagenes$stack.peek()), RESULT);
}
return CUP$ParserImagenes$result;
/* . . . . . .*/
default:
throw new Exception(
"Invalid action number "+CUP$ParserImagenes$act_num+"found in internal parse table");
}
} /* end of method */
/** Method splitting the generated action code into several parts. */
public final java_cup.runtime.Symbol CUP$ParserImagenes$do_action(
int CUP$ParserImagenes$act_num,
java_cup.runtime.lr_parser CUP$ParserImagenes$parser,
java.util.Stack CUP$ParserImagenes$stack,
int CUP$ParserImagenes$top)
throws java.lang.Exception
{
return CUP$ParserImagenes$do_action_part00000000(
CUP$ParserImagenes$act_num,
CUP$ParserImagenes$parser,
CUP$ParserImagenes$stack,
CUP$ParserImagenes$top);
}
}
}
| [
"ferrubocana@gmail.com"
] | ferrubocana@gmail.com |
d27c539553d0382eac8799e5d8b18025be320703 | d113ee2b540aeb0a395d7a492637ac436f2d12a7 | /app/src/main/java/com/example/wowproject/ListEncounters.java | 84cc72c1770bc28da1f689155fdb1be1dc65c4fa | [] | no_license | Nicolas-Vero/WowProject | 9ce0ea78a07472d871b5c8ba76b8c6a538d6e506 | dfe4742f56839da33f75811e6b06efd835894d14 | refs/heads/master | 2020-09-24T18:33:49.212555 | 2020-02-02T11:28:55 | 2020-02-02T11:28:55 | 225,817,690 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 400 | java | package com.example.wowproject;
import java.io.Serializable;
import java.util.List;
public class ListEncounters implements Serializable{
private String name;
private Integer id ;
private String imageUrl;
public String getName() {
return name;
}
public Integer getId() {
return id;
}
public String getImageUrl(){
return imageUrl;
}
}
| [
"quentin.behey@live.fr"
] | quentin.behey@live.fr |
aff39d8d9b541e3c8c2324954c8eb078f0be8d34 | 37e548a9a856f376fa7ce772490a3e579d7be0bb | /app/src/main/java/com/guzman/rotem/tamalsocialbank1/LogoActivity.java | 957ad9826336b59e75f4587cc3726b578210598e | [] | no_license | RotemAAA/Tamal | ad01f3783d949a1ab9c117d841e522480127cf1c | f5445558de0a3d851e127ab29820d402dcaee30c | refs/heads/master | 2021-04-03T04:05:44.944477 | 2018-03-18T07:18:28 | 2018-03-18T07:18:28 | 124,424,445 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 954 | java | package com.guzman.rotem.tamalsocialbank1;
import android.content.Intent;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
public class LogoActivity extends AppCompatActivity {
private ImageView ivLogo;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_logo);
animateToMain();
ivLogo = findViewById(R.id.ivLogo);
ivLogo.animate().setDuration(3000).rotation(360).scaleY(3).scaleX(3).scaleXBy(2);
}
private void animateToMain() {
Handler h = new Handler();
h.postDelayed(new Runnable() {
@Override
public void run() {
Intent intent = new Intent(LogoActivity.this, MainActivity.class);
startActivity(intent);
}
}, 3000);
}
}
| [
"rotem.guzman@gmail.com"
] | rotem.guzman@gmail.com |
bbf053045cccf76912f9a658168ada00052004dd | 2dbf06f60a4aabe8135708b293f6182f8b64bf50 | /app/src/main/java/sg/edu/rp/c347/portfolio_2/CustomAdapter.java | 2f3fce2d8087a0baa14de2cba2a7858db7a62750 | [] | no_license | Kiraow188/Portfolio_2 | 80ad9e38cb19ed6cff5b0c53674c430ead4f6d61 | 8e4e35f394920fdb1a8e6598652f7f9d71a8e037 | refs/heads/master | 2020-06-17T06:36:08.291367 | 2019-07-08T14:47:04 | 2019-07-08T14:47:04 | 195,832,609 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,064 | java | package sg.edu.rp.c347.portfolio_2;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.ArrayList;
public class CustomAdapter extends ArrayAdapter<Ride> {
private ArrayList<Ride> ride;
private Context context;
private TextView tvDate;
private TextView tvLocation;
private ImageView ivMap;
public CustomAdapter(Context context, int resource, ArrayList<Ride> objects){
super(context, resource, objects);
// Store the food that is passed to this adapter
ride = objects;
// Store Context object as we would need to use it later
this.context = context;
}
// getView() is the method ListView will call to get the
// View object every time ListView needs a row
@Override
public View getView(int position, View convertView, ViewGroup parent) {
// The usual way to get the LayoutInflater object to
// "inflate" the XML file into a View object
LayoutInflater inflater = (LayoutInflater) context
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
// "Inflate" the row.xml as the layout for the View object
View rowView = inflater.inflate(R.layout.row, parent, false);
// Get the TextView object
tvDate = rowView.findViewById(R.id.tvDateTime);
tvLocation = rowView.findViewById(R.id.tvLocation);
ivMap = rowView.findViewById(R.id.ivMap);
// The parameter "position" is the index of the
// row ListView is requesting.
// We get back the food at the same index.
Ride currentRide = ride.get(position);
// Set the TextView to show the food
tvDate.setText(currentRide.getDate() + " " + currentRide.getTime());
tvLocation.setText(currentRide.getMeetup());
// Return the nicely done up View to the ListView
return rowView;
}
}
| [
"17010368@myrp.edu.sg"
] | 17010368@myrp.edu.sg |
b5fea448db9cd6fd0b9de7ae9e30c7ac695e79f8 | c96643ef242ccfd6282146e21f1866c23f9e1384 | /src/com/_2491nomythic/mars/commands/shooter/TogglePhotonCannon.java | b03f4f7234020a1cda610b60d29472720d132f34 | [] | no_license | 2491-NoMythic/2016-Robot | c4616341ae51dc9b7ffd8f6c1280f65dbcead656 | 1cdea9e1e5104b75d40a4d3ea54755ab171a419f | refs/heads/master | 2021-01-13T13:01:09.645822 | 2018-01-17T19:50:20 | 2018-01-17T19:50:20 | 49,786,619 | 4 | 0 | null | 2016-04-06T01:00:22 | 2016-01-16T18:59:04 | Java | UTF-8 | Java | false | false | 1,034 | java | package com._2491nomythic.mars.commands.shooter;
import com._2491nomythic.mars.commands.CommandBase;
/**
*
*/
public class TogglePhotonCannon extends CommandBase {
public TogglePhotonCannon() {
// Use requires() here to declare subsystem dependencies
// eg. requires(chassis);
}
// Called just before this Command runs the first time
protected void initialize() {
if (shooter.getPhotonCannonValue()) {
shooter.turnOffPhotonCannon();
}
else{
shooter.turnOnPhotonCannon();
}
}
// Called repeatedly when this Command is scheduled to run
protected void execute() {
}
// Make this return true when this Command no longer needs to run execute()
protected boolean isFinished() {
return true;
}
// Called once after isFinished returns true
protected void end() {
}
// Called when another command which requires one or more of the same
// subsystems is scheduled to run
protected void interrupted() {
}
}
| [
"awkirchner@gmail.com"
] | awkirchner@gmail.com |
d99fb0dbd05f0ec848a49ed674a7c1df4dfc7a64 | d5d380f811691aff2f4eefe0149f60c6aeb27e0d | /Projects and Exercises/exercise/exercise1/Exercise07_14Extra.java | 1d1e0acd1e958d9e431ed74d00b9251af68d64f1 | [] | no_license | cloudylc/Introduction-to-Java-Programming-and-Data-Structures-Comprehensive-Version-Eleventh-Edition | 9d8ad6629b90a898bb633a5b623d9daa0413fcc4 | 0e900b204811c5fa9e11dc13dee46835c3bf98ac | refs/heads/master | 2022-11-08T05:44:37.187087 | 2020-06-27T05:51:01 | 2020-06-27T05:51:01 | 286,211,641 | 1 | 2 | null | 2020-08-09T10:06:37 | 2020-08-09T10:06:36 | null | UTF-8 | Java | false | false | 1,843 | java | import java.util.Scanner;
public class Exercise07_14Extra {
/** Main method */
public static void main(String[] args) {
// Create a Scanner
Scanner input = new Scanner(System.in);
// Get number of students
System.out.print("Enter number of students: ");
int numberOfStudents = input.nextInt();
double[] scores = new double[numberOfStudents]; // Array scores
double best = 0; // The best score
// Read scores and find the best score
System.out.print("Enter " + numberOfStudents + " scores: ");
for (int i = 0; i < scores.length; i++) {
scores[i] = input.nextDouble();
if (scores[i] > best)
best = scores[i];
}
// Declare and initialize output string
char grade; // The grade
int count[] = new int[5];
// Assign and display grades
for (int i = 0; i < scores.length; i++) {
if (scores[i] >= best - 10) {
grade = 'A';
count[0]++;
} else if (scores[i] >= best - 20) {
grade = 'B';
count[1]++;
} else if (scores[i] >= best - 30) {
grade = 'C';
count[2]++;
} else if (scores[i] >= best - 40) {
grade = 'D';
count[3]++;
} else {
grade = 'F';
count[4]++;
}
System.out.println("Student " + i + " score is " + scores[i]
+ " and grade is " + grade);
}
// Display a vertical histogram
int maxCount = 0;
for (int i = 0; i < count.length; i++) {
if (maxCount < count[i])
maxCount = count[i];
}
for (int k = maxCount; k > 0; k--) {
for (int i = 0; i < count.length; i++) {
if (count[i] >= k) {
System.out.print("*");
}
else {
System.out.print(" ");
}
}
System.out.println();
}
System.out.println("ABCDF");
}
}
| [
"2502124889@qq.com"
] | 2502124889@qq.com |
c10be7b3a3738db621a1c476a25d5009677dcc26 | 567da4535e716f1b2357125f7ca1379c4d3b596f | /Q576.java | 078acdfdeca6135fc5d5efd2d9755a58a6e09745 | [] | no_license | yangxu11/MyLeetCode | 22a00aa658cf6486d3fd5c8294f87fa94aec9387 | d041268a752ac3e1145c90432d089204288570f5 | refs/heads/master | 2020-04-27T20:06:18.344601 | 2019-11-15T13:22:16 | 2019-11-15T13:22:16 | 174,645,562 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,037 | java | package leetcode;
public class Q576 {
//执行用时: 38 ms, 在Out of Boundary Paths的Java提交中击败了29.11% 的用户
//内存消耗: 28.2 MB, 在Out of Boundary Paths的Java提交中击败了33.33% 的用户
//从边界向内部记录
//使用数组dp[][]来储存n步后,点(i,j)超出边界的可能数
public int findPaths1(int m, int n, int N, int i, int j) {
if(N <= 0) return 0;
int mod = 1000000007;
int ret = 0;
int[][] dp = new int[m][n]; // 保存第k步的结果
int[][] dirs = {{-1, 0}, {1, 0}, {0, -1}, {0, 1}};
for(int k = 1; k <= N; ++k) {
int[][] temp = new int[m][n]; // 保存第k-1步的结果
for(int x = 0; x < m; ++x) {
for(int y = 0; y < n; ++y) {
for(int[] dir : dirs) {
int nx = x + dir[0];
int ny = y + dir[1];
if(nx < 0 || nx >= m || ny < 0 || ny >= n)
temp[x][y] += 1;
else
temp[x][y] = (dp[nx][ny] + temp[x][y]) % mod;
}
}
}
dp = temp;
}
return dp[i][j];
}
//执行用时: 41 ms, 在Out of Boundary Paths的Java提交中击败了13.92% 的用户
//内存消耗: 29.1 MB, 在Out of Boundary Paths的Java提交中击败了11.11% 的用户
//从i,j起点出发到边界
//先计算网格中每个点一步越界的可能数,记录第n步每个点上到达的可能数,总数 += 边界点上的可能数 * 一步出界的可能数
public int findPaths(int m, int n, int N, int i, int j) {
int[][] grid = new int[m][n];
for(int x=0 ; x<m ; x++){
for(int y=0 ; y<n ; y++){
grid[x][y] = count(m,n,x,y);
}
}
int result = 0;
int[][] dp = new int[m][n];
dp[i][j] = 1;
int mod = 1000000007;
while(N>0){
int[][] temp = new int[m][n];
for(int x=0 ; x<m ; x++){
for(int y=0 ; y<n ; y++){
result = (result+dp[x][y] * grid[x][y]%mod )%mod;
if(x-1>=0){
temp[x-1][y]= (temp[x-1][y] + dp[x][y])%mod;
}
if(x+1<m){
temp[x+1][y]= (temp[x+1][y] + dp[x][y])%mod;
}
if(y-1>=0){
temp[x][y-1]= (temp[x][y-1] + dp[x][y])%mod;
}
if(y+1<n){
temp[x][y+1]= (temp[x][y+1] + dp[x][y])%mod;
}
}
}
dp = temp;
N--;
}
return result;
}
public int count(int m,int n,int i,int j){
int count=0;
if(i==0) count++;
if(i==m-1) count++;
if(j==0) count++;
if(j==n-1) count++;
return count;
}
}
| [
"1447714360@qq.com"
] | 1447714360@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.