Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DRotate3dAnimation.java53 float centerX, float centerY, float depthZ, boolean reverse) { in Rotate3dAnimation() argument
56 mCenterX = centerX; in Rotate3dAnimation()
73 final float centerX = mCenterX; in applyTransformation() local
89 matrix.preTranslate(-centerX, -centerY); in applyTransformation()
90 matrix.postTranslate(centerX, centerY); in applyTransformation()
DTransition3d.java89 final float centerX = mContainer.getWidth() / 2.0f; in applyRotation() local
95 new Rotate3dAnimation(start, end, centerX, centerY, 310.0f, true); in applyRotation()
149 final float centerX = mContainer.getWidth() / 2.0f; in run() local
158 rotation = new Rotate3dAnimation(90, 180, centerX, centerY, 310.0f, false); in run()
164 rotation = new Rotate3dAnimation(90, 0, centerX, centerY, 310.0f, false); in run()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DMagnificationService.java159 Region region, float scale, float centerX, float centerY) { in onServiceConnected()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java559 float centerX = viewRect.centerX(); in configureTransform() local
562 bufferRect.offset(centerX - bufferRect.centerX(), centerY - bufferRect.centerY()); in configureTransform()
567 matrix.postScale(scale, scale, centerX, centerY); in configureTransform()
568 matrix.postRotate(90 * (rotation - 2), centerX, centerY); in configureTransform()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java749 float centerX = viewRect.centerX(); in configureTransform() local
752 bufferRect.offset(centerX - bufferRect.centerX(), centerY - bufferRect.centerY()); in configureTransform()
757 matrix.postScale(scale, scale, centerX, centerY); in configureTransform()
758 matrix.postRotate(90 * (rotation - 2), centerX, centerY); in configureTransform()
760 matrix.postRotate(180, centerX, centerY); in configureTransform()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/wallpaper/
DSampleWallpaper.java130 float centerX = (float) mDisplayMetrics.widthPixels/2; in draw() local
143 canvas.drawText(mShowingText, centerX - mTextBounds.exactCenterX(), in draw()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java1106 float centerX = viewRect.centerX(); in configureTransform() local
1126 bufferRect.offset(centerX - bufferRect.centerX(), centerY - bufferRect.centerY()); in configureTransform()
1131 matrix.postScale(scale, scale, centerX, centerY); in configureTransform()
1134 matrix.postRotate(rotation, centerX, centerY); in configureTransform()