Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 18 of 18) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DDvrScheduleManagerTest.java104 ScheduledRecording r2 = RecordingTestUtils.createTestRecordingWithPriorityAndPeriod( in testGetConflictingSchedules_conflict() local
106 schedules.add(r2); in testGetConflictingSchedules_conflict()
122 r2, r1); in testGetConflictingSchedules_conflict() local
131 r3, r2, r1); in testGetConflictingSchedules_conflict() local
140 r4, r3, r2, r1); in testGetConflictingSchedules_conflict() local
142 r2, r1); in testGetConflictingSchedules_conflict() local
151 r5, r4, r3, r2, r1); in testGetConflictingSchedules_conflict() local
153 r3, r2, r1); in testGetConflictingSchedules_conflict() local
162 r7, r6, r5, r4, r3, r2, r1); in testGetConflictingSchedules_conflict() local
164 r5, r4, r3, r2, r1); in testGetConflictingSchedules_conflict() local
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java125 RectF r2 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2); in drawWallpaperSelectionFrame() local
129 canvas.clipRect(r2, Region.Op.DIFFERENCE); in drawWallpaperSelectionFrame()
141 path.moveTo(r2.left, r2.top); in drawWallpaperSelectionFrame()
142 path.lineTo(r2.right, r2.top); in drawWallpaperSelectionFrame()
143 path.moveTo(r2.right, r2.top); in drawWallpaperSelectionFrame()
144 path.lineTo(r2.right, r2.bottom); in drawWallpaperSelectionFrame()
145 path.moveTo(r2.left, r2.bottom); in drawWallpaperSelectionFrame()
146 path.lineTo(r2.right, r2.bottom); in drawWallpaperSelectionFrame()
147 path.moveTo(r2.left, r2.top); in drawWallpaperSelectionFrame()
148 path.lineTo(r2.left, r2.bottom); in drawWallpaperSelectionFrame()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DBoundedRational.java223 public static BoundedRational add(BoundedRational r1, BoundedRational r2) { in add() argument
224 if (r1 == null || r2 == null) { in add()
227 final BigInteger den = r1.mDen.multiply(r2.mDen); in add()
228 final BigInteger num = r1.mNum.multiply(r2.mDen).add(r2.mNum.multiply(r1.mDen)); in add()
243 public static BoundedRational subtract(BoundedRational r1, BoundedRational r2) { in subtract() argument
244 return add(r1, negate(r2)); in subtract()
250 private static BoundedRational rawMultiply(BoundedRational r1, BoundedRational r2) { in rawMultiply() argument
253 if (r1 == null || r2 == null) { in rawMultiply()
258 return r2; in rawMultiply()
260 if (r2 == ONE) { in rawMultiply()
[all …]
DUnifiedReal.java288 private static boolean definitelyIndependent(CR r1, CR r2) { in definitelyIndependent() argument
308 if (r1 == r2) { in definitelyIndependent()
313 return definitelyAlgebraic(r2); in definitelyIndependent()
315 if (r2 == CR_E || r2 == CR_PI) { in definitelyIndependent()
318 return isNamed(r1) && isNamed(r2); in definitelyIndependent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DRoundedLine.java44 final float p2x, final float p2y, final float r2) { in makePath() argument
56 final double dr = r2 - r1; in makePath()
74 final float p2ax = p2x + r2 * cosa; in makePath()
75 final float p2ay = p2y + r2 * sina; in makePath()
77 final float p2bx = p2x + r2 * cosb; in makePath()
78 final float p2by = p2y + r2 * sinb; in makePath()
89 mArc2.inset(-r2, -r2); in makePath()
DGestureTrailDrawingPoints.java200 final float r2 = getWidth(elapsedTime, params) / 2.0f; in drawGestureTrailLocked() local
204 final float body2 = r2 * params.mTrailBodyRatio; in drawGestureTrailLocked()
209 final float shadow2 = r2 * params.mTrailShadowRatio; in drawGestureTrailLocked()
223 r1 = r2; in drawGestureTrailLocked()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_metrics.h41 double x2,y2,r,r2,r2s,one_over_r2,fu,r_fu,one_over_r_fu; in db_CauchyDerivative() local
75 r2=x2+y2; in db_CauchyDerivative()
76 r=sqrt(r2); in db_CauchyDerivative()
78 if(r2<=0.0) at_zero=1; in db_CauchyDerivative()
81 one_over_r2=1.0/r2; in db_CauchyDerivative()
82 r2s=r2*one_over_scale2; in db_CauchyDerivative()
Ddb_feature_detection.cpp87 const unsigned char *r1,*r2,*r3; in db_IxIyRow_u() local
89 r1=img[i-1]+j; r2=img[i]+j; r3=img[i+1]+j; in db_IxIyRow_u()
95 mov ebx,r2 in db_IxIyRow_u()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaThumbRequest.java76 public int compare(MediaThumbRequest r1, MediaThumbRequest r2) { in getComparator()
77 if (r1.mPriority != r2.mPriority) { in getComparator()
78 return r1.mPriority < r2.mPriority ? -1 : 1; in getComparator()
80 return r1.mRequestTime == r2.mRequestTime ? 0 : in getComparator()
81 r1.mRequestTime < r2.mRequestTime ? -1 : 1; in getComparator()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DFastScrollThumbDrawable.java57 float r2 = r / 5; in onBoundsChange() local
59 new float[] {r, r, r, r, r2, r2, r, r}, in onBoundsChange()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageRedEye.java80 RectF r2 = new RectF(mCurrentRect); in onTouchEvent() local
83 invert.mapRect(r2); in onTouchEvent()
84 mRedEyeRep.addRect(r, r2); in onTouchEvent()
/packages/apps/LegacyCamera/src/com/android/camera/
DRotateDialogController.java112 final Runnable r1, String button2Text, final Runnable r2) { in showAlertDialog() argument
138 if (r2 != null) r2.run(); in showAlertDialog()
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/data/
DSeriesRecordingTest.java75 SeriesRecording r2 = SeriesRecording.fromParcel(p2); in testParcelable() local
76 assertEquals(r1, r2); in testParcelable()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DProgramTest.java140 Program r2 = Program.fromParcel(p2); in testParcelable() local
141 assertEquals(p, r2); in testParcelable()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCacheProcessing.java62 FilterRepresentation r2 = step.representations.get(i); in equals() local
63 if (!r1.equals(r2)) { in equals()
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dexpected_contacts.txt29 29 lookup=0r2-414F3F292F49
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java8381 long r2 = RawContactUtil.createRawContact(mResolver, mAccountTwo); in testAutoGroupMembership() local
8398 assertEquals(r2, c.getLong(1)); in testAutoGroupMembership()
8407 long r2 = RawContactUtil.createRawContact(mResolver, mAccount); in testNoAutoAddMembershipAfterGroupCreation() local
8431 long r2 = RawContactUtil.createRawContact(mResolver, mAccount); in testFavoritesMembershipAfterGroupCreation() local
8446 assertFalse(queryRawContactIsStarred(r2)); in testFavoritesMembershipAfterGroupCreation()
8493 assertFalse(queryRawContactIsStarred(r2)); in testFavoritesMembershipAfterGroupCreation()
8507 long r2 = RawContactUtil.createRawContact(mResolver, mAccount); in testFavoritesGroupMembershipChangeAfterStarChange() local
8582 long r2 = RawContactUtil.createRawContact(mResolver, mAccount); in testStarChangedAfterGroupMembershipChange() local
8586 assertFalse(queryRawContactIsStarred(r2)); in testStarChangedAfterGroupMembershipChange()
8596 assertFalse(queryRawContactIsStarred(r2)); in testStarChangedAfterGroupMembershipChange()
[all …]
/packages/apps/Browser2/test/webexposed/
Dglobal-interface-listing-expected.txt4029 getter r2
4037 setter r2
4045 getter r2
4053 setter r2