Home
last modified time | relevance | path

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

12345678910

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestMenuItem.java41 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/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 …]
/packages/apps/Launcher3/src/com/android/launcher3/views/
DIconLabelDotView.java24 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/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()
/packages/apps/Settings/src/com/android/settings/widget/
DCardPreference.java122 public void setPrimaryButtonVisible(boolean visible) { in setPrimaryButtonVisible() argument
124 button -> button.setVisibility(visible ? View.VISIBLE : View.GONE)); in setPrimaryButtonVisible()
125 mPrimaryButtonVisible = visible; in setPrimaryButtonVisible()
134 public void setSecondaryButtonVisible(boolean visible) { in setSecondaryButtonVisible() argument
136 button -> button.setVisibility(visible ? View.VISIBLE : View.GONE)); in setSecondaryButtonVisible()
137 mSecondaryButtonVisible = visible; in setSecondaryButtonVisible()
/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/Settings/src/com/android/settings/network/telephony/
DPreferredNetworkModePreferenceController.java52 boolean visible; in getAvailabilityStatus()
54 visible = false; in getAvailabilityStatus()
56 visible = false; in getAvailabilityStatus()
61 visible = false; in getAvailabilityStatus()
63 visible = true; in getAvailabilityStatus()
65 visible = false; in getAvailabilityStatus()
68 return visible ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DMenuManager.java107 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/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DOverlayRenderer.java32 private boolean visible; field in OverlayRenderer
35 visible = vis; in setVisible()
40 return visible; in isVisible()
58 if (visible) { in draw()
/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/services/Car/car-lib/src/android/car/cluster/
DClusterActivityState.java75 @NonNull public ClusterActivityState setVisible(boolean visible) { in setVisible() argument
76 mVisible = visible; in setVisible()
113 boolean visible, @NonNull Rect unobscuredBounds) { in create() argument
115 .setVisible(visible) in create()
/packages/services/Car/service/src/com/android/car/cluster/
DClusterHealthMonitor.java88 boolean visible; in sendHeartbeat()
90 visible = mClusterActivityVisible; in sendHeartbeat()
92 sendHeartbeatInternal(epochTimeNs, visible, appMetadata); in sendHeartbeat()
95 private void sendHeartbeatInternal(long epochTimeNs, boolean visible, byte[] appMetadata) { in sendHeartbeatInternal() argument
96 mClusterHalService.sendHeartbeat(epochTimeNs, visible ? 1 : 0, appMetadata); in sendHeartbeatInternal()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DDefaultAppShortcutPreferenceControllerBase.java60 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/files/
DMenuManager.java227 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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DUserInfoView.java89 boolean visible = isUserVisible(user.id); in getStatus()
94 .append(visible ? " (visible)" : "") in getStatus()
102 boolean visible = context.getSystemService(UserManager.class).isUserVisible(); in isUserVisible()
103 Log.v(TAG, "isUserVisible(" + userId + "): " + visible); in isUserVisible()
104 return visible; in isUserVisible()
/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/DocumentsUI/src/com/android/documentsui/inspector/actions/
DActionView.java86 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/Car/Settings/src/com/android/car/settings/common/
DBaseActionItem.java70 public void setVisible(boolean visible) { in setVisible() argument
71 if (visible != mIsVisible) { in setVisible()
72 mIsVisible = visible; in setVisible()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/view/
DWallpaperSurfaceView.kt25 var visibilityCallback: (visible: Boolean) -> Unit = {} in <lambda>()
31 val visible = scrollContainer?.isVisible ?: false in onVisibilityChanged() constant
32 visibilityCallback(visible) in onVisibilityChanged()
/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/util/
DE2eeContactKeysPermissions.java63 boolean visible = false; in enforceVisibility()
65 visible = packageManager.canPackageQuery(callerPackageName, targetPackageName); in enforceVisibility()
69 if (!visible) { in enforceVisibility()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceController.java307 void setPrivateStorageCategoryPreferencesVisibility(boolean visible) { in setPrivateStorageCategoryPreferencesVisibility() argument
312 mImagesPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility()
313 mVideosPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility()
314 mAudioPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility()
315 mAppsPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility()
316 mGamesPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility()
317 mSystemPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility()
318 mTemporaryFilesPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility()
319 mCategorySplitterPreferenceCategory.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility()
320 mTrashPreference.setVisible(visible); in setPrivateStorageCategoryPreferencesVisibility()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DMotorolaInCallUiNotifier.java68 private void sendInCallUiBroadcast(boolean visible) { in sendInCallUiBroadcast() argument
71 "Send InCallUi Broadcast, visible: " + visible); in sendInCallUiBroadcast()
73 intent.putExtra(EXTRA_VISIBLE_KEY, visible); in sendInCallUiBroadcast()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/
DOverlayPanelViewController.java428 protected final void setPanelVisible(boolean visible) { in setPanelVisible() argument
429 mPanelVisible = visible; in setPanelVisible()
430 onPanelVisible(visible); in setPanelVisible()
440 protected void onPanelVisible(boolean visible) { in onPanelVisible() argument
442 Log.e(TAG, "onPanelVisible: " + visible); in onPanelVisible()
445 if (visible) { in onPanelVisible()
451 getLayout().setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in onPanelVisible()
455 l.onVisibilityChanged(visible); in onPanelVisible()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperConnection.java370 public void setVisibility(boolean visible) { in setVisibility() argument
372 mIsVisible = visible; in setVisibility()
373 setEngineVisibility(visible); in setVisibility()
412 private void setEngineVisibility(boolean visible) { in setEngineVisibility() argument
413 if (mEngine != null && visible != mIsEngineVisible) { in setEngineVisibility()
415 mEngine.setVisibility(visible); in setEngineVisibility()
416 mIsEngineVisible = visible; in setEngineVisibility()
/packages/apps/Dialer/java/com/android/dialer/speeddial/
DContextMenu.java41 private boolean visible; field in ContextMenu
55 menu.visible = true; in show()
66 visible = false; in hide()
120 return visible; in isVisible()

12345678910