/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 39 static int Color_HSVToColor(JNIEnv* env, jobject, int alpha, jfloatArray hsvArray) argument 49 return SkHSVToColor(alpha, hsv);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Drawable.java | 130 * as alpha (set via setAlpha) and color filter (set via setColorFilter). 403 * Specify an alpha value for the drawable. 0 means fully transparent, and 406 public abstract void setAlpha(int alpha); argument 575 * custom alpha or color filter that has been applied by the client through
|
H A D | DrawableContainer.java | 37 * To be proper, we should have a getter for dither (and alpha, etc.) 103 public void setAlpha(int alpha) { argument 104 if (mAlpha != alpha) { 105 mAlpha = alpha; 108 mCurrDrawable.mutate().setAlpha(alpha); 364 if (DEBUG) android.util.Log.i(TAG, toString() + " cur alpha " + animAlpha); 381 if (DEBUG) android.util.Log.i(TAG, toString() + " last alpha " + animAlpha);
|
H A D | LayerDrawable.java | 398 public void setAlpha(int alpha) { argument 402 array[i].mDrawable.setAlpha(alpha);
|
H A D | GradientDrawable.java | 377 private int modulateAlpha(int alpha) { argument 379 return alpha * scale >> 8; 430 // remember the alpha values, in case we temporarily overwrite them 434 // compute the modulate alpha values 451 allows us to apply paint effects like alpha and colorfilter to 453 asks for a non-opaque alpha value (via setAlpha), and we're 454 stroking, then we need to apply the alpha AFTER we've drawn 634 public void setAlpha(int alpha) { argument 635 if (alpha != mAlpha) { 636 mAlpha = alpha; [all...] |
/frameworks/base/libs/androidfw/ |
H A D | VelocityTracker.cpp | 773 float alpha = dt / (FILTER_TIME_CONSTANT + dt); local 775 state.xvel += (xvel - state.xvel) * alpha; 776 state.yvel += (yvel - state.yvel) * alpha; 785 state.xaccel += (xaccel - state.xaccel) * alpha; 786 state.yaccel += (yaccel - state.yaccel) * alpha; 788 state.xvel += (state.xaccel * dt) * alpha; 789 state.yvel += (state.yaccel * dt) * alpha;
|
H A D | InputTransport.cpp | 61 inline static float lerp(float a, float b, float alpha) { argument 62 return a + alpha * (b - a); 706 float alpha; local 719 alpha = float(sampleTime - current->eventTime) / delta; 740 alpha = float(current->eventTime - sampleTime) / delta; 762 lerp(currentCoords.getX(), otherCoords.getX(), alpha)); 764 lerp(currentCoords.getY(), otherCoords.getY(), alpha)); 767 "other (%0.3f, %0.3f), alpha %0.3f", 771 alpha);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardWidgetFrame.java | 87 // Multiple callers may try and adjust the alpha of the frame. When a caller shows 250 * layers on the content (child) so that updating the alpha of the outlines doesn't 262 * layers on the content (child) so that updating the alpha of the outlines doesn't 310 public void setBackgroundAlpha(float alpha) { argument 311 if (Float.compare(mBackgroundAlpha, alpha) != 0) { 312 mBackgroundAlpha = alpha; 321 public void setContentAlpha(float alpha) { argument 322 mContentAlpha = alpha; 325 content.setAlpha(alpha); 422 public void fadeFrame(Object caller, boolean takeControl, float alpha, in argument [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | ScreenRotationAnimation.java | 267 private void setSnapshotTransformInTransaction(Matrix matrix, float alpha) { argument 275 mSurface.setAlpha(alpha);
|
H A D | Session.java | 424 public void setUniverseTransform(IBinder window, float alpha, float offx, float offy, argument 431 alpha, offx, offy, dsdx, dtdx, dsdy, dtdy);
|
H A D | WindowStateAnimator.java | 501 public void setAlpha(float alpha) { argument 502 super.setAlpha(alpha); 503 if (alpha != mSurfaceTraceAlpha) { 507 mSurfaceTraceAlpha = alpha; 617 + " alpha=" + mSurfaceTraceAlpha + " " + mPosition.x + "," + mPosition.y 938 // Now set the alpha... but because our current hardware 939 // can't do alpha transformation on a non-opaque surface, 948 //Slog.i(TAG, "Applying alpha transform"); 965 //Slog.i(TAG, "Not applying alpha transform"); 1243 "alpha [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | LayoutTestsExecutor.java | 711 public void setMockDeviceOrientation(boolean canProvideAlpha, double alpha, argument 714 ", " + alpha + ", " + canProvideBeta + ", " + beta + ", " + canProvideGamma + 717 alpha, canProvideBeta, beta, canProvideGamma, gamma);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindowSession.java | 187 public void setUniverseTransform(IBinder window, float alpha, float offx, float offy, argument
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 149 float alpha); 304 SurfaceID id, float alpha) { 310 s->alpha = alpha; 537 status_t SurfaceComposerClient::setAlpha(SurfaceID id, float alpha) { argument 538 return getComposer().setAlpha(this, id, alpha); 303 setAlpha(const sp<SurfaceComposerClient>& client, SurfaceID id, float alpha) argument
|
/frameworks/native/opengl/libagl/ |
H A D | dxt.cpp | 346 uint64_t alpha = ((uint64_t)alphahi << 32) | alphalo; local 401 int a = alpha & 0xf; 402 alpha >>= 4; 470 uint64_t alpha = ((uint64_t)alphahi << 32) | alphalo; local 471 uint64_t alpha0 = alpha & 0xff; 472 alpha >>= 8; 473 uint64_t alpha1 = alpha & 0xff; 474 alpha >>= 8; 558 int acode = alpha & 0x7; 559 alpha >> [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | LayerBase.cpp | 79 mCurrentState.alpha = 0xFF; 138 bool LayerBase::setAlpha(uint8_t alpha) { argument 139 if (mCurrentState.alpha == alpha) 142 mCurrentState.alpha = alpha; 334 return !(s.flags & layer_state_t::eLayerHidden) && s.alpha; 348 GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) const 351 glColor4f(red,green,blue,alpha); 375 if (CC_UNLIKELY(s.alpha < 376 const GLfloat alpha = s.alpha * (1.0f/255.0f); local [all...] |
/frameworks/base/cmds/installd/ |
H A D | utils.c | 171 int alpha = -1; local 185 alpha = 1; 195 if (alpha == 1) {
|
/frameworks/base/core/java/android/app/ |
H A D | Dialog.java | 1066 public final void setFeatureDrawableAlpha(int featureId, int alpha) { argument 1067 getWindow().setFeatureDrawableAlpha(featureId, alpha);
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureOverlayView.java | 400 private void setPaintAlpha(int alpha) { argument 401 alpha += alpha >> 7; 403 final int useAlpha = baseAlpha * alpha >> 8;
|
/frameworks/base/core/java/android/view/ |
H A D | Surface.java | 117 * as "non pre-multiplied" by their alpha channel. Of course this flag is 118 * meaningless for surfaces without an alpha channel. By default 120 * already multiplied by its alpha value. In this case the blending 131 * surface can never lower the value of the alpha component of a given 254 private native void nativeSetAlpha(float alpha); argument 300 * specified, open a transaction, set the surface layer, layer stack, alpha, 570 public void setAlpha(float alpha) { argument 571 nativeSetAlpha(alpha);
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 151 int alpha = a.getInt(com.android.internal.R.styleable.ImageView_drawableAlpha, 255); 152 if (alpha != 255) { 153 setAlpha(alpha); 1106 * Returns the alpha that will be applied to the drawable of this ImageView. 1108 * @return the alpha that will be applied to the drawable of this ImageView 1117 * Sets the alpha value that should be applied to the image. 1119 * @param alpha the alpha value that should be applied to the image 1124 public void setImageAlpha(int alpha) { argument 1125 setAlpha(alpha); 1137 setAlpha(int alpha) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES11.cpp | 356 /* void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) */ 359 (JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) { 364 (GLubyte)alpha 358 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
|
H A D | android_view_Surface.cpp | 362 /* note: if PIXEL_FORMAT_RGBX_8888 means that all alpha bytes are 0xFF, then 601 static void nativeSetAlpha(JNIEnv* env, jobject surfaceObj, jfloat alpha) { argument 605 status_t err = surface->setAlpha(alpha);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
H A D | LockPatternKeyguardView.java | 1173 public void setAlpha(int alpha) { argument
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | CallbackProxy.java | 511 public void setMockDeviceOrientation(boolean canProvideAlpha, double alpha, argument 515 mLayoutTestController.setMockDeviceOrientation(canProvideAlpha, alpha, canProvideBeta, beta,
|