Home
last modified time | relevance | path

Searched refs:visibleWindow (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java288 int[] visibleWindow; in handleMessage() local
291 visibleWindow = adapter.getVisibleWindow(newCount); in handleMessage()
297 for (int position : visibleWindow) { in handleMessage()
625 public void insert(int position, RemoteViews v, long itemId, int[] visibleWindow) { in insert() argument
628 mIndexRemoteViews.remove(getFarthestPositionFrom(position, visibleWindow)); in insert()
639 int trimIndex = getFarthestPositionFrom(pruneFromPosition, visibleWindow); in insert()
693 private int getFarthestPositionFrom(int pos, int[] visibleWindow) { in getFarthestPositionFrom() argument
702 if (dist > maxDistNotVisible && Arrays.binarySearch(visibleWindow, index) < 0) { in getFarthestPositionFrom()
1032 int[] visibleWindow = getVisibleWindow(cacheCount); in updateRemoteViews() local
1034 mCache.insert(position, remoteViews, itemId, visibleWindow); in updateRemoteViews()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java3521 final WindowState visibleWindow = getWindow(w -> { in checkWaitingForWindows() local
3540 if (visibleWindow != null) { in checkWaitingForWindows()