Searched defs:Pair (Results 1 - 14 of 14) sorted by relevance

/frameworks/av/media/img_utils/include/img_utils/
H A DPair.h29 class ANDROID_API Pair { class in namespace:android::img_utils
34 Pair() {} function in class:android::img_utils::Pair
36 Pair(const Pair& o) : first(o.first), second(o.second) {} function in class:android::img_utils::Pair
38 Pair(const F& f, const S& s) : first(f), second(s) {} function in class:android::img_utils::Pair
/frameworks/base/core/java/android/util/
H A DPair.java26 public class Pair<F, S> { class
31 * Constructor for a Pair.
33 * @param first the first object in the Pair
36 public Pair(F first, S second) { method in class:Pair
45 * @param o the {@link Pair} to which this one is to be checked for equality
46 * @return true if the underlying objects of the Pair are both considered
51 if (!(o instanceof Pair)) {
54 Pair<?, ?> p = (Pair<?, ?>) o;
61 * @return a hashcode of the Pair
[all...]
/frameworks/support/compat/java/android/support/v4/util/
H A DPair.java24 public class Pair<F, S> { class
29 * Constructor for a Pair.
31 * @param first the first object in the Pair
34 public Pair(F first, S second) { method in class:Pair
43 * @param o the {@link Pair} to which this one is to be checked for equality
44 * @return true if the underlying objects of the Pair are both considered
49 if (!(o instanceof Pair)) {
52 Pair<?, ?> p = (Pair<?, ?>) o;
63 * @return a hashcode of the Pair
[all...]
/frameworks/base/libs/hwui/utils/
H A DPair.h26 struct Pair { struct in namespace:android::uirenderer
30 Pair() { } function in struct:android::uirenderer::Pair
31 Pair(const Pair& o) : first(o.first), second(o.second) { } function in struct:android::uirenderer::Pair
32 Pair(const F& f, const S& s) : first(f), second(s) { } function in struct:android::uirenderer::Pair
46 struct trait_trivial_ctor< uirenderer::Pair<F, S> >
49 struct trait_trivial_dtor< uirenderer::Pair<F, S> >
52 struct trait_trivial_copy< uirenderer::Pair<F, S> >
55 struct trait_trivial_move< uirenderer::Pair<F, S> >
/frameworks/wilhelm/src/ut/
H A DOpenSLESUT.c36 } Pair; typedef in typeref:struct:__anon1828
46 static Pair pairs[] = {
114 Pair *p;
115 const Pair *end = &pairs[sizeof(pairs)/sizeof(pairs[0])];
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiLogger.java22 import android.util.Pair;
52 // Value (Pair(Long, Integer)): a pair of last log time millis and the number of logMessage.
54 private final HashMap<String, Pair<Long, Integer>> mWarningTimingCache = new HashMap<>();
56 private final HashMap<String, Pair<Long, Integer>> mErrorTimingCache = new HashMap<>();
110 private static String updateLog(HashMap<String, Pair<Long, Integer>> cache, String logMessage) {
112 Pair<Long, Integer> timing = cache.get(logMessage);
115 cache.put(logMessage, new Pair<>(curTime, 1));
123 private static String buildMessage(String message, @Nullable Pair<Long, Integer> timing) { argument
129 private static void increaseLogCount(HashMap<String, Pair<Long, Integer>> cache,
131 Pair<Lon
137 shouldLogNow(@ullable Pair<Long, Integer> timing, long curTime) argument
[all...]
/frameworks/compile/mclinker/include/mcld/Target/
H A DELFDynamic.h52 typedef llvm::ELF::Elf32_Dyn Pair; typedef in class:mcld::elf_dynamic::Entry
64 size_t size() const { return sizeof(Pair); }
77 Pair m_Pair;
83 typedef llvm::ELF::Elf64_Dyn Pair; typedef in class:mcld::elf_dynamic::Entry
95 size_t size() const { return sizeof(Pair); }
108 Pair m_Pair;
/frameworks/rs/
H A DrsMap.h10 class Pair { class in namespace:android::renderscript
12 Pair() {} function in class:android::renderscript::Pair
13 Pair(T1 f1, T2 f2) : first(f1), second(f2) {} function in class:android::renderscript::Pair
20 Pair<T1, T2> make_pair(T1 first, T2 second) {
21 return Pair<T1, T2>(first, second);
31 typedef Pair<KeyType, ValueType> MapEntry;
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
H A DSortedListTest.java40 List<Pair> mAdditions = new ArrayList<Pair>();
41 List<Pair> mRemovals = new ArrayList<Pair>();
42 List<Pair> mMoves = new ArrayList<Pair>();
43 List<Pair> mUpdates = new ArrayList<Pair>();
75 mAdditions.add(new Pair(position, count));
83 mRemovals.add(new Pair(positio
782 private static final class Pair { class in class:SortedListTest
786 public Pair(int first) { method in class:SortedListTest.Pair
791 public Pair(int first, int second) { method in class:SortedListTest.Pair
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DResources_Delegate.java36 import com.android.util.Pair;
88 private static Pair<ResourceType, String> getResourceInfo(Resources resources, int id,
91 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id);
116 private static Pair<String, ResourceValue> getResourceValue(Resources resources, int id,
118 Pair<ResourceType, String> resourceInfo =
124 return Pair.of(attributeName, platformResFlag_out[0] ?
139 Pair<String, ResourceValue> value = getResourceValue(resources, id, mPlatformResourceFlag);
159 Pair<String, ResourceValue> value = getResourceValue(resources, id, mPlatformResourceFlag);
195 Pair<String, ResourceValue> resValue =
215 Pair<Strin
903 throwException(int id, @Nullable Pair<ResourceType, String> resourceInfo) argument
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dreverb.c36 } Pair; typedef in typeref:struct:__anon1843
40 Pair pairs[] = {
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 2637 milliseconds