Home
last modified time | relevance | path

Searched refs:viewId (Results 1 – 19 of 19) 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/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/InCallUI/src/com/android/incallui/
DDialpadFragment.java391 int viewId = v.getId(); in onKey() local
392 if (mDisplayMap.containsKey(viewId)) { in onKey()
396 getPresenter().processDtmf(mDisplayMap.get(viewId)); in onKey()
413 int viewId = v.getId(); in onTouch() local
416 if (mDisplayMap.containsKey(viewId)) { in onTouch()
421 getPresenter().processDtmf(mDisplayMap.get(viewId)); in onTouch()
/packages/apps/Email/src/com/android/email/activity/
DUiUtilities.java34 public static <T extends View> T getView(View parent, int viewId) { in getView() argument
35 return (T) checkView(parent.findViewById(viewId)); in getView()
57 public static void setVisibilitySafe(View parent, int viewId, int visibility) { in setVisibilitySafe() argument
58 setVisibilitySafe(parent.findViewById(viewId), visibility); in setVisibilitySafe()
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
DWidgetConversationListItemViewBuilder.java90 int viewId = getFolderViewId(displayedFolder); in displayFolders() local
91 if (viewId == 0) { in displayFolders()
94 remoteViews.setViewVisibility(viewId, View.VISIBLE); in displayFolders()
98 remoteViews.setImageViewBitmap(viewId, bitmap); in displayFolders()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupFragment.java104 final int viewId = v.getId(); in onClick() local
107 if (viewId == R.id.next) { in onClick()
109 } else if (viewId == R.id.previous) { in onClick()
DAccountSetupCredentialsFragment.java292 final int viewId = view.getId(); in onClick() local
293 if (viewId == R.id.sign_in_with_oauth) { in onClick()
304 } else if (viewId == R.id.done) { in onClick()
307 } else if (viewId == R.id.cancel) { in onClick()
DAccountSetupBasicsFragment.java86 final int viewId = v.getId(); in onClick() local
89 if (viewId == R.id.next) { in onClick()
93 } else if (viewId == R.id.manual_setup) { in onClick()
DAccountSetupABFragment.java110 final int viewId = v.getId(); in onClick() local
112 if (viewId == R.id.ab_button_a) { in onClick()
114 } else if (viewId == R.id.ab_button_b) { in onClick()
DAccountServerBaseFragment.java185 final int viewId = v.getId(); in onClick() local
186 if (viewId == R.id.cancel) { in onClick()
189 } else if (viewId == R.id.done) { in onClick()
DAccountSetupTypeFragment.java89 final int viewId = v.getId(); in onClick() local
90 if (viewId <= mLastId) { in onClick()
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java850 FragmentTransaction ft, int viewId, int viewType, long timeMillis, boolean force) { in setMainPane() argument
866 Fragment oldFrag = fragmentManager.findFragmentById(viewId); in setMainPane()
964 ft.replace(viewId, frag); in setMainPane()
982 Log.d(TAG, "Adding handler with viewId " + viewId + " and type " + viewType); in setMainPane()
985 mController.registerEventHandler(viewId, (EventHandler) frag); in setMainPane()
987 mController.registerEventHandler(viewId, (EventHandler) secFrag); in setMainPane()
DUtils.java445 static void setDefaultView(Context context, int viewId) { in setDefaultView() argument
450 if (mAllowWeekForDetailView && viewId == CalendarController.ViewType.WEEK) { in setDefaultView()
453 validDetailView = viewId == CalendarController.ViewType.AGENDA in setDefaultView()
454 || viewId == CalendarController.ViewType.DAY; in setDefaultView()
459 editor.putInt(GeneralPreferences.KEY_DETAILED_VIEW, viewId); in setDefaultView()
463 editor.putInt(GeneralPreferences.KEY_START_VIEW, viewId); in setDefaultView()
/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/Mms/src/com/android/mms/ui/
DAttachmentEditor.java121 private View getStubView(int stubId, int viewId) { in getStubView() argument
122 View view = findViewById(viewId); in getStubView()
/packages/apps/Browser/src/com/android/browser/
DComboViewActivity.java241 private static String makeFragmentName(int viewId, int index) { in makeFragmentName() argument
242 return "android:switcher:" + viewId + ":" + index; in makeFragmentName()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClock.java491 private String makeFragmentName(int viewId, int index) { in makeFragmentName() argument
492 return "android:switcher:" + viewId + ":" + index; in makeFragmentName()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractActivityController.java1405 final int viewId = view.getId(); in onClick() local
1406 if (viewId == R.id.compose_button) { in onClick()
1408 } else if (viewId == android.R.id.home) { in onClick()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java704 int viewId = generateViewId(); in getViewIdForItem() local
705 mItemIdToViewId.put(itemId, viewId); in getViewIdForItem()
706 return viewId; in getViewIdForItem()