/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsControllerTest.java | 153 assertTrue(mController.getSourceConsumer(navBar.getType()).isVisible()); in testAnimationEndState() 154 assertTrue(mController.getSourceConsumer(topBar.getType()).isVisible()); in testAnimationEndState() 155 assertTrue(mController.getSourceConsumer(ime.getType()).isVisible()); in testAnimationEndState() 160 assertFalse(mController.getSourceConsumer(navBar.getType()).isVisible()); in testAnimationEndState() 161 assertFalse(mController.getSourceConsumer(topBar.getType()).isVisible()); in testAnimationEndState() 162 assertFalse(mController.getSourceConsumer(ime.getType()).isVisible()); in testAnimationEndState() 177 assertTrue(mController.getSourceConsumer(ime.getType()).isVisible()); in testApplyImeVisibility() 180 assertFalse(mController.getSourceConsumer(ime.getType()).isVisible()); in testApplyImeVisibility() 197 assertTrue(mController.getSourceConsumer(navBar.getType()).isVisible()); in testShowHideSelectively() 198 assertTrue(mController.getSourceConsumer(topBar.getType()).isVisible()); in testShowHideSelectively() [all …]
|
D | WindowInsetsTest.java | 87 assertTrue(insets.isVisible(sideBars())); in visibility() 88 assertTrue(insets.isVisible(sideBars() | ime())); in visibility() 89 assertFalse(insets.isVisible(sideBars() | topBar())); in visibility() 100 assertTrue(insets.isVisible(ime())); in consume_doesntChangeVisibility()
|
D | MenuTest.java | 143 Assert.assertTrue("Item did not start as visible", item1.isVisible()); in testVisibility() 144 Assert.assertTrue("Item did not start as visible", item2.isVisible()); in testVisibility() 148 Assert.assertFalse("Item did not become invisible", item1.isVisible()); in testVisibility() 150 Assert.assertFalse("Item did not become invisible", item2.isVisible()); in testVisibility()
|
/frameworks/base/core/java/android/view/ |
D | ActionProvider.java | 125 public boolean isVisible() { in isVisible() method in ActionProvider 137 mVisibilityListener.onActionProviderVisibilityChanged(isVisible()); in refreshVisibility() 213 public void subUiVisibilityChanged(boolean isVisible) { in subUiVisibilityChanged() argument 215 mSubUiVisibilityListener.onSubUiVisibilityChanged(isVisible); in subUiVisibilityChanged() 255 public void onSubUiVisibilityChanged(boolean isVisible); in onSubUiVisibilityChanged() argument 265 public void onActionProviderVisibilityChanged(boolean isVisible); in onActionProviderVisibilityChanged() argument
|
D | InsetsSourceConsumer.java | 120 if (mState.getSource(mType).isVisible() == mVisible) { in applyLocalVisibilityOverride() 128 public boolean isVisible() { in isVisible() method in InsetsSourceConsumer
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarContextTest.java | 83 assertTrue("By default the group should be visible.", mGroup.isVisible()); in testSetButtonVisibility() 87 assertFalse(mBtn0.isVisible()); in testSetButtonVisibility() 88 assertTrue(mBtn1.isVisible()); in testSetButtonVisibility() 89 assertFalse(mBtn2.isVisible()); in testSetButtonVisibility() 93 assertFalse("No buttons are visible, group should also be hidden", mGroup.isVisible()); in testSetButtonVisibility() 134 assertFalse("No buttons are visible, group should also be invisible", mGroup.isVisible()); in testSetHigherPriorityButton() 150 assertFalse(mBtn0.isVisible()); in testSetLowerPriorityButton() 151 assertFalse(mBtn1.isVisible()); in testSetLowerPriorityButton() 152 assertTrue(mBtn2.isVisible()); in testSetLowerPriorityButton() 158 assertTrue("A button still visible, group should also be visible", mGroup.isVisible()); in testSetLowerPriorityButton() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ViewPreviewer.java | 88 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/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/ |
D | ActionButtonsPreference.java | 103 public ActionButtonsPreference setButton1Visible(boolean isVisible) { in setButton1Visible() argument 104 if (isVisible != mButton1Info.mIsVisible) { in setButton1Visible() 105 mButton1Info.mIsVisible = isVisible; in setButton1Visible() 168 public ActionButtonsPreference setButton2Visible(boolean isVisible) { in setButton2Visible() argument 169 if (isVisible != mButton2Info.mIsVisible) { in setButton2Visible() 170 mButton2Info.mIsVisible = isVisible; in setButton2Visible() 233 public ActionButtonsPreference setButton3Visible(boolean isVisible) { in setButton3Visible() argument 234 if (isVisible != mButton3Info.mIsVisible) { in setButton3Visible() 235 mButton3Info.mIsVisible = isVisible; in setButton3Visible() 298 public ActionButtonsPreference setButton4Visible(boolean isVisible) { in setButton4Visible() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | AutoMarqueeTextView.java | 69 public void onVisibilityAggregated(boolean isVisible) { in onVisibilityAggregated() argument 70 super.onVisibilityAggregated(isVisible); in onVisibilityAggregated() 71 if (isVisible == mAggregatedVisible) return; in onVisibilityAggregated() 73 mAggregatedVisible = isVisible; in onVisibilityAggregated()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/ |
D | AbstractPreferenceControllerTest.java | 63 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/opt/photoviewer/appcompat/src/com/android/ex/photo/ |
D | ActionBarWrapper.java | 23 public void onMenuVisibilityChanged(boolean isVisible) { in onMenuVisibilityChanged() argument 24 mWrapped.onMenuVisibilityChanged(isVisible); in onMenuVisibilityChanged()
|
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/ |
D | ActionBarWrapper.java | 22 public void onMenuVisibilityChanged(boolean isVisible) { in onMenuVisibilityChanged() argument 23 mWrapped.onMenuVisibilityChanged(isVisible); in onMenuVisibilityChanged()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/ |
D | AbstractPreferenceController.java | 91 protected final void setVisible(PreferenceGroup group, String key, boolean isVisible) { in setVisible() argument 94 pref.setVisible(isVisible); in setVisible()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ButtonBarItem.java | 63 return isVisible() ? 1 : 0; in getCount() 81 public boolean isVisible() { in isVisible() method in ButtonBarItem
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/ |
D | SerialNumberPreferenceControllerTest.java | 75 assertThat(mPreference.isVisible()).isFalse(); in testDisplay_noSerial_shouldHidePreference() 85 assertThat(mPreference.isVisible()).isTrue(); in testDisplay_hasSerial_shouldSetSummary()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationMediaTemplateViewWrapper.java | 238 private void setScrubberVisible(boolean isVisible) { in setScrubberVisible() argument 239 if (mSeekBar == null || mSeekBar.isEnabled() == isVisible) { in setScrubberVisible() 243 mSeekBar.getThumb().setAlpha(isVisible ? 255 : 0); in setScrubberVisible() 244 mSeekBar.setEnabled(isVisible); in setScrubberVisible() 245 mMetricsLogger.write(newLog(MetricsEvent.TYPE_DETAIL, isVisible ? 1 : 0)); in setScrubberVisible()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconHolder.java | 100 public boolean isVisible() { in isVisible() method in StatusBarIconHolder 114 if (isVisible() == visible) { in setVisible()
|
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/ |
D | LayersTrace.java | 255 Result isVisible(String layerName) { in isVisible() method in LayersTrace.Entry 300 if (layer.mProto.name.contains(layerName) && layer.isVisible()) { in getVisibleBounds() 352 boolean isVisible() { in isVisible() method in LayersTrace.Layer 366 return !isVisible(); in isInvisible() 385 if (isVisible()) { in getVisibilityReason()
|
D | LayersTraceSubject.java | 130 mChecker.add(entry -> entry.isVisible(layerName), in showsLayer() 136 mChecker.add(entry -> entry.isVisible(layerName).negate(), in hidesLayer()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Dimmer.java | 119 boolean isVisible; field in Dimmer.DimState 232 mDimState.isVisible = false; in stopDim() 322 if (!mDimState.isVisible) { in updateDims() 323 mDimState.isVisible = true; in updateDims()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockScreenWidgetCallback.java | 33 public boolean isVisible(View self); in isVisible() method
|
/frameworks/base/core/java/android/widget/ |
D | TextClock.java | 552 public void onVisibilityAggregated(boolean isVisible) { in onVisibilityAggregated() argument 553 super.onVisibilityAggregated(isVisible); in onVisibilityAggregated() 555 if (!mShouldRunTicker && isVisible) { in onVisibilityAggregated() 562 } else if (mShouldRunTicker && !isVisible) { in onVisibilityAggregated()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowContainerTests.java | 414 assertFalse(root.isVisible()); in testIsVisible() 415 assertTrue(child1.isVisible()); in testIsVisible() 416 assertFalse(child11.isVisible()); in testIsVisible() 417 assertTrue(child12.isVisible()); in testIsVisible() 418 assertFalse(child2.isVisible()); in testIsVisible() 419 assertFalse(child21.isVisible()); in testIsVisible() 781 boolean isVisible, Integer orientation) { in TestWindowContainer() argument 786 mIsVisible = isVisible; in TestWindowContainer() 831 boolean isVisible() { in isVisible() method in WindowContainerTests.TestWindowContainer 880 TestWindowContainerBuilder setIsVisible(boolean isVisible) { in setIsVisible() argument [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | ContainerLayer.cpp | 34 bool ContainerLayer::isVisible() const { in isVisible() function in android::ContainerLayer
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | ActionBarInterface.java | 22 public void onMenuVisibilityChanged(boolean isVisible); in onMenuVisibilityChanged() argument
|