/external/setupdesign/main/src/com/google/android/setupdesign/items/ |
D | Item.java | 55 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudItem); in Item() 56 enabled = a.getBoolean(R.styleable.SudItem_android_enabled, true); in Item() 57 icon = a.getDrawable(R.styleable.SudItem_android_icon); in Item() 58 title = a.getText(R.styleable.SudItem_android_title); in Item() 59 summary = a.getText(R.styleable.SudItem_android_summary); in Item() 60 layoutRes = a.getResourceId(R.styleable.SudItem_android_layout, getDefaultLayoutResource()); in Item() 61 visible = a.getBoolean(R.styleable.SudItem_android_visible, true); in Item() 62 iconTint = a.getColor(R.styleable.SudItem_sudIconTint, Color.TRANSPARENT); in Item() 63 iconGravity = a.getInt(R.styleable.SudItem_sudIconGravity, Gravity.CENTER_VERTICAL); in Item()
|
D | ButtonItem.java | 53 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudButtonItem); in ButtonItem() 54 enabled = a.getBoolean(R.styleable.SudButtonItem_android_enabled, true); in ButtonItem() 55 text = a.getText(R.styleable.SudButtonItem_android_text); in ButtonItem() 56 theme = a.getResourceId(R.styleable.SudButtonItem_android_theme, R.style.SudButtonItem); in ButtonItem()
|
D | ExpandableSwitchItem.java | 76 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudExpandableSwitchItem); in ExpandableSwitchItem() 77 collapsedSummary = a.getText(R.styleable.SudExpandableSwitchItem_sudCollapsedSummary); in ExpandableSwitchItem() 78 expandedSummary = a.getText(R.styleable.SudExpandableSwitchItem_sudExpandedSummary); in ExpandableSwitchItem() 79 setIconGravity(a.getInt(R.styleable.SudItem_sudIconGravity, Gravity.TOP)); in ExpandableSwitchItem()
|
D | RecyclerItemAdapter.java | 111 parent.getContext().obtainStyledAttributes(R.styleable.SudRecyclerItemAdapter); in onCreateViewHolder() 114 R.styleable.SudRecyclerItemAdapter_android_selectableItemBackground); in onCreateViewHolder() 117 typedArray.getDrawable(R.styleable.SudRecyclerItemAdapter_selectableItemBackground); in onCreateViewHolder() 128 typedArray.getDrawable(R.styleable.SudRecyclerItemAdapter_android_colorBackground); in onCreateViewHolder()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/ |
D | ResourceRemapperTest.java | 36 …assertThat(ThirdClass.styleable.SomeStyleable).isEqualTo(ApplicationRClass.styleable.SomeStyleable… in testRemap() 37 …assertThat(SecondClass.styleable.SomeStyleable).isEqualTo(ApplicationRClass.styleable.SomeStyleabl… in testRemap() 38 …assertThat(ApplicationRClass.styleable.SomeStyleable).asList().containsExactly(ApplicationRClass.a… in testRemap() 82 public static final class styleable { class in ResourceRemapperTest.ApplicationRClass 109 public static final class styleable { class in ResourceRemapperTest.SecondClass 135 public static final class styleable { class in ResourceRemapperTest.ThirdClass
|
/external/setupdesign/main/src/com/google/android/setupdesign/template/ |
D | RecyclerMixin.java | 104 context.obtainStyledAttributes(attrs, R.styleable.SudRecyclerMixin, defStyleAttr, 0); in parseAttributes() 106 final int entries = a.getResourceId(R.styleable.SudRecyclerMixin_android_entries, 0); in parseAttributes() 118 adapter.setHasStableIds(a.getBoolean(R.styleable.SudRecyclerMixin_sudHasStableIds, false)); in parseAttributes() 121 int dividerInset = a.getDimensionPixelSize(R.styleable.SudRecyclerMixin_sudDividerInset, -1); in parseAttributes() 126 a.getDimensionPixelSize(R.styleable.SudRecyclerMixin_sudDividerInsetStart, 0); in parseAttributes() 128 a.getDimensionPixelSize(R.styleable.SudRecyclerMixin_sudDividerInsetEnd, 0); in parseAttributes()
|
D | ListMixin.java | 60 context.obtainStyledAttributes(attrs, R.styleable.SudListMixin, defStyleAttr, 0); in ListMixin() 62 final int entries = a.getResourceId(R.styleable.SudListMixin_android_entries, 0); in ListMixin() 67 int dividerInset = a.getDimensionPixelSize(R.styleable.SudListMixin_sudDividerInset, -1); in ListMixin() 72 a.getDimensionPixelSize(R.styleable.SudListMixin_sudDividerInsetStart, 0); in ListMixin() 73 int dividerInsetEnd = a.getDimensionPixelSize(R.styleable.SudListMixin_sudDividerInsetEnd, 0); in ListMixin()
|
D | IconMixin.java | 70 context.obtainStyledAttributes(attrs, R.styleable.SudIconMixin, defStyleAttr, 0); in IconMixin() 72 final @DrawableRes int icon = a.getResourceId(R.styleable.SudIconMixin_android_icon, 0); in IconMixin() 77 final boolean upscaleIcon = a.getBoolean(R.styleable.SudIconMixin_sudUpscaleIcon, false); in IconMixin() 81 a.getColor(R.styleable.SudIconMixin_sudIconTint, Color.TRANSPARENT); in IconMixin()
|
D | HeaderMixin.java | 61 .obtainStyledAttributes(attrs, R.styleable.SucHeaderMixin, defStyleAttr, 0); in HeaderMixin() 64 final CharSequence headerText = a.getText(R.styleable.SucHeaderMixin_sucHeaderText); in HeaderMixin() 70 a.getColorStateList(R.styleable.SucHeaderMixin_sucHeaderTextColor); in HeaderMixin()
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
D | GlifLayout.java | 110 getContext().obtainStyledAttributes(attrs, R.styleable.SudGlifLayout, defStyleAttr, 0); in init() 112 a.getBoolean(R.styleable.SudGlifLayout_sudUsePartnerHeavyTheme, false); in init() 130 ColorStateList primaryColor = a.getColorStateList(R.styleable.SudGlifLayout_sudColorPrimary); in init() 140 a.getColorStateList(R.styleable.SudGlifLayout_sudBackgroundBaseColor); in init() 144 a.getBoolean(R.styleable.SudGlifLayout_sudBackgroundPatterned, true); in init() 147 final int stickyHeader = a.getResourceId(R.styleable.SudGlifLayout_sudStickyHeader, 0); in init()
|
D | SetupWizardLayout.java | 100 .obtainStyledAttributes(attrs, R.styleable.SudSetupWizardLayout, defStyleAttr, 0); in init() 103 final Drawable background = a.getDrawable(R.styleable.SudSetupWizardLayout_sudBackground); in init() 108 a.getDrawable(R.styleable.SudSetupWizardLayout_sudBackgroundTile); in init() 115 final Drawable illustration = a.getDrawable(R.styleable.SudSetupWizardLayout_sudIllustration); in init() 120 a.getDrawable(R.styleable.SudSetupWizardLayout_sudIllustrationImage); in init() 122 a.getDrawable(R.styleable.SudSetupWizardLayout_sudIllustrationHorizontalTile); in init() 130 a.getDimensionPixelSize(R.styleable.SudSetupWizardLayout_sudDecorPaddingTop, -1); in init() 139 a.getFloat(R.styleable.SudSetupWizardLayout_sudIllustrationAspectRatio, -1f); in init()
|
D | DividerItemDecoration.java | 86 final TypedArray a = context.obtainStyledAttributes(R.styleable.SudDividerItemDecoration); in DividerItemDecoration() 88 a.getDrawable(R.styleable.SudDividerItemDecoration_android_listDivider); in DividerItemDecoration() 90 a.getDimensionPixelSize(R.styleable.SudDividerItemDecoration_android_dividerHeight, 0); in DividerItemDecoration() 94 R.styleable.SudDividerItemDecoration_sudDividerCondition, DIVIDER_CONDITION_EITHER); in DividerItemDecoration()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContextTest.java | 258 TypedArray a = context.obtainStyledAttributes(roboAttributeSet, R.styleable.CustomView); in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet() 259 assertThat(a.getInt(R.styleable.CustomView_itemType, -1234)).isEqualTo(1 /* ungulate */); in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet() 260 assertThat(a.getInt(R.styleable.CustomView_scrollBars, -1234)).isEqualTo(0x300); in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet() 261 assertThat(a.getString(R.styleable.CustomView_quitKeyCombo)).isEqualTo("^q"); in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet() 262 assertThat(a.getText(R.styleable.CustomView_quitKeyCombo).toString()).isEqualTo("^q"); in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet() 263 assertThat(a.getFloat(R.styleable.CustomView_aspectRatio, 1f)).isEqualTo(1.5f); in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet() 264 assertThat(a.getBoolean(R.styleable.CustomView_aspectRatioEnabled, false)).isTrue(); in obtainStyledAttributes_shouldExtractAttributesFromAttributeSet()
|
/external/setupdesign/main/src/com/google/android/setupdesign/view/ |
D | IntrinsicSizeFrameLayout.java | 59 attrs, R.styleable.SudIntrinsicSizeFrameLayout, defStyleAttr, 0); in init() 61 a.getDimensionPixelSize(R.styleable.SudIntrinsicSizeFrameLayout_android_height, 0); in init() 63 a.getDimensionPixelSize(R.styleable.SudIntrinsicSizeFrameLayout_android_width, 0); in init()
|
D | FillContentLayout.java | 62 context.obtainStyledAttributes(attrs, R.styleable.SudFillContentLayout, defStyleAttr, 0); in init() 64 maxHeight = a.getDimensionPixelSize(R.styleable.SudFillContentLayout_android_maxHeight, -1); in init() 65 maxWidth = a.getDimensionPixelSize(R.styleable.SudFillContentLayout_android_maxWidth, -1); in init()
|
/external/setupcompat/main/java/com/google/android/setupcompat/ |
D | PartnerCustomizationLayout.java | 90 attrs, R.styleable.SucPartnerCustomizationLayout, defStyleAttr, 0); in init() 93 a.getBoolean(R.styleable.SucPartnerCustomizationLayout_sucLayoutFullscreen, true); in init() 148 attrs, R.styleable.SucPartnerCustomizationLayout, defStyleAttr, 0); in onBeforeTemplateInflated() 150 if (!a.hasValue(R.styleable.SucPartnerCustomizationLayout_sucUsePartnerResource)) { in onBeforeTemplateInflated() 157 || a.getBoolean(R.styleable.SucPartnerCustomizationLayout_sucUsePartnerResource, true); in onBeforeTemplateInflated()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | KeyboardConfigDialogPreference.java | 78 R.styleable.KeyConfigPreference, defStyle, 0); in KeyboardConfigDialogPreference() 79 mLeftPrefKey = a.getString(R.styleable.KeyConfigPreference_leftKey); in KeyboardConfigDialogPreference() 80 mRightPrefKey = a.getString(R.styleable.KeyConfigPreference_rightKey); in KeyboardConfigDialogPreference() 81 mJumpPrefKey = a.getString(R.styleable.KeyConfigPreference_jumpKey); in KeyboardConfigDialogPreference() 82 mAttackPrefKey = a.getString(R.styleable.KeyConfigPreference_attackKey); in KeyboardConfigDialogPreference()
|
D | SliderPreference.java | 53 R.styleable.SliderPreference, defStyle, 0); in SliderPreference() 54 mMinText = a.getString(R.styleable.SliderPreference_minText); in SliderPreference() 55 mMaxText = a.getString(R.styleable.SliderPreference_maxText); in SliderPreference()
|
/external/setupcompat/main/java/com/google/android/setupcompat/template/ |
D | FooterButton.java | 57 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SucFooterButton); in FooterButton() 58 text = a.getString(R.styleable.SucFooterButton_android_text); in FooterButton() 62 a.getInt(R.styleable.SucFooterButton_sucButtonType, /* defValue= */ ButtonType.OTHER)); in FooterButton() 63 theme = a.getResourceId(R.styleable.SucFooterButton_android_theme, /* defValue= */ 0); in FooterButton()
|
D | StatusBarMixin.java | 89 .obtainStyledAttributes(attrs, R.styleable.SucStatusBarMixin, defStyleAttr, 0); in StatusBarMixin() 91 a.getBoolean(R.styleable.SucStatusBarMixin_sucLightStatusBar, isLightStatusBar())); in StatusBarMixin() 92 setStatusBarBackground(a.getDrawable(R.styleable.SucStatusBarMixin_sucStatusBarBackground)); in StatusBarMixin()
|
D | FooterBarMixin.java | 163 context.obtainStyledAttributes(attrs, R.styleable.SucFooterBarMixin, defStyleAttr, 0); 165 a.getDimensionPixelSize(R.styleable.SucFooterBarMixin_sucFooterBarPaddingVertical, 0); 168 R.styleable.SucFooterBarMixin_sucFooterBarPaddingTop, defaultPadding); 171 R.styleable.SucFooterBarMixin_sucFooterBarPaddingBottom, defaultPadding); 173 a.getColor(R.styleable.SucFooterBarMixin_sucFooterBarPrimaryFooterBackground, 0); 175 a.getColor(R.styleable.SucFooterBarMixin_sucFooterBarSecondaryFooterBackground, 0); 178 a.getResourceId(R.styleable.SucFooterBarMixin_sucFooterBarPrimaryFooterButton, 0); 180 a.getResourceId(R.styleable.SucFooterBarMixin_sucFooterBarSecondaryFooterButton, 0);
|
D | SystemNavBarMixin.java | 79 .obtainStyledAttributes(attrs, R.styleable.SucSystemNavBarMixin, defStyleAttr, 0); in applyPartnerCustomizations() 81 a.getColor(R.styleable.SucSystemNavBarMixin_sucSystemNavBarBackgroundColor, 0); in applyPartnerCustomizations() 85 R.styleable.SucSystemNavBarMixin_sucLightSystemNavBar, isLightSystemNavBar())); in applyPartnerCustomizations()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | NumberPickerPreference.java | 43 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NumberPickerPreference); in NumberPickerPreference() 46 maxValue = a.getInt(R.styleable.NumberPickerPreference_maxValue, DEFAULT_maxValue); in NumberPickerPreference() 47 minValue = a.getInt(R.styleable.NumberPickerPreference_minValue, DEFAULT_minValue); in NumberPickerPreference()
|
D | HistogramChart.java | 52 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.HistogramChart); in HistogramChart() 57 descString = a.getString(R.styleable.HistogramChart_description); in HistogramChart() 58 numDataSets = a.getInteger(R.styleable.HistogramChart_numDataSets, 1); in HistogramChart() 59 binWidth = a.getFloat(R.styleable.HistogramChart_binWidth, 5f); in HistogramChart()
|
/external/setupcompat/main/java/com/google/android/setupcompat/internal/ |
D | TemplateLayout.java | 75 getContext().obtainStyledAttributes(attrs, R.styleable.SucTemplateLayout, defStyleAttr, 0); in init() 77 template = a.getResourceId(R.styleable.SucTemplateLayout_android_layout, 0); in init() 80 containerId = a.getResourceId(R.styleable.SucTemplateLayout_sucContainer, 0); in init()
|