/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/vndk/tools/definition-tool/assets/insight/ |
D | insight.css | 6 background-color: #eefaff; 23 color: #ffffff; 24 background-color: #3399ff; 31 color: #ffffff; 35 color: #ffffff; 36 background-color: #0000ff; 51 color: #2244ff; 57 color: #2244ff; 62 color: #ff3322; 67 color: #ff3322; [all …]
|
/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/vndk/tools/definition-tool/assets/visual/ |
D | dep-graph.css | 80 background-color: white; 81 color: #333; 94 background-color: #bb0000; 97 background-color: #ffdddd; 98 color: #333; 111 background-color: #ff6666; 114 background-color: #ffaaaa; 123 background-color: #ffffff;
|
/development/tools/winscope/src/ |
D | sf_visibility.js | 80 if (layer.color == undefined || layer.color.a == undefined || layer.color.a != 1) return false; 85 return layer.color && layer.color.a > 0 && 86 layer.color.r >= 0 && layer.color.g >= 0 && 87 layer.color.b >= 0; 131 if (!layer.color || !layer.color.a || layer.color.a == 0) { 165 if (!layer.color || !layer.color.a || layer.color.a == 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 …]
|
D | Gles2ColoredTriangleList.java | 82 public Gles2ColoredTriangleList(Program program, float[] triangleCoords, float[] color) { in Gles2ColoredTriangleList() argument 87 if (color.length != NUM_COLOR_COMPONENTS) { in Gles2ColoredTriangleList() 91 mColor = color; in Gles2ColoredTriangleList() 260 public void bind(float[] mvpMatrix, FloatBuffer vertexBuffer, float[] color) { in bind() argument 274 GLES20.glUniform4fv(mColorHandle, 1 /* count */, color, 0 /* offset */); in bind()
|
/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/tools/checkcolor/ |
D | README | 3 colors. One example of hardcoded color is: 5 <color name="hardcoded_color">#FFFFFF</color>
|
/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/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/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/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/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/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/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/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()
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | ShapeHolder.java | 32 private int color; field in ShapeHolder 63 return color; in getColor() 67 color = value; in setColor()
|
/development/tools/emulator/skins/WXGA720/ |
D | layout | 29 color 0xe0e0e0 54 color 0xe0e0e0
|
/development/tools/emulator/skins/WXGA800-7in/ |
D | layout | 29 color 0xe0e0e0 55 color 0xe0e0e0
|