Home
last modified time | relevance | path

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

/frameworks/base/libs/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()
DrsContext.cpp507 void Context::setProgramRaster(ProgramRaster *pr) { in setProgramRaster() argument
509 if (pr == NULL) { in setProgramRaster()
512 mRaster.set(pr); in setProgramRaster()
624 ProgramRaster *pr = static_cast<ProgramRaster *>(vpr); in rsi_ContextBindProgramRaster() local
625 rsc->setProgramRaster(pr); in rsi_ContextBindProgramRaster()
DrsScriptC_LibGL.cpp74 void rsrBindProgramRaster(Context *rsc, Script *sc, ProgramRaster *pr) { in rsrBindProgramRaster() argument
75 CHECK_OBJ_OR_NULL(pr); in rsrBindProgramRaster()
76 rsc->setProgramRaster(pr); in rsrBindProgramRaster()
/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp98 SkImageRef* pr; in installPixelRef() local
101 pr = new SkImageRef_ashmem(stream, bitmap->config(), sampleSize); in installPixelRef()
103 pr = new SkImageRef_GlobalPool(stream, bitmap->config(), sampleSize); in installPixelRef()
105 pr->setDitherImage(ditherImage); in installPixelRef()
106 bitmap->setPixelRef(pr)->unref(); in installPixelRef()
107 pr->isOpaque(bitmap); in installPixelRef()
108 return pr; in installPixelRef()
242 SkPixelRef* pr; in doDecode() local
244 pr = installPixelRef(bitmap, stream, sampleSize, doDither); in doDecode()
248 pr = bitmap->pixelRef(); in doDecode()
[all …]
DBitmapRegionDecoder.cpp241 SkPixelRef* pr = bitmap->pixelRef(); in nativeDecodeRegion() local
243 pr->setImmutable(); in nativeDecodeRegion()
DGraphics.cpp496 SkPixelRef* pr = new AndroidPixelRef(env, (void*) addr, size, arrayObj, ctable); in allocateJavaPixelRef() local
497 bitmap->setPixelRef(pr)->unref(); in allocateJavaPixelRef()
/frameworks/base/libs/rs/driver/
DrsdProgramRaster.cpp35 void rsdProgramRasterSetActive(const Context *rsc, const ProgramRaster *pr) { in rsdProgramRasterSetActive() argument
36 switch (pr->mHal.state.cull) { in rsdProgramRasterSetActive()
DrsdRuntimeStubs.cpp112 static void SC_BindProgramRaster(ProgramRaster *pr) { in SC_BindProgramRaster() argument
114 rsrBindProgramRaster(rsc, sc, pr); in SC_BindProgramRaster()
/frameworks/base/keystore/java/android/security/
DCredentials.java98 PEMReader pr = new PEMReader(reader); in convertFromPem() local
102 while ((o = pr.readObject()) != null) { in convertFromPem()
105 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.java1516 ProcessRecord pr = mPidsSelfLocked.get(st.pid); in updateCpuStatsNow() local
1521 if (pr != null) { in updateCpuStatsNow()
1522 BatteryStatsImpl.Uid.Proc ps = pr.batteryStats; in updateCpuStatsNow()
1526 pr.curCpuTime += (st.rel_utime+st.rel_stime) * 10; in updateCpuStatsNow()
4188 ProcessRecord pr = mPidsSelfLocked.get(token.pid);
4189 if (pr == null) {
4192 pr.forcingToForeground = null;
4193 pr.foregroundServices = false;
4206 ProcessRecord pr = mPidsSelfLocked.get(pid);
4207 if (pr == null) {
[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.java5675 Printer pr = new PrintWriterPrinter(pw); in dumpLocked() local
5676 pr.println("*** Screen timer:"); in dumpLocked()
5677 mScreenOnTimer.logState(pr, " "); in dumpLocked()
5679 pr.println("*** Screen brightness #" + i + ":"); in dumpLocked()
5680 mScreenBrightnessTimer[i].logState(pr, " "); in dumpLocked()
5682 pr.println("*** Input event counter:"); in dumpLocked()
5683 mInputEventCounter.logState(pr, " "); in dumpLocked()
5684 pr.println("*** Phone timer:"); in dumpLocked()
5685 mPhoneOnTimer.logState(pr, " "); in dumpLocked()
5687 pr.println("*** Signal strength #" + i + ":"); in dumpLocked()
[all …]
/frameworks/base/core/java/android/app/
DActivityThread.java3985 final ProviderClientRecord pr = mProviderMap.get(name); in getExistingProvider() local
3986 if (pr != null) { in getExistingProvider()
3987 return pr.mProvider; in getExistingProvider()
4118 ProviderClientRecord pr = iter.next(); in removeProviderLocked() local
4119 IBinder myBinder = pr.mProvider.asBinder(); in removeProviderLocked()
4122 if(pr.mLocalProvider != null) { in removeProviderLocked()
4129 myBinder.unlinkToDeath(pr, 0); in removeProviderLocked()
4133 name = pr.mName; in removeProviderLocked()
4143 ProviderClientRecord pr = mProviderMap.get(name); in removeDeadProvider() local
4144 if (pr != null && pr.mProvider.asBinder() == provider.asBinder()) { in removeDeadProvider()
[all …]
/frameworks/base/tools/aapt/
DXMLNode.cpp487 String8 pr; in printXMLBlock() local
489 pr = String8(prefix16); in printXMLBlock()
491 pr = "<DEF>"; in printXMLBlock()
493 if (ns.prefix != pr) { in printXMLBlock()
496 prefix.string(), pr.string(), ns.prefix.string()); in printXMLBlock()
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java162 native void rsnContextBindProgramRaster(int con, int pr); in rsnContextBindProgramRaster() argument
163 synchronized void nContextBindProgramRaster(int pr) { in nContextBindProgramRaster() argument
165 rsnContextBindProgramRaster(mContext, pr); in nContextBindProgramRaster()
/frameworks/base/libs/rs/scriptc/
Drs_graphics.rsh97 * @param pr
100 rsgBindProgramRaster(rs_program_raster pr);