/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
SdkSelectionPage.java | 33 import com.android.utils.Pair; 242 Collections.sort(mValues.samples, new Comparator<Pair<String, File>>() { 244 public int compare(Pair<String, File> o1, Pair<String, File> o2) { 277 * pair is (String: sample display name => File: sample directory). 284 List<Pair<String, File>> samplesPaths) { 311 List<Pair<String, File>> samplesPaths) { 336 samplesPaths.add(Pair.of(name, sampleDir));
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwContentsTest.java | 16 import android.util.Pair; 261 List<Pair<String, String>> headers = new ArrayList<Pair<String, String>>(); 263 headers.add(Pair.create("Cache-Control", "max-age=3153600000")); 264 headers.add(Pair.create("Last-Modified", "Wed, 3 Oct 2012 00:00:00 GMT")); 374 List<Pair<String, String>> downloadHeaders = new ArrayList<Pair<String, String>>(); 375 downloadHeaders.add(Pair.create("Content-Disposition", contentDisposition)); 376 downloadHeaders.add(Pair.create("Content-Type", mimeType)); 377 downloadHeaders.add(Pair.create("Content-Length", Integer.toString(data.length()))) [all...] |
CookieManagerTest.java | 9 import android.util.Pair; 83 List<Pair<String, String>> responseHeaders = new ArrayList<Pair<String, String>>(); 85 Pair.create("Set-Cookie", "header-test1=header-value1; path=" + path)); 101 responseHeaders = new ArrayList<Pair<String, String>>(); 103 Pair.create("Set-Cookie", "header-test2=header-value2 path=" + path)); 418 List<Pair<String, String>> responseHeaders = new ArrayList<Pair<String, String>>(); 420 Pair.create("Set-Cookie", key + "=" + value + "; path=" + path));
|
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/ |
Antlr.Runtime.Tools.Tests.pas | 537 Pair: TPair<String, Integer>; 545 for Pair in FIDictionary do 547 if (Pair.Key = 'Foo') then 550 CheckEquals(Pair.Value, 1); 553 if (Pair.Key = 'Bar') then 556 CheckEquals(Pair.Value, 3); 559 if (Pair.Key = 'Baz') then 562 CheckEquals(Pair.Value, 7); 565 if (Pair.Key = 'Zip') then 568 CheckEquals(Pair.Value, 7) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSPrimitiveValue.h | 42 class Pair; 317 Pair* getPairValue(ExceptionState&) const; 318 Pair* getPairValue() const { return m_primitiveUnitType != CSS_PAIR ? 0 : m_value.pair; } 380 void init(PassRefPtrWillBeRawPtr<Pair>); 399 Pair* pair; member in union:blink::CSSPrimitiveValue::__anon15637
|
BasicShapeFunctions.cpp | 36 #include "core/css/Pair.h" 50 return pool.createValue(Pair::create(pool.createIdentifierValue(keyword), pool.createValue(center.length(), style), Pair::DropIdenticalValues)); 143 Pair* pair = value->getPairValue(); 144 return LengthSize(convertToLength(state, pair->first()), convertToLength(state, pair->second())); 157 } else if (Pair* pair = value->getPairValue()) { 158 keyword = pair->first()->getValueID() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
BaseViewRule.java | 53 import com.android.utils.Pair; 370 List<Pair<String, String>> widthChoices = new ArrayList<Pair<String,String>>(4); 371 widthChoices.add(Pair.of(VALUE_WRAP_CONTENT, "Wrap Content")); 373 widthChoices.add(Pair.of(VALUE_MATCH_PARENT, "Match Parent")); 375 widthChoices.add(Pair.of(VALUE_FILL_PARENT, "Fill Parent")); 378 widthChoices.add(Pair.of(width, width)); 380 widthChoices.add(Pair.of(ZCUSTOM, "Other...")); 391 List<Pair<String, String>> heightChoices = new ArrayList<Pair<String,String>>(4) [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
StaticMetadataTest.java | 30 import android.util.Pair; 246 List<Pair<String, Boolean>> additionalRequirements = new ArrayList<>(); 327 additionalRequirements.add(new Pair<String, Boolean>( 329 additionalRequirements.add(new Pair<String, Boolean>( 372 for (Pair<String, Boolean> p : additionalRequirements) { 396 for (Pair<String, Boolean> p : additionalRequirements) {
|
/frameworks/base/core/java/android/hardware/camera2/ |
CaptureResult.java | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
AdapterProperties.java | 27 import android.util.Pair; 51 private HashMap<Integer, Pair<Integer, Integer>> mProfileConnectionState; 80 mProfileConnectionState = new HashMap<Integer, Pair<Integer, Integer>>(); 328 Pair<Integer, Integer> p = mProfileConnectionState.get(profile); 434 // <Integer, Pair<Integer, Integer>> 435 // The key is the profile, the value is a pair. first element 452 Pair<Integer, Integer> stateNumDev = mProfileConnectionState.get(profile); 478 mProfileConnectionState.put(profile, new Pair<Integer, Integer>(newHashState,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
NewXmlFileWizard.java | 37 import com.android.utils.Pair; 136 final Pair<IFile, IRegion> created = createXmlFile(); 169 private Pair<IFile, IRegion> createXmlFile() { 193 private static Pair<IFile, IRegion> createXmlFile(IFile file, String xmlns, 288 return Pair.of(file, region); 321 public static Pair<IFile, IRegion> createXmlFile(IProject project, IFile file,
|
/external/llvm/include/llvm/Analysis/ |
ScalarEvolution.h | 258 /// temporary pair of exact and max expressions that are eventually 328 SmallVectorImpl< std::pair<BasicBlock *, const SCEV *> > &ExitCounts, 376 SmallVector<std::pair<const Loop *, const SCEV *>, 2> > ValuesAtScopes; 380 SmallVector<std::pair<const Loop *, LoopDisposition>, 2> > LoopDispositions; 387 SmallVector<std::pair<const BasicBlock *, BlockDisposition>, 2> > BlockDispositions; 401 std::pair<DenseMap<const SCEV *, ConstantRange>::iterator, bool> Pair = 403 if (!Pair.second) 404 Pair.first->second = CR; 405 return Pair.first->second [all...] |
/frameworks/base/core/java/android/net/ |
LinkAddress.java | 21 import android.util.Pair; 187 Pair<InetAddress, Integer> ipAndMask = NetworkUtils.parseIpAndMask(address);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
Partner.java | 23 import android.util.Pair; 64 Pair<String, Resources> apkInfo = Utilities.findSystemApk(ACTION_PARTNER_CUSTOMIZATION, pm);
|
/prebuilts/misc/common/ninepatch/ |
ninepatch-prebuilt.jar | |
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
InterfacesTest.java | 21 import org.chromium.mojo.system.Pair; 220 Pair<MessagePipeHandle, MessagePipeHandle> handles = 231 Pair<MessagePipeHandle, MessagePipeHandle> handles = 304 Pair<NamedObject.Proxy, InterfaceRequest<NamedObject>> request =
|
RouterTest.java | 16 import org.chromium.mojo.system.Pair; 41 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(null); 114 Pair<Message, MessageReceiver> receivedMessage =
|
/external/skia/src/core/ |
SkRecordOpts.cpp | 268 Pair pair = { fIndex, push }; local 269 fPushStack.push(pair); 273 Pair push = fPushStack.top(); 291 struct Pair { 296 SkTDArray<Pair> fPushStack;
|
/frameworks/base/media/java/android/media/ |
Utils.java | 20 import android.util.Pair; 289 static Pair<Size, Size> parseSizeRange(Object o) { 294 return Pair.create( 299 return Pair.create(value, value);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
EmojiCategory.java | 25 import android.util.Pair; 247 // Returns a pair of the category id and the category page id from the view pager's page 251 public Pair<Integer, Integer> getCategoryIdAndPageIdFromPagePosition(final int position) { 257 return new Pair<>(properties.mCategoryId, position - temp); 265 final Pair<Integer, Integer> categoryAndId =
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizard.java | 23 import com.android.utils.Pair; 271 } else if (element instanceof Pair<?, ?>) { 272 // Pair of Project/String 274 Pair<IProject, String> pair = (Pair<IProject, String>) element; local 275 return pair.getFirst();
|
/external/chromium_org/cc/resources/ |
eviction_tile_priority_queue.cc | 88 const std::vector<PictureLayerImpl::Pair>& paired_layers, 92 for (std::vector<PictureLayerImpl::Pair>::const_iterator it = 129 const PictureLayerImpl::Pair& layer_pair,
|
raster_tile_priority_queue.cc | 103 const std::vector<PictureLayerImpl::Pair>& paired_layers, 106 for (std::vector<PictureLayerImpl::Pair>::const_iterator it = 142 const PictureLayerImpl::Pair& layer_pair,
|
/external/llvm/lib/Target/X86/ |
X86AtomicExpandPass.cpp | 226 // %pair = cmpxchg iN* %addr, iN %loaded, iN %new 227 // %new_loaded = extractvalue { iN, i1 } %pair, 0 228 // %success = extractvalue { iN, i1 } %pair, 1 255 Value *Pair = Builder.CreateAtomicCmpXchg( 258 Value *NewLoaded = Builder.CreateExtractValue(Pair, 0, "newloaded"); 261 Value *Success = Builder.CreateExtractValue(Pair, 1, "success");
|
/external/llvm/lib/Transforms/ObjCARC/ |
DependencyAnalysis.cpp | 214 SmallVector<std::pair<BasicBlock *, BasicBlock::iterator>, 4> Worklist; 217 std::pair<BasicBlock *, BasicBlock::iterator> Pair = 219 BasicBlock *LocalStartBB = Pair.first; 220 BasicBlock::iterator LocalStartPos = Pair.second;
|