Home
last modified time | relevance | path

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

12345

/frameworks/base/core/tests/coretests/src/android/view/menu/
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 …]
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 …]
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/Bass/src/
DLVDBE_Control.cpp56 *pParams = pInstance->Params; in LVDBE_GetParameters()
254 (LVM_Fs_en)pInstance->Params.SampleRate, in LVDBE_SetVolume()
305 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
306 (pInstance->Params.CentreFrequency != pParams->CentreFrequency)) in LVDBE_Control()
315 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
316 (pInstance->Params.EffectLevel != pParams->EffectLevel) || in LVDBE_Control()
317 (pInstance->Params.HPFSelect != pParams->HPFSelect)) in LVDBE_Control()
332 if ((pInstance->Params.VolumedB != pParams->VolumedB) || in LVDBE_Control()
333 (pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
334 (pInstance->Params.HeadroomdB != pParams->HeadroomdB) || in LVDBE_Control()
[all …]
DLVDBE_Init.cpp197 pInstance->Params.CentreFrequency = LVDBE_CENTRE_55HZ; in LVDBE_Init()
198 pInstance->Params.EffectLevel = 0; in LVDBE_Init()
199 pInstance->Params.HeadroomdB = 0; in LVDBE_Init()
200 pInstance->Params.HPFSelect = LVDBE_HPF_OFF; in LVDBE_Init()
201 pInstance->Params.OperatingMode = LVDBE_OFF; in LVDBE_Init()
202 pInstance->Params.SampleRate = LVDBE_FS_8000; in LVDBE_Init()
203 pInstance->Params.VolumeControl = LVDBE_VOLUME_OFF; in LVDBE_Init()
204 pInstance->Params.VolumedB = 0; in LVDBE_Init()
218 &pInstance->Params); in LVDBE_Init()
224 &pInstance->Params); in LVDBE_Init()
[all …]
DLVDBE_Process.cpp86 const LVM_INT32 NrChannels = pInstance->Params.NrChannels == 1 in LVDBE_Process()
87 ? 2 : pInstance->Params.NrChannels; in LVDBE_Process()
125 if ((pInstance->Params.OperatingMode == LVDBE_ON)|| in LVDBE_Process()
137 if (pInstance->Params.HPFSelect == LVDBE_HPF_ON) in LVDBE_Process()
207 if ((pInstance->Params.OperatingMode == LVDBE_OFF)|| in LVDBE_Process()
/frameworks/base/core/tests/coretests/src/android/util/
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.java98 public static class Params { class in ListScenario
122 public Params setNumItems(int numItems) { in setNumItems()
130 public Params setItemsFocusable(boolean itemsFocusable) { in setItemsFocusable()
142 public Params setStartingSelectionPosition(int startingSelectionPosition) { in setStartingSelectionPosition()
151 public Params setItemScreenSizeFactor(double itemScreenSizeFactor) { in setItemScreenSizeFactor()
162 public Params setPositionScreenSizeFactorOverride( in setPositionScreenSizeFactorOverride()
173 public Params setPositionUnselectable(int position) { in setPositionUnselectable()
181 public Params setPositionsUnselectable(int ...positions) { in setPositionsUnselectable()
193 public Params includeHeaderAboveList(boolean includeHeader) { in includeHeaderAboveList()
203 public Params setStackFromBottom(boolean stackFromBottom) { in setStackFromBottom()
[all …]
DScrollViewScenario.java87 public static class Params { class in ScrollViewScenario
99 public Params addTextView(final String text, float heightRatio) { in addTextView()
116 public Params addTextViews(int numViews, String textPrefix, float heightRatio) { in addTextViews()
128 public Params addButton(final String text, float heightRatio) { in addButton()
145 public Params addButtons(int numButtons, String textPrefix, float heightRatio) { in addButtons()
157 public Params addInternalSelectionView(final int numRows, float heightRatio) { in addInternalSelectionView()
171 …public Params addVerticalLLOfButtons(final String prefix, final int numButtons, float heightRatio)… in addVerticalLLOfButtons()
194 public Params addPaddingToScrollView(int topPadding, int bottomPadding) { in addPaddingToScrollView()
206 protected abstract void init(Params params); in init()
248 final Params params = new Params(); in onCreate()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Control.cpp54 *pParams = pInstance->Params; in LVCS_GetParameters()
84 LVCS_Modes_en OperatingModeSave = pInstance->Params.OperatingMode; in LVCS_Control()
86 if (pParams->SampleRate != pInstance->Params.SampleRate) in LVCS_Control()
94 if(pInstance->Params.ReverbLevel != pParams->ReverbLevel) in LVCS_Control()
102 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_Control()
103 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_Control()
158 else if ((pInstance->Params.EffectLevel != pParams->EffectLevel) || in LVCS_Control()
159 (pInstance->Params.SourceFormat != pParams->SourceFormat)) in LVCS_Control()
183 pInstance->Params = *pParams; in LVCS_Control()
189 pInstance->Params = *pParams; in LVCS_Control()
[all …]
DLVCS_Init.cpp179 pInstance->Params.OperatingMode = LVCS_OFF; in LVCS_Init()
180 pInstance->Params.SpeakerType = LVCS_SPEAKERTYPE_MAX; in LVCS_Init()
182 pInstance->Params.SourceFormat = LVCS_SOURCEMAX; in LVCS_Init()
183 pInstance->Params.CompressorMode = LVM_MODE_OFF; in LVCS_Init()
184 pInstance->Params.SampleRate = LVM_FS_INVALID; in LVCS_Init()
185 pInstance->Params.EffectLevel = 0; in LVCS_Init()
186 pInstance->Params.ReverbLevel = (LVM_UINT16)0x8000; in LVCS_Init()
DLVCS_ReverbGenerator.cpp84 if(pInstance->Params.SampleRate != pParams->SampleRate ) /* Sample rate change test */ in LVCS_ReverbGeneratorInit()
138 if(pInstance->Params.ReverbLevel != pParams->ReverbLevel) in LVCS_ReverbGeneratorInit()
218 if ((((LVCS_OutputDevice_en)pInstance->Params.SpeakerType == LVCS_HEADPHONE) || \ in LVCS_ReverbGenerator()
219 (pInstance->Params.SpeakerType == LVCS_EX_HEADPHONES) || in LVCS_ReverbGenerator()
220 (pInstance->Params.SourceFormat != LVCS_STEREO)) && in LVCS_ReverbGenerator()
222 ((pInstance->Params.OperatingMode & LVCS_REVERBSWITCH) !=0)) in LVCS_ReverbGenerator()
/frameworks/av/media/libeffects/lvm/lib/Eq/src/
DLVEQNB_Control.cpp73 *pParams = pInstance->Params; in LVEQNB_GetParameters()
198 for (i=0; i<pInstance->Params.NBands; i++) in LVEQNB_SetCoefficients()
213 LVEQNB_SinglePrecCoefs((LVM_UINT16)pInstance->Params.SampleRate, in LVEQNB_SetCoefficients()
302 OperatingModeSave = pInstance->Params.OperatingMode; in LVEQNB_Control()
305 if (pParams->SampleRate != pInstance->Params.SampleRate) in LVEQNB_Control()
311 if( (pInstance->Params.NBands != pParams->NBands ) || in LVEQNB_Control()
312 (pInstance->Params.OperatingMode != pParams->OperatingMode ) || in LVEQNB_Control()
313 (pInstance->Params.pBandDefinition != pParams->pBandDefinition ) || in LVEQNB_Control()
314 (pInstance->Params.SampleRate != pParams->SampleRate ) || in LVEQNB_Control()
315 (pInstance->Params.SourceFormat != pParams->SourceFormat )) in LVEQNB_Control()
[all …]
/frameworks/base/core/java/android/text/
DPrecomputedText.java85 public static final class Params { class in PrecomputedText
127 public Builder(@NonNull Params params) { in Builder()
183 public @NonNull Params build() { in build()
184 return new Params(mPaint, mTextDir, mBreakStrategy, mHyphenationFrequency); in build()
191 public Params(@NonNull TextPaint paint, @NonNull TextDirectionHeuristic textDir, in Params() method in PrecomputedText.Params
283 if (o == null || !(o instanceof Params)) { in equals()
286 Params param = (Params) o; in equals()
288 param.mHyphenationFrequency) == Params.USABLE; in equals()
344 private final @NonNull Params mParams;
364 public static PrecomputedText create(@NonNull CharSequence text, @NonNull Params params) { in create()
[all …]
/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/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/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Init.cpp630 pInstance->Params.OperatingMode = LVM_MODE_OFF; in LVM_GetInstanceHandle()
631 pInstance->Params.SampleRate = LVM_FS_8000; in LVM_GetInstanceHandle()
632 pInstance->Params.SourceFormat = LVM_MONO; in LVM_GetInstanceHandle()
633 pInstance->Params.SpeakerType = LVM_HEADPHONES; in LVM_GetInstanceHandle()
634 pInstance->Params.VC_EffectLevel = 0; in LVM_GetInstanceHandle()
635 pInstance->Params.VC_Balance = 0; in LVM_GetInstanceHandle()
659 pInstance->Params.TE_OperatingMode = LVM_TE_OFF; in LVM_GetInstanceHandle()
660 pInstance->Params.TE_EffectLevel = 0; in LVM_GetInstanceHandle()
723 pInstance->Params.VirtualizerReverbLevel = 100; in LVM_GetInstanceHandle()
724 pInstance->Params.VirtualizerType = LVM_CONCERTSOUND; in LVM_GetInstanceHandle()
[all …]
/frameworks/base/core/java/android/os/
DAsyncTask.java199 public abstract class AsyncTask<Params, Progress, Result> {
284 private final WorkerRunnable<Params, Result> mWorker;
387 mWorker = new WorkerRunnable<Params, Result>() { in AsyncTask()
468 protected abstract Result doInBackground(Params... params); in doInBackground()
670 public final AsyncTask<Params, Progress, Result> execute(Params... params) { in execute()
708 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor()
709 Params... params) { in executeOnExecutor()
797 private static abstract class WorkerRunnable<Params, Result> implements Callable<Result> {
798 Params[] mParams;
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Control.cpp170 LVPSA_ControlParams_t Params; in LVPSA_ApplyNewSettings() local
180 Params = pInst->NewParams; in LVPSA_ApplyNewSettings()
184 if(Params.Fs != pInst->CurrentParams.Fs) in LVPSA_ApplyNewSettings()
186 pInst->CurrentParams.Fs = Params.Fs; in LVPSA_ApplyNewSettings()
206 LVPSA_SetBPFiltersType(pInst, &Params); in LVPSA_ApplyNewSettings()
207 LVPSA_SetBPFCoefficients(pInst, &Params); in LVPSA_ApplyNewSettings()
208 LVPSA_SetQPFCoefficients(pInst, &Params); in LVPSA_ApplyNewSettings()
210 pInst->nSamplesBufferUpdate = (LVM_UINT16)LVPSA_nSamplesBufferUpdate[Params.Fs]; in LVPSA_ApplyNewSettings()
212 pInst->DownSamplingFactor = LVPSA_DownSamplingFactor[Params.Fs]; in LVPSA_ApplyNewSettings()
225 if(Params.LevelDetectionSpeed != pInst->CurrentParams.LevelDetectionSpeed) in LVPSA_ApplyNewSettings()
[all …]
/frameworks/base/libs/hwui/utils/
DLinearAllocator.h70 template <class T, typename... Params>
71 T* create(Params&&... params) { in create()
72 T* ret = new (allocImpl(sizeof(T))) T(std::forward<Params>(params)...); in create()
80 template <class T, typename... Params>
81 T* create_trivial(Params&&... params) { in create_trivial()
84 return new (allocImpl(sizeof(T))) T(std::forward<Params>(params)...); in create_trivial()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewPrecomputedTextPerfTest.java129 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testNewLayout_PrecomputedText()
151 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testNewLayout_PrecomputedText_Selectable()
209 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testSetText_PrecomputedText()
229 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testSetText_PrecomputedText_Selectable()
292 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testOnMeasure_PrecomputedText()
315 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testOnMeasure_PrecomputedText_Selectable()
393 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testOnDraw_PrecomputedText()
422 final PrecomputedText.Params params = new PrecomputedText.Params.Builder(PAINT) in testOnDraw_PrecomputedText_Selectable()
/frameworks/av/media/bufferpool/2.0/tests/
Dallocator.cpp21 union Params { union
26 Params() : data{0} {} in Params() function
27 Params(uint32_t size) in Params() function
128 Params ashmemParams; in allocate()
129 memcpy(&ashmemParams, params.data(), std::min(sizeof(Params), params.size())); in allocate()
206 Params ashmemParams(kAllocationSize); in getTestAllocatorParams()

12345