Home
last modified time | relevance | path

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

12345

/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/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/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/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/apps/Email/src/com/android/email/activity/
DUiUtilities.java48 public static void setVisibilitySafe(View v, int visibility) { in setVisibilitySafe() argument
50 v.setVisibility(visibility); in setVisibilitySafe()
57 public static void setVisibilitySafe(View parent, int viewId, int visibility) { in setVisibilitySafe() argument
58 setVisibilitySafe(parent.findViewById(viewId), visibility); in setVisibilitySafe() local
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMaterialSearchViewController.java217 private void fadeInOutView(final View v, final int visibility) { in fadeInOutView() argument
218 if (visibility == View.VISIBLE) { in fadeInOutView()
231 v.setVisibility(visibility); in fadeInOutView()
241 private void setViewVisibilityAndAlpha(View v, int visibility) { in setViewVisibilityAndAlpha() argument
242 v.setVisibility(visibility); in setViewVisibilityAndAlpha()
243 if (visibility == View.VISIBLE) { in setViewVisibilityAndAlpha()
DButteryProgressBar.java176 protected void onVisibilityChanged(View changedView, int visibility) { in onVisibilityChanged() argument
177 super.onVisibilityChanged(changedView, visibility); in onVisibilityChanged()
179 if (visibility == VISIBLE) { in onVisibilityChanged()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupFragment.java129 public void setPreviousButtonVisibility(int visibility) { in setPreviousButtonVisibility() argument
130 mPreviousButton.setVisibility(visibility); in setPreviousButtonVisibility()
137 public void setNextButtonVisibility(int visibility) { in setNextButtonVisibility() argument
138 mNextButton.setVisibility(visibility); in setNextButtonVisibility()
/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/UnifiedEmail/src/com/android/mail/
DMinTimeProgressView.java95 public void setVisibility(int visibility) { in setVisibility() argument
99 switch (visibility) { in setVisibility()
107 super.setVisibility(visibility); in setVisibility()
/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/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/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/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java195 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
204 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
213 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
231 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
/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()
/packages/apps/Messaging/src/com/android/messaging/mmslib/
DDownloads.java550 public static boolean isNotificationToBeDisplayed(int visibility) { in isNotificationToBeDisplayed() argument
551 return visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED || in isNotificationToBeDisplayed()
552 visibility == DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION; in isNotificationToBeDisplayed()

12345