Home
last modified time | relevance | path

Searched refs:isAdded (Results 1 – 23 of 23) sorted by relevance

/frameworks/support/v4/tests/java/android/support/v4/app/
DFragmentLifecycleTest.java73 assertTrue("fragment is not added", strictFragment.isAdded()); in basicLifecycle()
81 assertFalse("fragment is added", strictFragment.isAdded()); in basicLifecycle()
99 assertTrue("fragment 1 is not added", f1.isAdded()); in detachment()
100 assertTrue("fragment 2 is not added", f2.isAdded()); in detachment()
108 assertFalse("fragment 1 is added", f1.isAdded()); in detachment()
109 assertFalse("fragment 2 is added", f2.isAdded()); in detachment()
115 assertTrue("fragment 1 is not added", f1.isAdded()); in detachment()
123 assertFalse("fragment 1 is added", f1.isAdded()); in detachment()
124 assertFalse("fragment 2 is added", f2.isAdded()); in detachment()
139 assertTrue("fragment 1 is not added", f1.isAdded()); in basicBackStack()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCard.java301 private void onIccSwap(boolean isAdded) { in onIccSwap() argument
312 promptForRestart(isAdded); in onIccSwap()
315 private void promptForRestart(boolean isAdded) { in promptForRestart() argument
323 .putExtra(EXTRA_ICC_CARD_ADDED, isAdded); in promptForRestart()
359 String title = (isAdded) ? r.getString(R.string.sim_added_title) : in promptForRestart()
361 String message = (isAdded) ? r.getString(R.string.sim_added_message) : in promptForRestart()
/frameworks/support/v4/java/android/support/v4/app/
DFragmentStatePagerAdapter.java140 mSavedState.set(position, fragment.isAdded() in destroyItem()
187 if (f != null && f.isAdded()) { in saveState()
DFragment.java729 final public boolean isAdded() { in isAdded() method in Fragment
776 return isAdded() && !isHidden() && mView != null in isVisible()
843 if (isAdded() && !isHidden()) { in setHasOptionsMenu()
861 if (mHasMenu && isAdded() && !isHidden()) { in setMenuVisibility()
882 && mFragmentManager != null && isAdded()) { in setUserVisibleHint()
DBackStackRecord.java770 if (fragment.isAdded() && fragment.getView() != null in setFirstOut()
786 if (!fragment.isAdded()) { in setLastIn()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentStatePagerAdapter.java144 mSavedState.set(position, fragment.isAdded() in destroyItem()
192 if (f != null && f.isAdded()) { in saveState()
/frameworks/base/core/java/android/app/
DFragment.java897 final public boolean isAdded() { in isAdded() method in Fragment
944 return isAdded() && !isHidden() && mView != null in isVisible()
1001 if (isAdded() && !isHidden()) { in setHasOptionsMenu()
1019 if (mHasMenu && isAdded() && !isHidden()) { in setMenuVisibility()
1068 && mFragmentManager != null && isAdded(); in setUserVisibleHint()
DBackStackRecord.java828 if (fragment.isAdded() && fragment.getView() != null in setFirstOut()
844 if (!fragment.isAdded()) { in setLastIn()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootsFragment.java115 if (!isAdded()) { in onActivityCreated()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java344 if (getView() == null || !isAdded()) { in onLoadFinished()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java1809 if (!isAdded()) return; in onLoadFinished()
/frameworks/support/v4/api/
D22.1.0.txt139 method public final boolean isAdded();
D22.0.0.txt139 method public final boolean isAdded();
D22.2.1.txt168 method public final boolean isAdded();
D22.2.0.txt168 method public final boolean isAdded();
D23.0.0.txt194 method public final boolean isAdded();
D23.1.0.txt200 method public final boolean isAdded();
D23.1.1.txt170 method public final boolean isAdded();
Dcurrent.txt169 method public final boolean isAdded();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4160 method public final boolean isAdded();
/frameworks/base/api/
Dcurrent.txt4420 method public final boolean isAdded();
Dtest-current.txt4421 method public final boolean isAdded();
Dsystem-current.txt4566 method public final boolean isAdded();