Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 12 of 12) sorted by relevance

/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/
DMultiSwipeRefreshLayout.java47 public void setSwipeableChildren(final int... ids) { in setSwipeableChildren() argument
48 assert ids != null; in setSwipeableChildren()
51 mSwipeableChildren = new View[ids.length]; in setSwipeableChildren()
52 for (int i = 0; i < ids.length; i++) { in setSwipeableChildren()
53 mSwipeableChildren[i] = findViewById(ids[i]); in setSwipeableChildren()
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/
DAuthActivity.java69 Parcelable[] ids = myIntent.getParcelableArrayExtra(EXTRA_IDS); in onYes() local
76 fields.put(hints[i], (AutofillId) ids[i]); in onYes()
98 @NonNull String[] hints, @NonNull AutofillId[] ids, boolean authenticateDatasets, in newIntentSenderForResponse() argument
100 return newIntentSender(context, null, hints, ids, authenticateDatasets, inlineRequest); in newIntentSenderForResponse()
104 @Nullable Dataset dataset, @Nullable String[] hints, @Nullable AutofillId[] ids, in newIntentSender() argument
111 intent.putExtra(EXTRA_IDS, ids); in newIntentSender()
DInlineFillService.java86 AutofillId[] ids = new AutofillId[size]; in onFillRequest() local
89 ids[i] = fields.valueAt(i); in onFillRequest()
92 ids, mAuthenticateDatasets, inlineRequest.orElse(null)); in onFillRequest()
104 .setAuthentication(ids, authentication, fieldPresentationsBuilder.build()) in onFillRequest()
144 Collection<AutofillId> ids = fields.values(); in createResponse() local
145 AutofillId[] requiredIds = new AutofillId[ids.size()]; in createResponse()
146 ids.toArray(requiredIds); in createResponse()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DPhotosContentJob.java131 ArrayList<String> ids = new ArrayList<>(); in onStartJob() local
136 ids.add(path.get(path.size()-1)); in onStartJob()
143 if (ids.size() > 0) { in onStartJob()
147 for (int i=0; i<ids.size(); i++) { in onStartJob()
153 selection.append(ids.get(i)); in onStartJob()
/development/tools/winscope/src/viewers/viewer_window_manager/
Dpresenter.ts176 const ids: DisplayIdentifier[] = []; constant
180 ids.push({displayId: rect.id, groupId: rect.groupId, name: displayName});
182 return ids.sort((a, b) => {
/development/apps/NinePatchLab/src/com/android/ninepatch/
DNinePatchLab.java84 int[] ids = new int[] { in NPView() local
93 mButtons = new Drawable[ids.length]; in NPView()
98 for (int i = 0; i < ids.length; i++) { in NPView()
99 mButtons[i] = res.getDrawable(ids[i]); in NPView()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkViews.java269 StringBuilder ids = new StringBuilder(); in translateCommand() local
275 ids.append(result.getMessage()).append(" "); in translateCommand()
277 return new MonkeyCommandReturn(true, ids.toString()); in translateCommand()
475 String ids = node.getWindowId() + " " + viewId; in query() local
476 return new MonkeyCommandReturn(true, ids); in query()
516 StringBuilder ids = new StringBuilder(); in query() local
523 ids.append(result.getMessage()).append(" "); in query()
526 return new MonkeyCommandReturn(true, ids.toString()); in query()
/development/tools/winscope/src/viewers/viewer_surface_flinger/
Dpresenter.ts211 const ids: DisplayIdentifier[] = []; constant
216 ids.push({displayId, groupId: rect.groupId, name: rect.label});
223 if (!ids.find((identifier) => identifier.groupId === rect.groupId)) {
228 ids.push({displayId: -1, groupId: rect.groupId, name});
232 return ids.sort((a, b) => {
/development/tools/winscope/src/viewers/viewer_transactions/
Dpresenter.ts158 onLayerIdFilterChanged(ids: string[]) {
159 this.layerIdFilter = ids;
170 onTransactionIdFilterChanged(ids: string[]) {
171 this.transactionIdFilter = ids;
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCubeMapActivity.java136 int[] ids = new int[1]; in generateCubeMap() local
137 gl.glGenTextures(1, ids, 0); in generateCubeMap()
138 int cubeMapTextureId = ids[0]; in generateCubeMap()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameControllerInput.java99 int[] ids = mInputManager.getInputDeviceIds(); in onResume() local
100 for (int i = 0; i < ids.length; i++) { in onResume()
101 getInputDeviceState(ids[i]); in onResume()
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java355 int[] ids = {R.id.radio0, R.id.radio1, R.id.radio2}; in createThumbnail() local
366 ThumbnailRadioButton button = (ThumbnailRadioButton) findViewById(ids[mode]); in createThumbnail()