/packages/apps/Launcher3/quickstep/src/com/android/launcher3/proxy/ |
D | ProxyActivityStarter.java | 33 private StartActivityParams mParams; field in ProxyActivityStarter 40 mParams = getIntent().getParcelableExtra(EXTRA_PARAMS); in onCreate() 41 if (mParams == null) { in onCreate() 53 if (mParams.intent != null) { in onCreate() 54 startActivityForResult(mParams.intent, mParams.requestCode, mParams.options); in onCreate() 56 } else if (mParams.intentSender != null) { in onCreate() 57 startIntentSenderForResult(mParams.intentSender, mParams.requestCode, in onCreate() 58 mParams.fillInIntent, mParams.flagsMask, mParams.flagsValues, in onCreate() 59 mParams.extraFlags, in onCreate() 60 mParams.options); in onCreate() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | ObexAppParameters.java | 28 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 …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | ObexAppParameters.java | 28 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 …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | OnScreenHint.java | 52 private final WindowManager.LayoutParams mParams = field in OnScreenHint 70 mParams.height = WindowManager.LayoutParams.WRAP_CONTENT; in OnScreenHint() 71 mParams.width = WindowManager.LayoutParams.WRAP_CONTENT; in OnScreenHint() 72 mParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in OnScreenHint() 74 mParams.format = PixelFormat.TRANSLUCENT; in OnScreenHint() 75 mParams.windowAnimations = R.style.Animation_OnScreenHint; in OnScreenHint() 76 mParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL; in OnScreenHint() 77 mParams.setTitle("OnScreenHint"); in OnScreenHint() 145 mParams.gravity = gravity; in handleShow() 148 mParams.horizontalWeight = 1.0f; in handleShow() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardLayoutSet.java | 77 private final Params mParams; field in KeyboardLayoutSet 164 mParams = params; in KeyboardLayoutSet() 170 switch (mParams.mMode) { in getKeyboard() 189 ElementParams elementParams = mParams.mKeyboardLayoutSetElementIdToParamsMap.get( in getKeyboard() 192 elementParams = mParams.mKeyboardLayoutSetElementIdToParamsMap.get( in getKeyboard() 200 mParams.mIsSplitLayoutEnabled = mParams.mIsSplitLayoutEnabledByUser in getKeyboard() 202 final KeyboardId id = new KeyboardId(keyboardLayoutSetElementId, mParams); in getKeyboard() 228 if (mParams.mDisableTouchPositionCorrectionDataForTest) { in getKeyboard() 236 && !mParams.mIsSpellChecker) { in getKeyboard() 254 return mParams.mScriptId; in getScriptId() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteTransitionTests.java | 146 private final RoutingTestParameters mParams; field in CallAudioRouteTransitionTests 162 mParams = params; in CallAudioRouteTransitionTests() 238 switch (mParams.action) { in sendActionToStateMachine() 252 sm.sendMessageWithSessionInfo(mParams.action); in sendActionToStateMachine() 267 mParams.earpieceControl, in testActiveTransition() 271 setupMocksForParams(stateMachine, mParams); in testActiveTransition() 275 mParams.initialRoute, (mParams.availableRoutes | CallAudioState.ROUTE_SPEAKER), in testActiveTransition() 276 mParams.initialBluetoothDevice, mParams.availableBluetoothDevices); in testActiveTransition() 283 if (mParams.initialRoute == CallAudioState.ROUTE_BLUETOOTH) { in testActiveTransition() 301 switch (mParams.bluetoothInteraction) { in testActiveTransition() [all …]
|
D | BluetoothRouteTransitionTests.java | 237 private final BluetoothRouteTestParameters mParams; field in BluetoothRouteTransitionTests 257 mParams = params; in BluetoothRouteTransitionTests() 264 mParams.initialBluetoothState, mParams.initialDevice); in testTransitions() 266 setupConnectedDevices(mParams.connectedDevices, in testTransitions() 267 mParams.audioOnDevice, mParams.activeDevice); in testTransitions() 268 sm.setActiveDeviceCacheForTesting(mParams.activeDevice, in testTransitions() 269 mParams.hearingAidBtDevices.contains(mParams.messageDevice)); in testTransitions() 270 if (mParams.initialDevice != null) { in testTransitions() 274 args.arg2 = mParams.initialDevice.getAddress(); in testTransitions() 282 if (mParams.messageType == BluetoothRouteManager.NEW_DEVICE_CONNECTED) { in testTransitions() [all …]
|
D | CallAudioModeTransitionTests.java | 106 private final ModeTestParameters mParams; field in CallAudioModeTransitionTests 126 mParams = params; in CallAudioModeTransitionTests() 135 sm.sendMessage(mParams.initialAudioState); in modeTransitionTest() 140 if (mParams.initialAudioState in modeTransitionTest() 146 sm.sendMessage(mParams.messageType, mParams.externalState); in modeTransitionTest() 148 if (mParams.expectedFocus == FOCUS_OFF in modeTransitionTest() 149 && mParams.messageType != CallAudioModeStateMachine.AUDIO_OPERATIONS_COMPLETE) { in modeTransitionTest() 155 assertEquals(mParams.expectedFinalStateName, sm.getCurrentStateName()); in modeTransitionTest() 157 switch (mParams.expectedFocus) { in modeTransitionTest() 174 if (mParams.expectedMode != NO_CHANGE) { in modeTransitionTest() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningActivity.java | 182 .setParams(mParams) in createBridge() 242 /* resetRequired */ mParams.isOrganizationOwnedProvisioning); 262 if (!mParams.isNfc && !mUtils.isFinancedDeviceAction(mParams.provisioningAction)) { 266 this, mParams, mUtils, UserHandle.SYSTEM); 286 intent.putExtra(ProvisioningParams.EXTRA_PROVISIONING_PARAMS, mParams); 291 if (mParams.provisioningAction.equals(ACTION_PROVISION_FINANCED_DEVICE)) { 302 .deviceManagementEstablished(mParams); 303 if (mParams.flowType == ProvisioningParams.FLOW_TYPE_ADMIN_INTEGRATED) { 304 if (mUtils.isProfileOwnerAction(mParams.provisioningAction)) { 306 } else if (mUtils.isDeviceOwnerAction(mParams.provisioningAction)) { [all …]
|
D | AbstractProvisioningController.java | 56 protected final ProvisioningParams mParams; field in AbstractProvisioningController 87 mParams = checkNotNull(params); in AbstractProvisioningController() 188 if (mParams.deviceAdminDownloadInfo == null) return; in addDownloadAndInstallDeviceOwnerPackageTasks() 190 DownloadPackageTask downloadTask = new DownloadPackageTask(mContext, mParams, this); in addDownloadAndInstallDeviceOwnerPackageTasks() 192 new VerifyPackageTask(downloadTask, mContext, mParams, this), in addDownloadAndInstallDeviceOwnerPackageTasks() 193 new InstallPackageTask(downloadTask, mContext, mParams, this)); in addDownloadAndInstallDeviceOwnerPackageTasks() 199 addTasks(new InstallExistingPackageTask(mParams.inferDeviceAdminPackageName(), in addDownloadAndInstallDeviceOwnerPackageTasks() 200 mContext, mParams, this, UserHandle.USER_SYSTEM)); in addDownloadAndInstallDeviceOwnerPackageTasks()
|
D | DeviceOwnerProvisioningController.java | 70 if (!mUtils.checkAdminIntegratedFlowPreconditions(mParams)) { in setUpTasks() 71 if (mParams.wifiInfo != null) { in setUpTasks() 72 addTasks(new AddWifiNetworkTask(mContext, mParams, this)); in setUpTasks() 73 } else if (mParams.useMobileData) { in setUpTasks() 74 addTasks(new ConnectMobileNetworkTask(mContext, mParams, this)); in setUpTasks() 79 addTasks(new ProvisionFullyManagedDeviceTask(mContext, mParams, this)); in setUpTasks()
|
D | LandingActivity.java | 42 private ProvisioningParams mParams; field in LandingActivity 61 mParams = getIntent().getParcelableExtra(ProvisioningParams.EXTRA_PROVISIONING_PARAMS); in onCreate() 69 .setParams(mParams) in createBridge() 93 .shouldRunPrepareActivity(mUtils, this, mParams)) { 97 intent.putExtra(ProvisioningParams.EXTRA_PROVISIONING_PARAMS, mParams);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardBuilder.java | 143 protected final KP mParams; field in KeyboardBuilder 158 mParams = params; in KeyboardBuilder() 165 mParams.mAllowRedundantMoreKeys = enabled; in setAllowRedundantMoreKes() 169 mParams.mId = id; in load() 187 mParams.mTouchPositionCorrection.setEnabled(false); in disableTouchPositionCorrectionDataForTest() 191 mParams.mProximityCharsCorrectionEnabled = enabled; in setProximityCharsCorrectionEnabled() 196 return new Keyboard(mParams); in build() 221 if (DEBUG) startTag("<%s> %s", TAG_KEYBOARD, mParams.mId); in parseKeyboard() 243 final KeyboardParams params = mParams; in parseKeyboardAttributes() 349 return new KeyboardRow(mResources, mParams, parser, mCurrentY); in parseRowAttributes() [all …]
|
D | KeyboardRow.java | 42 private final KeyboardParams mParams; field in KeyboardRow 98 mParams = params; in KeyboardRow() 120 keyAttr, mRowAttributesStack.peek(), mParams.mBaseWidth); in pushRowAttributes() 157 mParams.mBaseWidth, mParams.mBaseWidth, 0); in getKeyX() 159 return keyXPos + mParams.mLeftPadding; in getKeyX() 166 final int keyboardRightEdge = mParams.mOccupiedWidth - mParams.mRightPadding; in getKeyX() 180 final int keyboardRightEdge = mParams.mOccupiedWidth - mParams.mRightPadding; in getKeyWidth() 184 mParams.mBaseWidth, mParams.mBaseWidth, getDefaultKeyWidth()); in getKeyWidth()
|
D | GestureFloatingTextDrawingPreview.java | 99 private final GesturePreviewTextParams mParams; field in GestureFloatingTextDrawingPreview 107 mParams = new GesturePreviewTextParams(mainKeyboardViewAttr); in GestureFloatingTextDrawingPreview() 146 final float round = mParams.mGesturePreviewRoundRadius; in drawPreview() 148 mGesturePreviewRectangle, round, round, mParams.getBackgroundPaint()); in drawPreview() 150 canvas.drawText(text, mPreviewTextX, mPreviewTextY, mParams.getTextPaint()); in drawPreview() 165 final int textHeight = mParams.mGesturePreviewTextHeight; in updatePreviewPosition() 166 final float textWidth = mParams.getTextPaint().measureText(text); in updatePreviewPosition() 167 final float hPad = mParams.mGesturePreviewHorizontalPadding; in updatePreviewPosition() 168 final float vPad = mParams.mGesturePreviewVerticalPadding; in updatePreviewPosition() 174 mParams.mDisplayWidth - rectWidth); in updatePreviewPosition() [all …]
|
D | KeyPreviewChoreographer.java | 45 private final KeyPreviewDrawParams mParams; field in KeyPreviewChoreographer 48 mParams = params; in KeyPreviewChoreographer() 62 keyPreviewView.setBackgroundResource(mParams.mPreviewBackgroundResId); in getKeyPreviewView() 112 mParams.setGeometry(keyPreviewView); in placeKeyPreview() 114 final int previewHeight = mParams.mPreviewHeight; in placeKeyPreview() 135 final int previewY = key.getY() - previewHeight + mParams.mPreviewOffset in placeKeyPreview() 162 final Animator showUpAnimator = mParams.createShowUpAnimator(keyPreviewView); in createShowUpAnimator() 173 final Animator dismissAnimator = mParams.createDismissAnimator(keyPreviewView); in createDismissAnimator()
|
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | PeriodicProvisioner.java | 74 private JobParameters mParams; field in PeriodicProvisioner.ProvisionerThread 77 mParams = params; in ProvisionerThread() 87 jobFinished(mParams, false /* wantsReschedule */); in run() 108 jobFinished(mParams, false /* wantsReschedule */); in run() 121 jobFinished(mParams, false /* wantsReschedule */); in run() 132 jobFinished(mParams, false /* wantsReschedule */); in run() 137 jobFinished(mParams, false /* wantsReschedule */); in run() 150 jobFinished(mParams, false /* wantsReschedule */); in run() 168 jobFinished(mParams, false /* wantsReschedule */); in run() 170 jobFinished(mParams, false /* wantsReschedule */); in run() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPreviewItemAnim.java | 35 sTempParamsArray[0] = anim.mParams.scale; 36 sTempParamsArray[1] = anim.mParams.transX; 37 sTempParamsArray[2] = anim.mParams.transY; 53 private final PreviewItemDrawingParams mParams; field in FolderPreviewItemAnim 70 mParams = params; in FolderPreviewItemAnim() 71 mParams.index = index1; in FolderPreviewItemAnim() 94 mParams.scale = values[0]; in setParams() 95 mParams.transX = values[1]; in setParams() 96 mParams.transY = values[2]; in setParams()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | OnScreenHint.java | 50 private final WindowManager.LayoutParams mParams = field in OnScreenHint 67 mParams.height = WindowManager.LayoutParams.WRAP_CONTENT; in OnScreenHint() 68 mParams.width = WindowManager.LayoutParams.WRAP_CONTENT; in OnScreenHint() 69 mParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in OnScreenHint() 71 mParams.format = PixelFormat.TRANSLUCENT; in OnScreenHint() 72 mParams.windowAnimations = R.style.Animation_OnScreenHint; in OnScreenHint() 73 mParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_PANEL; in OnScreenHint() 74 mParams.setTitle("OnScreenHint"); in OnScreenHint() 146 mWM.addView(mView, mParams); in handleShow()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | EncryptDeviceActivity.java | 42 private ProvisioningParams mParams; field in EncryptDeviceActivity 48 mParams = getIntent().getParcelableExtra(ProvisioningParams.EXTRA_PROVISIONING_PARAMS); in onCreate() 49 if (mParams == null) { in onCreate() 55 if (getUtils().isProfileOwnerAction(mParams.provisioningAction)) { in onCreate() 59 } else if (getUtils().isDeviceOwnerAction(mParams.provisioningAction)) { in onCreate() 64 ProvisionLogger.loge("Unknown provisioning action: " + mParams.provisioningAction); in onCreate() 76 CustomizationParams.createInstance(mParams, this, mUtils); in initializeUi() 82 getEncryptionController().setEncryptionReminder(mParams); in initializeUi()
|
D | PreProvisioningViewModel.java | 60 private ProvisioningParams mParams; field in PreProvisioningViewModel 129 if (mParams == null) { in loadParamsIfNecessary() 130 mParams = loadProvisioningParams(intent); in loadParamsIfNecessary() 138 if (mParams == null) { in getParams() 142 return mParams; in getParams() 152 mParams = params; in updateParams()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | RttManagerTest.java | 47 if (params.mParams == params2.mParams) { in verifyEquals() 50 if (params == null || params2.mParams == null) { in verifyEquals() 53 RttParams[] paramsArray = params.mParams; in verifyEquals() 54 RttParams[] paramsArray2 = params2.mParams; in verifyEquals()
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ike3gpp/ |
D | Ike3gppExtensionTest.java | 29 private Ike3gppParams mParams; field in Ike3gppExtensionTest 35 mParams = new Ike3gppParams.Builder().build(); in setUp() 38 mIke3gppExtension = new Ike3gppExtension(mParams, mDataListener); in setUp() 43 assertEquals(mParams, mIke3gppExtension.getIke3gppParams()); in testGetIke3gppParams()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/ |
D | NonRequiredAppsLogic.java | 62 private final ProvisioningParams mParams; field in NonRequiredAppsLogic 93 mParams = checkNotNull(params); in NonRequiredAppsLogic() 105 deviceAdminComponentName = mParams.inferDeviceAdminComponentName( in getSystemAppsToRemove() 113 deviceAdminComponentName, userId, mParams.provisioningAction); in getSystemAppsToRemove() 148 if (mParams.leaveAllSystemAppsEnabled) { in getCase()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsProvider.java | 56 private final ProvisioningParams mParams; field in TermsProvider 72 mParams = requireNonNull(params); in TermsProvider() 87 int provisioningCase = determineProvisioningCase(mParams); in getTerms() 93 result.addAll(getExtraDisclaimers(mParams)); in getTerms() 102 int provisioningCase = determineProvisioningCase(mParams); in getGeneralDisclaimer()
|