Home
last modified time | relevance | path

Searched refs:visible (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/frameworks/base/services/core/java/com/android/server/wm/
DWallpaperWindowToken.java105 boolean updateWallpaperWindows(boolean visible) { in updateWallpaperWindows() argument
107 if (mVisibleRequested != visible) { in updateWallpaperWindows()
109 token, visible); in updateWallpaperWindows()
110 setVisibility(visible); in updateWallpaperWindows()
115 if (!mTransitionController.useShellTransitionsRotation() && changed && visible) { in updateWallpaperWindows()
128 if (visible && wallpaperTarget != null) { in updateWallpaperWindows()
150 setVisible(visible); in updateWallpaperWindows()
154 private void setVisible(boolean visible) { in setVisible() argument
156 setClientVisible(visible); in setVisible()
157 if (visible && !wasClientVisible) { in setVisible()
[all …]
/frameworks/base/core/java/com/android/internal/statusbar/
DNotificationVisibility.java37 public boolean visible = true; field in NotificationVisibility
77 private NotificationVisibility(String key, int rank, int count, boolean visible, in NotificationVisibility() argument
83 this.visible = visible; in NotificationVisibility()
93 + (visible?" visible":"") in toString()
100 return obtain(this.key, this.rank, this.count, this.visible, this.location); in clone()
129 out.writeInt(this.visible ? 1 : 0); in writeToParcel()
137 this.visible = in.readInt() != 0; in readFromParcel()
144 public static NotificationVisibility obtain(String key, int rank, int count, boolean visible) { in obtain() argument
145 return obtain(key, rank, count, visible, in obtain()
152 public static NotificationVisibility obtain(String key, int rank, int count, boolean visible, in obtain() argument
[all …]
DStatusBarIcon.java30 public boolean visible = true; field in StatusBarIcon
62 + (visible?" visible":"") in toString()
72 that.visible = this.visible; in clone()
88 this.visible = in.readInt() != 0; in readFromParcel()
98 out.writeInt(this.visible ? 1 : 0); in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/
DCellSignalState.kt25 @JvmField val visible: Boolean = false, constant in com.android.systemui.qs.carrier.CellSignalState
39 fun changeVisibility(visible: Boolean): CellSignalState { in changeVisibility()
40 if (this.visible == visible) return this in changeVisibility()
41 else return copy(visible = visible) in changeVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconHolder.java201 return mIcon.visible; in isVisible()
203 return mWifiState.visible; in isVisible()
205 return mMobileState.visible; in isVisible()
216 public void setVisible(boolean visible) { in setVisible() argument
217 if (isVisible() == visible) { in setVisible()
223 mIcon.visible = visible; in setVisible()
227 mWifiState.visible = visible; in setVisible()
231 mMobileState.visible = visible; in setVisible()
DStatusBarSignalPolicy.java177 boolean visible = indicators.statusIcon.visible && !mHideWifi; in setWifiIndicators()
178 boolean in = indicators.activityIn && mActivityEnabled && visible; in setWifiIndicators()
179 boolean out = indicators.activityOut && mActivityEnabled && visible; in setWifiIndicators()
186 newState.visible = true; in setWifiIndicators()
190 newState.visible = true; in setWifiIndicators()
193 newState.visible = visible; in setWifiIndicators()
214 if (state.visible && state.resId > 0) { in updateWifiIconWithState()
234 state.isNoCalling = statusIcon.visible; in setCallIndicator()
264 state.visible = indicators.statusIcon.visible && !mHideMobile; in setMobileDataIndicators()
377 boolean visible = state.visible && !mHideEthernet; in setEthernetIndicators()
[all …]
/frameworks/base/core/java/android/text/method/
DPasswordTransformationMethod.java162 Visible[] visible = sp.getSpans(0, sp.length(), Visible.class); in charAt() local
164 for (int a = 0; a < visible.length; a++) { in charAt()
165 if (sp.getSpanStart(visible[a].mTransformer) >= 0) { in charAt()
166 st = sp.getSpanStart(visible[a]); in charAt()
167 en = sp.getSpanEnd(visible[a]); in charAt()
203 Visible[] visible = sp.getSpans(0, sp.length(), Visible.class); in getChars() local
204 nvisible = visible.length; in getChars()
209 if (sp.getSpanStart(visible[i].mTransformer) >= 0) { in getChars()
210 starts[i] = sp.getSpanStart(visible[i]); in getChars()
211 ends[i] = sp.getSpanEnd(visible[i]); in getChars()
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItem.java39 private boolean visible = true; field in Item
54 visible = a.getBoolean(R.styleable.SuwItem_android_visible, true); in Item()
114 public void setVisible(boolean visible) { in setVisible() argument
115 if (this.visible == visible) { in setVisible()
118 this.visible = visible; in setVisible()
119 if (!visible) { in setVisible()
127 return visible; in isVisible()
DButtonBarItem.java51 private boolean visible = true; field in ButtonBarItem
77 public void setVisible(boolean visible) { in setVisible() argument
78 this.visible = visible; in setVisible()
82 return visible; in isVisible()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DBaseActivity.java343 protected void setBackButtonVisible(boolean visible) { in setBackButtonVisible() argument
344 mCarSetupWizardLayout.setBackButtonVisible(visible); in setBackButtonVisible()
350 protected void setToolbarTitleVisible(boolean visible) { in setToolbarTitleVisible() argument
351 mCarSetupWizardLayout.setToolbarTitleVisible(visible); in setToolbarTitleVisible()
371 protected void setPrimaryToolbarButtonVisible(boolean visible) { in setPrimaryToolbarButtonVisible() argument
372 mCarSetupWizardLayout.setPrimaryToolbarButtonVisible(visible); in setPrimaryToolbarButtonVisible()
421 protected void setSecondaryToolbarButtonVisible(boolean visible) { in setSecondaryToolbarButtonVisible() argument
422 mCarSetupWizardLayout.setSecondaryToolbarButtonVisible(visible); in setSecondaryToolbarButtonVisible()
463 protected void setProgressBarVisible(boolean visible) { in setProgressBarVisible() argument
464 mCarSetupWizardLayout.setProgressBarVisible(visible); in setProgressBarVisible()
DBaseSetupWizardActivity.java385 protected void setBackButtonVisible(boolean visible) { in setBackButtonVisible() argument
386 mCarSetupWizardLayout.setBackButtonVisible(visible); in setBackButtonVisible()
393 protected void setCloseButtonVisible(boolean visible) { in setCloseButtonVisible() argument
394 mCarSetupWizardLayout.setCloseButtonVisible(visible); in setCloseButtonVisible()
400 protected void setToolbarTitleVisible(boolean visible) { in setToolbarTitleVisible() argument
401 mCarSetupWizardLayout.setToolbarTitleVisible(visible); in setToolbarTitleVisible()
421 protected void setPrimaryToolbarButtonVisible(boolean visible) { in setPrimaryToolbarButtonVisible() argument
422 mCarSetupWizardLayout.setPrimaryToolbarButtonVisible(visible); in setPrimaryToolbarButtonVisible()
470 protected void setSecondaryToolbarButtonVisible(boolean visible) { in setSecondaryToolbarButtonVisible() argument
471 mCarSetupWizardLayout.setSecondaryToolbarButtonVisible(visible); in setSecondaryToolbarButtonVisible()
[all …]
DCarSetupWizardBaseLayout.java306 void setViewVisible(View view, boolean visible) { in setViewVisible() argument
310 view.setVisibility(visible ? View.VISIBLE : View.GONE); in setViewVisible()
315 void updateNavigationButtonTouchDelegate(View button, boolean visible) { in updateNavigationButtonTouchDelegate() argument
319 if (visible) { in updateNavigationButtonTouchDelegate()
381 public void setBackButtonVisible(boolean visible) { in setBackButtonVisible() argument
382 if (visible) { in setBackButtonVisible()
386 setViewVisible(mBackButton, visible); in setBackButtonVisible()
387 updateNavigationButtonTouchDelegate(mBackButton, visible); in setBackButtonVisible()
410 public void setCloseButtonVisible(boolean visible) { in setCloseButtonVisible() argument
411 if (visible) { in setCloseButtonVisible()
[all …]
DCarSetupWizardLayout.java240 void setViewVisible(View view, boolean visible) { in setViewVisible() argument
241 view.setVisibility(visible ? View.VISIBLE : View.GONE); in setViewVisible()
246 void updateBackButtonTouchDelegate(boolean visible) { in updateBackButtonTouchDelegate() argument
247 if (visible) { in updateBackButtonTouchDelegate()
310 public void setBackButtonVisible(boolean visible) { in setBackButtonVisible() argument
311 setViewVisible(mBackButton, visible); in setBackButtonVisible()
312 updateBackButtonTouchDelegate(visible); in setBackButtonVisible()
330 public void setToolbarTitleVisible(boolean visible) { in setToolbarTitleVisible() argument
331 setViewVisible(mToolbarTitle, visible); in setToolbarTitleVisible()
363 public void setPrimaryToolbarButtonVisible(boolean visible) { in setPrimaryToolbarButtonVisible() argument
[all …]
DCarSetupWizardLayoutInterface.java32 void setPrimaryActionButtonVisible(boolean visible); in setPrimaryActionButtonVisible() argument
58 void setSecondaryActionButtonVisible(boolean visible); in setSecondaryActionButtonVisible() argument
75 void setProgressBarVisible(boolean visible); in setProgressBarVisible() argument
/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java126 if (params.visible) { in applyParams()
174 boolean visible; field in SyncRtSurfaceTransactionApplier.SurfaceParams.Builder
248 public Builder withVisibility(boolean visible) { in withVisibility() argument
249 this.visible = visible; in withVisibility()
270 cornerRadius, backgroundBlurRadius, visible, mergeTransaction); in build()
276 int backgroundBlurRadius, boolean visible, Transaction mergeTransaction) { in SurfaceParams() argument
285 this.visible = visible; in SurfaceParams()
312 public final boolean visible; field in SyncRtSurfaceTransactionApplier.SurfaceParams
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/binder/
DWifiViewBinder.kt113 viewModel.isActivityInViewVisible.distinctUntilChanged().collect { visible -> in <lambda>() method
114 activityInView.isVisible = visible in <lambda>()
119 viewModel.isActivityOutViewVisible.distinctUntilChanged().collect { visible -> in <lambda>() method
120 activityOutView.isVisible = visible in <lambda>()
125 viewModel.isActivityContainerVisible.distinctUntilChanged().collect { visible -> in <lambda>() method
126 activityContainerView.isVisible = visible in <lambda>()
131 viewModel.isAirplaneSpacerVisible.distinctUntilChanged().collect { visible -> in <lambda>() method
132 airplaneSpacer.isVisible = visible in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinator.kt192 visible = false, in onFullyHiddenChanged()
223 visible: Boolean, in isPulseExpanding()
227 mNotificationsVisibleForExpansion = visible in isPulseExpanding()
229 if (!visible && mNotificationsVisible) { in isPulseExpanding()
247 var visible = mNotificationsVisibleForExpansion || mHeadsUpManager.hasNotifications() in updateNotificationVisibility() variable
248 visible = visible && canShowPulsingHuns in updateNotificationVisibility()
251 !visible && in updateNotificationVisibility()
260 setNotificationsVisible(visible, animate, increaseSpeed) in updateNotificationVisibility()
264 visible: Boolean, in setNotificationsVisible()
268 if (mNotificationsVisible == visible) { in setNotificationsVisible()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
DMediaHost.kt201 state.visible = in <lambda>()
207 val newVisibility = if (visible) View.VISIBLE else View.GONE in <lambda>()
210 visibleChangedListeners.forEach { it.invoke(visible) } in <lambda>()
247 override var visible: Boolean = true in <lambda>() variable in com.android.systemui.media.controls.ui.MediaHost.<lambda>.MediaHostStateHolder
288 mediaHostState.visible = visible in <lambda>()
310 if (visible != other.visible) { in <lambda>()
328 result = 31 * result + if (visible) 1 else 2 in <lambda>()
370 val visible: Boolean constant
DKeyguardMediaController.kt126 var visible = false variable
157 onMediaHostVisibilityChanged(mediaHost.visible) in attachSinglePaneContainer()
161 private fun onMediaHostVisibilityChanged(visible: Boolean) { in onMediaHostVisibilityChanged()
163 if (visible) { in onMediaHostVisibilityChanged()
201 visible = in refreshMediaPosition()
202 mediaHost.visible && in refreshMediaPosition()
207 if (visible) { in refreshMediaPosition()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java96 boolean visible = false; in updateEmergencyCallButton()
100 visible = true; // always show "return to call" if phone is off-hook in updateEmergencyCallButton()
104 visible = mEnableEmergencyCallWhileSimLocked; in updateEmergencyCallButton()
107 visible = isSecure; in updateEmergencyCallButton()
111 if (visible) { in updateEmergencyCallButton()
/frameworks/base/libs/input/
DSpriteController.h82 virtual void setVisible(bool visible) = 0;
156 dirty(0), visible(false), in SpriteState()
164 bool visible; member
179 return visible && alpha > 0.0f && icon.isValid(); in wantSurfaceVisible()
198 virtual void setVisible(bool visible);
214 int32_t width, int32_t height, bool drawn, bool visible) { in setSurfaceLocked() argument
219 mLocked.state.surfaceVisible = visible; in setSurfaceLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/
DNotificationVisibilityProviderImpl.kt35 override fun obtain(entry: NotificationEntry, visible: Boolean): NotificationVisibility { in obtain()
40 return NotificationVisibility.obtain(entry.key, rank, count, visible && hasRow, location) in obtain()
43 override fun obtain(key: String, visible: Boolean): NotificationVisibility = in obtain()
44 notifCollection.getEntry(key)?.let { return obtain(it, visible) } in obtain()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/
DMediaHierarchyManagerTest.kt145 whenever(host.visible).thenReturn(true) in setupHost()
335 whenever(lockHost.visible).thenReturn(false) in calculateTransformationType_onLockSplitShade_goingToFullShade_mediaInvisible_returnsFade()
395 whenever(lockHost.visible).thenReturn(false) in getGuidedTransformationTranslationY_previousHostInvisible_returnsZero()
404 whenever(lockHost.visible).thenReturn(true) in isCurrentlyInGuidedTransformation_hostsVisible_returnsTrue()
405 whenever(qsHost.visible).thenReturn(true) in isCurrentlyInGuidedTransformation_hostsVisible_returnsTrue()
406 whenever(qqsHost.visible).thenReturn(true) in isCurrentlyInGuidedTransformation_hostsVisible_returnsTrue()
416 whenever(lockHost.visible).thenReturn(true) in isCurrentlyInGuidedTransformation_hostsVisible_expandImmediateEnabled_returnsFalse()
417 whenever(qsHost.visible).thenReturn(true) in isCurrentlyInGuidedTransformation_hostsVisible_expandImmediateEnabled_returnsFalse()
418 whenever(qqsHost.visible).thenReturn(true) in isCurrentlyInGuidedTransformation_hostsVisible_expandImmediateEnabled_returnsFalse()
427 whenever(lockHost.visible).thenReturn(false) in isCurrentlyInGuidedTransformation_hostNotVisible_returnsFalse_with_active()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerBaseTest.java505 protected void verifyLastQsMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastQsMobileDataIndicators() argument
515 assertEquals("Visibility in, quick settings", visible, expected.qsIcon.visible); in verifyLastQsMobileDataIndicators()
524 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon) { in verifyLastMobileDataIndicators() argument
525 verifyLastMobileDataIndicators(visible, icon, typeIcon, false); in verifyLastMobileDataIndicators()
528 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators() argument
530 verifyLastMobileDataIndicators(visible, icon, typeIcon, roaming, true); in verifyLastMobileDataIndicators()
533 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators() argument
547 assertEquals("Visibility in status bar", visible, expected.statusIcon.visible); in verifyLastMobileDataIndicators()
550 protected void verifyLastMobileDataIndicatorsForVcn(boolean visible, int level, int typeIcon, in verifyLastMobileDataIndicatorsForVcn() argument
563 assertEquals("Visibility in status bar", visible, expected.statusIcon.visible); in verifyLastMobileDataIndicatorsForVcn()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeWindowLogger.kt60 fun logApplyVisibility(visible: Boolean) { in <lambda>()
64 { bool1 = visible }, in <lambda>()
68 fun logShadeVisibleAndFocusable(visible: Boolean) { in <lambda>()
72 { bool1 = visible }, in <lambda>()

12345678910>>...17