/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 136 private final DownloadInfo mInfo; field in DownloadThread 201 mContext.getContentResolver().update(mInfo.getAllDownloadsUri(), buildContentValues(), in writeToDatabase() 210 if (mContext.getContentResolver().update(mInfo.getAllDownloadsUri(), in writeToDatabaseOrThrow() 212 if (mInfo.queryDownloadControl() == CONTROL_PAUSED) { in writeToDatabaseOrThrow() 259 mInfo = info; in DownloadThread() 269 if (mInfo.queryDownloadStatus() == Downloads.Impl.STATUS_SUCCESS) { in run() 286 mIgnoreBlocked = mInfo.isVisible(); in run() 299 final NetworkInfo info = mSystemFacade.getNetworkInfo(mNetwork, mInfo.mUid, in run() 308 TrafficStats.setThreadStatsUid(mInfo.mUid); in run() 343 final NetworkInfo info = mSystemFacade.getNetworkInfo(mNetwork, mInfo.mUid, in run() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | LiveWallpaperThumbAsset.java | 40 private final android.app.WallpaperInfo mInfo; field in LiveWallpaperThumbAsset 44 mInfo = info; in LiveWallpaperThumbAsset() 51 LoadThumbnailTask task = new LoadThumbnailTask(mInfo, receiver); in decodeBitmap() 87 return new LiveWallpaperThumbKey(mInfo); in getKey() 95 return mInfo.loadThumbnail(mContext.getPackageManager()); in getThumbnailDrawable() 102 private android.app.WallpaperInfo mInfo; field in LiveWallpaperThumbAsset.LiveWallpaperThumbKey 105 mInfo = info; in LiveWallpaperThumbKey() 140 + "packageName=" + mInfo.getPackageName() + "," in getCacheKey() 141 + "serviceName=" + mInfo.getServiceName() in getCacheKey() 151 private android.app.WallpaperInfo mInfo; field in LiveWallpaperThumbAsset.LoadThumbnailTask [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetHostViewLoader.java | 34 @Thunk final PendingAddWidgetInfo mInfo; field in WidgetHostViewLoader 45 mInfo = (PendingAddWidgetInfo) view.getTag(); in WidgetHostViewLoader() 72 if (mInfo.boundWidget != null) { in onDragEnd() 76 mLauncher.getDragLayer().removeView(mInfo.boundWidget); in onDragEnd() 77 mLauncher.getAppWidgetHost().deleteAppWidgetId(mInfo.boundWidget.getAppWidgetId()); in onDragEnd() 78 mInfo.boundWidget = null; in onDragEnd() 86 final LauncherAppWidgetProviderInfo pInfo = mInfo.info; in preloadWidget() 91 final Bundle options = getDefaultOptionsForWidget(mLauncher, mInfo); in preloadWidget() 94 if (mInfo.getHandler().needsConfigure()) { in preloadWidget() 95 mInfo.bindOptions = options; in preloadWidget() [all …]
|
D | PendingAppWidgetHostView.java | 54 private final LauncherAppWidgetInfo mInfo; field in PendingAppWidgetHostView 70 mInfo = info; in PendingAppWidgetHostView() 116 return mStartState != mInfo.restoreStatus; in isReinflateIfNeeded() 174 mCenterDrawable.setLevel(Math.max(mInfo.installProgress, 0)); in applyState() 197 return !mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_PROVIDER_NOT_READY) in isReadyForClickSetup() 198 && (mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_UI_NOT_READY) in isReadyForClickSetup() 199 || mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)); in isReadyForClickSetup()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexClientSession.java | 148 private BluetoothOppShareInfo mInfo; field in BluetoothOppObexClientSession.ClientThread 176 mInfo = info; in addShare() 233 msg.obj = mInfo; in run() 331 Constants.updateShareStatus(mContext1, mInfo.mId, status); in doSend() 338 mInfo.mStatus = status; in doSend() 339 msg.obj = mInfo; in doSend() 348 Log.v(TAG, "Client thread processShareInfo() " + mInfo.mId); in processShareInfo() 351 BluetoothOppSendFileInfo fileInfo = BluetoothOppUtility.getSendFileInfo(mInfo.mUri); in processShareInfo() 356 Constants.updateShareStatus(mContext1, mInfo.mId, fileInfo.mStatus); in processShareInfo() 367 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); in processShareInfo() [all …]
|
D | BluetoothOppObexServerSession.java | 84 private BluetoothOppShareInfo mInfo; field in BluetoothOppObexServerSession 180 mInfo = info; in addShare() 337 if (mInfo.mId != mLocalShareInfoId) { in onPut() 340 mAccepted = mInfo.mConfirm; in onPut() 358 mInfo.mStatus = mFileInfo.mStatus; in onPut() 359 Constants.updateShareStatus(mContext, mInfo.mId, status); in onPut() 367 contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); in onPut() 379 Constants.updateShareStatus(mContext, mInfo.mId, status); in onPut() 384 msg.obj = mInfo; in onPut() 390 mInfo.mStatus = status; in onPut() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 143 public FolderInfo mInfo; field in Folder 282 mInfo.remove((WorkspaceItemInfo) dragObject.dragInfo, true); in onDragStart() 318 mInfo.setTitle(newTitle); in onBackKey() 319 mLauncher.getModelWriter().updateItemInDatabase(mInfo); in onBackKey() 381 return mInfo; in getInfo() 385 mInfo = info; in bind() 400 mInfo.addListener(this); in bind() 402 if (!sDefaultFolderName.contentEquals(mInfo.title)) { in bind() 403 mFolderName.setText(mInfo.title); in bind() 533 if (mContent.getPageCount() > 1 && !mInfo.hasOption(FolderInfo.FLAG_MULTI_PAGE_ANIMATION)) { in animateOpen() [all …]
|
D | FolderIcon.java | 80 private FolderInfo mInfo; field in FolderIcon 174 icon.mInfo = folderInfo; in fromXml() 225 item != mInfo && !mFolder.isOpen()); in willAcceptItem() 237 mInfo.add(item, animate); in addItem() 241 mInfo.remove(item, animate); in removeItem() 399 onDrop(item, d.dragView, null, 1.0f, mInfo.contents.size(), 650 mInfo.removeListener(this); 651 mInfo.removeListener(mFolder); 656 if (mInfo.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) { 666 if (mInfo.container == LauncherSettings.Favorites.CONTAINER_HOTSEAT) {
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | ShortcutConfigActivityInfo.java | 107 private final ActivityInfo mInfo; field in ShortcutConfigActivityInfo.ShortcutConfigActivityInfoVL 111 mInfo = info; in ShortcutConfigActivityInfoVL() 116 return mInfo.loadLabel(pm); in getLabel() 121 return cache.getFullResIcon(mInfo); in getFullResIcon() 128 private final LauncherActivityInfo mInfo; field in ShortcutConfigActivityInfo.ShortcutConfigActivityInfoVO 132 mInfo = info; in ShortcutConfigActivityInfoVO() 137 return mInfo.getLabel(); in getLabel() 142 return cache.getFullResIcon(mInfo); in getFullResIcon() 151 .getShortcutConfigActivityIntent(mInfo); in startConfigActivity()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | LiveWallpaperInfo.java | 67 private android.app.WallpaperInfo mInfo; field in LiveWallpaperInfo 86 mInfo = info; in LiveWallpaperInfo() 91 mInfo = in.readParcelable(android.app.WallpaperInfo.class.getClassLoader()); in LiveWallpaperInfo() 251 CharSequence labelCharSeq = mInfo.loadLabel(context.getPackageManager()); in getTitle() 260 CharSequence labelCharSeq = mInfo.loadLabel(context.getPackageManager()); in getAttributions() 264 CharSequence authorCharSeq = mInfo.loadAuthor(context.getPackageManager()); in getAttributions() 280 Uri wallpaperContextUri = mInfo.loadContextUri(context.getPackageManager()); in getActionUrl() 300 mThumbAsset = new LiveWallpaperThumbAsset(context, mInfo); in getThumbAsset() 309 preview.putExtra(WallpaperManager.EXTRA_LIVE_WALLPAPER_COMPONENT, mInfo.getComponent()); in showPreview() 315 parcel.writeParcelable(mInfo, 0 /* flags */); in writeToParcel() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/settings/ |
D | DeveloperOptionsFragment.java | 208 private final PackageInfo mInfo; field in DeveloperOptionsFragment.PluginPreference 217 mInfo = info; in PluginPreference() 230 for (int i = 0; i < mInfo.services.length; i++) { in isPluginEnabled() 231 ComponentName componentName = new ComponentName(mInfo.packageName, in isPluginEnabled() 232 mInfo.services[i].name); in isPluginEnabled() 243 for (int i = 0; i < mInfo.services.length; i++) { in persistBoolean() 244 ComponentName componentName = new ComponentName(mInfo.packageName, in persistBoolean() 245 mInfo.services[i].name); in persistBoolean() 253 final String pkg = mInfo.packageName; in persistBoolean() 272 mInfo.packageName), 0); in onBindViewHolder() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
D | DefaultVoiceInputPicker.java | 140 public VoiceInputHelper.BaseInfo mInfo; field in DefaultVoiceInputPicker.VoiceInputDefaultAppInfo 145 mInfo = info; in VoiceInputDefaultAppInfo() 150 return mInfo.key; in getKey() 155 if (mInfo instanceof VoiceInputHelper.InteractionInfo) { in loadLabel() 156 return mInfo.appLabel; in loadLabel() 158 return mInfo.label; in loadLabel() 163 if (mInfo.settings == null) { in getSettingIntent() 166 return new Intent(Intent.ACTION_MAIN).setComponent(mInfo.settings); in getSettingIntent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AppGridViewTest.java | 45 private ResolveInfo mInfo; field in AppGridViewTest 60 mInfo.activityInfo = mActivityInfo; in setUp() 61 mInfo.activityInfo.applicationInfo = mApplicationInfo; in setUp() 72 new AppGridView.ActivityEntry(mInfo, "label", mIconFactory); in appEntry_shouldLoadIcon() 81 new AppGridView.ActivityEntry(mInfo, "label", mIconFactory); in appEntry_compare_shouldCompareIgnoreCase() 83 new AppGridView.ActivityEntry(mInfo, "LABEL", mIconFactory); in appEntry_compare_shouldCompareIgnoreCase() 85 new AppGridView.ActivityEntry(mInfo, "label2", mIconFactory); in appEntry_compare_shouldCompareIgnoreCase()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/assist/ |
D | DefaultVoiceInputPicker.java | 140 public VoiceInputHelper.BaseInfo mInfo; field in DefaultVoiceInputPicker.VoiceInputDefaultAppInfo 145 mInfo = info; in VoiceInputDefaultAppInfo() 150 return mInfo.key; in getKey() 155 if (mInfo instanceof VoiceInputHelper.InteractionInfo) { in loadLabel() 156 return mInfo.appLabel; in loadLabel() 158 return mInfo.label; in loadLabel() 163 if (mInfo.settings == null) { in getSettingIntent() 166 return new Intent(Intent.ACTION_MAIN).setComponent(mInfo.settings); in getSettingIntent()
|
/packages/services/Car/service/src/com/android/car/ |
D | VmsPublishersInfo.java | 39 private final byte[] mInfo; field in VmsPublishersInfo.InfoWrapper 42 mInfo = info; in InfoWrapper() 46 return mInfo; in getInfo() 55 return Arrays.equals(this.mInfo, p.mInfo); in equals() 60 return Arrays.hashCode(mInfo); in hashCode()
|
/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/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/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | DisableSimFooterPreferenceControllerTest.java | 45 private SubscriptionInfo mInfo; field in DisableSimFooterPreferenceControllerTest 54 when(mInfo.getSubscriptionId()).thenReturn(SUB_ID); in setUp() 55 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(mInfo)); in setUp() 66 when(mInfo.isEmbedded()).thenReturn(true); in isAvailable_eSIM_notAvailable() 73 when(mInfo.isEmbedded()).thenReturn(false); in isAvailable_pSIM_available()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationStation.java | 598 private final HistoricalNotificationInfo mInfo; field in NotificationStation.HistoricalNotificationPreference 604 mInfo = info; in HistoricalNotificationPreference() 611 if (mInfo.icon != null) { in onBindViewHolder() 612 ((ImageView) row.findViewById(R.id.icon)).setImageDrawable(mInfo.icon); in onBindViewHolder() 614 if (mInfo.pkgicon != null) { in onBindViewHolder() 615 ((ImageView) row.findViewById(R.id.pkgicon)).setImageDrawable(mInfo.pkgicon); in onBindViewHolder() 618 ((DateTimeView) row.findViewById(R.id.timestamp)).setTime(mInfo.timestamp); in onBindViewHolder() 619 ((TextView) row.findViewById(R.id.title)).setText(mInfo.title); in onBindViewHolder() 620 ((TextView) row.findViewById(R.id.pkgname)).setText(mInfo.pkgname); in onBindViewHolder() 623 extra.setText(mInfo.extra); in onBindViewHolder() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationStation.java | 598 private final HistoricalNotificationInfo mInfo; field in NotificationStation.HistoricalNotificationPreference 604 mInfo = info; in HistoricalNotificationPreference() 611 if (mInfo.icon != null) { in onBindViewHolder() 612 ((ImageView) row.findViewById(R.id.icon)).setImageDrawable(mInfo.icon); in onBindViewHolder() 614 if (mInfo.pkgicon != null) { in onBindViewHolder() 615 ((ImageView) row.findViewById(R.id.pkgicon)).setImageDrawable(mInfo.pkgicon); in onBindViewHolder() 618 ((DateTimeView) row.findViewById(R.id.timestamp)).setTime(mInfo.timestamp); in onBindViewHolder() 619 ((TextView) row.findViewById(R.id.title)).setText(mInfo.title); in onBindViewHolder() 620 ((TextView) row.findViewById(R.id.pkgname)).setText(mInfo.pkgname); in onBindViewHolder() 623 extra.setText(mInfo.extra); in onBindViewHolder() [all …]
|