Home
last modified time | relevance | path

Searched refs:isVisible (Results 1 – 25 of 200) sorted by relevance

12345678

/packages/apps/Contacts/src/com/android/contacts/list/
DContactListItemView.java467 if (isVisible(mCheckBox)) { in onMeasure()
476 if (isVisible(mDeleteImageButton)) { in onMeasure()
485 if (isVisible(mNameTextView)) { in onMeasure()
497 if (isVisible(mPhoneticNameTextView)) { in onMeasure()
508 if (isVisible(mDataView)) { in onMeasure()
509 if (isVisible(mLabelView)) { in onMeasure()
521 if (isVisible(mLabelView)) { in onMeasure()
528 if (isVisible(mDataView)) { in onMeasure()
534 if (isVisible(mLabelView)) { in onMeasure()
541 if (isVisible(mSnippetView)) { in onMeasure()
[all …]
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DSwitchOnHoldCallController.java38 private boolean isVisible; field in SwitchOnHoldCallController
61 public void setVisible(boolean isVisible) { in setVisible() argument
62 this.isVisible = isVisible; in setVisible()
67 isVisible = hasSecondaryInfo(); in setOnScreen()
73 isVisible = hasSecondaryInfo(); in setSecondaryInfo()
82 switchOnHoldButton.setVisibility(isVisible ? View.VISIBLE : View.INVISIBLE); in updateButtonState()
83 onHoldBanner.setVisibility(isVisible ? View.VISIBLE : View.INVISIBLE); in updateButtonState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DMediaOutputPreferenceControllerTest.java182 assertThat(mPreference.isVisible()).isTrue(); in updateState_withoutConnectedBtDevice_preferenceInvisible()
184 assertThat(mPreference.isVisible()).isFalse(); in updateState_withoutConnectedBtDevice_preferenceInvisible()
198 assertThat(mPreference.isVisible()).isFalse(); in updateState_withConnectedBtDevice_preferenceVisible()
202 assertThat(mPreference.isVisible()).isTrue(); in updateState_withConnectedBtDevice_preferenceVisible()
207 assertThat(mPreference.isVisible()).isTrue(); in updateState_withConnectedBtDevice_preferenceVisible()
261 assertThat(mPreference.isVisible()).isFalse(); in updateState_withConnectedHADevice_preferenceVisible()
265 assertThat(mPreference.isVisible()).isTrue(); in updateState_withConnectedHADevice_preferenceVisible()
270 assertThat(mPreference.isVisible()).isTrue(); in updateState_withConnectedHADevice_preferenceVisible()
314 assertThat(mPreference.isVisible()).isFalse(); in updateState_shouldSetSummary()
330 assertThat(mPreference.isVisible()).isFalse(); in updateState_duringACall_shouldSetDefaultSummary()
DHandsFreeProfileOutputPreferenceControllerTest.java235 assertThat(mPreference.isVisible()).isFalse(); in updateState_shouldSetSummary()
256 assertThat(mPreference.isVisible()).isTrue(); in updateState_oneHeadsetsAvailableAndActivated_shouldSetDeviceName()
278 assertThat(mPreference.isVisible()).isTrue(); in updateState_moreThanOneHfpBtDevicesAreAvailable_shouldSetActivatedDeviceName()
298 assertThat(mPreference.isVisible()).isTrue(); in updateState_withAvailableDevicesWiredHeadsetActivated_shouldSetDefaultSummary()
316 assertThat(mPreference.isVisible()).isFalse(); in updateState_noAvailableHeadsetBtDevices_shouldSetDefaultSummary()
340 assertThat(mPreference.isVisible()).isTrue(); in updateState_oneHapBtDeviceAreAvailable_shouldSetActivatedDeviceName()
366 assertThat(mPreference.isVisible()).isTrue(); in updateState_moreThanOneHapBtDevicesAreAvailable_shouldSetActivatedDeviceName()
397 assertThat(mPreference.isVisible()).isTrue(); in updateState_hapBtDeviceWithSameId_shouldSetActivatedDeviceName()
430 assertThat(mPreference.isVisible()).isTrue(); in updateState_hapBtDeviceWithSameIdButDifferentOrder_shouldSetActivatedDeviceName()
461 assertThat(mPreference.isVisible()).isTrue(); in updateState_hapBtDeviceWithDifferentId_shouldSetActivatedDeviceName()
/packages/apps/Dialer/java/com/android/incallui/
DManageConferenceActivity.java27 private boolean isVisible; field in ManageConferenceActivity
29 public boolean isVisible() { in isVisible() method in ManageConferenceActivity
30 return isVisible; in isVisible()
78 isVisible = true; in onStart()
84 isVisible = false; in onStop()
DInCallActivity.java156 private boolean isVisible; field in InCallActivity
390 if (!isVisible()) { in showPhoneAccountSelectionDialog()
433 isVisible = false; in onSaveInstanceState()
441 isVisible = true; in onStart()
528 isVisible = false; in onStop()
594 if (!isVisible) { in shouldCloseActivityOnFinish()
623 if (!isVisible) { in onNewIntent()
658 if (!isVisible) { in onBackPressed()
667 if (dialpadFragment != null && dialpadFragment.isVisible()) { in onBackPressed()
697 && dialpadFragment.isVisible() in onKeyUp()
[all …]
/packages/apps/Camera2/src/com/android/camera/widget/
DIndicatorIconController.java171 && buttonManager.isVisible(ButtonManager.BUTTON_FLASH)) in syncFlashIndicator()
173 && buttonManager.isVisible(ButtonManager.BUTTON_TORCH))) { in syncFlashIndicator()
204 && buttonManager.isVisible(ButtonManager.BUTTON_HDR_PLUS)) { in syncHdrIndicator()
209 && buttonManager.isVisible(ButtonManager.BUTTON_HDR)) { in syncHdrIndicator()
255 && buttonManager.isVisible(ButtonManager.BUTTON_EXPOSURE_COMPENSATION)) { in syncExposureIndicator()
285 && buttonManager.isVisible(ButtonManager.BUTTON_COUNTDOWN)) { in syncCountdownTimerIndicator()
/packages/services/Car/service/src/com/android/car/am/
DFixedActivityService.java90 public boolean isVisible; field in FixedActivityService.RunningActivityInfo
119 + ",userId:" + userId + ",isVisible:" + isVisible in toString()
392 activityInfo.isVisible = false; in launchIfNecessary()
432 activityInfo.isVisible = true; in launchIfNecessary()
454 if (activityInfo.isVisible) { in launchIfNecessary()
496 activityInfo.isVisible = true; in launchIfNecessary()
506 return activityInfo.isVisible; in launchIfNecessary()
612 if (activityInfo.isVisible) { // already shown. in startFixedActivityModeForDisplayAndUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DDisabledSubscriptionControllerTest.java74 assertThat(mCategory.isVisible()).isTrue(); in displayPreference_subscriptionEnabled_categoryIsVisible()
81 assertThat(mCategory.isVisible()).isFalse(); in displayPreference_subscriptionDisabled_categoryIsNotVisible()
90 assertThat(mCategory.isVisible()).isFalse(); in onSubscriptionsChanged_subscriptionBecomesDisabled_categoryIsNotVisible()
99 assertThat(mCategory.isVisible()).isTrue(); in onSubscriptionsChanged_subscriptionBecomesEnabled_categoryIsVisible()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVibrateWhenRingPreferenceControllerTest.java86 assertThat(mPreference.isVisible()).isTrue(); in display_shouldDisplay()
94 assertThat(mPreference.isVisible()).isFalse(); in display_shouldNotDisplay_notVoiceCapable()
102 assertThat(mPreference.isVisible()).isFalse(); in display_shouldNotDisplay_RampingRingerEnabled()
110 assertThat(mPreference.isVisible()).isFalse(); in display_shouldNotDisplay_VoiceEnabled_RampingRingerEnabled()
118 assertThat(mPreference.isVisible()).isFalse(); in display_shouldNotDisplay_VoiceDisabled_RampingRingerEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/
DLowBatteryDetectorTest.java72 assertThat(mLowBatteryDetector.detect().isVisible()).isFalse(); in testDetect_disabledByPolicy_tipInvisible()
104 assertThat(mLowBatteryDetector.detect().isVisible()).isFalse(); in testDetect_charging_tipInvisible()
111 assertThat(mLowBatteryDetector.detect().isVisible()).isFalse(); in testDetect_timeEstimationZero_tipInvisible()
119 assertThat(mLowBatteryDetector.detect().isVisible()).isFalse(); in testDetect_noEarlyWarning_tipInvisible()
DEarlyWarningDetectorTest.java75 assertThat(mEarlyWarningDetector.detect().isVisible()).isFalse(); in testDetect_policyDisabled_tipInvisible()
100 assertThat(mEarlyWarningDetector.detect().isVisible()).isFalse(); in testDetect_charging_tipInvisible()
108 assertThat(mEarlyWarningDetector.detect().isVisible()).isFalse(); in testDetect_noEarlyWarning_tipInvisible()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DAutoSyncPersonalDataPreferenceControllerTest.java76 assertThat(mPreference.isVisible()).isFalse(); in displayPref_managedProfile_shouldNotDisplay()
86 assertThat(mPreference.isVisible()).isFalse(); in displayPref_linkedUser_shouldNotDisplay()
99 assertThat(mPreference.isVisible()).isFalse(); in displayPref_oneProfile_shouldNotDisplay()
113 assertThat(mPreference.isVisible()).isTrue(); in displayPref_prefAvailable_shouldDisplay()
DAutoSyncDataPreferenceControllerTest.java81 assertThat(mPreference.isVisible()).isFalse(); in displayPref_managedProfile_shouldNotDisplay()
91 assertThat(mPreference.isVisible()).isTrue(); in displayPref_linkedUser_shouldDisplay()
104 assertThat(mPreference.isVisible()).isTrue(); in displayPref_oneProfile_shouldDisplay()
118 assertThat(mPreference.isVisible()).isFalse(); in displayPref_moreThanOneProfile_shouldNotDisplay()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java225 private void dispatchVisibilityAggregated(View view, boolean isVisible) {
228 if (thisVisible || !isVisible) {
229 view.onVisibilityAggregated(isVisible);
233 isVisible = thisVisible && isVisible;
238 dispatchVisibilityAggregated(vg.getChildAt(i), isVisible);
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DDataDuringCallsPreferenceControllerTest.java99 assertThat(mSwitchPreference.isVisible()).isFalse(); in displayPreference_defaultForData_notAvailable()
109 assertThat(mSwitchPreference.isVisible()).isTrue(); in displayPreference_notDefaultForData_available()
121 assertThat(mSwitchPreference.isVisible()).isFalse(); in onSubscriptionsChanged_becomesDefaultForData_notAvailable()
133 assertThat(mSwitchPreference.isVisible()).isTrue(); in onSubscriptionsChanged_noLongerDefaultForData_available()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiStatusPreferenceControllerTest.java84 assertThat(mPreference.isVisible()).isFalse(); in updateState_wifiNotAvailable_invisible()
93 assertThat(mPreference.isVisible()).isTrue(); in updateState_wifiDisabled_visible()
129 assertThat(mPreference.isVisible()).isEqualTo(false); in onWifiStateChanged_invisible()
138 assertThat(mPreference.isVisible()).isEqualTo(true); in onWifiStateChanged_visible()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DUserDetailsBaseFragmentTest.java100 assertThat(mRemoveUserButton.isVisible()).isTrue(); in testRemoveUserButtonVisible_whenAllowedToRemoveUsers()
110 assertThat(mRemoveUserButton.isVisible()).isFalse(); in testRemoveUserButtonHidden_whenNotAllowedToRemoveUSers()
120 assertThat(mRemoveUserButton.isVisible()).isFalse(); in testRemoveUserButtonHidden_whenUserCannotBeRemoved()
130 assertThat(mRemoveUserButton.isVisible()).isFalse(); in testRemoveUserButtonHidden_demoUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiSettingsTest.java157 assertThat(mWifiSettings.mSavedNetworksPreference.isVisible()).isTrue(); in setAdditionalSettingsSummaries_hasSavedNetwork_preferenceVisible()
171 assertThat(mWifiSettings.mSavedNetworksPreference.isVisible()).isTrue(); in setAdditionalSettingsSummaries_hasSavedPasspointNetwork_preferenceVisible()
187 assertThat(mWifiSettings.mSavedNetworksPreference.isVisible()).isTrue(); in setAdditionalSettingsSummaries_hasTwoKindsSavedNetwork_preferenceVisible()
201 assertThat(mWifiSettings.mSavedNetworksPreference.isVisible()).isFalse(); in setAdditionalSettingsSummaries_noSavedNetwork_preferenceInvisible()
231 assertThat(mWifiSettings.mAddWifiNetworkPreference.isVisible()).isTrue(); in checkAddWifiNetworkPrefernce_preferenceVisible()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DConnectedDeviceGroupControllerTest.java103 assertThat(mPreferenceGroup.isVisible()).isTrue(); in onDeviceAdded_firstAdd_becomeVisibleAndPreferenceAdded()
114 assertThat(mPreferenceGroup.isVisible()).isFalse(); in onDeviceRemoved_lastRemove_becomeInvisibleAndPreferenceRemoved()
126 assertThat(mPreferenceGroup.isVisible()).isTrue(); in onDeviceRemoved_notLastRemove_stillVisible()
135 assertThat(mPreferenceGroup.isVisible()).isFalse(); in displayPreference_becomeInvisible()
DAvailableMediaDeviceGroupControllerTest.java121 assertThat(mPreferenceGroup.isVisible()).isTrue(); in onDeviceAdded_firstAdd_becomeVisibleAndPreferenceAdded()
132 assertThat(mPreferenceGroup.isVisible()).isFalse(); in onDeviceRemoved_lastRemove_becomeInvisibleAndPreferenceRemoved()
144 assertThat(mPreferenceGroup.isVisible()).isTrue(); in onDeviceRemoved_notLastRemove_stillVisible()
153 assertThat(mPreferenceGroup.isVisible()).isFalse(); in displayPreference_becomeInvisible()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DExtraSettingsPreferenceControllerTest.java107 assertThat(mPreferenceGroup.isVisible()).isEqualTo(false); in testRefreshUi_initialized_noPreferenceAdded()
119 assertThat(mPreferenceGroup.isVisible()).isEqualTo(false); in testRefreshUi_noPreferenceAdded_shouldNotBeVisible()
143 assertThat(mPreferenceGroup.isVisible()).isEqualTo(true); in testRefreshUi_preferenceAdded_shouldBeVisible()
169 assertThat(mPreferenceGroup.isVisible()).isEqualTo(true); in testRefreshUi_refreshedTwice_stillBeVisible()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DRecentAppsPreferenceControllerTest.java154 assertThat(mController.mRecentAppsPreference.isVisible()).isTrue(); in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime()
155 assertThat(mController.mDivider.isVisible()).isTrue(); in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime()
164 assertThat(mController.mRecentAppsPreference.isVisible()).isFalse(); in onReloadDataCompleted_noRecentOpenAppsSet_shouldHideRecentAppPreference()
165 assertThat(mController.mDivider.isVisible()).isFalse(); in onReloadDataCompleted_noRecentOpenAppsSet_shouldHideRecentAppPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleSeekBarControllerTest.java53 assertThat(mController.mSeekBarPreference.isVisible()).isFalse(); in updateSeekBar_routineMode_hasCorrectProperties()
62 assertThat(mController.mSeekBarPreference.isVisible()).isTrue(); in updateSeekBar_percentageMode_hasCorrectProperties()
71 assertThat(mController.mSeekBarPreference.isVisible()).isFalse(); in updateSeekBar_noneMode_hasCorrectProperties()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/suggestions/
DSuggestionsPreferenceControllerTest.java110 assertThat(mGroup.isVisible()).isFalse(); in onStart_noSuggestions_hidesGroup()
194 assertThat(mGroup.isVisible()).isTrue(); in onLoadFinished_noSuggestions_hidesGroup()
198 assertThat(mGroup.isVisible()).isFalse(); in onLoadFinished_noSuggestions_hidesGroup()
245 assertThat(mGroup.isVisible()).isFalse(); in dismissSuggestion_lastSuggestion_hidesGroup()

12345678