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

1234567891011>>

/frameworks/av/services/mediaanalytics/
H A DMetricsSummarizer.cpp86 bool MetricsSummarizer::isMine(MediaAnalyticsItem &item) argument
90 AString itemKey = item.getKey();
132 void MetricsSummarizer::handleRecord(MediaAnalyticsItem *item) { argument
135 item == NULL ? "<nothing>" : item->toString().c_str());
137 if (item == NULL) {
143 bool good = sameAttributes((*it), item, getIgnorables());
151 item = item->dup();
152 if (item
268 sortProps(MediaAnalyticsItem *item) argument
[all...]
H A DMetricsSummarizerPlayer.cpp54 void MetricsSummarizerPlayer::mergeRecord(MediaAnalyticsItem &summation, MediaAnalyticsItem &item) { argument
63 if (item.getInt64("android.media.mediaplayer.durationMs", &duration)) {
68 if (item.getInt64("android.media.mediaplayer.playingMs", &playing))
74 if (item.getInt64("android.media.mediaplayer.frames", &frames))
80 if (item.getInt64("android.media.mediaplayer.dropped", &dropped))
H A DMetricsSummarizer.h44 bool isMine(MediaAnalyticsItem &item);
47 void handleRecord(MediaAnalyticsItem *item);
68 void sortProps(MediaAnalyticsItem *item);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaBrowserSupport.java44 public void onMediaItemSelected(MediaBrowserCompat.MediaItem item) { argument
45 if (item.isPlayable()) {
48 mediaController.getTransportControls().playFromMediaId(item.getMediaId(), null);
55 } else if (item.isBrowsable()) {
57 .replace(R.id.container, BrowseFragment.newInstance(item.getMediaId()))
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DMediaBrowserSupport.java44 public void onMediaItemSelected(MediaBrowserCompat.MediaItem item) { argument
45 if (item.isPlayable()) {
48 mediaController.getTransportControls().playFromMediaId(item.getMediaId(), null);
55 } else if (item.isBrowsable()) {
57 .replace(R.id.container, BrowseFragment.newInstance(item.getMediaId()))
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBrowseAnimationFragment.java94 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item,
98 int index = adapter.indexOf(item);
109 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item,
113 int index = adapter.indexOf(item);
124 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item,
128 int index = adapter.indexOf(item);
137 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item,
145 return new Item("add item before", new OnItemViewClickedListener() {
147 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item,
151 int index = adapter.indexOf(item);
307 onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, Row row) argument
[all...]
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBrowseAnimationFragment.java94 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item,
98 int index = adapter.indexOf(item);
109 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item,
113 int index = adapter.indexOf(item);
124 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item,
128 int index = adapter.indexOf(item);
137 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item,
145 return new Item("add item before", new OnItemViewClickedListener() {
147 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item,
151 int index = adapter.indexOf(item);
307 onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, Row row) argument
[all...]
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
H A DSortedListTest.java121 Item item = new Item();
122 assertEquals(insert(item), 0);
126 item2.cmpField = item.cmpField + 1;
131 item3.cmpField = item.cmpField - 1;
140 Item item = new Item();
141 Item item2 = new Item(item.id, item.cmpField);
142 item2.data = item.data;
143 insert(item);
152 Item item
712 insert(Item item) argument
716 remove(Item item) argument
[all...]
/frameworks/support/design/src/android/support/design/internal/
H A DNavigationMenuPresenter.java79 * Padding to be inserted at the top of the list to avoid the first menu item
144 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
149 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
206 public void setCheckedItem(MenuItemImpl item) { argument
207 mAdapter.setCheckedItem(item);
341 MenuItemImpl item = itemView.getItemData();
342 boolean result = mMenu.performItemAction(item, NavigationMenuPresenter.this, 0);
343 if (item != null && item.isCheckable() && result) {
344 mAdapter.setCheckedItem(item);
643 NavigationMenuTextItem(MenuItemImpl item) argument
[all...]
H A DNavigationMenu.java43 final MenuItemImpl item = (MenuItemImpl) addInternal(group, id, categoryOrder, title);
44 final SubMenuBuilder subMenu = new NavigationSubMenu(getContext(), this, item);
45 item.setSubMenu(subMenu);
/frameworks/av/media/libstagefright/filters/
H A DGraphicBufferListener.h34 virtual void onFrameAvailable(const BufferItem& item);
45 sp<GraphicBuffer> getBuffer(BufferItem item);
46 status_t releaseBuffer(BufferItem item);
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DMainActivity.java31 public boolean onOptionsItemSelected(MenuItem item) { argument
32 // Handle action bar item clicks here. The action bar will
35 int id = item.getItemId();
42 return super.onOptionsItemSelected(item);
/frameworks/data-binding/integration-tests/App With Spaces/app/src/main/java/android/databinding/appwithspaces/
H A DMainActivity.java48 public boolean onOptionsItemSelected(MenuItem item) { argument
49 // Handle action bar item clicks here. The action bar will
52 int id = item.getItemId();
59 return super.onOptionsItemSelected(item);
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/main/java/android/databinding/multimoduletestapp/
H A DMainActivity.java48 public boolean onOptionsItemSelected(MenuItem item) { argument
49 // Handle action bar item clicks here. The action bar will
52 int id = item.getItemId();
59 return super.onOptionsItemSelected(item);
/frameworks/data-binding/integration-tests/MultiModuleTestApp/testlibrary/src/main/java/android/databinding/testlibrary/
H A DTestLibraryMainActivity.java44 public boolean onOptionsItemSelected(MenuItem item) { argument
45 // Handle action bar item clicks here. The action bar will
48 int id = item.getItemId();
55 return super.onOptionsItemSelected(item);
/frameworks/support/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
H A DContentCategoryActivity.java38 public boolean onOptionsItemSelected(MenuItem item) { argument
39 if (item.getItemId() == android.R.id.home) {
43 return super.onOptionsItemSelected(item);
H A DSimpleUpActivity.java37 public boolean onOptionsItemSelected(MenuItem item) { argument
38 if (item.getItemId() == android.R.id.home) {
42 return super.onOptionsItemSelected(item);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/
H A DShadowRowPresenterSelector.java37 @Override public Presenter getPresenter(Object item) { argument
38 if (!(item instanceof CardListRow)) return mShadowDisabledRowPresenter;
39 CardListRow listRow = (CardListRow) item;
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
H A DContentCategoryActivity.java38 public boolean onOptionsItemSelected(MenuItem item) { argument
39 if (item.getItemId() == android.R.id.home) {
43 return super.onOptionsItemSelected(item);
H A DSimpleUpActivity.java37 public boolean onOptionsItemSelected(MenuItem item) { argument
38 if (item.getItemId() == android.R.id.home) {
42 return super.onOptionsItemSelected(item);
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/
H A DShadowRowPresenterSelector.java37 @Override public Presenter getPresenter(Object item) { argument
38 if (!(item instanceof CardListRow)) return mShadowDisabledRowPresenter;
39 CardListRow listRow = (CardListRow) item;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DCursorObjectAdapter.java144 Object item = mItemCache.get(index);
145 if (item != null) {
146 return item;
148 item = mMapper.convert(mCursor);
149 mItemCache.put(index, item);
150 return item;
172 * Removes an item from the cache. This will force the item to be re-read
/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);
144 MediaAnalyticsItem *item = new MediaAnalyticsItem; local
147 item->readFromParcel(data);
149 item->setPid(clientPid);
151 // submit() takes over ownership of 'item'
152 MediaAnalyticsItem::SessionID_t sessionid = submit(item, forcenew);
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
H A DMyActivity.class ... android.view.MenuItem) android.view.MenuItem item
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/
H A DItemViewHolder.java51 public void setItem(IItem item) { argument
52 mItem = item;

Completed in 4218 milliseconds

1234567891011>>