Searched refs:Pair (Results 1 - 25 of 43) sorted by last modified time

12

/frameworks/wilhelm/src/ut/
H A DOpenSLESUT.c34 } 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 Dreverb.c36 } Pair; typedef in typeref:struct:__anon1703
40 Pair pairs[] = {
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java26 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 DRetryManager.java20 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 DGsmSmsCbMessage.java21 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 DELFDynamic.h59 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 DProfileActivity.java27 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 DBridgeResources.java30 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 DBridgeInflater.java29 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 DBridge.java37 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 DBridgeContext.java32 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 DRenderSessionImpl.java54 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 DBaseAdapter.java28 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 DDynamicIdMap.java20 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 DAppWidgetServiceImpl.java52 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 DClipboardService.java42 import android.util.Pair;
H A DInputMethodManagerService.java86 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 DActivityManagerService.java124 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 DUsbDeviceManager.java47 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 DKeyguardDisableHandler.java29 import android.util.Pair;
63 final Pair<IBinder, String> pair = (Pair<IBinder, String>)msg.obj;
H A DWindowManagerService.java109 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 DBeanBag.java47 import android.util.Pair;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettings.java68 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 DInputMethodsPanel.java32 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 DMediaArtistNativeHelper.java37 import android.util.Pair;
3530 final Pair<Integer, Integer>[] resolutions;
3531 final Pair<Integer, Integer> maxResolution;

Completed in 1370 milliseconds

12