/cts/tests/tests/graphics/src/android/graphics/cts/ |
EmbossMaskFilterTest.java | 44 private static final int CENTER_Y = BITMAP_HEIGHT / 2; 58 path.moveTo(START_X, CENTER_Y); 59 path.lineTo(END_X, CENTER_Y); 67 Rect top = new Rect(0, 0, BITMAP_WIDTH, CENTER_Y); 68 Rect bottom = new Rect(0, CENTER_Y, BITMAP_WIDTH, BITMAP_HEIGHT); 76 top.bottom = CENTER_Y - STROKE_WIDTH / 2; 78 bottom.top = CENTER_Y + STROKE_WIDTH / 2;
|
/frameworks/rs/tests/java_api/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/tests/java_api/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; 82 center_y, scale); local 87 center_y, scale); local 91 mInPixelsAllocation.getType().getY(), center_x, center_y, local 96 mInPixelsAllocation.getType().getY(), center_x, center_y, local
|
Vignette.java | 30 private float center_y = 0.5f; field in class:Vignette 89 center_y = progress / 100.0f; 104 center_y, scale, shade, slope); local 109 center_y, scale, shade, slope); local 113 mInPixelsAllocation.getType().getY(), center_x, center_y, local 118 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/tests/java_api/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; 85 center_y, scale); local 90 center_y, scale); local 94 mInPixelsAllocation.getType().getY(), center_x, center_y, local 99 mInPixelsAllocation.getType().getY(), center_x, center_y, local
|
Vignette.java | 30 private float center_y = 0.5f; field in class:Vignette 89 center_y = progress / 100.0f; 104 center_y, scale, shade, slope); local 109 center_y, scale, shade, slope); local 113 mInPixelsAllocation.getType().getY(), center_x, center_y, local 118 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/support/v7/appcompat/tests/src/android/support/v7/app/ |
AppCompatVectorDrawableIntegrationTest.java | 52 private static final int CENTER_Y = HEIGHT / 2; 75 int leftColor = mBitmap.getPixel(LEFT_CENTER_X, CENTER_Y); 76 int rightColor = mBitmap.getPixel(RIGHT_CENTER_X, CENTER_Y); 89 leftColor = mBitmap.getPixel(LEFT_CENTER_X, CENTER_Y); 90 rightColor = mBitmap.getPixel(RIGHT_CENTER_X, CENTER_Y);
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
2008-02-22-ReMatBug.ll | 6 define %struct.quad_struct* @MakeTree(i32 %size, i32 %center_x, i32 %center_y, i32 %lo_proc, i32 %hi_proc, %struct.quad_struct* %parent, i32 %ct, i32 %level) nounwind { 39 %tmp85 = sub i32 %center_y, %tmp15.reg2mem.0 ; <i32> [#uses=2] 45 %tmp122 = add i32 %tmp15.reg2mem.0, %center_y ; <i32> [#uses=2]
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
fisheye_approx_f.rsh | 23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k, 27 center.y = center_y;
|
vignette_approx_f.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_f.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/mesa3d/src/gallium/drivers/ilo/core/ |
ilo_state_viewport.c | 73 int center_y = (int) mat->translate[1]; local 84 if (center_y - half_len < -max_extent) 85 center_y = -max_extent + half_len; 86 else if (center_y + half_len > max_extent - 1) 87 center_y = max_extent - half_len; 110 *min_gby = ((float) (center_y - half_len) - mat->translate[1]) / scale_y; 111 *max_gby = ((float) (center_y + half_len) - mat->translate[1]) / scale_y;
|