Searched refs:previewScale (Results 1 – 8 of 8) sorted by relevance
144 float previewScale, in fitRecommendedWidgetsToTableSpace() argument146 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() argument192 mPreviewScale = previewScale; in RecommendationTableData()
127 public void setPreviewScaleFactor(float previewScale) { in setPreviewScaleFactor() argument128 mHighresRenderingRequestTask.setPreviewScaleFactor(previewScale); in setPreviewScaleFactor()129 mFullresRenderingRequestTask.setPreviewScaleFactor(previewScale); in setPreviewScaleFactor()130 mRenderingRequestTask.setPreviewScaleFactor(previewScale); in setPreviewScaleFactor()
11 public void setPreviewScaleFactor(float previewScale) { in setPreviewScaleFactor() argument12 mFullresPipeline.setPreviewScaleFactor(previewScale); in setPreviewScaleFactor()
31 public void setPreviewScaleFactor(float previewScale) { in setPreviewScaleFactor() argument32 mHighresPreviewPipeline.setPreviewScaleFactor(previewScale); in setPreviewScaleFactor()
27 public void setPreviewScaleFactor(float previewScale) { in setPreviewScaleFactor() argument28 mPreviewPipeline.setPreviewScaleFactor(previewScale); in setPreviewScaleFactor()
140 float previewScale = rule.scaleForItem(itemsInPreview.size()); in getAnimator() local141 float previewSize = rule.getIconSize() * previewScale; in getAnimator()358 float previewScale = rule.scaleForItem(numItemsInFirstPagePreview); in addPreviewItemAnimators() local359 float previewSize = rule.getIconSize() * previewScale; in addPreviewItemAnimators()
364 public Size setPreviewSize(WidgetItem widgetItem, float previewScale) { in setPreviewSize() argument369 mPreviewScale = previewScale; in setPreviewSize()
848 float previewScale = (float) largeBitmap.getWidth() in onPostExecute() local850 mBoundService.setPreviewScaleFactor(previewScale); in onPostExecute()