/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
D | SignatureSourcerTest.java | 77 String[] array = toStringArray(params); in testSimpleArg() local 81 array); in testSimpleArg() 130 String[] array = toStringArray(params); in testManyArgs() local 136 array); in testManyArgs() 140 String[] array = new String[params.size()]; in toStringArray() local 142 array[i] = params.get(i).toString(); in toStringArray() 144 return array; in toStringArray()
|
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
D | CardService.java | 162 for (byte[] array : rest) { in ConcatArrays() 163 totalLength += array.length; in ConcatArrays() 167 for (byte[] array : rest) { in ConcatArrays() 168 System.arraycopy(array, 0, result, offset, array.length); in ConcatArrays() 169 offset += array.length; in ConcatArrays()
|
/development/tools/winscope/src/ |
D | decodeVideo.js | 20 function findFirstInArray(array, pattern) { argument 21 for (var i = 0; i < array.length; i++) { 24 if (array[i + j] != pattern[j]) {
|
D | decode.js | 264 function arrayStartsWith(array, prefix) { argument 265 return arrayEquals(array.slice(0, prefix.length), prefix);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | Vertices.java | 43 private static void setXY(float[] array, int index, float x, float y) { in setXY() argument 44 array[index*2 + 0] = x; in setXY() 45 array[index*2 + 1] = y; in setXY()
|
D | BitmapMesh.java | 46 private static void setXY(float[] array, int index, float x, float y) { in setXY() argument 47 array[index*2 + 0] = x; in setXY() 48 array[index*2 + 1] = y; in setXY()
|
D | CreateBitmap.java | 64 byte[] array = os.toByteArray(); in codec() 65 return BitmapFactory.decodeByteArray(array, 0, array.length); in codec()
|
D | BitmapDecode.java | 108 byte[] array = streamToBytes(is); in SampleView() 109 mMovie = Movie.decodeByteArray(array, 0, array.length); in SampleView()
|
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/ |
D | GetRestrictionsReceiver.java | 64 String[] choiceEntries = res.getStringArray(R.array.choice_entry_entries); in populateChoiceEntry() 65 String[] choiceValues = res.getStringArray(R.array.choice_entry_values); in populateChoiceEntry() 77 String[] multiEntries = res.getStringArray(R.array.multi_entry_entries); in populateMultiEntry() 78 String[] multiValues = res.getStringArray(R.array.multi_entry_values); in populateMultiEntry()
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | EncodedStringValue.java | 272 public static EncodedStringValue[] encodeStrings(String[] array) { in encodeStrings() argument 273 int count = array.length; in encodeStrings() 277 encodedArray[i] = new EncodedStringValue(array[i]); in encodeStrings()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | Spinner1.java | 46 this, R.array.colors, android.R.layout.simple_spinner_item); in onCreate() 62 adapter = ArrayAdapter.createFromResource(this, R.array.planets, in onCreate()
|
D | SplitTouchView.java | 56 String[] responses = getResources().getStringArray(R.array.cheese_responses);
|
/development/vndk/tools/header-checker/src/dumper/ |
D | fixed_argv.h | 58 std::array<const char *, sizeof...(options)> opts{ in GetLastArg() 81 std::array<const char *, sizeof...(arguments)> args{ in PushForwardArgs()
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnConnection.java | 207 int length = in.read(packet.array()); in run() 225 out.write(packet.array(), 0, length); in run() 300 return configure(new String(packet.array(), 1, length - 1, US_ASCII).trim()); in handshake()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | AlertDialogSamples.java | 201 .setItems(R.array.select_dialog_items, new DialogInterface.OnClickListener() { in onCreateDialog() 205 String[] items = getResources().getStringArray(R.array.select_dialog_items); in onCreateDialog() 240 … .setSingleChoiceItems(R.array.select_dialog_items2, 0, new DialogInterface.OnClickListener() { in onCreateDialog() 262 .setMultiChoiceItems(R.array.select_dialog_items3, in onCreateDialog()
|
D | PrintCustomContent.java | 490 String[] years = getResources().getStringArray(R.array.motogp_years); in loadMotoGpStats() 491 String[] champions = getResources().getStringArray(R.array.motogp_champions); in loadMotoGpStats() 492 String[] constructors = getResources().getStringArray(R.array.motogp_constructors); in loadMotoGpStats()
|
D | ScreenOrientation.java | 62 this, R.array.screen_orientations, android.R.layout.simple_spinner_item); in onCreate()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | ComplicationSimpleConfigActivity.java | 106 getResources().getStringArray(R.array.complication_simple_names); in getComplicationItems() 110 TypedArray icons = getResources().obtainTypedArray(R.array.complication_simple_icons); in getComplicationItems()
|
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/ |
D | NavigationDrawerActivity.java | 83 mPlanetTitles = getResources().getStringArray(R.array.planets_array); in onCreate() 234 String planet = getResources().getStringArray(R.array.planets_array)[i]; in onCreateView()
|
/development/samples/training/NavigationDrawer/src/com/example/android/navigationdrawerexample/ |
D | MainActivity.java | 85 mPlanetTitles = getResources().getStringArray(R.array.planets_array); in onCreate() 231 String planet = getResources().getStringArray(R.array.planets_array)[i]; in onCreateView()
|
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/ |
D | AppUsageStatisticsFragment.java | 101 R.array.action_list, android.R.layout.simple_spinner_dropdown_item); in onViewCreated() 105 String[] strings = getResources().getStringArray(R.array.action_list); in onViewCreated()
|
/development/samples/Vault/src/com/example/android/vault/ |
D | VaultProvider.java | 585 private static boolean maybeRemove(JSONArray array, long value) throws JSONException { in maybeRemove() argument 588 while (i < array.length()) { in maybeRemove() 589 if (value == array.getLong(i)) { in maybeRemove() 590 array.remove(i); in maybeRemove()
|
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/ |
D | PolicySetupActivity.java | 124 R.array.password_types, android.R.layout.simple_spinner_item); in initPolicySetupScreen() 169 getResources().getStringArray(R.array.password_types)[passwordQualitySelection]); in initViewPolicyScreen()
|
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/ |
D | MyCloudProvider.java | 556 int[] imageResIds = getResourceIdArray(R.array.image_res_ids); 561 int[] textResIds = getResourceIdArray(R.array.text_res_ids); 566 int[] docxResIds = getResourceIdArray(R.array.docx_res_ids);
|
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/ |
D | AddFileActivity.java | 180 ArrayAdapter.createFromResource(this, R.array.file_size_array, in initFileSizeSpinner() 205 ArrayAdapter.createFromResource(this, R.array.file_storage_array, in initFileStorageSpinner()
|