Searched refs:visibleWindow (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsAdapter.java | 290 int[] visibleWindow; in handleMessage() local 293 visibleWindow = adapter.getVisibleWindow(newCount); in handleMessage() 299 for (int position : visibleWindow) { in handleMessage() 622 public void insert(int position, RemoteViews v, long itemId, int[] visibleWindow) { in insert() argument 625 mIndexRemoteViews.remove(getFarthestPositionFrom(position, visibleWindow)); in insert() 636 int trimIndex = getFarthestPositionFrom(pruneFromPosition, visibleWindow); in insert() 690 private int getFarthestPositionFrom(int pos, int[] visibleWindow) { in getFarthestPositionFrom() argument 699 if (dist > maxDistNotVisible && Arrays.binarySearch(visibleWindow, index) < 0) { in getFarthestPositionFrom() 1025 int[] visibleWindow = getVisibleWindow(cacheCount); in updateRemoteViews() local 1027 mCache.insert(position, remoteViews, itemId, visibleWindow); in updateRemoteViews()
|