/frameworks/av/media/libheadtracking/ |
D | StillnessDetector-test.cpp | 50 EXPECT_EQ(mDefaultValue, detector.calculate(0)); in TEST_P() 52 EXPECT_EQ(mDefaultValue, detector.calculate(0)); in TEST_P() 54 EXPECT_EQ(mDefaultValue, detector.calculate(300)); in TEST_P() 56 EXPECT_EQ(mDefaultValue, detector.calculate(600)); in TEST_P() 58 EXPECT_EQ(mDefaultValue, detector.calculate(999)); in TEST_P() 60 EXPECT_TRUE(detector.calculate(1000)); in TEST_P() 65 EXPECT_TRUE(detector.calculate(0)); in TEST_P() 66 EXPECT_TRUE(detector.calculate(1000)); in TEST_P() 80 EXPECT_EQ(mDefaultValue, detector.calculate(0)); in TEST_P() 82 EXPECT_EQ(mDefaultValue, detector.calculate(0)); in TEST_P() [all …]
|
D | HeadTrackingProcessor-test.cpp | 37 processor->calculate(0); in TEST() 60 processor->calculate(0); in TEST() 67 processor->calculate(0); in TEST() 72 processor->calculate(0); in TEST() 93 processor->calculate(0); in TEST() 98 processor->calculate(0); in TEST() 104 processor->calculate(0); in TEST() 119 processor->calculate(0); in TEST() 125 processor->calculate(0); in TEST() 129 processor->calculate(2); in TEST() [all …]
|
D | ScreenHeadFusion-test.cpp | 31 EXPECT_FALSE(fusion.calculate().has_value()); in TEST() 37 EXPECT_FALSE(fusion.calculate().has_value()); in TEST() 43 EXPECT_FALSE(fusion.calculate().has_value()); in TEST() 55 auto result = fusion.calculate(); in TEST() 61 result = fusion.calculate(); in TEST() 67 result = fusion.calculate(); in TEST()
|
D | ModeSelector-test.cpp | 35 selector.calculate(0); in TEST() 48 selector.calculate(0); in TEST() 60 selector.calculate(0); in TEST() 76 selector.calculate(0); in TEST() 92 selector.calculate(10); in TEST() 108 selector.calculate(101); in TEST() 123 selector.calculate(101); in TEST() 138 selector.calculate(0); in TEST() 156 selector.calculate(101); in TEST() 174 selector.calculate(101); in TEST()
|
D | HeadTrackingProcessor.cpp | 91 void calculate(int64_t timestamp) override { in calculate() function in android::media::__anon130e37b90111::HeadTrackingProcessorImpl 97 screenStable = mScreenStillnessDetector.calculate(timestamp); in calculate() 111 bool headStable = mHeadStillnessDetector.calculate(timestamp); in calculate() 121 auto maybeScreenToHead = mScreenHeadFusion.calculate(); in calculate() 130 mModeSelector.calculate(timestamp); in calculate()
|
D | ScreenHeadFusion.h | 58 std::optional<TimestampedPose> calculate();
|
D | ScreenHeadFusion.cpp | 30 std::optional<ScreenHeadFusion::TimestampedPose> ScreenHeadFusion::calculate() { in calculate() function in android::media::ScreenHeadFusion
|
D | StillnessDetector.h | 82 bool calculate(int64_t timestamp);
|
D | ModeSelector.h | 105 void calculate(int64_t timestamp);
|
D | StillnessDetector.cpp | 43 bool StillnessDetector::calculate(int64_t timestamp) { in calculate() function in android::media::StillnessDetector
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 97 assertEquals(RESULT_SKIP, new CalculateRequestBuilder().setActivity(null).calculate()); in testReturnsSkipWithEmptyActivity() 107 assertEquals(RESULT_CONTINUE, new CalculateRequestBuilder().calculate()); in testDefaultToPrimaryDisplayArea() 120 assertEquals(RESULT_CONTINUE, new CalculateRequestBuilder().calculate()); in testUsesPreviousDisplayAreaIfSet() 136 assertEquals(RESULT_CONTINUE, new CalculateRequestBuilder().setSource(source).calculate()); in testUsesSourcesDisplayAreaIfSet() 156 new CalculateRequestBuilder().setSource(source).setOptions(options).calculate()); in testUsesOptionsDisplayIdIfSet() 177 new CalculateRequestBuilder().setSource(source).setOptions(options).calculate()); in testUsesOptionsDisplayAreaTokenIfSet() 199 new CalculateRequestBuilder().setSource(source).setOptions(options).calculate()); in testUsesOptionsDisplayAreaFeatureIdIfSet() 220 .calculate()); in testUsesSourcesDisplayAreaIdPriorToTaskIfSet() 235 .calculate()); in testUsesTaskDisplayAreaIdIfSet() 258 .calculate()); in testUsesNoDisplaySourceHandoverDisplayIdIfSet() [all …]
|
D | DesktopModeLaunchParamsModifierTests.java | 78 assertEquals(RESULT_SKIP, new CalculateRequestBuilder().setTask(null).calculate()); in testReturnsSkipIfDesktopWindowingIsDisabled() 87 assertEquals(RESULT_SKIP, new CalculateRequestBuilder().setTask(null).calculate()); in testReturnsSkipIfDesktopWindowingIsEnabledOnUnsupportedDevice() 97 assertEquals(RESULT_CONTINUE, new CalculateRequestBuilder().setTask(task).calculate()); in testReturnsContinueIfDesktopWindowingIsEnabledAndUnsupportedDeviceOverridden() 105 assertEquals(RESULT_SKIP, new CalculateRequestBuilder().setTask(null).calculate()); in testReturnsSkipIfTaskIsNull() 115 PHASE_DISPLAY).calculate()); in testReturnsSkipIfNotBoundsPhase() 125 assertEquals(RESULT_SKIP, new CalculateRequestBuilder().setTask(task).calculate()); in testReturnsSkipIfTaskNotUsingActivityTypeStandardOrUndefined() 135 assertEquals(RESULT_CONTINUE, new CalculateRequestBuilder().setTask(task).calculate()); in testReturnsContinueIfTaskUsingActivityTypeStandard() 145 assertEquals(RESULT_CONTINUE, new CalculateRequestBuilder().setTask(task).calculate()); in testReturnsContinueIfTaskUsingActivityTypeUndefined() 156 assertEquals(RESULT_SKIP, new CalculateRequestBuilder().setTask(task).calculate()); in testReturnsSkipIfCurrentParamsHasBounds() 172 assertEquals(RESULT_CONTINUE, new CalculateRequestBuilder().setTask(task).calculate()); in testUsesDesiredBoundsIfEmptyLayoutAndActivityOptionsBounds() [all …]
|
D | LaunchParamsControllerTests.java | 95 mController.calculate(record.getTask(), layout, record, source, options, request, in testArgumentPropagation() 120 mController.calculate(activity.getTask(), null /*layout*/, activity, null /*source*/, in testStoredParamsRecovery() 140 mController.calculate(null /*task*/, null /*layout*/, null /*activity*/, in testEarlyExit() 159 mController.calculate(null /*task*/, null /*layout*/, null /*activity*/, in testRegistration() 169 mController.calculate(null /*task*/, null /*layout*/, null /*activity*/, in testRegistration() 196 mController.calculate(null /*task*/, null /*layout*/, null /*activity*/, null /*source*/, in testPassThrough() 222 mController.calculate(null /*task*/, null /*layout*/, null /*activity*/, null /*source*/, in testSkip() 241 mController.calculate(null /*task*/, null /*layout*/, vrActivity /*activity*/, in testVrPreferredDisplay() 248 mController.calculate(null /*task*/, null /*layout*/, vr2dActivity /*activity*/, in testVrPreferredDisplay() 251 mController.calculate(null /*task*/, null /*layout*/, null /*activity*/, null /*source*/, in testVrPreferredDisplay() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SystemUIBottomSheetDialog.kt | 90 .calculate() in onStart() 139 fun calculate(): Flow<Layout> in create() method 149 override fun calculate(): Flow<Layout> { in create() method in WindowLayout.LimitedEdgeToEdge
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | FlashlightPowerCalculator.java | 45 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate() method in FlashlightPowerCalculator 47 super.calculate(builder, batteryStats, rawRealtimeUs, rawUptimeUs, query); in calculate()
|
D | CameraPowerCalculator.java | 47 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate() method in CameraPowerCalculator 49 super.calculate(builder, batteryStats, rawRealtimeUs, rawUptimeUs, query); in calculate()
|
D | PhonePowerCalculator.java | 43 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate() method in PhonePowerCalculator
|
D | UserPowerCalculator.java | 41 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate() method in UserPowerCalculator
|
D | BatteryChargeCalculator.java | 36 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate() method in BatteryChargeCalculator
|
D | PowerCalculator.java | 53 public void calculate(BatteryUsageStats.Builder builder, BatteryStats batteryStats, in calculate() method in PowerCalculator
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | CarLaunchParamsModifierUpdatable.java | 50 int calculate(CalculateParams params); in calculate() method
|
/frameworks/base/proto/src/ |
D | altitude.proto | 34 // calculate a geoid height in meters. 37 // calculate a geoid height in meters.
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DesktopModeLaunchParamsModifier.java | 74 int result = calculate(task, layout, activity, source, options, request, phase, in onCalculate() 80 private int calculate(@Nullable Task task, @Nullable ActivityInfo.WindowLayout layout, in calculate() method in DesktopModeLaunchParamsModifier
|
D | LaunchParamsController.java | 81 void calculate(Task task, WindowLayout layout, ActivityRecord activity, ActivityRecord source, in calculate() method in LaunchParamsController 135 calculate(task, layout, activity, source, options, null /* request */, PHASE_BOUNDS, in layoutTask()
|
/frameworks/av/media/libheadtracking/include/media/ |
D | HeadTrackingProcessor.h | 83 virtual void calculate(int64_t timestamp) = 0;
|