/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/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/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningController.java | 96 private ProvisioningParams mParams; field in PreProvisioningController 208 if (!checkFactoryResetProtection(mParams, callingPackage)) { in initiateProvisioning() 241 if (!mUtils.isConnectedToNetwork(mContext) && mParams.wifiInfo == null in initiateProvisioning() 242 && mParams.deviceAdminDownloadInfo != null) { in initiateProvisioning() 268 if (mParams.skipUserConsent || isSilentProvisioningForTestingDeviceOwner() in initiateProvisioning() 276 CustomizationParams customization = CustomizationParams.createInstance(mParams, mContext, in initiateProvisioning() 285 String packageName = mParams.inferDeviceAdminPackageName(); in initiateProvisioning() 290 : mParams.deviceAdminLabel != null ? mParams.deviceAdminLabel : packageName; in initiateProvisioning() 292 : getDeviceAdminIconDrawable(mParams.deviceAdminIconFilePath); in initiateProvisioning() 307 .getTerms(mParams, TermsProvider.Flags.SKIP_GENERAL_DISCLAIMER) in getDisclaimerHeadings() [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).statusBarColor); in initializeUi()
|
/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/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/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 | 61 addTasks(new DeviceOwnerInitializeProvisioningTask(mContext, mParams, this)); in setUpTasks() 63 if (mParams.wifiInfo != null) { in setUpTasks() 64 addTasks(new AddWifiNetworkTask(mContext, mParams, this)); in setUpTasks() 67 if (mParams.deviceAdminDownloadInfo != null) { in setUpTasks() 68 DownloadPackageTask downloadTask = new DownloadPackageTask(mContext, mParams, this); in setUpTasks() 70 new VerifyPackageTask(downloadTask, mContext, mParams, this), in setUpTasks() 71 new InstallPackageTask(downloadTask, mContext, mParams, this)); in setUpTasks() 75 new DeleteNonRequiredAppsTask(true /* new profile */, mContext, mParams, this), in setUpTasks() 76 new SetDevicePolicyTask(mContext, mParams, this), in setUpTasks() 77 new DisallowAddUserTask(mContext, mParams, this) in setUpTasks() [all …]
|
D | ProvisioningActivity.java | 62 private ProvisioningParams mParams; field in ProvisioningActivity 87 mParams = getIntent().getParcelableExtra(ProvisioningParams.EXTRA_PROVISIONING_PARAMS); in onCreate() 88 initializeUi(mParams); in onCreate() 92 getProvisioningManager().maybeStartProvisioning(mParams); in onCreate() 126 if (mParams.skipUserConsent) { in onBackPressed() 142 if (mParams != null && mParams.isNfc) { in maybeLaunchNfcUserSetupCompleteIntent() 209 final boolean isDoProvisioning = getUtils().isDeviceOwnerAction(mParams.provisioningAction); in showCancelProvisioningDialog() 281 CustomizationParams.createInstance(mParams, this, mUtils).statusBarColor); in initializeUi()
|
D | AbstractProvisioningController.java | 48 protected final ProvisioningParams mParams; field in AbstractProvisioningController 83 mParams = checkNotNull(params); in AbstractProvisioningController() 152 mFinalizationController.provisioningInitiallyDone(mParams); in preFinalize()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningControllerTest.java | 111 private ProvisioningParams mParams; field in PreProvisioningControllerTest 161 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile() local 213 verify(mUi).requestEncryption(mParams); in testManagedProfile_withEncryption() 228 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile_afterEncryption() local 246 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile_withExistingProfile() local 329 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile_skipEncryption() local 363 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc() local 379 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc_skipEncryption() local 395 verify(mUi).requestEncryption(mParams); in testNfc_withEncryption() 410 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testNfc_afterEncryption() 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/Launcher2/src/com/android/launcher2/ |
D | FolderIcon.java | 98 private PreviewItemDrawingParams mParams = new PreviewItemDrawingParams(0, 0, 0, 0); field in FolderIcon 476 mParams = computePreviewItemDrawingParams(Math.min(NUM_ITEMS_IN_PREVIEW, index), mParams); 478 mParams.transX += mPreviewOffsetX; 479 mParams.transY += mPreviewOffsetY; 480 float offsetX = mParams.transX + (mParams.scale * mIntrinsicIconSize) / 2; 481 float offsetY = mParams.transY + (mParams.scale * mIntrinsicIconSize) / 2; 485 return mParams.scale; 559 mParams = computePreviewItemDrawingParams(i, mParams); 560 mParams.drawable = d; 561 drawPreviewItem(canvas, mParams);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | MoreSuggestions.java | 195 mParams.mVerticalGap = mParams.mTopPadding = parentKeyboard.mVerticalGap / 2; in layout() 196 mPaneView.updateKeyboardGeometry(mParams.mDefaultRowHeight); in layout() 197 final int count = mParams.layout(suggestedWords, fromIndex, maxWidth, minWidth, maxRow, in layout() 207 final MoreSuggestionsParam params = mParams; in build()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/ |
D | SetupActionHelper.java | 70 private final Bundle mParams; field in SetupActionHelper.OnActionClickListenerForAction 77 mParams = params; in OnActionClickListenerForAction() 82 SetupActionHelper.onActionClick(mFragment, mCategory, mActionId, mParams); in onClick()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/ |
D | NonRequiredAppsLogic.java | 59 private final ProvisioningParams mParams; field in NonRequiredAppsLogic 90 mParams = checkNotNull(params); in NonRequiredAppsLogic() 131 if (mParams.leaveAllSystemAppsEnabled) { in getCase()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | DeviceOwnerProvisioningControllerTest.java | 67 private ProvisioningParams mParams; field in DeviceOwnerProvisioningControllerTest 211 mParams = new ProvisioningParams.Builder() in createController() 220 mParams, in createController()
|
D | ProfileOwnerProvisioningControllerTest.java | 71 private ProvisioningParams mParams; field in ProfileOwnerProvisioningControllerTest 202 mParams = new ProvisioningParams.Builder() in createController() 209 mParams, in createController()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadIdleService.java | 59 private JobParameters mParams; field in DownloadIdleService.IdleRunnable 62 mParams = params; in IdleRunnable() 69 jobFinished(mParams, false); in run()
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgFetcher.java | 506 private final JobParameters mParams; field in EpgFetcher.FetchAsyncTask 512 mParams = params; in FetchAsyncTask() 606 if (mService != null && mParams != null) { in jobFinished() 608 mService.jobFinished(mParams, reschedule); in jobFinished()
|