Home
last modified time | relevance | path

Searched refs:viewId (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/CertInstaller/src/com/android/certinstaller/
DViewHelper.java39 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/Contacts/src/com/android/contacts/util/
DDialogManager.java69 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/Contacts/src/com/android/contacts/drawer/
DDrawerFragment.java238 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) {
DDrawerAdapter.java368 public BaseDrawerItem(int adapterViewType, int viewId, int textResId, int iconResId) { in BaseDrawerItem() argument
370 id = viewId; in BaseDrawerItem()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleAccessibilityServicePreferenceFragment.java425 final int viewId = view.getId(); in onDialogButtonFromEnableToggleClicked() local
426 if (viewId == R.id.permission_enable_allow_button) { in onDialogButtonFromEnableToggleClicked()
428 } else if (viewId == R.id.permission_enable_deny_button) { in onDialogButtonFromEnableToggleClicked()
488 final int viewId = view.getId(); in onDialogButtonFromShortcutToggleClicked() local
489 if (viewId == R.id.permission_enable_allow_button) { in onDialogButtonFromShortcutToggleClicked()
491 } else if (viewId == R.id.permission_enable_deny_button) { in onDialogButtonFromShortcutToggleClicked()
520 final int viewId = view.getId(); in onDialogButtonFromShortcutClicked() local
521 if (viewId == R.id.permission_enable_allow_button) { in onDialogButtonFromShortcutClicked()
523 } else if (viewId == R.id.permission_enable_deny_button) { in onDialogButtonFromShortcutClicked()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DRoundedCornerEnforcement.java114 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/deviceinfo/simstatus/
DSimStatusDialogFragment.java83 public void removeSettingFromScreen(int viewId) { in removeSettingFromScreen() argument
84 final View view = mRootView.findViewById(viewId); in removeSettingFromScreen()
90 public void setText(int viewId, CharSequence text) { in setText() argument
91 final TextView textView = mRootView.findViewById(viewId); in setText()
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
DImeiInfoDialogFragment.java79 public void removeViewFromScreen(int viewId) { in removeViewFromScreen() argument
80 final View view = mRootView.findViewById(viewId); in removeViewFromScreen()
86 public void setText(int viewId, CharSequence text) { in setText() argument
87 final TextView textView = mRootView.findViewById(viewId); in setText()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DDragAndDropAccessibilityDelegate.java94 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/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DGoOverviewActionsView.java87 private void showToolTip(int viewId, int textResourceId) { in showToolTip() argument
90 findViewById(viewId).getLocationOnScreen(location); in showToolTip()
93 /* arrowXCoord= */ location[0] + findViewById(viewId).getWidth() / 2, in showToolTip()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
DViewUtils.java250 int viewId = viewIds.getResourceId(i, 0);
251 if (viewId != 0) {
252 View view = root.findViewById(viewId);
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAppPermissionGroupsFragment.java638 long viewId = new Random().nextLong(); in logAppPermissionGroupsFragmentView() local
657 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), in logAppPermissionGroupsFragmentView()
670 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), in logAppPermissionGroupsFragmentView()
676 long sessionId, long viewId, String permissionGroupName, int category) { in logAppPermissionsFragmentViewEntry() argument
683 PermissionControllerStatsLog.write(APP_PERMISSIONS_FRAGMENT_VIEWED, sessionId, viewId, in logAppPermissionsFragmentViewEntry()
686 + viewId + " permissionGroupName=" + permissionGroupName + " uid=" in logAppPermissionsFragmentViewEntry()
DPermissionAppsFragment.java486 private void logPermissionAppsFragmentCreated(String packageName, UserHandle user, long viewId, in logPermissionAppsFragmentCreated() argument
505 PermissionControllerStatsLog.write(PERMISSION_APPS_FRAGMENT_VIEWED, sessionId, viewId, in logPermissionAppsFragmentCreated()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DWorkAdapterProvider.java55 int viewId = viewType == VIEW_TYPE_WORK_DISABLED_CARD ? R.layout.work_apps_paused in onCreateViewHolder() local
57 return new AllAppsGridAdapter.ViewHolder(layoutInflater.inflate(viewId, parent, false)); in onCreateViewHolder()
DAllAppsContainerView.java552 private boolean isDescendantViewVisible(int viewId) { in isDescendantViewVisible() argument
553 final View view = findViewById(viewId); in isDescendantViewVisible()
/packages/apps/Dialer/java/com/android/incallui/
DDialpadFragment.java105 int viewId = v.getId(); in onKey() local
106 if (displayMap.containsKey(viewId)) { in onKey()
110 getPresenter().processDtmf(displayMap.get(viewId)); in onKey()
/packages/apps/TV/tests/unit/src/com/android/tv/
DMainActivityTest.java98 private View assertViewIsShown(String viewName, int viewId, boolean expected) { in assertViewIsShown() argument
99 View view = mActivity.findViewById(viewId); in assertViewIsShown()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DMinimizedControlBar.java106 public ImageButton createIconButton(Drawable icon, int viewId) { in createIconButton() argument
109 ImageButton button = (ImageButton) inflater.inflate(viewId, mSlots[0], attachToRoot); in createIconButton()
DControlBar.java233 public ImageButton createIconButton(Drawable icon, int viewId) { in createIconButton() argument
236 ImageButton button = (ImageButton) inflater.inflate(viewId, mFirstCreatedSlot, in createIconButton()
DCarControlBar.java56 ImageButton createIconButton(Drawable icon, int viewId); in createIconButton() argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchWidgetProvider.java179 private void setOnClickActivityIntent(Context context, RemoteViews views, int viewId, in setOnClickActivityIntent() argument
182 views.setOnClickPendingIntent(viewId, pendingIntent); in setOnClickActivityIntent()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java401 static void setDefaultView(Context context, int viewId) { in setDefaultView() argument
406 if (mAllowWeekForDetailView && viewId == CalendarController.ViewType.WEEK) { in setDefaultView()
409 validDetailView = viewId == CalendarController.ViewType.AGENDA in setDefaultView()
410 || viewId == CalendarController.ViewType.DAY; in setDefaultView()
415 editor.putInt(GeneralPreferences.KEY_DETAILED_VIEW, viewId); in setDefaultView()
419 editor.putInt(GeneralPreferences.KEY_START_VIEW, viewId); in setDefaultView()
DAllInOneActivity.java745 FragmentTransaction ft, int viewId, int viewType, long timeMillis, boolean force) { in setMainPane() argument
833 ft.replace(viewId, frag); in setMainPane()
835 Log.d(TAG, "Adding handler with viewId " + viewId + " and type " + viewType); in setMainPane()
838 mController.registerEventHandler(viewId, (EventHandler) frag); in setMainPane()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DFadeAndShortSlide.java159 private boolean isParentForDelay(int viewId) { in isParentForDelay() argument
161 if (id == viewId) { in isParentForDelay()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DFullScreenAnimation.java147 private void setViewMargins(int viewId, float marginTop, float marginBottom, in setViewMargins() argument
160 mView.findViewById(viewId).setLayoutParams(layoutParams); in setViewMargins()

12