Searched refs:viewType (Results 1 - 12 of 12) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DSuggestionsAdapterBase.java55 for (String viewType : mViewFactory.getSuggestionViewTypes()) {
56 if (!mViewTypeMap.containsKey(viewType)) {
57 mViewTypeMap.put(viewType, mViewTypeMap.size());
132 String viewType = mViewFactory.getViewType(suggestion);
133 if (!mViewTypeMap.containsKey(viewType)) {
134 throw new IllegalStateException("Unknown viewType " + viewType);
136 return viewType;
H A DSuggestionViewInflater.java41 * @param viewType The unique type of views inflated by this factory
46 public SuggestionViewInflater(String viewType, Class<? extends SuggestionView> viewClass, argument
48 mViewType = viewType;
/packages/apps/Calendar/src/com/android/calendar/
H A DAllInOneActivity.java330 int viewType = -1;
334 viewType = icicle.getInt(BUNDLE_KEY_RESTORE_VIEW, -1);
347 if (viewType == -1 || viewType > ViewType.MAX_VALUE) {
348 viewType = Utils.getViewTypeFromIntentAndSharedPref(this);
411 configureActionBar(viewType);
428 initFragments(timeMillis, viewType, icicle);
461 private void configureActionBar(int viewType) { argument
462 createButtonsSpinner(viewType, mIsTabletConfig);
471 private void createButtonsSpinner(int viewType, boolea argument
621 initFragments(long timeMillis, int viewType, Bundle icicle) argument
849 setMainPane( FragmentTransaction ft, int viewId, int viewType, long timeMillis, boolean force) argument
[all...]
H A DCalendarController.java156 public int viewType; // one of the ViewType field in class:CalendarController.EventInfo
371 info.viewType = ViewType.CURRENT;
400 * @param viewType {@link ViewType}
403 int viewType) {
404 sendEvent(sender, eventType, start, end, start, eventId, viewType, EXTRA_GOTO_TIME, null,
412 int viewType, long extraLong, String query, ComponentName componentName) {
413 sendEvent(sender, eventType, start, end, start, eventId, viewType, extraLong, query,
418 long eventId, int viewType, long extraLong, String query, ComponentName componentName) {
425 info.viewType = viewType;
402 sendEvent(Object sender, long eventType, Time start, Time end, long eventId, int viewType) argument
411 sendEvent(Object sender, long eventType, Time start, Time end, long eventId, int viewType, long extraLong, String query, ComponentName componentName) argument
417 sendEvent(Object sender, long eventType, Time start, Time end, Time selected, long eventId, int viewType, long extraLong, String query, ComponentName componentName) argument
827 setViewType(int viewType) argument
[all...]
H A DCalendarViewAdapter.java86 public CalendarViewAdapter(Context context, int viewType, boolean showDate) { argument
90 mCurrentMainView = viewType;
262 TextView viewType = (TextView)v.findViewById(R.id.button_view);
266 viewType.setText(mButtonNames [DAY_BUTTON_INDEX]);
272 viewType.setText(mButtonNames [WEEK_BUTTON_INDEX]);
278 viewType.setText(mButtonNames [MONTH_BUTTON_INDEX]);
284 viewType.setText(mButtonNames [AGENDA_BUTTON_INDEX]);
296 // Updates the current viewType
298 public void setMainView(int viewType) { argument
299 mCurrentMainView = viewType;
[all...]
H A DSearchActivity.java223 searchEventInfo.viewType = ViewType.AGENDA;
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactTileAdapter.java436 private int getLayoutResourceId(int viewType) { argument
437 switch (viewType) {
447 throw new IllegalArgumentException("Unrecognized viewType " + viewType);
/packages/apps/Gallery2/src/com/android/photos/views/
H A DGalleryThumbnailView.java609 ((LayoutParams) optScrap.getLayoutParams()).viewType : -1;
634 sglp.viewType = positionViewType;
717 int viewType; field in class:GalleryThumbnailView.LayoutParams
829 ArrayList<View> scrap = mScrapViews[lp.viewType];
/packages/apps/Dialer/src/com/android/dialer/list/
H A DPhoneFavoritesTileAdapter.java417 final int viewType = getItemViewType(position);
420 if (viewType == ViewTypes.TOP) {
526 private int getLayoutResourceId(int viewType) { argument
527 switch (viewType) {
533 throw new IllegalArgumentException("Unrecognized viewType " + viewType);
/packages/apps/Settings/src/com/android/settings/
H A DCryptKeeper.java252 private boolean isDebugView(String viewType /* non-nullable */) {
253 return viewType.equals(getIntent().getStringExtra(EXTRA_FORCE_VIEW));
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
H A DStaggeredGridView.java3023 ((LayoutParams) scrap.getLayoutParams()).viewType : -1;
3055 sglp.viewType = positionViewType;
3086 ((LayoutParams) optScrap.getLayoutParams()).viewType : -1;
3115 sglp.viewType = positionViewType;
3691 int viewType; field in class:StaggeredGridView.LayoutParams
3821 final ArrayList<View> scrap = mScrapViews[lp.viewType];
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailFragment.java1064 ViewEntry(int viewType) { argument
1065 viewTypeForAdapter = viewType;

Completed in 317 milliseconds