Home
last modified time | relevance | path

Searched refs:initial (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/os/vibrator/
DStepSegmentTest.java99 StepSegment initial = new StepSegment(1f, 0, 0); in testScale_fullAmplitude() local
101 assertEquals(1f, initial.scale(1).getAmplitude(), TOLERANCE); in testScale_fullAmplitude()
102 assertEquals(0.34f, initial.scale(0.5f).getAmplitude(), TOLERANCE); in testScale_fullAmplitude()
104 assertEquals(1f, initial.scale(1.5f).getAmplitude(), TOLERANCE); in testScale_fullAmplitude()
105 assertEquals(0.53f, initial.scale(1.5f).scale(2 / 3f).getAmplitude(), TOLERANCE); in testScale_fullAmplitude()
107 assertEquals(0.71f, initial.scale(0.8f).getAmplitude(), TOLERANCE); in testScale_fullAmplitude()
108 assertEquals(0.84f, initial.scale(0.8f).scale(1.25f).getAmplitude(), TOLERANCE); in testScale_fullAmplitude()
113 StepSegment initial = new StepSegment(0.5f, 0, 0); in testScale_halfAmplitude() local
115 assertEquals(0.5f, initial.scale(1).getAmplitude(), TOLERANCE); in testScale_halfAmplitude()
116 assertEquals(0.17f, initial.scale(0.5f).getAmplitude(), TOLERANCE); in testScale_halfAmplitude()
[all …]
DPrimitiveSegmentTest.java91 PrimitiveSegment initial = new PrimitiveSegment( in testScale_fullPrimitiveScaleValue() local
94 assertEquals(1f, initial.scale(1).getScale(), TOLERANCE); in testScale_fullPrimitiveScaleValue()
95 assertEquals(0.34f, initial.scale(0.5f).getScale(), TOLERANCE); in testScale_fullPrimitiveScaleValue()
97 assertEquals(1f, initial.scale(1.5f).getScale(), TOLERANCE); in testScale_fullPrimitiveScaleValue()
98 assertEquals(0.53f, initial.scale(1.5f).scale(2 / 3f).getScale(), TOLERANCE); in testScale_fullPrimitiveScaleValue()
100 assertEquals(0.71f, initial.scale(0.8f).getScale(), TOLERANCE); in testScale_fullPrimitiveScaleValue()
101 assertEquals(0.84f, initial.scale(0.8f).scale(1.25f).getScale(), TOLERANCE); in testScale_fullPrimitiveScaleValue()
106 PrimitiveSegment initial = new PrimitiveSegment( in testScale_halfPrimitiveScaleValue() local
109 assertEquals(0.5f, initial.scale(1).getScale(), TOLERANCE); in testScale_halfPrimitiveScaleValue()
110 assertEquals(0.17f, initial.scale(0.5f).getScale(), TOLERANCE); in testScale_halfPrimitiveScaleValue()
[all …]
DRampSegmentTest.java97 RampSegment initial = new RampSegment(0, 1, 0, 0, 0); in testScale() local
99 assertEquals(0f, initial.scale(1).getStartAmplitude(), TOLERANCE); in testScale()
100 assertEquals(0f, initial.scale(0.5f).getStartAmplitude(), TOLERANCE); in testScale()
101 assertEquals(0f, initial.scale(1.5f).getStartAmplitude(), TOLERANCE); in testScale()
102 assertEquals(0f, initial.scale(1.5f).scale(2 / 3f).getStartAmplitude(), TOLERANCE); in testScale()
103 assertEquals(0f, initial.scale(0.8f).scale(1.25f).getStartAmplitude(), TOLERANCE); in testScale()
105 assertEquals(1f, initial.scale(1).getEndAmplitude(), TOLERANCE); in testScale()
106 assertEquals(0.34f, initial.scale(0.5f).getEndAmplitude(), TOLERANCE); in testScale()
108 assertEquals(1f, initial.scale(1.5f).getEndAmplitude(), TOLERANCE); in testScale()
109 assertEquals(0.53f, initial.scale(1.5f).scale(2 / 3f).getEndAmplitude(), TOLERANCE); in testScale()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationCoreApiTest.kt63 initial = { DomainVerificationRequest(massiveSet) }, in <lambda>()
74 initial = { in <lambda>()
98 initial = { in <lambda>()
131 initial = { DomainSet(massiveSet) }, in <lambda>()
144 val initial: () -> T, in <lambda>() constant in com.android.server.pm.test.verify.domain.DomainVerificationCoreApiTest.Companion.Parameter
188 val initial = parameter.initial() in <lambda>() constant
189 initial.writeToParcel(parcel, 0) in <lambda>()
192 val newInitial = parameter.initial() in <lambda>()
196 assertAll(initial, newInitial, unparceled) { value: Any, other: Any -> in <lambda>()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dbitfield.rscript22 // common initial sequence, and if the union object currently contains
24 // initial part of any of them anywhere that a declaration of the
26 // common initial sequence if corresponding members have compatible
28 // or more initial members."
30 // We want to ensure that the common initial sequences of exported
44 // A non-exported type that shares a common initial sequence with NoBitfield
Dreduce.rscript78 // accumulator has the distinguished initial value, and a float field
79 // for a non-initial value.
/frameworks/compile/slang/lit-tests/padding/
Dbitfield.rscript28 // common initial sequence, and if the union object currently contains
30 // initial part of any of them anywhere that a declaration of the
32 // common initial sequence if corresponding members have compatible
34 // or more initial members."
36 // We want to ensure that the common initial sequences of exported
50 // A non-exported type that shares a common initial sequence with NoBitfield
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dbitfield.rscript24 // common initial sequence, and if the union object currently contains
26 // initial part of any of them anywhere that a declaration of the
28 // common initial sequence if corresponding members have compatible
30 // or more initial members."
32 // We want to ensure that the common initial sequences of exported
46 // A non-exported type that shares a common initial sequence with NoBitfield
Dreduce.rscript80 // accumulator has the distinguished initial value, and a float field
81 // for a non-initial value.
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsEditingActivity.kt209 val initial = super.getRowCountForAccessibility(recycler, state) in setUpList() constant
210 return if (initial > 0) initial - 1 else initial in setUpList()
/frameworks/proto_logging/stats/enums/stats/mediametrics/
Dmediametrics.proto72 // Playback has not started (initial state)
74 // Playback is buffering in the background for initial playback start
76 // Playback is buffering in the foreground for initial playback start
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DSparseArrayUtils.kt58 initial: R, in foldToSparseArray()
68 val acc = sparseArray.get(key) ?: initial in foldToSparseArray()
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DConcurrentInterpreter.kt73 initial: T, in <lambda>()
89 val threadLocal = threadTransform(initial) in <lambda>()
/frameworks/compile/mclinker/lib/Support/Windows/
DSystem.inc44 /// srandom - set the initial seed value for future calls to random().
/frameworks/opt/net/ims/
DREADME.txt54 Manages all IMS calls which are established hereafter the initial 1-to-1 call is established.
95 Manages all calls which are established hereafter the initial 1-to-1 call is established.
103 Provides the interface to manage all calls which are established hereafter the initial
/frameworks/base/tools/codegen/src/com/android/codegen/
DFileInfo.kt213 val initial = Code(lines = classBounds.fileInfo.sourceLines.subList( in <lambda>() constant
219 val chunks = mutableListOf<CodeChunk>(initial) in <lambda>()
/frameworks/compile/mclinker/lib/Support/Unix/
DSystem.inc74 /// srandom - set the initial seed value for future calls to random().
/frameworks/base/core/java/android/companion/
DBluetoothLeDeviceFilter.java154 int initial = mRenameBytesReverseOrder ? endInclusive : startInclusive; in getDeviceDisplayName() local
156 for (int i = initial; startInclusive <= i && i <= endInclusive; i += step) { in getDeviceDisplayName()
/frameworks/av/media/libmedia/docs/
Dpaused.dot2 initial [label="INITIAL\n\
/frameworks/native/cmds/dumpstate/
Dbugreport-format.md96 For example, the initial version during _Android N_ development was
103 Similarly, if changes in the file format are made after the initial release of
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DFlattener.cpp188 size_t initial = mInitialLayerCounts.count(count) > 0 ? mInitialLayerCounts.at(count) : 0; in dump() local
189 base::StringAppendF(&result, " % 2zd: %zd\n", count, initial); in dump()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
Dnbody.rscript26 /* create initial conditions */
/frameworks/proto_logging/stats/enums/stats/connectivity/
Dnetwork_stack.proto79 // Fast initial Link setup
/frameworks/compile/mclinker/lib/Script/
DScriptParser.yy60 %initial-action
62 /* Initialize the initial location. */
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DTrackRecordTest.kt381 interpretTestSpec(spec, initial = ArrayTrackRecord(), in interpretTestSpec()

12