/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SpeechOrbView.java | 35 mNotListeningOrbColors = new Colors(resources.getColor(R.color.lb_speech_orb_not_recording), 36 resources.getColor(R.color.lb_speech_orb_not_recording_pulsed), 37 resources.getColor(R.color.lb_speech_orb_not_recording_icon)); 38 mListeningOrbColors = new Colors(resources.getColor(R.color.lb_speech_orb_recording), 39 resources.getColor(R.color.lb_speech_orb_recording),
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | CircleView.java | 51 mCircleColor = res.getColor(android.R.color.white); 52 mDotColor = res.getColor(R.color.numbers_text_color); 82 mCircleColor = res.getColor(R.color.dark_gray); 83 mDotColor = res.getColor(R.color.light_gray); 85 mCircleColor = res.getColor(android.R.color.white); 86 mDotColor = res.getColor(R.color.numbers_text_color);
|
H A D | AmPmCirclesView.java | 77 mUnselectedColor = res.getColor(android.R.color.white); 78 mSelectedColor = res.getColor(R.color.blue); 79 mAmPmTextColor = res.getColor(R.color.ampm_text_color); 104 mUnselectedColor = res.getColor(R.color.dark_gray); 105 mSelectedColor = res.getColor(R.color.red); 106 mAmPmTextColor = res.getColor(android.R.color.white); 109 mUnselectedColor = res.getColor(android.R.color.white); 110 mSelectedColor = res.getColor(R.color.blue); 111 mAmPmTextColor = res.getColor(R.color.ampm_text_color);
|
/frameworks/base/core/java/android/text/ |
H A D | TextPaint.java | 78 * @param color underline solid color 82 public void setUnderlineText(int color, float thickness) { argument 83 underlineColor = color;
|
/frameworks/base/core/java/android/text/style/ |
H A D | BackgroundColorSpan.java | 29 public BackgroundColorSpan(int color) { argument 30 mColor = color;
|
H A D | ForegroundColorSpan.java | 30 public ForegroundColorSpan(@ColorInt int color) { argument 31 mColor = color;
|
/frameworks/rs/driver/ |
H A D | rsdFrameBufferObj.h | 30 void setColorTarget(DrvAllocation *color, uint32_t index) { argument 31 mColorTargets[index] = color;
|
H A D | rsdFrameBuffer.cpp | 49 // Now attach color targets 51 DrvAllocation *color = nullptr; local 53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal.drv; 55 if (color->uploadDeferred) { 60 fbo->setColorTarget(color, i);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSecurityView.java | 89 * Show a message on the security view with a specified color 92 * @param color the color to use 94 void showMessage(String message, int color); argument
|
/frameworks/native/opengl/libagl/ |
H A D | vertex.cpp | 36 c->current.color.r = 0x10000; 37 c->current.color.g = 0x10000; 38 c->current.color.b = 0x10000; 39 c->current.color.a = 0x10000; 190 c->current.color.r = gglFloatToFixed(r); 191 c->currentColorClamped.r = gglClampx(c->current.color.r); 192 c->current.color.g = gglFloatToFixed(g); 193 c->currentColorClamped.g = gglClampx(c->current.color.g); 194 c->current.color.b = gglFloatToFixed(b); 195 c->currentColorClamped.b = gglClampx(c->current.color [all...] |
/frameworks/support/design/base/android/support/design/widget/ |
H A D | FloatingActionButtonImpl.java | 69 resources.getColor(R.color.design_fab_stroke_top_outer_color), 70 resources.getColor(R.color.design_fab_stroke_top_inner_color), 71 resources.getColor(R.color.design_fab_stroke_end_inner_color), 72 resources.getColor(R.color.design_fab_stroke_end_outer_color));
|
/frameworks/base/libs/hwui/ |
H A D | Glop.h | 103 const void* color; member in struct:android::uirenderer::Glop::Mesh::Vertices 123 FloatColor color; member in struct:android::uirenderer::Glop::Fill 131 FloatColor color; member in union:android::uirenderer::Glop::Fill::Filter
|
H A D | Vertex.h | 80 * Simple structure to describe a vertex with a position, texture UV and ARGB color. 88 float u, float v, int color) { 90 float a = ((color >> 24) & 0xff) / 255.0f; 91 float r = a * ((color >> 16) & 0xff) / 255.0f; 92 float g = a * ((color >> 8) & 0xff) / 255.0f; 93 float b = a * ((color) & 0xff) / 255.0f; 87 set(ColorTextureVertex* vertex, float x, float y, float u, float v, int color) argument
|
/frameworks/base/docs/html/ndk/reference/ |
H A D | doxygen.css | 22 color: #585858; 96 background-color: #F1F1F1; 113 color: #646464; 119 color: #747474; 132 background-color: #B8B8B8; 133 color: #ffffff; 138 color: #ffffff; 149 color: #4665A2; 153 color: #4665A2; 164 background-color [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ImageUtils.java | 35 // Amount (max is 255) that two channels can differ before the color is no longer "gray". 55 * COMPACT_BITMAP_SIZE^2 pixels using filtering. The hope is that any non-gray color elements 56 * will survive the squeezing process, contaminating the result with color. 104 * Classifies a color as grayscale or not. Grayscale here means "very close to a perfect 109 public static boolean isGrayscale(int color) { argument 110 int alpha = 0xFF & (color >> 24); 115 int r = 0xFF & (color >> 16); 116 int g = 0xFF & (color >> 8); 117 int b = 0xFF & color;
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 301 // Parse fractional color of form [0.##, 0.##, 0.##] 307 ColorFract color; local 317 if (!in || ((chStart != '<') && (chStart != '['))) { return color; } 321 if (!in) { return color; } 322 if ((c1 < 0.0) || (c1 > 1.0)) { return color; } 324 if (!in || (ch != ',')) { return color; } 328 if (!in) { return color; } 329 if ((c2 < 0.0) || (c2 > 1.0)) { return color; } 331 if (!in || (ch != ',')) { return color; } 335 if (!in) { return color; } 545 hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha) argument 653 hwcTestFillColor(GraphicBuffer *gBuf, ColorFract color, float alpha) argument 792 hwcTestColorConvert(uint32_t fromFormat, uint32_t toFormat, ColorFract& color) argument [all...] |
/frameworks/support/v4/java/android/support/v4/graphics/ |
H A D | ColorUtils.java | 22 * A set of color-related utility methods, building upon those available in {@code Color}. 59 * Returns the luminance of a color. 63 public static double calculateLuminance(int color) { argument 64 double red = Color.red(color) / 255d; 67 double green = Color.green(color) / 255d; 70 double blue = Color.blue(color) / 255d; 104 * @param foreground the foreground color. 105 * @param background the background color. Should be opaque. 199 * Convert the ARGB color to its HSL (hue-saturation-lightness) components. 206 * @param color th 209 colorToHSL(int color, float[] hsl) argument 282 setAlphaComponent(int color, int alpha) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphExporter.java | 117 String color = filter.getSignature().getOutputPortInfo(portName).isRequired() 121 " [shape=point,label=\"\",color=" + color + "];\n" + 124 "dummy" + dummyNodeCounter + " [color=" + color + "];\n"); 135 String color = filter.getSignature().getInputPortInfo(portName).isRequired() 139 " [shape=point,label=\"\",color=" + color + "];\n" + 142 getDotName(portName) + "_IN [color=" + color [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 67 * Returns the color value represented by the given string value 68 * @param value the color value 69 * @return the color as an int 94 char[] color = new char[8]; 95 color[0] = color[1] = 'F'; 96 color[2] = color[3] = value.charAt(0); 97 color[4] = color[ [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | ColorPickerPalette.java | 31 * A color picker custom view which creates an grid of color squares. The number of squares per 103 for (int color : colors) { 104 View colorSwatch = createColorSwatch(color, selectedColor); 105 setSwatchDescription(rowNumber, tableElements, rowElements, color == selectedColor, 184 * Creates a color swatch. 186 private ColorPickerSwatch createColorSwatch(int color, int selectedColor) { argument 187 ColorPickerSwatch view = new ColorPickerSwatch(getContext(), color, 188 color == selectedColor, mOnColorSelectedListener);
|
H A D | ColorPickerDialog.java | 32 * select a specific color swatch, which invokes a listener. 128 public void onColorSelected(int color) { argument 130 mListener.onColorSelected(color); 136 listener.onColorSelected(color); 139 if (color != mSelectedColor) { 140 mSelectedColor = color; 141 // Redraw palette to show checkmark on newly selected color before dismissing. 178 public void setSelectedColor(int color) { argument 179 if (mSelectedColor != color) { 180 mSelectedColor = color; [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
H A D | ColorOverlayDimmer.java | 25 * Helper class for assigning a dim color to Paint. It holds the alpha value for 45 context.getResources().getColor(R.color.lb_view_dim_mask_color)); 55 * Creates a ColorOverlayDimmer for the given color and levels. 57 * @param dimColor The color for fully dimmed. Only the RGB values are 124 * Change the RGB of the color according to current dim level. Maintains the 125 * alpha value of the color. 127 * @param color The color to apply the dim level to. 128 * @return A color with the RGB values adjusted by the alpha of the current 131 public int applyToColor(int color) { argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | DataUsageGraph.java | 47 mTrackColor = context.getColor(R.color.data_usage_graph_track); 48 mUsageColor = context.getColor(R.color.system_accent_color); 49 mOverlimitColor = context.getColor(R.color.system_warning_color); 50 mWarningColor = context.getColor(R.color.data_usage_graph_warning);
|
/frameworks/base/tests/LockTaskTests/src/com/google/android/example/locktasktests/ |
H A D | LaunchActivity.java | 47 final int color = activityManager.getLockTaskModeState() != 49 findViewById(R.id.root_launch).setBackgroundColor(color);
|
/frameworks/support/design/lollipop/android/support/design/widget/ |
H A D | CircularBorderDrawableLollipop.java | 74 * Ensures the tint filter is consistent with the current tint color and 82 final int color = tint.getColorForState(getState(), Color.TRANSPARENT); 83 return new PorterDuffColorFilter(color, tintMode);
|