/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | RemoteTargetGluer.java | 61 RemoteAnimationTargets targets, boolean forDesktop) { in RemoteTargetGluer() argument 62 init(context, sizingStrategy, targets.apps.length, forDesktop); in RemoteTargetGluer() 113 public RemoteTargetHandle[] assignTargets(RemoteAnimationTargets targets) { in assignTargets() argument 115 RemoteAnimationTarget primaryTaskTarget = targets.apps[i]; in assignTargets() 117 createRemoteAnimationTargetsForTarget(targets, Collections.emptyList())); in assignTargets() 127 public RemoteTargetHandle[] assignTargetsForSplitScreen(RemoteAnimationTargets targets, in assignTargetsForSplitScreen() argument 130 return assignTargetsForSplitScreen(targets); in assignTargetsForSplitScreen() 138 public RemoteTargetHandle[] assignTargetsForSplitScreen(RemoteAnimationTargets targets) { in assignTargetsForSplitScreen() argument 139 resizeRemoteTargetHandles(targets); in assignTargetsForSplitScreen() 146 SplitBounds shellSplitBounds = targets.extras.getParcelable(KEY_EXTRA_SPLIT_BOUNDS, in assignTargetsForSplitScreen() [all …]
|
D | TaskViewUtils.java | 108 RecentsView recentsView, View v, RemoteAnimationTarget[] targets) { in findTaskViewToLaunch() argument 133 if (targets == null) { in findTaskViewToLaunch() 138 for (RemoteAnimationTarget target : targets) { in findTaskViewToLaunch() 171 final RemoteAnimationTargets targets = in createRecentsWindowAnimator() local 174 final RemoteAnimationTarget navBarTarget = targets.getNavBarRemoteAnimationTarget(); in createRecentsWindowAnimator() 177 targets.addReleaseCheck(applier); in createRecentsWindowAnimator() 187 recentsView.getSizeStrategy(), targets, forDesktop); in createRecentsWindowAnimator() 189 remoteTargetHandles = gluer.assignTargetsForDesktop(targets); in createRecentsWindowAnimator() 191 remoteTargetHandles = gluer.assignTargetsForSplitScreen(targets, in createRecentsWindowAnimator() 194 remoteTargetHandles = gluer.assignTargets(targets); in createRecentsWindowAnimator() [all …]
|
D | RecentsAnimationCallbacks.java | 143 final RecentsAnimationTargets targets = new RecentsAnimationTargets(appTargets, in onAnimationStart() local 150 /* extras= */ targets.apps.length, in onAnimationStart() 153 listener.onRecentsAnimationStart(mController, targets); in onAnimationStart() 235 RecentsAnimationTargets targets) {} in onRecentsAnimationStart() argument
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/resolver/ |
D | LRResolverRankerServiceTest.java | 137 final List<ResolverTarget> targets = in testOnPredictSharingProbabilitiesWhileServiceIsNotReady() local 145 () -> service.onPredictSharingProbabilities(targets)); in testOnPredictSharingProbabilitiesWhileServiceIsNotReady() 155 final List<ResolverTarget> targets = in testOnPredictSharingProbabilitiesAfterUserUnlock() local 162 service.onPredictSharingProbabilities(targets); in testOnPredictSharingProbabilitiesAfterUserUnlock() 164 assertThat(targets.get(0).getSelectProbability()).isIn(Range.closed(0f, 1.0f)); in testOnPredictSharingProbabilitiesAfterUserUnlock() 165 assertThat(targets.get(1).getSelectProbability()).isIn(Range.closed(0f, 1.0f)); in testOnPredictSharingProbabilitiesAfterUserUnlock() 174 final List<ResolverTarget> targets = in testOnPredictSharingProbabilities() local 181 service.onPredictSharingProbabilities(targets); in testOnPredictSharingProbabilities() 183 assertThat(targets.get(0).getSelectProbability()).isIn(Range.closed(0f, 1.0f)); in testOnPredictSharingProbabilities() 184 assertThat(targets.get(1).getSelectProbability()).isIn(Range.closed(0f, 1.0f)); in testOnPredictSharingProbabilities() [all …]
|
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/ |
D | hogp.py | 125 targets = set() 128 targets.add(( 134 …assert len(targets) == body.count("Characteristic Properties"), "safety check that regex is matchi… 142 if key in targets: 143 targets.remove(key) 145 assert not targets, f"could not find handles: {targets}" 160 targets = set() 163 targets.add(( 168 … assert len(targets) == body.count("uuid = "), "safety check that regex is matching something" 177 if key in targets: [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | TransformParams.java | 138 RemoteAnimationTargets targets = mTargetSet; in createSurfaceParams() local 140 if (targets == null) { in createSurfaceParams() 143 for (int i = 0; i < targets.unfilteredApps.length; i++) { in createSurfaceParams() 144 RemoteAnimationTarget app = targets.unfilteredApps[i]; in createSurfaceParams() 147 if (app.mode == targets.targetMode) { in createSurfaceParams() 161 final int wallpaperLength = targets.wallpapers != null ? targets.wallpapers.length : 0; in createSurfaceParams() 163 RemoteAnimationTarget wallpaper = targets.wallpapers[i]; in createSurfaceParams()
|
/packages/modules/ExtServices/java/src/android/ext/services/resolver/ |
D | LRResolverRankerService.java | 77 public void onPredictSharingProbabilities(List<ResolverTarget> targets) { in onPredictSharingProbabilities() argument 80 final int size = targets.size(); in onPredictSharingProbabilities() 82 ResolverTarget target = targets.get(i); in onPredictSharingProbabilities() 89 public void onTrainRankingModel(List<ResolverTarget> targets, int selectedPosition) { in onTrainRankingModel() argument 92 final int size = targets.size(); in onTrainRankingModel() 99 final ArrayMap<String, Float> positive = getFeatures(targets.get(selectedPosition)); in onTrainRankingModel() 100 final float positiveProbability = targets.get(selectedPosition).getSelectProbability(); in onTrainRankingModel() 101 final int targetSize = targets.size(); in onTrainRankingModel() 106 final ArrayMap<String, Float> negative = getFeatures(targets.get(i)); in onTrainRankingModel() 107 final float negativeProbability = targets.get(i).getSelectProbability(); in onTrainRankingModel()
|
/packages/modules/Bluetooth/ |
D | Android.bp | 14 // default license using the 'licenses: [...]' property on targets as needed. 41 // This default contains properties that should be common to all the cc targets 46 // options should not be added here but instead on every targets needing 47 // them to avoid allowing adding new warnings in targets that didn't contained 52 // test, tools, fuzzers, etc, not only production targets, if you need to add an option 53 // for a subset of Bluetooth cc targets you should look at the defaults including this 60 // - Try avoiding adding option that would not fit "future" targets, for exemple dependencies, 62 // from this default to not push it for future targets that might not need it.
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ShortcutSelectionLogic.java | 73 List<ChooserTarget> targets, in addServiceResults() argument 85 + targets.size() in addServiceResults() 88 if (targets.isEmpty()) { in addServiceResults() 91 Collections.sort(targets, mBaseTargetComparator); in addServiceResults() 94 final int targetsLimit = mApplySharingAppLimits ? Math.min(targets.size(), maxTargets) in addServiceResults() 95 : targets.size(); in addServiceResults() 99 final ChooserTarget target = targets.get(i); in addServiceResults()
|
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/ |
D | DefaultPolicySet.kt | 30 .flatMap { it.targets } in <lambda>() 32 .mapValues { (_, targets) -> in <lambda>() method 33 targets.flatMap { it.retentionsAsManagementStrategies() }.toSet() in <lambda>()
|
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/policy/builder/ |
D | PolicyBuilder.kt | 127 internal val targets = mutableListOf<PolicyTarget>() constant in com.android.libraries.pcc.chronicle.api.policy.builder.PolicyBuilder 139 targets.addAll(policyBuilder.targets) in <lambda>() 152 .also(targets::add) in target() 165 targets = targets, in build()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/model/ |
D | AppPredictionServiceResolverComparator.java | 95 public void doCompute(List<ResolvedComponentInfo> targets) { in doCompute() argument 96 if (targets.isEmpty()) { in doCompute() 101 for (ResolvedComponentInfo target : targets) { in doCompute() 117 onAppTargetsSorted(targets, sortedAppTargets); in doCompute() 127 List<ResolvedComponentInfo> targets, List<AppTarget> sortedAppTargets) { in onAppTargetsSorted() argument 141 mResolverRankerService.compute(targets); in onAppTargetsSorted()
|
D | ResolverRankerServiceResolverComparator.java | 182 public void doCompute(List<ResolvedComponentInfo> targets) { in doCompute() argument 190 for (ResolvedComponentInfo target : targets) { in doCompute() 439 public void sendResult(List<ResolverTarget> targets) throws RemoteException { in sendResult() argument 441 Log.d(TAG, "Sending Result back to Resolver: " + targets); in sendResult() 446 msg.obj = targets; in sendResult() 469 private void predictSelectProbabilities(List<ResolverTarget> targets) { in predictSelectProbabilities() argument 479 mRanker.predict(targets, mConnection.resolverRankerResult); in predictSelectProbabilities() 574 List<ResolverTarget> targets, in ResolverRankerServiceComparatorModel() argument 582 mTargets = targets; in ResolverRankerServiceComparatorModel()
|
D | AbstractResolverComparator.java | 252 public final void compute(List<ResolvedComponentInfo> targets) { in compute() argument 254 doCompute(targets); in compute() 258 public abstract void doCompute(List<ResolvedComponentInfo> targets); in doCompute() argument
|
/packages/modules/Bluetooth/system/bta/has/ |
D | has_ctp.h | 209 HasCtpGroupOpCoordinator(const std::vector<RawAddress>& targets, in HasCtpGroupOpCoordinator() 212 log::assert_that(targets.size() != 0, "Empty device list error."); in HasCtpGroupOpCoordinator() 213 if (targets.size() != 1) { in HasCtpGroupOpCoordinator() 220 devices = std::list<RawAddress>(targets.cbegin(), targets.cend()); in HasCtpGroupOpCoordinator()
|
/packages/apps/Settings/src/com/android/settings/accessibility/shortcuts/ |
D | ShortcutOptionPreferenceController.java | 108 Set<String> targets = ShortcutUtils.getShortcutTargetsFromSettings( in isChecked() local 111 return !targets.isEmpty() && targets.containsAll(getShortcutTargets()); in isChecked()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/shortcuts/ |
D | ShortcutOptionPreferenceControllerTest.java | 117 Set<String> targets = Set.of("target1", "target2"); in getShortcutTargets() local 118 mController.setShortcutTargets(targets); in getShortcutTargets() 121 .containsExactlyElementsIn(targets); in getShortcutTargets()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/ |
D | DeviceLockedInputConsumer.java | 230 RemoteAnimationTargets targets = mTransformParams.getTargetSet(); in finishTouchTracking() local 231 if (targets != null) { in finishTouchTracking() 232 targets.addReleaseCheck(new DeviceLockedReleaseCheck(animator)); in finishTouchTracking() 255 RecentsAnimationTargets targets) { in onRecentsAnimationStart() argument 257 mTransformParams.setTargetSet(targets); in onRecentsAnimationStart()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | HibernationSwitchPreferenceTest.kt | 168 fun `An app targets Q with ops mode default when hibernation targets pre S - not exempted`() { in isArchivingEnabled() 178 fun `An app targets Q with ops mode default when hibernation targets R - exempted`() { in An app targets Q with ops mode default when hibernation targets R - exempted() 188 fun `An app targets R with ops mode default - not exempted`() { in An app targets R with ops mode default - not exempted()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/dragging/ |
D | TaplDragTest.java | 150 Point[] targets = TestUtil.getCornersAndCenterPositions(mLauncher); in testDragShortcutToMultipleWorkspaceCells() local 152 for (Point target : targets) { in testDragShortcutToMultipleWorkspaceCells() 225 Point[] targets = TestUtil.getCornersAndCenterPositions(mLauncher); in testDragAppIconToMultipleWorkspaceCells() local 229 for (Point target : targets) { in testDragAppIconToMultipleWorkspaceCells()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | WidgetPredictionsRequester.java | 106 targets -> bindPredictions(targets, filter, callback)); in request() 161 private void bindPredictions(List<AppTarget> targets, Predicate<WidgetItem> filter, in bindPredictions() argument 163 List<WidgetItem> filteredPredictions = filterPredictions(targets, mAllWidgets, filter); in bindPredictions()
|
D | QuickstepModelDelegate.java | 407 private void handleUpdate(PredictorState state, List<AppTarget> targets) { in handleUpdate() argument 408 if (state.setTargets(targets)) { in handleUpdate() 412 mApp.getModel().enqueueModelUpdateTask(new PredictionUpdateTask(state, targets)); in handleUpdate() 418 MODEL_EXECUTOR, targets -> { in registerWidgetsPredictor() 419 if (mWidgetsRecommendationState.setTargets(targets)) { in registerWidgetsPredictor() 424 new WidgetsPredictionUpdateTask(mWidgetsRecommendationState, targets)); in registerWidgetsPredictor()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/chooser/ |
D | ImmutableTargetInfo.java | 250 public Builder setAllDisplayTargets(List<DisplayResolveInfo> targets) { in setAllDisplayTargets() argument 251 mAllDisplayTargets = immutableCopyOrEmpty(targets); in setAllDisplayTargets() 502 ArrayList<DisplayResolveInfo> targets = new ArrayList<>(); in getAllDisplayTargets() local 503 targets.addAll(mAllDisplayTargets); in getAllDisplayTargets() 504 return targets; in getAllDisplayTargets()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/android/ |
D | ImsMediaCamera.cpp | 124 mCaptureRequest.targets.resize(0); in Initialize() 302 mCaptureRequest.targets.resize(mCaptureRequest.outputNativeWindows.size()); in CreateSession() 334 &mCaptureRequest.targets[idxTarget]); in CreateSession() 358 ACaptureRequest_addTarget(mCaptureRequest.request, mCaptureRequest.targets[idxTarget]); in CreateSession() 408 mCaptureRequest.request, mCaptureRequest.targets[idxTarget]); in DeleteSession() 416 ACameraOutputTarget_free(mCaptureRequest.targets[idxTarget]); in DeleteSession() 437 mCaptureRequest.targets.resize(0); in DeleteSession()
|
/packages/modules/adb/tools/ |
D | Android.bp | 41 targets: [ 64 targets: [
|