Searched defs:item (Results 76 - 100 of 479) sorted by relevance

1234567891011>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
H A DImsConfigCompatAdapter.java41 public int setConfig(int item, int value) { argument
43 if (mOldConfigInterface.setProvisionedValue(item, value) == SUCCESS) {
47 Log.w(TAG, "setConfig: item=" + item + " value=" + value + "failed: "
54 public int setConfig(int item, String value) { argument
56 if (mOldConfigInterface.setProvisionedStringValue(item, value) == SUCCESS) {
60 Log.w(TAG, "setConfig: item=" + item + " value=" + value + "failed: "
67 public int getConfigInt(int item) { argument
69 int value = mOldConfigInterface.getProvisionedValue(item);
80 getConfigString(int item) argument
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DFragmentContextMenuSupport.java67 public boolean onContextItemSelected(MenuItem item) { argument
68 switch (item.getItemId()) {
76 return super.onContextItemSelected(item);
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/widget/
H A DBaseSwipeRefreshLayoutActivity.java115 * Click handler for the menu item to force a refresh.
118 public boolean onOptionsItemSelected(MenuItem item) { argument
119 final int id = item.getItemId();
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DActionBarUsage.java74 public boolean onOptionsItemSelected(MenuItem item) { argument
75 switch (item.getItemId()) {
78 onSort(item);
82 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show();
87 private void onSort(MenuItem item) { argument
88 mSortMode = item.getItemId();
H A DDialogUsage.java97 public boolean onOptionsItemSelected(MenuItem item) { argument
98 Toast.makeText(getOwnerActivity(), "Dialog action selected: " + item.getTitle(),
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DAppBarLayoutUsageBase.java102 public boolean onOptionsItemSelected(MenuItem item) { argument
103 switch (item.getItemId()) {
115 return super.onOptionsItemSelected(item);
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DRowsFragment.java56 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item,
58 Log.i(TAG, "onItemSelected: " + item + " row " + row);
100 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, argument
103 intent.putExtra(DetailsActivity.EXTRA_ITEM, (PhotoItem) item);
H A DRowsSupportFragment.java59 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item,
61 Log.i(TAG, "onItemSelected: " + item + " row " + row);
103 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, argument
106 intent.putExtra(DetailsSupportActivity.EXTRA_ITEM, (PhotoItem) item);
/frameworks/support/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/presenter/
H A DCardPresenter.java66 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
67 VideoInfo videoInfo = (VideoInfo) item;
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/
H A DSceneUsageBase.java61 public boolean onOptionsItemSelected(MenuItem item) { argument
62 switch (item.getItemId()) {
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DSparseArrayObjectAdapter.java45 * Returns the index for the given item in the adapter.
47 * @param item The item to find in the array.
48 * @return Index of the item, or a negative value if not found.
50 public int indexOf(Object item) { argument
51 return mItems.indexOfValue(item);
58 * @return Index of the item, or a negative value if not found.
68 * @param positionStart The position of first item that has changed.
76 * Sets the item for the given key.
78 * @param key The key associated with the item
81 set(int key, Object item) argument
[all...]
/frameworks/support/media/api23/android/support/v4/media/
H A DMediaBrowserCompatApi23.java49 public void onItemLoaded(MediaBrowser.MediaItem item) { argument
50 if (item == null) {
54 item.writeToParcel(parcel, 0);
/frameworks/support/paging/common/src/main/java/androidx/paging/
H A DContiguousDataSource.java53 * Get the key from either the position, or item, or null if position/item invalid.
55 * Position may not match passed item's position - if trying to query the key from a position
56 * that isn't yet loaded, a fallback item (last loaded item accessed) will be passed.
58 abstract Key getKey(int position, Value item); argument
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DMotionInputHandler.java64 // if there is only a single item selected, otherwise clear focus
99 boolean shouldClearSelection(@NonNull MotionEvent e, @NonNull ItemDetails<K> item) { argument
101 && !item.inSelectionHotspot(e)
102 && !mSelectionTracker.isSelected(item.getSelectionKey());
105 static boolean hasSelectionKey(@Nullable ItemDetails<?> item) { argument
106 return item != null && item.getSelectionKey() != null;
109 static boolean hasPosition(@Nullable ItemDetails<?> item) { argument
110 return item != null && item
[all...]
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DFragmentContextMenuSupport.java67 public boolean onContextItemSelected(MenuItem item) { argument
68 switch (item.getItemId()) {
76 return super.onContextItemSelected(item);
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/widget/
H A DBaseSwipeRefreshLayoutActivity.java115 * Click handler for the menu item to force a refresh.
118 public boolean onOptionsItemSelected(MenuItem item) { argument
119 final int id = item.getItemId();
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
H A DActionBarUsage.java74 public boolean onOptionsItemSelected(MenuItem item) { argument
75 switch (item.getItemId()) {
78 onSort(item);
82 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show();
87 private void onSort(MenuItem item) { argument
88 mSortMode = item.getItemId();
H A DDialogUsage.java97 public boolean onOptionsItemSelected(MenuItem item) { argument
98 Toast.makeText(getOwnerActivity(), "Dialog action selected: " + item.getTitle(),
/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DAppBarLayoutUsageBase.java102 public boolean onOptionsItemSelected(MenuItem item) { argument
103 switch (item.getItemId()) {
115 return super.onOptionsItemSelected(item);
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DRowsFragment.java56 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item,
58 Log.i(TAG, "onItemSelected: " + item + " row " + row);
100 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, argument
103 intent.putExtra(DetailsActivity.EXTRA_ITEM, (PhotoItem) item);
H A DRowsSupportFragment.java59 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item,
61 Log.i(TAG, "onItemSelected: " + item + " row " + row);
103 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, argument
106 intent.putExtra(DetailsSupportActivity.EXTRA_ITEM, (PhotoItem) item);
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/presenter/
H A DCardPresenter.java66 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
67 VideoInfo videoInfo = (VideoInfo) item;
/frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/
H A DSceneUsageBase.java61 public boolean onOptionsItemSelected(MenuItem item) { argument
62 switch (item.getItemId()) {
/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/av/media/libmediametrics/
H A DIMediaAnalyticsService.cpp73 virtual MediaAnalyticsItem::SessionID_t submit(MediaAnalyticsItem *item, bool forcenew) argument
84 if (item == NULL) {
90 ALOGD("client offers record: %s", item->toString().c_str());
93 item->writeToParcel(&data);
145 MediaAnalyticsItem *item = new MediaAnalyticsItem; local
148 item->readFromParcel(data);
150 item->setPid(clientPid);
152 // submit() takes over ownership of 'item'
153 MediaAnalyticsItem::SessionID_t sessionid = submit(item, forcenew);

Completed in 471 milliseconds

1234567891011>>