HomeSort by relevance Sort by last modified time
    Searched refs:adapter (Results 151 - 175 of 646) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/chromium_org/content/renderer/media/
webcontentdecryptionmodule_impl.cc 152 scoped_ptr<SessionIdAdapter> adapter(new SessionIdAdapter());
153 if (!adapter->Initialize(UTF16ToASCII(key_system), &media_keys))
156 return new WebContentDecryptionModuleImpl(media_keys.Pass(), adapter.Pass());
161 scoped_ptr<SessionIdAdapter> adapter)
163 adapter_(adapter.Pass()) {
  /external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
DexmakerMockMaker.java 74 InvocationHandlerAdapter adapter = getInvocationHandlerAdapter(mock); local
75 adapter.setHandler(newHandler);
79 InvocationHandlerAdapter adapter = getInvocationHandlerAdapter(mock); local
80 return adapter != null ? adapter.getHandler() : null;
  /frameworks/opt/mailcommon/java/com/android/mailcommon/
MultiAdapterSpinner.java 43 * adapter (which prevents setting multiple item types) and hides access to its popup, which is
65 * A basic adapter with some callbacks added so clients can be involved in spinner behavior.
112 public void setSelectedItem(final FancySpinnerAdapter adapter, final int position) {
118 if (a == adapter) {
126 if (adapter.canSelect(position)) {
128 View itemView = adapter.getView(position, null, this);
133 if (position < adapter.getCount()) {
  /hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/
FmPresetList.java 44 public static SimpleAdapter adapter; field in class:FmPresetList
58 // Now build the list adapter
59 this.adapter = new SimpleAdapter(
72 setListAdapter(this.adapter);
73 adapter.notifyDataSetChanged();
112 this.setListAdapter(this.adapter);
133 /* Get the selected item out of the Adapter by its position. */
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
MultiAdapterSpinner.java 42 * adapter (which prevents setting multiple item types) and hides access to its popup, which is
64 * A basic adapter with some callbacks added so clients can be involved in spinner behavior.
111 public void setSelectedItem(final FancySpinnerAdapter adapter, final int position) {
117 if (a == adapter) {
125 if (adapter.canSelect(position)) {
127 View itemView = adapter.getView(position, null, this);
132 if (position < adapter.getCount()) {
  /external/chromium_org/chrome/browser/extensions/api/bluetooth/
bluetooth_api.cc 225 scoped_refptr<device::BluetoothAdapter> adapter) {
230 BluetoothDevice* device = adapter->GetDevice(options.device.address);
255 scoped_refptr<BluetoothAdapter> adapter) {
257 PopulateAdapterState(*adapter.get(), &state);
292 scoped_refptr<BluetoothAdapter> adapter) {
309 BluetoothAdapter::DeviceList devices = adapter->GetDevices();
346 scoped_refptr<BluetoothAdapter> adapter) {
351 BluetoothDevice* device = adapter->GetDevice(options.device_address);
380 bool BluetoothConnectFunction::DoWork(scoped_refptr<BluetoothAdapter> adapter) {
391 BluetoothDevice* device = adapter->GetDevice(options.device.address)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
ImportExportDialogFragment.java 86 // Adapter that shows a list of string resources
87 final ArrayAdapter<Integer> adapter = new ArrayAdapter<Integer>(getActivity(), local
102 adapter.add(R.string.import_from_sim);
105 adapter.add(R.string.import_from_sdcard);
109 adapter.add(R.string.export_to_sdcard);
114 adapter.add(R.string.share_visible_contacts);
123 final int resId = adapter.getItem(which);
158 .setSingleChoiceItems(adapter, -1, clickListener)
  /packages/apps/Contacts/src/com/android/contacts/list/
DefaultContactBrowseListFragment.java 94 DefaultContactListAdapter adapter = new DefaultContactListAdapter(getContext()); local
95 adapter.setSectionHeaderDisplayEnabled(isSectionHeaderDisplayEnabled());
97 adapter.setDisplayPhotos(showPhoto);
100 adapter.setPhotoPosition(ContactListItemView.getDefaultPhotoPosition(reverse));
102 return adapter;
217 ContactListAdapter adapter = getAdapter(); local
218 if (adapter == null) {
223 if (TextUtils.isEmpty(getQueryString()) || !adapter.areAllPartitionsEmpty()) {
228 if (adapter.isLoading()) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
XmlProperty.java 126 public <T> T getAdapter(Class<T> adapter) {
128 if (adapter == PropertyTooltipProvider.class) {
129 return adapter.cast(new PropertyTooltipTextProvider() {
140 } else if (adapter == IContentProposalProvider.class) {
143 return adapter.cast(new PropertyValueCompleter(this));
146 return adapter.cast(new ResourceValueCompleter(this));
147 } else if (adapter == ILabelProvider.class) {
148 return adapter.cast(new LabelProvider() {
160 return super.getAdapter(adapter);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Animation3.java 46 ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, local
48 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
49 s.setAdapter(adapter);
  /external/chromium/chrome/browser/ui/webui/
cookies_tree_model_adapter.cc 17 // Returns a unique callback name for |adapter|'s requestChildren.
18 std::string GetRequestChildrenCallbackName(CookiesTreeModelAdapter* adapter) {
21 base::HexEncode(&adapter, sizeof(adapter));
  /external/chromium_org/chrome/browser/media_galleries/fileapi/
supported_image_type_validator.cc 132 // |adapter| will delete itself after a completion message is received.
133 ImageDecoderDelegateAdapter* adapter = local
135 decoder_ = new ImageDecoder(adapter, adapter->data(),
  /external/chromium_org/chrome/browser/ui/webui/options/chromeos/
bluetooth_options_handler.cc 154 device::BluetoothAdapter* adapter,
156 DCHECK(adapter == adapter_.get());
162 // new adapter.
171 device::BluetoothAdapter* adapter,
173 DCHECK(adapter == adapter_.get());
214 scoped_refptr<device::BluetoothAdapter> adapter) {
215 adapter_ = adapter;
542 void BluetoothOptionsHandler::DeviceAdded(device::BluetoothAdapter* adapter,
544 DCHECK(adapter == adapter_.get());
549 void BluetoothOptionsHandler::DeviceChanged(device::BluetoothAdapter* adapter,
    [all...]
  /frameworks/base/core/java/android/app/
ExpandableListActivity.java 93 * for each row. This adapter has separate methods for providing the group
240 * Provide the adapter for the expandable list.
242 public void setListAdapter(ExpandableListAdapter adapter) {
245 mAdapter = adapter;
246 mList.setAdapter(adapter);
  /frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
ListViewAddRemoveNoTransition.java 48 final StableArrayAdapter adapter = new StableArrayAdapter(this, local
50 listview.setAdapter(adapter);
64 adapter.notifyDataSetChanged();
  /packages/apps/Settings/src/com/android/settings/applications/
AppOpsSummary.java 103 MyPagerAdapter adapter = new MyPagerAdapter(getChildFragmentManager()); local
104 mViewPager.setAdapter(adapter);
105 mViewPager.setOnPageChangeListener(adapter);
  /frameworks/base/core/java/android/widget/
RemoteViewsAdapter.java 51 * An adapter to a RemoteViewsService which fetches and caches RemoteViews
115 // Used to indicate to the AdapterView that it can use this Adapter immediately after
127 * @return whether the adapter was set or not.
145 * FrameLayouts in the adapter).
154 public RemoteViewsAdapterServiceConnection(RemoteViewsAdapter adapter) {
155 mAdapter = new WeakReference<RemoteViewsAdapter>(adapter);
161 RemoteViewsAdapter adapter; local
163 if ((adapter = mAdapter.get()) != null) {
164 checkInteractAcrossUsersPermission(context, adapter.mUserId);
166 new UserHandle(adapter.mUserId))
181 RemoteViewsAdapter adapter; local
202 final RemoteViewsAdapter adapter = mAdapter.get(); local
268 final RemoteViewsAdapter adapter = mAdapter.get(); local
    [all...]
Spinner.java 46 * The items in the Spinner come from the {@link Adapter} associated with
400 * Sets the Adapter used to provide the data which backs this Spinner.
402 * Note that Spinner overrides {@link Adapter#getViewTypeCount()} on the
403 * Adapter associated with this view. Calling
404 * {@link Adapter#getItemViewType(int) getItemViewType(int)} on the object
406 * {@link Adapter#getViewTypeCount() getViewTypeCount()} will always return
412 public void setAdapter(SpinnerAdapter adapter) {
413 super.setAdapter(adapter);
418 mPopup.setAdapter(new DropDownAdapter(adapter));
420 mTempAdapter = new DropDownAdapter(adapter);
877 final ListAdapter adapter = mListAdapter; local
890 final ListAdapter adapter = mListAdapter; local
    [all...]
ExpandableListConnector.java 43 * itself, this adapter has no data and is a connector to a
84 * @param expandableListAdapter the adapter that supplies us with data/Views
470 HeterogeneousExpandableList adapter = local
473 retValue = adapter.getGroupType(pos.groupPos);
475 final int childType = adapter.getChildType(pos.groupPos, pos.childPos);
476 retValue = adapter.getGroupTypeCount() + childType;
494 HeterogeneousExpandableList adapter = local
496 return adapter.getGroupTypeCount() + adapter.getChildTypeCount();
729 ExpandableListAdapter adapter = getAdapter() local
763 ExpandableListAdapter adapter = getAdapter(); local
815 ExpandableListAdapter adapter = getAdapter(); local
    [all...]
  /external/chromium_org/content/public/test/
browser_test_utils.cc 302 bool ExecuteScriptInFrame(const internal::ToRenderViewHost& adapter,
307 return ExecuteScriptHelper(adapter.render_view_host(), frame_xpath, script,
312 const internal::ToRenderViewHost& adapter,
318 if (!ExecuteScriptHelper(adapter.render_view_host(), frame_xpath, script,
326 const internal::ToRenderViewHost& adapter,
332 if (!ExecuteScriptHelper(adapter.render_view_host(), frame_xpath, script,
340 const internal::ToRenderViewHost& adapter,
346 if (!ExecuteScriptHelper(adapter.render_view_host(), frame_xpath, script,
353 bool ExecuteScript(const internal::ToRenderViewHost& adapter,
355 return ExecuteScriptInFrame(adapter, std::string(), script)
    [all...]
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/
ComplexProperty.java 143 // Adapter
147 public <T> T getAdapter(Class<T> adapter) {
148 if (adapter == PropertyTooltipProvider.class && m_tooltip != null) {
149 return adapter.cast(new PropertyTooltipTextProvider() {
156 return super.getAdapter(adapter);
  /external/wpa_supplicant_8/src/drivers/
driver_ndis.h 38 LPADAPTER adapter; member in struct:wpa_driver_ndis_data
  /frameworks/base/core/java/android/print/
PrintManager.java 140 * Extra with the print document adapter to be printed.
351 * initiated printing is finished, the provided adapter may be in an inconsistent
364 * @param documentAdapter An adapter that emits the document to print.
369 * document adapter is null.
762 final PrintDocumentAdapter adapter; local
764 adapter = mDocumentAdapter;
766 if (adapter != null) {
767 adapter.onStart();
772 final PrintDocumentAdapter adapter; local
777 adapter = mDocumentAdapter
796 final PrintDocumentAdapter adapter; local
822 final PrintDocumentAdapter adapter; local
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
InsertQuickResponseDialog.java 99 final SimpleCursorAdapter adapter = new SimpleCursorAdapter(getActivity(), local
105 listView.setAdapter(adapter);
129 adapter.swapCursor(data);
134 adapter.swapCursor(null);
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettingsEditQuickResponsesFragment.java 78 final SimpleCursorAdapter adapter = new SimpleCursorAdapter(getActivity(), local
85 listView.setAdapter(adapter);
96 adapter.swapCursor(data);
101 adapter.swapCursor(null);

Completed in 762 milliseconds

1 2 3 4 5 67 8 91011>>