Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/
DActionButtonsPreference.java158 if (mButton1Info.isVisible() && mIsAtLeastS) { in updateLayout()
161 if (mButton2Info.isVisible() && mIsAtLeastS) { in updateLayout()
164 if (mButton3Info.isVisible() && mIsAtLeastS) { in updateLayout()
167 if (mButton4Info.isVisible() && mIsAtLeastS) { in updateLayout()
230 public ActionButtonsPreference setButton1Visible(boolean isVisible) { in setButton1Visible() argument
231 if (isVisible != mButton1Info.mIsVisible) { in setButton1Visible()
232 mButton1Info.mIsVisible = isVisible; in setButton1Visible()
295 public ActionButtonsPreference setButton2Visible(boolean isVisible) { in setButton2Visible() argument
296 if (isVisible != mButton2Info.mIsVisible) { in setButton2Visible()
297 mButton2Info.mIsVisible = isVisible; in setButton2Visible()
[all …]
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DCommonAssertions.kt88 this.isVisible(FlickerComponentName.NAV_BAR) in FlickerTestParameter()
91 this.isVisible(FlickerComponentName.NAV_BAR) in FlickerTestParameter()
101 this.isVisible(FlickerComponentName.STATUS_BAR) in FlickerTestParameter()
104 this.isVisible(FlickerComponentName.STATUS_BAR) in FlickerTestParameter()
188 FlickerComponentName.SNAPSHOT.toLayerName()) && subject.isVisible in FlickerTestParameter()
232 val assertion = this.isVisible(originalLayer) in FlickerTestParameter()
235 assertion.then().isVisible(FlickerComponentName.ROTATION, isOptional = true) in FlickerTestParameter()
238 assertion.then().isVisible(FlickerComponentName.SNAPSHOT, isOptional = true) in FlickerTestParameter()
244 assertion.then().isVisible(newLayer) in FlickerTestParameter()
248 this.isVisible(originalLayer) in FlickerTestParameter()
[all …]
/frameworks/base/core/java/android/view/
DActionProvider.java127 public boolean isVisible() { in isVisible() method in ActionProvider
139 mVisibilityListener.onActionProviderVisibilityChanged(isVisible()); in refreshVisibility()
215 public void subUiVisibilityChanged(boolean isVisible) { in subUiVisibilityChanged() argument
217 mSubUiVisibilityListener.onSubUiVisibilityChanged(isVisible); in subUiVisibilityChanged()
257 public void onSubUiVisibilityChanged(boolean isVisible); in onSubUiVisibilityChanged() argument
267 public void onActionProviderVisibilityChanged(boolean isVisible); in onActionProviderVisibilityChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/binder/
DFooterActionsViewBinder.kt28 import androidx.core.view.isVisible in <lambda>()
112 viewModel.isVisible.collect { isVisible -> view.isInvisible = !isVisible } in <lambda>() method
168 securityView.isVisible = security != null in <lambda>()
182 chevron.isVisible = true in <lambda>()
186 chevron.isVisible = false in <lambda>()
190 securityHolder.newDot.isVisible = false in <lambda>()
202 foregroundServicesWithNumberView.isVisible = false in <lambda>()
203 foregroundServicesWithTextView.isVisible = false in <lambda>()
210 foregroundServicesWithNumberView.isVisible = false in <lambda>()
212 foregroundServicesWithTextView.isVisible = true in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/binder/
DMobileIconBinder.kt27 import androidx.core.view.isVisible in <lambda>()
66 view.isVisible = true in <lambda>()
67 iconView.isVisible = true in <lambda>()
102 launch { viewModel.isVisible.collect { isVisible -> view.isVisible = isVisible } } in <lambda>() method
143 roamingView.isVisible = isRoaming in <lambda>()
144 roamingSpace.isVisible = isRoaming in <lambda>()
149 launch { viewModel.activityInVisible.collect { activityIn.isVisible = it } } in <lambda>()
151 launch { viewModel.activityOutVisible.collect { activityOut.isVisible = it } } in <lambda>()
154 viewModel.activityContainerVisible.collect { activityContainer.isVisible = it } in <lambda>()
183 return viewModel.isVisible.value in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/binder/
DWifiViewBinder.kt23 import androidx.core.view.isVisible in <lambda>()
68 view.isVisible = true in <lambda>()
69 iconView.isVisible = true in <lambda>()
86 groupView.isVisible = visibilityState == STATE_ICON in <lambda>()
87 dotView.isVisible = visibilityState == STATE_DOT in <lambda>()
93 view.isVisible = wifiIcon is WifiIcon.Visible in <lambda>()
114 activityInView.isVisible = visible in <lambda>()
120 activityOutView.isVisible = visible in <lambda>()
126 activityContainerView.isVisible = visible in <lambda>()
132 airplaneSpacer.isVisible = visible in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DViewPreviewer.java88 private void dispatchVisibilityAggregated(View view, boolean isVisible) { in dispatchVisibilityAggregated() argument
91 if (thisVisible || !isVisible) { in dispatchVisibilityAggregated()
92 view.onVisibilityAggregated(isVisible); in dispatchVisibilityAggregated()
96 isVisible = thisVisible && isVisible; in dispatchVisibilityAggregated()
101 dispatchVisibilityAggregated(vg.getChildAt(i), isVisible); in dispatchVisibilityAggregated() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DNavigationBarContextTest.java104 assertTrue("By default the group should be visible.", mGroup.isVisible()); in testSetButtonVisibility()
108 assertFalse(mBtn0.isVisible()); in testSetButtonVisibility()
109 assertTrue(mBtn1.isVisible()); in testSetButtonVisibility()
110 assertFalse(mBtn2.isVisible()); in testSetButtonVisibility()
114 assertFalse("No buttons are visible, group should also be hidden", mGroup.isVisible()); in testSetButtonVisibility()
155 assertFalse("No buttons are visible, group should also be invisible", mGroup.isVisible()); in testSetHigherPriorityButton()
171 assertFalse(mBtn0.isVisible()); in testSetLowerPriorityButton()
172 assertFalse(mBtn1.isVisible()); in testSetLowerPriorityButton()
173 assertTrue(mBtn2.isVisible()); in testSetLowerPriorityButton()
179 assertTrue("A button still visible, group should also be visible", mGroup.isVisible()); in testSetLowerPriorityButton()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardBottomAreaViewModelTest.kt227 isVisible = true, in startButton - present - visible model - starts activity on click()
257 isVisible = true, in startButton - hidden when device policy disables all keyguard features()
274 isVisible = false, in startButton - hidden when device policy disables all keyguard features()
296 isVisible = true, in startButton - in preview mode - visible even when keyguard not showing()
309 isVisible = true, in startButton - in preview mode - visible even when keyguard not showing()
338 isVisible = true, in endButton - in higlighted preview mode - dimmed when other is selected()
351 isVisible = true, in endButton - in higlighted preview mode - dimmed when other is selected()
364 isVisible = true, in endButton - in higlighted preview mode - dimmed when other is selected()
384 isVisible = true, in endButton - present - visible model - do nothing on click()
411 isVisible = false, in startButton - not present - model is hidden()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAutoMarqueeTextView.java68 public void onVisibilityAggregated(boolean isVisible) { in onVisibilityAggregated() argument
69 super.onVisibilityAggregated(isVisible); in onVisibilityAggregated()
70 if (isVisible == mAggregatedVisible) return; in onVisibilityAggregated()
72 mAggregatedVisible = isVisible; in onVisibilityAggregated()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/
DAbstractPreferenceControllerTest.java63 assertThat(mPreference.isVisible()).isTrue(); in displayPref_ifAvailable()
72 assertThat(mPreference.isVisible()).isTrue(); in displayPref_noKey_shouldDoNothing()
79 assertThat(mPreference.isVisible()).isTrue(); in setVisible_prefIsVisible_shouldSetToVisible()
86 assertThat(mPreference.isVisible()).isFalse(); in setVisible_prefNotVisible_shouldSetToInvisible()
95 assertThat(mPreference.isVisible()).isFalse(); in doNotDisplayPref_ifNotAvailable()
/frameworks/base/core/java/com/android/internal/widget/
DMediaNotificationView.java60 public void onVisibilityAggregated(boolean isVisible) { in onVisibilityAggregated() argument
61 super.onVisibilityAggregated(isVisible); in onVisibilityAggregated()
64 mListeners.get(i).onAggregatedVisibilityChanged(isVisible); in onVisibilityAggregated()
102 void onAggregatedVisibilityChanged(boolean isVisible); in onAggregatedVisibilityChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/binder/
DStatusBarUserChipViewBinder.kt20 import androidx.core.view.isVisible in <lambda>()
43 viewModel.isChipVisible.collect { isVisible -> view.isVisible = isVisible } in <lambda>() method
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/launch/
DOpenAppTransition.kt165 .isVisible(FlickerComponentName.SNAPSHOT, isOptional = true) in entireScreenCovered()
167 .isVisible(FlickerComponentName.SPLASH_SCREEN, isOptional = true) in entireScreenCovered()
169 .isVisible(testApp.component) in entireScreenCovered()
177 .isVisible(FlickerComponentName.SNAPSHOT, isOptional = true) in appLayerBecomesVisible_warmStart()
179 .isVisible(FlickerComponentName.SPLASH_SCREEN, isOptional = true) in appLayerBecomesVisible_warmStart()
181 .isVisible(testApp.component) in appLayerBecomesVisible_warmStart()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/
DExitPipToAppTransition.kt81 isVisible(testApp.component) in <lambda>()
82 .isVisible(pipApp.component) in <lambda>()
85 .isVisible(pipApp.component) in <lambda>()
124 val pipLayerList = this.layers { it.name.contains(layerName) && it.isVisible } in <lambda>()
DExpandPipOnDoubleClickTest.kt107 isVisible(pipApp.component) in <lambda>()
119 val pipLayerList = this.layers { it.name.contains(layerName) && it.isVisible } in <lambda>()
131 val pipLayerList = this.layers { it.name.contains(layerName) && it.isVisible } in <lambda>()
156 isVisible(LAUNCHER_COMPONENT) in <lambda>()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ime/
DSwitchImeWindowsFromGestureNavTest.kt145 isVisible(FlickerComponentName.NAV_BAR) in navBarLayerIsVisibleAroundSwitching()
148 isVisible(FlickerComponentName.NAV_BAR) in navBarLayerIsVisibleAroundSwitching()
155 isVisible(FlickerComponentName.STATUS_BAR) in statusBarLayerIsVisibleAroundSwitching()
158 isVisible(FlickerComponentName.STATUS_BAR) in statusBarLayerIsVisibleAroundSwitching()
165 isVisible(FlickerComponentName.IME) in imeLayerIsVisibleWhenSwitchingToImeApp()
168 isVisible(FlickerComponentName.IME) in imeLayerIsVisibleWhenSwitchingToImeApp()
171 isVisible(FlickerComponentName.IME) in imeLayerIsVisibleWhenSwitchingToImeApp()
DReOpenImeWindowTest.kt190 this.isVisible(FlickerComponentName.IME) in entireScreenCovered()
194 .isVisible(FlickerComponentName.IME) in entireScreenCovered()
203 this.isVisible(FlickerComponentName.IME) in imeLayerIsBecomesVisible()
211 this.isVisible(LAUNCHER_COMPONENT) in appLayerReplacesLauncher()
213 .isVisible(FlickerComponentName.SNAPSHOT, isOptional = true) in appLayerReplacesLauncher()
215 .isVisible(testApp.component) in appLayerReplacesLauncher()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/
DCommonAssertions.kt28 this.isVisible(APP_PAIR_SPLIT_DIVIDER_COMPONENT) in FlickerTestParameter()
42 .isVisible(DOCKED_STACK_DIVIDER_COMPONENT) in FlickerTestParameter()
56 .isVisible(component) in layerBecomesVisible()
64 this.isVisible(component) in FlickerTestParameter()
126 this.isVisible(DOCKED_STACK_DIVIDER_COMPONENT) in FlickerTestParameter()
134 .isVisible(DOCKED_STACK_DIVIDER_COMPONENT) in dockedStackDividerBecomesVisible()
140 this.isVisible(DOCKED_STACK_DIVIDER_COMPONENT) in FlickerTestParameter()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DShellTaskOrganizerTests.java373 taskInfo2.isVisible = true; in testOnSizeCompatActivityChanged()
383 taskInfo3.isVisible = false; in testOnSizeCompatActivityChanged()
412 taskInfo2.isVisible = true; in testOnEligibleForLetterboxEducationActivityChanged()
422 taskInfo3.isVisible = false; in testOnEligibleForLetterboxEducationActivityChanged()
450 taskInfo2.isVisible = true; in testOnCameraCompatActivityChanged()
461 taskInfo3.isVisible = true; in testOnCameraCompatActivityChanged()
473 taskInfo4.isVisible = true; in testOnCameraCompatActivityChanged()
483 taskInfo5.isVisible = true; in testOnCameraCompatActivityChanged()
493 taskInfo6.isVisible = false; in testOnCameraCompatActivityChanged()
505 task1.isVisible = true; in testAddLocusListener()
[all …]
/frameworks/base/packages/SettingsLib/BannerMessagePreference/src/com/android/settingslib/widget/
DBannerMessagePreference.java201 public BannerMessagePreference setPositiveButtonVisible(boolean isVisible) { in setPositiveButtonVisible() argument
202 if (isVisible != mPositiveButtonInfo.mIsVisible) { in setPositiveButtonVisible()
203 mPositiveButtonInfo.mIsVisible = isVisible; in setPositiveButtonVisible()
212 public BannerMessagePreference setNegativeButtonVisible(boolean isVisible) { in setNegativeButtonVisible() argument
213 if (isVisible != mNegativeButtonInfo.mIsVisible) { in setNegativeButtonVisible()
214 mNegativeButtonInfo.mIsVisible = isVisible; in setNegativeButtonVisible()
224 public BannerMessagePreference setDismissButtonVisible(boolean isVisible) { in setDismissButtonVisible() argument
225 if (isVisible != mDismissButtonInfo.mIsVisible) { in setDismissButtonVisible()
226 mDismissButtonInfo.mIsVisible = isVisible; in setDismissButtonVisible()
/frameworks/base/core/java/android/app/
DTaskInfo.java334 public boolean isVisible; field in TaskInfo
398 public boolean isVisible() { in isVisible() method in TaskInfo
399 return isVisible; in isVisible()
511 && isVisible == that.isVisible in equalsForTaskOrganizer()
544 && (!hasCompatUI() || isVisible == that.isVisible); in equalsForCompatUi()
584 isVisible = source.readBoolean(); in readFromParcel()
637 dest.writeBoolean(isVisible); in writeToParcel()
680 + " isVisible=" + isVisible in toString()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerHistoryTest.cpp146 EXPECT_CALL(*layer, isVisible()).WillRepeatedly(Return(true)); in TEST_F()
181 EXPECT_CALL(*layer, isVisible()).WillRepeatedly(Return(true)); in TEST_F()
196 EXPECT_CALL(*layer, isVisible()).WillRepeatedly(Return(false)); in TEST_F()
206 EXPECT_CALL(*layer, isVisible()).WillRepeatedly(Return(true)); in TEST_F()
227 EXPECT_CALL(*layer, isVisible()).WillRepeatedly(Return(true)); in TEST_F()
254 EXPECT_CALL(*layer, isVisible()).WillRepeatedly(Return(true)); in TEST_F()
282 EXPECT_CALL(*layer, isVisible()).WillRepeatedly(Return(true)); in TEST_F()
310 EXPECT_CALL(*layer, isVisible()).WillRepeatedly(Return(true)); in TEST_F()
342 EXPECT_CALL(*layer, isVisible()).WillRepeatedly(Return(true)); in TEST_F()
379 EXPECT_CALL(*layer1, isVisible()).WillRepeatedly(Return(true)); in TEST_F()
[all …]
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DControllerActivity.java150 final boolean isVisible = insets.isVisible(types); in updateWidgets()
151 final boolean wasVisible = mLastInsets != null ? mLastInsets.isVisible(types) : !isVisible; in updateWidgets()
152 if (isVisible != wasVisible) { in updateWidgets()
153 toggle.setChecked(isVisible); in updateWidgets()
155 seek.setProgress(isVisible ? seek.getMax() : seek.getMin(), true /* animate*/); in updateWidgets()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/quickswitch/
DQuickSwitchBetweenTwoAppsForwardTest.kt221 .isVisible(testApp2.component) in app2LayerBecomesAndStaysVisible()
247 this.isVisible(testApp1.component) in app1LayerBecomesAndStaysInvisible()
281 this.isVisible(testApp1.component) in app2LayerIsVisibleOnceApp1LayerIsInvisible()
283 .isVisible(LAUNCHER_COMPONENT, isOptional = true) in app2LayerIsVisibleOnceApp1LayerIsInvisible()
285 .isVisible(FlickerComponentName.SNAPSHOT, isOptional = true) in app2LayerIsVisibleOnceApp1LayerIsInvisible()
287 .isVisible(testApp2.component) in app2LayerIsVisibleOnceApp1LayerIsInvisible()

12345678910>>...14