Home
last modified time | relevance | path

Searched refs:mThumb (Results 1 – 4 of 4) sorted by relevance

/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DAbsSeekBar.java30 private Drawable mThumb; field in AbsSeekBar
101 if (mThumb != null && thumb != mThumb) { in setThumb()
102 mThumb.setCallback(null); in setThumb()
121 (thumb.getIntrinsicWidth() != mThumb.getIntrinsicWidth() in setThumb()
122 || thumb.getIntrinsicHeight() != mThumb.getIntrinsicHeight())) { in setThumb()
126 mThumb = thumb; in setThumb()
192 return who == mThumb || super.verifyDrawable(who);
198 if (mThumb != null) mThumb.jumpToCurrentState();
210 if (mThumb != null && mThumb.isStateful()) {
212 mThumb.setState(state);
[all …]
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DZoomControl.java38 private final Drawable mThumb; field in ZoomControl
67 mThumb = context.getResources().getDrawable(R.drawable.zoom_thumb_selector); in ZoomControl()
88 mThumb.setState(isPressed() ? PRESSED_WINDOW_FOCUSED_STATE_SET : ENABLED_STATE_SET); in refreshDrawableState()
125 final int halfWidth = mThumb.getIntrinsicWidth() / 2; in onDraw()
126 final int halfHeight = mThumb.getIntrinsicHeight() / 2; in onDraw()
127 mThumb.setBounds(mThumbX - halfWidth, mThumbY - halfHeight, mThumbX + halfWidth, in onDraw()
129 mThumb.setAlpha(isEnabled() ? 255 : 100); in onDraw()
130 mThumb.draw(canvas); in onDraw()
/packages/apps/Camera/src/com/android/camera/ui/
DRotateImageView.java140 private Bitmap mThumb; field in RotateImageView
148 mThumb = null; in setBitmap()
160 mThumb = ThumbnailUtils.extractThumbnail( in setBitmap()
165 mThumbs[1] = new BitmapDrawable(getContext().getResources(), mThumb); in setBitmap()
169 mThumbs[1] = new BitmapDrawable(getContext().getResources(), mThumb); in setBitmap()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRotateImageView.java138 private Bitmap mThumb; field in RotateImageView
146 mThumb = null; in setBitmap()
158 mThumb = ThumbnailUtils.extractThumbnail( in setBitmap()
163 mThumbs[1] = new BitmapDrawable(getContext().getResources(), mThumb); in setBitmap()
167 mThumbs[1] = new BitmapDrawable(getContext().getResources(), mThumb); in setBitmap()