/frameworks/wilhelm/src/ut/ |
H A D | OpenSLESUT.c | 34 } Pair; typedef in typeref:struct:__anon1689 43 static Pair pairs[] = { 105 Pair *p; 106 const Pair *end = &pairs[sizeof(pairs)/sizeof(pairs[0])];
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | reverb.c | 36 } Pair; typedef in typeref:struct:__anon1703 40 Pair pairs[] = {
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 26 import android.util.Pair; 2010 final static class Assoc<K, V> extends ArrayList<Pair<K, V>> { 2024 add(Pair.create(key, value));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RetryManager.java | 20 import android.util.Pair; 140 Pair<Boolean, Integer> value; 191 Pair<Boolean, Integer> value; 359 * @return Pair.first == true if stringValue an integer >= 0 361 private Pair<Boolean, Integer> parseNonNegativeInt(String name, String stringValue) { 363 Pair<Boolean, Integer> retVal; 366 retVal = new Pair<Boolean, Integer>(validateNonNegativeInt(name, value), value); 369 retVal = new Pair<Boolean, Integer>(false, 0); 381 * @return Pair.first
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmSmsCbMessage.java | 21 import android.util.Pair; 74 Pair<String, String> p = parseBody(header, pdu); 108 * @return a Pair of Strings containing the language and body of the message 110 private static Pair<String, String> parseBody(SmsCbHeader header, byte[] pdu) { 207 Pair<String, String> p = unpackBody(pdu, encoding, offset, length, 212 return new Pair<String, String>(language, sb.toString()); 234 * @return a Pair of Strings containing the language and body of the message 236 private static Pair<String, String> unpackBody(byte[] pdu, int encoding, int offset, int length, 285 return new Pair<String, String>(language, body);
|
/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | ELFDynamic.h | 59 typedef llvm::ELF::Elf32_Dyn Pair; typedef in class:mcld::elf_dynamic::Entry 73 { return sizeof(Pair); } 89 Pair m_Pair;
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | ProfileActivity.java | 27 import android.util.Pair; 181 AsyncTask<Pair<String, RunData>, Void, Void> { 184 protected Void doInBackground(Pair<String, RunData>... params) { 253 new StoreFileTask().execute(new Pair<String, RunData>(
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeResources.java | 30 import com.android.util.Pair; 127 private Pair<String, ResourceValue> getResourceValue(int id, boolean[] platformResFlag_out) { 129 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); 135 return Pair.of(attributeName, mContext.getRenderResources().getFrameworkResource( 147 return Pair.of(attributeName, mContext.getRenderResources().getProjectResource( 157 Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFlag); 172 Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFlag); 193 Pair<String, ResourceValue> resValue = getResourceValue(id, mPlatformResourceFlag); 212 Pair<String, ResourceValue> value = getResourceValue(id, mPlatformResourceFlag); 235 Pair<Strin [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | BridgeInflater.java | 29 import com.android.util.Pair; 162 Pair<ResourceType, String> layoutInfo = Bridge.resolveResourceId(resource);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | Bridge.java | 37 import com.android.util.Pair; 84 private final static Map<Integer, Pair<ResourceType, String>> sRMap = 85 new HashMap<Integer, Pair<ResourceType, String>>(); 283 sRMap.put(value, Pair.of(resType, f.getName())); 466 * @return a Pair containing the resource type and name, or null if the id 469 public static Pair<ResourceType, String> resolveResourceId(int value) { 470 Pair<ResourceType, String> pair = sRMap.get(value);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 32 import com.android.util.Pair; 251 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(resid); 299 Pair<ResourceType, String> resourceInfo = Bridge.resolveResourceId(id); 317 public Pair<View, Boolean> inflateView(ResourceReference resource, ViewGroup parent, 330 return Pair.of( 368 return Pair.of( 393 return Pair.of(null, false); 536 List<Pair<String, Boolean>> attributeList = searchAttrs(attrs); 565 Pair<String, Boolean> defStyleAttribute = searchAttr(defStyleAttr); 596 Pair<ResourceTyp [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 54 import com.android.util.Pair; 476 Pair<Integer, Integer> exactMeasure = measureView( 483 Pair<Integer, Integer> result = measureView( 592 * if <var>measuredView</var> is non null, the method returns a {@link Pair} of (width, height) 603 private Pair<Integer, Integer> measureView(ViewGroup viewToMeasure, View measuredView, 610 return Pair.of(measuredView.getMeasuredWidth(), measuredView.getMeasuredHeight()); 1234 Pair<View, Boolean> pair = context.inflateView( 1246 Pair<View, Boolean> pair = context.inflateView( 1346 Pair<ResourceType, String> resource = projectCallback.resolveResourceId(id);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
H A D | BaseAdapter.java | 28 import com.android.util.Pair; 148 Pair<View, Boolean> pair = context.inflateView(dataBindingItem.getViewReference(),
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | DynamicIdMap.java | 20 import com.android.util.Pair; 29 private final Map<Pair<ResourceType, String>, Integer> mDynamicIds = new HashMap<Pair<ResourceType, String>, Integer>(); 30 private final SparseArray<Pair<ResourceType, String>> mRevDynamicIds = new SparseArray<Pair<ResourceType, String>>(); 52 return getId(Pair.of(type, name)); 62 public Integer getId(Pair<ResourceType, String> resource) { 73 public Pair<ResourceType, String> resolveId(int id) {
|
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetServiceImpl.java | 52 import android.util.Pair; 134 ServiceConnectionProxy(Pair<Integer, Intent.FilterComparison> key, IBinder connectionCb) { 164 private final HashMap<Pair<Integer, FilterComparison>, ServiceConnection> mBoundRemoteViewsServices = new HashMap<Pair<Integer, FilterComparison>, ServiceConnection>(); 687 Pair<Integer, FilterComparison> key = Pair.create(appWidgetId, fc); 720 Pair<Integer, FilterComparison> key = Pair.create(appWidgetId, new FilterComparison( 746 Iterator<Pair<Integer, Intent.FilterComparison>> it = mBoundRemoteViewsServices.keySet() 749 final Pair<Intege [all...] |
H A D | ClipboardService.java | 42 import android.util.Pair;
|
H A D | InputMethodManagerService.java | 86 import android.util.Pair; 2021 final Pair<String, String> lastIme = mSettings.getLastInputMethodAndSubtypeLocked(); 2107 final Pair<String, String> lastIme = mSettings.getLastInputMethodAndSubtypeLocked(); 2838 List<Pair<String, ArrayList<String>>> enabledInputMethodsList = mSettings 2842 for (Pair<String, ArrayList<String>> pair: enabledInputMethodsList) { 3095 private Pair<InputMethodInfo, InputMethodSubtype> 3167 return new Pair<InputMethodInfo, InputMethodSubtype> (mostApplicableIMI, 3249 Pair<InputMethodInfo, InputMethodSubtype> info = 3429 StringBuilder builder, Pair<String, ArrayList<String>> pair) { 3465 public List<Pair<InputMethodInf [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 124 import android.util.Pair; 10014 ArrayList<Pair<ProcessRecord, Integer>> list 10015 = new ArrayList<Pair<ProcessRecord, Integer>>(origList.size()); 10021 list.add(new Pair<ProcessRecord, Integer>(origList.get(i), i)); 10028 Comparator<Pair<ProcessRecord, Integer>> comparator 10029 = new Comparator<Pair<ProcessRecord, Integer>>() { 10031 public int compare(Pair<ProcessRecord, Integer> object1, 10032 Pair<ProcessRecord, Integer> object2) {
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 47 import android.util.Pair; 115 private Map<String, List<Pair<String, String>>> mOemModeMap; 813 mOemModeMap = new HashMap<String, List<Pair<String, String>>>(); 817 overrideList = new LinkedList<Pair<String, String>>(); 820 overrideList.add(new Pair<String, String>(items[1], items[2])); 838 List<Pair<String, String>> overrides = mOemModeMap.get(bootMode); 840 for (Pair<String, String> pair: overrides) {
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | KeyguardDisableHandler.java | 29 import android.util.Pair; 63 final Pair<IBinder, String> pair = (Pair<IBinder, String>)msg.obj;
|
H A D | WindowManagerService.java | 109 import android.util.Pair; 418 ArrayList<Pair<WindowState, IRemoteCallback>> mWaitingForDrawn 419 = new ArrayList<Pair<WindowState, IRemoteCallback>>(); 2537 new Pair<WindowStateAnimator, Region>(winAnimator, region))); 5249 KeyguardDisableHandler.KEYGUARD_DISABLE, new Pair<IBinder, String>(token, tag))); 7695 Pair<WindowState, IRemoteCallback> pair; 7697 pair = (Pair<WindowState, IRemoteCallback>)msg.obj; 7728 Pair<WindowStateAnimator, Region> pair = 7729 (Pair<WindowStateAnimator, Region>) msg.obj; 9589 Pair<WindowStat [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BeanBag.java | 47 import android.util.Pair;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QuickSettings.java | 68 import android.util.Pair; 105 private AsyncTask<Void, Void, Pair<String, Drawable>> mUserInfoTask; 208 mUserInfoTask = new AsyncTask<Void, Void, Pair<String, Drawable>>() { 210 protected Pair<String, Drawable> doInBackground(Void... params) { 242 return new Pair<String, Drawable>(name, avatar); 246 protected void onPostExecute(Pair<String, Drawable> result) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | InputMethodsPanel.java | 32 import android.util.Pair; 65 private final HashMap<View, Pair<InputMethodInfo, InputMethodSubtype>> mRadioViewAndImiMap = 66 new HashMap<View, Pair<InputMethodInfo, InputMethodSubtype>>(); 264 subtypeView, new Pair<InputMethodInfo, InputMethodSubtype> (imi, subtype)); 268 Pair<InputMethodInfo, InputMethodSubtype> imiAndSubtype = 339 private Pair<InputMethodInfo, InputMethodSubtype> updateRadioButtonsByView(View selectedView) { 340 Pair<InputMethodInfo, InputMethodSubtype> selectedImiAndSubtype = null; 350 Pair<InputMethodInfo, InputMethodSubtype> imiAndSubtype = 381 Pair<InputMethodInfo, InputMethodSubtype> imiAndSubtype =
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | MediaArtistNativeHelper.java | 37 import android.util.Pair; 3530 final Pair<Integer, Integer>[] resolutions; 3531 final Pair<Integer, Integer> maxResolution;
|