Home
last modified time | relevance | path

Searched refs:visible (Results 1 – 25 of 325) 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/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/notification/
DNotificationWakeUpCoordinator.kt152 setNotificationsVisibleForExpansion(visible = false, animate = false, in onFullyHiddenChanged()
180 visible: Boolean, in isPulseExpanding()
184 mNotificationsVisibleForExpansion = visible in isPulseExpanding()
186 if (!visible && mNotificationsVisible) { in isPulseExpanding()
207 var visible = mNotificationsVisibleForExpansion || mHeadsUpManager.hasNotifications() in updateNotificationVisibility() variable
208 visible = visible && canShowPulsingHuns in updateNotificationVisibility()
210 if (!visible && mNotificationsVisible && (wakingUp || willWakeUp) && mDozeAmount != 0.0f) { in updateNotificationVisibility()
215 setNotificationsVisible(visible, animate, increaseSpeed) in updateNotificationVisibility()
219 visible: Boolean, in setNotificationsVisible()
223 if (mNotificationsVisible == visible) { in setNotificationsVisible()
[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/base/services/core/java/com/android/server/wm/
DWallpaperWindowToken.java89 void updateWallpaperVisibility(boolean visible) { in updateWallpaperVisibility() argument
90 if (isVisible() != visible) { in updateWallpaperVisibility()
98 if (visible) { in updateWallpaperVisibility()
102 wallpaper.dispatchWallpaperVisibility(visible); in updateWallpaperVisibility()
116 void updateWallpaperWindows(boolean visible) { in updateWallpaperWindows() argument
118 if (isVisible() != visible) { in updateWallpaperWindows()
120 "Wallpaper token " + token + " visible=" + visible); in updateWallpaperWindows()
128 if (visible && wallpaperTarget != null) { in updateWallpaperWindows()
150 if (visible) { in updateWallpaperWindows()
155 wallpaper.dispatchWallpaperVisibility(visible); in updateWallpaperWindows()
/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.java348 protected void setBackButtonVisible(boolean visible) { in setBackButtonVisible() argument
349 mCarSetupWizardLayout.setBackButtonVisible(visible); in setBackButtonVisible()
355 protected void setToolbarTitleVisible(boolean visible) { in setToolbarTitleVisible() argument
356 mCarSetupWizardLayout.setToolbarTitleVisible(visible); in setToolbarTitleVisible()
376 protected void setPrimaryToolbarButtonVisible(boolean visible) { in setPrimaryToolbarButtonVisible() argument
377 mCarSetupWizardLayout.setPrimaryToolbarButtonVisible(visible); in setPrimaryToolbarButtonVisible()
425 protected void setSecondaryToolbarButtonVisible(boolean visible) { in setSecondaryToolbarButtonVisible() argument
426 mCarSetupWizardLayout.setSecondaryToolbarButtonVisible(visible); in setSecondaryToolbarButtonVisible()
467 protected void setProgressBarVisible(boolean visible) { in setProgressBarVisible() argument
468 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.java244 void setViewVisible(View view, boolean visible) { in setViewVisible() argument
245 view.setVisibility(visible ? View.VISIBLE : View.GONE); in setViewVisible()
250 void updateBackButtonTouchDelegate(boolean visible) { in updateBackButtonTouchDelegate() argument
251 if (visible) { in updateBackButtonTouchDelegate()
314 public void setBackButtonVisible(boolean visible) { in setBackButtonVisible() argument
315 setViewVisible(mBackButton, visible); in setBackButtonVisible()
316 updateBackButtonTouchDelegate(visible); in setBackButtonVisible()
334 public void setToolbarTitleVisible(boolean visible) { in setToolbarTitleVisible() argument
335 setViewVisible(mToolbarTitle, visible); in setToolbarTitleVisible()
367 public void setPrimaryToolbarButtonVisible(boolean visible) { in setPrimaryToolbarButtonVisible() argument
[all …]
/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java115 if (params.visible) { in applyParams()
163 boolean visible; field in SyncRtSurfaceTransactionApplier.SurfaceParams.Builder
236 public Builder withVisibility(boolean visible) { in withVisibility() argument
237 this.visible = visible; in withVisibility()
247 cornerRadius, backgroundBlurRadius, visible); in build()
253 boolean visible) { in SurfaceParams() argument
262 this.visible = visible; in SurfaceParams()
288 public final boolean visible; field in SyncRtSurfaceTransactionApplier.SurfaceParams
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaHost.kt115 visible = if (showsOnlyActiveMedia) { in <lambda>()
120 val newVisibility = if (visible) View.VISIBLE else View.GONE in <lambda>()
124 it.invoke(visible) in <lambda>()
154 override var visible: Boolean = true in <lambda>() variable in com.android.systemui.media.MediaHost.<lambda>.MediaHostStateHolder
198 mediaHostState.visible = visible in <lambda>()
217 if (visible != other.visible) { in <lambda>()
234 result = 31 * result + if (visible) 1 else 2 in <lambda>()
274 var visible: Boolean variable
/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()
DSyncRtSurfaceTransactionApplierCompat.java195 boolean visible; field in SyncRtSurfaceTransactionApplierCompat.SurfaceParams.Builder
275 public Builder withVisibility(boolean visible) { in withVisibility() argument
276 this.visible = visible; in withVisibility()
286 cornerRadius, backgroundBlurRadius, visible); in build()
308 boolean visible) { in SurfaceParams() argument
317 this.visible = visible; in SurfaceParams()
330 public final boolean visible; field in SyncRtSurfaceTransactionApplierCompat.SurfaceParams
352 if (visible) { in applyTo()
/frameworks/base/libs/input/
DSpriteController.h110 virtual void setVisible(bool visible) = 0;
183 dirty(0), visible(false), in SpriteState()
191 bool visible; member
206 return visible && alpha > 0.0f && icon.isValid(); in wantSurfaceVisible()
225 virtual void setVisible(bool visible);
241 int32_t width, int32_t height, bool drawn, bool visible) { in setSurfaceLocked() argument
246 mLocked.state.surfaceVisible = visible; in setSurfaceLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java392 protected void verifyLastQsMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastQsMobileDataIndicators() argument
409 assertEquals("Visibility in, quick settings", visible, iconState.visible); in verifyLastQsMobileDataIndicators()
418 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon) { in verifyLastMobileDataIndicators() argument
419 verifyLastMobileDataIndicators(visible, icon, typeIcon, false); in verifyLastMobileDataIndicators()
422 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators() argument
424 verifyLastMobileDataIndicators(visible, icon, typeIcon, roaming, true); in verifyLastMobileDataIndicators()
427 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators() argument
447 assertEquals("Visibility in status bar", visible, iconState.visible); in verifyLastMobileDataIndicators()
450 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators() argument
453 visible, icon, typeIcon, qsVisible, qsIcon, qsTypeIcon, dataIn, dataOut, false); in verifyLastMobileDataIndicators()
[all …]
/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/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/base/packages/CarSystemUI/src/com/android/systemui/car/window/
DOverlayPanelViewController.java360 protected final void setPanelVisible(boolean visible) { in setPanelVisible() argument
361 mPanelVisible = visible; in setPanelVisible()
362 onPanelVisible(visible); in setPanelVisible()
372 protected void onPanelVisible(boolean visible) { in onPanelVisible() argument
374 Log.e(TAG, "onPanelVisible: " + visible); in onPanelVisible()
377 if (visible && !getOverlayViewGlobalStateController().isWindowVisible()) { in onPanelVisible()
380 if (!visible && getOverlayViewGlobalStateController().isWindowVisible()) { in onPanelVisible()
383 getLayout().setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in onPanelVisible()
384 getOverlayViewGlobalStateController().setWindowFocusable(visible); in onPanelVisible()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationCustomViewWrapper.java41 public void setVisible(boolean visible) { in setVisible() argument
42 super.setVisible(visible); in setVisible()
43 mView.setAlpha(visible ? 1.0f : 0.0f); in setVisible()

12345678910>>...13