/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/quake/quake/src/QW/client/ |
r_misc.c | 90 vr.x = r_refdef.vrect.x; 91 vr.y = r_refdef.vrect.y; 92 vr.width = r_refdef.vrect.width; 93 vr.height = r_refdef.vrect.height; 120 // x += r_refdef.vrect.x; 121 // y += r_refdef.vrect.y; 186 if (r_refdef.vrect.width <= MAX_TIMINGS) 187 x = r_refdef.vrect.width-1; 189 x = r_refdef.vrect.width - 190 (r_refdef.vrect.width - MAX_TIMINGS)/2 446 vrect_t vrect; local [all...] |
d_modech.c | 75 d_pix_min = r_refdef.vrect.width / 320; 79 d_pix_max = (int)((float)r_refdef.vrect.width / (320.0 / 4.0) + 0.5); 80 d_pix_shift = 8 - (int)((float)r_refdef.vrect.width / 320.0 + 0.5); 89 d_vrectx = r_refdef.vrect.x; 90 d_vrecty = r_refdef.vrect.y;
|
gl_screen.c | 316 r_refdef.vrect.width = vid.width * size; 317 if (r_refdef.vrect.width < 96) 319 size = 96.0 / r_refdef.vrect.width; 320 r_refdef.vrect.width = 96; // min for icons 323 r_refdef.vrect.height = vid.height * size; 325 if (r_refdef.vrect.height > (int) (vid.height - sb_lines)) 326 r_refdef.vrect.height = vid.height - sb_lines; 327 } else if (r_refdef.vrect.height > (int) vid.height) 328 r_refdef.vrect.height = vid.height; 329 r_refdef.vrect.x = (vid.width - r_refdef.vrect.width)/2 [all...] |
d_sky.c | 40 if (r_refdef.vrect.width >= r_refdef.vrect.height) 41 temp = (float)r_refdef.vrect.width; 43 temp = (float)r_refdef.vrect.height;
|
r_main.c | 385 R_SetVrect (pvrect, &r_refdef.vrect, lineadj); 388 r_refdef.fvrectx = (float)r_refdef.vrect.x; 389 r_refdef.fvrectx_adj = (float)r_refdef.vrect.x - 0.5; 390 r_refdef.vrect_x_adj_shift20 = (r_refdef.vrect.x<<20) + (1<<19) - 1; 391 r_refdef.fvrecty = (float)r_refdef.vrect.y; 392 r_refdef.fvrecty_adj = (float)r_refdef.vrect.y - 0.5; 393 r_refdef.vrectright = r_refdef.vrect.x + r_refdef.vrect.width; 398 r_refdef.vrectbottom = r_refdef.vrect.y + r_refdef.vrect.height [all...] |
screen.c | 276 vrect_t vrect;
local 300 r_refdef.fov_y = CalcFov (r_refdef.fov_x, r_refdef.vrect.width, r_refdef.vrect.height);
317 vrect.x = 0;
318 vrect.y = 0;
319 vrect.width = vid.width;
320 vrect.height = vid.height;
322 R_SetVrect (&vrect, &scr_vrect, sb_lines);
330 R_ViewChanged (&vrect, sb_lines, vid.aspect);
1010 vrect_t vrect;
local [all...] |
render.h | 69 vrect_t vrect; // subwindow in video for refresh member in struct:__anon14212 70 // FIXME: not need vrect next field here? 78 int vrect_x_adj_shift20; // (vrect.x + 0.5 - epsilon) << 20
|
gl_rmain.c | 956 x = r_refdef.vrect.x * glwidth/vid.width; 957 x2 = (r_refdef.vrect.x + r_refdef.vrect.width) * glwidth/vid.width; 958 y = (vid.height-r_refdef.vrect.y) * glheight/vid.height; 959 y2 = (vid.height - (r_refdef.vrect.y + r_refdef.vrect.height)) * glheight/vid.height; 981 screenaspect = (float)r_refdef.vrect.width/r_refdef.vrect.height; 982 // yfov = 2*atan((float)r_refdef.vrect.height/r_refdef.vrect.width)*180/M_PI [all...] |
d_scan.c | 56 w = r_refdef.vrect.width; 57 h = r_refdef.vrect.height; 64 rowptr[v] = d_viewbuffer + (r_refdef.vrect.y * screenwidth) + 70 column[u] = r_refdef.vrect.x +
|
gl_rmisc.c | 117 r_refdef.vrect.x = 0; 118 r_refdef.vrect.y = 0; 119 r_refdef.vrect.width = 256; 120 r_refdef.vrect.height = 256;
|
d_iface.h | 165 void D_FillRect (vrect_t *vrect, int color);
|
r_edge.c | 154 for (v=r_refdef.vrect.y ; v<r_refdef.vrectbottom ; v++) 672 max_span_p = &basespan_p[MAXSPANS - r_refdef.vrect.width]; 678 edge_head.u = r_refdef.vrect.x << 20; 708 for (iv=r_refdef.vrect.y ; iv<bottom ; iv++)
|
/external/quake/quake/src/WinQuake/ |
d_modech.cpp | 75 d_pix_min = r_refdef.vrect.width / 320;
79 d_pix_max = (int)((float)r_refdef.vrect.width / (320.0 / 4.0) + 0.5);
80 d_pix_shift = 8 - (int)((float)r_refdef.vrect.width / 320.0 + 0.5);
89 d_vrectx = r_refdef.vrect.x;
90 d_vrecty = r_refdef.vrect.y;
|
r_misc.cpp | 89 vr.x = r_refdef.vrect.x;
90 vr.y = r_refdef.vrect.y;
91 vr.width = r_refdef.vrect.width;
92 vr.height = r_refdef.vrect.height;
119 x += r_refdef.vrect.x;
120 y += r_refdef.vrect.y;
169 if (r_refdef.vrect.width <= MAX_TIMINGS)
170 x = r_refdef.vrect.width-1;
172 x = r_refdef.vrect.width -
173 (r_refdef.vrect.width - MAX_TIMINGS)/2; 370 vrect_t vrect; local [all...] |
gl_screen.cpp | 257 vrect_t vrect; local 311 r_refdef.vrect.width = (int) (vid.width * size); 312 if (r_refdef.vrect.width < 96) 314 size = 96.0 / r_refdef.vrect.width; 315 r_refdef.vrect.width = 96; // min for icons 318 r_refdef.vrect.height = (int)(vid.height * size); 319 if ((int)(r_refdef.vrect.height) > (int)(vid.height - sb_lines)) 320 r_refdef.vrect.height = vid.height - sb_lines; 321 if ((int)(r_refdef.vrect.height) > (int)(vid.height)) 322 r_refdef.vrect.height = vid.height 829 vrect_t vrect; local [all...] |
screen.cpp | 222 vrect_t vrect; local 246 r_refdef.fov_y = CalcFov (r_refdef.fov_x, r_refdef.vrect.width, r_refdef.vrect.height); 263 vrect.x = 0; 264 vrect.y = 0; 265 vrect.width = vid.width; 266 vrect.height = vid.height; 268 R_SetVrect (&vrect, &scr_vrect, sb_lines); 276 R_ViewChanged (&vrect, sb_lines, vid.aspect); 812 vrect_t vrect; local [all...] |
d_sky.cpp | 40 if (r_refdef.vrect.width >= r_refdef.vrect.height)
41 temp = (float)r_refdef.vrect.width;
43 temp = (float)r_refdef.vrect.height;
|
r_main.cpp | 365 R_SetVrect (pvrect, &r_refdef.vrect, lineadj);
368 r_refdef.fvrectx = (float)r_refdef.vrect.x;
369 r_refdef.fvrectx_adj = (float)r_refdef.vrect.x - 0.5;
370 r_refdef.vrect_x_adj_shift20 = (r_refdef.vrect.x<<20) + (1<<19) - 1;
371 r_refdef.fvrecty = (float)r_refdef.vrect.y;
372 r_refdef.fvrecty_adj = (float)r_refdef.vrect.y - 0.5;
373 r_refdef.vrectright = r_refdef.vrect.x + r_refdef.vrect.width;
378 r_refdef.vrectbottom = r_refdef.vrect.y + r_refdef.vrect.height; [all...] |
render.h | 75 vrect_t vrect; // subwindow in video for refresh
member in struct:__anon14612 76 // FIXME: not need vrect next field here?
84 int vrect_x_adj_shift20; // (vrect.x + 0.5 - epsilon) << 20
|
d_scan.cpp | 56 w = r_refdef.vrect.width;
57 h = r_refdef.vrect.height;
64 rowptr[v] = d_viewbuffer + (r_refdef.vrect.y * screenwidth) +
70 column[u] = r_refdef.vrect.x +
|
gl_rmisc.cpp | 124 r_refdef.vrect.x = 0; 125 r_refdef.vrect.y = 0; 126 r_refdef.vrect.width = 256; 127 r_refdef.vrect.height = 256;
|
gl_rmain.cpp | 976 vrect_t vrect; local 1178 x = r_refdef.vrect.x * glwidth/vid.width; 1179 x2 = (r_refdef.vrect.x + r_refdef.vrect.width) * glwidth/vid.width; 1180 y = (vid.height-r_refdef.vrect.y) * glheight/vid.height; 1181 y2 = (vid.height - (r_refdef.vrect.y + r_refdef.vrect.height)) * glheight/vid.height; 1203 screenaspect = (float)r_refdef.vrect.width/r_refdef.vrect.height; 1204 // yfov = 2*atan((float)r_refdef.vrect.height/r_refdef.vrect.width)*180/M_PI [all...] |
/external/webkit/Source/WebCore/platform/wx/ |
ScrollViewWx.cpp | 187 wxRect vRect(win->GetVirtualSize()); 193 else if (newScrollOffset.x + cRect.width > vRect.width) 194 newScrollOffset.x = max(0, vRect.width - cRect.width); 198 else if (newScrollOffset.y + cRect.height > vRect.height) 199 newScrollOffset.y = max(0, vRect.height - cRect.height); 238 wxRect crect(win->GetClientRect()), vrect(win->GetVirtualSize()); 258 win->SetScrollbar(wxHORIZONTAL, x, crect.width, vrect.width, refresh); 263 win->SetScrollbar(wxHORIZONTAL, x, crect.width, vrect.width, refresh); 276 win->SetScrollbar(wxVERTICAL, y, crect.height, vrect.height, refresh); 281 win->SetScrollbar(wxVERTICAL, y, crect.height, vrect.height, refresh) [all...] |