/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PinnedHeaderListView.java | 85 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 …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestMenuItem.java | 40 boolean visible; field in TestMenuItem 50 mockMenuItem.visible = true; in create() 73 public MenuItem setVisible(boolean visible) { in setVisible() argument 74 this.visible = visible; in setVisible() 80 return this.visible; in isVisible() 108 assertTrue(this.visible); in assertVisible() 112 assertFalse(this.visible); in assertInvisible()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | PreferredNetworkModePreferenceController.java | 55 boolean visible; in getAvailabilityStatus() 57 visible = false; in getAvailabilityStatus() 59 visible = false; in getAvailabilityStatus() 62 visible = false; in getAvailabilityStatus() 68 visible = false; in getAvailabilityStatus() 70 visible = true; in getAvailabilityStatus() 72 visible = false; in getAvailabilityStatus() 75 return visible ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
|
D | EnabledNetworkModePreferenceController.java | 55 boolean visible; in getAvailabilityStatus() 60 visible = false; in getAvailabilityStatus() 62 visible = false; in getAvailabilityStatus() 65 visible = false; in getAvailabilityStatus() 71 visible = false; in getAvailabilityStatus() 73 visible = false; in getAvailabilityStatus() 75 visible = true; in getAvailabilityStatus() 78 return visible ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | FilmstripBottomPanel.java | 90 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/Settings/src/com/android/settings/network/telephony/ |
D | PreferredNetworkModePreferenceController.java | 55 boolean visible; in getAvailabilityStatus() 57 visible = false; in getAvailabilityStatus() 59 visible = false; in getAvailabilityStatus() 64 visible = false; in getAvailabilityStatus() 66 visible = true; in getAvailabilityStatus() 68 visible = false; in getAvailabilityStatus() 71 return visible ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPageBottomControls.java | 53 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()
|
D | GalleryActionBar.java | 76 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/Gallery2/src/com/android/gallery3d/ingest/ |
D | IngestActivity.java | 378 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/widget/ |
D | SwitchBar.java | 321 boolean visible; field in SwitchBar.SavedState 333 visible = (Boolean) in.readValue(null); in SavedState() 340 out.writeValue(visible); in writeToParcel() 348 + " visible=" + visible + "}"; in toString() 369 ss.visible = isShowing(); in onSaveInstanceState() 381 setVisibility(ss.visible ? View.VISIBLE : View.GONE); in onRestoreInstanceState() 382 mSwitch.setOnCheckedChangeListener(ss.visible ? this : null); in onRestoreInstanceState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | SwitchBar.java | 323 boolean visible; field in SwitchBar.SavedState 335 visible = (Boolean) in.readValue(null); in SavedState() 342 out.writeValue(visible); in writeToParcel() 350 + " visible=" + visible + "}"; in toString() 371 ss.visible = isShowing(); in onSaveInstanceState() 383 setVisibility(ss.visible ? View.VISIBLE : View.GONE); in onRestoreInstanceState() 384 mSwitch.setOnCheckedChangeListener(ss.visible ? this : null); in onRestoreInstanceState()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationInput.java | 93 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/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | OverlayRenderer.java | 32 private boolean visible; field in OverlayRenderer 35 visible = vis; in setVisible() 40 return visible; in isVisible() 58 if (visible) { in draw()
|
/packages/services/Car/car-lib/src/android/car/cluster/ |
D | ClusterActivityState.java | 72 public ClusterActivityState setVisible(boolean visible) { in setVisible() argument 73 mVisible = visible; in setVisible() 109 public static ClusterActivityState create(boolean visible, Rect unobscuredBounds) { in create() argument 111 .setVisible(visible) in create()
|
/packages/services/Telephony/src/com/android/phone/ |
D | NotificationMgr.java | 250 /* package */ void updateMwi(int subId, boolean visible) { in updateMwi() argument 251 updateMwi(subId, visible, false /* isRefresh */); in updateMwi() 262 void updateMwi(int subId, boolean visible, boolean isRefresh) { in updateMwi() argument 271 Log.i(LOG_TAG, "updateMwi(): subId " + subId + " update to " + visible); in updateMwi() 272 mMwiVisible.put(subId, visible); in updateMwi() 274 if (visible) { in updateMwi() 495 /* package */ void updateCfi(int subId, boolean visible) { in updateCfi() argument 496 updateCfi(subId, visible, false /* isRefresh */); in updateCfi() 504 /* package */ void updateCfi(int subId, boolean visible, boolean isRefresh) { in updateCfi() argument 505 logi("updateCfi: subId= " + subId + ", visible=" + (visible ? "Y" : "N")); in updateCfi() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | MenuManager.java | 256 boolean visible = mFeatures.isInspectorEnabled(); in updateInspect() 257 inspect.setVisible(visible); in updateInspect() 258 inspect.setEnabled(visible && mDirDetails.canInspectDirectory()); in updateInspect() 263 boolean visible = mFeatures.isInspectorEnabled(); in updateInspect() 264 inspect.setVisible(visible); in updateInspect() 265 inspect.setEnabled(visible && selectionDetails.size() <= 1); in updateInspect()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/ |
D | ActionView.java | 86 public void setVisible(boolean visible) { in setVisible() argument 87 setVisibility(visible ? View.VISIBLE : View.GONE); in setVisible() 112 public void showAction(boolean visible) { in showAction() argument 114 if (visible) { in showAction()
|
/packages/apps/Terminal/src/com/android/terminal/ |
D | Terminal.java | 61 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/Dialer/java/com/android/dialer/speeddial/ |
D | ContextMenu.java | 41 private boolean visible; field in ContextMenu 55 menu.visible = true; in show() 66 visible = false; in hide() 120 return visible; in isVisible()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | CaptionCustomFragment.java | 267 private void setCaptionsBackgroundVisible(boolean visible) { in setCaptionsBackgroundVisible() argument 270 visible ? 0xff000000 : 0); in setCaptionsBackgroundVisible() 271 if (!visible) { in setCaptionsBackgroundVisible() 308 private void setCaptionsWindowVisible(boolean visible) { in setCaptionsWindowVisible() argument 310 Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, visible ? 0xff000000 : 0); in setCaptionsWindowVisible() 311 if (!visible) { in setCaptionsWindowVisible()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | MobileNetworkUpdateManagerTest.java | 70 mActivityController.create().start().visible(); in onStart_receiverRegistered() 89 mActivityController.create().start().visible(); in onStop_receiverUnregistered() 111 mActivityController.create().start().visible(); in onStart_subscriptionListenerRegistered() 120 mActivityController.create().start().visible(); in onStop_subscriptionListenerUnregistered()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/ |
D | ViewUtils.java | 124 public static void setVisible(@Nullable View view, boolean visible) { 126 view.setVisibility(visible ? View.VISIBLE : View.GONE); 131 public static void setVisible(@Nullable List<View> views, boolean visible) { 133 setVisible(view, visible);
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | WallpaperPickerActivity.java | 83 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/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | LivePreviewFragment.java | 581 public void setVisibility(boolean visible) { in setVisibility() argument 582 mIsVisible = visible; in setVisibility() 583 setEngineVisibility(visible); in setVisibility() 586 private void setEngineVisibility(boolean visible) { in setEngineVisibility() argument 587 if (mEngine != null && visible != mIsEngineVisible) { in setEngineVisibility() 589 mEngine.setVisibility(visible); in setEngineVisibility() 590 mIsEngineVisible = visible; in setEngineVisibility()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | Cea708Data.java | 286 public final boolean visible; field in Cea708Data.CaptionWindow 301 boolean visible, in CaptionWindow() argument 314 this.visible = visible; in CaptionWindow()
|