HomeSort by relevance Sort by last modified time
    Searched refs:ExpandableListView (Results 1 - 25 of 44) sorted by null

1 2

  /cts/tests/tests/widget/src/android/widget/cts/
ExpandableListViewTest.java 37 import android.widget.ExpandableListView;
40 import android.widget.ExpandableListView.OnChildClickListener;
41 import android.widget.ExpandableListView.OnGroupClickListener;
45 new ExpandableListView(mContext);
47 new ExpandableListView(mContext, null);
49 new ExpandableListView(mContext, null, 0);
54 new ExpandableListView(mContext, attrs);
55 new ExpandableListView(mContext, attrs, 0);
58 new ExpandableListView(null);
64 new ExpandableListView(null, null)
    [all...]
PositionTesterContextMenuListener.java 23 import android.widget.ExpandableListView;
39 testType = ExpandableListView.PACKED_POSITION_TYPE_GROUP;
45 testType = ExpandableListView.PACKED_POSITION_TYPE_CHILD;
66 menuInfo instanceof ExpandableListView.ExpandableListContextMenuInfo)) {
69 ExpandableListView.ExpandableListContextMenuInfo elvMenuInfo =
70 (ExpandableListView.ExpandableListContextMenuInfo) menuInfo;
73 int packedPositionType = ExpandableListView.getPackedPositionType(packedPosition);
78 int packedPositionGroup = ExpandableListView.getPackedPositionGroup(packedPosition);
83 if (testType == ExpandableListView.PACKED_POSITION_TYPE_CHILD) {
84 int packedPositionChild = ExpandableListView.getPackedPositionChild(packedPosition)
    [all...]
ExpandableListView_ExpandableListContextMenuInfoTest.java 22 import android.widget.ExpandableListView;
24 import android.widget.ExpandableListView.ExpandableListContextMenuInfo;
33 new ExpandableListView.ExpandableListContextMenuInfo(listview, 100L, 80L);
ExpandableListTester.java 24 import android.widget.ExpandableListView;
31 private final ExpandableListView mExpandableListView;
41 ExpandableListView expandableListView,
44 mExpandableListView = expandableListView;
64 // Add a position tester ContextMenu listener to the ExpandableListView
147 ExpandableListView.PACKED_POSITION_VALUE_NULL,
155 long packedPositionForGroup = ExpandableListView.getPackedPositionForGroup(groupIndex);
167 ExpandableListView.PACKED_POSITION_VALUE_NULL,
181 long childPos = ExpandableListView.getPackedPositionForChild(groupIndex, childIndex)
    [all...]
ExpandableListViewWithHeadersTest.java 25 import android.widget.ExpandableListView;
30 private ExpandableListView mExpandableListView;
ExpandableListViewBasicTest.java 26 import android.widget.ExpandableListView;
36 private ExpandableListView mExpandableListView;
  /frameworks/base/core/java/android/widget/
ExpandableListPosition.java 77 if (type == CHILD) return ExpandableListView.getPackedPositionForChild(groupPos, childPos);
78 else return ExpandableListView.getPackedPositionForGroup(groupPos);
90 if (packedPosition == ExpandableListView.PACKED_POSITION_VALUE_NULL) {
95 elp.groupPos = ExpandableListView.getPackedPositionGroup(packedPosition);
96 if (ExpandableListView.getPackedPositionType(packedPosition) ==
97 ExpandableListView.PACKED_POSITION_TYPE_CHILD) {
99 elp.childPos = ExpandableListView.getPackedPositionChild(packedPosition);
ExpandableListView.java 53 * default style for an {@link ExpandableListView} provides indicators which
54 * will be shown next to Views given to the {@link ExpandableListView}. The
60 * The context menu information set by an {@link ExpandableListView} will be a
68 * ExpandableListView in XML if the parent's size is also not strictly specified
71 * wrap_content if the ExpandableListView parent has a specific size, such as
86 public class ExpandableListView extends ListView {
131 /** Serves as the glue/translator between a ListView and an ExpandableListView */
222 public ExpandableListView(Context context) {
226 public ExpandableListView(Context context, AttributeSet attrs) {
230 public ExpandableListView(Context context, AttributeSet attrs, int defStyle)
    [all...]
FastScroller.java 624 if (mList instanceof ExpandableListView) {
625 ExpandableListView expList = (ExpandableListView) mList;
627 ExpandableListView.getPackedPositionForGroup(index + mListOffset)), 0);
638 if (mList instanceof ExpandableListView) {
639 ExpandableListView expList = (ExpandableListView) mList;
641 ExpandableListView.getPackedPositionForGroup(index + mListOffset)), 0);
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowExpandableListView.java 4 import android.widget.ExpandableListView;
5 import android.widget.ExpandableListView.OnChildClickListener;
10 @Implements(ExpandableListView.class)
12 @RealObject private ExpandableListView mExpandable;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ExpandableListViewTest.java 4 import android.widget.ExpandableListView;
18 private ExpandableListView expandableListView;
23 expandableListView = new ExpandableListView(null);
30 expandableListView.setOnChildClickListener(myOnChildClickListener);
31 expandableListView.performItemClick(null, 6, -1);
37 expandableListView.performItemClick(null, 6, -1);
42 expandableListView.setOnChildClickListener(myOnChildClickListener);
43 expandableListView.performItemClick(null, 6, -1)
    [all...]
  /cts/tests/src/android/widget/cts/util/
ExpandableListScenario.java 28 import android.widget.ExpandableListView;
36 * (flat list position) and an ExpandableListView's expected position. You must add/change
47 return new ExpandableListView(this);
57 ((ExpandableListView) listView).setAdapter(mAdapter = createAdapter());
81 * Get the ExpandableListView widget.
84 public ExpandableListView getExpandableListView() {
85 return (ExpandableListView) super.getListView();
176 final int type = ExpandableListView.getPackedPositionType(packedPosition);
178 if (type == ExpandableListView.PACKED_POSITION_TYPE_CHILD) {
179 return mGroups.get(ExpandableListView.getPackedPositionGroup(packedPosition)
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
ClusteredSuggestionsView.java 22 import android.widget.ExpandableListView;
27 public class ClusteredSuggestionsView extends ExpandableListView
55 ExpandableListView parent, View v, int groupPosition, long id) {
  /frameworks/base/core/java/android/app/
ExpandableListActivity.java 27 import android.widget.ExpandableListView;
40 * {@link android.widget.ExpandableListView ExpandableListView} object that can
52 * ExpandableListView object with the id "@android:id/list" (or
73 * <ExpandableListView android:id="@id/android:list"
142 * You bind the ExpandableListActivity's ExpandableListView object to data using
153 * @see android.widget.ExpandableListView
157 ExpandableListView.OnChildClickListener, ExpandableListView.OnGroupCollapseListener,
158 ExpandableListView.OnGroupExpandListener {
    [all...]
  /cts/tests/src/android/widget/cts/
ExpandableListWithHeaders.java 21 import android.widget.ExpandableListView;
41 final ExpandableListView expandableListView = getExpandableListView();
42 expandableListView.setItemsCanFocus(true);
47 expandableListView.addHeaderView(header);
53 expandableListView.addFooterView(footer);
57 setAdapter(expandableListView);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
ExpandableList1.java 30 import android.widget.ExpandableListView;
33 import android.widget.ExpandableListView.ExpandableListContextMenuInfo;
67 int type = ExpandableListView.getPackedPositionType(info.packedPosition);
68 if (type == ExpandableListView.PACKED_POSITION_TYPE_CHILD) {
69 int groupPos = ExpandableListView.getPackedPositionGroup(info.packedPosition);
70 int childPos = ExpandableListView.getPackedPositionChild(info.packedPosition);
74 } else if (type == ExpandableListView.PACKED_POSITION_TYPE_GROUP) {
75 int groupPos = ExpandableListView.getPackedPositionGroup(info.packedPosition);
112 // Layout parameters for the ExpandableListView
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DateSortedDownloadAdapter.java 24 import android.widget.ExpandableListView;
56 ExpandableListView.getPackedPositionForChild(groupPosition, childPosition));
DateSortedExpandableListAdapter.java 30 import android.widget.ExpandableListView;
235 if (ExpandableListView.getPackedPositionType(packedPosition) !=
236 ExpandableListView.PACKED_POSITION_TYPE_CHILD) {
239 int groupPosition = ExpandableListView.getPackedPositionGroup(
241 int childPosition = ExpandableListView.getPackedPositionChild(
DownloadList.java 49 import android.widget.ExpandableListView;
50 import android.widget.ExpandableListView.OnChildClickListener;
73 private ExpandableListView mDateOrderedListView;
235 mDateOrderedListView = (ExpandableListView) findViewById(R.id.date_ordered_list);
241 public boolean onChildClick(ExpandableListView parent, View v,
336 ExpandableListView ev = mDownloadList.getExpandableListView();
338 if (checked && (ExpandableListView.getPackedPositionType(pos) ==
339 ExpandableListView.PACKED_POSITION_TYPE_GROUP)) {
450 ExpandableListView getExpandableListView() {
  /cts/tests/src/android/app/cts/
ExpandableListTestActivity.java 30 import android.widget.ExpandableListView;
79 final ExpandableListView v = getExpandableListView();
102 final ExpandableListView currentView = getExpandableListView();
118 final ExpandableListView v = getExpandableListView();
124 if (ExpandableListView.getPackedPositionForChild(i, k) != getSelectedPosition())
130 if (ExpandableListView.getPackedPositionForChild(i, k) != getSelectedPosition())
  /packages/apps/Browser/src/com/android/browser/
DateSortedExpandableListAdapter.java 27 import android.widget.ExpandableListView;
224 if (ExpandableListView.getPackedPositionType(packedPosition) !=
225 ExpandableListView.PACKED_POSITION_TYPE_CHILD) {
228 int groupPosition = ExpandableListView.getPackedPositionGroup(
230 int childPosition = ExpandableListView.getPackedPositionChild(
BrowserHistoryPage.java 57 import android.widget.ExpandableListView;
58 import android.widget.ExpandableListView.ExpandableListContextMenuInfo;
59 import android.widget.ExpandableListView.OnChildClickListener;
83 private ExpandableListView mHistoryList;
225 mHistoryList = (ExpandableListView) mRoot.findViewById(R.id.history);
272 public boolean onChildClick(ExpandableListView parent, View view,
  /development/samples/BluetoothLeGatt/src/com/example/bluetooth/le/
DeviceControlActivity.java 34 import android.widget.ExpandableListView;
58 private ExpandableListView mGattServicesList;
120 private final ExpandableListView.OnChildClickListener servicesListClickListner =
121 new ExpandableListView.OnChildClickListener() {
123 public boolean onChildClick(ExpandableListView parent, View v, int groupPosition,
166 mGattServicesList = (ExpandableListView) findViewById(R.id.gatt_services_list);
245 // In this sample, we populate the data structure that is bound to the ExpandableListView
  /packages/apps/Calendar/src/com/android/calendar/selectcalendars/
SelectSyncedCalendarsMultiAccountActivity.java 29 import android.widget.ExpandableListView;
41 private ExpandableListView mList;
  /packages/apps/Music/src/com/android/music/
ArtistAlbumBrowserActivity.java 57 import android.widget.ExpandableListView;
62 import android.widget.ExpandableListView.ExpandableListContextMenuInfo;
108 ExpandableListView lv = getExpandableListView();
160 ExpandableListView lv = getExpandableListView();
249 ExpandableListView elv = getExpandableListView();
264 public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) {
329 int itemtype = ExpandableListView.getPackedPositionType(mi.packedPosition);
330 int gpos = ExpandableListView.getPackedPositionGroup(mi.packedPosition);
331 int cpos = ExpandableListView.getPackedPositionChild(mi.packedPosition);
332 if (itemtype == ExpandableListView.PACKED_POSITION_TYPE_GROUP)
    [all...]

Completed in 309 milliseconds

1 2