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.java302 final int shiftAmount = 20; in testShift() local
310 src.shift(shiftAmount); in testShift()
311 assertEquals("length after shift", src.getPointerSize(), limit - shiftAmount); in testShift()
312 for (int i = 0; i < limit - shiftAmount; ++i) { in testShift()
313 final int oldIndex = i + shiftAmount; in testShift()
DResizableIntArrayTests.java365 final int shiftAmount = 20; in testShift() local
371 src.shift(shiftAmount); in testShift()
372 for (int i = 0; i < limit - shiftAmount; ++i) { in testShift()
373 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.java452 int shiftAmount = dialogStartingBottom - mDialogView.getBottom(); in showCallHistory()
455 if (shiftAmount != 0) { in showCallHistory()
457 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()