Home
last modified time | relevance | path

Searched refs:structure (Results 1 – 25 of 82) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DViewNodeTest.java51 ViewStructureImpl structure = new ViewStructureImpl(view); in testUnsupportedProperties() local
52 ViewNode node = structure.getNode(); in testUnsupportedProperties()
54 structure.setChildCount(1); in testUnsupportedProperties()
57 structure.addChildCount(1); in testUnsupportedProperties()
60 assertThat(structure.newChild(0)).isNull(); in testUnsupportedProperties()
63 assertThat(structure.asyncNewChild(0)).isNull(); in testUnsupportedProperties()
66 structure.asyncCommit(); in testUnsupportedProperties()
69 structure.setWebDomain("Y U NO SET?"); in testUnsupportedProperties()
72 assertThat(structure.newHtmlInfoBuilder("WHATEVER")).isNull(); in testUnsupportedProperties()
74 structure.setHtmlInfo(mHtmlInfoMock); in testUnsupportedProperties()
[all …]
DContentCaptureSessionTest.java87 final ViewStructure structure = mSession1.newViewStructure(mMockView); in testNewViewStructure() local
88 assertThat(structure).isNotNull(); in testNewViewStructure()
89 assertThat(structure.getAutofillId()).isEqualTo(mMockView.getAutofillId()); in testNewViewStructure()
95 final ViewStructure structure = mSession1.newVirtualViewStructure(parentId, 108L); in testNewVirtualViewStructure() local
96 assertThat(structure).isNotNull(); in testNewVirtualViewStructure()
98 assertThat(structure.getAutofillId()).isEqualTo(childId); in testNewVirtualViewStructure()
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java104 AssistStructure structure = new AssistStructure(mActivity, FOR_AUTOFILL, NO_FLAGS); in testParcelizationForAutofill_oneSmallView() local
107 assertStructureWithManySmallViews(structure, 1); in testParcelizationForAutofill_oneSmallView()
110 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_oneSmallView()
124 AssistStructure structure = new AssistStructure(mActivity, FOR_AUTOFILL, NO_FLAGS); in testParcelizationForAutofill_manySmallViews() local
127 assertStructureWithManySmallViews(structure, NUMBER_SMALL_VIEWS); in testParcelizationForAutofill_manySmallViews()
130 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_manySmallViews()
134 private void assertStructureWithManySmallViews(AssistStructure structure, int expectedSize) { in assertStructureWithManySmallViews() argument
137 assertThat(structure.getWindowNodeCount()).isEqualTo(1); in assertStructureWithManySmallViews()
139 ViewNode rootView = structure.getWindowNodeAt(0).getRootViewNode(); in assertStructureWithManySmallViews()
166 structure.dump(true); in assertStructureWithManySmallViews()
[all …]
/frameworks/compile/slang/tests/F_reflection3264_struct_mismatch/
Dstderr.txt.expect7 reflection3264_struct_mismatch.rscript:6:8: error: structure 'q' is exported only for 64-bit targets
8 reflection3264_struct_mismatch.rscript:8:8: error: structure 'b' is exported only for 64-bit targets
9 reflection3264_struct_mismatch.rscript:4:8: error: structure 't' is exported only for 64-bit targets
10 reflection3264_struct_mismatch.rscript:54:8: error: 2nd field of exported structure 'FieldName' is …
11 reflection3264_struct_mismatch.rscript:73:8: error: field 'b' of exported structure 'FieldType' has…
12 reflection3264_struct_mismatch.rscript:73:8: error: field 'e' of exported structure 'FieldType' has…
13 reflection3264_struct_mismatch.rscript:37:8: error: exported structure 'FieldCount' has 1 field for…
14 error: in file 'reflection3264_struct_mismatch.rscript' structure 'f' is exported only for 32-bit t…
15 error: in file 'reflection3264_struct_mismatch.rscript' structure 'j' is exported only for 32-bit t…
16 error: in file 'reflection3264_struct_mismatch.rscript' structure 'o' is exported only for 32-bit t…
/frameworks/base/services/autofill/java/com/android/server/autofill/
DHelper.java142 public static ViewNode findViewNodeByAutofillId(@NonNull AssistStructure structure, in findViewNodeByAutofillId() argument
144 return findViewNode(structure, (node) -> { in findViewNodeByAutofillId()
149 private static ViewNode findViewNode(@NonNull AssistStructure structure, in findViewNode() argument
152 final int numWindowNodes = structure.getWindowNodeCount(); in findViewNode()
154 nodesToProcess.add(structure.getWindowNodeAt(i).getRootViewNode()); in findViewNode()
178 public static ViewNode sanitizeUrlBar(@NonNull AssistStructure structure, in sanitizeUrlBar() argument
180 final ViewNode urlBarNode = findViewNode(structure, (node) -> { in sanitizeUrlBar()
214 static ArrayList<AutofillId> getAutofillIds(@NonNull AssistStructure structure, in getAutofillIds() argument
217 final int size = structure.getWindowNodeCount(); in getAutofillIds()
219 final WindowNode node = structure.getWindowNodeAt(i); in getAutofillIds()
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAsyncStructure.java35 public void onProvideVirtualStructure(ViewStructure structure) { in onProvideVirtualStructure() argument
36 structure.setChildCount(1); in onProvideVirtualStructure()
37 final ViewStructure child = structure.asyncNewChild(0); in onProvideVirtualStructure()
DMainInteractionSession.java193 public void onHandleAssist(Bundle data, AssistStructure structure, AssistContent content) { in onHandleAssist() argument
195 mAssistStructure = structure; in onHandleAssist()
208 public void onHandleAssistSecondary(final Bundle data, final AssistStructure structure, in onHandleAssistSecondary() argument
214 onHandleAssist(data, structure, content); in onHandleAssistSecondary()
/frameworks/rs/script_api/
Drs_time.spec49 summary: Date and time structure
51 Data structure for broken-down time components.
68 Converts the time specified by timer into a @rs_tm structure that provides year, month,
/frameworks/hardware/interfaces/cameraservice/device/2.0/
DICameraDeviceCallback.hal25 * @param resultExtras data structure containing information about the
40 * @param resultExtras data structure containing information about the
54 * @param resultExtras data structure containing information about the
/frameworks/base/core/proto/android/util/
Dcommon.proto25 * Very basic data structure used by aggregated stats.
38 * Very basic data structure to represent Duration.
/frameworks/av/media/libaaudio/src/core/
DVersionExperiment.txt44 // Assume the rest of the structure is vectors.
46 // Point to first vector past end of the known structure.
/frameworks/rs/script_api/include/
Drs_time.rsh44 * rs_tm: Date and time structure
46 * Data structure for broken-down time components.
73 * Converts the time specified by timer into a rs_tm structure that provides year, month,
80 * local: Pointer to time structure where the local time will be stored.
/frameworks/base/core/proto/
DREADME.md10 of a certain service, not the data structure of that service, e.g.
34 1. If the proto represents the structure of an object, it should have `Proto` as
/frameworks/base/core/java/android/widget/
DRadioGroup.java432 protected void onProvideStructure(@NonNull ViewStructure structure, in onProvideStructure() argument
434 super.onProvideStructure(structure, viewFor, flags); in onProvideStructure()
437 structure.setDataIsSensitive(mCheckedId != mInitialCheckedId); in onProvideStructure()
DAdapterView.java1311 public void onProvideAutofillStructure(ViewStructure structure, int flags) { in onProvideAutofillStructure() argument
1312 super.onProvideAutofillStructure(structure, flags); in onProvideAutofillStructure()
1317 protected void onProvideStructure(@NonNull ViewStructure structure, in onProvideStructure() argument
1319 super.onProvideStructure(structure, viewFor, flags); in onProvideStructure()
1328 structure.setAutofillOptions(options); in onProvideStructure()
/frameworks/base/core/java/android/service/autofill/
DFillContext.java62 public FillContext(int requestId, @NonNull AssistStructure structure, in FillContext() argument
65 mStructure = structure; in FillContext()
/frameworks/base/core/java/android/webkit/
DWebViewProvider.java341 public void onProvideVirtualStructure(android.view.ViewStructure structure); in onProvideVirtualStructure() argument
344 @SuppressWarnings("unused") android.view.ViewStructure structure, in onProvideAutofillVirtualStructure()
356 @NonNull @SuppressWarnings("unused") android.view.ViewStructure structure, in onProvideContentCaptureStructure()
/frameworks/base/tests/HwAccelerationTest/
Ddefault.properties8 # project structure.
/frameworks/base/tests/RollbackTest/
DREADME.txt3 Directory structure
/frameworks/base/tests/SystemMemoryTest/
DREADME.txt3 Directory structure
/frameworks/base/core/java/android/service/voice/
DIVoiceInteractionSession.aidl35 in AssistStructure structure, in AssistContent content, int index, int count); in handleAssist() argument
DVoiceInteractionSession.java286 final AssistStructure structure, final AssistContent content, final int index,
297 if (structure != null) {
299 structure.ensureData();
309 args.arg2 = (failure == null) ? structure : null;
1615 void doOnHandleAssist(int taskId, IBinder assistToken, Bundle data, AssistStructure structure, in doOnHandleAssist() argument
1621 data, structure, content, index, count); in doOnHandleAssist()
1659 public void onHandleAssist(@Nullable Bundle data, @Nullable AssistStructure structure, in onHandleAssist() argument
1727 public void onHandleAssistSecondary(@Nullable Bundle data, @Nullable AssistStructure structure, in onHandleAssistSecondary() argument
1980 @Nullable AssistStructure structure, @Nullable AssistContent content, in AssistState() argument
1986 mStructure = structure; in AssistState()
/frameworks/ex/framesequence/samples/FrameSequenceSamples/
Dproject.properties8 # project structure.
/frameworks/opt/chips/
Dproject.properties8 # project structure.
/frameworks/opt/timezonepicker/
Dproject.properties8 # project structure.

1234