Home
last modified time | relevance | path

Searched refs:newOffset (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp291 int32_t newOffset = mSlotsOffset - size; in allocRow() local
292 if (newOffset < (int32_t) mAllocOffset) { in allocRow()
294 newOffset = mSlotsOffset - size; in allocRow()
299 memset(offsetToPtr(newOffset), 0, size); in allocRow()
300 mSlotsOffset = newOffset; in allocRow()
311 size_t newOffset = mSlotsOffset + size; in freeLastRow() local
312 if (newOffset > mSize) { in freeLastRow()
315 mSlotsOffset = newOffset; in freeLastRow()
327 if (newOffset > mSlotsOffset) { in alloc()
330 if (newOffset > mSlotsOffset) { in alloc()
[all …]
H A DAsset.cpp345 off64_t newOffset; in handleSeek() local
349 newOffset = offset; in handleSeek()
352 newOffset = curPosn + offset; in handleSeek()
355 newOffset = maxPosn + offset; in handleSeek()
364 if (newOffset < 0 || newOffset > maxPosn) { in handleSeek()
366 (long) newOffset, (long) maxPosn); in handleSeek()
370 return newOffset; in handleSeek()
/aosp14/frameworks/base/native/graphics/jni/
H A Daassetstreamadaptor.cpp98 const off64_t newOffset = AAsset_seek64(mAAsset, size, SEEK_CUR); in read() local
99 if (-1 == newOffset) { in read()
103 amount = newOffset - oldOffset; in read()
/aosp14/frameworks/base/libs/hwui/jni/
H A DUtils.cpp103 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read() local
104 if (-1 == newOffset) { in read()
108 amount = newOffset - oldOffset; in read()
/aosp14/frameworks/base/tools/aapt/
H A DStringPool.cpp314 size_t newOffset; in sortByConfig() local
318 newOffset = newEntries.add(oldEnt); in sortByConfig()
319 newEntries.editItemAt(newOffset).indices.clear(); in sortByConfig()
323 newOffset = origOffsetToNewOffset.valueAt(newIndexOfOffset); in sortByConfig()
326 newEntries.editItemAt(newOffset).indices.add(i); in sortByConfig()
328 newEntryArray.add(newOffset); in sortByConfig()
/aosp14/frameworks/base/libs/protoutil/src/
H A DEncodedBuffer.cpp62 size_t newOffset = mOffset + amt; in move() local
63 mIndex += newOffset / mChunkSize; in move()
64 mOffset = newOffset % mChunkSize; in move()
/aosp14/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java433 final int newOffset = layout.getOffsetToRightOf(state.mSelectionStart); in moveCursorToRightCursorableOffset() local
434 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToRightCursorableOffset()
440 final int newOffset = layout.getOffsetToLeftOf(state.mSelectionStart); in moveCursorToLeftCursorableOffset() local
441 state.mSelectionStart = state.mSelectionEnd = newOffset; in moveCursorToLeftCursorableOffset()
/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java911 final int newOffset = subTextStart + selStart - newSelHead; in trimLongSurroundingText() local
914 newOffset); in trimLongSurroundingText()
/aosp14/frameworks/base/media/java/android/media/
H A DMediaCodec.java1659 int newOffset, int newSize, long newTimeUs, @BufferFlag int newFlags) { in set() argument
1660 offset = newOffset; in set()
/aosp14/frameworks/base/core/java/android/widget/
H A DTextView.java10432 int newOffset = editableText.getSpanStart(mTempCursor);
10434 if (newOffset == offset) {
10439 Selection.setSelection(editableText, newOffset);
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...