Searched refs:ps (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/rs/driver/
H A DrsdProgramStore.h24 const android::renderscript::ProgramStore *ps);
26 const android::renderscript::ProgramStore *ps);
28 const android::renderscript::ProgramStore *ps);
H A DrsdProgramStore.cpp40 bool rsdProgramStoreInit(const Context *rsc, const ProgramStore *ps) { argument
46 ps->mHal.drv = drv;
49 switch (ps->mHal.state.depthFunc) {
80 if ((ps->mHal.state.blendSrc == RS_BLEND_SRC_ONE) &&
81 (ps->mHal.state.blendDst == RS_BLEND_DST_ZERO)) {
85 switch (ps->mHal.state.blendSrc) {
118 switch (ps->mHal.state.blendDst) {
152 ps->mHal.drv = NULL;
156 void rsdProgramStoreSetActive(const Context *rsc, const ProgramStore *ps) { argument
157 DrvProgramStore *drv = (DrvProgramStore *)ps
199 rsdProgramStoreDestroy(const Context *rsc, const ProgramStore *ps) argument
[all...]
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_program.c9 rsgProgramStoreGetDepthFunc(rs_program_store ps) { argument
10 ProgramStore_t *prog = (ProgramStore_t *)ps.p;
18 rsgProgramStoreIsDepthMaskEnabled(rs_program_store ps) { argument
19 ProgramStore_t *prog = (ProgramStore_t *)ps.p;
27 rsgProgramStoreIsColorMaskRedEnabled(rs_program_store ps) { argument
28 ProgramStore_t *prog = (ProgramStore_t *)ps.p;
36 rsgProgramStoreIsColorMaskGreenEnabled(rs_program_store ps) { argument
37 ProgramStore_t *prog = (ProgramStore_t *)ps.p;
45 rsgProgramStoreIsColorMaskBlueEnabled(rs_program_store ps) { argument
46 ProgramStore_t *prog = (ProgramStore_t *)ps
54 rsgProgramStoreIsColorMaskAlphaEnabled(rs_program_store ps) argument
63 rsgProgramStoreGetBlendSrcFunc(rs_program_store ps) argument
72 rsgProgramStoreGetBlendDstFunc(rs_program_store ps) argument
81 rsgProgramStoreIsDitherEnabled(rs_program_store ps) argument
[all...]
/frameworks/rs/scriptc/
H A Drs_program.rsh31 * @param ps program store to query
34 rsgProgramStoreGetDepthFunc(rs_program_store ps);
39 * @param ps program store to query
42 rsgProgramStoreIsDepthMaskEnabled(rs_program_store ps);
46 * @param ps program store to query
49 rsgProgramStoreIsColorMaskRedEnabled(rs_program_store ps);
54 * @param ps program store to query
57 rsgProgramStoreIsColorMaskGreenEnabled(rs_program_store ps);
62 * @param ps program store to query
65 rsgProgramStoreIsColorMaskBlueEnabled(rs_program_store ps);
[all...]
H A Drs_graphics.rsh84 * @param ps
87 rsgBindProgramStore(rs_program_store ps);
174 * @param ps program object
179 rsgBindConstant(rs_program_fragment ps, uint slot, rs_allocation c);
/frameworks/support/renderscript/v8/rs_support/scriptc/
H A Drs_program.rsh31 * @param ps program store to query
34 rsgProgramStoreGetDepthFunc(rs_program_store ps);
39 * @param ps program store to query
42 rsgProgramStoreIsDepthMaskEnabled(rs_program_store ps);
46 * @param ps program store to query
49 rsgProgramStoreIsColorMaskRedEnabled(rs_program_store ps);
54 * @param ps program store to query
57 rsgProgramStoreIsColorMaskGreenEnabled(rs_program_store ps);
62 * @param ps program store to query
65 rsgProgramStoreIsColorMaskBlueEnabled(rs_program_store ps);
[all...]
H A Drs_graphics.rsh84 * @param ps
87 rsgBindProgramStore(rs_program_store ps);
174 * @param ps program object
179 rsgBindConstant(rs_program_fragment ps, uint slot, rs_allocation c);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DPackageManagerSettingsTests.java146 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_1);
147 assertEquals(COMPONENT_ENABLED_STATE_DEFAULT, ps.getEnabled(0));
148 assertEquals(true, ps.getNotLaunched(0));
150 ps = settings.peekPackageLPr(PACKAGE_NAME_2);
151 assertEquals(false, ps.getStopped(0));
152 assertEquals(COMPONENT_ENABLED_STATE_DISABLED_USER, ps.getEnabled(0));
153 assertEquals(COMPONENT_ENABLED_STATE_DEFAULT, ps.getEnabled(1));
166 PackageSetting ps = settings.peekPackageLPr(PACKAGE_NAME_2);
167 assertEquals(COMPONENT_ENABLED_STATE_DISABLED_USER, ps.getEnabled(0));
168 assertEquals(COMPONENT_ENABLED_STATE_DEFAULT, ps
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java642 PrintStream ps = new PrintStream(s.getOutputStream());
667 ps.print(HTTP_VERSION_STRING + " " + HTTP_BAD_METHOD +
669 ps.write(buf, 0, 5);
670 ps.write(EOL);
671 ps.flush();
688 printStatus(ps);
689 printHeaders(ps);
692 psWriteEOL(ps);
699 send404(ps);
701 sendFile(ps);
752 psPrint(PrintStream ps, String s) argument
758 psWrite(PrintStream ps, byte[] bytes, int len) argument
764 psWriteEOL(PrintStream ps) argument
771 printStatus(PrintStream ps) argument
801 printHeaders(PrintStream ps) argument
844 send404(PrintStream ps) argument
853 sendFile(PrintStream ps) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java152 PointerState ps = new PointerState();
153 mPointers.add(ps);
211 final PointerState ps = mPointers.get(mActivePointerId);
219 final int N = ps.mTraceCount;
220 if ((mCurDown && ps.mCurDown) || N == 0) {
223 .append("X: ").append(ps.mCoords.x, 1)
227 .append("Y: ").append(ps.mCoords.y, 1)
230 float dx = ps.mTraceX[N - 1] - ps.mTraceX[0];
231 float dy = ps
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DRenderState.java48 ProgramStore ps,
52 mStore = ps;
73 public void setProgramStore(ProgramStore ps) { argument
74 mStore = ps;
90 item.ps = mStore;
46 RenderState(VertexShader pv, FragmentShader pf, ProgramStore ps, ProgramRaster pr) argument
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUT_program_store.java105 void checkObject(ProgramStore ps, argument
115 _RS_ASSERT("ps.isDepthMaskEnabled() == depthMask", ps.isDepthMaskEnabled() == depthMask);
116 _RS_ASSERT("ps.getDepthFunc() == df", ps.getDepthFunc() == df);
117 _RS_ASSERT("ps.getBlendSrcFunc() == bsf", ps.getBlendSrcFunc() == bsf);
118 _RS_ASSERT("ps.getBlendDstFunc() == bdf", ps.getBlendDstFunc() == bdf);
119 _RS_ASSERT("ps
[all...]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLoadTestsAutoTest.java156 private void printRow(PrintStream ps, String format, Object...objs) { argument
157 ps.println(String.format(format, objs));
166 PrintStream ps = new PrintStream(out);
168 ps.print("\n\n\n");
169 ps.println("** MEMINFO in pid " + Process.myPid()
193 printRow(ps, formatString, "", "native", "dalvik", "other", "total");
194 printRow(ps, formatString, "size:", nativeMax, dalvikMax, "N/A", nativeMax + dalvikMax);
195 printRow(ps, formatString, "allocated:", nativeAllocated, dalvikAllocated, "N/A",
197 printRow(ps, formatString, "free:", nativeFree, dalvikFree, "N/A",
200 printRow(ps, formatStrin
[all...]
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java664 PackageSetting ps = mSettings.mPackages.get(ent.getKey());
665 uids[i] = (ps != null) ? ps.appId : -1;
1177 PackageSetting ps = psit.next();
1183 if ((ps.pkgFlags & ApplicationInfo.FLAG_SYSTEM) == 0) {
1190 final PackageParser.Package scannedPkg = mPackages.get(ps.name);
1199 if (mSettings.isDisabledSystemPackageLPr(ps.name)) {
1200 Slog.i(TAG, "Expecting better updatd system app for " + ps.name
1202 removePackageLI(ps, true);
1208 if (!mSettings.isDisabledSystemPackageLPr(ps
1373 cleanupInstallFailedPackage(PackageSetting ps) argument
3192 collectCertificatesLI(PackageParser pp, PackageSetting ps, PackageParser.Package pkg, File srcFile, int parseFlags) argument
4498 removePackageLI(PackageSetting ps, boolean chatty) argument
7934 isForwardLocked(PackageSetting ps) argument
7942 isExternal(PackageSetting ps) argument
7954 isSystemApp(PackageSetting ps) argument
7962 packageFlagsToInstallFlags(PackageSetting ps) argument
8150 removePackageDataLI(PackageSetting ps, PackageRemovedInfo outInfo, int flags, boolean writeSettings) argument
8257 deleteInstalledPackageLI(PackageSetting ps, boolean deleteCodeAndResources, int flags, PackageRemovedInfo outInfo, boolean writeSettings) argument
[all...]
H A DSettings.java870 PackageSetting ps = null;
882 ps = mPackages.get(name);
883 if (ps == null) {
921 ps.setUserState(userId, enabled, installed, stopped, notLaunched,
1177 PackageSetting ps = mPackages.get(name);
1178 if (ps != null) {
1179 ps.setStopped(true, 0);
1181 ps.setNotLaunched(true, 0);
1545 final PackageSetting ps = mPackages.get(key);
1546 if (ps
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc4_17pf.cpp400 Word16 ps = 0; /* initialization only needed to keep gcc silent */ local
465 ps = 0;
505 ps = ps1;
516 ps0 = ps;
523 ps = 0;
563 ps = ps1;
574 ps0 = ps;
579 ps = 0;
618 ps = ps1;
H A Ds10_8pf.cpp192 Word16 psk, ps, ps0, ps1, ps2, sq, sq2;
247 ps = 0;
285 ps = ps2;
299 ps0 = ps;
315 ps = 0;
345 ps = ps2;
359 ps0 = ps;
377 ps = 0;
409 ps = ps2;
427 ps0 = ps;
584 Word16 ps; local
[all...]
H A Dc3_14pf.cpp386 Word16 ps = 0; /* initialization only needed to keep gcc silent */ local
453 ps = 0;
495 ps = ps1;
506 ps0 = ps;
513 ps = 0;
553 ps = ps1;
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dc4t64fx.c106 Word16 * ps, /* (i/o) correlation of all fixed pulses */
137 Word16 psk, ps, alpk, alp, val, k_cn, k_dn, exp; local
284 ps = dn2[i];
285 if (ps >= 0)
294 dn2[i] = -ps;
305 ps = -1;
308 if(dn2[j] > ps)
310 ps = dn2[j];
557 ps = 0;
570 ps
964 search_ixiy( Word16 nb_pos_ix, Word16 track_x, Word16 track_y, Word16 * ps, Word16 * alp, Word16 * ix, Word16 * iy, Word16 dn[], Word16 dn2[], Word16 cor_x[], Word16 cor_y[], Word16 rrixiy[][MSIZE] ) argument
[all...]
H A Dc2t64fx.c57 Word16 ps, psk, ps1, ps2, alpk, alp1, alp2, sq; local
117 ps = dn2[i];
118 if (ps >= 0)
/frameworks/rs/
H A DrsProgramStore.cpp153 ObjectBaseRef<ProgramStore> ps = ProgramStore::getProgramStore(rsc, local
158 ps->incUserRef();
159 return ps.get();
H A Drs_hal.h213 bool (*init)(const Context *rsc, const ProgramStore *ps);
214 void (*setActive)(const Context *rsc, const ProgramStore *ps);
215 void (*destroy)(const Context *rsc, const ProgramStore *ps);
219 bool (*init)(const Context *rsc, const ProgramRaster *ps);
220 void (*setActive)(const Context *rsc, const ProgramRaster *ps);
221 void (*destroy)(const Context *rsc, const ProgramRaster *ps);
H A DrsScriptC_LibGL.cpp73 void rsrBindProgramStore(Context *rsc, Script *sc, ProgramStore *ps) { argument
74 CHECK_OBJ_OR_NULL(ps);
75 rsc->setProgramStore(ps);
/frameworks/native/libs/utils/
H A DString16.cpp323 const size_t ps = prefix.size(); local
324 if (ps > size()) return false;
325 return strzcmp16(mString, ps, prefix.string(), ps) == 0;
330 const size_t ps = strlen16(prefix); local
331 if (ps > size()) return false;
332 return strncmp16(mString, prefix, ps) == 0;
/frameworks/support/renderscript/v8/rs_support/
H A Drs_hal.h213 bool (*init)(const Context *rsc, const ProgramStore *ps);
214 void (*setActive)(const Context *rsc, const ProgramStore *ps);
215 void (*destroy)(const Context *rsc, const ProgramStore *ps);
219 bool (*init)(const Context *rsc, const ProgramRaster *ps);
220 void (*setActive)(const Context *rsc, const ProgramRaster *ps);
221 void (*destroy)(const Context *rsc, const ProgramRaster *ps);

Completed in 326 milliseconds

12