Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/proxy/
DProxyActivityStarter.java32 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/
DPreProvisioningController.java110 private ProvisioningParams mParams; field in PreProvisioningController
265 if (!checkFactoryResetProtection(mParams, callingPackage)) { in initiateProvisioning()
315 if (mParams.isOrganizationOwnedProvisioning) { in initiateProvisioning()
316 mUi.prepareAdminIntegratedFlow(mParams); in initiateProvisioning()
319 if (mParams.skipUserConsent || Utils.isSilentProvisioning(mContext, mParams)) { in initiateProvisioning()
328 if (mParams.wifiInfo != null) { in shouldShowWifiPicker()
331 if (mParams.deviceAdminDownloadInfo == null) { in shouldShowWifiPicker()
337 if (mParams.useMobileData) { in shouldShowWifiPicker()
346 if (mParams.isOrganizationOwnedProvisioning) { in showUserConsentScreen()
354 ProvisionLogger.logd("Sending user consent:" + mParams.provisioningAction); in showUserConsentScreen()
[all …]
DEncryptDeviceActivity.java41 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/mapclient/obex/
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 …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
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 …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSet.java77 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 …]
DMoreKeysKeyboard.java283 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/
DOnScreenHint.java52 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/
DProfileOwnerProvisioningController.java66 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 …]
DDeviceOwnerProvisioningController.java62 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 …]
DProvisioningActivity.java155 if (shouldSkipEducationScreens() || 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()
207 && mParams.provisioningMode == ProvisioningParams.PROVISIONING_MODE_MANAGED_PROFILE in shouldShowTransitionScreen()
219 intent.putExtra(ProvisioningParams.EXTRA_PROVISIONING_PARAMS, mParams); in onActivityResult()
[all …]
DAdminIntegratedFlowPrepareController.java58 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()
DAbstractProvisioningActivity.java63 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/
DCallAudioRouteTransitionTests.java146 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 …]
DBluetoothRouteTransitionTests.java237 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 …]
DCallAudioModeTransitionTests.java106 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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardBuilder.java143 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 …]
DKeyboardRow.java42 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()
DGestureFloatingTextDrawingPreview.java99 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 …]
DKeyPreviewChoreographer.java45 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/
DPreProvisioningControllerTest.java125 private ProvisioningParams mParams; field in PreProvisioningControllerTest
184 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile() local
236 verify(mUi).requestEncryption(mParams); in testManagedProfile_withEncryption()
251 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile_afterEncryption() local
344 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile_skipEncryption() local
378 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc() local
394 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc_skipEncryption() local
410 verify(mUi).requestEncryption(mParams); in testNfc_withEncryption()
425 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc_afterEncryption() local
469 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testQr() local
[all …]
/packages/apps/Camera2/src/com/android/camera/
DOnScreenHint.java50 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/
DFolderPreviewItemAnim.java35 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/
DProvisioningIntentProviderTest.java53 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/
DNonRequiredAppsLogic.java63 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()

12