Searched refs:index (Results 301 - 325 of 1822) sorted by relevance

<<11121314151617181920>>

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGrid.java43 * A constant representing a default starting index, indicating that the
44 * developer did not provide a start index.
62 * @return Min index to prepend, usually it's 0; but in the preLayout case,
64 * be 3(deleted),4,5 in prelayout pass; Grid's index is still 5,6,7 in prelayout.
66 * the minimal index is 2, which is also the delta to mapping to layoutPosition in
74 * @param index 0-based index of the item in provider
83 int createItem(int index, boolean append, Object[] item, boolean disappearingItem); argument
88 * @param index 0-based index o
93 addItem(Object item, int index, int length, int rowIndex, int edge) argument
99 removeItem(int index) argument
106 getEdge(int index) argument
112 getSize(int index) argument
252 invalidateItemsAfter(int index) argument
271 getRowIndex(int index) argument
282 getLocation(int index) argument
[all...]
H A DGuidedActionAdapterGroup.java71 // for ACTION_ID_NEXT, we first find out the matching index in Actions list.
72 int index = 0;
74 index = adapter.indexOf(action);
75 if (index < 0) {
79 index++;
85 while (index < size && !adapter.getItem(index).isFocusable()) {
86 index++;
89 while (index < size && adapter.getItem(index)
[all...]
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DPlaybackSeekAsyncDataProvider.java53 protected abstract Bitmap doInBackground(Object task, int index, long position); argument
60 LoadBitmapTask(int index, ResultCallback callback) { argument
61 mIndex = index;
104 public void getThumbnail(int index, ResultCallback callback) { argument
105 Integer key = index;
108 callback.onThumbnailLoaded(bitmap, index);
114 callback.onThumbnailLoaded(bitmap, index);
116 LoadBitmapTask task = mRequests.get(index);
119 task = new LoadBitmapTask(index, callback);
120 mRequests.put(index, tas
[all...]
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java69 int index = 0;
70 String command = args[index];
74 index++;
75 command = args[index];
77 final int length = args.length - index;
83 sendText(inputSource, args[index+1]);
88 final boolean longpress = "--longpress".equals(args[index + 1]);
89 final int start = longpress ? index + 2 : index + 1;
105 sendTap(inputSource, Float.parseFloat(args[index
[all...]
/frameworks/av/media/extractors/aac/
H A DAACExtractor.h36 virtual MediaTrack *getTrack(size_t index);
37 virtual status_t getTrackMetaData(MetaDataBase& meta, size_t index, uint32_t flags);
/frameworks/av/media/extractors/amr/
H A DAMRExtractor.h36 virtual MediaTrack *getTrack(size_t index);
37 virtual status_t getTrackMetaData(MetaDataBase& meta, size_t index, uint32_t flags);
/frameworks/av/media/extractors/flac/
H A DFLACExtractor.h35 virtual MediaTrack *getTrack(size_t index);
36 virtual status_t getTrackMetaData(MetaDataBase& meta, size_t index, uint32_t flags);
/frameworks/av/media/extractors/mp3/
H A DMP3Extractor.h39 virtual MediaTrack *getTrack(size_t index);
40 virtual status_t getTrackMetaData(MetaDataBase& meta, size_t index, uint32_t flags);
/frameworks/av/media/extractors/ogg/
H A DOggExtractor.h37 virtual MediaTrack *getTrack(size_t index);
38 virtual status_t getTrackMetaData(MetaDataBase& meta, size_t index, uint32_t flags);
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder2.h38 OMX_INDEXTYPE index, OMX_PTR params);
41 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
H A DSoftAMRNBEncoder.h36 OMX_INDEXTYPE index, OMX_PTR params);
39 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/codecs/amrwbenc/
H A DSoftAMRWBEncoder.h41 OMX_INDEXTYPE index, OMX_PTR params);
44 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/codecs/g711/dec/
H A DSoftG711.h35 OMX_INDEXTYPE index, OMX_PTR params);
38 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/codecs/gsm/dec/
H A DSoftGSM.h39 OMX_INDEXTYPE index, OMX_PTR params);
42 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/codecs/on2/enc/
H A DSoftVP8Encoder.h49 OMX_INDEXTYPE index, OMX_PTR param);
54 OMX_INDEXTYPE index, const OMX_PTR param);
H A DSoftVP9Encoder.h51 OMX_INDEXTYPE index, OMX_PTR param);
56 OMX_INDEXTYPE index, const OMX_PTR param);
/frameworks/av/media/libstagefright/codecs/raw/
H A DSoftRaw.h37 OMX_INDEXTYPE index, OMX_PTR params);
40 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/foundation/
H A DAAtomizer.cpp41 size_t index = AAtomizer::Hash(name) % n; local
42 List<AString> &entry = mAtoms.editItemAt(index);
/frameworks/av/media/libstagefright/rtsp/
H A DARTPSession.h36 sp<MediaSource> trackAt(size_t index);
61 bool validateMediaFormat(size_t index, unsigned *port) const;
/frameworks/av/media/mtp/
H A DMtpPacket.h60 uint32_t getParameter(int index) const;
61 void setParameter(int index, uint32_t value);
/frameworks/base/cmds/statsd/src/matchers/
H A DLogMatchingTracker.h36 LogMatchingTracker(const int64_t& id, const int index) argument
37 : mId(id), mIndex(index), mInitialized(false){};
/frameworks/base/core/java/android/app/usage/
H A DEventList.java55 * @param index the index of the event to return, such that {@code 0 <= index < size()}
56 * @return The {@link UsageEvents.Event event} at position {@code index}
58 public UsageEvents.Event get(int index) { argument
59 return mEvents.get(index);
82 * Finds the index of the first event whose timestamp is greater than or equal to the given
86 * @return The smallest {@code index} for which {@code (get(index).mTimeStamp >= timeStamp)} is
87 * {@code true}, or {@link #size() size} if no such {@code index} exist
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java70 * as a 1D array. The float at index i represents the grayscale
87 * as a 1D array. The float at index i represents the grayscale
139 for (int index = 0; index < count; index++) {
140 final GestureStroke stroke = strokes.get(index);
219 int index = yCeiling * sampleSize + xCeiling;
220 if (sample[index] < 1){
221 sample[index] = 1;
235 int index
[all...]
/frameworks/base/core/java/android/os/
H A DRemoteCallbackList.java271 * @param index Which of the registered callbacks you would like to
279 public E getBroadcastItem(int index) { argument
280 return ((Callback)mActiveBroadcast[index]).mCallback;
289 public Object getBroadcastCookie(int index) { argument
290 return ((Callback)mActiveBroadcast[index]).mCookie;
378 * index, not the current broadcast state. This means that it is not itself thread-safe:
382 * @param index Index of which callback registration to return, from 0 to
385 * @return Returns whatever callback is associated with this index, or null if
388 public E getRegisteredCallbackItem(int index) { argument
393 return mCallbacks.valueAt(index)
411 getRegisteredCallbackCookie(int index) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DTextSwitcher.java61 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
67 super.addView(child, index, params);

Completed in 477 milliseconds

<<11121314151617181920>>