OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:previewHeight
(Results
1 - 11
of
11
) 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);
EffectsRecorder.java
250
int
previewHeight
) {
263
mPreviewHeight =
previewHeight
;
440
"
previewHeight
", mPreviewHeight,
[
all
...]
/packages/apps/Camera/src/com/android/camera/panorama/
MosaicFrameProcessor.java
72
public MosaicFrameProcessor(int previewWidth, int
previewHeight
, int bufSize) {
75
mPreviewHeight =
previewHeight
;
104
private void setupMosaicer(int previewWidth, int
previewHeight
, int bufSize) {
105
Log.v(TAG, "setupMosaicer w, h=" + previewWidth + ',' +
previewHeight
+ ',' + bufSize);
106
mMosaicer.allocateMosaicMemory(previewWidth,
previewHeight
);
/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/camera/OMXCameraAdapter/
OMXFD.cpp
215
size_t
previewHeight
)
302
ret = encodeFaceCoordinates(faceData, &faces, previewWidth,
previewHeight
);
319
size_t
previewHeight
)
427
tmp = ( double ) nTop / ( double )
previewHeight
;
437
tmp = ( double ) faceData->tFacePosition[j].nHeight / ( double )
previewHeight
;
/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
...]
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
OMXCameraAdapter.h
553
size_t
previewHeight
);
557
size_t
previewHeight
);
[
all
...]
Completed in 821 milliseconds