Home
last modified time | relevance | path

Searched refs:cX (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java333 final float cX = mBounds.exactCenterX(); in clampStartingPosition() local
335 final float dX = mStartingX - cX; in clampStartingPosition()
341 mClampedStartingX = cX + (float) (Math.cos(angle) * r); in clampStartingPosition()
DRippleDrawable.java925 final int cX = (int) mHotspotBounds.exactCenterX(); in getDirtyBounds() local
933 rippleBounds.offset(cX, cY); in getDirtyBounds()
940 rippleBounds.offset(cX, cY); in getDirtyBounds()
/frameworks/native/opengl/tests/angeles/
Ddemo.c705 float eX, eY, eZ, cX, cY, cZ; in camTrack() local
729 cX = lerp[0]; in camTrack()
732 eX = cX - (float)cos(lerp[3]) * dist; in camTrack()
741 cX = eX + (float)cos(lerp[3]); in camTrack()
745 gluLookAt(eX, eY, eZ, cX, cY, cZ, 0, 0, 1); in camTrack()
/frameworks/base/core/java/android/gesture/
DGestureOverlayView.java627 float cX = mCurveEndX = (x + previousX) / 2; in touchMove() local
630 mPath.quadTo(previousX, previousY, cX, cY); in touchMove()
637 areaToRefresh.union((int) cX - border, (int) cY - border, in touchMove()
638 (int) cX + border, (int) cY + border); in touchMove()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java349 private void getRange(Rect out, int cX, int cY, int level, int rotation) { in getRange() argument
350 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation); in getRange()
360 int cX, int cY, int level, float scale, int rotation) { in getRange() argument
373 int left = (int) Math.floor(cX - width / (2f * scale)); in getRange()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java968 final int cX; in onDraw() local
971 cX = bounds.left + bounds.right; in onDraw()
973 cX = getWidth(); in onDraw()
976 final int left = cX / 2 - switchText.getWidth() / 2; in onDraw()
/frameworks/base/core/java/android/widget/
DSwitch.java1253 final int cX; in onDraw() local
1256 cX = bounds.left + bounds.right; in onDraw()
1258 cX = getWidth(); in onDraw()
1261 final int left = cX / 2 - switchText.getWidth() / 2; in onDraw()