/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 | 41 boolean visible; field in TestMenuItem 51 mockMenuItem.visible = true; in create() 74 public MenuItem setVisible(boolean visible) { in setVisible() argument 75 this.visible = visible; in setVisible() 81 return this.visible; in isVisible() 102 assertTrue(this.visible); in assertEnabledAndVisible() 107 assertFalse(this.visible); in assertDisabledAndInvisible()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/ |
D | PreferenceParcelable.java | 54 private byte visible; field in PreferenceParcelable 166 public void setVisible(boolean visible) { in setVisible() argument 167 setVisible(ServiceUtil.getVisible(visible)); in setVisible() 171 return visible; in getVisible() 174 public void setVisible(byte visible) { in setVisible() argument 175 this.visible = visible; in setVisible() 217 ", visible=" + visible + in toString() 228 copy.setVisible(visible); in immutableCopy() 260 dest.writeByte(visible); in writeToParcel()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | IconLabelDotView.java | 24 void setIconVisible(boolean visible); in setIconVisible() argument 30 static void setIconAndDotVisible(View view, boolean visible) { in setIconAndDotVisible() argument 32 ((IconLabelDotView) view).setIconVisible(visible); in setIconAndDotVisible() 33 ((IconLabelDotView) view).setForceHideDot(!visible); in setIconAndDotVisible() 35 view.setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in setIconAndDotVisible()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | PreferredNetworkModePreferenceController.java | 50 boolean visible; in getAvailabilityStatus() 52 visible = false; in getAvailabilityStatus() 54 visible = false; in getAvailabilityStatus() 59 visible = false; in getAvailabilityStatus() 61 visible = true; in getAvailabilityStatus() 63 visible = false; in getAvailabilityStatus() 66 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/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()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | MenuManager.java | 107 boolean visible = mState.allowMultiple && !mOnlyDirectory; in updateSelectAll() 108 Menus.setEnabledAndVisible(selectAll, visible); in updateSelectAll() 113 final boolean visible = mState.allowMultiple in updateSelectAll() 116 Menus.setEnabledAndVisible(selectAll, visible); in updateSelectAll() 121 final boolean visible = mState.allowMultiple 124 Menus.setEnabledAndVisible(deselectAll, visible);
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | WallpaperConnection.java | 267 public void setVisibility(boolean visible) { in setVisibility() argument 268 mIsVisible = visible; in setVisibility() 269 setEngineVisibility(visible); in setVisibility() 272 private void setEngineVisibility(boolean visible) { in setEngineVisibility() argument 273 if (mEngine != null && visible != mIsEngineVisible) { in setEngineVisibility() 275 mEngine.setVisibility(visible); in setEngineVisibility() 276 mIsEngineVisible = visible; in setEngineVisibility()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/ |
D | OverlayPanelViewController.java | 393 protected final void setPanelVisible(boolean visible) { in setPanelVisible() argument 394 mPanelVisible = visible; in setPanelVisible() 395 onPanelVisible(visible); in setPanelVisible() 405 protected void onPanelVisible(boolean visible) { in onPanelVisible() argument 407 Log.e(TAG, "onPanelVisible: " + visible); in onPanelVisible() 410 if (visible && !getOverlayViewGlobalStateController().isWindowVisible()) { in onPanelVisible() 413 if (!visible && getOverlayViewGlobalStateController().isWindowVisible()) { in onPanelVisible() 416 getLayout().setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in onPanelVisible()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | MenuManager.java | 227 final boolean visible = selectionDetails.size() < mFilesCountSupplier.getAsInt(); in updateSelectAll() 228 Menus.setEnabledAndVisible(selectAll, visible); in updateSelectAll() 233 final boolean visible = selectionDetails.size() == mFilesCountSupplier.getAsInt(); 234 Menus.setEnabledAndVisible(deselectAll, visible); 264 boolean visible = mFeatures.isInspectorEnabled(); 265 Menus.setEnabledAndVisible(inspect, visible && mDirDetails.canInspectDirectory()); 270 boolean visible = mFeatures.isInspectorEnabled() && selectionDetails.size() <= 1; 271 Menus.setEnabledAndVisible(inspect, visible);
|
/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/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/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceController.java | 254 void setPrivateStorageCategoryPreferencesVisibility(boolean visible) { in setPrivateStorageCategoryPreferencesVisibility() argument 259 mImagesPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 260 mVideosPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 261 mAudioPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 262 mAppsPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 263 mGamesPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 264 mSystemPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 265 mTrashPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility() 269 if (visible) { in setPrivateStorageCategoryPreferencesVisibility()
|
/packages/apps/Settings/src/com/android/settings/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/Settings/src/com/android/settings/applications/appinfo/ |
D | DefaultAppShortcutPreferenceControllerBase.java | 60 mRoleManager.isRoleVisible(mRoleName, executor, visible -> { in DefaultAppShortcutPreferenceControllerBase() 61 mRoleVisible = visible; in DefaultAppShortcutPreferenceControllerBase() 65 visible -> { in DefaultAppShortcutPreferenceControllerBase() 66 mAppVisible = visible; in DefaultAppShortcutPreferenceControllerBase()
|
/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/services/Telephony/src/com/android/phone/ |
D | NotificationMgr.java | 257 /* package */ void updateMwi(int subId, boolean visible) { in updateMwi() argument 258 updateMwi(subId, visible, false /* isRefresh */); in updateMwi() 269 void updateMwi(int subId, boolean visible, boolean isRefresh) { in updateMwi() argument 278 Log.i(LOG_TAG, "updateMwi(): subId " + subId + " update to " + visible); in updateMwi() 279 mMwiVisible.put(subId, visible); in updateMwi() 281 if (visible) { in updateMwi() 514 /* package */ void updateCfi(int subId, boolean visible) { in updateCfi() argument 515 updateCfi(subId, visible, false /* isRefresh */); in updateCfi() 523 /* package */ void updateCfi(int subId, boolean visible, boolean isRefresh) { in updateCfi() argument 524 logi("updateCfi: subId= " + subId + ", visible=" + (visible ? "Y" : "N")); in updateCfi() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | SearchBot.java | 91 public void assertIconVisible(boolean visible) { in assertIconVisible() argument 92 if (visible) { in assertIconVisible() 103 public void assertSearchHistoryVisible(boolean visible) { in assertSearchHistoryVisible() argument 104 if (visible) { in assertSearchHistoryVisible()
|
/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/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/Settings/src/com/android/car/settings/common/ |
D | BaseActionItem.java | 68 public void setVisible(boolean visible) { in setVisible() argument 69 if (visible != mIsVisible) { in setVisible() 70 mIsVisible = visible; in setVisible()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | SystemUiProxy.java | 421 public void setShelfHeight(boolean visible, int shelfHeight) { in setShelfHeight() argument 422 boolean changed = visible != mLastShelfVisible || shelfHeight != mLastShelfHeight; in setShelfHeight() 424 mLastShelfVisible = visible; in setShelfHeight() 427 mPip.setShelfHeight(visible, shelfHeight); in setShelfHeight() 429 Log.w(TAG, "Failed call setShelfHeight visible: " + visible in setShelfHeight() 501 public void setSideStageVisibility(boolean visible) { in setSideStageVisibility() argument 504 mSplitScreen.setSideStageVisibility(visible); in setSideStageVisibility()
|