Home
last modified time | relevance | path

Searched refs:matrix (Results 1 – 8 of 8) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DRotate3dAnimation.java77 final Matrix matrix = t.getMatrix(); in applyTransformation() local
86 camera.getMatrix(matrix); in applyTransformation()
89 matrix.preTranslate(-centerX, -centerY); in applyTransformation()
90 matrix.postTranslate(centerX, centerY); in applyTransformation()
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DSkewableTextView.java75 Matrix matrix = new Matrix(); in invalidateSkewedBounds() local
76 matrix.setSkew(-mSkewX, 0); in invalidateSkewedBounds()
78 matrix.mapRect(mTempRect); in invalidateSkewedBounds()
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/
DNDKHelper.java65 Matrix matrix = new Matrix(); in scaleBitmap() local
68 matrix.postScale(newWidth / width, newHeight / height); in scaleBitmap()
72 bitmapToScale.getHeight(), matrix, true); in scaleBitmap()
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/
DNDKHelper.java65 Matrix matrix = new Matrix(); in scaleBitmap() local
68 matrix.postScale(newWidth / width, newHeight / height); in scaleBitmap()
72 bitmapToScale.getHeight(), matrix, true); in scaleBitmap()
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/
DAnticiButton.java221 Matrix matrix = new Matrix(); in invalidateSkewedBounds() local
222 matrix.setSkew(-mSkewX, 0); in invalidateSkewedBounds()
224 matrix.mapRect(mTempRect); in invalidateSkewedBounds()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java477 Matrix matrix = new Matrix(); in configureTransform() local
484 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
488 matrix.postScale(scale, scale, centerX, centerY); in configureTransform()
489 matrix.postRotate(90 * (rotation - 2), centerX, centerY); in configureTransform()
491 mTextureView.setTransform(matrix); in configureTransform()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java602 Matrix matrix = new Matrix(); in configureTransform() local
609 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
613 matrix.postScale(scale, scale, centerX, centerY); in configureTransform()
614 matrix.postRotate(90 * (rotation - 2), centerX, centerY); in configureTransform()
616 mTextureView.setTransform(matrix); in configureTransform()
/development/ndk/platforms/android-L/include/linux/
Domap3isp.h359 __u16 matrix[OMAP3ISP_RGB_MAX][OMAP3ISP_RGB_MAX]; member
364 __u16 matrix[OMAP3ISP_RGB_MAX][OMAP3ISP_RGB_MAX]; member