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

1234

/frameworks/base/graphics/java/android/graphics/
H A DSumPathEffect.java23 * (e.g. first(path) + second(path))
25 public SumPathEffect(PathEffect first, PathEffect second) { argument
27 second.native_instance);
30 private static native int nativeCreate(int first, int second); argument
/frameworks/base/core/java/android/util/
H A DPair.java26 public final S second; field in class:Pair
32 * @param second the second object in the pair
34 public Pair(F first, S second) { argument
36 this.second = second;
53 return first.equals(other.first) && second.equals(other.second);
63 result = 31 * result + second.hashCode();
70 * @param b the second objec
[all...]
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java114 * @param second The second view
116 static public void assertBaselineAligned(View first, View second) { argument
121 second.getLocationOnScreen(xy);
122 int secondTop = xy[1] + second.getBaseline();
132 * @param second The second view
134 static public void assertRightAligned(View first, View second) { argument
139 second.getLocationOnScreen(xy);
140 int secondRight = xy[0] + second
153 assertRightAligned(View first, View second, int margin) argument
171 assertLeftAligned(View first, View second) argument
190 assertLeftAligned(View first, View second, int margin) argument
208 assertBottomAligned(View first, View second) argument
227 assertBottomAligned(View first, View second, int margin) argument
245 assertTopAligned(View first, View second) argument
264 assertTopAligned(View first, View second, int margin) argument
[all...]
/frameworks/ex/chips/tests/src/com/android/ex/chips/
H A DChipsTest.java168 String second = (String) mTokenizer.terminateToken("SECOND");
171 mEditable.append(first + extra + second);
174 int secondStart = mEditable.toString().indexOf(second);
175 int secondEnd = secondStart + second.trim().length();
182 assertEquals(editableString.indexOf(second), secondStart - extra.length());
183 assertEquals(editableString, (first + second));
205 String second = (String) mTokenizer.terminateToken("SECOND");
208 mEditable.append(first + second);
211 int secondStart = mEditable.toString().indexOf(second);
212 int secondEnd = secondStart + second
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DSumPathEffect_Delegate.java65 /*package*/ static int nativeCreate(int first, int second) { argument
/frameworks/base/media/mtp/
H A DMtpUtils.cpp33 second (00-59). The ".s" is optional, and represents tenths of a second.
37 int year, month, day, hour, minute, second; local
41 &year, &month, &day, &hour, &minute, &second) != 6)
44 // skip optional tenth of second
54 tm.tm_sec = second;
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DScriptCached.cpp92 *valueList++ = mPragmas[i].second;
118 return (I == mFunctions.end()) ? NULL : I->second.first;
135 info->addr = I->second.first;
136 info->size = I->second.second;
H A DScriptCompiled.cpp37 if (I->second != NULL) {
38 delete I->second;
100 if (valueList) { *valueList++ = I->second.c_str(); }
108 return (I == mEmittedFunctions.end()) ? NULL : I->second->addr;
133 info->addr = I->second->addr;
134 info->size = I->second->size;
H A DMCCacheWriter.cpp130 dep->res_type = I->second.first;
131 memcpy(dep->sha1, I->second.second, 20);
182 size += mStringPool[i].second + 1;
203 str->length = mStringPool[i].second;
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemRequestRectAboveThinFirstItemTest.java51 // having the second item call requestRectangleOnScreen with a rect above
59 final View second = mListView.getChildAt(1);
61 second.getDrawingRect(rect);
62 rect.offset(0, -2 * second.getBottom());
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
H A DRecycleAccessibilityEventTest.java77 AccessibilityEvent second = AccessibilityEvent.obtain();
78 assertEquals(first, second);
/frameworks/base/core/java/com/android/internal/http/
H A DHttpDateTime.java77 this.second = s;
82 int second; field in class:HttpDateTime.TimeOfDay
119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date,
220 int second = (timeString.charAt(i++) - '0') * 10
223 return new TimeOfDay(hour, minute, second);
/frameworks/compile/libbcc/lib/CodeGen/
H A DCodeMemoryManager.cpp221 if (I->second.first == Body) {
222 FunctionStart = reinterpret_cast<uint8_t*>(I->second.first);
223 FunctionEnd = reinterpret_cast<uint8_t*>(I->second.second);
/frameworks/base/core/java/android/text/format/
H A DTime.java27 * a moment in time, specified with second precision. It is modelled after
51 * True if this is an allDay event. The hour, minute, second fields are
59 public int second; field in class:Time
271 this.second = 0;
289 * @param b second {@code Time} instance to compare
292 * hour}, {@code minute}, and {@code second} are not 0.
418 * <code>minute</code>, and <code>second</code> fields are set to zero;
472 * {@link #minute}, and {@link #second} fields are set to zero.
578 this.second = that.second;
594 set(int second, int minute, int hour, int monthDay, int month, int year) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkPolicyManager.java139 cycle.hour = cycle.minute = cycle.second = 0;
146 lastMonth.hour = lastMonth.minute = lastMonth.second = 0;
165 cycle.hour = cycle.minute = cycle.second = 0;
172 nextMonth.hour = nextMonth.minute = nextMonth.second = 0;
192 // cycle day isn't valid this month; snap to last second of month
195 time.second = -1;
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DRetryManager.java68 * <li>Infinite number of retries with the first one at 1000, the second at 2000 all
188 defaultRandomization = value.second;
195 mMaxRetryCount = value.second;
212 rr.mDelayTime = value.second;
220 rr.mRandomizationTime = value.second;
353 + retVal.first + ", " + retVal.second);
/frameworks/base/core/jni/android/graphics/
H A DPathEffect.cpp24 SkPathEffect* first, SkPathEffect* second) {
25 return new SkSumPathEffect(first, second);
23 Sum_constructor(JNIEnv* env, jobject, SkPathEffect* first, SkPathEffect* second) argument
/frameworks/compile/slang/BitWriter_2_9/
H A DValueEnumerator.h91 return I->second-1;
101 return I->second;
H A DValueEnumerator.cpp95 EnumerateMetadata(MDs[i].second);
114 return I->second;
125 return I->second-1;
130 return I->second-1;
145 return LHS.second > RHS.second;
222 MDValues[MDValueID-1].second++;
246 MDValues[MDValueID-1].second++;
276 Values[ValueID-1].second++;
446 MDNode *N = MDs[i].second;
[all...]
/frameworks/compile/slang/
H A Dslang_rs_metadata_spec_encoder.cpp135 return (I->second + 1);
141 if (!Res.second)
149 return (Res.first->second + 1);
162 return (I->second + 1);
168 if (!Res.second)
224 return (I->second + 1);
242 if (!Res.second)
296 return (Res.first->second + 1);
/frameworks/base/core/java/android/database/
H A DDefaultDatabaseErrorHandler.java86 deleteDatabaseFile(p.second);
/frameworks/base/tools/aapt/tests/
H A DMockDirectoryWalker.h58 mStats.st_mtime = mData[mPos].second;
/frameworks/opt/calendar/src/com/android/calendarcommon/
H A DRecurrenceProcessor.java33 // Give up after this many loops. This is roughly 1 second of expansion.
276 iterator.second,
871 if (failsafe++ > MAX_ALLOWED_ITERATIONS) { // Give up after about 1 second of processing
882 int iteratorSecond = iterator.second;
967 // second
970 int second = usebysecond
973 if (SPEW) Log.i(TAG, " second=" + second);
978 generated.set(second, minute, hour, day, month, iteratorYear);
1073 iterator.second
[all...]
/frameworks/compile/libbcc/lib/ExecutionEngine/OldJIT/
H A DCacheWriter.cpp141 dep->res_type = I->second.first;
142 memcpy(dep->sha1, I->second.second, 20);
236 size += mStringPool[i].second + 1;
257 str->length = mStringPool[i].second;
/frameworks/base/media/libdrm/mobile1/src/jni/
H A Ddrm1_jni.c30 #define MS_PER_SECOND 1000 /* Milliseconds per second */
309 * \param second the second (0 - 59)
316 uint32_t hour, uint32_t minute, uint32_t second)
328 && second < 60);
338 SECONDS_PER_HOUR * hour + SECONDS_PER_MINUTE * minute + second));
350 * <code>time = hour * 10000 + minute * 100 + second</code>
356 int32_t year, month, day, hour, minute, second; local
363 second = time % 100;
375 if (second <
314 mkgmtime( uint32_t year, uint32_t month, uint32_t day, uint32_t hour, uint32_t minute, uint32_t second) argument
399 int32_t year, month, day, hour, minute, second; local
[all...]

Completed in 2499 milliseconds

1234