Home
last modified time | relevance | path

Searched refs:getVisibility (Results 1 – 25 of 251) sorted by relevance

1234567891011

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceTest.java106 assertThat(mLaunchButton.getVisibility()).isEqualTo(View.VISIBLE); in testSetUsageInfo_withLaunchIntent_launchButtonShown()
115 assertThat(mLaunchButton.getVisibility()).isEqualTo(View.GONE); in testSetUsageInfo_withoutLaunchIntent_launchButtonNotShown()
124 assertThat(mCarrierInfo.getVisibility()).isEqualTo(View.VISIBLE); in testSetUsageInfo_withDataPlans_carrierInfoShown()
133 assertThat(mCarrierInfo.getVisibility()).isEqualTo(View.GONE); in testSetUsageInfo_withNoDataPlans_carrierInfoNotShown()
225 assertThat(mCarrierInfo.getVisibility()).isEqualTo(View.VISIBLE); in setUsageInfo_withRecentCarrierUpdate_doesNotSetCarrierInfoWarningColorAndFont()
238 assertThat(mCarrierInfo.getVisibility()).isEqualTo(View.VISIBLE); in testSetUsageInfo_withStaleCarrierUpdate_setsCarrierInfoWarningColorAndFont()
251 assertThat(mUsageTitle.getVisibility()).isEqualTo(View.GONE); in testSetUsageInfo_withNoDataPlans_usageTitleNotShown()
260 assertThat(mUsageTitle.getVisibility()).isEqualTo(View.VISIBLE); in testSetUsageInfo_withMultipleDataPlans_usageTitleShown()
271 assertThat(mCycleTime.getVisibility()).isEqualTo(View.VISIBLE); in testSetUsageInfo_cycleRemainingTimeIsLessOneDay()
283 assertThat(mCycleTime.getVisibility()).isEqualTo(View.VISIBLE); in testSetUsageInfo_cycleRemainingTimeNegativeDaysLeft_shouldDisplayNoneLeft()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DAddPreferenceTest.java66 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_noListener_addButtonNotVisible()
74 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_hasListener_addButtonVisible()
81 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.GONE); in setOnAddClickListener_listenerAddedAfterBinding_addButtonBecomesVisible()
85 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.VISIBLE); in setOnAddClickListener_listenerAddedAfterBinding_addButtonBecomesVisible()
94 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.VISIBLE); in setOnAddClickListener_listenerRemovedAfterBinding_addButtonNotVisible()
98 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.GONE); in setOnAddClickListener_listenerRemovedAfterBinding_addButtonNotVisible()
105 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.GONE); in setOnAddClickListener_listenerAddedAndRemovedAfterBinding_addButtonNotVisible()
109 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.VISIBLE); in setOnAddClickListener_listenerAddedAndRemovedAfterBinding_addButtonNotVisible()
113 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.GONE); in setOnAddClickListener_listenerAddedAndRemovedAfterBinding_addButtonNotVisible()
130 assertThat(mWidgetFrame.getVisibility()).isEqualTo(View.VISIBLE); in onClick_hasListenerBeforeBind_firesCorrectly()
[all …]
DRadioButtonPreferenceWithExtraWidgetTest.java91 assertEquals(View.VISIBLE, mSummary.getVisibility()); in summaryShouldBeVisible()
97 assertEquals(View.GONE, mExtraWidget.getVisibility()); in testSetExtraWidgetVisibility_gone()
98 assertEquals(View.GONE, mExtraWidgetDivider.getVisibility()); in testSetExtraWidgetVisibility_gone()
105 assertEquals(View.VISIBLE, mExtraWidget.getVisibility()); in testSetExtraWidgetVisibility_info()
106 assertEquals(View.VISIBLE, mExtraWidgetDivider.getVisibility()); in testSetExtraWidgetVisibility_info()
115 assertEquals(View.VISIBLE, mExtraWidget.getVisibility()); in testSetExtraWidgetVisibility_setting()
116 assertEquals(View.VISIBLE, mExtraWidgetDivider.getVisibility()); in testSetExtraWidgetVisibility_setting()
DEntityHeaderControllerTest.java161 assertThat(button1.getVisibility()).isEqualTo(View.VISIBLE); in bindButton_hasEditClickListener_shouldShowButton()
163 assertThat(view.findViewById(android.R.id.button2).getVisibility()).isEqualTo(View.GONE); in bindButton_hasEditClickListener_shouldShowButton()
181 assertThat(view.findViewById(android.R.id.button1).getVisibility()).isEqualTo(View.GONE); in bindButton_noEditClickListener_shouldNotShowButton()
182 assertThat(view.findViewById(android.R.id.button2).getVisibility()).isEqualTo(View.GONE); in bindButton_noEditClickListener_shouldNotShowButton()
201 assertThat(appLinks.findViewById(android.R.id.button1).getVisibility()) in bindButton_noAppInfo_shouldNotAttachClickListener()
203 assertThat(appLinks.findViewById(android.R.id.button2).getVisibility()) in bindButton_noAppInfo_shouldNotAttachClickListener()
286 assertThat(appLinks.findViewById(android.R.id.button1).getVisibility()) in bindButton_hasAppNotifIntent_shouldShowButton()
288 assertThat(appLinks.findViewById(android.R.id.button2).getVisibility()) in bindButton_hasAppNotifIntent_shouldShowButton()
301 assertThat(header.findViewById(R.id.install_type).getVisibility()) in instantApps_normalAppsDontGetLabel()
315 assertThat(label.getVisibility()).isEqualTo(View.VISIBLE); in instantApps_expectedHeaderItem()
[all …]
DTwoStateButtonPreferenceTest.java63 assertThat(mButtonOn.getVisibility()).isEqualTo(View.GONE); in testSetButtonVisibility_stateOn_onlyShowButtonOn()
64 assertThat(mButtonOff.getVisibility()).isEqualTo(View.VISIBLE); in testSetButtonVisibility_stateOn_onlyShowButtonOn()
71 assertThat(mButtonOn.getVisibility()).isEqualTo(View.VISIBLE); in testSetButtonVisibility_stateOff_onlyShowButtonOff()
72 assertThat(mButtonOff.getVisibility()).isEqualTo(View.GONE); in testSetButtonVisibility_stateOff_onlyShowButtonOff()
DRadioButtonPreferenceTest.java71 assertEquals(View.VISIBLE, summaryContainer.getVisibility()); in summary_containerShouldBeVisible()
83 assertEquals(View.GONE, summaryContainer.getVisibility()); in emptySummary_containerShouldBeGone()
95 assertEquals(View.GONE, summaryContainer.getVisibility()); in nullSummary_containerShouldBeGone()
104 assertThat(holder.findViewById(R.id.appendix).getVisibility()).isEqualTo(View.GONE); in hideAppendix_shouldBeGone()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayerView.java304 Assert.checkArgument(playButton.getVisibility() == GONE);
578 Assert.checkArgument(playButton.getVisibility() == GONE); in updateSeekBarDurationAndShowPlayButton()
579 Assert.checkArgument(pauseButton.getVisibility() == VISIBLE); in updateSeekBarDurationAndShowPlayButton()
580 Assert.checkArgument(seekBarView.getVisibility() == VISIBLE); in updateSeekBarDurationAndShowPlayButton()
581 Assert.checkArgument(currentSeekBarPosition.getVisibility() == VISIBLE); in updateSeekBarDurationAndShowPlayButton()
605 playButton.getVisibility() == VISIBLE, in setToResetState()
606 pauseButton.getVisibility() == VISIBLE); in setToResetState()
608 if (playButton.getVisibility() == GONE) { in setToResetState()
613 Assert.checkArgument(playButton.getVisibility() == VISIBLE); in setToResetState()
614 Assert.checkArgument(pauseButton.getVisibility() == GONE); in setToResetState()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceTest.java60 assertThat(getDataUsageText().getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_noDataUsageText_isGone()
68 assertThat(getDataUsageText().getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_hasDataUsageText_isVisible()
83 assertThat(getRemainingBillingCycleText().getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_noRemainingBillingCycleText_isGone()
91 assertThat(getRemainingBillingCycleText().getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_hasRemainingBillingCycleText_isVisible()
107 assertThat(getCarrierInfoText().getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_noCarrierInfoText_isGone()
115 assertThat(getCarrierInfoText().getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_hasCarrierInfoText_isVisible()
131 assertThat(getManageSubscriptionButton().getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_noManagePlanIntent_isGone()
139 assertThat(getManageSubscriptionButton().getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_hasManagePlanIntent_isVisible()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlBarContainer.java85 if (mIndicatorControlBar.getVisibility() == View.VISIBLE) { in dispatchTouchEvent()
87 } else if (mSecondLevelIndicatorControlBar.getVisibility() == View.VISIBLE) { in dispatchTouchEvent()
141 if (mIndicatorControlBar.getVisibility() == View.VISIBLE) { in getActiveSettingPopup()
143 } else if (mSecondLevelIndicatorControlBar.getVisibility() == View.VISIBLE) { in getActiveSettingPopup()
150 if (mIndicatorControlBar.getVisibility() == View.VISIBLE) { in dismissSettingPopup()
152 } else if (mSecondLevelIndicatorControlBar.getVisibility() == View.VISIBLE) { in dismissSettingPopup()
176 if (mSecondLevelIndicatorControlBar.getVisibility() == View.VISIBLE) { in dismissSecondLevelIndicator()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java107 assertThat(mView.findViewById(R.id.ssid_too_long_warning).getVisibility()) in ssidExceeds32Bytes_shouldShowSsidTooLongWarning()
121 assertThat(mView.findViewById(R.id.ssid_too_long_warning).getVisibility()) in ssidShorterThan32Bytes_shouldNotShowSsidTooLongWarning()
127 assertThat(mView.findViewById(R.id.ssid_too_long_warning).getVisibility()) in ssidShorterThan32Bytes_shouldNotShowSsidTooLongWarning()
245 assertThat(mView.findViewById(R.id.wifi_advanced_toggle).getVisibility()) in showForCarrierAp()
248 assertThat(mView.findViewById(R.id.eap).getVisibility()).isEqualTo(View.GONE); in showForCarrierAp()
262 assertThat(mView.findViewById(R.id.eap).getVisibility()).isEqualTo(View.VISIBLE); in loadCertificates_keyStoreListFail_shouldNotCrash()
286 assertThat(warningView.getVisibility()).isEqualTo(View.VISIBLE); in hiddenWarning_warningVisibilityProperlyUpdated()
289 assertThat(warningView.getVisibility()).isEqualTo(View.GONE); in hiddenWarning_warningVisibilityProperlyUpdated()
295 assertThat(hiddenField.getVisibility()).isEqualTo(View.GONE); in hiddenField_visibilityUpdatesCorrectly()
299 assertThat(hiddenField.getVisibility()).isEqualTo(View.VISIBLE); in hiddenField_visibilityUpdatesCorrectly()
[all …]
/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java128 if (currentView.getVisibility() == View.GONE) { in layout()
152 if (view.getVisibility() == View.VISIBLE in layout()
153 && view.getContentsView().getVisibility() == View.INVISIBLE) { in layout()
166 if (mMenuRowViews.get(i).getVisibility() != View.GONE) { in findNextVisiblePosition()
184 + view.getVisibility() in dumpChildren()
198 + title.getVisibility() in dumpChildren()
212 + contents.getVisibility() in dumpChildren()
242 return (view.getVisibility() != View.GONE && !rowsToRemove.contains(position)) in isVisibleInLayout()
386 if (mMenuView.getVisibility() == View.VISIBLE) { in setSelectedPosition()
408 if (mMenuView.getVisibility() != View.VISIBLE) { in setSelectedPositionSmooth()
[all …]
DMenuView.java112 if (getVisibility() == VISIBLE) { in onShow()
154 if (getVisibility() == GONE) { in onHide()
163 return getVisibility() == VISIBLE; in isVisible()
206 if (getVisibility() == VISIBLE) { in focusableViewAvailable()
262 if (view.getVisibility() == View.VISIBLE) { in focusSearch()
278 if (view.getVisibility() == View.VISIBLE) { in focusSearch()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetupChooseLockPatternTest.java97 assertThat(button.getVisibility()).isEqualTo(View.VISIBLE); in optionsButton_whenPatternSelected_shouldBeVisible()
103 assertThat(button.getVisibility()).isEqualTo(View.VISIBLE); in optionsButton_whenPatternSelected_shouldBeVisible()
109 assertThat(button.getVisibility()).isEqualTo(View.VISIBLE); in verifyScreenLockOptionsShown()
133 assertThat(button.getVisibility()).isEqualTo(View.GONE); in verifyScreenLockOptionsHidden()
154 assertThat(skipOrClearButton.getVisibility()).isEqualTo(View.VISIBLE); in skipButton_shouldBeVisible_duringNonFingerprintFlow()
168 assertThat(skipOrClearButton.getVisibility()).isEqualTo(View.VISIBLE); in clearButton_shouldBeVisible_duringRetryStage()
183 assertThat(skipOrClearButton.getVisibility()).isEqualTo(View.VISIBLE); in createActivity_enterPattern_clearButtonShouldBeShown()
189 assertThat(skipOrClearButton.getVisibility()).isEqualTo(View.VISIBLE); in createActivity_enterPattern_clearButtonShouldBeShown()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothPairingDialogTest.java113 assertThat(button.getVisibility()).isEqualTo(View.VISIBLE); in dialogEnablesSubmitButtonOnValidationFromController()
152 assertThat(view.getVisibility()).isEqualTo(View.VISIBLE); in dialogAsksForPairCodeOnUserEntryVariant()
181 assertThat(messagePairing.getVisibility()).isEqualTo(View.VISIBLE); in dialogDisplaysPairCodeOnDisplayPasskeyVariant()
182 assertThat(pairingViewCaption.getVisibility()).isEqualTo(View.VISIBLE); in dialogDisplaysPairCodeOnDisplayPasskeyVariant()
183 assertThat(pairingViewContent.getVisibility()).isEqualTo(View.VISIBLE); in dialogDisplaysPairCodeOnDisplayPasskeyVariant()
291 assertThat(sharingCheckbox.getVisibility()).isEqualTo(View.VISIBLE); in dialogShowsContactSharingCheckboxWhenBluetoothProfileNotReady()
309 assertThat(sharingCheckbox.getVisibility()).isEqualTo(View.GONE); in dialogHidesContactSharingCheckboxWhenBluetoothProfileIsReady()
327 assertThat(message.getVisibility()).isEqualTo(View.VISIBLE); in dialogShowsMessageOnPinEntryView()
346 assertThat(hint.getVisibility()).isEqualTo(View.VISIBLE); in dialogShowsMessageHintOnPinEntryView()
366 assertThat(hint.getVisibility()).isEqualTo(View.GONE); in dialogHidesMessageAndHintWhenNotProvidedOnPinEntryView()
[all …]
DAdvancedBluetoothDetailsHeaderControllerTest.java134 assertThat(mLayoutPreference.findViewById(R.id.layout_left).getVisibility()).isEqualTo( in refresh_disconnected_updateCorrectInfo()
136 assertThat(mLayoutPreference.findViewById(R.id.layout_right).getVisibility()).isEqualTo( in refresh_disconnected_updateCorrectInfo()
138 assertThat(layout.getVisibility()).isEqualTo(View.VISIBLE); in refresh_disconnected_updateCorrectInfo()
139 assertThat(layout.findViewById(R.id.header_title).getVisibility()).isEqualTo(View.GONE); in refresh_disconnected_updateCorrectInfo()
140 assertThat(layout.findViewById(R.id.bt_battery_summary).getVisibility()).isEqualTo( in refresh_disconnected_updateCorrectInfo()
142 assertThat(layout.findViewById(R.id.bt_battery_icon).getVisibility()).isEqualTo(View.GONE); in refresh_disconnected_updateCorrectInfo()
143 assertThat(layout.findViewById(R.id.header_icon).getVisibility()).isEqualTo(View.VISIBLE); in refresh_disconnected_updateCorrectInfo()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DCollapsibleCheckboxPreferenceGroupTest.java65 assertThat(mHolder.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.VISIBLE); in testItemVisibilityBeforeLoaded()
66 assertThat(mHolder.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE); in testItemVisibilityBeforeLoaded()
67 assertThat(mHolder.findViewById(android.R.id.widget_frame).getVisibility()) in testItemVisibilityBeforeLoaded()
81 assertThat(mHolder.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.GONE); in testItemVisibilityAfterLoaded()
82 assertThat(mHolder.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE); in testItemVisibilityAfterLoaded()
83 assertThat(mHolder.findViewById(android.R.id.widget_frame).getVisibility()) in testItemVisibilityAfterLoaded()
DPhotosDeletionPreferenceTest.java71 assertThat(mHolder.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.VISIBLE); in testItemVisibilityBeforeLoaded()
72 assertThat(mHolder.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE); in testItemVisibilityBeforeLoaded()
73 assertThat(mHolder.findViewById(android.R.id.widget_frame).getVisibility()) in testItemVisibilityBeforeLoaded()
85 assertThat(mHolder.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.GONE); in testItemVisibilityAfterLoaded()
86 assertThat(mHolder.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE); in testItemVisibilityAfterLoaded()
87 assertThat(mHolder.findViewById(android.R.id.checkbox).getVisibility()) in testItemVisibilityAfterLoaded()
/packages/apps/TV/src/com/android/tv/ui/
DBlockScreenView.java159 return mImageContainer.getVisibility() == VISIBLE in isImageViewVisible()
165 return imageView.getVisibility() != GONE && imageView.getDrawable() != null; in isImageViewVisible()
169 return textView.getVisibility() != GONE && !TextUtils.isEmpty(textView.getText()); in isTextViewVisible()
211 if (mContainerView.getVisibility() == VISIBLE) { in onBlockStatusChanged()
218 if (mContainerView.getVisibility() == GONE) { in onBlockStatusChanged()
226 if (mContainerView.getVisibility() == GONE) { in onBlockStatusChanged()
243 if (getVisibility() == VISIBLE && !mFadeOut.isStarted()) { in fadeOut()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragmentTests.java128 dialog.getButton(DialogInterface.BUTTON_NEUTRAL).getVisibility()); in testMultipleAccounts_noCurrentAccount()
130 dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getVisibility()); in testMultipleAccounts_noCurrentAccount()
132 dialog.getButton(DialogInterface.BUTTON_POSITIVE).getVisibility()); in testMultipleAccounts_noCurrentAccount()
150 dialog.getButton(DialogInterface.BUTTON_NEUTRAL).getVisibility()); in testMultipleAccounts_currentAccount()
152 dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getVisibility()); in testMultipleAccounts_currentAccount()
154 dialog.getButton(DialogInterface.BUTTON_POSITIVE).getVisibility()); in testMultipleAccounts_currentAccount()
/packages/apps/Gallery/src/com/android/camera/
DEvenlySpacedLayout.java55 if (child.getVisibility() == GONE) continue; in onMeasure()
76 if (child.getVisibility() == GONE) continue; in layoutHorizontal()
87 if (child.getVisibility() == GONE) continue; in layoutHorizontal()
103 if (child.getVisibility() == GONE) continue; in layoutVertical()
114 if (child.getVisibility() == GONE) continue; in layoutVertical()
/packages/apps/Launcher3/src/com/android/launcher3/
DDropTargetBar.java139 if (button.getVisibility() != GONE) { in onMeasure()
149 if (buttons.getVisibility() != GONE) { in onMeasure()
157 if (button.getVisibility() != GONE) { in onMeasure()
174 if (button.getVisibility() != GONE) { in onLayout()
187 if (button.getVisibility() != GONE) { in onLayout()
200 if (buttons.getVisibility() != GONE) { in getVisibleButtonsCount()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardRendererTest.java127 assertThat(dismissalView.getVisibility()).isEqualTo(View.VISIBLE); in bindView_isPendingDismiss_shouldShowDismissalView()
149 assertThat(swipeBg.getVisibility()).isEqualTo(View.GONE); in bindView_beforeSuccessfulSliceBinding_shouldHideSwipeBackground()
162 assertThat(swipeBg.getVisibility()).isEqualTo(View.GONE); in bindView_reuseViewHolder_shouldHideSwipeBackgroundBeforeSliceBinding()
186 assertThat(dismissalView.getVisibility()).isEqualTo(View.GONE); in viewClick_keepCard_shouldShowSlice()
187 assertThat(sliceView.getVisibility()).isEqualTo(View.VISIBLE); in viewClick_keepCard_shouldShowSlice()
247 assertThat(sliceView.getVisibility()).isEqualTo(View.VISIBLE); in onStop_cardIsInDismissalView_shouldResetToSliceView()
248 assertThat(dismissalView.getVisibility()).isEqualTo(View.GONE); in onStop_cardIsInDismissalView_shouldResetToSliceView()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/view/
DViewInfoActivityTest.java90 assertThat(activity.findViewById(R.id.name_and_dob_linear_layout).getVisibility()) in testInitialState()
92 assertThat(activity.getTabLayout().getVisibility()).isEqualTo(View.GONE); in testInitialState()
108 assertThat(activity.getTabLayout().getVisibility()).isEqualTo(View.GONE); in testNameSet()
109 assertThat(activity.findViewById(R.id.no_info).getVisibility()) in testNameSet()
117 assertThat(personalCardLargeItem.getVisibility()).isEqualTo(View.VISIBLE); in testNameSet()
129 assertThat(activity.getTabLayout().getVisibility()).isEqualTo(View.GONE); in testMedicalInfoSet()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DTaskThumbnailIconView.java60 if (mThumbnailView.getVisibility() != GONE) { in onMeasure()
69 if (mIconView.getVisibility() != GONE) { in onMeasure()
84 if (mThumbnailView.getVisibility() != GONE) { in onLayout()
96 if (mIconView.getVisibility() != GONE) { in onLayout()
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DPrivacyDashboardFragmentTest.java100 assertThat(mFragment.mProgressHeader.getVisibility()).isEqualTo(View.VISIBLE); in updateLinearProgressbar_isVisible_shouldShowProgressBar()
101 assertThat(mFragment.mProgressAnimation.getVisibility()).isEqualTo(View.VISIBLE); in updateLinearProgressbar_isVisible_shouldShowProgressBar()
108 assertThat(mFragment.mProgressHeader.getVisibility()).isEqualTo(View.INVISIBLE); in updateLinearProgressbar_isInVisible_shouldHideProgressBar()
109 assertThat(mFragment.mProgressAnimation.getVisibility()).isEqualTo(View.INVISIBLE); in updateLinearProgressbar_isInVisible_shouldHideProgressBar()

1234567891011