Home
last modified time | relevance | path

Searched refs:mCropView (Results 1 – 3 of 3) sorted by relevance

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperCropActivity.java61 protected CropView mCropView; field in WallpaperCropActivity
98 mCropView = (CropView) findViewById(R.id.cropView); in init()
146 if (mCropView != null) { in onDestroy()
147 mCropView.destroy(); in onDestroy()
167 .getBuiltInDrawable(mCropView.getWidth(), mCropView.getHeight(), in handleMessage()
270 TileSource oldSrc = mCropView.getTileSource(); in onLoadRequestComplete()
271 mCropView.setTileSource(req.result, null); in onLoadRequestComplete()
272 mCropView.setTouchEnabled(req.touchEnabled); in onLoadRequestComplete()
274 mCropView.moveToLeft(); in onLoadRequestComplete()
282 mCropView.setScale(req.scaleAndOffsetProvider.getScale(wallpaperSize, crop)); in onLoadRequestComplete()
[all …]
DWallpaperPickerActivity.java86 mCropView.setVisibility(View.VISIBLE); in setSystemWallpaperVisiblity()
92 mCropView.postDelayed(new Runnable() { in setSystemWallpaperVisiblity()
98 mCropView.setVisibility(View.INVISIBLE); in setSystemWallpaperVisiblity()
128 mCropView = (CropView) findViewById(R.id.cropView); in init()
129 mCropView.setVisibility(View.INVISIBLE); in init()
134 mCropView.setTouchCallback(new ToggleOnTapCallback(mWallpaperStrip)); in init()
171 mCropView.addOnLayoutChangeListener(new OnLayoutChangeListener() { in init()
206 if (mSelectedTile != null && mCropView.getTileSource() != null) { in init()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java72 private CropView mCropView = null; field in CropActivity
106 mCropView = (CropView) findViewById(R.id.cropView); in onCreate()
146 mCropView.configChanged(); in onConfigurationChanged()
208 mCropView.initialize(bitmap, imgBounds, imgBounds, orientation); in doneLoadBitmap()
215 mCropView.applyAspect(mOutputX, mOutputY); in doneLoadBitmap()
221 mCropView.setWallpaperSpotlight(spotX, spotY); in doneLoadBitmap()
224 mCropView.applyAspect(aspectX, aspectY); in doneLoadBitmap()
689 RectF crop = mCropView.getCrop(); in getBitmapCrop()
690 RectF photo = mCropView.getPhoto(); in getBitmapCrop()