Home
last modified time | relevance | path

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

123

/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
DObexAppParameters.java28 private final HashMap<Byte, byte[]> mParams; field in ObexAppParameters
31 mParams = new HashMap<Byte, byte[]>(); in ObexAppParameters()
35 mParams = new HashMap<Byte, byte[]>(); in ObexAppParameters()
74 for (Map.Entry<Byte, byte[]> entry : mParams.entrySet()) { in getHeader()
81 for (Map.Entry<Byte, byte[]> entry : mParams.entrySet()) { in getHeader()
94 if (mParams.size() > 0) { in addToHeaderSet()
100 return mParams.containsKey(tag); in exists()
105 mParams.put(tag, bval); in add()
110 mParams.put(tag, bval); in add()
115 mParams.put(tag, bval); in add()
[all …]
/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/base/services/backup/java/com/android/server/backup/
DFullBackupJob.java35 JobParameters mParams; field in FullBackupJob
51 if (mParams != null) { in finishBackupPass()
52 jobFinished(mParams, false); in finishBackupPass()
53 mParams = null; in finishBackupPass()
61 mParams = params; in onStartJob()
68 if (mParams != null) { in onStopJob()
69 mParams = null; in onStopJob()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java74 private final T mParams; field in RenderAction
88 mParams = params; in RenderAction()
110 HardwareConfig hardwareConfig = mParams.getHardwareConfig(); in init()
127 RenderResources resources = mParams.getResources(); in init()
130 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, in init()
131 mParams.getAssets(), mParams.getLayoutlibCallback(), getConfiguration(mParams), in init()
132 mParams.getTargetSdkVersion(), mParams.isRtlSupported()); in init()
238 ParserFactory.setParserFactory(mParams.getLayoutlibCallback().getParserFactory()); in setUp()
256 LayoutLog currentLog = mParams.getLog(); in setUp()
300 return mParams; in getParams()
[all …]
DLayout.java228 return mBuilder.mParams; in getParams()
367 private final SessionParams mParams; field in Layout.Builder
384 mParams = params; in Builder()
386 mResources = mParams.getResources(); in Builder()
391 if (!mParams.isForceNoDecor()) { in Builder()
400 if (!mParams.isBgColorOverridden()) { in findBackground()
470 boolean isMenu = "menu".equals(mParams.getFlag(RenderParamsFlags.FLAG_KEY_ROOT_TAG)); in findFrameworkBar()
491 HardwareConfig hwConfig = mParams.getHardwareConfig(); in findNavBar()
527 return mParams.getHardwareConfig().hasSoftwareButtons(); in hasSoftwareButtons()
545 return Config.showOnScreenNavBar(mParams.getSimulatedPlatformVersion()) && in hasNavBar()
/frameworks/av/media/libstagefright/
DHevcUtils.cpp107 return findParam(key, param, mParams); in findParam8()
111 return findParam(key, param, mParams); in findParam16()
115 return findParam(key, param, mParams); in findParam32()
119 return findParam(key, param, mParams); in findParam64()
171 mParams.add(kGeneralProfileSpace, reader.getBits(2)); in parseVps()
172 mParams.add(kGeneralTierFlag, reader.getBits(1)); in parseVps()
173 mParams.add(kGeneralProfileIdc, reader.getBits(5)); in parseVps()
174 mParams.add(kGeneralProfileCompatibilityFlags, reader.getBits(32)); in parseVps()
175 mParams.add( in parseVps()
178 mParams.add(kGeneralLevelIdc, reader.getBits(8)); in parseVps()
[all …]
/frameworks/base/core/java/android/widget/
DToast.java253 return mTN.mParams; in getWindowParams()
346 private final WindowManager.LayoutParams mParams = new WindowManager.LayoutParams(); field in Toast.TN
373 final WindowManager.LayoutParams params = mParams; in TN()
471 mParams.gravity = gravity; in handleShow()
473 mParams.horizontalWeight = 1.0f; in handleShow()
476 mParams.verticalWeight = 1.0f; in handleShow()
478 mParams.x = mX; in handleShow()
479 mParams.y = mY; in handleShow()
480 mParams.verticalMargin = mVerticalMargin; in handleShow()
481 mParams.horizontalMargin = mHorizontalMargin; in handleShow()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DRttManagerTest.java44 if (params.mParams == params2.mParams) { in verifyEquals()
47 if (params == null || params2.mParams == null) { in verifyEquals()
50 RttParams[] paramsArray = params.mParams; in verifyEquals()
51 RttParams[] paramsArray2 = params2.mParams; in verifyEquals()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java35 private Bundle mParams; field in UiAutomatorTestCase
54 return mParams; in getParams()
81 mParams = params; in initialize()
84 String monkeyVal = mParams.getString("monkey"); in initialize()
/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/base/core/java/android/speech/tts/
DSynthesisRequest.java41 private final Bundle mParams; field in SynthesisRequest
53 mParams = new Bundle(params); in SynthesisRequest()
59 mParams = new Bundle(params); in SynthesisRequest()
124 return mParams; in getParams()
DTextToSpeech.java680 private final Bundle mParams = new Bundle(); field in TextToSpeech
1366 mParams.putInt(Engine.KEY_PARAM_RATE, intRate);
1390 mParams.putInt(Engine.KEY_PARAM_PITCH, intPitch);
1409 mParams.putParcelable(Engine.KEY_PARAM_AUDIO_ATTRIBUTES,
1536 mParams.putString(Engine.KEY_PARAM_VOICE_NAME, voiceName);
1537 mParams.putString(Engine.KEY_PARAM_LANGUAGE, voiceLanguage);
1538 mParams.putString(Engine.KEY_PARAM_COUNTRY, voiceCountry);
1539 mParams.putString(Engine.KEY_PARAM_VARIANT, voice.getLocale().getVariant());
1579 String lang = mParams.getString(Engine.KEY_PARAM_LANGUAGE, "");
1580 String country = mParams.getString(Engine.KEY_PARAM_COUNTRY, "");
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.h98 for (size_t k = 0; k < orig.mParams.size(); k++) { in EffectDesc()
99 effect_param_t *origParam = orig.mParams[k]; in EffectDesc()
109 mParams.add(dupParam); in EffectDesc()
114 for (size_t k = 0; k < mParams.size(); k++) { in ~EffectDesc()
115 free(mParams[k]); in ~EffectDesc()
120 Vector <effect_param_t *> mParams; variable
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreECPrivateKey.java29 private final ECParameterSpec mParams; field in AndroidKeyStoreECPrivateKey
33 mParams = params; in AndroidKeyStoreECPrivateKey()
38 return mParams; in getParams()
DAndroidKeyStoreECPublicKey.java30 private final ECParameterSpec mParams; field in AndroidKeyStoreECPublicKey
36 mParams = params; in AndroidKeyStoreECPublicKey()
50 return mParams; in getParams()
/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/services/core/java/com/android/server/hdmi/
DHdmiCecMessage.java35 private final byte[] mParams; field in HdmiCecMessage
44 mParams = Arrays.copyOf(params, params.length); in HdmiCecMessage()
85 return mParams; in getParams()
93 if (mParams.length > 0) { in toString()
95 for (byte data : mParams) { in toString()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java48 private Bundle mParams; field in UiAutomatorTestCase
55 mShouldDisableIme = "true".equals(mParams.getString(DISABLE_IME)); in setUp()
85 return mParams; in getParams()
111 mParams = params; in setParams()
/frameworks/support/compat/java/android/support/v4/graphics/
DPathParser.java146 || nodesFrom[i].mParams.length != nodesTo[i].mParams.length) { in canMorph()
163 for (int j = 0; j < source[i].mParams.length; j++) { in updateNodes()
164 target[i].mParams[j] = source[i].mParams[j]; in updateNodes()
317 public float[] mParams; field in PathParser.PathDataNode
321 this.mParams = params; in PathDataNode()
326 mParams = copyOfRange(n.mParams, 0, n.mParams.length); in PathDataNode()
339 addCommand(path, current, previousCommand, node[i].mType, node[i].mParams); in nodesToPath()
355 for (int i = 0; i < nodeFrom.mParams.length; i++) { in interpolatePathDataNode()
356 mParams[i] = nodeFrom.mParams[i] * (1 - fraction) in interpolatePathDataNode()
357 + nodeTo.mParams[i] * fraction; in interpolatePathDataNode()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java93 private Camera.Parameters mParams; field in RequestThreadManager
421 mParams = mCamera.getParameters(); in configureOutputs()
429 List<int[]> supportedFpsRanges = mParams.getSupportedPreviewFpsRange(); in configureOutputs()
436 mParams.setPreviewFpsRange(bestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in configureOutputs()
440 callbackOutputSizes, mParams); in configureOutputs()
447 Size largestJpegDimen = ParameterUtils.getLargestSupportedJpegSizeByArea(mParams); in configureOutputs()
453 mParams.getSupportedPreviewSizes()); in configureOutputs()
470 mParams.setPreviewSize(mIntermediateBufferSize.getWidth(), in configureOutputs()
491 mParams.setPictureSize( in configureOutputs()
523 mCamera.setParameters(mParams); in configureOutputs()
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java102 private JobParameters mParams; field in JobServiceContext
217 mParams = new JobParameters(mRunningCallback, job.getJobId(), ji.getExtras(), in executeRunnableJob()
238 mParams = null; in executeRunnableJob()
302 mParams.setStopReason(JobParameters.REASON_TIMEOUT); in timeoutIfExecutingLocked()
521 mParams.setStopReason(arg1); in doCancelLocked()
551 service.startJob(mParams); in handleServiceBoundLocked()
671 mParams.setStopReason(JobParameters.REASON_TIMEOUT); in handleOpTimeoutLocked()
696 service.stopJob(mParams); in sendStopMessageLocked()
717 mJobPackageTracker.noteInactive(completedJob, mParams.getStopReason()); in closeAndCleanupJobLocked()
720 mRunningJob.getSourceUid(), mParams.getStopReason()); in closeAndCleanupJobLocked()
[all …]
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java142 private final ArrayList<WindowManager.LayoutParams> mParams = field in WindowManagerGlobal
226 WindowManager.LayoutParams params = mParams.get(i); in getRootViews()
236 WindowManager.LayoutParams paramsj = mParams.get(j); in getRootViews()
352 mParams.add(wparams); in addView()
382 mParams.remove(index); in updateViewLayout()
383 mParams.add(index, wparams); in updateViewLayout()
431 && (token == null || mParams.get(i).token == token)) { in closeAllExceptView()
472 mParams.remove(index); in doRemoveView()
609 if (token == null || mParams.get(i).token == token) { in setStoppedState()
634 for (int i = mParams.size() - 1; i >= 0; --i) { in changeCanvasOpacity()
[all …]
/frameworks/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java226 || nodesFrom[i].mParams.length != nodesTo[i].mParams.length) { in canMorph()
243 for (int j = 0; j < source[i].mParams.length; j ++) { in updateNodes()
244 target[i].mParams[j] = source[i].mParams[j]; in updateNodes()
391 private float[] mParams; field in PathParser_Delegate.PathDataNode
395 mParams = params; in PathDataNode()
404 return mParams; in getParams()
409 mParams = Arrays.copyOf(n.mParams, n.mParams.length); in PathDataNode()
424 addCommand(path, current, previousCommand, node[i].mType, node[i].mParams); in nodesToPath()
439 for (int i = 0; i < nodeFrom.mParams.length; i++) { in interpolatePathDataNode()
440 mParams[i] = nodeFrom.mParams[i] * (1 - fraction) in interpolatePathDataNode()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java118 private final SaveImageInBackgroundData mParams; field in SaveImageInBackgroundTask
141 mParams = data; in SaveImageInBackgroundTask()
245 Context context = mParams.context; in doInBackground()
246 Bitmap image = mParams.image; in doInBackground()
309 mParams.imageUri = uri; in doInBackground()
310 mParams.image = null; in doInBackground()
311 mParams.errorMsgResId = 0; in doInBackground()
316 mParams.clearImage(); in doInBackground()
317 mParams.errorMsgResId = R.string.screenshot_failed_to_save_text; in doInBackground()
330 if (mParams.errorMsgResId != 0) { in onPostExecute()
[all …]
/frameworks/base/cmds/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()

123