Searched refs:specs (Results 1 – 25 of 27) sorted by relevance
12
47 val specs = hotseatSpecsProvider.getSpecsByAspectRatio(aspectRatio) in parseValidFile() constant67 assertThat(specs.heightSpecs.size).isEqualTo(expectedHeightSpecs.size) in parseValidFile()68 assertThat(specs.heightSpecs[0]).isEqualTo(expectedHeightSpecs[0]) in parseValidFile()69 assertThat(specs.heightSpecs[1]).isEqualTo(expectedHeightSpecs[1]) in parseValidFile()71 assertThat(specs.widthSpecs.size).isEqualTo(0) in parseValidFile()80 val specs = hotseatSpecsProvider.getSpecsByAspectRatio(aspectRatio) in parseValidLandscapeFile() constant81 assertThat(specs.heightSpecs.size).isEqualTo(0) in parseValidLandscapeFile()101 assertThat(specs.widthSpecs.size).isEqualTo(expectedWidthSpecs.size) in parseValidLandscapeFile()102 assertThat(specs.widthSpecs[0]).isEqualTo(expectedWidthSpecs[0]) in parseValidLandscapeFile()103 assertThat(specs.widthSpecs[1]).isEqualTo(expectedWidthSpecs[1]) in parseValidLandscapeFile()
51 val specs = workspaceSpecs.getSpecsByAspectRatio(aspectRatio) in parseValidFile() constant52 assertThat(specs.heightSpecs.size).isEqualTo(3) in parseValidFile()53 assertThat(specs.heightSpecs[0].toString()) in parseValidFile()81 assertThat(specs.heightSpecs[1].toString()) in parseValidFile()109 assertThat(specs.heightSpecs[2].toString()) in parseValidFile()137 assertThat(specs.widthSpecs.size).isEqualTo(1) in parseValidFile()138 assertThat(specs.widthSpecs[0].toString()) in parseValidFile()
57 val specs = folderSpecs.getSpecsByAspectRatio(aspectRatio) in validate_matchWidthWorkspace() constant59 assertThat(specs.widthSpecs.size).isEqualTo(2) in validate_matchWidthWorkspace()60 assertThat(specs.widthSpecs[0].cellSize.matchWorkspace).isEqualTo(true) in validate_matchWidthWorkspace()61 assertThat(specs.widthSpecs[1].cellSize.matchWorkspace).isEqualTo(false) in validate_matchWidthWorkspace()133 val specs = folderSpecs.getSpecsByAspectRatio(aspectRatio) in validate_matchHeightWorkspace() constant135 assertThat(specs.heightSpecs.size).isEqualTo(1) in validate_matchHeightWorkspace()136 assertThat(specs.heightSpecs[0].cellSize.matchWorkspace).isEqualTo(true) in validate_matchHeightWorkspace()
51 val specs = allAppsSpecs.getSpecsByAspectRatio(aspectRatio) in parseValidFile() constant52 assertThat(specs.heightSpecs.size).isEqualTo(1) in parseValidFile()53 assertThat(specs.heightSpecs[0].toString()) in parseValidFile()82 assertThat(specs.widthSpecs.size).isEqualTo(1) in parseValidFile()83 assertThat(specs.widthSpecs[0].toString()) in parseValidFile()
155 specs: ResponsiveSpecGroup<ResponsiveSpec>, in <lambda>()160 assertThat(specs.aspectRatio).isAtLeast(expectedAspectRatio) in <lambda>()162 assertThat(specs.widthSpecs.size).isEqualTo(expectedWidthSpecs.size) in <lambda>()163 specs.widthSpecs.forEachIndexed { index, responsiveSpec -> in <lambda>()167 assertThat(specs.heightSpecs.size).isEqualTo(expectedHeightSpecs.size) in <lambda>()168 specs.heightSpecs.forEachIndexed { index, responsiveSpec -> in <lambda>()
48 val specs = folderSpecs.getSpecsByAspectRatio(aspectRatio) in parseValidFile() constant84 assertThat(specs.widthSpecs.size).isEqualTo(widthSpecsExpected.size) in parseValidFile()85 assertThat(specs.widthSpecs[0]).isEqualTo(widthSpecsExpected[0]) in parseValidFile()86 assertThat(specs.widthSpecs[1]).isEqualTo(widthSpecsExpected[1]) in parseValidFile()88 assertThat(specs.heightSpecs.size).isEqualTo(1) in parseValidFile()89 assertThat(specs.heightSpecs[0]).isEqualTo(heightSpecsExpected) in parseValidFile()
64 List<SliceSpec> specs = Arrays.asList(mSupportedSpecs); in mergeSpecs() local66 specs.stream() in mergeSpecs()84 private SliceSpec findSpec(SliceSpec[] specs, String type) { in findSpec() argument85 for (SliceSpec spec : specs) { in findSpec()115 public void pin(SliceSpec[] specs) { in pin() argument118 mergeSpecs(specs); in pin()
58 public void pinSlice(Uri uri, SliceSpec[] specs) { in pinSlice() argument59 getOrCreatePinnedSlice(uri).pin(specs); in pinSlice()
72 val specs = parser.parseXML(ResponsiveSpecType.Cell, ::CellSpec) in <lambda>() constant73 return ResponsiveCellSpecsProvider(specs) in <lambda>()93 specs: Map<String, SizeSpec>104 iconSize = specs.getOrError(SizeSpec.XmlTags.ICON_SIZE),105 iconTextSize = specs.getOrError(SizeSpec.XmlTags.ICON_TEXT_SIZE),106 iconDrawablePadding = specs.getOrError(SizeSpec.XmlTags.ICON_DRAWABLE_PADDING)
44 val specs = mutableListOf<T>() in parseXML() constant60 groups += ResponsiveSpecGroup.create(groupAttrs, specs) in parseXML()61 specs.clear() in parseXML()74 specs += map(responsiveSpecType, attrs, sizeSpecs) in parseXML()85 check(specs.isEmpty()) { in parseXML()
72 val specs = parser.parseXML(ResponsiveSpecType.Hotseat, ::HotseatSpec) in create() constant73 return HotseatSpecsProvider(specs) in create()92 specs: Map<String, SizeSpec>103 hotseatQsbSpace = specs.getOrError(SizeSpec.XmlTags.HOTSEAT_QSB_SPACE),104 edgePadding = specs.getOrError(SizeSpec.XmlTags.EDGE_PADDING)
68 specs: Map<String, SizeSpec>79 startPadding = specs.getOrError(SizeSpec.XmlTags.START_PADDING),80 endPadding = specs.getOrError(SizeSpec.XmlTags.END_PADDING),81 gutter = specs.getOrError(SizeSpec.XmlTags.GUTTER),82 cellSize = specs.getOrError(SizeSpec.XmlTags.CELL_SIZE)
134 val specs = parser.parseXML(type, ::ResponsiveSpec) in <lambda>() constant135 return ResponsiveSpecsProvider(type, specs) in <lambda>()
86 specs: List<T> in create()89 specs.partition { it.dimensionType == DimensionType.WIDTH } in create()
125 List<CaptivePortalProbeSpec> specs = new ArrayList<>(); in parseCaptivePortalProbeSpecs() local129 specs.add(parseSpec(spec)); in parseCaptivePortalProbeSpecs()136 if (specs.isEmpty()) { in parseCaptivePortalProbeSpecs()139 return specs; in parseCaptivePortalProbeSpecs()
145 public void pinSlice(@NonNull Uri uri, @NonNull Set<SliceSpec> specs) { in pinSlice() argument147 mSystemManager.pinSlice(uri, specs); in pinSlice()150 mService.pinSlice(uri, specs.toArray(new SliceSpec[specs.size()])); in pinSlice()
5 generated_tests = runtime/test/specs/generate_all_tests.sh --hook
108 @NonNull Set<SliceSpec> specs) { in bindSlice() argument111 return toSettingsSlice(context, sliceManager.bindSlice(uri, specs, extras)); in bindSlice()
445 public static void setSpecs(@Nullable Set<SliceSpec> specs) { in setSpecs() argument446 sSpecs = specs; in setSpecs()
10 You should create new test specs in `runtime/test/specs/<version>/` and name it with `.mod.py` suff…343 …ll be inferred from the path, e.g. the models defined in `nn/runtime/test/specs/V1_0/add.mod.py` w…463 $ANDROID_BUILD_TOP/packages/modules/NeuralNetworks/runtime/test/specs/generate_all_tests.sh466 It will update all CTS and VTS tests based on spec files in `nn/runtime/test/specs/V1_*/*`.
2 // Source's trigger specs:
388 description: "Defines the new specs for grids based on OneGrid"
3633 private void setFallbackSpecs(String specs) { in setFallbackSpecs() argument3634 doReturn(specs).when(mDependencies).getDeviceConfigProperty(any(), in setFallbackSpecs()
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...