Home
last modified time | relevance | path

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

12345678910>>...21

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DStackScrollerDecorView.java82 public void setVisible(boolean visible, boolean animate) { in setVisible() argument
83 if (mIsVisible != visible) { in setVisible()
84 mIsVisible = visible; in setVisible()
86 if (visible) { in setVisible()
93 setContentVisible(visible, true /* animate */, null /* onAnimationEnded */); in setVisible()
95 setVisibility(visible ? VISIBLE : GONE); in setVisible()
96 setContentVisible(visible, false /* animate */, null /* onAnimationEnded */); in setVisible()
110 public void setContentVisibleAnimated(boolean visible) { in setContentVisibleAnimated() argument
111 setContentVisible(visible, true /* animate */, null /* onAnimationEnded */); in setContentVisibleAnimated()
120 public void setContentVisible(boolean visible, boolean animate, in setContentVisible() argument
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWallpaperWindowToken.java154 void updateWallpaperWindows(boolean visible) { in updateWallpaperWindows() argument
155 if (mVisibleRequested != visible) { in updateWallpaperWindows()
157 token, visible); in updateWallpaperWindows()
158 setVisibility(visible); in updateWallpaperWindows()
164 if (visible && wallpaperTarget != null) { in updateWallpaperWindows()
189 setVisible(visible); in updateWallpaperWindows()
192 private void setVisible(boolean visible) { in setVisible() argument
194 setClientVisible(visible); in setVisible()
195 if (visible && !wasClientVisible) { in setVisible()
207 void setVisibility(boolean visible) { in setVisibility() argument
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserVisibilityChangedEvent.java26 public boolean visible; field in UserVisibilityChangedEvent
28 UserVisibilityChangedEvent(@UserIdInt int userId, boolean visible) { in UserVisibilityChangedEvent() argument
30 this.visible = visible; in UserVisibilityChangedEvent()
38 result = prime * result + (visible ? 1231 : 1237); in hashCode()
49 if (visible != other.visible) return false; in equals()
55 return userId + ":" + (visible ? "visible" : "invisible"); in toString()
/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.java44 public boolean visible = true; field in StatusBarIcon
79 + (visible?" visible":"") in toString()
90 that.visible = this.visible; in clone()
106 this.visible = in.readInt() != 0; in readFromParcel()
117 out.writeInt(this.visible ? 1 : 0); in writeToParcel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/ui/viewmodel/
DUdfpsAccessibilityOverlayViewModelTest.kt90 fun visible() = in visible() method
92 val visible by collectLastValue(underTest.visible) in visible() constant
94 assertThat(visible).isTrue() in visible()
100 val visible by collectLastValue(underTest.visible) in touchExplorationNotEnabled_overlayNotVisible() constant
103 assertThat(visible).isFalse() in touchExplorationNotEnabled_overlayNotVisible()
109 val visible by collectLastValue(underTest.visible) in deviceEntryFgIconViewModelAod_overlayNotVisible() constant
119 assertThat(visible).isFalse() in deviceEntryFgIconViewModelAod_overlayNotVisible()
123 val visible by collectLastValue(underTest.visible) in fpNotRunning_overlayNotVisible() constant
126 assertThat(visible).isFalse() in fpNotRunning_overlayNotVisible()
132 val visible by collectLastValue(underTest.visible) in deviceEntryViewAlpha0_overlayNotVisible() constant
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/carrier/
DCellSignalState.kt25 @JvmField val visible: Boolean = false, constant in com.android.systemui.shade.carrier.CellSignalState
39 fun changeVisibility(visible: Boolean): CellSignalState { in changeVisibility()
40 if (this.visible == visible) return this else return copy(visible = visible) in changeVisibility()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/footer/ui/viewmodel/
DFooterViewModelTest.kt93 val visible by collectLastValue(underTest.message.isVisible) in messageVisible_whenFilteredNotifications() constant
97 assertThat(visible).isTrue() in messageVisible_whenFilteredNotifications()
103 val visible by collectLastValue(underTest.message.isVisible) in messageVisible_whenNoFilteredNotifications() constant
107 assertThat(visible).isFalse() in messageVisible_whenNoFilteredNotifications()
113 val visible by collectLastValue(underTest.clearAllButton.isVisible) in clearAllButtonVisible_whenHasClearableNotifs() constant
125 assertThat(visible?.value).isTrue() in clearAllButtonVisible_whenHasClearableNotifs()
131 val visible by collectLastValue(underTest.clearAllButton.isVisible) in clearAllButtonVisible_whenHasNoClearableNotifs() constant
143 assertThat(visible?.value).isFalse() in clearAllButtonVisible_whenHasNoClearableNotifs()
149 val visible by collectLastValue(underTest.clearAllButton.isVisible) in clearAllButtonVisible_whenMessageVisible() constant
162 assertThat(visible?.value).isFalse() in clearAllButtonVisible_whenMessageVisible()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/binder/
DWifiViewBinder.kt127 viewModel.isActivityInViewVisible.distinctUntilChanged().collect { visible in <lambda>() method
130 (if (visible) ALPHA_ACTIVE else ALPHA_INACTIVE) in <lambda>()
135 viewModel.isActivityOutViewVisible.distinctUntilChanged().collect { visible in <lambda>() method
138 (if (visible) ALPHA_ACTIVE else ALPHA_INACTIVE) in <lambda>()
143 viewModel.isActivityInViewVisible.distinctUntilChanged().collect { visible in <lambda>() method
145 activityInView.isVisible = visible in <lambda>()
150 viewModel.isActivityOutViewVisible.distinctUntilChanged().collect { visible in <lambda>() method
152 activityOutView.isVisible = visible in <lambda>()
158 viewModel.isActivityContainerVisible.distinctUntilChanged().collect { visible -> in <lambda>() method
159 activityContainerView.isVisible = visible in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/data/model/
DDisplayContentScenarios.kt49 launcher(visible = true), in launcherOnly()
61 fullScreen(spec, visible = true), in launcherOnly()
62 launcher(visible = false), in launcherOnly()
108 launcher(visible = false), in launcherOnly()
124 fullScreen?.also { add(fullScreen(it, visible = true)) } in pictureInPictureApp()
125 add(launcher(visible = (fullScreen == null))) in pictureInPictureApp()
145 rootTasks = freeFormTasks + launcher(visible = true) + emptyRootSplit in freeFormApps()
195 visible = true,
210 visible = false,
223 fun launcher(visible: Boolean) = in launcher()
[all …]
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/visitors/
DBodyReplacingMethodVisitor.kt64 visible: Boolean in visitAnnotation()
66 return super.visitAnnotation(descriptor, visible) in visitAnnotation()
73 visible: Boolean in visitTypeAnnotation()
75 return super.visitTypeAnnotation(typeRef, typePath, descriptor, visible) in visitTypeAnnotation()
80 visible: Boolean in visitAnnotableParameterCount()
82 super.visitAnnotableParameterCount(parameterCount, visible) in visitAnnotableParameterCount()
88 visible: Boolean in visitParameterAnnotation()
90 return super.visitParameterAnnotation(parameter, descriptor, visible) in visitParameterAnnotation()
286 visible: Boolean in visitInsnAnnotation()
289 return super.visitInsnAnnotation(typeRef, typePath, descriptor, visible) in visitInsnAnnotation()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeTaskRepositoryTest.kt174 repo.updateVisibleFreeformTasks(DEFAULT_DISPLAY, taskId = 1, visible = true) in addListener_notifiesVisibleFreeformTask()
186 repo.updateVisibleFreeformTasks(SECOND_DISPLAY, taskId = 1, visible = true) in addListener_tasksOnDifferentDisplay_doesNotNotify()
202 repo.updateVisibleFreeformTasks(DEFAULT_DISPLAY, taskId = 1, visible = true) in updateVisibleFreeformTasks_addVisibleTasksNotifiesListener()
203 repo.updateVisibleFreeformTasks(DEFAULT_DISPLAY, taskId = 2, visible = true) in updateVisibleFreeformTasks_addVisibleTasksNotifiesListener()
216 repo.updateVisibleFreeformTasks(DEFAULT_DISPLAY, taskId = 1, visible = true) in updateVisibleFreeformTasks_addVisibleTaskNotifiesListenerForThatDisplay()
224 repo.updateVisibleFreeformTasks(displayId = 1, taskId = 2, visible = true) in updateVisibleFreeformTasks_addVisibleTaskNotifiesListenerForThatDisplay()
240 repo.updateVisibleFreeformTasks(DEFAULT_DISPLAY, taskId = 1, visible = true) in updateVisibleFreeformTasks_taskOnDefaultBecomesVisibleOnSecondDisplay_listenersNotified()
245 repo.updateVisibleFreeformTasks(displayId = 1, taskId = 1, visible = true) in updateVisibleFreeformTasks_taskOnDefaultBecomesVisibleOnSecondDisplay_listenersNotified()
264 repo.updateVisibleFreeformTasks(DEFAULT_DISPLAY, taskId = 1, visible = true) in updateVisibleFreeformTasks_removeVisibleTasksNotifiesListener()
265 repo.updateVisibleFreeformTasks(DEFAULT_DISPLAY, taskId = 2, visible = true) in updateVisibleFreeformTasks_removeVisibleTasksNotifiesListener()
[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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsKeyguardView.kt34 private var visible = false variable
47 return visible in isVisible()
51 visible = isVisible in setVisible()
52 isPauseAuth = !visible in setVisible()
/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/media/controls/ui/controller/
DKeyguardMediaController.kt111 var visible = false variable
141 onMediaHostVisibilityChanged(mediaHost.visible) in attachSinglePaneContainer()
147 private fun onMediaHostVisibilityChanged(visible: Boolean) { in onMediaHostVisibilityChanged()
150 if (visible) { in onMediaHostVisibilityChanged()
193 val isMediaHostVisible = mediaHost.visible in refreshMediaPosition()
197 visible = in refreshMediaPosition()
204 visible = visible, in refreshMediaPosition()
215 if (visible) { in refreshMediaPosition()
282 println("visible", visible) in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DSideFpsProgressBarViewBinder.kt74 .collectLatest { (visible, location, rotation, fpDetectRunning, length) in <lambda>() method
77 visible, in <lambda>()
99 visible: Boolean, in <lambda>()
106 logger.sfpsProgressBarStateChanged(visible, location, fpDetectRunning, length, rotation) in <lambda>()
107 view.updateView(visible, location, length, thickness, rotation) in <lambda>()
121 visible = true, in <lambda>()
139 visible = false, in <lambda>()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DDelegateMethodAdapter.java321 public AnnotationVisitor visitAnnotation(String desc, boolean visible) { in visitAnnotation() argument
323 return mOrgWriter.visitAnnotation(desc, visible); in visitAnnotation()
341 boolean visible) { in visitParameterAnnotation() argument
343 return mOrgWriter.visitParameterAnnotation(parameter, desc, visible); in visitParameterAnnotation()
503 boolean visible) { in visitTypeAnnotation() argument
505 return mOrgWriter.visitTypeAnnotation(typeRef, typePath, descriptor, visible); in visitTypeAnnotation()
512 public void visitAnnotableParameterCount(int parameterCount, boolean visible) { in visitAnnotableParameterCount() argument
514 mOrgWriter.visitAnnotableParameterCount(parameterCount, visible); in visitAnnotableParameterCount()
527 boolean visible) { in visitInsnAnnotation() argument
529 return mOrgWriter.visitInsnAnnotation(typeRef, typePath, descriptor, visible); in visitInsnAnnotation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconHolder.kt44 TYPE_ICON -> icon!!.visible
54 set(visible) {
55 if (isVisible == visible) {
59 TYPE_ICON -> icon!!.visible = visible
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java100 boolean visible = false; in updateEmergencyCallButton()
104 visible = true; // always show "return to call" if phone is off-hook in updateEmergencyCallButton()
108 visible = mEnableEmergencyCallWhileSimLocked; in updateEmergencyCallButton()
111 visible = isSecure; in updateEmergencyCallButton()
115 if (visible) { in updateEmergencyCallButton()

12345678910>>...21