/external/chromium_org/native_client_sdk/src/examples/api/mouse_lock/ |
mouse_lock.cc | 248 int center_x = image->size().width() / 2; local 252 pp::Point left_top(std::max(0, center_x - region_of_interest_radius), 255 std::min(image->size().width(), center_x + region_of_interest_radius), 259 if (GetDistance(x, y, center_x, center_y) < kCentralSpotRadius) { 279 int center_x = image->size().width() / 2; local 281 pp::Point vertex(mouse_movement_.x() + center_x, 288 anchor_1.set_x(center_x); 290 anchor_2.set_x(center_x); 296 anchor_1.set_x(center_x + kCentralSpotRadius); 298 anchor_2.set_x(center_x - kCentralSpotRadius) [all...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
Fisheye.java | 33 private float center_x = 0.5f; field in class:Fisheye 66 center_x = progress / 100.0f; 79 mInPixelsAllocation.getType().getY(), center_x, local 84 mInPixelsAllocation.getType().getY(), center_x, local 89 mInPixelsAllocation.getType().getY(), center_x, center_y, local 94 mInPixelsAllocation.getType().getY(), center_x, center_y, local
|
Vignette.java | 33 private float center_x = 0.5f; field in class:Vignette 88 center_x = progress / 100.0f; 101 mInPixelsAllocation.getType().getY(), center_x, local 106 mInPixelsAllocation.getType().getY(), center_x, 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) { 24 center.x = center_x;
|
fisheye_approx.rsh | 23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) { 24 center.x = center_x;
|
vignette.rsh | 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 23 neg_center.x = -center_x;
|
vignette_approx.rsh | 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 23 neg_center.x = -center_x;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
Fisheye.java | 30 private float center_x = 0.5f; field in class:Fisheye 63 center_x = progress / 100.0f; 76 mInPixelsAllocation.getType().getY(), center_x, local 81 mInPixelsAllocation.getType().getY(), center_x, local 86 mInPixelsAllocation.getType().getY(), center_x, center_y, local 91 mInPixelsAllocation.getType().getY(), center_x, center_y, local
|
Vignette.java | 29 private float center_x = 0.5f; field in class:Vignette 84 center_x = progress / 100.0f; 97 mInPixelsAllocation.getType().getY(), center_x, local 102 mInPixelsAllocation.getType().getY(), center_x, 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) { 24 center.x = center_x;
|
fisheye_approx.rsh | 23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) { 24 center.x = center_x;
|
vignette.rsh | 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 23 neg_center.x = -center_x;
|
vignette_approx.rsh | 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 23 neg_center.x = -center_x;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
Fisheye.java | 33 private float center_x = 0.5f; field in class:Fisheye 66 center_x = progress / 100.0f; 79 mInPixelsAllocation.getType().getY(), center_x, local 84 mInPixelsAllocation.getType().getY(), center_x, local 89 mInPixelsAllocation.getType().getY(), center_x, center_y, local 94 mInPixelsAllocation.getType().getY(), center_x, center_y, local
|
Vignette.java | 33 private float center_x = 0.5f; field in class:Vignette 88 center_x = progress / 100.0f; 101 mInPixelsAllocation.getType().getY(), center_x, local 106 mInPixelsAllocation.getType().getY(), center_x, 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) { 24 center.x = center_x;
|
fisheye_approx.rsh | 23 void init_filter(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, float k) { 24 center.x = center_x;
|
vignette.rsh | 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 23 neg_center.x = -center_x;
|
vignette_approx.rsh | 20 void init_vignette(uint32_t dim_x, uint32_t dim_y, float center_x, float center_y, 23 neg_center.x = -center_x;
|
/external/chromium_org/ppapi/examples/mouse_lock/ |
mouse_lock.cc | 157 int center_x = width / 2; local 159 pp::Point vertex(mouse_movement_.x() + center_x, 173 anchor_1.set_x(center_x); 175 anchor_2.set_x(center_x); 181 anchor_1.set_x(center_x + kCenteralSpotRadius); 183 anchor_2.set_x(center_x - kCenteralSpotRadius); 194 if (GetDistance(x, y, center_x, center_y) < kCenteralSpotRadius) { 208 (direction == LEFT && x < center_x) || 209 (direction == RIGHT && x > center_x);
|
/external/skia/gm/ |
blurrect.cpp | 182 int center_x = (canvas_size.fWidth - (int)(r.width()))/2; local 189 r.offset( SkIntToScalar(center_x), SkIntToScalar(center_y) ); 199 center_x = (canvas_size.fWidth - mask.fBounds.width())/2; 202 canvas->drawBitmap(bm, SkIntToScalar(center_x), SkIntToScalar(center_y), NULL);
|
/external/chromium/chrome/browser/ui/views/tabs/ |
tab_strip.cc | 734 int center_x; local 738 center_x = tab->x() - (kTabHOffset / 2); 740 center_x = tab->x() + (tab->width() / 2); 743 center_x = last_tab->x() + last_tab->width() + (kTabHOffset / 2); 747 center_x = GetMirroredXInView(center_x); 750 gfx::Point drop_loc(center_x - drop_indicator_width / 2, [all...] |
/external/chromium_org/ui/views/controls/tree/ |
tree_view.cc | 818 int center_x; local 820 center_x = node_bounds.right() - kArrowRegionSize + 823 center_x = node_bounds.x() + (kArrowRegionSize - 4) / 2; 832 canvas->FillRect(gfx::Rect(center_x + delta * (2 - i), 839 canvas->FillRect(gfx::Rect(center_x - (3 - i), center_y + i,
|
/external/chromium_org/gpu/tools/compositor_model_bench/ |
shaders.cc | 440 float center_x = (left+right)/2 - g_current_tile_layer_width/2; local 442 TranslateInPlace(mv_transform, center_x, center_y, 0.0);
|
/external/qemu/android/skin/ |
argb.h | 358 int center_x = ((sx1 >> 16) + 1) < ((sx2-1) >> 16); local 382 if (center_x) { 402 if (center_x) { 423 if (center_x) {
|