/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/chart/ |
D | PieChart.kt | 34 import androidx.compose.ui.graphics.toArgb in <lambda>() 59 ColorPalette.blue.toArgb(), 60 ColorPalette.red.toArgb(), 61 ColorPalette.yellow.toArgb(), 62 ColorPalette.green.toArgb(), 63 ColorPalette.orange.toArgb(), 64 ColorPalette.cyan.toArgb(), 65 Color.Blue.toArgb() 102 val labelTextColor = colorScheme.onSurfaceVariant.toArgb() in PieChart() 120 this.setHoleColor(Color.Transparent.toArgb()) in PieChart() [all …]
|
D | BarChart.kt | 35 import androidx.compose.ui.graphics.toArgb in <lambda>() 123 val labelTextColor = colorScheme.onSurfaceVariant.toArgb() in BarChart() 171 gridColor = colorScheme.divider.toArgb() in BarChart() 209 colors = colorList.map(Color::toArgb) in updateBarChartWithData() 212 highLightColor = colorScheme.primary.toArgb() in updateBarChartWithData()
|
D | LineChart.kt | 34 import androidx.compose.ui.graphics.toArgb in <lambda>() 135 val labelTextColor = colorScheme.onSurfaceVariant.toArgb() in LineChart() 162 this.axisRight.gridColor = colorScheme.divider.toArgb() in LineChart() 202 ds.colors = arrayListOf(colorScheme.primary.toArgb()) in updateLineChartWithData() 210 ds.fillColor = colorScheme.primary.toArgb() in updateLineChartWithData()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/ |
D | AppHeaderViewHolder.kt | 35 import androidx.compose.ui.graphics.toArgb 263 HeaderStyle.Background.Opaque(lightColors.secondaryContainer.toArgb()) in getHeaderBackground() 265 HeaderStyle.Background.Opaque(lightColors.surfaceContainerLow.toArgb()) in getHeaderBackground() 270 HeaderStyle.Background.Opaque(darkColors.surfaceContainerHigh.toArgb()) in getHeaderBackground() 272 HeaderStyle.Background.Opaque(darkColors.surfaceDim.toArgb()) in getHeaderBackground() 288 color = lightColors.onSecondaryContainer.toArgb(), in getHeaderForeground() 293 color = lightColors.onSecondaryContainer.toArgb(), in getHeaderForeground() 301 color = darkColors.onSurface.toArgb(), in getHeaderForeground() 306 color = darkColors.onSurface.toArgb(), in getHeaderForeground() 316 color = lightColors.onSecondaryContainer.toArgb(), in getHeaderForeground() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | MaximizeMenu.kt | 56 import androidx.compose.ui.graphics.toArgb in <lambda>() 423 val menuBackgroundColor = colorScheme.surfaceContainerLow.toArgb() in calculateMenuStyle() 426 textColor = colorScheme.onSurface.toArgb(), in calculateMenuStyle() 431 inactiveSnapSideColor = colorScheme.outlineVariant.toArgb(), in calculateMenuStyle() 432 semiActiveSnapSideColor = colorScheme.primary.toArgb().withAlpha(OPACITY_40), in calculateMenuStyle() 433 activeSnapSideColor = colorScheme.primary.toArgb(), in calculateMenuStyle() 434 inactiveStrokeColor = colorScheme.outlineVariant.toArgb(), in calculateMenuStyle() 435 activeStrokeColor = colorScheme.primary.toArgb(), in calculateMenuStyle() 437 activeBackgroundColor = colorScheme.primary.toArgb().withAlpha(OPACITY_12) in calculateMenuStyle() 499 val activeStrokeAndFill = colorScheme.primary.toArgb() in createMaximizeDrawable() [all …]
|
D | ResizeVeil.kt | 40 import androidx.compose.ui.graphics.toArgb in <lambda>() 211 .setColor(background, Color.valueOf(backgroundColor.toArgb()).components) in showVeil()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/ |
D | BatteryDrawableState.kt | 109 override val bg: Int = Color.valueOf(1f, 1f, 1f, 0.22f).toArgb() 128 override val bg: Int = Color.valueOf(0f, 0f, 0f, 0.18f).toArgb()
|
/frameworks/native/libs/bufferstreams/examples/app/java/com/android/graphics/bufferstreamsdemoapp/ui/ |
D | Theme.kt | 13 import androidx.compose.ui.graphics.toArgb 50 window.statusBarColor = colorScheme.primary.toArgb() in JetpackTheme()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/ |
D | SystemUiController.kt | 31 import androidx.compose.ui.graphics.toArgb in <lambda>() 220 }.toArgb() in setStatusBarColor() 241 }.toArgb() in setNavigationBarColor()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | Palette.java | 143 return mColor.toArgb(); in getInt() 173 return mPopulation == swatch.mPopulation && mColor.toArgb() == swatch.mColor.toArgb(); in equals() 178 return 31 * mColor.toArgb() + mPopulation; in hashCode()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/ui/ |
D | Lottie.kt | 26 import androidx.compose.ui.graphics.toArgb in <lambda>() 68 val color = colorResource(colorRes).toArgb() in getDefaultPropertiesList()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperColors.java | 272 ColorUtils.colorToHSL(primaryColor.toArgb(), tmpHsl); in WallpaperColors() 300 mAllColors.put(primaryColor.toArgb(), 0); in WallpaperColors() 303 mAllColors.put(secondaryColor.toArgb(), 0); in WallpaperColors() 311 mAllColors.put(tertiaryColor.toArgb(), 0); in WallpaperColors() 450 dest.writeInt(color.toArgb()); in writeToParcel() 645 colors.append(Integer.toHexString(mMainColors.get(i).toArgb())).append(" "); in toString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | DeviceEntryIconViewBinder.kt | 26 import androidx.compose.ui.graphics.toArgb in <lambda>() 176 ColorStateList.valueOf(overrideColor?.toArgb() ?: viewModel.tint) in <lambda>()
|
/frameworks/native/services/inputflinger/reader/controller/ |
D | PeripheralController.cpp | 46 static inline int32_t toArgb(int32_t brightness, int32_t red, int32_t green, int32_t blue) { in toArgb() function 161 return toArgb(brightness.value(), /*red=*/0, /*green=*/0, /*blue=*/0); in getLightColor() 196 return toArgb(brightness, red, green, blue); in getLightColor() 206 int32_t color = toArgb(/*brightness=*/0, intensities.at(LightColor::RED), in getLightColor() 211 return toArgb(/*brightness=*/brightness.value(), 0, 0, 0) | color; in getLightColor()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
D | FloatingRotationButtonView.java | 86 Color.green(darkColor), Color.blue(darkColor), BACKGROUND_ALPHA).toArgb(); in setColors()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/ |
D | DragLayout.java | 280 int bgColor1 = getResizingBackgroundColor(taskInfo1).toArgb(); in prepare() 300 int topOrLeftColor = getResizingBackgroundColor(topOrLeftTask).toArgb(); in prepare() 303 int bottomOrRightColor = getResizingBackgroundColor(bottomOrRightTask).toArgb(); in prepare()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 470 public int toArgb() { in toArgb() method in Color 841 public static int toArgb(@ColorLong long color) { in toArgb() method in Color
|
/frameworks/libs/systemui/monet/src/com/android/systemui/monet/ |
D | ColorScheme.java | 222 .map(Color::toArgb) in getSeedColors()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | KeyButtonDrawable.java | 323 return mState.mOvalBackgroundColor.toArgb(); in getDrawableBackgroundColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonDrawable.java | 319 return mState.mOvalBackgroundColor.toArgb(); in getDrawableBackgroundColor()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/ |
D | CommunalContainer.kt | 267 modifier = Modifier.matchParentSize().background(Color(backgroundColor.toArgb())), in BoxScope()
|
/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
D | Tonal.java | 128 int colorValue = bestColor.toArgb(); in runTonalExtraction()
|
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/ |
D | DividerPresenterTest.java | 626 new ColorDrawable(activityBackgroundColor.toArgb()); in testGetContainerBackgroundColor()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingGroup.java | 248 alpha).toArgb(); in calculateSendingTextColor()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperDataParser.java | 545 out.attributeInt(null, "colorValue" + i, wc.toArgb()); in writeWallpaperAttributes()
|