/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadNotifier.java | 412 final int visibility = cursor.getInt(UpdateQuery.VISIBILITY); in buildNotificationTag() local 415 if (isQueuedAndVisible(status, visibility)) { in buildNotificationTag() 417 } else if (isActiveAndVisible(status, visibility)) { in buildNotificationTag() 419 } else if (isCompleteAndVisible(status, visibility)) { in buildNotificationTag() 435 private static boolean isQueuedAndVisible(int status, int visibility) { in isQueuedAndVisible() argument 437 (visibility == VISIBILITY_VISIBLE in isQueuedAndVisible() 438 || visibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED); in isQueuedAndVisible() 441 private static boolean isActiveAndVisible(int status, int visibility) { in isActiveAndVisible() argument 443 (visibility == VISIBILITY_VISIBLE in isActiveAndVisible() 444 || visibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED); in isActiveAndVisible() [all …]
|
D | DownloadReceiver.java | 179 final int visibility; in hideNotification() local 186 visibility = getInt(cursor, Downloads.Impl.COLUMN_VISIBILITY); in hideNotification() 196 (visibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED in hideNotification() 197 || visibility == VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION)) { in hideNotification()
|
/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/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/Contacts/src/com/android/contacts/list/ |
D | ContactsUnavailableFragment.java | 189 private void updateButtonVisibilty(int visibility) { in updateButtonVisibilty() argument 191 mAddAccountButton.setVisibility(visibility); in updateButtonVisibilty() 192 mImportContactsButton.setVisibility(visibility); in updateButtonVisibilty() 193 mButtonsContainer.setVisibility(visibility); in updateButtonVisibilty() 195 mAddAccountButton.setVisibility(visibility); in updateButtonVisibilty() 196 mImportContactsButton.setVisibility(visibility); in updateButtonVisibilty()
|
/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 | 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()
|
D | MaterialSearchSuggestionsList.java | 95 public void setVisibility(int visibility) { in setVisibility() argument 96 if (!isShown() && visibility == VISIBLE) { in setVisibility() 100 super.setVisibility(visibility); in setVisibility()
|
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()
|
/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()
|
D | CameraPreview.java | 95 public void onVisibilityChanged(final int visibility) { in onVisibilityChanged() argument 97 if (visibility == View.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/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/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectVisibleCalendarsFragment.java | 163 int visibility = mAdapter.getVisible(position)^1; in toggleVisibility() local 164 values.put(Calendars.VISIBLE, visibility); in toggleVisibility() 166 mAdapter.setVisible(position, visibility); in toggleVisibility()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppShareInfo.java | 72 int direction, String destination, int visibility, int confirm, int status, in BluetoothOppShareInfo() argument 81 mVisibility = visibility; in BluetoothOppShareInfo()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | EffectSettingPopup.java | 138 public void setVisibility(int visibility) { in setVisibility() argument 139 if (visibility == View.VISIBLE) { in setVisibility() 148 super.setVisibility(visibility); in setVisibility()
|
/packages/apps/Music/src/com/android/music/ |
D | TouchInterceptor.java | 264 int visibility = View.VISIBLE; in doExpansion() local 269 visibility = View.INVISIBLE; in doExpansion() 277 visibility = View.INVISIBLE; in doExpansion() 293 vv.setVisibility(visibility); in doExpansion()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | ExternalViewerButton.java | 48 protected void onVisibilityChanged(View v, int visibility) { in onVisibilityChanged() argument 49 super.onVisibilityChanged(v, visibility); in onVisibilityChanged()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | MoviePlayer.java | 215 public void onSystemUiVisibilityChange(int visibility) { in setOnSystemUiVisibilityChangeListener() 216 int diff = mLastSystemUiVis ^ visibility; in setOnSystemUiVisibilityChangeListener() 217 mLastSystemUiVis = visibility; in setOnSystemUiVisibilityChangeListener() 219 && (visibility & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION) == 0) { in setOnSystemUiVisibilityChangeListener()
|