Home
last modified time | relevance | path

Searched refs:mParameters (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/native/libs/input/
DVelocityControl.cpp41 mParameters = parameters; in setParameters()
72 float scale = mParameters.scale; in move()
75 if (speed >= mParameters.highThreshold) { in move()
77 scale *= mParameters.acceleration; in move()
78 } else if (speed > mParameters.lowThreshold) { in move()
81 scale *= 1 + (speed - mParameters.lowThreshold) in move()
82 / (mParameters.highThreshold - mParameters.lowThreshold) in move()
83 * (mParameters.acceleration - 1); in move()
89 mParameters.scale, mParameters.lowThreshold, mParameters.highThreshold, in move()
90 mParameters.acceleration, in move()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupAgentTimeoutParametersTest.java42 private BackupAgentTimeoutParameters mParameters; field in BackupAgentTimeoutParametersTest
50 mParameters = new BackupAgentTimeoutParameters(new Handler(), mContentResolver); in setUp()
56 mParameters.stop(); in tearDown()
63 mParameters.start(); in testGetParameters_afterConstructorWithStart_returnsDefaultValues()
65 long kvBackupAgentTimeoutMillis = mParameters.getKvBackupAgentTimeoutMillis(); in testGetParameters_afterConstructorWithStart_returnsDefaultValues()
66 long fullBackupAgentTimeoutMillis = mParameters.getFullBackupAgentTimeoutMillis(); in testGetParameters_afterConstructorWithStart_returnsDefaultValues()
67 long sharedBackupAgentTimeoutMillis = mParameters.getSharedBackupAgentTimeoutMillis(); in testGetParameters_afterConstructorWithStart_returnsDefaultValues()
68 long restoreSessionTimeoutMillis = mParameters.getRestoreSessionTimeoutMillis(); in testGetParameters_afterConstructorWithStart_returnsDefaultValues()
69 long restoreAgentFinishedTimeoutMillis = mParameters.getRestoreAgentFinishedTimeoutMillis(); in testGetParameters_afterConstructorWithStart_returnsDefaultValues()
91 mParameters.start(); in testGetRestoreAgentTimeout_afterConstructorWithStartForSystemAgent_returnsDefaultValue()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp72 mParameters(api1CameraId, cameraFacing) in Camera2Client()
80 SharedParameters::Lock l(mParameters); in Camera2Client()
81 l.mParameters.state = Parameters::DISCONNECTED; in Camera2Client()
83 l.mParameters.isSlowJpegModeForced = true; in Camera2Client()
119 SharedParameters::Lock l(mParameters); in initializeImpl()
121 res = l.mParameters.initialize(mDevice.get()); in initializeImpl()
128 l.mParameters.isDeviceZslSupported = isZslEnabledInStillTemplate(); in initializeImpl()
172 SharedParameters::Lock l(mParameters); in initializeImpl()
175 ALOGD("%s", l.mParameters.paramsFlattened.string()); in initializeImpl()
205 const Parameters& p = mParameters.unsafeAccess(); in dumpClient()
[all …]
/frameworks/av/media/libmediahelper/
DAudioParameter.cpp83 if (mParameters.indexOfKey(key) < 0) { in AudioParameter()
84 mParameters.add(key, value); in AudioParameter()
86 mParameters.replaceValueFor(key, value); in AudioParameter()
99 mParameters.clear(); in ~AudioParameter()
106 size_t size = mParameters.size(); in toStringImpl()
108 str += mParameters.keyAt(i); in toStringImpl()
111 str += mParameters.valueAt(i); in toStringImpl()
120 if (mParameters.indexOfKey(key) < 0) { in add()
121 mParameters.add(key, value); in add()
124 mParameters.replaceValueFor(key, value); in add()
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEnvReverbTest.java50 private EffectParameter[] mParameters = new EffectParameter[NUM_PARAMS]; field in EnvReverbTest
115 mParameters[0] = new RoomLevelParam(mReverb, seekBar, textView); in onCreate()
116 seekBar.setOnSeekBarChangeListener(mParameters[0]); in onCreate()
121 mParameters[1] = new RoomHFLevelParam(mReverb, seekBar, textView); in onCreate()
122 seekBar.setOnSeekBarChangeListener(mParameters[1]); in onCreate()
127 mParameters[2] = new DecayTimeParam(mReverb, seekBar, textView); in onCreate()
128 seekBar.setOnSeekBarChangeListener(mParameters[2]); in onCreate()
133 mParameters[3] = new DecayHFRatioParam(mReverb, seekBar, textView); in onCreate()
134 seekBar.setOnSeekBarChangeListener(mParameters[3]); in onCreate()
139 mParameters[4] = new ReflectionsLevelParam(mReverb, seekBar, textView); in onCreate()
[all …]
DEqualizerTest.java52 private EffectParameter[] mParameters = new EffectParameter[NUM_PARAMS]; field in EqualizerTest
101mParameters[0] = new BandLevelParam(mEqualizer, 0, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate()
102 seekBar.setOnSeekBarChangeListener(mParameters[0]); in onCreate()
112mParameters[1] = new BandLevelParam(mEqualizer, 1, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate()
113 seekBar.setOnSeekBarChangeListener(mParameters[1]); in onCreate()
123mParameters[2] = new BandLevelParam(mEqualizer, 2, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate()
124 seekBar.setOnSeekBarChangeListener(mParameters[2]); in onCreate()
134mParameters[3] = new BandLevelParam(mEqualizer, 3, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate()
135 seekBar.setOnSeekBarChangeListener(mParameters[3]); in onCreate()
145mParameters[4] = new BandLevelParam(mEqualizer, 4, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate()
[all …]
DPresetReverbTest.java50 private EffectParameter[] mParameters = new EffectParameter[NUM_PARAMS]; field in PresetReverbTest
96mParameters[0] = new PresetParam(mPresetReverb, (short)0, (short)(sPresetNames.length - 1), seekBa… in onCreate()
97 seekBar.setOnSeekBarChangeListener(mParameters[0]); in onCreate()
122 for (int i = 0 ; i < mParameters.length; i++) {
123 mParameters[i].setEffect(mPresetReverb);
124 mParameters[i].setEnabled(true);
125 mParameters[i].updateDisplay();
152 for (int i = 0 ; i < mParameters.length; i++) { in onCheckedChanged()
153 mParameters[i].setEffect(mPresetReverb); in onCheckedChanged()
154 mParameters[i].setEnabled(true); in onCheckedChanged()
[all …]
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp81 if (mParameters.mode == Parameters::Mode::POINTER) { in populateDeviceInfo()
136 switch (mParameters.mode) { in configure()
140 mParameters.mode = Parameters::Mode::POINTER; in configure()
163 const bool configurePointerCapture = mParameters.mode != Parameters::Mode::NAVIGATION && in configure()
168 if (mParameters.mode == Parameters::Mode::POINTER) { in configure()
169 mParameters.mode = Parameters::Mode::POINTER_RELATIVE; in configure()
177 if (mParameters.mode == Parameters::Mode::POINTER_RELATIVE) { in configure()
178 mParameters.mode = Parameters::Mode::POINTER; in configure()
193 if (mParameters.mode == Parameters::Mode::POINTER_RELATIVE) { in configure()
207 const bool isPointer = mParameters.mode == Parameters::Mode::POINTER; in configure()
[all …]
DKeyboardInputMapper.cpp140 if (mParameters.orientationAware) { in findViewport()
174 mParameters.orientationAware = false; in configureParameters()
176 config.tryGetProperty(String8("keyboard.orientationAware"), mParameters.orientationAware); in configureParameters()
178 if (mParameters.orientationAware) { in configureParameters()
185 mParameters.handlesKeyRepeat = false; in configureParameters()
186 config.tryGetProperty(String8("keyboard.handlesKeyRepeat"), mParameters.handlesKeyRepeat); in configureParameters()
188 mParameters.doNotWakeByDefault = false; in configureParameters()
189 config.tryGetProperty(String8("keyboard.doNotWakeByDefault"), mParameters.doNotWakeByDefault); in configureParameters()
194 dump += StringPrintf(INDENT4 "OrientationAware: %s\n", toString(mParameters.orientationAware)); in dumpParameters()
195 dump += StringPrintf(INDENT4 "HandlesKeyRepeat: %s\n", toString(mParameters.handlesKeyRepeat)); in dumpParameters()
[all …]
DTouchInputMapper.cpp255 info->setButtonUnderPad(mParameters.hasButtonUnderPad); in populateDeviceInfo()
420 mParameters.gestureMode = getDeviceContext().hasInputProperty(INPUT_PROP_SEMI_MT) in configureParameters()
428 mParameters.gestureMode = Parameters::GestureMode::SINGLE_TOUCH; in configureParameters()
430 mParameters.gestureMode = Parameters::GestureMode::MULTI_TOUCH; in configureParameters()
438 mParameters.deviceType = Parameters::DeviceType::TOUCH_SCREEN; in configureParameters()
441 mParameters.deviceType = Parameters::DeviceType::POINTER; in configureParameters()
446 mParameters.deviceType = Parameters::DeviceType::TOUCH_PAD; in configureParameters()
449 mParameters.deviceType = Parameters::DeviceType::POINTER; in configureParameters()
452 mParameters.hasButtonUnderPad = getDeviceContext().hasInputProperty(INPUT_PROP_BUTTONPAD); in configureParameters()
458 mParameters.deviceType = Parameters::DeviceType::TOUCH_SCREEN; in configureParameters()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp50 m3aState.afTriggerId = l.mParameters.afTriggerCounter; in FrameProcessor()
51 m3aState.aeTriggerId = l.mParameters.precaptureTriggerCounter; in FrameProcessor()
53 if (l.mParameters.focusMode == Parameters::FOCUS_MODE_FIXED) { in FrameProcessor()
63 mLastFocalLength = l.mParameters.params.getFloat(CameraParameters::KEY_FOCAL_LENGTH); in FrameProcessor()
114 l.mParameters.params.setFloat( in processLensState()
117 l.mParameters.paramsFlattened = l.mParameters.params.flatten(); in processLensState()
132 enableFaceDetect = l.mParameters.enableFaceDetect; in processFaceDetect()
160 l.mParameters.fastInfo.maxFaces) { in processFaceDetect()
163 metadata.number_of_faces, l.mParameters.fastInfo.maxFaces); in processFaceDetect()
226 face.rect[0] = l.mParameters.arrayXToNormalizedWithCrop( in processFaceDetect()
[all …]
DCaptureSequencer.cpp294 switch (l.mParameters.state) { in manageDone()
307 l.mParameters.state = Parameters::STOPPED; in manageDone()
310 l.mParameters.state = Parameters::RECORD; in manageDone()
316 Parameters::getStateName(l.mParameters.state)); in manageDone()
319 takePictureCounter = l.mParameters.takePictureCounter; in manageDone()
357 res = updateCaptureRequest(l.mParameters, client); in manageStart()
364 else if (l.mParameters.useZeroShutterLag() && in manageStart()
365 l.mParameters.state == Parameters::STILL_CAPTURE && in manageStart()
366 l.mParameters.flashMode != Parameters::FLASH_MODE_ON) { in manageStart()
412 shutterNotifyLocked(l.mParameters, client); in manageZslStart()
[all …]
DCallbackProcessor.cpp305 if ( l.mParameters.state != Parameters::PREVIEW in processNewCallback()
306 && l.mParameters.state != Parameters::RECORD in processNewCallback()
307 && l.mParameters.state != Parameters::VIDEO_SNAPSHOT) { in processNewCallback()
314 if (! (l.mParameters.previewCallbackFlags & in processNewCallback()
320 if ((l.mParameters.previewCallbackFlags & in processNewCallback()
322 !l.mParameters.previewCallbackOneShot) { in processNewCallback()
328 if (imgBuffer.width != static_cast<uint32_t>(l.mParameters.previewWidth) || in processNewCallback()
329 imgBuffer.height != static_cast<uint32_t>(l.mParameters.previewHeight)) { in processNewCallback()
332 l.mParameters.previewWidth, l.mParameters.previewHeight, in processNewCallback()
338 previewFormat = l.mParameters.previewFormat; in processNewCallback()
[all …]
DParameters.h472 mParameters(cameraId, cameraFacing) { in SharedParameters()
479 mParameters(p.mParameters), in BaseLock()
487 P &mParameters; variable
501 return mParameters.staticInfo(tag, minCount, maxCount);
506 return mParameters; in unsafeAccess()
509 Parameters mParameters;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrCamera.java84 Camera.Parameters mParameters; field in QrCamera
171 mParameters = mCamera.getParameters(); in setCameraParameter()
172 mPreviewSize = getBestPreviewSize(mParameters); in setCameraParameter()
173 mParameters.setPreviewSize(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in setCameraParameter()
174 Size pictureSize = getBestPictureSize(mParameters); in setCameraParameter()
175 mParameters.setPictureSize(pictureSize.getWidth(), pictureSize.getHeight()); in setCameraParameter()
177 final List<String> supportedFlashModes = mParameters.getSupportedFlashModes(); in setCameraParameter()
180 mParameters.setFlashMode(Camera.Parameters.FLASH_MODE_OFF); in setCameraParameter()
183 final List<String> supportedFocusModes = mParameters.getSupportedFocusModes(); in setCameraParameter()
185 mParameters.setFocusMode(Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE); in setCameraParameter()
[all …]
/frameworks/base/keystore/java/android/security/
DKeyStoreOperation.java36 private final KeyParameter[] mParameters; field in KeyStoreOperation
46 this.mParameters = parameters; in KeyStoreOperation()
63 return mParameters; in getParameters()
/frameworks/native/libs/ui/
DColorSpace.cpp124 , mParameters(parameters) in ColorSpace()
125 , mOETF(toOETF(mParameters)) in ColorSpace()
126 , mEOTF(toEOTF(mParameters)) in ColorSpace()
140 , mParameters({gamma, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}) in ColorSpace()
174 , mParameters(parameters) in ColorSpace()
175 , mOETF(toOETF(mParameters)) in ColorSpace()
176 , mEOTF(toEOTF(mParameters)) in ColorSpace()
191 , mParameters({gamma, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}) in ColorSpace()
/frameworks/base/libs/hwui/utils/
DHostColorSpace.cpp125 , mParameters(parameters) in ColorSpace()
126 , mOETF(toOETF(mParameters)) in ColorSpace()
127 , mEOTF(toEOTF(mParameters)) in ColorSpace()
141 , mParameters({gamma, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}) in ColorSpace()
175 , mParameters(parameters) in ColorSpace()
176 , mOETF(toOETF(mParameters)) in ColorSpace()
177 , mEOTF(toEOTF(mParameters)) in ColorSpace()
192 , mParameters({gamma, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}) in ColorSpace()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenState.java74 private final DozeParameters mParameters; field in DozeScreenState
98 mParameters = parameters; in DozeScreenState()
127 int screenState = newState.screenState(mParameters); in transitionTo()
161 && mParameters.shouldDelayDisplayDozeTransition() && !turningOn; in transitionTo()
/frameworks/av/media/libmediahelper/include/media/
DAudioParameter.h126 size_t size() const { return mParameters.size(); } in size()
130 KeyedVector <String8, String8> mParameters; variable
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java102 private final LocalTransportParameters mParameters; field in LocalTransport
117 mParameters = parameters; in LocalTransport()
122 return mParameters; in getParameters()
164 if (mParameters.isFakeEncryptionFlag()) { in getTransportFlags()
167 if (mParameters.isDeviceTransfer()) { in getTransportFlags()
170 if (mParameters.isEncrypted()) { in getTransportFlags()
249 if (mParameters.isNonIncrementalOnly() || !hasDataForPackage) { in performBackupInternal()
250 if (mParameters.isNonIncrementalOnly()) { in performBackupInternal()
608 String deviceName = mParameters.isDeviceTransfer() ? DEVICE_NAME_FOR_D2D_RESTORE_SET in getAvailableRestoreSets()
/frameworks/native/include/input/
DVelocityControl.h98 VelocityControlParameters mParameters; variable
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/
DValidatorHierarchy.java34 public @Nullable Parameters mParameters = null; field in ValidatorHierarchy
/frameworks/native/libs/ui/include_types/ui/
DColorSpace.h216 return mParameters; in getTransferParameters()
269 TransferParameters mParameters; variable
/frameworks/native/libs/ui/include_vndk/ui/
DColorSpace.h216 return mParameters; in getTransferParameters()
269 TransferParameters mParameters; variable

12