Home
last modified time | relevance | path

Searched refs:Offset (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DDelayMix_16x16.cpp33 LVM_INT16 Offset = *pOffset; in DelayMix_Float() local
38 temp = (LVM_FLOAT)(*dst + (LVM_FLOAT)delay[Offset]) / 2.0f; in DelayMix_Float()
42 delay[Offset] = *src; in DelayMix_Float()
43 Offset++; in DelayMix_Float()
47 if (Offset >= size) { in DelayMix_Float()
48 Offset = 0; in DelayMix_Float()
52 temp = (LVM_FLOAT)(*dst + (LVM_FLOAT)delay[Offset]) / 2.0f; in DelayMix_Float()
56 delay[Offset] = *src; in DelayMix_Float()
57 Offset++; in DelayMix_Float()
61 temp = (LVM_FLOAT)(*dst - (LVM_FLOAT)delay[Offset]) / 2.0f; in DelayMix_Float()
[all …]
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/transformation/
DEdgeTranslate.kt19 import androidx.compose.ui.geometry.Offset
32 ) : PropertyTransformation<Offset> {
39 value: Offset in transform()
40 ): Offset { in transform()
50 Offset(value.x, -elementSize.height.toFloat()) in transform()
52 Offset(value.x, 0f) in transform()
56 Offset(-elementSize.width.toFloat(), value.y) in transform()
58 Offset(0f, value.y) in transform()
62 Offset(value.x, sceneSize.height.toFloat()) in transform()
64 Offset(value.x, (sceneSize.height - elementSize.height).toFloat()) in transform()
[all …]
DAnchoredTranslate.kt19 import androidx.compose.ui.geometry.Offset
33 ) : PropertyTransformation<Offset> {
40 value: Offset, in transform()
41 ): Offset { in transform()
43 fun anchorOffsetIn(scene: SceneKey): Offset? { in transform()
55 Offset( in transform()
60 Offset( in transform()
DTranslate.kt19 import androidx.compose.ui.geometry.Offset
33 ) : PropertyTransformation<Offset> {
40 value: Offset, in transform()
41 ): Offset { in transform()
43 Offset( in transform()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_StereoEnhancer.cpp54 LVM_UINT16 Offset; in LVCS_SEnhancerInit() local
67 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_SEnhancerInit()
70 LVCS_SEMidCoefTable[Offset].A0, LVCS_SEMidCoefTable[Offset].A1, 0.0, in LVCS_SEnhancerInit()
71 LVCS_SEMidCoefTable[Offset].B1, 0.0}; in LVCS_SEnhancerInit()
75 Offset = (LVM_UINT16)(pParams->SampleRate); in LVCS_SEnhancerInit()
79 coefs = {pSESideCoefs[Offset].A0, pSESideCoefs[Offset].A1, pSESideCoefs[Offset].A2, in LVCS_SEnhancerInit()
80 pSESideCoefs[Offset].B1, pSESideCoefs[Offset].B2}; in LVCS_SEnhancerInit()
DLVCS_Equaliser.cpp58 LVM_UINT16 Offset; in LVCS_EqualiserInit() local
70 Offset = (LVM_UINT16)(pParams->SampleRate + (pParams->SpeakerType * (1 + LVM_FS_48000))); in LVCS_EqualiserInit()
74 pEqualiserCoefTable[Offset].A0, pEqualiserCoefTable[Offset].A1, in LVCS_EqualiserInit()
75 pEqualiserCoefTable[Offset].A2, pEqualiserCoefTable[Offset].B1, in LVCS_EqualiserInit()
76 pEqualiserCoefTable[Offset].B2}; in LVCS_EqualiserInit()
DLVCS_ReverbGenerator.cpp63 LVM_UINT16 Offset; in LVCS_ReverbGeneratorInit() local
88 Offset = (LVM_UINT16)pParams->SampleRate; in LVCS_ReverbGeneratorInit()
92 pReverbCoefTable[Offset].A0, pReverbCoefTable[Offset].A1, in LVCS_ReverbGeneratorInit()
93 pReverbCoefTable[Offset].A2, pReverbCoefTable[Offset].B1, in LVCS_ReverbGeneratorInit()
94 pReverbCoefTable[Offset].B2}; in LVCS_ReverbGeneratorInit()
DLVCS_Control.cpp76 LVM_INT16 Offset; in LVCS_Control() local
109 Offset = (LVM_INT16)(pParams->SpeakerType + in LVCS_Control()
112 pInstance->VolCorrect = pLVCS_VolCorrectTable[Offset]; in LVCS_Control()
119 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss); in LVCS_Control()
120 Gain = (LVM_FLOAT)pOutputGainTable[Offset].UnprocLoss * (Gain); in LVCS_Control()
156 Offset = (LVM_INT16)(pParams->SpeakerType + in LVCS_Control()
159 pInstance->VolCorrect = pLVCS_VolCorrectTable[Offset]; in LVCS_Control()
DLVCS_BypassMix.cpp68 LVM_UINT16 Offset; in LVCS_BypassMixInit() local
90 Offset = in LVCS_BypassMixInit()
97 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * pInstance->TransitionGain); in LVCS_BypassMixInit()
112 Gain = (LVM_FLOAT)(pOutputGainTable[Offset].Loss * in LVCS_BypassMixInit()
114 Gain = (LVM_FLOAT)pOutputGainTable[Offset].UnprocLoss * Gain; in LVCS_BypassMixInit()
127 pConfig->Output_Shift = pOutputGainTable[Offset].Shift; in LVCS_BypassMixInit()
/frameworks/compile/mclinker/include/mcld/Fragment/
DFragmentRef.h29 typedef uint64_t Offset; // FIXME: use SizeTraits<T>::Offset typedef
53 FragmentRef& assign(Fragment& pFrag, Offset pOffset = 0);
61 void memcpy(void* pDest, size_t pNBytes, Offset pOffset = 0) const;
70 Offset offset() const { return m_Offset; } in offset()
72 Offset getOutputOffset() const;
81 explicit FragmentRef(Fragment& pFrag, Offset pOffset = 0);
86 Offset m_Offset;
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DVec2.kt19 import androidx.compose.ui.geometry.Offset
28 typealias Vec2 = Offset
32 fun Vec2(x: Float, y: Float): Vec2 = Offset(x, y) in str()
54 fun Offset.Companion.makeWithAngleMag(a: Float, m: Float): Vec2 { in makeWithAngleMag() method
58 fun Vec2.rotate(angle: Float, origin: Vec2 = Vec2.Zero): Offset { in rotate()
61 Offset( in rotate()
DMainActivity.kt54 import androidx.compose.ui.geometry.Offset in <lambda>()
409 var cameraOffset by remember { mutableStateOf(Offset.Zero) } in Spaaaace()
434 drawRect(Colors.Eigengrau, Offset.Zero, size) in Spaaaace()
452 Offset( in Spaaaace()
521 start = Offset(x, visibleSpaceRectMeters.top), in Spaaaace()
522 end = Offset(x, visibleSpaceRectMeters.bottom), in Spaaaace()
532 start = Offset(visibleSpaceRectMeters.left, y), in Spaaaace()
533 end = Offset(visibleSpaceRectMeters.right, y), in Spaaaace()
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Control.cpp105 LVM_UINT16 Offset = in LVDBE_SetFilters() local
113 LVDBE_HPF_Table[Offset].A0, LVDBE_HPF_Table[Offset].A1, LVDBE_HPF_Table[Offset].A2, in LVDBE_SetFilters()
114 -(LVDBE_HPF_Table[Offset].B1), -(LVDBE_HPF_Table[Offset].B2)}; in LVDBE_SetFilters()
121 coefs = {LVDBE_BPF_Table[Offset].A0, 0.0, -(LVDBE_BPF_Table[Offset].A0), in LVDBE_SetFilters()
122 -(LVDBE_BPF_Table[Offset].B1), -(LVDBE_BPF_Table[Offset].B2)}; in LVDBE_SetFilters()
/frameworks/compile/libbcc/lib/
DRSX86TranslateGEPPass.cpp70 llvm::Value *Offset = nullptr; in computeGEPOffset() local
88 Offset = incrementOffset(Offset, Incr, GEP); in computeGEPOffset()
97 Offset = incrementOffset(Offset, Incr, GEP); in computeGEPOffset()
101 return Offset; in computeGEPOffset()
/frameworks/compile/mclinker/lib/Fragment/
DFragmentRef.cpp39 FragmentRef::FragmentRef(Fragment& pFrag, FragmentRef::Offset pOffset) in FragmentRef()
112 FragmentRef& FragmentRef::assign(Fragment& pFrag, FragmentRef::Offset pOffset) { in assign()
118 void FragmentRef::memcpy(void* pDest, size_t pNBytes, Offset pOffset) const { in memcpy()
150 FragmentRef::Offset FragmentRef::getOutputOffset() const { in getOutputOffset()
151 Offset result = 0; in getOutputOffset()
/frameworks/compile/slang/BitWriter_2_9_func/
DReaderWriter_2_9_func.h125 unsigned Offset = ( BufPtr[OffsetField ] | in SkipBitcodeWrapperHeader() local
135 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
137 BufPtr += Offset; in SkipBitcodeWrapperHeader()
/frameworks/compile/slang/BitWriter_2_9/
DReaderWriter_2_9.h125 unsigned Offset = ( BufPtr[OffsetField ] | in SkipBitcodeWrapperHeader() local
135 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
137 BufPtr += Offset; in SkipBitcodeWrapperHeader()
/frameworks/compile/slang/BitWriter_3_2/
DReaderWriter_3_2.h125 unsigned Offset = ( BufPtr[OffsetField ] | in SkipBitcodeWrapperHeader() local
135 if (Offset+Size > unsigned(BufEnd-BufPtr)) in SkipBitcodeWrapperHeader()
137 BufPtr += Offset; in SkipBitcodeWrapperHeader()
/frameworks/base/packages/SystemUI/compose/core/tests/src/com/android/compose/animation/scene/
DSwipeToSceneTest.kt27 import androidx.compose.ui.geometry.Offset
49 private val Density.middle: Offset
50 get() = Offset((LayoutWidth / 2).toPx(), (LayoutHeight / 2).toPx())
113 moveBy(Offset(-55.dp.toPx() - touchSlop, 0f), delayMillis = 1_000) in testDragWithPositionalThreshold()
146 moveBy(Offset(0f, 56.dp.toPx() + touchSlop), delayMillis = 1_000) in testDragWithPositionalThreshold()
195 end = middle - Offset(55.dp.toPx() + touchSlop, 0f), in testSwipeWithVelocityThreshold()
222 end = middle + Offset(0f, 55.dp.toPx() + touchSlop), in testSwipeWithVelocityThreshold()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/
DSwipeable.kt42 import androidx.compose.ui.geometry.Offset in <lambda>()
841 override fun onPreScroll(available: Offset, source: NestedScrollSource): Offset { in onPreScroll()
846 Offset.Zero in onPreScroll()
851 consumed: Offset, in onPostScroll()
852 available: Offset, in onPostScroll()
854 ): Offset { in onPostScroll()
858 Offset.Zero in onPostScroll()
863 val toFling = Offset(available.x, available.y).toFloat() in onPreFling()
874 performFling(velocity = Offset(available.x, available.y).toFloat()) in onPostFling()
878 private fun Float.toOffset(): Offset = Offset(0f, this)
[all …]
/frameworks/compile/mclinker/lib/Target/ARM/
DARMPLT.cpp125 int32_t Offset = (GOTEntryAddress - (PLTEntryAddress + 8)); in applyPLT1() local
127 Out[0] = arm_plt1[0] | ((Offset >> 20) & 0xFF); in applyPLT1()
128 Out[1] = arm_plt1[1] | ((Offset >> 12) & 0xFF); in applyPLT1()
129 Out[2] = arm_plt1[2] | (Offset & 0xFFF); in applyPLT1()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/ui/
DProgressBar.kt33 import androidx.compose.ui.geometry.Offset
75 topLeft = if (isLtr) Offset.Zero else Offset((1 - progress) * size.width, 0f), in DrawScope()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/
DSceneTransitions.kt21 import androidx.compose.ui.geometry.Offset in <lambda>()
117 var offset: PropertyTransformation<Offset>? = null in computeTransformations()
130 offset = root as PropertyTransformation<Offset> in computeTransformations()
173 val offset: PropertyTransformation<Offset>?,
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPasswordBouncer.kt38 import androidx.compose.ui.geometry.Offset
100 start = Offset(x = 0f, y = size.height - lineWidthPx), in PasswordBouncer()
101 end = Offset(size.width, y = size.height - lineWidthPx), in PasswordBouncer()
DPatternBouncer.kt36 import androidx.compose.ui.geometry.Offset in <lambda>()
192 var inputPosition: Offset? by remember { mutableStateOf(null) } in <lambda>()
241 Offset( in <lambda>()
289 ): Offset { in pixelOffset()
290 return Offset( in pixelOffset()

12