Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/core/java/com/android/internal/statusbar/
DNotificationVisibility.java35 public boolean visible = true; field in NotificationVisibility
46 this.visible = visibile; in NotificationVisibility()
54 + (visible?" visible":"") in toString()
60 return obtain(this.key, this.rank, this.visible); in clone()
88 out.writeInt(this.visible ? 1 : 0); in writeToParcel()
94 this.visible = in.readInt() != 0; in readFromParcel()
101 public static NotificationVisibility obtain(String key, int rank, boolean visible) { in obtain() argument
105 vo.visible = visible; in obtain()
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/services/core/java/com/android/server/wm/
DWallpaperWindowToken.java90 void updateWallpaperVisibility(boolean visible) { in updateWallpaperVisibility() argument
95 if (hidden == visible) { in updateWallpaperVisibility()
96 hidden = !visible; in updateWallpaperVisibility()
104 if (visible) { in updateWallpaperVisibility()
108 wallpaper.dispatchWallpaperVisibility(visible); in updateWallpaperVisibility()
122 void updateWallpaperWindows(boolean visible, int animLayerAdj) { in updateWallpaperWindows() argument
124 if (hidden == visible) { in updateWallpaperWindows()
126 "Wallpaper token " + token + " hidden=" + !visible); in updateWallpaperWindows()
127 hidden = !visible; in updateWallpaperWindows()
139 if (visible) { in updateWallpaperWindows()
[all …]
/frameworks/base/core/java/android/text/method/
DPasswordTransformationMethod.java160 Visible[] visible = sp.getSpans(0, sp.length(), Visible.class); in charAt() local
162 for (int a = 0; a < visible.length; a++) { in charAt()
163 if (sp.getSpanStart(visible[a].mTransformer) >= 0) { in charAt()
164 st = sp.getSpanStart(visible[a]); in charAt()
165 en = sp.getSpanEnd(visible[a]); in charAt()
201 Visible[] visible = sp.getSpans(0, sp.length(), Visible.class); in getChars() local
202 nvisible = visible.length; in getChars()
207 if (sp.getSpanStart(visible[i].mTransformer) >= 0) { in getChars()
208 starts[i] = sp.getSpanStart(visible[i]); in getChars()
209 ends[i] = sp.getSpanEnd(visible[i]); in getChars()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/
DUpdateFreeformTaskViewVisibilityEvent.java26 public final boolean visible; field in UpdateFreeformTaskViewVisibilityEvent
28 public UpdateFreeformTaskViewVisibilityEvent(boolean visible) { in UpdateFreeformTaskViewVisibilityEvent() argument
29 this.visible = visible; in UpdateFreeformTaskViewVisibilityEvent()
/frameworks/base/packages/SystemUI/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.java69 public final boolean visible; field in NetworkController.IconState
73 public IconState(boolean visible, int icon, String contentDescription) { in IconState() argument
74 this.visible = visible; in IconState()
79 public IconState(boolean visible, int icon, int contentDescription, in IconState() argument
81 this(visible, icon, context.getString(contentDescription)); in IconState()
DIconLogger.java22 default void onIconVisibility(String tag, boolean visible) { in onIconVisibility() argument
23 if (visible) { in onIconVisibility()
DClock.java184 public void setClockVisibleByUser(boolean visible) { in setClockVisibleByUser() argument
185 mClockVisibleByUser = visible; in setClockVisibleByUser()
189 public void setClockVisibilityByPolicy(boolean visible) { in setClockVisibilityByPolicy() argument
190 mClockVisibleByPolicy = visible; in setClockVisibilityByPolicy()
195 boolean visible = mClockVisibleByPolicy && mClockVisibleByUser; in updateClockVisibility()
196 Dependency.get(IconLogger.class).onIconVisibility("clock", visible); in updateClockVisibility()
197 int visibility = visible ? View.VISIBLE : View.GONE; in updateClockVisibility()
/frameworks/base/packages/SystemUI/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.java297 protected void verifyLastQsMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastQsMobileDataIndicators() argument
313 assertEquals("Visibility in, quick settings", visible, iconState.visible); in verifyLastQsMobileDataIndicators()
322 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon) { in verifyLastMobileDataIndicators() argument
323 verifyLastMobileDataIndicators(visible, icon, typeIcon, false); in verifyLastMobileDataIndicators()
326 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators() argument
328 verifyLastMobileDataIndicators(visible, icon, typeIcon, roaming, true); in verifyLastMobileDataIndicators()
331 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators() argument
349 assertEquals("Visibility in status bar", visible, iconState.visible); in verifyLastMobileDataIndicators()
352 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators() argument
376 assertEquals("Visibility in status bar", visible, iconState.visible); in verifyLastMobileDataIndicators()
[all …]
DNetworkControllerEthernetTest.java41 protected void verifyLastEthernetIcon(boolean visible, int icon) { in verifyLastEthernetIcon() argument
47 assertEquals("Ethernet visible, in status bar", visible, iconState.visible); in verifyLastEthernetIcon()
/frameworks/base/libs/input/
DSpriteController.h114 virtual void setVisible(bool visible) = 0;
182 dirty(0), visible(false), in SpriteState()
190 bool visible; member
204 return visible && alpha > 0.0f && icon.isValid(); in wantSurfaceVisible()
223 virtual void setVisible(bool visible);
238 int32_t width, int32_t height, bool drawn, bool visible) { in setSurfaceLocked() argument
243 mLocked.state.surfaceVisible = visible; in setSurfaceLocked()
/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/SystemUI/src/com/android/systemui/stackdivider/
DDivider.java112 private void updateVisibility(final boolean visible) { in updateVisibility() argument
116 if (mVisible != visible) { in updateVisibility()
117 mVisible = visible; in updateVisibility()
118 mView.setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in updateVisibility()
181 public void onDividerVisibilityChanged(boolean visible) throws RemoteException { in onDividerVisibilityChanged() argument
182 updateVisibility(visible); in onDividerVisibilityChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/colorextraction/
DSysuiColorExtractor.java68 boolean visible = windowManagerService.registerWallpaperVisibilityListener( in SysuiColorExtractor()
76 setWallpaperVisible(visible); in SysuiColorExtractor()
171 void setWallpaperVisible(boolean visible) { in setWallpaperVisible() argument
172 if (mWallpaperVisible != visible) { in setWallpaperVisible()
173 mWallpaperVisible = visible; in setWallpaperVisible()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_service.cpp68 << " visible=" << surface->visible() in DumpState()
93 << " visible=" << surface->visible() in DumpState()
257 return {{surface->surface_id(), surface->visible(), surface->z_order()}}; in OnCreateSurface()
342 if (surface->visible()) { in GetVisibleDisplaySurfaces()
402 bool visible = false; in IsVrAppRunning() local
405 [&visible](const std::shared_ptr<DisplaySurface>& surface) { in IsVrAppRunning()
406 if (surface->visible()) in IsVrAppRunning()
407 visible = true; in IsVrAppRunning()
410 return {visible}; in IsVrAppRunning()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/lowram/
DTaskStackLowRamLayoutAlgorithm.java128 boolean visible = true; in getTransform()
134 visible = y + mPadding + getTaskRect().height() > 0; in getTransform()
139 fillStackTransform(transformOut, y, stackLayout.mMaxTranslationZ, visible); in getTransform()
250 boolean visible) { in fillStackTransform() argument
259 transformOut.visible = visible; in fillStackTransform()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java193 boolean visible = false; in updateEmergencyCallButton()
197 visible = true; // always show "return to call" if phone is off-hook in updateEmergencyCallButton()
203 visible = mEnableEmergencyCallWhileSimLocked; in updateEmergencyCallButton()
206 visible = mLockPatternUtils.isSecure(KeyguardUpdateMonitor.getCurrentUser()); in updateEmergencyCallButton()
210 if (visible) { in updateEmergencyCallButton()
DEmergencyCarrierArea.java61 public void setCarrierTextVisible(boolean visible) { in setCarrierTextVisible() argument
62 mCarrierText.setVisibility(visible ? View.VISIBLE : View.GONE); in setCarrierTextVisible()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItem.java116 public void setVisible(boolean visible) { in setVisible() argument
117 if (mVisible == visible) { in setVisible()
120 mVisible = visible; in setVisible()
121 if (!visible) { in setVisible()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationCustomViewWrapper.java95 public void setVisible(boolean visible) { in setVisible() argument
96 super.setVisible(visible); in setVisible()
97 mView.setAlpha(visible ? 1.0f : 0.0f); in setVisible()
/frameworks/base/core/java/com/android/internal/logging/
DMetricsLogger.java57 public void visible(int category) throws IllegalArgumentException { in visible() method in MetricsLogger
80 visible(category); in visibility()
147 public static void visible(Context context, int category) throws IllegalArgumentException { in visible() method in MetricsLogger
148 getLogger().visible(category); in visible()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DActionMenuItemView.java187 boolean visible = !TextUtils.isEmpty(mTitle); in updateTextButtonVisibility()
188 visible &= mIcon == null || in updateTextButtonVisibility()
191 setText(visible ? mTitle : null); in updateTextButtonVisibility()
198 setContentDescription(visible ? null : mItemData.getTitle()); in updateTextButtonVisibility()
206 TooltipCompat.setTooltipText(this, visible ? null : mItemData.getTitle()); in updateTextButtonVisibility()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiScrollable.java297 Rect visible = childObject.getVisibleBounds(); in ensureFullyVisible() local
298 if (visible.width() * visible.height() == actual.width() * actual.height()) { in ensureFullyVisible()
306 shouldSwipeForward = actual.top == visible.top; in ensureFullyVisible()
310 shouldSwipeForward = actual.left == visible.left; in ensureFullyVisible()

1234567891011