/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | BitmapMutateActivity.java | 61 private final Bitmap mBitmap1; field in BitmapMutateActivity.BitmapsView 71 mBitmap1 = Bitmap.createBitmap(PATTERN_SIZE, PATTERN_SIZE, Bitmap.Config.ARGB_8888); in BitmapsView() 74 mPixels = new int[mBitmap1.getWidth() * mBitmap1.getHeight()]; in BitmapsView() 75 mSlice = mBitmap1.getWidth() / 3; in BitmapsView() 87 int width = mBitmap1.getWidth(); in onDraw() 88 int height = mBitmap1.getHeight(); in onDraw() 102 mBitmap1.setPixels(mPixels, 0, width, 0, 0, width, height); in onDraw() 103 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
|
D | ColorFiltersActivity.java | 43 private final Bitmap mBitmap1; field in ColorFiltersActivity.BitmapsView 52 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 76 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mColorMatrixPaint); in onDraw() 78 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); in onDraw() 79 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mLightingPaint); in onDraw() 81 canvas.translate(0.0f, 50.0f + mBitmap1.getHeight()); in onDraw() 82 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBlendPaint); in onDraw() 86 canvas.translate(120.0f + mBitmap1.getWidth() + 120.0f, 50.0f); in onDraw()
|
D | Transform3dActivity.java | 39 private final Bitmap mBitmap1; field in Transform3dActivity.Transform3dView 46 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in Transform3dView() 57 final float centerX = getWidth() / 2.0f - mBitmap1.getWidth() / 2.0f; in onDraw() 58 final float centerY = getHeight() / 2.0f - mBitmap1.getHeight() / 2.0f; in onDraw() 67 drawBitmap(canvas, centerX, centerY, -mBitmap1.getWidth(), matrix); in onDraw() 70 drawBitmap(canvas, centerX, centerY, mBitmap1.getWidth(), matrix); in onDraw() 73 drawBitmap(canvas, centerX, centerY, mBitmap1.getWidth() * 2.0f, matrix); in onDraw() 82 canvas.drawBitmap(mBitmap1, centerX, centerY, null); in drawBitmap()
|
D | BitmapsRectActivity.java | 41 private final Bitmap mBitmap1; field in BitmapsRectActivity.BitmapsView 50 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 56 final float fourth = mBitmap1.getWidth() / 4.0f; in BitmapsView() 57 final float half = mBitmap1.getHeight() / 2.0f; in BitmapsView() 70 canvas.drawBitmap(mBitmap1, mSrcRect, mDstRect, mBitmapPaint); in onDraw() 72 canvas.translate(0.0f, mBitmap1.getHeight()); in onDraw() 74 canvas.drawBitmap(mBitmap1, mSrcRect, mDstRect2, mBitmapPaint); in onDraw()
|
D | BitmapMeshActivity.java | 39 private final Bitmap mBitmap1; field in BitmapMeshActivity.BitmapMeshView 46 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapMeshView() 48 final float width = mBitmap1.getWidth() / 3.0f; in BitmapMeshView() 49 final float height = mBitmap1.getHeight() / 3.0f; in BitmapMeshView() 72 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, null, 0, null); in onDraw() 75 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, mColors, 0, null); in onDraw()
|
D | BitmapMeshLayerActivity.java | 40 private final Bitmap mBitmap1; field in BitmapMeshLayerActivity.BitmapMeshView 47 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapMeshView() 49 final float width = mBitmap1.getWidth() / 3.0f; in BitmapMeshView() 50 final float height = mBitmap1.getHeight() / 3.0f; in BitmapMeshView() 72 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, null, 0, null); in onDraw() 75 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, mColors, 0, null); in onDraw()
|
D | BitmapsActivity.java | 56 private final Bitmap mBitmap1; field in BitmapsActivity.BitmapsView 63 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 66 Log.d("Bitmap", "mBitmap1.isMutable() = " + mBitmap1.isMutable()); in BitmapsView() 83 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw() 85 canvas.translate(0.0f, mBitmap1.getHeight()); in onDraw() 92 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw() 95 canvas.translate(0.0f, mBitmap1.getHeight()); in onDraw()
|
D | QuickRejectActivity.java | 40 private final Bitmap mBitmap1; field in QuickRejectActivity.QuickRejectView 45 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in QuickRejectView() 83 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw() 84 canvas.drawBitmap(mBitmap1, -mBitmap1.getWidth(), 0.0f, mBitmapPaint); in onDraw() 85 canvas.drawBitmap(mBitmap1, 50.0f, 0.0f, mBitmapPaint); in onDraw()
|
D | BitmapsAlphaActivity.java | 44 private final Bitmap mBitmap1; field in BitmapsAlphaActivity.BitmapsView 52 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 71 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw() 73 canvas.translate(0.0f, mBitmap1.getHeight()); in onDraw()
|
D | BitmapsSkewActivity.java | 39 private final Bitmap mBitmap1; field in BitmapsSkewActivity.BitmapsView 44 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 53 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
|
D | Bitmaps3dActivity.java | 45 private final Bitmap mBitmap1; field in Bitmaps3dActivity.BitmapsView 51 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in BitmapsView() 69 canvas.drawBitmap(mBitmap1, 0.0f, 0.0f, mBitmapPaint); in onDraw()
|
D | ClearActivity.java | 41 private final Bitmap mBitmap1; field in ClearActivity.PathsView 48 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); in PathsView() 74 canvas.drawBitmap(mBitmap1, 400.0f, 100.0f, mClearPaint); in onDraw()
|
D | LinesActivity.java | 58 private final Bitmap mBitmap1; field in LinesActivity.LinesView 72 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in LinesView() 99 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR, in LinesView()
|
D | PathsActivity.java | 41 private final Bitmap mBitmap1; field in PathsActivity.PathsView 56 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); in PathsView() 82 mShader = new BitmapShader(mBitmap1, BitmapShader.TileMode.MIRROR, in PathsView()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
D | VideoEditorPreviewTest.java | 570 final Bitmap mBitmap1 = mVideoEditorHelper.getBitmap(overlayFilename1, in testPreviewWithOverlay() local 574 mBitmap1, 0, 5000); in testPreviewWithOverlay()
|
D | VideoEditorAPITest.java | 2090 final Bitmap mBitmap1 = mVideoEditorHelper.getBitmap(overlayFile1, in testFrameOverlayVideoItem() local 2093 mediaVideoItem1, "overlayId1", mBitmap1, 5000, 5000); in testFrameOverlayVideoItem() 2099 assertEquals("Overlay Bitmap", mBitmap1, overlayFrame1.getBitmap()); in testFrameOverlayVideoItem()
|