Home
last modified time | relevance | path

Searched refs:calculate (Results 1 – 19 of 19) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/evict/
DSignalSizeCalculatorTest.java39 assertEquals(10, SignalSizeCalculator.calculate(createProtectedSignal("Key1", "Value1"))); in testCalculate()
42 15, SignalSizeCalculator.calculate(createProtectedSignal("Key2", "Value222222"))); in testCalculate()
47 assertEquals(0, SignalSizeCalculator.calculate(List.of())); in testCalculateList()
50 SignalSizeCalculator.calculate(List.of(createProtectedSignal("Key1", "Value1")))); in testCalculateList()
53 SignalSizeCalculator.calculate( in testCalculateList()
DFifoSignalEvictorTest.java69 int sizeOfSignalsInput = SignalSizeCalculator.calculate(signalInput); in testFifoEvict_signalEvicted()
70 int sizeOfSignalsOutput = SignalSizeCalculator.calculate(expectedOutput); in testFifoEvict_signalEvicted()
94 int sizeOfSignalsInput = SignalSizeCalculator.calculate(signalInput); in testFifoEvict_signalLargerThanMaxButWithinOversubscribe()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/evict/
DSignalSizeCalculator.java29 public static int calculate(@NonNull List<DBProtectedSignal> signalList) { in calculate() method in SignalSizeCalculator
30 return signalList.stream().mapToInt(SignalSizeCalculator::calculate).sum(); in calculate()
34 public static int calculate(@NonNull DBProtectedSignal signal) { in calculate() method in SignalSizeCalculator
DFifoSignalEvictor.java53 int currentSignalSize = SignalSizeCalculator.calculate(updatedSignals); in evict()
64 currentSignalSize -= SignalSizeCalculator.calculate(oldestSignal); in evict()
/packages/apps/Launcher3/src/com/android/launcher3/
DDevicePaddings.java165 return workspaceTopPadding.calculate(extraSpacePx); in getWorkspaceTopPadding()
169 return workspaceBottomPadding.calculate(extraSpacePx); in getWorkspaceBottomPadding()
173 return hotseatBottomPadding.calculate(extraSpacePx); in getHotseatBottomPadding()
215 public int calculate(int extraSpacePx) { in calculate() method in DevicePaddings.PaddingFormula
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlideshowView.java95 boolean requestRender = mTransitionAnimation.calculate(animTime); in render()
99 requestRender |= mPrevAnimation.calculate(animTime); in render()
109 requestRender |= mCurrentAnimation.calculate(animTime); in render()
DGLView.java226 if (mTransition != null && mTransition.calculate(AnimationTime.get())) { in render()
279 if (anim.calculate(AnimationTime.get())) { in renderChild()
DSlotView.java271 more |= mAnimation.calculate(animTime); in render()
621 return mVerticalPadding.calculate(animTime) | mHorizontalPadding.calculate(animTime); in advanceAnimation()
DPhotoFallbackEffect.java81 boolean more = calculate(AnimationTime.get()); in draw()
/packages/apps/Gallery2/src/com/android/gallery3d/anim/
DStateTransitionAnimation.java116 public boolean calculate(long currentTimeMillis) { in calculate() method in StateTransitionAnimation
117 boolean retval = super.calculate(currentTimeMillis); in calculate()
DAnimation.java80 public boolean calculate(long currentTimeMillis) { in calculate() method in Animation
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DPositionInCardList.kt66 fun calculate( in calculate() method
DSafetyCenterDashboardFragment.java282 PositionInCardList.calculate(isFirstElement, isLastElement), in addTopLevelEntry()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DLevenshteinDistanceTest.java46 assertEquals(expectedDistance, distance.calculate()); in verifyTargetOperations()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLevenshteinSuggestionFormatter.kt76 table.calculate() in findMatches()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.kt38 fun calculate(): Int { in calculate() method
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz