Searched defs:second (Results 1 - 25 of 43) sorted by relevance

12

/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 long nativeCreate(long first, long second); argument
/frameworks/av/media/img_utils/include/img_utils/
H A DPair.h32 S second; member in class:android::img_utils::Pair
36 Pair(const Pair& o) : first(o.first), second(o.second) {}
38 Pair(const F& f, const S& s) : first(f), second(s) {}
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DSocketConnect.java41 public static void connect(Socket first, Socket second) { argument
43 SocketConnect sc1 = new SocketConnect(first, second);
44 SocketConnect sc2 = new SocketConnect(second, first);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DSumPathEffect_Delegate.java65 /*package*/ static long nativeCreate(long first, long second) { argument
/frameworks/base/core/java/android/util/
H A DPair.java28 public final S second; field in class:Pair
34 * @param second the second object in the pair
36 public Pair(F first, S second) { argument
38 this.second = second;
55 return Objects.equals(p.first, first) && Objects.equals(p.second, second);
65 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second
[all...]
/frameworks/support/v4/java/android/support/v4/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 objectsEqual(p.first, first) && objectsEqual(p.second, second);
67 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second
[all...]
/frameworks/av/media/mtp/
H A DMtpUtils.cpp32 second (00-59). The ".s" is optional, and represents tenths of a second.
37 int year, month, day, hour, minute, second; local
39 &year, &month, &day, &hour, &minute, &second) != 6)
42 // skip optional tenth of second
59 tm.tm_sec = second;
/frameworks/base/libs/hwui/utils/
H A DPair.h28 S second; member in struct:android::uirenderer::Pair
31 Pair(const Pair& o) : first(o.first), second(o.second) { }
32 Pair(const F& f, const S& s) : first(f), second(s) { }
39 return second;
/frameworks/compile/mclinker/include/mcld/ADT/
H A Dilist_sort.h36 iterator second = xs.begin(); local
37 ++second;
38 if (is_less_than(*second, *first)) {
39 xs.splice(first, xs, 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/base/test-runner/src/android/test/
H A DViewAsserts.java122 * @param second The second view
124 static public void assertBaselineAligned(View first, View second) { argument
129 second.getLocationOnScreen(xy);
130 int secondTop = xy[1] + second.getBaseline();
140 * @param second The second view
142 static public void assertRightAligned(View first, View second) { argument
147 second.getLocationOnScreen(xy);
148 int secondRight = xy[0] + second
161 assertRightAligned(View first, View second, int margin) argument
179 assertLeftAligned(View first, View second) argument
198 assertLeftAligned(View first, View second, int margin) argument
216 assertBottomAligned(View first, View second) argument
235 assertBottomAligned(View first, View second, int margin) argument
253 assertTopAligned(View first, View second) argument
272 assertTopAligned(View first, View second, int margin) argument
[all...]
/frameworks/ex/common/java/com/android/common/
H A DLegacyHttpDateTime.java77 this.second = s;
82 int second; field in class:LegacyHttpDateTime.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/support/tests/java/android/support/v4/app/
H A DNotificationCompatActionWearableExtenderTest.java256 Notification second) {
259 new NotificationCompat.WearableExtender(second);
255 assertExtendersFromNotificationEqual(Notification first, Notification second) argument
/frameworks/base/core/jni/android/graphics/
H A DPathEffect.cpp30 SkPathEffect* second = reinterpret_cast<SkPathEffect*>(secondHandle); local
31 SkPathEffect* effect = SkSumPathEffect::Create(first, second);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DGestureUtils.java26 private static boolean eventsWithinTimeAndDistanceSlop(MotionEvent first, MotionEvent second, argument
28 if (isTimedOut(first, second, timeout)) {
31 final double deltaMove = computeDistance(first, second, actionIndex);
38 public static double computeDistance(MotionEvent first, MotionEvent second, int pointerIndex) { argument
40 second.getX(pointerIndex), second.getY(pointerIndex));
48 public static boolean isSamePointerContext(MotionEvent first, MotionEvent second) { argument
49 return (first.getPointerIdBits() == second.getPointerIdBits()
51 == second.getPointerId(second
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DJobStoreTest.java269 private void assertTasksEqual(JobInfo first, JobInfo second) { argument
270 assertEquals("Different task ids.", first.getId(), second.getId());
271 assertEquals("Different components.", first.getService(), second.getService());
272 assertEquals("Different periodic status.", first.isPeriodic(), second.isPeriodic());
273 assertEquals("Different period.", first.getIntervalMillis(), second.getIntervalMillis());
275 second.getInitialBackoffMillis());
277 second.getBackoffPolicy());
280 second.isRequireCharging());
282 second.isRequireDeviceIdle());
285 second
[all...]
/frameworks/base/tools/obbtool/
H A DMain.cpp171 unsigned char first, second; local
173 if (!fromHex(h2, &second)) return false;
174 *b = (first << 4) | second;
/frameworks/base/services/core/java/com/android/server/am/
H A DLaunchingTaskPositioner.java280 private static final boolean closeLeftTopCorner(Rect first, Rect second) { argument
281 return Math.abs(first.left - second.left) < BOUNDS_CONFLICT_MIN_DISTANCE
282 && Math.abs(first.top - second.top) < BOUNDS_CONFLICT_MIN_DISTANCE;
285 private static final boolean closeRightTopCorner(Rect first, Rect second) { argument
286 return Math.abs(first.right - second.right) < BOUNDS_CONFLICT_MIN_DISTANCE
287 && Math.abs(first.top - second.top) < BOUNDS_CONFLICT_MIN_DISTANCE;
290 private static final boolean closeLeftBottomCorner(Rect first, Rect second) { argument
291 return Math.abs(first.left - second.left) < BOUNDS_CONFLICT_MIN_DISTANCE
292 && Math.abs(first.bottom - second.bottom) < BOUNDS_CONFLICT_MIN_DISTANCE;
295 private static final boolean closeRightBottomCorner(Rect first, Rect second) { argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHotplugDetectionAction.java209 private static BitSet complement(BitSet first, BitSet second) { argument
212 clone.andNot(second);
/frameworks/rs/
H A DrsMap.h13 Pair(T1 f1, T2 f2) : first(f1), second(f2) {}
16 T2 second; member in class:android::renderscript::Pair
20 Pair<T1, T2> make_pair(T1 first, T2 second) { argument
21 return Pair<T1, T2>(first, second);
62 return node->entry.second;
76 return node->entry.second;
/frameworks/support/v4/java/android/support/v4/widget/
H A DFocusStrategy.java106 public int compare(T first, T second) { argument
111 mAdapter.obtainBounds(second, secondRect);
320 * @param rect2 the second rectangle
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
H A DSortedListTest.java785 final int first, second; field in class:SortedListTest.Pair
789 this.second = Integer.MIN_VALUE;
792 public Pair(int first, int second) { argument
794 this.second = second;
811 if (second != pair.second) {
821 result = 31 * result + second;
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp162 char *second = strtok(NULL, ":"); local
164 (second != NULL) && (strlen(second) != 0),
170 addCriterionTypeValuePair(typeName, index, second);
227 return it != elementsMap.end() ? it->second : NULL;
236 return it != elementsMap.end() ? it->second : NULL;
/frameworks/base/core/java/android/view/
H A DFocusFinder.java396 * @param rect2 The second rectangle
680 public int compare(View first, View second) { argument
681 if (first == second) {
687 View secondHead = mHeadsOfChains.get(second);
691 } else if (second == firstHead) {
692 return 1; // second is the head, it should be first
703 second = secondHead;
708 getRect(second, mSecondRect);
/frameworks/base/core/java/android/text/format/
H A DTime.java31 * a moment in time, specified with second precision. It is modelled after
46 * that was skipped due to a DST transition, will result in a date in 1969 (i.e. -1, or 1 second
76 * True if this is an allDay event. The hour, minute, second fields are
84 public int second; field in class:Time
306 this.second = 0;
329 * @param b second {@code Time} instance to compare
332 * hour}, {@code minute}, and {@code second} are not 0.
387 * <code>minute</code>, and <code>second</code> fields are set to zero;
472 second = n;
483 second
803 set(int second, int minute, int hour, int monthDay, int month, int year) argument
[all...]

Completed in 862 milliseconds

12