/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadNotifier.java | 434 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 …]
|
D | DownloadReceiver.java | 190 final int visibility; in hideNotification() local 197 visibility = getInt(cursor, Downloads.Impl.COLUMN_VISIBILITY); in hideNotification() 207 (visibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED in hideNotification() 208 || visibility == VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION)) { in hideNotification()
|
/packages/apps/Settings/src/com/android/settings/ |
D | PreviewPagerAdapter.java | 156 private void setVisibility(final View view, final int visibility, boolean animate) { in setVisibility() argument 157 final float alpha = (visibility == View.VISIBLE ? 1.0f : 0.0f); in setVisibility() 160 view.setVisibility(visibility); in setVisibility() 162 final Interpolator interpolator = (visibility == View.VISIBLE ? FADE_IN_INTERPOLATOR in setVisibility() 164 if (visibility == View.VISIBLE) { in setVisibility() 174 view.setVisibility(visibility); in setVisibility() 187 view.setVisibility(visibility); in setVisibility()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | UndoBarView.java | 170 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()
|
D | GLView.java | 98 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/Contacts/src/com/android/contacts/list/ |
D | ContactsUnavailableFragment.java | 143 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/UnifiedEmail/src/com/android/mail/ui/ |
D | MaterialSearchViewController.java | 217 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()
|
D | TwoPaneLayout.java | 418 private void applyPaneVisibility(int visibility, boolean applyToFolders, boolean applyToList, in applyPaneVisibility() argument 421 mFoldersView.setVisibility(visibility); in applyPaneVisibility() 424 mListView.setVisibility(visibility); in applyPaneVisibility() 428 mConversationView.setVisibility(visibility); in applyPaneVisibility() 431 mMiscellaneousView.setVisibility(visibility); in applyPaneVisibility()
|
D | ButteryProgressBar.java | 176 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/Camera2/src/com/android/camera/ui/ |
D | ModeListView.java | 251 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/Email/src/com/android/email/activity/ |
D | UiUtilities.java | 48 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/Email/src/com/android/email/activity/setup/ |
D | AccountSetupFragment.java | 129 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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | BaseInputView.java | 53 @Override protected void onWindowVisibilityChanged(int visibility) { in onWindowVisibilityChanged() argument 54 super.onWindowVisibilityChanged(visibility); in onWindowVisibilityChanged() 55 if ((visibility != VISIBLE) && (mOptionsDialog != null)) { in onWindowVisibilityChanged()
|
D | CandidateTextView.java | 175 @Override protected void onWindowVisibilityChanged(int visibility) { in onWindowVisibilityChanged() argument 176 super.onWindowVisibilityChanged(visibility); in onWindowVisibilityChanged() 177 if ((visibility != VISIBLE) && (mCandidateDialog != null)) { in onWindowVisibilityChanged()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | MinTimeProgressView.java | 95 public void setVisibility(int visibility) { in setVisibility() argument 99 switch (visibility) { in setVisibility() 107 super.setVisibility(visibility); in setVisibility()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | SoftwareCameraPreview.java | 63 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()
|
D | HardwareCameraPreview.java | 69 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/Dialer/java/com/android/dialer/callcomposer/camera/ |
D | SoftwareCameraPreview.java | 71 protected void onVisibilityChanged(final View changedView, final int visibility) { in onVisibilityChanged() argument 72 super.onVisibilityChanged(changedView, visibility); in onVisibilityChanged() 73 mPreview.onVisibilityChanged(visibility); in onVisibilityChanged()
|
D | HardwareCameraPreview.java | 76 protected void onVisibilityChanged(final View changedView, final int visibility) { in onVisibilityChanged() argument 77 super.onVisibilityChanged(changedView, visibility); in onVisibilityChanged() 78 mPreview.onVisibilityChanged(visibility); in onVisibilityChanged()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | SurfaceViewVideoCallFragment.java | 1009 private static void animateSetVisibility(final View view, final int visibility) { in animateSetVisibility() argument 1010 if (view.getVisibility() == visibility) { in animateSetVisibility() 1016 if (visibility == View.GONE) { in animateSetVisibility() 1019 } else if (visibility == View.VISIBLE) { in animateSetVisibility() 1035 view.setVisibility(visibility); in animateSetVisibility() 1042 public void onSystemUiVisibilityChange(int visibility) { in onSystemUiVisibilityChange() argument 1043 boolean navBarVisible = (visibility & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0; in onSystemUiVisibilityChange()
|
D | VideoCallFragment.java | 1178 private static void animateSetVisibility(final View view, final int visibility) { in animateSetVisibility() argument 1179 if (view.getVisibility() == visibility) { in animateSetVisibility() 1185 if (visibility == View.GONE) { in animateSetVisibility() 1188 } else if (visibility == View.VISIBLE) { in animateSetVisibility() 1204 view.setVisibility(visibility); in animateSetVisibility() 1226 public void onSystemUiVisibilityChange(int visibility) { in onSystemUiVisibilityChange() argument 1227 boolean navBarVisible = (visibility & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0; in onSystemUiVisibilityChange()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | SetupLayoutActivity.java | 96 int visibility = decorView.getSystemUiVisibility(); in setMainColor() local 98 ? (visibility | SYSTEM_UI_FLAG_LIGHT_STATUS_BAR) in setMainColor() 99 : (visibility & ~SYSTEM_UI_FLAG_LIGHT_STATUS_BAR)); in setMainColor()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/ |
D | Downloads.java | 550 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()
|
/packages/apps/Music/src/com/android/music/ |
D | TouchInterceptor.java | 263 int visibility = View.VISIBLE; in doExpansion() local 268 visibility = View.INVISIBLE; in doExpansion() 276 visibility = View.INVISIBLE; in doExpansion() 292 vv.setVisibility(visibility); in doExpansion()
|
/packages/apps/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageView.java | 80 public void setVisibility(int visibility) { in setVisibility() argument 81 super.setVisibility(visibility); in setVisibility() 84 mGLSurfaceView.setVisibility(visibility); in setVisibility()
|