Home
last modified time | relevance | path

Searched refs:getAlpha (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Gallery2/tests/src/com/android/gallery3d/glrenderer/
DGLCanvasTest.java113 assertEquals(1f, canvas.getAlpha()); in testSetGetMultiplyAlpha()
116 assertEquals(0f, canvas.getAlpha()); in testSetGetMultiplyAlpha()
119 assertEquals(0.5f, canvas.getAlpha()); in testSetGetMultiplyAlpha()
122 assertEquals(0.25f, canvas.getAlpha()); in testSetGetMultiplyAlpha()
125 assertEquals(0f, canvas.getAlpha()); in testSetGetMultiplyAlpha()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java378 public float getAlpha() { in getAlpha() method in GLES20Canvas
389 setAlpha(getAlpha() * alpha); in multiplyAlpha()
446 float currentAlpha = getAlpha(); in save()
523 float alpha = ((color >>> 24) & 0xFF) / 255f * getAlpha(); in getColor()
703 enableBlending(!texture.isOpaque() || getAlpha() < OPAQUE_ALPHA); in prepareTexture()
711 GLES20.glUniform1f(params[INDEX_ALPHA].handle, getAlpha()); in prepareTexture()
771 float currentAlpha = getAlpha(); in drawMixed()
DGLCanvas.java50 public abstract float getAlpha(); in getAlpha() method
/packages/apps/Browser/src/com/android/browser/view/
DPieItem.java48 setAlpha(getAlpha()); in PieItem()
79 public float getAlpha() { in getAlpha() method in PieItem
81 return mView.getAlpha(); in getAlpha()
/packages/apps/Browser/src/com/android/browser/
DNavTabScroller.java312 ObjectAnimator alpha = ObjectAnimator.ofFloat(v, ALPHA, getAlpha(v,start), in animateOut()
313 getAlpha(v,target)); in animateOut()
465 v.setAlpha(getAlpha(v, distance)); in offsetView()
473 private float getAlpha(View v, float distance) { in getAlpha() method in NavTabScroller
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoCarousel.java176 return (ImageView) ((mPanel[0].getAlpha() < 0.5f) ? mPanel[0] : mPanel[1]); in getBackface()
233 float frontA = mPanel[0].getAlpha(); in flip()
234 float backA = mPanel[1].getAlpha(); in flip()
/packages/apps/Camera/src/com/android/camera/
DSwitchAnimManager.java108 float alpha = canvas.getAlpha(); in drawAnimation()
138 float alpha = canvas.getAlpha(); in drawDarkPreview()
/packages/apps/Gallery2/src/com/android/camera/
DSwitchAnimManager.java108 float alpha = canvas.getAlpha(); in drawAnimation()
138 float alpha = canvas.getAlpha(); in drawDarkPreview()
DCameraScreenNail.java348 float oldAlpha = canvas.getAlpha(); in draw()
512 public float getAlpha() { in getAlpha() method in CameraScreenNail
DCameraActivity.java187 screenNail, "alpha", screenNail.getAlpha(), 0f); in onCameraSelected()
/packages/apps/Nfc/src/com/android/nfc/
DSendUi.java390 float currentAlpha = mBlackLayer.getAlpha(); in showStartSend()
441 float currentAlpha = mScreenshotView.getAlpha(); in finish()
729 new float[] {mBlackLayer.getAlpha(), 0.9f}); in showSendHint()
/packages/apps/Gallery2/src/com/android/photos/shims/
DBitmapJobDrawable.java141 return (bm == null || bm.hasAlpha() || mPaint.getAlpha() < 255) ? in getOpacity()
147 int oldAlpha = mPaint.getAlpha(); in setAlpha()
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DTargetDrawable.java59 public float getAlpha() { in getAlpha() method in TargetDrawable.DrawableWithAlpha
219 public float getAlpha() { in getAlpha() method in TargetDrawable
DPointCloud.java62 public float getAlpha() { in getAlpha() method in PointCloud.WaveManager
93 public float getAlpha() { in getAlpha() method in PointCloud.GlowManager
/packages/apps/Gallery2/src/com/android/photos/drawables/
DAutoThumbnailDrawable.java206 return (bm == null || bm.hasAlpha() || mPaint.getAlpha() < 255) ? in getOpacity()
212 int oldAlpha = mPaint.getAlpha(); in setAlpha()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureTrail.java161 private static int getAlpha(final int elapsedTime, final Params params) { in getAlpha() method in GestureTrail
255 final int alpha = getAlpha(elapsedTime, params); in drawGestureTrailLocked()
/packages/apps/Launcher2/src/com/android/launcher2/
DFastBitmapDrawable.java72 public int getAlpha() { in getAlpha() method in FastBitmapDrawable
DWorkspace.java457 (cl.getShortcutsAndWidgets().getAlpha() > 0 || in shouldDrawChild()
1617 float currentAlpha = cl.getShortcutsAndWidgets().getAlpha();
1662 float currentAlpha = cl.getShortcutsAndWidgets().getAlpha();
/packages/apps/Camera/src/com/android/camera/drawable/
DTextDrawable.java61 return mPaint.getAlpha(); in getOpacity()
/packages/apps/Gallery2/src/com/android/camera/drawable/
DTextDrawable.java98 return mPaint.getAlpha(); in getOpacity()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DDragListener.java99 && mStatePanelTrack.getCurrentView().getAlpha() > sSlope) { in onDrag()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java2464 int alpha = p.getAlpha(); in doDraw()
2915 int alpha = eventTextPaint.getAlpha(); in drawAllDayEvents()
2978 alpha = p.getAlpha(); in drawAllDayEvents()
3111 int alpha = eventTextPaint.getAlpha(); in drawEvents()
3481 int alpha = p.getAlpha(); in drawEventRect()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLCanvasStub.java48 public float getAlpha() { in getAlpha() method in GLCanvasStub
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/
DSwipeHelper.java244 mStartAlpha = mCurrAnimView.getAlpha(); in onInterceptTouchEvent()
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java255 if (mSaverView.getAlpha() == 0f) { in run()

12