/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuView.java | 45 * @attr ref android.R.styleable#IconMenuView_rowHeight 46 * @attr ref android.R.styleable#IconMenuView_maxRows 47 * @attr ref android.R.styleable#IconMenuView_maxItemsPerRow 132 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.IconMenuView, 0, 0); 133 mRowHeight = a.getDimensionPixelSize(com.android.internal.R.styleable.IconMenuView_rowHeight, 64); 134 mMaxRows = a.getInt(com.android.internal.R.styleable.IconMenuView_maxRows, 2); 135 mMaxItems = a.getInt(com.android.internal.R.styleable.IconMenuView_maxItems, 6); 136 mMaxItemsPerRow = a.getInt(com.android.internal.R.styleable.IconMenuView_maxItemsPerRow, 3); 137 mMoreIcon = a.getDrawable(com.android.internal.R.styleable.IconMenuView_moreIcon); 140 a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.MenuView, 0, 0) [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
VectorDrawable.java | 145 * or a gradient color (See {@link android.R.styleable#GradientColor} 146 * and {@link android.R.styleable#GradientColorItem}). 151 * state list or a gradient color (See {@link android.R.styleable#GradientColor} 152 * and {@link android.R.styleable#GradientColorItem}). 217 * See more details in {@link android.R.styleable#GradientColor} and 218 * {@link android.R.styleable#GradientColorItem}. 529 state.mThemeAttrs, R.styleable.VectorDrawable); 632 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.VectorDrawable); 658 final int tintMode = a.getInt(R.styleable.VectorDrawable_tintMode, -1); 663 final ColorStateList tint = a.getColorStateList(R.styleable.VectorDrawable_tint) [all...] |
/frameworks/support/percent/src/android/support/percent/ |
PercentLayoutHelper.java | 198 TypedArray array = context.obtainStyledAttributes(attrs, R.styleable.PercentLayout_Layout); 199 float value = array.getFraction(R.styleable.PercentLayout_Layout_layout_widthPercent, 1, 1, 208 value = array.getFraction(R.styleable.PercentLayout_Layout_layout_heightPercent, 1, 1, -1f); 216 value = array.getFraction(R.styleable.PercentLayout_Layout_layout_marginPercent, 1, 1, -1f); 227 value = array.getFraction(R.styleable.PercentLayout_Layout_layout_marginLeftPercent, 1, 1, 236 value = array.getFraction(R.styleable.PercentLayout_Layout_layout_marginTopPercent, 1, 1, 245 value = array.getFraction(R.styleable.PercentLayout_Layout_layout_marginRightPercent, 1, 1, 254 value = array.getFraction(R.styleable.PercentLayout_Layout_layout_marginBottomPercent, 1, 1, 263 value = array.getFraction(R.styleable.PercentLayout_Layout_layout_marginStartPercent, 1, 1, 272 value = array.getFraction(R.styleable.PercentLayout_Layout_layout_marginEndPercent, 1, 1 [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
BaseGridView.java | 242 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.lbBaseGridView); 243 boolean throughFront = a.getBoolean(R.styleable.lbBaseGridView_focusOutFront, false); 244 boolean throughEnd = a.getBoolean(R.styleable.lbBaseGridView_focusOutEnd, false); 246 boolean throughSideStart = a.getBoolean(R.styleable.lbBaseGridView_focusOutSideStart, true); 247 boolean throughSideEnd = a.getBoolean(R.styleable.lbBaseGridView_focusOutSideEnd, true); 250 a.getDimensionPixelSize(R.styleable.lbBaseGridView_android_verticalSpacing, 251 a.getDimensionPixelSize(R.styleable.lbBaseGridView_verticalMargin, 0))); 253 a.getDimensionPixelSize(R.styleable.lbBaseGridView_android_horizontalSpacing, 254 a.getDimensionPixelSize(R.styleable.lbBaseGridView_horizontalMargin, 0))); 255 if (a.hasValue(R.styleable.lbBaseGridView_android_gravity)) [all...] |
GuidedActionsRelativeLayout.java | 41 R.styleable.LeanbackGuidedStepTheme); 42 mKeyLinePercent = ta.getFloat(R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline,
|
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/ |
PagedListView.java | 109 attrs, R.styleable.PagedListView, defStyleAttrs, defStyleRes); 114 if (a.hasValue(R.styleable.PagedListView_scrollbarContainerWidth)) { 116 R.styleable.PagedListView_scrollbarContainerWidth, 124 boolean offsetScrollBar = a.getBoolean(R.styleable.PagedListView_offsetScrollBar, false); 129 params.rightMargin = a.getDimensionPixelSize(R.styleable.PagedListView_rightMargin, 0); 133 boolean fadeLastItem = a.getBoolean(R.styleable.PagedListView_fadeLastItem, false); 135 boolean offsetRows = a.getBoolean(R.styleable.PagedListView_offsetRows, false); 147 if (a.getBoolean(R.styleable.PagedListView_showDivider, true)) { 149 R.styleable.PagedListView_dividerStartMargin, 0); 150 int dividerStartId = a.getResourceId(R.styleable.PagedListView_alignDividerStartTo [all...] |
/developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
FixedAspectSurfaceView.java | 51 R.styleable.FixedAspectSurfaceView, 0, 0); 53 R.styleable.FixedAspectSurfaceView_aspectRatio, 1.f));
|
/developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
FixedAspectSurfaceView.java | 51 R.styleable.FixedAspectSurfaceView, 0, 0); 53 R.styleable.FixedAspectSurfaceView_aspectRatio, 1.f));
|
/frameworks/base/core/java/android/app/ |
WallpaperInfo.java | 125 com.android.internal.R.styleable.Wallpaper); 127 com.android.internal.R.styleable.Wallpaper_settingsActivity); 130 com.android.internal.R.styleable.Wallpaper_thumbnail, 133 com.android.internal.R.styleable.Wallpaper_author, 136 com.android.internal.R.styleable.Wallpaper_description, 139 com.android.internal.R.styleable.Wallpaper_contextUri, 142 com.android.internal.R.styleable.Wallpaper_contextDescription, 145 com.android.internal.R.styleable.Wallpaper_showMetadataInPreview,
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
NfcFServiceInfo.java | 131 com.android.internal.R.styleable.HostNfcFService); 134 com.android.internal.R.styleable.HostNfcFService_description); 150 com.android.internal.R.styleable.SystemCodeFilter); 152 com.android.internal.R.styleable.SystemCodeFilter_name).toUpperCase(); 162 com.android.internal.R.styleable.Nfcid2Filter); 164 com.android.internal.R.styleable.Nfcid2Filter_name).toUpperCase(); 175 com.android.internal.R.styleable.T3tPmmFilter); 177 com.android.internal.R.styleable.T3tPmmFilter_name).toUpperCase();
|
/frameworks/base/core/java/android/widget/ |
CheckedTextView.java | 49 * @attr ref android.R.styleable#CheckedTextView_checked 50 * @attr ref android.R.styleable#CheckedTextView_checkMark 88 attrs, R.styleable.CheckedTextView, defStyleAttr, defStyleRes); 90 final Drawable d = a.getDrawable(R.styleable.CheckedTextView_checkMark); 95 if (a.hasValue(R.styleable.CheckedTextView_checkMarkTintMode)) { 97 R.styleable.CheckedTextView_checkMarkTintMode, -1), mCheckMarkTintMode); 101 if (a.hasValue(R.styleable.CheckedTextView_checkMarkTint)) { 102 mCheckMarkTintList = a.getColorStateList(R.styleable.CheckedTextView_checkMarkTint); 106 mCheckMarkGravity = a.getInt(R.styleable.CheckedTextView_checkMarkGravity, Gravity.END); 108 final boolean checked = a.getBoolean(R.styleable.CheckedTextView_checked, false) [all...] |
ViewAnimator.java | 33 * @attr ref android.R.styleable#ViewAnimator_inAnimation 34 * @attr ref android.R.styleable#ViewAnimator_outAnimation 35 * @attr ref android.R.styleable#ViewAnimator_animateFirstView 55 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ViewAnimator); 56 int resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_inAnimation, 0); 61 resource = a.getResourceId(com.android.internal.R.styleable.ViewAnimator_outAnimation, 0); 66 boolean flag = a.getBoolean(com.android.internal.R.styleable.ViewAnimator_animateFirstView, true); 88 com.android.internal.R.styleable.FrameLayout); 90 com.android.internal.R.styleable.FrameLayout_measureAllChildren, true);
|
/frameworks/base/core/java/com/android/internal/view/ |
ActionBarPolicy.java | 89 TypedArray a = mContext.obtainStyledAttributes(null, R.styleable.ActionBar, 91 int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0);
|
/frameworks/layoutlib/bridge/src/android/preference/ |
Preference_Delegate.java | 68 TypedArray a = context.obtainStyledAttributes(null, R.styleable.PreferenceFragment, 70 int mLayoutResId = a.getResourceId(R.styleable.PreferenceFragment_layout,
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/ |
SwitchItem.java | 67 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SuwSwitchItem); 68 mChecked = a.getBoolean(R.styleable.SuwSwitchItem_android_checked, false);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
ActionBarPolicy.java | 93 TypedArray a = mContext.obtainStyledAttributes(null, R.styleable.ActionBar, 95 int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
RadioOptions.java | 64 R.styleable.RadioOptions, 66 int drawableId = a.getResourceId(R.styleable.RadioOptions_selected_drawable, 0);
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
RadioBandButton.java | 67 TypedArray ta = context.obtainStyledAttributes(attrs, R.styleable.RadioBandButton); 70 setIsBandSelected(ta.getBoolean(R.styleable.RadioBandButton_isBandSelected, false));
|
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/stream/ui/ |
StreamCardView.java | 68 ta = context.obtainStyledAttributes(attrs, R.styleable.StreamCardView, defStyleAttrs, 70 mColumnSpan = ta.getInteger(R.styleable.StreamCardView_columnSpan, mDefaultColumnSpan);
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
EmergencyListPreference.java | 42 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.EmergencyListPreference); 44 a.getTextArray(R.styleable.EmergencyListPreference_entryContentDescriptions);
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
FadeBackground.java | 42 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.FadeBackground); 43 mMode = a.getInt(R.styleable.FadeBackground_fadingMode, Visibility.MODE_IN);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
GuidanceRelativeLayout.java | 51 R.styleable.LeanbackGuidedStepTheme); 52 float percent = ta.getFloat(R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline, 40);
|
MessagePageFrameLayout.java | 52 android.support.v17.leanback.R.styleable.LeanbackGuidedStepTheme); 54 android.support.v17.leanback.R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline,
|
/packages/services/Telephony/src/com/android/phone/ |
EditPhoneNumberPreference.java | 131 R.styleable.EditPhoneNumberPreference, 0, R.style.EditPhoneNumberPreference); 132 mEnableText = a.getString(R.styleable.EditPhoneNumberPreference_enableButtonText); 133 mDisableText = a.getString(R.styleable.EditPhoneNumberPreference_disableButtonText); 134 mChangeNumberText = a.getString(R.styleable.EditPhoneNumberPreference_changeNumButtonText); 135 mConfirmationMode = a.getInt(R.styleable.EditPhoneNumberPreference_confirmMode, 0); 139 a = context.obtainStyledAttributes(attrs, android.R.styleable.CheckBoxPreference, 0, 0); 140 mSummaryOn = a.getString(android.R.styleable.CheckBoxPreference_summaryOn); 141 mSummaryOff = a.getString(android.R.styleable.CheckBoxPreference_summaryOff);
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
FixedAspectSurfaceView.java | 51 R.styleable.FixedAspectSurfaceView, 0, 0); 53 R.styleable.FixedAspectSurfaceView_aspectRatio, 1.f));
|