/external/chromium_org/v8/test/promises-aplus/lib/ |
adapter.js | 30 global.adapter = {
|
/frameworks/base/telecomm/java/android/telecom/ |
ConnectionServiceAdapter.java | 49 void addAdapter(IConnectionServiceAdapter adapter) { 50 if (mAdapters.add(adapter)) { 52 adapter.asBinder().linkToDeath(this, 0); 54 mAdapters.remove(adapter); 59 void removeAdapter(IConnectionServiceAdapter adapter) { 60 if (adapter != null && mAdapters.remove(adapter)) { 61 adapter.asBinder().unlinkToDeath(this, 0); 70 IConnectionServiceAdapter adapter = it.next(); local 71 if (!adapter.asBinder().isBinderAlive()) [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
PostalAddressPickerFragment.java | 53 PostalAddressListAdapter adapter = (PostalAddressListAdapter)getAdapter(); local 54 pickPostalAddress(adapter.getDataUri(position)); 56 LegacyPostalAddressListAdapter adapter = (LegacyPostalAddressListAdapter)getAdapter(); local 57 pickPostalAddress(adapter.getContactMethodUri(position)); 64 PostalAddressListAdapter adapter = new PostalAddressListAdapter(getActivity()); local 65 adapter.setSectionHeaderDisplayEnabled(true); 66 adapter.setDisplayPhotos(true); 67 return adapter; 69 LegacyPostalAddressListAdapter adapter = local 71 adapter.setSectionHeaderDisplayEnabled(false) [all...] |
EmailAddressPickerFragment.java | 47 EmailAddressListAdapter adapter = (EmailAddressListAdapter)getAdapter(); local 51 pickEmailAddress(adapter.getDataUri(position)); 56 EmailAddressListAdapter adapter = new EmailAddressListAdapter(getActivity()); local 57 adapter.setSectionHeaderDisplayEnabled(true); 58 adapter.setDisplayPhotos(true); 59 return adapter;
|
/frameworks/base/core/java/android/nfc/ |
NfcManager.java | 47 NfcAdapter adapter; local 54 adapter = NfcAdapter.getNfcAdapter(context); 56 adapter = null; 58 mAdapter = adapter; 62 * Get the default NFC Adapter for this device. 64 * @return the default NFC Adapter
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List3.java | 45 SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, local 53 adapter.setViewBinder(new SimpleCursorAdapter.ViewBinder() { 55 //Let the adapter handle the binding if the column is not TYPE 72 setListAdapter(adapter);
|
AutoComplete1.java | 33 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local 36 textView.setAdapter(adapter);
|
AutoComplete2.java | 34 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local 39 textView.setAdapter(adapter);
|
AutoComplete3.java | 34 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local 39 textView.setAdapter(adapter); 41 textView.setAdapter(adapter);
|
List2.java | 41 ListAdapter adapter = new SimpleCursorAdapter(this, local 50 setListAdapter(adapter);
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
ColorPickerSimple.java | 57 * Initializes the listener and sets the adapter for the given list of suggestions. If the 76 ColorSuggestionListAdapter adapter = new ColorSuggestionListAdapter( local 78 adapter.setOnColorSuggestionClickListener(this); 79 setAdapter(adapter);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
BaseAdapterTest.java | 18 BaseAdapter adapter = new TestBaseAdapter(); local 19 adapter.notifyDataSetChanged(); 20 assertTrue(shadowOf(adapter).wasNotifyDataSetChangedCalled()); 25 BaseAdapter adapter = new TestBaseAdapter(); local 26 adapter.notifyDataSetChanged(); 27 shadowOf(adapter).clearWasDataSetChangedCalledFlag(); 28 assertFalse(shadowOf(adapter).wasNotifyDataSetChangedCalled());
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
SmartDialSearchFragment.java | 38 SmartDialNumberListAdapter adapter = new SmartDialNumberListAdapter(getActivity()); local 39 adapter.setUseCallableUri(super.usesCallableUri()); 40 adapter.setQuickContactEnabled(true); 43 adapter.setShortcutEnabled(SmartDialNumberListAdapter.SHORTCUT_DIRECT_CALL, false); 44 adapter.setShortcutEnabled(SmartDialNumberListAdapter.SHORTCUT_ADD_NUMBER_TO_CONTACTS, 46 return adapter; 58 final SmartDialNumberListAdapter adapter = (SmartDialNumberListAdapter) getAdapter(); local 60 adapter.configureLoader(loader); 72 final SmartDialNumberListAdapter adapter = (SmartDialNumberListAdapter) getAdapter(); local 73 return adapter.getDataUri(position) [all...] |
RegularSearchFragment.java | 49 RegularSearchListAdapter adapter = new RegularSearchListAdapter(getActivity()); local 50 adapter.setDisplayPhotos(true); 51 adapter.setUseCallableUri(usesCallableUri()); 52 return adapter; 58 final RegularSearchListAdapter adapter = local 61 adapter.getContactInfo(mCachedNumberLookupService, position));
|
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/ |
ListViewDraggingAnimation.java | 45 StableArrayAdapter adapter = new StableArrayAdapter(this, R.layout.text_view, mCheeseList); local 49 listView.setAdapter(adapter);
|
/external/chromium_org/device/bluetooth/ |
bluetooth_adapter_unittest.cc | 126 scoped_refptr<BluetoothAdapter> adapter = new TestBluetoothAdapter(); local 129 EXPECT_TRUE(adapter->DefaultPairingDelegate() == NULL); 133 scoped_refptr<BluetoothAdapter> adapter = new TestBluetoothAdapter(); local 138 adapter->AddPairingDelegate(&delegate, 141 EXPECT_EQ(&delegate, adapter->DefaultPairingDelegate()); 145 scoped_refptr<BluetoothAdapter> adapter = new TestBluetoothAdapter(); local 151 adapter->AddPairingDelegate(&delegate1, 153 adapter->AddPairingDelegate(&delegate2, 156 EXPECT_EQ(&delegate1, adapter->DefaultPairingDelegate()); 159 adapter->RemovePairingDelegate(&delegate1) 165 scoped_refptr<BluetoothAdapter> adapter = new TestBluetoothAdapter(); local 180 scoped_refptr<BluetoothAdapter> adapter = new TestBluetoothAdapter(); local [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListManagedCursor.java | 42 ListAdapter adapter = new SimpleCursorAdapter(this, local 51 setListAdapter(adapter);
|
ListWithHeaders.java | 54 final ListAdapter adapter = listView.getAdapter(); local 55 listView.setAdapter(adapter);
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
AutoCompleteTextViewActivityLandscape.java | 52 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local 55 textView.setAdapter(adapter);
|
AutoCompleteTextViewActivityPortrait.java | 46 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local 49 textView.setAdapter(adapter);
|
/frameworks/ex/common/tests/src/com/android/common/widget/ |
CompositeCursorAdapterTest.java | 81 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 82 adapter.addPartition(false, false); 83 adapter.addPartition(false, false); 85 adapter.changeCursor(0, makeCursor("a", 2)); 86 adapter.changeCursor(1, makeCursor("b", 3)); 88 assertEquals(5, adapter.getCount()); 92 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 93 adapter.addPartition(false, false); 94 adapter.addPartition(false, false); 96 adapter.changeCursor(0, makeCursor("a", 1)) 107 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 118 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 133 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 143 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 157 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 171 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 183 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 197 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 207 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 221 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 229 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local 237 TestCompositeCursorAdapter adapter = new TestCompositeCursorAdapter(); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
ParserAdapterTest.java | 65 private ParserAdapter adapter = new ParserAdapter(parser); field in class:ParserAdapterTest 77 adapter.setContentHandler(handler); 78 adapter.setDTDHandler(handler); 79 adapter.setErrorHandler(handler); 100 ParserAdapter adapter = new ParserAdapter(parser); local 104 adapter = new ParserAdapter(null); 117 adapter.setFeature(s, true); 118 assertEquals(true, adapter.getFeature(s)); 120 adapter.setFeature(s, false); 121 assertEquals(false, adapter.getFeature(s)) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
CursorTreeAdapterTest.java | 155 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 156 assertSame(mGroupCursor, adapter.getCursor()); 158 adapter.changeCursor(null); 159 assertNull(adapter.getCursor()); 161 adapter.setGroupCursor(mGroupCursor); 162 assertSame(mGroupCursor, adapter.getCursor()); 167 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 168 assertSame(mGroupCursor, adapter.getCursor()); 170 adapter.setGroupCursor(null); 171 assertNull(adapter.getCursor()) 179 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 189 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local 201 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 240 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 266 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 292 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 330 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 339 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 349 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 357 MockCursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 369 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 381 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 395 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local 415 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 424 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local 444 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local 476 CursorTreeAdapter adapter = new MockCursorTreeAdapter(mGroupCursor, mContext); local 504 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local 533 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local 553 CursorTreeAdapter adapter = new MockCursorTreeAdapter(null, mContext); local [all...] |
BaseExpandableListAdapterTest.java | 30 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 31 assertTrue(adapter.areAllItemsEnabled()); 35 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 37 long childID = adapter.getCombinedChildId(10, 100); 38 long groupID = adapter.getCombinedGroupId(10); 43 childID = adapter.getCombinedChildId(0, 0); 44 groupID = adapter.getCombinedGroupId(0); 49 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 50 assertTrue(adapter.isEmpty()); 51 adapter.setGroupCount(10) 56 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 66 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 76 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 82 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local 88 MockBaseExpandableListAdapter adapter = new MockBaseExpandableListAdapter(); local [all...] |
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
BasicAdapterTest.java | 124 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local 127 disable(adapter); 128 enable(adapter); 137 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local 138 enable(adapter); 140 assertTrue(BluetoothAdapter.checkBluetoothAddress(adapter.getAddress())); 148 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local 149 enable(adapter); 151 String name = adapter.getName(); 160 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter() local 176 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local 212 BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter(); local [all...] |