Home
last modified time | relevance | path

Searched refs:pivot (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/ui/util/
DMathHelpers.kt36 val pivot = in lerp() constant
38 start.pivot.isSpecified && stop.pivot.isSpecified -> in lerp()
39 lerp(start.pivot, stop.pivot, fraction) in lerp()
40 start.pivot.isSpecified -> start.pivot in lerp()
41 else -> stop.pivot in lerp()
46 pivot in lerp()
/frameworks/base/tools/aapt2/
DNameMangler.h81 size_t pivot = out_name->find('$'); in Unmangle() local
82 if (pivot == std::string::npos) { in Unmangle()
86 out_package->assign(out_name->data(), pivot); in Unmangle()
87 std::string new_name = out_name->substr(pivot + 1); in Unmangle()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/
DDrawScale.kt35 private val pivot: Offset = Offset.Unspecified, constant in com.android.compose.animation.scene.transformation.DrawScale
46 return Scale(scaleX, scaleY, pivot) in transform()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DElement.kt125 data class Scale(val scaleX: Float, val scaleY: Float, val pivot: Offset = Offset.Unspecified) { constant in com.android.compose.animation.scene.Scale
432 if (drawScale.pivot.isUnspecified) center else drawScale.pivot, in draw()
971 pivot = in size()
972 if (a.pivot.isUnspecified && b.pivot.isUnspecified) { in size()
975 a.pivot.specifiedOrCenter() - b.pivot.specifiedOrCenter() in size()
983 pivot = in size()
984 if (a.pivot.isUnspecified && b.pivot.isUnspecified) { in size()
987 a.pivot.specifiedOrCenter() + b.pivot.specifiedOrCenter() * bProgress in size()
DTransitionDslImpl.kt177 override fun scaleDraw(matcher: ElementMatcher, scaleX: Float, scaleY: Float, pivot: Offset) { in scaleDraw()
178 transformation(DrawScale(matcher, scaleX, scaleY, pivot)) in scaleDraw()
DTransitionDsl.kt376 pivot: Offset = Offset.Unspecified
/frameworks/base/core/java/android/widget/
DStackView.java924 float pivot = 0.4f;
925 if (r < pivot) {
926 return 0.85f * cubic(r / pivot);
928 return 0.85f * cubic(1 - (r - pivot) / (1 - pivot));
933 float pivot = 0.3f;
934 if (r > pivot) {
935 return (r - pivot) / (1 - pivot);
942 float pivot = 0.2f;
943 if (r < pivot) {
946 return (r - pivot) / (1 - pivot);
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DVisibleUniverse.kt154 rotateRad(radians = star.anim / 23f * PI2f, pivot = Vec2.Zero) { in drawStar()
170 rotateRad(radians = star.anim / -19f * PI2f, pivot = Vec2.Zero) { in drawStar()
234 rotateRad(angle, pivot = pos) { in ZoomedDrawScope()
275 rotateRad(landing.angle, pivot = v) { in ZoomedDrawScope()
/frameworks/base/cmds/idmap2/libidmap2/
DCommandLineOptions.cpp85 const auto pivot = std::partition(options_.begin(), options_.end(), [](const Option& opt) { in Parse() local
89 std::transform(options_.begin(), pivot, std::inserter(mandatory_opts, mandatory_opts.end()), in Parse()
/frameworks/native/libs/vr/libpdx_uds/
Dremote_method_tests.cpp47 const char pivot = std::isupper(c) ? 'A' : 'a'; in Rot13() local
48 return (c - pivot + 13) % 26 + pivot; in Rot13()
/frameworks/base/packages/SystemUI/
DAndroid.bp880 // TODO(b/294256649): pivot to using {.aapt.jar} and re-enable