Home
last modified time | relevance | path

Searched refs:mParams (Results 1 – 25 of 29) 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.java66 private final T mParams; field in RenderAction
80 mParams = params; in RenderAction()
102 HardwareConfig hardwareConfig = mParams.getHardwareConfig(); in init()
119 RenderResources resources = mParams.getResources(); in init()
122 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, in init()
123 mParams.getProjectCallback(), getConfiguration(), mParams.getTargetSdkVersion()); in init()
237 LayoutLog currentLog = mParams.getLog(); in setUp()
273 return mParams; in getParams()
285 if (mParams != null) { in getLog()
286 return mParams.getLog(); 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.java323 private final WindowManager.LayoutParams mParams = new WindowManager.LayoutParams(); field in Toast.TN
340 final WindowManager.LayoutParams params = mParams; in TN()
386 mParams.gravity = gravity; in handleShow()
388 mParams.horizontalWeight = 1.0f; in handleShow()
391 mParams.verticalWeight = 1.0f; in handleShow()
393 mParams.x = mX; in handleShow()
394 mParams.y = mY; in handleShow()
395 mParams.verticalMargin = mVerticalMargin; in handleShow()
396 mParams.horizontalMargin = mHorizontalMargin; in handleShow()
402 mWM.addView(mView, mParams); in handleShow()
/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()
428 ((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
48 mParams = new Bundle(params); in SynthesisRequest()
97 return mParams; in getParams()
DTextToSpeech.java551 private final Bundle mParams = new Bundle(); field in TextToSpeech
1054 mParams.putInt(Engine.KEY_PARAM_RATE, intRate);
1078 mParams.putInt(Engine.KEY_PARAM_PITCH, intPitch);
1162 mParams.putString(Engine.KEY_PARAM_LANGUAGE, language);
1163 mParams.putString(Engine.KEY_PARAM_COUNTRY, country);
1164 mParams.putString(Engine.KEY_PARAM_VARIANT, variant);
1192 String lang = mParams.getString(Engine.KEY_PARAM_LANGUAGE, "");
1193 String country = mParams.getString(Engine.KEY_PARAM_COUNTRY, "");
1194 String variant = mParams.getString(Engine.KEY_PARAM_VARIANT, "");
1291 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()
565 mSynthesisRequest = new SynthesisRequest(mText, mParams); in SynthesisSpeechItem()
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java112 private WindowManager.LayoutParams[] mParams; field in WindowManagerGlobal
247 mParams = new WindowManager.LayoutParams[1]; in addView()
256 old = mParams; in addView()
257 mParams = new WindowManager.LayoutParams[index]; in addView()
258 System.arraycopy(old, 0, mParams, 0, index-1); in addView()
264 mParams[index] = wparams; in addView()
297 mParams[index] = wparams; in updateViewLayout()
329 if (token == null || mParams[i].token == token) { in closeAll()
374 removeItem(tmpParams, mParams, index); in removeViewLocked()
375 mParams = tmpParams; in removeViewLocked()
[all …]
/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.h243 for (size_t k = 0; k < orig.mParams.size(); k++) { in EffectDesc()
244 effect_param_t *origParam = orig.mParams[k]; in EffectDesc()
254 mParams.add(dupParam); in EffectDesc()
259 for (size_t k = 0; k < mParams.size(); k++) { in ~EffectDesc()
260 free(mParams[k]); in ~EffectDesc()
265 Vector <effect_param_t *> mParams; variable
DAudioPolicyService.cpp313 for (size_t j = 0; j < effect->mParams.size(); j++) { in getInput()
314 fx->setParameter(effect->mParams[j]); in getInput()
1250 loadEffectParameters(node, effect->mParams); in loadInputSource()
/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.java287 return postResult(doInBackground(mParams)); in AsyncTask()
588 mWorker.mParams = params; in executeOnExecutor()
654 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.java326 private final DirectorySearchParams mParams; field in BaseRecipientAdapter.DirectoryFilter
330 mParams = params; in DirectoryFilter()
344 Log.d(TAG, "DirectoryFilter#performFiltering. directoryId: " + mParams.directoryId in performFiltering()
359 cursor = doQuery(constraint, getLimit(), mParams.directoryId); in performFiltering()
378 Log.v(TAG, "finished loading directory \"" + mParams.displayName + "\"" + in performFiltering()
403 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.cpp2722 memset(&mParams, 0, sizeof(mParams)); in ResTable()
2730 memset(&mParams, 0, sizeof(mParams)); in ResTable()
3039 const ResTable_config* desiredConfig = &mParams; in getResource()
3047 memcpy(overrideConfig, &mParams, sizeof(ResTable_config)); in getResource()
3357 ssize_t offset = getEntry(package, T, E, &mParams, &type, &entry, &typeClass); in getBagLocked()
3531 mParams = *params; in setParameters()
3542 *params = mParams; in getParameters()
5455 mParams.language[0], mParams.language[1], in print()
5456 mParams.country[0], mParams.country[1]); in print()

12