Home
last modified time | relevance | path

Searched refs:mParams (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/menu/
DMenuScenario.java31 private Params mParams = new Params(); field in MenuScenario
44 onInitParams(mParams); in dispatchInitParams()
49 mParams = params; in setParams()
54 mItems = new MenuItem[mParams.numItems]; in onParamsChanged()
55 mWasItemClicked = new boolean[mParams.numItems]; in onParamsChanged()
63 if (!mParams.shouldShowMenu) return false; in onCreateOptionsMenu()
66 for (int i = 0; i < mParams.numItems; i++) { in onCreateOptionsMenu()
70 CharSequence givenTitle = mParams.itemTitles.get(i); in onCreateOptionsMenu()
77 if (mParams.listenForClicks) { in onCreateOptionsMenu()
92 return mParams.shouldShowMenu; in onPrepareOptionsMenu()
[all …]
/frameworks/volley/tests/src/com/android/volley/mock/
DTestRequest.java92 private Map<String, String> mParams; field in TestRequest.PostWithBody
95 mParams = new HashMap<String, String>(); in PostWithBody()
96 mParams.put("testKey", "testValue"); in PostWithBody()
101 return mParams; in getParams()
117 private Map<String, String> mParams = new HashMap<String, String>(); field in TestRequest.PutWithBody
120 mParams = new HashMap<String, String>(); in PutWithBody()
121 mParams.put("testKey", "testValue"); in PutWithBody()
126 return mParams; in getParams()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java67 private final T mParams; field in RenderAction
81 mParams = params; in RenderAction()
103 HardwareConfig hardwareConfig = mParams.getHardwareConfig(); in init()
120 RenderResources resources = mParams.getResources(); in init()
123 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, in init()
124 mParams.getProjectCallback(), getConfiguration(), mParams.getTargetSdkVersion(), in init()
125 mParams.isRtlSupported()); in init()
239 LayoutLog currentLog = mParams.getLog(); in setUp()
283 return mParams; in getParams()
295 if (mParams != null) { in getLog()
[all …]
/frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java32 private Bundle mParams; field in UiAutomatorTestCase
51 return mParams; in getParams()
78 mParams = params; in initialize()
81 String monkeyVal = mParams.getString("monkey"); in initialize()
/frameworks/base/core/java/android/widget/
DToast.java326 private final WindowManager.LayoutParams mParams = new WindowManager.LayoutParams(); field in Toast.TN
343 final WindowManager.LayoutParams params = mParams; in TN()
389 mParams.gravity = gravity; in handleShow()
391 mParams.horizontalWeight = 1.0f; in handleShow()
394 mParams.verticalWeight = 1.0f; in handleShow()
396 mParams.x = mX; in handleShow()
397 mParams.y = mY; in handleShow()
398 mParams.verticalMargin = mVerticalMargin; in handleShow()
399 mParams.horizontalMargin = mHorizontalMargin; in handleShow()
405 mWM.addView(mView, mParams); in handleShow()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java612 private RunParameters mParams = new RunParameters(); field in GraphRunner
782 synchronized (mParams) { in setIsVerbose()
783 mParams.isVerbose = isVerbose; in setIsVerbose()
794 synchronized (mParams) { in isVerbose()
795 return mParams.isVerbose; in isVerbose()
820 synchronized (mParams) { in setFlushOnClose()
821 mParams.flushOnClose = flush; in setFlushOnClose()
832 synchronized (mParams) { in flushOnClose()
833 return mParams.flushOnClose; in flushOnClose()
846 synchronized (mParams) { in setListener()
[all …]
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java45 private Bundle mParams; field in UiAutomatorTestCase
52 mShouldDisableIme = "true".equals(mParams.getString(DISABLE_IME)); in setUp()
82 return mParams; in getParams()
108 mParams = params; in setParams()
DUiAutomatorTestRunner.java64 private Bundle mParams = null; field in UiAutomatorTestRunner
93 mParams = params; in run()
123 String outputFormat = mParams.getString("outputFormat"); in start()
136 String traceType = mParams.getString("traceOutputMode"); in start()
140 String filename = mParams.getString("traceLogFilename"); in start()
429 ((UiAutomatorTestCase)testCase).setParams(mParams); in prepareTestCase()
/frameworks/base/location/java/android/location/
DGeocoder.java50 private GeocoderParams mParams; field in Geocoder
83 mParams = new GeocoderParams(context, locale); in Geocoder()
134 mParams, results); in getFromLocation()
176 0, 0, 0, 0, maxResults, mParams, results); in getFromLocationName()
249 maxResults, mParams, result); in getFromLocationName()
/frameworks/base/core/java/android/speech/tts/
DSynthesisRequest.java38 private final Bundle mParams; field in SynthesisRequest
49 mParams = new Bundle(params); in SynthesisRequest()
98 return mParams; in getParams()
DTextToSpeech.java551 private final Bundle mParams = new Bundle(); field in TextToSpeech
1064 mParams.putInt(Engine.KEY_PARAM_RATE, intRate);
1088 mParams.putInt(Engine.KEY_PARAM_PITCH, intPitch);
1172 mParams.putString(Engine.KEY_PARAM_LANGUAGE, language);
1173 mParams.putString(Engine.KEY_PARAM_COUNTRY, country);
1174 mParams.putString(Engine.KEY_PARAM_VARIANT, variant);
1202 String lang = mParams.getString(Engine.KEY_PARAM_LANGUAGE, "");
1203 String country = mParams.getString(Engine.KEY_PARAM_COUNTRY, "");
1204 String variant = mParams.getString(Engine.KEY_PARAM_VARIANT, "");
1301 Bundle bundle = new Bundle(mParams);
[all …]
DTextToSpeechService.java412 protected final Bundle mParams; field in TextToSpeechService.SpeechItem
420 mParams = params; in SpeechItem()
538 return mParams == null ? defaultValue : mParams.getString(key, defaultValue); in getStringParam()
542 return mParams == null ? defaultValue : mParams.getInt(key, defaultValue); in getIntParam()
546 return mParams == null ? defaultValue : mParams.getFloat(key, defaultValue); in getFloatParam()
567 mSynthesisRequest = new SynthesisRequest(mText, mParams); in SynthesisSpeechItem()
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java114 private final ArrayList<WindowManager.LayoutParams> mParams = field in WindowManagerGlobal
254 mParams.add(wparams); in addView()
287 mParams.remove(index); in updateViewLayout()
288 mParams.add(index, wparams); in updateViewLayout()
318 if (token == null || mParams.get(i).token == token) { in closeAll()
360 mParams.remove(index); in doRemoveView()
479 if (token == null || mParams.get(i).token == token) { in setStoppedState()
504 for (int i = mParams.size() - 1; i >= 0; --i) { in changeCanvasOpacity()
505 if (mParams.get(i).token == token) { in changeCanvasOpacity()
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DRunTestCommand.java54 private final Bundle mParams = new Bundle(); field in RunTestCommand
91 getRunner().run(mTestClasses, mParams, mDebug, mMonkey); in run()
117 mParams.putString(key, value); in parseArgs()
131 mParams.putString(OUTPUT_FORMAT_KEY, OUTPUT_SIMPLE); in parseArgs()
192 String jars = mParams.getString(JARS_PARAM); in addTestClassesFromJars()
/frameworks/av/services/audioflinger/
DAudioPolicyService.h271 for (size_t k = 0; k < orig.mParams.size(); k++) { in EffectDesc()
272 effect_param_t *origParam = orig.mParams[k]; in EffectDesc()
282 mParams.add(dupParam); in EffectDesc()
287 for (size_t k = 0; k < mParams.size(); k++) { in ~EffectDesc()
288 free(mParams[k]); in ~EffectDesc()
293 Vector <effect_param_t *> mParams; variable
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/
DJankTestBase.java55 protected Bundle mParams; field in JankTestBase
178 mParams = getParams(); in setUp()
179 if (mParams != null && !mParams.isEmpty()) { in setUp()
181 String mIterationStr = getPropertyString(mParams, "iteration"); in setUp()
185 String mTraceTimeStr = getPropertyString(mParams, "tracetime"); in setUp()
/frameworks/support/v4/java/android/support/v4/content/
DModernAsyncTask.java123 return postResult(doInBackground(mParams)); in ModernAsyncTask()
422 mWorker.mParams = params; in executeOnExecutor()
484 Params[] mParams; field in ModernAsyncTask.WorkerRunnable
/frameworks/base/core/java/android/os/
DAsyncTask.java288 return postResult(doInBackground(mParams)); in AsyncTask()
589 mWorker.mParams = params; in executeOnExecutor()
655 Params[] mParams; field in AsyncTask.WorkerRunnable
/frameworks/av/media/libstagefright/rtsp/
DAMPEG4ElementaryAssembler.h50 AString mParams; member
DAMPEG4ElementaryAssembler.cpp113 mParams(params), in AMPEG4ElementaryAssembler()
/frameworks/base/tools/aapt/
DResource.cpp91 inline const ResTable_config& getParams() const { return mParams; } in getParams()
126 mParams = file->getGroupEntry().toParams(); in next()
128 group->getPath().string(), mParams.mcc, mParams.mnc, in next()
129 mParams.language[0] ? mParams.language[0] : '-', in next()
130 mParams.language[1] ? mParams.language[1] : '-', in next()
131 mParams.country[0] ? mParams.country[0] : '-', in next()
132 mParams.country[1] ? mParams.country[1] : '-', in next()
133 mParams.orientation, mParams.uiMode, in next()
134 mParams.density, mParams.touchscreen, mParams.keyboard, in next()
135 mParams.inputFlags, mParams.navigation)); in next()
[all …]
/frameworks/ex/chips/src/com/android/ex/chips/
DBaseRecipientAdapter.java353 private final DirectorySearchParams mParams; field in BaseRecipientAdapter.DirectoryFilter
357 mParams = params; in DirectoryFilter()
371 Log.d(TAG, "DirectoryFilter#performFiltering. directoryId: " + mParams.directoryId in performFiltering()
386 cursor = doQuery(constraint, getLimit(), mParams.directoryId); in performFiltering()
405 Log.v(TAG, "finished loading directory \"" + mParams.displayName + "\"" + in performFiltering()
430 putOneEntry(tempEntry, mParams.directoryId == Directory.DEFAULT, in publishResults()
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DTextGraphReader.java106 private KeyValueMap mParams; field in TextGraphReader.InitFilterCommand
109 mParams = params; in InitFilterCommand()
116 filter.initWithValueMap(mParams); in execute()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h115 String8 mParams; member
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2858 memset(&mParams, 0, sizeof(mParams)); in ResTable()
2866 memset(&mParams, 0, sizeof(mParams)); in ResTable()
3190 const ResTable_config* desiredConfig = &mParams; in getResource()
3198 memcpy(overrideConfig, &mParams, sizeof(ResTable_config)); in getResource()
3508 ssize_t offset = getEntry(package, T, E, &mParams, &type, &entry, &typeClass); in getBagLocked()
3682 mParams = *params; in setParameters()
3693 *params = mParams; in getParameters()
5605 mParams.language[0], mParams.language[1], in print()
5606 mParams.country[0], mParams.country[1]); in print()

12