Searched refs:second (Results 1 - 25 of 32) sorted by relevance

12

/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/datetime/
H A DDateTime.java39 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 DImapUtility.java109 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 DCSite.h29 short second; member in struct:__anon1
H A DDelaunay.cpp611 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 DBlend.cpp438 // 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 DEntityDeltaListTests.java362 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 DEntityModifierTests.java227 // 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 DLocalDataTest.java38 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 DDateTimeParser.java83 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 DExportOptionsDialog.java117 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 DWhitelistDictionary.java79 return mWhitelistWords.get(lowerCaseBefore).second;
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaListView.java112 // 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 Dunigram_dictionary.h128 static const struct digraph_t { int first; int second; } GERMAN_UMLAUT_DIGRAPHS[]; member in struct:latinime::UnigramDictionary::digraph_t
H A Dunigram_dictionary.cpp78 // 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 DSimpleWeeksAdapter.java280 day.second = mSelectedDay.second;
H A DSimpleDayPickerFragment.java135 midnight.second = 0;
240 // set the title to the month of the second week
/packages/inputmethods/PinyinIME/jni/include/
H A Duserdict.h160 // 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 DEditEventHelper.java572 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 DCalendarAppWidgetService.java435 time.second = 0;
443 time.second = 0;
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarViewAdapter.java115 // 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 DDeleteEventHelper.java417 date.second--;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/languageswitcher/
H A DInputLanguageSelection.java96 final boolean hasLayout = hasDictionaryOrLayout.second;
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
H A DPolarClockWallpaper.java120 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 DCalendarProvider2.java307 + "\"([^\"]*)\""); // 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 DCalendarDatabaseHelper.java1396 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.

Completed in 6901 milliseconds

12