OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:previewWidth
(Results
1 - 12
of
12
) 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
...]
EffectsRecorder.java
249
int
previewWidth
,
262
mPreviewWidth =
previewWidth
;
439
"
previewWidth
", mPreviewWidth,
[
all
...]
/packages/apps/Camera/src/com/android/camera/panorama/
MosaicFrameProcessor.java
72
public MosaicFrameProcessor(int
previewWidth
, int previewHeight, int bufSize) {
74
mPreviewWidth =
previewWidth
;
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);
223
// used in finding the translation is (
PreviewWidth
/ HR_TO_LR_DOWNSAMPLE_FACTOR).
/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/camera/OMXCameraAdapter/
OMXFD.cpp
214
size_t
previewWidth
,
302
ret = encodeFaceCoordinates(faceData, &faces,
previewWidth
, previewHeight);
318
size_t
previewWidth
,
422
tmp = ( double ) nLeft / ( double )
previewWidth
;
432
tmp = ( double ) faceData->tFacePosition[j].nWidth / ( double )
previewWidth
;
/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
...]
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
OMXCameraAdapter.h
552
size_t
previewWidth
,
556
size_t
previewWidth
,
[
all
...]
Completed in 327 milliseconds