Searched refs:index (Results 126 - 150 of 1205) sorted by relevance

1234567891011>>

/frameworks/base/tools/split-select/
H A DSplitDescription.cpp85 ssize_t parseAbi(const Vector<String8>& parts, const ssize_t index, argument
89 ssize_t endIndex = index;
121 if (abi == abi::Variant_none && endIndex != index) {
132 ssize_t index = str.find(":"); local
136 if (index >= 0) {
137 configStr.setTo(str.string(), index);
138 extensionStr.setTo(str.string() + index + 1);
150 index = 0;
156 index = parseAbi(parts, index,
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DIntFloat.java7 public int index; field in class:IntFloat
32 out.writeInt(index);
37 index = in.readInt();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGrid.java38 * A constant representing a default starting index, indicating that the
39 * developer did not provide a start index.
57 * @param index 0-based index of the item in provider
63 public abstract int createItem(int index, boolean append, Object[] item); argument
68 * @param index 0-based index of the item in provider
70 * @param rowIndex Row index to put the item
73 public abstract void addItem(Object item, int index, int length, int rowIndex, int edge); argument
76 * Remove visible item at index
79 removeItem(int index) argument
86 getEdge(int index) argument
92 getSize(int index) argument
230 invalidateItemsAfter(int index) argument
250 getRowIndex(int index) argument
257 getLocation(int index) argument
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DScript.java254 for (int index = 0; index < ains.length; ++index) {
255 in_ids[index] = ains[index].getID(mRS);
326 public void setVar(int index, float v) { argument
327 mRS.nScriptSetVarF(getID(mRS), index, v);
329 public float getVarF(int index) { argument
330 return mRS.nScriptGetVarF(getID(mRS), index);
337 public void setVar(int index, doubl argument
340 getVarD(int index) argument
348 setVar(int index, int v) argument
351 getVarI(int index) argument
360 setVar(int index, long v) argument
363 getVarJ(int index) argument
372 setVar(int index, boolean v) argument
375 getVarB(int index) argument
383 setVar(int index, BaseObj o) argument
393 setVar(int index, FieldPacker v) argument
401 setVar(int index, FieldPacker v, Element e, int[] dims) argument
409 getVarV(int index, FieldPacker v) argument
[all...]
/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/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DTorusTest.java95 void addTest(int index, int testId, int user1, int user2) { argument
96 mTests[index] = new ScriptField_TestScripts_s.Item();
97 mTests[index].testScript = mTorusScript;
98 mTests[index].testName = Allocation.createFromString(mRS,
99 mNames[index],
101 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS,
102 mNames[index],
111 mTests[index].testData = testData.getAllocation();
123 int index = 0;
124 addTest(index
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DArrayMap.java80 protected Object colGetEntry(int index, int offset) {
81 return mArray[(index<<1) + offset];
105 protected V colSetValue(int index, V value) {
106 return setValueAt(index, value);
110 protected void colRemoveAt(int index) {
111 removeAt(index);
/frameworks/av/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 Dc2_11pf.cpp165 index
247 Word16 index; local
299 index =
332 return index;
474 * These index have low complexity address computation because *
576 Builds the codeword, the filtered codeword and index of the
628 Word16 index; local
652 /* index = pos/5 */
653 /* index = mult(i, 6554, pOverflow); */
654 index
[all...]
/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/base/core/java/android/database/
H A DCursorJoiner.java167 populateValues(mValues, mCursorLeft, mColumnsLeft, 0 /* start filling at index 0 */);
168 populateValues(mValues, mCursorRight, mColumnsRight, 1 /* start filling at index 1 */);
247 for (int index = 0; index < values.length; index+=2) {
248 if (values[index] == null) {
249 if (values[index+1] == null) continue;
253 if (values[index+1] == null) {
257 int comp = values[index].compareTo(values[index
[all...]
/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/native/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/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java279 int index = 0;
281 int msgType = (0xFF & pdu[index++]);
286 int totalSegments = (0xFF & pdu[index++]); // >= 1
287 int segment = (0xFF & pdu[index++]); // >= 0
299 sourcePort = (0xFF & pdu[index++]) << 8;
300 sourcePort |= 0xFF & pdu[index++];
301 destinationPort = (0xFF & pdu[index++]) << 8;
302 destinationPort |= 0xFF & pdu[index++];
306 if (checkDuplicatePortOmadmWapPush(pdu, index)) {
307 index
338 checkDuplicatePortOmadmWapPush(byte[] origPdu, int index) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSuppServiceNotification.java31 /** TS 27.007 7.17 "index" */
32 public int index; field in class:SuppServiceNotification
69 + " index: " + 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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParser.java239 public String getAttributeNamespace(int index) { argument
240 return mParser.getAttributeNamespace(index);
244 public String getAttributeName(int index) { argument
245 return mParser.getAttributeName(index);
249 public String getAttributePrefix(int index) { argument
265 public String getAttributeValue(int index) { argument
266 return mParser.getAttributeValue(index);
270 public String getAttributeType(int index) { argument
275 public boolean isAttributeDefault(int index) { argument
409 public boolean getAttributeBooleanValue(int index, boolea argument
420 getAttributeFloatValue(int index, float defaultValue) argument
430 getAttributeIntValue(int index, int defaultValue) argument
440 getAttributeListValue(int index, String[] options, int defaultValue) argument
451 getAttributeNameResource(int index) argument
456 getAttributeResourceValue(int index, int defaultValue) argument
466 getAttributeUnsignedIntValue(int index, int defaultValue) argument
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.cpp146 void VideoFormats::setNativeResolution(ResolutionType type, size_t index) { argument
148 CHECK(GetConfiguration(type, index, NULL, NULL, NULL, NULL));
151 mNativeIndex = index;
153 setResolutionEnabled(type, index);
157 ResolutionType *type, size_t *index) const {
159 *index = mNativeIndex;
182 ResolutionType type, size_t index,
186 if (!GetConfiguration(type, index, &width, &height,
205 ResolutionType type, size_t index, bool enabled) {
207 CHECK(GetConfiguration(type, index, NUL
181 enableResolutionUpto( ResolutionType type, size_t index, ProfileType profile, LevelType level) argument
204 setResolutionEnabled( ResolutionType type, size_t index, bool enabled) argument
220 setProfileLevel( ResolutionType type, size_t index, ProfileType profile, LevelType level) argument
230 getProfileLevel( ResolutionType type, size_t index, ProfileType *profile, LevelType *level) const argument
270 GetConfiguration( ResolutionType type, size_t index, size_t *width, size_t *height, size_t *framesPerSecond, bool *interlaced) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPolicyMix.cpp56 ssize_t index = indexOfKey(address); local
57 if (index >= 0) {
69 ssize_t index = indexOfKey(address); local
70 if (index < 0) {
75 removeItemsAt(index);
82 ssize_t index = indexOfKey(address); local
83 if (index < 0) {
87 policyMix = valueAt(index);
177 ssize_t index = indexOfKey(address); local
178 if (index <
[all...]
/frameworks/base/core/java/android/content/
H A DSyncStatusInfo.java154 public void setPeriodicSyncTime(int index, long when) { argument
156 // we initialize elements < index to zero (zero is ignore for scheduling purposes)
157 ensurePeriodicSyncTimeSize(index);
158 periodicSyncTimes.set(index, when);
161 public long getPeriodicSyncTime(int index) { argument
162 if (periodicSyncTimes != null && index < periodicSyncTimes.size()) {
163 return periodicSyncTimes.get(index);
169 public void removePeriodicSyncTime(int index) { argument
170 if (periodicSyncTimes != null && index < periodicSyncTimes.size()) {
171 periodicSyncTimes.remove(index);
185 ensurePeriodicSyncTimeSize(int index) argument
[all...]
/frameworks/native/opengl/libagl/
H A DTokenizer.cpp129 ssize_t Tokenizer::_insertTokenAt(uint32_t token, size_t index) argument
133 if (index >= 1) {
135 run_t& p = mRanges.editItemAt(index-1);
138 if (index < c) {
139 const run_t& n = mRanges[index];
142 mRanges.removeItemsAt(index);
145 return index;
149 if (index < c) {
151 run_t& n = mRanges.editItemAt(index);
155 return index;
[all...]
/frameworks/base/libs/hwui/utils/
H A DSortedList.h74 inline const TYPE& operator [](size_t index) const;
75 inline const TYPE& itemAt(size_t index) const;
77 const TYPE& mirrorItemAt(ssize_t index) const;
81 TYPE& editItemAt(size_t index) { argument
82 return *(static_cast<TYPE *> (VectorImpl::editItemLocation(index)));
90 inline ssize_t removeItemsAt(size_t index, size_t count = 1);
91 inline ssize_t removeAt(size_t index) { argument
92 return removeItemsAt(index);
148 inline const TYPE& SortedList<TYPE>::operator[](size_t index) const {
149 assert( index<siz
[all...]
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp39 ssize_t index = 0; local
42 const char* part = parts[index].string();
49 index++;
50 if (index == N) {
53 part = parts[index].string();
57 index++;
58 if (index == N) {
61 part = parts[index].string();
65 // control the index.
66 localeIndex = locale.initFromDirName(parts, index);
[all...]
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffHelpers.h30 #define BYTES_TILL_WORD(index) \
31 ((TIFF_WORD_SIZE - ((index) % TIFF_WORD_SIZE)) % TIFF_WORD_SIZE)
36 #define ZERO_TILL_WORD(output, index, ret) \
38 size_t remaining = BYTES_TILL_WORD(index); \
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_gain_c.cpp60 index = received quantization index of type Word16
82 Purpose : Decode the fixed codebook gain using the received index.
193 Word16 index, /* i : received quantization index */
220 index &= 31; /* index < 32, to avoid buffer overflow */
221 tbl_tmp = index + (index << 1);
190 d_gain_code( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 *gain_code, Flag *pOverflow ) argument

Completed in 666 milliseconds

1234567891011>>