/packages/apps/Gallery2/jni/filters/ |
redeye.c | 20 void JNIFUNCF(ImageFilterRedEye, nativeApplyFilter, jobject bitmap, jint width, jint height, jshortArray vrect) 25 short* rect = (*env)->GetShortArrayElements(env, vrect,0); 29 (*env)->ReleaseShortArrayElements(env, vrect, rect, 0);
|
/cts/tests/tests/view/src/android/view/cts/ |
View_LayoutPositionTest.java | 55 Rect vRect = new Rect(); 64 view.getDrawingRect(vRect); 68 int right = left + vRect.width(); 69 int bottom = top + vRect.height(); 76 assertEquals(vRect.width(), view.getWidth()); 77 assertEquals(vRect.height(), view.getHeight()); 79 assertEquals(vRect.width(), view.getMeasuredWidth()); 80 assertEquals(vRect.height(), view.getMeasuredHeight()); 91 view.getDrawingRect(vRect); 95 int nright = nleft + vRect.width() [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_mc.c | 55 struct ureg_src vrect, vpos; local 59 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); 69 * t_vpos = (vpos + vrect) * block_scale 73 ureg_ADD(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), vpos, vrect); 229 struct ureg_src vrect, vpos; local 244 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); 258 * t_vtex.xy = vrect.y ? { 0, scale.y } : { -scale.y : 0 } 278 ureg_negate(ureg_scalar(vrect, TGSI_SWIZZLE_Y)),
|
vl_zscan.c | 97 struct ureg_src vrect, vpos, block_num; local 115 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); 127 * o_vpos.xy = (vpos + vrect) * scale 134 * o_vtex.x = vrect.x / blocks_per_line + tmp.x 135 * o_vtex.y = vrect.y 138 ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XY), vpos, vrect); 153 ureg_MAD(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_X), vrect, 155 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Y), vrect);
|
vl_idct.c | 262 struct ureg_src vrect, vpos; local 271 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); 288 * t_vpos = vpos + vrect 301 ureg_ADD(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_XY), vpos, vrect); 310 calc_addr(shader, o_r_addr, vrect, ureg_imm1f(shader, 0.0f), true, true, VL_BLOCK_WIDTH / 4); 398 struct ureg_src vrect, vpos; local 403 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); 421 ureg_scalar(vrect, TGSI_SWIZZLE_X), 425 calc_addr(shader, o_l_addr, vrect, ureg_imm1f(shader, 0.0f), false, false, VL_BLOCK_WIDTH / 4);
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_mc.c | 55 struct ureg_src vrect, vpos; local 59 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); 69 * t_vpos = (vpos + vrect) * block_scale 73 ureg_ADD(shader, ureg_writemask(t_vpos, TGSI_WRITEMASK_XY), vpos, vrect); 229 struct ureg_src vrect, vpos; local 244 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); 258 * t_vtex.xy = vrect.y ? { 0, scale.y } : { -scale.y : 0 } 278 ureg_negate(ureg_scalar(vrect, TGSI_SWIZZLE_Y)),
|
vl_zscan.c | 97 struct ureg_src vrect, vpos, block_num; local 115 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); 127 * o_vpos.xy = (vpos + vrect) * scale 134 * o_vtex.x = vrect.x / blocks_per_line + tmp.x 135 * o_vtex.y = vrect.y 138 ureg_ADD(shader, ureg_writemask(tmp, TGSI_WRITEMASK_XY), vpos, vrect); 153 ureg_MAD(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_X), vrect, 155 ureg_MOV(shader, ureg_writemask(o_vtex[i], TGSI_WRITEMASK_Y), vrect);
|
vl_idct.c | 262 struct ureg_src vrect, vpos; local 271 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); 288 * t_vpos = vpos + vrect 301 ureg_ADD(shader, ureg_writemask(t_tex, TGSI_WRITEMASK_XY), vpos, vrect); 310 calc_addr(shader, o_r_addr, vrect, ureg_imm1f(shader, 0.0f), true, true, VL_BLOCK_WIDTH / 4); 398 struct ureg_src vrect, vpos; local 403 vrect = ureg_DECL_vs_input(shader, VS_I_RECT); 421 ureg_scalar(vrect, TGSI_SWIZZLE_X), 425 calc_addr(shader, o_l_addr, vrect, ureg_imm1f(shader, 0.0f), false, false, VL_BLOCK_WIDTH / 4);
|