Home
last modified time | relevance | path

Searched refs:mRunning (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/services/backup/java/com/android/server/backup/restore/
DRestoreEngine.java33 private final AtomicBoolean mRunning = new AtomicBoolean(false); field in RestoreEngine
37 return mRunning.get(); in isRunning()
41 synchronized (mRunning) { in setRunning()
42 mRunning.set(stillRunning); in setRunning()
43 mRunning.notifyAll(); in setRunning()
48 synchronized (mRunning) { in waitForResult()
51 mRunning.wait(); in waitForResult()
/frameworks/base/core/tests/coretests/src/android/animation/
DEventsTest.java65 protected boolean mRunning; // tracks whether we've started the animator field in EventsTest
218 assertTrue(mRunning); in setUp()
227 assertTrue(mRunning || mStarted); in setUp()
235 assertTrue(mRunning || mStarted); in setUp()
236 mRunning = false; in setUp()
246 mRunning = false; in setUp()
268 mRunning = true; // end() implicitly starts an unstarted animator in testEnd()
282 mRunning = true; in testStartCancel()
303 mRunning = true; in testStartEnd()
324 mRunning = true; in testStartDelayedCancel()
[all …]
DViewPropertyAnimatorTest.java64 protected boolean mRunning; // tracks whether we've started the animator field in ViewPropertyAnimatorTest
151 assertTrue(mRunning); in setUp()
160 assertTrue(mRunning); in setUp()
169 assertTrue(mRunning); in setUp()
171 mRunning = false; in setUp()
182 mRunning = false; in setUp()
207 mRunning = true; in testStartCancel()
228 mRunning = true; in testStartDelayedCancel()
250 mRunning = true; in testPlayingCancel()
272 mRunning = true; in testPlayingDelayedCancel()
[all …]
/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.cpp39 if (mRunning) { in start()
45 mRunning = true; in start()
50 bool wasRunning = mRunning; in stop()
51 mRunning = false; in stop()
56 return mRunning; in isRunning()
71 if (!mRunning) { in isDirty()
157 if (!mRunning) { in onDraw()
168 if (mRunning && nextSnapshotReady()) { in onDraw()
175 mRunning = false; in onDraw()
189 if (mRunning && !mNextSnapshot.valid()) { in onDraw()
[all …]
/frameworks/base/core/java/android/widget/
DAdapterViewFlipper.java48 private boolean mRunning = false; field in AdapterViewFlipper
197 if (mRunning) { in showNext()
212 if (mRunning) { in showPrevious()
240 if (running != mRunning) { in updateRunning()
247 mRunning = running; in updateRunning()
251 + ", mUserPresent=" + mUserPresent + ", mRunning=" + mRunning); in updateRunning()
281 if (mRunning) {
DViewFlipper.java50 private boolean mRunning = false; field in ViewFlipper
189 if (running != mRunning) { in updateRunning()
196 mRunning = running; in updateRunning()
200 + ", mUserPresent=" + mUserPresent + ", mRunning=" + mRunning); in updateRunning()
232 if (mRunning) {
DChronometer.java79 private boolean mRunning; field in Chronometer
327 if (running != mRunning) { in updateRunning()
335 mRunning = running; in updateRunning()
342 if (mRunning) {
/frameworks/base/tests/LockTaskTests/src/com/google/android/example/locktasktests/
DLaunchActivity.java32 boolean mRunning; field in LaunchActivity
42 if (!mRunning) { in onCreate()
59 mRunning = true; in onResume()
66 mRunning = false; in onPause()
DMainActivity.java17 boolean mRunning; field in MainActivity
28 if (!mRunning) { in onCreate()
45 mRunning = true; in onResume()
52 mRunning = false; in onPause()
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderWatcher.java56 private boolean mRunning; field in RemoteDisplayProviderWatcher
70 pw.println(prefix + " mRunning=" + mRunning); in dump()
75 if (!mRunning) { in start()
76 mRunning = true; in start()
95 if (mRunning) { in stop()
96 mRunning = false; in stop()
109 if (!mRunning) { in scanPackages()
DRemoteDisplayProviderProxy.java53 private boolean mRunning; field in RemoteDisplayProviderProxy
75 pw.println(prefix + " mRunning=" + mRunning); in dump()
137 if (!mRunning) { in start()
142 mRunning = true; in start()
148 if (mRunning) { in stop()
153 mRunning = false; in stop()
174 if (mRunning) { in shouldBind()
/frameworks/base/media/jni/soundpool/
DSoundPoolThread.cpp32 if (mRunning) { in write()
51 if (mRunning) { in quit()
52 mRunning = false; in quit()
66 mRunning = true; in SoundPoolThread()
/frameworks/native/libs/renderengine/gl/
DImageManager.cpp49 mRunning = false; in ~ImageManager()
103 run = mRunning; in threadMain()
110 [&]() REQUIRES(mMutex) { return !mQueue.empty() || !mRunning; }); in threadMain()
111 run = mRunning; in threadMain()
113 if (!mRunning) { in threadMain()
/frameworks/native/services/surfaceflinger/
DTransactionCompletedThread.cpp68 if (mRunning || !mKeepRunning) { in run()
72 mRunning = true; in run()
81 if (!mRunning) { in addCallback()
102 if (!mRunning) { in registerPendingCallbackHandle()
123 if (!mRunning) { in addPresentedCallbackHandles()
164 if (!mRunning) { in addUnpresentedCallbackHandle()
218 if (mRunning) { in sendCallbacks()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java223 if (!mTranslateRunnable.mRunning) { in onTouchEvent()
346 if (mTransformsEnabled && !mScaleRunnable.mRunning) { in onScroll()
363 if (mTransformsEnabled && !mScaleRunnable.mRunning) { in onFling()
371 if (mTransformsEnabled && !mScaleRunnable.mRunning) { in onScale()
382 if (mTransformsEnabled && !mScaleRunnable.mRunning) { in onScaleBegin()
407 } else if (mTranslateRunnable.mRunning) { in interceptMoveLeft()
440 } else if (mTranslateRunnable.mRunning) { in interceptMoveRight()
1174 private boolean mRunning; field in PhotoView.ScaleRunnable
1185 if (mRunning) { in start()
1198 mRunning = true; in start()
[all …]
/frameworks/base/core/java/android/animation/
DValueAnimator.java181 private boolean mRunning = false; field in ValueAnimator
1062 mRunning = false; in start()
1118 if ((mStarted || mRunning) && mListeners != null) { in cancel()
1119 if (!mRunning) { in cancel()
1138 if (!mRunning) { in end()
1176 return mRunning; in isRunning()
1228 boolean notify = (mStarted || mRunning) && mListeners != null; in endAnimation()
1229 if (notify && !mRunning) { in endAnimation()
1233 mRunning = false; in endAnimation()
1267 mRunning = true; in startAnimation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServicesUserState.java31 private String[] mRunning = null; field in ForegroundServicesUserState
42 mRunning = pkgs != null ? Arrays.copyOf(pkgs, pkgs.length) : null; in setRunningServices()
114 if (mRunning != null in isDisclosureNeeded()
118 for (String pkg : mRunning) { in isDisclosureNeeded()
143 + "mRunning=" + Arrays.toString(mRunning) in toString()
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteProviderWatcher.java55 private boolean mRunning; field in TvRemoteProviderWatcher
69 if (!mRunning) { in start()
70 mRunning = true; in start()
89 if (mRunning) { in stop()
90 mRunning = false; in stop()
103 if (!mRunning) { in scanPackages()
DTvRemoteProviderProxy.java65 private boolean mRunning; field in TvRemoteProviderProxy
82 pw.println(prefix + " mRunning=" + mRunning); in dump()
98 if (!mRunning) { in start()
103 mRunning = true; in start()
109 if (mRunning) { in stop()
114 mRunning = false; in stop()
137 return mRunning; in shouldBind()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimationDrawable.java96 private boolean mRunning; field in AnimationDrawable
127 boolean startFromZero = restart || (!mRunning && !mAnimationState.mOneShot) || in setVisible()
188 return mRunning; in isRunning()
204 mRunning = false; in unscheduleSelf()
254 if (!mRunning) { in addFrame()
285 mRunning = true; in setFrame()
DAnimatedRotateDrawable.java48 private boolean mRunning; field in AnimatedRotateDrawable
84 if (!mRunning) { in start()
85 mRunning = true; in start()
97 mRunning = false; in stop()
103 return mRunning; in isRunning()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DCanvasTextureViewActivity.java73 private volatile boolean mRunning = true; field in CanvasTextureViewActivity.RenderingThread
89 while (mRunning && !Thread.interrupted()) { in run()
118 mRunning = false; in stopRendering()
DHardwareCanvasTextureViewActivity.java75 private volatile boolean mRunning = true; field in HardwareCanvasTextureViewActivity.RenderingThread
92 while (mRunning && !Thread.interrupted()) { in run()
121 mRunning = false; in stopRendering()
DHardwareCanvasSurfaceViewActivity.java107 private volatile boolean mRunning = true; field in HardwareCanvasSurfaceViewActivity.RenderingThread
129 while (mRunning && !Thread.interrupted()) { in run()
158 mRunning = false; in stopRendering()
/frameworks/rs/
DrsThreadIO.cpp33 mRunning = true; in ThreadIO()
45 mRunning = false; in shutdown()
126 while (mRunning) { in playCoreCommands()

123