/packages/apps/Launcher3/quickstep/src/com/android/launcher3/proxy/ |
D | ProxyActivityStarter.java | 32 private StartActivityParams mParams; field in ProxyActivityStarter 39 mParams = getIntent().getParcelableExtra(EXTRA_PARAMS); in onCreate() 40 if (mParams == null) { in onCreate() 51 if (mParams.intent != null) { in onCreate() 52 startActivityForResult(mParams.intent, mParams.requestCode, mParams.options); in onCreate() 54 } else if (mParams.intentSender != null) { in onCreate() 56 startIntentSenderForResult(mParams.intentSender, mParams.requestCode, in onCreate() 57 mParams.fillInIntent, mParams.flagsMask, mParams.flagsValues, in onCreate() 58 mParams.extraFlags, in onCreate() 59 mParams.options); in onCreate() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningController.java | 110 private ProvisioningParams mParams; field in PreProvisioningController 265 if (!checkFactoryResetProtection(mParams, callingPackage)) { in initiateProvisioning() 291 if (!mUtils.isConnectedToNetwork(mContext) && mParams.wifiInfo == null in initiateProvisioning() 292 && mParams.deviceAdminDownloadInfo != null in initiateProvisioning() 293 && !mParams.useMobileData) { in initiateProvisioning() 317 if (mParams.isOrganizationOwnedProvisioning) { in initiateProvisioning() 318 mUi.prepareAdminIntegratedFlow(mParams); in initiateProvisioning() 321 if (mParams.skipUserConsent || Utils.isSilentProvisioning(mContext, mParams)) { in initiateProvisioning() 332 if (mParams.isOrganizationOwnedProvisioning) { in showUserConsentScreen() 340 ProvisionLogger.logd("Sending user consent:" + mParams.provisioningAction); in showUserConsentScreen() [all …]
|
D | EncryptDeviceActivity.java | 41 private ProvisioningParams mParams; field in EncryptDeviceActivity 51 mParams = getIntent().getParcelableExtra(ProvisioningParams.EXTRA_PROVISIONING_PARAMS); in onCreate() 52 if (mParams == null) { in onCreate() 58 if (getUtils().isProfileOwnerAction(mParams.provisioningAction)) { in onCreate() 62 } else if (getUtils().isDeviceOwnerAction(mParams.provisioningAction)) { in onCreate() 67 ProvisionLogger.loge("Unknown provisioning action: " + mParams.provisioningAction); in onCreate() 74 getEncryptionController().setEncryptionReminder(mParams); in onCreate() 88 CustomizationParams.createInstance(mParams, this, mUtils); in initializeUi()
|
/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/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/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 …]
|
D | MoreKeysKeyboard.java | 283 mParams.mVerticalGap = keyboard.mVerticalGap / 2; in Builder() 297 rowHeight = keyPreviewVisibleHeight + mParams.mVerticalGap; in Builder() 302 ? mParams.mDefaultKeyWidth * LABEL_PADDING_RATIO : 0.0f); in Builder() 303 keyWidth = getMaxKeyWidth(key, mParams.mDefaultKeyWidth, padding, paintToMeasure); in Builder() 313 mParams.setParameters(moreKeys.length, key.getMoreKeysColumnNumber(), keyWidth, in Builder() 335 final MoreKeysKeyboardParams params = mParams; in build()
|
/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/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | ProfileOwnerProvisioningController.java | 66 if (ACTION_PROVISION_MANAGED_PROFILE.equals(mParams.provisioningAction)) { in setUpTasks() 75 new CreateManagedProfileTask(mContext, mParams, this), in setUpTasksManagedProfile() 76 new InstallExistingPackageTask(mParams.inferDeviceAdminPackageName(), mContext, in setUpTasksManagedProfile() 77 mParams, this), in setUpTasksManagedProfile() 78 new SetDevicePolicyTask(mContext, mParams, this), in setUpTasksManagedProfile() 79 new ManagedProfileSettingsTask(mContext, mParams, this), in setUpTasksManagedProfile() 80 new DisableInstallShortcutListenersTask(mContext, mParams, this), in setUpTasksManagedProfile() 81 new StartManagedProfileTask(mContext, mParams, this), in setUpTasksManagedProfile() 82 new CopyAccountToUserTask(mParentUserId, mContext, mParams, this)); in setUpTasksManagedProfile() 87 new DeleteNonRequiredAppsTask(true /* new profile */, mContext, mParams, this), in setUpTasksManagedUser() [all …]
|
D | DeviceOwnerProvisioningController.java | 62 addTasks(new DeviceOwnerInitializeProvisioningTask(mContext, mParams, this)); in setUpTasks() 65 if (!mParams.isOrganizationOwnedProvisioning) { in setUpTasks() 66 if (mParams.wifiInfo != null) { in setUpTasks() 67 addTasks(new AddWifiNetworkTask(mContext, mParams, this)); in setUpTasks() 68 } else if (mParams.useMobileData) { in setUpTasks() 69 addTasks(new ConnectMobileNetworkTask(mContext, mParams, this)); in setUpTasks() 72 if (mParams.deviceAdminDownloadInfo != null) { in setUpTasks() 73 DownloadPackageTask downloadTask = new DownloadPackageTask(mContext, mParams, this); in setUpTasks() 75 new VerifyPackageTask(downloadTask, mContext, mParams, this), in setUpTasks() 76 new InstallPackageTask(downloadTask, mContext, mParams, this)); in setUpTasks() [all …]
|
D | ProvisioningActivity.java | 142 if (mParams.skipEducationScreens || mTransitionAnimationHelper.areAllTransitionsShown()) { in preFinalizationCompleted() 149 if (!mParams.skipEducationScreens) { in updateProvisioningFinalizedScreen() 155 if (mParams.skipEducationScreens || Utils.isSilentProvisioning(this, mParams)) { in updateProvisioningFinalizedScreen() 162 .provisioningInitiallyDone(mParams); in onNextButtonClicked() 163 if (mUtils.isAdminIntegratedFlow(mParams)) { in onNextButtonClicked() 172 if (mParams.isCloudEnrollment) { in enableGlobalFlags() 187 final String adminPackage = mParams.inferDeviceAdminPackageName(); in showPolicyComplianceScreen() 189 if (mParams.provisioningAction.equals(ACTION_PROVISION_MANAGED_PROFILE)) { in showPolicyComplianceScreen() 199 mParams.adminExtrasBundle); in showPolicyComplianceScreen() 206 return mParams.isOrganizationOwnedProvisioning in shouldShowTransitionScreen() [all …]
|
D | AdminIntegratedFlowPrepareController.java | 58 if (mParams.wifiInfo != null) { in setUpTasks() 59 addTasks(new AddWifiNetworkTask(mContext, mParams, this)); in setUpTasks() 60 } else if (mParams.useMobileData) { in setUpTasks() 61 addTasks(new ConnectMobileNetworkTask(mContext, mParams, this)); in setUpTasks() 64 if (mParams.deviceAdminDownloadInfo != null) { in setUpTasks() 65 DownloadPackageTask downloadTask = new DownloadPackageTask(mContext, mParams, this); in setUpTasks() 67 new VerifyPackageTask(downloadTask, mContext, mParams, this), in setUpTasks() 68 new InstallPackageTask(downloadTask, mContext, mParams, this)); in setUpTasks()
|
D | AbstractProvisioningActivity.java | 63 protected ProvisioningParams mParams; field in AbstractProvisioningActivity 82 mParams = getIntent().getParcelableExtra(ProvisioningParams.EXTRA_PROVISIONING_PARAMS); in onCreate() 83 initializeUi(mParams); in onCreate() 93 getProvisioningManager().maybeStartProvisioning(mParams); in onCreate() 128 if (mParams.skipUserConsent) { in onBackPressed()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteTransitionTests.java | 144 private final RoutingTestParameters mParams; field in CallAudioRouteTransitionTests 159 mParams = params; in CallAudioRouteTransitionTests() 215 switch (mParams.action) { in sendActionToStateMachine() 229 sm.sendMessageWithSessionInfo(mParams.action); in sendActionToStateMachine() 244 mParams.earpieceControl); in testActiveTransition() 247 setupMocksForParams(stateMachine, mParams); in testActiveTransition() 251 mParams.initialRoute, (mParams.availableRoutes | CallAudioState.ROUTE_SPEAKER), in testActiveTransition() 252 mParams.initialBluetoothDevice, mParams.availableBluetoothDevices); in testActiveTransition() 259 if (mParams.initialRoute == CallAudioState.ROUTE_BLUETOOTH) { in testActiveTransition() 277 switch (mParams.bluetoothInteraction) { in testActiveTransition() [all …]
|
D | BluetoothRouteTransitionTests.java | 236 private final BluetoothRouteTestParameters mParams; field in BluetoothRouteTransitionTests 250 mParams = params; in BluetoothRouteTransitionTests() 257 mParams.initialBluetoothState, mParams.initialDevice); in testTransitions() 259 setupConnectedDevices(mParams.connectedDevices, in testTransitions() 260 mParams.audioOnDevice, mParams.activeDevice); in testTransitions() 261 sm.setActiveDeviceCacheForTesting(mParams.activeDevice, in testTransitions() 262 mParams.hearingAidBtDevices.contains(mParams.messageDevice)); in testTransitions() 263 if (mParams.initialDevice != null) { in testTransitions() 267 args.arg2 = mParams.initialDevice.getAddress(); in testTransitions() 275 if (mParams.messageType == BluetoothRouteManager.NEW_DEVICE_CONNECTED) { in testTransitions() [all …]
|
D | CallAudioModeTransitionTests.java | 104 private final ModeTestParameters mParams; field in CallAudioModeTransitionTests 113 mParams = params; in CallAudioModeTransitionTests() 122 sm.sendMessage(mParams.initialAudioState); in modeTransitionTest() 128 sm.sendMessage(mParams.messageType, mParams.externalState); in modeTransitionTest() 131 assertEquals(mParams.expectedFinalStateName, sm.getCurrentStateName()); in modeTransitionTest() 133 switch (mParams.expectedFocus) { in modeTransitionTest() 150 if (mParams.expectedMode != NO_CHANGE) { in modeTransitionTest() 151 verify(mAudioManager).setMode(eq(mParams.expectedMode)); in modeTransitionTest() 156 switch (mParams.expectedRingingInteraction) { in modeTransitionTest() 169 switch (mParams.expectedCallWaitingInteraction) { in modeTransitionTest()
|
/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningControllerTest.java | 127 private ProvisioningParams mParams; field in PreProvisioningControllerTest 186 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile() local 238 verify(mUi).requestEncryption(mParams); in testManagedProfile_withEncryption() 253 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile_afterEncryption() local 346 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile_skipEncryption() local 380 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc() local 396 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc_skipEncryption() local 412 verify(mUi).requestEncryption(mParams); in testNfc_withEncryption() 427 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc_afterEncryption() local 471 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testQr() local [all …]
|
/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/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; 52 private final PreviewItemDrawingParams mParams; field in FolderPreviewItemAnim 69 mParams = params; in FolderPreviewItemAnim() 92 mParams.scale = values[0]; in setParams() 93 mParams.transX = values[1]; in setParams() 94 mParams.transY = values[2]; in setParams()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | ProvisioningIntentProviderTest.java | 53 private ProvisioningParams mParams; field in ProvisioningIntentProviderTest 61 mParams = new ProvisioningParams.Builder() in setUp() 72 mProvisioningIntentProvider.maybeLaunchDpc(mParams, 0, mUtils, mContext); in maybeLaunchDpc_success() 81 mProvisioningIntentProvider.maybeLaunchDpc(mParams, 0, mUtils, mContext); in maybeLaunchDpc_cannotResolveIntent() 89 .createProvisioningCompleteIntent(mParams, 0, mUtils, mContext); in createProvisioningIntent_success()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/ |
D | NonRequiredAppsLogic.java | 63 private final ProvisioningParams mParams; field in NonRequiredAppsLogic 94 mParams = checkNotNull(params); in NonRequiredAppsLogic() 113 deviceAdminComponentName = mParams.inferDeviceAdminComponentName( in getSystemAppsToRemove() 121 deviceAdminComponentName, userId, mParams.provisioningAction); in getSystemAppsToRemove() 143 if (mParams.leaveAllSystemAppsEnabled) { in getCase()
|