Home
last modified time | relevance | path

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

123

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/proxy/
DProxyActivityStarter.java35 private StartActivityParams mParams; field in ProxyActivityStarter
42 mParams = getIntent().getParcelableExtra(EXTRA_PARAMS); in onCreate()
43 if (mParams == null) { in onCreate()
55 if (mParams.intent != null) { in onCreate()
58 } else if (mParams.intentSender != null) { in onCreate()
64 mParams.deliverResult(this, RESULT_CANCELED, null); in onCreate()
71 if (requestCode == mParams.requestCode) { in onActivityResult()
72 mParams.deliverResult(this, resultCode, data); in onActivityResult()
85 if (mParams.requireActivityResult) { in startActivity()
86 startActivityForResult(mParams.intent, mParams.requestCode, mParams.options); in startActivity()
[all …]
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DBackoffSequence.h64 return mParams.endOfSequenceIndicator; in getEndOfSequenceIndicator()
72 mParams.initialRetransTime = irt; in withInitialRetransmissionTime()
76 mParams.maxRetransCount = mrc; in withMaximumRetransmissionCount()
80 mParams.maxRetransTime = mrt; in withMaximumRetransmissionTime()
84 mParams.maxRetransDuration = mrd; in withMaximumRetransmissionDuration()
88 mParams.endOfSequenceIndicator = eos; in withEndOfSequenceIndicator()
93 return BackoffSequence(mParams); in build()
97 Parameters mParams;
106 : mParams(params), in BackoffSequence()
112 return (mParams.maxRetransCount > 0) && (mRetransCount >= mParams.maxRetransCount); in maxRetransCountExceed()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
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/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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapContentTest.java123 @Mock private BluetoothMapAppParams mParams; field in BluetoothMapContentTest
227 when(mParams.getParameterMask()) in setAttachment_withTypeMms()
237 mContent.setAttachment(mMessageListingElement, cursor, mInfo, mParams); in setAttachment_withTypeMms()
244 when(mParams.getParameterMask()) in setAttachment_withTypeEmail()
254 mContent.setAttachment(mMessageListingElement, cursor, mInfo, mParams); in setAttachment_withTypeEmail()
263 when(mParams.getParameterMask()).thenReturn(parameterMask); in setAttachment_withTypeIm()
279 mContent.setAttachment(mMessageListingElement, cursor, mInfo, mParams); in setAttachment_withTypeIm()
298 when(mParams.getFilterMessageType()).thenReturn(0); in setConvoWhereFilterSmsMms()
299 when(mParams.getFilterReadStatus()).thenReturn(0x03); in setConvoWhereFilterSmsMms()
301 when(mParams.getFilterLastActivityBegin()).thenReturn(lastActivity); in setConvoWhereFilterSmsMms()
[all …]
DBluetoothMapObexServerTest.java70 private BluetoothMapAppParams mParams; field in BluetoothMapObexServerTest
99 mParams = new BluetoothMapAppParams(); in setUp()
127 assertThat(obexServer.setOwnerStatus(mParams)) in setOwnerStatus_withAccountTypeEmail()
148 setUpBluetoothMapAppParams(mParams); in setOwnerStatus_withNonNullBundle()
152 assertThat(mObexServer.setOwnerStatus(mParams)).isEqualTo(ResponseCodes.OBEX_HTTP_OK); in setOwnerStatus_withNonNullBundle()
157 setUpBluetoothMapAppParams(mParams); in setOwnerStatus_withNullBundle()
160 assertThat(mObexServer.setOwnerStatus(mParams)) in setOwnerStatus_withNullBundle()
166 setUpBluetoothMapAppParams(mParams); in setOwnerStatus_withRemoteExceptionThrown()
169 assertThat(mObexServer.setOwnerStatus(mParams)) in setOwnerStatus_withRemoteExceptionThrown()
175 setUpBluetoothMapAppParams(mParams); in setOwnerStatus_withNullPointerExceptionThrown()
[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 …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
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 …]
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 …]
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/src/com/android/managedprovisioning/provisioning/
DProvisioningActivity.java187 .setParams(mParams) in createBridge()
247 /* resetRequired */ mParams.isOrganizationOwnedProvisioning);
267 if (!mUtils.isFinancedDeviceAction(mParams.provisioningAction)) {
271 this, mParams, mUtils);
298 if (mParams.provisioningAction.equals(ACTION_PROVISION_FINANCED_DEVICE)) {
308 .deviceManagementEstablished(mParams);
309 if (mParams.flowType == ProvisioningParams.FLOW_TYPE_ADMIN_INTEGRATED) {
310 if (mUtils.isProfileOwnerAction(mParams.provisioningAction)) {
312 } else if (mUtils.isDeviceOwnerAction(mParams.provisioningAction)) {
314 } else if (mUtils.isFinancedDeviceAction(mParams.provisioningAction)) {
[all …]
DDownloadRoleHolderController.java81 if (mParams.wifiInfo != null) { in setUpTasks()
82 addTasks(new AddWifiNetworkTask(mContext, mParams, this)); in setUpTasks()
83 } else if (mParams.useMobileData) { in setUpTasks()
84 addTasks(new ConnectMobileNetworkTask(mContext, mParams, this)); in setUpTasks()
91 if (mParams.roleHolderDownloadInfo == null) { in addDownloadAndInstallRoleHolderPackageTasks()
96 mContext, mParams, mParams.roleHolderDownloadInfo, this); in addDownloadAndInstallRoleHolderPackageTasks()
99 downloadTask, mContext, mParams, mParams.roleHolderDownloadInfo, this), in addDownloadAndInstallRoleHolderPackageTasks()
100 new InstallPackageTask(downloadTask, mContext, mParams, this, in addDownloadAndInstallRoleHolderPackageTasks()
141 && mUtils.isOrganizationOwnedAllowed(mParams) in getRequireFactoryReset()
DAbstractProvisioningController.java56 protected final ProvisioningParams mParams; field in AbstractProvisioningController
87 mParams = checkNotNull(params); in AbstractProvisioningController()
194 if (mParams.deviceAdminDownloadInfo == null) { in addDownloadAndInstallDeviceOwnerPackageTasks()
199 mContext, mParams, mParams.deviceAdminDownloadInfo, this); in addDownloadAndInstallDeviceOwnerPackageTasks()
202 downloadTask, mContext, mParams, mParams.deviceAdminDownloadInfo, this), in addDownloadAndInstallDeviceOwnerPackageTasks()
203 new InstallPackageTask(downloadTask, mContext, mParams, this, in addDownloadAndInstallDeviceOwnerPackageTasks()
204 mParams.inferDeviceAdminPackageName())); in addDownloadAndInstallDeviceOwnerPackageTasks()
210 addTasks(new InstallExistingPackageTask(mParams.inferDeviceAdminPackageName(), mContext, in addDownloadAndInstallDeviceOwnerPackageTasks()
211 mParams, /* callback= */ this, UserHandle.USER_SYSTEM)); in addDownloadAndInstallDeviceOwnerPackageTasks()
DDeviceOwnerProvisioningController.java70 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()
/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;
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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteTransitionTests.java151 private final RoutingTestParameters mParams; field in CallAudioRouteTransitionTests
168 mParams = params; in CallAudioRouteTransitionTests()
247 switch (mParams.action) { in sendActionToStateMachine()
261 sm.sendMessageWithSessionInfo(mParams.action); in sendActionToStateMachine()
276 mParams.earpieceControl, in testActiveTransition()
283 setupMocksForParams(stateMachine, mParams); in testActiveTransition()
287 mParams.initialRoute, (mParams.availableRoutes | CallAudioState.ROUTE_SPEAKER), in testActiveTransition()
288 mParams.initialBluetoothDevice, mParams.availableBluetoothDevices); in testActiveTransition()
295 if (mParams.initialRoute == CallAudioState.ROUTE_BLUETOOTH) { in testActiveTransition()
313 switch (mParams.bluetoothInteraction) { in testActiveTransition()
[all …]
DBluetoothRouteTransitionTests.java260 private final BluetoothRouteTestParameters mParams; field in BluetoothRouteTransitionTests
284 mParams = params; in BluetoothRouteTransitionTests()
291 mParams.initialBluetoothState, mParams.initialDevice); in testTransitions()
294 if (mParams.hearingAidBtDevices.contains(mParams.messageDevice)) { in testTransitions()
296 } else if (mParams.hearingAidBtDevices.contains(mParams.messageDevice)) { in testTransitions()
300 setupConnectedDevices(mParams.connectedDevices, in testTransitions()
301 mParams.audioOnDevice, mParams.activeDevice); in testTransitions()
302 sm.setActiveDeviceCacheForTesting(mParams.activeDevice, deviceType); in testTransitions()
303 if (mParams.initialDevice != null) { in testTransitions()
307 args.arg2 = mParams.initialDevice.getAddress(); in testTransitions()
[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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DEncryptDeviceActivity.java41 private ProvisioningParams mParams; field in EncryptDeviceActivity
47 mParams = getIntent().getParcelableExtra(ProvisioningParams.EXTRA_PROVISIONING_PARAMS); in onCreate()
48 if (mParams == null) { in onCreate()
55 if (getUtils().isProfileOwnerAction(mParams.provisioningAction)) { in onCreate()
60 } else if (getUtils().isDeviceOwnerAction(mParams.provisioningAction)) { in onCreate()
66 ProvisionLogger.loge("Unknown provisioning action: " + mParams.provisioningAction); in onCreate()
82 getEncryptionController().setEncryptionReminder(mParams); in initializeUi()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppsIndexerMaintenanceTest.java80 private JobParameters mParams; field in AppsIndexerMaintenanceTest
105 mParams = Mockito.mock(JobParameters.class); in setUp()
250 when(mParams.getExtras()).thenReturn(mExtras); in testDoUpdateForUser_withInitializedLocalService_isSuccessful()
258 mContextWrapper, mParams, DEFAULT_USER_HANDLE, new CancellationSignal()); in testDoUpdateForUser_withInitializedLocalService_isSuccessful()
264 when(mParams.getExtras()).thenReturn(mExtras); in testDoUpdateForUser_withUninitializedLocalService_failsGracefully()
272 mContextWrapper, mParams, DEFAULT_USER_HANDLE, new CancellationSignal()); in testDoUpdateForUser_withUninitializedLocalService_failsGracefully()
278 when(mParams.getExtras()).thenReturn(mExtras); in testDoUpdateForUser_onEncounteringException_failsGracefully()
292 mContextWrapper, mParams, DEFAULT_USER_HANDLE, new CancellationSignal()); in testDoUpdateForUser_onEncounteringException_failsGracefully()
299 when(mParams.getExtras()).thenReturn(mExtras); in testDoUpdateForUser_cancelsBackgroundJob_whenIndexerDisabled()
307 mContextWrapper, mParams, DEFAULT_USER_HANDLE, new CancellationSignal()); in testDoUpdateForUser_cancelsBackgroundJob_whenIndexerDisabled()
[all …]
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerMaintenanceTest.java80 private JobParameters mParams; field in ContactsIndexerMaintenanceTest
103 mParams = Mockito.mock(JobParameters.class); in setUp()
250 when(mParams.getExtras()).thenReturn(mExtras); in testDoFullUpdateForUser_withInitializedLocalService_isSuccessful()
256 mContextWrapper, mParams, DEFAULT_USER_HANDLE, new CancellationSignal()); in testDoFullUpdateForUser_withInitializedLocalService_isSuccessful()
262 when(mParams.getExtras()).thenReturn(mExtras); in testDoFullUpdateForUser_withUninitializedLocalService_failsGracefully()
268 mContextWrapper, mParams, DEFAULT_USER_HANDLE, new CancellationSignal()); in testDoFullUpdateForUser_withUninitializedLocalService_failsGracefully()
274 when(mParams.getExtras()).thenReturn(mExtras); in testDoFullUpdateForUser_onEncounteringException_failsGracefully()
284 mContextWrapper, mParams, DEFAULT_USER_HANDLE, new CancellationSignal()); in testDoFullUpdateForUser_onEncounteringException_failsGracefully()
291 when(mParams.getExtras()).thenReturn(mExtras); in testDoFullUpdateForUser_cancelsBackgroundJob_whenCiDisabled()
297 mContextWrapper, mParams, DEFAULT_USER_HANDLE, new CancellationSignal()); in testDoFullUpdateForUser_cancelsBackgroundJob_whenCiDisabled()
[all …]
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/
DFederatedJobService.java80 JobParameters mParams; field in FederatedJobService.OnJobFinishedCallback
83 public OnJobFinishedCallback(JobParameters mParams, FederatedJobService mJobService) { in OnJobFinishedCallback() argument
84 this.mParams = mParams; in OnJobFinishedCallback()
95 mParams.getJobId()); in callJobFinished()
99 mParams.getJobId(), in callJobFinished()
102 mJobService.jobFinished(mParams, wantsReschedule); in callJobFinished()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DInferenceInput.java40 @NonNull private Params mParams; field in InferenceInput
416 this.mParams = params; in InferenceInput()
417 AnnotationValidations.validate(NonNull.class, null, mParams); in InferenceInput()
430 return mParams; in getParams()
494 && java.util.Objects.equals(mParams, that.mParams) in equals()
508 _hash = 31 * _hash + java.util.Objects.hashCode(mParams); in hashCode()
520 private @NonNull Params mParams; field in InferenceInput.Builder
558 mParams = params; in Builder()
559 AnnotationValidations.validate(NonNull.class, null, mParams); in Builder()
570 mParams = value; in setParams()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DRttManagerTest.java47 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()

123