/frameworks/native/libs/input/ |
D | VelocityControl.cpp | 41 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/ |
D | BackupAgentTimeoutParametersTest.java | 42 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/ |
D | Camera2Client.cpp | 66 mParameters(api1CameraId, cameraFacing) in Camera2Client() 70 SharedParameters::Lock l(mParameters); in Camera2Client() 71 l.mParameters.state = Parameters::DISCONNECTED; in Camera2Client() 106 SharedParameters::Lock l(mParameters); in initializeImpl() 108 res = l.mParameters.initialize(mDevice.get(), mDeviceVersion); in initializeImpl() 115 l.mParameters.isDeviceZslSupported = isZslEnabledInStillTemplate(); in initializeImpl() 151 SharedParameters::Lock l(mParameters); in initializeImpl() 154 ALOGD("%s", l.mParameters.paramsFlattened.string()); in initializeImpl() 184 const Parameters& p = mParameters.unsafeAccess(); in dumpClient() 424 SharedParameters::Lock l(mParameters); in disconnect() [all …]
|
/frameworks/av/media/libmediahelper/ |
D | AudioParameter.cpp | 83 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/ |
D | EnvReverbTest.java | 50 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 …]
|
D | EqualizerTest.java | 52 private EffectParameter[] mParameters = new EffectParameter[NUM_PARAMS]; field in EqualizerTest 101 …mParameters[0] = new BandLevelParam(mEqualizer, 0, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate() 102 seekBar.setOnSeekBarChangeListener(mParameters[0]); in onCreate() 112 …mParameters[1] = new BandLevelParam(mEqualizer, 1, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate() 113 seekBar.setOnSeekBarChangeListener(mParameters[1]); in onCreate() 123 …mParameters[2] = new BandLevelParam(mEqualizer, 2, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate() 124 seekBar.setOnSeekBarChangeListener(mParameters[2]); in onCreate() 134 …mParameters[3] = new BandLevelParam(mEqualizer, 3, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate() 135 seekBar.setOnSeekBarChangeListener(mParameters[3]); in onCreate() 145 …mParameters[4] = new BandLevelParam(mEqualizer, 4, bandLevelRange[0], bandLevelRange[1], seekBar, … in onCreate() [all …]
|
D | PresetReverbTest.java | 50 private EffectParameter[] mParameters = new EffectParameter[NUM_PARAMS]; field in PresetReverbTest 96 …mParameters[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/ |
D | CursorInputMapper.cpp | 76 if (mParameters.mode == Parameters::MODE_POINTER) { in populateDeviceInfo() 130 switch (mParameters.mode) { in configure() 134 mParameters.mode = Parameters::MODE_POINTER; in configure() 160 if (mParameters.mode == Parameters::MODE_POINTER) { in configure() 161 mParameters.mode = Parameters::MODE_POINTER_RELATIVE; in configure() 169 if (mParameters.mode == Parameters::MODE_POINTER_RELATIVE) { in configure() 170 mParameters.mode = Parameters::MODE_POINTER; in configure() 194 (mParameters.orientationAware && mParameters.hasAssociatedDisplay); in configure() 226 mParameters.mode = Parameters::MODE_POINTER; in configureParameters() 231 mParameters.mode = Parameters::MODE_NAVIGATION; in configureParameters() [all …]
|
D | KeyboardInputMapper.cpp | 140 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 …]
|
D | TouchInputMapper.cpp | 256 info->setButtonUnderPad(mParameters.hasButtonUnderPad); in populateDeviceInfo() 419 mParameters.gestureMode = getDeviceContext().hasInputProperty(INPUT_PROP_SEMI_MT) in configureParameters() 427 mParameters.gestureMode = Parameters::GestureMode::SINGLE_TOUCH; in configureParameters() 429 mParameters.gestureMode = Parameters::GestureMode::MULTI_TOUCH; in configureParameters() 437 mParameters.deviceType = Parameters::DeviceType::TOUCH_SCREEN; in configureParameters() 440 mParameters.deviceType = Parameters::DeviceType::POINTER; in configureParameters() 445 mParameters.deviceType = Parameters::DeviceType::TOUCH_PAD; in configureParameters() 448 mParameters.deviceType = Parameters::DeviceType::POINTER; in configureParameters() 451 mParameters.hasButtonUnderPad = getDeviceContext().hasInputProperty(INPUT_PROP_BUTTONPAD); in configureParameters() 457 mParameters.deviceType = Parameters::DeviceType::TOUCH_SCREEN; in configureParameters() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | FrameProcessor.cpp | 50 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() 107 enableFaceDetect = l.mParameters.enableFaceDetect; in processFaceDetect() 135 l.mParameters.fastInfo.maxFaces) { in processFaceDetect() 138 metadata.number_of_faces, l.mParameters.fastInfo.maxFaces); in processFaceDetect() 201 face.rect[0] = l.mParameters.arrayXToNormalizedWithCrop( in processFaceDetect() 203 face.rect[1] = l.mParameters.arrayYToNormalizedWithCrop( in processFaceDetect() 205 face.rect[2] = l.mParameters.arrayXToNormalizedWithCrop( in processFaceDetect() 207 face.rect[3] = l.mParameters.arrayYToNormalizedWithCrop( in processFaceDetect() [all …]
|
D | CaptureSequencer.cpp | 294 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 …]
|
D | CallbackProcessor.cpp | 305 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 …]
|
D | Parameters.h | 470 mParameters(cameraId, cameraFacing) { in SharedParameters() 477 mParameters(p.mParameters), in BaseLock() 485 P &mParameters; variable 499 return mParameters.staticInfo(tag, minCount, maxCount); 504 return mParameters; in unsafeAccess() 507 Parameters mParameters;
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStoreOperation.java | 36 private final KeyParameter[] mParameters; field in KeyStoreOperation 46 this.mParameters = parameters; in KeyStoreOperation() 63 return mParameters; in getParameters()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenState.java | 62 private final DozeParameters mParameters; field in DozeScreenState 73 mParameters = parameters; in DozeScreenState() 80 int screenState = newState.screenState(mParameters); in transitionTo() 114 && mParameters.shouldControlScreenOff() && !turningOn; in transitionTo()
|
/frameworks/base/libs/hwui/utils/ |
D | HostColorSpace.cpp | 125 , 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/native/libs/ui/ |
D | ColorSpace.cpp | 124 , 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/av/media/libmediahelper/include/media/ |
D | AudioParameter.h | 126 size_t size() const { return mParameters.size(); } in size() 130 KeyedVector <String8, String8> mParameters; variable
|
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/ |
D | LocalTransport.java | 102 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/ |
D | VelocityControl.h | 98 VelocityControlParameters mParameters; variable
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | ColorSpace.h | 216 return mParameters; in getTransferParameters() 269 TransferParameters mParameters; variable
|
/frameworks/native/libs/ui/include_types/ui/ |
D | ColorSpace.h | 216 return mParameters; in getTransferParameters() 269 TransferParameters mParameters; variable
|
/frameworks/rs/script_api/ |
D | Specification.h | 226 std::vector<ParameterEntry*> mParameters; variable 236 const std::vector<ParameterEntry*>& getParameters() const { return mParameters; } in getParameters() 382 std::vector<ParameterEntry*> mParameters; // The parameters. Owned. variable 422 size_t getNumberOfParams() const { return mParameters.size(); } in getNumberOfParams()
|
D | Specification.cpp | 332 for (auto p : mParameters) { in someParametersAreDocumented() 341 for (auto i : mParameters) { in addParameter() 352 mParameters.push_back(entry); in addParameter() 450 for (auto i : mParameters) { in ~FunctionSpecification() 542 ParameterEntry* p = mParameters[index]; in getParam() 680 spec->mParameters.push_back(p); in scanFunctionSpecification()
|