Home
last modified time | relevance | path

Searched refs:setAlpha (Results 1 – 25 of 40) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DAnimatorEvents.java61 startText.setAlpha(.5f); in onCreate()
63 repeatText.setAlpha(.5f); in onCreate()
65 cancelText.setAlpha(.5f); in onCreate()
67 endText.setAlpha(.5f); in onCreate()
69 startTextAnimator.setAlpha(.5f); in onCreate()
71 repeatTextAnimator.setAlpha(.5f); in onCreate()
73 cancelTextAnimator.setAlpha(.5f); in onCreate()
75 endTextAnimator.setAlpha(.5f); in onCreate()
148 startText.setAlpha(.5f); in startAnimation()
149 repeatText.setAlpha(.5f); in startAnimation()
[all …]
DShapeHolder.java76 public void setAlpha(float alpha) { in setAlpha() method in ShapeHolder
78 shape.setAlpha((int)((alpha * 255f) + .5f)); in setAlpha()
DAnimationLoading.java100 balls.get(1).setAlpha((Float) animation.getAnimatedValue()); in createAnimation()
126 balls.get(6).setAlpha((Float) animation.getAnimatedValue()); in createAnimation()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DInternalSelectionView.java148 mPainter.setAlpha(0x20); in onDraw()
157 mPainter.setAlpha(0xF0); in onDraw()
158 mTextPaint.setAlpha(0xFF); in onDraw()
161 mPainter.setAlpha(0x40); in onDraw()
162 mTextPaint.setAlpha(0xF0); in onDraw()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DProxyDrawable.java87 public void setAlpha(int alpha) { in setAlpha() method in ProxyDrawable
89 mProxy.setAlpha(alpha); in setAlpha()
DAlphaBitmap.java49 p.setAlpha(0x80); in drawIntoBitmap()
52 p.setAlpha(0x30); in drawIntoBitmap()
DRegions.java52 mPaint.setAlpha(alpha); in drawOriginalRects()
55 mPaint.setAlpha(alpha); in drawOriginalRects()
DColorFilters.java88 mPaint2.setAlpha(64); in SampleView()
120 mPaint2.setAlpha(64); in swapPaintColors()
DTouchPaint.java262 mFadePaint.setAlpha(FADE_ALPHA); in init()
289 mPaint.setAlpha(255); in text()
463 mPaint.setAlpha(Math.min((int)(pressure * 128), 255)); in paint()
469 mPaint.setAlpha(Math.min((int)(pressure * 128), 255)); in paint()
475 mPaint.setAlpha(64); in paint()
DFingerPaint.java176 mPaint.setAlpha(0xFF); in onOptionsItemSelected()
203 mPaint.setAlpha(0x80); in onOptionsItemSelected()
DColorPickerDialog.java77 mCenterPaint.setAlpha(0xFF); in onDraw()
79 mCenterPaint.setAlpha(0x80); in onDraw()
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/
DWearableListItemLayout.java59 mName.setAlpha(1f); in onCenterPosition()
66 mName.setAlpha(mFadedTextAlpha); in onNonCenterPosition()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DWearableListItemLayout.java61 mName.setAlpha(1f); in onCenterPosition()
68 mName.setAlpha(mFadedTextAlpha); in onNonCenterPosition()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ui/
DSpeedPickerLayout.java69 mName.setAlpha(1f); in onCenterPosition()
76 mName.setAlpha(mFadedTextAlpha); in onNonCenterPosition()
/development/samples/devbytes/animation/PictureViewer/src/com/example/android/pictureviewer/
DPictureViewer.java89 nextImageView.setAlpha(0f); in onCreate()
90 prevImageView.setAlpha(1f); in onCreate()
/development/samples/devbytes/animation/ListViewAnimations/src/com/example/android/listviewanimations/
DListViewAnimations.java72 view.setAlpha(1); in onCreate()
95 view.setAlpha(1); in onCreate()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DZoomActivity.java157 thumbView.setAlpha(0f); in zoomImageFromThumb()
216 thumbView.setAlpha(1f); in zoomImageFromThumb()
223 thumbView.setAlpha(1f); in zoomImageFromThumb()
DCrossfadeActivity.java112 showView.setAlpha(0f); in showContentOrLoadingIndicator()
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
DUIAnimation.java109 mThumbs[k].setAlpha(0f); in zoomImageFromThumb()
168 mThumbs[k].setAlpha(1f); in zoomImageFromThumb()
180 thumbView.setAlpha(1f); in zoomImageFromThumb()
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DListViewRemovalAnimation.java91 v.setAlpha(1);
109 v.setAlpha(1 - deltaXAbs / v.getWidth());
150 v.setAlpha(1);
/development/samples/devbytes/ui/ListViewDeletion/src/com/example/android/listviewdeletion/
DListViewDeletion.java100 view.setAlpha(1); in onCreate()
127 checkedView.setAlpha(1); in onCreate()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceService.java394 mDatePaint.setAlpha(alpha); in onInterruptionFilterChanged()
395 mHourPaint.setAlpha(alpha); in onInterruptionFilterChanged()
396 mMinutePaint.setAlpha(alpha); in onInterruptionFilterChanged()
397 mColonPaint.setAlpha(alpha); in onInterruptionFilterChanged()
398 mAmPmPaint.setAlpha(alpha); in onInterruptionFilterChanged()
DSweepWatchFaceService.java252 mHourPaint.setAlpha(inMuteMode ? 100 : 255); in onInterruptionFilterChanged()
253 mMinutePaint.setAlpha(inMuteMode ? 100 : 255); in onInterruptionFilterChanged()
254 mSecondPaint.setAlpha(inMuteMode ? 80 : 255); in onInterruptionFilterChanged()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardStreamLinearLayout.java176 view.setAlpha(0.f);
305 child.setAlpha(1.f - fractionCovered); in swipeView()
450 child.setAlpha(1.f); in resetAnimatedView()
481 area.setAlpha(0.5f); in runShowActionAreaAnimation()
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DShadowLayout.java86 mShadowPaint.setAlpha((int) (100 + 150 * (1 - mShadowDepth))); in setShadowDepth()

12