/external/webkit/Source/WebCore/css/ |
Pair.h | 30 // A primitive value representing a pair. This is useful for properties like border-radius, background-size/position, 34 class Pair : public RefCounted<Pair> { 36 static PassRefPtr<Pair> create() 38 return adoptRef(new Pair); 40 static PassRefPtr<Pair> create(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second) 42 return adoptRef(new Pair(first, second)); 44 virtual ~Pair() { } 53 Pair() : m_first(0), m_second(0) { } 54 Pair(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
ILayoutlibVersion.java | 19 import com.android.util.Pair;
41 public Pair<Integer, Integer> getLayoutlibVersion();
|
LayoutlibVersionMixin.java | 21 import com.android.util.Pair;
40 private final Pair<Integer, Integer> mLayoutlibVersion;
60 mLayoutlibVersion = Pair.of(api, rev);
73 mLayoutlibVersion = Pair.of(layoutlibApi, layoutlibRev);
98 public Pair<Integer, Integer> getLayoutlibVersion() {
|
ITaskMonitor.java | 20 import com.android.util.Pair;
143 * @return Returns a {@link Pair} holding the entered login and password.
150 public Pair<String, String> displayLoginPasswordPrompt(String title, String message);
|
/frameworks/base/core/java/android/util/ |
Pair.java | 24 public class Pair<F, S> { 29 * Constructor for a Pair. If either are null then equals() and hashCode() will throw 31 * @param first the first object in the Pair 32 * @param second the second object in the pair 34 public Pair(F first, S second) { 41 * @param o the Pair to which this one is to be checked for equality 42 * @return true if the underlying objects of the Pair are both considered equals() 46 if (!(o instanceof Pair)) return false; 47 final Pair<F, S> other; 49 other = (Pair<F, S>) o [all...] |
/external/skia/include/core/ |
SkPtrRecorder.h | 70 struct Pair { 79 SkTDArray<Pair> fList; 81 static int Cmp(const Pair& a, const Pair& b);
|
SkTDict.h | 54 Pair* pair = fArray.insert(~index); local 58 pair->fName = copy; 59 pair->fValue = value; 94 Pair* end = fArray.end(); 95 for (Pair* pair = fArray.begin(); pair < end; pair++) { 96 if (pair->fValue != value [all...] |
/external/skia/src/core/ |
SkPtrRecorder.cpp | 5 Pair* p = fList.begin(); 6 Pair* stop = fList.end(); 14 int SkPtrSet::Cmp(const Pair& a, const Pair& b) { 24 Pair pair; local 25 pair.fPtr = ptr; 27 int index = SkTSearch<Pair>(fList.begin(), count, pair, sizeof(pair), &Cmp) 40 Pair pair; local [all...] |
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicMarkableReference.java | 25 private static class Pair<T> { 28 private Pair(T reference, boolean mark) { 32 static <T> Pair<T> of(T reference, boolean mark) { 33 return new Pair<T>(reference, mark); 37 private volatile Pair<V> pair; field in class:AtomicMarkableReference 47 pair = Pair.of(initialRef, initialMark); 56 return pair.reference; 65 return pair.mark 77 Pair<V> pair = this.pair; local [all...] |
AtomicStampedReference.java | 23 private static class Pair<T> { 26 private Pair(T reference, int stamp) { 30 static <T> Pair<T> of(T reference, int stamp) { 31 return new Pair<T>(reference, stamp); 35 private volatile Pair<V> pair; field in class:AtomicStampedReference 45 pair = Pair.of(initialRef, initialStamp); 54 return pair.reference; 63 return pair.stamp 75 Pair<V> pair = this.pair; local [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
MediaProperties.java | 21 import android.util.Pair; 64 private static final Pair<Integer, Integer>[] ASPECT_RATIO_3_2_RESOLUTIONS = 65 new Pair[] { 66 new Pair<Integer, Integer>(720, HEIGHT_480), 67 new Pair<Integer, Integer>(1080, HEIGHT_720) 71 private static final Pair<Integer, Integer>[] ASPECT_RATIO_4_3_RESOLUTIONS = 72 new Pair[] { 73 new Pair<Integer, Integer>(640, HEIGHT_480), 74 new Pair<Integer, Integer>(960, HEIGHT_720) 78 private static final Pair<Integer, Integer>[] ASPECT_RATIO_5_3_RESOLUTIONS [all...] |
/sdk/common/src/com/android/util/ |
Pair.java | 20 * A Pair class is simply a 2-tuple for use in this package. We might want to 23 * classes using this Pair by a more dedicated data structure (so we don't have 30 public class Pair<S,T> { 34 // Use {@link Pair#of} factory instead since it infers generic types 35 private Pair(S first, T second) { 41 * Return the first item in the pair 43 * @return the first item in the pair 50 * Return the second item in the pair 52 * @return the second item in the pair 59 * Constructs a new pair of the given two objects, inferring generic types [all...] |
/external/chromium/base/ |
stl_util-inl.h | 329 // function that "projects" one of the members of a pair. 331 // map a pair to its first and second, respectively, members, the 334 // * UnaryOperate1st<pair>(f) returns the function x -> f(p1(x)) 335 // * UnaryOperate2nd<pair>(f) returns the function x -> f(p2(x)) 336 // * BinaryOperate1st<pair>(f) returns the function (x,y) -> f(p1(x),p1(y)) 337 // * BinaryOperate2nd<pair>(f) returns the function (x,y) -> f(p2(x),p2(y)) 342 template<typename Pair, typename UnaryOp> 344 : public std::unary_function<Pair, typename UnaryOp::result_type> { 352 typename UnaryOp::result_type operator()(const Pair& p) const { 360 template<typename Pair, typename UnaryOp [all...] |
/sdk/ninepatch/src/com/android/ninepatch/ |
NinePatchChunk.java | 54 private Pair<Integer> mHorizontalPadding; 55 private Pair<Integer> mVerticalPadding; 323 Pair<List<Pair<Integer>>> left = getPatches(column, result); 327 Pair<List<Pair<Integer>>> top = getPatches(row, result); 361 List<Pair<Integer>> topPairs) { 363 for (Pair<Integer> top : topPairs) { 373 List<Pair<Integer>> leftPairs) { 375 for (Pair<Integer> left : leftPairs) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
BaseLayoutRuleTest.java | 26 import com.android.util.Pair; 59 Map<String, Pair<String, String>> idMap = new HashMap<String, Pair<String, String>>(); 60 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); 74 Map<String, Pair<String, String>> idMap = new HashMap<String, Pair<String, String>>(); 75 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements); 107 Map<String, Pair<String, String>> idMap = new HashMap<String, Pair<String, String>>(); 110 Map<String, Pair<String, String>> ids = new BaseLayoutRule().collectIds(idMap, elements) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
Gesture.java | 19 import com.android.util.Pair; 149 * @return a pair of booleans, the first indicating whether the tooltip should be 153 public Pair<Boolean, Boolean> getTooltipPosition() { 154 return Pair.of(true, true);
|
/external/clang/test/Index/ |
index-templates.cpp | 76 struct Pair { 85 Pair<T, U> p = { t, second_type(u) }; 92 typename Comparison = compare<Pair<Key, Value> >, 93 typename Allocator = allocator<Pair<Key, Value> > > 96 void f(map<Z4, Pair<int, Z4> >); 98 template class Pair<int, int>; 101 struct SuperPair : Pair<int, int>, Pair<T, U> { }; 179 // CHECK-LOAD: index-templates.cpp:101:20: C++ base class specifier=Pair<int, int>:98:16 [access=public isVirtual=false] Extent=[101:20 - 101:34] 180 // CHECK-LOAD: index-templates.cpp:101:36: C++ base class specifier=Pair<T, U>:76:8 [access=public isVirtual=false] Extent=[101:36 - 101:46 [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/tasks/ |
IProgressUiProvider.java | 20 import com.android.util.Pair; 82 * @return Returns a {@link Pair} holding the entered login and password. 86 * <b>password</b>. This method should never return a null pair. 89 public abstract Pair<String, String> displayLoginPasswordPrompt(String title, String message);
|
/external/llvm/include/llvm/ADT/ |
DenseMapInfo.h | 134 struct DenseMapInfo<std::pair<T, U> > { 135 typedef std::pair<T, U> Pair; 139 static inline Pair getEmptyKey() { 143 static inline Pair getTombstoneKey() { 147 static unsigned getHashValue(const Pair& PairVal) { 160 static bool isEqual(const Pair &LHS, const Pair &RHS) {
|
/external/javassist/src/main/javassist/compiler/ast/ |
Pair.java | 24 public class Pair extends ASTree { 27 public Pair(ASTree _left, ASTree _right) { 36 sbuf.append("(<Pair> ");
|
/sdk/ide_common/src/com/android/ide/common/rendering/legacy/ |
LegacyCallback.java | 21 import com.android.util.Pair; 43 Pair<ResourceType, String> info = resolveResourceId(id);
|
/external/skia/src/effects/ |
SkPorterDuff.cpp | 28 static const struct Pair { 55 const Pair* pairs = gPairs; 69 const Pair& pair = gPairs[mode]; local 70 SkASSERT(pair.fPD == mode); 71 return pair.fXF; 75 const Pair& pair = gPairs[mode]; local 76 SkASSERT(pair.fPD == mode); 77 return SkXfermode::Create(pair.fXF) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
WhitelistDictionary.java | 23 import android.util.Pair; 33 private final HashMap<String, Pair<Integer, String>> mWhitelistWords = 34 new HashMap<String, Pair<Integer, String>>(); 61 before.toLowerCase(), new Pair<Integer, String>(score, after));
|
/frameworks/base/core/java/android/database/ |
DefaultDatabaseErrorHandler.java | 24 import android.util.Pair; 68 List<Pair<String, String>> attachedDbs = null; 85 for (Pair<String, String> p : attachedDbs) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
IdeScanningContext.java | 26 import com.android.util.Pair; 49 private List<Pair<IResource, String>> mErrors; 68 mErrors = new ArrayList<Pair<IResource,String>>(); 70 mErrors.add(Pair.of(mCurrentFile, error)); 130 for (Pair<IResource, String> pair : mErrors) { 131 errors.add(pair.getSecond());
|