Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DQueuedWork.java124 public static void addFinisher(Runnable finisher) { in addFinisher() argument
126 sFinishers.add(finisher); in addFinisher()
135 public static void removeFinisher(Runnable finisher) { in removeFinisher() argument
137 sFinishers.remove(finisher); in removeFinisher()
179 Runnable finisher; in waitToFinish() local
182 finisher = sFinishers.poll(); in waitToFinish()
185 if (finisher == null) { in waitToFinish()
189 finisher.run(); in waitToFinish()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTakeScreenshotService.java39 Runnable finisher = new Runnable() {
55 post(finisher);
65 mScreenshot.takeScreenshot(finisher, msg.arg1 > 0, msg.arg2 > 0);
68 mScreenshot.takeScreenshotPartial(finisher, msg.arg1 > 0, msg.arg2 > 0);
DGlobalScreenshot.java83 Runnable finisher; field in SaveImageInBackgroundData
360 mParams.finisher.run(); in onPostExecute()
369 mParams.finisher.run(); in onCancelled()
519 private void saveScreenshotInWorkerThread(Runnable finisher) { in saveScreenshotInWorkerThread() argument
524 data.finisher = finisher; in saveScreenshotInWorkerThread()
552 void takeScreenshot(Runnable finisher, boolean statusBarVisible, boolean navBarVisible, in takeScreenshot() argument
574 finisher.run(); in takeScreenshot()
605 startAnimation(finisher, mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels, in takeScreenshot()
609 void takeScreenshot(Runnable finisher, boolean statusBarVisible, boolean navBarVisible) { in takeScreenshot() argument
611 takeScreenshot(finisher, statusBarVisible, navBarVisible, 0, 0, mDisplayMetrics.widthPixels, in takeScreenshot()
[all …]
/frameworks/base/api/
Dcurrent.txt67457 method public abstract java.util.function.Function<A, R> finisher();
Dsystem-current.txt71365 method public abstract java.util.function.Function<A, R> finisher();