Home
last modified time | relevance | path

Searched refs:r1 (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java121 RectF r1 = new RectF(cx - sx / 2, cy - sy / 2, cx + sx / 2, cy + sy / 2); in drawWallpaperSelectionFrame() local
128 canvas.clipRect(r1, Region.Op.DIFFERENCE); in drawWallpaperSelectionFrame()
133 path.moveTo(r1.left, r1.top); in drawWallpaperSelectionFrame()
134 path.lineTo(r1.right, r1.top); in drawWallpaperSelectionFrame()
135 path.moveTo(r1.left, r1.top); in drawWallpaperSelectionFrame()
136 path.lineTo(r1.left, r1.bottom); in drawWallpaperSelectionFrame()
137 path.moveTo(r1.left, r1.bottom); in drawWallpaperSelectionFrame()
138 path.lineTo(r1.right, r1.bottom); in drawWallpaperSelectionFrame()
139 path.moveTo(r1.right, r1.top); in drawWallpaperSelectionFrame()
140 path.lineTo(r1.right, r1.bottom); in drawWallpaperSelectionFrame()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DRoundedLine.java43 public Path makePath(final float p1x, final float p1y, final float r1, in makePath() argument
56 final double dr = r2 - r1; in makePath()
68 final float p1ax = p1x + r1 * cosa; in makePath()
69 final float p1ay = p1y + r1 * sina; in makePath()
71 final float p1bx = p1x + r1 * cosb; in makePath()
72 final float p1by = p1y + r1 * sinb; in makePath()
87 mArc1.inset(-r1, -r1); in makePath()
DGestureTrailDrawingPoints.java195 float r1 = getWidth(lastTime, params) / 2.0f; in drawGestureTrailLocked() local
203 final float body1 = r1 * params.mTrailBodyRatio; in drawGestureTrailLocked()
223 r1 = r2; in drawGestureTrailLocked()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DBoundedRational.java187 public static BoundedRational add(BoundedRational r1, BoundedRational r2) { in add() argument
188 if (r1 == null || r2 == null) { in add()
191 final BigInteger den = r1.mDen.multiply(r2.mDen); in add()
192 final BigInteger num = r1.mNum.multiply(r2.mDen).add(r2.mNum.multiply(r1.mDen)); in add()
203 static BoundedRational subtract(BoundedRational r1, BoundedRational r2) { in subtract() argument
204 return add(r1, negate(r2)); in subtract()
207 static BoundedRational multiply(BoundedRational r1, BoundedRational r2) { in multiply() argument
210 if (r1 == null || r2 == null) { in multiply()
213 final BigInteger num = r1.mNum.multiply(r2.mNum); in multiply()
214 final BigInteger den = r1.mDen.multiply(r2.mDen); in multiply()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DUiThreadCircularReveal.java17 public static ValueAnimator createCircularReveal(View v, int x, int y, float r0, float r1) { in createCircularReveal() argument
18 return createCircularReveal(v, x, y, r0, r1, ViewOutlineProvider.BACKGROUND); in createCircularReveal()
21 public static ValueAnimator createCircularReveal(View v, int x, int y, float r0, float r1, in createCircularReveal() argument
26 final RevealOutlineProvider outlineProvider = new RevealOutlineProvider(x, y, r0, r1); in createCircularReveal()
DRevealOutlineProvider.java27 public RevealOutlineProvider(int x, int y, float r0, float r1) { in RevealOutlineProvider() argument
31 mRadius1 = r1; in RevealOutlineProvider()
/packages/apps/DevCamera/src/com/android/devcamera/
DPreviewOverlay.java209 RectF r1 = face.bounds; in onDraw() local
210 float newY = r1.centerX() * previewH; in onDraw()
211 float newX = (1 - r1.centerY()) * previewW; in onDraw()
212 float dY = r1.width() * previewH; in onDraw()
213 float dX = r1.height() * previewW; in onDraw()
/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/LegacyCamera/src/com/android/camera/
DRotateDialogController.java112 final Runnable r1, String button2Text, final Runnable r2) { in showAlertDialog() argument
126 if (r1 != null) r1.run(); in showAlertDialog()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1925 Rect r1 = new Rect(); in rearrangementExists() local
1930 r1.set(c.x, c.y, c.x + c.spanX, c.y + c.spanY); in rearrangementExists()
1931 if (Rect.intersects(r0, r1)) { in rearrangementExists()
2203 float r1 = (mode == MODE_HINT && repeating) ? 1.0f : r; in animate()
2204 float x = r1 * finalDeltaX + (1 - r1) * initDeltaX; in animate()
2205 float y = r1 * finalDeltaY + (1 - r1) * initDeltaY; in animate()
2370 Rect r1 = new Rect(); in getViewsIntersectingRegion() local
2376 r1.set(lp.cellX, lp.cellY, lp.cellX + lp.cellHSpan, lp.cellY + lp.cellVSpan); in getViewsIntersectingRegion()
2377 if (Rect.intersects(r0, r1)) { in getViewsIntersectingRegion()
2380 boundingRect.union(r1); in getViewsIntersectingRegion()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCacheProcessing.java61 FilterRepresentation r1 = representations.get(i); in equals() local
63 if (!r1.equals(r2)) { in equals()
/packages/providers/ContactsProvider/tests/assets/test1/
Dexpected_contacts.txt14 14 lookup=2273r1-4D2F4B4D27412D4943372D
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dexpected_contacts.txt14 14 lookup=0r1-414F3F292F4927412D3F27373D
/packages/providers/ContactsProvider/tests/assets/testSynced/
Dexpected_contacts.txt14 14 lookup=2273r1-3D2F3F3F574D2F4B4D
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java2093 Rect r1 = new Rect(); in rearrangementExists() local
2098 r1.set(c.x, c.y, c.x + c.spanX, c.y + c.spanY); in rearrangementExists()
2099 if (Rect.intersects(r0, r1)) { in rearrangementExists()
2512 Rect r1 = new Rect(); in getViewsIntersectingRegion() local
2518 r1.set(lp.cellX, lp.cellY, lp.cellX + lp.cellHSpan, lp.cellY + lp.cellVSpan); in getViewsIntersectingRegion()
2519 if (Rect.intersects(r0, r1)) { in getViewsIntersectingRegion()
2522 boundingRect.union(r1); in getViewsIntersectingRegion()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java8274 long r1 = RawContactUtil.createRawContact(mResolver, mAccount); in testAutoGroupMembership() local
8282 assertEquals(r1, c.getLong(1)); in testAutoGroupMembership()
8300 long r1 = RawContactUtil.createRawContact(mResolver, mAccount); in testNoAutoAddMembershipAfterGroupCreation() local
8324 long r1 = RawContactUtil.createRawContact(mResolver, mAccount, RawContacts.STARRED, "1"); in testFavoritesMembershipAfterGroupCreation() local
8339 assertTrue(queryRawContactIsStarred(r1)); in testFavoritesMembershipAfterGroupCreation()
8352 assertEquals(r1, c.getLong(1)); in testFavoritesMembershipAfterGroupCreation()
8369 assertEquals(r1, c.getLong(1)); in testFavoritesMembershipAfterGroupCreation()
8386 assertTrue(queryRawContactIsStarred(r1)); in testFavoritesMembershipAfterGroupCreation()
8400 long r1 = RawContactUtil.createRawContact(mResolver, mAccount, RawContacts.STARRED, "1"); in testFavoritesGroupMembershipChangeAfterStarChange() local
8409 assertEquals(r1, c.getLong(1)); in testFavoritesGroupMembershipChangeAfterStarChange()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
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()
94 mov eax,r1 in db_IxIyRow_u()
/packages/apps/Browser2/test/webexposed/
Dglobal-interface-listing-expected.txt4028 getter r1
4036 setter r1
4044 getter r1
4052 setter r1
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt68319 r0 00000000 r1 903188b2 r2 b6c80080 r3 00000009
68489 memory near r1:
69882 …outgoing transaction 36893: e0e5c780 from 2689:2689 to 1911:2059 code 14 flags 10 pri 0 r1 node 46…
69923 …outgoing transaction 39250: e0e5d6c0 from 2002:4248 to 1265:1328 code 22 flags 10 pri 10 r1 node 2…
69925 …outgoing transaction 39258: e0dc2bc0 from 2002:4612 to 1265:1930 code 1 flags 10 pri 0 r1 node 319…
69938 …incoming transaction 36893: e0e5c780 from 2689:2689 to 1911:2059 code 14 flags 10 pri 0 r1 node 46…
69964 …incoming transaction 39250: e0e5d6c0 from 2002:4248 to 1265:1328 code 22 flags 10 pri 10 r1 node 2…
69966 …incoming transaction 39258: e0dc2bc0 from 2002:4612 to 1265:1930 code 1 flags 10 pri 0 r1 node 319…
71786 …outgoing transaction 36893: e0e5c780 from 2689:2689 to 1911:2059 code 14 flags 10 pri 0 r1 node 46…
72201 …outgoing transaction 39334: e0e5d3c0 from 2088:4617 to 1265:2801 code 61 flags 10 pri 10 r1 node 1…
[all …]