/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
D | Quad.java | 249 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/ |
D | PermissionCache.cpp | 98 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() 113 PermissionCache& pc(PermissionCache::getInstance()); in purgeCache() local 114 pc.purge(); in purgeCache()
|
D | IServiceManager.cpp | 194 sp<IPermissionController> pc; in checkPermission() local 196 pc = gPermissionController; in checkPermission() 202 if (pc != nullptr) { in checkPermission() 203 bool res = pc->checkPermission(permission, pid, uid); in checkPermission() 214 if (IInterface::asBinder(pc)->isBinderAlive()) { in checkPermission() 224 if (gPermissionController == pc) { in checkPermission() 241 pc = interface_cast<IPermissionController>(binder); in checkPermission() 244 gPermissionController = pc; in checkPermission()
|
/frameworks/compile/mclinker/lib/LD/ |
D | EhFrameHdr.cpp | 167 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/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | TouchEventGenerator.java | 153 final MotionEvent.PointerCoords[] pc = new MotionEvent.PointerCoords[pointerCount]; in movePointer() local 157 pc[i] = pointerCoord; in movePointer() 159 pc[pointerIndex].x += offsetX; in movePointer() 160 pc[pointerIndex].y += offsetY; in movePointer() 167 /* pointerCoords */ pc, in movePointer()
|
/frameworks/base/services/incremental/ |
D | IncrementalServiceValidation.cpp | 59 PermissionController pc; in CheckPermissionForDataDelivery() local 60 if (auto packageUid = pc.getPackageUid(packageName, 0); packageUid != uid) { in CheckPermissionForDataDelivery() 71 switch (auto result = pc.noteOp(String16(operation), uid, packageName); result) { in CheckPermissionForDataDelivery()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/ |
D | SinglePointerTouchProcessorTest.kt | 593 val pc = MotionEvent.PointerCoords() in genPositiveTestCases() constant 594 pc.x = orientation.getNativeX(pointer.onSensor) * scaleFactor in genPositiveTestCases() 595 pc.y = orientation.getNativeY(pointer.onSensor) * scaleFactor in genPositiveTestCases() 596 pc.touchMinor = NATIVE_MINOR * scaleFactor in genPositiveTestCases() 597 pc.touchMajor = NATIVE_MAJOR * scaleFactor in genPositiveTestCases() 598 pc.orientation = orientation.nativeOrientation in genPositiveTestCases() 599 pc in genPositiveTestCases() 678 val pc = MotionEvent.PointerCoords() in obtainMotionEvent() constant 679 pc.x = x in obtainMotionEvent() 680 pc.y = y in obtainMotionEvent() [all …]
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1927 final PointerCoords pc[] = gSharedTempPointerCoords; in obtain() local 1928 pc[0].clear(); in obtain() 1929 pc[0].x = x; in obtain() 1930 pc[0].y = y; in obtain() 1931 pc[0].pressure = pressure; in obtain() 1932 pc[0].size = size; in obtain() 1938 1, pp, pc); in obtain() 3404 final PointerCoords[] pc = gSharedTempPointerCoords; in addBatch() local 3405 pc[0].clear(); in addBatch() 3406 pc[0].x = x; in addBatch() [all …]
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | Replayer.cpp | 459 layer_id id, const PositionChange& pc) { in setPosition() argument 460 ALOGV("Layer %d: Setting Position -- x=%f, y=%f", id, pc.x(), pc.y()); in setPosition() 461 t.setPosition(mLayers[id], pc.x(), pc.y()); in setPosition() 578 display_id id, const ProjectionChange& pc) { in setDisplayProjection() argument 579 Rect viewport = Rect(pc.viewport().left(), pc.viewport().top(), pc.viewport().right(), in setDisplayProjection() 580 pc.viewport().bottom()); in setDisplayProjection() 581 Rect frame = Rect(pc.frame().left(), pc.frame().top(), pc.frame().right(), pc.frame().bottom()); in setDisplayProjection() 583 t.setDisplayProjection(mDisplays[id], ui::toRotation(pc.orientation()), viewport, frame); in setDisplayProjection()
|
D | Replayer.h | 86 layer_id id, const PositionChange& pc); 129 display_id id, const ProjectionChange& pc);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | bugdroid.rscript | 70 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/base/services/core/java/com/android/server/pm/ |
D | PreferredComponent.java | 264 public boolean sameSet(PreferredComponent pc) { in sameSet() argument 265 if (mSetPackages == null || pc == null || pc.mSetPackages == null in sameSet() 266 || !sameComponent(pc.mComponent)) { in sameSet() 269 final int otherPackageCount = pc.mSetPackages.length; in sameSet() 275 if (!mSetPackages[i].equals(pc.mSetPackages[i]) in sameSet() 276 || !mSetClasses[i].equals(pc.mSetClasses[i])) { in sameSet()
|
/frameworks/native/libs/input/tests/ |
D | InputPublisherAndConsumer_test.cpp | 251 const auto& pc = pointerCoords[i]; in PublishAndConsumeMotionEvent() local 252 EXPECT_EQ(pc.getX() * rawXScale + rawXOffset, motionEvent->getRawX(i)); in PublishAndConsumeMotionEvent() 253 EXPECT_EQ(pc.getY() * rawYScale + rawYOffset, motionEvent->getRawY(i)); in PublishAndConsumeMotionEvent() 254 EXPECT_EQ(pc.getX() * xScale + xOffset, motionEvent->getX(i)); in PublishAndConsumeMotionEvent() 255 EXPECT_EQ(pc.getY() * yScale + yOffset, motionEvent->getY(i)); in PublishAndConsumeMotionEvent() 256 EXPECT_EQ(pc.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), motionEvent->getPressure(i)); in PublishAndConsumeMotionEvent() 257 EXPECT_EQ(pc.getAxisValue(AMOTION_EVENT_AXIS_SIZE), motionEvent->getSize(i)); in PublishAndConsumeMotionEvent() 258 EXPECT_EQ(pc.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR), motionEvent->getTouchMajor(i)); in PublishAndConsumeMotionEvent() 259 EXPECT_EQ(pc.getAxisValue(AMOTION_EVENT_AXIS_TOUCH_MINOR), motionEvent->getTouchMinor(i)); in PublishAndConsumeMotionEvent() 260 EXPECT_EQ(pc.getAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR), motionEvent->getToolMajor(i)); in PublishAndConsumeMotionEvent() [all …]
|
/frameworks/rs/toolkit/ |
D | Blur_neon.S | 96 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/rs/cpu_ref/ |
D | rsCpuIntrinsics_neon_Blur.S | 96 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/native/android/tests/activitymanager/nativeTests/src/ |
D | ActivityManagerNativeTest.cpp | 75 android::PermissionController pc; in getUidForPackage() local 76 uid = pc.getPackageUid(android::String16(packageName), 0); in getUidForPackage()
|
/frameworks/base/libs/input/ |
D | PointerController.h | 115 explicit DisplayInfoListener(PointerController* pc) : mPointerController(pc){}; in DisplayInfoListener() argument
|
/frameworks/libs/native_bridge_support/vdso/ |
D | vdso_arm.S | 46 .save {r4, r5, lr, pc}
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
D | PipResizeGestureHandlerTest.java | 250 final MotionEvent.PointerCoords[] pc = new MotionEvent.PointerCoords[2]; in obtainMotionEvent() local 260 pc[i] = pointerCoord; in obtainMotionEvent() 267 pc, in obtainMotionEvent()
|
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 243 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/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
D | TouchExplorerTest.java | 687 final MotionEvent.PointerCoords[] pc = new MotionEvent.PointerCoords[len]; in manyPointerEvent() local 692 pc[i] = pointerCoord; in manyPointerEvent() 699 /* pointerCount */ pc.length, in manyPointerEvent() 701 /* pointerCoords */ pc, in manyPointerEvent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | UdfpsControllerTest.java | 523 MotionEvent.PointerCoords pc = new MotionEvent.PointerCoords(); in obtainMotionEvent() local 524 pc.x = x; in obtainMotionEvent() 525 pc.y = y; in obtainMotionEvent() 526 pc.touchMinor = minor; in obtainMotionEvent() 527 pc.touchMajor = major; in obtainMotionEvent() 529 new MotionEvent.PointerCoords[]{pc}, 0, 0, 1f, 1f, 0, 0, 0, 0); in obtainMotionEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | WindowMagnificationManagerTest.java | 782 final MotionEvent.PointerCoords[] pc = new MotionEvent.PointerCoords[len]; in generatePointersDownEvent() local 787 pc[i] = pointerCoord; in generatePointersDownEvent() 794 /* pointerCount */ pc.length, in generatePointersDownEvent() 796 /* pointerCoords */ pc, in generatePointersDownEvent()
|
/frameworks/av/media/codecs/mp3dec/src/asm/ |
D | pvmp3_dct_16_gcc.s | 274 ldmfd sp!,{r4-r11,pc} 362 ldmfd sp!,{r4,pc} 422 ldmfd sp!,{r4,r5,pc}
|
/frameworks/av/services/mediatranscoding/tests/ |
D | MediaTranscodingServiceTestHelper.h | 76 PermissionController pc; in getUidForPackage() local 77 uid = pc.getPackageUid(packageName, 0); in getUidForPackage()
|