/packages/apps/Camera/src/com/android/camera/ |
D | FocusOverlayManager.java | 154 public void setPreviewSize(int previewWidth, int previewHeight) { in setPreviewSize() argument 155 if (mPreviewWidth != previewWidth || mPreviewHeight != previewHeight) { in setPreviewSize() 157 mPreviewHeight = previewHeight; in setPreviewSize() 314 int x, int y, int previewWidth, int previewHeight) { in initializeFocusAreas() argument 321 calculateTapArea(focusWidth, focusHeight, 1f, x, y, previewWidth, previewHeight, in initializeFocusAreas() 327 int x, int y, int previewWidth, int previewHeight) { in initializeMeteringAreas() argument 336 calculateTapArea(focusWidth, focusHeight, 1.5f, x, y, previewWidth, previewHeight, in initializeMeteringAreas() 354 int previewHeight = mPreviewHeight; in onSingleTapUp() local 358 focusWidth, focusHeight, x, y, previewWidth, previewHeight); in onSingleTapUp() 363 focusWidth, focusHeight, x, y, previewWidth, previewHeight); in onSingleTapUp() [all …]
|
D | PreviewFrameLayout.java | 87 int previewHeight = MeasureSpec.getSize(heightSpec); in onMeasure() local 96 previewHeight -= vPadding; in onMeasure() 98 boolean widthLonger = previewWidth > previewHeight; in onMeasure() 99 int longSide = (widthLonger ? previewWidth : previewHeight); in onMeasure() 100 int shortSide = (widthLonger ? previewHeight : previewWidth); in onMeasure() 108 previewHeight = shortSide; in onMeasure() 111 previewHeight = longSide; in onMeasure() 116 previewHeight += vPadding; in onMeasure() 121 MeasureSpec.makeMeasureSpec(previewHeight, MeasureSpec.EXACTLY)); in onMeasure()
|
D | MosaicFrameProcessor.java | 89 public void initialize(int previewWidth, int previewHeight, int bufSize) { in initialize() argument 91 mPreviewHeight = previewHeight; in initialize() 116 private void setupMosaicer(int previewWidth, int previewHeight, int bufSize) { in setupMosaicer() argument 117 Log.v(TAG, "setupMosaicer w, h=" + previewWidth + ',' + previewHeight + ',' + bufSize); in setupMosaicer() 121 mMosaicer.allocateMosaicMemory(previewWidth, previewHeight); in setupMosaicer()
|
D | SwitchAnimManager.java | 83 float previewHeight = height * previewAnimScale; in drawAnimation() local 85 int previewY = Math.round(centerY - previewHeight / 2); in drawAnimation() 111 Math.round(previewHeight)); in drawAnimation()
|
D | EffectsRecorder.java | 425 int previewHeight) { in setPreviewSurfaceTexture() argument 440 mPreviewHeight = previewHeight; in setPreviewSurfaceTexture()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | WidgetPreviewLoader.java | 183 public void setPreviewSize(int previewWidth, int previewHeight, in setPreviewSize() argument 186 mPreviewBitmapHeight = previewHeight; in setPreviewSize() 187 mSize = previewWidth + "x" + previewHeight; in setPreviewSize() 485 int previewHeight; in generateWidgetPreview() local 490 previewHeight = drawable.getIntrinsicHeight(); in generateWidgetPreview() 503 previewHeight = previewDrawableHeight * cellVSpan; in generateWidgetPreview() 505 defaultPreview = Bitmap.createBitmap(previewWidth, previewHeight, in generateWidgetPreview() 509 previewDrawable.setBounds(0, 0, previewWidth, previewHeight); in generateWidgetPreview() 517 int smallestSide = Math.min(previewWidth, previewHeight); in generateWidgetPreview() 550 previewHeight = (int) (scale * previewHeight); in generateWidgetPreview() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | WidgetPreviewLoader.java | 196 public void setPreviewSize(int previewWidth, int previewHeight, in setPreviewSize() argument 199 mPreviewBitmapHeight = previewHeight; in setPreviewSize() 200 mSize = previewWidth + "x" + previewHeight; in setPreviewSize() 537 int previewHeight; in generateWidgetPreview() local 542 previewHeight = drawable.getIntrinsicHeight(); in generateWidgetPreview() 556 previewHeight = previewDrawableHeight * cellVSpan; in generateWidgetPreview() 558 defaultPreview = Bitmap.createBitmap(previewWidth, previewHeight, Config.ARGB_8888); in generateWidgetPreview() 569 dest.set(0, 0, previewWidth, previewHeight); in generateWidgetPreview() 575 int smallestSide = Math.min(previewWidth, previewHeight); in generateWidgetPreview() 604 previewHeight = (int) (scale * previewHeight); in generateWidgetPreview() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | PreviewFrameLayout.java | 65 int previewHeight = MeasureSpec.getSize(heightSpec); in onMeasure() local 73 previewHeight -= vPadding; in onMeasure() 74 if (previewWidth > previewHeight * mAspectRatio) { in onMeasure() 75 previewWidth = (int) (previewHeight * mAspectRatio + .5); in onMeasure() 77 previewHeight = (int) (previewWidth / mAspectRatio + .5); in onMeasure() 82 previewHeight += vPadding; in onMeasure() 86 MeasureSpec.makeMeasureSpec(previewHeight, MeasureSpec.EXACTLY)); in onMeasure()
|
D | FocusManager.java | 259 int previewHeight = mPreviewFrame.getHeight(); in onTouch() local 270 calculateTapArea(focusWidth, focusHeight, 1f, x, y, previewWidth, previewHeight, in onTouch() 272 calculateTapArea(focusWidth, focusHeight, 1.5f, x, y, previewWidth, previewHeight, in onTouch() 279 int top = Util.clamp(y - focusHeight / 2, 0, previewHeight - focusHeight); in onTouch() 448 int x, int y, int previewWidth, int previewHeight, Rect rect) { in calculateTapArea() argument 452 int top = Util.clamp(y - areaHeight / 2, 0, previewHeight - areaHeight); in calculateTapArea()
|
D | EffectsRecorder.java | 250 int previewHeight) { in setPreviewDisplay() argument 263 mPreviewHeight = previewHeight; in setPreviewDisplay()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | MosaicFrameProcessor.java | 72 public MosaicFrameProcessor(int previewWidth, int previewHeight, int bufSize) { in MosaicFrameProcessor() argument 75 mPreviewHeight = previewHeight; in MosaicFrameProcessor() 104 private void setupMosaicer(int previewWidth, int previewHeight, int bufSize) { in setupMosaicer() argument 105 Log.v(TAG, "setupMosaicer w, h=" + previewWidth + ',' + previewHeight + ',' + bufSize); in setupMosaicer() 106 mMosaicer.allocateMosaicMemory(previewWidth, previewHeight); in setupMosaicer()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyPreviewChoreographer.java | 121 final int previewHeight = mParams.mPreviewHeight; in placeKeyPreview() local 142 final int previewY = key.getY() - previewHeight + mParams.mPreviewOffset in placeKeyPreview() 146 keyPreviewView, previewX, previewY, previewWidth, previewHeight); in placeKeyPreview() 148 keyPreviewView.setPivotY(previewHeight); in placeKeyPreview()
|
D | KeyPreviewDrawParams.java | 97 final int previewHeight = mPreviewHeight; in setGeometry() local 102 mVisibleHeight = previewHeight - previewTextView.getPaddingTop() in setGeometry()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | TextureViewHelper.java | 197 float previewHeight = previewRect.height(); 198 if (previewHeight == 0 || previewWidth == 0) { 199 Log.e(TAG, "Invalid preview size: " + previewWidth + " x " + previewHeight); 202 float aspectRatio = previewWidth / previewHeight;
|
D | CaptureModule.java | 1134 float previewHeight = effectiveHeight * scale; 1136 float previewCenterY = previewHeight / 2;
|
/packages/apps/Camera2/res/raw/ |
D | backdropper.graph | 36 @external previewHeight; 71 height = $previewHeight;
|
D | goofy_face.graph | 38 @external previewHeight; 83 height = $previewHeight;
|
/packages/apps/LegacyCamera/res/raw/ |
D | backdropper.graph | 36 @external previewHeight; 71 oheight = $previewHeight;
|
D | goofy_face.graph | 38 @external previewHeight; 83 oheight = $previewHeight;
|
/packages/apps/Camera/res/raw/ |
D | backdropper.graph | 36 @external previewHeight; 71 height = $previewHeight;
|
D | goofy_face.graph | 38 @external previewHeight; 83 height = $previewHeight;
|
/packages/apps/Gallery2/res/raw/ |
D | backdropper.graph | 36 @external previewHeight; 71 height = $previewHeight;
|
D | goofy_face.graph | 38 @external previewHeight; 83 height = $previewHeight;
|