Home
last modified time | relevance | path

Searched refs:newOffsets (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DAndroidSpellCheckerSession.java109 final int[] newOffsets = new int[suggestionsSize]; in fixWronglyInvalidatedWordWithSingleQuote() local
114 newOffsets[i] = ssi.getOffsetAt(i); in fixWronglyInvalidatedWordWithSingleQuote()
119 newOffsets[i] = additionalOffsets.get(i - N); in fixWronglyInvalidatedWordWithSingleQuote()
123 return new SentenceSuggestionsInfo(newSuggestionsInfos, newOffsets, newLengths); in fixWronglyInvalidatedWordWithSingleQuote()
/aosp12/frameworks/av/media/img_utils/src/
H A DTiffIfd.cpp331 sp<TiffEntry> newOffsets = TiffWriter::uncheckedBuildEntry(TAG_STRIPOFFSETS, LONG, in setStripOffset() local
334 if (newOffsets == NULL) { in setStripOffset()
339 if (addEntry(newOffsets) != OK) { in setStripOffset()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DFullScreenMagnificationControllerTest.java460 PointF newOffsets = computeOffsets(INITIAL_MAGNIFICATION_BOUNDS, newCenter, scale);
464 argThat(closeTo(getMagnificationSpec(scale, newOffsets))));
473 newOffsets = computeOffsets(INITIAL_MAGNIFICATION_BOUNDS, newCenter, scale);
477 argThat(closeTo(getMagnificationSpec(scale, newOffsets))));
518 PointF newOffsets = computeOffsets(INITIAL_MAGNIFICATION_BOUNDS, newCenter, scale);
520 startOffsets.x - newOffsets.x, startOffsets.y - newOffsets.y,
524 MagnificationSpec expectedSpec = getMagnificationSpec(scale, newOffsets);