Home
last modified time | relevance | path

Searched refs:mPreview (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DHardwareCameraPreview.java39 private CameraPreview mPreview; field in HardwareCameraPreview
43 mPreview = new CameraPreview(this); in HardwareCameraPreview()
47 CameraManager.get().setSurface(mPreview); in HardwareCameraPreview()
52 CameraManager.get().setSurface(mPreview); in HardwareCameraPreview()
63 CameraManager.get().setSurface(mPreview); in HardwareCameraPreview()
71 mPreview.onVisibilityChanged(visibility); in onVisibilityChanged()
77 mPreview.onDetachedFromWindow(); in onDetachedFromWindow()
83 mPreview.onAttachedToWindow(); in onAttachedToWindow()
89 mPreview.onRestoreInstanceState(); in onRestoreInstanceState()
94 widthMeasureSpec = mPreview.getWidthMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure()
[all …]
DSoftwareCameraPreview.java37 private final CameraPreview mPreview; field in SoftwareCameraPreview
41 mPreview = new CameraPreview(this); in SoftwareCameraPreview()
45 CameraManager.get().setSurface(mPreview); in SoftwareCameraPreview()
51 CameraManager.get().setSurface(mPreview); in SoftwareCameraPreview()
65 mPreview.onVisibilityChanged(visibility); in onVisibilityChanged()
71 mPreview.onDetachedFromWindow(); in onDetachedFromWindow()
77 mPreview.onAttachedToWindow(); in onAttachedToWindow()
83 mPreview.onRestoreInstanceState(); in onRestoreInstanceState()
88 widthMeasureSpec = mPreview.getWidthMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure()
89 heightMeasureSpec = mPreview.getHeightMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure()
[all …]
/packages/apps/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java137 private Bitmap mPreview; field in BitmapRegionTileSource.BitmapSource
169 mPreview = loadPreviewBitmap(opts); in loadInBackground()
173 mPreview = null; in loadInBackground()
177 if (mPreview == null) { in loadInBackground()
178 mPreview = loadPreviewBitmap(opts); in loadInBackground()
180 if (mPreview == null) { in loadInBackground()
187 GLUtils.getInternalFormat(mPreview); in loadInBackground()
188 GLUtils.getType(mPreview); in loadInBackground()
207 return mPreview; in getPreviewBitmap()
295 private BasicTexture mPreview; field in BitmapRegionTileSource
[all …]
/packages/apps/Camera2/src/com/android/camera/
DTextureViewHelper.java51 private final TextureView mPreview; field in TextureViewHelper
78 mPreview = preview; in TextureViewHelper()
80 mPreview.addOnLayoutChangeListener(this); in TextureViewHelper()
81 mPreview.setSurfaceTextureListener(this); in TextureViewHelper()
128 mPreview.setTransform(new Matrix()); in clearTransform()
194 mPreview.setTransform(matrix); in updateTransformFullScreen()
221 mPreview.setTransform(matrix);
371 mPreview.setTransform(matrix);
383 mPreview.post(new Runnable() {
407 if (mPreview == null) {
[all …]
/packages/apps/ThemePicker/src/com/android/customization/model/clock/
DClockface.java31 private final Asset mPreview; field in Clockface
37 mPreview = preview; in Clockface()
67 return mPreview; in getPreviewAsset()
77 private Asset mPreview; field in Clockface.Builder
81 return new Clockface(mTitle, mId, mPreview, mThumbnail); in build()
95 mPreview = preview; in setPreview()
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetPreview.java46 private Bitmap mPreview; field in TinyPlanetPreview
67 mPreview = preview; in setBitmap()
84 if (mPreview != null && !mPreview.isRecycled()) { in onDraw()
85 canvas.drawBitmap(mPreview, 0, 0, mPaint); in onDraw()
DTinyPlanetFragment.java93 private TinyPlanetPreview mPreview; field in TinyPlanetFragment
170 mPreview.setBitmap(mResultBitmap, mResultLock);
197 mPreview = (TinyPlanetPreview) view.findViewById(R.id.preview); in onCreateView()
198 mPreview.setPreviewSizeChangeListener(this); in onCreateView()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java76 private BasicTexture mPreview; field in TiledImageRenderer
203 if (mPreview != null) { in calculateLevelCount()
205 mImageWidth / (float) mPreview.getWidth())); in calculateLevelCount()
224 mPreview = null; in notifyModelInvalidated()
228 mPreview = mModel.getPreview(); in notifyModelInvalidated()
449 } else if (mPreview != null) { in draw()
450 mPreview.draw(canvas, mOffsetX, mOffsetY, in draw()
467 return mRenderComplete || mPreview != null; in draw()
622 if (mPreview != null) { in drawTile()
624 float scaleX = (float) mPreview.getWidth() / mImageWidth; in drawTile()
[all …]
/packages/apps/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java76 private BasicTexture mPreview; field in TiledImageRenderer
203 if (mPreview != null) { in calculateLevelCount()
205 mImageWidth / (float) mPreview.getWidth())); in calculateLevelCount()
224 mPreview = null; in notifyModelInvalidated()
228 mPreview = mModel.getPreview(); in notifyModelInvalidated()
449 } else if (mPreview != null) { in draw()
450 mPreview.draw(canvas, mOffsetX, mOffsetY, in draw()
467 return mRenderComplete || mPreview != null; in draw()
622 if (mPreview != null) { in drawTile()
624 float scaleX = (float) mPreview.getWidth() / mImageWidth; in drawTile()
[all …]
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DDrawableTileSource.java38 private BitmapTexture mPreview; field in DrawableTileSource
71 if (mPreview == null){ in getPreview()
83 mPreview = new BitmapTexture(b); in getPreview()
85 return mPreview; in getPreview()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DLivePreviewWidgetCell.java21 private RemoteViews mPreview; field in LivePreviewWidgetCell
36 mPreview = view; in setPreview()
41 if (mPreview != null && mActiveRequest == null) { in ensurePreview()
43 mActivity, mPreview, mItem.widgetInfo, mPresetPreviewSize, new int[1]); in ensurePreview()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java50 private RemoteViews mPreview; field in PendingItemDragHelper
58 mPreview = preview; in setPreview()
89 if (mPreview != null) { in startDrag()
90 preview = LivePreviewWidgetCell.generateFromRemoteViews(launcher, mPreview, in startDrag()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DPreviewFragment.java150 protected CheckBox mPreview; field in PreviewFragment
365 mPreview = (CheckBox) menu.findItem(R.id.preview).getActionView(); in setupPreviewMenu()
366 mPreview.setChecked(mBottomSheetInitialState == STATE_COLLAPSED); in setupPreviewMenu()
367 mPreview.setOnClickListener(this::setPreviewBehavior); in setupPreviewMenu()
371 if (mPreview != null) { in setPreviewChecked()
372 mPreview.setChecked(checked); in setPreviewChecked()
375 mPreview.setContentDescription(getResources().getString(resId)); in setPreviewChecked()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/
DGridFragment.java231 private ImageView mPreview; field in GridFragment.GridPreviewPage
246 mPreview = card.findViewById(R.id.grid_preview_image); in setCard()
253 mPreview /* imageView */, in bindPreviewContent()
261 mPreview.setBackground(mCardBackground); in bindWallpaperIfAvailable()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java101 private CheckBox mPreview; field in LiveWallpaperPreview
387 mPreview = (CheckBox) menu.findItem(R.id.preview).getActionView(); in setupPreviewMenu()
388 mPreview.setOnClickListener(this::setPreviewBehavior); in setupPreviewMenu()
424 if (mPreview != null) { in setPreviewChecked()
425 mPreview.setChecked(checked); in setPreviewChecked()
428 mPreview.setContentDescription(getResources().getString(resId)); in setPreviewChecked()
/packages/apps/Gallery2/src/com/android/photos/
DBitmapRegionTileSource.java58 private BasicTexture mPreview; field in BitmapRegionTileSource
88 mPreview = new BitmapTexture(preview); in BitmapRegionTileSource()
116 return mPreview; in getPreview()