Home
last modified time | relevance | path

Searched refs:pr (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/rs/
DrsProgramRaster.cpp93 ProgramRaster *pr = new ProgramRaster(rsc, pointSprite, cull); in getProgramRaster() local
94 returnRef.set(pr); in getProgramRaster()
97 rsc->mStateRaster.mRasterPrograms.push(pr); in getProgramRaster()
107 ObjectBaseRef<ProgramRaster> pr = ProgramRaster::getProgramRaster(rsc, pointSprite, cull); in rsi_ProgramRasterCreate() local
108 pr->incUserRef(); in rsi_ProgramRasterCreate()
109 return pr.get(); in rsi_ProgramRasterCreate()
DrsThreadIO.cpp130 int pr = poll(p, pollCount, waitTime); in playCoreCommands() local
131 if (pr <= 0) { in playCoreCommands()
DrsContext.cpp541 void Context::setProgramRaster(ProgramRaster *pr) { in setProgramRaster() argument
543 if (pr == NULL) { in setProgramRaster()
546 mRaster.set(pr); in setProgramRaster()
658 ProgramRaster *pr = static_cast<ProgramRaster *>(vpr); in rsi_ContextBindProgramRaster() local
659 rsc->setProgramRaster(pr); in rsi_ContextBindProgramRaster()
DrsScriptC_LibGL.cpp88 void rsrBindProgramRaster(Context *rsc, Script *sc, ProgramRaster *pr) { in rsrBindProgramRaster() argument
89 CHECK_OBJ_OR_NULL(pr); in rsrBindProgramRaster()
90 rsc->setProgramRaster(pr); in rsrBindProgramRaster()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DRenderState.java49 ProgramRaster pr) { in RenderState() argument
53 mRaster = pr; in RenderState()
78 public void setProgramRaster(ProgramRaster pr) { in setProgramRaster() argument
79 mRaster = pr; in setProgramRaster()
91 item.pr = mRaster; in updateRSData()
Drender.rs78 if (rsIsObject(renderState->pr)) {
79 rsgBindProgramRaster(renderState->pr);
81 rs_program_raster pr;
82 rsgBindProgramRaster(pr);
/frameworks/compile/libbcc/lib/ScriptCRT/
Drs_program.c93 rsgProgramRasterIsPointSpriteEnabled(rs_program_raster pr) { in rsgProgramRasterIsPointSpriteEnabled() argument
94 ProgramRaster_t *prog = (ProgramRaster_t *)pr.p; in rsgProgramRasterIsPointSpriteEnabled()
102 rsgProgramRasterGetCullMode(rs_program_raster pr) { in rsgProgramRasterGetCullMode() argument
103 ProgramRaster_t *prog = (ProgramRaster_t *)pr.p; in rsgProgramRasterGetCullMode()
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp142 SkImageRef* pr; in installPixelRef() local
145 pr = new SkImageRef_ashmem(stream, bitmap->config(), sampleSize); in installPixelRef()
147 pr = new SkImageRef_GlobalPool(stream, bitmap->config(), sampleSize); in installPixelRef()
149 pr->setDitherImage(ditherImage); in installPixelRef()
150 bitmap->setPixelRef(pr)->unref(); in installPixelRef()
151 pr->isOpaque(bitmap); in installPixelRef()
152 return pr; in installPixelRef()
353 SkPixelRef* pr; in doDecode() local
355 pr = installPixelRef(bitmap, stream, sampleSize, doDither); in doDecode()
359 pr = bitmap->pixelRef(); in doDecode()
[all …]
DGraphics.cpp496 SkPixelRef* pr = new AndroidPixelRef(env, (void*) addr, size, arrayObj, ctable); in allocateJavaPixelRef() local
497 bitmap->setPixelRef(pr)->unref(); in allocateJavaPixelRef()
/frameworks/rs/driver/
DrsdProgramRaster.cpp35 void rsdProgramRasterSetActive(const Context *rsc, const ProgramRaster *pr) { in rsdProgramRasterSetActive() argument
36 switch (pr->mHal.state.cull) { in rsdProgramRasterSetActive()
DrsdRuntimeStubs.cpp136 static void SC_BindProgramRaster(ProgramRaster *pr) { in SC_BindProgramRaster() argument
138 rsrBindProgramRaster(rsc, sc, pr); in SC_BindProgramRaster()
/frameworks/rs/scriptc/
Drs_program.rsh102 * @param pr program raster to query
105 rsgProgramRasterIsPointSpriteEnabled(rs_program_raster pr);
110 * @param pr program raster to query
113 rsgProgramRasterGetCullMode(rs_program_raster pr);
Drs_graphics.rsh100 * @param pr
103 rsgBindProgramRaster(rs_program_raster pr);
/frameworks/base/keystore/java/android/security/
DCredentials.java130 PEMReader pr = new PEMReader(reader); in convertFromPem() local
134 while ((o = pr.readObject()) != null) { in convertFromPem()
137 pr.close(); in convertFromPem()
/frameworks/base/services/java/com/android/server/am/
DBroadcastFilter.java48 public void dumpInReceiverList(PrintWriter pw, Printer pr, String prefix) { in dumpInReceiverList() argument
49 super.dump(pr, prefix); in dumpInReceiverList()
DReceiverList.java79 Printer pr = new PrintWriterPrinter(pw); in dump() local
89 bf.dumpInReceiverList(pw, pr, p2); in dump()
DActivityManagerService.java1686 ProcessRecord pr = mPidsSelfLocked.get(st.pid); in updateCpuStatsNow() local
1691 if (pr != null) { in updateCpuStatsNow()
1692 BatteryStatsImpl.Uid.Proc ps = pr.batteryStats; in updateCpuStatsNow()
1696 pr.curCpuTime += (st.rel_utime+st.rel_stime) * 10; in updateCpuStatsNow()
4615 ProcessRecord pr = mPidsSelfLocked.get(token.pid);
4616 if (pr == null) {
4619 pr.forcingToForeground = null;
4620 pr.foregroundServices = false;
4633 ProcessRecord pr = mPidsSelfLocked.get(pid);
4634 if (pr == null && isForeground) {
[all …]
/frameworks/base/media/tests/omxjpegdecoder/
Domx_jpeg_decoder.cpp179 SkPixelRef* pr = new SkOmxPixelRef(NULL, buffer, decoder); in installPixelRef() local
180 bm->setPixelRef(pr)->unref(); in installPixelRef()
/frameworks/base/cmds/ime/src/com/android/commands/ime/
DIme.java125 Printer pr = new PrintStreamPrinter(System.out); in runList() local
132 imi.dump(pr, " "); in runList()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5677 Printer pr = new PrintWriterPrinter(pw); in dumpLocked() local
5678 pr.println("*** Screen timer:"); in dumpLocked()
5679 mScreenOnTimer.logState(pr, " "); in dumpLocked()
5681 pr.println("*** Screen brightness #" + i + ":"); in dumpLocked()
5682 mScreenBrightnessTimer[i].logState(pr, " "); in dumpLocked()
5684 pr.println("*** Input event counter:"); in dumpLocked()
5685 mInputEventCounter.logState(pr, " "); in dumpLocked()
5686 pr.println("*** Phone timer:"); in dumpLocked()
5687 mPhoneOnTimer.logState(pr, " "); in dumpLocked()
5689 pr.println("*** Signal strength #" + i + ":"); in dumpLocked()
[all …]
/frameworks/base/core/java/android/app/
DActivityThread.java4304 ProviderClientRecord pr = mProviderMap.get(name); in acquireExistingProvider() local
4305 if (pr == null) { in acquireExistingProvider()
4309 IContentProvider provider = pr.mProvider; in acquireExistingProvider()
4430 ProviderClientRecord pr = iter.next(); in completeRemoveProvider() local
4431 IBinder myBinder = pr.mProvider.asBinder(); in completeRemoveProvider()
4459 ProviderClientRecord pr = mProviderMap.get(name); in handleUnstableProviderDied() local
4460 if (pr != null && pr.mProvider.asBinder() == provider) { in handleUnstableProviderDied()
4583 ProviderClientRecord pr = mLocalProvidersByName.get(cname); in installProvider() local
4584 if (pr != null) { in installProvider()
4589 provider = pr.mProvider; in installProvider()
[all …]
/frameworks/base/tools/aapt/
DXMLNode.cpp494 String8 pr; in printXMLBlock() local
496 pr = String8(prefix16); in printXMLBlock()
498 pr = "<DEF>"; in printXMLBlock()
500 if (ns.prefix != pr) { in printXMLBlock()
503 prefix.string(), pr.string(), ns.prefix.string()); in printXMLBlock()
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java185 native void rsnContextBindProgramRaster(int con, int pr); in rsnContextBindProgramRaster() argument
186 synchronized void nContextBindProgramRaster(int pr) { in nContextBindProgramRaster() argument
188 rsnContextBindProgramRaster(mContext, pr); in nContextBindProgramRaster()
/frameworks/compile/mclinker/unittests/
Dtest3.txt166 # Kludge for pr gdb/857. intl/Makefile.in lacks a couple
265 GNATS_SUPPORT_DIRS=include libiberty send-pr
/frameworks/base/docs/html/intl/es/training/multiscreen/
Dindex.jd46 …cada sección se ha extraído de una aplicación de ejemplo para explicar las prácticas recomendadas …

12