Searched refs:styleable (Results 1 - 25 of 362) sorted by relevance

1234567891011>>

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatTextHelper.java55 R.styleable.AppCompatTextHelper, defStyleAttr, 0);
56 final int ap = a.getResourceId(R.styleable.AppCompatTextHelper_android_textAppearance, -1);
58 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableLeft)) {
60 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableLeft, 0));
62 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableTop)) {
64 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableTop, 0));
66 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableRight)) {
68 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableRight, 0));
70 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableBottom)) {
72 a.getResourceId(R.styleable
[all...]
H A DAppCompatTextHelperV17.java41 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.AppCompatTextHelper,
43 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableStart)) {
45 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableStart, 0));
47 if (a.hasValue(R.styleable.AppCompatTextHelper_android_drawableEnd)) {
49 a.getResourceId(R.styleable.AppCompatTextHelper_android_drawableEnd, 0));
H A DAppCompatCompoundButtonHelper.java55 TypedArray a = mView.getContext().obtainStyledAttributes(attrs, R.styleable.CompoundButton,
58 if (a.hasValue(R.styleable.CompoundButton_android_button)) {
60 R.styleable.CompoundButton_android_button, 0);
66 if (a.hasValue(R.styleable.CompoundButton_buttonTint)) {
68 a.getColorStateList(R.styleable.CompoundButton_buttonTint));
70 if (a.hasValue(R.styleable.CompoundButton_buttonTintMode)) {
73 a.getInt(R.styleable.CompoundButton_buttonTintMode, -1),
/frameworks/support/design/src/android/support/design/widget/
H A DTabItem.java32 * @attr ref android.support.design.R.styleable#TabItem_android_icon
33 * @attr ref android.support.design.R.styleable#TabItem_android_text
34 * @attr ref android.support.design.R.styleable#TabItem_android_layout
51 R.styleable.TabItem);
52 mText = a.getText(R.styleable.TabItem_android_text);
53 mIcon = a.getDrawable(R.styleable.TabItem_android_icon);
54 mCustomLayout = a.getResourceId(R.styleable.TabItem_android_layout, 0);
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
H A DAddressView.java29 R.styleable.AddressView,
32 mNameView.setText(a.getString(R.styleable.AddressView_name));
33 int streetNumber = a.getInteger(R.styleable.AddressView_streetNumber, -1);
35 " " + a.getString(R.styleable.AddressView_streetName));
36 mCityStateZipView.setText(a.getString(R.styleable.AddressView_city) + ", " +
37 a.getString(R.styleable.AddressView_state) + " " +
38 a.getString(R.styleable.AddressView_zip));
39 mCountryView.setText(a.getString(R.styleable.AddressView_country));
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DSimpleInflater.java125 com.android.internal.R.styleable.MenuItem);
128 int itemId = a.getResourceId(R.styleable.MenuItem_android_id, 0);
129 final int category = a.getInt(R.styleable.MenuItem_android_menuCategory, 0);
130 final int order = a.getInt(R.styleable.MenuItem_android_orderInCategory, 0);
131 CharSequence itemTitle = a.getText(R.styleable.MenuItem_android_title);
132 CharSequence itemTitleCondensed = a.getText(R.styleable.MenuItem_android_titleCondensed);
133 int itemIconResId = a.getResourceId(R.styleable.MenuItem_android_icon, 0);
134 String itemAlphabeticShortcut = a.getString(R.styleable.MenuItem_android_alphabeticShortcut);
135 String itemNumericShortcut = a.getString(R.styleable.MenuItem_android_numericShortcut);
137 if (a.hasValue(R.styleable
[all...]
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DDialogPreference.java57 R.styleable.DialogPreference, defStyleAttr, defStyleRes);
59 mDialogTitle = TypedArrayUtils.getString(a, R.styleable.DialogPreference_dialogTitle,
60 R.styleable.DialogPreference_android_dialogTitle);
67 mDialogMessage = TypedArrayUtils.getString(a, R.styleable.DialogPreference_dialogMessage,
68 R.styleable.DialogPreference_android_dialogMessage);
70 mDialogIcon = TypedArrayUtils.getDrawable(a, R.styleable.DialogPreference_dialogIcon,
71 R.styleable.DialogPreference_android_dialogIcon);
74 R.styleable.DialogPreference_positiveButtonText,
75 R.styleable.DialogPreference_android_positiveButtonText);
78 R.styleable
[all...]
H A DSwitchPreferenceCompat.java82 R.styleable.SwitchPreferenceCompat, defStyleAttr, defStyleRes);
84 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.SwitchPreferenceCompat_summaryOn,
85 R.styleable.SwitchPreferenceCompat_android_summaryOn));
87 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.SwitchPreferenceCompat_summaryOff,
88 R.styleable.SwitchPreferenceCompat_android_summaryOff));
91 R.styleable.SwitchPreferenceCompat_switchTextOn,
92 R.styleable.SwitchPreferenceCompat_android_switchTextOn));
95 R.styleable.SwitchPreferenceCompat_switchTextOff,
96 R.styleable.SwitchPreferenceCompat_android_switchTextOff));
99 R.styleable
[all...]
H A DCheckBoxPreference.java66 R.styleable.CheckBoxPreference, defStyleAttr, defStyleRes);
68 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.CheckBoxPreference_summaryOn,
69 R.styleable.CheckBoxPreference_android_summaryOn));
71 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.CheckBoxPreference_summaryOff,
72 R.styleable.CheckBoxPreference_android_summaryOff));
75 R.styleable.CheckBoxPreference_disableDependentsState,
76 R.styleable.CheckBoxPreference_android_disableDependentsState, false));
/frameworks/base/graphics/java/android/graphics/drawable/
H A DPaintDrawable.java77 com.android.internal.R.styleable.DrawableCorners);
79 com.android.internal.R.styleable.DrawableCorners_radius, 0);
85 com.android.internal.R.styleable.DrawableCorners_topLeftRadius, radius);
87 com.android.internal.R.styleable.DrawableCorners_topRightRadius, radius);
89 com.android.internal.R.styleable.DrawableCorners_bottomLeftRadius, radius);
91 com.android.internal.R.styleable.DrawableCorners_bottomRightRadius, radius);
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DSwitchPreference.java85 R.styleable.SwitchPreference, defStyleAttr, defStyleRes);
87 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.SwitchPreference_summaryOn,
88 R.styleable.SwitchPreference_android_summaryOn));
90 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.SwitchPreference_summaryOff,
91 R.styleable.SwitchPreference_android_summaryOff));
94 R.styleable.SwitchPreference_switchTextOn,
95 R.styleable.SwitchPreference_android_switchTextOn));
98 R.styleable.SwitchPreference_switchTextOff,
99 R.styleable.SwitchPreference_android_switchTextOff));
102 R.styleable
[all...]
/frameworks/base/core/java/android/view/
H A DPointerIcon.java215 com.android.internal.R.styleable.Pointer,
408 parser, com.android.internal.R.styleable.PointerIcon);
409 bitmapRes = a.getResourceId(com.android.internal.R.styleable.PointerIcon_bitmap, 0);
410 hotSpotX = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotX, 0);
411 hotSpotY = a.getDimension(com.android.internal.R.styleable.PointerIcon_hotSpotY, 0);
482 return com.android.internal.R.styleable.Pointer_pointerIconArrow;
484 return com.android.internal.R.styleable.Pointer_pointerIconSpotHover;
486 return com.android.internal.R.styleable.Pointer_pointerIconSpotTouch;
488 return com.android.internal.R.styleable.Pointer_pointerIconSpotAnchor;
490 return com.android.internal.R.styleable
[all...]
H A DMenuInflater.java366 com.android.internal.R.styleable.MenuGroup);
368 groupId = a.getResourceId(com.android.internal.R.styleable.MenuGroup_id, defaultGroupId);
369 groupCategory = a.getInt(com.android.internal.R.styleable.MenuGroup_menuCategory, defaultItemCategory);
370 groupOrder = a.getInt(com.android.internal.R.styleable.MenuGroup_orderInCategory, defaultItemOrder);
371 groupCheckable = a.getInt(com.android.internal.R.styleable.MenuGroup_checkableBehavior, defaultItemCheckable);
372 groupVisible = a.getBoolean(com.android.internal.R.styleable.MenuGroup_visible, defaultItemVisible);
373 groupEnabled = a.getBoolean(com.android.internal.R.styleable.MenuGroup_enabled, defaultItemEnabled);
383 com.android.internal.R.styleable.MenuItem);
386 itemId = a.getResourceId(com.android.internal.R.styleable.MenuItem_id, defaultItemId);
387 final int category = a.getInt(com.android.internal.R.styleable
[all...]
/frameworks/base/core/java/android/preference/
H A DCheckBoxPreference.java31 * @attr ref android.R.styleable#CheckBoxPreference_summaryOff
32 * @attr ref android.R.styleable#CheckBoxPreference_summaryOn
33 * @attr ref android.R.styleable#CheckBoxPreference_disableDependentsState
46 com.android.internal.R.styleable.CheckBoxPreference, defStyleAttr, defStyleRes);
47 setSummaryOn(a.getString(com.android.internal.R.styleable.CheckBoxPreference_summaryOn));
48 setSummaryOff(a.getString(com.android.internal.R.styleable.CheckBoxPreference_summaryOff));
50 com.android.internal.R.styleable.CheckBoxPreference_disableDependentsState, false));
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestViewDrawText.java45 R.styleable.DrawTextTestView, defStyle, 0);
46 mSize = a.getDimension(R.styleable.DrawTextTestView_size, 40.0f);
47 mColor = a.getColor(R.styleable.DrawTextTestView_color, Color.YELLOW);
48 final CharSequence text = a.getText(R.styleable.DrawTextTestView_text);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DVerticalGridView.java58 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.lbVerticalGridView);
60 setNumColumns(a.getInt(R.styleable.lbVerticalGridView_numberOfColumns, 1));
65 TypedValue typedValue = array.peekValue(R.styleable.lbVerticalGridView_columnWidth);
67 int size = array.getLayoutDimension(R.styleable.lbVerticalGridView_columnWidth, 0);
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountAuthenticatorCache.java59 com.android.internal.R.styleable.AccountAuthenticator);
62 sa.getString(com.android.internal.R.styleable.AccountAuthenticator_accountType);
64 com.android.internal.R.styleable.AccountAuthenticator_label, 0);
66 com.android.internal.R.styleable.AccountAuthenticator_icon, 0);
68 com.android.internal.R.styleable.AccountAuthenticator_smallIcon, 0);
70 com.android.internal.R.styleable.AccountAuthenticator_accountPreferences, 0);
72 com.android.internal.R.styleable.AccountAuthenticator_customTokens, false);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DUsageView.java48 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.UsageView, 0, 0);
49 if (a.hasValue(R.styleable.UsageView_sideLabels)) {
50 setSideLabels(a.getTextArray(R.styleable.UsageView_sideLabels));
52 if (a.hasValue(R.styleable.UsageView_bottomLabels)) {
53 setBottomLabels(a.getTextArray(R.styleable.UsageView_bottomLabels));
55 if (a.hasValue(R.styleable.UsageView_textColor)) {
56 int color = a.getColor(R.styleable.UsageView_textColor, 0);
64 if (a.hasValue(R.styleable.UsageView_android_gravity)) {
65 int gravity = a.getInt(R.styleable.UsageView_android_gravity, 0);
83 mUsageGraph.setAccentColor(a.getColor(R.styleable
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DWeightedLinearLayout.java46 context.obtainStyledAttributes(attrs, styleable.WeightedLinearLayout);
48 mMajorWeightMin = a.getFloat(styleable.WeightedLinearLayout_majorWeightMin, 0.0f);
49 mMinorWeightMin = a.getFloat(styleable.WeightedLinearLayout_minorWeightMin, 0.0f);
50 mMajorWeightMax = a.getFloat(styleable.WeightedLinearLayout_majorWeightMax, 0.0f);
51 mMinorWeightMax = a.getFloat(styleable.WeightedLinearLayout_minorWeightMax, 0.0f);
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DSupportMenuInflater.java352 TypedArray a = mContext.obtainStyledAttributes(attrs, R.styleable.MenuGroup);
354 groupId = a.getResourceId(R.styleable.MenuGroup_android_id, defaultGroupId);
356 R.styleable.MenuGroup_android_menuCategory, defaultItemCategory);
357 groupOrder = a.getInt(R.styleable.MenuGroup_android_orderInCategory, defaultItemOrder);
359 R.styleable.MenuGroup_android_checkableBehavior, defaultItemCheckable);
360 groupVisible = a.getBoolean(R.styleable.MenuGroup_android_visible, defaultItemVisible);
361 groupEnabled = a.getBoolean(R.styleable.MenuGroup_android_enabled, defaultItemEnabled);
370 TypedArray a = mContext.obtainStyledAttributes(attrs, R.styleable.MenuItem);
373 itemId = a.getResourceId(R.styleable.MenuItem_android_id, defaultItemId);
374 final int category = a.getInt(R.styleable
[all...]
/frameworks/base/core/java/android/content/res/
H A DGradientColor.java184 R.styleable.GradientColor_startX, mStartX);
186 R.styleable.GradientColor_startY, mStartY);
188 R.styleable.GradientColor_endX, mEndX);
190 R.styleable.GradientColor_endY, mEndY);
193 R.styleable.GradientColor_centerX, mCenterX);
195 R.styleable.GradientColor_centerY, mCenterY);
198 R.styleable.GradientColor_type, mGradientType);
201 R.styleable.GradientColor_startColor, mStartColor);
203 R.styleable.GradientColor_centerColor);
205 R.styleable
[all...]
/frameworks/base/core/java/android/content/
H A DSyncAdaptersCache.java60 com.android.internal.R.styleable.SyncAdapter);
63 sa.getString(com.android.internal.R.styleable.SyncAdapter_contentAuthority);
65 sa.getString(com.android.internal.R.styleable.SyncAdapter_accountType);
70 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_userVisible, true);
72 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_supportsUploading,
75 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_isAlwaysSyncable,
78 sa.getBoolean(com.android.internal.R.styleable.SyncAdapter_allowParallelSyncs,
81 sa.getString(com.android.internal.R.styleable
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DAbstractItemHierarchy.java39 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SuwAbstractItem);
40 mId = a.getResourceId(R.styleable.SuwAbstractItem_android_id, 0);
/frameworks/base/core/java/android/view/animation/
H A DAccelerateInterpolator.java66 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);
H A DAlphaAnimation.java43 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);

Completed in 8938 milliseconds

1234567891011>>