Home
last modified time | relevance | path

Searched refs:mGradientColors (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accessibility/
DPaletteListPreference.java57 private final List<Integer> mGradientColors = new ArrayList<>(); field in PaletteListPreference
112 mGradientColors.add(Position.START, defaultColor); in initPaletteAttributes()
113 mGradientColors.add(Position.CENTER, defaultColor); in initPaletteAttributes()
114 mGradientColors.add(Position.END, defaultColor); in initPaletteAttributes()
154 mGradientColors.set(Position.END, color); in createGradientDrawable()
162 gradientDrawable.setColors(Ints.toArray(mGradientColors), Floats.toArray(mGradientOffsets)); in createGradientDrawable()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt652 private val mGradientColors = IntArray(ALPHAS.size) in <lambda>() constant
687 mGradientColors.indices.forEach { i -> in <lambda>()
688 mGradientColors[i] = ColorUtils.setAlphaComponent(baseColor, ALPHAS[i]) in <lambda>()
692 mGradient.setColors(mGradientColors) in <lambda>()
/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java188 private final int[] mGradientColors = new int[] {0,0x88000000}; field in MultiShrinkScroller
190 GradientDrawable.Orientation.TOP_BOTTOM, mGradientColors);
192 GradientDrawable.Orientation.BOTTOM_TOP, mGradientColors);