Searched defs:color (Results 1 - 25 of 236) sorted by path

12345678910

/frameworks/av/cmds/screenrecord/
H A DTextRenderer.cpp96 // The pixel data is stored as combined color+alpha, 8 bits per pixel.
112 uint8_t alpha, color; local
115 color = 0x00;
119 color = FontBitmap::pixels[i] & ~1;
122 *pix++ = color;
123 *pix++ = color;
124 *pix++ = color;
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp45 fprintf(stderr, " -c YUV420 color format: [0] semi planar or [1] planar or other omx YUV420 color format (default: 1)\n");
111 // iterate through solid planes of color.
146 // returns -1 if mapping of the given color is unsuccessful
147 // returns an omx color enum value otherwise
148 static int translateColorToOmxEnumValue(int color) { argument
149 switch (color) {
155 fprintf(stderr, "Custom OMX color format: %d\n", color);
156 if (color
[all...]
/frameworks/av/media/libmedia/
H A DMediaCodecInfo.cpp71 uint32_t color = static_cast<uint32_t>(parcel.readInt32()); local
73 caps->mColorFormats.push_back(color);
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp1081 const mkvparser::Colour *color = vtrack->GetColour(); local
1082 if (color == NULL) {
1094 if (isValidInt32ColourValue(color->primaries)) {
1095 primaries = color->primaries;
1097 if (isValidInt32ColourValue(color->transfer_characteristics)) {
1098 transfer = color->transfer_characteristics;
1100 if (isValidInt32ColourValue(color->matrix_coefficients)) {
1101 coeffs = color->matrix_coefficients;
1103 if (color->range != mkvparser::Colour::kValueNotPresent
1104 && color
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp400 // Parse a color represented as an HTML-style 'RRGGBB' string: each pair of
403 // corresponding elements of color.
405 // If the input string isn't valid, parseColor returns false and color is
407 static bool parseColor(const char str[7], float color[3]) { argument
421 memcpy(color, tmpColor, sizeof(tmpColor));
541 char color[7] = "000000"; // default to black if unspecified local
550 &pathType, &count, &pause, path, color, &clockPosY) >= 4) {
551 // ALOGD("> type=%c, count=%d, pause=%d, path=%s, color=%s, clockPosY=%d", pathType, count, pause, path, color, clockPosY);
560 if (!parseColor(color, par
[all...]
/frameworks/base/core/java/android/app/
H A DActivity.java356 * <td align="center"><font color="#800000"><strong>Pre-{@link android.os.Build.VERSION_CODES#HONEYCOMB}</strong></font></td>
370 * <td align="center"><font color="#800000"><strong>Yes</strong></font></td>
383 * <td align="center"><font color="#800000"><strong>Yes</strong></font></td>
4027 // Get the primary color and update the TaskDescription for this activity
5620 * Change the color of the title associated with this activity.
5643 protected void onTitleChanged(CharSequence title, int color) { argument
5648 if (color != 0) {
5649 win.setTitleColor(color);
H A DNotification.java389 * The color of the led. The hardware will do its best approximation.
578 * Accent color (an ARGB integer like the constants in {@link android.graphics.Color})
582 * {@link #icon} image (stenciled in white) atop a field of this color. Alpha components are
586 public int color = COLOR_DEFAULT; field in class:Notification
589 * Special value of {@link #color} telling the system not to decorate this notification with
590 * any special color but instead use default colors when presenting this notification.
596 * Special value of {@link #color} used as a place holder for an invalid color.
1651 color = parcel.readInt();
1755 that.color
4762 makeFontColorSpan(int color) argument
5224 generateMediaActionButton(Action action, int color) argument
6414 setColor(@olorInt int color) argument
[all...]
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java514 * A integer extra indicating the predominant color to show during the provisioning.
515 * Refer to {@link android.graphics.Color} for how the color is represented.
6166 * Called by a profile owner of a managed profile to set the color used for customization. This
6167 * color is used as background color of the confirm credentials screen for that user. The
6168 * default color is teal (#00796B).
6174 * @param color The 24bit (0xRRGGBB) representation of the color to be used.
6177 public void setOrganizationColor(@NonNull ComponentName admin, int color) { argument
6181 color |
6199 setOrganizationColorForUser(@olorInt int color, @UserIdInt int userId) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DColorStateList.java51 * "color" subdirectory directory of an application's resource directory. The XML file contains
56 * android:color="@color/sample_focused" /&gt;
59 * android:color="@color/sample_disabled_pressed" /&gt;
61 * android:color="@color/sample_disabled_not_pressed" /&gt;
62 * &lt;item android:color="@color/sample_default" /&gt;
66 * This defines a set of state spec / color pair
164 valueOf(@olorInt int color) argument
[all...]
H A DStringBlock.java249 sub = subtag(tag, ";color=");
309 * Returns a span for the specified color string representation.
310 * If the specified string does not represent a color (null, empty, etc.)
311 * the color black is returned instead.
313 * @param color The color as a string. Can be a resource reference,
315 * @param foreground True if the color will be used as the foreground color,
322 private static CharacterStyle getColor(String color, boolean foreground) { argument
325 if (!TextUtils.isEmpty(color)) {
[all...]
/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);
H A DGestureOverlayView.java208 public void setGestureColor(@ColorInt int color) { argument
209 mCertainGestureColor = color;
212 public void setUncertainGestureColor(@ColorInt int color) { argument
213 mUncertainGestureColor = color;
382 private void setCurrentColor(int color) { argument
383 mCurrentColor = color;
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java153 * Pixel data will be converted to a Baseline TIFF RGB image, with 8 bits per color channel.
295 * The pixel layout in the input is determined from the reported color filter arrangement (CFA)
345 * The pixel layout in the input is determined from the reported color filter arrangement (CFA)
519 private static void colorToRgb(int color, int outOffset, /*out*/byte[] rgbOut) { argument
520 rgbOut[outOffset] = (byte) Color.red(color);
521 rgbOut[outOffset + 1] = (byte) Color.green(color);
522 rgbOut[outOffset + 2] = (byte) Color.blue(color);
/frameworks/base/core/java/android/text/
H A DHtml.java147 * Flag indicating that CSS color values should be used instead of those defined in
582 int color = ((ForegroundColorSpan) style[j]).getForegroundColor();
583 out.append(String.format("<span style=\"color:#%06X;\">", 0xFFFFFF & color));
586 int color = ((BackgroundColorSpan) style[j]).getBackgroundColor();
587 out.append(String.format("<span style=\"background-color:#%06X;\">",
588 0xFFFFFF & color));
723 "(?:\\s+|\\A)color\\s*:\\s*(\\S*)\\b");
731 "(?:\\s+|\\A)background(?:-color)?\\s*:\\s*(\\S*)\\b");
1151 String color
1193 getHtmlColor(String color) argument
[all...]
H A DTextPaint.java78 * @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 DBackgroundColorSpan.java29 public BackgroundColorSpan(int color) { argument
30 mColor = color;
H A DBulletSpan.java50 public BulletSpan(int gapWidth, int color) { argument
53 mColor = color;
H A DForegroundColorSpan.java30 public ForegroundColorSpan(@ColorInt int color) { argument
31 mColor = color;
H A DQuoteSpan.java38 public QuoteSpan(@ColorInt int color) { argument
40 mColor = color;
83 int color = p.getColor();
91 p.setColor(color);
H A DTextAppearanceSpan.java29 * Sets the text color, size, style, and typeface to match a TextAppearance
50 * text appearance, and the specified text color resource
51 * to determine the color. The <code>appearance</code> should be,
114 ColorStateList color, ColorStateList linkColor) {
118 mTextColor = color;
183 * Returns the text color specified by this span, or <code>null</code>
191 * Returns the link color specified by this span, or <code>null</code>
113 TextAppearanceSpan(String family, int style, int size, ColorStateList color, ColorStateList linkColor) argument
/frameworks/base/core/java/android/view/
H A DNotificationHeaderView.java269 public void setOriginalIconColor(int color) { argument
270 mIconColor = color;
278 public void setOriginalNotificationColor(int color) { argument
279 mOriginalNotificationColor = color;
H A DView.java616 * color scheme; however, because an overlay theme is used which only defines a
3719 * Solid color to use as a background when creating the drawing cache. Enables
3838 * is useful to apply a specific color filter and/or blending mode and/or
3867 * <p>A hardware layer is useful to apply a specific color filter and/or
13739 * draw all the pixels overlapping its bounds using a fully opaque color.
16150 * Setting a solid background color for the drawing cache's bitmaps will improve
16152 * view will always be drawn on top of a solid color.
16154 * @param color The background color to use for the drawing cache's bitmap
16160 public void setDrawingCacheBackgroundColor(@ColorInt int color) { argument
18076 setBackgroundColor(@olorInt int color) argument
23130 setFadeColor(int color) argument
[all...]
H A DWindow.java258 * Flag for letting the theme drive the color of the window caption controls. Use with
263 * Flag for setting light-color controls on the window caption. Use with
268 * Flag for setting dark-color controls on the window caption. Use with
1415 * with the color 0 or the system drawable android:drawable/empty.)
1428 * with the color 0 or the system drawable android:drawable/empty.)
2108 * @return the color of the status bar.
2114 * Sets the color of the status bar to {@code color}.
2121 * If {@code color} is not opaque, consider setting
2128 public abstract void setStatusBarColor(@ColorInt int color); argument
2151 setNavigationBarColor(@olorInt int color) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebView.java2618 public void setBackgroundColor(int color) { argument
2619 mProvider.getViewDelegate().setBackgroundColor(color);
H A DWebViewProvider.java379 public void setBackgroundColor(int color); argument

Completed in 2228 milliseconds

12345678910