Home
last modified time | relevance | path

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

123

/aosp14/frameworks/base/core/tests/coretests/src/android/app/assist/
H A DAssistStructureTest.java111 assertStructureWithManySmallViews(structure, 1); in testParcelizationForAutofill_oneSmallView()
114 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_oneSmallView()
131 assertStructureWithManySmallViews(structure, NUMBER_SMALL_VIEWS); in testParcelizationForAutofill_manySmallViews()
134 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_manySmallViews()
141 assertThat(structure.getWindowNodeCount()).isEqualTo(1); in assertStructureWithManySmallViews()
170 structure.dump(true); in assertStructureWithManySmallViews()
185 assertStructureWithOneBigView(structure); in testParcelizationForAutofill_oneBigView()
188 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_oneBigView()
194 assertThat(structure.getWindowNodeCount()).isEqualTo(1); in assertStructureWithOneBigView()
221 structure.dump(true); in assertStructureWithOneBigView()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
H A DControlsUiController.kt80 data class StructureItem(val structure: StructureInfo) : SelectedItem() {
81 override val name: CharSequence = structure.structure
82 override val hasControls: Boolean = structure.controls.isNotEmpty()
83 override val componentName: ComponentName = structure.componentName
H A DControlsUiControllerImpl.kt252 selected.structure.controls.map {
253 ControlWithState(selected.structure.componentName, it, null)
255 ControlKey(selected.structure.componentName, it.ci.controlId)
257 controlsController.get().subscribeToFavorites(selected.structure)
370 putExtra(ControlsFavoritingActivity.EXTRA_STRUCTURE, si.structure)
407 itemsByComponent.get(it.componentName)?.copy(structure = it.structure)
711 component == it.componentName && preferredPanel?.name == it.structure
727 it.structure == item.structure && it.componentName == item.componentName
840 val structure: CharSequence,
846 fun getTitle() = if (structure.isEmpty()) { appName } else { structure }
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
H A DSelectionItemTest.kt22 structure = "structure",
48 structure = "structure",
64 structure = "structure",
84 structure = structureName,
104 structure = "other",
/aosp14/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
H A DControlsControllerImpl.kt405 val structure = it.structure ?: "" regex
406 val list = structureToControls.get(structure)
411 structureToControls.put(structure, list)
448 structure: CharSequence,
462 .setStructure(structure)
619 getStructuresForComponent(structure.componentName)
620 .firstOrNull { it.structure == structure.structure }
653 if (s.structure != updatedStructure) {
658 } ?: Pair(s.structure, c)
692 ?.firstOrNull { it.structure == structureName }
[all …]
H A DStructureInfo.kt32 val structure: CharSequence,
/aosp14/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A 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()
/aosp14/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DHelper.java244 public static ViewNode findViewNodeByAutofillId(@NonNull AssistStructure structure, in findViewNodeByAutofillId() argument
246 return findViewNode(structure, (node) -> { in findViewNodeByAutofillId()
251 private static ViewNode findViewNode(@NonNull AssistStructure structure, in findViewNode() argument
254 final int numWindowNodes = structure.getWindowNodeCount(); in findViewNode()
256 nodesToProcess.add(structure.getWindowNodeAt(i).getRootViewNode()); in findViewNode()
280 public static ViewNode sanitizeUrlBar(@NonNull AssistStructure structure, in sanitizeUrlBar() argument
282 final ViewNode urlBarNode = findViewNode(structure, (node) -> { in sanitizeUrlBar()
316 static ArrayList<AutofillId> getAutofillIds(@NonNull AssistStructure structure, in getAutofillIds() argument
319 final int size = structure.getWindowNodeCount(); in getAutofillIds()
321 final WindowNode node = structure.getWindowNodeAt(i); in getAutofillIds()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
H A DControlsEditingActivity.kt68 private lateinit var structure: CharSequence
102 structure = it
164 requireViewById<TextView>(R.id.title).text = structure
165 setTitle(structure)
188 it.putExtra(ControlsFavoritingActivity.EXTRA_STRUCTURE, structure)
223 StructureInfo(component, structure, model.favorites))
243 val controls = controller.getFavoritesForStructure(component, structure)
/aosp14/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
H A DContentCaptureSessionTest.java104 final ViewStructure structure = mSession1.newViewStructure(mMockView); in testNewViewStructure() local
105 assertThat(structure).isNotNull(); in testNewViewStructure()
106 assertThat(structure.getAutofillId()).isEqualTo(mMockView.getAutofillId()); in testNewViewStructure()
112 final ViewStructure structure = mSession1.newVirtualViewStructure(parentId, 108L); in testNewVirtualViewStructure() local
113 assertThat(structure).isNotNull(); in testNewVirtualViewStructure()
115 assertThat(structure.getAutofillId()).isEqualTo(childId); in testNewVirtualViewStructure()
/aosp14/frameworks/base/core/java/android/service/autofill/
H A DFillContext.java189 @NonNull AssistStructure structure, in FillContext() argument
192 this.mStructure = structure; in FillContext()
259 … AssistStructure structure = (AssistStructure) in.readTypedObject(AssistStructure.CREATOR);
263 structure,
/aosp14/frameworks/base/apex/jobscheduler/
H A DREADME_js-mainline.md3 ## Current structure
20 The current structure is *not* the final design.
/aosp14/frameworks/base/core/java/android/service/controls/
H A DControl.java148 @Nullable CharSequence structure, in Control() argument
172 mStructure = structure; in Control()
531 public StatelessBuilder setStructure(@Nullable CharSequence structure) { in setStructure() argument
532 mStructure = structure; in setStructure()
738 public StatefulBuilder setStructure(@Nullable CharSequence structure) { in setStructure() argument
739 mStructure = structure; in setStructure()
/aosp14/frameworks/base/
H A 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
/aosp14/frameworks/base/core/proto/
H A 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
/aosp14/frameworks/base/core/proto/android/util/
H A Dcommon.proto25 * Very basic data structure used by aggregated stats.
43 * Very basic data structure to represent Duration.
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
H A DControlsFavoritingActivityTest.kt56 whenever(structure).thenReturn(TEST_STRUCTURE)
168 structure: CharSequence = TEST_STRUCTURE,
175 putExtra(ControlsFavoritingActivity.EXTRA_STRUCTURE, structure)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
H A DControlsBindingControllerImplTest.kt280 val structure = regex
283 controller.subscribe(structure)
310 val structure = regex
313 controller.subscribe(structure)
H A DControlsControllerImplTest.kt195 structure: CharSequence = ""
199 .setSubtitle(controlInfo.controlSubtitle).setStructure(structure)
204 structure: CharSequence = ""
208 .setSubtitle(controlInfo.controlSubtitle).setStructure(structure)
372 assertEquals(TEST_STRUCTURE_INFO.structure, controlStatus.control.structure)
403 assertEquals(TEST_STRUCTURE_INFO.structure, controlStatus.control.structure)
855 val control = statelessBuilderFromInfo(TEST_CONTROL_INFO, TEST_STRUCTURE_INFO.structure)
/aosp14/frameworks/base/core/java/android/widget/
H A DRadioGroup.java438 protected void onProvideStructure(@NonNull ViewStructure structure, in onProvideStructure() argument
440 super.onProvideStructure(structure, viewFor, flags); in onProvideStructure()
443 structure.setDataIsSensitive(mCheckedId != mInitialCheckedId); in onProvideStructure()
H A DAdapterView.java1312 public void onProvideAutofillStructure(ViewStructure structure, int flags) { in onProvideAutofillStructure() argument
1313 super.onProvideAutofillStructure(structure, flags); in onProvideAutofillStructure()
1318 protected void onProvideStructure(@NonNull ViewStructure structure, in onProvideStructure() argument
1320 super.onProvideStructure(structure, viewFor, flags); in onProvideStructure()
1329 structure.setAutofillOptions(options); in onProvideStructure()
/aosp14/frameworks/base/tests/HwAccelerationTest/
H A Ddefault.properties8 # project structure.
/aosp14/frameworks/base/tests/RollbackTest/
H A DREADME.txt3 Directory structure
/aosp14/frameworks/base/tests/SystemMemoryTest/
H A DREADME.txt3 Directory structure

123