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

1234567891011>>

/frameworks/base/core/java/com/android/internal/util/
H A DIntPair.java27 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/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/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/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/support/compat/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/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/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/av/media/libstagefright/omx/1.0/
H A DOmxStore.cpp51 attribute.value = attributePair.second;
62 role.type = rolePair.second.type;
63 role.isEncoder = rolePair.second.isEncoder;
69 nodeList.resize(rolePair.second.nodeList.size());
71 for (const auto& nodePair : rolePair.second.nodeList) {
73 node.name = nodePair.second.name;
76 attributeList.resize(nodePair.second.attributeList.size());
78 for (const auto& attributePair : nodePair.second.attributeList) {
81 attribute.value = attributePair.second;
/frameworks/av/media/libstagefright/omx/
H A DOMXStore.cpp58 attribute.value = attributePair.second;
67 role.type = rolePair.second.type;
68 role.isEncoder = rolePair.second.isEncoder;
74 nodeList.reserve(rolePair.second.nodeList.size());
75 for (const auto& nodePair : rolePair.second.nodeList) {
77 node.name = nodePair.second.name;
80 attributeList.reserve(nodePair.second.attributeList.size());
81 for (const auto& attributePair : nodePair.second.attributeList) {
84 attribute.value = attributePair.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/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/av/include/media/
H A DInterpolator.h73 return this->rbegin()->second;
77 return high->second;
86 return high->first == x ? high->second : low->second;
88 return ((high->first - x) * low->second + (x - low->first) * high->second)
102 return low->second + std::get<0>(memo) * t
133 sec = (high->second - low->second) / interval;
135 ? (low->second
[all...]
/frameworks/rs/tests/lldb/cpp/MultipleRSFiles/
H A DAndroid.mk9 second.rs
/frameworks/rs/tests/lldb/jni/MultipleRSFiles/jnimultiplersfiles/
H A DAndroid.mk6 LOCAL_SRC_FILES := jnimultiplersfiles.cpp first.rs second.rs
/frameworks/base/tools/aapt/
H A DResourceFilter.cpp39 entry.second = mDefault.diff(entry.first);
42 entry.second &= ~ResTable_config::CONFIG_VERSION;
45 if ((entry.second & ResTable_config::CONFIG_DENSITY) != 0) {
48 entry.second &= ~ResTable_config::CONFIG_DENSITY;
51 mConfigMask |= entry.second;
111 if ((diff & entry.second) == 0) {
113 matchedAxis |= entry.second;
114 } else if ((diff & entry.second) == ResTable_config::CONFIG_LOCALE) {
132 } else if ((diff & entry.second) == ResTable_config::CONFIG_SMALLEST_SCREEN_SIZE) {
/frameworks/opt/chips/tests/src/com/android/ex/chips/
H A DChipsTest.java185 String second = (String) mTokenizer.terminateToken("SECOND");
188 mEditable.append(first + extra + second);
191 int secondStart = mEditable.toString().indexOf(second);
192 int secondEnd = secondStart + second.trim().length();
199 assertEquals(editableString.indexOf(second), secondStart - extra.length());
200 assertEquals(editableString, (first + second));
222 String second = (String) mTokenizer.terminateToken("SECOND");
225 mEditable.append(first + second);
228 int secondStart = mEditable.toString().indexOf(second);
229 int secondEnd = secondStart + second
[all...]
/frameworks/native/cmds/lshal/
H A DDebugCommand.cpp47 pair.first, pair.second.empty() ? "default" : pair.second, mOptions,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DMediaNotificationProcessor.java204 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/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/compile/mclinker/include/mcld/Support/
H A DUniqueGCFactory.h43 return dataIter->second;
50 return dataIter->second;
58 return dataIter->second;
71 return dataIter->second;
/frameworks/layoutlib/bridge/src/android/graphics/
H A DSumPathEffect_Delegate.java65 /*package*/ static long nativeCreate(long first, long second) { argument
/frameworks/av/media/libnbaio/
H A DReportPerformance.cpp58 ofs << outlier.first << ": " << outlier.second << "\n";
65 for (const auto &bucket : hist.second) {
66 ofs << bucket.first << ": " << bucket.second << "\n";
/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/core/tests/coretests/src/android/text/
H A DSpannableStringBuilderTest.java41 Object second = new UnderlineSpan();
46 builder.setSpan(second, 1, text.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
58 assertEquals(second, spans[2]);
/frameworks/base/core/java/android/security/net/config/
H A DApplicationConfig.java91 NetworkSecurityConfig config = entry.second;
109 return bestMatch.second;
133 if (!entry.second.isCleartextTrafficPermitted()) {
162 if (updatedConfigs.add(entry.second)) {
163 entry.second.handleTrustStorageUpdate();

Completed in 1063 milliseconds

1234567891011>>