/packages/apps/TV/src/com/android/tv/search/ |
H A D | LocalSearchProvider.java | 109 long time = SystemClock.elapsedRealtime(); 137 Log.d(TAG, "Elapsed time(count=" + c.getCount() + "): " 138 + (SystemClock.elapsedRealtime() - time) + "(msec)");
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | proximity_info_state_utils.h | 122 const int time, const bool lastPoint, const float nearest, const float sumAngle, 129 int y, const int time, const bool isGeometric,
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | EventManagerTest.java | 174 assertTrue(timings.get(0).time >= TEST_DELAY_TIME - 10); 175 assertTrue(timings.get(0).time <= TEST_DELAY_TIME + 10);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
H A D | AddAccessoryActivity.java | 459 long time = SystemClock.uptimeMillis(); 460 KeyEvent evt = new KeyEvent(time, time, 670 long time = mBluetoothPairer.getNextStageTime() - SystemClock.elapsedRealtime(); 672 state + " target device: " + address + " time to next event: " + time);
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
H A D | FlingUpDownMethod.java | 424 // Fade out the "swipe down to dismiss" at the same time. Don't ever increase its alpha 728 // If this is the first time repeating the animation, we should recreate it so its 1152 float time = t * RAMP_TOTAL_TIME_MS; 1156 if (time > RAMP_UP_BEGIN_MS && time < RAMP_UP_END_MS) { 1160 (time - RAMP_UP_BEGIN_MS) / (float) RAMP_UP_DURATION_MS); 1161 } else if ((time >= RAMP_UP_END_MS) && time <= RAMP_DOWN_BEGIN_MS) { 1164 } else if (time > RAMP_DOWN_BEGIN_MS && time < RAMP_DOWN_END_M [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | HandleApiCalls.java | 142 final String time = DateFormat.getTimeFormat(context).format(alarmTime); 151 // Otherwise the alarm cannot be dismissed at this time. 153 R.string.alarm_cant_be_dismissed_still_more_than_24_hours_away, time); 159 final String reason = context.getString(R.string.alarm_is_dismissed, time); 284 final String time = DateFormat.getTimeFormat(context).format( 286 final String reason = context.getString(R.string.alarm_is_snoozed, time); 324 // If time information was not provided an existing alarm cannot be located and a new one 330 // Intent has no time or an invalid time, open the alarm creation UI. 339 LOGGER.i("Missing alarm time; openin [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetModel.java | 253 Time time = new Time(timeZone); 254 time.setToNow(); // This is needed for gmtoff to be set 255 mTodayJulianDay = Time.getJulianDay(mNow, time.gmtoff); 358 // Compute a human-readable string for the start time of the event
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayView.java | 108 // duration of the scroll to go to a specified time 136 * explicitly scrolls to an empty time slot, changes views, or deletes the event. 168 //Update the current time line every five minutes if the window is left open that long 544 /** Width of the time line (list of hours) to the left. */ 628 // Animates the current time marker when Today is pressed 950 * Returns the start of the selected time in milliseconds since the epoch. 952 * @return selected time in UTC milliseconds since the epoch. 955 Time time = new Time(mBaseDate); 956 time.setJulianDay(mSelectionDay); 957 time 1007 setSelected(Time time, boolean ignoreTime, boolean animateToday) argument 1147 compareToVisibleTimeRange(Time time) argument 1207 adjustToBeginningOfWeek(Time time) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | DetailsHelper.java | 109 return context.getString(R.string.time);
|
H A D | EdgeEffect.java | 349 final long time = AnimationTime.get(); 350 final float t = Math.min((time - mStartTime) / mDuration, 1.f);
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
H A D | AppStateUsageStatsBridgeTest.java | 89 // Set up the AppStateUsageStatsBridge with a fake clock for us to manipulate the time. 412 private void registerLastUse(String packageName, long time) { argument 415 when(usageStats.getLastTimeUsed()).thenReturn(time); 420 public long time; field in class:AppStateUsageStatsBridgeTest.FakeClock 424 return time;
|
/packages/experimental/procstatlog/ |
H A D | procstatreport.py | 24 import time namespace 157 "date": cgi.escape(time.ctime()), 659 time = (scan_time + float(line[4:])) / 2.0 660 history[time] = dict(current_state)
|
/packages/services/BuiltInPrintService/jni/plugins/ |
H A D | wprint_mupdf.c | 19 #include <time.h> 34 /* Return current clock time in milliseconds */
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | CallForwardEditPreference.java | 112 int time = (reason != CommandsInterface.CF_REASON_NO_REPLY) ? 0 : 20; 137 time,
|
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/view/ |
H A D | CarLayoutManager.java | 125 /** Determines whether rows will be offset individually or a page at a time **/ 999 * Offset the single row that is scrolling off the screen such that by the time the next row 1508 final int time = calculateTimeForDeceleration(dy); 1509 if (time > 0) { 1510 action.update(0, -dy, time, mInterpolator); 1521 int time = (int) Math.ceil(calculateTimeForScrolling(dx) / DECELERATION_TIME_DIVISOR); 1522 return mHasTouch ? time : Math.min(time, NON_TOUCH_MAX_DECELERATION_MS);
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EditEventView.java | 87 import com.android.datetimepicker.time.RadialPickerLayout; 88 import com.android.datetimepicker.time.TimePickerDialog; 89 import com.android.datetimepicker.time.TimePickerDialog.OnTimeSetListener; 232 /* This class is used to update the time buttons. */ 252 // The start time was changed. 260 // Also update the end time to keep the duration constant. 264 // Update tz in case the start time switched from/to DLS 267 // The end time was changed. 272 // Move to the start time if the end time i 292 TimeClickListener(Time time) argument 495 DateClickListener(Time time) argument [all...] |
H A D | EditEventHelper.java | 363 // to end at the new start time. 367 // Update the current repeating event to end at the new start time. We 595 * When we aren't given an explicit start time, we default to the next 598 * @return a UTC time in milliseconds representing the next upcoming half 615 * When we aren't given an explicit end time, we default to an hour after 616 * the start time. 617 * @param startTime the start time 618 * @return a default end time 641 // If none of the time-dependent fields changed, then remove them. 659 // start time o [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | ModeListView.java | 80 // Assumption for time since last scroll when no data point for last scroll. 969 * This class aims to help store time and position in pairs. 974 public TimeBasedPosition(float position, long time) { argument 976 mTimeStamp = time; 996 * 2) Hold in place for a certain amount of time (Optional). 997 * 3) Animate out of the screen within the given time. 1594 * Insert new position and time stamp into the history position list, and 1598 * @param time current time in milliseconds 1600 private void insertNewPosition(float position, long time) { argument 1628 getPosition(long time, float currentPosition) argument [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | P2pLinkManager.java | 175 // The amount of time we wait for the link to come up 389 * NDEF callbacks may be set at any time (even if NFC is 903 long time = SystemClock.elapsedRealtime(); 953 time = SystemClock.elapsedRealtime() - time; 954 if (DBG) Log.d(TAG, "SendTask result=" + result + ", time ms=" + time); 956 onSendComplete(m, time);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | CryptKeeper.java | 657 // Now try to get status as time remaining and replace as appropriate 661 int time = Integer.parseInt(timeProperty); 662 if (time >= 0) { 664 time = (time + 9) / 10 * 10; 665 progress = DateUtils.formatElapsedTime(time); 669 // Will happen if no time etc - show percentage 682 /** Insist on a power cycle to force the user to waste time between retries. 909 * off the radio takes a long time. In such cases, we are better off leaving the radio
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | Analytics.java | 200 public long startTime; // start time in milliseconds since the epoch. 0 if not yet set. 201 public long endTime; // end time in milliseconds since the epoch. 0 if not yet set. 537 public static void addSessionTiming(String sessionName, long time) { argument 541 time)); 663 timeOfLastEvent < 0 ? -1 : logEvent.time - timeOfLastEvent)); 665 timeOfLastEvent = logEvent.time; 679 .setTimeMillis(logEventTiming.time);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A D | DatabaseWrapper.java | 63 long time; field in class:DatabaseWrapper.TransactionData 126 // push the current time onto the transaction stack 128 f.time = t1; 151 transactionStartTime = f.time;
|
/packages/apps/TV/src/com/android/tv/guide/ |
H A D | ProgramManager.java | 54 * position and detailed view's time range. 288 * Update the initial time range to manage. It updates program entries and genre as well. 303 * Shifts the time range by the given time. Also makes ProgramGuide scroll the views. 320 * Returned the scrolled(shifted) time in milliseconds. 327 * Returns the start time set by {@link #updateInitialTimeRange}. 349 * Returns the program index of the program at {@code time} or -1 if not found. 351 int getProgramIndexAtTime(long channelId, long time) { argument 355 if (entry.entryStartUtcMillis <= time 356 && time < entr [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | MonthWeekEventsView.java | 256 // arraylist sorted by start time to generate the dna version. 743 // Determine if everything will fit when time ranges are shown. 816 * @param showTimes if set, a second line with a time range will be displayed for non-all-day 935 // show start/end time, e.g. "1pm - 2pm" 1038 Time time = new Time(mTimeZone); 1044 time.set(1, 0, 1970); 1045 time.normalize(true); 1046 return time; 1050 time.setJulianDay(day); 1051 return time; [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
H A D | EditEventHelperTest.java | 135 Time time = new Time(Time.TIMEZONE_UTC); 136 time.set(TEST_START); 137 time.timezone = LOCAL_TZ; 138 TEST_START2 = time.normalize(true); 140 time.timezone = Time.TIMEZONE_UTC; 141 time.set(TEST_END); 142 time.timezone = LOCAL_TZ; 143 TEST_END2 = time.normalize(true); 257 // Some tests set the time values to one day later, this does that move in the values 437 // And a new start time t [all...] |