/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenuPresenter.java | 154 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) { argument 155 View actionView = item.getActionView(); 156 if (actionView == null || item.hasCollapsibleActionView()) { 160 actionView = super.getItemView(item, convertView, parent); 162 actionView.setVisibility(item.isActionViewExpanded() ? View.GONE : View.VISIBLE); 173 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { argument 174 itemView.initialize(item, 0); 182 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 183 return item.isActionButton(); 260 private View findViewForItem(MenuItem item) { argument [all...] |
H A D | IconMenuView.java | 64 /** 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 D | MenuBuilder.java | 93 * Whether or not the items (or any one item's shown state) has changed since it was last 108 * Whether or not the items (or any one item's action state) has changed since it was 155 * Currently expanded menu item; must be collapsed when we clear. 164 * Called when a menu item is selected. 165 * @param menu The menu that is the parent of the item 166 * @param item The menu item that is selected 167 * @return whether the menu item selection was handled 169 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item); argument 183 public boolean invokeItem(MenuItemImpl item); argument 528 setExclusiveItemChecked(MenuItem item) argument 734 dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) argument 867 performItemAction(MenuItem item, int flags) argument 977 onItemVisibleChanged(MenuItemImpl item) argument 987 onItemActionRequestChanged(MenuItemImpl item) argument 1223 expandItemActionView(MenuItemImpl item) argument 1245 collapseItemActionView(MenuItemImpl item) argument [all...] |
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 98 jint item = 0; local 99 _env->GetIntArrayRegion(attrib_list, len-1, 1, &item); 100 return item == EGL_NONE;
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | VideoEditor.java | 162 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/base/tools/aidl/ |
H A D | aidl.cpp | 863 interface_item_type* item = first_item; local 866 while (item != NULL) { 867 if (item->item_type == METHOD_TYPE) { 868 method_type* method_item = (method_type*)item; 902 item = item->next; 908 item = first_item; 909 while (item != NULL) { 910 if (item->item_type == METHOD_TYPE) { 911 method_type* method_item = (method_type*)item; [all...] |
H A D | generate_java_rpc.cpp | 975 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/native/libs/gui/ |
H A D | GLConsumer.cpp | 137 BufferQueue::BufferItem item; local 142 err = acquireBufferLocked(&item); 157 err = releaseAndUpdateLocked(item); 168 status_t GLConsumer::acquireBufferLocked(BufferQueue::BufferItem *item) { argument 169 status_t err = ConsumerBase::acquireBufferLocked(item); 174 int slot = item->mBuf; 175 if (item->mGraphicBuffer != NULL) { 200 status_t GLConsumer::releaseAndUpdateLocked(const BufferQueue::BufferItem& item) argument 216 int buf = item.mBuf; 221 // We may have to do this even when item [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewActivity.java | 161 // Set the current item from the intent if wasn't in the saved instance 173 // If we still have a negative current item, set it to zero 246 public boolean onOptionsItemSelected(MenuItem item) { argument 247 switch (item.getItemId()) { 251 return super.onOptionsItemSelected(item);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ActionBarDrawerToggle.java | 281 * @param item the MenuItem instance representing the selected menu item 284 public boolean onOptionsItemSelected(MenuItem item) { argument 285 if (item != null && item.getItemId() == ID_HOME && mDrawerIndicatorEnabled) {
|
H A D | FragmentActivity.java | 360 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 361 if (super.onMenuItemSelected(featureId, item)) { 367 return mFragments.dispatchOptionsItemSelected(item); 370 return mFragments.dispatchContextItemSelected(item);
|
H A D | ShareCompat.java | 81 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/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBarActivityDelegateBase.java | 271 // Make sure we're not dispatching item changes to presenters 278 // Make sure we're not dispatching item changes to presenters 316 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 318 item = MenuWrapperFactory.createMenuItemWrapper(item); 320 return mActivity.superOnMenuItemSelected(featureId, item); 324 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument 325 return mActivity.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, item); 580 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument 581 return mWrapped.onActionItemClicked(mode, item); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | ActionMenuPresenter.java | 157 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) { argument 158 View actionView = item.getActionView(); 159 if (actionView == null || item.hasCollapsibleActionView()) { 163 actionView = super.getItemView(item, convertView, parent); 165 actionView.setVisibility(item.isActionViewExpanded() ? View.GONE : View.VISIBLE); 176 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { argument 177 itemView.initialize(item, 0); 185 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 186 return item.isActionButton(); 272 private View findViewForItem(MenuItem item) { argument [all...] |
H A D | MenuItemWrapperICS.java | 239 // Make framework menu item inflate the view 346 public boolean onMenuItemClick(android.view.MenuItem item) { argument 347 return mWrappedObject.onMenuItemClick(getMenuItemWrapper(item)); 359 public boolean onMenuItemActionExpand(android.view.MenuItem item) { argument 360 return mWrappedObject.onMenuItemActionExpand(getMenuItemWrapper(item)); 364 public boolean onMenuItemActionCollapse(android.view.MenuItem item) { argument 365 return mWrappedObject.onMenuItemActionCollapse(getMenuItemWrapper(item));
|
H A D | MenuBuilder.java | 90 * Whether or not the items (or any one item's shown state) has changed since it was last 106 * Whether or not the items (or any one item's action state) has changed since it was last 156 * Currently expanded menu item; must be collapsed when we clear. 167 * Called when a menu item is selected. 169 * @param menu The menu that is the parent of the item 170 * @param item The menu item that is selected 171 * @return whether the menu item selection was handled 173 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item); argument 189 public boolean invokeItem(MenuItemImpl item); argument 555 setExclusiveItemChecked(MenuItem item) argument 776 dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) argument 915 performItemAction(MenuItem item, int flags) argument 1031 onItemVisibleChanged(MenuItemImpl item) argument 1042 onItemActionRequestChanged(MenuItemImpl item) argument 1283 expandItemActionView(MenuItemImpl item) argument 1307 collapseItemActionView(MenuItemImpl item) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Dialog.java | 834 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 874 public boolean onOptionsItemSelected(MenuItem item) { argument 935 public boolean onContextItemSelected(MenuItem item) { argument
|
H A D | FragmentManager.java | 1954 public boolean dispatchOptionsItemSelected(MenuItem item) { argument 1959 if (f.performOptionsItemSelected(item)) { 1968 public boolean dispatchContextItemSelected(MenuItem item) { argument 1973 if (f.performContextItemSelected(item)) {
|
H A D | Fragment.java | 242 * details of each item.</p> 257 * clicking an item: depending on the current activity's layout, it can either 264 * <p>The details fragment showing the contents of a selected item just 1464 * This hook is called whenever an item in your options menu is selected. 1466 * processing happen (calling the item's Runnable or sending a message to 1474 * @param item The menu item that was selected. 1481 public boolean onOptionsItemSelected(MenuItem item) { argument 1487 * the menu with the back/menu button, or when an item is selected). 1499 * the view (or item insid 1558 onContextItemSelected(MenuItem item) argument 1798 performOptionsItemSelected(MenuItem item) argument 1814 performContextItemSelected(MenuItem item) argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 996 const BufferQueue::BufferItem& item) { 1006 if (item.mTransform & Transform::ROT_90) { 1010 bool isFixedSize = item.mScalingMode != NATIVE_WINDOW_SCALING_MODE_FREEZE; 1038 bufWidth, bufHeight, item.mTransform, item.mScalingMode, 995 reject(const sp<GraphicBuffer>& buf, const BufferQueue::BufferItem& item) argument
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | SimpleMonthView.java | 139 // The Julian day of the first day displayed by this item 563 public void invalidateItem(CalendarDay item) { argument 564 super.invalidateItem(item); 565 mCachedItems.delete(getIdForItem(item)); 575 protected boolean performActionForItem(CalendarDay item, int action, Bundle arguments) { argument 578 onDayClick(item); 586 protected void populateEventForItem(CalendarDay item, AccessibilityEvent event) { argument 587 event.setContentDescription(getItemDescription(item)); 591 protected void populateNodeForItem(CalendarDay item, AccessibilityNodeInfoCompat node) { argument 592 getItemBounds(item, mTempRec 617 getIdForItem(CalendarDay item) argument 644 getItemBounds(CalendarDay item, Rect rect) argument 666 getItemDescription(CalendarDay item) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 1618 * Does a comma-delimited list 'delimitedString' contain a certain item? 1624 String delimitedString, char delimiter, String item) { 1625 if (isEmpty(delimitedString) || isEmpty(item)) { 1630 while ((pos = delimitedString.indexOf(item, pos + 1)) != -1) { 1634 int expectedDelimiterPos = pos + item.length(); 1623 delimitedStringContains( String delimitedString, char delimiter, String item) argument
|
/frameworks/base/core/java/android/view/ |
H A D | Window.java | 292 * Called when a panel's menu item has been selected by the user. 295 * @param item The menu item that was selected. 301 public boolean onMenuItemSelected(int featureId, MenuItem item); argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | CallbackProxy.java | 1086 // The current item might be null if the icon was already stored in the 1101 // We should have a current item but we do not want to crash so check 1383 void onNewHistoryItem(WebHistoryItem item) { argument 1387 Message msg = obtainMessage(ADD_HISTORY_ITEM, item); 1391 void onIndexChanged(WebHistoryItem item, int index) { argument 1395 Message msg = obtainMessage(HISTORY_INDEX_CHANGED, index, 0, item);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ActionBarImpl.java | 960 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument 962 return mCallback.onActionItemClicked(this, item);
|