Home
last modified time | relevance | path

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

12

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java88 private final DownloadInfo mInfo; field in DownloadThread
99 mInfo = info; in DownloadThread()
108 String userAgent = mInfo.mUserAgent; in userAgent()
169 mNotifier.notifyDownloadSpeed(mInfo.mId, 0); in run()
176 if (DownloadInfo.queryDownloadStatus(mContext.getContentResolver(), mInfo.mId) in runInternal()
178 Log.d(TAG, "Download " + mInfo.mId + " already finished; skipping"); in runInternal()
182 State state = new State(mInfo); in runInternal()
185 int numFailed = mInfo.mNumFailed; in runInternal()
193 wakeLock.setWorkSource(new WorkSource(mInfo.mUid)); in runInternal()
199 Log.i(Constants.TAG, "Download " + mInfo.mId + " starting"); in runInternal()
[all …]
/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 …]
Djpeg_reader.h74 struct jpeg_decompress_struct mInfo; variable
Djpeg_writer.h70 struct jpeg_compress_struct mInfo; variable
/packages/apps/Launcher2/src/com/android/launcher2/
DFolder.java64 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 …]
DPagedViewWidget.java50 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()
DFolderIcon.java54 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/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java129 private BluetoothOppShareInfo mInfo; field in BluetoothOppObexClientSession.ClientThread
157 mInfo = info; in addShare()
200 msg.obj = mInfo; in run()
288 Constants.updateShareStatus(mContext1, mInfo.mId, status); in doSend()
294 msg.obj = mInfo; in doSend()
299 mInfo.mStatus = status; in doSend()
300 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()
[all …]
DBluetoothOppObexServerSession.java79 private BluetoothOppShareInfo mInfo; field in BluetoothOppObexServerSession
162 mInfo = info; in addShare()
342 if (mInfo.mId != mLocalShareInfoId) { in onPut()
345 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 …]
DBluetoothOppService.java954 private BluetoothOppShareInfo mInfo; field in BluetoothOppService.MediaScannerNotifier
962 mInfo = info; in MediaScannerNotifier()
971 mConnection.scanFile(mInfo.mFilename, mInfo.mMimetype); in onMediaScannerConnected()
985 msg.arg1 = mInfo.mId; in onScanCompleted()
992 msg.arg1 = mInfo.mId; in onScanCompleted()
/packages/apps/Launcher3/src/com/android/launcher3/
DFolder.java65 protected FolderInfo mInfo; field in Folder
253 mInfo.remove(mCurrentDragInfo); in onLongClick()
279 mInfo.setTitle(newTitle); in doneEditingFolderName()
280 LauncherModel.updateItemInDatabase(mLauncher, mInfo); in doneEditingFolderName()
332 return mInfo; in getInfo()
372 mInfo = info; in bind()
394 mInfo.remove(item); in bind()
400 mInfo.addListener(this); in bind()
402 if (!sDefaultFolderName.contentEquals(mInfo.title)) { in bind()
403 mFolderName.setText(mInfo.title); in bind()
[all …]
DPagedViewWidget.java49 private Object mInfo; field in PagedViewWidget
110 mInfo != null && preview != null && preview.getBitmap() != null) { in onDetachedFromWindow()
111 mWidgetPreviewLoader.recycleBitmap(mInfo, preview.getBitmap()); in onDetachedFromWindow()
124 mInfo = info; in applyFromAppWidgetProviderInfo()
143 mInfo = info; in applyFromResolveInfo()
DFolderIcon.java54 private FolderInfo mInfo; field in FolderIcon
165 icon.mInfo = folderInfo; in fromXml()
316 return mInfo; in getFolderInfo()
323 !mFolder.isFull() && item != mInfo && !mInfo.opened); in willAcceptItem()
332 mInfo.add(item); in addItem()
476 onDrop(item, d.dragView, null, 1.0f, mInfo.contents.size(), d.postAnimationRunnable, d);
/packages/apps/Settings/src/com/android/settings/wifi/
DAccessPoint.java72 private WifiInfo mInfo; field in AccessPoint
169 mInfo = (WifiInfo) savedState.getParcelable(KEY_WIFIINFO); in AccessPoint()
173 update(mInfo, mState); in AccessPoint()
179 savedState.putParcelable(KEY_WIFIINFO, mInfo); in saveWifiState()
228 if (mInfo != null && other.mInfo == null) return -1; in compareTo()
229 if (mInfo == null && other.mInfo != null) return 1; in compareTo()
259 if (mInfo != null) result += 13 * mInfo.hashCode(); in hashCode()
289 reorder = (mInfo == null); in update()
291 mInfo = info; in update()
294 } else if (mInfo != null) { in update()
[all …]
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java82 private LegacyVpnInfo mInfo; field in VpnSettings
324 if (mInfo != null && profile.key.equals(mInfo.key) && in onPreferenceClick()
325 mInfo.state == LegacyVpnInfo.STATE_CONNECTED) { in onPreferenceClick()
327 mInfo.intent.send(); in onPreferenceClick()
355 if (mInfo != null) { in handleMessage()
356 VpnPreference preference = mPreferences.get(mInfo.key); in handleMessage()
360 mInfo = null; in handleMessage()
366 mInfo = info; in handleMessage()
386 if (mInfo != null && key.equals(mInfo.key)) { in disconnect()
/packages/apps/Camera2/src/com/android/camera/
DCameraHolder.java60 private final CameraInfo[] mInfo; field in CameraHolder
163 mInfo = mMockCameraInfo; in CameraHolder()
166 mInfo = new CameraInfo[mNumberOfCameras]; in CameraHolder()
168 mInfo[i] = new CameraInfo(); in CameraHolder()
169 android.hardware.Camera.getCameraInfo(i, mInfo[i]); in CameraHolder()
175 if (mBackCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_BACK) { in CameraHolder()
177 } else if (mFrontCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_FRONT) { in CameraHolder()
188 return mInfo; in getCameraInfo()
/packages/apps/Camera/src/com/android/camera/
DCameraHolder.java60 private final CameraInfo[] mInfo; field in CameraHolder
163 mInfo = mMockCameraInfo; in CameraHolder()
166 mInfo = new CameraInfo[mNumberOfCameras]; in CameraHolder()
168 mInfo[i] = new CameraInfo(); in CameraHolder()
169 android.hardware.Camera.getCameraInfo(i, mInfo[i]); in CameraHolder()
175 if (mBackCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_BACK) { in CameraHolder()
177 } else if (mFrontCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_FRONT) { in CameraHolder()
188 return mInfo; in getCameraInfo()
/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/Launcher3/WallpaperPicker/src/com/android/launcher3/
DLiveWallpaperListAdapter.java103 icon.setImageDrawable(wallpaperInfo.mInfo.loadIcon(mPackageManager)); in getView()
108 label.setText(wallpaperInfo.mInfo.loadLabel(mPackageManager)); in getView()
115 private WallpaperInfo mInfo; field in LiveWallpaperListAdapter.LiveWallpaperTile
118 mInfo = info; in LiveWallpaperTile()
124 mInfo.getComponent()); in onClick()
125 a.onLiveWallpaperPickerLaunch(mInfo); in onClick()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java210 private final ApplicationInfo mInfo; field in AppOpsState.AppEntry
222 mInfo = info; in AppEntry()
240 return mInfo; in getApplicationInfo()
250 mIcon = mInfo.loadIcon(mState.mPm); in getIcon()
260 mIcon = mInfo.loadIcon(mState.mPm); in getIcon()
279 mLabel = mInfo.packageName; in loadLabel()
282 CharSequence label = mInfo.loadLabel(context.getPackageManager()); in loadLabel()
283 mLabel = label != null ? label.toString() : mInfo.packageName; in loadLabel()
DInstalledAppDetails.java1293 final ApplicationInfo mInfo;
1299 mInfo = info;
1305 mPm.setApplicationEnabledSetting(mInfo.packageName, mState, 0);
DRunningState.java296 UserInfo mInfo; field in RunningState.UserState
838 userItem.mUser.mInfo = info; in addOtherUserItem()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerGaugePreference.java34 private BatterySipper mInfo; field in PowerGaugePreference
42 mInfo = info; in PowerGaugePreference()
53 return mInfo; in getInfo()
/packages/apps/Browser/src/com/android/browser/
DPieControl.java67 private PieItem mInfo; field in PieControl
144 mInfo = makeItem(android.R.drawable.ic_menu_info_details, 1); in populateMenu()
162 setClickListener(this, mBack, mRefresh, mForward, mUrl, mFind, mInfo, in populateMenu()
230 } else if (mInfo.getView() == v) { in onClick()

12