HomeSort by relevance Sort by last modified time
    Searched defs:canvasWidth (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/
bouncing_balls.js 20 var canvasWidth;
61 canvasWidth = window.innerWidth;
63 canvas.setAttribute('width', canvasWidth);
65 borderX = ballDiameter/canvasWidth;
113 angularVelocity = 2*velocityX*canvasWidth/ballDiameter;
170 drawBall(x * canvasWidth, y * canvasHeight, angle); // externally defined
  /external/chromium_org/third_party/WebKit/Source/web/tests/
WEBPImageDecoderTest.cpp 211 const int canvasWidth = 11;
228 EXPECT_EQ(canvasWidth, frame->getSkBitmap().width());
253 const int canvasWidth = 94;
271 EXPECT_EQ(canvasWidth, frame->getSkBitmap().width());
296 const int canvasWidth = 94;
314 EXPECT_EQ(canvasWidth, frame->getSkBitmap().width());
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DetermineFovActivity.java 189 int canvasWidth = canvas.getWidth();
196 float scale = (float) canvasWidth / photoWidth;
202 drawRect.set(0, pad, canvasWidth, pad + scaledHeight - 1);
207 float pad = (canvasWidth - scaledWidth) / 2;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
LayoutCanvas.java 858 int canvasWidth = canvasSize.width;
863 canvasWidth = 2 * canvasWidth / 3;
865 canvasWidth -= 4;
882 int hDelta = canvasWidth - sceneWidth;
898 double hScale = (canvasWidth - 2 * hMargin) / (double) sceneWidth;
    [all...]

Completed in 414 milliseconds