Home
last modified time | relevance | path

Searched refs:isShowing (Results 1 – 25 of 78) 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()
115 assertThat(mSwitchBar.isShowing()).isTrue(); in displayPreference_oneEnabledSubscription_switchBarNotHidden()
123 assertThat(mSwitchBar.isShowing()).isTrue(); in displayPreference_oneDisabledSubscription_switchBarNotHidden()
130 assertThat(mSwitchBar.isShowing()).isTrue(); in displayPreference_subscriptionEnabled_switchIsOn()
138 assertThat(mSwitchBar.isShowing()).isTrue(); in displayPreference_subscriptionDisabled_switchIsOff()
146 assertThat(mSwitchBar.isShowing()).isTrue(); in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledCalledCorrectly()
158 assertThat(mSwitchBar.isShowing()).isTrue(); in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledFailed()
169 assertThat(mSwitchBar.isShowing()).isTrue(); in switchChangeListener_fromDisabledToEnabled_setSubscriptionEnabledCalledCorrectly()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestErrorDialogFragmentTest.java72 assertThat(alertDialog.isShowing()).isTrue(); in display_shouldShowTimeoutDialog()
92 assertThat(alertDialog.isShowing()).isTrue(); in display_shouldShowAbortDialog()
103 assertThat(alertDialog.isShowing()).isTrue(); in clickPositiveButton_shouldCallStartScanningDialog()
115 assertThat(alertDialog.isShowing()).isTrue(); in clickNegativeButton_shouldCloseTheDialog()
121 assertThat(alertDialog.isShowing()).isFalse(); in clickNegativeButton_shouldCloseTheDialog()
DNetworkRequestDialogFragmentTest.java94 assertThat(alertDialog.isShowing()).isTrue(); in display_shouldShowTheDialog()
112 assertThat(alertDialog.isShowing()).isTrue(); in clickNegativeButton_shouldCloseTheDialog()
118 assertThat(alertDialog.isShowing()).isFalse(); in clickNegativeButton_shouldCloseTheDialog()
DNetworkRequestDialogActivityTest.java53 assertThat(alertDialog.isShowing()).isTrue(); in launchActivity_shouldShowNetworkRequestDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivityTest.java142 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOn_requestDisableIntent_startsDialog()
154 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOff_requestDiscoverableIntent_startsDialog()
166 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOn_requestDiscoverableIntent_startsDialog()
178 assertThat(mActivity.getCurrentDialog().isShowing()).isTrue(); in onCreate_bluetoothOff_requestEnableIntent_startsDialog()
/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBar.java267 if (!isShowing()) { in show()
274 if (isShowing()) { in hide()
280 public boolean isShowing() { in isShowing() method in SwitchBar
369 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/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/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/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/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/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.java189 if (mDialog != null && mDialog.isShowing()) { in showChooseLanguageDialog()
243 if (mDialog != null && mDialog.isShowing()) { in showSecurityWarnDialog()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDialogFragmentTest.java87 assertTrue("Dialog was not being shown", mCreateDirectoryFragment.getDialog().isShowing()); in testCreateDialogShows()
98 assertTrue("Dialog was not being shown", mCreateDirectoryFragment.getDialog().isShowing()); in testCreateDialogShowsDismiss()
/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/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