/cts/tests/tests/graphics/src/android/graphics/cts/ |
EmbossMaskFilterTest.java | 37 private static final int CENTER_Y = BITMAP_HEIGHT / 2; 50 path.moveTo(START_X, CENTER_Y); 51 path.lineTo(END_X, CENTER_Y); 59 Rect top = new Rect(0, 0, BITMAP_WIDTH, CENTER_Y); 60 Rect bottom = new Rect(0, CENTER_Y, BITMAP_WIDTH, BITMAP_HEIGHT); 68 top.bottom = CENTER_Y - STROKE_WIDTH / 2; 70 bottom.top = CENTER_Y + STROKE_WIDTH / 2;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
Fisheye.java | 34 private float center_y = 0.5f; field in class:Fisheye 70 center_y = progress / 100.0f; 80 center_y, scale); local 85 center_y, scale); local 89 mInPixelsAllocation.getType().getY(), center_x, center_y, local 94 mInPixelsAllocation.getType().getY(), center_x, center_y, local
|
Vignette.java | 34 private float center_y = 0.5f; field in class:Vignette 92 center_y = progress / 100.0f; 102 center_y, scale, shade, slope); local 107 center_y, scale, shade, slope); local 111 mInPixelsAllocation.getType().getY(), center_x, center_y, local 116 mInPixelsAllocation.getType().getY(), center_x, center_y, local
|
fisheye.rsh | 23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) { 25 center.y = center_y;
|
fisheye_approx.rsh | 23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) { 25 center.y = center_y;
|
vignette.rsh | 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 24 neg_center.y = -center_y;
|
vignette_approx.rsh | 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 24 neg_center.y = -center_y;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
Fisheye.java | 31 private float center_y = 0.5f; field in class:Fisheye 67 center_y = progress / 100.0f; 77 center_y, scale); local 82 center_y, scale); local 86 mInPixelsAllocation.getType().getY(), center_x, center_y, local 91 mInPixelsAllocation.getType().getY(), center_x, center_y, local
|
Vignette.java | 30 private float center_y = 0.5f; field in class:Vignette 88 center_y = progress / 100.0f; 98 center_y, scale, shade, slope); local 103 center_y, scale, shade, slope); local 107 mInPixelsAllocation.getType().getY(), center_x, center_y, local 112 mInPixelsAllocation.getType().getY(), center_x, center_y, local
|
fisheye.rsh | 23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) { 25 center.y = center_y;
|
fisheye_approx.rsh | 23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) { 25 center.y = center_y;
|
vignette.rsh | 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 24 neg_center.y = -center_y;
|
vignette_approx.rsh | 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 24 neg_center.y = -center_y;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
Fisheye.java | 34 private float center_y = 0.5f; field in class:Fisheye 70 center_y = progress / 100.0f; 80 center_y, scale); local 85 center_y, scale); local 89 mInPixelsAllocation.getType().getY(), center_x, center_y, local 94 mInPixelsAllocation.getType().getY(), center_x, center_y, local
|
Vignette.java | 34 private float center_y = 0.5f; field in class:Vignette 92 center_y = progress / 100.0f; 102 center_y, scale, shade, slope); local 107 center_y, scale, shade, slope); local 111 mInPixelsAllocation.getType().getY(), center_x, center_y, local 116 mInPixelsAllocation.getType().getY(), center_x, center_y, local
|
fisheye.rsh | 23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) { 25 center.y = center_y;
|
fisheye_approx.rsh | 23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) { 25 center.y = center_y;
|
vignette.rsh | 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 24 neg_center.y = -center_y;
|
vignette_approx.rsh | 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 24 neg_center.y = -center_y;
|
/external/chromium_org/native_client_sdk/src/examples/api/mouse_lock/ |
mouse_lock.cc | 249 int center_y = image->size().height() / 2; local 253 std::max(0, center_y - region_of_interest_radius)); 256 std::min(image->size().height(), center_y + region_of_interest_radius)); 259 if (GetDistance(x, y, center_x, center_y) < kCentralSpotRadius) { 280 int center_y = image->size().height() / 2; local 282 mouse_movement_.y() + center_y); 289 anchor_1.set_y(center_y - kCentralSpotRadius); 291 anchor_2.set_y(center_y + kCentralSpotRadius); 297 anchor_1.set_y(center_y); 299 anchor_2.set_y(center_y); [all...] |
/external/chromium_org/ppapi/examples/mouse_lock/ |
mouse_lock.cc | 158 int center_y = height / 2; local 160 mouse_movement_.y() + center_y); 174 anchor_1.set_y(center_y - kCenteralSpotRadius); 176 anchor_2.set_y(center_y + kCenteralSpotRadius); 182 anchor_1.set_y(center_y); 184 anchor_2.set_y(center_y); 194 if (GetDistance(x, y, center_x, center_y) < kCenteralSpotRadius) { 206 (direction == UP && y < center_y) || 207 (direction == DOWN && y > center_y) ||
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorPickerDialog.java | 92 setMeasuredDimension(CENTER_X*2, CENTER_Y*2); 96 private static final int CENTER_Y = 100; 169 float y = event.getY() - CENTER_Y;
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
ColorWheel.java | 109 setMeasuredDimension(CENTER_X*2, CENTER_Y*2); 113 private static final int CENTER_Y = 200; 186 float y = event.getY() - CENTER_Y;
|
/external/skia/gm/ |
blurrect.cpp | 183 int center_y = (canvas_size.fHeight - (int)(r.height()))/2; local 189 r.offset( SkIntToScalar(center_x), SkIntToScalar(center_y) ); 200 center_y = (canvas_size.fHeight - mask.fBounds.height())/2; 202 canvas->drawBitmap(bm, SkIntToScalar(center_x), SkIntToScalar(center_y), NULL);
|
/external/chromium_org/gpu/tools/compositor_model_bench/ |
shaders.cc | 441 float center_y = (top+bottom)/2 - g_current_tile_layer_height/2; local 442 TranslateInPlace(mv_transform, center_x, center_y, 0.0);
|