/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | TintManager.java | 217 int alpha = -1; 232 alpha = Math.round(0.16f * 255); 239 if (alpha != -1) { 240 drawable.setAlpha(alpha); 444 // Else we'll use an approximation using the default disabled alpha
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | DrawableWrapper.java | 229 public void setAlpha(int alpha) { argument 231 mDrawable.setAlpha(alpha);
|
H A D | VectorDrawable.java | 85 * <dt><code>android:alpha</code></dt> 337 public void setAlpha(int alpha) { argument 338 if (mVectorState.mVPathRenderer.getRootAlpha() != alpha) { 339 mVectorState.mVPathRenderer.setRootAlpha(alpha); 552 private static int applyAlpha(int color, float alpha) { argument 553 int alphaBytes = Color.alpha(color); 555 color |= ((int) (alphaBytes * alpha)) << 24; 810 * @return null when there is no need for alpha paint. 946 public void setRootAlpha(int alpha) { argument 947 mRootAlpha = alpha; 956 setAlpha(float alpha) argument [all...] |
H A D | NinePatchDrawable.java | 322 public void setAlpha(int alpha) { argument 323 if (mPaint == null && alpha == 0xFF) { 324 // Fast common case -- leave at normal alpha. 327 getPaint().setAlpha(alpha); 334 // Fast common case -- normal alpha.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | SwipeHelper.java | 58 // beyond which alpha->0 333 float alpha = getAlphaForOffset(mCurrView); 334 mCurrView.setAlpha(alpha);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationTemplateViewWrapper.java | 238 int aSource = Color.alpha(source); 242 int aTarget = Color.alpha(target);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogMotion.java | 175 .alpha(1) 187 .alpha(1)
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES11.spec | 6 void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha )
|
H A D | GLES20.spec | 8 void glBlendColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 17 void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 20 void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccUtils.java | 141 * Decodes a string field that's formatted like the EF[ADN] alpha 146 * this alpha tagging shall use either 148 * TS 23.038 [12] with bit 8 set to 0. The alpha identifier 153 * 1) If the first octet in the alpha string is '80', then the 155 * 2) if the first octet in the alpha string is '81', then the 169 * 3) If the first octet of the alpha string is set to '82', then 519 int alpha = 0xff << 24; 521 result[colorIndex++] = alpha
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccUtils.java | 141 * Decodes a string field that's formatted like the EF[ADN] alpha 146 * this alpha tagging shall use either 148 * TS 23.038 [12] with bit 8 set to 0. The alpha identifier 153 * 1) If the first octet in the alpha string is '80', then the 155 * 2) if the first octet in the alpha string is '81', then the 169 * 3) If the first octet of the alpha string is set to '82', then 519 int alpha = 0xff << 24; 521 result[colorIndex++] = alpha
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 127 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 133 float alpha 136 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 142 int alpha 169 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 175 float alpha 178 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 184 int alpha 187 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) 193 boolean alpha [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarHeaderView.java | 602 private void applyAlpha(View v, float alpha) { argument 606 if (alpha == 0f) { 610 v.setAlpha(alpha); 762 mQsDetailHeaderProgress.animate().alpha(1f); 765 mQsDetailHeaderProgress.animate().alpha(0f); 812 .alpha(in ? 1 : 0)
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 153 float alpha); 337 const sp<IBinder>& id, float alpha) { 343 s->alpha = alpha; 599 status_t SurfaceComposerClient::setAlpha(const sp<IBinder>& id, float alpha) { argument 600 return getComposer().setAlpha(this, id, alpha); 336 setAlpha(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float alpha) argument
|
/frameworks/native/opengl/include/GLES/ |
H A D | gl.h | 594 GL_API void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 597 GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 641 GL_API void GL_APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 646 GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); 647 GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 648 GL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPropertyAnimatorCompat.java | 46 public void alpha(ViewPropertyAnimatorCompat vpa, View view, float value); method in interface:ViewPropertyAnimatorCompat.ViewPropertyAnimatorCompatImpl 90 public void alpha(ViewPropertyAnimatorCompat vpa, View view, float value) { method in class:ViewPropertyAnimatorCompat.BaseViewPropertyAnimatorCompatImpl 371 public void alpha(ViewPropertyAnimatorCompat vpa, View view, float value) { method in class:ViewPropertyAnimatorCompat.ICSViewPropertyAnimatorCompatImpl 372 ViewPropertyAnimatorCompatICS.alpha(view, value); 681 * This method will cause the View's <code>alpha</code> property to be animated to the 689 public ViewPropertyAnimatorCompat alpha(float value) { method in class:ViewPropertyAnimatorCompat 692 IMPL.alpha(this, view, value); 698 * This method will cause the View's <code>alpha</code> property to be animated by the
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 214 float alpha = 1f; field in class:LockPatternView.CellState 445 cellState.alpha = startAlpha; 456 cellState.alpha = (1 - t) * startAlpha + t * endAlpha; 478 cellState.alpha = endAlpha; 1103 cellState.radius, drawLookup[i][j], cellState.alpha); 1189 boolean partOfPattern, float alpha) { 1191 mPaint.setAlpha((int) (alpha * 255)); 1188 drawCircle(Canvas canvas, float centerX, float centerY, float radius, boolean partOfPattern, float alpha) argument
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
H A D | gl.h | 479 GLAPI void APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 480 GLAPI void APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 485 GLAPI void APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 486 GLAPI void APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 487 GLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
|
/frameworks/base/libs/hwui/tests/ |
H A D | nullgles.cpp | 161 void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) {} argument 169 void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) {} argument 172 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) {} argument
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingToolbarLayout.java | 507 private void setScrimAlpha(int alpha) { argument 508 if (alpha != mScrimAlpha) { 513 mScrimAlpha = alpha;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | PlaybackOverlayFragment.java | 195 private void setBgAlpha(int alpha) { argument 196 mBgAlpha = alpha; 198 mRootView.getBackground().setAlpha(alpha); 691 if (DEBUG) Log.v(TAG, "setting alpha to 0");
|
H A D | PlaybackOverlaySupportFragment.java | 197 private void setBgAlpha(int alpha) { argument 198 mBgAlpha = alpha; 200 mRootView.getBackground().setAlpha(alpha); 693 if (DEBUG) Log.v(TAG, "setting alpha to 0");
|
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 212 *outError = "White frame must be a solid color (no alpha)"; 433 uint8_t alpha = (row + x * 4)[3]; local 434 if (alpha > max_alpha) max_alpha = alpha; 443 uint8_t alpha = (rows[y] + offsetX * 4)[3]; local 444 if (alpha > max_alpha) max_alpha = alpha; 500 printf("outline insets %d %d %d %d, rad %f, alpha %x\n", 832 // We use a padding byte even when there is no alpha 955 // gray + alpha [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Png.cpp | 190 // We use a padding byte even when there is no alpha 312 // gray + alpha 337 printf("Size w/ palette = %d, gray+alpha = %d, rgb(a) = %d\n", 344 // 2. Gray + alpha - use COLOR_TYPE_PALETTE if the number of distinct combinations 353 // save space versus using gray + alpha for each pixel. 382 // Create the RGB and alpha palettes 391 // If the image is gray or gray + alpha, compact the pixels into outRows 469 << " colors" << (hasTransparency ? " (with alpha)" : "") 477 logger->note() << "is gray + alpha, using PNG_COLOR_TYPE_GRAY_ALPHA." << std::endl; 483 logger->note() << "is RGB + alpha, usin 837 uint8_t alpha = (row + x * 4)[3]; local 846 uint8_t alpha = (rows[y] + offsetX * 4)[3]; local [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 1435 public void setFeatureDrawableAlpha(int featureId, int alpha) { argument 1437 if (st.alpha != alpha) { 1438 st.alpha = alpha; 1480 * @param alpha The new alpha blending of the Drawable. 1482 protected void onDrawableChanged(int featureId, Drawable drawable, int alpha) { argument 1493 drawable.setAlpha(alpha); 3034 view.animate().alpha(1. 4626 int alpha = 255; field in class:PhoneWindow.DrawableFeatureState [all...] |