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
101
private float
mAspectRatio
= 4f / 3f;
245
mAspectRatio
= (float) width / height;
247
mAspectRatio
= (float) height / width;
271
(int) (height *
mAspectRatio
));
273
(int)(width /
mAspectRatio
));
276
(int) (height /
mAspectRatio
));
278
(int) (width *
mAspectRatio
));
PhotoUI.java
117
private float
mAspectRatio
= 4f / 3f;
231
(int) (height *
mAspectRatio
));
233
(int)(width /
mAspectRatio
));
236
(int) (height /
mAspectRatio
));
238
(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 981 milliseconds