Home
last modified time | relevance | path

Searched refs:specs (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/mime/java/android/content/type/
DDefaultMimeMapFactory.java81 List<String> specs = new ArrayList<>(10); // re-use for each line in parseTypes() local
83 specs.clear(); in parseTypes()
96 specs.add(spec); in parseTypes()
99 builder.put(specs.get(0), specs.subList(1, specs.size())); in parseTypes()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/
DAppTransitionAnimationSpecsFuture.java51 List<AppTransitionAnimationSpecCompat> specs = mComposeTask.get();
56 if (specs == null) {
60 AppTransitionAnimationSpec[] arr = new AppTransitionAnimationSpec[specs.size()];
61 for (int i = 0; i < specs.size(); i++) {
62 arr[i] = specs.get(i).toAppTransitionAnimationSpec();
/frameworks/base/services/core/java/com/android/server/slice/
DPinnedSliceState.java80 List<SliceSpec> specs = Arrays.asList(mSupportedSpecs); in mergeSpecs() local
81 mSupportedSpecs = specs.stream().map(s -> { in mergeSpecs()
93 private SliceSpec findSpec(SliceSpec[] specs, String type) { in findSpec() argument
94 for (SliceSpec spec : specs) { in findSpec()
122 public void pin(String pkg, SliceSpec[] specs, IBinder token) { in pin() argument
130 mergeSpecs(specs); in pin()
DSliceManagerService.java160 public void pinSlice(String pkg, Uri uri, SliceSpec[] specs, IBinder token) in pinSlice() argument
167 getOrCreatePinnedSlice(uri, slicePkg).pin(pkg, specs, token); in pinSlice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSTileHostTest.java260 List<String> specs = QSTileHost.loadTileSpecs(mContext, "spec1,spec1,spec2"); in testLoadTileSpec_repeated() local
262 assertEquals(2, specs.size()); in testLoadTileSpec_repeated()
263 assertEquals("spec1", specs.get(0)); in testLoadTileSpec_repeated()
264 assertEquals("spec2", specs.get(1)); in testLoadTileSpec_repeated()
271 List<String> specs = QSTileHost.loadTileSpecs(mContext, "default"); in testLoadTileSpec_repeatedInDefault() local
274 specs.removeIf(spec -> !"spec1".equals(spec)); in testLoadTileSpec_repeatedInDefault()
275 assertEquals(1, specs.size()); in testLoadTileSpec_repeatedInDefault()
282 List<String> specs = QSTileHost.loadTileSpecs(mContext, "default,spec1"); in testLoadTileSpec_repeatedDefaultAndSetting() local
285 specs.removeIf(spec -> !"spec1".equals(spec)); in testLoadTileSpec_repeatedDefaultAndSetting()
286 assertEquals(1, specs.size()); in testLoadTileSpec_repeatedDefaultAndSetting()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java186 List<String> specs = new ArrayList<>(); in testQueryTiles_correctTilesAndOrderOnlyStockTiles() local
188 specs.add(t.spec); in testQueryTiles_correctTilesAndOrderOnlyStockTiles()
190 String tiles = TextUtils.join(",", specs); in testQueryTiles_correctTilesAndOrderOnlyStockTiles()
206 List<String> specs = new ArrayList<>(); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles() local
208 specs.add(t.spec); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles()
210 String tiles = TextUtils.join(",", specs); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles()
226 List<String> specs = new ArrayList<>(); in testQueryTiles_otherTileNotIncluded() local
228 specs.add(t.spec); in testQueryTiles_otherTileNotIncluded()
230 assertFalse(specs.contains("other")); in testQueryTiles_otherTileNotIncluded()
/frameworks/native/opengl/tools/glgen/
Dgen63 java -classpath src GenerateGL -c specs/jsr239/glspec-1.0 \
64 specs/jsr239/glspec-1.0ext \
65 specs/jsr239/glspec-1.1 \
66 specs/jsr239/glspec-1.1ext \
67 specs/jsr239/glspec-1.1extpack \
68 specs/jsr239/glspec-checks
/frameworks/base/core/java/android/animation/
DStateListAnimator.java82 public void addState(int[] specs, Animator animator) { in addState() argument
83 Tuple tuple = new Tuple(specs, animator); in addState()
282 private Tuple(int[] specs, Animator animator) { in Tuple() argument
283 mSpecs = specs; in Tuple()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceManagerServiceTest.java138 SliceSpec[] specs = new SliceSpec[] { in testGetPinnedSpecs() local
140 mService.pinSlice("pkg", TEST_URI, specs, mToken); in testGetPinnedSpecs()
142 when(mCreatedSliceState.getSpecs()).thenReturn(specs); in testGetPinnedSpecs()
143 assertEquals(specs, mService.getPinnedSpecs(TEST_URI, "pkg")); in testGetPinnedSpecs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileRevealController.java70 private void addTileSpecsToRevealed(ArraySet<String> specs) { in addTileSpecsToRevealed() argument
73 revealedTiles.addAll(specs); in addTileSpecsToRevealed()
/frameworks/base/core/java/android/app/slice/
DSliceManager.java133 public void pinSlice(@NonNull Uri uri, @NonNull Set<SliceSpec> specs) { in pinSlice() argument
136 specs.toArray(new SliceSpec[specs.size()]), mToken); in pinSlice()
147 public void pinSlice(@NonNull Uri uri, @NonNull List<SliceSpec> specs) { in pinSlice() argument
148 pinSlice(uri, new ArraySet<>(specs)); in pinSlice()
DISliceManager.aidl24 void pinSlice(String pkg, in Uri uri, in SliceSpec[] specs, in IBinder token); in pinSlice() argument
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DInlineSuggestionFactory.java210 final List<InlinePresentationSpec> specs = request.getInlinePresentationSpecs(); in mergedInlinePresentation() local
211 if (specs.isEmpty()) { in mergedInlinePresentation()
214 InlinePresentationSpec specFromHost = specs.get(Math.min(specs.size() - 1, index)); in mergedInlinePresentation()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java252 DesiredDisplayModeSpecs specs = director.getDesiredDisplayModeSpecsWithInjectedFpsSettings(
254 Truth.assertThat(specs.primaryRefreshRateRange.min).isEqualTo(primaryMin);
255 Truth.assertThat(specs.primaryRefreshRateRange.max).isEqualTo(primaryMax);
256 Truth.assertThat(specs.appRequestRefreshRateRange.min).isEqualTo(appRequestMin);
257 Truth.assertThat(specs.appRequestRefreshRateRange.max).isEqualTo(appRequestMax);
/frameworks/ml/
DPREUPLOAD.cfg5 generated_tests = nn/runtime/test/specs/generate_all_tests.sh --hook
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizer.java281 List<String> specs = new ArrayList<>(); in setTileSpecs() local
283 specs.add(tile.getTileSpec()); in setTileSpecs()
285 mTileAdapter.setTileSpecs(specs); in setTileSpecs()
DTileAdapter.java139 public void resetTileSpecs(QSTileHost host, List<String> specs) { in resetTileSpecs() argument
141 host.changeTiles(mCurrentSpecs, specs); in resetTileSpecs()
142 setTileSpecs(specs); in resetTileSpecs()
/frameworks/base/core/java/android/app/
DActivityOptions.java734 AppTransitionAnimationSpec[] specs, Handler handler, in makeThumbnailAspectScaleDownAnimation() argument
740 opts.mAnimSpecs = specs; in makeThumbnailAspectScaleDownAnimation()
1048 Parcelable[] specs = opts.getParcelableArray(KEY_ANIM_SPECS); in ActivityOptions() local
1049 mAnimSpecs = new AppTransitionAnimationSpec[specs.length]; in ActivityOptions()
1050 for (int i = specs.length - 1; i >= 0; i--) { in ActivityOptions()
1051 mAnimSpecs[i] = (AppTransitionAnimationSpec) specs[i]; in ActivityOptions()
/frameworks/ml/nn/tools/test_generator/
DREADME.md10 You should create new test specs in `nn/runtime/test/specs/<version>/` and name it with `.mod.py` s…
348 …ll be inferred from the path, e.g. the models defined in `nn/runtime/test/specs/V1_0/add.mod.py` w…
468 $ANDROID_BUILD_TOP/frameworks/ml/nn/runtime/test/specs/generate_all_tests.sh
471 It will update all CTS and VTS tests based on spec files in `nn/runtime/test/specs/V1_*/*`.
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java499 DisplayModeDirector.DesiredDisplayModeSpecs specs) { in setDesiredDisplayModeSpecsLocked() argument
500 mDesiredDisplayModeSpecs = specs; in setDesiredDisplayModeSpecsLocked()
/frameworks/base/core/proto/android/os/
Dmetadata.proto23 // such as the section ids and privacy policy specs from caller as well as how long
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1875 void overridePendingAppTransitionMultiThumb(AppTransitionAnimationSpec[] specs, in overridePendingAppTransitionMultiThumb() argument
1883 if (specs != null) { in overridePendingAppTransitionMultiThumb()
1884 for (int i = 0; i < specs.length; i++) { in overridePendingAppTransitionMultiThumb()
1885 AppTransitionAnimationSpec spec = specs[i]; in overridePendingAppTransitionMultiThumb()
1973 AppTransitionAnimationSpec[] specs = null; in fetchAppTransitionSpecsFromFuture() local
1976 specs = future.get(); in fetchAppTransitionSpecsFromFuture()
1982 overridePendingAppTransitionMultiThumb(specs, in fetchAppTransitionSpecsFromFuture()
/frameworks/base/packages/SystemUI/docs/
Dqs-tiles.md237 #### Tile specs
239 …t tiles are stored as a Setting string of comma separated values of these specs. Additionally, the…
241 SystemUI tile specs are usually a single simple word identifying the tile (like `wifi` or `battery`…
271 …S customizer by the user. This will immediately save the new list of tile specs to the Secure Sett…
/frameworks/base/core/java/android/view/inputmethod/
DInlineSuggestionsRequest.java175 @NonNull List<android.widget.inline.InlinePresentationSpec> specs); in setInlinePresentationSpecs()
/frameworks/native/opengl/libs/EGL/
DGLES_layers.md251 …ut to ADB for this, you can check for the [EGL_ANDROID_GLES_layers](../../specs/EGL_ANDROID_GLES_l…

12