Home
last modified time | relevance | path

Searched refs:mInfo (Results 1 – 25 of 65) 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/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminListItem.java40 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/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/src/com/android/launcher3/widget/
DWidgetHostViewLoader.java29 @Thunk final PendingAddWidgetInfo mInfo; field in WidgetHostViewLoader
40 mInfo = (PendingAddWidgetInfo) view.getTag(); in WidgetHostViewLoader()
67 if (mInfo.boundWidget != null) { in onDragEnd()
71 mLauncher.getDragLayer().removeView(mInfo.boundWidget); in onDragEnd()
72 mLauncher.getAppWidgetHost().deleteAppWidgetId(mInfo.boundWidget.getAppWidgetId()); in onDragEnd()
73 mInfo.boundWidget = null; in onDragEnd()
81 final LauncherAppWidgetProviderInfo pInfo = mInfo.info; in preloadWidget()
86 final Bundle options = mInfo.getDefaultSizeOptions(mLauncher); in preloadWidget()
89 if (mInfo.getHandler().needsConfigure()) { in preloadWidget()
90 mInfo.bindOptions = options; in preloadWidget()
[all …]
DPendingAppWidgetHostView.java61 private final LauncherAppWidgetInfo mInfo; field in PendingAppWidgetHostView
77 mInfo = info; in PendingAppWidgetHostView()
103 if (widgetManagerHelper.isAppWidgetRestored(mInfo.appWidgetId)) { in updateAppWidget()
135 return mStartState != mInfo.restoreStatus; in isReinflateIfNeeded()
202 mCenterDrawable.setLevel(Math.max(mInfo.installProgress, 0)); in applyState()
225 return !mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_PROVIDER_NOT_READY) in isReadyForClickSetup()
226 && (mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_UI_NOT_READY) in isReadyForClickSetup()
227 || mInfo.hasRestoreFlag(LauncherAppWidgetInfo.FLAG_ID_NOT_VALID)); in isReadyForClickSetup()
341 switch (mInfo.pendingItemInfo.category) { in getWidgetCategoryIcon()
/packages/apps/Launcher3/quickstep/robolectric_tests/src/com/android/quickstep/
DOrientationTouchTransformerTest.java72 private DisplayController.Info mInfo; field in OrientationTouchTransformerTest
85 mInfo = createDisplayInfo(NORMAL_SCREEN_SIZE, Surface.ROTATION_0); in setup()
96 mTouchTransformer.createOrAddTouchRegion(mInfo); in disabledMultipleRegions_shouldOverrideFirstRegion()
119 mTouchTransformer.createOrAddTouchRegion(mInfo); in disabledMultipleRegions_shouldOverrideFirstRegion()
149 mTouchTransformer.enableMultipleRegions(true, mInfo); in enableMultipleRegions_shouldOverrideFirstRegion()
150 mTouchTransformer.createOrAddTouchRegion(mInfo); in enableMultipleRegions_shouldOverrideFirstRegion()
169 mTouchTransformer.enableMultipleRegions(true, mInfo); in enableMultipleRegions_assistantTriggersInMostRecent()
172 mTouchTransformer.createOrAddTouchRegion(mInfo); in enableMultipleRegions_assistantTriggersInMostRecent()
186 mTouchTransformer.enableMultipleRegions(true, mInfo); in enableMultipleRegions_assistantTriggersInCurrentOrientationAfterDisable()
187 mTouchTransformer.createOrAddTouchRegion(mInfo); in enableMultipleRegions_assistantTriggersInCurrentOrientationAfterDisable()
[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.java85 private BluetoothOppShareInfo mInfo; field in BluetoothOppObexServerSession
181 mInfo = info; in addShare()
338 if (mInfo.mId != mLocalShareInfoId) { in onPut()
341 mAccepted = mInfo.mConfirm; in onPut()
359 mInfo.mStatus = mFileInfo.mStatus; in onPut()
360 Constants.updateShareStatus(mContext, mInfo.mId, status); in onPut()
368 contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId); in onPut()
374 mInfo.mUri = mFileInfo.mInsertUri; in onPut()
382 Constants.updateShareStatus(mContext, mInfo.mId, status); in onPut()
387 msg.obj = mInfo; in onPut()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNsdManagerTest.java139 mInfo = info; in EventData()
145 mInfo = null; in EventData()
150 private final NsdServiceInfo mInfo; field in NsdManagerTest.EventData
371 String registeredName = lastEvent.mInfo.getServiceName(); in testNDSManager()
404 lastEvent.mInfo.getServiceName()); in testNDSManager()
406 if (lastEvent.mInfo.getServiceName().equals(registeredName)) { in testNDSManager()
408 si = lastEvent.mInfo; in testNDSManager()
453 String.valueOf(lastEvent.mInfo.getPort())); in testNDSManager()
455 assertTrue(lastEvent.mInfo.getPort() == localPort); in testNDSManager()
472 assertTrue(lastEvent.mInfo.getServiceName().equals(registeredName)); in testNDSManager()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java137 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()
409 = mSystemFacade.isCleartextTrafficPermitted(mInfo.mPackage, url.getHost()); in executeDownload()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java177 public FolderInfo mInfo; field in Folder
344 mInfo.remove((WorkspaceItemInfo) dragObject.dragInfo, true); in onDragStart()
382 mInfo.setTitle(newTitle, mLauncherDelegate.getModelWriter()); in onBackKey()
385 if (TextUtils.isEmpty(mInfo.title)) { in onBackKey()
475 return mInfo; in getInfo()
479 mInfo = info; in bind()
493 mInfo.addListener(this); in bind()
495 if (!isEmpty(mInfo.title)) { in bind()
496 mFolderName.setText(mInfo.title); in bind()
516 if (mInfo.suggestedFolderNames == null) { in showLabelSuggestions()
[all …]
DFolderIcon.java97 public FolderInfo mInfo; field in FolderIcon
204 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()
422 getContext(), mInfo.contents, nameInfos); in onDrop()
448 if (!mInfo.getLabelState().equals(LabelState.UNLABELED)) { in setLabelSuggestion()
454 .withItemInfo(mInfo) in setLabelSuggestion()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DLiveWallpaperThumbAsset.java60 protected final android.app.WallpaperInfo mInfo; field in LiveWallpaperThumbAsset
67 mInfo = info; in LiveWallpaperThumbAsset()
79 LoadThumbnailTask task = new LoadThumbnailTask(mContext, mInfo, receiver); in decodeBitmap()
174 return new LiveWallpaperThumbKey(mInfo); in getKey()
197 mThumbnailDrawable = mInfo.loadThumbnail(mContext.getPackageManager()); in getThumbnailDrawable()
205 private android.app.WallpaperInfo mInfo; field in LiveWallpaperThumbAsset.LiveWallpaperThumbKey
208 mInfo = info; in LiveWallpaperThumbKey()
243 + "packageName=" + mInfo.getPackageName() + "," in getCacheKey()
244 + "serviceName=" + mInfo.getServiceName() in getCacheKey()
255 private android.app.WallpaperInfo mInfo; field in LiveWallpaperThumbAsset.LoadThumbnailTask
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDisplayController.java81 private Info mInfo; field in DisplayController
109 mInfo = new Info(getDisplayInfoContext(display), display, extraInternalDisplays); in DisplayController()
131 if (getSingleFrameMs(display) == mInfo.singleFrameMs) { in onDisplayChanged()
161 if (mInfo.fontScale != config.fontScale || mInfo.densityDpi != config.densityDpi) { in onConfigChanged()
175 if (config.densityDpi != mInfo.densityDpi in onConfigurationChanged()
176 || config.fontScale != mInfo.fontScale in onConfigurationChanged()
177 || display.getRotation() != mInfo.rotation in onConfigurationChanged()
178 || !mInfo.mScreenSizeDp.equals( in onConfigurationChanged()
196 return mInfo; in getInfo()
205 Info oldInfo = mInfo; in handleInfoChange()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLiveWallpaperInfo.java131 protected android.app.WallpaperInfo mInfo; field in LiveWallpaperInfo
152 mInfo = info; in LiveWallpaperInfo()
159 mInfo = in.readParcelable(android.app.WallpaperInfo.class.getClassLoader()); in LiveWallpaperInfo()
320 CharSequence labelCharSeq = mInfo.loadLabel(context.getPackageManager()); in getTitle()
330 CharSequence labelCharSeq = mInfo.loadLabel(packageManager); in getAttributions()
334 CharSequence authorCharSeq = mInfo.loadAuthor(packageManager); in getAttributions()
344 CharSequence descCharSeq = mInfo.loadDescription(packageManager); in getAttributions()
360 Uri wallpaperContextUri = mInfo.loadContextUri(context.getPackageManager()); in getActionUrl()
378 return mInfo.loadContextDescription(context.getPackageManager()); in getActionDescription()
392 mThumbAsset = new LiveWallpaperThumbAsset(context, mInfo); in getThumbAsset()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DShortcutConfigActivityInfo.java117 private final ActivityInfo mInfo; field in ShortcutConfigActivityInfo.ShortcutConfigActivityInfoVL
121 mInfo = info; in ShortcutConfigActivityInfoVL()
126 return mInfo.loadLabel(pm); in getLabel()
131 return cache.getFullResIcon(mInfo); in getFullResIcon()
138 private final LauncherActivityInfo mInfo; field in ShortcutConfigActivityInfo.ShortcutConfigActivityInfoVO
142 mInfo = info; in ShortcutConfigActivityInfoVO()
147 return mInfo.getLabel(); in getLabel()
152 return cache.getFullResIcon(mInfo); in getFullResIcon()
161 .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/services/Car/cpp/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/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/unit/src/com/android/settings/network/telephony/
DDisableSimFooterPreferenceControllerTest.java48 private SubscriptionInfo mInfo; field in DisableSimFooterPreferenceControllerTest
60 when(mInfo.getSubscriptionId()).thenReturn(SUB_ID); in setUp()
61 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(mInfo)); in setUp()
72 when(mInfo.isEmbedded()).thenReturn(true); in isAvailable_eSIM_notAvailable()
79 when(mInfo.isEmbedded()).thenReturn(false); in isAvailable_pSIM_available_cannot_disable_pSIM()
87 when(mInfo.isEmbedded()).thenReturn(false); in isAvailable_pSIM_available_can_disable_pSIM()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DDefaultVoiceInputPicker.java94 public VoiceInputHelper.BaseInfo mInfo; field in DefaultVoiceInputPicker.VoiceInputDefaultAppInfo
99 mInfo = info; in VoiceInputDefaultAppInfo()
104 return mInfo.key; in getKey()
109 return mInfo.label; in loadLabel()
113 if (mInfo.settings == null) { in getSettingIntent()
116 return new Intent(Intent.ACTION_MAIN).setComponent(mInfo.settings); in getSettingIntent()
/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