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/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DAppScanStats.java468 long currTime = SystemClock.elapsedRealtime(); in dumpToString() local
490 scanDuration = currTime - scan.timestamp; in dumpToString()
493 suspendDuration = currTime - scan.suspendStartTime; in dumpToString()
549 Date timestamp = new Date(currentTime - currTime + scan.timestamp); in dumpToString()
594 Date timestamp = new Date(currentTime - currTime + scan.timestamp); in dumpToString()
596 sb.append((currTime - scan.timestamp) + "ms "); in dumpToString()
625 long duration = scan.suspendDuration + (scan.isSuspended ? (currTime in dumpToString()
652 long connectionTime = currTime - connection.startTime; in dumpToString()
653 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.kt252 val currTime = Time(mHomeTimeZone) in setDayParameters() constant
253 currTime.set(mController!!.time as Long) in setDayParameters()
254 day.hour = currTime.hour in setDayParameters()
255 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));