Home
last modified time | relevance | path

Searched refs:mEntry (Results 1 – 20 of 20) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementFragment.java54 private ApplicationsState.AppEntry mEntry; field in AppManagementFragment
88 mEntry = mApplicationsState.getEntry(mPackageName, UserHandle.myUserId()); in onCreate()
98 if (mEntry == null) { in onResume()
121 if (mEntry == null) { in onActivityResult()
127 final int userId = UserHandle.getUserId(mEntry.info.uid); in onActivityResult()
135 final int userId = UserHandle.getUserId(mEntry.info.uid); in onActivityResult()
160 if (mEntry == null) { in onCreatePreferences()
168 mEntry.getVersion(getActivity()))); in onCreatePreferences()
174 mPackageManager.getLeanbackLaunchIntentForPackage(mEntry.info.packageName); in onCreatePreferences()
176 appLaunchIntent = mPackageManager.getLaunchIntentForPackage(mEntry.info.packageName); in onCreatePreferences()
[all …]
DAppInfo.java32 private ApplicationsState.AppEntry mEntry; field in AppInfo
36 mEntry = entry; in AppInfo()
41 mEntry = entry; in setEntry()
47 mEntry.ensureLabel(mContext); in getName()
48 return mEntry.label; in getName()
54 return mEntry.sizeStr; in getSize()
60 return mEntry.info.packageName; in getPackageName()
DNotificationsPreference.java33 private final ApplicationsState.AppEntry mEntry; field in NotificationsPreference
37 mEntry = entry; in NotificationsPreference()
49 mNotificationManager.areNotificationsEnabledForPackage(mEntry.info.packageName, in refresh()
50 mEntry.info.uid)); in refresh()
53 + mEntry.info.packageName, e); in refresh()
69 mEntry.info.packageName, mEntry.info.uid, enabled); in setNotificationsEnabled()
DForceStopPreference.java39 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName); in ForceStopPreference()
47 if (dpm.packageHasActiveAdmins(mEntry.info.packageName)) { in refresh()
50 } else if ((mEntry.info.flags & ApplicationInfo.FLAG_STOPPED) == 0) { in refresh()
56 Uri.fromParts("package", mEntry.info.packageName, null)); in refresh()
58 mEntry.info.packageName }); in refresh()
59 intent.putExtra(Intent.EXTRA_UID, mEntry.info.uid); in refresh()
60 intent.putExtra(Intent.EXTRA_USER_HANDLE, UserHandle.getUserId(mEntry.info.uid)); in refresh()
DAppStoragePreference.java43 final ApplicationInfo applicationInfo = mEntry.info; in refresh()
50 .getLaunchIntent(getContext(), mEntry.info.packageName, getAppName())); in refresh()
56 final String size = mEntry.sizeStr; in refresh()
61 mEntry.sizeStr, volumeDesc)); in refresh()
67 mEntry.ensureLabel(getContext()); in getAppName()
68 return mEntry.label; in getAppName()
DEnableDisablePreference.java52 if (!UninstallPreference.canUninstall(mEntry) && canDisable()) { in refresh()
54 if (mEntry.info.enabled) { in refresh()
56 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName, false); in refresh()
59 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName, true); in refresh()
70 packageInfo = mPackageManager.getPackageInfo(mEntry.info.packageName, in canDisable()
77 return !(homePackages.contains(mEntry.info.packageName) || in canDisable()
DClearDataPreference.java35 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName); in ClearDataPreference()
42 Formatter.formatFileSize(context, mEntry.dataSize + mEntry.externalDataSize)); in refresh()
DClearCachePreference.java35 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName); in ClearCachePreference()
42 : Formatter.formatFileSize(context, mEntry.cacheSize + mEntry.externalCacheSize)); in refresh()
DUninstallPreference.java52 return canUninstall(mEntry); in canUninstall()
61 return (mEntry.info.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0; in canUninstallUpdates()
65 final Uri packageURI = Uri.parse("package:" + mEntry.info.packageName); in getUninstallIntent()
DAppActionPreference.java31 protected final ApplicationsState.AppEntry mEntry; field in AppActionPreference
35 mEntry = entry; in AppActionPreference()
DClearDefaultsPreference.java46 ConfirmationFragment.prepareArgs(getExtras(), mEntry.info.packageName); in ClearDefaultsPreference()
52 mEntry, mUsbManager, mPackageManager, getContext())); in refresh()
/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccess.java216 mDataSaverBackend.setIsWhitelisted(accessPreference.mEntry.info.uid, in onPreferenceChange()
217 accessPreference.mEntry.info.packageName, whitelisted); in onPreferenceChange()
225 private final AppEntry mEntry; field in UnrestrictedDataAccess.AccessPreference
230 mEntry = entry; in AccessPreference()
231 mState = (DataUsageState) mEntry.extraInfo; in AccessPreference()
232 mEntry.ensureLabel(getContext()); in AccessPreference()
234 if (mEntry.icon != null) { in AccessPreference()
235 setIcon(mEntry.icon); in AccessPreference()
258 mEntry); in onClick()
267 setTitle(mEntry.label); in setState()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoEditorView.java51 private ValuesDelta mEntry; field in PhotoEditorView
117 mEntry = values; in setValues()
132 mEntry.setFromTemplate(false); in setValues()
177 mEntry.put(Photo.PHOTO, (byte[])null); in setPhotoEntry()
187 mEntry.setFromTemplate(false); in setPhotoEntry()
190 mEntry.setSuperPrimary(true); in setPhotoEntry()
200 mEntry.setPhoto(compressed); in setPhotoEntry()
227 mEntry.put(Photo.IS_SUPER_PRIMARY, superPrimary ? 1 : 0); in setSuperPrimary()
235 mEntry.setFromTemplate(true); in resetDefault()
DLabeledEditorView.java76 private ValuesDelta mEntry; field in LabeledEditorView
189 mEntry.markDeleted(); in markDeleted()
282 return mEntry; in getEntry()
300 mEntry.getAsString(mType.customColumn), in rebuildLabel()
332 mEntry.put(column, value); in saveValue()
371 final String dbValue = mEntry.getAsString(column); in isFieldChanged()
380 setValues(mKind, mEntry, mState, mReadOnly, mViewIdGenerator); in rebuildValues()
392 mEntry = entry; in setValues()
418 return mEntry; in getValues()
457 mEntry.put(mKind.typeColumn, mType.rawValue); in createCustomDialog()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DInLineSettingKnob.java40 private TextView mEntry; field in InLineSettingKnob
102 mEntry = (TextView) findViewById(R.id.current_setting); in onFinishInflate()
117 mEntry.setText(mPreference.getEntry()); in updateView()
124 mEntry.setText(mPreference.getEntries()[index]); in updateView()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsPreference.java29 private ProcStatsPackageEntry mEntry; field in ProcessStatsPreference
37 mEntry = entry; in init()
52 return mEntry; in getEntry()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrGuidedStepFragment.java20 private final TableEntry mEntry; field in DvrGuidedStepFragment
24 mEntry = entry; in DvrGuidedStepFragment()
28 return mEntry; in getEntry()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java80 public final AlbumEntry mEntry; field in AlbumSlidingWindow.PanoSupportListener
82 mEntry = entry; in PanoSupportListener()
87 if (mEntry != null) mEntry.isPanorama = isPanorama; in panoramaInfoAvailable()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java340 private Entry mEntry; field in DownloadCache.TaskProxy
344 mEntry = entry; in setResult()
359 while (!mIsCancelled && mEntry == null) { in get()
367 return mEntry; in get()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java1114 private final View mEntry; field in ExpandingEntryCardView.EntryTouchListener
1123 mEntry = entry; in EntryTouchListener()
1145 mTouchedView = mEntry; in onTouch()
1152 sendToTouched = mTouchedView != null && mTouchedView != mEntry; in onTouch()
1163 sendToTouched = mTouchedView != null && mTouchedView != mEntry; in onTouch()
1181 if (mEntry.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in hitThirdIcon()
1197 if (mEntry.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL) { in hitAlternateIcon()