Searched defs:item (Results 1 - 25 of 83) sorted by relevance

1234

/frameworks/base/core/java/android/webkit/
H A DWebBackForwardListClient.java27 * Notify the client that <var>item</var> has been added to the
29 * @param item The newly created WebHistoryItem
31 public void onNewHistoryItem(WebHistoryItem item) { } argument
34 * Notify the client that the <var>item</var> at <var>index</var> is now
35 * the current history item.
36 * @param item A WebHistoryItem
39 public void onIndexChanged(WebHistoryItem item, int index) { } argument
H A DSelectActionModeCallback.java76 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
77 switch(item.getItemId()) {
H A DWebBackForwardList.java47 * Return the current history item. This method returns null if the list is
49 * @return The current history item.
56 * Get the index of the current history item. This index can be used to
65 * Get the history item at the given index. The index range is from 0...n
66 * where 0 is the first item and n is the last item.
101 * Add a new history item to the list. This will remove all items after the
102 * current item and append the new item to the end of the list. Called from
105 * @param item
107 addHistoryItem(WebHistoryItem item) argument
[all...]
H A DWebHistoryItem.java27 * item. Each history item may be updated during the load of a page.
35 // The title of this item's document.
37 // The base url of this item.
39 // The original requested url of this item.
41 // The favicon for this item.
55 * Basic constructor that assigns a unique id to the item. Called by JNI
77 * Construct a clone of a WebHistoryItem from the given item.
78 * @param item The history item t
80 WebHistoryItem(WebHistoryItem item) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DXmlSerializerAndParser.java28 void writeAsXml(T item, XmlSerializer out) throws IOException; argument
H A DParceledListSlice.java83 * @param item Parcelable item to append to this list slice
87 public boolean append(T item) { argument
92 item.writeToParcel(mParcel, PARCELABLE_WRITE_RETURN_VALUE);
106 * @return the last item inserted into the list or null if none.
111 T item = null;
113 item = creator.createFromParcel(mParcel);
114 list.add(item);
120 return item;
/frameworks/support/v4/honeycomb/android/support/v4/view/
H A DMenuItemCompatHoneycomb.java26 public static void setShowAsAction(MenuItem item, int actionEnum) { argument
27 item.setShowAsAction(actionEnum);
30 public static MenuItem setActionView(MenuItem item, View view) { argument
31 return item.setActionView(view);
/frameworks/base/core/java/android/accounts/
H A DAccountAuthenticatorCache.java80 public void writeAsXml(AuthenticatorDescription item, XmlSerializer out) argument
82 out.attribute(null, "type", item.type);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBench.java93 public boolean onOptionsItemSelected(MenuItem item) { argument
94 // Handle item selection
95 switch (item.getItemId()) {
104 public void onClick(DialogInterface dialog, int item) {
106 "Switching to: " + mView.getTestNames()[item],
108 mView.setDebugMode(item);
114 return super.onOptionsItemSelected(item);
/frameworks/support/v4/java/android/support/v4/view/
H A DMenuCompat.java31 public boolean setShowAsAction(MenuItem item, int actionEnum); argument
39 public boolean setShowAsAction(MenuItem item, int actionEnum) { argument
49 public boolean setShowAsAction(MenuItem item, int actionEnum) { argument
50 MenuItemCompatHoneycomb.setShowAsAction(item, actionEnum);
78 public static boolean setShowAsAction(MenuItem item, int actionEnum) { argument
79 return IMPL.setShowAsAction(item, actionEnum);
H A DMenuItemCompat.java29 * Never show this item as a button in an Action Bar.
34 * Show this item as a button in an Action Bar if the system
40 * Always show this item as a button in an Action Bar. Use sparingly!
49 * When this item is in the action bar, always show it with a
55 * This item's action view collapses to a normal menu item.
65 public boolean setShowAsAction(MenuItem item, int actionEnum); argument
66 public MenuItem setActionView(MenuItem item, View view); argument
74 public boolean setShowAsAction(MenuItem item, int actionEnum) { argument
79 public MenuItem setActionView(MenuItem item, Vie argument
89 setShowAsAction(MenuItem item, int actionEnum) argument
94 setActionView(MenuItem item, View view) argument
118 setShowAsAction(MenuItem item, int actionEnum) argument
132 setActionView(MenuItem item, View view) argument
[all...]
/frameworks/base/core/java/android/content/
H A DSyncAdaptersCache.java80 public void writeAsXml(SyncAdapterType item, XmlSerializer out) throws IOException { argument
81 out.attribute(null, "authority", item.authority);
82 out.attribute(null, "accountType", item.accountType);
/frameworks/base/media/libstagefright/foundation/
H A DAMessage.cpp60 Item *item = &mItems[i]; local
61 freeItem(item);
66 void AMessage::freeItem(Item *item) { argument
67 switch (item->mType) {
70 delete item->u.stringValue;
77 if (item->u.refValue != NULL) {
78 item->u.refValue->decStrong(this);
96 Item *item; local
99 item = &mItems[i];
100 freeItem(item);
[all...]
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModel.java80 public boolean onOptionsItemSelected(MenuItem item) { argument
81 // Handle item selection
82 switch (item.getItemId()) {
92 return super.onOptionsItemSelected(item);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DExpandedMenuView.java66 public boolean invokeItem(MenuItemImpl item) { argument
67 return mMenu.performItemAction(item, 0);
/frameworks/base/core/tests/coretests/src/android/view/
H A DListContextMenu.java81 view.setText("List item " + mTitles[position]);
99 MenuItem item = menu.add(0, 0, 0, "Really long menu item name");
100 item.setTitleCondensed("Long name");
101 item.setIcon(R.drawable.black_square);
103 SubMenu sm = menu.addSubMenu(0, 0, 0, "The 2nd item, a sub menu").setIcon(R.drawable.black_square_stretchable);
104 item = sm.getItem();
105 item.setTitleCondensed("Sub menu");
177 public boolean onOptionsItemSelected(MenuItem item) { argument
178 Log.i(TAG, "Options item "
189 onContextItemSelected(MenuItem item) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListWithEmptyView.java84 public boolean onOptionsItemSelected(MenuItem item) { argument
85 switch (item.getItemId()) {
97 return super.onOptionsItemSelected(item);
/frameworks/base/drm/common/
H A DDrmSupportInfo.cpp51 const String8 item = mMimeTypeVector.itemAt(i); local
53 if (!strcasecmp(item.string(), mimeType.string())) {
62 const String8 item = mFileSuffixVector.itemAt(i); local
64 if (!strcasecmp(item.string(), fileType.string())) {
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerActivity.java88 * Handles menu item selection
90 * @param item - the selected menu item
93 public boolean onOptionsItemSelected(MenuItem item) { argument
94 switch (item.getItemId()) {
122 return super.onOptionsItemSelected(item);
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUnitTest.java107 public void setItem(ScriptField_ListAllocs_s.Item item) { argument
108 mItem = item;
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditLayout.java194 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
196 return mCallback.onActionItemClicked(this, item);
/frameworks/base/core/java/android/view/
H A DActionMode.java209 * @param item The item that was clicked
213 public boolean onActionItemClicked(ActionMode mode, MenuItem item); argument
/frameworks/base/core/java/android/widget/
H A DPopupMenu.java120 * Set a listener that will be notified when the user selects an item from the menu.
140 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
142 return mMenuItemClickListener.onMenuItemClick(item);
184 * Interface responsible for receiving menu item click events if the items themselves
185 * do not have individual item click listeners.
189 * This method will be invoked when a menu item is clicked if the item itself did
192 * @param item {@link MenuItem} that was clicked
195 public boolean onMenuItemClick(MenuItem item); argument
H A DShareActionProvider.java38 * if the hosting item is placed on the overflow menu.
47 * // Get the menu item.
69 * in the context of a menu item, the use of the provider is not limited to menu items.
108 * Listener for handling menu item clicks.
214 // Add a sub-menu for showing all activities as a list item.
272 * Reusable listener for handling share item clicks.
276 public boolean onMenuItemClick(MenuItem item) { argument
279 final int itemId = item.getItemId();
/frameworks/base/core/java/com/android/internal/view/
H A DStandaloneActionMode.java121 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
122 return mCallback.onActionItemClicked(this, item);

Completed in 724 milliseconds

1234