Searched refs:shift (Results 1 - 25 of 25) sorted by relevance

/packages/apps/Email/src/com/beetstra/jutf7/
H A DModifiedUTF7Charset.java45 if (ch == shift())
50 byte shift() { method in class:ModifiedUTF7Charset
H A DUTF7StyleCharsetEncoder.java54 private final byte shift; field in class:UTF7StyleCharsetEncoder
73 this.shift = cs.shift();
152 } else if (!base64mode && ch == shift) {
153 out.put(shift);
205 out.put(shift);
H A DUTF7Charset.java62 * @see com.beetstra.jutf7.UTF7StyleCharset#shift()
64 byte shift() { method in class:UTF7Charset
H A DUTF7StyleCharsetDecoder.java42 private final byte shift; field in class:UTF7StyleCharsetDecoder
55 this.shift = cs.shift();
74 out.put((char)shift);
87 if (b == shift) {
H A DUTF7StyleCharset.java106 * @return The shift character
108 abstract byte shift(); method in class:UTF7StyleCharset
/packages/apps/Launcher3/src/com/android/launcher3/
H A DFocusIndicatorView.java153 * Gets the location of a view relative in the window, off-setting any shift due to
163 private static void getPagedViewScrollShift(View child, int[] shift) { argument
168 shift[0] = parentView.getPaddingLeft() - sTempPos[0];
169 shift[1] = -(int) child.getTranslationY();
171 getPagedViewScrollShift((View) parent, shift);
173 shift[0] = shift[1] = 0;
H A DCellLayout.java1586 void shift(int whichEdge, int delta) { method in class:CellLayout.ViewCluster
1768 cluster.shift(whichEdge, 1);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
H A DDefaultSoftKeyboardEN.java94 * Get the shift key state from the editor.
97 * @return state ID of the shift key (0:off, 1:on)
194 int shift = (mAutoCaps)? getShiftKeyState(mWnn.getCurrentInputEditorInfo()) : 0;
195 if (shift != mShiftOn) {
196 Keyboard kbd = getShiftChangeKeyboard(shift);
197 mShiftOn = shift;
289 /* update shift key's state */
292 int shift = (mAutoCaps)? getShiftKeyState(mWnn.getCurrentInputEditorInfo()) : 0;
293 if (shift != mShiftOn) {
294 Keyboard kbd = getShiftChangeKeyboard(shift);
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DInputPointers.java115 * @param elementCount how many elements to shift.
117 public void shift(final int elementCount) { method in class:InputPointers
118 mXCoordinates.shift(elementCount);
119 mYCoordinates.shift(elementCount);
120 mPointerIds.shift(elementCount);
121 mTimes.shift(elementCount);
H A DConstants.java253 case CODE_SHIFT: return "shift";
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DScrollController.java548 int shift;
551 shift = - mExtraSpaceLow;
554 shift = + mExtraSpaceHigh;
558 shift = 0;
569 if (scrollCenter + shift - mMinEdge <= middlePosition) {
576 if (mMaxEdge - scrollCenter - shift + mExpandedSize <= afterMiddlePosition) {
583 return scrollCenter - middlePosition - mPaddingLow + shift;
H A DDrawableLoader.java220 int shift = 0;
223 shift++;
225 scale = 1 << (shift - 1);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DResizableIntArray.java137 * @param elementCount how many elements to shift.
139 public void shift(final int elementCount) { method in class:ResizableIntArray
/packages/apps/Music/src/com/android/music/
H A DMediaPlaybackService.java496 int shift = 0;
504 shift = 0;
507 n += ((c - '0') << shift);
509 n += ((10 + c - 'a') << shift);
515 shift += 4;
590 shift = 0;
602 shift = 0;
605 n += ((c - '0') << shift);
607 n += ((10 + c - 'a') << shift);
613 shift
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DDefaultSoftKeyboard.java177 * Keyboard[language][portrait/landscape][keyboard type][shift off/on][key-mode]
206 /** State of the shift key */
370 * [shift off/on][max # of key-modes][non-input/input]
376 * Get the keyboard changed the specified shift state.
378 * @param shift Shift state
381 protected Keyboard getShiftChangeKeyboard(int shift) { argument
383 Keyboard[] kbd = mKeyboard[mCurrentLanguage][mDisplayMode][mCurrentKeyboardType][shift][mCurrentKeyMode];
455 /* unlock shift */
479 * Toggle change the shift lock state.
483 /* turn shift o
[all...]
H A DOpenWnnEN.java251 * Get the shift key state from the editor.
255 * @return State ID of the shift key (0:off, 1:on)
506 /* update shift/alt state */
632 int shift = (mAutoCaps) ? getShiftKeyState(edit) : 0;
633 if (shift != mHardShift && (key >= KeyEvent.KEYCODE_A && key <= KeyEvent.KEYCODE_Z)) {
H A DOpenWnnJAJP.java1037 /* update shift/alt state */
1220 int shift = (mAutoCaps)? getShiftKeyState(edit) : 0;
1221 if (shift != mHardShift && (key >= KeyEvent.KEYCODE_A && key <= KeyEvent.KEYCODE_Z)) {
2383 /* shift on */
2579 * Get the shift key state from the editor.
2582 * @return State ID of the shift key (0:off, 1:on)
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DAttachment.java674 int shift = attachmentIndex * 2 + rendition;
675 int mask = 1 << shift;
696 int shift = attachmentIndex * 2;
697 int mask = 1 << shift;
700 // implicit shift of 0 finds the SIMPLE rendition bit
703 // shift of 1 finds the BEST rendition bit
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DDefaultSoftKeyboardJAJP.java330 /* Keyboard[# of Languages][portrait/landscape][# of keyboard type][shift off/on][max # of key-modes][noinput/input] */
692 /* update shift key's state */
1165 * Get the shift key state from the editor.
1168 * @return The state id of the shift key (0:off, 1:on)
1181 * Set the shift key state from {@link EditorInfo}.
1185 int shift = getShiftKeyState(mWnn.getCurrentInputEditorInfo());
1187 mShiftOn = shift;
1188 changeKeyboard(getShiftChangeKeyboard(shift));
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DInputPointersTests.java312 src.shift(shiftAmount);
313 assertEquals("length after shift", src.getPointerSize(), limit - shiftAmount);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
H A DResizableIntArrayTests.java371 src.shift(shiftAmount);
/packages/apps/Browser/src/com/android/browser/
H A DController.java2568 boolean shift = event.hasModifiers(KeyEvent.META_SHIFT_ON);
2587 if (shift) {
2631 // we can't use the ctrl/shift flags, they check for
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
H A DInputLogic.java280 * @param keyboardShiftState the shift state of the keyboard, as returned by
441 * @param keyboardShiftMode the current shift mode of the keyboard, as returned by
531 // When we change the space state, we need to update the shift state of the
572 batchPointers.shift(candidate.mIndexOfTouchPointOfSecondWord);
659 * A functional event is a special key, like delete, shift, emoji, or the settings key.
662 * manage keyboard-related stuff like shift, language switch, settings, layout switch, or
685 // Note: Changing keyboard to shift lock state is handled in
783 * manage keyboard-related stuff like shift, language switch, settings, layout switch, or
1019 // In many cases after backspace, we need to update the shift state. Normally we need
1020 // to do this right away to avoid the shift stat
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCellLayout.java1712 void shift(int whichEdge, int delta) { method in class:CellLayout.ViewCluster
1894 cluster.shift(whichEdge, 1);
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...

Completed in 616 milliseconds