/development/tools/winscope/src/ |
D | material-theme.scss | 34 color: ( 44 color: ( 51 @mixin background-color($theme) { 52 $config: mat.get-color-config($theme); 56 --background-color: #{mat.get-color-from-palette($background, background)}; 60 @mixin border-color($theme) { 61 $config: mat.get-color-config($theme); 65 --border-color: #{mat.get-color-from-palette($foreground, divider)}; 69 @mixin drawer-color($theme) { 70 $config: mat.get-color-config($theme); [all …]
|
/development/tools/winscope/src/trace/ |
D | trace_info.ts | 38 color: string; 48 color: '#AF5CF7', constant 55 color: '#4ECDE6', constant 62 color: '#8A9CF9', constant 69 color: '#8A9CF9', constant 76 color: '#5BB974', constant 83 color: '#5BB974', constant 90 color: '#FDC274', constant 97 color: '#D01884', constant 104 color: '#40A58A', constant [all …]
|
/development/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | ColorManager.java | 31 R.color.md_red_500, 32 R.color.md_pink_500, 33 R.color.md_purple_500, 34 R.color.md_deep_purple_500, 35 R.color.md_indigo_500, 36 R.color.md_blue_500, 37 R.color.md_light_blue_500, 38 R.color.md_cyan_500, 39 R.color.md_green_500, 40 R.color.md_light_green_500, [all …]
|
/development/tools/motion/motion_test_watcher_app/src/app/test-overview/ |
D | test-overview.component.scss | 22 background: var(--mat-app-background-color); 28 color: white; 31 background-color: green; 35 background-color: red; 39 background-color: gray; 43 background-color: red;
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/ |
D | SwipeRefreshListFragmentFragment.java | 138 setColorScheme(R.color.color_scheme_1_1, R.color.color_scheme_1_2, in onOptionsItemSelected() 139 R.color.color_scheme_1_3, R.color.color_scheme_1_4); in onOptionsItemSelected() 148 setColorScheme(R.color.color_scheme_2_1, R.color.color_scheme_2_2, in onOptionsItemSelected() 149 R.color.color_scheme_2_3, R.color.color_scheme_2_4); in onOptionsItemSelected() 158 setColorScheme(R.color.color_scheme_3_1, R.color.color_scheme_3_2, in onOptionsItemSelected() 159 R.color.color_scheme_3_3, R.color.color_scheme_3_4); in onOptionsItemSelected()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | GLColor.java | 43 GLColor color = (GLColor)other; in equals() local 44 return (red == color.red && in equals() 45 green == color.green && in equals() 46 blue == color.blue && in equals() 47 alpha == color.alpha); in equals()
|
D | GLVertex.java | 27 GLColor color; field in GLVertex 60 if (color == null) { in put() 66 colorBuffer.put(color.red); in put() 67 colorBuffer.put(color.green); in put() 68 colorBuffer.put(color.blue); in put() 69 colorBuffer.put(color.alpha); in put()
|
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
D | Triangle.java | 40 float color[] = { 0.63671875f, 0.76953125f, 0.22265625f, 0.0f }; field in Triangle 72 color[0], color[1], in draw() 73 color[2], color[3]); in draw()
|
D | Square.java | 43 float color[] = { 0.2f, 0.709803922f, 0.898039216f, 1.0f }; field in Square 79 color[0], color[1], in draw() 80 color[2], color[3]); in draw()
|
/development/samples/browseable/DrawableTinting/ |
D | _index.jd | 8 Sample that shows applying tinting and color filters to Drawables both programmatically 11 A color state list is referenced as the tint color, which defines colors for different 14 with a reference to a color and a PorterDuff blend mode. The color and blend mode can be
|
/development/tools/winscope/src/parsers/ |
D | raw_data_utils.ts | 94 private static isEmptyColor(color: PropertyTreeNode): boolean { 96 color.getChildByName('r')?.getValue() ?? 0, 97 color.getChildByName('g')?.getValue() ?? 0, 98 color.getChildByName('b')?.getValue() ?? 0, 99 color.getChildByName('a')?.getValue() ?? 0,
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | DigitalWatchFaceService.java | 205 ContextCompat.getColor(getApplicationContext(), R.color.digital_date)); in onCreate() 210 ContextCompat.getColor(getApplicationContext(), R.color.digital_am_pm)); in onCreate() 212 ContextCompat.getColor(getApplicationContext(), R.color.digital_colons)); in onCreate() 421 private void setInteractiveBackgroundColor(int color) { in setInteractiveBackgroundColor() argument 422 mInteractiveBackgroundColor = color; in setInteractiveBackgroundColor() 423 updatePaintIfInteractive(mBackgroundPaint, color); in setInteractiveBackgroundColor() 426 private void setInteractiveHourDigitsColor(int color) { in setInteractiveHourDigitsColor() argument 427 mInteractiveHourDigitsColor = color; in setInteractiveHourDigitsColor() 428 updatePaintIfInteractive(mHourPaint, color); in setInteractiveHourDigitsColor() 431 private void setInteractiveMinuteDigitsColor(int color) { in setInteractiveMinuteDigitsColor() argument [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ColorPickerDialog.java | 29 void colorChanged(int color); in colorChanged() argument 41 ColorPickerView(Context c, OnColorChangedListener l, int color) { in ColorPickerView() argument 56 mCenterPaint.setColor(color); in ColorPickerView() 139 private int rotateColor(int color, float rad) { in rotateColor() argument 141 int r = Color.red(color); in rotateColor() 142 int g = Color.green(color); in rotateColor() 143 int b = Color.blue(color); in rotateColor() 160 return Color.argb(Color.alpha(color), pinToByte(ir), in rotateColor() 224 public void colorChanged(int color) { in onCreate() 225 mListener.colorChanged(color); in onCreate()
|
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); in onDraw() local 134 if (color != nextColor) { in onDraw() 135 color = blendColors(nextColor, color, mSelectionOffset); in onDraw() 146 mSelectedIndicatorPaint.setColor(color); in onDraw() 168 private static int setColorAlpha(int color, byte alpha) { in setColorAlpha() argument 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); in onDraw() local 134 if (color != nextColor) { in onDraw() 135 color = blendColors(nextColor, color, mSelectionOffset); in onDraw() 146 mSelectedIndicatorPaint.setColor(color); in onDraw() 168 private static int setColorAlpha(int color, byte alpha) { in setColorAlpha() argument 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); in onDraw() local 134 if (color != nextColor) { in onDraw() 135 color = blendColors(nextColor, color, mSelectionOffset); in onDraw() 146 mSelectedIndicatorPaint.setColor(color); in onDraw() 168 private static int setColorAlpha(int color, byte alpha) { in setColorAlpha() argument 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); in onDraw() local 134 if (color != nextColor) { in onDraw() 135 color = blendColors(nextColor, color, mSelectionOffset); in onDraw() 146 mSelectedIndicatorPaint.setColor(color); in onDraw() 168 private static int setColorAlpha(int color, byte alpha) { in setColorAlpha() argument 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
|
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); in onDraw() local 134 if (color != nextColor) { in onDraw() 135 color = blendColors(nextColor, color, mSelectionOffset); in onDraw() 146 mSelectedIndicatorPaint.setColor(color); in onDraw() 168 private static int setColorAlpha(int color, byte alpha) { in setColorAlpha() argument 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 130 int color = tabColorizer.getIndicatorColor(mSelectedPosition); in onDraw() local 134 if (color != nextColor) { in onDraw() 135 color = blendColors(nextColor, color, mSelectionOffset); in onDraw() 146 mSelectedIndicatorPaint.setColor(color); in onDraw() 168 private static int setColorAlpha(int color, byte alpha) { in setColorAlpha() argument 169 return Color.argb(alpha, Color.red(color), Color.green(color), Color.blue(color)); in setColorAlpha()
|
/development/tools/winscope/src/app/components/ |
D | trackpad_vertical_scroll.svg | 3 <rect x="14.0493" y="55.24" width="14.9635" height="5.61135" fill="var(--drawer-color)"/> 4 <rect x="33.7271" y="55.24" width="14.9635" height="5.61135"fill="var(--drawer-color)"/> 15 <stop stop-color="currentColor"/> 16 <stop offset="1" stop-color="#737373" stop-opacity="0"/> 19 <stop stop-color="currentColor"/> 20 <stop offset="1" stop-color="#737373" stop-opacity="0"/>
|
D | trackpad_horizontal_scroll.svg | 3 <rect x="17.671" y="70.741" width="19.1431" height="7.17871" fill="var(--drawer-color)"/> 4 <rect x="42.8446" y="70.741" width="19.1431" height="7.17871" fill="var(--drawer-color)"/> 15 <stop stop-color="currentColor"/> 16 <stop offset="1" stop-color="#737373" stop-opacity="0"/> 19 <stop stop-color="currentColor"/> 20 <stop offset="1" stop-color="#737373" stop-opacity="0"/>
|
/development/tools/checkcolor/ |
D | README | 3 colors. One example of hardcoded color is: 5 <color name="hardcoded_color">#FFFFFF</color>
|
/development/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/ |
D | DrawableTintingFragment.java | 256 public void updateTint(int color, PorterDuff.Mode mode) { in updateTint() argument 258 mHintColor = color; in updateTint() 265 Color.alpha(color), Color.red(color), Color.green(color), Color.blue(color), in updateTint() 272 mAlphaText.setText(getString(R.string.value_alpha, Color.alpha(color))); in updateTint() 273 mRedText.setText(getString(R.string.value_red, Color.red(color))); in updateTint() 274 mGreenText.setText(getString(R.string.value_green, Color.green(color))); in updateTint() 275 mBlueText.setText(getString(R.string.value_blue, Color.blue(color))); in updateTint()
|
/development/tools/otagui/src/components/ |
D | FileSelect.vue | 53 border-color: white #f7f7f7 whitesmoke; 68 border-color: #888888 transparent; 88 color: #62717a; 105 color: #394349; 107 outline: 2px solid -webkit-focus-ring-color;
|
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/ |
D | SamplePresentation.java | 70 public void setColor(int color) { in setColor() argument 71 mLayout.setBackgroundColor(color); in setColor() 74 String s = getResources().getString(R.string.display_color, color); in setColor()
|