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

123456

/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
H A DUtils.java22 public static long createTimeInMillis(int second, int minute, int hour, int monthDay, argument
25 t.set(second, minute, hour, monthDay, month, year);
/packages/apps/UnifiedEmail/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/inputmethods/LatinIME/tools/dicttool/compat/android/util/
H A DPair.java25 public Pair(final T1 first, final T2 second) { argument
27 mSecond = second;
/packages/services/Telephony/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/inputmethods/LatinIME/native/dicttoolkit/src/utils/
H A Darguments_and_options.h48 return it->second;
53 return it != mArguments.end() && !it->second.empty();
58 ASSERT(it != mArguments.end() && !it->second.empty());
59 return it->second.front();
65 return it->second;
H A Darguments_parser.cpp54 const OptionSpec &spec = option.second;
75 const OptionSpec &spec = option.second;
102 const OptionSpec &optionSpec = entry.second;
123 if (it->second.needsValue()) {
152 const size_t actualcount = it == arguments.end() ? 0 : it->second.size();
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
H A DImapUtility.java108 int second = Integer.parseInt(range.substring(colonPos + 1));
109 if (first < second) {
110 for (int i = first; i <= second; i++) {
114 for (int i = first; i >= second; i--) {
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/
H A DImapUtility.java107 int second = Integer.parseInt(range.substring(colonPos + 1));
108 if (first < second) {
109 for (int i = first; i <= second; i++) {
113 for (int i = first; i >= second; i--) {
/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/
H A DViewModeTests.java39 ViewMode second = new ViewMode();
40 second.handleRestore(state);
41 assertEquals(ViewMode.CONVERSATION_LIST, second.getMode());
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DInCallAnimationUtils.java81 Drawable second = getDrawable(1);
90 second.setAlpha(0xff - mCrossFadeAlpha);
91 second.draw(canvas);
92 second.setAlpha(0xff);
97 private static CrossFadeDrawable newCrossFadeDrawable(Drawable first, Drawable second) { argument
100 layers[1] = second;
/packages/apps/TV/tests/unit/src/com/android/tv/common/
H A DTvContentRatingCacheTest.java66 TvContentRating[] second = mCache.getRatings(TvContentRatingConstants.STRING_US_TV_MA);
67 assertSame(first, second);
73 TvContentRating[] second = mCache.getRatings(TvContentRatingConstants.STRING_US_TV_MA);
74 assertNotSame(first, second);
79 TvContentRating[] second = mCache.getRatings(Y7_AND_MA);
80 assertSame(first, second);
/packages/apps/TV/usbtuner/jni/
H A Dtunertvinput_jni.cpp45 delete it->second;
64 dvbManager = it->second;
80 it->second->closeAllDvbPidFilter();
94 it->second->stopTune();
108 it->second->startTsPidFilter(env, thiz, pid, filterType);
125 DvbManager *dvbManager = it->second;
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
H A Dtrie_map_test.cpp109 EXPECT_EQ(v.second, trieMap.getRoot(v.first).mValue);
162 secondLevelKey.second, secondLevel);
165 threeLevelMap[secondLevelKey.first][secondLevelKey.second][key] = value;
169 EXPECT_EQ(firstLevelEntry.second, trieMap.getRoot(firstLevelEntry.first).mValue);
175 for (const auto &secondLevelEntry : firstLevelEntry.second) {
176 EXPECT_EQ(secondLevelEntry.second,
184 for (const auto &secondLevelEntry : firstLevelEntry.second) {
188 for (const auto &thirdLevelEntry : secondLevelEntry.second) {
189 EXPECT_EQ(thirdLevelEntry.second,
216 EXPECT_TRUE(secondLevelEntry.second
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DCSite.h29 short second; member in struct:__anon5
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
H A Dheader_read_write_utils.cpp101 return it->second.data();
143 if (it->first.empty() || it->second.empty()) {
152 if (!buffer->writeCodePointsAndAdvancePosition(&(it->second.at(0)), it->second.size(),
197 return it->second;
224 for (size_t i = 0; i < it->second.size(); ++i) {
225 if (i == 0 && it->second.at(i) == '-') {
228 if (!isdigit(it->second.at(i))) {
233 value += it->second.at(i) - '0';
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
H A Ddigraph_utils.h39 typedef struct { int first; int second; int compositeGlyph; } digraph_t; member in struct:latinime::DigraphUtils::__anon71
/packages/inputmethods/LatinIME/native/jni/src/utils/
H A Dprofiler.h41 time.second / totalTime * 100.0f, time.second, mCounters[time.first]);
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
H A DEditorUiUtilsTest.java77 pair.second); // My LunkedIn profile
87 pair.second); // "My local profile
98 pair.second); // LunkedIn Contact
112 pair.second); // Google Account
125 pair.second); // "Phone-only, unsynced contact"
135 pair.second); // LunkedIn contact
147 pair.second); // "Phone-only, unsynced contact"
/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
H A DFetchDownloadsLoaderTest.java84 File second = temporaryFolder.newFile();
85 fileWriter = new FileWriter(second);
88 second.setLastModified(0);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Dmulti_bigram_map.cpp45 return mapPosition->second.getBigramProbability(structurePolicy, nextWordId,
70 bigramProbability = bigramProbabilityIt->second;
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
H A DRawContactDeltaListTests.java378 final RawContactDeltaList second = buildSet(buildBeforeEntity(mContext, CONTACT_BOB,
381 // Merge in second version, verify they match
382 final RawContactDeltaList merged = RawContactDeltaList.mergeAfter(second, first);
383 assertEquals("Unexpected change when merging", second, merged);
389 final RawContactDeltaList second = buildSet(buildBeforeEntity(mContext, CONTACT_BOB,
402 // Merge in the second version, verify diff matches
403 final RawContactDeltaList merged = RawContactDeltaList.mergeAfter(second, first);
414 final RawContactDeltaList second = buildSet(buildBeforeEntity(mContext, CONTACT_BOB,
427 // Merge in the second version, verify that our update changed to
429 final RawContactDeltaList merged = RawContactDeltaList.mergeAfter(second, firs
[all...]
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ac3/
H A DAudioTrackMonitor.java89 mPtsList.set(mPtsList.size() - 1, Pair.create(pair.first, pair.second + 1));
109 ptsBuilder.append('[').append(pair.first).append(':').append(pair.second)
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
H A DUtilityTest.java37 int day, int hour, int minute, int second) throws Exception {
44 assertEquals(second, cal.get(Calendar.SECOND));
60 int day, int hour, int minute, int second, int millis) throws Exception {
62 hour, minute, second);
36 testParseDateTimesHelper(String date, int year, int month, int day, int hour, int minute, int second) argument
59 testParseEmailDateTimeHelper(String date, int year, int month, int day, int hour, int minute, int second, int millis) argument
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/edit/
H A DEditEmergencyContactsFragmentTest.java45 getActivity().getFragments().get(1).second;
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/view/
H A DViewInfoActivityTest.java121 (ViewEmergencyInfoFragment) mFragments.get(0).second;
141 (ViewEmergencyContactsFragment) mFragments.get(0).second;
168 (ViewEmergencyInfoFragment) mFragments.get(0).second;
171 (ViewEmergencyContactsFragment) mFragments.get(1).second;

Completed in 903 milliseconds

123456