Home
last modified time | relevance | path

Searched refs:shiftAmount (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DInputPointersTests.java322 final int shiftAmount = 20; in testShift() local
330 src.shift(shiftAmount); in testShift()
331 assertEquals("length after shift", src.getPointerSize(), limit - shiftAmount); in testShift()
332 for (int i = 0; i < limit - shiftAmount; ++i) { in testShift()
333 final int oldIndex = i + shiftAmount; in testShift()
DResizableIntArrayTests.java387 final int shiftAmount = 20; in testShift() local
393 src.shift(shiftAmount); in testShift()
394 for (int i = 0; i < limit - shiftAmount; ++i) { in testShift()
395 final int oldValue = i + shiftAmount; in testShift()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Dutf8_utils.cpp98 const int shiftAmount = (trailingByteCount - i) * CODE_POINT_BIT_COUNT_IN_TRAILING_BYTE; in getUtf8String() local
99 const int value = (codePoint >> shiftAmount) & TRAILING_BYTE_CODE_POINT_BITS_MASK; in getUtf8String()
/packages/apps/Dialer/java/com/android/contacts/common/dialog/
DCallSubjectDialog.java450 int shiftAmount = dialogStartingBottom - mDialogView.getBottom(); in showCallHistory()
453 if (shiftAmount != 0) { in showCallHistory()
455 mDialogView.setTranslationY(shiftAmount); in showCallHistory()
/packages/apps/Contacts/src/com/android/contacts/dialog/
DCallSubjectDialog.java515 int shiftAmount = dialogStartingBottom - mDialogView.getBottom(); in showCallHistory()
518 if (shiftAmount != 0) { in showCallHistory()
520 mDialogView.setTranslationY(shiftAmount); in showCallHistory()
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp75 sint32 shiftAmount = leftMargin * 3; in shiftStripByLeftMargin() local
79 toPtr = newStrip + shiftAmount + (i * scanLineWidth); in shiftStripByLeftMargin()