OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:supportedSizes
(Results
1 - 10
of
10
) sorted by null
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
CameraParametersTest.java
100
List<Camera.Size>
supportedSizes
= parameters.getSupportedPictureSizes();
101
assertThat(
supportedSizes
, notNullValue());
102
assertThat(
supportedSizes
.size(), equalTo(3));
103
assertThat(
supportedSizes
.get(0).width, equalTo(320));
104
assertThat(
supportedSizes
.get(0).height, equalTo(240));
109
List<Camera.Size>
supportedSizes
= parameters.getSupportedPreviewSizes();
110
assertThat(
supportedSizes
, notNullValue());
111
assertThat(
supportedSizes
.size(), equalTo(2));
112
assertThat(
supportedSizes
.get(0).width, equalTo(320));
113
assertThat(
supportedSizes
.get(0).height, equalTo(240))
[
all
...]
/external/chromium_org/third_party/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/
VideoCaptureDeviceInfoAndroid.java
52
List<Size>
supportedSizes
;
58
supportedSizes
= parameters.getSupportedPreviewSizes();
71
for (Size supportedSize :
supportedSizes
) {
/frameworks/av/media/libstagefright/
CameraSourceTimeLapse.cpp
130
Vector<Size>
supportedSizes
;
131
params.getSupportedVideoSizes(
supportedSizes
);
133
if (
supportedSizes
.size() == 0) {
134
params.getSupportedPreviewSizes(
supportedSizes
);
140
for (size_t i = 0; i <
supportedSizes
.size(); ++i) {
141
int32_t pictureWidth =
supportedSizes
[i].width;
142
int32_t pictureHeight =
supportedSizes
[i].height;
/external/chromium_org/media/base/android/java/src/org/chromium/media/
VideoCaptureAndroid.java
124
List<android.hardware.Camera.Size>
supportedSizes
=
126
if (
supportedSizes
== null) {
127
supportedSizes
= new ArrayList<android.hardware.Camera.Size>();
129
if (
supportedSizes
.size() == 0) {
130
supportedSizes
.add(camera.new Size(0, 0));
132
for (android.hardware.Camera.Size size :
supportedSizes
) {
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCameraParameters.java
61
List<Camera.Size>
supportedSizes
= new ArrayList<Camera.Size>();
62
addSize(
supportedSizes
, 320, 240);
63
addSize(
supportedSizes
, 640, 480);
64
addSize(
supportedSizes
, 800, 600);
65
return
supportedSizes
;
103
List<Camera.Size>
supportedSizes
= new ArrayList<Camera.Size>();
104
addSize(
supportedSizes
, 320, 240);
105
addSize(
supportedSizes
, 640, 480);
106
return
supportedSizes
;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
PhotoCaptureActivity.java
200
List<Camera.Size>
supportedSizes
=
202
for (Camera.Size size :
supportedSizes
) {
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
ExtendedCameraCharacteristicsTest.java
491
Size[]
supportedSizes
= config.getOutputSizes(format);
493
supportedSizes
.length > 0);
494
for (Size size :
supportedSizes
) {
541
Size invalidSize = findInvalidSize(
supportedSizes
);
[
all
...]
/packages/apps/Camera2/src/com/android/camera/one/v2/
OneCameraZslImpl.java
335
android.util.Size[]
supportedSizes
= configs.getOutputSizes(sCaptureImageFormat);
338
android.util.Size largestSupportedSize =
supportedSizes
[0];
341
for (int i = 0; i <
supportedSizes
.length; i++) {
342
long numPixels =
supportedSizes
[i].getWidth() *
supportedSizes
[i].getHeight();
344
largestSupportedSize =
supportedSizes
[i];
[
all
...]
/packages/apps/Camera/src/com/android/camera/
PanoramaModule.java
366
private boolean findBestPreviewSize(List<Size>
supportedSizes
, boolean need4To3,
370
for (Size size :
supportedSizes
) {
393
List<Size>
supportedSizes
= parameters.getSupportedPreviewSizes();
394
if (!findBestPreviewSize(
supportedSizes
, true, true)) {
396
if (!findBestPreviewSize(
supportedSizes
, false, true)) {
398
findBestPreviewSize(
supportedSizes
, false, false);
[
all
...]
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoramaActivity.java
371
private boolean findBestPreviewSize(List<Size>
supportedSizes
, boolean need4To3,
375
for (Size size :
supportedSizes
) {
398
List<Size>
supportedSizes
= parameters.getSupportedPreviewSizes();
399
if (!findBestPreviewSize(
supportedSizes
, true, true)) {
401
if (!findBestPreviewSize(
supportedSizes
, false, true)) {
403
findBestPreviewSize(
supportedSizes
, false, false);
[
all
...]
Completed in 1877 milliseconds