Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputAdapterTest.java154 assertThat(mViewHolder.mTitleText.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindPairNew_verifyView()
155 assertThat(mViewHolder.mTwoLineLayout.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindPairNew_verifyView()
156 assertThat(mViewHolder.mProgressBar.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindPairNew_verifyView()
157 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindPairNew_verifyView()
175 assertThat(mViewHolder.mSeekBar.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindGroup_withSessionName_verifyView()
176 assertThat(mViewHolder.mTwoLineLayout.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindGroup_withSessionName_verifyView()
177 assertThat(mViewHolder.mTitleText.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindGroup_withSessionName_verifyView()
178 assertThat(mViewHolder.mProgressBar.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindGroup_withSessionName_verifyView()
179 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindGroup_withSessionName_verifyView()
195 assertThat(mViewHolder.mSeekBar.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindGroup_noSessionName_verifyView()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/fragment/
DCollapsedStatusBarFragmentTest.java165 assertEquals(View.VISIBLE, getEndSideContentView().getVisibility()); in testDisableNone()
166 assertEquals(View.VISIBLE, getClockView().getVisibility()); in testDisableNone()
175 assertEquals(View.INVISIBLE, getEndSideContentView().getVisibility()); in testDisableSystemInfo_systemAnimationIdle_doesHide()
179 assertEquals(View.VISIBLE, getEndSideContentView().getVisibility()); in testDisableSystemInfo_systemAnimationIdle_doesHide()
183 assertEquals(View.INVISIBLE, getEndSideContentView().getVisibility()); in testDisableSystemInfo_systemAnimationIdle_doesHide()
191 assertEquals(View.INVISIBLE, getEndSideContentView().getVisibility()); in testSystemStatusAnimation_startedDisabled_finishedWithAnimator_showsSystemInfo()
220 assertEquals(View.INVISIBLE, getEndSideContentView().getVisibility()); in testSystemStatusAnimation_systemInfoDisabled_staysInvisible()
228 assertEquals(View.INVISIBLE, getEndSideContentView().getVisibility()); in testSystemStatusAnimation_systemInfoDisabled_staysInvisible()
243 assertEquals(View.INVISIBLE, getEndSideContentView().getVisibility()); in testSystemStatusAnimation_notDisabled_animatesAlphaZero()
258 assertEquals(View.INVISIBLE, getEndSideContentView().getVisibility()); in testSystemStatusAnimation_notDisabled_animatesBackToAlphaOne()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListEmptyViewTest.java51 assertTrue("Empty view not shown", mListView.getVisibility() == View.GONE); in testPreconditions()
60 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToOne()
61 assertTrue("List not shown", mActivity.getListView().getVisibility() == View.VISIBLE); in testZeroToOne()
70 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToOneForwardBack()
71 assertTrue("List not shown", mActivity.getListView().getVisibility() == View.VISIBLE); in testZeroToOneForwardBack()
81 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToOneForwardBack()
82 assertTrue("List not shown", mActivity.getListView().getVisibility() == View.VISIBLE); in testZeroToOneForwardBack()
96 mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToManyToZero()
97 assertTrue("List not shown", mActivity.getListView().getVisibility() == View.VISIBLE); in testZeroToManyToZero()
105 mActivity.getEmptyView().getVisibility() == View.GONE); in testZeroToManyToZero()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleTileViewHelperTest.java175 assertEquals(View.GONE, result.findViewById(R.id.last_interaction).getVisibility()); in testCreateRemoteViewsWithLastInteractionTimeUnderOneDayHidden()
184 assertEquals(View.GONE, largeResult.findViewById(R.id.last_interaction).getVisibility()); in testCreateRemoteViewsWithLastInteractionTimeUnderOneDayHidden()
222 assertEquals(View.VISIBLE, result.findViewById(R.id.last_interaction).getVisibility()); in testCreateRemoteViewsWithLastInteractionTime()
226 assertEquals(View.GONE, result.findViewById(R.id.availability).getVisibility()); in testCreateRemoteViewsWithLastInteractionTime()
228 assertEquals(View.VISIBLE, result.findViewById(R.id.person_icon).getVisibility()); in testCreateRemoteViewsWithLastInteractionTime()
237 assertEquals(View.VISIBLE, smallResult.findViewById(R.id.name).getVisibility()); in testCreateRemoteViewsWithLastInteractionTime()
238 assertEquals(View.GONE, smallResult.findViewById(R.id.predefined_icon).getVisibility()); in testCreateRemoteViewsWithLastInteractionTime()
240 assertEquals(View.VISIBLE, smallResult.findViewById(R.id.person_icon).getVisibility()); in testCreateRemoteViewsWithLastInteractionTime()
242 assertEquals(View.GONE, smallResult.findViewById(R.id.messages_count).getVisibility()); in testCreateRemoteViewsWithLastInteractionTime()
250 assertEquals(View.VISIBLE, smallResultHorizontal.findViewById(R.id.name).getVisibility()); in testCreateRemoteViewsWithLastInteractionTime()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DActionButtonsPreferenceTest.java67 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
69 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
71 assertThat(mRootView.findViewById(R.id.button3).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
73 assertThat(mRootView.findViewById(R.id.button4).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
86 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
88 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
90 assertThat(mRootView.findViewById(R.id.button3).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
92 assertThat(mRootView.findViewById(R.id.button4).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
100 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
102 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
[all …]
DBarChartPreferenceTest.java93 assertThat(mTitleView.getVisibility()).isEqualTo(View.VISIBLE); in initializeBarChart_titleSet_shouldSetTitleInChartView()
108 assertThat(mTitleView.getVisibility()).isEqualTo(View.VISIBLE); in initializeBarChart_noBarViewSet_shouldShowTitleAndEmptyView()
109 assertThat(mBarChartView.findViewById(R.id.empty_view).getVisibility()) in initializeBarChart_noBarViewSet_shouldShowTitleAndEmptyView()
111 assertThat(mBarChartView.findViewById(R.id.bar_views_container).getVisibility()) in initializeBarChart_noBarViewSet_shouldShowTitleAndEmptyView()
129 assertThat(mDetailsView.getVisibility()).isEqualTo(View.VISIBLE); in initializeBarChart_detailsSet_shouldShowBarChartDetailsView()
147 assertThat(mDetailsView.getVisibility()).isEqualTo(View.GONE); in initializeBarChart_detailsNotSet_shouldHideBarChartDetailsView()
166 assertThat(mDetailsView.getVisibility()).isEqualTo(View.VISIBLE); in initializeBarChart_clickListenerSet_shouldSetClickListenerOnDetailsView()
180 assertThat(mBarView1.getVisibility()).isEqualTo(View.VISIBLE); in setBarViewInfos_oneBarViewInfoSet_shouldShowOneBarView()
183 assertThat(mBarView2.getVisibility()).isEqualTo(View.GONE); in setBarViewInfos_oneBarViewInfoSet_shouldShowOneBarView()
184 assertThat(mBarView3.getVisibility()).isEqualTo(View.GONE); in setBarViewInfos_oneBarViewInfoSet_shouldShowOneBarView()
[all …]
DAppEntitiesHeaderControllerTest.java136 assertThat(app1View.getVisibility()).isEqualTo(View.VISIBLE); in setAppEntity_addAppToIndex0_shouldShowAppView1()
151 assertThat(app2View.getVisibility()).isEqualTo(View.VISIBLE); in setAppEntity_addAppToIndex1_shouldShowAppView2()
166 assertThat(app3View.getVisibility()).isEqualTo(View.VISIBLE); in setAppEntity_addAppToIndex2_shouldShowAppView3()
180 assertThat(app1View.getVisibility()).isEqualTo(View.VISIBLE); in removeAppEntity_removeIndex0_shouldNotShowAppView1()
181 assertThat(app2View.getVisibility()).isEqualTo(View.VISIBLE); in removeAppEntity_removeIndex0_shouldNotShowAppView1()
185 assertThat(app1View.getVisibility()).isEqualTo(View.GONE); in removeAppEntity_removeIndex0_shouldNotShowAppView1()
186 assertThat(app2View.getVisibility()).isEqualTo(View.VISIBLE); in removeAppEntity_removeIndex0_shouldNotShowAppView1()
200 assertThat(app1View.getVisibility()).isEqualTo(View.VISIBLE); in clearAllAppEntities_shouldNotShowAllAppViews()
201 assertThat(app2View.getVisibility()).isEqualTo(View.VISIBLE); in clearAllAppEntities_shouldNotShowAllAppViews()
202 assertThat(app3View.getVisibility()).isEqualTo(View.VISIBLE); in clearAllAppEntities_shouldNotShowAllAppViews()
[all …]
DSelectorWithWidgetPreferenceTest.java106 assertEquals(View.VISIBLE, summaryContainer.getVisibility()); in onBindViewHolder_withSummary_containerShouldBeVisible()
120 assertEquals(View.GONE, summaryContainer.getVisibility()); in onBindViewHolder_emptySummary_containerShouldBeGone()
132 assertEquals(View.GONE, summaryContainer.getVisibility()); in nullSummary_containerShouldBeGone()
143 assertThat(holder.findViewById(R.id.appendix).getVisibility()).isEqualTo(View.GONE); in setAppendixVisibility_setGone_shouldBeGone()
150 assertEquals(View.GONE, mExtraWidgetContainer.getVisibility()); in setExtraWidgetListener_setNull_extraWidgetShouldInvisible()
157 assertEquals(View.VISIBLE, mExtraWidgetContainer.getVisibility()); in setExtraWidgetListener_extraWidgetShouldVisible()
DBannerMessagePreferenceTest.java138 assertThat(mSubtitleView.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByString_shouldSetSubtitle()
150 assertThat(mSubtitleView.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByResId_shouldSetSubtitle()
165 assertThat(mSubtitleView.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_whenAtLeastS_whenSubtitleXmlAttribute_shouldSetSubtitle()
174 assertThat(mSubtitleView.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_whenAtLeastS_shouldNotShowSubtitleIfUnset()
207 assertThat(mPositiveButton.getVisibility()).isEqualTo(View.VISIBLE); in setPositiveButtonText_shouldShowPositiveButton()
218 assertThat(mNegativeButton.getVisibility()).isEqualTo(View.VISIBLE); in setNegativeButtonText_shouldShowNegativeButton()
226 assertThat(mRootView.findViewById(R.id.banner_positive_btn).getVisibility()) in withoutSetPositiveButtonText_shouldHidePositiveButton()
234 assertThat(mRootView.findViewById(R.id.banner_negative_btn).getVisibility()) in withoutSetNegativeButtonText_shouldHideNegativeButton()
245 assertThat((mRootView.findViewById(R.id.banner_positive_btn)).getVisibility()) in setPositiveButtonVisible_withTrue_shouldShowPositiveButton()
256 assertThat(mRootView.findViewById(R.id.banner_positive_btn).getVisibility()) in setPositiveButtonVisible_withFalse_shouldHidePositiveButton()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogDelegateTest.java185 assertThat(mWifiToggle.getVisibility()).isEqualTo(View.GONE); in hideWifiViews_WifiViewsGone()
186 assertThat(mConnectedWifi.getVisibility()).isEqualTo(View.GONE); in hideWifiViews_WifiViewsGone()
187 assertThat(mWifiList.getVisibility()).isEqualTo(View.GONE); in hideWifiViews_WifiViewsGone()
188 assertThat(mSeeAll.getVisibility()).isEqualTo(View.GONE); in hideWifiViews_WifiViewsGone()
197 assertThat(mSubTitle.getVisibility()).isEqualTo(View.VISIBLE); in updateDialog_withApmOn_internetDialogSubTitleGone()
206 assertThat(mSubTitle.getVisibility()).isEqualTo(View.VISIBLE); in updateDialog_withApmOff_internetDialogSubTitleVisible()
216 assertThat(mEthernet.getVisibility()).isEqualTo(View.VISIBLE); in updateDialog_apmOffAndHasEthernet_showEthernet()
226 assertThat(mEthernet.getVisibility()).isEqualTo(View.GONE); in updateDialog_apmOffAndNoEthernet_hideEthernet()
236 assertThat(mEthernet.getVisibility()).isEqualTo(View.VISIBLE); in updateDialog_apmOnAndHasEthernet_showEthernet()
246 assertThat(mEthernet.getVisibility()).isEqualTo(View.GONE); in updateDialog_apmOnAndNoEthernet_hideEthernet()
[all …]
DInternetAdapterTest.java107 assertThat(mViewHolder.mWifiTitleText.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindWithOpenWifiNetwork_verifyView()
108 assertThat(mViewHolder.mWifiSummaryText.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindWithOpenWifiNetwork_verifyView()
109 assertThat(mViewHolder.mWifiIcon.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindWithOpenWifiNetwork_verifyView()
110 assertThat(mViewHolder.mWifiEndIcon.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindWithOpenWifiNetwork_verifyView()
118 assertThat(mViewHolder.mWifiTitleText.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindWithSecurityWifiNetwork_verifyView()
119 assertThat(mViewHolder.mWifiSummaryText.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindWithSecurityWifiNetwork_verifyView()
120 assertThat(mViewHolder.mWifiIcon.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindWithSecurityWifiNetwork_verifyView()
121 assertThat(mViewHolder.mWifiEndIcon.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_bindWithSecurityWifiNetwork_verifyView()
278 assertThat(mViewHolder.mWifiEndIcon.getVisibility()).isEqualTo(View.GONE); in viewHolderUpdateEndIcon_wifiDisconnectedAndSecurityNone_hideIcon()
/frameworks/base/core/tests/coretests/src/android/view/
DVisibilityTest.java78 assertEquals(View.INVISIBLE, mVictim.getVisibility()); in testVisibleToInvisible()
92 assertEquals(View.GONE, mVictim.getVisibility()); in testVisibleToGone()
106 assertEquals(View.GONE, mVictim.getVisibility()); in testGoneToVisible()
112 assertEquals(View.VISIBLE, mVictim.getVisibility()); in testGoneToVisible()
126 assertEquals(View.GONE, mVictim.getVisibility()); in testGoneToInvisible()
132 assertEquals(View.INVISIBLE, mVictim.getVisibility()); in testGoneToInvisible()
146 assertEquals(View.INVISIBLE, mVictim.getVisibility()); in testInvisibleToVisible()
152 assertEquals(View.VISIBLE, mVictim.getVisibility()); in testInvisibleToVisible()
166 assertEquals(View.INVISIBLE, mVictim.getVisibility()); in testInvisibleToGone()
172 assertEquals(View.GONE, mVictim.getVisibility()); in testInvisibleToGone()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/ui/
DWalletScreenControllerTest.java162 assertEquals(VISIBLE, mWalletView.getCardCarouselContainer().getVisibility()); in queryCards_deviceLocked_udfpsEnabled_hideUnlockButton()
163 assertEquals(GONE, mWalletView.getActionButton().getVisibility()); in queryCards_deviceLocked_udfpsEnabled_hideUnlockButton()
188 assertEquals(VISIBLE, mWalletView.getCardCarouselContainer().getVisibility()); in queryCards_deviceLocked_udfpsNotEnabled_showUnlockButton()
189 assertEquals(VISIBLE, mWalletView.getActionButton().getVisibility()); in queryCards_deviceLocked_udfpsNotEnabled_showUnlockButton()
211 assertEquals(VISIBLE, mWalletView.getCardCarouselContainer().getVisibility()); in queryCards_hasCards_showCarousel_activeCard()
213 assertEquals(GONE, mWalletView.getErrorView().getVisibility()); in queryCards_hasCards_showCarousel_activeCard()
237 assertEquals(VISIBLE, mWalletView.getCardCarouselContainer().getVisibility()); in queryCards_hasCards_showCarousel_pendingActivationCard_parseLabel()
240 assertEquals(VISIBLE, mWalletView.getActionButton().getVisibility()); in queryCards_hasCards_showCarousel_pendingActivationCard_parseLabel()
241 assertEquals(GONE, mWalletView.getErrorView().getVisibility()); in queryCards_hasCards_showCarousel_pendingActivationCard_parseLabel()
263 assertEquals(VISIBLE, mWalletView.getCardCarouselContainer().getVisibility()); in queryCards_hasCards_showCarousel_badCard_parseLabel_notCrash()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaViewControllerTest.kt385 assertThat(mediaViewController.expandedLayout.getVisibility(R.id.media_progress_bar)) in <lambda>()
396 assertThat(mediaViewController.expandedLayout.getVisibility(R.id.media_progress_bar)) in <lambda>()
407 assertThat(mediaViewController.expandedLayout.getVisibility(R.id.media_progress_bar)) in <lambda>()
412 assertThat(mediaViewController.expandedLayout.getVisibility(R.id.media_progress_bar)) in <lambda>()
427 mediaViewController.expandedLayout.getVisibility(R.id.media_scrubbing_elapsed_time) in <lambda>()
431 mediaViewController.expandedLayout.getVisibility(R.id.media_scrubbing_total_time) in <lambda>()
446 mediaViewController.expandedLayout.getVisibility(R.id.media_scrubbing_elapsed_time) in <lambda>()
450 mediaViewController.expandedLayout.getVisibility(R.id.media_scrubbing_total_time) in <lambda>()
465 assertThat(mediaViewController.expandedLayout.getVisibility(R.id.actionNext)) in <lambda>()
468 mediaViewController.expandedLayout.getVisibility(R.id.media_scrubbing_elapsed_time) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarViewControllerTest.java418 assertThat(mKeyguardStatusBarView.getVisibility()).isEqualTo(View.VISIBLE); in updateViewState_alphaAndVisibilityGiven_viewUpdated()
425 assertThat(mKeyguardStatusBarView.getVisibility()).isEqualTo(newVisibility); in updateViewState_alphaAndVisibilityGiven_viewUpdated()
436 assertThat(mKeyguardStatusBarView.getVisibility()).isEqualTo(View.INVISIBLE); in updateViewState_paramVisibleButIsDisabled_viewIsInvisible()
455 assertThat(mKeyguardStatusBarView.getVisibility()).isEqualTo(View.VISIBLE); in updateViewState_bypassEnabledAndShouldListenForFace_viewHidden()
463 assertThat(mKeyguardStatusBarView.getVisibility()).isEqualTo(View.INVISIBLE); in updateViewState_bypassEnabledAndShouldListenForFace_viewHidden()
477 assertThat(mKeyguardStatusBarView.getVisibility()).isEqualTo(View.VISIBLE); in updateViewState_bypassNotEnabled_viewShown()
491 assertThat(mKeyguardStatusBarView.getVisibility()).isEqualTo(View.VISIBLE); in updateViewState_shouldNotListenForFace_viewShown()
503 assertThat(mKeyguardStatusBarView.getVisibility()).isEqualTo(View.INVISIBLE); in updateViewState_panelExpandedHeightZero_viewHidden()
515 assertThat(mKeyguardStatusBarView.getVisibility()).isEqualTo(View.INVISIBLE); in updateViewState_dragProgressOne_viewHidden()
526 assertThat(mKeyguardStatusBarView.getVisibility()).isEqualTo(View.VISIBLE); in updateViewState_disableSystemInfoFalse_viewShown()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRootTaskTests.java547 organizer.mSecondary.getVisibility(null /* starting */)); in testShouldBeVisible_SplitScreen()
549 splitScreenSecondary.getVisibility(null /* starting */)); in testShouldBeVisible_SplitScreen()
551 splitScreenSecondary2.getVisibility(null /* starting */)); in testShouldBeVisible_SplitScreen()
560 organizer.mSecondary.getVisibility(null /* starting */)); in testShouldBeVisible_SplitScreen()
562 splitScreenSecondary.getVisibility(null /* starting */)); in testShouldBeVisible_SplitScreen()
564 splitScreenSecondary2.getVisibility(null /* starting */)); in testShouldBeVisible_SplitScreen()
578 assistantRootTask.getVisibility(null /* starting */)); in testShouldBeVisible_SplitScreen()
580 splitScreenPrimary.getVisibility(null /* starting */)); in testShouldBeVisible_SplitScreen()
582 splitScreenSecondary.getVisibility(null /* starting */)); in testShouldBeVisible_SplitScreen()
584 splitScreenSecondary2.getVisibility(null /* starting */)); in testShouldBeVisible_SplitScreen()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCrossFadeHelper.java70 if (view.getVisibility() != View.GONE) { in fadeOut()
88 if (view.getVisibility() != View.GONE) { in fadeOut()
117 if (fadeOutAmount == 1.0f && view.getVisibility() != View.GONE) { in fadeOut()
119 } else if (view.getVisibility() == View.INVISIBLE) { in fadeOut()
175 if (view.getVisibility() == View.INVISIBLE) { in fadeIn()
193 if (view.getVisibility() == View.INVISIBLE) { in fadeIn()
227 if (view.getVisibility() == View.INVISIBLE) { in fadeIn()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DFocusAfterRemovalTest.java77 assertEquals(View.GONE, mLeftLayout.getVisibility()); in testFocusLeavesWhenParentLayoutIsGone()
94 getActivity().findViewById(R.id.leftLayout).getVisibility()); in testFocusLeavesWhenParentLayoutInvisible()
109 assertEquals(View.GONE, mTopRightButton.getVisibility()); in testFocusLeavesWhenFocusedViewBecomesGone()
125 assertEquals(View.INVISIBLE, mBottomRightButton.getVisibility()); in testFocusLeavesWhenFocusedViewBecomesInvisible()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DReachabilityEduLayoutTest.java90 assertEquals(View.INVISIBLE, mMoveUpButton.getVisibility()); in handleVisibility_educationNotEnabled_buttonsAreHidden()
91 assertEquals(View.INVISIBLE, mMoveDownButton.getVisibility()); in handleVisibility_educationNotEnabled_buttonsAreHidden()
92 assertEquals(View.INVISIBLE, mMoveLeftButton.getVisibility()); in handleVisibility_educationNotEnabled_buttonsAreHidden()
93 assertEquals(View.INVISIBLE, mMoveRightButton.getVisibility()); in handleVisibility_educationNotEnabled_buttonsAreHidden()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/carrier/
DShadeCarrierTest.java103 assertEquals(View.GONE, mShadeCarrier.getRSSIView().getVisibility()); in testUpdateState_singleCarrier_noShowIcon()
112 assertEquals(View.VISIBLE, mShadeCarrier.getRSSIView().getVisibility()); in testUpdateState_multiCarrier_showIcon()
120 assertEquals(View.GONE, mShadeCarrier.getRSSIView().getVisibility()); in testUpdateState_changeSingleMultiSingle()
123 assertEquals(View.VISIBLE, mShadeCarrier.getRSSIView().getVisibility()); in testUpdateState_changeSingleMultiSingle()
126 assertEquals(View.GONE, mShadeCarrier.getRSSIView().getVisibility()); in testUpdateState_changeSingleMultiSingle()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DAuthKeyguardMessageAreaTest.java51 assertThat(mKeyguardMessageArea.getVisibility()).isEqualTo(View.VISIBLE); in testShowsTextField()
60 assertThat(mKeyguardMessageArea.getVisibility()).isEqualTo(View.INVISIBLE); in testHiddenWhenBouncerHidden()
68 assertThat(mKeyguardMessageArea.getVisibility()).isEqualTo(View.INVISIBLE); in testClearsTextField()
DKeyguardClockSwitchTest.java198 assertThat(mLargeClockFrame.getVisibility()).isEqualTo(VISIBLE); in switchingToBigClockWithAnimation_makesSmallClockDisappear()
200 assertThat(mSmallClockFrame.getVisibility()).isEqualTo(INVISIBLE); in switchingToBigClockWithAnimation_makesSmallClockDisappear()
208 assertThat(mLargeClockFrame.getVisibility()).isEqualTo(VISIBLE); in switchingToBigClockNoAnimation_makesSmallClockDisappear()
210 assertThat(mSmallClockFrame.getVisibility()).isEqualTo(INVISIBLE); in switchingToBigClockNoAnimation_makesSmallClockDisappear()
222 assertThat(mSmallClockFrame.getVisibility()).isEqualTo(VISIBLE); in switchingToSmallClockWithAnimation_makesBigClockDisappear()
226 assertThat(mLargeClockFrame.getVisibility()).isEqualTo(INVISIBLE); in switchingToSmallClockWithAnimation_makesBigClockDisappear()
234 assertThat(mSmallClockFrame.getVisibility()).isEqualTo(VISIBLE); in switchingToSmallClockNoAnimation_makesBigClockDisappear()
238 assertThat(mLargeClockFrame.getVisibility()).isEqualTo(INVISIBLE); in switchingToSmallClockNoAnimation_makesBigClockDisappear()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/
DCreateUserDialogControllerTest.java95 assertThat(dialog.findViewById(R.id.grant_admin_view).getVisibility()).isEqualTo(View.GONE); in positiveButton_MultipleAdminDisabled_shouldSkipGrantAdminStage()
99 assertThat(dialog.findViewById(R.id.grant_admin_view).getVisibility()).isEqualTo(View.GONE); in positiveButton_MultipleAdminDisabled_shouldSkipGrantAdminStage()
103 assertThat(dialog.findViewById(R.id.grant_admin_view).getVisibility()).isEqualTo(View.GONE); in positiveButton_MultipleAdminDisabled_shouldSkipGrantAdminStage()
114 assertThat(dialog.findViewById(R.id.user_info_editor).getVisibility()).isEqualTo(View.GONE); in editUserInfoController_shouldOnlyBeVisibleOnLastStage()
118 assertThat(dialog.findViewById(R.id.user_info_editor).getVisibility()).isEqualTo(View.GONE); in editUserInfoController_shouldOnlyBeVisibleOnLastStage()
120 assertThat(dialog.findViewById(R.id.user_info_editor).getVisibility()) in editUserInfoController_shouldOnlyBeVisibleOnLastStage()
133 assertThat(dialog.findViewById(R.id.grant_admin_view).getVisibility()).isEqualTo(View.GONE); in positiveButton_MultipleAdminEnabled_shouldShowGrantAdminStage()
137 assertThat(dialog.findViewById(R.id.grant_admin_view).getVisibility()) in positiveButton_MultipleAdminEnabled_shouldShowGrantAdminStage()
141 assertThat(dialog.findViewById(R.id.grant_admin_view).getVisibility()).isEqualTo(View.GONE); in positiveButton_MultipleAdminEnabled_shouldShowGrantAdminStage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainerTest.java154 Assert.assertEquals(View.VISIBLE, lowPriorityHeaderView.getVisibility()); in testLowPriorityHeaderCleared()
192 Assert.assertEquals(View.VISIBLE, lowPriorityHeaderView.getVisibility()); in setLowPriorityBeforeLowPriorityHeaderSet()
201 Assert.assertEquals(View.INVISIBLE, lowPriorityHeaderView.getVisibility()); in setLowPriorityBeforeLowPriorityHeaderSet()
205 .getVisibility() in setLowPriorityBeforeLowPriorityHeaderSet()
224 Assert.assertEquals(View.VISIBLE, headerView.getVisibility()); in changeLowPriorityAfterHeaderSet()
233 Assert.assertEquals(View.INVISIBLE, headerView.getVisibility()); in changeLowPriorityAfterHeaderSet()
236 Assert.assertEquals(View.VISIBLE, lowPriorityHeaderView.getVisibility()); in changeLowPriorityAfterHeaderSet()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/
DControlsComponentTest.kt104 assertEquals(ControlsComponent.Visibility.UNAVAILABLE, component.getVisibility()) in testFeatureDisabledVisibility()
113 assertEquals(ControlsComponent.Visibility.AVAILABLE_AFTER_UNLOCK, component.getVisibility()) in testFeatureEnabledAfterBootVisibility()
123 assertEquals(ControlsComponent.Visibility.AVAILABLE_AFTER_UNLOCK, component.getVisibility()) in testFeatureEnabledAndCannotShowOnLockScreenVisibility()
133 assertEquals(ControlsComponent.Visibility.AVAILABLE, component.getVisibility()) in testFeatureEnabledAndCanShowOnLockScreenVisibility()
143 assertEquals(ControlsComponent.Visibility.AVAILABLE, component.getVisibility()) in testFeatureEnabledAndCanShowWhileUnlockedVisibility()

12345678910>>...14