Searched refs:index (Results 151 - 175 of 1601) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiTimerRecordSources.java200 /* package */ int toByteArray(byte[] data, int index) { argument
201 data[index] = toBcdByte(mHour);
202 data[index + 1] = toBcdByte(mMinute);
346 int toByteArray(byte[] data, int index) { argument
348 data[index] = (byte) mDayOfMonth;
349 index += DAY_OF_MONTH_SIZE;
351 data[index] = (byte) mMonthOfYear;
352 index += MONTH_OF_YEAR_SIZE;
354 index += mStartTime.toByteArray(data, index);
394 toByteArray(byte[] data, int index) argument
426 extraParamToByteArray(byte[] data, int index) argument
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
H A DComponentWriter.java39 int index = 1;
41 addGetter(builder, simpleName, className, index++);
52 int index) {
57 if (index > 0) {
58 builder.append(index);
51 addGetter(StringBuilder builder, String simpleName, String className, int index) argument
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DInputStreamBuffer.java32 * say you have a loop that reads bytes from index <code>0</code> to <code>10</code>,
33 * skips to index <code>N</code>, reads from index <code>N</code> to <code>N+10</code>, etc. Then
39 * helps to keep the internal buffer small. In the above example, after reading bytes from index
41 * buffer becomes filled with bytes from index <code>N</code> to <code>N+10</code>.
45 * index, then you should set the <code>autoAdvance</code> parameter to <code>true</code> in the
48 * <code>autoAdvance</code> is enabled, every time an index is beyond the buffer length,
49 * the buffer will be shifted forward such that the index requested becomes the first element in
53 * All public methods with parameter <code>index</code> are absolute indexed. The index i
129 get(final int index) argument
159 has(final int index) argument
187 advanceTo(final int index) argument
261 fill(final int index) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DInputStreamBuffer.java32 * say you have a loop that reads bytes from index <code>0</code> to <code>10</code>,
33 * skips to index <code>N</code>, reads from index <code>N</code> to <code>N+10</code>, etc. Then
39 * helps to keep the internal buffer small. In the above example, after reading bytes from index
41 * buffer becomes filled with bytes from index <code>N</code> to <code>N+10</code>.
45 * index, then you should set the <code>autoAdvance</code> parameter to <code>true</code> in the
48 * <code>autoAdvance</code> is enabled, every time an index is beyond the buffer length,
49 * the buffer will be shifted forward such that the index requested becomes the first element in
53 * All public methods with parameter <code>index</code> are absolute indexed. The index i
129 get(final int index) argument
159 has(final int index) argument
187 advanceTo(final int index) argument
261 fill(final int index) argument
[all...]
/frameworks/support/wear/src/android/support/wear/internal/widget/drawer/
H A DMultiPagePresenter.java68 void setNavigationPagerSelectedItem(int index, boolean smoothScrollTo); argument
102 public void onSelected(int index) { argument
103 notifyItemSelectedListeners(index);
107 public void onSetCurrentItemRequested(int index, boolean smoothScrollTo) { argument
108 mUi.setNavigationPagerSelectedItem(index, smoothScrollTo);
/frameworks/base/media/java/android/media/
H A DMediaCodec.java1659 int index = msg.arg2;
1661 validateInputByteBuffer(mCachedInputBuffers, index);
1663 mCallback.onInputBufferAvailable(mCodec, index);
1669 int index = msg.arg2;
1672 validateOutputByteBuffer(mCachedOutputBuffers, index, info);
1675 mCodec, index, info);
2269 * After filling a range of the input buffer at the specified index
2306 * @param index The index of a client-owned input buffer previously returned
2326 int index,
2325 queueInputBuffer( int index, int offset, int size, long presentationTimeUs, int flags) argument
2342 native_queueInputBuffer( int index, int offset, int size, long presentationTimeUs, int flags) argument
2521 queueSecureInputBuffer( int index, int offset, @NonNull CryptoInfo info, long presentationTimeUs, int flags) argument
2540 native_queueSecureInputBuffer( int index, int offset, @NonNull CryptoInfo info, long presentationTimeUs, int flags) argument
2658 releaseOutputBuffer(int index, boolean render) argument
2719 releaseOutputBuffer(int index, long renderTimestampNs) argument
2732 releaseOutputBuffer( int index, boolean render, boolean updatePTS, long timeNs) argument
2786 getOutputFormat(int index) argument
2794 getOutputFormatNative(int index) argument
2829 remove(int index) argument
2837 put(int index, @Nullable ByteBuffer newBuffer) argument
2846 put(int index, @Nullable Image newImage) argument
2871 invalidateByteBuffer( @ullable ByteBuffer[] buffers, int index) argument
2881 validateInputByteBuffer( @ullable ByteBuffer[] buffers, int index) argument
2892 revalidateByteBuffer( @ullable ByteBuffer[] buffers, int index) argument
2904 validateOutputByteBuffer( @ullable ByteBuffer[] buffers, int index, @NonNull BufferInfo info) argument
3043 getInputBuffer(int index) argument
3072 getInputImage(int index) argument
3101 getOutputBuffer(int index) argument
3129 getOutputImage(int index) argument
3406 onInputBufferAvailable(@onNull MediaCodec codec, int index) argument
3415 onOutputBufferAvailable( @onNull MediaCodec codec, int index, @NonNull BufferInfo info) argument
3469 getBuffer(boolean input, int index) argument
3472 getImage(boolean input, int index) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIDynamicInterfaceManagement.cpp36 int index = clazz->mMPH_to_index[MPH]; local
37 assert(0 <= index && index < (int) clazz->mInterfaceCount);
38 SLuint8 *interfaceStateP = &thisObject->mInterfaceStates[index];
53 const struct iid_vtable *x = &clazz->mInterfaces[index];
117 int MPH, index; local
121 (0 > (index = clazz->mMPH_to_index[MPH]))) {
124 assert(index < (int) clazz->mInterfaceCount);
125 SLuint8 *interfaceStateP = &thisObject->mInterfaceStates[index];
161 const struct iid_vtable *x = &clazz->mInterfaces[index];
213 int MPH, index; local
292 int index = clazz->mMPH_to_index[MPH]; local
365 int MPH, index; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd1035pf.cpp93 index = buffer containing index of 10 pulses; each element is
112 This function builds the innovative codevector from the received index of
130 Word16 index[], // (i) : index of 10 pulses (sign+position)
145 // compute index i
147 tmp = index[j];
166 // compute index i
168 i = index[add (j, 5)] & 7;
208 Word16 index[], /* (
207 dec_10i40_35bits( Word16 index[], Word16 cod[] ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc1035pf.cpp137 This is a local function that determnes the index of the pulses by looking up
248 This function builds the codeword, the filtered codeword and index of the
268 Word16 indx[] // (o) : index of 10 pulses (sign+position)
271 Word16 i, j, k, track, index, _sign[NB_PULSE];
291 index = mult (i, 6554); // index = pos/5
293 track = sub (i, extract_l (L_shr (L_mult (index, 5), 1)));
305 index = add (index, 8);
310 indx[track] = index;
409 Word16 i, k, track, index, _sign[NB_PULSE]; local
[all...]
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...]
/frameworks/base/core/java/android/util/
H A DMemoryIntArray.java99 * Gets the value at a given index.
101 * @param index The index.
102 * @return The value at this index.
105 public int get(int index) throws IOException { argument
107 enforceValidIndex(index);
108 return nativeGet(mFd, mMemoryAddr, index);
112 * Sets the value at a given index. This method can be called only if
116 * @param index The index
120 set(int index, int value) argument
210 enforceValidIndex(int index) argument
227 nativeGet(int fd, long memoryAddr, int index) argument
228 nativeSet(int fd, long memoryAddr, int index, int value) argument
[all...]
/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/compile/slang/tests/P_struct_field/
H A DScriptField_InnerTwo.java.expect121 private void copyToArray(Item i, int index) {
123 mIOBuffer.reset(index * mElement.getBytesSize());
127 public synchronized void set(Item i, int index, boolean copyNow) {
129 mItemArray[index] = i;
131 copyToArray(i, index);
134 mAllocation.setFromFieldPacker(index, fp);
139 public synchronized Item get(int index) {
141 return mItemArray[index];
144 public synchronized void set_z(int index, byte v, boolean copyNow) {
147 if (mItemArray[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/base/core/java/android/view/
H A DHandlerActionQueue.java97 public Runnable getRunnable(int index) { argument
98 if (index >= mCount) {
101 return mActions[index].action;
104 public long getDelay(int index) { argument
105 if (index >= mCount) {
108 return mActions[index].delay;
/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/support/compat/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/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/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.java263 int index = 0;
265 int msgType = (0xFF & pdu[index++]);
270 int totalSegments = (0xFF & pdu[index++]); // >= 1
271 int segment = (0xFF & pdu[index++]); // >= 0
283 sourcePort = (0xFF & pdu[index++]) << 8;
284 sourcePort |= 0xFF & pdu[index++];
285 destinationPort = (0xFF & pdu[index++]) << 8;
286 destinationPort |= 0xFF & pdu[index++];
290 if (checkDuplicatePortOmadmWapPush(pdu, index)) {
291 index
324 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/v17/leanback/src/android/support/v17/leanback/widget/
H A DMultiActionsProvider.java34 * the current index within the drawables. Both list of drawables and index can be updated
71 * Increments the index which this MultiAction currently represents. The index is wrapped
79 * Sets the index which this MultiAction currently represents.
80 * @param index The current action index.
82 public void setIndex(int index) { argument
83 mIndex = index;
87 * Returns the currently selected index i
[all...]

Completed in 3308 milliseconds

1234567891011>>