/frameworks/av/cmds/screenrecord/ |
H A D | TextRenderer.cpp | 94 // The pixel data is stored as combined color+alpha, 8 bits per pixel. 110 uint8_t alpha, color; local 113 color = 0x00; 117 color = FontBitmap::pixels[i] & ~1; 120 *pix++ = color; 121 *pix++ = color; 122 *pix++ = color;
|
/frameworks/av/cmds/stagefright/ |
H A D | record.cpp | 52 // Check the color format to make sure 154 // returns -1 if mapping of the given color is unsuccessful 155 // returns an omx color enum value otherwise 156 static int translateColorToOmxEnumValue(int color) { 157 switch (color) { 163 fprintf(stderr, "Unsupported color: %d\n", color); 182 fprintf(stderr, "input color format must be 0 (YUV420SP) or 1 (YUV420P)\n");
|
H A D | recordvideo.cpp | 38 fprintf(stderr, " -c YUV420 color format: [0] semi planar or [1] planar or other omx YUV420 color format (default: 1)\n"); 104 // iterate through solid planes of color. 139 // returns -1 if mapping of the given color is unsuccessful 140 // returns an omx color enum value otherwise 141 static int translateColorToOmxEnumValue(int color) { argument 142 switch (color) { 148 fprintf(stderr, "Custom OMX color format: %d\n", color); 149 if (color [all...] |
/frameworks/av/media/libmedia/ |
H A D | MediaCodecInfo.cpp | 73 uint32_t color = static_cast<uint32_t>(parcel.readInt32()); local 75 caps->mColorFormats.push_back(color);
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 407 // Parse a color represented as an HTML-style 'RRGGBB' string: each pair of 410 // corresponding elements of color. 412 // If the input string isn't valid, parseColor returns false and color is 414 static bool parseColor(const char str[7], float color[3]) { argument 428 memcpy(color, tmpColor, sizeof(tmpColor)); 481 char color[7] = "000000"; // default to black if unspecified local 490 else if (sscanf(l, " %c %d %d %s #%6s", &pathType, &count, &pause, path, color) >= 4) { 491 // ALOGD("> type=%c, count=%d, pause=%d, path=%s, color=%s", pathType, count, pause, path, color); 498 if (!parseColor(color, par [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 330 * <td align="center"><font color="#800000"><strong>Pre-{@link android.os.Build.VERSION_CODES#HONEYCOMB}</strong></font></td> 344 * <td align="center"><font color="#800000"><strong>Yes</strong></font></td> 357 * <td align="center"><font color="#800000"><strong>Yes</strong></font></td> 3680 // Get the primary color and update the TaskDescription for this activity 5074 * Change the color of the title associated with this activity. 5097 protected void onTitleChanged(CharSequence title, int color) { argument 5102 if (color != 0) { 5103 win.setTitleColor(color);
|
H A D | Notification.java | 334 * The color of the led. The hardware will do its best approximation. 514 * Accent color (an ARGB integer like the constants in {@link android.graphics.Color}) 518 * {@link #icon} image (stenciled in white) atop a field of this color. Alpha components are 521 public int color = COLOR_DEFAULT; field in class:Notification 524 * Special value of {@link #color} telling the system not to decorate this notification with 525 * any special color but instead use default colors when presenting this notification. 1421 color = parcel.readInt(); 1520 that.color = this.color; 1684 parcel.writeInt(color); [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 44 * "color" subdirectory directory of an application's resource directory. The XML file contains 49 * <item android:state_focused="true" android:color="@color/testcolor1"/> 50 * <item android:state_pressed="true" android:state_enabled="false" android:color="@color/testcolor2" /> 51 * <item android:state_enabled="false" android:color="@color/testcolor3" /> 52 * <item android:color="@color/testcolor5"/> 56 * This defines a set of state spec / color pair 99 valueOf(int color) argument 350 addFirstIfMissing( ColorStateList colorStateList, int state, int color) argument [all...] |
H A D | StringBlock.java | 249 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 D | Gesture.java | 182 * @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 D | GestureOverlayView.java | 207 public void setGestureColor(int color) { argument 208 mCertainGestureColor = color; 211 public void setUncertainGestureColor(int color) { argument 212 mUncertainGestureColor = color; 379 private void setCurrentColor(int color) { argument 380 mCurrentColor = color;
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | DngCreator.java | 143 * Pixel data will be converted to a Baseline TIFF RGB image, with 8 bits per color channel. 279 * The pixel layout in the input is determined from the reported color filter arrangement (CFA) 327 * The pixel layout in the input is determined from the reported color filter arrangement (CFA) 496 private static void colorToRgb(int color, int outOffset, /*out*/byte[] rgbOut) { argument 497 rgbOut[outOffset] = (byte) Color.red(color); 498 rgbOut[outOffset + 1] = (byte) Color.green(color); 499 rgbOut[outOffset + 2] = (byte) Color.blue(color);
|
/frameworks/base/core/java/android/os/ |
H A D | IPowerManager.aidl | 60 void setAttentionLight(boolean on, int color);
|
/frameworks/base/core/java/android/text/ |
H A D | Html.java | 311 out.append("<font color =\"#"); 312 String color = Integer.toHexString(((ForegroundColorSpan) 314 while (color.length() < 6) { 315 color = "0" + color; 317 out.append(color); 652 String color = attributes.getValue("", "color"); 656 text.setSpan(new Font(color, face), len, len, Spannable.SPAN_MARK_MARK); 673 int colorRes = res.getIdentifier(name, "color", "androi 829 Font(String color, String face) argument [all...] |
H A D | TextPaint.java | 74 * @param color underline solid color 78 public void setUnderlineText(int color, float thickness) { argument 79 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 | BulletSpan.java | 50 public BulletSpan(int gapWidth, int color) { argument 53 mColor = color;
|
H A D | ForegroundColorSpan.java | 29 public ForegroundColorSpan(int color) { argument 30 mColor = color;
|
H A D | QuoteSpan.java | 37 public QuoteSpan(int color) { argument 39 mColor = color; 71 int color = p.getColor(); 79 p.setColor(color);
|
H A D | TextAppearanceSpan.java | 29 * 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; 173 * Returns the text color specified by this span, or <code>null</code> 181 * 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 D | GLES20Canvas.java | 740 public void drawColor(int color) { argument 741 drawColor(color, PorterDuff.Mode.SRC_OVER); 745 public void drawColor(int color, PorterDuff.Mode mode) { argument 746 nDrawColor(mRenderer, color, mode.nativeInt); 749 private static native void nDrawColor(long renderer, int color, int mode); argument
|
H A D | View.java | 3369 * Solid color to use as a background when creating the drawing cache. Enables 3441 * is useful to apply a specific color filter and/or blending mode and/or 3470 * <p>A hardware layer is useful to apply a specific color filter and/or 11970 * draw all the pixels overlapping its bounds using a fully opaque color. 14273 * Setting a solid background color for the drawing cache's bitmaps will improve 14275 * view will always be drawn on top of a solid color. 14277 * @param color The background color to use for the drawing cache's bitmap 14283 public void setDrawingCacheBackgroundColor(int color) { argument 14284 if (color ! 16182 setBackgroundColor(int color) argument 20646 setFadeColor(int color) argument [all...] |
H A D | Window.java | 1127 * with the color 0 or the system drawable android:drawable/empty.) 1140 * with the color 0 or the system drawable android:drawable/empty.) 1834 * @return the color of the status bar. 1839 * Sets the color of the status bar to {@param color}. 1846 * If {@param color} is not opaque, consider setting 1853 public abstract void setStatusBarColor(int color); argument 1856 * @return the color of the navigation bar. 1861 * Sets the color of the navigation bar to {@param color} 1875 setNavigationBarColor(int color) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 2472 public void setBackgroundColor(int color) { argument 2473 mProvider.getViewDelegate().setBackgroundColor(color);
|
H A D | WebViewProvider.java | 360 public void setBackgroundColor(int color); argument
|