Home
last modified time | relevance | path

Searched refs:pictureSize (Results 1 – 7 of 7) sorted by relevance

/external/skia/gm/
Dpictureshadertile.cpp60 static void draw_scene(SkCanvas* canvas, SkScalar pictureSize) { in draw_scene() argument
68 canvas->drawCircle(pictureSize / 4, pictureSize / 4, pictureSize / 4, paint); in draw_scene()
69 canvas->drawRect(SkRect::MakeXYWH(pictureSize / 2, pictureSize / 2, in draw_scene()
70 pictureSize / 2, pictureSize / 2), paint); in draw_scene()
73 canvas->drawLine(pictureSize / 2, pictureSize * 1 / 3, in draw_scene()
74 pictureSize / 2, pictureSize * 2 / 3, paint); in draw_scene()
75 canvas->drawLine(pictureSize * 1 / 3, pictureSize / 2, in draw_scene()
76 pictureSize * 2 / 3, pictureSize / 2, paint); in draw_scene()
80 canvas->drawRect(SkRect::MakeWH(pictureSize, pictureSize), paint); in draw_scene()
/external/skqp/gm/
Dpictureshadertile.cpp60 static void draw_scene(SkCanvas* canvas, SkScalar pictureSize) { in draw_scene() argument
68 canvas->drawCircle(pictureSize / 4, pictureSize / 4, pictureSize / 4, paint); in draw_scene()
69 canvas->drawRect(SkRect::MakeXYWH(pictureSize / 2, pictureSize / 2, in draw_scene()
70 pictureSize / 2, pictureSize / 2), paint); in draw_scene()
73 canvas->drawLine(pictureSize / 2, pictureSize * 1 / 3, in draw_scene()
74 pictureSize / 2, pictureSize * 2 / 3, paint); in draw_scene()
75 canvas->drawLine(pictureSize * 1 / 3, pictureSize / 2, in draw_scene()
76 pictureSize * 2 / 3, pictureSize / 2, paint); in draw_scene()
80 canvas->drawRect(SkRect::MakeWH(pictureSize, pictureSize), paint); in draw_scene()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowCameraParameters.java29 Camera.Size pictureSize = Robolectric.newInstanceOf(Camera.class).new Size(0, 0); in getPictureSize() local
30 pictureSize.width = pictureWidth; in getPictureSize()
31 pictureSize.height = pictureHeight; in getPictureSize()
32 return pictureSize; in getPictureSize()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCamera.java250 Camera.Size pictureSize = newInstanceOf(Camera.class).new Size(0, 0); in getPictureSize() local
251 pictureSize.width = pictureWidth; in getPictureSize()
252 pictureSize.height = pictureHeight; in getPictureSize()
253 return pictureSize; in getPictureSize()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DCameraParametersTest.java37 Camera.Size pictureSize = parameters.getPictureSize(); in testPictureSize() local
38 assertThat(pictureSize.width, equalTo(800)); in testPictureSize()
39 assertThat(pictureSize.height, equalTo(600)); in testPictureSize()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraParametersTest.java33 Camera.Size pictureSize = parameters.getPictureSize(); in testPictureSize() local
34 assertThat(pictureSize.width).isEqualTo(800); in testPictureSize()
35 assertThat(pictureSize.height).isEqualTo(600); in testPictureSize()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DVideoCapturerAndroid.java531 final android.hardware.Camera.Size pictureSize = in startPreviewOnCameraThread() local
534 parameters.setPictureSize(pictureSize.width, pictureSize.height); in startPreviewOnCameraThread()