Searched refs:expandedImageView (Results 1 – 2 of 2) sorted by relevance
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/ |
D | UIAnimation.java | 39 private ImageView expandedImageView; field in UIAnimation 50 expandedImageView = expandedView; in UIAnimation() 83 expandedImageView.setImageResource(imageResId); in zoomImageFromThumb() 111 expandedImageView.setVisibility(View.VISIBLE); in zoomImageFromThumb() 113 expandedImageView.setPivotX(0f); in zoomImageFromThumb() 114 expandedImageView.setPivotY(0f); in zoomImageFromThumb() 118 .ofFloat(expandedImageView, View.X, startBounds.left, finalBounds.left)).with( in zoomImageFromThumb() 119 ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top, finalBounds in zoomImageFromThumb() 121 ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X, startScale, 1f)) in zoomImageFromThumb() 122 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_Y, startScale, 1f)); in zoomImageFromThumb() [all …]
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
D | ZoomActivity.java | 116 final ImageView expandedImageView = (ImageView) findViewById(R.id.expanded_image); in zoomImageFromThumb() local 117 expandedImageView.setImageResource(imageResId); in zoomImageFromThumb() 158 expandedImageView.setVisibility(View.VISIBLE); in zoomImageFromThumb() 162 expandedImageView.setPivotX(0f); in zoomImageFromThumb() 163 expandedImageView.setPivotY(0f); in zoomImageFromThumb() 169 .play(ObjectAnimator.ofFloat(expandedImageView, View.X, startBounds.left, in zoomImageFromThumb() 171 .with(ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top, in zoomImageFromThumb() 173 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X, startScale, 1f)) in zoomImageFromThumb() 174 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_Y, startScale, 1f)); in zoomImageFromThumb() 194 expandedImageView.setOnClickListener(new View.OnClickListener() { in zoomImageFromThumb() [all …]
|