Home
last modified time | relevance | path

Searched refs:currTime (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardController.java105 public void addEvent(long currTime) { in addEvent() argument
106 if (currTime - mFirstClickTime > DOUBLE_CLICK_TIMEOUT_MS) { in addEvent()
107 mFirstClickTime = currTime; in addEvent()
227 private PointF getBestSnapPosition(PointF currPoint, long currTime) { in getBestSnapPosition() argument
234 if (currTime - nextChange.time < KEY_CHANGE_REVERT_TIME_MS) { in getBestSnapPosition()
245 mKeyChangeHistory.add(new KeyChange(currTime, currPoint)); in getBestSnapPosition()
508 private boolean handleKeyUpEvent(int keyCode, long currTime) { in handleKeyUpEvent() argument
537 mDoubleClickDetector.addEvent(currTime); in handleKeyUpEvent()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAppScanStats.java452 long currTime = SystemClock.elapsedRealtime(); in dumpToString() local
472 scanDuration = currTime - scan.timestamp; in dumpToString()
475 suspendDuration = currTime - scan.suspendStartTime; in dumpToString()
525 Date timestamp = new Date(currentTime - currTime + scan.timestamp); in dumpToString()
570 Date timestamp = new Date(currentTime - currTime + scan.timestamp); in dumpToString()
572 sb.append((currTime - scan.timestamp) + "ms "); in dumpToString()
601 long duration = scan.suspendDuration + (scan.isSuspended ? (currTime in dumpToString()
628 long connectionTime = currTime - connection.startTime; in dumpToString()
629 Date timestamp = new Date(currentTime - currTime + connection.startTime); in dumpToString()
/packages/apps/TV/src/com/android/tv/menu/
DChannelCardView.java130 long currTime = System.currentTimeMillis(); in updateProgram() local
131 if (currTime <= startTime) { in updateProgram()
133 } else if (currTime >= endTime) { in updateProgram()
137 (int) (100 * (currTime - startTime) / (endTime - startTime))); in updateProgram()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.java282 Time currTime = new Time(mHomeTimeZone); in setDayParameters() local
283 currTime.set(mController.getTime()); in setDayParameters()
284 day.hour = currTime.hour; in setDayParameters()
285 day.minute = currTime.minute; in setDayParameters()
/packages/apps/TV/src/com/android/tv/ui/
DChannelBannerView.java788 private int getProgressPercent(long currTime, long startTime, long endTime) {
789 if (currTime <= startTime) {
791 } else if (currTime >= endTime) {
794 return (int) (100 * (currTime - startTime) / (endTime - startTime));