Searched refs:item (Results 276 - 300 of 364) sorted by relevance

<<1112131415

/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/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DBaseCompilationTest.java90 for (File item : FileUtils.listFiles(folder, null, true)) {
91 if (item.getAbsolutePath().equals(folder.getAbsolutePath())) {
94 String resourcePath = item.getAbsolutePath().substring(len);
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
H A DHistogramPredictor.java221 for (Map.Entry<String, Double> item : scoreMap.entrySet()) {
222 String appName = item.getKey();
223 double appScore = item.getValue();
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DIPControls.java311 public boolean onOptionsItemSelected(MenuItem item) { argument
313 switch(item.getItemId()) {
319 return super.onOptionsItemSelected(item);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DIPControlsJB.java319 public boolean onOptionsItemSelected(MenuItem item) { argument
321 switch(item.getItemId()) {
327 return super.onOptionsItemSelected(item);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DListRowPresenter.java34 * display a view for the currently focused list item below the rendered
165 * @param focusZoomFactor Controls the zoom factor used when an item view is focused. One of
180 * @param focusZoomFactor Controls the zoom factor used when an item view is focused. One of
432 * Dispatch item selected event using current selected item in the {@link HorizontalGridView}.
507 protected void onBindRowViewHolder(RowPresenter.ViewHolder holder, Object item) { argument
508 super.onBindRowViewHolder(holder, item);
510 ListRow rowItem = (ListRow) item;
612 * false and deal with the individual item select level by itself.
H A DItemBridgeAdapter.java243 Object item = mAdapter.get(position);
244 Presenter presenter = presenterSelector.getPresenter(item);
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DAsyncListUtil.java82 * @param klass Class of the data item.
83 * @param tileSize Number of item per chunk loaded at once.
85 * @param viewCallback Callback for querying visible item range and update notifications.
108 * Updates the currently visible item range.
127 * range. To be called when the data item count and/or contents has changed.
135 * Returns the data item at the given position or <code>null</code> if it has not been loaded
141 * this position stays outside of the cached item range (as defined by
147 * @return The data item at the given position or <code>null</code> if it has not been loaded
154 T item = mTileList.getItemAt(position);
155 if (item
[all...]
/frameworks/av/include/media/stagefright/
H A DMediaSync.h150 virtual void onFrameAvailable(const BufferItem &item);
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h192 void freeItemValue(Item *item);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor.cpp69 void ZslProcessor::onFrameAvailable(const BufferItem& /*item*/) {
443 BufferItem item; local
444 res = zslConsumer->acquireBuffer(&item, 0);
460 zslConsumer->releaseBuffer(item);
475 queueHead.buffer = item;
H A DStreamingProcessor.cpp695 void StreamingProcessor::onFrameAvailable(const BufferItem& /*item*/) {
880 const BufferItem item = mRecordingBuffers[itemIndex]; local
881 if (item.mBuf != BufferItemConsumer::INVALID_BUFFER_SLOT &&
882 item.mGraphicBuffer->getNativeBuffer() == payload->pBuffer) {
925 const BufferItem item = mRecordingBuffers[itemIndex]; local
926 if (item.mBuf != BufferItemConsumer::INVALID_BUFFER_SLOT) {
931 mId, item.mGraphicBuffer->handle, strerror(-res), res);
/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,
376 View item;
400 item = getChildAt(i);
401 t = item.getTop();
402 b = item.getBottom();
404 // This item isn't on the screen
407 // Get more expandable list-related info for this item
413 // If this item type and the previous item typ
[all...]
/frameworks/base/media/java/android/media/browse/
H A DMediaBrowser.java304 * @param parentId The id of the parent media item whose list of children
346 * @param parentId The id of the parent media item whose list of children
375 * @param mediaId The id of the item to retrieve.
403 Parcelable item = resultData.getParcelable(MediaBrowserService.KEY_MEDIA_ITEM);
404 if (!(item instanceof MediaItem)) {
408 cb.onItemLoaded((MediaItem)item);
414 Log.i(TAG, "Remote error getting media item.");
591 * Flag: Indicates that the item has children of its own.
596 * Flag: Indicates that the item is playable.
598 * The id of this item ma
762 onItemLoaded(MediaItem item) argument
[all...]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionSessionConnection.java314 void grantClipDataItemPermission(ClipData.Item item, int mode, int srcUid, int destUid, argument
316 if (item.getUri() != null) {
317 grantUriPermission(item.getUri(), mode, srcUid, destUid, destPkg);
319 Intent intent = item.getIntent();
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentActivity.java324 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
325 if (super.onMenuItemSelected(featureId, item)) {
331 return mFragments.dispatchOptionsItemSelected(item);
334 return mFragments.dispatchContextItemSelected(item);
/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java330 * Called to get information about the children of a media item.
339 * @param parentId The id of the parent media item whose children are to be
348 * Called to get information about a specific media item.
351 * loading the item will be an expensive operation {@link Result#detach
353 * then {@link Result#sendResult result.sendResult} called when the item has
360 * @param result The Result to send the item to, or null if the id is
413 * @param parentId The id of the parent media item whose
507 void onResultSent(MediaBrowser.MediaItem item) {
509 bundle.putParcelable(KEY_MEDIA_ITEM, item);
/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/support/v17/leanback/src/android/support/v17/leanback/app/
H A DDetailsFragment.java101 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item,
109 mExternalOnItemViewSelectedListener.onItemSelected(itemViewHolder, item,
141 * Sets an item selection listener.
148 * Sets an item clicked listener.
160 * Returns the item clicked listener.
224 // align the top edge of item to a fixed position
H A DDetailsSupportFragment.java103 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item,
111 mExternalOnItemViewSelectedListener.onItemSelected(itemViewHolder, item,
143 * Sets an item selection listener.
150 * Sets an item clicked listener.
162 * Returns the item clicked listener.
226 // align the top edge of item to a fixed position
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java1693 for (SyncStorageEngine.SyncHistoryItem item : items) {
1695 = mSyncStorageEngine.getAuthority(item.authorityId);
1727 final long elapsedTime = item.elapsedTime;
1832 SyncStorageEngine.SyncHistoryItem item = items.get(i);
1834 = mSyncStorageEngine.getAuthority(item.authorityId);
1856 final long elapsedTime = item.elapsedTime;
1858 final long eventTime = item.eventTime;
1883 SyncStorageEngine.SOURCES[item.source],
1887 SyncOperation.reasonToString(pm, item.reason));
1889 if (item
[all...]
/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp759 BufferItem item = mGraphicBufferListener->getBufferItem(); local
760 sp<GraphicBuffer> buf = mGraphicBufferListener->getBuffer(item);
776 inputInfo->mBufferID = item.mBuf;
780 inputInfo->mData->meta()->setInt64("timeUs", item.mTimestamp / 1000);
784 mGraphicBufferListener->releaseBuffer(item);
/frameworks/base/core/java/android/app/
H A DDialog.java881 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
921 public boolean onOptionsItemSelected(MenuItem item) { argument
988 public boolean onContextItemSelected(MenuItem item) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DQsTuner.java94 public boolean onOptionsItemSelected(MenuItem item) { argument
95 switch (item.getItemId()) {
103 return super.onOptionsItemSelected(item);
/frameworks/base/services/core/java/com/android/server/notification/
H A DConditionProviders.java331 final T item = items[i];
332 if (item != null) {
333 rt.add(item);

Completed in 944 milliseconds

<<1112131415