Home
last modified time | relevance | path

Searched refs:sx (Results 1 – 5 of 5) sorted by relevance

/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DCandidateView.java103 int sx = getScrollX(); in CandidateView()
104 sx += distanceX; in CandidateView()
105 if (sx < 0) { in CandidateView()
106 sx = 0; in CandidateView()
108 if (sx + getWidth() > mTotalWidth) { in CandidateView()
109 sx -= distanceX; in CandidateView()
111 mTargetScrollX = sx; in CandidateView()
112 scrollTo(sx, getScrollY()); in CandidateView()
221 int sx = getScrollX(); in scrollToTarget() local
222 if (mTargetScrollX > sx) { in scrollToTarget()
[all …]
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java161 public void computePhysics(float sx, float sy, float dT, float dTC) { in computePhysics() argument
164 final float gx = -sx * m; in computePhysics()
242 private void updatePositions(float sx, float sy, long timestamp) { in updatePositions() argument
251 ball.computePhysics(sx, sy, dT, dTC); in updatePositions()
264 public void update(float sx, float sy, long now) { in update() argument
266 updatePositions(sx, sy, now); in update()
429 final float sx = mSensorX; in onDraw() local
432 particleSystem.update(sx, sy, now); in onDraw()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPictureLayout.java109 float sx, float sy) { in drawPict() argument
114 canvas.scale(sx, sy, w, h); in drawPict()
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameView.java281 int sx = (w - 2 * MARGIN) / 3;
284 int size = sx < sy ? sx : sy;
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DSpriteTextRenderer.java231 float sx = mScratch[4]; in drawLabel() local
235 float tx = sx - width * 0.5f; in drawLabel()