/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetServiceTest.java | 42 final long now = 1262340000000L; // Fri Jan 01 2010 02:00:00 GMT-0800 (PST) field in class:CalendarAppWidgetServiceTest 65 // long now = 1270000000000L; 66 // MarkedEvents events = CalendarAppWidgetService.buildMarkedEvents(cursor, null, now); 68 // getTestContext(), cursor, events, now); 96 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title, location, 0)); 123 long tomorrow = now + DateUtils.DAY_IN_MILLIS; 163 final long now = 1262340000000L; // Fri Jan 01 2010 01:00:00 GMT-0700 (PDT) 193 cursor.addRow(getRow(0, now + ONE_HOUR, now [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | FadeInTexture.java | 45 mStartTime = now(); 75 if (now() - mStartTime >= DURATION) { 83 float r = (float)(now() - mStartTime) / DURATION; 87 private long now() { method in class:FadeInTexture
|
H A D | Paper.java | 134 mStartTime = now(); 162 float t = Utils.clamp((float)(now() - mStartTime) / mDuration, 0.0f, 1.0f); 187 private long now() { method in class:EdgeAnimation
|
/packages/experimental/UiAutomation/library/src/com/android/testing/uiautomation/ |
H A D | AutomationProvider.java | 366 mWriter.write(String.format("%s %s\n", now(), log)); 375 private String now() { method in class:AutomationProvider.TraceLogger
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadService.java | 290 long now = mSystemFacade.currentTimeMillis(); 314 updateDownload(reader, info, now); 316 info = insertDownload(reader, now); 326 long next = info.nextAction(now); 427 private DownloadInfo insertDownload(DownloadInfo.Reader reader, long now) { argument 435 info.startIfReady(now, mStorageManager); 442 private void updateDownload(DownloadInfo.Reader reader, DownloadInfo info, long now) { argument 463 info.startIfReady(now, mStorageManager);
|
H A D | DownloadInfo.java | 272 public long restartTime(long now) { argument 274 return now; 288 private boolean isReadyToStart(long now) { argument 310 return restartTime(now) <= now; 450 void startIfReady(long now, StorageManager storageManager) { argument 451 if (!isReadyToStart(now)) { 508 * Returns the amount of time (as measured from the "now" parameter) 512 * positive value - service must wake up in the future, as specified in ms from "now" 514 long nextAction(long now) { argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetService.java | 239 final long now = System.currentTimeMillis(); 240 if (!eventInfo.allDay && eventInfo.start <= now && now <= eventInfo.end) { 353 * Query across all calendars for upcoming event instances from now 364 * @param now Current system time to use for this update, possibly from 371 // Search for events from now until some time in the future 390 long now = System.currentTimeMillis(); 392 long begin = now - DateUtils.DAY_IN_MILLIS; 393 long end = now + SEARCH_DURATION + DateUtils.DAY_IN_MILLIS; 410 private long calculateUpdateTime(CalendarAppWidgetModel model, long now, Strin argument 557 formatDebugTime(long unixTime, long now) argument [all...] |
/packages/apps/Camera/src/com/android/camera/panorama/ |
H A D | MosaicFrameProcessor.java | 193 public void calculateTranslationRate(long now) { argument 204 mLastProcessedFrameTimestamp = now; 216 mDeltaTime[idx] = (now - mLastProcessedFrameTimestamp) / 1000.0f; 234 mLastProcessedFrameTimestamp = now;
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EditEventHelper.java | 139 // This allows us to flag the event if something is wrong with it, right now 569 protected long constructDefaultStartTime(long now) { argument 571 defaultStart.set(now); 575 if (now < defaultStartMillis) { 959 // not sure why this needs to be zero, but set it for now. 1044 // For now the array contains the values 0, 2, and 3. We subtract 1240 // For now the array contains the values 0, 2, and 3. We add one to match.
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | ShortcutRepositoryImplLog.java | 265 final long now = System.currentTimeMillis(); 266 reportClickAtTime(suggestions, position, now); 271 final long now = System.currentTimeMillis(); 275 allowWebSearchShortcuts, now); 317 boolean allowWebSearchShortcuts, long now) { 320 String[] params = buildShortcutQueryParams(query, now); 473 private static String[] buildShortcutQueryParams(String query, long now) { argument 474 return new String[]{ query, nextString(query), String.valueOf(now) }; 639 int position, long now) { 671 click.put(ClickLog.hit_time.name(), now); 316 getShortcutsForQuery(String query, Collection<Corpus> allowedCorpora, boolean allowWebSearchShortcuts, long now) argument 638 reportClickAtTime(SuggestionCursor suggestion, int position, long now) argument [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | ShortcutRepositoryTest.java | 785 protected void reportClick(String query, SuggestionData suggestion, long now) { argument 786 reportClickAtTime(new ListSuggestionCursor(query, suggestion), 0, now); 793 protected void reportClickAtTime(SuggestionCursor suggestions, int position, long now) { argument 794 mRepo.reportClickAtTime(suggestions, position, now); 845 protected void sourceImpression(Source source, boolean click, long now) { argument
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndbdic.c | 101 NJ_UINT8 *now, NJ_UINT16 idx_no, 109 static NJ_INT16 get_node_bottom(NJ_CHAR *yomi, NJ_UINT8 *now, NJ_UINT8 *node_mid, 552 NJ_UINT8 *root, *now, *node, *node_mid; local 589 now = node_mid; 692 while (now < data_top) { 693 if (NODE_IDX_EXIST(now)) { 695 idx_cnt = NODE_IDX_CNT(now); 703 if (NODE_LEFT_EXIST(now)) { 708 if (NODE_DATA_EXIST(now)) { 720 data = (NJ_UINT16)(NJ_INT16_READ(now 1541 NJ_UINT8 *root, *now, *node, *node_mid; local 1975 search_yomi_node(NJ_UINT8 operation, NJ_UINT8 *node, NJ_UINT8 *now, NJ_UINT16 idx_no, NJ_CHAR *yomi, NJ_UINT16 yomilen, NJ_UINT8 * root, NJ_UINT8 * node_mid, NJ_UINT16 bit_left, NJ_UINT16 bit_data, NJ_UINT8 * data_top, NJ_INT16 ytbl_cnt, NJ_UINT16 y, NJ_UINT8 * ytbl_top, NJ_CACHE_INFO * storebuf, NJ_UINT8 ** con_node, NJ_UINT32 * data_offset) argument 2250 get_node_bottom(NJ_CHAR * yomi, NJ_UINT8 * now, NJ_UINT8 * node_mid, NJ_UINT8 * data_top, NJ_UINT16 bit_left, NJ_UINT16 bit_data, NJ_UINT32 top, NJ_DIC_HANDLE handle, NJ_UINT32 * ret_bottom) argument [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | nj_lib.h | 121 NJ_UINT8 *now; member in struct:__anon15
|