Home
last modified time | relevance | path

Searched refs:specs (Results 1 – 25 of 26) 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.addMimeMapping(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/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSTileHostTest.java324 List<String> specs = QSTileHost.loadTileSpecs(mContext, "spec1,spec1,spec2"); in testLoadTileSpec_repeated() local
326 assertEquals(2, specs.size()); in testLoadTileSpec_repeated()
327 assertEquals("spec1", specs.get(0)); in testLoadTileSpec_repeated()
328 assertEquals("spec2", specs.get(1)); in testLoadTileSpec_repeated()
335 List<String> specs = QSTileHost.loadTileSpecs(mContext, "default"); in testLoadTileSpec_repeatedInDefault() local
338 specs.removeIf(spec -> !"spec1".equals(spec)); in testLoadTileSpec_repeatedInDefault()
339 assertEquals(1, specs.size()); in testLoadTileSpec_repeatedInDefault()
346 List<String> specs = QSTileHost.loadTileSpecs(mContext, "default,spec1"); in testLoadTileSpec_repeatedDefaultAndSetting() local
349 specs.removeIf(spec -> !"spec1".equals(spec)); in testLoadTileSpec_repeatedDefaultAndSetting()
350 assertEquals(1, specs.size()); in testLoadTileSpec_repeatedDefaultAndSetting()
[all …]
/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.java165 public void pinSlice(String pkg, Uri uri, SliceSpec[] specs, IBinder token) in pinSlice() argument
172 getOrCreatePinnedSlice(uri, slicePkg).pin(pkg, specs, token); in pinSlice()
/frameworks/native/opengl/tools/glgen/
Dgen75 java -classpath src GenerateGL -c specs/jsr239/glspec-1.0 \
76 specs/jsr239/glspec-1.0ext \
77 specs/jsr239/glspec-1.1 \
78 specs/jsr239/glspec-1.1ext \
79 specs/jsr239/glspec-1.1extpack \
80 specs/jsr239/glspec-checks
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java194 List<String> specs = new ArrayList<>(); in testQueryTiles_correctTilesAndOrderOnlyStockTiles() local
196 specs.add(t.spec); in testQueryTiles_correctTilesAndOrderOnlyStockTiles()
198 String tiles = TextUtils.join(",", specs); in testQueryTiles_correctTilesAndOrderOnlyStockTiles()
214 List<String> specs = new ArrayList<>(); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles() local
216 specs.add(t.spec); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles()
218 String tiles = TextUtils.join(",", specs); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles()
234 List<String> specs = new ArrayList<>(); in testQueryTiles_otherTileNotIncluded() local
236 specs.add(t.spec); in testQueryTiles_otherTileNotIncluded()
238 assertFalse(specs.contains("other")); in testQueryTiles_otherTileNotIncluded()
/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.java141 SliceSpec[] specs = new SliceSpec[] { in testGetPinnedSpecs() local
143 mService.pinSlice("pkg", TEST_URI, specs, mToken); in testGetPinnedSpecs()
145 when(mCreatedSliceState.getSpecs()).thenReturn(specs); in testGetPinnedSpecs()
146 assertEquals(specs, mService.getPinnedSpecs(TEST_URI, "pkg")); in testGetPinnedSpecs()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DInlineSuggestionFactory.java145 final List<InlinePresentationSpec> specs = request.getInlinePresentationSpecs(); in mergedInlinePresentation() local
146 if (specs.isEmpty()) { in mergedInlinePresentation()
149 InlinePresentationSpec specFromHost = specs.get(Math.min(specs.size() - 1, index)); in mergedInlinePresentation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileRevealController.java77 private void addTileSpecsToRevealed(ArraySet<String> specs) { in addTileSpecsToRevealed() argument
80 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/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizerController.java265 List<String> specs = new ArrayList<>(); in setTileSpecs() local
267 specs.add(tile.getTileSpec()); in setTileSpecs()
269 mTileAdapter.setTileSpecs(specs); in setTileSpecs()
DTileAdapter.java193 public void resetTileSpecs(List<String> specs) { in resetTileSpecs() argument
195 mHost.changeTiles(mCurrentSpecs, specs); in resetTileSpecs()
196 setTileSpecs(specs); in resetTileSpecs()
/frameworks/base/core/java/android/view/translation/
DUiTranslationController.java135 final Pair<TranslationSpec, TranslationSpec> specs = in updateUiTranslationState() local
137 if (!mTranslators.containsKey(specs)) { in updateUiTranslationState()
142 onUiTranslationStarted(mTranslators.get(specs), views); in updateUiTranslationState()
658 final Pair<TranslationSpec, TranslationSpec> specs = new Pair<>(sourceSpec, targetSpec); in createTranslatorIfNeeded() local
659 mTranslators.put(specs, translator); in createTranslatorIfNeeded()
/frameworks/base/core/java/android/app/
DActivityOptions.java820 AppTransitionAnimationSpec[] specs, Handler handler, in makeThumbnailAspectScaleDownAnimation() argument
826 opts.mAnimSpecs = specs; in makeThumbnailAspectScaleDownAnimation()
1155 Parcelable[] specs = opts.getParcelableArray(KEY_ANIM_SPECS); in ActivityOptions() local
1156 mAnimSpecs = new AppTransitionAnimationSpec[specs.length]; in ActivityOptions()
1157 for (int i = specs.length - 1; i >= 0; i--) { in ActivityOptions()
1158 mAnimSpecs[i] = (AppTransitionAnimationSpec) specs[i]; in ActivityOptions()
/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.java1264 void overridePendingAppTransitionMultiThumb(AppTransitionAnimationSpec[] specs, in overridePendingAppTransitionMultiThumb() argument
1272 if (specs != null) { in overridePendingAppTransitionMultiThumb()
1273 for (int i = 0; i < specs.length; i++) { in overridePendingAppTransitionMultiThumb()
1274 AppTransitionAnimationSpec spec = specs[i]; in overridePendingAppTransitionMultiThumb()
1362 AppTransitionAnimationSpec[] specs = null; in fetchAppTransitionSpecsFromFuture() local
1365 specs = future.get(); in fetchAppTransitionSpecsFromFuture()
1371 overridePendingAppTransitionMultiThumb(specs, in fetchAppTransitionSpecsFromFuture()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java473 DesiredDisplayModeSpecs specs = director.getDesiredDisplayModeSpecsWithInjectedFpsSettings(
475 assertThat(specs.primaryRefreshRateRange.min).isEqualTo(primaryMin);
476 assertThat(specs.primaryRefreshRateRange.max).isEqualTo(primaryMax);
477 assertThat(specs.appRequestRefreshRateRange.min).isEqualTo(appRequestMin);
478 assertThat(specs.appRequestRefreshRateRange.max).isEqualTo(appRequestMax);
637 DesiredDisplayModeSpecs specs = director.getDesiredDisplayModeSpecs(DISPLAY_ID);
638 assertThat(specs.baseModeId).isEqualTo(defaultModeId);
672 DesiredDisplayModeSpecs specs = director.getDesiredDisplayModeSpecs(DISPLAY_ID);
673 assertThat(specs.baseModeId).isEqualTo(defaultMode.getModeId());
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java636 DisplayModeDirector.DesiredDisplayModeSpecs specs) { in setDesiredDisplayModeSpecsLocked() argument
637 mDesiredDisplayModeSpecs = specs; in setDesiredDisplayModeSpecsLocked()
DLocalDisplayAdapter.java1240 SurfaceControl.DesiredDisplayModeSpecs specs) {
1241 return SurfaceControl.setDesiredDisplayModeSpecs(token, specs);
/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.java210 @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