Home
last modified time | relevance | path

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

/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperCropActivity.java78 protected CropView mCropView; field in WallpaperCropActivity
120 mCropView = (CropView) findViewById(R.id.cropView); in init()
171 if (mCropView != null) { in onDestroy()
172 mCropView.destroy(); in onDestroy()
266 TileSource oldSrc = mCropView.getTileSource(); in onLoadRequestComplete()
267 mCropView.setTileSource(req.result, null); in onLoadRequestComplete()
268 mCropView.setTouchEnabled(req.touchEnabled); in onLoadRequestComplete()
270 mCropView.moveToLeft(); in onLoadRequestComplete()
349 Point inSize = mCropView.getSourceDimensions(); in cropImageAndSetWallpaper()
381 boolean ltr = mCropView.getLayoutDirection() == View.LAYOUT_DIRECTION_LTR; in cropImageAndSetWallpaper()
[all …]
DWallpaperPickerActivity.java211 PointF center = a.mCropView.getCenter(); in onSave()
214 a.mCropView.getScale(), in onSave()
442 mCropView.setVisibility(View.VISIBLE);
448 mCropView.postDelayed(new Runnable() {
454 mCropView.setVisibility(View.INVISIBLE);
482 mCropView = (CropView) findViewById(R.id.cropView);
483 mCropView.setVisibility(View.INVISIBLE);
488 mCropView.setTouchCallback(new CropView.TouchCallback() {
624 mCropView.addOnLayoutChangeListener(new OnLayoutChangeListener() {
660 if (mSelectedTile != null && mCropView.getTileSource() != null) {
[all …]
DSavedWallpaperImages.java78 a.mCropView.setScaleAndCenter(mExtras[0], mExtras[1], mExtras[2]); in getCropViewScaleAndOffsetProvider()
/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()