Searched refs:color (Results 101 - 125 of 332) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DBarTransitions.java148 mOpaque = context.getColor(R.color.system_bar_background_opaque);
149 mSemiTransparent = context.getColor(R.color.system_bar_background_semi_transparent);
150 mTransparent = context.getColor(R.color.system_bar_background_transparent);
151 mWarning = context.getColor(com.android.internal.R.color.battery_saver_mode_color);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A Dvr.rs36 // material color
125 uchar4 color = rsGetElementAt_uchar4(color_map, intensity * 2);
128 out.r = color.r;
129 out.g = color.g;
130 out.b = color.b;
164 uchar4 color = rsGetElementAt_uchar4(color_map, intensity * 2);
166 float4 fcolor = convert_float4(color);;
259 uchar4 color = rsGetElementAt_uchar4(color_map, intensity * 2);
261 float4 fcolor = convert_float4(color);;
/frameworks/rs/api/
H A Drs_graphics.spec245 summary: Set the color target
247 Set the color target used for all subsequent rendering calls
385 summary: Clear all color and depth targets
387 Clear all color and depth targets and resume rendering into
401 summary: Clear the specified color from the surface
403 Clears the rendering surface to the specified color.
413 summary: Clear the color target
415 Clear the previously set color target
616 summary: Set the font color
618 Sets the font color fo
[all...]
/frameworks/native/opengl/libagl/
H A Darray.cpp109 c->arrays.color.size = 4;
110 c->arrays.color.type = GL_FLOAT;
137 memcpy(v, c->current.color.v, sizeof(vec4_t));
439 case GL_COLOR_ARRAY: a = &c->arrays.color; break;
1050 clipVec4(nv->color, t, s->color, p->color);
1067 clipVec4(nv->color, t, s->color, p->color);
[all...]
/frameworks/base/core/java/android/widget/
H A DCalendarViewLegacyDelegate.java354 public void setSelectedWeekBackgroundColor(int color) { argument
355 if (mSelectedWeekBackgroundColor != color) {
356 mSelectedWeekBackgroundColor = color;
373 public void setFocusedMonthDateColor(int color) { argument
374 if (mFocusedMonthDateColor != color) {
375 mFocusedMonthDateColor = color;
392 public void setUnfocusedMonthDateColor(int color) { argument
393 if (mUnfocusedMonthDateColor != color) {
394 mUnfocusedMonthDateColor = color;
411 public void setWeekNumberColor(int color) { argument
426 setWeekSeparatorLineColor(int color) argument
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp187 png_uint_32 color = p[0] | (p[1] << 8) | (p[2] << 16) | (p[3] << 24); local
193 if (color == COLOR_LAYOUT_BOUNDS_TICK) {
196 if (color == COLOR_TICK) {
212 *outError = "White frame must be a solid color (no alpha)";
214 if (color == COLOR_WHITE) {
217 if (color == COLOR_TICK) {
220 if (color == COLOR_LAYOUT_BOUNDS_TICK) {
419 png_byte* color = rows[y] + x * 4; local
420 uint8_t opacity = color[3];
514 png_bytep color local
[all...]
/frameworks/base/tools/aapt2/
H A DPng.cpp193 printf("Unknown color type %d.\n", color_type);
317 printf("Found 257th color at %d, %d\n", i, j);
342 // Choose the best color type for the image.
357 *colorType = PNG_COLOR_TYPE_PALETTE; // 1 byte/pixel + 4 bytes/color
376 // color type chosen
610 png_uint_32 color = p[0] | (p[1] << 8) | (p[2] << 16) | (p[3] << 24); local
616 if (color == kColorLayoutBoundsTick) {
619 if (color == kColorTick) {
637 *outError = "White frame must be a solid color (no alpha)";
639 if (color
824 png_byte* color = rows[y] + x * 4; local
915 png_bytep color = rows[top] + left*4; local
[all...]
/frameworks/base/media/java/android/media/
H A DClosedCaptionRenderer.java381 int color = (data2 >> 1) & 0x7;
387 if (color == COLOR_INVALID) {
389 color = COLOR_WHITE;
393 return new StyleCode(style, color);
396 StyleCode(int style, int color) { argument
398 mColor = color;
447 int color = (data2 >> 1) & 0x7;
449 if (color == COLOR_INVALID) {
451 color = COLOR_WHITE;
454 return new PAC(row, -1, style, color);
458 PAC(int row, int col, int style, int color) argument
1055 MutableBackgroundColorSpan(int color) argument
1059 setBackgroundColor(int color) argument
1357 setBackgroundSpans(int color) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewHeader.java183 /** Returns the secondary color for a primary color. */
364 // Pulse the background color
377 int color = (int) animation.getAnimatedValue();
378 mBackgroundColorDrawable.setColor(color);
379 mBackgroundColor = color;
396 // Restore the background color
403 int color = (int) animation.getAnimatedValue();
404 mBackgroundColorDrawable.setColor(color);
405 mBackgroundColor = color;
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DTimePickerDialog.java203 mSelectedColor = res.getColor(mThemeDark? R.color.red : R.color.blue);
205 res.getColor(mThemeDark? android.R.color.white : R.color.numbers_text_color);
318 int white = res.getColor(android.R.color.white);
319 int circleBackground = res.getColor(R.color.circle_background);
320 int line = res.getColor(R.color.line_background);
321 int timeDisplay = res.getColor(R.color.numbers_text_color);
322 ColorStateList doneTextColor = res.getColorStateList(R.color.done_text_color);
325 int darkGray = res.getColor(R.color
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBackgroundManager.java73 * <li>a solid color (set via {@link #setColor})</li>
171 throw new IllegalStateException("Can't draw with translucent alpha and color filter");
251 public void setColor(int color) { argument
252 ((ColorDrawable) mDrawable).setColor(color);
356 * Optimizes drawing when the dim drawable is an alpha-only color and imagein is opaque.
402 int color = Color.argb(getAlpha(), dimAlpha, dimAlpha, dimAlpha);
403 mColorFilter = new PorterDuffColorFilter(color, PorterDuff.Mode.MULTIPLY);
546 public void setColor(int color) { argument
547 mColor = color;
726 if (DEBUG) Log.v(TAG, "onActivityStart " + this + " updating service color "
968 setColor(@olorInt int color) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardAbsKeyInputView.java243 public void showMessage(String message, int color) { argument
244 mSecurityMessageDisplay.setNextMessageColor(color);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DConsole.java60 /** Logs a key in a specific color */
67 /** Logs a key with data in a specific color */
68 public static void log(boolean condition, String key, Object data, String color) { argument
70 System.out.println(color + key + AnsiReset + " " + data.toString());
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DColoredRectsActivity.java65 public RectsView(Context c, float offset, int color) { argument
68 mColor = color;
H A DPointsActivity.java88 public RenderingView(Context c, int color) { argument
90 mColor = color;
/frameworks/native/cmds/flatland/
H A DRenderers.cpp33 float* color = colors[g_colorIndex]; local
35 return color;
/frameworks/support/customtabs/src/android/support/customtabs/
H A DCustomTabsIntent.java53 * Extra that changes the background color for the toolbar. colorRes is an int that specifies a
195 * Sets the toolbar color.
197 * @param color {@link Color}
199 public Builder setToolbarColor(@ColorInt int color) { argument
200 mIntent.putExtra(EXTRA_TOOLBAR_COLOR, color);
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingToolbarLayout.java542 * Set the color to use for the content scrim.
544 * @param color the color to display
549 public void setContentScrimColor(@ColorInt int color) { argument
550 setContentScrim(new ColorDrawable(color));
601 * Set the color to use for the status bar scrim.
605 * @param color the color to display
610 public void setStatusBarScrimColor(@ColorInt int color) { argument
611 setStatusBarScrim(new ColorDrawable(color));
651 setCollapsedTitleTextColor(@olorInt int color) argument
690 setExpandedTitleColor(@olorInt int color) argument
[all...]
/frameworks/support/v4/tests/java/android/support/v4/graphics/
H A DColorUtilsTest.java91 private static void testColorToHSL(int color, float[] expectedHsl) { argument
93 ColorUtils.colorToHSL(color, actualHSL);
/frameworks/base/core/java/android/gesture/
H A DGesture.java182 * @param color
185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) { argument
194 paint.setColor(color);
217 * @param color
220 public Bitmap toBitmap(int width, int height, int inset, int color) { argument
228 paint.setColor(color);
/frameworks/base/core/jni/android/graphics/
H A DNinePatchImpl.cpp176 uint32_t color; local
256 color = colors[colorIndex++];
291 if (color == android::Res_png_9patch::TRANSPARENT_COLOR && !hasXfer) {
315 color, hasXfer);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsConfiguration.java251 R.color.recents_task_bar_default_background_color);
252 taskBarViewLightTextColor = context.getColor(R.color.recents_task_bar_light_text_color);
253 taskBarViewDarkTextColor = context.getColor(R.color.recents_task_bar_dark_text_color);
254 taskBarViewHighlightColor = context.getColor(R.color.recents_task_bar_highlight_color);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationOverflowIconsView.java48 mTintColor = getContext().getColor(R.color.keyguard_overflow_content_color);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DLightBase.java78 mFieldData.color = mColor;
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DTextViewWithCircularIndicator.java48 mCircleColor = res.getColor(R.color.blue);

Completed in 1590 milliseconds

1234567891011>>