Home
last modified time | relevance | path

Searched refs:multiplier (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
DExponentialBackoff.java61 int multiplier, in ExponentialBackoff() argument
64 this(initialDelayMs, maximumDelayMs, multiplier, new Handler(looper), runnable); in ExponentialBackoff()
70 int multiplier, in ExponentialBackoff() argument
76 mMultiplier = multiplier; in ExponentialBackoff()
/frameworks/base/services/core/java/com/android/server/wm/
DLetterboxConfiguration.java720 void setLetterboxHorizontalPositionMultiplier(float multiplier) { in setLetterboxHorizontalPositionMultiplier() argument
721 mLetterboxHorizontalPositionMultiplier = assertValidMultiplier(multiplier, in setLetterboxHorizontalPositionMultiplier()
730 void setLetterboxVerticalPositionMultiplier(float multiplier) { in setLetterboxVerticalPositionMultiplier() argument
731 mLetterboxVerticalPositionMultiplier = assertValidMultiplier(multiplier, in setLetterboxVerticalPositionMultiplier()
759 void setLetterboxTabletopModePositionMultiplier(float multiplier) { in setLetterboxTabletopModePositionMultiplier() argument
760 mLetterboxTabletopModePositionMultiplier = assertValidMultiplier(multiplier, in setLetterboxTabletopModePositionMultiplier()
770 void setLetterboxBookModePositionMultiplier(float multiplier) { in setLetterboxBookModePositionMultiplier() argument
771 mLetterboxBookModePositionMultiplier = assertValidMultiplier(multiplier, in setLetterboxBookModePositionMultiplier()
1418 private float assertValidMultiplier(float multiplier, String multiplierName) in assertValidMultiplier() argument
1420 if (multiplier < 0.0f || multiplier > 1.0f) { in assertValidMultiplier()
[all …]
DWindowManagerShellCommand.java838 final float multiplier; in runSetLetterboxHorizontalPositionMultiplier() local
841 multiplier = Float.parseFloat(arg); in runSetLetterboxHorizontalPositionMultiplier()
852 mLetterboxConfiguration.setLetterboxHorizontalPositionMultiplier(multiplier); in runSetLetterboxHorizontalPositionMultiplier()
862 final float multiplier; in runSetLetterboxVerticalPositionMultiplier() local
865 multiplier = Float.parseFloat(arg); in runSetLetterboxVerticalPositionMultiplier()
876 mLetterboxConfiguration.setLetterboxVerticalPositionMultiplier(multiplier); in runSetLetterboxVerticalPositionMultiplier()
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Drain_constants.agsl25 // The multiplier for the tint in the drops.
27 // The multiplier for the highlight of the drops.
29 // The multiplier for the contact shadow of the drops.
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/animation/
DUnfoldConstantTranslateAnimator.kt76 view.get()?.let { func(it, xTrans * direction.multiplier * rtlMultiplier) } in <lambda>()
116 enum class Direction(val multiplier: Float) { in <lambda>() constant in com.android.systemui.shared.animation.UnfoldConstantTranslateAnimator.Direction
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DGlowingCard.kt40 fun setGlowIntensity(multiplier: Float) { in setGlowIntensity()
41 COLOR_MAXIMIZER = multiplier in setGlowIntensity()
/frameworks/base/core/tests/coretests/src/android/content/res/
DFontScaleConverterFactoryTest.kt275 val multiplier = 1f / step in generateSequenceOfFractions() constant
276 val start = floor(range.start * multiplier).toInt() in generateSequenceOfFractions()
277 val endInclusive = ceil(range.endInclusive * multiplier).toInt() in generateSequenceOfFractions()
280 .map{ it.toFloat() / multiplier } in generateSequenceOfFractions()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/animation/
DUnfoldConstantTranslateAnimatorTest.kt171 private val START = Direction.START.multiplier.toInt() in <lambda>()
172 private val END = Direction.END.multiplier.toInt() in <lambda>()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp650 for (int64_t multiplier = -VsyncEventData::kFrameTimelinesCapacity + 1; in generateFrameTimeline() local
651 currentIndex < VsyncEventData::kFrameTimelinesCapacity; multiplier++) { in generateFrameTimeline()
652 nsecs_t deadlineTimestamp = preferredDeadlineTimestamp + multiplier * frameInterval; in generateFrameTimeline()
659 preferredExpectedPresentationTime + multiplier * frameInterval; in generateFrameTimeline()
667 multiplier, frameInterval, in generateFrameTimeline()
674 if (multiplier == 0) { in generateFrameTimeline()
DRefreshRateSelector.cpp316 int multiplier = 1; in calculateNonExactMatchingDefaultLayerScoreLocked() local
318 multiplier++; in calculateNonExactMatchingDefaultLayerScoreLocked()
319 actualLayerPeriod = displayPeriod * multiplier; in calculateNonExactMatchingDefaultLayerScoreLocked()
361 const float multiplier = refreshRate.getValue() / layer.desiredRefreshRate.getValue(); in calculateNonExactMatchingLayerScoreLocked() local
368 if (multiplier >= kMinMultiplier && in calculateNonExactMatchingLayerScoreLocked()
1585 const auto multiplier = std::round(bigger.getValue() / smaller.getValue()); in isFractionalPairOrMultiple() local
1587 return isApproxEqual(bigger, Fps::fromValue(smaller.getValue() * multiplier / kCoef)) || in isFractionalPairOrMultiple()
1588 isApproxEqual(bigger, Fps::fromValue(smaller.getValue() * multiplier * kCoef)); in isFractionalPairOrMultiple()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java414 final float multiplier = getParent().canViewBeDismissed() in getMinimumSwipeDistance() local
417 return mHorizSpaceForIcon * multiplier; in getMinimumSwipeDistance()
/frameworks/av/services/audioflinger/
DThreads.cpp3222 double multiplier = 1.0; in readOutputParameters_l() local
3235 multiplier = (double) minNormalFrameCount / (double) mFrameCount; in readOutputParameters_l()
3236 if (multiplier <= 1.0) { in readOutputParameters_l()
3237 multiplier = 1.0; in readOutputParameters_l()
3238 } else if (multiplier <= 2.0) { in readOutputParameters_l()
3240 multiplier = 2.0; in readOutputParameters_l()
3242 multiplier = (double) maxNormalFrameCount / (double) mFrameCount; in readOutputParameters_l()
3245 multiplier = floor(multiplier); in readOutputParameters_l()
3248 mNormalFrameCount = multiplier * mFrameCount; in readOutputParameters_l()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java3000 long multiplier = 1; in runTrimCaches() local
3005 multiplier = 1024L; in runTrimCaches()
3007 multiplier = 1024L*1024L; in runTrimCaches()
3009 multiplier = 1024L*1024L*1024L; in runTrimCaches()
3018 sizeVal = Long.parseLong(size) * multiplier; in runTrimCaches()
/frameworks/base/core/java/android/text/
DLayout.java3866 public Builder setLineSpacingMultiplier(@FloatRange(from = 0) float multiplier) { in setLineSpacingMultiplier()
3867 mSpacingMult = multiplier; in setLineSpacingMultiplier()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...