Home
last modified time | relevance | path

Searched refs:mInfo (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_reader.cpp24 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 …]
Djpeg_writer.cpp24 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/
DCameraController.java52 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/Launcher3/src/com/android/launcher3/folder/
DFolder.java163 public FolderInfo mInfo; field in Folder
303 mInfo.remove((WorkspaceItemInfo) dragObject.dragInfo, true); in onDragStart()
341 mInfo.setTitle(newTitle, mLauncher.getModelWriter()); in onBackKey()
344 if (TextUtils.isEmpty(mInfo.title)) { in onBackKey()
413 return mInfo; in getInfo()
417 mInfo = info; in bind()
431 mInfo.addListener(this); in bind()
433 if (!isEmpty(mInfo.title)) { in bind()
434 mFolderName.setText(mInfo.title); in bind()
454 if (mInfo.suggestedFolderNames == null) { in showLabelSuggestions()
[all …]
DFolderIcon.java96 public FolderInfo mInfo; field in FolderIcon
206 icon.mInfo = folderInfo; in inflateIcon()
261 item != mInfo && !mFolder.isOpen()); in willAcceptItem()
269 mInfo.add(item, true); in addItem()
273 mInfo.remove(item, animate); in removeItem()
362 mInfo.add(item, index, false); in onDrop()
383 mInfo.add(item, index, true); in onDrop()
419 getContext(), mInfo.contents, nameInfos); in onDrop()
447 if (!mInfo.getLabelState().equals(LabelState.UNLABELED)) { in setLabelSuggestion()
453 .withItemInfo(mInfo) in setLabelSuggestion()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/deviceadmin/
DDeviceAdminListItem.java35 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/
DDeviceAdminListItem.java35 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/Launcher3/quickstep/robolectric_tests/src/com/android/quickstep/
DOrientationTouchTransformerTest.java53 private DefaultDisplay.Info mInfo; field in OrientationTouchTransformerTest
66 mInfo = createDisplayInfo(Surface.ROTATION_0); in setup()
75 mTouchTransformer.createOrAddTouchRegion(mInfo); in disabledMultipleRegions_shouldOverrideFirstRegion()
97 mTouchTransformer.createOrAddTouchRegion(mInfo); in disabledMultipleRegions_shouldOverrideFirstRegion()
124 mTouchTransformer.enableMultipleRegions(true, mInfo); in enableMultipleRegions_shouldOverrideFirstRegion()
125 mTouchTransformer.createOrAddTouchRegion(mInfo); in enableMultipleRegions_shouldOverrideFirstRegion()
142 mTouchTransformer.enableMultipleRegions(true, mInfo); in enableMultipleRegions_assistantTriggersInMostRecent()
144 mTouchTransformer.createOrAddTouchRegion(mInfo); in enableMultipleRegions_assistantTriggersInMostRecent()
156 mTouchTransformer.enableMultipleRegions(true, mInfo); in enableMultipleRegions_assistantTriggersInCurrentOrientationAfterDisable()
157 mTouchTransformer.createOrAddTouchRegion(mInfo); in enableMultipleRegions_assistantTriggersInCurrentOrientationAfterDisable()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java33 @Thunk final PendingAddWidgetInfo mInfo; field in WidgetHostViewLoader
44 mInfo = (PendingAddWidgetInfo) view.getTag(); in WidgetHostViewLoader()
71 if (mInfo.boundWidget != null) { in onDragEnd()
75 mLauncher.getDragLayer().removeView(mInfo.boundWidget); in onDragEnd()
76 mLauncher.getAppWidgetHost().deleteAppWidgetId(mInfo.boundWidget.getAppWidgetId()); in onDragEnd()
77 mInfo.boundWidget = null; in onDragEnd()
85 final LauncherAppWidgetProviderInfo pInfo = mInfo.info; in preloadWidget()
90 final Bundle options = getDefaultOptionsForWidget(mLauncher, mInfo); in preloadWidget()
93 if (mInfo.getHandler().needsConfigure()) { in preloadWidget()
94 mInfo.bindOptions = options; in preloadWidget()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java136 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/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java148 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 …]
DBluetoothOppObexServerSession.java84 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()
373 mInfo.mUri = mFileInfo.mInsertUri; in onPut()
381 Constants.updateShareStatus(mContext, mInfo.mId, status); in onPut()
386 msg.obj = mInfo; in onPut()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DClockDrawableWrapper.java229 private final ClockBitmapInfo mInfo; field in ClockDrawableWrapper.ClockIconDrawable
237 mInfo = clockInfo; in ClockIconDrawable()
239 mFullDrawable = (AdaptiveIconDrawable) mInfo.animInfo.baseDrawableState.newDrawable(); in ClockIconDrawable()
251 if (mInfo == null) { in drawInternal()
256 canvas.drawBitmap(mInfo.mFlattenedBackground, null, bounds, mPaint); in drawInternal()
259 mInfo.animInfo.applyTime(mTime, mForeground); in drawInternal()
261 canvas.scale(mInfo.scale, mInfo.scale, in drawInternal()
262 bounds.exactCenterX() + mInfo.offset, bounds.exactCenterY() + mInfo.offset); in drawInternal()
277 if (mInfo.animInfo.applyTime(mTime, mForeground)) { in run()
308 return new ClockConstantState(mInfo, isDisabled()); in getConstantState()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DLiveWallpaperThumbAsset.java49 protected final android.app.WallpaperInfo mInfo; field in LiveWallpaperThumbAsset
56 mInfo = info; in LiveWallpaperThumbAsset()
68 LoadThumbnailTask task = new LoadThumbnailTask(mContext, mInfo, receiver); in decodeBitmap()
113 return new LiveWallpaperThumbKey(mInfo); in getKey()
137 return mInfo.loadThumbnail(mContext.getPackageManager()); in getThumbnailDrawable()
144 private android.app.WallpaperInfo mInfo; field in LiveWallpaperThumbAsset.LiveWallpaperThumbKey
147 mInfo = info; in LiveWallpaperThumbKey()
182 + "packageName=" + mInfo.getPackageName() + "," in getCacheKey()
183 + "serviceName=" + mInfo.getServiceName() in getCacheKey()
194 private android.app.WallpaperInfo mInfo; field in LiveWallpaperThumbAsset.LoadThumbnailTask
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLiveWallpaperInfo.java131 protected android.app.WallpaperInfo mInfo; field in LiveWallpaperInfo
152 mInfo = info; in LiveWallpaperInfo()
158 mInfo = in.readParcelable(android.app.WallpaperInfo.class.getClassLoader()); in LiveWallpaperInfo()
319 CharSequence labelCharSeq = mInfo.loadLabel(context.getPackageManager()); in getTitle()
329 CharSequence labelCharSeq = mInfo.loadLabel(packageManager); in getAttributions()
333 CharSequence authorCharSeq = mInfo.loadAuthor(packageManager); in getAttributions()
343 CharSequence descCharSeq = mInfo.loadDescription(packageManager); in getAttributions()
359 Uri wallpaperContextUri = mInfo.loadContextUri(context.getPackageManager()); in getActionUrl()
377 return mInfo.loadContextDescription(context.getPackageManager()); in getActionDescription()
391 mThumbAsset = new LiveWallpaperThumbAsset(context, mInfo); in getThumbAsset()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DShortcutConfigActivityInfo.java118 private final ActivityInfo mInfo; field in ShortcutConfigActivityInfo.ShortcutConfigActivityInfoVL
122 mInfo = info; in ShortcutConfigActivityInfoVL()
127 return mInfo.loadLabel(pm); in getLabel()
132 return cache.getFullResIcon(mInfo); in getFullResIcon()
139 private final LauncherActivityInfo mInfo; field in ShortcutConfigActivityInfo.ShortcutConfigActivityInfoVO
143 mInfo = info; in ShortcutConfigActivityInfoVO()
148 return mInfo.getLabel(); in getLabel()
153 return cache.getFullResIcon(mInfo); in getFullResIcon()
162 .getShortcutConfigActivityIntent(mInfo); in startConfigActivity()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAppGridViewTest.java45 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/apps/Settings/src/com/android/settings/applications/assist/
DDefaultVoiceInputPicker.java140 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/computepipe/runner/include/
DInputFrame.h49 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/assist/
DDefaultVoiceInputPicker.java140 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/vms/
DVmsProviderInfoStore.java35 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/LegacyCamera/src/com/android/camera/
DCameraHolder.java54 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/tests/robotests/src/com/android/settings/network/telephony/
DDisableSimFooterPreferenceControllerTest.java47 private SubscriptionInfo mInfo; field in DisableSimFooterPreferenceControllerTest
59 when(mInfo.getSubscriptionId()).thenReturn(SUB_ID); in setUp()
60 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(mInfo)); in setUp()
71 when(mInfo.isEmbedded()).thenReturn(true); in isAvailable_eSIM_notAvailable()
78 when(mInfo.isEmbedded()).thenReturn(false); in isAvailable_pSIM_available_cannot_disable_pSIM()
86 when(mInfo.isEmbedded()).thenReturn(false); in isAvailable_pSIM_available_can_disable_pSIM()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDefaultDisplay.java56 private Info mInfo; field in DefaultDisplay
66 mInfo = new Info(mDisplayContext); in DefaultDisplay()
67 mId = mInfo.id; in DefaultDisplay()
85 Info oldInfo = mInfo; in onDisplayChanged()
100 mInfo = info; in onDisplayChanged()
110 return mInfo; in getInfo()
123 mListeners.get(i).onDisplayInfoChanged(mInfo, msg.what); in onChange()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DDefaultVoiceInputServiceInfo.java32 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()

123