Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconHolder.java103 return mIcon.visible; in isVisible()
105 return mWifiState.visible; in isVisible()
107 return mMobileState.visible; in isVisible()
113 public void setVisible(boolean visible) { in setVisible() argument
114 if (isVisible() == visible) { in setVisible()
120 mIcon.visible = visible; in setVisible()
124 mWifiState.visible = visible; in setVisible()
128 mMobileState.visible = visible; in setVisible()
DStatusBarSignalPolicy.java143 boolean visible = statusIcon.visible && !mBlockWifi; in setWifiIndicators()
144 boolean in = activityIn && mActivityEnabled && visible; in setWifiIndicators()
145 boolean out = activityOut && mActivityEnabled && visible; in setWifiIndicators()
149 newState.visible = visible; in setWifiIndicators()
170 if (state.visible && state.resId > 0) { in updateWifiIconWithState()
192 state.visible = statusIcon.visible && !mBlockMobile; in setMobileDataIndicators()
273 boolean visible = state.visible && !mBlockEthernet; in setEthernetIndicators()
287 mIsAirplaneMode = icon.visible && !mBlockAirplane; in setIsAirplaneMode()
305 public boolean visible; field in StatusBarSignalPolicy.SignalIconState
318 return visible == that.visible && in equals()
[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/statusbar/notification/
DNotificationWakeUpCoordinator.kt156 setNotificationsVisibleForExpansion(visible = false, animate = false, in onFullyHiddenChanged()
183 fun setNotificationsVisibleForExpansion(visible: Boolean, animate: Boolean, in isPulseExpanding()
185 mNotificationsVisibleForExpansion = visible in isPulseExpanding()
187 if (!visible && mNotificationsVisible) { in isPulseExpanding()
205 var visible = mNotificationsVisibleForExpansion || mHeadsUpManagerPhone.hasNotifications() in updateNotificationVisibility() variable
206 visible = visible && canShowPulsingHuns in updateNotificationVisibility()
208 if (!visible && mNotificationsVisible && (wakingUp || willWakeUp) && mDozeAmount != 0.0f) { in updateNotificationVisibility()
213 setNotificationsVisible(visible, animate, increaseSpeed) in updateNotificationVisibility()
216 private fun setNotificationsVisible(visible: Boolean, animate: Boolean, in setNotificationsVisible()
218 if (mNotificationsVisible == visible) { in setNotificationsVisible()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWallpaperWindowToken.java83 void updateWallpaperVisibility(boolean visible) { in updateWallpaperVisibility() argument
88 if (isHidden() == visible) { in updateWallpaperVisibility()
89 setHidden(!visible); in updateWallpaperVisibility()
98 if (visible) { in updateWallpaperVisibility()
102 wallpaper.dispatchWallpaperVisibility(visible); in updateWallpaperVisibility()
116 void updateWallpaperWindows(boolean visible) { in updateWallpaperWindows() argument
118 if (isHidden() == visible) { in updateWallpaperWindows()
120 "Wallpaper token " + token + " hidden=" + !visible); in updateWallpaperWindows()
121 setHidden(!visible); in updateWallpaperWindows()
133 if (visible) { in updateWallpaperWindows()
[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/base/packages/SystemUI/src/com/android/systemui/qs/
DQSCarrierGroup.java145 mInfos[0].visible && mInfos[1].visible ? View.VISIBLE : View.GONE); in handleUpdateState()
150 (mInfos[1].visible && mInfos[2].visible) in handleUpdateState()
151 || (mInfos[0].visible && mInfos[2].visible) ? View.VISIBLE : View.GONE); in handleUpdateState()
177 mInfos[slot].visible = true; in updateCarrierInfo()
185 mInfos[i].visible = false; in updateCarrierInfo()
196 mInfos[i].visible = false; in updateCarrierInfo()
222 mInfos[slotIndex].visible = statusIcon.visible; in setMobileDataIndicators()
234 mInfos[i].visible = false; in setNoSims()
241 boolean visible; field in QSCarrierGroup.CellSignalState
/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.java342 protected void setBackButtonVisible(boolean visible) { in setBackButtonVisible() argument
343 mCarSetupWizardLayout.setBackButtonVisible(visible); in setBackButtonVisible()
349 protected void setToolbarTitleVisible(boolean visible) { in setToolbarTitleVisible() argument
350 mCarSetupWizardLayout.setToolbarTitleVisible(visible); in setToolbarTitleVisible()
370 protected void setPrimaryToolbarButtonVisible(boolean visible) { in setPrimaryToolbarButtonVisible() argument
371 mCarSetupWizardLayout.setPrimaryToolbarButtonVisible(visible); in setPrimaryToolbarButtonVisible()
419 protected void setSecondaryToolbarButtonVisible(boolean visible) { in setSecondaryToolbarButtonVisible() argument
420 mCarSetupWizardLayout.setSecondaryToolbarButtonVisible(visible); in setSecondaryToolbarButtonVisible()
461 protected void setProgressBarVisible(boolean visible) { in setProgressBarVisible() argument
462 mCarSetupWizardLayout.setProgressBarVisible(visible); in setProgressBarVisible()
DCarSetupWizardLayout.java243 void setViewVisible(View view, boolean visible) { in setViewVisible() argument
244 view.setVisibility(visible ? View.VISIBLE : View.GONE); in setViewVisible()
249 void updateBackButtonTouchDelegate(boolean visible) { in updateBackButtonTouchDelegate() argument
250 if (visible) { in updateBackButtonTouchDelegate()
313 public void setBackButtonVisible(boolean visible) { in setBackButtonVisible() argument
314 setViewVisible(mBackButton, visible); in setBackButtonVisible()
315 updateBackButtonTouchDelegate(visible); in setBackButtonVisible()
333 public void setToolbarTitleVisible(boolean visible) { in setToolbarTitleVisible() argument
334 setViewVisible(mToolbarTitle, visible); in setToolbarTitleVisible()
366 public void setPrimaryToolbarButtonVisible(boolean visible) { in setPrimaryToolbarButtonVisible() argument
[all …]
DCarSetupWizardBaseLayout.java245 void setViewVisible(View view, boolean visible) { in setViewVisible() argument
246 view.setVisibility(visible ? View.VISIBLE : View.GONE); in setViewVisible()
251 void updateBackButtonTouchDelegate(boolean visible) { in updateBackButtonTouchDelegate() argument
252 if (visible) { in updateBackButtonTouchDelegate()
315 public void setBackButtonVisible(boolean visible) { in setBackButtonVisible() argument
316 setViewVisible(mBackButton, visible); in setBackButtonVisible()
317 updateBackButtonTouchDelegate(visible); in setBackButtonVisible()
335 public void setToolbarTitleVisible(boolean visible) { in setToolbarTitleVisible() argument
336 setViewVisible(mToolbarTitle, visible); in setToolbarTitleVisible()
368 public void setPrimaryToolbarButtonVisible(boolean visible) { in setPrimaryToolbarButtonVisible() argument
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/component/
DRecentsVisibilityChangedEvent.java30 public final boolean visible; field in RecentsVisibilityChangedEvent
32 public RecentsVisibilityChangedEvent(Context context, boolean visible) { in RecentsVisibilityChangedEvent() argument
34 this.visible = visible; in RecentsVisibilityChangedEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java94 public final boolean visible; field in NetworkController.IconState
98 public IconState(boolean visible, int icon, String contentDescription) { in IconState() argument
99 this.visible = visible; in IconState()
104 public IconState(boolean visible, int icon, int contentDescription, in IconState() argument
106 this(visible, icon, context.getString(contentDescription)); in IconState()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DMetricsLoggerCompat.java39 public void visible(int category) { in visible() method in MetricsLoggerCompat
40 mMetricsLogger.visible(category); in visible()
47 public void visibility(int category, boolean visible) { in visibility() argument
48 mMetricsLogger.visibility(category, visible); in visibility()
DWindowManagerWrapper.java146 public void setShelfHeight(boolean visible, int shelfHeight) { in setShelfHeight() argument
148 WindowManagerGlobal.getWindowManagerService().setShelfHeight(visible, shelfHeight); in setShelfHeight()
154 public void setRecentsVisibility(boolean visible) { in setRecentsVisibility() argument
156 WindowManagerGlobal.getWindowManagerService().setRecentsVisibility(visible); in setRecentsVisibility()
162 public void setPipVisibility(final boolean visible) { in setPipVisibility() argument
164 WindowManagerGlobal.getWindowManagerService().setPipVisibility(visible); in setPipVisibility()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewTransform.java60 public boolean visible = false; field in TaskViewTransform
72 visible = true; in fillIn()
85 visible = other.visible; in copyFrom()
99 && visible == other.visible in isSame()
112 visible = false; in reset()
140 if (!visible) { in applyToTaskView()
201 return "R: " + rect + " V: " + visible; in toString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java356 protected void verifyLastQsMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastQsMobileDataIndicators() argument
372 assertEquals("Visibility in, quick settings", visible, iconState.visible); in verifyLastQsMobileDataIndicators()
381 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon) { in verifyLastMobileDataIndicators() argument
382 verifyLastMobileDataIndicators(visible, icon, typeIcon, false); in verifyLastMobileDataIndicators()
385 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators() argument
387 verifyLastMobileDataIndicators(visible, icon, typeIcon, roaming, true); in verifyLastMobileDataIndicators()
390 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators() argument
408 assertEquals("Visibility in status bar", visible, iconState.visible); in verifyLastMobileDataIndicators()
411 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators() argument
414 visible, icon, typeIcon, qsVisible, qsIcon, qsTypeIcon, dataIn, dataOut, false); in verifyLastMobileDataIndicators()
[all …]
/frameworks/base/libs/input/
DSpriteController.h82 virtual void setVisible(bool visible) = 0;
155 dirty(0), visible(false), in SpriteState()
163 bool visible; member
178 return visible && alpha > 0.0f && icon.isValid(); in wantSurfaceVisible()
197 virtual void setVisible(bool visible);
213 int32_t width, int32_t height, bool drawn, bool visible) { in setSurfaceLocked() argument
218 mLocked.state.surfaceVisible = visible; in setSurfaceLocked()
/frameworks/base/core/java/com/android/internal/logging/
DMetricsLogger.java95 public void visible(int category) throws IllegalArgumentException { in visible() method in MetricsLogger
114 public void visibility(int category, boolean visible) in visibility() argument
116 if (visible) { in visibility()
117 visible(category); in visibility()
164 public static void visible(Context context, int category) throws IllegalArgumentException { in visible() method in MetricsLogger
165 getLogger().visible(category); in visible()
/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java80 if (params.visible) { in applyParams()
128 Rect windowCrop, int layer, float cornerRadius, boolean visible) { in SurfaceParams() argument
135 this.visible = visible; in SurfaceParams()
156 public final boolean visible; field in SyncRtSurfaceTransactionApplier.SurfaceParams
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DTileDrawable.java129 public boolean setVisible(boolean visible) { in setVisible() argument
130 return setVisible(visible, true /* dontcare */); in setVisible()
134 public boolean setVisible(boolean visible, boolean restart) { in setVisible() argument
135 if (mInner != null) mInner.setVisible(visible, restart); in setVisible()
136 final boolean changed = super.setVisible(visible, restart); in setVisible()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_service.cpp70 << " visible=" << surface->visible() in DumpState()
95 << " visible=" << surface->visible() in DumpState()
259 return {{surface->surface_id(), surface->visible(), surface->z_order()}}; in OnCreateSurface()
344 if (surface->visible()) { in GetVisibleDisplaySurfaces()
404 bool visible = false; in IsVrAppRunning() local
407 [&visible](const std::shared_ptr<DisplaySurface>& surface) { in IsVrAppRunning()
408 if (surface->visible()) in IsVrAppRunning()
409 visible = true; in IsVrAppRunning()
412 return {visible}; in IsVrAppRunning()

12345678910>>...13