/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/datetime/ |
H A D | DateTime.java | 39 private final int second;
field in class:DateTime 42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) {
argument 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
49 this.second = second;
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) {
argument 71 c.set(year, month - 1, day, hour, minute, second);
107 return second;
|
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
H A D | ImapUtility.java | 109 int second = Integer.parseInt(range.substring(colonPos + 1)); 110 if (first < second) { 111 for (int i = first; i <= second; i++) { 115 for (int i = first; i >= second; i--) {
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | CSite.h | 29 short second; member in struct:__anon1
|
H A D | Delaunay.cpp | 611 if ((int) fabs(sa[currv->first].getVCenter().x - sa[currv->second].getVCenter().x) <= width && 612 (int) fabs(sa[currv->first].getVCenter().y - sa[currv->second].getVCenter().y) <= height) {
|
H A D | Blend.cpp | 438 // the seam. Then, the contribution from the second image goes up to 99%. 855 double d1 = hypotSq(m_AllSites[ce->second].getVCenter().x - si, 856 m_AllSites[ce->second].getVCenter().y - sj); 1132 double dx = (m_AllSites[ce->second].getVCenter().x - m_AllSites[ce->first].getVCenter().x); 1133 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y);
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | EntityDeltaListTests.java | 362 final EntityDeltaList second = buildSet(buildBeforeEntity(CONTACT_BOB, VER_SECOND, 365 // Merge in second version, verify they match 366 final EntityDeltaList merged = EntityDeltaList.mergeAfter(second, first); 367 assertEquals("Unexpected change when merging", second, merged); 373 final EntityDeltaList second = buildSet(buildBeforeEntity(CONTACT_BOB, VER_SECOND, 386 // Merge in the second version, verify diff matches 387 final EntityDeltaList merged = EntityDeltaList.mergeAfter(second, first); 398 final EntityDeltaList second = buildSet(buildBeforeEntity(CONTACT_BOB, VER_SECOND, 411 // Merge in the second version, verify that our update changed to 413 final EntityDeltaList merged = EntityDeltaList.mergeAfter(second, firs [all...] |
H A D | EntityModifierTests.java | 227 // Add second home 270 // Add second home, which should push to snug limit 588 final ContentValues second = new ContentValues(); 589 second.put(Data._ID, TEST_ID); 590 second.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 591 second.put(kindPhone.typeColumn, typeHome.rawValue); 592 second.put(Phone.NUMBER, TEST_PHONE); 594 final EntityDelta state = getEntity(TEST_ID, first, second);
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
H A D | LocalDataTest.java | 38 private static final long DEFAULT_TIMEOUT = 1000; // one second 138 insertImageData(db, 1000, 0xB000, "second"); // id 1 139 insertImageData(db, 2000, 0xB000, "second"); // id 2 156 MediaSet second = mAlbumSet.getSubMediaSet(1); 157 assertEquals(2, second.getMediaItemCount()); 158 item = (LocalMediaItem) second.getMediaItem(0, 1).get(0); 161 item = (LocalMediaItem) second.getMediaItem(1, 1).get(0); 187 insertImageData(db, 1000, 0xB000, "second"); // id 1 188 insertImageData(db, 2000, 0xB000, "second"); // id 2 195 MediaSet sub = mAlbumSet.getSubMediaSet(1); // "second" [all...] |
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/datetime/parser/ |
H A D | DateTimeParser.java | 83 private int second; field in class:DateTimeParser.Time 86 public Time(int hour, int minute, int second, int zone) { argument 89 this.second = second; 95 public int getSecond() { return second; } 291 s = second(); 316 final public int second() throws ParseException { method in class:DateTimeParser
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
H A D | ExportOptionsDialog.java | 117 sizeAdapter.add(supportedSizes[i].first + "x" + supportedSizes[i].second); 148 return supportedSizes[sizeIndex].second;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | WhitelistDictionary.java | 79 return mWhitelistWords.get(lowerCaseBefore).second;
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
H A D | AgendaListView.java | 112 // Sets a thread to run one second after midnight and refresh the list view 115 // Calculate the time until midnight + 1 second and set the handler to 121 time.second + 1) * 1000; 278 // we may need to take the second visible position, since the first one maybe the one 299 int second = t.second; 303 t.second = second;
|
/packages/inputmethods/LatinIME/native/src/ |
H A D | unigram_dictionary.h | 128 static const struct digraph_t { int first; int second; } GERMAN_UMLAUT_DIGRAPHS[]; member in struct:latinime::UnigramDictionary::digraph_t
|
H A D | unigram_dictionary.cpp | 78 // It's an interesting digraph if the second char matches too. 79 return GERMAN_UMLAUT_DIGRAPHS[lastDigraphIndex].second == codes[(i + 1) * MAX_PROXIMITY_CHARS]; 99 // on the remaining part of the word, skipping the second char of the digraph. 101 // Make i the index of the second char of the digraph for simplicity. Forgetting 111 // Copy the second char of the digraph in place, then continue processing on
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | SimpleWeeksAdapter.java | 280 day.second = mSelectedDay.second;
|
H A D | SimpleDayPickerFragment.java | 135 midnight.second = 0; 240 // set the title to the month of the second week
|
/packages/inputmethods/PinyinIME/jni/include/ |
H A D | userdict.h | 160 // Granularity for last modified time in second 165 #define COARSE_UTC(year, month, day, hour, minute, second) \ 172 (second - 0) \
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EditEventHelper.java | 572 defaultStart.second = 0; 645 time.second = 0; 725 // Subtract one second from the old begin time to get the new 727 untilTime.set(endTimeMillis - 1000); // subtract one second (1000 millis) 731 untilTime.second = 0; 739 dtstart.second = 0; 1194 startTime.second = 0; 1200 endTime.second = 0;
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetService.java | 435 time.second = 0; 443 time.second = 0;
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | CalendarViewAdapter.java | 115 // Sets a thread to run 1 second after midnight and update the current date 119 // Set the time updater to run at 1 second after midnight 124 time.second + 1) * 1000;
|
H A D | DeleteEventHelper.java | 417 date.second--;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/languageswitcher/ |
H A D | InputLanguageSelection.java | 96 final boolean hasLayout = hasDictionaryOrLayout.second;
|
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
H A D | PolarClockWallpaper.java | 120 if ((val = xrp.getAttributeValue(null, "second")) != null) 516 angle = ((calendar.minute * 60.0f + calendar.second) % 3600) / 3600.0f;
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 307 + "\"([^\"]*)\""); // second part matches quoted phrases 760 time.second = 0; 1490 if (time.hour != 0 || time.minute != 0 || time.second != 0) { 1493 time.second = 0; 1502 if (time.hour != 0 || time.minute != 0 || time.second != 0) { 1505 time.second = 0; 1620 // Subtract one second from the exception begin time to get the "until" time. 1621 untilTime.set(endTimeMillis - 1000); // subtract one second (1000 millis) 1623 untilTime.hour = untilTime.minute = untilTime.second = 0; 1629 dtstart.hour = dtstart.minute = dtstart.second [all...] |
H A D | CalendarDatabaseHelper.java | 1396 if(time.hour != 0 || time.minute != 0 || time.second != 0) { 1399 time.second = 0; 2857 // them, right?). In the second case, the calendar client already 2860 // second case should never occur.
|