Home
last modified time | relevance | path

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

/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/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCamera.java282 Camera.Size pictureSize = newInstanceOf(Camera.class).new Size(0, 0); in getPictureSize() local
283 pictureSize.width = pictureWidth; in getPictureSize()
284 pictureSize.height = pictureHeight; in getPictureSize()
285 return pictureSize; in getPictureSize()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraParametersTest.java31 Camera.Size pictureSize = parameters.getPictureSize(); in testPictureSize() local
32 assertThat(pictureSize.width).isEqualTo(800); in testPictureSize()
33 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()