Home
last modified time | relevance | path

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

/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/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/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/
DSimStatusDialogFragment.java77 public void removeSettingFromScreen(int viewId) { in removeSettingFromScreen() argument
78 final View view = mRootView.findViewById(viewId); in removeSettingFromScreen()
84 public void setText(int viewId, CharSequence text) { in setText() argument
85 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.java89 protected boolean onPerformActionForVirtualView(int viewId, int action, Bundle args) { in onPerformActionForVirtualView() argument
90 if (action == AccessibilityNodeInfoCompat.ACTION_CLICK && viewId != INVALID_ID) { in onPerformActionForVirtualView()
91 String confirmation = getConfirmationForIconDrop(viewId); in onPerformActionForVirtualView()
92 mDelegate.handleAccessibleDrop(mView, getItemBounds(viewId), confirmation); in onPerformActionForVirtualView()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAppPermissionsFragment.java315 long viewId = new Random().nextLong(); in logAppPermissionsFragmentView() local
333 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), category); in logAppPermissionsFragmentView()
345 logAppPermissionsFragmentViewEntry(sessionId, viewId, preference.getKey(), in logAppPermissionsFragmentView()
351 long sessionId, long viewId, String permissionGroupName, int category) { in logAppPermissionsFragmentViewEntry() argument
352 PermissionControllerStatsLog.write(APP_PERMISSIONS_FRAGMENT_VIEWED, sessionId, viewId, in logAppPermissionsFragmentViewEntry()
356 + viewId + " permissionGroupName=" + permissionGroupName + " uid=" in logAppPermissionsFragmentViewEntry()
DPermissionAppsFragment.java414 private void logPermissionAppsFragmentCreated(PermissionApp permissionApp, long viewId, in logPermissionAppsFragmentCreated() argument
427 PermissionControllerStatsLog.write(PERMISSION_APPS_FRAGMENT_VIEWED, sessionId, viewId, in logPermissionAppsFragmentCreated()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
DViewUtils.java193 int viewId = viewIds.getResourceId(i, 0);
194 if (viewId != 0) {
195 View view = root.findViewById(viewId);
/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.java105 public ImageButton createIconButton(Drawable icon, int viewId) { in createIconButton() argument
108 ImageButton button = (ImageButton) inflater.inflate(viewId, mSlots[0], attachToRoot); in createIconButton()
DControlBar.java201 public ImageButton createIconButton(Drawable icon, int viewId) { in createIconButton() argument
204 ImageButton button = (ImageButton) inflater.inflate(viewId, mFirstCreatedSlot, in createIconButton()
DCarControlBar.java56 ImageButton createIconButton(Drawable icon, int viewId); in createIconButton() argument
/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/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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/
DBenefitsAnimation.java285 for (int viewId : SLIDE_CAPTION_TEXT_VIEWS) { in applySlideCaptions()
286 ((TextView) mActivity.findViewById(viewId)).setText( in applySlideCaptions()
/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/Car/Media/src/com/android/car/media/
DBrowseFragment.java231 int viewId = mIsSearchFragment ? R.layout.fragment_search : R.layout.fragment_browse; in BrowseFragment() local
233 LayoutInflater.from(container.getContext()).inflate(viewId, container, false); in BrowseFragment()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java444 private boolean isDescendantViewVisible(int viewId) { in isDescendantViewVisible() argument
445 final View view = findViewById(viewId); in isDescendantViewVisible()