/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/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 131 private final DownloadInfo mInfo; field in DownloadThread 196 mContext.getContentResolver().update(mInfo.getAllDownloadsUri(), buildContentValues(), in writeToDatabase() 205 if (mContext.getContentResolver().update(mInfo.getAllDownloadsUri(), in writeToDatabaseOrThrow() 207 if (mInfo.queryDownloadControl() == CONTROL_PAUSED) { in writeToDatabaseOrThrow() 253 mInfo = info; in DownloadThread() 263 if (mInfo.queryDownloadStatus() == Downloads.Impl.STATUS_SUCCESS) { in run() 280 mIgnoreBlocked = mInfo.isVisible(); in run() 285 mNetwork = mSystemFacade.getActiveNetwork(mInfo.mUid, mIgnoreBlocked); in run() 293 final NetworkInfo info = mSystemFacade.getNetworkInfo(mNetwork, mInfo.mUid, in run() 302 TrafficStats.setThreadStatsUid(mInfo.mUid); in run() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexClientSession.java | 134 private BluetoothOppShareInfo mInfo; field in BluetoothOppObexClientSession.ClientThread 162 mInfo = info; in addShare() 205 msg.obj = mInfo; in run() 293 Constants.updateShareStatus(mContext1, mInfo.mId, status); in doSend() 300 mInfo.mStatus = status; in doSend() 301 msg.obj = mInfo; in doSend() 309 if (V) Log.v(TAG, "Client thread processShareInfo() " + mInfo.mId); in processShareInfo() 311 BluetoothOppSendFileInfo fileInfo = BluetoothOppUtility.getSendFileInfo(mInfo.mUri); in processShareInfo() 314 Constants.updateShareStatus(mContext1, mInfo.mId, fileInfo.mStatus); in processShareInfo() 325 Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); in processShareInfo() [all …]
|
D | BluetoothOppObexServerSession.java | 83 private BluetoothOppShareInfo mInfo; field in BluetoothOppObexServerSession 165 mInfo = info; in addShare() 333 if (mInfo.mId != mLocalShareInfoId) { in onPut() 336 mAccepted = mInfo.mConfirm; in onPut() 349 mInfo.mStatus = mFileInfo.mStatus; in onPut() 350 Constants.updateShareStatus(mContext, mInfo.mId, status); in onPut() 358 contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); in onPut() 370 Constants.updateShareStatus(mContext, mInfo.mId, status); in onPut() 375 msg.obj = mInfo; in onPut() 381 mInfo.mStatus = status; in onPut() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Folder.java | 64 protected FolderInfo mInfo; field in Folder 231 mInfo.remove(mCurrentDragInfo); in onLongClick() 257 mInfo.setTitle(newTitle); in doneEditingFolderName() 258 LauncherModel.updateItemInDatabase(mLauncher, mInfo); in doneEditingFolderName() 314 return mInfo; in getInfo() 354 mInfo = info; in bind() 376 mInfo.remove(item); in bind() 382 mInfo.addListener(this); in bind() 384 if (!sDefaultFolderName.contentEquals(mInfo.title)) { in bind() 385 mFolderName.setText(mInfo.title); in bind() [all …]
|
D | PagedViewWidget.java | 50 private Object mInfo; field in PagedViewWidget 99 mInfo != null && preview != null && preview.getBitmap() != null) { in onDetachedFromWindow() 100 mWidgetPreviewLoader.recycleBitmap(mInfo, preview.getBitmap()); in onDetachedFromWindow() 110 mInfo = info; in applyFromAppWidgetProviderInfo() 129 mInfo = info; in applyFromResolveInfo()
|
D | FolderIcon.java | 54 private FolderInfo mInfo; field in FolderIcon 141 icon.mInfo = folderInfo; in fromXml() 289 return mInfo; in getFolderInfo() 296 !mFolder.isFull() && item != mInfo && !mInfo.opened); in willAcceptItem() 305 mInfo.add(item); in addItem() 427 onDrop(item, d.dragView, null, 1.0f, mInfo.contents.size(), d.postAnimationRunnable, d);
|
/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 …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 142 public FolderInfo mInfo; field in Folder 322 mInfo.remove((ShortcutInfo) dragObject.dragInfo, true); in onDragStart() 358 mInfo.setTitle(newTitle); in onBackKey() 359 mLauncher.getModelWriter().updateItemInDatabase(mInfo); in onBackKey() 424 return mInfo; in getInfo() 428 mInfo = info; in bind() 439 mInfo.remove(item, false); in bind() 453 mInfo.addListener(this); in bind() 455 if (!sDefaultFolderName.contentEquals(mInfo.title)) { in bind() 456 mFolderName.setText(mInfo.title); in bind() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | DreamSettings.java | 299 private final DreamInfo mInfo; 303 mInfo = info; 305 setTitle(mInfo.caption); 306 setIcon(mInfo.icon); 314 radioButton.setChecked(mInfo.isActive); 324 boolean showSettings = mInfo.settingsComponentName != null; 330 settingsButton.setAlpha(mInfo.isActive ? 1f : Utils.DISABLED_ALPHA); 331 settingsButton.setEnabled(mInfo.isActive); 332 settingsButton.setFocusable(mInfo.isActive); 336 mBackend.launchSettings(mInfo); [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | ShortcutConfigActivityInfo.java | 108 private final ActivityInfo mInfo; field in ShortcutConfigActivityInfo.ShortcutConfigActivityInfoVL 114 mInfo = info; in ShortcutConfigActivityInfoVL() 120 return mInfo.loadLabel(mPm); in getLabel() 125 return cache.getFullResIcon(mInfo); in getFullResIcon() 132 private final LauncherActivityInfo mInfo; field in ShortcutConfigActivityInfo.ShortcutConfigActivityInfoVO 136 mInfo = info; in ShortcutConfigActivityInfoVO() 141 return mInfo.getLabel(); in getLabel() 146 return cache.getFullResIcon(mInfo); in getFullResIcon() 158 activity.getSystemService(LauncherApps.class), mInfo); in startConfigActivity()
|
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
D | DefaultVoiceInputPicker.java | 133 public VoiceInputHelper.BaseInfo mInfo; field in DefaultVoiceInputPicker.VoiceInputDefaultAppInfo 138 mInfo = info; in VoiceInputDefaultAppInfo() 143 return mInfo.key; in getKey() 148 if (mInfo instanceof VoiceInputHelper.InteractionInfo) { in loadLabel() 149 return mInfo.appLabel; in loadLabel() 151 return mInfo.label; in loadLabel() 156 if (mInfo.settings == null) { in getSettingIntent() 159 return new Intent(Intent.ACTION_MAIN).setComponent(mInfo.settings); in getSettingIntent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/ |
D | DefaultAppInfoTest.java | 52 private DefaultAppInfo mInfo; field in DefaultAppInfoTest 63 mInfo = new DefaultAppInfo(mPackageManagerWrapper, mPackageItemInfo); in initInfoWithActivityInfo_shouldLoadInfo() 64 mInfo.loadLabel(); in initInfoWithActivityInfo_shouldLoadInfo() 65 mInfo.loadIcon(); in initInfoWithActivityInfo_shouldLoadInfo() 67 assertThat(mInfo.getKey()).isEqualTo(mPackageItemInfo.packageName); in initInfoWithActivityInfo_shouldLoadInfo() 76 mInfo = new DefaultAppInfo(mPackageManagerWrapper, 0 /* uid */, mComponentName); in initInfoWithComponent_shouldLoadInfo() 77 mInfo.getKey(); in initInfoWithComponent_shouldLoadInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PendingAppWidgetHostView.java | 48 private final LauncherAppWidgetInfo mInfo; field in PendingAppWidgetHostView 68 mInfo = info; in PendingAppWidgetHostView() 113 return mStartState != mInfo.restoreStatus; in isReinflateRequired() 140 FastBitmapDrawable disabledIcon = drawableFactory.newIcon(mIcon, mInfo); in reapplyItemInfo() 145 mCenterDrawable = drawableFactory.newIcon(mIcon, mInfo); in reapplyItemInfo() 180 mCenterDrawable.setLevel(Math.max(mInfo.installProgress, 0)); in applyState() 203 return !mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_PROVIDER_NOT_READY) in isReadyForClickSetup() 204 && (mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_UI_NOT_READY) in isReadyForClickSetup() 205 || mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)); in isReadyForClickSetup()
|
/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/notification/ |
D | NotificationStation.java | 570 private final HistoricalNotificationInfo mInfo; field in NotificationStation.HistoricalNotificationPreference 576 mInfo = info; in HistoricalNotificationPreference() 583 if (mInfo.icon != null) { in onBindViewHolder() 584 ((ImageView) row.findViewById(R.id.icon)).setImageDrawable(mInfo.icon); in onBindViewHolder() 586 if (mInfo.pkgicon != null) { in onBindViewHolder() 587 ((ImageView) row.findViewById(R.id.pkgicon)).setImageDrawable(mInfo.pkgicon); in onBindViewHolder() 590 ((DateTimeView) row.findViewById(R.id.timestamp)).setTime(mInfo.timestamp); in onBindViewHolder() 591 ((TextView) row.findViewById(R.id.title)).setText(mInfo.title); in onBindViewHolder() 592 ((TextView) row.findViewById(R.id.pkgname)).setText(mInfo.pkgname); in onBindViewHolder() 595 extra.setText(mInfo.extra); in onBindViewHolder() [all …]
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | LiveWallpaperInfo.java | 36 private WallpaperInfo mInfo; field in LiveWallpaperInfo 40 mInfo = info; in LiveWallpaperInfo() 47 mInfo.getComponent()); in onClick() 62 icon.setImageDrawable(mInfo.loadIcon(context.getPackageManager())); in createView() 67 label.setText(mInfo.loadLabel(context.getPackageManager())); in createView()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppOpsState.java | 226 private final ApplicationInfo mInfo; field in AppOpsState.AppEntry 238 mInfo = info; in AppEntry() 256 return mInfo; in getApplicationInfo() 266 mIcon = mInfo.loadIcon(mState.mPm); in getIcon() 276 mIcon = mInfo.loadIcon(mState.mPm); in getIcon() 295 mLabel = mInfo.packageName; in loadLabel() 298 CharSequence label = mInfo.loadLabel(context.getPackageManager()); in loadLabel() 299 mLabel = label != null ? label.toString() : mInfo.packageName; in loadLabel()
|
D | FetchPackageStorageAsyncLoader.java | 39 private final ApplicationInfo mInfo; field in FetchPackageStorageAsyncLoader 46 mInfo = info; in FetchPackageStorageAsyncLoader() 54 result = mSource.getStatsForPackage(mInfo.volumeUuid, mInfo.packageName, mUser); in loadInBackground()
|
D | ActivityInfoWrapperImpl.java | 23 private final ActivityInfo mInfo; field in ActivityInfoWrapperImpl 26 mInfo = info; in ActivityInfoWrapperImpl() 31 return mInfo.supportsPictureInPicture(); in supportsPictureInPicture()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | PinShortcutRequestActivityInfo.java | 49 private final ShortcutInfo mInfo; field in PinShortcutRequestActivityInfo 56 mInfo = request.getShortcutInfo(); in PinShortcutRequestActivityInfo() 67 return mInfo.getShortLabel(); in getLabel() 73 .getShortcutIconDrawable(mInfo, LauncherAppState.getIDP(mContext).fillResIconDpi); in getFullResIcon()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoaderTest.java | 69 private List<ApplicationInfo> mInfo = new ArrayList<>(); field in StorageAsyncLoaderTest 78 mInfo = new ArrayList<>(); in setUp() 81 .thenReturn(mInfo); in setUp() 180 mInfo.add(info); in testRemovedPackageDoesNotCrash() 236 mInfo.add(info); in addPackage()
|
/packages/apps/Settings/src/com/android/settings/search2/ |
D | AppSearchResult.java | 31 info = builder.mInfo; in AppSearchResult() 39 protected ApplicationInfo mInfo; field in AppSearchResult.Builder 42 mInfo = info; in setAppInfo()
|