Searched defs:listView (Results 1 - 15 of 15) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DContactListViewUtils.java18 private static void addPaddingToView(ListView listView, int parentWidth, argument
24 listView.setPadding(
26 listView.getPaddingTop(),
28 listView.getPaddingBottom());
30 listView.setClipToPadding(false);
31 listView.setScrollBarStyle(View.SCROLLBARS_OUTSIDE_OVERLAY);
36 * Add padding to {@param listView} if this configuration has set both space weight and
38 * layout file so that the {@param listView}'s padding can be set proportional to the card
42 * @param listView ListView that we add padding to
46 final ListView listView, fina
45 applyCardPaddingToView(Resources resources, final ListView listView, final View rootLayout) argument
[all...]
H A DViewUtil.java117 * @param listView to add the padding to
120 public static void addBottomPaddingToListViewForFab(ListView listView, Resources res) { argument
123 listView.setPaddingRelative(listView.getPaddingStart(), listView.getPaddingTop(),
124 listView.getPaddingEnd(), listView.getPaddingBottom() + fabPadding);
125 listView.setClipToPadding(false);
/packages/apps/MusicFX/src/com/android/musicfx/
H A DControlPanelPicker.java118 public void onPrepareListView(ListView listView) { argument
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
H A DViewUtil.java84 * @param listView to add the padding to
87 public static void addBottomPaddingToListViewForFab(ListView listView, Resources res) { argument
90 listView.setPaddingRelative(listView.getPaddingStart(), listView.getPaddingTop(),
91 listView.getPaddingEnd(), listView.getPaddingBottom() + fabPadding);
92 listView.setClipToPadding(false);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DPinnedHeaderListAdapter.java94 public void configurePinnedHeaders(PinnedHeaderListView listView) { argument
109 listView.setHeaderInvisible(i, true);
113 int headerViewsCount = listView.getHeaderViewsCount();
120 int position = listView.getPositionAt(topHeaderHeight) - headerViewsCount;
126 listView.setHeaderPinnedAtTop(i, topHeaderHeight, false);
127 topHeaderHeight += listView.getPinnedHeaderHeight(i);
135 int listHeight = listView.getHeight();
138 int position = listView.getPositionAt(listHeight - bottomHeaderHeight)
149 int height = listView.getPinnedHeaderHeight(i);
152 listView
[all...]
H A DIndexerListAdapter.java150 public void configurePinnedHeaders(PinnedHeaderListView listView) { argument
151 super.configurePinnedHeaders(listView);
159 listView.setHeaderInvisible(index, false);
161 int listPosition = listView.getPositionAt(listView.getTotalTopPinnedHeaderHeight());
162 int position = listPosition - listView.getHeaderViewsCount();
174 listView.setHeaderInvisible(index, false);
176 View topChild = listView.getChildAt(listPosition);
192 listView.setFadingHeader(index, listPosition, isLastInSection);
H A DPinnedHeaderListView.java64 void configurePinnedHeaders(PinnedHeaderListView listView); argument
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapSettingsAdapter.java68 ExpandableListView listView,
78 listView.setOnGroupExpandListener(new OnGroupExpandListener() {
67 BluetoothMapSettingsAdapter(Activity act, ExpandableListView listView, LinkedHashMap<BluetoothMapAccountItem, ArrayList<BluetoothMapAccountItem>> groupsList, int enabledAccountsCounts) argument
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDisplayUtils.java355 public static int getFirstListItemOffset(ListView listView) { argument
356 if (listView == null || listView.getChildCount() == 0 ||
357 listView.getFirstVisiblePosition() != 0) {
360 return listView.getChildAt(0).getTop();
366 * @param listView that should be scrolled
369 public static void requestToMoveToOffset(ListView listView, int offset) { argument
376 if (listView == null || listView.getChildCount() == 0 ||
377 listView
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DZonePicker.java210 public void onListItemClick(ListView listView, View v, int position, long id) { argument
213 final Map<?, ?> map = (Map<?, ?>)listView.getItemAtPosition(position);
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DConferenceParticipantListAdapter.java230 * @param listView The listview.
235 public ConferenceParticipantListAdapter(ListView listView, Context context, argument
238 mListView = listView;
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DRingtonePickerActivity.java231 public void onPrepareListView(ListView listView) { argument
234 mDefaultRingtonePos = addDefaultRingtoneItem(listView);
242 mSilentPos = addSilentItem(listView);
267 * @param listView The ListView to add to.
271 private int addStaticItem(ListView listView, int textResId) { argument
273 com.android.internal.R.layout.select_dialog_singlechoice_material, listView, false);
275 listView.addHeaderView(textView);
277 return listView.getHeaderViewsCount() - 1;
280 private int addDefaultRingtoneItem(ListView listView) { argument
282 return addStaticItem(listView,
290 addSilentItem(ListView listView) argument
[all...]
/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/services/Car/car-ui-provider/src/android/car/ui/provider/
H A DDrawerController.java101 PagedListView listView, CardView cardView) {
105 mListView = listView;
100 DrawerController(CarUiEntry uiEntry, View menuButton, CarDrawerLayout drawerLayout, PagedListView listView, CardView cardView) argument
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAnimatedAdapter.java253 SwipeableListView listView, final List<ConversationSpecialItemView> specialViews) {
260 R.layout.conversation_list_default_footer, listView, false);
262 mListView = listView;
251 AnimatedAdapter(Context context, ConversationCursor cursor, ConversationCheckedSet batch, ControllableActivity activity, SwipeableListView listView, final List<ConversationSpecialItemView> specialViews) argument

Completed in 769 milliseconds