Searched refs:color (Results 176 - 200 of 283) sorted by relevance

1234567891011>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchBar.java163 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 DPlaybackControlsPresenter.java228 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 DMaterialProgressDrawable.java189 * 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 DSwipeRefreshLayout.java458 * 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 DSlidingPaneLayout.java101 * 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 DMediaCodecInfo.cpp73 uint32_t color = static_cast<uint32_t>(parcel.readInt32()); local
75 caps->mColorFormats.push_back(color);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp4767 // 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 DFakeShadowDrawable.java85 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 DLines2Activity.java69 public LinesView(Context c, float offset, int color) { argument
72 mColor = color;
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DFullscreenBlur.java83 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 Dlight.cpp244 // 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 Dfill_common.cpp164 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 DNotificationCompatApi21.java65 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 DActionBarActivity.java171 protected void onTitleChanged(CharSequence title, int color) { argument
172 super.onTitleChanged(title, color);
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowAnimator.java538 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 DTaskStack.java68 /** 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 DGlobalScreenshot.java168 .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 DBrowseFragment.java245 * 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 DBrowseSupportFragment.java247 * 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 DSimpleMonthView.java200 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 DStackView.java1402 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 DRemoteViews.java1531 * 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 Dorientationplot.py229 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 Detc1.cpp373 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 DGpsNetInitiatedHandler.java389 mNiNotification.color = mContext.getResources().getColor(
390 com.android.internal.R.color.system_notification_accent_color);

Completed in 344 milliseconds

1234567891011>>