Home
last modified time | relevance | path

Searched refs:Params (Results 1 – 25 of 142) sorted by relevance

123456

/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Init.cpp74 pInstance->Params.CentreFrequency = LVDBE_CENTRE_55HZ; in LVDBE_Init()
75 pInstance->Params.EffectLevel = 0; in LVDBE_Init()
76 pInstance->Params.HeadroomdB = 0; in LVDBE_Init()
77 pInstance->Params.HPFSelect = LVDBE_HPF_OFF; in LVDBE_Init()
78 pInstance->Params.OperatingMode = LVDBE_OFF; in LVDBE_Init()
79 pInstance->Params.SampleRate = LVDBE_FS_8000; in LVDBE_Init()
80 pInstance->Params.VolumeControl = LVDBE_VOLUME_OFF; in LVDBE_Init()
81 pInstance->Params.VolumedB = 0; in LVDBE_Init()
82 pInstance->Params.NrChannels = FCC_2; in LVDBE_Init()
95 new android::audio_utils::BiquadFilter<LVM_FLOAT>(pInstance->Params.NrChannels)); in LVDBE_Init()
[all …]
DLVDBE_Control.cpp55 *pParams = pInstance->Params; in LVDBE_GetParameters()
233 LVDBE_MIXER_TC, (LVM_Fs_en)pInstance->Params.SampleRate, 2); in LVDBE_SetVolume()
280 if (pInstance->Params.NrChannels != pParams->NrChannels) { in LVDBE_Control()
287 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
288 (pInstance->Params.NrChannels != pParams->NrChannels) || in LVDBE_Control()
289 (pInstance->Params.CentreFrequency != pParams->CentreFrequency)) { in LVDBE_Control()
297 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
298 (pInstance->Params.EffectLevel != pParams->EffectLevel) || in LVDBE_Control()
299 (pInstance->Params.HPFSelect != pParams->HPFSelect)) { in LVDBE_Control()
312 if ((pInstance->Params.VolumedB != pParams->VolumedB) || in LVDBE_Control()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/menu/
DMenuLayoutPortraitTest.java77 mActivity.setParams(new MenuScenario.Params() in test1ShortItem()
84 mActivity.setParams(new MenuScenario.Params() in test1LongItem()
91 mActivity.setParams(new MenuScenario.Params() in test2LongItems()
99 mActivity.setParams(new MenuScenario.Params() in test2ShortItems()
107 mActivity.setParams(new MenuScenario.Params() in test3ShortItems()
116 mActivity.setParams(new MenuScenario.Params() in test3VarietyItems()
126 mActivity.setParams(new MenuScenario.Params() in test3VarietyItems2()
136 mActivity.setParams(new MenuScenario.Params() in test4LongItems()
146 mActivity.setParams(new MenuScenario.Params() in test4ShortItems()
156 mActivity.setParams(new MenuScenario.Params() in test4VarietyItems()
[all …]
DMenuLayoutLandscapeTest.java78 mActivity.setParams(new MenuScenario.Params() in test1ShortItem()
85 mActivity.setParams(new MenuScenario.Params() in test1LongItem()
92 mActivity.setParams(new MenuScenario.Params() in test2LongItems()
100 mActivity.setParams(new MenuScenario.Params() in test2ShortItems()
108 mActivity.setParams(new MenuScenario.Params() in test3ShortItems()
117 mActivity.setParams(new MenuScenario.Params() in test3VarietyItems()
126 mActivity.setParams(new MenuScenario.Params() in test3VarietyItems2()
135 mActivity.setParams(new MenuScenario.Params() in test4LongItems()
145 mActivity.setParams(new MenuScenario.Params() in test4ShortItems()
155 mActivity.setParams(new MenuScenario.Params() in test4VarietyItems()
[all …]
DMenuScenario.java31 private Params mParams = new Params();
48 public void setParams(Params params) { in setParams()
112 protected void onInitParams(Params params) { in onInitParams()
147 public static class Params { class in MenuScenario
154 public Params setShouldShowMenu(boolean shouldShowMenu) { in setShouldShowMenu()
159 public Params setNumItems(int numItems) { in setNumItems()
164 public Params setListenForClicks(boolean listenForClicks) { in setListenForClicks()
169 public Params setItemTitle(int itemPos, CharSequence title) { in setItemTitle()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DPrecomputedTextPerfTest.java56 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_NoStyled_Hyphenation()
73 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_NoStyled_NoHyphenation()
90 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_NoStyled_Hyphenation_WidthOnly()
107 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_NoStyled_NoHyphenation_WidthOnly()
124 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_Styled_Hyphenation()
141 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_Styled_NoHyphenation()
158 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_Styled_Hyphenation_WidthOnly()
175 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(PAINT) in testCreate_Styled_NoHyphenation_WidthOnly()
DPrecomputedTextMemoryUsageTest.java65 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_Latin_NoHyphenation()
83 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_Latin_Hyphenation()
101 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_CJK_NoHyphenation()
119 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_CJK_Hyphenation()
138 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_Arabic_NoHyphenation()
157 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_Arabic_Hyphenation()
174 final PrecomputedText.Params param = new PrecomputedText.Params.Builder(paint) in testMemoryUsage_Emoji()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Control.cpp51 *pParams = pInstance->Params; in LVCS_GetParameters()
79 LVCS_Modes_en OperatingModeSave = pInstance->Params.OperatingMode; in LVCS_Control()
81 if (pParams->SampleRate != pInstance->Params.SampleRate) { in LVCS_Control()
88 if (pInstance->Params.ReverbLevel != pParams->ReverbLevel) { in LVCS_Control()
95 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_Control()
96 (pInstance->Params.SpeakerType != pParams->SpeakerType)) { in LVCS_Control()
147 else if ((pInstance->Params.EffectLevel != pParams->EffectLevel) || in LVCS_Control()
148 (pInstance->Params.SourceFormat != pParams->SourceFormat)) { in LVCS_Control()
168 pInstance->Params = *pParams; in LVCS_Control()
174 pInstance->Params = *pParams; in LVCS_Control()
[all …]
DLVCS_Init.cpp72 pInstance->Params.OperatingMode = LVCS_OFF; in LVCS_Init()
73 pInstance->Params.SpeakerType = LVCS_SPEAKERTYPE_MAX; in LVCS_Init()
75 pInstance->Params.SourceFormat = LVCS_SOURCEMAX; in LVCS_Init()
76 pInstance->Params.CompressorMode = LVM_MODE_OFF; in LVCS_Init()
77 pInstance->Params.SampleRate = LVM_FS_INVALID; in LVCS_Init()
78 pInstance->Params.EffectLevel = 0; in LVCS_Init()
79 pInstance->Params.ReverbLevel = (LVM_UINT16)0x8000; in LVCS_Init()
DLVCS_ReverbGenerator.cpp73 if (pInstance->Params.SampleRate != pParams->SampleRate) /* Sample rate change test */ in LVCS_ReverbGeneratorInit()
105 if (pInstance->Params.ReverbLevel != pParams->ReverbLevel) { in LVCS_ReverbGeneratorInit()
155 LVM_INT32 NumChannels = pInstance->Params.NrChannels; in LVCS_ReverbGenerator()
157 (pInstance->Params.NrChannels == FCC_1) ? NumSamples : FCC_2 * NumSamples; in LVCS_ReverbGenerator()
177 if ((((LVCS_OutputDevice_en)pInstance->Params.SpeakerType == LVCS_HEADPHONE) || in LVCS_ReverbGenerator()
178 (pInstance->Params.SpeakerType == LVCS_EX_HEADPHONES) || in LVCS_ReverbGenerator()
179 (pInstance->Params.SourceFormat != LVCS_STEREO)) && in LVCS_ReverbGenerator()
181 ((pInstance->Params.OperatingMode & LVCS_REVERBSWITCH) != 0)) { in LVCS_ReverbGenerator()
/frameworks/base/core/tests/coretests/src/android/widget/
DGridScenario.java88 public static class Params { class in GridScenario
106 public Params setNumItems(int numItems) { in setNumItems()
118 public Params setStartingSelectionPosition(int startingSelectionPosition) { in setStartingSelectionPosition()
127 public Params setItemScreenSizeFactor(double itemScreenSizeFactor) { in setItemScreenSizeFactor()
138 public Params setPositionScreenSizeFactorOverride( in setPositionScreenSizeFactorOverride()
149 public Params setStackFromBottom(boolean stackFromBottom) { in setStackFromBottom()
158 public Params setMustFillScreen(boolean fillScreen) { in setMustFillScreen()
168 public Params setColumnWidth(int requestedWidth) { in setColumnWidth()
176 public Params setNumColumns(int numColumns) { in setNumColumns()
184 public Params setStretchMode(int stretchMode) { in setStretchMode()
[all …]
DListScenario.java93 public static class Params { class in ListScenario
117 public Params setNumItems(int numItems) { in setNumItems()
125 public Params setItemsFocusable(boolean itemsFocusable) { in setItemsFocusable()
137 public Params setStartingSelectionPosition(int startingSelectionPosition) { in setStartingSelectionPosition()
146 public Params setItemScreenSizeFactor(double itemScreenSizeFactor) { in setItemScreenSizeFactor()
157 public Params setPositionScreenSizeFactorOverride( in setPositionScreenSizeFactorOverride()
168 public Params setPositionUnselectable(int position) { in setPositionUnselectable()
176 public Params setPositionsUnselectable(int ...positions) { in setPositionsUnselectable()
188 public Params includeHeaderAboveList(boolean includeHeader) { in includeHeaderAboveList()
198 public Params setStackFromBottom(boolean stackFromBottom) { in setStackFromBottom()
[all …]
DScrollViewScenario.java88 public static class Params { class in ScrollViewScenario
100 public Params addTextView(final String text, float heightRatio) { in addTextView()
117 public Params addTextViews(int numViews, String textPrefix, float heightRatio) { in addTextViews()
129 public Params addButton(final String text, float heightRatio) { in addButton()
146 public Params addButtons(int numButtons, String textPrefix, float heightRatio) { in addButtons()
158 public Params addInternalSelectionView(final int numRows, float heightRatio) { in addInternalSelectionView()
172 …public Params addVerticalLLOfButtons(final String prefix, final int numButtons, float heightRatio)… in addVerticalLLOfButtons()
195 public Params addPaddingToScrollView(int topPadding, int bottomPadding) { in addPaddingToScrollView()
207 protected abstract void init(Params params); in init()
249 final Params params = new Params(); in onCreate()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Control.cpp70 *pParams = pInstance->Params; in LVEQNB_GetParameters()
181 pInstance->gain.resize(pInstance->Params.NBands); in LVEQNB_SetCoefficients()
185 for (i = 0; i < pInstance->Params.NBands; i++) { in LVEQNB_SetCoefficients()
196 LVEQNB_SinglePrecCoefs((LVM_UINT16)pInstance->Params.SampleRate, in LVEQNB_SetCoefficients()
272 OperatingModeSave = pInstance->Params.OperatingMode; in LVEQNB_Control()
275 if (pParams->SampleRate != pInstance->Params.SampleRate) { in LVEQNB_Control()
284 if ((pInstance->Params.NBands != pParams->NBands) || in LVEQNB_Control()
285 (pInstance->Params.OperatingMode != pParams->OperatingMode) || in LVEQNB_Control()
286 (pInstance->Params.pBandDefinition != pParams->pBandDefinition) || in LVEQNB_Control()
287 (pInstance->Params.SampleRate != pParams->SampleRate) || in LVEQNB_Control()
[all …]
DLVEQNB_Init.cpp81 pInstance->Params.NBands = 0; in LVEQNB_Init()
82 pInstance->Params.OperatingMode = LVEQNB_BYPASS; in LVEQNB_Init()
83 pInstance->Params.pBandDefinition = LVM_NULL; in LVEQNB_Init()
84 pInstance->Params.SampleRate = LVEQNB_FS_8000; in LVEQNB_Init()
85 pInstance->Params.SourceFormat = LVEQNB_STEREO; in LVEQNB_Init()
91 &pInstance->Params); in LVEQNB_Init()
/frameworks/av/media/codec2/hal/aidl/include/codec2/aidl/
DParamTypes.h124 const Params &blob);
136 Params *blob,
139 Params *blob,
142 Params *blob,
145 Params *blob,
159 const Params &blob);
162 const Params &blob);
174 const Params& blob);
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Init.cpp153 pInstance->Params.OperatingMode = LVM_MODE_OFF; in LVM_GetInstanceHandle()
154 pInstance->Params.SampleRate = LVM_FS_8000; in LVM_GetInstanceHandle()
155 pInstance->Params.SourceFormat = LVM_MONO; in LVM_GetInstanceHandle()
156 pInstance->Params.SpeakerType = LVM_HEADPHONES; in LVM_GetInstanceHandle()
157 pInstance->Params.VC_EffectLevel = 0; in LVM_GetInstanceHandle()
158 pInstance->Params.VC_Balance = 0; in LVM_GetInstanceHandle()
173 pInstance->Params.TE_OperatingMode = LVM_TE_OFF; in LVM_GetInstanceHandle()
174 pInstance->Params.TE_EffectLevel = 0; in LVM_GetInstanceHandle()
240 pInstance->Params.VirtualizerReverbLevel = 100; in LVM_GetInstanceHandle()
241 pInstance->Params.VirtualizerType = LVM_CONCERTSOUND; in LVM_GetInstanceHandle()
[all …]
/frameworks/av/media/codec2/hal/aidl/
DParamTypes-specialization.h30 using ::aidl::android::hardware::media::c2::Params;
60 struct _ParamsBlobHelper<Params> { typedef std::vector<uint8_t> BlobType; };
63 const std::vector<uint8_t> &GetBlob<Params>(const Params &params);
66 std::vector<uint8_t> *GetBlob<Params>(Params *params);
DParamTypes.cpp35 using ::aidl::android::hardware::media::c2::Params;
147 const std::vector<uint8_t> &GetBlob<Params>(const Params &params) { in GetBlob()
152 std::vector<uint8_t> *GetBlob<Params>(Params *params) { in GetBlob()
248 bool ParseParamsBlob(std::vector<C2Param*> *params, const Params &blob) { in ParseParamsBlob()
254 Params *blob, in CreateParamsBlob()
261 Params *blob, in CreateParamsBlob()
268 Params *blob, in CreateParamsBlob()
275 Params *blob, in CreateParamsBlob()
282 Params *blob, in CreateParamsBlob()
290 Params blob) { in CopyParamsFromBlob()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DBindStage.java40 public abstract class BindStage<Params> extends BindRequester {
42 private Map<NotificationEntry, Params> mContentParams = new ArrayMap<>();
69 public final @NonNull Params getStageParams(@NonNull NotificationEntry entry) { in getStageParams()
70 Params params = mContentParams.get(entry); in getStageParams()
91 public final @Nullable Params tryGetStageParams(@NonNull NotificationEntry entry) { in tryGetStageParams()
112 protected abstract Params newStageParams(); in newStageParams()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dfunction_traits.h37 template <typename... Params>
39 SignatureType<Return_(ConditionalRewrite<Args_, Params>...)>;
41 template <typename ReturnType, typename... Params>
44 ConditionalRewrite<Args_, Params>...)>;
47 typename... Params>
50 ConditionalRewrite<Args_, Params>...)>;
Dremote_method_type.h27 template <typename... Params>
28 using RewriteArgs = typename Traits::template RewriteArgs<Params...>;
30 template <typename ReturnType, typename... Params>
32 typename Traits::template RewriteSignature<ReturnType, Params...>;
35 typename... Params>
38 Params...>;
/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/
DPlatformCompatCommandNotInstalledTest.kt76 Params(enableDisable = null, targetSdk = 29, result = false), in <lambda>()
77 Params(enableDisable = null, targetSdk = 30, result = true), in <lambda>()
79 Params(enableDisable = true, targetSdk = 29, result = false), in <lambda>()
80 Params(enableDisable = true, targetSdk = 30, result = true), in <lambda>()
82 Params(enableDisable = false, targetSdk = 29, result = false), in <lambda>()
83 Params(enableDisable = false, targetSdk = 30, result = true) in <lambda>()
87 data class Params(val enableDisable: Boolean?, val targetSdk: Int, val result: Boolean) in <lambda>() dataClass
90 lateinit var params: Params in <lambda>()
/frameworks/native/libs/binder/include/binder/
DSafeInterface.h235 template <typename Class, typename Return, typename... Params>
236 struct ParamExtractor<Return (Class::*)(Params...)> {
237 using ParamTuple = std::tuple<Params...>;
239 template <typename Class, typename Return, typename... Params>
240 struct ParamExtractor<Return (Class::*)(Params...) const> {
241 using ParamTuple = std::tuple<Params...>;
358 template <typename... Args, typename... Params>
359 struct ArgsMatchParams<std::tuple<Args...>, std::tuple<Params...>> {
360 static_assert(sizeof...(Args) <= sizeof...(Params), "Too many arguments");
361 static_assert(sizeof...(Args) >= sizeof...(Params), "Not enough arguments");
[all …]
/frameworks/base/core/java/android/text/
DPrecomputedText.java88 public static final class Params { class in PrecomputedText
136 public Builder(@NonNull Params params) { in Builder()
205 public @NonNull Params build() { in build()
206 return new Params(mPaint, mLineBreakConfig, mTextDir, mBreakStrategy, in build()
214 public Params(@NonNull TextPaint paint, in Params() method in PrecomputedText.Params
321 if (o == null || !(o instanceof Params)) { in equals()
324 Params param = (Params) o; in equals()
326 param.mHyphenationFrequency, param.mLineBreakConfig) == Params.USABLE; in equals()
387 private final @NonNull Params mParams;
407 public static PrecomputedText create(@NonNull CharSequence text, @NonNull Params params) { in create()
[all …]

123456