/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | HardwareCameraPreview.java | 39 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 …]
|
D | SoftwareCameraPreview.java | 37 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/Camera2/src/com/android/camera/ |
D | TextureViewHelper.java | 52 private final TextureView mPreview; field in TextureViewHelper 79 mPreview = preview; in TextureViewHelper() 81 mPreview.addOnLayoutChangeListener(this); in TextureViewHelper() 82 mPreview.setSurfaceTextureListener(this); in TextureViewHelper() 108 int rotation = CameraUtil.getDisplayRotation((Activity) mPreview.getContext()); in onLayoutChange() 129 mPreview.setTransform(new Matrix()); in clearTransform() 195 mPreview.setTransform(matrix); in updateTransformFullScreen() 222 mPreview.setTransform(matrix); 359 mOrientation = CameraUtil.getDisplayRotation((Activity) mPreview.getContext()); 372 mPreview.setTransform(matrix); [all …]
|
/packages/apps/WallpaperPicker/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 137 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/ThemePicker/src/com/android/customization/model/clock/ |
D | Clockface.java | 31 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/ |
D | TinyPlanetPreview.java | 46 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()
|
D | TinyPlanetFragment.java | 93 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/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityButtonPreviewPreferenceController.java | 52 ImageView mPreview; field in AccessibilityButtonPreviewPreferenceController 74 mPreview = preference.findViewById(R.id.preview_image); in displayPreference() 107 mPreview.setImageDrawable(getFloatingMenuPreviewDrawable(floatingMenuIconId, opacity)); in updatePreviewPreference() 109 mPreview.invalidate(); in updatePreviewPreference() 111 mPreview.setImageDrawable( in updatePreviewPreference()
|
/packages/apps/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 76 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/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 76 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/ |
D | DrawableTileSource.java | 38 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/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityButtonPreviewPreferenceControllerTest.java | 65 mController.mPreview = new ImageView(mContext); in setUp() 77 assertThat(ImageTestUtils.drawableToBitmap(mController.mPreview.getDrawable()).sameAs( in onChange_a11yBtnModeNavigationBar_getNavigationBarDrawable() 95 assertThat(mController.mPreview.getDrawable().getConstantState()).isEqualTo( in onChange_updatePreviewPreferenceWithConfig_expectedPreviewDrawable()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 58 private BasicTexture mPreview; field in BitmapRegionTileSource 88 mPreview = new BitmapTexture(preview); in BitmapRegionTileSource() 116 return mPreview; in getPreview()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperPreview.java | 102 private CheckBox mPreview; field in LiveWallpaperPreview 388 mPreview = (CheckBox) menu.findItem(R.id.preview).getActionView(); in setupPreviewMenu() 389 mPreview.setOnClickListener(this::setPreviewBehavior); in setupPreviewMenu() 425 if (mPreview != null) { in setPreviewChecked() 426 mPreview.setChecked(checked); in setPreviewChecked() 429 mPreview.setContentDescription(getResources().getString(resId)); in setPreviewChecked()
|