Searched refs:viewId (Results 1 - 22 of 22) 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/Contacts/src/com/android/contacts/util/
H A DDialogManager.java69 final int viewId = view.getId();
73 if (viewId == View.NO_ID) {
76 bundle.putInt(VIEW_ID_KEY, viewId);
96 final int viewId = bundle.getInt(VIEW_ID_KEY);
97 final View view = mActivity.findViewById(viewId);
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupBasicsFragment.java86 final int viewId = v.getId();
89 if (viewId == R.id.next) {
93 } else if (viewId == R.id.manual_setup) {
H A DAccountSetupFragment.java104 final int viewId = v.getId();
107 if (viewId == R.id.next) {
109 } else if (viewId == R.id.previous) {
H A DAccountSetupABFragment.java110 final int viewId = v.getId();
112 if (viewId == R.id.ab_button_a) {
114 } else if (viewId == R.id.ab_button_b) {
H A DAccountSetupTypeFragment.java89 final int viewId = v.getId();
90 if (viewId <= mLastId) {
H A DAccountServerBaseFragment.java185 final int viewId = v.getId();
186 if (viewId == R.id.cancel) {
189 } else if (viewId == R.id.done) {
H A DAccountSetupCredentialsFragment.java292 final int viewId = view.getId();
293 if (viewId == R.id.sign_in_with_oauth) {
304 } else if (viewId == R.id.done) {
307 } else if (viewId == R.id.cancel) {
/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/TV/tests/unit/src/com/android/tv/
H A DMainActivityTest.java93 private View assertViewIsShown(String viewName, int viewId, boolean expected) argument
95 View view = mActivity.findViewById(viewId);
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
H A DWidgetConversationListItemViewBuilder.java90 int viewId = getFolderViewId(displayedFolder);
91 if (viewId == 0) {
94 remoteViews.setViewVisibility(viewId, View.VISIBLE);
98 remoteViews.setImageViewBitmap(viewId, bitmap);
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DDialpadFragment.java369 int viewId = v.getId();
370 if (mDisplayMap.containsKey(viewId)) {
374 getPresenter().processDtmf(mDisplayMap.get(viewId));
391 int viewId = v.getId();
394 if (mDisplayMap.containsKey(viewId)) {
399 getPresenter().processDtmf(mDisplayMap.get(viewId));
/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 DConditionAdapterUtils.java147 private static void setViewVisibility(View containerView, int viewId, boolean visible) { argument
148 View view = containerView.findViewById(viewId);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DDeskClock.java354 private String makeFragmentName(int viewId, int index) { argument
355 return "android:switcher:" + viewId + ":" + index;
/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DStopwatchModel.java319 private static void setTextViewDrawable(RemoteViews rv, int viewId, int drawableId) { argument
320 rv.setTextViewCompoundDrawablesRelative(viewId, drawableId, 0, 0, 0);
/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/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);
/packages/apps/Settings/src/com/android/settings/
H A DTrustedCredentialsSettings.java580 public void setContainerViewId(int viewId) { argument
581 mContainerView = (LinearLayout) mTabHost.findViewById(viewId);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAbstractActivityController.java1405 final int viewId = view.getId();
1406 if (viewId == R.id.compose_button) {
1408 } else if (viewId == android.R.id.home) {

Completed in 1324 milliseconds