Home
last modified time | relevance | path

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

1234

/frameworks/av/libvideoeditor/vss/mcs/src/
DM4MCS_VideoPreProcessing.c126 M4AIR_Params Params; in M4MCS_intApplyVPP() local
169 Params.m_inputCoord.m_x = 0; in M4MCS_intApplyVPP()
170 Params.m_inputCoord.m_y = 0; in M4MCS_intApplyVPP()
171 Params.m_inputSize.m_height = pC->pPreResizeFrame->u_height; in M4MCS_intApplyVPP()
172 Params.m_inputSize.m_width = pC->pPreResizeFrame->u_width; in M4MCS_intApplyVPP()
173 Params.m_outputSize.m_width = pPlaneOut->u_width; in M4MCS_intApplyVPP()
174 Params.m_outputSize.m_height = pPlaneOut->u_height; in M4MCS_intApplyVPP()
175 Params.m_bOutputStripe = M4OSA_FALSE; in M4MCS_intApplyVPP()
176 Params.m_outputOrientation = M4COMMON_kOrientationTopLeft; in M4MCS_intApplyVPP()
242 Params.m_outputSize.m_width = pPlaneOut->u_width; in M4MCS_intApplyVPP()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/menu/
DMenuLayoutLandscapeTest.java79 mActivity.setParams(new MenuScenario.Params() in test1ShortItem()
86 mActivity.setParams(new MenuScenario.Params() in test1LongItem()
93 mActivity.setParams(new MenuScenario.Params() in test2LongItems()
101 mActivity.setParams(new MenuScenario.Params() in test2ShortItems()
109 mActivity.setParams(new MenuScenario.Params() in test3ShortItems()
118 mActivity.setParams(new MenuScenario.Params() in test3VarietyItems()
127 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 …]
DMenuLayoutPortraitTest.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()
127 mActivity.setParams(new MenuScenario.Params() in test3VarietyItems2()
137 mActivity.setParams(new MenuScenario.Params() in test4LongItems()
147 mActivity.setParams(new MenuScenario.Params() in test4ShortItems()
157 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()
DMenuLayout.java19 import android.view.menu.MenuScenario.Params;
32 protected void onInitParams(Params params) { in onInitParams()
/frameworks/av/libvideoeditor/vss/src/
DM4xVSS_internal.c85 M4MCS_OutputParams Params; in M4xVSS_internalStartTranscoding() local
121 Params.OutputFileType = xVSS_context->pMCScurrentParams->OutputFileType; in M4xVSS_internalStartTranscoding()
122 Params.OutputVideoFormat = xVSS_context->pMCScurrentParams->OutputVideoFormat; in M4xVSS_internalStartTranscoding()
123 Params.outputVideoProfile= xVSS_context->pMCScurrentParams->outputVideoProfile; in M4xVSS_internalStartTranscoding()
124 Params.outputVideoLevel = xVSS_context->pMCScurrentParams->outputVideoLevel; in M4xVSS_internalStartTranscoding()
125 Params.OutputVideoFrameSize = xVSS_context->pMCScurrentParams->OutputVideoFrameSize; in M4xVSS_internalStartTranscoding()
126 Params.OutputVideoFrameRate = xVSS_context->pMCScurrentParams->OutputVideoFrameRate; in M4xVSS_internalStartTranscoding()
127 Params.OutputAudioFormat = xVSS_context->pMCScurrentParams->OutputAudioFormat; in M4xVSS_internalStartTranscoding()
128 Params.OutputAudioSamplingFrequency = in M4xVSS_internalStartTranscoding()
130 Params.bAudioMono = xVSS_context->pMCScurrentParams->bAudioMono; in M4xVSS_internalStartTranscoding()
[all …]
/frameworks/av/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Control.c56 *pParams = pInstance->Params; in LVDBE_GetParameters()
265 (LVM_Fs_en)pInstance->Params.SampleRate, in LVDBE_SetVolume()
318 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
319 (pInstance->Params.CentreFrequency != pParams->CentreFrequency)) in LVDBE_Control()
329 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
330 (pInstance->Params.EffectLevel != pParams->EffectLevel) || in LVDBE_Control()
331 (pInstance->Params.HPFSelect != pParams->HPFSelect)) in LVDBE_Control()
349 if ((pInstance->Params.VolumedB != pParams->VolumedB) || in LVDBE_Control()
350 (pInstance->Params.SampleRate != pParams->SampleRate) || in LVDBE_Control()
351 (pInstance->Params.HeadroomdB != pParams->HeadroomdB) || in LVDBE_Control()
[all …]
DLVDBE_Init.c203 pInstance->Params.CentreFrequency = LVDBE_CENTRE_55HZ; in LVDBE_Init()
204 pInstance->Params.EffectLevel = 0; in LVDBE_Init()
205 pInstance->Params.HeadroomdB = 0; in LVDBE_Init()
206 pInstance->Params.HPFSelect = LVDBE_HPF_OFF; in LVDBE_Init()
207 pInstance->Params.OperatingMode = LVDBE_OFF; in LVDBE_Init()
208 pInstance->Params.SampleRate = LVDBE_FS_8000; in LVDBE_Init()
209 pInstance->Params.VolumeControl = LVDBE_VOLUME_OFF; in LVDBE_Init()
210 pInstance->Params.VolumedB = 0; in LVDBE_Init()
224 &pInstance->Params); in LVDBE_Init()
231 &pInstance->Params); in LVDBE_Init()
[all …]
DLVDBE_Process.c106 if ((pInstance->Params.OperatingMode == LVDBE_ON)|| in LVDBE_Process()
124 if (pInstance->Params.HPFSelect == LVDBE_HPF_ON) in LVDBE_Process()
171 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.java97 public static class Params { class in ListScenario
121 public Params setNumItems(int numItems) { in setNumItems()
129 public Params setItemsFocusable(boolean itemsFocusable) { in setItemsFocusable()
141 public Params setStartingSelectionPosition(int startingSelectionPosition) { in setStartingSelectionPosition()
150 public Params setItemScreenSizeFactor(double itemScreenSizeFactor) { in setItemScreenSizeFactor()
161 public Params setPositionScreenSizeFactorOverride( in setPositionScreenSizeFactorOverride()
172 public Params setPositionUnselectable(int position) { in setPositionUnselectable()
180 public Params setPositionsUnselectable(int ...positions) { in setPositionsUnselectable()
192 public Params includeHeaderAboveList(boolean includeHeader) { in includeHeaderAboveList()
202 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/Eq/src/
DLVEQNB_Control.c74 *pParams = pInstance->Params; in LVEQNB_GetParameters()
224 for (i=0; i<pInstance->Params.NBands; i++) in LVEQNB_SetCoefficients()
240 LVEQNB_DoublePrecCoefs((LVM_UINT16)pInstance->Params.SampleRate, in LVEQNB_SetCoefficients()
260 LVEQNB_SinglePrecCoefs((LVM_UINT16)pInstance->Params.SampleRate, in LVEQNB_SetCoefficients()
354 OperatingModeSave = pInstance->Params.OperatingMode; in LVEQNB_Control()
357 if (pParams->SampleRate != pInstance->Params.SampleRate) in LVEQNB_Control()
364 if( (pInstance->Params.NBands != pParams->NBands ) || in LVEQNB_Control()
365 (pInstance->Params.OperatingMode != pParams->OperatingMode ) || in LVEQNB_Control()
366 (pInstance->Params.pBandDefinition != pParams->pBandDefinition ) || in LVEQNB_Control()
367 (pInstance->Params.SampleRate != pParams->SampleRate ) || in LVEQNB_Control()
[all …]
DLVEQNB_Init.c287 pInstance->Params.NBands = 0; in LVEQNB_Init()
288 pInstance->Params.OperatingMode = LVEQNB_BYPASS; in LVEQNB_Init()
289 pInstance->Params.pBandDefinition = LVM_NULL; in LVEQNB_Init()
290 pInstance->Params.SampleRate = LVEQNB_FS_8000; in LVEQNB_Init()
291 pInstance->Params.SourceFormat = LVEQNB_STEREO; in LVEQNB_Init()
297 &pInstance->Params); in LVEQNB_Init()
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_Control.c54 *pParams = pInstance->Params; in LVCS_GetParameters()
85 LVCS_Modes_en OperatingModeSave = pInstance->Params.OperatingMode; in LVCS_Control()
87 if (pParams->SampleRate != pInstance->Params.SampleRate) in LVCS_Control()
95 if(pInstance->Params.ReverbLevel != pParams->ReverbLevel) in LVCS_Control()
103 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_Control()
104 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_Control()
165 else if ((pInstance->Params.EffectLevel != pParams->EffectLevel) || in LVCS_Control()
166 (pInstance->Params.SourceFormat != pParams->SourceFormat)) in LVCS_Control()
190 pInstance->Params = *pParams; in LVCS_Control()
196 pInstance->Params = *pParams; in LVCS_Control()
[all …]
DLVCS_Init.c182 pInstance->Params.OperatingMode = LVCS_OFF; in LVCS_Init()
183 pInstance->Params.SpeakerType = LVCS_SPEAKERTYPE_MAX; in LVCS_Init()
185 pInstance->Params.SourceFormat = LVCS_SOURCEMAX; in LVCS_Init()
186 pInstance->Params.CompressorMode = LVM_MODE_OFF; in LVCS_Init()
187 pInstance->Params.SampleRate = LVM_FS_INVALID; in LVCS_Init()
188 pInstance->Params.EffectLevel = 0; in LVCS_Init()
189 pInstance->Params.ReverbLevel = (LVM_UINT16)0x8000; in LVCS_Init()
DLVCS_ReverbGenerator.c79 if(pInstance->Params.SampleRate != pParams->SampleRate ) /* Sample rate change test */ in LVCS_ReverbGeneratorInit()
134 if(pInstance->Params.ReverbLevel != pParams->ReverbLevel) in LVCS_ReverbGeneratorInit()
212 …if (((pInstance->Params.SpeakerType == LVCS_HEADPHONE) || /* Disable when CS4MS in stere… in LVCS_ReverbGenerator()
213 (pInstance->Params.SpeakerType == LVCS_EX_HEADPHONES) || in LVCS_ReverbGenerator()
214 (pInstance->Params.SourceFormat != LVCS_STEREO)) && in LVCS_ReverbGenerator()
215 ((pInstance->Params.OperatingMode & LVCS_REVERBSWITCH) !=0)) /* For validation testing */ in LVCS_ReverbGenerator()
DLVCS_Process.c184 if (pInstance->Params.OperatingMode != LVCS_OFF) in LVCS_Process()
198 …if ((pInstance->Params.OperatingMode == LVCS_ON)&&(pInstance->Params.CompressorMode == LVM_MODE_ON… in LVCS_Process()
294 &pInstance->Params); in LVCS_Process()
DLVCS_StereoEnhancer.c69 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_SEnhancerInit()
70 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_SEnhancerInit()
195 if ((pInstance->Params.OperatingMode & LVCS_STEREOENHANCESWITCH) != 0) in LVCS_StereoEnhancer()
227 if (pInstance->Params.SourceFormat == LVCS_STEREO) in LVCS_StereoEnhancer()
DLVCS_Equaliser.c72 if ((pInstance->Params.SampleRate != pParams->SampleRate) || in LVCS_EqualiserInit()
73 (pInstance->Params.SpeakerType != pParams->SpeakerType)) in LVCS_EqualiserInit()
149 if ((pInstance->Params.OperatingMode & LVCS_EQUALISERSWITCH) != 0) in LVCS_Equaliser()
/frameworks/support/v4/java/android/support/v4/content/
DModernAsyncTask.java47 abstract class ModernAsyncTask<Params, Progress, Result> {
78 private final WorkerRunnable<Params, Result> mWorker;
118 mWorker = new WorkerRunnable<Params, Result>() { in ModernAsyncTask()
188 protected abstract Result doInBackground(Params... params); in doInBackground()
370 public final ModernAsyncTask<Params, Progress, Result> execute(Params... params) { in execute()
404 public final ModernAsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor()
405 Params... params) { in executeOnExecutor()
483 private static abstract class WorkerRunnable<Params, Result> implements Callable<Result> {
484 Params[] mParams;
/frameworks/base/core/java/android/os/
DAsyncTask.java177 public abstract class AsyncTask<Params, Progress, Result> {
215 private final WorkerRunnable<Params, Result> mWorker;
282 mWorker = new WorkerRunnable<Params, Result>() { in AsyncTask()
349 protected abstract Result doInBackground(Params... params); in doInBackground()
534 public final AsyncTask<Params, Progress, Result> execute(Params... params) { in execute()
571 public final AsyncTask<Params, Progress, Result> executeOnExecutor(Executor exec, in executeOnExecutor()
572 Params... params) { in executeOnExecutor()
654 private static abstract class WorkerRunnable<Params, Result> implements Callable<Result> {
655 Params[] mParams;
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Init.c558 pInstance->Params.OperatingMode = LVM_MODE_OFF; in LVM_GetInstanceHandle()
559 pInstance->Params.SampleRate = LVM_FS_8000; in LVM_GetInstanceHandle()
560 pInstance->Params.SourceFormat = LVM_MONO; in LVM_GetInstanceHandle()
561 pInstance->Params.SpeakerType = LVM_HEADPHONES; in LVM_GetInstanceHandle()
562 pInstance->Params.VC_EffectLevel = 0; in LVM_GetInstanceHandle()
563 pInstance->Params.VC_Balance = 0; in LVM_GetInstanceHandle()
585 pInstance->Params.TE_OperatingMode = LVM_TE_OFF; in LVM_GetInstanceHandle()
586 pInstance->Params.TE_EffectLevel = 0; in LVM_GetInstanceHandle()
648 pInstance->Params.VirtualizerReverbLevel = 100; in LVM_GetInstanceHandle()
649 pInstance->Params.VirtualizerType = LVM_CONCERTSOUND; in LVM_GetInstanceHandle()
[all …]
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Control.c180 LVPSA_ControlParams_t Params; in LVPSA_ApplyNewSettings() local
191 Params = pInst->NewParams; in LVPSA_ApplyNewSettings()
195 if(Params.Fs != pInst->CurrentParams.Fs) in LVPSA_ApplyNewSettings()
197 pInst->CurrentParams.Fs = Params.Fs; in LVPSA_ApplyNewSettings()
217 LVPSA_SetBPFiltersType(pInst, &Params); in LVPSA_ApplyNewSettings()
218 LVPSA_SetBPFCoefficients(pInst, &Params); in LVPSA_ApplyNewSettings()
219 LVPSA_SetQPFCoefficients(pInst, &Params); in LVPSA_ApplyNewSettings()
221 pInst->nSamplesBufferUpdate = (LVM_UINT16)LVPSA_nSamplesBufferUpdate[Params.Fs]; in LVPSA_ApplyNewSettings()
223 pInst->DownSamplingFactor = LVPSA_DownSamplingFactor[Params.Fs]; in LVPSA_ApplyNewSettings()
236 if(Params.LevelDetectionSpeed != pInst->CurrentParams.LevelDetectionSpeed) in LVPSA_ApplyNewSettings()
[all …]
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorTools.cpp1683 M4AIR_Params Params; in applyRenderingMode() local
1697 Params.m_inputCoord.m_x = 0; in applyRenderingMode()
1698 Params.m_inputCoord.m_y = 0; in applyRenderingMode()
1699 Params.m_inputSize.m_height = pPlaneIn->u_height; in applyRenderingMode()
1700 Params.m_inputSize.m_width = pPlaneIn->u_width; in applyRenderingMode()
1701 Params.m_outputSize.m_width = pPlaneOut->u_width; in applyRenderingMode()
1702 Params.m_outputSize.m_height = pPlaneOut->u_height; in applyRenderingMode()
1703 Params.m_bOutputStripe = M4OSA_FALSE; in applyRenderingMode()
1704 Params.m_outputOrientation = M4COMMON_kOrientationTopLeft; in applyRenderingMode()
1765 Params.m_outputSize.m_width = pPlaneOut->u_width; in applyRenderingMode()
[all …]

1234