Searched refs:opacity (Results 1 – 11 of 11) sorted by relevance
55 int opacity) { in createLayerDrawable() argument60 basicDrawable.updateLayerDrawable(context, resId, opacity); in createLayerDrawable()72 public void updateLayerDrawable(Context context, int resId, int opacity) { in updateLayerDrawable() argument74 icon.setAlpha(opacity); in updateLayerDrawable()76 this.setConstantState(context, resId, opacity); in updateLayerDrawable()85 private void setConstantState(Context context, int resId, int opacity) { in setConstantState() argument86 mState = new FloatingMenuLayerDrawableState(context, resId, opacity); in setConstantState()97 FloatingMenuLayerDrawableState(Context context, int resId, int opacity) { in FloatingMenuLayerDrawableState() argument100 mOpacity = opacity; in FloatingMenuLayerDrawableState()
101 final int opacity = (int) (Settings.Secure.getFloat(mContentResolver, in updatePreviewPreference() local107 mPreview.setImageDrawable(getFloatingMenuPreviewDrawable(floatingMenuIconId, opacity)); in updatePreviewPreference()116 private Drawable getFloatingMenuPreviewDrawable(int resId, int opacity) { in getFloatingMenuPreviewDrawable() argument119 mContext, resId, opacity); in getFloatingMenuPreviewDrawable()121 mFloatingMenuPreviewDrawable.updateLayerDrawable(mContext, resId, opacity); in getFloatingMenuPreviewDrawable()
323 private void parseColorOpacity(ColorPreference color, ColorPreference opacity, int value) { in parseColorOpacity() argument341 opacity.setValue(opacityValue | 0xFFFFFF); in parseColorOpacity()345 private int mergeColorOpacity(ColorPreference color, ColorPreference opacity) { in mergeColorOpacity() argument347 final int opacityValue = opacity.getValue(); in mergeColorOpacity()
142 public final int opacity; field in Cea708Data.CaptionColor147 public CaptionColor(int opacity, int red, int green, int blue) { in CaptionColor() argument148 this.opacity = opacity; in CaptionColor()156 OPACITY_MAP[opacity], COLOR_MAP[red], COLOR_MAP[green], COLOR_MAP[blue]); in getArgbValue()
637 int opacity = (data[pos] & 0xc0) >> 6; in parseC1() local641 CaptionColor foregroundColor = new CaptionColor(opacity, red, green, blue); in parseC1()643 opacity = (data[pos] & 0xc0) >> 6; in parseC1()647 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue); in parseC1()693 int opacity = (data[pos] & 0xc0) >> 6; in parseC1() local697 CaptionColor fillColor = new CaptionColor(opacity, red, green, blue); in parseC1()
78 int opacity = (int) (255 * 0.1); in onDrawShadow() local79 paint.setShadowLayer(mShadowRadius, 0, 0, Color.argb(opacity, 0, 0, 0)); in onDrawShadow()83 opacity = (int) (255 * 0.24); in onDrawShadow()84 paint.setShadowLayer(mShadowRadius, 0, mShadowRadius, Color.argb(opacity, 0, 0, 0)); in onDrawShadow()
343 private String opacityToString(int opacity) { in opacityToString() argument344 switch (opacity & 0xff000000) { in opacityToString()
573 public void setOpacity(int opacity) { in setOpacity() argument574 mLayerState.mOpacityOverride = opacity; in setOpacity()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...