Searched refs:item (Results 51 - 75 of 176) sorted by relevance

12345678

/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/tools/aapt/
H A DResourceIdCache.cpp66 map<uint32_t, CacheEntry>::iterator item = mIdMap.find(hashcode); local
67 if (item == mIdMap.end()) {
74 if (hashedName == (*item).second.hashedName) {
76 return (*item).second.id;
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DActivityTestMain.java145 @Override public boolean onMenuItemClick(MenuItem item) {
154 @Override public boolean onMenuItemClick(MenuItem item) {
176 @Override public boolean onMenuItemClick(MenuItem item) {
183 @Override public boolean onMenuItemClick(MenuItem item) {
191 @Override public boolean onMenuItemClick(MenuItem item) {
209 @Override public boolean onMenuItemClick(MenuItem item) {
219 @Override public boolean onMenuItemClick(MenuItem item) {
228 @Override public boolean onMenuItemClick(MenuItem item) {
251 @Override public boolean onMenuItemClick(MenuItem item) {
273 @Override public boolean onMenuItemClick(MenuItem item) {
[all...]
/frameworks/ex/carousel/test/src/com/android/carouseltest/
H A DTaskSwitcherActivity.java99 ActivityDescription item = mActivityDescriptions.get(i);
100 if (item != null && item.id == id) {
101 return item;
126 ActivityDescription item = mActivityDescriptions.get(n);
128 if (item.intent != null) {
129 item.intent.addFlags(Intent.FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY);
131 Log.v(TAG, "Starting intent " + item.intent);
132 startActivity(item.intent);
153 ActivityDescription item
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java81 void configureMenuItem(MenuItem item, IntentBuilder shareIntent); argument
86 public void configureMenuItem(MenuItem item, IntentBuilder shareIntent) { argument
87 item.setIntent(shareIntent.createChooserIntent());
124 public void configureMenuItem(MenuItem item, IntentBuilder shareIntent) { argument
125 ShareCompatICS.configureMenuItem(item, shareIntent.getActivity(),
127 if (shouldAddChooserIntent(item)) {
128 item.setIntent(shareIntent.createChooserIntent());
132 boolean shouldAddChooserIntent(MenuItem item) { argument
133 return !item.hasSubMenu();
143 boolean shouldAddChooserIntent(MenuItem item) { argument
231 configureMenuItem(MenuItem item, IntentBuilder shareIntent) argument
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/
H A DDirListActivity.java107 * Very simple object to use inside ListView as an item.
197 ListItem item = (ListItem)parent.getItemAtPosition(position);
199 if (item.isDirectory()) {
200 showDir(item.getRelativePath());
203 runAllTestsUnder(item.getRelativePath());
211 ListItem item = (ListItem)parent.getItemAtPosition(position);
213 if (item.isDirectory()) {
215 arguments.putString("name", item.getName());
216 arguments.putString("relativePath", item.getRelativePath());
246 public boolean onOptionsItemSelected(MenuItem item) { argument
[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/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;
/frameworks/compile/libbcc/tests/
H A Dbccarm26 def which(item):
27 return runCmd(["which", item])
/frameworks/native/libs/gui/
H A DConsumerBase.cpp178 status_t ConsumerBase::acquireBufferLocked(BufferQueue::BufferItem *item) { argument
179 status_t err = mBufferQueue->acquireBuffer(item);
184 if (item->mGraphicBuffer != NULL) {
185 mSlots[item->mBuf].mGraphicBuffer = item->mGraphicBuffer;
188 mSlots[item->mBuf].mFence = item->mFence;
190 CB_LOGV("acquireBufferLocked: -> slot=%d", item->mBuf);
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java63 * An item in the list
122 ListItem item = mActivitiesList.get(position);
123 intent.setClassName(item.packageName, item.className);
124 if (item.extras != null) {
125 intent.putExtras(item.extras);
162 private void bindView(View view, ListItem item) { argument
164 text.setText(item.label);
166 if (item.icon == null) {
167 item
[all...]
/frameworks/base/core/java/android/webkit/
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);
/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/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp74 BufferQueue::BufferItem item; local
75 status_t err = acquireBufferLocked(&item);
93 item.mBuf != mCurrentBufferSlot) {
102 mCurrentBufferSlot = item.mBuf;
104 outFence = item.mFence;
/frameworks/base/core/java/android/preference/
H A DGenericInflater.java77 * @param context The context the item is being created in.
79 * @return Newly created item. Return null for the default behavior.
170 * name. If the factory returns an item, add that to the hierarchy. If it
181 * each element name as the XML is parsed. If the factory returns an item,
209 * Inflate a new item hierarchy from the specified xml resource. Throws
216 * this is the root item; otherwise it is the root of the inflated
365 * @return The newly instantied item, or null.
407 * This routine is responsible for creating the correct subclass of item
408 * given the xml element name. Override it to handle custom item objects. If
412 * @param name The fully qualified class name of the item t
[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/core/java/android/view/
H A DMenuInflater.java55 private static final String XML_ITEM = "item";
162 // A menu start tag denotes a submenu for an item
181 // Add the item if it hasn't been added (if the item was
218 "Couldn't resolve menu item onClick handler " + methodName +
225 public boolean onMenuItemClick(MenuItem item) { argument
228 return (Boolean) mMethod.invoke(mRealOwner, item);
230 mMethod.invoke(mRealOwner, item);
249 * Group state is set on items as they are added, allowing an item to
337 * Called when the parser is pointing to an item ta
398 setItem(MenuItem item) argument
[all...]
H A DActionMode.java254 * @param item The item that was clicked
258 public boolean onActionItemClicked(ActionMode mode, MenuItem item); argument
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListOfInternalSelectionViews.java30 * how many rows in each item, and how tall each item is.
53 * Each item is screen height * this factor tall.
60 * @return The number of rows per item.
75 * @return The label (closest thing to a value) for the item at position
99 * @param numRowsPerItem The number of rows per item.
165 InternalSelectionView item =
170 item.setDesiredHeight((int) (mScreenHeight * mItemScreenSizeFactor));
171 return item;
/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/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DColladaParser.java109 Element l = (Element)nl.item(i);
117 Element c = (Element)nl.item(i);
125 Element img = (Element)nl.item(i);
133 Element e = (Element)nl.item(i);
142 Element m = (Element)nl.item(i);
151 Element m = (Element)nl.item(i);
160 Element s = (Element)nl.item(i);
178 Element materialRef = (Element)nl.item(i);
286 Element ref = (Element)nl.item(0);
298 ref = (Element)nl.item(
[all...]
/frameworks/av/media/libstagefright/
H A DMetaData.cpp193 typed_data item; local
194 i = mItems.add(key, item);
199 typed_data &item = mItems.editValueAt(i); local
201 item.setData(type, data, size);
214 const typed_data &item = mItems.valueAt(i); local
216 item.getData(type, data, size);
347 const typed_data &item = mItems.valueAt(i); local
348 ALOGI("%s: %s", cc, item.asString().string());

Completed in 2500 milliseconds

12345678