OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:previewHeight
(Results
1 - 7
of
7
) sorted by null
/packages/apps/Camera/src/com/android/camera/
PreviewFrameLayout.java
65
int
previewHeight
= MeasureSpec.getSize(heightSpec);
73
previewHeight
-= vPadding;
74
if (previewWidth >
previewHeight
* mAspectRatio) {
75
previewWidth = (int) (
previewHeight
* mAspectRatio + .5);
77
previewHeight
= (int) (previewWidth / mAspectRatio + .5);
82
previewHeight
+= vPadding;
86
MeasureSpec.makeMeasureSpec(
previewHeight
, MeasureSpec.EXACTLY));
FocusManager.java
259
int
previewHeight
= mPreviewFrame.getHeight();
270
calculateTapArea(focusWidth, focusHeight, 1f, x, y, previewWidth,
previewHeight
,
272
calculateTapArea(focusWidth, focusHeight, 1.5f, x, y, previewWidth,
previewHeight
,
279
int top = Util.clamp(y - focusHeight / 2, 0,
previewHeight
- focusHeight);
448
int x, int y, int previewWidth, int
previewHeight
, Rect rect) {
452
int top = Util.clamp(y - areaHeight / 2, 0,
previewHeight
- areaHeight);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
CameraPreview.java
228
int
previewHeight
= height;
231
previewHeight
= mPreviewSize.height;
235
if (width *
previewHeight
> height * previewWidth) {
236
final int scaledChildWidth = previewWidth * height /
previewHeight
;
240
final int scaledChildHeight =
previewHeight
* width / previewWidth;
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
CameraFragment.java
244
int
previewHeight
= height;
247
previewHeight
= mPreviewSize.height;
251
if (width *
previewHeight
> height * previewWidth) {
253
/
previewHeight
;
257
final int scaledChildHeight =
previewHeight
* width
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MiniKeyboard.java
219
final int
previewHeight
= view.mKeyPreviewDrawParams.mPreviewBackgroundHeight;
224
&&
previewHeight
> 0) {
226
height =
previewHeight
+ mParams.mVerticalGap;
KeyboardView.java
[
all
...]
/hardware/ti/omap4xxx/test/CameraHal/
camera_test_menu.cpp
738
unsigned int previewWidth,
previewHeight
;
747
previewHeight
= MAX_PREVIEW_SURFACE_HEIGHT;
749
previewHeight
= height;
762
previewHeight
,
770
surfaceControl->setSize(previewWidth,
previewHeight
);
1059
int previewWidth,
previewHeight
;
1065
previewHeight
= VcaptureSize[VcaptureSizeIDX].height;
1069
previewHeight
= previewSize[previewSizeIDX].height;
1073
previewHeight
,
1083
params.setPreviewSize(previewWidth,
previewHeight
);
[
all
...]
Completed in 233 milliseconds