Home
last modified time | relevance | path

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

123

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java412 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 …]
DDownloadReceiver.java179 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/
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/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/Contacts/src/com/android/contacts/list/
DContactsUnavailableFragment.java189 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/
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()
DMaterialSearchSuggestionsList.java95 public void setVisibility(int visibility) { in setVisibility() argument
96 if (!isShown() && visibility == VISIBLE) { in setVisibility()
100 super.setVisibility(visibility); in setVisibility()
DTwoPaneLayout.java418 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/
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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DBaseInputView.java53 @Override protected void onWindowVisibilityChanged(int visibility) { in onWindowVisibilityChanged() argument
54 super.onWindowVisibilityChanged(visibility); in onWindowVisibilityChanged()
55 if ((visibility != VISIBLE) && (mOptionsDialog != null)) { in onWindowVisibilityChanged()
DCandidateTextView.java175 @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/
DMinTimeProgressView.java95 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/
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()
DCameraPreview.java95 public void onVisibilityChanged(final int visibility) { in onVisibilityChanged() argument
97 if (visibility == View.VISIBLE) { in onVisibilityChanged()
/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/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()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectVisibleCalendarsFragment.java163 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/
DBluetoothOppShareInfo.java72 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/
DEffectSettingPopup.java138 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/
DTouchInterceptor.java264 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/
DExternalViewerButton.java48 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/
DMoviePlayer.java215 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()

123