/packages/apps/Camera2/src/com/android/camera/crop/ |
CropDrawingUtils.java | 118 float sy = cropBounds.height() * spotY; local 121 RectF r1 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2); 123 sx = sy; 124 sy = temp; 125 RectF r2 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropDrawingUtils.java | 118 float sy = cropBounds.height() * spotY; local 121 RectF r1 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2); 123 sx = sy; 124 sy = temp; 125 RectF r2 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/ |
ImageCanvas.java | 199 double sy = (double) client.height / (double) rect.height; local 201 if (sx < sy) { 212 0, 0, (int)(rect.width * sy), client.height); 213 drawBorder(gc, 0, 0, (int)(rect.width * sy), client.height);
|
/system/core/toolbox/ |
vmstat.c | 217 printf("%2s %2s %6s %6s %6s %6s %4s %4s %4s %2s %2s %2s %2s %2s %2s\n", "r", "b", "free", "mapped", "anon", "slab", "in", "cs", "flt", "us", "ni", "sy", "id", "wa", "ir"); 225 int us, ni, sy, id, wa, ir; local 228 sy = JP(new->cpu_sy - old->cpu_sy); NORM(sy); 236 us, ni, sy, id, wa, ir);
|
/external/chromium_org/content/browser/accessibility/ |
browser_accessibility.cc | 174 int sy = 0; local 176 parent->GetIntAttribute(AccessibilityNodeData::ATTR_SCROLL_Y, &sy)) { 177 bounds.Offset(-sx, -sy);
|
/external/pixman/demos/ |
scale.c | 79 compute_extents (pixman_f_transform_t *trans, double *sx, double *sy) 101 *sy = (max_y - min_y) / 2.0; 196 double sx, sy; local 227 compute_extents (&ftransform, &sx, &sy); 235 sy * 65536.0 + 0.5,
|
/external/pixman/test/ |
lowlevel-blt-bench.c | 325 int sy = rand () % (maxh - TILEWIDTH * 2); local 328 call_func (func, op, src_img, mask_img, dst_img, sx, sy, sx, sy, dx, dy, w, h); 360 int sy = rand () % (maxh - TINYWIDTH * 2); local 363 call_func (func, op, src_img, mask_img, dst_img, sx, sy, sx, sy, dx, dy, w, h); [all...] |
stress-test.c | 526 uint32_t tx, ty, sx, sy; local 555 sy = prng_rand(); 556 pixman_transform_scale (&xform, NULL, sx, sy);
|
/external/qemu/android/skin/ |
surface.c | 273 int sy; member in struct:__anon24762 346 int sy = src_rect->pos.y; local 372 sy += y; 375 if (sy < 0) { 376 h += sy; 377 y -= sy; 378 sy = 0; 384 delta = (sy + h) - src->surface->h; 395 blit->sy = sy; [all...] |
argb.h | 232 int sy = op->sy; local 238 src_line += (sx >> 16)*4 + (sy >> 16)*src_pitch; 240 sy &= 0xffff; 247 int sy1 = sy; 298 sy += iy; 299 src_line += (sy >> 16)*src_pitch; 300 sy &= 0xffff; 328 int sy = op->sy; local 465 int sy = op->sy; local 552 int sy = op->sy; local 806 int sy = op->sy; local [all...] |
/external/skia/bench/ |
MatrixBench.cpp | 359 SkScalar sy = (fRandom.nextBool()) ? fRandom.nextRangeF(-3000.f, 3000.f) : sx; local 362 fMatrix[i].postScale(sx, sy);
|
/frameworks/native/services/surfaceflinger/ |
DisplayDevice.cpp | 429 float sy = dst_height / src_height; local 430 S.set(sx, 0, 0, sy);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
SpriteTextRenderer.java | 232 float sy = mScratch[5]; local 236 float ty = sy - height * 0.5f;
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_aaline.c | 288 const GLfloat sy = y + samples[i][1]; local 290 const GLfloat fy0 = sy - info->qy0; 292 const GLfloat fy1 = sy - info->qy1; 294 const GLfloat fy2 = sy - info->qy2; 296 const GLfloat fy3 = sy - info->qy3;
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
LetterQuad.java | 409 float sy = y0-alignY;
local 411 float ey = sy-height;
414 fb.put(sx).put(sy).put(0f);
417 fb.put(ex).put(sy).put(0f);
|
/external/mesa3d/src/mesa/swrast/ |
s_aaline.c | 288 const GLfloat sy = y + samples[i][1]; local 290 const GLfloat fy0 = sy - info->qy0; 292 const GLfloat fy1 = sy - info->qy1; 294 const GLfloat fy2 = sy - info->qy2; 296 const GLfloat fy3 = sy - info->qy3;
|
/external/opencv/cv/src/ |
cvsegmentation.cpp | 459 int s0 = 0, s1 = 0, s2 = 0, sx = 0, sy = 0; local 512 sy += y*row_count; 520 y1 = cvRound(sy*icount);
|
/external/skia/tests/ |
MatrixTest.cpp | 510 SkScalar sy = rand.nextRangeF(-3000.f, 3000.f); local 513 mat.postScale(sx, sy);
|
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 100 float sy = targetPatchSize / gestureHeight; local 103 float scale = sx < sy ? sx : sy; 105 sy = scale; 113 float scale = sx < sy ? sx : sy; 115 sy = scale; 117 if (sx > sy) { 118 float scale = sy * NONUNIFORM_SCALE; 124 if (scale < sy) { [all...] |
/frameworks/base/core/jni/android/graphics/ |
BitmapFactory.cpp | 414 const float sy = scaledHeight / float(decodingBitmap.height()); local 437 canvas.scale(sx, sy);
|
/frameworks/native/libs/gui/ |
GLConsumer.cpp | 800 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; local 840 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) / 846 0, sy, 0, 0, [all...] |
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
AccelerometerPlayActivity.java | 161 public void computePhysics(float sx, float sy, float dT, float dTC) { 165 final float gy = -sy * m; 242 private void updatePositions(float sx, float sy, long timestamp) { 251 ball.computePhysics(sx, sy, dT, dTC); 264 public void update(float sx, float sy, long now) { 266 updatePositions(sx, sy, now); 430 final float sy = mSensorY; local 432 particleSystem.update(sx, sy, now);
|
/external/chromium_org/cc/animation/ |
transform_operations_unittest.cc | 219 SkMScalar sy = 4; local 227 operations.AppendScale(sx, sy, sz); 231 expected_scale_matrix.Scale3d(sx, sy, sz); 305 SkMScalar sy = 4; local 308 operations_from.AppendScale(sx, sy, sz); 311 matrix_from.Scale3d(sx, sy, sz); 314 sy = 8; 317 operations_to.AppendScale(sx, sy, sz); 320 matrix_to.Scale3d(sx, sy, sz); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_setup.c | 58 float sx, sy; /**< first sample point coord */ member in struct:edge 685 setup->emaj.sy = ceilf(vmin_y); 686 setup->emaj.lines = (int) ceilf(vmax_y - setup->emaj.sy); 688 setup->emaj.sx = vmin_x + (setup->emaj.sy - vmin_y) * setup->emaj.dxdy; 690 setup->etop.sy = ceilf(vmid_y); 691 setup->etop.lines = (int) ceilf(vmax_y - setup->etop.sy); 693 setup->etop.sx = vmid_x + (setup->etop.sy - vmid_y) * setup->etop.dxdy; 695 setup->ebot.sy = ceilf(vmin_y); 696 setup->ebot.lines = (int) ceilf(vmid_y - setup->ebot.sy); 698 setup->ebot.sx = vmin_x + (setup->ebot.sy - vmin_y) * setup->ebot.dxdy 718 int sy = (int)eleft->sy; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
path.c | 290 VGfloat sx, VGfloat sy, 295 !floatsEqual(sy, oy)) { 297 VGfloat y0 = sy; 364 VGfloat sx, sy, px, py, ox, oy; local 388 sx = sy = px = py = ox = oy = 0.f; 400 close_polygon(current, sx, sy, ox, oy, matrix); 402 oy = sy; 407 close_polygon(current, sx, sy, ox, oy, matrix); 416 sy = y0; 611 close_polygon(current, sx, sy, ox, oy, matrix) 952 VGfloat px, py, ox, oy, sx, sy; member in struct:path_iter_data 1233 VGfloat sx, sy, px, py, ox, oy; local [all...] |