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

/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/tools/layoutlib/bridge/src/android/graphics/
H A DSumPathEffect_Delegate.java65 /*package*/ static int nativeCreate(int first, int 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.equal(p.first, first) && Objects.equal(p.second, second);
65 return (first == null ? 0 : first.hashCode()) ^ (second == null ? 0 : second
[all...]
/frameworks/av/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/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.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/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/base/services/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 DScreenMagnifier.java410 public boolean onScroll(MotionEvent first, MotionEvent second, float distanceX, argument
/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/core/java/android/view/
H A DFocusFinder.java405 * @param rect2 The second rectangle
631 public int compare(View first, View second) { argument
632 if (first == second) {
637 getRect(second, mSecondRect);
H A DViewRootImpl.java293 // Variables to track frames per second, enabled via DEBUG_FPS flag
2012 // Tracks frames per second drawn. First value in a series of draws may be bogus
4709 private View getCommonPredecessor(View first, View second) { argument
4726 View secondCurrent = second;
5111 // to wait for the second complete trackball motion before
5112 // generating the second discrete movement.
/frameworks/base/libs/hwui/
H A DSkiaShader.cpp373 SkiaComposeShader::SkiaComposeShader(SkiaShader* first, SkiaShader* second, argument
376 NULL, first->blend() || second->blend()),
377 mFirst(first), mSecond(second), mMode(mode), mCleanup(false) {
/frameworks/base/core/java/android/text/format/
H A DTime.java29 * a moment in time, specified with second precision. It is modelled after
53 * True if this is an allDay event. The hour, minute, second fields are
61 public int second; field in class:Time
276 this.second = 0;
294 * @param b second {@code Time} instance to compare
297 * hour}, {@code minute}, and {@code second} are not 0.
392 * <code>minute</code>, and <code>second</code> fields are set to zero;
449 * {@link #minute}, and {@link #second} fields are set to zero.
558 this.second = that.second;
574 set(int second, int minute, int hour, int monthDay, int month, int year) argument
[all...]
/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...]
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp168 etc1_uint32 low, bool second, bool flipped) {
171 if (second) {
248 etc1_byte* pColors, bool flipped, bool second) {
255 if (second) {
272 if (second) {
336 etc_compressed* pCompressed, bool flipped, bool second,
341 if (second) {
356 if (second) {
167 decode_subblock(etc1_byte* pOut, int r, int g, int b, const int* table, etc1_uint32 low, bool second, bool flipped) argument
247 etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask, etc1_byte* pColors, bool flipped, bool second) argument
335 etc_encode_subblock_helper(const etc1_byte* pIn, etc1_uint32 inMask, etc_compressed* pCompressed, bool flipped, bool second, const etc1_byte* pBaseColors, const int* pModifierTable) argument
/frameworks/av/camera/
H A DCameraParameters.cpp291 static int parse_pair(const char *str, int *first, int *second, char delim, argument
303 // Find the second integer, immediately after the delimeter.
307 *second = h;
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java1091 public int compare(View first, View second) { argument
1093 int topDifference = first.getTop() - second.getTop();
1098 int leftDifference = first.getLeft() - second.getLeft();
1103 int heightDiference = first.getHeight() - second.getHeight();
1108 int widthDiference = first.getWidth() - second.getWidth();

Completed in 4807 milliseconds