Searched refs:createFromBitmap (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DErrorCalculator.java80 mIdealPixelsAllocation = Allocation.createFromBitmap(mRS, ideal,
82 mGivenPixelsAllocation = Allocation.createFromBitmap(mRS, given,
121 mIdealPixelsAllocation = Allocation.createFromBitmap(mRS, ideal,
123 mGivenPixelsAllocation = Allocation.createFromBitmap(mRS, given,
129 mOutputPixelsAllocation = Allocation.createFromBitmap(mRS, output,
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DSceneManager.java165 static Allocation createFromBitmap(Bitmap b, RenderScriptGL rs, boolean isCube) { method in class:SceneManager
174 return Allocation.createFromBitmap(rs, b, mip, usage);
178 return createFromBitmap(loadBitmap(name, res), rs, true);
182 return createFromBitmap(BitmapFactory.decodeResource(res, id), rs, true);
186 return createFromBitmap(loadBitmap(name, res), rs, false);
190 return createFromBitmap(BitmapFactory.decodeResource(res, id), rs, false);
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
H A DSampleRSActivity.java98 mTwoByTwoAlloc = Allocation.createFromBitmap(mRS, mBitmapTwoByTwo,
102 mCityAlloc = Allocation.createFromBitmap(mRS, mBitmapCity,
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingActivity.java427 mInPixelsAllocation = Allocation.createFromBitmap(mRS, mBitmapIn,
432 mInPixelsAllocation2 = Allocation.createFromBitmap(mRS, mBitmapIn2,
437 mOutPixelsAllocation = Allocation.createFromBitmap(mRS, mBitmapOut);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DImageProcessingActivity2.java388 mInPixelsAllocation = Allocation.createFromBitmap(mRS, mBitmapIn);
389 mInPixelsAllocation2 = Allocation.createFromBitmap(mRS, mBitmapIn2);
390 mOutPixelsAllocation = Allocation.createFromBitmap(mRS, mBitmapOut);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DImageProcessingActivityJB.java412 mInPixelsAllocation = Allocation.createFromBitmap(mRS, mBitmapIn);
413 mInPixelsAllocation2 = Allocation.createFromBitmap(mRS, mBitmapIn2);
414 mOutPixelsAllocation = Allocation.createFromBitmap(mRS, mBitmapOut);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java124 * #createFromBitmap} in API version 18 and higher.</p>
579 * #createFromBitmap} and {@link #USAGE_SHARED} is set on the Allocation,
1312 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, method in class:Allocation
1317 return AllocationThunker.createFromBitmap(rst, b, mips, usage);
1329 return createFromBitmap(rs, newBitmap, mips, usage);
1369 static public Allocation createFromBitmap(RenderScript rs, Bitmap b) { method in class:Allocation
1370 return createFromBitmap(rs, b, MipmapControl.MIPMAP_NONE,
1567 Allocation alloc = createFromBitmap(rs, b, mips, usage);
H A DAllocationThunker.java235 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, method in class:AllocationThunker
241 android.renderscript.Allocation.createFromBitmap(
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java152 * #createFromBitmap} in API version 18 and higher.</p>
637 * #createFromBitmap} and {@link #USAGE_SHARED} is set on the Allocation,
1391 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, method in class:Allocation
1404 return createFromBitmap(rs, newBitmap, mips, usage);
1483 static public Allocation createFromBitmap(RenderScript rs, Bitmap b) { method in class:Allocation
1485 return createFromBitmap(rs, b, MipmapControl.MIPMAP_NONE,
1488 return createFromBitmap(rs, b, MipmapControl.MIPMAP_NONE,
1682 Allocation alloc = createFromBitmap(rs, b, mips, usage);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DFillTest.java133 return Allocation.createFromBitmap(mRS, b,
H A DUiTest.java136 return Allocation.createFromBitmap(mRS, b,
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselRS.java652 Allocation allocation = Allocation.createFromBitmap(mRS, bitmap,
852 texture = Allocation.createFromBitmap(mRS, bitmap,
861 texture = Allocation.createFromBitmap(mRS, bitmap,
870 texture = Allocation.createFromBitmap(mRS, bitmap,
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsRenderStatesRS.java306 return Allocation.createFromBitmap(mRS, b,

Completed in 307 milliseconds