Home
last modified time | relevance | path

Searched refs:pc (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
DQuad.java249 PointF pc = center(); in grow() local
250 return new Quad(factor * (mTopLeft.x - pc.x) + pc.x, in grow()
251 factor * (mTopLeft.y - pc.y) + pc.y, in grow()
252 factor * (mTopRight.x - pc.x) + pc.x, in grow()
253 factor * (mTopRight.y - pc.y) + pc.y, in grow()
254 factor * (mBottomLeft.x - pc.x) + pc.x, in grow()
255 factor * (mBottomLeft.y - pc.y) + pc.y, in grow()
256 factor * (mBottomRight.x - pc.x) + pc.x, in grow()
257 factor * (mBottomRight.y - pc.y) + pc.y); in grow()
/frameworks/native/libs/binder/
DIServiceManager.cpp77 sp<IPermissionController> pc; in checkPermission() local
79 pc = gPermissionController; in checkPermission()
85 if (pc != nullptr) { in checkPermission()
86 bool res = pc->checkPermission(permission, pid, uid); in checkPermission()
97 if (IInterface::asBinder(pc)->isBinderAlive()) { in checkPermission()
105 if (gPermissionController == pc) { in checkPermission()
122 pc = interface_cast<IPermissionController>(binder); in checkPermission()
125 gPermissionController = pc; in checkPermission()
DPermissionCache.cpp98 PermissionCache& pc(PermissionCache::getInstance()); in checkPermission() local
100 if (pc.check(&granted, permission, uid) != NO_ERROR) { in checkPermission()
107 pc.cache(permission, uid, granted); in checkPermission()
/frameworks/compile/mclinker/lib/LD/
DEhFrameHdr.cpp167 SizeTraits<32>::Address pc = 0x0; in computePCBegin() local
170 std::memcpy(&pc, offset, pc_size); in computePCBegin()
175 pc = (pc ^ 0x8000) - 0x8000; in computePCBegin()
182 pc += m_EhFrame.addr() + pFDE.getOffset() + in computePCBegin()
192 return pc; in computePCBegin()
/frameworks/base/core/java/android/view/
DMotionEvent.java1872 final PointerCoords pc[] = gSharedTempPointerCoords; in obtain() local
1873 pc[0].clear(); in obtain()
1874 pc[0].x = x; in obtain()
1875 pc[0].y = y; in obtain()
1876 pc[0].pressure = pressure; in obtain()
1877 pc[0].size = size; in obtain()
1884 1, pp, pc); in obtain()
3203 final PointerCoords[] pc = gSharedTempPointerCoords; in addBatch() local
3204 pc[0].clear(); in addBatch()
3205 pc[0].x = x; in addBatch()
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dbugdroid.rs70 float3 pc = img - center;
71 float tmp1 = dot(normal, pc);
73 float tmp2 = (sqrt(length(pc) * length(pc) - tmp1) - radius);
85 float3 pc = img - center;
86 float tmp1 = dot(normal, pc);
88 float tmp2 = (sqrt(length(pc) * length(pc) - tmp1) - radius);
89 if (length(pc - dot(normal, pc) * normal) > radius) {
/frameworks/opt/gamesdk/src/tuningfork/
Dclearcutserializer.cpp89 const ProngCache* pc =static_cast<const ProngCache*>(*arg); in writeHistograms() local
90 for (auto &p: pc->prongs_) { in writeHistograms()
140 void ClearcutSerializer::FillHistograms(const ProngCache& pc, TuningForkLogEvent &evt) { in FillHistograms() argument
142 evt.histograms.arg = (void*)&pc; in FillHistograms()
154 void ClearcutSerializer::SerializeEvent(const ProngCache& pc, in SerializeEvent() argument
161 FillHistograms(pc,evt); in SerializeEvent()
Dclearcutserializer.h41 static void FillHistograms(const ProngCache& pc, TuningForkLogEvent &evt);
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp457 layer_id id, const PositionChange& pc) { in setPosition() argument
458 ALOGV("Layer %d: Setting Position -- x=%f, y=%f", id, pc.x(), pc.y()); in setPosition()
459 t.setPosition(mLayers[id], pc.x(), pc.y()); in setPosition()
589 display_id id, const ProjectionChange& pc) { in setDisplayProjection() argument
590 Rect viewport = Rect(pc.viewport().left(), pc.viewport().top(), pc.viewport().right(), in setDisplayProjection()
591 pc.viewport().bottom()); in setDisplayProjection()
592 Rect frame = Rect(pc.frame().left(), pc.frame().top(), pc.frame().right(), pc.frame().bottom()); in setDisplayProjection()
594 t.setDisplayProjection(mDisplays[id], pc.orientation(), viewport, frame); in setDisplayProjection()
DReplayer.h84 layer_id id, const PositionChange& pc);
119 display_id id, const ProjectionChange& pc);
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DServiceManagerPermissionTests.java52 IPermissionController pc = new IPermissionController.Stub() { in testSetPermissionController() local
79 .setPermissionController(pc); in testSetPermissionController()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_neon_Blur.S96 1: ifcc add \reg, \reg, pc
274 ldr r12, [pc, r5, LSL #2]
275 add pc, pc, r12
345 ldr r12, [pc, r5, LSL #2]
346 add pc, pc, r12
477 ldr r12, [pc, r5, LSL #2]
478 add pc, pc, r12
675 ldr r12, [pc, r5, LSL #2]
676 add pc, pc, r12
726 ldr r12, [pc, r5, LSL #2]
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DTouchExplorerTest.java312 final MotionEvent.PointerCoords[] pc = new MotionEvent.PointerCoords[len]; in manyPointerEvent() local
317 pc[i] = pointerCoord; in manyPointerEvent()
324 /* pointerCount */ pc.length, in manyPointerEvent()
326 /* pointerCoords */ pc, in manyPointerEvent()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
D.gitignore32 protobuf-lite.pc
33 protobuf.pc
Dconfigure.ac188 …ILES([Makefile src/Makefile benchmarks/Makefile conformance/Makefile protobuf.pc protobuf-lite.pc])
/frameworks/native/opengl/tests/angeles/
Ddemo.c243 VECTOR3 pa, pb, pc, pd; in createSuperShape() local
251 superShapeMap(&pc, r2, r3, t2, p2); in createSuperShape()
325 result->vertexArray[currentVertex * 3] = FIXED(pc.x); in createSuperShape()
326 result->vertexArray[currentVertex * 3 + 1] = FIXED(pc.y); in createSuperShape()
327 result->vertexArray[currentVertex * 3 + 2] = FIXED(pc.z); in createSuperShape()
/frameworks/native/opengl/libagl/
Diterators.S88 ldmfd sp!, {r4, r5, r6, r7, r8, pc}
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1947 for (int pc = 0; pc < this.allowedPairwiseCiphers.size(); pc++) { in toString()
1948 if (this.allowedPairwiseCiphers.get(pc)) { in toString()
1950 if (pc < PairwiseCipher.strings.length) { in toString()
1951 sbuf.append(PairwiseCipher.strings[pc]); in toString()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.c6607 uint32_t *pc; member
6679 static uint32_t pcofs(compiler *c) { return c->pc - c->group->bytecode; } in pcofs()
6693 setofs(codep, c->pc - codep - instruction_len(*codep)); in label()
6715 uint32_t from = (c->pc + 1) - c->group->bytecode; in labelref()
6728 if (c->pc == g->bytecode_end) { in put32()
6735 c->pc = g->bytecode + ofs; in put32()
6737 *c->pc++ = v; in put32()
7232 start_pc = c->pc; in compile_method()
7252 if (c->pc == start_pc) { in compile_method()
7309 c->pc = c->group->bytecode; in compile_methods()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.c7280 uint32_t *pc; member
7352 static uint32_t pcofs(compiler *c) { return c->pc - c->group->bytecode; } in pcofs()
7366 setofs(codep, c->pc - codep - instruction_len(*codep)); in label()
7388 uint32_t from = (c->pc + 1) - c->group->bytecode; in labelref()
7401 if (c->pc == g->bytecode_end) { in put32()
7409 c->pc = g->bytecode + ofs; in put32()
7411 *c->pc++ = v; in put32()
7911 start_pc = c->pc; in compile_method()
7931 if (c->pc == start_pc) { in compile_method()
7988 c->pc = c->group->bytecode; in compile_methods()
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/
Dpvmp3_dct_16_gcc.s274 ldmfd sp!,{r4-r11,pc}
362 ldmfd sp!,{r4,pc}
422 ldmfd sp!,{r4,r5,pc}
Dpvmp3_dct_9_gcc.s174 ldmfd sp!,{r4-r11,pc}
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp721 PermissionController pc; in handleSetUidState() local
722 int uid = pc.getPackageUid(args[1], 0); in handleSetUidState()
740 PermissionController pc; in handleResetUidState() local
741 int uid = pc.getPackageUid(args[1], 0); in handleResetUidState()
752 PermissionController pc; in handleGetUidState() local
753 int uid = pc.getPackageUid(args[1], 0); in handleGetUidState()
/frameworks/native/libs/input/
DInput.cpp532 const PointerCoords* pc = mSamplePointerCoords.array(); in writeToParcel() local
536 status_t status = (pc++)->writeToParcel(parcel); in writeToParcel()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5033 PackageChange pc = new PackageChange(); in notePackageInstalledLocked() local
5034 pc.mPackageName = pkgName; in notePackageInstalledLocked()
5035 pc.mUpdate = true; in notePackageInstalledLocked()
5036 pc.mVersionCode = versionCode; in notePackageInstalledLocked()
5037 addPackageChange(pc); in notePackageInstalledLocked()
5045 PackageChange pc = new PackageChange(); in notePackageUninstalledLocked() local
5046 pc.mPackageName = pkgName; in notePackageUninstalledLocked()
5047 pc.mUpdate = true; in notePackageUninstalledLocked()
5048 addPackageChange(pc); in notePackageUninstalledLocked()
5051 private void addPackageChange(PackageChange pc) { in addPackageChange() argument
[all …]

12