/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | VrState.java | 29 public RenderScript mRs;
field in class:VrState 42 mRs = src.mRs;
60 if (mRs == null) {
72 Type.Builder b = new Type.Builder(mRs, Element.RGBA_8888(mRs));
76 mScrAllocation = Allocation.createTyped(mRs, b.create(),
91 Type.Builder b = new Type.Builder(mRs, Element.F32_2(mRs));
95 mzRangeFullAllocation = Allocation.createTyped(mRs, [all...] |
H A D | RsBrickedBitMask.java | 59 Type.Builder b = new Type.Builder(state.mRs, android.renderscript.Element.U32(state.mRs));
61 mBrick_allocation = Allocation.createTyped(state.mRs, b.create(), Allocation.USAGE_SCRIPT);
63 scriptC_bricked = new ScriptC_bricked(state.mRs);
69 scriptC_bricked.set_opacity(state.mMaterial.getOpacityAllocation(state.mRs));
70 state.mRs.finish();
74 Allocation tmp = Allocation.createTyped(state.mRs, b.create(), Allocation.USAGE_SCRIPT);
|
H A D | BasicPipeline.java | 53 scriptC_rasterize = new ScriptC_rasterize(state.mRs); 61 state.mRs.finish();
|
H A D | VrPipline1.java | 56 scriptC_vr.set_opacity(state.mMaterial.getOpacityAllocation(state.mRs)); 60 scriptC_vr.set_color_map(state.mMaterial.getColorMapAllocation(state.mRs)); 73 scriptC_vr = new ScriptC_vr(state.mRs); 76 script_resize = ScriptIntrinsicResize.create(state.mRs); 115 state.mRs.finish();
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | FindRegion.java | 84 public Rect findMatch(ScriptC_find_region findRegion, RenderScript mRs, Bitmap image) { argument 89 Type.Builder builderU32_2 = new Type.Builder(mRs, Element.U32_2(mRs)); 91 border_coords = Allocation.createTyped(mRs, builderU32_2.create()); 94 border_coords_float = Allocation.createSized(mRs, Element.F32_2(mRs), mPointsXY.length / 2); 99 findRegion.set_image(Allocation.createFromBitmap(mRs, image)); 101 Type.Builder builderF32_3 = new Type.Builder(mRs, Element.F32_3(mRs)); 103 border_values = Allocation.createTyped(mRs, builderF32_ [all...] |
H A D | MainActivity.java | 53 RenderScript mRs; field in class:MainActivity 71 mRs = RenderScript.create(this.getBaseContext()); 72 mHealingScript = new ScriptC_healing(mRs); 73 mFindRegion = new ScriptC_find_region(mRs); 316 d = regions[0].findMatch(mFindRegion, mRs, mDisplayedImage); 322 regions[0].heal(mHealingScript, mRs, mImage2, mImage2);
|
H A D | Region.java | 110 public Drawable findMatch(ScriptC_find_region findRegion, RenderScript mRs, Bitmap image) {
argument 111 Rect mRoiBounds = mFindRegion.findMatch(findRegion, mRs, image);
|
/frameworks/rs/api/ |
H A D | GenerateTestFiles.cpp | 78 GeneratedFile* mRs; member in class:PermutationWriter 180 mRs(rsFile), 911 *mRs << "\n"; 915 *mRs << mReturnParam->rsType; 917 *mRs << "void"; 919 *mRs << " __attribute__((kernel)) " << mRsKernelName; 920 *mRs << "("; 923 *mRs << mFirstInputParam->rsType << " " << mFirstInputParam->variableName; 928 *mRs << ", "; 930 *mRs << "unsigne [all...] |
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrActivity.java | 53 private RenderScript mRs; field in class:VrActivity 61 mRs = RenderScript.create(VrActivity.this); 100 return mLoader.getVolume(mRs, names[0]); 113 mVrView.setVolume(mRs, v);
|
H A D | VrView.java | 306 mState1.mRs = rs; 363 if (mState1.mRs == null) return 0L; 420 state.mRs.finish(); 464 mState1.mRs.finish();
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 709 if (mRs == nullptr) { 710 mRs = new RSC::RS(); 713 if (!mRs->init("", RSC::RS_INIT_LOW_LATENCY | RSC::RS_INIT_SYNCHRONOUS)) { 714 mRs.clear(); 717 mRsElement = RSC::Element::A_8(mRs); 718 mRsScript = RSC::ScriptIntrinsicBlur::create(mRs, mRsElement); 721 if (mRs != nullptr) { 722 RSC::sp<const RSC::Type> t = RSC::Type::create(mRs, mRsElement, width, height, 0); 723 RSC::sp<RSC::Allocation> ain = RSC::Allocation::createTyped(mRs, t, 727 RSC::sp<RSC::Allocation> aout = RSC::Allocation::createTyped(mRs, [all...] |
H A D | FontRenderer.h | 221 RSC::sp<RSC::RS> mRs; member in class:android::uirenderer::FontRenderer
|