Home
last modified time | relevance | path

Searched refs:previewScale (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsRecommendationTableLayout.java144 float previewScale, in fitRecommendedWidgetsToTableSpace() argument
146 if (previewScale < MAX_DOWN_SCALE_RATIO) { in fitRecommendedWidgetsToTableSpace()
147 Log.w(TAG, "Hide recommended widgets. Can't down scale previews to " + previewScale); in fitRecommendedWidgetsToTableSpace()
148 return new RecommendationTableData(List.of(), previewScale); in fitRecommendedWidgetsToTableSpace()
160 float previewHeight = widgetSize.getHeight() * previewScale; in fitRecommendedWidgetsToTableSpace()
168 return new RecommendationTableData(recommendedWidgetsInTable, previewScale); in fitRecommendedWidgetsToTableSpace()
175 previewScale, in fitRecommendedWidgetsToTableSpace()
180 float nextPreviewScale = previewScale * DOWN_SCALE_RATIO; in fitRecommendedWidgetsToTableSpace()
190 float previewScale) { in RecommendationTableData() argument
192 mPreviewScale = previewScale; in RecommendationTableData()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DProcessingService.java127 public void setPreviewScaleFactor(float previewScale) { in setPreviewScaleFactor() argument
128 mHighresRenderingRequestTask.setPreviewScaleFactor(previewScale); in setPreviewScaleFactor()
129 mFullresRenderingRequestTask.setPreviewScaleFactor(previewScale); in setPreviewScaleFactor()
130 mRenderingRequestTask.setPreviewScaleFactor(previewScale); in setPreviewScaleFactor()
DFullresRenderingRequestTask.java11 public void setPreviewScaleFactor(float previewScale) { in setPreviewScaleFactor() argument
12 mFullresPipeline.setPreviewScaleFactor(previewScale); in setPreviewScaleFactor()
DHighresRenderingRequestTask.java31 public void setPreviewScaleFactor(float previewScale) { in setPreviewScaleFactor() argument
32 mHighresPreviewPipeline.setPreviewScaleFactor(previewScale); in setPreviewScaleFactor()
DRenderingRequestTask.java27 public void setPreviewScaleFactor(float previewScale) { in setPreviewScaleFactor() argument
28 mPreviewPipeline.setPreviewScaleFactor(previewScale); in setPreviewScaleFactor()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java140 float previewScale = rule.scaleForItem(itemsInPreview.size()); in getAnimator() local
141 float previewSize = rule.getIconSize() * previewScale; in getAnimator()
358 float previewScale = rule.scaleForItem(numItemsInFirstPagePreview); in addPreviewItemAnimators() local
359 float previewSize = rule.getIconSize() * previewScale; in addPreviewItemAnimators()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetCell.java364 public Size setPreviewSize(WidgetItem widgetItem, float previewScale) { in setPreviewSize() argument
369 mPreviewScale = previewScale; in setPreviewSize()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java848 float previewScale = (float) largeBitmap.getWidth() in onPostExecute() local
850 mBoundService.setPreviewScaleFactor(previewScale); in onPostExecute()