Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 53) sorted by relevance

123

/development/tools/winscope/src/trace/
Dframe_map_builder.ts84 private setStartArrayValue(array: Array<number | undefined>, index: number, value: number) {
85 const currentValue = array[index];
87 array[index] = value;
89 array[index] = Math.min(currentValue, value);
93 private setEndArrayValue(array: Array<number | undefined>, index: number, value: number) {
94 const currentValue = array[index];
96 array[index] = value;
98 array[index] = Math.max(currentValue, value);
102 private finalizeStartArray(array: Array<number | undefined>) {
104 for (let i = array.length - 1; i >= 0; --i) {
[all …]
/development/vndk/tools/header-checker/tests/reference_dumps/arm64/
Dlibarray.so.lsdump10 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/base.h"
19 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/base.h"
28 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/base.h"
37 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/base.h"
45 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/base.h"
53 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/base.h"
61 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/base.h"
121 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/base.h"
133 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/base.h"
145 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/base.h"
[all …]
Dlibarray_diff.so.lsdump11 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
20 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
29 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
38 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
46 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
54 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
123 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
135 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
147 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
159 "source_file" : "development/vndk/tools/header-checker/tests/integration/array/include/diff.h"
[all …]
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
DSignatureSourcerTest.java77 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/
DCardService.java162 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/samples/ApiDemos/src/com/example/android/apis/graphics/
DVertices.java43 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()
DBitmapMesh.java46 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()
DBitmapDecode.java108 byte[] array = streamToBytes(is); in SampleView()
109 mMovie = Movie.decodeByteArray(array, 0, array.length); in SampleView()
DCreateBitmap.java64 byte[] array = os.toByteArray(); in codec()
65 return BitmapFactory.decodeByteArray(array, 0, array.length); in codec()
/development/tools/winscope/src/common/
Darray_utils.ts43 array: T[] | TypedArray,
46 for (let i = 0; i + subarray.length <= array.length; ++i) {
50 if (array[i + j] !== subarray[j]) {
Dtime_utils_test.ts37 const array = [ constant
44 array.sort(TimeUtils.compareFn);
53 expect(array).toEqual(expected);
/development/vndk/tools/header-checker/tests/integration/array/include/
Ddiff.h2 int array[]; member
Dbase.h2 int array[0]; member
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DGetRestrictionsReceiver.java64 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/apis/view/
DSpinner1.java46 this, R.array.colors, android.R.layout.simple_spinner_item); in onCreate()
62 adapter = ArrayAdapter.createFromResource(this, R.array.planets, in onCreate()
DSplitTouchView.java56 String[] responses = getResources().getStringArray(R.array.cheese_responses);
/development/vndk/tools/header-checker/src/dumper/
Dfixed_argv.h58 std::array<const char *, sizeof...(options)> opts{ in GetLastArg()
81 std::array<const char *, sizeof...(arguments)> args{ in PushForwardArgs()
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DEncodedStringValue.java271 public static EncodedStringValue[] encodeStrings(String[] array) { in encodeStrings() argument
272 int count = array.length; in encodeStrings()
276 encodedArray[i] = new EncodedStringValue(array[i]); in encodeStrings()
/development/tools/ota_analysis/src/services/
Dpayload.js68 async writeUint8Array(/** @type {Uint8Array} */ array) { argument
69 super.writeUint8Array(array)
70 this.blob = new Blob([this.blob, array.buffer], { type: this.contentType })
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnConnection.java207 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/
DScreenOrientation.java62 this, R.array.screen_orientations, android.R.layout.simple_spinner_item); in onCreate()
DAlertDialogSamples.java201 .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()
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DNavigationDrawerActivity.java83 mPlanetTitles = getResources().getStringArray(R.array.planets_array); in onCreate()
234 String planet = getResources().getStringArray(R.array.planets_array)[i]; in onCreateView()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleConfigActivity.java106 getResources().getStringArray(R.array.complication_simple_names); in getComplicationItems()
110 TypedArray icons = getResources().obtainTypedArray(R.array.complication_simple_icons); in getComplicationItems()
/development/tools/winscope/src/viewers/common/
Dproperties_tree_generator_test.ts143 array: ['array_value'],

123