/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
ContactsUtilsTests.java | 26 import android.util.Pair; 90 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); 112 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); 131 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); 153 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); 178 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
FragmentMenu.java | 34 import com.android.utils.Pair; 118 // Pair of <title,layout> to be displayed to the user 119 List<Pair<String, String>> layouts = new ArrayList<Pair<String, String>>(); 122 layouts.add(Pair.of("list_content", //$NON-NLS-1$ 152 layouts.add(Pair.of(title, layout)); 162 for (Pair<String, String> layout : layouts) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
InstallDependencyPage.java | 20 import com.android.utils.Pair; 181 public static boolean isInstalled(List<Pair<String, Integer>> dependencies) { 182 for (Pair<String, Integer> dependency : dependencies) { 222 for (Pair<String, Integer> dependency : mTemplate.getDependencies()) { 240 List<Pair<String, Integer>> dependencies = mTemplate.getDependencies(); 271 for (Pair<String, Integer> dependency : mTemplate.getDependencies()) {
|
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
ConnectorTest.java | 16 import org.chromium.mojo.system.Pair; 44 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(
|
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
ExecutorFactory.java | 14 import org.chromium.mojo.system.Pair; 34 * Implementation of the executor which uses a pair of {@link MessagePipeHandle} for signaling. 71 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(
|
/external/llvm/include/llvm/ADT/ |
PointerUnion.h | 481 typedef PointerUnion<T, U> Pair; 485 static inline Pair getEmptyKey() { 486 return Pair(FirstInfo::getEmptyKey()); 488 static inline Pair getTombstoneKey() { 489 return Pair(FirstInfo::getTombstoneKey()); 491 static unsigned getHashValue(const Pair &PairVal) { 495 static bool isEqual(const Pair &LHS, const Pair &RHS) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
FakeAdapter.java | 23 import com.android.util.Pair; 114 Pair<View, Boolean> pair = AdapterHelper.getView(item, null /*parentGroup*/, parent, local 116 mSkipCallbackParser = pair.getSecond(); 117 return pair.getFirst();
|
AdapterHelper.java | 27 import com.android.util.Pair; 42 static Pair<View, Boolean> getView(AdapterItem item, AdapterItem parentItem, ViewGroup parent, 49 Pair<View, Boolean> pair = context.inflateView(dataBindingItem.getViewReference(), local 52 View view = pair.getFirst(); 53 skipCallbackParser |= pair.getSecond(); 64 return Pair.of(view, skipCallbackParser);
|
/frameworks/support/v4/java/android/support/v4/app/ |
ActivityOptionsCompat.java | 24 import android.support.v4.util.Pair; 159 Pair<View, String>... sharedElements) {
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
ImageCaptureManager.java | 30 import android.util.Pair; 137 * Holds an {@link Image} and {@link TotalCaptureResult} pair which may be 296 private final Map<Key<?>, Pair<Long, Object>> 297 mMetadata = new ConcurrentHashMap<CaptureResult.Key<?>, Pair<Long, Object>>(); 385 Pair<Long, Object> oldEntry = mMetadata.get(key); 395 mMetadata.put(key, new Pair<Long, Object>(frameNumber, newValue)); 566 final Pair<Long, CapturedImage> pinnedImage = mCapturedImageBuffer.tryPin( 652 final Pair<Long, CapturedImage> toCapture = mCapturedImageBuffer.tryPinGreatestSelected( 668 private boolean tryExecuteCaptureOrRelease(final Pair<Long, CapturedImage> toCapture,
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
DngCreatorTest.java | 41 import android.util.Pair; 133 Pair<Image, CaptureResult> resultPair = captureSingleRawShot(activeArraySize, 235 Pair<List<Image>, CaptureResult> resultPair = captureSingleRawShot(activeArraySize, 358 Pair<List<Image>, CaptureResult> resultPair = captureSingleRawShot(activeArraySize, 497 private Pair<Image, CaptureResult> captureSingleRawShot(Size s, ImageReader captureReader, 504 Pair<List<Image>, CaptureResult> res = captureSingleRawShot(s, readers, listeners); 505 return new Pair<Image, CaptureResult>(res.first.get(0), res.second); 508 private Pair<List<Image>, CaptureResult> captureSingleRawShot(Size s, List<ImageReader> captureReaders, 523 private List<Pair<List<Image>, CaptureResult>> captureRawShots(Size s, List<ImageReader> captureReaders, 561 List<Pair<List<Image>, CaptureResult>> ret = new ArrayList<>() [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
InputsActivity.java | 30 import android.util.Pair; 276 HashMap<Integer, ArrayList<Pair<String, TvInputInfo>>> externalInputs = 277 new HashMap<Integer, ArrayList<Pair<String, TvInputInfo>>>(); 291 list = new ArrayList<Pair<String, TvInputInfo>>(); 296 list.add(Pair.create(info.loadLabel(this).toString(), info)); 300 for (ArrayList<Pair<String, TvInputInfo>> list : externalInputs.values()) { 301 Collections.sort(list, new Comparator<Pair<String, TvInputInfo>>() { 303 public int compare(Pair<String, TvInputInfo> a, Pair<String, TvInputInfo> b) { 311 ArrayList<Pair<String, TvInputInfo>> list = externalInputs.get(state.getKey()) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
BaseLayoutRule.java | 78 import com.android.utils.Pair; 333 protected static Map<String, Pair<String, String>> getDropIdMap(INode targetNode, 335 Map<String, Pair<String, String>> idMap = new HashMap<String, Pair<String, String>>(); 353 protected static Map<String, Pair<String, String>> collectIds( 354 Map<String, Pair<String, String>> idMap, 361 idMap.put(id, Pair.of(id, element.getFqcn())); 374 protected static Map<String, Pair<String, String>> remapIds(INode node, 375 Map<String, Pair<String, String>> idMap) { 380 Map<String, Pair<String, String>> new_map = new HashMap<String, Pair<String, String>>() [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeContext.java | 34 import com.android.util.Pair; 275 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resid); 327 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); 350 public Pair<View, Boolean> inflateView(ResourceReference resource, ViewGroup parent, 363 return Pair.of( 401 return Pair.of( 426 return Pair.of(null, false); 591 List<Pair<String, Boolean>> attributeList = searchAttrs(attrs); 620 Pair<String, Boolean> defStyleAttribute = searchAttr(defStyleAttr); 650 Pair<ResourceType, String> value = Bridge.resolveResourceId(defStyleRes) [all...] |
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwQuotaManagerBridgeTest.java | 8 import android.util.Pair; 149 List<Pair<String, String>> manifestHeaders = new ArrayList<Pair<String, String>>(); 150 manifestHeaders.add(Pair.create("Content-Disposition", "text/cache-manifest"));
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
p5.cpp | 3 template<typename T, typename U> struct pair; 14 typedef pair<Types..., int> expand_with_pacs; // okay 15 typedef pair<Types, int...> expand_no_packs; // expected-error{{pack expansion does not contain any unexpanded parameter packs}} 16 typedef pair<pair<Types..., int>..., int> expand_with_expanded_nested; // expected-error{{pack expansion does not contain any unexpanded parameter packs}} 25 typedef tuple<pair<Types, OtherTypes>...> type; // expected-error{{pack expansion contains parameter packs 'Types' and 'OtherTypes' that have different lengths (3 vs. 2)}} 31 tuple<pair<int, unsigned int>, pair<long, unsigned long> >*il_pairs_2 = il_pairs; 114 typedef pair<Types, int> template_specialization; // expected-error{{declaration type contains unexpanded parameter pack 'Types'}} 372 template<typename T, typename U> struct pair; [all...] |
/external/javassist/src/main/javassist/compiler/ast/ |
Visitor.java | 27 public void atPair(Pair n) throws CompileError {}
|
/external/llvm/lib/Transforms/IPO/ |
GlobalDCE.cpp | 123 bool CanDiscard = std::all_of(I, UB, [](ComdatGVPairsTy::value_type Pair) { 124 return Pair.second->isDiscardableIfUnused(); 127 std::for_each(I, UB, [this](ComdatGVPairsTy::value_type Pair) { 128 GlobalIsNeeded(Pair.second);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
WifiManagerTest.java | 7 import android.util.Pair; 68 Pair<Integer, Boolean> lastEnabled = shadowWifiManager.getLastEnabledNetwork(); 69 assertThat(lastEnabled, equalTo(new Pair<Integer, Boolean>(666, true))); 74 assertThat(lastEnabled, equalTo(new Pair<Integer, Boolean>(777, false)));
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
LayoutLibTestCallback.java | 28 import com.android.util.Pair; 42 @SuppressWarnings("deprecation") // For Pair 48 private final Map<Integer, Pair<ResourceType, String>> mProjectResources = Maps.newHashMap(); 80 mProjectResources.put(value, Pair.of(resType, field.getName())); 140 public Pair<ResourceType, String> resolveResourceId(int id) {
|
/packages/apps/Camera2/src/com/android/camera/util/ |
CaptureDataSerializer.java | 25 import android.util.Pair; 160 } else if (object instanceof Pair) { 161 return toString((Pair<?, ?>) object); 235 private static String toString(Pair<?, ?> pair) { 236 return "Pair: " + metadataValueToString(pair.first) + " / " 237 + metadataValueToString(pair.second);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
SavedWallpaperImages.java | 30 import android.util.Pair; 121 private Pair<String, String> getImageFilenames(int id) { 137 return new Pair<String, String>(thumbFilename, imageFilename); 144 Pair<String, String> filenames = getImageFilenames(id);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
SenderInfoLoader.java | 34 import android.util.Pair; 125 Map<Long, Pair<String, ContactInfo>> photoIdMap = Maps.newHashMap(); 164 photoIdMap.put(photoId, Pair.create(email, result)); 214 Pair<String, ContactInfo> prev = photoIdMap.get(photoId);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/ |
AnimationContentAssist.java | 35 import com.android.utils.Pair; 150 List<Pair<String, String>> pairs = 151 new ArrayList<Pair<String, String>>(sorted.size()); 153 pairs.add(Pair.of(d.getXmlLocalName(), d.getAttributeInfo().getJavaDoc()));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
SampleSelectionPage.java | 22 import com.android.utils.Pair; 129 if (element instanceof Pair<?, ?>) { 130 Object name = ((Pair<?, ?>) element).getFirst(); 180 selectSample(((Pair<String, File>) roots[index]).getSecond());
|