Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Ddtoa.h63 uint32_t p1 = static_cast<uint32_t>(Mp.f >> -one.e); in DigitGen() local
65 unsigned kappa = CountDecimalDigit32(p1); // kappa in [0, 9] in DigitGen()
71 case 9: d = p1 / 100000000; p1 %= 100000000; break; in DigitGen()
72 case 8: d = p1 / 10000000; p1 %= 10000000; break; in DigitGen()
73 case 7: d = p1 / 1000000; p1 %= 1000000; break; in DigitGen()
74 case 6: d = p1 / 100000; p1 %= 100000; break; in DigitGen()
75 case 5: d = p1 / 10000; p1 %= 10000; break; in DigitGen()
76 case 4: d = p1 / 1000; p1 %= 1000; break; in DigitGen()
77 case 3: d = p1 / 100; p1 %= 100; break; in DigitGen()
78 case 2: d = p1 / 10; p1 %= 10; break; in DigitGen()
[all …]
Dbiginteger.h117 const uint64_t p1 = uc + (p0 >> 32); variable
118 digits_[i] = (p0 & 0xFFFFFFFF) | (p1 << 32);
119 k = p1 >> 32;
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolatorTests.java56 private static final int p1 = 1; field in HermiteInterpolatorTests
63 mInterpolator.setInterval(p0 - 1, p0, p1, p1 + 1); in testP0P1()
66 assertEquals("p1x", mXCoords[p1], mInterpolator.mP2X); in testP0P1()
67 assertEquals("p1y", mYCoords[p1], mInterpolator.mP2Y); in testP0P1()
99 mInterpolator.setInterval(p1 - 1, p1, p2, p2 + 1); in testP1P2()
100 assertEquals("p1x", mXCoords[p1], mInterpolator.mP1X); in testP1P2()
101 assertEquals("p1y", mYCoords[p1], mInterpolator.mP1Y); in testP1P2()
170 mInterpolator.reset(mXCoords, mYCoords, p1, p2 + 1); in testJustP1P2()
171 mInterpolator.setInterval(p1 - 1, p1, p2, p2 + 1); in testJustP1P2()
172 assertEquals("p1x", mXCoords[p1], mInterpolator.mP1X); in testJustP1P2()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeDrawingPoints.java137 final int p1 = p2 - 1; in interpolateStrokeAndReturnStartIndexOfLastSegment() local
138 final int p0 = p1 - 1; in interpolateStrokeAndReturnStartIndexOfLastSegment()
140 mLastInterpolatedPreviewIndex = p1; in interpolateStrokeAndReturnStartIndexOfLastSegment()
142 mInterpolator.setInterval(p0, p1, p2, p3); in interpolateStrokeAndReturnStartIndexOfLastSegment()
155 final int dt = pt[p2] - pt[p1]; in interpolateStrokeAndReturnStartIndexOfLastSegment()
DHermiteInterpolator.java79 public void setInterval(final int p0, final int p1, final int p2, final int p3) { in setInterval() argument
80 mP1X = mXCoords[p1]; in setInterval()
81 mP1Y = mYCoords[p1]; in setInterval()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_image_homography.cpp117 double p1[2],p2[2],p3[2],p4[2],p5[2],p6[2]; in db_CommonFocalLengthFromRotation_2Point() local
146 p1[1]=ax*bx+ay*by; in db_CommonFocalLengthFromRotation_2Point()
152 p1[0]=p2[0]=p3[0]=p4[0]=p5[0]=p6[0]=1; in db_CommonFocalLengthFromRotation_2Point()
154 db_MultiplyPoly1_1(p7,p1,p1); in db_CommonFocalLengthFromRotation_2Point()
168 if((!signed_disambiguation) || (db_PolyEval1(p1,roots[i])*db_PolyEval1(p4,roots[i])>0)) in db_CommonFocalLengthFromRotation_2Point()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothManagerTest.java232 Parcel p1 = Parcel.obtain(); in initializeDevice() local
233 p1.writeString("00:01:02:03:04:05"); in initializeDevice()
234 p1.setDataPosition(0); in initializeDevice()
235 device1 = BluetoothDevice.CREATOR.createFromParcel(p1); in initializeDevice()
236 p1.recycle(); in initializeDevice()
/packages/apps/Messaging/src/com/android/messaging/util/
DCubicBezierInterpolator.java51 private float getCoordinate(float t, float p1, float p2) { in getCoordinate() argument
58 float ip0 = linearInterpolate(0, p1, t); in getCoordinate()
59 float ip1 = linearInterpolate(p1, p2, t); in getCoordinate()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DHostAuthTests.java202 final Parcel p1 = Parcel.obtain(); in testParceling() local
203 orig.writeToParcel(p1, 0); in testParceling()
204 p1.setDataPosition(0); in testParceling()
205 final HostAuth unparceled1 = new HostAuth(p1); in testParceling()
206 p1.recycle(); in testParceling()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java261 Policy p1 = in testEquals() local
269 assertTrue(p1.equals(p2)); in testEquals()
271 assertFalse(p1.equals(p4)); in testEquals()
300 Policy p1 = setupPolicy(10, Policy.PASSWORD_MODE_SIMPLE, 0, 0, false, 0, 0, 0, in testDisableAdmin() local
302 SecurityPolicy.setAccountPolicy(mMockContext, a1, p1, "security-sync-key-1"); in testDisableAdmin()
455 Policy p1 = setupPolicy(0, Policy.PASSWORD_MODE_NONE, in testGetDPManagerPasswordQuality() local
458 p1.getDPManagerPasswordQuality()); in testGetDPManagerPasswordQuality()
/packages/apps/TV/src/com/android/tv/data/
DProgram.java499 public static boolean isDuplicate(Program p1, Program p2) { in isDuplicate() argument
500 if (p1 == null || p2 == null) { in isDuplicate()
503 boolean isDuplicate = p1.getChannelId() == p2.getChannelId() in isDuplicate()
504 && p1.getStartTimeUtcMillis() == p2.getStartTimeUtcMillis() in isDuplicate()
505 && p1.getEndTimeUtcMillis() == p2.getEndTimeUtcMillis(); in isDuplicate()
507 Log.w(TAG, "Duplicate programs detected! - \"" + p1.getTitle() + "\" and \"" in isDuplicate()
/packages/services/Telephony/src/com/android/phone/
DChangeIccPinScreen.java150 private int validateNewPin(String p1, String p2) { in validateNewPin() argument
151 if (p1 == null) { in validateNewPin()
155 if (!p1.equals(p2)) { in validateNewPin()
159 int len1 = p1.length(); in validateNewPin()
DPhoneInterfaceManager.java162 public int channel, cla, command, p1, p2, p3; field in PhoneInterfaceManager.IccAPDUArgument
166 int p1, int p2, int p3, String data) { in IccAPDUArgument() argument
170 this.p1 = p1; in IccAPDUArgument()
334 iccArgument.p1, iccArgument.p2, iccArgument.p3, iccArgument.data, in handleMessage()
374 iccArgument.cla, iccArgument.command, iccArgument.p1, iccArgument.p2, in handleMessage()
414 iccArgument.command, iccArgument.p1, iccArgument.p2, iccArgument.p3, in handleMessage()
2043 int command, int p1, int p2, int p3, String data) { in iccTransmitApduLogicalChannel() argument
2048 " cla=" + cla + " cmd=" + command + " p1=" + p1 + " p2=" + p2 + " p3=" + p3 + in iccTransmitApduLogicalChannel()
2057 new IccAPDUArgument(channel, cla, command, p1, p2, p3, data), subId); in iccTransmitApduLogicalChannel()
2070 public String iccTransmitApduBasicChannel(int subId, int cla, int command, int p1, int p2, in iccTransmitApduBasicChannel() argument
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/
DInvariantDeviceProfileTest.java70 InvariantDeviceProfile p1 = mPredefinedDeviceProfiles.get(7); // e.g., Large Phone in testInvInterpolation() local
74 new PointF(p1.minWidthDps, p1.minHeightDps), in testInvInterpolation()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterSharpen.java73 float p1 = mParameters.getValue() * scaleFactor; in computeKernel() local
74 float value = p1 / 100.0f; in computeKernel()
/packages/apps/Settings/src/com/android/settings/users/
DUserPreference.java45 public int compare(UserPreference p1, UserPreference p2) {
46 int sn1 = p1.getSerialNumber();
/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java152 private static double calculateTimeMatchScore(Program p1, Program p2) { in calculateTimeMatchScore() argument
153 ProgramTime t1 = ProgramTime.createFromProgram(p1); in calculateTimeMatchScore()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java468 public int compare(PtNode p1, PtNode p2) { in compare() argument
469 if (p1.mChars[0] == p2.mChars[0]) return 0; in compare()
470 return p1.mChars[0] < p2.mChars[0] ? -1 : 1; in compare()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalSource.java249 public int compare(PathId p1, PathId p2) { in compare() argument
250 String s1 = p1.path.getSuffix(); in compare()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipSettings.java208 public int compare(SipProfile p1, SipProfile p2) { in retrieveSipLists()
209 return getProfileName(p1).compareTo(getProfileName(p2)); in retrieveSipLists()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DConferenceParticipantListAdapter.java511 public int compare(ParticipantInfo p1, ParticipantInfo p2) { in sortParticipantList()
513 ContactCacheEntry c1 = p1.getContactCacheEntry(); in sortParticipantList()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java2297 int p1, int p2, int p3, int p4, int p5) { in gattTestCommand() argument
2301 uuid1.getMostSignificantBits(), bda1, p1, p2, p3, p4, p5); in gattTestCommand()
2303 gattTestNative(command, 0,0, bda1, p1, p2, p3, p4, p5); in gattTestCommand()
2308 int p1, int p2, int p3, int p4, int p5); in gattTestNative() argument
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java2274 Policy p1 = new Policy(); in testCleanupOrphans() local
2275 p1.save(mMockContext); in testCleanupOrphans()
2309 assertNull(Policy.restorePolicyWithId(mMockContext, p1.mId)); in testCleanupOrphans()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp1638 jint p1, jint p2, jint p3, jint p4, jint p5 ) in gattTestNative() argument
1651 params.u1 = p1; in gattTestNative()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...

12