/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/element/ |
D | CarSystemBarElementStateController.java | 63 long viewId = controller.getUniqueViewId(); in registerController() local 64 if (viewId == View.NO_ID) { in registerController() 68 if (mControllers.containsKey(viewId)) { in registerController() 71 mControllers.put(viewId, new WeakReference<>(controller)); in registerController() 72 Bundle bundle = mStates.remove(viewId); in registerController() 80 long viewId = controller.getUniqueViewId(); in unregisterController() local 81 if (viewId == View.NO_ID) { in unregisterController() 85 mControllers.remove(viewId); in unregisterController()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | ViewHelper.java | 39 String getText(int viewId) { in getText() argument 40 return ((TextView) mView.findViewById(viewId)).getText().toString(); in getText() 43 void setText(int viewId, String text) { in setText() argument 45 TextView v = (TextView) mView.findViewById(viewId); in setText() 49 void setText(int viewId, int textId) { in setText() argument 50 TextView v = (TextView) mView.findViewById(viewId); in setText()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/ |
D | SimStatusDialogFragment.java | 95 public void setSettingVisibility(int viewId, boolean isVisible) { in setSettingVisibility() argument 96 final View view = mRootView.findViewById(viewId); in setSettingVisibility() 102 public void removeSettingFromScreen(int viewId) { in removeSettingFromScreen() argument 103 final View view = mRootView.findViewById(viewId); in removeSettingFromScreen() 117 public void setText(int viewId, @Nullable CharSequence text) { in setText() argument 123 final TextView textView = mRootView.findViewById(viewId); in setText() 129 } else if (Arrays.binarySearch(sViewIdsInDigitFormat, viewId) >= 0) { in setText()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DialogManager.java | 69 final int viewId = view.getId(); in showDialogInView() local 73 if (viewId == View.NO_ID) { in showDialogInView() 76 bundle.putInt(VIEW_ID_KEY, viewId); in showDialogInView() 96 final int viewId = bundle.getInt(VIEW_ID_KEY); in onCreateDialog() local 97 final View view = mActivity.findViewById(viewId); in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoDialogFragment.java | 83 public void removeViewFromScreen(int viewId) { in removeViewFromScreen() argument 84 final View view = mRootView.findViewById(viewId); in removeViewFromScreen() 100 public void setText(int viewId, CharSequence text) { in setText() argument 101 final TextView textView = mRootView.findViewById(viewId); in setText() 108 else if (Arrays.binarySearch(sViewIdsInDigitFormat, viewId) >= 0) { in setText()
|
/packages/apps/Contacts/src/com/android/contacts/drawer/ |
D | DrawerFragment.java | 238 final int viewId = v.getId(); 239 if (viewId == R.id.nav_all_contacts) { 242 } else if (viewId == R.id.nav_assistant) { 245 } else if (viewId == R.id.nav_group) { 250 } else if (viewId == R.id.nav_filter) { 255 } else if (viewId == R.id.nav_create_label) { 257 } else if (viewId == R.id.nav_settings) { 259 } else if (viewId == R.id.nav_help) {
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/ |
D | CustomSwipeAction.java | 48 public static void swipeLeftAndWait(int viewId) { in swipeLeftAndWait() argument 49 onView(withId(viewId)).perform(customSwipeLeft()); in swipeLeftAndWait() 61 public static void swipeRightAndWait(int viewId) { in swipeRightAndWait() argument 63 onView(withId(viewId)).perform(customSwipeRight()); in swipeRightAndWait()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | RoundedCornerEnforcement.java | 114 private static List<View> findViewsWithId(View view, @IdRes int viewId) { in findViewsWithId() argument 116 accumulateViewsWithId(view, viewId, output); in findViewsWithId() 121 private static void accumulateViewsWithId(View view, @IdRes int viewId, List<View> output) { in accumulateViewsWithId() argument 122 if (view.getId() == viewId) { in accumulateViewsWithId() 129 accumulateViewsWithId(vg.getChildAt(i), viewId, output); in accumulateViewsWithId() local
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryTipsCardPreference.java | 113 final int viewId = view.getId(); in onClick() local 114 if (viewId == R.id.main_button || viewId == R.id.battery_tips_card) { in onClick() 118 } else if (viewId == R.id.dismiss_button) { in onClick()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | DragAndDropAccessibilityDelegate.java | 94 public boolean onPerformActionForVirtualView(int viewId, int action, Bundle args) { in onPerformActionForVirtualView() argument 95 if (action == AccessibilityNodeInfoCompat.ACTION_CLICK && viewId != INVALID_ID) { in onPerformActionForVirtualView() 96 String confirmation = getConfirmationForIconDrop(viewId); in onPerformActionForVirtualView() 97 mDelegate.handleAccessibleDrop(mView, getItemBounds(viewId), confirmation); in onPerformActionForVirtualView()
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/ |
D | PlayerViewProvider.java | 51 final long viewId = mLastCreatedViewId.incrementAndGet(); in createPlayerView() local 52 final PlayerViewLogger logger = new PlayerViewLogger(viewId); in createPlayerView() 200 private PlayerViewLogger(long viewId) { in PlayerViewLogger() argument 201 mViewId = viewId; in PlayerViewLogger()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
D | GoOverviewActionsView.java | 88 private ArrowTipView showToolTip(int viewId, int textResourceId) { in showToolTip() argument 91 findViewById(viewId).getLocationOnScreen(location); in showToolTip() 94 /* arrowXCoord= */ location[0] + findViewById(viewId).getWidth() / 2, in showToolTip()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/floatingsheetcontent/ |
D | FloatingSheetContent.kt | 39 @get:LayoutRes abstract val viewId: Int constant in com.android.wallpaper.widget.floatingsheetcontent.FloatingSheetContent 64 val contentView = LayoutInflater.from(context).inflate(viewId, null) as T in createView()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleAccessibilityServicePreferenceFragment.java | 415 final int viewId = view.getId(); in onDialogButtonFromEnableToggleClicked() local 416 if (viewId == R.id.permission_enable_allow_button) { in onDialogButtonFromEnableToggleClicked() 418 } else if (viewId == R.id.permission_enable_deny_button) { in onDialogButtonFromEnableToggleClicked() 495 final int viewId = view.getId(); in onDialogButtonFromShortcutToggleClicked() local 496 if (viewId == R.id.permission_enable_allow_button) { in onDialogButtonFromShortcutToggleClicked() 498 } else if (viewId == R.id.permission_enable_deny_button) { in onDialogButtonFromShortcutToggleClicked()
|
D | ColorSelectorLayout.java | 137 private void setCheckedStateForView(int viewId, boolean checked) { in setCheckedStateForView() argument 138 final View checkedView = findViewById(viewId); in setCheckedStateForView()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoAppPermissionsFragment.java | 359 long viewId = new Random().nextLong(); in logAppPermissionsFragmentView() local 377 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), category); in logAppPermissionsFragmentView() 389 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), in logAppPermissionsFragmentView() 395 long sessionId, long viewId, String permissionGroupName, int category) { in logAppPermissionsFragmentViewEntry() argument 401 PermissionControllerStatsLog.write(APP_PERMISSIONS_FRAGMENT_VIEWED, sessionId, viewId, in logAppPermissionsFragmentViewEntry() 404 + " viewId=" + viewId + " permissionGroupName=" + permissionGroupName + " uid=" in logAppPermissionsFragmentViewEntry()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
D | CarSystemBarView.java | 284 public void setDisabledSystemBarButton(int viewId, boolean disabled, Runnable runnable, in setDisabledSystemBarButton() argument 286 CarSystemBarButton button = findViewById(viewId); in setDisabledSystemBarButton() 299 public void setVisibilityByViewId(int viewId, @Nullable String viewName, in setVisibilityByViewId() argument 301 View v = findViewById(viewId); in setVisibilityByViewId()
|
D | CarSystemBarController.java | 324 private void setDisabledSystemBarButton(int viewId, boolean disabled, in setDisabledSystemBarButton() argument 327 barView.setDisabledSystemBarButton(viewId, disabled, in setDisabledSystemBarButton() 332 private void setDisabledSystemBarContainer(int viewId, boolean disabled, in setDisabledSystemBarContainer() argument 335 barView.setVisibilityByViewId(viewId, viewName, in setDisabledSystemBarContainer()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | QuickstepWidgetHolder.java | 128 viewId -> KEY_VIEW_DATA_CHANGED.accept(view, viewId)); in updateDeferredView() 314 public void onViewDataChanged(int viewId) { in onViewDataChanged() argument 315 executeOnMainExecutor(KEY_VIEW_DATA_CHANGED, viewId); in onViewDataChanged()
|
/packages/apps/TV/tests/unit/src/com/android/tv/ |
D | MainActivityTest.java | 98 private View assertViewIsShown(String viewName, int viewId, boolean expected) { in assertViewIsShown() argument 99 View view = mActivity.findViewById(viewId); in assertViewIsShown()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | AppPermissionGroupsFragment.java | 560 long viewId = new Random().nextLong(); in logAppPermissionGroupsFragmentView() local 579 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), in logAppPermissionGroupsFragmentView() 592 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), in logAppPermissionGroupsFragmentView() 598 long sessionId, long viewId, String permissionGroupName, int category) { in logAppPermissionsFragmentViewEntry() argument 605 PermissionControllerStatsLog.write(APP_PERMISSIONS_FRAGMENT_VIEWED, sessionId, viewId, in logAppPermissionsFragmentViewEntry() 608 + viewId + " permissionGroupName=" + permissionGroupName + " uid=" in logAppPermissionsFragmentViewEntry()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | DialpadFragment.java | 105 int viewId = v.getId(); in onKey() local 106 if (displayMap.containsKey(viewId)) { in onKey() 110 getPresenter().processDtmf(displayMap.get(viewId)); in onKey()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | WearPermissionAppsFragment.kt | 107 { packageName, user, viewId, isAllowed, isAllowedForeground, isDenied -> in <lambda>() method 112 viewId, in <lambda>()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/decor/ |
D | CarPrivacyChipAnimationHelper.java | 106 private void hideViewWithoutAnimation(View container, int viewId) { in hideViewWithoutAnimation() argument 107 ImageView imageView = container.findViewById(viewId); in hideViewWithoutAnimation()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SearchWidgetProvider.kt | 74 viewId: Int, in setOnClickActivityIntent() 79 views.setOnClickPendingIntent(viewId, pendingIntent) in setOnClickActivityIntent()
|