Searched defs:item (Results 326 - 350 of 373) sorted by relevance

<<1112131415

/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsConfig.java58 * Extra parameter "item" of intent ACTION_IMS_FEATURE_CHANGED and ACTION_IMS_CONFIG_CHANGED.
63 public static final String EXTRA_CHANGED_ITEM = "item";
67 * It is the new value of "item".
546 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
551 public int getProvisionedValue(int item) throws ImsException { argument
554 ret = miConfig.getProvisionedValue(item);
559 if (DBG) Rlog.d(TAG, "getProvisionedValue(): item = " + item + ", ret =" + ret);
569 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
574 public String getProvisionedStringValue(int item) throw argument
599 setProvisionedValue(int item, int value) argument
631 setProvisionedStringValue(int item, String value) argument
[all...]
H A DImsManager.java642 public static void onProvisionedValueChanged(Context context, int item, String value) { argument
643 if (DBG) Rlog.d(TAG, "onProvisionedValueChanged: item=" + item + " val=" + value);
647 switch (item) {
697 private boolean getProvisionedBool(ImsConfig config, int item) throws ImsException { argument
698 return config.getProvisionedValue(item) == ImsConfig.FeatureValueConstants.ON;
/frameworks/support/design/src/android/support/design/internal/
H A DNavigationMenuPresenter.java78 * Padding to be inserted at the top of the list to avoid the first menu item
143 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
148 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
196 public void setCheckedItem(MenuItemImpl item) { argument
197 mAdapter.setCheckedItem(item);
331 MenuItemImpl item = itemView.getItemData();
332 boolean result = mMenu.performItemAction(item, NavigationMenuPresenter.this, 0);
333 if (item != null && item.isCheckable() && result) {
334 mAdapter.setCheckedItem(item);
619 NavigationMenuTextItem(MenuItemImpl item) argument
[all...]
/frameworks/support/fragment/java/android/support/v4/app/
H A DFragmentActivity.java407 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
408 if (super.onMenuItemSelected(featureId, item)) {
414 return mFragments.dispatchOptionsItemSelected(item);
417 return mFragments.dispatchContextItemSelected(item);
H A DFragmentManager.java2290 public boolean dispatchOptionsItemSelected(MenuItem item) { argument
2295 if (f.performOptionsItemSelected(item)) {
2304 public boolean dispatchContextItemSelected(MenuItem item) { argument
2309 if (f.performContextItemSelected(item)) {
/frameworks/support/media-compat/java/android/support/v4/media/
H A DMediaBrowserCompat.java200 * @param parentId The id of the parent media item whose list of children
230 * @param parentId The id of the parent media item whose list of children
259 * @param parentId The id of the parent media item whose list of children
277 * @param parentId The id of the parent media item whose list of children
297 * @param mediaId The id of the item to retrieve.
305 * A class with information on a single media item for use in browsing media.
318 * Flag: Indicates that the item has children of its own.
323 * Flag: Indicates that the item is playable.
325 * The id of this item may be passed to
378 * @param flags The flags for this item
715 onItemLoaded(MediaItem item) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DFullWidthDetailsOverviewRowPresenter.java42 * Renders a {@link DetailsOverviewRow} to display an overview of an item. Typically this row will
586 protected void onBindRowViewHolder(RowPresenter.ViewHolder holder, Object item) { argument
587 super.onBindRowViewHolder(holder, item);
589 DetailsOverviewRow row = (DetailsOverviewRow) item;
H A DListRowPresenter.java35 * display a view for the currently focused list item below the rendered
104 * Gets selected item position in adapter.
105 * @return Selected item position in adapter.
112 * Gets ViewHolder at a position in adapter. Returns null if the item does not exist
113 * or the item is not bound to a view.
114 * @param position Position of the item in adapter.
115 * @return ViewHolder bounds to the item.
128 * A task on the ListRowPresenter.ViewHolder that can select an item by position in the
129 * HorizontalGridView and perform an optional item task on it.
142 * Sets the adapter position of item t
643 onBindRowViewHolder(RowPresenter.ViewHolder holder, Object item) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DToolbarActionBar.java68 public boolean onMenuItemClick(MenuItem item) {
69 return mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, item);
654 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuBuilder.java109 * Whether or not the items (or any one item's shown state) has changed since it was last
125 * Whether or not the items (or any one item's action state) has changed since it was last
178 * Currently expanded menu item; must be collapsed when we clear.
196 * Called when a menu item is selected.
198 * @param menu The menu that is the parent of the item
199 * @param item The menu item that is selected
200 * @return whether the menu item selection was handled
202 boolean onMenuItemSelected(MenuBuilder menu, MenuItem item); argument
218 boolean invokeItem(MenuItemImpl item); argument
598 setExclusiveItemChecked(MenuItem item) argument
816 dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) argument
953 performItemAction(MenuItem item, int flags) argument
957 performItemAction(MenuItem item, MenuPresenter preferredPresenter, int flags) argument
1074 onItemVisibleChanged(MenuItemImpl item) argument
1085 onItemActionRequestChanged(MenuItemImpl item) argument
1325 expandItemActionView(MenuItemImpl item) argument
1347 collapseItemActionView(MenuItemImpl item) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp940 bool LiveSession::isBandwidthValid(const BandwidthItem &item) { argument
942 return item.mLastFailureUs < 0
943 || ALooper::GetNowUs() - item.mLastFailureUs > kBlacklistWindowUs;
1043 BandwidthItem item; local
1045 item.mPlaylistIndex = i;
1046 item.mLastFailureUs = -1ll;
1052 CHECK(meta->findInt32("bandwidth", (int32_t *)&item.mBandwidth));
1062 mBandwidthItems.push(item);
1064 itemsWithVideo.push(item);
1088 // dummy item
1089 BandwidthItem item; local
1371 const BandwidthItem &item = mBandwidthItems[index]; local
1539 const BandwidthItem &item = mBandwidthItems.itemAt(mCurBandwidthIndex); local
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentManager.java268 * where the item on the bottom of the stack has index 0.
2177 public boolean dispatchOptionsItemSelected(MenuItem item) { argument
2182 if (f.performOptionsItemSelected(item)) {
2191 public boolean dispatchContextItemSelected(MenuItem item) { argument
2196 if (f.performContextItemSelected(item)) {
/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java1151 private static void appendDiff(Diff d, String item, ZenRule from, ZenRule to) { argument
1155 d.addLine(item, "insert");
1159 from.appendDiff(d, item, to);
1162 private void appendDiff(Diff d, String item, ZenRule to) { argument
1164 d.addLine(item, "delete");
1168 d.addLine(item, "enabled", enabled, to.enabled);
1171 d.addLine(item, "snoozing", snoozing, to.snoozing);
1174 d.addLine(item, "name", name, to.name);
1177 d.addLine(item, "zenMode", zenMode, to.zenMode);
1180 d.addLine(item, "conditionI
1376 addLine(String item, String action) argument
1381 addLine(String item, String subitem, Object from, Object to) argument
1385 addLine(String item, Object from, Object to) argument
[all...]
/frameworks/base/core/java/android/text/
H A DTextUtils.java1640 * Does a comma-delimited list 'delimitedString' contain a certain item?
1646 String delimitedString, char delimiter, String item) {
1647 if (isEmpty(delimitedString) || isEmpty(item)) {
1652 while ((pos = delimitedString.indexOf(item, pos + 1)) != -1) {
1656 int expectedDelimiterPos = pos + item.length();
1645 delimitedStringContains( String delimitedString, char delimiter, String item) argument
/frameworks/base/core/java/android/transition/
H A DTransition.java145 * item id. When {@link android.widget.Adapter#hasStableIds()} returns false, no match
441 * example, a transition that fades an item in may wish to set the starting
481 * by its item ID if it is in a direct child of ListView. The caller can
543 * Match start/end values by Adapter item ID. Adds matched values to mStartValuesList
545 * startItemIds and endItemIds as a guide for which Views have unique item IDs.
1510 // Duplicate item IDs: cannot match by item ID.
2410 * Add the specified item to the list, returning the resulting list.
2414 * Note that the list holds unique items; if the item already exists in the
2417 static <T> ArrayList<T> add(ArrayList<T> list, T item) { argument
2432 remove(ArrayList<T> list, T item) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRadialTimePickerView.java454 public void setCurrentItemShowing(int item, boolean animate) { argument
455 switch (item){
463 Log.e(TAG, "ClockView does not support showing item " + item);
H A DToolbar.java191 public boolean onMenuItemClick(MenuItem item) {
193 return mOnMenuItemClickListener.onMenuItemClick(item);
697 final MenuItemImpl item = mExpandedMenuPresenter == null ? null :
699 if (item != null) {
700 item.collapseActionView();
1066 * Set a listener to respond to menu item click events.
1068 * <p>This listener will be invoked whenever a user selects a menu item from
1418 final MenuItem item = menu.findItem(ss.expandedMenuItemId);
1419 if (item != null) {
1420 item
2163 onMenuItemClick(MenuItem item) argument
2318 expandItemActionView(MenuBuilder menu, MenuItemImpl item) argument
2345 collapseItemActionView(MenuBuilder menu, MenuItemImpl item) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DWindowDecorActionBar.java1117 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
1119 return mCallback.onActionItemClicked(this, item);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java142 final MenuItemImpl item = mExpandedMenuPresenter.mCurrentExpandedItem;
143 if (item != null) {
144 item.collapseActionView();
332 // No limit to the item count; use whatever will fit.
414 // No limit to the item count; use whatever will fit.
454 final MenuItemImpl item = mExpandedMenuPresenter == null ? null :
456 if (item != null) {
457 item.collapseActionView();
1293 final MenuItem item = mOptionsMenu.findItem(state.expandedMenuItemId);
1294 if (item !
1654 expandItemActionView(MenuBuilder menu, MenuItemImpl item) argument
1682 collapseItemActionView(MenuBuilder menu, MenuItemImpl item) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDirectoryFragment.java396 Log.w(TAG, "Can't view item. Can't obtain cursor for modeId" + id);
681 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
684 switch (item.getItemId()) {
731 if (DEBUG) Log.d(TAG, "Unhandled menu item selected: " + item);
1220 // Make a directory item a drop target. Drop on non-directories and empty space
1339 * Gets the model ID for a given RecyclerView item.
1340 * @param view A View that is a document item view, or a child of a document item view.
1342 * a document item vie
[all...]
/frameworks/native/services/inputflinger/
H A DEventHub.cpp1091 const String8& item = mExcludedDevices.itemAt(i); local
1092 if (identifier.name == item) {
1093 ALOGI("ignoring event id %s driver %s\n", devicePath, item.string());
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp213 void Layer::onFrameAvailable(const BufferItem& item) { argument
220 if (item.mFrameNumber == 1) {
225 while (item.mFrameNumber != mLastFrameNumberReceived + 1) {
233 mQueueItems.push_back(item);
237 mLastFrameNumberReceived = item.mFrameNumber;
244 void Layer::onFrameReplaced(const BufferItem& item) { argument
249 while (item.mFrameNumber != mLastFrameNumberReceived + 1) {
261 mQueueItems.editItemAt(mQueueItems.size() - 1) = item;
264 mLastFrameNumberReceived = item.mFrameNumber;
1870 const BufferItem& item) {
1869 reject(const sp<GraphicBuffer>& buf, const BufferItem& item) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java86 public boolean onOptionsItemSelected(MenuItem item); argument
509 public boolean onOptionsItemSelected(MenuItem item) { argument
510 switch (item.getItemId()) {
/frameworks/support/design/src/android/support/design/widget/
H A DTabLayout.java485 private void addTabFromItemView(@NonNull TabItem item) { argument
487 if (item.mText != null) {
488 tab.setText(item.mText);
490 if (item.mIcon != null) {
491 tab.setIcon(item.mIcon);
493 if (item.mCustomLayout != 0) {
494 tab.setCustomView(item.mCustomLayout);
496 if (!TextUtils.isEmpty(item.getContentDescription())) {
497 tab.setContentDescription(item.getContentDescription());
804 // Now we'll add a tab selected listener to set ViewPager's current item
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBrowseFragment.java458 * Sets an item clicked listener on the fragment.
464 * Sets an item selection listener.
492 Object item = null;
502 item = adapter.get(position);
507 mIsPageRow = item instanceof PageRow;
521 mMainFragment = mMainFragmentAdapterRegistry.createFragment(item);
547 * Factory class responsible for creating fragment given the current item. {@link ListRow}
584 public Fragment createFragment(Object item) { argument
585 if (item == null) {
589 FragmentFactory fragmentFactory = mItemToFragmentFactoryMapping.get(item
1379 onItemSelected(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, Row row) argument
[all...]

Completed in 2012 milliseconds

<<1112131415