/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowExpandableListView.java | 3 import android.widget.ExpandableListView; 6 @Implements(ExpandableListView.class)
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
ExpandableListViewBindingAdapter.java | 20 import android.widget.ExpandableListView; 23 @BindingMethod(type = ExpandableListView.class, attribute = "android:onChildClick", method = "setOnChildClickListener"), 24 @BindingMethod(type = ExpandableListView.class, attribute = "android:onGroupClick", method = "setOnGroupClickListener"), 25 @BindingMethod(type = ExpandableListView.class, attribute = "android:onGroupCollapse", method = "setOnGroupCollapseListener"), 26 @BindingMethod(type = ExpandableListView.class, attribute = "android:onGroupExpand", method = "setOnGroupExpandListener"),
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowExpandableListViewTest.java | 3 import android.widget.ExpandableListView; 13 private ExpandableListView expandableListView; 17 expandableListView = new ExpandableListView(RuntimeEnvironment.application); 22 expandableListView.performItemClick(null, 6, -1);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
PositionTesterContextMenuListener.java | 24 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...] |
ExpandableListViewTest.java | 52 import android.widget.ExpandableListView; 70 private ExpandableListView mExpandableListView; 86 new ExpandableListView(mActivity); 88 new ExpandableListView(mActivity, null); 90 new ExpandableListView(mActivity, null, android.R.attr.expandableListViewStyle); 92 new ExpandableListView(mActivity, null, 0, 95 new ExpandableListView(mActivity, null, 0, 98 new ExpandableListView(mActivity, null, 0, 101 new ExpandableListView(mActivity, null, 0, 107 new ExpandableListView(mActivity, attrs) [all...] |
ExpandableListView_ExpandableListContextMenuInfoTest.java | 27 import android.widget.ExpandableListView; 28 import android.widget.ExpandableListView.ExpandableListContextMenuInfo; 44 new ExpandableListView.ExpandableListContextMenuInfo(listview, 100L, 80L);
|
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);
|
ExpandableListTester.java | 24 import android.widget.ExpandableListView; 32 private final ExpandableListView mExpandableListView; 37 public ExpandableListTester(ExpandableListView expandableListView) { 38 mExpandableListView = expandableListView; 57 // Add a position tester ContextMenu listener to the ExpandableListView 140 ExpandableListView.PACKED_POSITION_VALUE_NULL, 148 long packedPositionForGroup = ExpandableListView.getPackedPositionForGroup(groupIndex); 160 ExpandableListView.PACKED_POSITION_VALUE_NULL, 174 long childPos = ExpandableListView.getPackedPositionForChild(groupIndex, childIndex) [all...] |
ExpandableListViewWithHeadersTest.java | 30 import android.widget.ExpandableListView; 46 private ExpandableListView mExpandableListView;
|
ExpandableListViewBasicTest.java | 31 import android.widget.ExpandableListView; 51 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 | 51 * default style for an {@link ExpandableListView} provides indicators which 52 * will be shown next to Views given to the {@link ExpandableListView}. The 58 * The context menu information set by an {@link ExpandableListView} will be a 66 * ExpandableListView in XML if the parent's size is also not strictly specified 69 * wrap_content if the ExpandableListView parent has a specific size, such as 84 public class ExpandableListView extends ListView { 129 /** Serves as the glue/translator between a ListView and an ExpandableListView */ 220 public ExpandableListView(Context context) { 224 public ExpandableListView(Context context, AttributeSet attrs) { 228 public ExpandableListView(Context context, AttributeSet attrs, int defStyleAttr) [all...] |
/external/robolectric/v1/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;
|
/frameworks/base/core/java/android/app/ |
ExpandableListActivity.java | 27 import android.widget.ExpandableListView; 39 * {@link android.widget.ExpandableListView ExpandableListView} object that can 51 * ExpandableListView object with the id "@android:id/list" (or 72 * <ExpandableListView android:id="@id/android:list" 141 * You bind the ExpandableListActivity's ExpandableListView object to data using 152 * @see android.widget.ExpandableListView 156 ExpandableListView.OnChildClickListener, ExpandableListView.OnGroupCollapseListener, 157 ExpandableListView.OnGroupExpandListener { [all...] |
/external/robolectric/v1/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/tests/widget/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); 59 ((ExpandableListView) listView).setAdapter(mAdapter); 84 * Get the ExpandableListView widget. 87 public ExpandableListView getExpandableListView() { 88 return (ExpandableListView) super.getListView(); 179 final int type = ExpandableListView.getPackedPositionType(packedPosition); 181 if (type == ExpandableListView.PACKED_POSITION_TYPE_CHILD) { 182 return mGroups.get(ExpandableListView.getPackedPositionGroup(packedPosition) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapSettings.java | 20 import android.widget.ExpandableListView; 48 ExpandableListView listView = 49 (ExpandableListView) findViewById(R.id.bluetooth_map_settings_list_view);
|
/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) {
|
/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
|
/cts/tests/app/app/src/android/app/stubs/ |
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/Messaging/src/com/android/messaging/ui/ |
VCardDetailFragment.java | 31 import android.widget.ExpandableListView; 32 import android.widget.ExpandableListView.OnChildClickListener; 53 private ExpandableListView mListView; 75 mListView = (ExpandableListView) view.findViewById(R.id.list); 88 public boolean onChildClick(ExpandableListView expandableListView, View clickedView,
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
HomeActivity.java | 31 import android.widget.ExpandableListView; 64 ExpandableListView listView = (ExpandableListView) findViewById(R.id.test_list);
|
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
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
|
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
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
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
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
|