Home
last modified time | relevance | path

Searched refs:isShowing (Results 1 – 25 of 80) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkSwitchControllerTest.java107 assertThat(mSwitchBar.isShowing()).isFalse(); in isAvailable_pSIM_isNotAvailable()
111 assertThat(mSwitchBar.isShowing()).isTrue(); in isAvailable_pSIM_isNotAvailable()
119 assertThat(mSwitchBar.isShowing()).isTrue(); in displayPreference_oneEnabledSubscription_switchBarNotHidden()
127 assertThat(mSwitchBar.isShowing()).isTrue(); in displayPreference_oneDisabledSubscription_switchBarNotHidden()
134 assertThat(mSwitchBar.isShowing()).isTrue(); in displayPreference_subscriptionEnabled_switchIsOn()
142 assertThat(mSwitchBar.isShowing()).isTrue(); in displayPreference_subscriptionDisabled_switchIsOff()
150 assertThat(mSwitchBar.isShowing()).isTrue(); in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledCalledCorrectly()
162 assertThat(mSwitchBar.isShowing()).isTrue(); in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledFailed()
173 assertThat(mSwitchBar.isShowing()).isTrue(); in switchChangeListener_fromDisabledToEnabled_setSubscriptionEnabledCalledCorrectly()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestErrorDialogFragmentTest.java79 assertThat(alertDialog.isShowing()).isTrue(); in display_shouldShowTimeoutDialog()
99 assertThat(alertDialog.isShowing()).isTrue(); in display_shouldShowAbortDialog()
110 assertThat(alertDialog.isShowing()).isTrue(); in clickPositiveButton_shouldCallStartScanningDialog()
122 assertThat(alertDialog.isShowing()).isTrue(); in clickNegativeButton_shouldCloseTheDialog()
128 assertThat(alertDialog.isShowing()).isFalse(); in clickNegativeButton_shouldCloseTheDialog()
DNetworkRequestDialogFragmentTest.java88 assertThat(alertDialog.isShowing()).isTrue(); in display_shouldShowTheDialog()
106 assertThat(alertDialog.isShowing()).isTrue(); in clickNegativeButton_shouldCloseTheDialog()
112 assertThat(alertDialog.isShowing()).isFalse(); in clickNegativeButton_shouldCloseTheDialog()
/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBar.java269 if (!isShowing()) { in show()
276 if (isShowing()) { in hide()
282 public boolean isShowing() { in isShowing() method in SwitchBar
371 ss.visible = isShowing(); in onSaveInstanceState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSwitchBar.java257 if (!isShowing()) { in show()
268 if (isShowing()) { in hide()
282 public boolean isShowing() { in isShowing() method in SwitchBar
371 ss.visible = isShowing(); in onSaveInstanceState()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivityTest.java200 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOn_requestDisableIntent_startsDialog()
212 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOff_requestDiscoverableIntent_startsDialog()
224 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOn_requestDiscoverableIntent_startsDialog()
236 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOff_requestEnableIntent_startsDialog()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DInCallFragment.java385 public void onInCallScreenDialpadVisibilityChange(boolean isShowing) { in onInCallScreenDialpadVisibilityChange() argument
386 LogUtil.i("InCallFragment.onInCallScreenDialpadVisibilityChange", "isShowing: " + isShowing); in onInCallScreenDialpadVisibilityChange()
388 getButtonController(InCallButtonIds.BUTTON_DIALPAD).setChecked(isShowing); in onInCallScreenDialpadVisibilityChange()
395 inCallButtonGridFragment.onInCallScreenDialpadVisibilityChange(isShowing); in onInCallScreenDialpadVisibilityChange()
401 isShowing ? android.R.color.background_dark : android.R.color.transparent)); in onInCallScreenDialpadVisibilityChange()
DInCallButtonGridFragment.java81 public void onInCallScreenDialpadVisibilityChange(boolean isShowing) { in onInCallScreenDialpadVisibilityChange() argument
84 isShowing in onInCallScreenDialpadVisibilityChange()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationInput.java44 public ConversationInput(ConversationInputBase baseHost, final boolean isShowing) { in ConversationInput() argument
46 mShowing = isShowing; in ConversationInput()
DConversationInputManager.java534 public ConversationImeKeyboard(ConversationInputBase baseHost, final boolean isShowing) { in ConversationImeKeyboard() argument
535 super(baseHost, isShowing); in ConversationImeKeyboard()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DEditPinPreference.java66 return dialog != null && dialog.isShowing(); in isDialogOpen()
79 if (dialog == null || !dialog.isShowing()) { in showPinDialog()
DRestrictedSettingsFragment.java159 if (mActionDisabledDialog != null && mActionDisabledDialog.isShowing()) { in onActivityResult()
238 && (mActionDisabledDialog == null || !mActionDisabledDialog.isShowing())) { in onDataSetChanged()
/packages/apps/Settings/src/com/android/settings/
DEditPinPreference.java66 return dialog != null && dialog.isShowing(); in isDialogOpen()
79 if (dialog == null || !dialog.isShowing()) { in showPinDialog()
DRestrictedSettingsFragment.java159 if (mActionDisabledDialog != null && mActionDisabledDialog.isShowing()) { in onActivityResult()
238 && (mActionDisabledDialog == null || !mActionDisabledDialog.isShowing())) { in onDataSetChanged()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorAccountsChangedActivity.java81 if (mDialog != null && !mDialog.isShowing()) { in onResume()
203 if (mDialog != null && mDialog.isShowing()) { in updateDisplayedAccounts()
/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/
DWalletPanelViewControllerTest.java335 assertThat(popupWindow.isShowing()).isTrue(); in onWalletCardsRetrieved_showsOverflowButton_startWalletActivity()
364 assertThat(popupWindow.isShowing()).isTrue(); in onWalletCardsRetrieved_noShortLabel_showsOnlySettingsInOverflowMenu()
392 assertThat(popupWindow.isShowing()).isFalse(); in onWalletCardsRetrieved_noWalletIntent_showsOnlySettingsInOverflowMenu()
396 assertThat(popupWindow.isShowing()).isTrue(); in onWalletCardsRetrieved_noWalletIntent_showsOnlySettingsInOverflowMenu()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttChatFragment.java356 if (overflowMenu.isShowing()) { in onStop()
516 public void onInCallScreenDialpadVisibilityChange(boolean isShowing) { in onInCallScreenDialpadVisibilityChange() argument
517 overflowMenu.setDialpadButtonChecked(isShowing); in onInCallScreenDialpadVisibilityChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DSpellCheckersSettings.java189 if (mDialog != null && mDialog.isShowing()) { in showChooseLanguageDialog()
243 if (mDialog != null && mDialog.isShowing()) { in showSecurityWarnDialog()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DSpellCheckersSettings.java188 if (mDialog != null && mDialog.isShowing()) { in showChooseLanguageDialog()
242 if (mDialog != null && mDialog.isShowing()) { in showSecurityWarnDialog()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java619 if (mPreviewPopup.isShowing()) { in setPopupOffset()
1011 if (previewPopup.isShowing()) { in showPreview()
1019 if (previewPopup.isShowing() && mPreviewText.getVisibility() == VISIBLE) { in showPreview()
1095 if (previewPopup.isShowing()) { in showKey()
1421 if (mPreviewPopup.isShowing()) { in closing()
/packages/apps/Contacts/src/com/android/contacts/util/
DUiClosables.java33 if (popup != null && popup.isShowing()) { in closeQuietly()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DDialogUiTest.java94 assertTrue("Dialog was not being shown", mCreateDirectoryFragment.getDialog().isShowing()); in testCreateDialogShows()
105 assertTrue("Dialog was not being shown", mCreateDirectoryFragment.getDialog().isShowing()); in testCreateDialogShowsDismiss()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAnswerFragment.java535 boolean isShowing = isShowingLocationUi(); in showLocationUi()
536 if (!isShowing && locationUi != null) { in showLocationUi()
542 } else if (isShowing && locationUi == null) { in showLocationUi()
693 public void onInCallScreenDialpadVisibilityChange(boolean isShowing) {} in onInCallScreenDialpadVisibilityChange() argument
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DInCallScreen.java44 void onInCallScreenDialpadVisibilityChange(boolean isShowing); in onInCallScreenDialpadVisibilityChange() argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DRestrictedSettingsFragmentTest.java54 doReturn(true).when(mAlertDialog).isShowing(); in onActivityResult_dismissesDialogOnOk()

1234