Searched refs:mAppItem (Results 1 – 6 of 6) sorted by relevance
99 private AppItem mAppItem; field in AppDataUsage115 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 …]
34 private View mAppItem; field in AppItemViewHolder41 mAppItem = view.findViewById(R.id.app_item); in AppItemViewHolder()42 mAppIconView = mAppItem.findViewById(R.id.app_icon); in AppItemViewHolder()43 mAppNameView = mAppItem.findViewById(R.id.app_name); in AppItemViewHolder()68 mAppItem.setOnClickListener(v -> AppLauncherUtils.launchApp(mContext, app)); in bind()69 mAppItem.setLongClickable(app.getAlternateLaunchIntent() != null); in bind()70 mAppItem.setOnLongClickListener(v-> openAlternateLaunchIntent(app)); in bind()74 mAppItem.setOnClickListener( in bind()
62 private View mAppItem; field in SearchResultAdapter.ViewHolder68 mAppItem = view.findViewById(R.id.app_item); in ViewHolder()69 mAppIconView = mAppItem.findViewById(R.id.app_icon); in ViewHolder()70 mAppNameView = mAppItem.findViewById(R.id.app_name); in ViewHolder()78 mAppItem.setClickable(false); in bind()79 mAppItem.setOnClickListener(null); in bind()83 mAppItem.setClickable(true); in bind()84 mAppItem.setOnClickListener(listener); in bind()
43 private AppItem mAppItem; field in AppDataUsagePreferenceTest51 mAppItem = new AppItem(123); in setUp()59 when(mUidDetailProvider.getUidDetail(mAppItem.key, false /* blocking */)) in createPref_hasCachedUidDetail_shouldSetAppInfo()62 mPreference = new AppDataUsagePreference(RuntimeEnvironment.application, mAppItem, in createPref_hasCachedUidDetail_shouldSetAppInfo()71 when(mUidDetailProvider.getUidDetail(mAppItem.key, true /* blocking */)) in createPref_noCachedUidDetail_shouldSetAppInfo()74 mPreference = new AppDataUsagePreference(RuntimeEnvironment.application, mAppItem, in createPref_noCachedUidDetail_shouldSetAppInfo()
118 View mAppItem; field in AppSelectionFragment.AppItemViewHolder124 mAppItem = view.findViewById(R.id.app_item); in AppItemViewHolder()125 mAppIconView = mAppItem.findViewById(R.id.app_icon); in AppItemViewHolder()126 mAppNameView = mAppItem.findViewById(R.id.app_name); in AppItemViewHolder()133 mAppItem.setOnClickListener( in bind()