Home
last modified time | relevance | path

Searched refs:visibility (Results 1 – 25 of 220) sorted by relevance

123456789

/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DCollapsedAlarmViewHolder.kt88 alarmLabel.visibility = View.VISIBLE in <lambda>()
92 alarmLabel.visibility = View.GONE in <lambda>()
105 daysOfWeek.visibility = View.VISIBLE in <lambda>()
107 daysOfWeek.visibility = View.GONE in <lambda>()
113 upcomingInstanceLabel.visibility = View.GONE in <lambda>()
115 upcomingInstanceLabel.visibility = View.VISIBLE in <lambda>()
157 clock.visibility = View.VISIBLE in <lambda>()
158 onOff.visibility = View.VISIBLE in <lambda>()
159 arrow.visibility = View.VISIBLE in <lambda>()
169 clock.visibility = View.INVISIBLE in <lambda>()
[all …]
DExpandedAlarmViewHolder.kt185 repeatDays.visibility = View.VISIBLE in <lambda>()
188 repeatDays.visibility = View.GONE in <lambda>()
203 vibrate.visibility = View.INVISIBLE in <lambda>()
205 vibrate.visibility = View.VISIBLE in <lambda>()
236 repeatDays.visibility = View.VISIBLE in <lambda>()
260 repeatDays.visibility = if (isExpansion) View.VISIBLE else View.GONE in <lambda>()
303 clock.visibility = View.VISIBLE in <lambda>()
304 onOff.visibility = View.VISIBLE in <lambda>()
305 arrow.visibility = View.VISIBLE in <lambda>()
315 arrow.visibility = View.INVISIBLE in <lambda>()
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarController.java144 public boolean setTopWindowVisibility(@View.Visibility int visibility) { in setTopWindowVisibility() argument
145 return setWindowVisibility(getTopWindow(), visibility); in setTopWindowVisibility()
149 public boolean setBottomWindowVisibility(@View.Visibility int visibility) { in setBottomWindowVisibility() argument
150 return setWindowVisibility(getBottomWindow(), visibility); in setBottomWindowVisibility()
154 public boolean setLeftWindowVisibility(@View.Visibility int visibility) { in setLeftWindowVisibility() argument
155 return setWindowVisibility(getLeftWindow(), visibility); in setLeftWindowVisibility()
159 public boolean setRightWindowVisibility(@View.Visibility int visibility) { in setRightWindowVisibility() argument
160 return setWindowVisibility(getRightWindow(), visibility); in setRightWindowVisibility()
163 private boolean setWindowVisibility(ViewGroup window, @View.Visibility int visibility) { in setWindowVisibility() argument
168 if (window.getVisibility() == visibility) { in setWindowVisibility()
[all …]
DCarSystemBarView.java184 private void setNavigationButtonsVisibility(int visibility) { in setNavigationButtonsVisibility() argument
186 mNavButtons.setVisibility(visibility); in setNavigationButtonsVisibility()
190 private void setKeyguardButtonsVisibility(int visibility) { in setKeyguardButtonsVisibility() argument
192 mLockScreenButtons.setVisibility(visibility); in setKeyguardButtonsVisibility()
196 private void setOcclusionButtonsVisibility(int visibility) { in setOcclusionButtonsVisibility() argument
198 mOcclusionButtons.setVisibility(visibility); in setOcclusionButtonsVisibility()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
DCarUiSeekBarDialogPreference.java155 public void setSeekBarTopTextViewVisibility(int visibility) { in setSeekBarTopTextViewVisibility() argument
157 mSeekBarTopTextView.setVisibility(visibility); in setSeekBarTopTextViewVisibility()
159 mSeekBarTopTextViewVisibility = visibility; in setSeekBarTopTextViewVisibility()
186 public void setSeekBarLeftTextViewVisibility(int visibility) { in setSeekBarLeftTextViewVisibility() argument
188 mSeekBarLeftTextView.setVisibility(visibility); in setSeekBarLeftTextViewVisibility()
190 mSeekBarLeftTextViewVisibility = visibility; in setSeekBarLeftTextViewVisibility()
218 public void setSeekBarRightTextViewVisibility(int visibility) { in setSeekBarRightTextViewVisibility() argument
220 mSeekBarRightTextView.setVisibility(visibility); in setSeekBarRightTextViewVisibility()
222 mSeekBarRightTextViewVisibility = visibility; in setSeekBarRightTextViewVisibility()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt216 fab.visibility = View.INVISIBLE in updateFab()
220 fab.visibility = View.VISIBLE in updateFab()
255 fab.visibility = View.VISIBLE in updateFab()
258 fab.visibility = View.INVISIBLE in updateFab()
279 left.visibility = View.VISIBLE in onUpdateFabButtons()
284 right.visibility = View.VISIBLE in onUpdateFabButtons()
290 left.visibility = if (hasTimers()) View.VISIBLE else View.INVISIBLE in onUpdateFabButtons()
292 right.visibility = View.INVISIBLE in onUpdateFabButtons()
396 pageIndicator.visibility = View.GONE in updatePageIndicators()
398 pageIndicator.visibility = View.VISIBLE in updatePageIndicators()
[all …]
/packages/modules/NetworkStack/
DAndroid.bp93 visibility: ["//visibility:private"],
106 visibility: ["//visibility:private"],
120 visibility: ["//visibility:private"],
142 visibility: ["//visibility:private"],
163 visibility: ["//visibility:private"],
180 visibility: [
200 visibility: [
240 visibility: [
261 visibility: [
278 visibility: [
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java438 final int visibility = cursor.getInt(UpdateQuery.VISIBILITY); in buildNotificationTag() local
441 if (isQueuedAndVisible(status, visibility)) { in buildNotificationTag()
443 } else if (isActiveAndVisible(status, visibility)) { in buildNotificationTag()
445 } else if (isCompleteAndVisible(status, visibility)) { in buildNotificationTag()
461 private static boolean isQueuedAndVisible(int status, int visibility) { in isQueuedAndVisible() argument
463 (visibility == VISIBILITY_VISIBLE in isQueuedAndVisible()
464 || visibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED); in isQueuedAndVisible()
467 private static boolean isActiveAndVisible(int status, int visibility) { in isActiveAndVisible() argument
469 (visibility == VISIBILITY_VISIBLE in isActiveAndVisible()
470 || visibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED); in isActiveAndVisible()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.kt214 digitalClock.visibility = View.GONE in setClockStyle()
215 analogClock.visibility = View.VISIBLE in setClockStyle()
219 digitalClock.visibility = View.VISIBLE in setClockStyle()
220 analogClock.visibility = View.GONE in setClockStyle()
233 digitalClock.visibility = View.GONE in setScreensaverClockStyle()
234 analogClock.visibility = View.VISIBLE in setScreensaverClockStyle()
238 digitalClock.visibility = View.VISIBLE in setScreensaverClockStyle()
239 analogClock.visibility = View.GONE in setScreensaverClockStyle()
334 nextAlarmView.visibility = View.VISIBLE in refreshAlarm()
335 nextAlarmIconView.visibility = View.VISIBLE in refreshAlarm()
[all …]
DClockFragment.kt188 fab.visibility = View.VISIBLE in onUpdateFab()
194 left.visibility = View.INVISIBLE in onUpdateFabButtons()
195 right.visibility = View.INVISIBLE in onUpdateFabButtons()
384 mDigitalClock.visibility = View.GONE in bind()
385 mAnalogClock.visibility = View.VISIBLE in bind()
389 mAnalogClock.visibility = View.GONE in bind()
390 mDigitalClock.visibility = View.VISIBLE in bind()
430 mHoursAhead.visibility = if (displayDifference) View.VISIBLE else View.GONE in bind()
444 mHoursAhead.visibility = if (displayDayOfWeek) View.VISIBLE else View.GONE in bind()
475 mHairline.visibility = if (showHairline) View.VISIBLE else View.GONE in bind()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidNativeInterface.java72 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
80 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
91 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
102 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
113 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
122 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
/packages/apps/Settings/src/com/android/settings/display/
DPreviewPagerAdapter.java151 private void setVisibility(final View view, final int visibility, boolean animate) { in setVisibility() argument
152 final float alpha = (visibility == View.VISIBLE ? 1.0f : 0.0f); in setVisibility()
155 view.setVisibility(visibility); in setVisibility()
157 final Interpolator interpolator = (visibility == View.VISIBLE ? FADE_IN_INTERPOLATOR in setVisibility()
159 if (visibility == View.VISIBLE) { in setVisibility()
169 view.setVisibility(visibility); in setVisibility()
182 view.setVisibility(visibility); in setVisibility()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DUndoBarView.java170 private static float getTargetAlpha(int visibility) { in getTargetAlpha() argument
171 return (visibility == VISIBLE) ? 1f : 0f; in getTargetAlpha()
175 public void setVisibility(int visibility) { in setVisibility() argument
176 mAlpha = getTargetAlpha(visibility); in setVisibility()
178 super.setVisibility(visibility); in setVisibility()
182 public void animateVisibility(int visibility) { in animateVisibility() argument
183 float target = getTargetAlpha(visibility); in animateVisibility()
DGLView.java98 public void setVisibility(int visibility) { in setVisibility() argument
99 if (visibility == getVisibility()) return; in setVisibility()
100 if (visibility == VISIBLE) { in setVisibility()
105 onVisibilityChanged(visibility); in setVisibility()
422 protected void onVisibilityChanged(int visibility) { in onVisibilityChanged() argument
426 child.onVisibilityChanged(visibility); in onVisibilityChanged()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsUnavailableFragment.java143 private void updateButtonVisibility(int visibility) { in updateButtonVisibility() argument
145 mAddAccountButton.setVisibility(visibility); in updateButtonVisibility()
146 mImportContactsButton.setVisibility(visibility); in updateButtonVisibility()
147 mButtonsContainer.setVisibility(visibility); in updateButtonVisibility()
149 mAddAccountButton.setVisibility(visibility); in updateButtonVisibility()
150 mImportContactsButton.setVisibility(visibility); in updateButtonVisibility()
/packages/modules/SdkExtensions/testing/
DAndroid.bp75 visibility: [
87 visibility: ["//visibility:private"],
95 visibility: ["//visibility:private"],
102 visibility: [
/packages/apps/Settings/src/com/android/settings/gestures/
DBackGestureIndicatorView.java63 int visibility = getSystemUiVisibility() in BackGestureIndicatorView() local
75 visibility |= View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR; in BackGestureIndicatorView()
78 visibility |= View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR; in BackGestureIndicatorView()
82 setSystemUiVisibility(visibility); in BackGestureIndicatorView()
/packages/modules/Wifi/framework/
DAndroid.bp29 visibility: ["//visibility:private"],
39 visibility: ["//visibility:private"],
108 visibility: [
168 visibility: test_access_hidden_api_whitelist,
/packages/modules/Connectivity/framework/
DAndroid.bp29 visibility: [
30 "//visibility:private",
40 visibility: [
41 "//visibility:private",
52 visibility: [
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DGrantPermissionsViewHandlerImpl.kt314 detailMessageView!!.visibility = View.GONE in <lambda>()
317 detailMessageView!!.visibility = View.VISIBLE in <lambda>()
324 buttons[pos]?.visibility = if (buttonVisibilities[pos]) { in <lambda>()
350 locationViews[LOCATION_ACCURACY_LAYOUT]?.visibility = View.VISIBLE in <lambda>()
352 locationViews[i]?.visibility = if (locationVisibilities[i]) { in <lambda>()
359 coarseRadioButton?.visibility = View.VISIBLE in <lambda>()
360 fineRadioButton?.visibility = View.VISIBLE in <lambda>()
383 locationViews[LOCATION_ACCURACY_LAYOUT]?.visibility = View.GONE in <lambda>()
386 locationViews[i]?.visibility = View.GONE in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherRootView.java98 protected void onWindowVisibilityChanged(int visibility) { in onWindowVisibilityChanged() argument
99 super.onWindowVisibilityChanged(visibility); in onWindowVisibilityChanged()
101 mWindowStateListener.onWindowVisibilityChanged(visibility); in onWindowVisibilityChanged()
144 void onWindowVisibilityChanged(int visibility); in onWindowVisibilityChanged() argument
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationItemView.java114 final int visibility; in updateHeader() local
117 visibility = View.INVISIBLE; in updateHeader()
120 visibility = View.VISIBLE; in updateHeader()
124 mHeaderCount.setVisibility(visibility); in updateHeader()
/packages/apps/Settings/src/com/android/settings/accessibility/
DDividerSwitchPreference.java83 public void setSwitchVisibility(@View.Visibility int visibility) { in setSwitchVisibility() argument
84 if (mSwitchVisibility != visibility) { in setSwitchVisibility()
85 mSwitchVisibility = visibility; in setSwitchVisibility()
/packages/modules/NetworkStack/tests/integration/
DAndroid.bp32 visibility: ["//visibility:private"],
54 visibility: ["//visibility:private"],
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java251 public boolean shouldHandleVisibilityChange(int visibility) { in shouldHandleVisibilityChange() argument
372 public boolean shouldHandleVisibilityChange(int visibility) { in shouldHandleVisibilityChange() argument
376 if (visibility == VISIBLE && !mShouldBeVisible) { in shouldHandleVisibilityChange()
1455 int visibility = show ? VISIBLE : INVISIBLE; in showSettingsClingIfEnabled() local
1456 mSettingsCling.setVisibility(visibility); in showSettingsClingIfEnabled()
1526 public void onVisibilityChanged(View v, int visibility) { in onVisibilityChanged() argument
1527 super.onVisibilityChanged(v, visibility); in onVisibilityChanged()
1528 if (visibility == VISIBLE) { in onVisibilityChanged()
1559 public void setVisibility(int visibility) { in setVisibility() argument
1561 if (currentState != null && !currentState.shouldHandleVisibilityChange(visibility)) { in setVisibility()
[all …]

123456789