Home
last modified time | relevance | path

Searched refs:mAppItem (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsage.java99 private AppItem mAppItem; field in AppDataUsage
115 mAppItem = (args != null) ? (AppItem) args.getParcelable(ARG_APP_ITEM) : null; in onCreate()
126 if (mAppItem == null) { in onCreate()
134 mAppItem = new AppItem(uid); in onCreate()
135 mAppItem.addUid(uid); in onCreate()
138 for (int i = 0; i < mAppItem.uids.size(); i++) { in onCreate()
139 addUid(mAppItem.uids.keyAt(i)); in onCreate()
152 if (mAppItem.key > 0) { in onCreate()
153 if (!UserHandle.isApp(mAppItem.key)) { in onCreate()
154 final UidDetail uidDetail = uidDetailProvider.getUidDetail(mAppItem.key, true); in onCreate()
[all …]
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppItemViewHolder.java33 private View mAppItem; field in AppItemViewHolder
40 mAppItem = view.findViewById(R.id.app_item); in AppItemViewHolder()
41 mAppIconView = mAppItem.findViewById(R.id.app_icon); in AppItemViewHolder()
42 mAppNameView = mAppItem.findViewById(R.id.app_name); in AppItemViewHolder()
67 mAppItem.setOnClickListener(v -> app.getLaunchCallback().accept(mContext)); in bind()
69 mAppItem.setLongClickable(hasLongClickCallback); in bind()
72 mAppItem.setOnLongClickListener(v -> { in bind()
80 mAppItem.setOnClickListener( in bind()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsagePreferenceTest.java49 private AppItem mAppItem; field in AppDataUsagePreferenceTest
57 mAppItem = new AppItem(123); in setUp()
65 when(mUidDetailProvider.getUidDetail(mAppItem.key, false /* blocking */)) in createPref_hasCachedUidDetail_shouldSetAppInfo()
68 mPreference = new AppDataUsagePreference(RuntimeEnvironment.application, mAppItem, in createPref_hasCachedUidDetail_shouldSetAppInfo()
77 when(mUidDetailProvider.getUidDetail(mAppItem.key, true /* blocking */)) in createPref_noCachedUidDetail_shouldSetAppInfo()
80 mPreference = new AppDataUsagePreference(RuntimeEnvironment.application, mAppItem, in createPref_noCachedUidDetail_shouldSetAppInfo()
89 when(mUidDetailProvider.getUidDetail(mAppItem.key, true /* blocking */)) in createPref_progressBarShouldSetPercentageContentDescription()
91 mPreference = new AppDataUsagePreference(RuntimeEnvironment.application, mAppItem, in createPref_progressBarShouldSetPercentageContentDescription()