Searched defs:index (Results 26 - 50 of 474) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemFocusablesClose.java33 * @param listIndex The index of the currently visible items
34 * @param index The index of the child.
36 public View getChildOfItem(int listIndex, int index) { argument
37 return ((ViewGroup) getListView().getChildAt(listIndex)).getChildAt(index);
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListItemFocusablesFarApartTest.java47 * @param listIndex The index of the currently visible items
48 * @param index The index of the child.
50 public View getChildOfItem(int listIndex, int index) { argument
51 return ((ViewGroup) mListView.getChildAt(listIndex)).getChildAt(index);
55 public int getTopOfChildOfItem(int listIndex, int index) { argument
57 View child = listItem.getChildAt(index);
61 public int getBottomOfChildOfItem(int listIndex, int index) { argument
63 View child = listItem.getChildAt(index);
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DShortButtons.java37 public Button getButtonAt(int index) { argument
38 if (index < 3) {
39 return getContentChildAt(index);
42 return (Button) ll.getChildAt(index - 3);
/frameworks/base/media/java/android/media/
H A DCameraProfile.java113 private static native final int native_get_image_encoding_quality_level(int cameraId, int index); argument
H A DDecoderCapabilities.java81 private static native final int native_get_video_decoder_type(int index); argument
83 private static native final int native_get_audio_decoder_type(int index); argument
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Ddec_lag3.cpp63 index -- Word16 -- received pitch index
93 the received adaptive codebook index.
186 void Dec_lag3(Word16 index, /* i : received pitch index */ argument
204 if (index < 197)
207 tmp_lag = index + 2;
230 index,
242 *T0 = index - 112;
258 index,
[all...]
H A Ddec_lag6.cpp63 index -- Word16 -- received pitch index
89 the received adaptive codebook index.
96 decoder receives 61, 62, or 63 as the relative pitch index, it means
186 Word16 index, /* input : received pitch index */
203 if (index < 463)
205 /* T0 = (index+5)/6 + 17 */
206 i = index + 5;
226 /* *T0_frac = index
185 Dec_lag6( Word16 index, Word16 pit_min, Word16 pit_max, Word16 i_subfr, Word16 *T0, Word16 *T0_frac, Flag *pOverflow ) argument
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Denc_lag3.cpp127 * index = (T-19)*3 + frac - 1;
130 * index = (T - 85) + 197; where T=[86..143]
141 * index = (T-(t_min-1))*3 + frac - 1;
157 Word16 index, i, tmp_ind, uplag;
167 // index = T0*3 - 58 + T0_frac
169 index = add (sub (i, 58), T0_frac);
173 index = add (T0, 112);
182 // index = 3*(T0 - T0_min) + 2 + T0_frac
185 index = add (add (i, 2), T0_frac);
204 index
262 Word16 index, i, tmp_ind, uplag; local
[all...]
H A Dq_gain_c.cpp141 quantization index -- Word16 -- Q0
191 Word16 q_gain_code( /* o : quantization index, Q0 */
205 Word16 index; local
253 index = 0;
270 index = i;
274 temp = index + (index << 1);
292 return index;
H A Dq_gain_p.cpp130 Word16 -- index of quantization
179 Word16 q_gain_pitch( /* Return index of quantization */
189 Word16 index; local
196 index = 0;
208 index = i;
215 /* in MR795 mode, compute three gain_pit candidates around the index
216 * found in the quantization loop: the index found and the two direct
222 if (index == 0)
224 ii = index;
228 if (index
[all...]
/frameworks/base/media/libstagefright/codecs/amrwb/src/
H A Ddec_acelp_4p_in_64.cpp47 int16 index[], (i) : index (20): 5+5+5+5 = 20 bits.
48 (i) : index (36): 9+9+9+9 = 36 bits.
49 (i) : index (44): 13+9+13+9 = 44 bits.
50 (i) : index (52): 13+13+13+13 = 52 bits.
51 (i) : index (64): 2+2+2+2+14+14+14+14 = 64 bits.
52 (i) : index (72): 10+2+10+2+10+14+10+14 = 72 bits.
53 (i) : index (88): 11+11+11+11+11+11+11+11 = 88 bits.
149 int16 index[], /* (i) : index (2
148 dec_acelp_4p_in_64( int16 index[], int16 nbbits, int16 code[] ) argument
[all...]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_neighbour.h58 u8 index; member in struct:__anon888
/frameworks/base/media/libstagefright/foundation/
H A DAAtomizer.cpp41 size_t index = AAtomizer::Hash(name) % n; local
42 List<AString> &entry = mAtoms.editItemAt(index);
/frameworks/base/services/java/com/android/server/am/
H A DTaskAccessInfo.java28 int index; field in class:TaskAccessInfo.SubTask
/frameworks/base/tools/aapt/
H A DResourceFilter.cpp45 ssize_t index = mData.indexOfKey(axis); local
46 if (index < 0) {
79 ssize_t index = mData.indexOfKey(axis); local
80 if (index < 0) {
84 const SortedVector<uint32_t>& sv = mData.valueAt(index);
107 ssize_t index = mData.indexOfKey(axis); local
108 if (index < 0) {
111 return &mData.valueAt(index);
/frameworks/compile/libbcc/tests/data/src/
H A DaddressOf.c8 int index = 0; local
14 float *v2 = &s[index].x;
H A Dfilm.c29 int main(int index) argument
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DLineVerifier.java28 private int index; field in class:LineVerifier
43 if (index >= mLineVerifierElemList.size()) {
44 TestCase.fail("Insufficient number of LineVerifier (" + index + ")");
47 final LineVerifierElem lineVerifier = mLineVerifierElemList.get(index);
50 index++;
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityEventCompatIcs.java35 public static Object getRecord(AccessibilityEvent event, int index) { argument
36 return event.getRecord(index);
/frameworks/base/core/java/android/widget/
H A DEditText.java91 public void setSelection(int index) { argument
92 Selection.setSelection(getText(), index);
105 public void extendSelection(int index) { argument
106 Selection.extendSelection(getText(), index);
H A DViewSwitcher.java62 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
66 super.addView(child, index, params);
/frameworks/base/core/java/com/android/internal/util/
H A DMemInfoReader.java30 private boolean matchText(byte[] buffer, int index, String text) { argument
32 if ((index+N) >= buffer.length) {
36 if (buffer[index+i] != text.charAt(i)) {
43 private long extractMemValue(byte[] buffer, int index) { argument
44 while (index < buffer.length && buffer[index] != '\n') {
45 if (buffer[index] >= '0' && buffer[index] <= '9') {
46 int start = index;
47 index
[all...]
/frameworks/base/include/utils/
H A DSortedVector.h82 //! finds the index of an item
93 //! read-only access to an item at a given index
94 inline const TYPE& operator [] (size_t index) const;
96 inline const TYPE& itemAt(size_t index) const;
99 //! same as operator [], but allows to access the vector backward (from the end) with a negative index
100 const TYPE& mirrorItemAt(ssize_t index) const;
110 TYPE& editItemAt(size_t index) { argument
111 return *( static_cast<TYPE *>(VectorImpl::editItemLocation(index)) );
122 inline ssize_t removeItemsAt(size_t index, size_t count = 1);
124 inline ssize_t removeAt(size_t index) { retur argument
[all...]
/frameworks/base/libs/binder/
H A DPermissionCache.cpp43 ssize_t index = mCache.indexOf(e); local
44 if (index >= 0) {
45 *granted = mCache.itemAt(index).granted;
55 ssize_t index = mPermissionNamesPool.indexOf(permission); local
56 if (index > 0) {
57 e.name = mPermissionNamesPool.itemAt(index);
66 index = mCache.indexOf(e);
67 if (index < 0) {
/frameworks/base/libs/rs/driver/
H A DrsdFrameBufferObj.h30 void setColorTarget(DrvAllocation *color, uint32_t index) { argument
31 mColorTargets[index] = color;

Completed in 2092 milliseconds

1234567891011>>