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

12

/frameworks/av/camera/
H A DCameraParameters.cpp297 static int parse_pair(const char *str, int *first, int *second, char delim, argument
309 // Find the second integer, immediately after the delimeter.
313 *second = h;
/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/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/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/hardware/hdmi/
H A DHdmiRecordSources.java742 private static int threeFieldsToSixBytes(int first, int second, int third, byte[] data, argument
745 shortToByteArray((short) second, data, index + 2);
/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...]
/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/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);
H A DViewRootImpl.java356 // Variables to track frames per second, enabled via DEBUG_FPS flag
2297 * to blank containers, and force a second request/measure/layout pass in this frame. If
2298 * more requestLayout() calls are received during that second layout pass, we post those
2303 * next frame (if it is a request during the second layout pass).</p>
2318 // Let the request proceed normally; it will be processed in a second layout pass
2322 // Don't let the request proceed during the second layout pass.
2355 // the second pass, which may result in posting those requests to the next
2364 " during layout: running second layout pass");
2375 // layout flags, since requests happening during the second pass get noop'd
2379 // Post second
6820 getCommonPredecessor(View first, View second) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRadialTimePickerView.java1149 * @param second value in the range [0,max]
1153 private int getCircularDiff(int first, int second, int max) { argument
1154 final int diff = Math.abs(first - second);
H A DRelativeLayout.java1149 public int compare(View first, View second) { argument
1151 int topDifference = first.getTop() - second.getTop();
1156 int leftDifference = first.getLeft() - second.getLeft();
1161 int heightDiference = first.getHeight() - second.getHeight();
1166 int widthDiference = first.getWidth() - second.getWidth();
H A DRemoteViews.java176 S second; field in class:RemoteViews.MutablePair
178 MutablePair(F first, S second) { argument
180 this.second = second;
189 return Objects.equal(p.first, first) && Objects.equal(p.second, second);
194 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode());
839 mPair.second = paramType;
/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/core/jni/android/graphics/
H A DPathEffect.cpp30 SkPathEffect* second = reinterpret_cast<SkPathEffect*>(secondHandle); local
31 SkPathEffect* effect = SkSumPathEffect::Create(first, second);
/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/base/libs/androidfw/
H A DResourceTypes.cpp1776 // The smallest 5 bits of the second char are the first alphabet.
1778 // The last three bits of the second char and the first two bits
1779 // of the first char are the second alphabet.
1780 const uint8_t second = ((in[1] & 0xe0) >> 5) + ((in[0] & 0x03) << 3); local
1785 out[1] = second + base;
1809 uint8_t second = (in[1] - base) & 0x007f; local
1812 out[0] = (0x80 | (third << 2) | (second >> 3));
1813 out[1] = ((second << 5) | first);
/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/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DMultiSelectManager.java1738 // are columns (e.g., if there are 4 items and 3 columns, the second row will
1995 private RelativeCoordinate min(RelativeCoordinate first, RelativeCoordinate second) { argument
1996 return first.compareTo(second) < 0 ? first : second;
1999 private RelativeCoordinate max(RelativeCoordinate first, RelativeCoordinate second) { argument
2000 return first.compareTo(second) > 0 ? first : second;
2028 RelativePoint first, RelativePoint second) {
2029 return doesCoordinateLocationCoverItems(first.xLocation, second.xLocation) &&
2030 doesCoordinateLocationCoverItems(first.yLocation, second
2027 areItemsCoveredByBand( RelativePoint first, RelativePoint second) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DApplicationsState.java1410 public CompoundFilter(AppFilter first, AppFilter second) { argument
1412 mSecondFilter = second;
/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/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...]
H A DMagnificationGestureHandler.java375 public boolean onScroll(MotionEvent first, MotionEvent second, float distanceX, argument
/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/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...]

Completed in 3498 milliseconds

12