Searched refs:color (Results 226 - 250 of 283) sorted by relevance

1234567891011>>

/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java240 * Retrieve the color value for the attribute at <var>index</var>. If
241 * the attribute references a color resource holding a complex
242 * {@link android.content.res.ColorStateList}, then the default color from
249 * @return Attribute color value, or defValue if not defined.
272 * The value may be either a single solid color or a reference to
273 * a color or complex {@link android.content.res.ColorStateList} description.
320 int color = ResourceHelper.getColor(value);
321 return ColorStateList.valueOf(color);
/frameworks/native/opengl/libagl/
H A Dcontext.h148 vec4_t color; member in struct:android::gl::vertex_t
203 array_t color; member in struct:android::gl::array_machine_t
H A Dtexture.cpp696 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
800 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
1334 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
1457 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DDetailsOverviewRowPresenter.java298 * Sets the background color. If not set, a default from the theme will be used.
300 public void setBackgroundColor(int color) { argument
301 mBackgroundColor = color;
306 * Returns the background color. If no background color was set, transparent
H A DPlaybackControlsRow.java565 private static Bitmap createBitmap(Bitmap bitmap, int color) { argument
569 paint.setColorFilter(new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_ATOP));
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.h109 virtual status_t drawColor(int color, SkXfermode::Mode mode);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DScreenPinningRequest.java149 R.color.screen_pinning_request_window_bg);
/frameworks/base/services/core/java/com/android/server/net/
H A DLockdownVpnTracker.java345 com.android.internal.R.color.system_notification_accent_color));
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java118 pw.println(prefix + String.format(" color=0x%08x", notification.color));
/frameworks/compile/mclinker/include/mcld/
H A DGeneralOptions.h131 bool color() const function in class:mcld::GeneralOptions
433 bool m_bColor : 1; // --color[=true,false,auto]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java202 * The pattern drawn is correct (i.e draw it in a friendly color)
212 * The pattern is wrong (i.e draw a foreboding color)
272 mRegularColor = getResources().getColor(R.color.lock_pattern_view_regular_color);
273 mErrorColor = getResources().getColor(R.color.lock_pattern_view_error_color);
274 mSuccessColor = getResources().getColor(R.color.lock_pattern_view_success_color);
/frameworks/base/core/jni/android/graphics/
H A DSkiaCanvas.cpp91 virtual void drawColor(int color, SkXfermode::Mode mode);
471 void SkiaCanvas::drawColor(int color, SkXfermode::Mode mode) { argument
472 mCanvas->drawColor(color, mode);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java349 /*package*/ static void setColor(Paint thisPaint, int color) { argument
356 delegate.mColor = color;
427 int color) {
426 native_setShadowLayer(long paint, float radius, float dx, float dy, int color) argument
H A DCanvas_Delegate.java487 /*package*/ static void native_drawColor(long nativeCanvas, final int color, final int mode) { argument
503 // set the color
504 graphics.setColor(new Color(color, true /*alpha*/));
1101 // if the bitmap config is alpha_8, then we erase all color value from it
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java2925 private void updateColorViewInt(final ColorViewState state, int sysUiVis, int color, argument
2930 && (color & Color.BLACK) != 0
2939 view.setBackgroundColor(color);
2960 view.setBackgroundColor(color);
2992 // Put the color views back in place when they get moved off the screen
3029 .getColor(R.color.input_method_navigation_guard));
3089 .getColor(R.color.input_method_navigation_guard));
4759 public void setStatusBarColor(int color) { argument
4760 mStatusBarColor = color;
4773 public void setNavigationBarColor(int color) { argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardWidgetFrame.java117 mGradientColor = res.getColor(R.color.kg_widget_pager_gradient);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java90 mScrimColor = context.getResources().getColor(R.color.print_preview_scrim_color);
/frameworks/base/services/core/java/com/android/server/storage/
H A DDeviceStorageMonitorService.java476 com.android.internal.R.color.system_notification_accent_color))
/frameworks/base/core/java/android/widget/
H A DAbsListView.java570 * Indicates that this list is always drawn on top of a solid, single-color, opaque
836 int color = a.getColor(R.styleable.AbsListView_cacheColorHint, 0);
837 setCacheColorHint(color);
5966 * When set to a non-zero value, the cache color hint indicates that this list is always drawn
5967 * on top of a solid, single-color, opaque background.
5970 * single color. This hint will not affect any existing background drawable set on this view (
5973 * @param color The background color
5975 public void setCacheColorHint(int color) { argument
5976 if (color !
6740 setCacheColorHint(int color) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebView.java2472 public void setBackgroundColor(int color) { argument
2473 mProvider.getViewDelegate().setBackgroundColor(color);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java27 * The Paint class holds the style and color information about how to draw
314 * both (in the same color). The default is FILL.
761 * Return the paint's color. Note that the color is a 32bit value
766 * @return the paint's color (and alpha).
771 * Set the paint's color. Note that the color is an int containing alpha
776 * @param color The new color (including alpha) to set in the paint.
778 public native void setColor(int color); argument
2292 native_setShadowLayer(long native_object, float radius, float dx, float dy, int color) argument
[all...]
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp247 uint8_t color = ((blockX % colorVariations) + (blockY % colorVariations)) local
250 return color;
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java1117 sCropDimPaint.setColor(resources.getColor(R.color.photo_crop_dim_color));
1122 sCropPaint.setColor(resources.getColor(R.color.photo_crop_highlight_color));
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java260 sSelectedTextColor = context.getResources().getColor(android.R.color.white);
607 mChipBackgroundPressed, getResources().getColor(R.color.chip_background_selected));
623 paint.setColor(getContext().getResources().getColor(android.R.color.black));
800 return getResources().getColor(contact.isValid() ? R.color.chip_background :
801 R.color.chip_background_invalid);
2145 * will change the background color of the chip, show the delete icon,
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewChromium.java2004 public void setBackgroundColor(final int color) { argument
2010 setBackgroundColor(color);
2015 mAwContents.setBackgroundColor(color);

Completed in 736 milliseconds

1234567891011>>