Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DQueuedWork.java69 public static void add(Runnable finisher) { in add() argument
70 sPendingWorkFinishers.add(finisher); in add()
73 public static void remove(Runnable finisher) { in remove() argument
74 sPendingWorkFinishers.remove(finisher); in remove()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java76 Runnable finisher; field in SaveImageInBackgroundData
309 params.finisher.run(); in onPostExecute()
354 params.finisher.run(); in onPostExecute()
504 private void saveScreenshotInWorkerThread(Runnable finisher) { in saveScreenshotInWorkerThread() argument
509 data.finisher = finisher; in saveScreenshotInWorkerThread()
537 void takeScreenshot(Runnable finisher, boolean statusBarVisible, boolean navBarVisible) { in takeScreenshot() argument
557 finisher.run(); in takeScreenshot()
581 startAnimation(finisher, mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels, in takeScreenshot()
589 private void startAnimation(final Runnable finisher, int w, int h, boolean statusBarVisible, in startAnimation() argument
611 saveScreenshotInWorkerThread(finisher); in startAnimation()