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

12345

/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.java89 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
90 switch(item.getItemId()) {
144 final MenuItem item = menu.findItem(resourceId);
145 if (item != null) {
146 item.setVisible(visible);
H A DWebBackForwardListClassic.java76 * Add a new history item to the list. This will remove all items after the
77 * current item and append the new item to the end of the list. Called from
80 * @param item A new history item.
82 /*package*/ synchronized void addHistoryItem(WebHistoryItem item) { argument
83 // Update the current position because we are going to add the new item
87 // after the current item.
95 // Add the item to the list.
96 mArray.add((WebHistoryItemClassic) item);
[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/support/v4/ics/android/support/v4/app/
H A DShareCompatICS.java28 public static void configureMenuItem(MenuItem item, Activity callingActivity, Intent intent) { argument
29 ActionProvider itemProvider = item.getActionProvider();
39 item.setActionProvider(provider);
/frameworks/base/core/java/android/accounts/
H A DAccountAuthenticatorCache.java81 public void writeAsXml(AuthenticatorDescription item, XmlSerializer out) argument
83 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()) {
106 public void onClick(DialogInterface dialog, int item) {
108 "Starting to benchmark: " + mView.getTestNames()[item],
110 mView.setBenchmarkMode(item);
122 public void onClick(DialogInterface dialog, int item) {
124 "Switching to: " + mView.getTestNames()[item],
126 mView.setDebugMode(item);
133 return super.onOptionsItemSelected(item);
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoWriter.cpp143 ItemType item; local
148 if (!helper_adapt_list_item<ItemType, ItemContainer>(item,
153 // And write out an item.
154 if (pOutput.write(&item, sizeof(item)) != sizeof(item)) {
155 ALOGE("Cannot write out item of %s for RSInfo file %s! (%s)",
/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp75 BufferQueue::BufferItem item; local
83 ASSERT_EQ(OK, mBQ->acquireBuffer(&item));
93 ASSERT_EQ(INVALID_OPERATION, mBQ->acquireBuffer(&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/av/media/libstagefright/foundation/
H A DAMessage.cpp62 Item *item = &mItems[i]; local
63 freeItem(item);
68 void AMessage::freeItem(Item *item) { argument
69 switch (item->mType) {
72 delete item->u.stringValue;
80 if (item->u.refValue != NULL) {
81 item->u.refValue->decStrong(this);
99 Item *item; local
102 item = &mItems[i];
103 freeItem(item);
[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/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/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestApp.java81 public boolean onOptionsItemSelected(MenuItem item) { argument
82 // Handle item selection
83 switch (item.getItemId()) {
91 return super.onOptionsItemSelected(item);
/frameworks/av/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/core/java/android/speech/tts/
H A DAudioPlaybackHandler.java41 private void stop(PlaybackQueueItem item) { argument
42 if (item == null) {
46 item.stop(false);
49 public void enqueue(PlaybackQueueItem item) { argument
51 mQueue.put(item);
76 * @return false iff the queue is empty and no queue item is currently
106 final PlaybackQueueItem item = it.next();
107 if (item.getCallerIdentity() == callerIdentity) {
121 PlaybackQueueItem item = null;
123 item
[all...]
/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/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_v11/src/com/android/rs/test/
H A DUnitTest.java96 public void setItem(ScriptField_ListAllocs_s.Item item) { argument
97 mItem = item;
/frameworks/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/
H A DUnitTest.java107 public void setItem(ScriptField_ListAllocs_s.Item item) { argument
108 mItem = item;

Completed in 5325 milliseconds

12345