Home
last modified time | relevance | path

Searched refs:visible (Results 1 – 25 of 111) sorted by relevance

12345

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DPinnedHeaderListView.java84 boolean visible; field in PinnedHeaderListView.PinnedHeader
216 if (header.visible) { in onItemSelected()
262 header.visible = true; in setHeaderPinnedAtTop()
285 } else if (animate && (header.y != y || !header.visible)) { in setHeaderPinnedAtBottom()
286 if (header.visible) { in setHeaderPinnedAtBottom()
289 header.visible = true; in setHeaderPinnedAtBottom()
297 header.visible = true; in setHeaderPinnedAtBottom()
315 header.visible = true; in setFadingHeader()
341 if (header.visible && (animate || header.animating) && header.state == BOTTOM) { in setHeaderInvisible()
344 header.visible = true; in setHeaderInvisible()
[all …]
DPinnedHeaderListAdapter.java106 boolean visible = isPinnedPartitionHeaderVisible(i); in configurePinnedHeaders()
107 mHeaderVisibility[i] = visible; in configurePinnedHeaders()
108 if (!visible) { in configurePinnedHeaders()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPageBottomControls.java53 private static Animation getControlAnimForVisibility(boolean visible) { in getControlAnimForVisibility() argument
54 Animation anim = visible ? new AlphaAnimation(0f, 1f) in getControlAnimForVisibility()
97 boolean visible = mDelegate.canDisplayBottomControls(); in refresh()
98 boolean containerVisibilityChanged = (visible != mContainerVisible); in refresh()
100 if (visible) { in refresh()
105 mContainerVisible = visible; in refresh()
DGalleryActionBar.java76 public boolean visible; field in GalleryActionBar.ActionItem
93 this.visible = true; in ActionItem()
200 if (item.enabled && item.visible) { in createDialogData()
222 public void setClusterItemVisibility(int id, boolean visible) { in setClusterItemVisibility() argument
225 item.visible = visible; in setClusterItemVisibility()
/packages/apps/Camera2/src/com/android/camera/app/
DFilmstripBottomPanel.java90 public void setVisible(boolean visible) { in setVisible() argument
91 if (visible) { in setVisible()
99 public void setEditButtonVisibility(boolean visible) { in setEditButtonVisibility() argument
100 mEditButton.setVisibility(visible ? View.VISIBLE : View.GONE); in setEditButtonVisibility()
126 public void setDeleteButtonVisibility(boolean visible) { in setDeleteButtonVisibility() argument
127 mDeleteButton.setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in setDeleteButtonVisibility()
136 public void setShareButtonVisibility(boolean visible) { in setShareButtonVisibility() argument
137 mShareButton.setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in setShareButtonVisibility()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationInput.java93 protected void onVisibilityChanged(final boolean visible) { in onVisibilityChanged() argument
94 if (mShowing != visible) { in onVisibilityChanged()
96 mShowing = visible; in onVisibilityChanged()
97 if (visible) { in onVisibilityChanged()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallCardFragment.java354 public void setProgressSpinnerVisible(boolean visible) { in setProgressSpinnerVisible() argument
355 mProgressSpinner.setVisibility(visible ? View.VISIBLE : View.GONE); in setProgressSpinnerVisible()
386 public void setCallCardVisible(final boolean visible) { in setCallCardVisible() argument
387 Log.v(this, "setCallCardVisible : isVisible = " + visible); in setCallCardVisible()
415 mPrimaryCallCardContainer.setTranslationY(visible ? in setCallCardVisible()
428 .translationX(visible ? videoViewTranslation : 0); in setCallCardVisible()
431 .translationY(visible ? videoViewTranslation : 0); in setCallCardVisible()
443 if (!visible) { in setCallCardVisible()
451 if (visible) { in setCallCardVisible()
461 .translationX(visible ? 0 : translationX) in setCallCardVisible()
[all …]
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java189 /* package */ void updateMwi(int subId, boolean visible) { in updateMwi() argument
190 updateMwi(subId, visible, true /* enableNotificationSound */); in updateMwi()
200 void updateMwi(int subId, boolean visible, boolean enableNotificationSound) { in updateMwi() argument
209 if (visible && phone != null) { in updateMwi()
214 visible = false; in updateMwi()
218 Log.i(LOG_TAG, "updateMwi(): subId " + subId + " update to " + visible); in updateMwi()
219 mMwiVisible.put(subId, visible); in updateMwi()
221 if (visible) { in updateMwi()
408 /* package */ void updateCfi(int subId, boolean visible) { in updateCfi() argument
409 if (DBG) log("updateCfi(): " + visible); in updateCfi()
[all …]
DCallNotifier.java768 public void onMessageWaitingIndicatorChanged(boolean visible) { in onMessageWaitingIndicatorChanged() argument
769 if (VDBG) log("onMessageWaitingIndicatorChanged(): " + this.mSubId + " " + visible); in onMessageWaitingIndicatorChanged()
770 mApplication.notificationMgr.updateMwi(this.mSubId, visible); in onMessageWaitingIndicatorChanged()
774 public void onCallForwardingIndicatorChanged(boolean visible) { in onCallForwardingIndicatorChanged() argument
775 if (VDBG) log("onCallForwardingIndicatorChanged(): " + this.mSubId + " " + visible); in onCallForwardingIndicatorChanged()
776 mApplication.notificationMgr.updateCfi(this.mSubId, visible); in onCallForwardingIndicatorChanged()
/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBar.java269 boolean visible; field in SwitchBar.SavedState
281 visible = (Boolean)in.readValue(null); in SavedState()
288 out.writeValue(visible); in writeToParcel()
296 + " visible=" + visible + "}"; in toString()
317 ss.visible = isShowing(); in onSaveInstanceState()
329 setVisibility(ss.visible ? View.VISIBLE : View.GONE); in onRestoreInstanceState()
330 mSwitch.setOnCheckedChangeListener(ss.visible ? this : null); in onRestoreInstanceState()
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseRecyclerViewFastScrollPopup.java113 public void animateVisibility(boolean visible) { in animateVisibility() argument
114 if (mVisible != visible) { in animateVisibility()
115 mVisible = visible; in animateVisibility()
119 mAlphaAnimator = ObjectAnimator.ofFloat(this, "alpha", visible ? 1f : 0f); in animateVisibility()
120 mAlphaAnimator.setDuration(visible ? 200 : 150); in animateVisibility()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestActivity.java378 private void setFullscreenPagerVisibility(boolean visible) { in setFullscreenPagerVisibility() argument
379 mFullscreenPagerVisible = visible; in setFullscreenPagerVisibility()
380 if (visible) { in setFullscreenPagerVisibility()
393 mGridView.setVisibility(visible ? View.INVISIBLE : View.VISIBLE); in setFullscreenPagerVisibility()
394 mFullscreenPager.setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in setFullscreenPagerVisibility()
396 setSwitcherMenuState(mActionMenuSwitcherItem, visible); in setFullscreenPagerVisibility()
398 setSwitcherMenuState(mMenuSwitcherItem, visible); in setFullscreenPagerVisibility()
401 private void setSwitcherMenuVisibility(boolean visible) { in setSwitcherMenuVisibility() argument
403 mActionMenuSwitcherItem.setVisible(visible); in setSwitcherMenuVisibility()
406 mMenuSwitcherItem.setVisible(visible); in setSwitcherMenuVisibility()
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintUiHelper.java74 private void setFingerprintIconVisibility(boolean visible) { in setFingerprintIconVisibility() argument
75 mIcon.setVisibility(visible ? View.VISIBLE : View.GONE); in setFingerprintIconVisibility()
76 mCallback.onFingerprintIconVisibilityChanged(visible); in setFingerprintIconVisibility()
123 void onFingerprintIconVisibilityChanged(boolean visible); in onFingerprintIconVisibilityChanged() argument
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DConditionAdapterUtils.java110 final View detailGroup, final boolean visible, final boolean hasButtons) { in animateChange() argument
114 setHeight(detailGroup, visible ? LayoutParams.WRAP_CONTENT : 0); in animateChange()
130 if (!visible) { in animateChange()
146 private static void setViewVisibility(View containerView, int viewId, boolean visible) { in setViewVisibility() argument
149 view.setVisibility(visible ? View.VISIBLE : View.GONE); in setViewVisibility()
/packages/apps/Terminal/src/com/android/terminal/
DTerminal.java61 public void onMoveCursor(int posRow, int posCol, int oldPosRow, int oldPosCol, int visible); in onMoveCursor() argument
96 public int moveCursor(int posRow, int posCol, int oldPosRow, int oldPosCol, int visible) {
97 mCursorVisible = (visible != 0);
101 mClient.onMoveCursor(posRow, posCol, oldPosRow, oldPosCol, visible);
/packages/apps/TV/usbtuner/src/com/android/usbtuner/data/
DCea708Data.java281 public final boolean visible; field in Cea708Data.CaptionWindow
294 public CaptionWindow(int id, boolean visible, in CaptionWindow() argument
299 this.visible = visible; in CaptionWindow()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DCaptionCustomFragment.java266 private void setCaptionsBackgroundVisible(boolean visible) { in setCaptionsBackgroundVisible() argument
269 visible ? 0xff000000 : 0); in setCaptionsBackgroundVisible()
270 if (!visible) { in setCaptionsBackgroundVisible()
307 private void setCaptionsWindowVisible(boolean visible) { in setCaptionsWindowVisible() argument
309 Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, visible ? 0xff000000 : 0); in setCaptionsWindowVisible()
310 if (!visible) { in setCaptionsWindowVisible()
/packages/apps/Settings/src/com/android/settings/drawable/
DDrawableWrapper.java109 public boolean setVisible(boolean visible, boolean restart) { in setVisible() argument
110 return super.setVisible(visible, restart) || mDrawable.setVisible(visible, restart); in setVisible()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DLayoutListener.java30 void onConversationListVisibilityChanged(boolean visible); in onConversationListVisibilityChanged() argument
36 void onConversationVisibilityChanged(boolean visible); in onConversationVisibilityChanged() argument
DTwoPaneController.java464 public void onConversationVisibilityChanged(boolean visible) { in onConversationVisibilityChanged() argument
465 super.onConversationVisibilityChanged(visible); in onConversationVisibilityChanged()
466 if (!visible) { in onConversationVisibilityChanged()
479 mEmptyCvView.setVisibility(visible ? View.GONE : View.VISIBLE); in onConversationVisibilityChanged()
492 public void onConversationListVisibilityChanged(boolean visible) { in onConversationListVisibilityChanged() argument
493 super.onConversationListVisibilityChanged(visible); in onConversationListVisibilityChanged()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerPagerAdapter.java178 private static void setItemVisible(Fragment item, boolean visible) { in setItemVisible() argument
179 FragmentCompat.setMenuVisibility(item, visible); in setItemVisible()
180 FragmentCompat.setUserVisibleHint(item, visible); in setItemVisible()
/packages/apps/Dialer/src/com/android/dialer/list/
DDialerPhoneNumberListAdapter.java204 public boolean setShortcutEnabled(int shortcutType, boolean visible) { in setShortcutEnabled() argument
205 final boolean changed = mShortcutEnabled[shortcutType] != visible; in setShortcutEnabled()
206 mShortcutEnabled[shortcutType] = visible; in setShortcutEnabled()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DInputOptionsFragment.java170 private void setInputVisible(boolean visible) { in setInputVisible() argument
173 if (wasVisible == visible) { in setInputVisible()
177 if (visible) { in setInputVisible()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DFragmentStatePagerAdapter2.java208 public void setItemVisible(Fragment item, boolean visible) { in setItemVisible() argument
209 FragmentCompat.setMenuVisibility(item, visible); in setItemVisible()
210 FragmentCompat.setUserVisibleHint(item, visible); in setItemVisible()
/packages/apps/Launcher2/src/com/android/launcher2/
DFirstFrameAnimatorHelper.java64 public static void setIsVisible(boolean visible) { in setIsVisible() argument
65 sVisible = visible; in setIsVisible()

12345