Home
last modified time | relevance | path

Searched refs:previewSize (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DFolderIcon.java205 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);
DWorkspace.java1929 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/
DFolderIcon.java239 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);
DWorkspace.java2303 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/
DBitmapRegionTileSource.java67 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/
DStateStartingPreview.java156 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/
DResourceSurfaceTextureNexus4Impl.java67 public void setPreviewSize(Size previewSize) { in setPreviewSize() argument
68 super.setPreviewSize(previewSize); in setPreviewSize()
70 final AspectRatio previewAspectRatio = AspectRatio.of(previewSize); in setPreviewSize()
DResourceSurfaceTextureImpl.java97 public void setPreviewSize(Size previewSize) { in setPreviewSize() argument
99 if (!mPreviewSize.equals(previewSize)) { in setPreviewSize()
100 mPreviewSize = previewSize; in setPreviewSize()
DResourceSurfaceTexture.java56 public void setPreviewSize(Size previewSize); in setPreviewSize() argument
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java741 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/
DTestVideoProvider.java342 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/
DDrawableTileSource.java40 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/
DOneCameraCharacteristicsImpl.java60 for (Camera.Size previewSize : supportedPreviewSizes) { in OneCameraCharacteristicsImpl()
61 mSupportedPreviewSizes.add(new Size(previewSize)); in OneCameraCharacteristicsImpl()
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetFragment.java261 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/
DVideoModule.java1651 Size previewSize = new Size(mDesiredPreviewWidth, mDesiredPreviewHeight); in setCameraParameters() local
1652 mCameraSettings.setPreviewSize(previewSize.toPortabilitySize()); in setCameraParameters()