/cts/tests/tests/preference2/src/android/preference2/cts/ |
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 | 96 a = theme.obtainStyledAttributes(attrs, R.styleable.PathInterpolator, 0, 0); 98 a = res.obtainAttributes(attrs, R.styleable.PathInterpolator); 108 if (a.hasValue(R.styleable.PathInterpolator_pathData)) { 109 String pathData = a.getString(R.styleable.PathInterpolator_pathData); 117 if (!a.hasValue(R.styleable.PathInterpolator_controlX1)) { 119 } else if (!a.hasValue(R.styleable.PathInterpolator_controlY1)) { 122 float x1 = a.getFloat(R.styleable.PathInterpolator_controlX1, 0); 123 float y1 = a.getFloat(R.styleable.PathInterpolator_controlY1, 0); 125 boolean hasX2 = a.hasValue(R.styleable.PathInterpolator_controlX2); 126 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 | 21 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TunerSwitch); 22 mDefault = a.getBoolean(R.styleable.TunerSwitch_defValue, false); 23 mAction = a.getInt(R.styleable.TunerSwitch_metricsAction, -1);
|
/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...] |
/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...] |
/frameworks/base/core/java/android/preference/ |
PreferenceFrameLayout.java | 55 com.android.internal.R.styleable.PreferenceFrameLayout, defStyleAttr, defStyleRes); 64 com.android.internal.R.styleable.PreferenceFrameLayout_borderTop, 67 com.android.internal.R.styleable.PreferenceFrameLayout_borderBottom, 70 com.android.internal.R.styleable.PreferenceFrameLayout_borderLeft, 73 com.android.internal.R.styleable.PreferenceFrameLayout_borderRight, 139 com.android.internal.R.styleable.PreferenceFrameLayout_Layout); 141 com.android.internal.R.styleable.PreferenceFrameLayout_Layout_layout_removeBorders,
|
/frameworks/base/core/java/android/service/voice/ |
VoiceInteractionServiceInfo.java | 113 com.android.internal.R.styleable.VoiceInteractionService); 115 com.android.internal.R.styleable.VoiceInteractionService_sessionService); 117 com.android.internal.R.styleable.VoiceInteractionService_recognitionService); 119 com.android.internal.R.styleable.VoiceInteractionService_settingsActivity); 121 com.android.internal.R.styleable.VoiceInteractionService_supportsAssist, 124 R.styleable.VoiceInteractionService_supportsLaunchVoiceAssistFromKeyguard, 127 R.styleable.VoiceInteractionService_supportsLocalInteraction, false);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
UserAvatarView.java | 44 attrs, R.styleable.UserAvatarView, defStyleAttr, defStyleRes); 49 case R.styleable.UserAvatarView_avatarPadding: 52 case R.styleable.UserAvatarView_frameWidth: 55 case R.styleable.UserAvatarView_framePadding: 58 case R.styleable.UserAvatarView_frameColor: 61 case R.styleable.UserAvatarView_badgeDiameter: 64 case R.styleable.UserAvatarView_badgeMargin:
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
Item.java | 49 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SuwItem); 50 mEnabled = a.getBoolean(R.styleable.SuwItem_android_enabled, true); 51 mIcon = a.getDrawable(R.styleable.SuwItem_android_icon); 52 mTitle = a.getText(R.styleable.SuwItem_android_title); 53 mSummary = a.getText(R.styleable.SuwItem_android_summary); 54 mLayoutRes = a.getResourceId(R.styleable.SuwItem_android_layout, 56 mVisible = a.getBoolean(R.styleable.SuwItem_android_visible, true);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatBackgroundHelper.java | 45 R.styleable.ViewBackgroundHelper, defStyleAttr, 0); 47 if (a.hasValue(R.styleable.ViewBackgroundHelper_android_background)) { 49 a.getResourceId(R.styleable.ViewBackgroundHelper_android_background, -1)); 54 if (a.hasValue(R.styleable.ViewBackgroundHelper_backgroundTint)) { 56 a.getColorStateList(R.styleable.ViewBackgroundHelper_backgroundTint)); 58 if (a.hasValue(R.styleable.ViewBackgroundHelper_backgroundTintMode)) { 61 a.getInt(R.styleable.ViewBackgroundHelper_backgroundTintMode, -1),
|
AppCompatSeekBarHelper.java | 49 R.styleable.AppCompatSeekBar, defStyleAttr, 0); 50 final Drawable drawable = a.getDrawableIfKnown(R.styleable.AppCompatSeekBar_android_thumb); 55 final Drawable tickMark = a.getDrawable(R.styleable.AppCompatSeekBar_tickMark); 58 if (a.hasValue(R.styleable.AppCompatSeekBar_tickMarkTintMode)) { 60 R.styleable.AppCompatSeekBar_tickMarkTintMode, -1), mTickMarkTintMode); 64 if (a.hasValue(R.styleable.AppCompatSeekBar_tickMarkTint)) { 65 mTickMarkTintList = a.getColorStateList(R.styleable.AppCompatSeekBar_tickMarkTint);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureFloatingTextDrawingPreview.java | 38 * @attr ref R.styleable#KeyboardView_gestureFloatingPreviewTextSize 39 * @attr ref R.styleable#KeyboardView_gestureFloatingPreviewTextColor 40 * @attr ref R.styleable#KeyboardView_gestureFloatingPreviewTextOffset 41 * @attr ref R.styleable#KeyboardView_gestureFloatingPreviewColor 42 * @attr ref R.styleable#KeyboardView_gestureFloatingPreviewHorizontalPadding 43 * @attr ref R.styleable#KeyboardView_gestureFloatingPreviewVerticalPadding 44 * @attr ref R.styleable#KeyboardView_gestureFloatingPreviewRoundRadius 64 R.styleable.MainKeyboardView_gestureFloatingPreviewTextSize, 0); 66 R.styleable.MainKeyboardView_gestureFloatingPreviewTextColor, 0); 68 R.styleable.MainKeyboardView_gestureFloatingPreviewTextOffset, 0) [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
ConfigTest.java | 75 final int[] styleable, final String[] expectedValues) { 77 final TypedArray sa = theme.obtainStyledAttributes(resId, styleable); 78 for (int i = 0; i < styleable.length; i++) { 229 checkValue(res, bagRes, R.styleable.TestConfig, 243 R.styleable.TestConfig, new String[]{"bag default"}); 250 R.styleable.TestConfig, new String[]{"bag xx"}); 258 R.styleable.TestConfig, new String[]{"bag xx-rYY"}); 265 R.styleable.TestConfig, new String[]{"bag mcc111"}); 272 R.styleable.TestConfig, new String[]{"bag mnc222"}); 279 R.styleable.TestConfig, new String[]{"bag notouch"}) [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageParser.java | [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
InterpolatingLayout.java | 83 TypedArray a = c.obtainStyledAttributes(attrs, R.styleable.InterpolatingLayout_Layout); 86 R.styleable.InterpolatingLayout_Layout_layout_narrowParentWidth, -1); 88 R.styleable.InterpolatingLayout_Layout_layout_narrowWidth, -1); 90 R.styleable.InterpolatingLayout_Layout_layout_narrowMarginLeft, -1); 92 R.styleable.InterpolatingLayout_Layout_layout_narrowPaddingLeft, -1); 94 R.styleable.InterpolatingLayout_Layout_layout_narrowMarginRight, -1); 96 R.styleable.InterpolatingLayout_Layout_layout_narrowPaddingRight, -1); 98 R.styleable.InterpolatingLayout_Layout_layout_wideParentWidth, -1); 100 R.styleable.InterpolatingLayout_Layout_layout_wideWidth, -1); 102 R.styleable.InterpolatingLayout_Layout_layout_wideMarginLeft, -1) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
EmojiCategory.java | 94 R.styleable.EmojiPalettesView_iconEmojiRecentsTab, 95 R.styleable.EmojiPalettesView_iconEmojiCategory1Tab, 96 R.styleable.EmojiPalettesView_iconEmojiCategory2Tab, 97 R.styleable.EmojiPalettesView_iconEmojiCategory3Tab, 98 R.styleable.EmojiPalettesView_iconEmojiCategory4Tab, 99 R.styleable.EmojiPalettesView_iconEmojiCategory5Tab, 100 R.styleable.EmojiPalettesView_iconEmojiCategory6Tab, 101 R.styleable.EmojiPalettesView_iconEmojiCategory7Tab, 102 R.styleable.EmojiPalettesView_iconEmojiCategory8Tab, 103 R.styleable.EmojiPalettesView_iconEmojiCategory9Tab [all...] |