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

/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DErrorCalculator.java77 mIdealPixelsAllocation = Allocation.createFromBitmap(mRS, ideal,
79 mGivenPixelsAllocation = Allocation.createFromBitmap(mRS, given,
118 mIdealPixelsAllocation = Allocation.createFromBitmap(mRS, ideal,
120 mGivenPixelsAllocation = Allocation.createFromBitmap(mRS, given,
126 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.java102 mTwoByTwoAlloc = Allocation.createFromBitmap(mRS, mBitmapTwoByTwo,
106 mCityAlloc = Allocation.createFromBitmap(mRS, mBitmapCity,
/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/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java125 * #createFromBitmap} in API version 18 and higher.</p>
600 * #createFromBitmap} and {@link #USAGE_SHARED} is set on the Allocation,
1335 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, method in class:Allocation
1340 return AllocationThunker.createFromBitmap(rst, b, mips, usage);
1352 return createFromBitmap(rs, newBitmap, mips, usage);
1392 static public Allocation createFromBitmap(RenderScript rs, Bitmap b) { method in class:Allocation
1393 return createFromBitmap(rs, b, MipmapControl.MIPMAP_NONE,
1590 Allocation alloc = createFromBitmap(rs, b, mips, usage);
H A DAllocationThunker.java409 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, method in class:AllocationThunker
416 android.renderscript.Allocation.createFromBitmap(rst.mN, b,
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java208 * #createFromBitmap} in API version 18 and higher.</p>
731 * #createFromBitmap} and {@link #USAGE_SHARED} is set on the Allocation,
1507 static public Allocation createFromBitmap(RenderScript rs, Bitmap b, method in class:Allocation
1510 Trace.traceBegin(RenderScript.TRACE_TAG, "createFromBitmap");
1521 return createFromBitmap(rs, newBitmap, mips, usage);
1594 static public Allocation createFromBitmap(RenderScript rs, Bitmap b) { method in class:Allocation
1596 return createFromBitmap(rs, b, MipmapControl.MIPMAP_NONE,
1599 return createFromBitmap(rs, b, MipmapControl.MIPMAP_NONE,
1793 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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DCamera2Source.java183 mAllocationOut = Allocation.createFromBitmap(mRS, mBitmap);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingActivity.java416 mOutPixelsAllocation = Allocation.createFromBitmap(mRS, mBitmapOut);
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsRenderStatesRS.java306 return Allocation.createFromBitmap(mRS, b,

Completed in 617 milliseconds