/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 297 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 D | Pair.h | 32 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 D | MtpUtils.cpp | 32 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 D | ParameterManagerWrapper.cpp | 162 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 D | HdmiRecordSources.java | 742 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 D | Time.java | 31 * 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 D | Pair.java | 28 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 D | FocusFinder.java | 560 * @param rect2 The second rectangle 779 private Comparator<View> mTopsComparator = (first, second) -> { 780 if (first == second) { 785 Rect secondRect = mRectByView.get(second); 794 private Comparator<View> mSidesComparator = (first, second) -> { 795 if (first == second) { 800 Rect secondRect = mRectByView.get(second); 936 public int compare(View first, View second) { argument 937 if (first == second) { 943 View secondHead = mHeadsOfChains.get(second); [all...] |
H A D | ViewRootImpl.java | 423 // Variables to track frames per second, enabled via DEBUG_FPS flag 2436 * to blank containers, and force a second request/measure/layout pass in this frame. If 2437 * more requestLayout() calls are received during that second layout pass, we post those 2442 * next frame (if it is a request during the second layout pass).</p> 2457 // Let the request proceed normally; it will be processed in a second layout pass 2461 // Don't let the request proceed during the second layout pass. 2497 // the second pass, which may result in posting those requests to the next 2506 " during layout: running second layout pass"); 2517 // layout flags, since requests happening during the second pass get noop'd 2521 // Post second 7251 getCommonPredecessor(View first, View second) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | RadialTimePickerView.java | 1186 * @param second value in the range [0,max] 1190 private int getCircularDiff(int first, int second, int max) { argument 1191 final int diff = Math.abs(first - second);
|
H A D | RelativeLayout.java | 1151 public int compare(View first, View second) { argument 1153 int topDifference = first.getTop() - second.getTop(); 1158 int leftDifference = first.getLeft() - second.getLeft(); 1163 int heightDiference = first.getHeight() - second.getHeight(); 1168 int widthDiference = first.getWidth() - second.getWidth();
|
H A D | RemoteViews.java | 186 S second; field in class:RemoteViews.MutablePair 188 MutablePair(F first, S second) { argument 190 this.second = second; 199 return Objects.equal(p.first, first) && Objects.equal(p.second, second); 204 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second.hashCode()); 893 mPair.second = paramType;
|
/frameworks/base/core/java/com/android/internal/http/ |
H A D | HttpDateTime.java | 77 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/java/com/android/internal/util/ |
H A D | IntPair.java | 27 public static long of(int first, int second) { argument 28 return (((long)first) << 32) | ((long)second & 0xffffffffL); 35 public static int second(long intPair) { method in class:IntPair
|
/frameworks/base/core/jni/android/graphics/ |
H A D | PathEffect.cpp | 31 SkPathEffect* second = reinterpret_cast<SkPathEffect*>(secondHandle); local 33 sk_ref_sp(second)).release();
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | SumPathEffect.java | 23 * (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 D | ResourceTypes.cpp | 1782 // The smallest 5 bits of the second char are the first alphabet. 1784 // The last three bits of the second char and the first two bits 1785 // of the first char are the second alphabet. 1786 const uint8_t second = ((in[1] & 0xe0) >> 5) + ((in[0] & 0x03) << 3); local 1791 out[1] = second + base; 1815 uint8_t second = (in[1] - base) & 0x007f; local 1818 out[0] = (0x80 | (third << 2) | (second >> 3)); 1819 out[1] = ((second << 5) | first);
|
/frameworks/base/libs/hwui/utils/ |
H A D | Pair.h | 28 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/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
H A D | WorkflowTest.java | 75 PrintAttributes.MediaSize second) { 78 mSecond = second; 325 for (PrintAttributes.MediaSize second : new PrintAttributes.MediaSize[]{ 327 // If we do not use the second printer, no need to try various options 328 if (!selectPrinter && second == null) { 331 tests.add(new Object[]{first, selectPrinter, second}); 74 WorkflowTest(PrintAttributes.MediaSize first, boolean selectPrinter, PrintAttributes.MediaSize second) argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
H A D | ApplicationsState.java | 1588 public CompoundFilter(AppFilter first, AppFilter second) { argument 1590 mSecondFilter = second;
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
H A D | AccessPointTest.java | 349 * Assert that the first AccessPoint appears after the second AccessPoint 352 private void assertSortingWorks(AccessPoint first, AccessPoint second) { argument 357 points.add(second); 361 String.format("After sorting: second AccessPoint should have higher array index " 362 + "than the first, but found indicies second '%s' and first '%s'.", 363 points.indexOf(second), points.indexOf(first))) 364 .that(points.indexOf(second)).isGreaterThan(points.indexOf(first));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | MediaNotificationProcessor.java | 204 Palette.Swatch second) { 206 boolean secondValid = hasEnoughPopulation(second); 209 float secondSaturation = second.getHsl()[1]; 210 float populationFraction = first.getPopulation() / (float) second.getPopulation(); 214 return second; 219 return second; 224 private Palette.Swatch selectVibrantCandidate(Palette.Swatch first, Palette.Swatch second) { argument 226 boolean secondValid = hasEnoughPopulation(second); 229 int secondPopulation = second.getPopulation(); 232 return second; 203 selectMutedCandidate(Palette.Swatch first, Palette.Swatch second) argument [all...] |
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
H A D | SocketConnect.java | 41 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 D | GestureUtils.java | 26 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 D | MagnificationGestureHandler.java | 431 public boolean onScroll(MotionEvent first, MotionEvent second, float distanceX, argument
|