Searched refs:p2 (Results 1 - 25 of 25) sorted by relevance

/packages/apps/Camera2/jni/
H A Dtinyplanet.cc67 const unsigned char *p2 = image(x, y + 1); local
71 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
73 p2++;
76 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
78 p2++;
81 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
83 p2
[all...]
/packages/apps/Gallery2/jni/filters/
H A Dtinyplanet.cc66 const unsigned char *p2 = image(x, y + 1); local
70 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
72 p2++;
75 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
77 p2++;
80 ax * ay * p2[4] + axn * ay * p2[0] + 0.5f);
82 p2
[all...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DHermiteInterpolatorTests.java41 // t=2 p2=(3,2)
47 // 2 + o p2
57 private static final int p2 = 2; field in class:HermiteInterpolatorTests
61 // [(p0 p1) p2 p3]
97 // [p0 (p1 p2) p3]
99 mInterpolator.setInterval(p1 - 1, p1, p2, p2 + 1);
102 assertEquals("p2x", mXCoords[p2], mInterpolator.mP2X);
103 assertEquals("p2y", mYCoords[p2], mInterpolator.mP2Y);
107 // XY-slope at p2
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DGestureStrokeDrawingPoints.java136 for (int p2 = mLastInterpolatedPreviewIndex + 1; p2 < size; p2++) {
137 final int p1 = p2 - 1;
139 final int p3 = p2 + 1;
142 mInterpolator.setInterval(p0, p1, p2, p3);
155 final int dt = pt[p2] - pt[p1];
168 eventTimes.addAt(d1, pt[p2]);
169 xCoords.addAt(d1, px[p2]);
170 yCoords.addAt(d1, py[p2]);
[all...]
H A DHermiteInterpolator.java74 * @param p2 the end index of interpolation interval.
75 * @param p3 the index just after interpolation interval. If <code>p2</code> points the end of
79 public void setInterval(final int p0, final int p1, final int p2, final int p3) { argument
82 mP2X = mXCoords[p2];
83 mP2Y = mYCoords[p2];
84 // A(ax,ay) is the vector p1->p2.
91 // The slope of the tangent is half of the vector p0->p2.
95 // p1 has no previous valid point, but p2 has next valid point p3.
96 // B(bx,by) is the slope vector of the tangent at p2.
107 // p1 and p2 hav
[all...]
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
H A Ddtoa.h64 uint64_t p2 = Mp.f & (one.f - 1); local
85 uint64_t tmp = (static_cast<uint64_t>(p1) << -one.e) + p2;
95 p2 *= 10;
97 char d = static_cast<char>(p2 >> -one.e);
100 p2 &= one.f - 1;
102 if (p2 < delta) {
104 GrisuRound(buffer, *len, delta, p2, one.f, wp_w.f * kPow10[-static_cast<int>(kappa)]);
/packages/apps/Launcher3/tests/src/com/android/launcher3/
H A DInvariantDeviceProfileTest.java71 InvariantDeviceProfile p2 = mPredefinedDeviceProfiles.get(8); // e.g., Nexus 7
75 new PointF(p2.minWidthDps, p2.minHeightDps),
/packages/apps/Messaging/src/com/android/messaging/util/
H A DCubicBezierInterpolator.java51 private float getCoordinate(float t, float p1, float p2) { argument
59 float ip1 = linearInterpolate(p1, p2, t);
60 float ip2 = linearInterpolate(p2, 1, t);
/packages/apps/Email/tests/src/com/android/email/
H A DSecurityPolicyTests.java263 Policy p2 =
269 assertTrue(p1.equals(p2));
270 assertFalse(p2.equals(p3));
305 Policy p2 = setupPolicy(20, Policy.PASSWORD_MODE_STRONG, 25, 26, false, 0, 0, 0,
307 SecurityPolicy.setAccountPolicy(mMockContext, a2, p2, "security-sync-key-2");
353 Policy p2 = setupPolicy(20, Policy.PASSWORD_MODE_STRONG, 25, 26, false, 30, 0, 0,
355 SecurityPolicy.setAccountPolicy(mMockContext, a2, p2, null);
391 Policy p2 = setupPolicy(20, Policy.PASSWORD_MODE_STRONG, 25, 26, false, 0, 0, 0,
393 SecurityPolicy.setAccountPolicy(mMockContext, a2, p2, null);
461 Policy p2
[all...]
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
H A DHostAuthTests.java213 final Parcel p2 = Parcel.obtain();
214 orig.writeToParcel(p2, 0);
215 p2.setDataPosition(0);
216 final HostAuth unparceled2 = new HostAuth(p2);
217 p2.recycle();
/packages/apps/TV/src/com/android/tv/data/
H A DProgram.java499 public static boolean isDuplicate(Program p1, Program p2) { argument
500 if (p1 == null || p2 == null) {
503 boolean isDuplicate = p1.getChannelId() == p2.getChannelId()
504 && p1.getStartTimeUtcMillis() == p2.getStartTimeUtcMillis()
505 && p1.getEndTimeUtcMillis() == p2.getEndTimeUtcMillis();
508 + p2.getTitle() + "\"");
/packages/apps/Settings/src/com/android/settings/users/
H A DUserPreference.java45 public int compare(UserPreference p1, UserPreference p2) {
47 int sn2 = p2.getSerialNumber();
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_image_homography.cpp117 double p1[2],p2[2],p3[2],p4[2],p5[2],p6[2]; local
147 p2[1]=db_sqr(apx)+db_sqr(apy);
152 p1[0]=p2[0]=p3[0]=p4[0]=p5[0]=p6[0]=1;
155 db_MultiplyPoly1_2(p8,p2,p7);
/packages/apps/TV/src/com/android/tv/recommendation/
H A DRoutineWatchEvaluator.java152 private static double calculateTimeMatchScore(Program p1, Program p2) { argument
154 ProgramTime t2 = ProgramTime.createFromProgram(p2);
/packages/services/Telephony/src/com/android/phone/
H A DPhoneInterfaceManager.java171 public int channel, cla, command, p1, p2, p3; field in class:PhoneInterfaceManager.IccAPDUArgument
175 int p1, int p2, int p3, String data) {
180 this.p2 = p2;
343 iccArgument.p1, iccArgument.p2, iccArgument.p3, iccArgument.data,
383 iccArgument.cla, iccArgument.command, iccArgument.p1, iccArgument.p2,
423 iccArgument.command, iccArgument.p1, iccArgument.p2, iccArgument.p3,
2166 int command, int p1, int p2, int p3, String data) {
2171 " cla=" + cla + " cmd=" + command + " p1=" + p1 + " p2=" + p2
174 IccAPDUArgument(int channel, int cla, int command, int p1, int p2, int p3, String data) argument
2165 iccTransmitApduLogicalChannel(int subId, int channel, int cla, int command, int p1, int p2, int p3, String data) argument
2193 iccTransmitApduBasicChannel(int subId, int cla, int command, int p1, int p2, int p3, String data) argument
2216 iccExchangeSimIO(int subId, int fileID, int command, int p1, int p2, int p3, String filePath) argument
[all...]
H A DChangeIccPinScreen.java150 private int validateNewPin(String p1, String p2) { argument
155 if (!p1.equals(p2)) {
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocalSource.java249 public int compare(PathId p1, PathId p2) { argument
251 String s2 = p2.path.getSuffix();
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DFusionDictionary.java468 public int compare(PtNode p1, PtNode p2) { argument
469 if (p1.mChars[0] == p2.mChars[0]) return 0;
470 return p1.mChars[0] < p2.mChars[0] ? -1 : 1;
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DConferenceParticipantListAdapter.java511 public int compare(ParticipantInfo p1, ParticipantInfo p2) {
521 ContactCacheEntry c2 = p2.getContactCacheEntry();
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
H A DSipSettings.java208 public int compare(SipProfile p1, SipProfile p2) {
209 return getProfileName(p1).compareTo(getProfileName(p2));
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
H A Dpointertest.cpp424 Pointer p2(s2.GetString(), s2.GetSize());
425 EXPECT_TRUE(p2.IsValid());
426 EXPECT_TRUE(p == p2);
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattService.java2315 int p1, int p2, int p3, int p4, int p5) {
2319 uuid1.getMostSignificantBits(), bda1, p1, p2, p3, p4, p5);
2321 gattTestNative(command, 0,0, bda1, p1, p2, p3, p4, p5);
2326 int p1, int p2, int p3, int p4, int p5);
2314 gattTestCommand(int command, UUID uuid1, String bda1, int p1, int p2, int p3, int p4, int p5) argument
2324 gattTestNative(int command, long uuid1_lsb, long uuid1_msb, String bda1, int p1, int p2, int p3, int p4, int p5) argument
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTests.java2276 Policy p2 = new Policy();
2277 p2.save(mMockContext);
2310 assertNull(Policy.restorePolicyWithId(mMockContext, p2.mId));
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_gatt.cpp1638 jint p1, jint p2, jint p3, jint p4, jint p5 )
1652 params.u2 = p2;
1636 gattTestNative(JNIEnv *env, jobject object, jint command, jlong uuid1_lsb, jlong uuid1_msb, jstring bda1, jint p1, jint p2, jint p3, jint p4, jint p5 ) argument
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 4897 milliseconds