Home
last modified time | relevance | path

Searched refs:mAdapter (Results 1 – 19 of 19) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DAbstractTestListActivity.java30 protected TestListAdapter mAdapter; field in AbstractTestListActivity
33 mAdapter = adapter; in setTestListAdapter()
34 setListAdapter(mAdapter); in setTestListAdapter()
35 mAdapter.loadTestResults(); in setTestListAdapter()
39 TestListItem item = mAdapter.getItem(position); in getIntent()
59 mAdapter.setTestResult(testResult); in handleLaunchTestResult()
DTestResultsReport.java75 private final TestListAdapter mAdapter; field in TestResultsReport
79 this.mAdapter = adapter; in TestResultsReport()
115 int count = mAdapter.getCount(); in getContents()
117 TestListItem item = mAdapter.getItem(i); in getContents()
122 xml.attribute(null, "result", getTestResultString(mAdapter.getTestResult(i))); in getContents()
124 String details = mAdapter.getTestDetails(i); in getContents()
DTestListActivity.java70 mAdapter.clearTestResults(); in handleClearItemSelected()
76 TestResultsReport report = new TestResultsReport(this, mAdapter); in handleViewItemSelected()
87 new ReportExporter(this, mAdapter).execute(); in handleExportItemSelected()
DReportExporter.java44 private final TestListAdapter mAdapter; field in ReportExporter
48 this.mAdapter = adapter; in ReportExporter()
59 TestResultsReport report = new TestResultsReport(mContext, mAdapter); in doInBackground()
/cts/tests/tests/widget/src/android/widget/cts/
DExpandableListTester.java32 private final ExpandableListAdapter mAdapter; field in ExpandableListTester
47 mAdapter = mExpandableListView.getExpandableListAdapter(); in ExpandableListTester()
84 int groupCount = mAdapter.getGroupCount(); in testContextMenus()
101 final int childrenCount = mAdapter.getChildrenCount(groupIndex); in testContextMenus()
136 Assert.assertTrue("Not enough groups", groupIndex < mAdapter.getGroupCount()); in expandAGroup()
152 final int groupCount = mAdapter.getGroupCount(); in testConvertionBetweenFlatAndPackedOnGroups()
178 final int childrenCount = mAdapter.getChildrenCount(groupIndex); in testConvertionBetweenFlatAndPackedOnChildren()
207 final int groupCount = mAdapter.getGroupCount(); in testSelectedPositionOnGroups()
232 final int childrenCount = mAdapter.getChildrenCount(groupIndex); in testSelectedPositionOnChildren()
DExpandableListViewBasicTest.java36 private ExpandableListAdapter mAdapter; field in ExpandableListViewBasicTest
49 mAdapter = mExpandableListView.getExpandableListAdapter(); in setUp()
110 mAdapter instanceof BaseExpandableListAdapter); in testExpandedGroupMovement()
111 final BaseExpandableListAdapter adapter = (BaseExpandableListAdapter) mAdapter; in testExpandedGroupMovement()
DAutoCompleteTextViewTest.java64 ArrayAdapter<String> mAdapter; field in AutoCompleteTextViewTest
93 mAdapter = new ArrayAdapter<String>(mActivity, in setUp()
167 Filter filter = mAdapter.getFilter(); in testAccessAdapter()
169 autoCompleteTextView.setAdapter(mAdapter); in testAccessAdapter()
170 assertSame(mAdapter, autoCompleteTextView.getAdapter()); in testAccessAdapter()
224 autoCompleteTextView.setAdapter(mAdapter); in testConvertSelectionToString()
369 mAutoCompleteTextView.setAdapter(mAdapter); in testOnFilterComplete()
425 mAutoCompleteTextView.setAdapter(mAdapter); in testPerformFiltering()
499 mAutoCompleteTextView.setAdapter(mAdapter); in testPerformCompletion()
598 mAutoCompleteTextView.setAdapter(mAdapter); in testAccessListSelection()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DRequesterTestListActivity.java46 protected TestListAdapter mAdapter; field in RequesterTestListActivity
69 mAdapter = getTestListAdapter(); in onCreate()
70 setTestListAdapter(mAdapter); in onCreate()
111 getPassButton().setEnabled(mAdapter.allTestsPassed()); in updatePassButton()
DP2pTestListActivity.java159 getPassButton().setEnabled(mAdapter.allTestsPassed()); in updatePassButton()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DPolicySerializationTestActivity.java62 private PolicyAdapter mAdapter; field in PolicySerializationTestActivity
99 mAdapter = new PolicyAdapter(this); in onCreate()
100 setListAdapter(mAdapter); in onCreate()
107 mAdapter.clear(); in loadPolicy()
113 mAdapter.add(item); in loadPolicy()
120 mAdapter.clear(); in generateRandomPolicy()
124 mAdapter.add(item); in generateRandomPolicy()
182 mApplyPolicyButton.setEnabled(!mAdapter.isEmpty()); in updateWidgets()
185 boolean enablePass = !mAdapter.isEmpty(); in updateWidgets()
186 int numItems = mAdapter.getCount(); in updateWidgets()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
DSuidFilesActivity.java59 private SuidFilesAdapter mAdapter; field in SuidFilesActivity
70 mAdapter = new SuidFilesAdapter(); in onCreate()
71 setListAdapter(mAdapter); in onCreate()
121 File file = mAdapter.getItem(position); in onListItemClick()
258 mAdapter.add(result); in onPostExecute()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java68 private final BluetoothAdapter mAdapter; field in BluetoothChatService
89 mAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothChatService()
285 tmp = mAdapter.listenUsingRfcommWithServiceRecord(NAME_SECURE, mUuid); in AcceptThread()
287 tmp = mAdapter.listenUsingInsecureRfcommWithServiceRecord(NAME_INSECURE, mUuid); in AcceptThread()
387 mAdapter.cancelDiscovery(); in run()
/cts/tests/src/android/widget/cts/util/
DExpandableListScenario.java42 protected ExpandableListAdapter mAdapter; field in ExpandableListScenario
57 ((ExpandableListView) listView).setAdapter(mAdapter = createAdapter()); in setAdapter()
278 final ExpandableListAdapter adapter = mAdapter; in findGroupWithNumChildren()
296 return mAdapter; in getAdapter()
/cts/tests/src/android/app/cts/
DExpandableListTestActivity.java44 private ExpandableListAdapter mAdapter; field in ExpandableListTestActivity
69 mAdapter = new SimpleExpandableListAdapter(this, groupData, in onCreate()
74 setListAdapter(mAdapter); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/
DCameraAnalyzerActivity.java73 private TwoColumnAdapter mAdapter; field in CameraAnalyzerActivity
108 mAdapter = new TwoColumnAdapter(this); in onCreate()
112 mTestList.setAdapter(mAdapter); in onCreate()
273 mAdapter.notifyDataSetChanged(); in onProgressUpdate()
489 mAdapter.clear(); in initializeAdapter()
492 mAdapter.add(mCurrentTest.getTestName(i)); in initializeAdapter()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/
DBackupTestActivity.java75 private BackupAdapter mAdapter; field in BackupTestActivity
85 mAdapter = new BackupAdapter(this); in onCreate()
86 setListAdapter(mAdapter); in onCreate()
175 mAdapter.clear(); in onPostExecute()
176 mAdapter.addAll(result); in onPostExecute()
/cts/tests/src/android/widget/cts/
DExpandableListSimple.java38 ((BaseExpandableListAdapter) mAdapter).notifyDataSetChanged(); in onCreateOptionsMenu()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DStreamingVideoActivity.java171 getPassButton().setEnabled(mAdapter.allTestsPassed()); in updatePassButton()
/cts/tools/dex-tools/dex/
Dclasses.out.dex11379 android.widget.ExpandableListAdapter mAdapter
13407 protected android.widget.ListAdapter mAdapter
93865 private android.widget.ListAdapter mAdapter
99603 android.widget.ListAdapter mAdapter
100428 android.widget.SpinnerAdapter mAdapter
103149 private android.widget.ExpandableListAdapter mAdapter
104056 private android.widget.ListAdapter mAdapter
107064 private android.widget.SpinnerAdapter mAdapter
116513 public android.widget.ListAdapter mAdapter
116611 private android.widget.ListAdapter mAdapter
[all …]