/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SearchBar.java | 163 mTextColorSpeechMode = r.getColor(R.color.lb_search_bar_text_speech_mode); 164 mTextColor = r.getColor(R.color.lb_search_bar_text); 169 mTextHintColorSpeechMode = r.getColor(R.color.lb_search_bar_hint_speech_mode); 170 mTextHintColor = r.getColor(R.color.lb_search_bar_hint);
|
H A D | PlaybackControlsPresenter.java | 228 public void setProgressColor(ViewHolder vh, int color) { argument 229 Drawable drawable = new ClipDrawable(new ColorDrawable(color),
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | MaterialProgressDrawable.java | 189 * Update the background color of the circle image view. 191 public void setBackgroundColor(int color) { argument 192 mRing.setBackgroundColor(color); 196 * Set the colors used in the progress animation from color resources. 197 * The first color will also be the color of the bar that grows in response 413 // animating, the mColorIndex moves by one to the next available color. 439 public void setBackgroundColor(int color) { argument 440 mBackgroundColor = color; 519 // if colors are reset, make sure to reset the color inde [all...] |
H A D | SwipeRefreshLayout.java | 458 * Set the background color of the progress spinner disc. 460 * @param colorRes Resource id of the color. 467 * Set the background color of the progress spinner disc. 469 * @param color 471 public void setProgressBackgroundColorSchemeColor(int color) { argument 472 mCircleView.setBackgroundColor(color); 473 mProgress.setBackgroundColor(color); 485 * Set the color resources used in the progress animation from color resources. 486 * The first color wil [all...] |
H A D | SlidingPaneLayout.java | 101 * If no fade color is given by default it will fade to 80% gray. 106 * The fade color used for the sliding panel. 0 = no fading. 116 * The fade color used for the panel covered by the slider. 0 = no fading. 296 * Set the color used to fade the sliding pane out when it is slid most of the way offscreen. 298 * @param color An ARGB-packed color value 300 public void setSliderFadeColor(int color) { argument 301 mSliderFadeColor = color; 305 * @return The ARGB-packed color value used to fade the sliding pane 312 * Set the color use 317 setCoveredFadeColor(int color) argument [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/libs/androidfw/ |
H A D | ResourceTypes.cpp | 4767 // It's a color! Convert to an integer of the form 0xaarrggbb. 4768 uint32_t color = 0; local 4772 color |= 0xFF000000; 4773 color |= get_hex(s[1], &error) << 20; 4774 color |= get_hex(s[1], &error) << 16; 4775 color |= get_hex(s[2], &error) << 12; 4776 color |= get_hex(s[2], &error) << 8; 4777 color |= get_hex(s[3], &error) << 4; 4778 color |= get_hex(s[3], &error); 4781 color | [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | FakeShadowDrawable.java | 85 mShadowStartColor = resources.getColor(R.color.fake_shadow_start_color); 86 mShadowEndColor = resources.getColor(R.color.fake_shadow_end_color);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | Lines2Activity.java | 69 public LinesView(Context c, float offset, int color) { argument 72 mColor = color;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | FullscreenBlur.java | 83 static RenderPass addPass(Scene scene, Camera cam, TextureRenderTarget color, TextureRenderTarget depth) {
argument 85 pass.setColorTarget(color);
125 quad.appendSourceParams(new TextureParam("color", sRenderTargetBlur0Color));
133 quad.appendSourceParams(new TextureParam("color", sRenderTargetBlur2Color));
142 quad.appendSourceParams(new TextureParam("color", sRenderTargetBlur1Color));
156 quad.appendSourceParams(new TextureParam("color", sRenderTargetBlur2Color));
164 fb.addTexture(TextureType.TEXTURE_2D, "color");
|
/frameworks/native/opengl/libagl/ |
H A D | light.cpp | 244 // if colorMaterial is enabled, we get the color from the vertex 309 // fetch the material color 310 const GLvoid* cp = c->arrays.color.element( 312 c->arrays.color.fetch(c, v->color.v, cp); 314 // acquire the color-material from the vertex 317 material.diffuse = v->color; 445 v->color.r = gglClampx(r.r); 446 v->color.g = gglClampx(r.g); 447 v->color [all...] |
/frameworks/native/opengl/tests/gl_perf/ |
H A D | fill_common.cpp | 164 static const float color[] = { local 186 glVertexAttribPointer(A_COLOR, 4, GL_FLOAT, false, 16, color);
|
/frameworks/support/v4/api21/android/support/v4/app/ |
H A D | NotificationCompatApi21.java | 65 String category, ArrayList<String> people, Bundle extras, int color, 100 .setColor(color) 59 Builder(Context context, Notification n, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, RemoteViews tickerView, int number, PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon, int progressMax, int progress, boolean progressIndeterminate, boolean showWhen, boolean useChronometer, int priority, CharSequence subText, boolean localOnly, String category, ArrayList<String> people, Bundle extras, int color, int visibility, Notification publicVersion, String groupKey, boolean groupSummary, String sortKey) argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBarActivity.java | 171 protected void onTitleChanged(CharSequence title, int color) { argument 172 super.onTitleChanged(title, color);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowAnimator.java | 538 final int color = winAnimator.mAnimation.getBackgroundColor(); 539 if (color != 0) { 542 stack.setAnimationBackground(winAnimator, color); 560 final int color = appAnimator.animation.getBackgroundColor(); 561 if (color != 0) { 564 stack.setAnimationBackground(winAnimator, color);
|
H A D | TaskStack.java | 68 /** The particular window with an Animation with non-zero background color. */ 354 void setAnimationBackground(WindowStateAnimator winAnimator, int color) { argument 361 ((color >> 24) & 0xff) / 255f, 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | GlobalScreenshot.java | 168 .setColor(r.getColor(com.android.internal.R.color.system_notification_accent_color)); 183 com.android.internal.R.color.system_notification_accent_color)); 312 com.android.internal.R.color.system_notification_accent_color));; 322 com.android.internal.R.color.system_notification_accent_color)); 729 com.android.internal.R.color.system_notification_accent_color));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | BrowseFragment.java | 245 * Sets the brand color for the browse fragment. The brand color is used as 246 * the primary color for UI elements in the browse fragment. For example, 247 * the background color of the headers fragment uses the brand color. 249 * @param color The color to use as the brand color of the fragment. 251 public void setBrandColor(int color) { argument 252 mBrandColor = color; 414 setSearchAffordanceColor(int color) argument [all...] |
H A D | BrowseSupportFragment.java | 247 * Sets the brand color for the browse fragment. The brand color is used as 248 * the primary color for UI elements in the browse fragment. For example, 249 * the background color of the headers fragment uses the brand color. 251 * @param color The color to use as the brand color of the fragment. 253 public void setBrandColor(int color) { argument 254 mBrandColor = color; 416 setSearchAffordanceColor(int color) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | SimpleMonthView.java | 200 res.getColor(R.color.datepicker_default_normal_text_color_holo_light)); 205 res.getColor(R.color.datepicker_default_disabled_text_color_holo_light)); 209 res.getColor(R.color.holo_blue_light));
|
H A D | StackView.java | 1402 Bitmap createClickOutline(View v, int color) { argument 1403 return createOutline(v, CLICK_FEEDBACK, color); 1406 Bitmap createResOutline(View v, int color) { argument 1407 return createOutline(v, RES_OUT, color); 1410 Bitmap createOutline(View v, int type, int color) { argument 1411 mHolographicPaint.setColor(color);
|
H A D | RemoteViews.java | 1531 * Helper action to set a color filter on a compound drawable on a TextView. Supports relative 1536 int color, PorterDuff.Mode mode) { 1540 this.color = color; 1548 color = parcel.readInt(); 1566 dest.writeInt(color); 1583 d.setColorFilter(color, mode); 1593 final int color; field in class:RemoteViews.TextViewDrawableColorFilterAction 2032 * Equivalent to applying a color filter on one of the drawables in 2037 * {@link android.widget.TextView#getCompoundDrawablesRelative()} to set the color 1535 TextViewDrawableColorFilterAction(int viewId, boolean isRelative, int index, int color, PorterDuff.Mode mode) argument 2045 setTextViewCompoundDrawablesRelativeColorFilter(int viewId, int index, int color, PorterDuff.Mode mode) argument 2266 setTextColor(int viewId, int color) argument [all...] |
/frameworks/base/tools/orientationplot/ |
H A D | orientationplot.py | 229 def _add_timeseries_line(self, axes, label, color, linewidth=1): 230 return axes.plot([], label=label, color=color, linewidth=linewidth)[0]
|
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 373 static bool inRange4bitSigned(int color) { argument 374 return color >= -4 && color <= 3; 481 // pixel is valid or not. Invalid pixel color values are ignored when compressing.
|
/frameworks/base/location/java/com/android/internal/location/ |
H A D | GpsNetInitiatedHandler.java | 389 mNiNotification.color = mContext.getResources().getColor( 390 com.android.internal.R.color.system_notification_accent_color);
|