Searched refs:item (Results 126 - 150 of 176) sorted by relevance

12345678

/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java289 PackageCleanItem item = null;
291 while ((item = pm.nextPackageToClean(item)) != null) {
292 final UserEnvironment userEnv = new UserEnvironment(item.userId);
293 eraseFiles(userEnv.getExternalStorageAppDataDirectory(item.packageName));
294 eraseFiles(userEnv.getExternalStorageAppMediaDirectory(item.packageName));
295 if (item.andCode) {
296 eraseFiles(userEnv.getExternalStorageAppObbDirectory(item.packageName));
/frameworks/base/tools/aidl/
H A Dgenerate_java_rpc.cpp975 interface_item_type* item = iface->interface_items; local
976 while (item != NULL) {
977 if (item->item_type == METHOD_TYPE) {
978 if (NAMES.Search(((method_type*)item)->type.type.data) == EVENT_FAKE_TYPE) {
979 generate_event_method((method_type*)item, proxy, base, listener, presenter, index);
981 generate_regular_method((method_type*)item, proxy, base, results, index);
984 item = item->next;
/frameworks/support/v4/java/android/support/v4/app/
H A DFragment.java1225 * This hook is called whenever an item in your options menu is selected.
1227 * processing happen (calling the item's Runnable or sending a message to
1235 * @param item The menu item that was selected.
1242 public boolean onOptionsItemSelected(MenuItem item) { argument
1248 * the menu with the back/menu button, or when an item is selected).
1260 * the view (or item inside the view for {@link AdapterView} subclasses,
1264 * item has been selected.
1303 * This hook is called whenever an item in a context menu is selected. The
1305 * happen (calling the item'
1319 onContextItemSelected(MenuItem item) argument
1565 performOptionsItemSelected(MenuItem item) argument
1581 performContextItemSelected(MenuItem item) argument
[all...]
H A DFragmentActivity.java360 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
361 if (super.onMenuItemSelected(featureId, item)) {
367 return mFragments.dispatchOptionsItemSelected(item);
370 return mFragments.dispatchContextItemSelected(item);
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp573 const BufferQueue::BufferItem& item) {
583 if (item.mTransform & Transform::ROT_90) {
588 bool isFixedSize = item.mScalingMode != NATIVE_WINDOW_SCALING_MODE_FREEZE;
616 bufWidth, bufHeight, item.mTransform, item.mScalingMode,
572 reject(const sp<GraphicBuffer>& buf, const BufferQueue::BufferItem& item) argument
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp264 Item *item = &mItems.editItemAt(mItems.size() - 1); local
266 CHECK(MakeURL(mBaseURI.c_str(), line.c_str(), &item->mURI));
268 item->mMeta = itemMeta;
H A DLiveSession.cpp188 BandwidthItem item; local
191 playlist->itemAt(i, &item.mURI, &meta);
194 CHECK(meta->findInt32("bandwidth", (int32_t *)&item.mBandwidth));
196 mBandwidthItems.push(item);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DUiTest.java265 texElem.item = loadTextureRGB(R.drawable.globe);
274 textElem.item = Allocation.createFromString(mRS, SAMPLE_TEXT, Allocation.USAGE_SCRIPT);
283 textElem.item = Allocation.createFromString(mRS, LIST_TEXT, Allocation.USAGE_SCRIPT);
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewActivity.java135 // Set the current item from the intent if wasn't in the saved instance
204 public boolean onOptionsItemSelected(MenuItem item) { argument
205 switch (item.getItemId()) {
209 return super.onOptionsItemSelected(item);
/frameworks/base/core/java/android/content/
H A DSyncManager.java1291 for (SyncStorageEngine.SyncHistoryItem item : items) {
1293 = mSyncStorageEngine.getAuthority(item.authorityId);
1314 final long elapsedTime = item.elapsedTime;
1419 SyncStorageEngine.SyncHistoryItem item = items.get(i);
1421 = mSyncStorageEngine.getAuthority(item.authorityId);
1432 final long elapsedTime = item.elapsedTime;
1434 final long eventTime = item.eventTime;
1459 SyncStorageEngine.SOURCES[item.source],
1464 if (item.event != SyncStorageEngine.EVENT_STOP
1465 || item
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h147 void freeItem(Item *item);
/frameworks/base/core/java/android/widget/
H A DExpandableListView.java45 * Expandable lists are able to show an indicator beside each item to display
46 * the item's current state (the states are usually one of expanded group,
257 View item;
281 item = getChildAt(i);
282 t = item.getTop();
283 b = item.getBottom();
285 // This item isn't on the screen
288 // Get more expandable list-related info for this item
291 // If this item type and the previous item typ
[all...]
H A DAutoCompleteTextView.java45 * down menu from which the user can choose an item to replace the content
49 * if no item is selected in the drop down, by pressing the enter/dpad center
516 * <p>Sets the listener that will be notified when the user clicks an item
519 * @param l the item click listener
526 * <p>Sets the listener that will be notified when the user selects an item
529 * @param l the item selected listener
536 * <p>Returns the listener that is notified whenever the user clicks an item
539 * @return the item click listener
550 * item in the drop down list.</p>
552 * @return the item selecte
[all...]
/frameworks/ex/common/java/com/android/common/widget/
H A DGroupingListAdapter.java47 * Information about a specific list item: is it a group, if so is it expanded.
48 * Otherwise, is it a stand-alone item or a group member.
264 * Figures out whether the item at the specified position represents a
282 // is the header of the group, a member of the group or a standalone item.
379 // The required item is past the last group
446 Object item = getItem(position);
447 if (item != null) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
H A DVideoEditorExportTest.java144 public void onProgress(Object item, int action, int progress) {
269 public void onProgress(Object item, int action, int progress) {
332 public void onProgress(Object item, int action, int progress) {
390 public void onProgress(Object item, int action, int progress) {
503 public void onProgress(Object item, int action, int progress) {
788 public void onProgress(Object item, int action, int progress) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DVideoEditorPerformance.java180 assertTrue("Cannot add Image item", false);
190 assertTrue("Cannot remove image item", false);
195 * To test the performance of adding and removing the video media item
239 * To test the performance of adding and removing the image media item
454 * duration = 4 sec with item = IMG_640x480_Overlay1.png
568 * To test the performance of adding and removing the overlay to media item
622 * To test the performance of get properties of a Video media item
713 public void onProgress(Object item, int action, int progress) {
766 public void onProgress(Object item, int action, int progress) {
832 public void onProgress(Object item, in
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp585 const String16 item16("item");
764 const String16 item16("item");
1245 "Tag <item> 'format' attribute value \"%s\" not valid\n",
1252 "A 'type' attribute is required for <item>\n");
1401 "Found tag %s where item is expected\n",
1456 "Tag <%s> can not appear inside <%s>, only <item>\n",
1490 "Illegal 'quantity' attribute is <item> inside <plurals>\n");
1495 "A 'quantity' attribute is required for <item> inside <plurals>\n");
1504 "A 'name' attribute is required for <item>\n");
1593 "Found text \"%s\" where item ta
3872 const Item* item = getItem(resID, attrID); local
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DStreamingProcessor.cpp601 const BufferItemConsumer::BufferItem item = local
603 if (item.mBuf != BufferItemConsumer::INVALID_BUFFER_SLOT &&
604 item.mGraphicBuffer->handle == imgHandle) {
/frameworks/base/core/java/android/app/
H A DActivity.java2263 * as pulling down the notification pane and touching an item there.
2541 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
2547 EventLog.writeEvent(50000, 0, item.getTitleCondensed());
2548 if (onOptionsItemSelected(item)) {
2551 if (mFragments.dispatchOptionsItemSelected(item)) {
2554 if (item.getItemId() == android.R.id.home && mActionBar != null &&
2565 EventLog.writeEvent(50000, 1, item.getTitleCondensed());
2566 if (onContextItemSelected(item)) {
2569 return mFragments.dispatchContextItemSelected(item);
2673 * This hook is called whenever an item i
2690 onOptionsItemSelected(MenuItem item) argument
2906 onContextItemSelected(MenuItem item) argument
[all...]
H A DDialog.java834 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
874 public boolean onOptionsItemSelected(MenuItem item) { argument
935 public boolean onContextItemSelected(MenuItem item) { argument
/frameworks/base/core/java/android/os/
H A DParcel.java1014 T item = val.get(i);
1015 if (item != null) {
1017 item.writeToParcel(this, 0);
1099 T item = val[i];
1100 if (item != null) {
1102 item.writeToParcel(this, parcelableFlags);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java64 /** Actual number of items (the 'More' view does not count as an item) shown */
84 /** Background of each item (should contain the selected and focused states) */
224 * The bottom rows will each get a leftover item. Rows (indexed at 0)
225 * that are >= this get a leftover item. Note: if there are 0 leftover
235 // Fill the bottom rows with a leftover item each
245 * Checks whether each item's title is fully visible using the current
248 * @return True if the items fit (each item's text is fully visible), false
260 * If there is only one item on this row, increasing the
286 * Creates the item view for the 'More' button which is used to switch to
335 // The item positio
467 invokeItem(MenuItemImpl item) argument
[all...]
H A DActionMenuView.java171 // Reset padding for generated menu item views; it may change below
200 // When we have overflow and a single expanded (text) item, we want to try centering it
242 // If this item is already at our small item count, mark it for later.
248 // Add padding to this item such that it centers.
292 // First item gets part of its new padding pushed out of sight.
293 // The last item will get this implicitly from layout.
546 public boolean invokeItem(MenuItemImpl item) { argument
547 return mMenu.performItemAction(item, 0);
/frameworks/base/media/java/android/media/videoeditor/
H A DVideoEditor.java162 public void onProgress(Object item, int action, int progress); argument
441 * Add a media item at the end of the storyboard.
443 * @param mediaItem The media item object to add
446 * if the media item id is not unique across all the media items
452 * Insert a media item after the media item with the specified id.
454 * @param mediaItem The media item object to insert
455 * @param afterMediaItemId Insert the mediaItem after the media item
457 * item is inserted at the beginning of the timeline.
460 * @throws IllegalArgumentException if media item wit
[all...]
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java1159 * default is the first item in the popup suggestions list. Otherwise, it is
1469 // Clear the checked item.
1474 // Checked item would be -1 if the adapter has not
1635 * When an item in the suggestions list has been clicked, create a chip from the
1636 * contact information of the selected item.
1663 private RecipientEntry createValidatedEntry(RecipientEntry item) { argument
1664 if (item == null) {
1671 String destination = item.getDestination();
1672 if (!isPhoneQuery() && item.getContactId() == RecipientEntry.GENERATED_CONTACT) {
1673 entry = RecipientEntry.constructGeneratedEntry(item
1737 onActionItemClicked(ActionMode mode, MenuItem item) argument
[all...]

Completed in 692 milliseconds

12345678