/external/setupdesign/ |
D | exempting_lint_checks.txt | 1 …java: CustomViewStyleable: getContext().obtainStyledAttributes(attrs, R.styleable.SudGlifLayout, d… 2 …izardLayout.java: CustomViewStyleable: .obtainStyledAttributes(attrs, R.styleable.SudSetupWizardLa… 3 …yout.java: CustomViewStyleable: context.obtainStyledAttributes(attrs, R.styleable.SudFillContentLa… 4 …ecyclerView.java: CustomViewStyleable: .obtainStyledAttributes(attrs, R.styleable.SudHeaderRecycle… 5 …java: CustomViewStyleable: getContext().obtainStyledAttributes(attrs, R.styleable.SudIllustration,… 6 …View.java: CustomViewStyleable: context.obtainStyledAttributes(attrs, R.styleable.SudIllustrationV… 7 …esign/view/IntrinsicSizeFrameLayout.java: CustomViewStyleable: attrs, R.styleable.SudIntrinsicSize… 10 …derListView.java: CustomViewStyleable: .obtainStyledAttributes(attrs, R.styleable.SudStickyHeaderL… 12 …java: CustomViewStyleable: getContext().obtainStyledAttributes(attrs, R.styleable.SudGlifLayout, d… 13 …izardLayout.java: CustomViewStyleable: .obtainStyledAttributes(attrs, R.styleable.SudSetupWizardLa… [all …]
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/ |
D | LottieAnimationView.java | 136 TypedArray ta = getContext().obtainStyledAttributes(attrs, R.styleable.LottieAnimationView); in init() 138 … cacheComposition = ta.getBoolean(R.styleable.LottieAnimationView_lottie_cacheComposition, true); in init() 139 boolean hasRawRes = ta.hasValue(R.styleable.LottieAnimationView_lottie_rawRes); in init() 140 boolean hasFileName = ta.hasValue(R.styleable.LottieAnimationView_lottie_fileName); in init() 141 boolean hasUrl = ta.hasValue(R.styleable.LottieAnimationView_lottie_url); in init() 146 int rawResId = ta.getResourceId(R.styleable.LottieAnimationView_lottie_rawRes, 0); in init() 151 String fileName = ta.getString(R.styleable.LottieAnimationView_lottie_fileName); in init() 156 String url = ta.getString(R.styleable.LottieAnimationView_lottie_url); in init() 162 setFallbackResource(ta.getResourceId(R.styleable.LottieAnimationView_lottie_fallbackRes, 0)); in init() 164 if (ta.getBoolean(R.styleable.LottieAnimationView_lottie_autoPlay, false)) { in init() [all …]
|
/external/setupcompat/ |
D | exempting_lint_checks.txt | 1 …upcompat/PartnerCustomizationLayout.java: CustomViewStyleable: attrs, R.styleable.SucPartnerCustom… 2 …java: CustomViewStyleable: getContext().obtainStyledAttributes(attrs, R.styleable.SucTemplateLayou… 3 …upcompat/PartnerCustomizationLayout.java: CustomViewStyleable: attrs, R.styleable.SucPartnerCustom… 4 …java: CustomViewStyleable: getContext().obtainStyledAttributes(attrs, R.styleable.SucTemplateLayou… 5 …upcompat/PartnerCustomizationLayout.java: CustomViewStyleable: attrs, R.styleable.SucPartnerCustom… 6 …java: CustomViewStyleable: getContext().obtainStyledAttributes(attrs, R.styleable.SucTemplateLayou…
|
/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/items/ |
D | Item.java | 58 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudItem); in Item() 59 enabled = a.getBoolean(R.styleable.SudItem_android_enabled, true); in Item() 60 icon = a.getDrawable(R.styleable.SudItem_android_icon); in Item() 61 title = a.getText(R.styleable.SudItem_android_title); in Item() 62 summary = a.getText(R.styleable.SudItem_android_summary); in Item() 63 layoutRes = a.getResourceId(R.styleable.SudItem_android_layout, getDefaultLayoutResource()); in Item() 64 visible = a.getBoolean(R.styleable.SudItem_android_visible, true); in Item() 65 iconTint = a.getColor(R.styleable.SudItem_sudIconTint, Color.TRANSPARENT); in Item() 66 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 | 94 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.SudExpandableSwitchItem); in ExpandableSwitchItem() 95 collapsedSummary = a.getText(R.styleable.SudExpandableSwitchItem_sudCollapsedSummary); in ExpandableSwitchItem() 96 expandedSummary = a.getText(R.styleable.SudExpandableSwitchItem_sudExpandedSummary); in ExpandableSwitchItem() 97 setIconGravity(a.getInt(R.styleable.SudItem_sudIconGravity, Gravity.TOP)); in ExpandableSwitchItem()
|
D | RecyclerItemAdapter.java | 120 parent.getContext().obtainStyledAttributes(R.styleable.SudRecyclerItemAdapter); in onCreateViewHolder() 123 R.styleable.SudRecyclerItemAdapter_android_selectableItemBackground); in onCreateViewHolder() 126 typedArray.getDrawable(R.styleable.SudRecyclerItemAdapter_selectableItemBackground); in onCreateViewHolder() 139 typedArray.getDrawable(R.styleable.SudRecyclerItemAdapter_android_colorBackground); in onCreateViewHolder()
|
/external/skia/platform_tools/android/apps/skottie/skottielib/src/main/java/org/skia/skottie/ |
D | SkottieView.java | 78 .obtainStyledAttributes(attrs, R.styleable.SkottieView, defStyleAttr, defStyleRes); in SkottieView() 81 mRepeatCount = a.getInteger(R.styleable.SkottieView_android_repeatCount, 0); in SkottieView() 83 switch (a.getInteger(R.styleable.SkottieView_backing_view, -1)) { in SkottieView() 87 mBackgroundColor = a.getColor(R.styleable.SkottieView_background_color, 0); in SkottieView() 91 mBackgroundColor = a.getColor(R.styleable.SkottieView_background_color, -1); in SkottieView() 105 int src = a.getResourceId(R.styleable.SkottieView_src, -1); in SkottieView()
|
/external/setupcompat/main/java/com/google/android/setupcompat/ |
D | PartnerCustomizationLayout.java | 106 attrs, R.styleable.SucPartnerCustomizationLayout, defStyleAttr, 0); in init() 109 a.getBoolean(R.styleable.SucPartnerCustomizationLayout_sucLayoutFullscreen, true); in init() 162 attrs, R.styleable.SucPartnerCustomizationLayout, defStyleAttr, 0); in onBeforeTemplateInflated() 164 if (!a.hasValue(R.styleable.SucPartnerCustomizationLayout_sucUsePartnerResource)) { in onBeforeTemplateInflated() 171 || a.getBoolean(R.styleable.SucPartnerCustomizationLayout_sucUsePartnerResource, true); in onBeforeTemplateInflated() 173 useDynamicColor = a.hasValue(R.styleable.SucPartnerCustomizationLayout_sucFullDynamicColor); in onBeforeTemplateInflated() 175 a.getBoolean(R.styleable.SucPartnerCustomizationLayout_sucFullDynamicColor, false); in onBeforeTemplateInflated()
|
/external/setupdesign/main/src/com/google/android/setupdesign/template/ |
D | RecyclerMixin.java | 123 context.obtainStyledAttributes(attrs, R.styleable.SudRecyclerMixin, defStyleAttr, 0); in parseAttributes() 125 final int entries = a.getResourceId(R.styleable.SudRecyclerMixin_android_entries, 0); in parseAttributes() 139 adapter.setHasStableIds(a.getBoolean(R.styleable.SudRecyclerMixin_sudHasStableIds, false)); in parseAttributes() 148 int dividerInset = a.getDimensionPixelSize(R.styleable.SudRecyclerMixin_sudDividerInset, -1); in parseAttributes() 153 a.getDimensionPixelSize(R.styleable.SudRecyclerMixin_sudDividerInsetStart, 0); in parseAttributes() 155 a.getDimensionPixelSize(R.styleable.SudRecyclerMixin_sudDividerInsetEnd, 0); in parseAttributes()
|
D | ListMixin.java | 63 context.obtainStyledAttributes(attrs, R.styleable.SudListMixin, defStyleAttr, 0); in ListMixin() 65 final int entries = a.getResourceId(R.styleable.SudListMixin_android_entries, 0); in ListMixin() 73 int dividerInset = a.getDimensionPixelSize(R.styleable.SudListMixin_sudDividerInset, -1); in ListMixin() 78 a.getDimensionPixelSize(R.styleable.SudListMixin_sudDividerInsetStart, 0); in ListMixin() 80 a.getDimensionPixelSize(R.styleable.SudListMixin_sudDividerInsetEnd, 0); in ListMixin()
|
D | IconMixin.java | 72 attrs, R.styleable.SudIconMixin, defStyleAttr, /* defStyleRes= */ 0); in IconMixin() 75 a.getResourceId(R.styleable.SudIconMixin_android_icon, /* defValue= */ 0); in IconMixin() 81 a.getBoolean(R.styleable.SudIconMixin_sudUpscaleIcon, /* defValue= */ false); in IconMixin() 85 a.getColor(R.styleable.SudIconMixin_sudIconTint, Color.TRANSPARENT); in IconMixin()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | DefaultTimeBar.java | 267 context.getTheme().obtainStyledAttributes(timebarAttrs, R.styleable.DefaultTimeBar, 0, 0); in DefaultTimeBar() 269 scrubberDrawable = a.getDrawable(R.styleable.DefaultTimeBar_scrubber_drawable); in DefaultTimeBar() 275 barHeight = a.getDimensionPixelSize(R.styleable.DefaultTimeBar_bar_height, in DefaultTimeBar() 277 touchTargetHeight = a.getDimensionPixelSize(R.styleable.DefaultTimeBar_touch_target_height, in DefaultTimeBar() 279 adMarkerWidth = a.getDimensionPixelSize(R.styleable.DefaultTimeBar_ad_marker_width, in DefaultTimeBar() 282 R.styleable.DefaultTimeBar_scrubber_enabled_size, defaultScrubberEnabledSize); in DefaultTimeBar() 284 R.styleable.DefaultTimeBar_scrubber_disabled_size, defaultScrubberDisabledSize); in DefaultTimeBar() 286 R.styleable.DefaultTimeBar_scrubber_dragged_size, defaultScrubberDraggedSize); in DefaultTimeBar() 287 int playedColor = a.getInt(R.styleable.DefaultTimeBar_played_color, DEFAULT_PLAYED_COLOR); in DefaultTimeBar() 289 a.getInt(R.styleable.DefaultTimeBar_scrubber_color, DEFAULT_SCRUBBER_COLOR); in DefaultTimeBar() [all …]
|
D | PlayerView.java | 377 TypedArray a = context.getTheme().obtainStyledAttributes(attrs, R.styleable.PlayerView, 0, 0); in PlayerView() 379 shutterColorSet = a.hasValue(R.styleable.PlayerView_shutter_background_color); in PlayerView() 380 shutterColor = a.getColor(R.styleable.PlayerView_shutter_background_color, shutterColor); in PlayerView() 381 playerLayoutId = a.getResourceId(R.styleable.PlayerView_player_layout_id, playerLayoutId); in PlayerView() 382 useArtwork = a.getBoolean(R.styleable.PlayerView_use_artwork, useArtwork); in PlayerView() 384 a.getResourceId(R.styleable.PlayerView_default_artwork, defaultArtworkId); in PlayerView() 385 useController = a.getBoolean(R.styleable.PlayerView_use_controller, useController); in PlayerView() 386 surfaceType = a.getInt(R.styleable.PlayerView_surface_type, surfaceType); in PlayerView() 387 resizeMode = a.getInt(R.styleable.PlayerView_resize_mode, resizeMode); in PlayerView() 389 a.getInt(R.styleable.PlayerView_show_timeout, controllerShowTimeoutMs); in PlayerView() [all …]
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/views/ |
D | Marquee.kt | 25 val typedArray = context.obtainStyledAttributes(it, R.styleable.Marquee, 0, 0) in <lambda>() 27 val titleRes = typedArray.getResourceId(R.styleable.Marquee_titleText, 0) in <lambda>() 32 val subtitleRes = typedArray.getResourceId(R.styleable.Marquee_subtitleText, 0) in <lambda>()
|
D | ControlBarItemToggleView.kt | 30 … val typedArray = context.obtainStyledAttributes(it, R.styleable.ControlBarItemToggleView, 0, 0) in <lambda>() 32 val textRes = typedArray.getResourceId(R.styleable.ControlBarItemToggleView_text, 0) in <lambda>() 37 val drawableRes = typedArray.getResourceId(R.styleable.ControlBarItemToggleView_src, 0) in <lambda>()
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
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()
|
D | SetupWizardLayout.java | 106 .obtainStyledAttributes(attrs, R.styleable.SudSetupWizardLayout, defStyleAttr, 0); in init() 109 final Drawable background = a.getDrawable(R.styleable.SudSetupWizardLayout_sudBackground); in init() 114 a.getDrawable(R.styleable.SudSetupWizardLayout_sudBackgroundTile); in init() 121 final Drawable illustration = a.getDrawable(R.styleable.SudSetupWizardLayout_sudIllustration); in init() 126 a.getDrawable(R.styleable.SudSetupWizardLayout_sudIllustrationImage); in init() 128 a.getDrawable(R.styleable.SudSetupWizardLayout_sudIllustrationHorizontalTile); in init() 136 a.getDimensionPixelSize(R.styleable.SudSetupWizardLayout_sudDecorPaddingTop, -1); in init() 145 a.getFloat(R.styleable.SudSetupWizardLayout_sudIllustrationAspectRatio, -1f); in init()
|
/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 | FillContentLayout.java | 66 context.obtainStyledAttributes(attrs, R.styleable.SudFillContentLayout, defStyleAttr, 0); in init() 68 maxHeight = a.getDimensionPixelSize(R.styleable.SudFillContentLayout_android_maxHeight, -1); in init() 69 maxWidth = a.getDimensionPixelSize(R.styleable.SudFillContentLayout_android_maxWidth, -1); in init()
|
D | IntrinsicSizeFrameLayout.java | 67 attrs, R.styleable.SudIntrinsicSizeFrameLayout, defStyleAttr, 0); in init() 69 a.getDimensionPixelSize(R.styleable.SudIntrinsicSizeFrameLayout_android_height, 0); in init() 71 a.getDimensionPixelSize(R.styleable.SudIntrinsicSizeFrameLayout_android_width, 0); in init()
|
/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/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | NumberPickerPreference.java | 45 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NumberPickerPreference); in NumberPickerPreference() 48 maxValue = a.getInt(R.styleable.NumberPickerPreference_maxValue, DEFAULT_maxValue); in NumberPickerPreference() 49 minValue = a.getInt(R.styleable.NumberPickerPreference_minValue, DEFAULT_minValue); in NumberPickerPreference()
|