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

1234567891011>>

/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);
H A DNavigationView.java109 R.styleable.NavigationView, defStyleAttr,
113 setBackgroundDrawable(a.getDrawable(R.styleable.NavigationView_android_background));
114 if (a.hasValue(R.styleable.NavigationView_elevation)) {
116 R.styleable.NavigationView_elevation, 0));
119 a.getBoolean(R.styleable.NavigationView_android_fitsSystemWindows, false));
121 mMaxWidth = a.getDimensionPixelSize(R.styleable.NavigationView_android_maxWidth, 0);
124 if (a.hasValue(R.styleable.NavigationView_itemIconTint)) {
125 itemIconTint = a.getColorStateList(R.styleable.NavigationView_itemIconTint);
132 if (a.hasValue(R.styleable.NavigationView_itemTextAppearance)) {
133 textAppearance = a.getResourceId(R.styleable
[all...]
/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.java79 R.styleable.SwitchPreferenceCompat, defStyleAttr, defStyleRes);
81 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.SwitchPreferenceCompat_summaryOn,
82 R.styleable.SwitchPreferenceCompat_android_summaryOn));
84 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.SwitchPreferenceCompat_summaryOff,
85 R.styleable.SwitchPreferenceCompat_android_summaryOff));
88 R.styleable.SwitchPreferenceCompat_switchTextOn,
89 R.styleable.SwitchPreferenceCompat_android_switchTextOn));
92 R.styleable.SwitchPreferenceCompat_switchTextOff,
93 R.styleable.SwitchPreferenceCompat_android_switchTextOff));
96 R.styleable
[all...]
H A DCheckBoxPreference.java63 R.styleable.CheckBoxPreference, defStyleAttr, defStyleRes);
65 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.CheckBoxPreference_summaryOn,
66 R.styleable.CheckBoxPreference_android_summaryOn));
68 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.CheckBoxPreference_summaryOff,
69 R.styleable.CheckBoxPreference_android_summaryOff));
72 R.styleable.CheckBoxPreference_disableDependentsState,
73 R.styleable.CheckBoxPreference_android_disableDependentsState, false));
H A DPreference.java238 attrs, R.styleable.Preference, defStyleAttr, defStyleRes);
240 mIconResId = TypedArrayUtils.getResourceId(a, R.styleable.Preference_icon,
241 R.styleable.Preference_android_icon, 0);
243 mKey = TypedArrayUtils.getString(a, R.styleable.Preference_key,
244 R.styleable.Preference_android_key);
246 mTitle = TypedArrayUtils.getString(a, R.styleable.Preference_title,
247 R.styleable.Preference_android_title);
249 mSummary = TypedArrayUtils.getString(a, R.styleable.Preference_summary,
250 R.styleable.Preference_android_summary);
252 mOrder = TypedArrayUtils.getInt(a, R.styleable
[all...]
/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.java82 R.styleable.SwitchPreference, defStyleAttr, defStyleRes);
84 setSummaryOn(TypedArrayUtils.getString(a, R.styleable.SwitchPreference_summaryOn,
85 R.styleable.SwitchPreference_android_summaryOn));
87 setSummaryOff(TypedArrayUtils.getString(a, R.styleable.SwitchPreference_summaryOff,
88 R.styleable.SwitchPreference_android_summaryOff));
91 R.styleable.SwitchPreference_switchTextOn,
92 R.styleable.SwitchPreference_android_switchTextOn));
95 R.styleable.SwitchPreference_switchTextOff,
96 R.styleable.SwitchPreference_android_switchTextOff));
99 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/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatCompoundButtonHelper.java56 TypedArray a = mView.getContext().obtainStyledAttributes(attrs, R.styleable.CompoundButton,
59 if (a.hasValue(R.styleable.CompoundButton_android_button)) {
61 R.styleable.CompoundButton_android_button, 0);
67 if (a.hasValue(R.styleable.CompoundButton_buttonTint)) {
69 a.getColorStateList(R.styleable.CompoundButton_buttonTint));
71 if (a.hasValue(R.styleable.CompoundButton_buttonTintMode)) {
74 a.getInt(R.styleable.CompoundButton_buttonTintMode, -1),
H A DAppCompatTextHelper.java91 a = TintTypedArray.obtainStyledAttributes(context, ap, R.styleable.TextAppearance);
92 if (!hasPwdTm && a.hasValue(R.styleable.TextAppearance_textAllCaps)) {
94 allCaps = a.getBoolean(R.styleable.TextAppearance_textAllCaps, false);
97 && a.hasValue(R.styleable.TextAppearance_android_textColor)) {
100 textColor = a.getColorStateList(R.styleable.TextAppearance_android_textColor);
106 a = TintTypedArray.obtainStyledAttributes(context, attrs, R.styleable.TextAppearance,
108 if (!hasPwdTm && a.hasValue(R.styleable.TextAppearance_textAllCaps)) {
110 allCaps = a.getBoolean(R.styleable.TextAppearance_textAllCaps, false);
113 && a.hasValue(R.styleable.TextAppearance_android_textColor)) {
116 textColor = a.getColorStateList(R.styleable
[all...]
/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);
82 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.java348 TypedArray a = mContext.obtainStyledAttributes(attrs, R.styleable.MenuGroup);
350 groupId = a.getResourceId(R.styleable.MenuGroup_android_id, defaultGroupId);
352 R.styleable.MenuGroup_android_menuCategory, defaultItemCategory);
353 groupOrder = a.getInt(R.styleable.MenuGroup_android_orderInCategory, defaultItemOrder);
355 R.styleable.MenuGroup_android_checkableBehavior, defaultItemCheckable);
356 groupVisible = a.getBoolean(R.styleable.MenuGroup_android_visible, defaultItemVisible);
357 groupEnabled = a.getBoolean(R.styleable.MenuGroup_android_enabled, defaultItemEnabled);
366 TypedArray a = mContext.obtainStyledAttributes(attrs, R.styleable.MenuItem);
369 itemId = a.getResourceId(R.styleable.MenuItem_android_id, defaultItemId);
370 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);
H A DButtonItem.java52 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SuwButtonItem);
53 mEnabled = a.getBoolean(R.styleable.SuwButtonItem_android_enabled, true);
54 mText = a.getText(R.styleable.SuwButtonItem_android_text);
55 mTheme = a.getResourceId(R.styleable.SuwButtonItem_android_theme, R.style.SuwButtonItem);

Completed in 509 milliseconds

1234567891011>>