/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FolderIcon.java | 205 final int previewSize = sPreviewSize; in animateToAcceptState() local 209 mOuterRingSize = (1 + percent * OUTER_RING_GROWTH_FACTOR) * previewSize; in animateToAcceptState() 210 mInnerRingSize = (1 + percent * INNER_RING_GROWTH_FACTOR) * previewSize; in animateToAcceptState() 234 final int previewSize = sPreviewSize; in animateToNaturalState() local 238 mOuterRingSize = (1 + (1 - percent) * OUTER_RING_GROWTH_FACTOR) * previewSize; in animateToNaturalState() 239 mInnerRingSize = (1 + (1 - percent) * INNER_RING_GROWTH_FACTOR) * previewSize; in animateToNaturalState() 439 final int previewSize = FolderRingAnimator.sPreviewSize; 442 mAvailableSpaceInPreview = (previewSize - 2 * previewPadding);
|
D | Workspace.java | 1929 int previewSize = r.getDimensionPixelSize(R.dimen.folder_preview_size); 1930 dragRect = new Rect(0, 0, child.getWidth(), previewSize);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FolderIcon.java | 239 final int previewSize = sPreviewSize; in animateToAcceptState() local 243 mOuterRingSize = (1 + percent * OUTER_RING_GROWTH_FACTOR) * previewSize; in animateToAcceptState() 244 mInnerRingSize = (1 + percent * INNER_RING_GROWTH_FACTOR) * previewSize; in animateToAcceptState() 268 final int previewSize = sPreviewSize; in animateToNaturalState() local 272 mOuterRingSize = (1 + (1 - percent) * OUTER_RING_GROWTH_FACTOR) * previewSize; in animateToNaturalState() 273 mInnerRingSize = (1 + (1 - percent) * INNER_RING_GROWTH_FACTOR) * previewSize; in animateToNaturalState() 499 final int previewSize = mPreviewBackground.getLayoutParams().height; 502 mAvailableSpaceInPreview = (previewSize - 2 * previewPadding);
|
D | Workspace.java | 2303 int previewSize = grid.folderIconSizePx; in beginDragShared() local 2306 dragRect = new Rect(0, child.getPaddingTop(), child.getWidth(), previewSize); in beginDragShared()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 67 public BitmapRegionTileSource(Context context, String path, int previewSize, int rotation) { in BitmapRegionTileSource() argument 81 if (previewSize != 0) { in BitmapRegionTileSource() 82 previewSize = Math.min(previewSize, MAX_PREVIEW_SIZE); in BitmapRegionTileSource() 86 Bitmap preview = decodePreview(path, previewSize); in BitmapRegionTileSource()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
D | StateStartingPreview.java | 156 final Size previewSize; in onEnter() local 169 previewSize = CaptureModuleUtil.getOptimalPreviewSize( in onEnter() 173 if (previewSize == null) { in onEnter() 186 mResourceSurfaceTexture.get().setPreviewSize(previewSize); in onEnter()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceSurfaceTextureNexus4Impl.java | 67 public void setPreviewSize(Size previewSize) { in setPreviewSize() argument 68 super.setPreviewSize(previewSize); in setPreviewSize() 70 final AspectRatio previewAspectRatio = AspectRatio.of(previewSize); in setPreviewSize()
|
D | ResourceSurfaceTextureImpl.java | 97 public void setPreviewSize(Size previewSize) { in setPreviewSize() argument 99 if (!mPreviewSize.equals(previewSize)) { in setPreviewSize() 100 mPreviewSize = previewSize; in setPreviewSize()
|
D | ResourceSurfaceTexture.java | 56 public void setPreviewSize(Size previewSize); in setPreviewSize() argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraManager.java | 741 final Camera.Size previewSize = chooseBestPreviewSize(pictureSize); in tryShowPreview() local 742 params.setPreviewSize(previewSize.width, previewSize.height); in tryShowPreview() 744 logCameraSize("Setting preview size: ", previewSize); in tryShowPreview() 746 mCameraPreview.setSize(previewSize, mCameraInfo.orientation); in tryShowPreview()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestVideoProvider.java | 342 Size previewSize = map.getOutputSizes(SurfaceTexture.class)[0]; in setCameraCapabilities() local 344 mCameraCapabilities = new CameraCapabilities(previewSize.getWidth(), in setCameraCapabilities() 345 previewSize.getHeight()); in setCameraCapabilities()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | DrawableTileSource.java | 40 public DrawableTileSource(Context context, Drawable d, int previewSize) { in DrawableTileSource() argument 43 mPreviewSize = Math.min(previewSize, MAX_PREVIEW_SIZE); in DrawableTileSource()
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
D | OneCameraCharacteristicsImpl.java | 60 for (Camera.Size previewSize : supportedPreviewSizes) { in OneCameraCharacteristicsImpl() 61 mSupportedPreviewSizes.add(new Size(previewSize)); in OneCameraCharacteristicsImpl()
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
D | TinyPlanetFragment.java | 261 private Bitmap createPaddedSourceImage(Uri sourceImageUri, boolean previewSize) { in createPaddedSourceImage() argument 273 int size = previewSize ? getDisplaySize() : sourceBitmap.getWidth(); in createPaddedSourceImage()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | VideoModule.java | 1651 Size previewSize = new Size(mDesiredPreviewWidth, mDesiredPreviewHeight); in setCameraParameters() local 1652 mCameraSettings.setPreviewSize(previewSize.toPortabilitySize()); in setCameraParameters()
|