Home
last modified time | relevance | path

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

123456

/packages/apps/Dialer/java/com/android/contacts/common/list/
DPinnedHeaderListView.java163 if (header.visible) { in onItemSelected()
209 header.visible = true; in setHeaderPinnedAtTop()
232 } else if (animate && (header.y != y || !header.visible)) { in setHeaderPinnedAtBottom()
233 if (header.visible) { in setHeaderPinnedAtBottom()
236 header.visible = true; in setHeaderPinnedAtBottom()
244 header.visible = true; in setHeaderPinnedAtBottom()
264 header.visible = true; in setFadingHeader()
290 if (header.visible && (animate || header.animating) && header.state == BOTTOM) { in setHeaderInvisible()
293 header.visible = true; in setHeaderInvisible()
300 header.visible = false; in setHeaderInvisible()
[all …]
DPinnedHeaderListAdapter.java97 boolean visible = isPinnedPartitionHeaderVisible(i); in configurePinnedHeaders()
98 mHeaderVisibility[i] = visible; in configurePinnedHeaders()
99 if (!visible) { in configurePinnedHeaders()
/packages/apps/Contacts/src/com/android/contacts/list/
DPinnedHeaderListView.java85 boolean visible; field in PinnedHeaderListView.PinnedHeader
217 if (header.visible) { in onItemSelected()
263 header.visible = true; in setHeaderPinnedAtTop()
286 } else if (animate && (header.y != y || !header.visible)) { in setHeaderPinnedAtBottom()
287 if (header.visible) { in setHeaderPinnedAtBottom()
290 header.visible = true; in setHeaderPinnedAtBottom()
298 header.visible = true; in setHeaderPinnedAtBottom()
319 header.visible = !((TextView) header.view).getText().toString().isEmpty(); in setFadingHeader()
345 if (header.visible && (animate || header.animating) && header.state == BOTTOM) { in setHeaderInvisible()
348 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/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestMenuItem.java39 boolean visible; field in TestMenuItem
48 mockMenuItem.visible = true; in create()
71 public MenuItem setVisible(boolean visible) { in setVisible() argument
72 this.visible = visible; in setVisible()
78 return this.visible; in isVisible()
95 assertTrue(this.visible); in assertVisible()
99 assertFalse(this.visible); in assertInvisible()
/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/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/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/Car/Hvac/src/com/android/car/hvac/ui/
DSystemUiObserver.java57 boolean visible = !(bottom == mDisplayMetrics.heightPixels); in onLayout()
58 if (visible != mVisible && mListener != null) { in onLayout()
59 mListener.onSystemUiVisibilityChange(visible); in onLayout()
61 mVisible = visible; in onLayout()
70 void onSystemUiVisibilityChange(boolean visible); in onSystemUiVisibilityChange() argument
/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBar.java275 boolean visible; field in SwitchBar.SavedState
287 visible = (Boolean)in.readValue(null); in SavedState()
294 out.writeValue(visible); in writeToParcel()
302 + " visible=" + visible + "}"; in toString()
323 ss.visible = isShowing(); in onSaveInstanceState()
335 setVisibility(ss.visible ? View.VISIBLE : View.GONE); in onRestoreInstanceState()
336 mSwitch.setOnCheckedChangeListener(ss.visible ? this : null); in onRestoreInstanceState()
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java230 /* package */ void updateMwi(int subId, boolean visible) { in updateMwi() argument
231 updateMwi(subId, visible, false /* isRefresh */); in updateMwi()
242 void updateMwi(int subId, boolean visible, boolean isRefresh) { in updateMwi() argument
251 Log.i(LOG_TAG, "updateMwi(): subId " + subId + " update to " + visible); in updateMwi()
252 mMwiVisible.put(subId, visible); in updateMwi()
254 if (visible) { in updateMwi()
466 /* package */ void updateCfi(int subId, boolean visible) { in updateCfi() argument
467 logi("updateCfi: subId= " + subId + ", visible=" + (visible ? "Y" : "N")); in updateCfi()
468 if (visible) { in updateCfi()
DCallNotifier.java758 public void onMessageWaitingIndicatorChanged(boolean visible) { in onMessageWaitingIndicatorChanged() argument
759 if (VDBG) log("onMessageWaitingIndicatorChanged(): " + this.mSubId + " " + visible); in onMessageWaitingIndicatorChanged()
760 mApplication.notificationMgr.updateMwi(this.mSubId, visible); in onMessageWaitingIndicatorChanged()
764 public void onCallForwardingIndicatorChanged(boolean visible) { in onCallForwardingIndicatorChanged() argument
766 + ", visible=" + (visible ? "Y" : "N")); in onCallForwardingIndicatorChanged()
767 mApplication.notificationMgr.updateCfi(this.mSubId, visible); in onCallForwardingIndicatorChanged()
/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/Car/Hvac/src/com/android/car/hvac/
DHvacUiService.java159 observer.setListener(visible -> { in onCreate()
160 adjustPosition(mDriverTemperatureBarTouchOverlay, visible); in onCreate()
161 adjustPosition(mPassengerTemperatureBarTouchOverlay, visible); in onCreate()
162 adjustPosition(mDriverTemperatureBar, visible); in onCreate()
163 adjustPosition(mPassengerTemperatureBar, visible); in onCreate()
164 adjustPosition(mContainer, visible); in onCreate()
/packages/services/Car/car-lib/src/android/car/cluster/
DClusterActivityState.java45 public ClusterActivityState setVisible(boolean visible) { in setVisible() argument
46 mVisible = visible; in setVisible()
63 public static ClusterActivityState create(boolean visible, Rect unobscuredBounds) { in create() argument
65 .setVisible(visible) in create()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperPickerActivity.java83 protected void setSystemWallpaperVisiblity(final boolean visible) { in setSystemWallpaperVisiblity() argument
85 if(!visible) { in setSystemWallpaperVisiblity()
88 changeWallpaperFlags(visible); in setSystemWallpaperVisiblity()
95 if(!visible) { in setSystemWallpaperVisiblity()
96 changeWallpaperFlags(visible); in setSystemWallpaperVisiblity()
104 private void changeWallpaperFlags(boolean visible) { in changeWallpaperFlags() argument
105 int desiredWallpaperFlag = visible ? WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER : 0; in changeWallpaperFlags()
/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/DocumentsUI/src/com/android/documentsui/inspector/actions/
DActionView.java77 public void setVisible(boolean visible) { in setVisible() argument
78 setVisibility(visible ? View.VISIBLE : View.GONE); in setVisible()
97 public void showAction(boolean visible) { in showAction() argument
99 if (visible) { in showAction()
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintUiHelper.java75 private void setFingerprintIconVisibility(boolean visible) { in setFingerprintIconVisibility() argument
76 mIcon.setVisibility(visible ? View.VISIBLE : View.GONE); in setFingerprintIconVisibility()
77 mCallback.onFingerprintIconVisibilityChanged(visible); in setFingerprintIconVisibility()
124 void onFingerprintIconVisibilityChanged(boolean visible); in onFingerprintIconVisibilityChanged() argument
/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/Launcher3/src/com/android/launcher3/views/
DRecyclerViewFastScroller.java340 private void animatePopupVisibility(boolean visible) { in animatePopupVisibility() argument
341 if (mPopupVisible != visible) { in animatePopupVisibility()
342 mPopupVisible = visible; in animatePopupVisibility()
344 mPopupView.animate().alpha(visible ? 1f : 0f).setDuration(visible ? 200 : 150).start(); in animatePopupVisibility()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgressFragment.java91 public void setUsersButtonVisible(boolean visible) { in setUsersButtonVisible() argument
92 mUsersButton.setVisibility(visible ? View.VISIBLE : View.GONE); in setUsersButtonVisible()
96 public void setDeviceManagerButtonVisible(boolean visible) { in setDeviceManagerButtonVisible() argument
97 mDeviceManagerButton.setVisibility(visible ? View.VISIBLE : View.GONE); in setDeviceManagerButtonVisible()
/packages/apps/TV/src/com/android/tv/tuner/data/
DCea708Data.java288 public final boolean visible; field in Cea708Data.CaptionWindow
301 public CaptionWindow(int id, boolean visible, in CaptionWindow() argument
306 this.visible = visible; in CaptionWindow()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
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()

123456