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.cpp70 static void draw_scene(SkCanvas* canvas, SkScalar pictureSize) { in draw_scene() argument
78 canvas->drawCircle(pictureSize / 4, pictureSize / 4, pictureSize / 4, paint); in draw_scene()
79 canvas->drawRect(SkRect::MakeXYWH(pictureSize / 2, pictureSize / 2, in draw_scene()
80 pictureSize / 2, pictureSize / 2), paint); in draw_scene()
83 canvas->drawLine(pictureSize / 2, pictureSize * 1 / 3, in draw_scene()
84 pictureSize / 2, pictureSize * 2 / 3, paint); in draw_scene()
85 canvas->drawLine(pictureSize * 1 / 3, pictureSize / 2, in draw_scene()
86 pictureSize * 2 / 3, pictureSize / 2, paint); in draw_scene()
90 canvas->drawRect(SkRect::MakeWH(pictureSize, pictureSize), paint); in draw_scene()
/external/webrtc/sdk/android/src/java/org/webrtc/
DCamera1Session.java90 final Size pictureSize = findClosestPictureSize(parameters, width, height); in create() local
91 updateCameraParameters(camera, parameters, captureFormat, pictureSize, captureToTexture); in create()
114 android.hardware.Camera.Parameters parameters, CaptureFormat captureFormat, Size pictureSize, in updateCameraParameters() argument
120 parameters.setPictureSize(pictureSize.width, pictureSize.height); in updateCameraParameters()
/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()