OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mAspectRatio
(Results
1 - 13
of
13
) sorted by null
/packages/apps/LegacyCamera/src/com/android/camera/
PreviewFrameLayout.java
36
private double
mAspectRatio
;
51
if (
mAspectRatio
!= ratio) {
52
mAspectRatio
= ratio;
74
if (previewWidth > previewHeight *
mAspectRatio
) {
75
previewWidth = (int) (previewHeight *
mAspectRatio
+ .5);
77
previewHeight = (int) (previewWidth /
mAspectRatio
+ .5);
/packages/apps/Camera/src/com/android/camera/
PreviewFrameLayout.java
42
private double
mAspectRatio
;
70
if (
mAspectRatio
!= ratio) {
71
mAspectRatio
= ratio;
101
if (longSide > shortSide *
mAspectRatio
) {
102
longSide = (int) ((double) shortSide *
mAspectRatio
);
104
shortSide = (int) ((double) longSide /
mAspectRatio
);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
SurfaceRenderFilter.java
76
private float
mAspectRatio
= 1.f;
167
if (currentAspectRatio !=
mAspectRatio
) {
168
if (mLogVerbose) Log.v(TAG, "New aspect ratio: " + currentAspectRatio +", previously: " +
mAspectRatio
);
169
mAspectRatio
= currentAspectRatio;
244
float relativeAspectRatio = screenAspectRatio /
mAspectRatio
;
SurfaceTargetFilter.java
83
private float
mAspectRatio
= 1.f;
159
if (currentAspectRatio !=
mAspectRatio
) {
160
if (mLogVerbose) Log.v(TAG, "New aspect ratio: " + currentAspectRatio +", previously: " +
mAspectRatio
);
161
mAspectRatio
= currentAspectRatio;
212
float relativeAspectRatio = screenAspectRatio /
mAspectRatio
;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
SurfaceTextureTarget.java
101
private float
mAspectRatio
= 1.f;
227
if (currentAspectRatio !=
mAspectRatio
) {
230
", previously: " +
mAspectRatio
+ ". Thread: " + Thread.currentThread());
232
mAspectRatio
= currentAspectRatio;
280
float relativeAspectRatio = screenAspectRatio /
mAspectRatio
;
284
", frame AR: " +
mAspectRatio
+ ", relative AR: " + relativeAspectRatio);
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
MovieMediaItem.java
47
private final int
mAspectRatio
;
103
mAspectRatio
= mediaItem.getAspectRatio();
365
return
mAspectRatio
;
VideoEditorProject.java
73
private int
mAspectRatio
;
154
mAspectRatio
= videoEditor.getAspectRatio();
245
return
mAspectRatio
;
266
mAspectRatio
= aspectRatio;
[
all
...]
/packages/apps/Camera2/src/com/android/camera/
VideoUI.java
102
private float
mAspectRatio
= 4f / 3f;
251
mAspectRatio
= (float) width / height;
253
mAspectRatio
= (float) height / width;
277
(int) (height *
mAspectRatio
));
279
(int)(width /
mAspectRatio
));
282
(int) (height /
mAspectRatio
));
284
(int) (width *
mAspectRatio
));
PhotoUI.java
118
private float
mAspectRatio
= 4f / 3f;
236
if (
mAspectRatio
!= aspectRatio) {
237
mAspectRatio
= aspectRatio;
251
(int) (height *
mAspectRatio
));
253
(int)(width /
mAspectRatio
));
256
(int) (height /
mAspectRatio
));
258
(int) (width *
mAspectRatio
));
/frameworks/base/media/java/android/media/videoeditor/
MediaVideoItem.java
41
private final int
mAspectRatio
;
170
mAspectRatio
= mMANativeHelper.getAspectRatio(properties.width,
428
return
mAspectRatio
;
MediaImageItem.java
66
private final int
mAspectRatio
;
135
mAspectRatio
= mMANativeHelper.getAspectRatio(mWidth, mHeight);
148
MediaProperties.getSupportedResolutions(
mAspectRatio
);
281
return
mAspectRatio
;
[
all
...]
VideoEditorImpl.java
133
private int
mAspectRatio
;
173
mAspectRatio
= MediaProperties.ASPECT_RATIO_16_9;
532
return
mAspectRatio
;
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
RenderPreview.java
165
private double
mAspectRatio
;
255
return
mAspectRatio
;
[
all
...]
Completed in 252 milliseconds