Home
last modified time | relevance | path

Searched refs:mIsActive (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DAsyncQueryLiveData.java93 private boolean mIsActive; field in AsyncQueryLiveData.CursorRunnable
97 mIsActive = true; in CursorRunnable()
104 if (mIsActive) { in run()
106 if (mIsActive) { in run()
114 if (!mIsActive && mCursor != null) { in closeCursorIfNecessary()
117 mIsActive = false; in closeCursorIfNecessary()
DObservableAsyncQuery.java56 private boolean mIsActive = false; field in ObservableAsyncQuery
101 mIsActive = true; in startQuery()
111 mIsActive = false; in stopQuery()
117 if (!mIsActive) { in onQueryComplete()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowDataAdapter.java53 private boolean mIsActive = false; field in SlideshowDataAdapter
99 while (mIsActive && (!mDataReady in run()
109 if (!mIsActive) return null; in run()
160 while (mIsActive && mDataReady && mImageQueue.isEmpty()) { in innerNextBitmap()
187 mIsActive = false;
198 mIsActive = true;
DAlbumPage.java85 private boolean mIsActive = false; field in AlbumPage
252 if (!mIsActive) return; in onSingleTapUp()
273 if (!mIsActive) return; in pickPhoto()
401 mIsActive = true; in onResume()
438 mIsActive = false; in onPause()
714 if ((mLoadingBits == 0) && (mSyncResult == MediaSet.SYNC_RESULT_ERROR) && mIsActive in showSyncErrorIfNecessary()
727 if (mLoadingBits == 0 && mIsActive) { in clearLoadingBit()
DAlbumSetPage.java84 private boolean mIsActive = false; field in AlbumSetPage
191 if (!mIsActive) return; in onSingleTapUp()
238 if (!mIsActive) return; in pickAlbum()
400 if (mLoadingBits == 0 && mIsActive) { in clearLoadingBit()
437 mIsActive = false; in onPause()
457 mIsActive = true; in onResume()
716 if (resultCode == MediaSet.SYNC_RESULT_ERROR && mIsActive) { in onSyncDone()
DSlideshowPage.java84 private boolean mIsActive = false; field in SlideshowPage
158 if (mIsActive) { in showPendingBitmap()
175 mIsActive = false; in onPause()
186 mIsActive = true; in onResume()
DPhotoDataAdapter.java153 private boolean mIsActive; field in PhotoDataAdapter
351 mIsActive = true; in resume()
366 mIsActive = false; in pause()
386 if (index < 0 || index >= mSize || !mIsActive) return null; in getItem()
448 if (index < 0 || index >= mSize || !mIsActive) return null; in getScreenNail()
657 if (!mIsActive) return; in updateImageRequests()
DPhotoPage.java151 private boolean mIsActive; field in PhotoPage
520 } else if (mIsActive) { in onCreate()
578 return mIsActive && !mPhotoView.canUndo(); in canDisplayBottomControls()
1297 mIsActive = false; in onPause()
1397 mIsActive = true; in onResume()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java77 private boolean mIsActive = false; field in AlbumSlidingWindow
129 if (!mIsActive) { in setContentWindow()
178 if (mIsActive) updateAllImageRequests(); in setActiveWindow()
191 if (!mIsActive) return; in updateTextureUploadQueue()
338 if (index >= mContentStart && index < mContentEnd && mIsActive) { in onContentChanged()
349 mIsActive = true; in resume()
358 mIsActive = false; in pause()
DAlbumSetSlidingWindow.java69 private boolean mIsActive = false; field in AlbumSetSlidingWindow
181 if (mIsActive) { in setActiveWindow()
314 if (!mIsActive) return; in updateTextureUploadQueue()
354 if (mIsActive && mSize != size) { in onSizeChanged()
364 if (!mIsActive) { in onContentChanged()
398 mIsActive = false; in pause()
408 mIsActive = true; in resume()
532 if (!mIsActive) return; in onSlotSizeChanged()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DSyncStateSwitchPreference.java35 private boolean mIsActive = false; field in SyncStateSwitchPreference
66 final boolean activeVisible = mIsActive || mIsPending; in onBindViewHolder()
68 syncActiveView.setAnimating(mIsActive); in onBindViewHolder()
94 mIsActive = isActive; in setActive()
/packages/apps/Settings/src/com/android/settings/accounts/
DSyncStateSwitchPreference.java36 private boolean mIsActive = false; field in SyncStateSwitchPreference
80 final boolean activeVisible = mIsActive || mIsPending; in onBindViewHolder()
82 syncActiveView.setAnimating(mIsActive); in onBindViewHolder()
108 mIsActive = isActive; in setActive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DSyncStateSwitchPreference.java36 private boolean mIsActive = false; field in SyncStateSwitchPreference
80 final boolean activeVisible = mIsActive || mIsPending; in onBindViewHolder()
82 syncActiveView.setAnimating(mIsActive); in onBindViewHolder()
108 mIsActive = isActive; in setActive()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeTest.java161 private boolean mIsActive = true; field in CarVolumeTest.Builder
169 mIsActive = false; in setInactive()
177 when(configuration.isActive()).thenReturn(mIsActive); in build()