Searched refs:rs (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/graphics/java/android/renderscript/
H A DElement.java94 public static Element USER_U8(RenderScript rs) { argument
95 if(rs.mElement_USER_U8 == null) {
96 rs.mElement_USER_U8 = createUser(rs, DataType.UNSIGNED_8);
98 return rs.mElement_USER_U8;
101 public static Element USER_I8(RenderScript rs) { argument
102 if(rs.mElement_USER_I8 == null) {
103 rs.mElement_USER_I8 = createUser(rs, DataType.SIGNED_8);
105 return rs
108 USER_U32(RenderScript rs) argument
115 USER_I32(RenderScript rs) argument
122 USER_F32(RenderScript rs) argument
129 A_8(RenderScript rs) argument
136 RGB_565(RenderScript rs) argument
143 RGB_888(RenderScript rs) argument
150 RGBA_5551(RenderScript rs) argument
157 RGBA_4444(RenderScript rs) argument
164 RGBA_8888(RenderScript rs) argument
171 INDEX_16(RenderScript rs) argument
178 ATTRIB_POSITION_2(RenderScript rs) argument
185 ATTRIB_POSITION_3(RenderScript rs) argument
192 ATTRIB_TEXTURE_2(RenderScript rs) argument
199 ATTRIB_NORMAL_3(RenderScript rs) argument
206 ATTRIB_COLOR_U8_4(RenderScript rs) argument
213 ATTRIB_COLOR_F32_4(RenderScript rs) argument
220 Element(RenderScript rs, Element[] e, String[] n) argument
233 Element(RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) argument
247 createFromClass(RenderScript rs, Class c) argument
271 createUser(RenderScript rs, DataType dt) argument
275 createVector(RenderScript rs, DataType dt, int size) argument
282 createIndex(RenderScript rs) argument
286 createAttrib(RenderScript rs, DataType dt, DataKind dk, int size) argument
335 createPixel(RenderScript rs, DataType dt, DataKind dk) argument
379 Builder(RenderScript rs) argument
410 initPredefined(RenderScript rs) argument
[all...]
H A DLight.java27 Light(int id, RenderScript rs) { argument
28 super(rs);
47 public Builder(RenderScript rs) { argument
48 mRS = rs;
61 static synchronized Light internalCreate(RenderScript rs, Builder b) { argument
62 rs.nSamplerBegin();
63 rs.nLightSetIsMono(b.mIsMono);
64 rs.nLightSetIsLocal(b.mIsLocal);
65 int id = rs.nLightCreate();
66 return new Light(id, rs);
[all...]
H A DProgramStore.java78 ProgramStore(int id, RenderScript rs) { argument
79 super(rs);
101 public Builder(RenderScript rs, Element in, Element out) { argument
102 mRS = rs;
141 static synchronized ProgramStore internalCreate(RenderScript rs, Builder b) { argument
150 rs.nProgramFragmentStoreBegin(inID, outID);
151 rs.nProgramFragmentStoreDepthFunc(b.mDepthFunc.mID);
152 rs.nProgramFragmentStoreDepthMask(b.mDepthMask);
153 rs.nProgramFragmentStoreColorMask(b.mColorMaskR,
157 rs
[all...]
H A DSampler.java49 Sampler(int id, RenderScript rs) { argument
50 super(rs);
62 public Builder(RenderScript rs) { argument
63 mRS = rs;
113 static synchronized Sampler internalCreate(RenderScript rs, Builder b) { argument
114 rs.nSamplerBegin();
115 rs.nSamplerSet(0, b.mMin.mID);
116 rs.nSamplerSet(1, b.mMag.mID);
117 rs.nSamplerSet(2, b.mWrapS.mID);
118 rs
[all...]
H A DAllocation.java37 Allocation(int id, RenderScript rs, Type t) { argument
38 super(rs);
148 Adapter1D(int id, RenderScript rs) { argument
149 super(rs);
191 Adapter2D(int id, RenderScript rs) { argument
192 super(rs);
240 static public Allocation createTyped(RenderScript rs, Type type) argument
243 rs.validate();
247 int id = rs.nAllocationCreateTyped(type.mID);
248 return new Allocation(id, rs, typ
251 createSized(RenderScript rs, Element e, int count) argument
266 elementFromBitmap(RenderScript rs, Bitmap b) argument
283 typeFromBitmap(RenderScript rs, Bitmap b) argument
291 createFromBitmap(RenderScript rs, Bitmap b, Element dstFmt, boolean genMips) argument
304 createBitmapRef(RenderScript rs, Bitmap b) argument
320 createFromBitmapBoxed(RenderScript rs, Bitmap b, Element dstFmt, boolean genMips) argument
331 createFromBitmapResource(RenderScript rs, Resources res, int id, Element dstFmt, boolean genMips) argument
363 createFromBitmapResourceBoxed(RenderScript rs, Resources res, int id, Element dstFmt, boolean genMips) argument
[all...]
H A DBaseObj.java27 BaseObj(RenderScript rs) { argument
28 rs.validate();
29 mRS = rs;
H A DProgramRaster.java37 ProgramRaster(int id, RenderScript rs) { argument
38 super(rs);
77 public Builder(RenderScript rs, Element in, Element out) { argument
78 mRS = rs;
79 mPR = new ProgramRaster(0, rs);
95 static synchronized ProgramRaster internalCreate(RenderScript rs, Builder b) { argument
H A DType.java97 Type(int id, RenderScript rs) { argument
98 super(rs);
111 public static Type createFromClass(RenderScript rs, Class c, int size) { argument
112 Element e = Element.createFromClass(rs, c);
113 Builder b = new Builder(rs, e);
143 rs.nTypeSetupFields(t, arTypes, arBits, fields);
149 public static Type createFromClass(RenderScript rs, Class c, int size, String scriptName) { argument
150 Type t = createFromClass(rs, c, size);
167 public Builder(RenderScript rs, Element e) { argument
172 mRS = rs;
192 internalCreate(RenderScript rs, Builder b) argument
[all...]
H A DProgramVertex.java32 ProgramVertex(int id, RenderScript rs) { argument
33 super(id, rs);
46 public Builder(RenderScript rs, Element in, Element out) { argument
47 mRS = rs;
61 public ShaderBuilder(RenderScript rs) { argument
62 super(rs);
105 public MatrixAllocation(RenderScript rs) { argument
110 mAlloc = Allocation.createSized(rs, Element.createUser(rs, Element.DataType.FLOAT_32), 48);
H A DProgramFragment.java29 ProgramFragment(int id, RenderScript rs) { argument
30 super(id, rs);
34 public ShaderBuilder(RenderScript rs) { argument
35 super(rs);
103 public Builder(RenderScript rs) { argument
104 mRS = rs;
H A DRenderScript.java257 MessageThread(RenderScript rs) { argument
259 mRS = rs;
295 RenderScript rs = new RenderScript();
297 rs.mDev = rs.nDeviceCreate();
298 rs.mContext = rs.nContextCreate(rs.mDev, 0);
299 rs.mMessageThread = new MessageThread(rs);
[all...]
H A DProgram.java40 Program(int id, RenderScript rs) { argument
41 super(rs);
83 protected BaseProgramBuilder(RenderScript rs) { argument
84 mRS = rs;
H A DSimpleMesh.java32 SimpleMesh(int id, RenderScript rs) { argument
33 super(rs);
81 public Builder(RenderScript rs) { argument
82 mRS = rs;
136 static synchronized SimpleMesh internalCreate(RenderScript rs, Builder b) { argument
160 int id = rs.nSimpleMeshCreate(0, indexID, IDs, b.mPrimitive.mID);
165 return new SimpleMesh(id, rs);
206 public TriangleMeshBuilder(RenderScript rs, int vtxSize, int flags) { argument
207 mRS = rs;
H A DScript.java45 Script(int id, RenderScript rs) { argument
46 super(rs);
88 Builder(RenderScript rs) { argument
89 mRS = rs;
H A DScriptC.java36 ScriptC(int id, RenderScript rs) { argument
37 super(id, rs);
46 public Builder(RenderScript rs) { argument
47 super(rs);
H A DRSSurfaceView.java165 public void createRenderScript(RenderScriptGL rs) { argument
166 mRS = rs;
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
H A DAbstractJDBCDriverTest.java137 ResultSet rs = stmt.executeQuery("select * from tbl1");
139 for (; rs.next(); i++) {
141 assertEquals(ones[i], rs.getString("one"));
142 assertEquals(twos[i], rs.getShort("two"));
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dofstream.h35 inline void stat (struct stat& rs) const { m_File.stat (rs); }
63 inline void stat (struct stat& rs) const { m_File.stat (rs); }
H A Dmistream.h157 const size_t rs (required_stream_size (m_v, *m_pis));
158 if (m_pis->remaining() < rs && m_pis->underflow (rs) < rs) {
H A Dfstream.h44 void stat (struct stat& rs) const;
/frameworks/base/libs/rs/
H A DAndroid.mk44 $(GEN) : PRIVATE_CUSTOM_TOOL = $(RSG_GENERATOR) $< $@ <$(PRIVATE_PATH)/rs.spec
45 $(GEN) : $(RSG_GENERATOR) $(LOCAL_PATH)/rs.spec
61 $(GEN) : PRIVATE_CUSTOM_TOOL = $(RSG_GENERATOR) $< $@ <$(PRIVATE_PATH)/rs.spec
62 $(GEN) : $(RSG_GENERATOR) $(LOCAL_PATH)/rs.spec
/frameworks/base/graphics/jni/
H A DAndroid.mk31 $(LOCAL_PATH)/../../libs/rs \
/frameworks/base/libs/rs/java/Fountain/src/com/android/fountain/
H A DFountainRS.java40 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument
41 mRS = rs;
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java78 RestrictedState rs; field in class:GsmServiceStateTracker
197 rs = new RestrictedState();
312 if (rs.isPsRestricted()) {
332 if (rs.isPsRestricted()) {
1161 Log.d(LOG_TAG, "[DSAC DEB] " + "current rs at enter "+ rs);
1179 Log.d(LOG_TAG, "[DSAC DEB] " + "new rs "+ newRs);
1181 if (!rs.isPsRestricted() && newRs.isPsRestricted()) {
1184 } else if (rs.isPsRestricted() && !newRs.isPsRestricted()) {
1194 if (rs
[all...]
/frameworks/base/libs/rs/java/Film/src/com/android/film/
H A DFilmStripMesh.java92 SimpleMesh init(RenderScript rs) argument
216 rs, 3,
235 //android.util.Log.e("rs", "vtx x="+t.x+" y="+t.y+" z="+t.z+" s="+t.s+" t="+t.t);
240 //android.util.Log.e("rs", "vtx x="+t.x+" y="+t.y+" z="+t.z+" s="+t.s+" t="+t.t);

Completed in 208 milliseconds

12