Searched refs:listView (Results 1 - 25 of 26) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/widget/
H A DPinnedHeaderListAdapter.java90 public void configurePinnedHeaders(PinnedHeaderListView listView) { argument
105 listView.setHeaderInvisible(i, true);
109 int headerViewsCount = listView.getHeaderViewsCount();
116 int position = listView.getPositionAt(topHeaderHeight) - headerViewsCount;
122 listView.setHeaderPinnedAtTop(i, topHeaderHeight, false);
123 topHeaderHeight += listView.getPinnedHeaderHeight(i);
131 int listHeight = listView.getHeight();
134 int position = listView.getPositionAt(listHeight - bottomHeaderHeight)
145 int height = listView.getPinnedHeaderHeight(i);
151 listView
[all...]
H A DIndexerListAdapter.java160 public void configurePinnedHeaders(PinnedHeaderListView listView) { argument
161 super.configurePinnedHeaders(listView);
169 listView.setHeaderInvisible(index, false);
171 int listPosition = listView.getPositionAt(listView.getTotalTopPinnedHeaderHeight());
172 int position = listPosition - listView.getHeaderViewsCount();
184 listView.setHeaderInvisible(index, false);
201 listView.setFadingHeader(index, listPosition, isLastInSection);
H A DPinnedHeaderListView.java63 void configurePinnedHeaders(PinnedHeaderListView listView); argument
/packages/apps/Contacts/src/com/android/contacts/
H A DBackScrollManager.java73 public static void bind(ScrollableHeader header, ListView listView) { argument
74 BackScrollManager backScrollManager = new BackScrollManager(header, listView);
78 private BackScrollManager(ScrollableHeader header, ListView listView) { argument
80 mListView = listView;
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactNameHighlightingAnimation.java31 public ContactNameHighlightingAnimation(ListView listView, int duration) { argument
33 this.mListView = listView;
H A DContactBrowseListFragment.java572 AutoScrollListView listView = (AutoScrollListView)getListView();
573 listView.requestPositionToScreen(
574 selectedPosition + listView.getHeaderViewsCount(), mSmoothScrollRequested);
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DTransitionsAdapter.java38 * @param listView The list view
40 public TransitionsAdapter(Context context, AbsListView listView) { argument
41 super(context, listView);
H A DOverlaysAdapter.java47 * @param listView The list view
49 public OverlaysAdapter(Context context, AbsListView listView) { argument
50 super(context, listView);
H A DBaseAdapterWithImages.java118 * @param listView The list view
120 public BaseAdapterWithImages(Context context, AbsListView listView) { argument
122 mListView = listView;
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DMiscFilesHandler.java255 final ListView listView = (ListView) parent;
261 listView.setItemChecked(listPosition, isChecked);
268 if (listView.getCheckedItemCount() > 0) {
271 listView.setItemChecked(listPosition, !view.isChecked());
278 if (listView.getCheckedItemCount() > 0) {
279 listView.setItemChecked(listPosition, !view.isChecked());
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailDisplayUtils.java517 public static int getFirstListItemOffset(ListView listView) { argument
518 if (listView == null || listView.getChildCount() == 0 ||
519 listView.getFirstVisiblePosition() != 0) {
522 return listView.getChildAt(0).getTop();
528 * @param listView that should be scrolled
531 public static void requestToMoveToOffset(ListView listView, int offset) { argument
538 if (listView == null || listView.getChildCount() == 0 ||
539 listView
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DSearchActivity.java274 final ListView listView = getListView();
275 listView.setItemsCanFocus(true);
276 listView.setFocusable(true);
277 listView.setClickable(true);
353 listView.setFocusable(true);
354 listView.setFocusableInTouchMode(true);
355 listView.requestFocus();
H A DConversationList.java123 ListView listView = getListView();
124 listView.setOnCreateContextMenuListener(mConvListOnCreateContextMenuListener);
125 listView.setOnKeyListener(mThreadListKeyListener);
126 listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE_MODAL);
127 listView.setMultiChoiceModeListener(new ModeCallback());
131 listView.setEmptyView(emptyView);
787 ListView listView = getListView();
788 final int checkedCount = listView.getCheckedItemCount();
791 Cursor cursor = (Cursor)listView.getItemAtPosition(position);
H A DMessageListAdapter.java118 Context context, Cursor c, ListView listView,
134 listView.setRecyclerListener(new AbsListView.RecyclerListener() {
117 MessageListAdapter( Context context, Cursor c, ListView listView, boolean useDefaultColumnsMap, Pattern highlight) argument
/packages/apps/Settings/tests/src/com/android/settings/tests/
H A DBluetoothRequestPermissionTest.java86 ListView listView = (ListView) findViewById(R.id.msg_container);
87 listView.setAdapter(mMsgAdapter);
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DCallLogFragment.java109 final ListView listView = getListView();
110 if (listView.getFirstVisiblePosition() > 5) {
111 listView.setSelection(5);
113 listView.smoothScrollToPosition(0);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DGroupMembershipView.java259 ListView listView = mPopup.getListView();
260 listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
261 listView.setOverScrollMode(OVER_SCROLL_ALWAYS);
264 listView.setItemChecked(i, mAdapter.getItem(i).isChecked());
267 listView.setOnItemClickListener(this);
/packages/apps/Music/src/com/android/music/
H A DMusicPicker.java188 TrackListAdapter(Context context, ListView listView, int layout, argument
191 mListView = listView;
439 final ListView listView = getListView();
441 listView.setItemsCanFocus(false);
443 mAdapter = new TrackListAdapter(this, listView,
449 listView.setTextFilterEnabled(true);
452 listView.setSaveEnabled(false);
/packages/apps/Settings/src/com/android/settings/
H A DUserDictionarySettings.java131 final ListView listView = getListView();
132 listView.setAdapter(createAdapter());
133 listView.setFastScrollEnabled(true);
134 listView.setEmptyView(emptyView);
H A DZonePicker.java279 public void onListItemClick(ListView listView, View v, int position, long id) { argument
280 final Map<?, ?> map = (Map<?, ?>)listView.getItemAtPosition(position);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastListActivity.java63 ListView listView = getListView();
64 listView.setOnCreateContextMenuListener(mOnCreateContextMenuListener);
/packages/apps/Email/src/com/android/email/activity/
H A DShortcutPickerFragment.java99 ListView listView = getListView();
100 listView.setOnItemClickListener(this);
101 listView.setItemsCanFocus(false);
/packages/apps/MusicFX/src/com/android/musicfx/
H A DControlPanelPicker.java119 public void onPrepareListView(ListView listView) { argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DSearchActivityView.java522 SuggestionsListView<?> listView = (SuggestionsListView<?>) v;
523 if (onSuggestionKeyDown(listView.getSuggestionsAdapter(),
524 listView.getSelectedItemId(), keyCode, event)) {
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DUtility.java991 final ListView listView, final int position) {
999 listView.smoothScrollToPosition(position);
990 listViewSmoothScrollToPosition(final Activity activity, final ListView listView, final int position) argument

Completed in 487 milliseconds

12