/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
H A D | SuggestionsAdapterBase.java | 55 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 D | SuggestionViewInflater.java | 41 * @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 D | AllInOneActivity.java | 330 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 D | CalendarController.java | 156 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 D | CalendarViewAdapter.java | 86 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 D | SearchActivity.java | 223 searchEventInfo.viewType = ViewType.AGENDA;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactTileAdapter.java | 436 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 D | GalleryThumbnailView.java | 609 ((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 D | PhoneFavoritesTileAdapter.java | 417 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 D | CryptKeeper.java | 252 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 D | StaggeredGridView.java | 3023 ((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 D | ContactDetailFragment.java | 1064 ViewEntry(int viewType) { argument 1065 viewTypeForAdapter = viewType;
|