/frameworks/base/libs/hwui/ |
H A D | ResourceCache.cpp | 70 ssize_t index = mCache->indexOfKey(resource); local 71 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; 89 ssize_t index = mCache->indexOfKey(resource); local 90 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; 111 ssize_t index = mCache->indexOfKey(resource); local 112 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr;
|
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiTimerRecordSources.java | 200 /* 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 D | ComponentWriter.java | 39 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 D | InputStreamBuffer.java | 32 * 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 D | InputStreamBuffer.java | 32 * 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/base/media/java/android/media/ |
H A D | MediaCodec.java | 1647 int index = msg.arg2; 1649 validateInputByteBuffer(mCachedInputBuffers, index); 1651 mCallback.onInputBufferAvailable(mCodec, index); 1657 int index = msg.arg2; 1660 validateOutputByteBuffer(mCachedOutputBuffers, index, info); 1663 mCodec, index, info); 2215 * After filling a range of the input buffer at the specified index 2252 * @param index The index of a client-owned input buffer previously returned 2272 int index, 2271 queueInputBuffer( int index, int offset, int size, long presentationTimeUs, int flags) argument 2288 native_queueInputBuffer( int index, int offset, int size, long presentationTimeUs, int flags) argument 2467 queueSecureInputBuffer( int index, int offset, @NonNull CryptoInfo info, long presentationTimeUs, int flags) argument 2486 native_queueSecureInputBuffer( int index, int offset, @NonNull CryptoInfo info, long presentationTimeUs, int flags) argument 2604 releaseOutputBuffer(int index, boolean render) argument 2665 releaseOutputBuffer(int index, long renderTimestampNs) argument 2678 releaseOutputBuffer( int index, boolean render, boolean updatePTS, long timeNs) argument 2732 getOutputFormat(int index) argument 2740 getOutputFormatNative(int index) argument 2775 remove(int index) argument 2783 put(int index, @Nullable ByteBuffer newBuffer) argument 2792 put(int index, @Nullable Image newImage) argument 2817 invalidateByteBuffer( @ullable ByteBuffer[] buffers, int index) argument 2827 validateInputByteBuffer( @ullable ByteBuffer[] buffers, int index) argument 2838 revalidateByteBuffer( @ullable ByteBuffer[] buffers, int index) argument 2850 validateOutputByteBuffer( @ullable ByteBuffer[] buffers, int index, @NonNull BufferInfo info) argument 2989 getInputBuffer(int index) argument 3018 getInputImage(int index) argument 3047 getOutputBuffer(int index) argument 3075 getOutputImage(int index) argument 3335 onInputBufferAvailable(@onNull MediaCodec codec, int index) argument 3344 onOutputBufferAvailable( @onNull MediaCodec codec, int index, @NonNull BufferInfo info) argument 3398 getBuffer(boolean input, int index) argument 3401 getImage(boolean input, int index) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
H A D | CarNavigationBarController.java | 101 int index = mFacetPackageMap.get(packageName); 102 mFacetHasMultipleAppsCache.put(index, facetHasMultiplePackages(index)); 109 int index = mFacetCategoryMap.get(category); 110 mFacetHasMultipleAppsCache.put(index, facetHasMultiplePackages(index)); 203 private boolean facetHasMultiplePackages(int index) { argument 207 String[] packages = mFacetPackages.get(index); 220 String categories[] = mFacetCategories.get(index); 236 private void setCurrentFacet(int index) { argument 291 onFacetClicked(int index) argument 313 onFacetLongClicked(int index) argument [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IDynamicInterfaceManagement.c | 36 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 D | d1035pf.cpp | 93 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 D | c1035pf.cpp | 137 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 D | enc_lag3.cpp | 127 * 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 D | MemoryIntArray.java | 102 * Gets the value at a given index. 104 * @param index The index. 105 * @return The value at this index. 108 public int get(int index) throws IOException { argument 110 enforceValidIndex(index); 111 return nativeGet(mFd.getFd(), mMemoryAddr, index, isOwner()); 115 * Sets the value at a given index. This method can be called only if 119 * @param index The index 123 set(int index, int value) argument 217 enforceValidIndex(int index) argument 234 nativeGet(int fd, long memoryAddr, int index, boolean owner) argument 235 nativeSet(int fd, long memoryAddr, int index, int value, boolean owner) argument [all...] |
/frameworks/base/tools/split-select/ |
H A D | SplitDescription.cpp | 85 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 D | IntFloat.java | 7 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 D | Grid.java | 38 * 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...] |
H A D | MultiActionsProvider.java | 34 * 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...] |
/frameworks/base/core/java/android/view/ |
H A D | HandlerActionQueue.java | 99 public Runnable getRunnable(int index) { argument 100 if (index >= mCount) { 103 return mActions[index].action; 106 public long getDelay(int index) { argument 107 if (index >= mCount) { 110 return mActions[index].delay;
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListItemFocusablesFarApartTest.java | 47 * @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/v4/java/android/support/v4/util/ |
H A D | ArrayMap.java | 80 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/raw/ |
H A D | SoftRaw.h | 37 OMX_INDEXTYPE index, OMX_PTR params); 40 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/base/core/java/android/database/ |
H A D | CursorJoiner.java | 167 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 D | ListItemFocusablesClose.java | 33 * @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 D | PermissionCache.cpp | 43 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 D | CdmaInboundSmsHandler.java | 262 int index = 0; 264 int msgType = (0xFF & pdu[index++]); 269 int totalSegments = (0xFF & pdu[index++]); // >= 1 270 int segment = (0xFF & pdu[index++]); // >= 0 282 sourcePort = (0xFF & pdu[index++]) << 8; 283 sourcePort |= 0xFF & pdu[index++]; 284 destinationPort = (0xFF & pdu[index++]) << 8; 285 destinationPort |= 0xFF & pdu[index++]; 289 if (checkDuplicatePortOmadmWapPush(pdu, index)) { 290 index 323 checkDuplicatePortOmadmWapPush(byte[] origPdu, int index) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SuppServiceNotification.java | 31 /** TS 27.007 7.17 "index" */ 32 public int index; field in class:SuppServiceNotification 69 + " index: " + index
|