/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | PointerTrackerQueue.java | 70 int newIndex = 0; in remove() local 74 if (newIndex != index) { in remove() 79 if (newIndex != index) { in remove() 81 expandableArray.set(newIndex, element); in remove() 83 newIndex++; in remove() 85 mArraySize = newIndex; in remove() 102 int newIndex, index; in releaseAllPointersOlderThan() local 103 for (newIndex = index = 0; index < arraySize; index++) { in releaseAllPointersOlderThan() 112 if (newIndex != index) { in releaseAllPointersOlderThan() 114 expandableArray.set(newIndex, element); in releaseAllPointersOlderThan() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FocusLogic.java | 96 int newIndex = NOOP; in handleKeyEvent() local 99 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, -1 /*increment*/, isRtl); in handleKeyEvent() 100 if (!isRtl && newIndex == NOOP && pageIndex > 0) { in handleKeyEvent() 101 newIndex = PREVIOUS_PAGE_RIGHT_COLUMN; in handleKeyEvent() 102 } else if (isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { in handleKeyEvent() 103 newIndex = NEXT_PAGE_RIGHT_COLUMN; in handleKeyEvent() 107 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, 1 /*increment*/, isRtl); in handleKeyEvent() 108 if (!isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { in handleKeyEvent() 109 newIndex = NEXT_PAGE_LEFT_COLUMN; in handleKeyEvent() 110 } else if (isRtl && newIndex == NOOP && pageIndex > 0) { in handleKeyEvent() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemManager.java | 316 for (int newIndex = 0; newIndex < newParams.size(); ++newIndex) { 317 int oldIndex = oldParams.indexOf(newParams.get(newIndex)); 318 if (oldIndex >= 0 && newIndex != oldIndex) { 319 PreviewItemDrawingParams p = params.get(newIndex); 320 updateTransitionParam(p, newParams.get(newIndex), oldIndex, newIndex); 343 int prevIndex, int newIndex) { 352 FolderIcon.NUM_ITEMS_IN_PREVIEW, newIndex, FolderIcon.NUM_ITEMS_IN_PREVIEW,
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | ExpressionDB.java | 483 long newIndex; in addRow() local 487 newIndex = mMinIndex - 1; in addRow() 488 mMinIndex = newIndex; in addRow() 490 newIndex = mMaxIndex + 1; in addRow() 491 mMaxIndex = newIndex; in addRow() 493 if (!inAccessibleRange(newIndex)) { in addRow() 498 return newIndex; in addRow() 502 cvs.put(ExpressionEntry._ID, newIndex); in addRow() 507 return newIndex; in addRow()
|
D | Evaluator.java | 1693 long newIndex = addToDB(false, newEi); in addToMemory() local 1695 setMemoryIndexWhenEvaluated(newIndex, true /* persist */); in addToMemory() 1706 long newIndex = addToDB(false, newEi); in subtractFromMemory() local 1708 setMemoryIndexWhenEvaluated(newIndex, true /* persist */); in subtractFromMemory()
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
D | SettingsDialog.java | 254 int newIndex = (currentIndex + presetSettingValues.length) % presetSettingValues.length; in stringSettingHandleKeyCode() local 255 mFocusedSetting.setValue(presetSettingValues[newIndex]); in stringSettingHandleKeyCode() 256 mSettingValue.setText(presetSettingChoices[newIndex]); in stringSettingHandleKeyCode() 258 if (newIndex == getResources().getInteger(R.integer.standard_setting_index)) { in stringSettingHandleKeyCode() 260 } else if (newIndex == getResources().getInteger(R.integer.cinema_setting_index)) { in stringSettingHandleKeyCode() 262 } else if (newIndex == getResources().getInteger(R.integer.vivid_setting_index)) { in stringSettingHandleKeyCode() 264 } else if (newIndex == getResources().getInteger(R.integer.game_setting_index)) { in stringSettingHandleKeyCode()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 517 int newIndex = index; in findWordInTree() local 518 while (newIndex < codePoints.length && newIndex - index < currentPtNode.mChars.length) { in findWordInTree() 519 if (currentPtNode.mChars[newIndex - index] != codePoints[newIndex]) return null; in findWordInTree() 520 newIndex++; in findWordInTree() 522 index = newIndex; in findWordInTree()
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
D | CardPanel.java | 90 int newIndex = mOrderedChildren.size() - 2; in moveChildBehindTheTop() local 97 if (newIndex == oldIndex) { in moveChildBehindTheTop() 102 View tmpChild = mOrderedChildren.get(newIndex); in moveChildBehindTheTop() 103 mOrderedChildren.set(newIndex, child); in moveChildBehindTheTop()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | WordComposer.java | 183 final int newIndex = size(); in applyProcessedEvent() local 191 if (newIndex < MAX_WORD_LENGTH) { in applyProcessedEvent() 197 mInputPointers.addPointerAt(newIndex, keyX, keyY, 0, 0); in applyProcessedEvent() 200 if (0 == newIndex) { in applyProcessedEvent()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
D | FlingUpDownTouchHandler.java | 261 int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onTouch() local 262 float newY = event.getY(newIndex); in onTouch() 263 trackingPointer = event.getPointerId(newIndex); in onTouch()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachine.java | 1063 int newIndex = (maxVolume * absVol) / ABS_VOL_BASE; in setAbsVolume() local 1066 " new = " + newIndex); in setAbsVolume() 1072 if (newIndex != currIndex) { in setAbsVolume() 1073 mAudioManager.setStreamVolume(AudioManager.STREAM_MUSIC, newIndex, in setAbsVolume()
|
/packages/apps/Camera2/src/com/android/camera/filmstrip/ |
D | FilmstripController.java | 275 public void onDataFocusChanged(int prevIndex, int newIndex); in onDataFocusChanged() argument
|
/packages/apps/Camera2/src/com/android/camera/ |
D | CameraActivity.java | 754 public void onDataFocusChanged(final int prevIndex, final int newIndex) { 764 updateUiByData(newIndex);
|