OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:previewWidth
(Results
1 - 8
of
8
) sorted by null
/packages/apps/Camera/src/com/android/camera/
PreviewFrameLayout.java
64
int
previewWidth
= MeasureSpec.getSize(widthSpec);
72
previewWidth
-= hPadding;
74
if (
previewWidth
> previewHeight * mAspectRatio) {
75
previewWidth
= (int) (previewHeight * mAspectRatio + .5);
77
previewHeight = (int) (
previewWidth
/ mAspectRatio + .5);
81
previewWidth
+= hPadding;
85
super.onMeasure(MeasureSpec.makeMeasureSpec(
previewWidth
, MeasureSpec.EXACTLY),
FocusManager.java
258
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);
Camera.java
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
CameraPreview.java
227
int
previewWidth
= width;
230
previewWidth
= mPreviewSize.width;
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
243
int
previewWidth
= width;
246
previewWidth
= mPreviewSize.width;
251
if (width * previewHeight > height *
previewWidth
) {
252
final int scaledChildWidth =
previewWidth
* height
258
/
previewWidth
;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MiniKeyboard.java
218
final int
previewWidth
= view.mKeyPreviewDrawParams.mPreviewBackgroundWidth;
223
if (view.isKeyPreviewPopupEnabled() && mMoreKeys.length == 1 &&
previewWidth
> 0
225
width =
previewWidth
;
KeyboardView.java
[
all
...]
/hardware/ti/omap4xxx/test/CameraHal/
camera_test_menu.cpp
738
unsigned int
previewWidth
, previewHeight;
741
previewWidth
= MAX_PREVIEW_SURFACE_WIDTH;
743
previewWidth
= width;
761
previewWidth
,
770
surfaceControl->setSize(
previewWidth
, previewHeight);
1059
int
previewWidth
, previewHeight;
1064
previewWidth
= VcaptureSize[VcaptureSizeIDX].width;
1068
previewWidth
= previewSize[previewSizeIDX].width;
1072
if ( createPreviewSurface(
previewWidth
,
1083
params.setPreviewSize(
previewWidth
, previewHeight)
[
all
...]
Completed in 584 milliseconds