/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpeg_reader.cpp | 24 mInfo(), in JpegReader() 51 SetupErrMgr(reinterpret_cast<j_common_ptr>(&mInfo), &mErrorManager); in setup() 58 jpeg_create_decompress(&mInfo); in setup() 61 int32_t flags = MakeSrc(&mInfo, env, in); in setup() 68 jpeg_read_header(&mInfo, TRUE); in setup() 69 jpeg_calc_output_dimensions(&mInfo); in setup() 76 mInfo.out_color_space = JCS_GRAYSCALE; in setup() 77 mScanlineUnformattedBuflen = mInfo.output_width; in setup() 81 mScanlineUnformattedBuflen = mInfo.output_width * components; in setup() 82 if (mInfo.jpeg_color_space == JCS_CMYK in setup() [all …]
|
D | jpeg_writer.cpp | 24 JpegWriter::JpegWriter() : mInfo(), in JpegWriter() 56 SetupErrMgr(reinterpret_cast<j_common_ptr>(&mInfo), &mErrorManager); in setup() 64 jpeg_create_compress(&mInfo); in setup() 67 int32_t flags = MakeDst(&mInfo, env, out); in setup() 73 mInfo.image_width = width; in setup() 74 mInfo.image_height = height; in setup() 78 mInfo.input_components = 1; in setup() 79 mInfo.in_color_space = JCS_GRAYSCALE; in setup() 83 mInfo.input_components = 3; in setup() 84 mInfo.in_color_space = JCS_RGB; in setup() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/ |
D | DeviceAdminListItem.java | 35 private final DeviceAdminInfo mInfo; field in DeviceAdminListItem 42 mInfo = info; in DeviceAdminListItem() 43 mUserHandle = new UserHandle(getUserIdFromDeviceAdminInfo(mInfo)); in DeviceAdminListItem() 44 mKey = mUserHandle.getIdentifier() + "@" + mInfo.getComponent().flattenToString(); in DeviceAdminListItem() 47 mName = mInfo.loadLabel(pm); in DeviceAdminListItem() 49 mDescription = mInfo.loadDescription(pm); in DeviceAdminListItem() 53 mIcon = pm.getUserBadgedIcon(mInfo.loadIcon(pm), mUserHandle); in DeviceAdminListItem() 74 return mDPM.isAdminActiveAsUser(mInfo.getComponent(), getUserIdFromDeviceAdminInfo(mInfo)); in isActive() 82 return !mDPM.isRemovingAdmin(mInfo.getComponent(), getUserIdFromDeviceAdminInfo(mInfo)); in isEnabled() 86 return new UserHandle(getUserIdFromDeviceAdminInfo(mInfo)); in getUser() [all …]
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraController.java | 52 private CameraDeviceInfo mInfo; field in CameraController 93 mInfo = mCameraAgent.getCameraDeviceInfo(); in CameraController() 94 if (mInfo == null && mCallbackReceiver != null) { in CameraController() 109 if (mInfo == null) { in getCharacteristics() 112 return mInfo.getCharacteristics(cameraId); in getCharacteristics() 123 if (mInfo == null) { in getNumberOfCameras() 126 return mInfo.getNumberOfCameras(); in getNumberOfCameras() 131 if (mInfo == null) { in getFirstBackCameraId() 134 return mInfo.getFirstBackCameraId(); in getFirstBackCameraId() 139 if (mInfo == null) { in getFirstFrontCameraId() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/ |
D | DeviceAdminListItem.java | 40 private final DeviceAdminInfo mInfo; field in DeviceAdminListItem 47 mInfo = info; in DeviceAdminListItem() 48 mUserHandle = new UserHandle(getUserIdFromDeviceAdminInfo(mInfo)); in DeviceAdminListItem() 49 mKey = mUserHandle.getIdentifier() + "@" + mInfo.getComponent().flattenToString(); in DeviceAdminListItem() 52 mName = mInfo.loadLabel(pm); in DeviceAdminListItem() 54 mDescription = mInfo.loadDescription(pm); in DeviceAdminListItem() 58 mIcon = pm.getUserBadgedIcon(mInfo.loadIcon(pm), mUserHandle); in DeviceAdminListItem() 79 return mDPM.isAdminActiveAsUser(mInfo.getComponent(), getUserIdFromDeviceAdminInfo(mInfo)); in isActive() 87 return !mDPM.isRemovingAdmin(mInfo.getComponent(), getUserIdFromDeviceAdminInfo(mInfo)); in isEnabled() 91 return new UserHandle(getUserIdFromDeviceAdminInfo(mInfo)); in getUser() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetHostViewLoader.java | 28 @Thunk final PendingAddWidgetInfo mInfo; field in WidgetHostViewLoader 39 mInfo = (PendingAddWidgetInfo) view.getTag(); in WidgetHostViewLoader() 66 if (mInfo.boundWidget != null) { in onDragEnd() 70 mLauncher.getDragLayer().removeView(mInfo.boundWidget); in onDragEnd() 71 mLauncher.getAppWidgetHolder().deleteAppWidgetId(mInfo.boundWidget.getAppWidgetId()); in onDragEnd() 72 mInfo.boundWidget = null; in onDragEnd() 80 final LauncherAppWidgetProviderInfo pInfo = mInfo.info; in preloadWidget() 85 final Bundle options = mInfo.getDefaultSizeOptions(mLauncher); in preloadWidget() 88 if (mInfo.getHandler().needsConfigure()) { in preloadWidget() 89 mInfo.bindOptions = options; in preloadWidget() [all …]
|
D | PendingAppWidgetHostView.java | 87 private final LauncherAppWidgetInfo mInfo; field in PendingAppWidgetHostView 166 mInfo = info; in PendingAppWidgetHostView() 190 return mInfo.appWidgetId; in getAppWidgetId() 200 if (widgetManagerHelper.isAppWidgetRestored(mInfo.appWidgetId)) { in checkIfRestored() 214 && !mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID) in onAttachedToWindow() 215 && mInfo.restoreStatus != LauncherAppWidgetInfo.RESTORE_COMPLETED) { in onAttachedToWindow() 222 mInfo.appWidgetId, mAppwidget, this::checkIfRestored); in onAttachedToWindow() 283 return mStartState != mInfo.restoreStatus; in isReinflateIfNeeded() 354 mCenterDrawable.setLevel(Math.max(mInfo.installProgress, 0)); in applyState() 377 return !mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_PROVIDER_NOT_READY) in isReadyForClickSetup() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapContentTest.java | 127 private FilterInfo mInfo; field in BluetoothMapContentTest 137 mInfo = new FilterInfo(); in setUp() 229 mInfo.mMsgType = FilterInfo.TYPE_MMS; in setAttachment_withTypeMms() 230 mInfo.mMmsColTextOnly = 0; in setAttachment_withTypeMms() 231 mInfo.mMmsColAttachmentSize = 1; in setAttachment_withTypeMms() 237 mContent.setAttachment(mMessageListingElement, cursor, mInfo, mParams); in setAttachment_withTypeMms() 246 mInfo.mMsgType = FilterInfo.TYPE_EMAIL; in setAttachment_withTypeEmail() 247 mInfo.mMessageColAttachment = 0; in setAttachment_withTypeEmail() 248 mInfo.mMessageColAttachmentSize = 1; in setAttachment_withTypeEmail() 254 mContent.setAttachment(mMessageListingElement, cursor, mInfo, mParams); in setAttachment_withTypeEmail() [all …]
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | OrientationTouchTransformerTest.java | 69 private DisplayController.Info mInfo; field in OrientationTouchTransformerTest 81 mInfo = createDisplayInfo(NORMAL_SCREEN_SIZE, Surface.ROTATION_0); in setup() 92 mTouchTransformer.createOrAddTouchRegion(mInfo); in disabledMultipleRegions_shouldOverrideFirstRegion() 115 mTouchTransformer.createOrAddTouchRegion(mInfo); in disabledMultipleRegions_shouldOverrideFirstRegion() 145 mTouchTransformer.enableMultipleRegions(true, mInfo); in enableMultipleRegions_shouldOverrideFirstRegion() 146 mTouchTransformer.createOrAddTouchRegion(mInfo); in enableMultipleRegions_shouldOverrideFirstRegion() 165 mTouchTransformer.enableMultipleRegions(true, mInfo); in enableMultipleRegions_assistantTriggersInMostRecent() 168 mTouchTransformer.createOrAddTouchRegion(mInfo); in enableMultipleRegions_assistantTriggersInMostRecent() 182 mTouchTransformer.enableMultipleRegions(true, mInfo); in enableMultipleRegions_assistantTriggersInCurrentOrientationAfterDisable() 183 mTouchTransformer.createOrAddTouchRegion(mInfo); in enableMultipleRegions_assistantTriggersInCurrentOrientationAfterDisable() [all …]
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 137 private final DownloadInfo mInfo; field in DownloadThread 202 mContext.getContentResolver().update(mInfo.getAllDownloadsUri(), buildContentValues(), in writeToDatabase() 211 if (mContext.getContentResolver().update(mInfo.getAllDownloadsUri(), in writeToDatabaseOrThrow() 213 if (mInfo.queryDownloadControl() == CONTROL_PAUSED) { in writeToDatabaseOrThrow() 258 mInfo = info; in DownloadThread() 268 if (mInfo.queryDownloadStatus() == Downloads.Impl.STATUS_SUCCESS) { in run() 285 mIgnoreBlocked = mInfo.isVisible(); in run() 299 TrafficStats.setThreadStatsUid(mInfo.mUid); in run() 354 && !mInfo.isMeteredAllowed(mInfoDelta.mTotalBytes)) { in run() 410 = mSystemFacade.isCleartextTrafficPermitted(mInfo.mPackage, url.getHost()); in executeDownload() [all …]
|
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/impl/ |
D | PluginControllerImpl.java | 50 private final PluginInfo mInfo; field in PluginControllerImpl 60 this.mInfo = info; in PluginControllerImpl() 77 pluginContextInitData = pluginHost.createPluginContextInitData(mInfo.taskName()); in loadInternal() 96 infoBuilder.setTaskName(mInfo.taskName()); in load() 97 infoBuilder.setEntryPointClassName(mInfo.entryPointClassName()); in load() 105 serviceReadiness, "PluginExecutorService", infoBuilder, mInfo.archives(), task)) { in load() 121 pluginExecutorService.unload(mInfo.taskName(), parcelablePluginCallback); in unload() 140 pluginExecutorService.execute(mInfo.taskName(), input, parcelablePluginCallback); in execute() 158 pluginExecutorService.checkPluginState(mInfo.taskName(), parcelableStateCallback); in checkPluginState() 166 return mInfo.taskName(); in getName()
|
/packages/services/Car/cpp/computepipe/runner/include/ |
D | InputFrame.h | 49 mInfo.height = height; in InputFrame() 50 mInfo.width = width; in InputFrame() 51 mInfo.format = format; in InputFrame() 52 mInfo.stride = stride; in InputFrame() 64 return mInfo; in getFrameInfo() 76 FrameInfo mInfo;
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexClientSession.java | 136 private BluetoothOppShareInfo mInfo; field in BluetoothOppObexClientSession.ClientThread 167 mInfo = info; in addShare() 225 msg.obj = mInfo; in run() 344 Constants.updateShareStatus(mContext1, mInfo.mId, status); in doSend() 352 mInfo.mStatus = status; in doSend() 353 msg.obj = mInfo; in doSend() 361 Log.v(TAG, "Client thread processShareInfo() " + mInfo.mId); in processShareInfo() 363 BluetoothOppSendFileInfo fileInfo = BluetoothOppUtility.getSendFileInfo(mInfo.mUri); in processShareInfo() 366 Constants.updateShareStatus(mContext1, mInfo.mId, fileInfo.mStatus); in processShareInfo() 375 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); in processShareInfo() [all …]
|
D | BluetoothOppObexServerSession.java | 88 @VisibleForTesting public BluetoothOppShareInfo mInfo; field in BluetoothOppObexServerSession 183 mInfo = info; in addShare() 361 if (mInfo.mId != mLocalShareInfoId) { in onPut() 369 mAccepted = mInfo.mConfirm; in onPut() 385 mInfo.mStatus = mFileInfo.mStatus; in onPut() 386 Constants.updateShareStatus(mContext, mInfo.mId, status); in onPut() 393 contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); in onPut() 405 mInfo.mUri = mFileInfo.mInsertUri; in onPut() 413 Constants.updateShareStatus(mContext, mInfo.mId, status); in onPut() 418 msg.obj = mInfo; in onPut() [all …]
|
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsProviderInfoStore.java | 35 private final byte[] mInfo; field in VmsProviderInfoStore.InfoWrapper 38 mInfo = info; in InfoWrapper() 42 return mInfo.clone(); in getInfo() 51 return Arrays.equals(this.mInfo, p.mInfo); in equals() 56 return Arrays.hashCode(mInfo); in hashCode()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 203 public FolderInfo mInfo; field in Folder 369 mInfo.remove(dragObject.dragInfo, true); in onDragStart() 404 mInfo.setTitle(newTitle, mLauncherDelegate.getModelWriter()); in onBackKey() 407 if (TextUtils.isEmpty(mInfo.title)) { in onBackKey() 502 return mInfo; in getInfo() 506 mInfo = info; in bind() 520 mInfo.addListener(this); in bind() 522 if (!isEmpty(mInfo.title)) { in bind() 523 mFolderName.setText(mInfo.title); in bind() 543 if (mInfo.suggestedFolderNames == null) { in showLabelSuggestions() [all …]
|
D | FolderIcon.java | 101 public FolderInfo mInfo; field in FolderIcon 211 icon.mInfo = folderInfo; in inflateIcon() 265 return (Folder.willAcceptItemType(itemType) && item != mInfo && !mFolder.isOpen()); in willAcceptItem() 273 mInfo.add(item, true); in addItem() 277 mInfo.remove(item, animate); in removeItem() 364 mInfo.add(item, index, false); in onDrop() 385 mInfo.add(item, index, true); in onDrop() 424 getContext(), mInfo.getAppContents(), nameInfos); in onDrop() 439 if (!mInfo.getLabelState().equals(LabelState.UNLABELED)) { in setLabelSuggestion() 445 .withItemInfo(mInfo) in setLabelSuggestion() [all …]
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | ClockDrawableWrapper.java | 345 private final ClockBitmapInfo mInfo; field in ClockDrawableWrapper.ClockIconDrawable 353 mInfo = clockInfo; in ClockIconDrawable() 354 mFullDrawable = (AdaptiveIconDrawable) mInfo.animInfo.baseDrawableState in ClockIconDrawable() 367 if (mInfo == null) { in drawInternal() 371 mInfo.drawBackground(canvas, bounds, mPaint); in drawInternal() 374 mInfo.animInfo.applyTime(mTime, mForeground); in drawInternal() 376 canvas.scale(mInfo.scale, mInfo.scale, in drawInternal() 377 bounds.exactCenterX() + mInfo.offset, bounds.exactCenterY() + mInfo.offset); in drawInternal() 386 return mInfo.bgFilter != null; in isThemed() 397 if (mInfo.animInfo.applyTime(mTime, mForeground)) { in run() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | LiveWallpaperInfo.java | 142 return mInfo; in getInfo() 158 protected android.app.WallpaperInfo mInfo; field in LiveWallpaperInfo 179 mInfo = info; in LiveWallpaperInfo() 186 mInfo = in.readParcelable(android.app.WallpaperInfo.class.getClassLoader()); in LiveWallpaperInfo() 355 CharSequence labelCharSeq = mInfo.loadLabel(context.getPackageManager()); in getTitle() 365 CharSequence labelCharSeq = mInfo.loadLabel(packageManager); in getAttributions() 369 CharSequence authorCharSeq = mInfo.loadAuthor(packageManager); in getAttributions() 379 CharSequence descCharSeq = mInfo.loadDescription(packageManager); in getAttributions() 394 Uri wallpaperContextUri = mInfo.loadContextUri(context.getPackageManager()); in getActionUrl() 407 return mInfo.loadContextDescription(context.getPackageManager()); in getActionDescription() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/ |
D | DefaultVoiceInputServiceInfo.java | 32 private VoiceInputInfoProvider.VoiceInputInfo mInfo; field in DefaultVoiceInputServiceInfo 44 mInfo = info; in DefaultVoiceInputServiceInfo() 49 return mInfo.getLabel(); in loadLabel() 55 if (mInfo.getSettingsActivityComponentName() == null) { in getSettingIntent() 59 mInfo.getSettingsActivityComponentName()); in getSettingIntent()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | DisplayController.java | 114 private Info mInfo; field in DisplayController 143 mInfo = new Info(displayInfoContext, wmProxy, in DisplayController() 145 FileLog.i(TAG, "(CTOR) perDisplayBounds: " + mInfo.mPerDisplayBounds); in DisplayController() 153 && mInfo.mIsTaskbarPinned != prefs.get(TASKBAR_PINNING); in attachTaskbarPinningSharedPreferenceChangeListener() 156 && mInfo.mIsTaskbarPinnedInDesktopMode != prefs.get( in attachTaskbarPinningSharedPreferenceChangeListener() 246 reconfigure = mInfo.fontScale != config.fontScale in onIntent() 247 || mInfo.densityDpi != config.densityDpi; in onIntent() 265 if (config.densityDpi != mInfo.densityDpi in onConfigurationChanged() 266 || config.fontScale != mInfo.fontScale in onConfigurationChanged() 267 || display.getRotation() != mInfo.rotation in onConfigurationChanged() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraHolder.java | 54 private CameraInfo[] mInfo; field in CameraHolder 99 mInfo = new CameraInfo[mNumberOfCameras]; in CameraHolder() 101 mInfo[i] = new CameraInfo(); in CameraHolder() 102 android.hardware.Camera.getCameraInfo(i, mInfo[i]); in CameraHolder() 103 if (mBackCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_BACK) { in CameraHolder() 106 if (mFrontCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_FRONT) { in CameraHolder() 117 return mInfo; in getCameraInfo()
|
/packages/apps/Settings/src/com/android/settings/language/ |
D | DefaultVoiceInputPicker.java | 97 public VoiceInputHelper.BaseInfo mInfo; field in DefaultVoiceInputPicker.VoiceInputDefaultAppInfo 102 mInfo = info; in VoiceInputDefaultAppInfo() 107 return mInfo.mKey; in getKey() 112 return mInfo.mLabel; in loadLabel() 117 if (mInfo.mSettings == null) { in getSettingIntent() 120 return new Intent(Intent.ACTION_MAIN).setComponent(mInfo.mSettings); in getSettingIntent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AppGridViewTest.java | 58 private ResolveInfo mInfo; field in AppGridViewTest 73 mInfo.activityInfo = mActivityInfo; in setUp() 74 mInfo.activityInfo.applicationInfo = mApplicationInfo; in setUp() 85 new AppGridView.ActivityEntry(mInfo, "label", mIconFactory); in appEntry_shouldLoadIcon() 94 new AppGridView.ActivityEntry(mInfo, "label", mIconFactory); in appEntry_compare_shouldCompareIgnoreCase() 96 new AppGridView.ActivityEntry(mInfo, "LABEL", mIconFactory); in appEntry_compare_shouldCompareIgnoreCase() 98 new AppGridView.ActivityEntry(mInfo, "label2", mIconFactory); in appEntry_compare_shouldCompareIgnoreCase()
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | ApplicationInfoCompat.java | 20 private final ApplicationInfo mInfo; field in ApplicationInfoCompat 23 this.mInfo = info; in ApplicationInfoCompat() 31 return this.mInfo.isSystemApp(); in isSystemApp() 61 return mInfo.isInternal(); in isInternal()
|