Home
last modified time | relevance | path

Searched refs:structure (Results 1 – 25 of 93) 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.java88 final ViewStructure structure = mSession1.newViewStructure(mMockView); in testNewViewStructure() local
89 assertThat(structure).isNotNull(); in testNewViewStructure()
90 assertThat(structure.getAutofillId()).isEqualTo(mMockView.getAutofillId()); in testNewViewStructure()
96 final ViewStructure structure = mSession1.newVirtualViewStructure(parentId, 108L); in testNewVirtualViewStructure() local
97 assertThat(structure).isNotNull(); in testNewVirtualViewStructure()
99 assertThat(structure.getAutofillId()).isEqualTo(childId); in testNewVirtualViewStructure()
/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/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java107 AssistStructure structure = new AssistStructure(mActivity, FOR_AUTOFILL, NO_FLAGS); in testParcelizationForAutofill_oneSmallView() local
110 assertStructureWithManySmallViews(structure, 1); in testParcelizationForAutofill_oneSmallView()
113 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_oneSmallView()
127 AssistStructure structure = new AssistStructure(mActivity, FOR_AUTOFILL, NO_FLAGS); in testParcelizationForAutofill_manySmallViews() local
130 assertStructureWithManySmallViews(structure, NUMBER_SMALL_VIEWS); in testParcelizationForAutofill_manySmallViews()
133 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_manySmallViews()
137 private void assertStructureWithManySmallViews(AssistStructure structure, int expectedSize) { in assertStructureWithManySmallViews() argument
140 assertThat(structure.getWindowNodeCount()).isEqualTo(1); in assertStructureWithManySmallViews()
142 ViewNode rootView = structure.getWindowNodeAt(0).getRootViewNode(); in assertStructureWithManySmallViews()
169 structure.dump(true); in assertStructureWithManySmallViews()
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DHelper.java149 public static ViewNode findViewNodeByAutofillId(@NonNull AssistStructure structure, in findViewNodeByAutofillId() argument
151 return findViewNode(structure, (node) -> { in findViewNodeByAutofillId()
156 private static ViewNode findViewNode(@NonNull AssistStructure structure, in findViewNode() argument
159 final int numWindowNodes = structure.getWindowNodeCount(); in findViewNode()
161 nodesToProcess.add(structure.getWindowNodeAt(i).getRootViewNode()); in findViewNode()
185 public static ViewNode sanitizeUrlBar(@NonNull AssistStructure structure, in sanitizeUrlBar() argument
187 final ViewNode urlBarNode = findViewNode(structure, (node) -> { in sanitizeUrlBar()
221 static ArrayList<AutofillId> getAutofillIds(@NonNull AssistStructure structure, in getAutofillIds() argument
224 final int size = structure.getWindowNodeCount(); in getAutofillIds()
226 final WindowNode node = structure.getWindowNodeAt(i); in getAutofillIds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlsControllerImpl.kt316 val r = createRemovedStatus(componentName, it, st.structure) in <lambda>()
335 createRemovedStatus(componentName, it, st.structure, in <lambda>()
410 val structure = it.structure ?: "" in <lambda>() constant
411 val list = structureToControls.get(structure) in <lambda>()
416 structureToControls.put(structure, list) in <lambda>()
453 structure: CharSequence, in <lambda>()
467 .setStructure(structure) in <lambda>()
606 fun getControlsForStructure(structure: StructureInfo): List<ControlInfo> = in getStructuresForComponent()
607 getStructuresForComponent(structure.componentName) in getStructuresForComponent()
608 .firstOrNull { it.structure == structure.structure } in getStructuresForComponent()
[all …]
DStructureInfo.kt32 val structure: CharSequence, constant in com.android.systemui.controls.controller.StructureInfo
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DAutofillTestHelper.java49 private static ViewNode findNodeByResourceId(AssistStructure structure, String id) { in findNodeByResourceId() argument
50 Log.v(TAG, "Parsing request for activity " + structure.getActivityComponent()); in findNodeByResourceId()
51 final int nodes = structure.getWindowNodeCount(); in findNodeByResourceId()
53 final WindowNode windowNode = structure.getWindowNodeAt(i); in findNodeByResourceId()
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsEditingActivity.kt60 private lateinit var structure: CharSequence variable in com.android.systemui.controls.management.ControlsEditingActivity
84 structure = it in onCreate()
135 requireViewById<TextView>(R.id.title).text = structure in bindViews()
136 setTitle(structure) in bindViews()
160 StructureInfo(component, structure, model.favorites)) in saveFavorites()
178 val controls = controller.getFavoritesForStructure(component, structure) in setUpList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiControllerImpl.kt244 putExtra(ControlsFavoritingActivity.EXTRA_STRUCTURE, si.structure) in <lambda>()
275 itemsByComponent.get(it.componentName)?.copy(structure = it.structure) in <lambda>()
467 val structure = sharedPreferences.getString(PREF_STRUCTURE, "") in <lambda>() constant
470 component == it.componentName && structure == it.structure in <lambda>()
478 .putString(PREF_STRUCTURE, si.structure.toString()) in <lambda>()
484 it.structure == item.structure && it.componentName == item.componentName in <lambda>()
555 it.componentName == si.componentName && it.structure == si.structure in <lambda>()
561 val structure: CharSequence, constant in com.android.systemui.controls.ui.SelectionItem
566 fun getTitle() = if (structure.isEmpty()) { appName } else { structure } in getTitle()
/frameworks/base/core/java/android/service/autofill/
DFillContext.java189 @NonNull AssistStructure structure, in FillContext() argument
192 this.mStructure = structure; in FillContext()
259 … AssistStructure structure = (AssistStructure) in.readTypedObject(AssistStructure.CREATOR);
263 structure,
/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/base/apex/jobscheduler/
DREADME_js-mainline.md3 ## Current structure
20 The current structure is *not* the final design.
/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/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/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/proto/android/util/
Dcommon.proto25 * Very basic data structure used by aggregated stats.
43 * Very basic data structure to represent Duration.
/frameworks/base/core/java/android/service/controls/
DControl.java145 @Nullable CharSequence structure, in Control() argument
168 mStructure = structure; in Control()
516 public StatelessBuilder setStructure(@Nullable CharSequence structure) { in setStructure() argument
517 mStructure = structure; in setStructure()
719 public StatefulBuilder setStructure(@Nullable CharSequence structure) { in setStructure() argument
720 mStructure = structure; in setStructure()
/frameworks/base/
DOWNERS.md7 The structure of `frameworks/base/` is unique among Android repositories, and
8 it's evolved into a complex interleaved structure over the years. Because of
9 this structure, the best place to authoritatively define `OWNERS` can vary
/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/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsControllerImplTest.kt182 structure: CharSequence = "" in <lambda>()
186 .setSubtitle(controlInfo.controlSubtitle).setStructure(structure) in <lambda>()
191 structure: CharSequence = "" in <lambda>()
195 .setSubtitle(controlInfo.controlSubtitle).setStructure(structure) in <lambda>()
336 assertEquals(TEST_STRUCTURE_INFO.structure, controlStatus.control.structure) in <lambda>()
367 assertEquals(TEST_STRUCTURE_INFO.structure, controlStatus.control.structure) in <lambda>()
825 val control = statelessBuilderFromInfo(TEST_CONTROL_INFO, TEST_STRUCTURE_INFO.structure) in <lambda>()
DControlsBindingControllerImplTest.kt275 val structure = in testSubscribe() constant
278 controller.subscribe(structure) in testSubscribe()
305 val structure = in testUnsubscribe_refreshing() constant
308 controller.subscribe(structure) in testUnsubscribe_refreshing()
/frameworks/base/tests/HwAccelerationTest/
Ddefault.properties8 # project structure.
/frameworks/base/tests/RollbackTest/
DREADME.txt3 Directory structure

1234