Home
last modified time | relevance | path

Searched refs:visibility (Results 1 – 25 of 129) sorted by relevance

123456

/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DCollapsedAlarmViewHolder.kt88 alarmLabel.visibility = View.VISIBLE in <lambda>()
92 alarmLabel.visibility = View.GONE in <lambda>()
105 daysOfWeek.visibility = View.VISIBLE in <lambda>()
107 daysOfWeek.visibility = View.GONE in <lambda>()
113 upcomingInstanceLabel.visibility = View.GONE in <lambda>()
115 upcomingInstanceLabel.visibility = View.VISIBLE in <lambda>()
157 clock.visibility = View.VISIBLE in <lambda>()
158 onOff.visibility = View.VISIBLE in <lambda>()
159 arrow.visibility = View.VISIBLE in <lambda>()
169 clock.visibility = View.INVISIBLE in <lambda>()
[all …]
DExpandedAlarmViewHolder.kt185 repeatDays.visibility = View.VISIBLE in <lambda>()
188 repeatDays.visibility = View.GONE in <lambda>()
203 vibrate.visibility = View.INVISIBLE in <lambda>()
205 vibrate.visibility = View.VISIBLE in <lambda>()
236 repeatDays.visibility = View.VISIBLE in <lambda>()
260 repeatDays.visibility = if (isExpansion) View.VISIBLE else View.GONE in <lambda>()
303 clock.visibility = View.VISIBLE in <lambda>()
304 onOff.visibility = View.VISIBLE in <lambda>()
305 arrow.visibility = View.VISIBLE in <lambda>()
315 arrow.visibility = View.INVISIBLE in <lambda>()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt217 fab.visibility = View.INVISIBLE in updateFab()
221 fab.visibility = View.VISIBLE in updateFab()
256 fab.visibility = View.VISIBLE in updateFab()
259 fab.visibility = View.INVISIBLE in updateFab()
280 left.visibility = View.VISIBLE in onUpdateFabButtons()
285 right.visibility = View.VISIBLE in onUpdateFabButtons()
291 left.visibility = if (hasTimers()) View.VISIBLE else View.INVISIBLE in onUpdateFabButtons()
293 right.visibility = View.INVISIBLE in onUpdateFabButtons()
397 pageIndicator.visibility = View.GONE in updatePageIndicators()
399 pageIndicator.visibility = View.VISIBLE in updatePageIndicators()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java434 final int visibility = cursor.getInt(UpdateQuery.VISIBILITY); in buildNotificationTag() local
437 if (isQueuedAndVisible(status, visibility)) { in buildNotificationTag()
439 } else if (isActiveAndVisible(status, visibility)) { in buildNotificationTag()
441 } else if (isCompleteAndVisible(status, visibility)) { in buildNotificationTag()
457 private static boolean isQueuedAndVisible(int status, int visibility) { in isQueuedAndVisible() argument
459 (visibility == VISIBILITY_VISIBLE in isQueuedAndVisible()
460 || visibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED); in isQueuedAndVisible()
463 private static boolean isActiveAndVisible(int status, int visibility) { in isActiveAndVisible() argument
465 (visibility == VISIBILITY_VISIBLE in isActiveAndVisible()
466 || visibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED); in isActiveAndVisible()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DPreviewPagerAdapter.java150 private void setVisibility(final View view, final int visibility, boolean animate) { in setVisibility() argument
151 final float alpha = (visibility == View.VISIBLE ? 1.0f : 0.0f); in setVisibility()
154 view.setVisibility(visibility); in setVisibility()
156 final Interpolator interpolator = (visibility == View.VISIBLE ? FADE_IN_INTERPOLATOR in setVisibility()
158 if (visibility == View.VISIBLE) { in setVisibility()
168 view.setVisibility(visibility); in setVisibility()
181 view.setVisibility(visibility); in setVisibility()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidNativeInterface.java72 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
80 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
91 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
102 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
113 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
122 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
/packages/apps/Settings/src/com/android/settings/display/
DPreviewPagerAdapter.java151 private void setVisibility(final View view, final int visibility, boolean animate) { in setVisibility() argument
152 final float alpha = (visibility == View.VISIBLE ? 1.0f : 0.0f); in setVisibility()
155 view.setVisibility(visibility); in setVisibility()
157 final Interpolator interpolator = (visibility == View.VISIBLE ? FADE_IN_INTERPOLATOR in setVisibility()
159 if (visibility == View.VISIBLE) { in setVisibility()
169 view.setVisibility(visibility); in setVisibility()
182 view.setVisibility(visibility); in setVisibility()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DUndoBarView.java170 private static float getTargetAlpha(int visibility) { in getTargetAlpha() argument
171 return (visibility == VISIBLE) ? 1f : 0f; in getTargetAlpha()
175 public void setVisibility(int visibility) { in setVisibility() argument
176 mAlpha = getTargetAlpha(visibility); in setVisibility()
178 super.setVisibility(visibility); in setVisibility()
182 public void animateVisibility(int visibility) { in animateVisibility() argument
183 float target = getTargetAlpha(visibility); in animateVisibility()
DGLView.java98 public void setVisibility(int visibility) { in setVisibility() argument
99 if (visibility == getVisibility()) return; in setVisibility()
100 if (visibility == VISIBLE) { in setVisibility()
105 onVisibilityChanged(visibility); in setVisibility()
422 protected void onVisibilityChanged(int visibility) { in onVisibilityChanged() argument
426 child.onVisibilityChanged(visibility); in onVisibilityChanged()
/packages/modules/Cronet/
DAndroid.bp18 visibility: ["//visibility:private"],
25 visibility: ["//visibility:private"],
32 visibility: ["//visibility:private"],
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsUnavailableFragment.java143 private void updateButtonVisibility(int visibility) { in updateButtonVisibility() argument
145 mAddAccountButton.setVisibility(visibility); in updateButtonVisibility()
146 mImportContactsButton.setVisibility(visibility); in updateButtonVisibility()
147 mButtonsContainer.setVisibility(visibility); in updateButtonVisibility()
149 mAddAccountButton.setVisibility(visibility); in updateButtonVisibility()
150 mImportContactsButton.setVisibility(visibility); in updateButtonVisibility()
/packages/modules/NetworkStack/tests/integration/
DAndroid.bp28 visibility: ["//visibility:private"],
47 visibility: ["//visibility:private"],
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java251 public boolean shouldHandleVisibilityChange(int visibility) { in shouldHandleVisibilityChange() argument
372 public boolean shouldHandleVisibilityChange(int visibility) { in shouldHandleVisibilityChange() argument
376 if (visibility == VISIBLE && !mShouldBeVisible) { in shouldHandleVisibilityChange()
1455 int visibility = show ? VISIBLE : INVISIBLE; in showSettingsClingIfEnabled() local
1456 mSettingsCling.setVisibility(visibility); in showSettingsClingIfEnabled()
1526 public void onVisibilityChanged(View v, int visibility) { in onVisibilityChanged() argument
1527 super.onVisibilityChanged(v, visibility); in onVisibilityChanged()
1528 if (visibility == VISIBLE) { in onVisibilityChanged()
1559 public void setVisibility(int visibility) { in setVisibility() argument
1561 if (currentState != null && !currentState.shouldHandleVisibilityChange(visibility)) { in setVisibility()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootItem.java90 protected final void bindAction(View view, int visibility, int iconId, String description) { in bindAction() argument
95 verticalDivider.setVisibility(visibility); in bindAction()
96 actionIconArea.setVisibility(visibility); in bindAction()
97 actionIconArea.setOnClickListener(visibility == View.VISIBLE ? this::onActionClick : null); in bindAction()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherRootView.java164 protected void onWindowVisibilityChanged(int visibility) { in onWindowVisibilityChanged() argument
165 super.onWindowVisibilityChanged(visibility); in onWindowVisibilityChanged()
167 mWindowStateListener.onWindowVisibilityChanged(visibility); in onWindowVisibilityChanged()
193 void onWindowVisibilityChanged(int visibility); in onWindowVisibilityChanged() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java181 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
190 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
199 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
221 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DSoftwareCameraPreview.java63 protected void onVisibilityChanged(final View changedView, final int visibility) { in onVisibilityChanged() argument
64 super.onVisibilityChanged(changedView, visibility); in onVisibilityChanged()
65 mPreview.onVisibilityChanged(visibility); in onVisibilityChanged()
DHardwareCameraPreview.java69 protected void onVisibilityChanged(final View changedView, final int visibility) { in onVisibilityChanged() argument
70 super.onVisibilityChanged(changedView, visibility); in onVisibilityChanged()
71 mPreview.onVisibilityChanged(visibility); in onVisibilityChanged()
/packages/apps/Settings/src/com/android/settings/widget/
DRadioButtonPreferenceWithExtraWidget.java56 public void setExtraWidgetVisibility(int visibility) { in setExtraWidgetVisibility() argument
57 mExtraWidgetVisibility = visibility; in setExtraWidgetVisibility()
62 if (visibility == EXTRA_WIDGET_VISIBILITY_GONE) { in setExtraWidgetVisibility()
DRadioButtonPreference.java99 public void setAppendixVisibility(int visibility) { in setAppendixVisibility() argument
101 appendix.setVisibility(visibility); in setAppendixVisibility()
103 appendixVisibility = visibility; in setAppendixVisibility()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DSoftwareCameraPreview.java71 protected void onVisibilityChanged(final View changedView, final int visibility) { in onVisibilityChanged() argument
72 super.onVisibilityChanged(changedView, visibility); in onVisibilityChanged()
73 preview.onVisibilityChanged(visibility); in onVisibilityChanged()
DHardwareCameraPreview.java76 protected void onVisibilityChanged(final View changedView, final int visibility) { in onVisibilityChanged() argument
77 super.onVisibilityChanged(changedView, visibility); in onVisibilityChanged()
78 preview.onVisibilityChanged(visibility); in onVisibilityChanged()
/packages/modules/NetworkStack/common/networkstackclient/
DAndroid.bp51 visibility: [
116 // TODO: have tethering depend on networkstack-client and set visibility to private
117 visibility: [
139 visibility: [
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DRadioButtonPreference.java99 public void setAppendixVisibility(int visibility) { in setAppendixVisibility() argument
101 appendix.setVisibility(visibility); in setAppendixVisibility()
103 appendixVisibility = visibility; in setAppendixVisibility()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java96 int visibility = decorView.getSystemUiVisibility(); in setStatusBarColor() local
98 ? (visibility | SYSTEM_UI_FLAG_LIGHT_STATUS_BAR) in setStatusBarColor()
99 : (visibility & ~SYSTEM_UI_FLAG_LIGHT_STATUS_BAR)); in setStatusBarColor()

123456