Searched defs:previewWidth (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
H A DWidgetPreviewLoader.java95 public PreviewLoadRequest getPreview(WidgetItem item, int previewWidth, argument
97 String size = previewWidth + "x" + previewHeight;
100 PreviewLoadTask task = new PreviewLoadTask(key, item, previewWidth, previewHeight, caller);
276 int previewWidth, int previewHeight) {
279 previewWidth, recycle, null);
282 previewWidth, previewHeight, recycle);
317 int previewWidth;
323 previewWidth = drawable.getIntrinsicWidth();
329 previewWidth = tileBitmap.getWidth() * spanX;
337 preScaledWidthOut[0] = previewWidth;
275 generatePreview(Launcher launcher, WidgetItem item, Bitmap recycle, int previewWidth, int previewHeight) argument
537 PreviewLoadTask(WidgetCacheKey key, WidgetItem info, int previewWidth, int previewHeight, WidgetCell caller) argument
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DMosaicFrameProcessor.java72 public MosaicFrameProcessor(int previewWidth, int previewHeight, int bufSize) { argument
74 mPreviewWidth = previewWidth;
104 private void setupMosaicer(int previewWidth, int previewHeight, int bufSize) { argument
105 Log.v(TAG, "setupMosaicer w, h=" + previewWidth + ',' + previewHeight + ',' + bufSize);
106 mMosaicer.allocateMosaicMemory(previewWidth, previewHeight);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DWidgetPreviewLoader.java183 public void setPreviewSize(int previewWidth, int previewHeight, argument
185 mPreviewBitmapWidth = previewWidth;
187 mSize = previewWidth + "x" + previewHeight;
484 int previewWidth;
489 previewWidth = drawable.getIntrinsicWidth();
502 previewWidth = previewDrawableWidth * cellHSpan; // subtract 2 dips
505 defaultPreview = Bitmap.createBitmap(previewWidth, previewHeight,
509 previewDrawable.setBounds(0, 0, previewWidth, previewHeight);
517 int smallestSide = Math.min(previewWidth, previewHeight);
543 preScaledWidthOut[0] = previewWidth;
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DFocusManager.java258 int previewWidth = mPreviewFrame.getWidth();
270 calculateTapArea(focusWidth, focusHeight, 1f, x, y, previewWidth, previewHeight,
272 calculateTapArea(focusWidth, focusHeight, 1.5f, x, y, previewWidth, previewHeight,
278 int left = Util.clamp(x - focusWidth / 2, 0, previewWidth - focusWidth);
448 int x, int y, int previewWidth, int previewHeight, Rect rect) {
451 int left = Util.clamp(x - areaWidth / 2, 0, previewWidth - areaWidth);
447 calculateTapArea(int focusWidth, int focusHeight, float areaMultiple, int x, int y, int previewWidth, int previewHeight, Rect rect) argument
H A DEffectsRecorder.java249 int previewWidth,
262 mPreviewWidth = previewWidth;
439 "previewWidth", mPreviewWidth,
248 setPreviewDisplay(SurfaceHolder previewSurfaceHolder, int previewWidth, int previewHeight) argument
H A DCamera.java851 int previewWidth; field in class:Camera.SaveRequest
896 r.previewWidth = mPreviewFrameLayout.getHeight();
898 r.previewWidth = mPreviewFrameLayout.getWidth();
936 r.previewWidth);
992 int height, long dateTaken, int previewWidth) {
1009 int ratio = (int) Math.ceil((double) width / previewWidth);
991 storeImage(final byte[] data, Location loc, int width, int height, long dateTaken, int previewWidth) argument
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
H A DFocusOverlayManager.java144 public void setPreviewSize(int previewWidth, int previewHeight) { argument
145 if (mPreviewWidth != previewWidth || mPreviewHeight != previewHeight) {
146 mPreviewWidth = previewWidth;
306 int x, int y, int previewWidth, int previewHeight) {
313 calculateTapArea(focusWidth, focusHeight, 1f, x, y, previewWidth, previewHeight,
318 int x, int y, int previewWidth, int previewHeight) {
327 calculateTapArea(focusWidth, focusHeight, 1.5f, x, y, previewWidth, previewHeight,
347 int previewWidth = mPreviewWidth;
351 initializeFocusAreas(focusWidth, focusHeight, x, y, previewWidth, previewHeight);
355 initializeMeteringAreas(focusWidth, focusHeight, x, y, previewWidth, previewHeigh
305 initializeFocusAreas(int focusWidth, int focusHeight, int x, int y, int previewWidth, int previewHeight) argument
317 initializeMeteringAreas(int focusWidth, int focusHeight, int x, int y, int previewWidth, int previewHeight) argument
491 calculateTapArea(int focusWidth, int focusHeight, float areaMultiple, int x, int y, int previewWidth, int previewHeight, Rect rect) argument
[all...]

Completed in 276 milliseconds