Searched defs:viewId (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Email/src/com/android/email/activity/
H A DUiUtilities.java34 public static <T extends View> T getView(View parent, int viewId) { argument
35 return (T) checkView(parent.findViewById(viewId));
57 public static void setVisibilitySafe(View parent, int viewId, int visibility) { argument
58 setVisibilitySafe(parent.findViewById(viewId), visibility);
/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DViewHelper.java39 String getText(int viewId) { argument
40 return ((TextView) mView.findViewById(viewId)).getText().toString();
43 void setText(int viewId, String text) { argument
45 TextView v = (TextView) mView.findViewById(viewId);
49 void setText(int viewId, int textId) { argument
50 TextView v = (TextView) mView.findViewById(viewId);
/packages/apps/TV/tests/unit/src/com/android/tv/
H A DMainActivityTest.java96 private View assertViewIsShown(String viewName, int viewId, boolean expected) { argument
97 View view = mActivity.findViewById(viewId);
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
H A DDragAndDropAccessibilityDelegate.java88 protected boolean onPerformActionForVirtualView(int viewId, int action, Bundle args) { argument
89 if (action == AccessibilityNodeInfoCompat.ACTION_CLICK && viewId != INVALID_ID) {
90 String confirmation = getConfirmationForIconDrop(viewId);
91 mDelegate.handleAccessibleDrop(mView, getItemBounds(viewId), confirmation);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSearchWidgetProvider.java179 private void setOnClickActivityIntent(Context context, RemoteViews views, int viewId, argument
182 views.setOnClickPendingIntent(viewId, pendingIntent);
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
H A DConditionAdapter.java183 private void setViewVisibility(View containerView, int viewId, boolean visible) { argument
184 View view = containerView.findViewById(viewId);
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
H A DFadeAndShortSlide.java155 private boolean isParentForDelay(int viewId) { argument
157 if (id == viewId) {
/packages/apps/Contacts/src/com/android/contacts/drawer/
H A DDrawerAdapter.java372 public BaseDrawerItem(int adapterViewType, int viewId, int textResId, int iconResId) { argument
374 id = viewId;
/packages/apps/Calendar/src/com/android/calendar/
H A DAllInOneActivity.java850 FragmentTransaction ft, int viewId, int viewType, long timeMillis, boolean force) {
866 Fragment oldFrag = fragmentManager.findFragmentById(viewId);
964 ft.replace(viewId, frag);
982 Log.d(TAG, "Adding handler with viewId " + viewId + " and type " + viewType);
985 mController.registerEventHandler(viewId, (EventHandler) frag);
987 mController.registerEventHandler(viewId, (EventHandler) secFrag);
849 setMainPane( FragmentTransaction ft, int viewId, int viewType, long timeMillis, boolean force) argument
H A DUtils.java443 * @param viewId {@link CalendarController.ViewType}
445 static void setDefaultView(Context context, int viewId) { argument
450 if (mAllowWeekForDetailView && viewId == CalendarController.ViewType.WEEK) {
453 validDetailView = viewId == CalendarController.ViewType.AGENDA
454 || viewId == CalendarController.ViewType.DAY;
459 editor.putInt(GeneralPreferences.KEY_DETAILED_VIEW, viewId);
463 editor.putInt(GeneralPreferences.KEY_START_VIEW, viewId);

Completed in 377 milliseconds