/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
D | FocusRingView.java | 145 Point center = computeCenter(); in centerFocusLocation() local 146 mAutoFocusRing.setCenterX(center.x); in centerFocusLocation() 147 mAutoFocusRing.setCenterY(center.y); in centerFocusLocation() 148 mManualFocusRing.setCenterX(center.x); in centerFocusLocation() 149 mManualFocusRing.setCenterY(center.y); in centerFocusLocation() 191 Point center = computeCenter(); in centerAutofocusRing() local 192 mAutoFocusRing.setCenterX(center.x); in centerAutofocusRing() 193 mAutoFocusRing.setCenterY(center.y); in centerAutofocusRing()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FolderIcon.java | 388 int[] center = new int[2]; in onDrop() local 389 float scale = getLocalCenterForIndex(index, center); in onDrop() 390 center[0] = (int) Math.round(scaleRelativeToDragLayer * center[0]); in onDrop() 391 center[1] = (int) Math.round(scaleRelativeToDragLayer * center[1]); in onDrop() 393 to.offset(center[0] - animateView.getMeasuredWidth() / 2, in onDrop() 394 center[1] - animateView.getMeasuredHeight() / 2); in onDrop() 475 private float getLocalCenterForIndex(int index, int[] center) { 483 center[0] = (int) Math.round(offsetX); 484 center[1] = (int) Math.round(offsetY);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FolderIcon.java | 450 int[] center = new int[2]; in onDrop() local 451 float scale = getLocalCenterForIndex(index, center); in onDrop() 452 center[0] = (int) Math.round(scaleRelativeToDragLayer * center[0]); in onDrop() 453 center[1] = (int) Math.round(scaleRelativeToDragLayer * center[1]); in onDrop() 455 to.offset(center[0] - animateView.getMeasuredWidth() / 2, in onDrop() 456 center[1] - animateView.getMeasuredHeight() / 2); in onDrop() 536 private float getLocalCenterForIndex(int index, int[] center) { 544 center[0] = (int) Math.round(offsetX); 545 center[1] = (int) Math.round(offsetY);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocationClustering.java | 211 Point[] center = new Point[maxK]; // center of each group. in kMeans() local 217 center[i] = new Point(); in kMeans() 237 center[i].latRad = p.latRad; in kMeans() 238 center[i].lngRad = p.lngRad; in kMeans() 256 p.latRad, p.lngRad, center[j].latRad, center[j].lngRad); in kMeans() 278 center[i].latRad = groupSum[i].latRad / groupCount[i]; in kMeans() 279 center[i].lngRad = groupSum[i].lngRad / groupCount[i]; in kMeans()
|
/packages/apps/Browser/src/com/android/browser/view/ |
D | PieMenu.java | 351 private Path makeSlice(float start, float end, int outer, int inner, Point center) { in makeSlice() argument 353 new RectF(center.x - outer, center.y - outer, center.x + outer, in makeSlice() 354 center.y + outer); in makeSlice() 356 new RectF(center.x - inner, center.y - inner, center.x + inner, in makeSlice() 357 center.y + inner); in makeSlice()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 1822 int center = getScrollCenter(view); 1823 if (scrollCenter > center) { 1826 info.mainPos = (float)(scrollCenter - center) / (nextCenter - center); 1829 info.mainPos = (float)(scrollCenter - center) / getSize(view); 1831 } else if (scrollCenter == center){ 1839 (center - previousCenter); 1842 info.mainPos = (float) (scrollCenter - center) / getSize(view); 2200 int center = -1; 2214 center = centerMain; 2270 (float) (nextCenter - center); [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieRenderer.java | 322 private Path makeSlice(float start, float end, int outer, int inner, Point center) { in makeSlice() argument 324 new RectF(center.x - outer, center.y - outer, center.x + outer, in makeSlice() 325 center.y + outer); in makeSlice() 327 new RectF(center.x - inner, center.y - inner, center.x + inner, in makeSlice() 328 center.y + inner); in makeSlice()
|
D | PieItem.java | 140 public void setFixedSlice(float center, float sweep) { in setFixedSlice() argument 141 mCenter = center; in setFixedSlice()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | PieRenderer.java | 327 private Path makeSlice(float start, float end, int outer, int inner, Point center) { in makeSlice() argument 329 new RectF(center.x - outer, center.y - outer, center.x + outer, in makeSlice() 330 center.y + outer); in makeSlice() 332 new RectF(center.x - inner, center.y - inner, center.x + inner, in makeSlice() 333 center.y + inner); in makeSlice()
|
D | PieItem.java | 141 public void setFixedSlice(float center, float sweep) { in setFixedSlice() argument 142 mCenter = center; in setFixedSlice()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 3323 int center = (left + right) / 2; in computeNeighbors() local 3327 if (currentRight <= center) { in computeNeighbors() 3328 currentDistance = center - currentRight; in computeNeighbors() 3329 } else if (currentLeft >= center) { in computeNeighbors() 3330 currentDistance = currentLeft - center; in computeNeighbors() 3334 if (neighborRight <= center) { in computeNeighbors() 3335 neighborDistance = center - neighborRight; in computeNeighbors() 3336 } else if (neighborLeft >= center) { in computeNeighbors() 3337 neighborDistance = neighborLeft - center; in computeNeighbors() 3354 int center = (left + right) / 2; in computeNeighbors() local [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropMath.java | 159 public static boolean pointInRotatedRect(float[] point, float[] rotatedRect, float[] center) { in pointInRotatedRect() argument 161 float angle = getUnrotated(rotatedRect, center, unrotated); in pointInRotatedRect() 248 private static float getUnrotated(float[] rotatedRect, float[] center, RectF unrotated) { in getUnrotated() argument 253 m.setRotate(-angle, center[0], center[1]); in getUnrotated()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumSetPage.java | 180 private void getSlotCenter(int slotIndex, int center[]) { in getSlotCenter() argument 186 center[0] = offset.left + (r.left + r.right) / 2 - scrollX; in getSlotCenter() 187 center[1] = offset.top + (r.top + r.bottom) / 2 - scrollY; in getSlotCenter() 251 int[] center = new int[2]; in pickAlbum() local 252 getSlotCenter(slotIndex, center); in pickAlbum() 253 data.putIntArray(AlbumPage.KEY_SET_CENTER, center); in pickAlbum()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PhotoView.java | 1502 int center = getWidth() / 2; 1504 if (curr.left > center && mPrevBound < 0) { 1506 int currDist = curr.left - center; 1507 int prevDist = center - prev.right; 1511 } else if (curr.right < center && mNextBound > 0) { 1513 int currDist = center - curr.right; 1514 int nextDist = next.left - center;
|
D | TileImageView.java | 331 public void getImageCenter(Point center) { in getImageCenter() argument 350 center.x = Math.round(viewW / 2f + distW * mScale); in getImageCenter() 351 center.y = Math.round(viewH / 2f + distH * mScale); in getImageCenter()
|
D | SlotView.java | 360 public ScatteringAnimation(RelativePosition center) { in ScatteringAnimation() argument 361 mCenter = center; in ScatteringAnimation()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ViewImage.java | 1104 center(true, true); 1146 center(true, false); 1157 center(true, false); 1163 center(false, true); 1168 center(false, true); 1184 center(true, true);
|
D | ImageViewTouchBase.java | 186 protected void center(boolean horizontal, boolean vertical) { in center() method in ImageViewTouchBase 317 center(true, true); in zoomTo() 396 center(true, true); in zoomOut()
|
D | CropImage.java | 197 mImageView.center(true, true); in startFaceDetection() 295 mImageView.center(true, true); in onSaveClicked() 720 center(true, true); in onTouchEvent() 728 center(true, true); in onTouchEvent()
|
/packages/apps/Camera/src/com/android/camera/ |
D | PieController.java | 87 public void addItem(String prefKey, float center, float sweep) { in addItem() argument 103 item.setFixedSlice(center, sweep); in addItem()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 350 double[] center = { photo.getX() + width / 2f, in getCenter() local 352 return center; in getCenter()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | sl_wordlist.combined.gz | 1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ... |
D | en_US_wordlist.combined.gz |
|
D | en_wordlist.combined.gz | 1dictionary=main:en,locale=en,description=English,date=1414726273, ... |
D | da_wordlist.combined.gz |
|