/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | CoordinateUtils.java | 35 public static int x(@Nonnull final int[] coords) { in x() argument 36 return coords[INDEX_X]; in x() 39 public static int y(@Nonnull final int[] coords) { in y() argument 40 return coords[INDEX_Y]; in y() 43 public static void set(@Nonnull final int[] coords, final int x, final int y) { in set() argument 44 coords[INDEX_X] = x; in set() 45 coords[INDEX_Y] = y; in set() 78 final int[] coords = newInstance(); in coordinateFromArray() local 79 set(coords, xFromArray(coordsArray, index), yFromArray(coordsArray, index)); in coordinateFromArray() 80 return coords; in coordinateFromArray() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | ListDocumentHolder.java | 116 int[] coords = new int[2]; in isInDragHotspot() local 117 mIconLayout.getLocationOnScreen(coords); in isInDragHotspot() 124 coords[0], in isInDragHotspot() 125 coords[1], in isInDragHotspot() 126 coords[0] + mIconLayout.getWidth() + textBounds.width(), in isInDragHotspot() 127 coords[1] + Math.max(mIconLayout.getHeight(), textBounds.height())); in isInDragHotspot()
|
D | DocumentHolder.java | 172 int[] coords = new int[2]; in isInSelectionHotspot() local 173 mSelectionHotspot.getLocationOnScreen(coords); in isInSelectionHotspot() 174 Rect rect = new Rect(coords[0], coords[1], coords[0] + mSelectionHotspot.getWidth(), in isInSelectionHotspot() 175 coords[1] + mSelectionHotspot.getHeight()); in isInSelectionHotspot()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | GestureBot.java | 155 PointerCoords coords = new PointerCoords(); in getMotionEvent() local 156 coords.pressure = 1; in getMotionEvent() 157 coords.size = 1; in getMotionEvent() 158 coords.x = x; in getMotionEvent() 159 coords.y = y; in getMotionEvent() 162 new PointerProperties[] { properties }, new PointerCoords[] { coords }, in getMotionEvent()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | DocumentHolderTest.java | 74 PointerCoords coords[] = new PointerCoords[] { in createEvent() local 80 coords[0].x = rect.left; in createEvent() 81 coords[0].y = rect.top; in createEvent() 89 coords, // pointer coords in createEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ClickShadowView.java | 105 int[] coords = new int[] {0, 0}; in alignWithIconView() local 107 coords, false); in alignWithIconView() 108 int clipLeft = (int) Math.max(0, coords[0] - leftShift - mShadowPadding); in alignWithIconView() 109 int clipTop = (int) Math.max(0, coords[1] - topShift - mShadowPadding) ; in alignWithIconView()
|
D | ButtonDropTarget.java | 249 int[] coords = new int[2]; in getHitRectRelativeToDragLayer() local 250 mLauncher.getDragLayer().getDescendantCoordRelativeToSelf(this, coords); in getHitRectRelativeToDragLayer() 251 outRect.offsetTo(coords[0], coords[1]); in getHitRectRelativeToDragLayer()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | CustomViewToolbar.java | 140 final int[] coords = new int[2]; in onConversationListLayout() local 141 mCustomView.getLocationInWindow(coords); in onConversationListLayout() 144 newWidth = coords[0] + mCustomView.getWidth() - xEnd; in onConversationListLayout() 146 newWidth = xEnd - coords[0]; in onConversationListLayout()
|
D | MaterialSearchActionView.java | 122 int[] coords = new int[2]; in adjustViewForTwoPaneLandscape() local 123 getLocationInWindow(coords); in adjustViewForTwoPaneLandscape() 124 params.width = coords[0] + getWidth() - xEnd; in adjustViewForTwoPaneLandscape()
|
D | ConversationViewFragment.java | 1276 final int[] coords = new int[2]; in focusAndScrollToView() local 1277 v.getLocationOnScreen(coords); in focusAndScrollToView() 1278 final int bottom = coords[1] + v.getHeight(); in focusAndScrollToView() 1281 } else if (coords[1] < mTopOfVisibleScreen) { in focusAndScrollToView() 1282 mWebView.scrollBy(0, coords[1] - mTopOfVisibleScreen); in focusAndScrollToView()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | AddWorkspaceItemsTask.java | 82 Pair<Long, int[]> coords = findSpaceForItem(app, dataModel, workspaceScreens, in execute() local 84 long screenId = coords.first; in execute() 85 int[] cordinates = coords.second; in execute()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationItemViewCoordinates.java | 162 public void put(final int key, final ConversationItemViewCoordinates coords) { in put() argument 163 mCoordinatesCache.put(key, coords); in put()
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | ComposeActivity.java | 2337 final int[] coords = new int[2]; in onFocusChange() local 2338 mCc.getLocationOnScreen(coords); in onFocusChange() 2342 final int deltaY = coords[1] - getSupportActionBar().getHeight() - mRect.top; in onFocusChange()
|
/packages/apps/Browser2/test/webexposed/ |
D | global-interface-listing-expected.txt | 1196 getter coords 1221 setter coords 1246 getter coords 1265 setter coords
|