/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
InfoButton.kt | 31 val typedArray = context.obtainStyledAttributes(attrs, R.styleable.InfoButton, 33 val infoText = typedArray.getString(R.styleable.InfoButton_dialogText)
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
DialpadButton.java | 59 TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.DialpadButton); 62 mNumberText = ta.getString(R.styleable.DialpadButton_numberText); 63 mLetterText = ta.getString(R.styleable.DialpadButton_letterText); 64 mImageRes = ta.getResourceId(R.styleable.DialpadButton_image, INVALID_IMAGE_RES);
|
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/ |
MaxWidthLayout.java | 43 initialize(context.obtainStyledAttributes(R.styleable.MaxWidthLayout)); 48 initialize(context.obtainStyledAttributes(attrs, R.styleable.MaxWidthLayout)); 54 .obtainStyledAttributes(attrs, R.styleable.MaxWidthLayout, defStyleAttr, 0)); 61 mMaxChildrenWidth = (int) (ta.getDimension(R.styleable.MaxWidthLayout_carMaxWidth, 0));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
SlidingKeyInputDrawingPreview.java | 31 * @attr ref R.styleable#MainKeyboardView_slidingKeyInputPreviewColor 32 * @attr ref R.styleable#MainKeyboardView_slidingKeyInputPreviewWidth 33 * @attr ref R.styleable#MainKeyboardView_slidingKeyInputPreviewBodyRatio 34 * @attr ref R.styleable#MainKeyboardView_slidingKeyInputPreviewShadowRatio 49 R.styleable.MainKeyboardView_slidingKeyInputPreviewColor, 0); 51 R.styleable.MainKeyboardView_slidingKeyInputPreviewWidth, 0) / 2.0f; 54 R.styleable.MainKeyboardView_slidingKeyInputPreviewBodyRatio, PERCENTAGE_INT) 58 R.styleable.MainKeyboardView_slidingKeyInputPreviewShadowRatio, 0);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
Keyboard.java | 197 android.R.styleable.Keyboard); 199 android.R.styleable.Keyboard_keyWidth, 202 android.R.styleable.Keyboard_keyHeight, 205 android.R.styleable.Keyboard_horizontalGap, 208 android.R.styleable.Keyboard_verticalGap, 212 android.R.styleable.Keyboard_Row); 213 rowEdgeFlags = a.getInt(android.R.styleable.Keyboard_Row_rowEdgeFlags, 0); 214 mode = a.getResourceId(android.R.styleable.Keyboard_Row_keyboardMode, 330 android.R.styleable.Keyboard); 333 android.R.styleable.Keyboard_keyWidth [all...] |
/cts/tests/tests/preference2/src/android/preference2/cts/ |
CustomCheckBoxPreference.java | 48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref); 49 mTitle = a.getString(R.styleable.CustPref_title); 50 mIcon = a.getDrawable(R.styleable.CustPref_icon);
|
CustomEditTextPreference.java | 48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref); 49 mTitle =a.getString(R.styleable.CustPref_title); 50 mIcon = a.getDrawable(R.styleable.CustPref_icon);
|
CustomPreferenceGroup.java | 45 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref); 46 setTitle(a.getString(R.styleable.CustPref_title)); 47 setIcon(a.getDrawable(R.styleable.CustPref_icon));
|
CustomSwitchPreference.java | 49 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref); 50 mTitle =a.getString(R.styleable.CustPref_title); 51 mIcon = a.getDrawable(R.styleable.CustPref_icon);
|
/frameworks/base/core/java/android/view/animation/ |
AccelerateInterpolator.java | 66 a = theme.obtainStyledAttributes(attrs, R.styleable.AccelerateInterpolator, 0, 0); 68 a = res.obtainAttributes(attrs, R.styleable.AccelerateInterpolator); 71 mFactor = a.getFloat(R.styleable.AccelerateInterpolator_factor, 1.0f);
|
AlphaAnimation.java | 43 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.AlphaAnimation); 45 mFromAlpha = a.getFloat(com.android.internal.R.styleable.AlphaAnimation_fromAlpha, 1.0f); 46 mToAlpha = a.getFloat(com.android.internal.R.styleable.AlphaAnimation_toAlpha, 1.0f);
|
AnticipateInterpolator.java | 58 a = theme.obtainStyledAttributes(attrs, R.styleable.AnticipateInterpolator, 0, 0); 60 a = res.obtainAttributes(attrs, R.styleable.AnticipateInterpolator); 63 mTension = a.getFloat(R.styleable.AnticipateInterpolator_tension, 2.0f);
|
CycleInterpolator.java | 49 a = theme.obtainStyledAttributes(attrs, R.styleable.CycleInterpolator, 0, 0); 51 a = resources.obtainAttributes(attrs, R.styleable.CycleInterpolator); 54 mCycles = a.getFloat(R.styleable.CycleInterpolator_cycles, 1.0f);
|
DecelerateInterpolator.java | 59 a = theme.obtainStyledAttributes(attrs, R.styleable.DecelerateInterpolator, 0, 0); 61 a = res.obtainAttributes(attrs, R.styleable.DecelerateInterpolator); 64 mFactor = a.getFloat(R.styleable.DecelerateInterpolator_factor, 1.0f);
|
OvershootInterpolator.java | 59 a = theme.obtainStyledAttributes(attrs, R.styleable.OvershootInterpolator, 0, 0); 61 a = res.obtainAttributes(attrs, R.styleable.OvershootInterpolator); 64 mTension = a.getFloat(R.styleable.OvershootInterpolator_tension, 2.0f);
|
PathInterpolator.java | 100 a = theme.obtainStyledAttributes(attrs, R.styleable.PathInterpolator, 0, 0); 102 a = res.obtainAttributes(attrs, R.styleable.PathInterpolator); 112 if (a.hasValue(R.styleable.PathInterpolator_pathData)) { 113 String pathData = a.getString(R.styleable.PathInterpolator_pathData); 121 if (!a.hasValue(R.styleable.PathInterpolator_controlX1)) { 123 } else if (!a.hasValue(R.styleable.PathInterpolator_controlY1)) { 126 float x1 = a.getFloat(R.styleable.PathInterpolator_controlX1, 0); 127 float y1 = a.getFloat(R.styleable.PathInterpolator_controlY1, 0); 129 boolean hasX2 = a.hasValue(R.styleable.PathInterpolator_controlX2); 130 boolean hasY2 = a.hasValue(R.styleable.PathInterpolator_controlY2) [all...] |
RotateAnimation.java | 52 com.android.internal.R.styleable.RotateAnimation); 55 com.android.internal.R.styleable.RotateAnimation_fromDegrees, 0.0f); 56 mToDegrees = a.getFloat(com.android.internal.R.styleable.RotateAnimation_toDegrees, 0.0f); 59 com.android.internal.R.styleable.RotateAnimation_pivotX)); 64 com.android.internal.R.styleable.RotateAnimation_pivotY));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
TunerSwitch.java | 22 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TunerSwitch); 23 mDefault = a.getBoolean(R.styleable.TunerSwitch_defValue, false); 24 mAction = a.getInt(R.styleable.TunerSwitch_metricsAction, -1);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
FixedLineSummaryPreference.java | 35 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.FixedLineSummaryPreference, 37 if (a.hasValue(R.styleable.FixedLineSummaryPreference_summaryLineCount)) { 39 R.styleable.FixedLineSummaryPreference_summaryLineCount, 1);
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ConfigTest.java | 76 final int[] styleable, final String[] expectedValues) { 78 final TypedArray sa = theme.obtainStyledAttributes(resId, styleable); 79 for (int i = 0; i < styleable.length; i++) { 233 checkValue(res, bagRes, R.styleable.TestConfig, 247 R.styleable.TestConfig, new String[]{"bag default"}); 254 R.styleable.TestConfig, new String[]{"bag xx"}); 262 R.styleable.TestConfig, new String[]{"bag xx-rYY"}); 269 R.styleable.TestConfig, new String[]{"bag mcc111"}); 276 R.styleable.TestConfig, new String[]{"bag mnc222"}); 283 R.styleable.TestConfig, new String[]{"bag notouch"}) [all...] |
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
CardView.java | 64 * @attr ref android.support.v7.cardview.R.styleable#CardView_cardBackgroundColor 65 * @attr ref android.support.v7.cardview.R.styleable#CardView_cardCornerRadius 66 * @attr ref android.support.v7.cardview.R.styleable#CardView_cardElevation 67 * @attr ref android.support.v7.cardview.R.styleable#CardView_cardMaxElevation 68 * @attr ref android.support.v7.cardview.R.styleable#CardView_cardUseCompatPadding 69 * @attr ref android.support.v7.cardview.R.styleable#CardView_cardPreventCornerOverlap 70 * @attr ref android.support.v7.cardview.R.styleable#CardView_contentPadding 71 * @attr ref android.support.v7.cardview.R.styleable#CardView_contentPaddingLeft 72 * @attr ref android.support.v7.cardview.R.styleable#CardView_contentPaddingTop 73 * @attr ref android.support.v7.cardview.R.styleable#CardView_contentPaddingRigh [all...] |
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/app/ |
NavigationItem.java | 53 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.NavigationItem, 55 String labelText = typedArray.getString(R.styleable.NavigationItem_labelText); 56 String infoText = typedArray.getString(R.styleable.NavigationItem_infoText); 57 Drawable logoDrawable = typedArray.getDrawable(R.styleable.NavigationItem_itemLogo); 58 @ColorRes int colorRes = typedArray.getResourceId(R.styleable.NavigationItem_imageColor, 0);
|
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/app/ |
NavigationItem.java | 53 TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.NavigationItem, 55 String labelText = typedArray.getString(R.styleable.NavigationItem_labelText); 56 String infoText = typedArray.getString(R.styleable.NavigationItem_infoText); 57 Drawable logoDrawable = typedArray.getDrawable(R.styleable.NavigationItem_itemLogo); 58 @ColorRes int colorRes = typedArray.getResourceId(R.styleable.NavigationItem_imageColor, 0);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
IconListPreference.java | 38 attrs, R.styleable.IconListPreference, 0, 0); 41 R.styleable.IconListPreference_singleIcon, 0); 43 R.styleable.IconListPreference_icons, 0)); 45 R.styleable.IconListPreference_largeIcons, 0)); 47 R.styleable.IconListPreference_images, 0));
|
/frameworks/base/core/java/android/app/ |
SearchableInfo.java | 111 * @see android.R.styleable#Searchable_searchSuggestAuthority 137 * @see android.R.styleable#Searchable_searchMode 148 * @see android.R.styleable#Searchable_searchMode 159 * @see android.R.styleable#Searchable_searchMode 168 * @see android.R.styleable#Searchable_searchMode 178 * @see android.R.styleable#Searchable_searchSettingsDescription 188 * @see android.R.styleable#Searchable_searchSuggestPath 197 * @see android.R.styleable#Searchable_searchSuggestSelection 212 * @see android.R.styleable#Searchable_searchSuggestIntentAction 229 * @see android.R.styleable#Searchable_searchSuggestIntentDat [all...] |