Home
last modified time | relevance | path

Searched refs:arr (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/exif/
DExifTag.java482 Short[] arr = (Short[]) obj; in setValue() local
483 int[] fin = new int[arr.length]; in setValue()
484 for (int i = 0; i < arr.length; i++) { in setValue()
485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; in setValue()
490 Integer[] arr = (Integer[]) obj; in setValue() local
491 int[] fin = new int[arr.length]; in setValue()
492 for (int i = 0; i < arr.length; i++) { in setValue()
493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue(); in setValue()
498 Long[] arr = (Long[]) obj; in setValue() local
499 long[] fin = new long[arr.length]; in setValue()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifTag.java482 Short[] arr = (Short[]) obj; in setValue() local
483 int[] fin = new int[arr.length]; in setValue()
484 for (int i = 0; i < arr.length; i++) { in setValue()
485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; in setValue()
490 Integer[] arr = (Integer[]) obj; in setValue() local
491 int[] fin = new int[arr.length]; in setValue()
492 for (int i = 0; i < arr.length; i++) { in setValue()
493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue(); in setValue()
498 Long[] arr = (Long[]) obj; in setValue() local
499 long[] fin = new long[arr.length]; in setValue()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifTag.java482 Short[] arr = (Short[]) obj; in setValue() local
483 int[] fin = new int[arr.length]; in setValue()
484 for (int i = 0; i < arr.length; i++) { in setValue()
485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; in setValue()
490 Integer[] arr = (Integer[]) obj; in setValue() local
491 int[] fin = new int[arr.length]; in setValue()
492 for (int i = 0; i < arr.length; i++) { in setValue()
493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue(); in setValue()
498 Long[] arr = (Long[]) obj; in setValue() local
499 long[] fin = new long[arr.length]; in setValue()
[all …]
/packages/apps/Nfc/tests/src/com/android/nfc/
DMockLlcpSocket.java65 byte[] arr = mReceivedPackets.remove(0); in receive()
66 System.arraycopy(arr, 0, receiveBuffer, 0, arr.length); in receive()
67 return arr.length; in receive()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DMessageHeaderViewTest.java60 String[] arr = new String[len]; in makeRecipientArray() local
61 for (int i=0; i < arr.length; i++) { in makeRecipientArray()
62 arr[i] = String.format("\"%s%02d\" <foo@bar.com>", prefix, i); in makeRecipientArray()
64 return arr; in makeRecipientArray()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DIntArray.java144 IntArray arr = (IntArray) obj; in equals() local
145 if (mSize == arr.mSize) { in equals()
147 if (arr.mValues[i] != mValues[i]) { in equals()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimDialogActivity.java239 String[] arr = list.toArray(new String[0]); in createDialog() local
247 arr, id); in createDialog()
286 Context context, int resource, String[] arr, int dialogId) { in SelectAccountListAdapter() argument
287 super(context, resource, arr); in SelectAccountListAdapter()
DSimPreferenceDialog.java198 Context context, int resource, String[] arr) { in SelectColorAdapter() argument
199 super(context, resource, arr); in SelectColorAdapter()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenModeAutomaticRulesPreferenceControllerTest.java151 Map.Entry<String, AutomaticZenRule>[] arr = new Map.Entry[numRules]; in mockGetAutomaticZenRules() local
152 rules.entrySet().toArray(arr); in mockGetAutomaticZenRules()
153 when(mBackend.getAutomaticZenRules()).thenReturn(arr); in mockGetAutomaticZenRules()
/packages/apps/Email/provider_src/com/android/email/
DPreferences.java238 JSONArray arr = new JSONArray(serialized); in parseEmailSet() local
239 for (int i = 0, len = arr.length(); i < len; i++) { in parseEmailSet()
240 result.add((String) arr.get(i)); in parseEmailSet()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifTag.java377 int[] arr = new int[val.length]; in getValueAsInts() local
379 arr[i] = (int) val[i]; // Truncates in getValueAsInts()
381 return arr; in getValueAsInts()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java418 int[] arr = new int[len]; in toIntArray() local
420 arr[i] = input[i]; in toIntArray()
422 return arr; in toIntArray()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DMailAppProvider.java407 final JSONArray arr = new JSONArray(); in cacheAccountList() local
409 arr.put(accountEntry.toJSONObject()); in cacheAccountList()
413 editor.putString(ACCOUNT_LIST_KEY, arr.toString()); in cacheAccountList()
DAttachment.java652 final JSONArray arr = new JSONArray(jsonArrayStr); in fromJSONArray() local
654 for (int i = 0; i < arr.length(); i++) { in fromJSONArray()
655 results.add(new Attachment(arr.getJSONObject(i))); in fromJSONArray()
/packages/apps/Settings/src/com/android/settings/sim/
DSimPreferenceDialog.java198 Context context, int resource, String[] arr) { in SelectColorAdapter() argument
199 super(context, resource, arr); in SelectColorAdapter()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapMessage.java742 private ArrayList<Byte> primitiveArrayToContainerArrayList(byte[] arr) { in primitiveArrayToContainerArrayList() argument
743 ArrayList<Byte> arrayList = new ArrayList<>(arr.length); in primitiveArrayToContainerArrayList()
744 for (byte b : arr) { in primitiveArrayToContainerArrayList()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java1968 private static byte[] concatArrays(final byte[]... arr) { in concatArrays() argument
1970 for (byte[] a : arr) { in concatArrays()
1975 for (byte[] a : arr) { in concatArrays()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java290 private int sumWidth(int[] arr) { in sumWidth() argument
292 for (int i : arr) { in sumWidth()
295 return sum + (arr.length - 1) * mFolderDrawableResources.folderInBetweenPadding; in sumWidth()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java925 final CertHolder[] arr = unapprovedCertHolders.toArray( in showTrustAllCaDialog() local
928 .setCertHolders(arr) in showTrustAllCaDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTrustedCredentialsSettings.java925 final CertHolder[] arr = unapprovedCertHolders.toArray( in showTrustAllCaDialog() local
928 .setCertHolders(arr) in showTrustAllCaDialog()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1089 String[] arr = map.split("\\|"); in buildGenreMap() local
1090 if (arr.length != 2) { in buildGenreMap()
1093 sGenreMap.put(arr[0].toUpperCase(), arr[1]); in buildGenreMap()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...

12