Searched refs:isAdded (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DAutoAddTrackerTest.java55 assertTrue(mAutoTracker.isAdded(SAVER));
56 assertTrue(mAutoTracker.isAdded(WORK));
57 assertFalse(mAutoTracker.isAdded(INVERSION));
72 assertFalse(mAutoTracker.isAdded(SAVER));
77 assertTrue(mAutoTracker.isAdded(SAVER));
86 assertFalse(mAutoTracker.isAdded(SAVER));
89 assertTrue(mAutoTracker.isAdded(SAVER));
98 assertFalse(mAutoTracker.isAdded(SAVER));
104 assertTrue(mAutoTracker.isAdded(SAVER));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DAutoTileManager.java58 if (!mAutoTracker.isAdded(HOTSPOT)) {
61 if (!mAutoTracker.isAdded(SAVER)) {
64 if (!mAutoTracker.isAdded(INVERSION)) {
69 if (mAutoTracker.isAdded(INVERSION)) return;
79 if (!mAutoTracker.isAdded(WORK)) {
82 if (!mAutoTracker.isAdded(NIGHT)
103 if (mAutoTracker.isAdded(WORK)) return;
122 if (mAutoTracker.isAdded(SAVER)) return;
135 if (mAutoTracker.isAdded(HOTSPOT)) return;
164 if (mAutoTracker.isAdded(NIGH
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccSlot.java246 private void onIccSwap(boolean isAdded) { argument
257 promptForRestart(isAdded);
260 private void promptForRestart(boolean isAdded) { argument
268 .putExtra(EXTRA_ICC_CARD_ADDED, isAdded);
304 String title = (isAdded) ? r.getString(R.string.sim_added_title) :
306 String message = (isAdded) ? r.getString(R.string.sim_added_message) :
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentLifecycleTest.java87 assertTrue("fragment is not added", strictFragment.isAdded());
95 assertFalse("fragment is added", strictFragment.isAdded());
113 assertTrue("fragment 1 is not added", f1.isAdded());
114 assertTrue("fragment 2 is not added", f2.isAdded());
122 assertFalse("fragment 1 is added", f1.isAdded());
123 assertFalse("fragment 2 is added", f2.isAdded());
129 assertTrue("fragment 1 is not added", f1.isAdded());
137 assertFalse("fragment 1 is added", f1.isAdded());
138 assertFalse("fragment 2 is added", f2.isAdded());
153 assertTrue("fragment 1 is not added", f1.isAdded());
[all...]
H A DFragmentTransactionTest.java105 assertTrue(fragment.isAdded());
126 assertFalse("Fragment shouldn't be added", fragment.isAdded());
151 assertFalse("Fragment shouldn't be added", fragment.isAdded());
176 assertFalse("Fragment shouldn't be added", fragment.isAdded());
249 assertFalse("Fragment shouldn't be added", fragment.isAdded());
H A DFragmentAnimationTest.java349 assertTrue(fragment1.isAdded());
352 assertFalse(fragment2.isAdded());
401 assertFalse(fragment2.isAdded());
H A DFragmentAnimatorTest.java438 assertTrue(fragment1.isAdded());
441 assertFalse(fragment2.isAdded());
482 assertFalse(fragment2.isAdded());
H A DPostponedTransitionTest.java718 assertFalse(fragment.isAdded());
760 assertTrue(fragment2.isAdded());
772 assertFalse(fragment2.isAdded());
H A DFragmentViewTests.java645 assertTrue(replacement1.isAdded());
687 assertTrue(replacement1.isAdded());
693 assertTrue(replacement2.isAdded());
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DAutoAddTracker.java65 public boolean isAdded(String tile) { method in class:AutoAddTracker
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DFragmentStatePagerAdapter.java141 mSavedState.set(position, fragment.isAdded()
189 if (f != null && f.isAdded()) {
H A DFragment.java864 final public boolean isAdded() { method in class:Fragment
911 return isAdded() && !isHidden() && mView != null
979 if (isAdded() && !isHidden()) {
997 if (mHasMenu && isAdded() && !isHidden()) {
1021 && mFragmentManager != null && isAdded() && mIsCreated) {
/frameworks/support/legacy/v13/src/main/java/androidx/legacy/app/
H A DFragmentStatePagerAdapter.java167 mSavedState.set(position, fragment.isAdded()
232 if (f != null && f.isAdded()) {
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemalarm/
H A DSystemAlarmDispatcherTest.java467 boolean isAdded = super.add(intent, startId);
468 if (isAdded) {
471 return isAdded;
/frameworks/support/viewpager2/src/main/java/androidx/viewpager2/widget/
H A DViewPager2.java342 if (holder.mFragment.isAdded()) {
392 if (fragment.isAdded()) {
/frameworks/base/core/tests/coretests/src/android/app/
H A DLoaderLifecycleTest.java219 assertTrue(restoredOne.isAdded());
/frameworks/base/core/java/android/app/
H A DFragment.java851 final public boolean isAdded() { method in class:Fragment
898 return isAdded() && !isHidden() && mView != null
954 if (isAdded() && !isHidden()) {
972 if (mHasMenu && isAdded() && !isHidden()) {
1024 && mFragmentManager != null && isAdded();
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java344 if (getView() == null || !isAdded()) {
/frameworks/base/config/
H A Dboot-image-profile.txt[all...]

Completed in 142 milliseconds