Home
last modified time | relevance | path

Searched refs:mPkgItem (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListAdapter.java107 || new PackageUserKey(entry.mPkgItem.packageName, entry.mPkgItem.user)
336 return entry.mPkgItem.packageName.equals(key.mPackageName) in matchesKey()
337 && entry.mPkgItem.user.equals(key.mUser); in matchesKey()
385 mVisibleEntries.get(pos).mPkgItem.hashCode(), in getItemId()
512 .map(entry -> entry.mPkgItem) in shouldClearVisibleEntries()
517 PackageUserKey key = new PackageUserKey(visibleEntry.mPkgItem.packageName, in shouldClearVisibleEntries()
518 visibleEntry.mPkgItem.user); in shouldClearVisibleEntries()
521 && !visibleEntry.mPkgItem.title.equals(packageItemInfo.title)) { in shouldClearVisibleEntries()
536 int i = mComparator.compare(a.mPkgItem.title.toString(), b.mPkgItem.title.toString()); in compare()
541 if (a.mPkgItem.user.equals(b.mPkgItem.user)) return 0; in compare()
[all …]
DWidgetsListHeader.java163 PackageItemInfo info = entry.mPkgItem; in applyIconAndLabel()
210 mTitle.setText(entry.mPkgItem.title); in setTitles()
245 PackageItemInfo info = entry.mPkgItem; in applyIconAndLabel()
256 mTitle.setText(entry.mPkgItem.title); in setTitles()
DWidgetsListHeaderViewHolderBinder.java68 new PackageUserKey(data.mPkgItem.packageName, data.mPkgItem.user) in bindViewHolder()
DWidgetsListSearchHeaderViewHolderBinder.java68 new PackageUserKey(data.mPkgItem.packageName, data.mPkgItem.user))); in bindViewHolder()
DWidgetsDiffReporter.java116 if (!isSamePackageItemInfo(orgRowEntry.mPkgItem, newRowEntry.mPkgItem) in process()
DWidgetsFullSheet.java101 entry -> mCurrentUser.equals(entry.mPkgItem.user);
/packages/apps/Launcher3/src/com/android/launcher3/widget/model/
DWidgetsListContentEntry.java60 return "Content:" + mPkgItem.packageName + ":" + mWidgets.size() + " maxSpanSizeInCells: " in toString()
80 mPkgItem, in withMaxSpanSize()
98 return mWidgets.equals(otherEntry.mWidgets) && mPkgItem.equals(otherEntry.mPkgItem) in equals()
DWidgetsListSearchHeaderEntry.java48 return "SearchHeader:" + mPkgItem.packageName + ":" + mWidgets.size(); in toString()
61 return mWidgets.equals(otherEntry.mWidgets) && mPkgItem.equals(otherEntry.mPkgItem) in equals()
71 mPkgItem, in withWidgetListShown()
DWidgetsListHeaderEntry.java53 return "Header:" + mPkgItem.packageName + ":" + mWidgets.size(); in toString()
66 return mWidgets.equals(otherEntry.mWidgets) && mPkgItem.equals(otherEntry.mPkgItem) in equals()
76 mPkgItem, in withWidgetListShown()
DWidgetsListBaseEntry.java34 public final PackageItemInfo mPkgItem; field in WidgetsListBaseEntry
46 mPkgItem = pkgItem; in WidgetsListBaseEntry()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/search/
DSimpleWidgetsSearchAlgorithmTest.java119 mCalendarHeaderEntry.mPkgItem, in filter_shouldMatchOnAppName()
124 mCameraHeaderEntry.mPkgItem, in filter_shouldMatchOnAppName()
140 mCalendarHeaderEntry.mPkgItem, in filter_shouldMatchOnWidgetLabel()
144 mCalendarHeaderEntry.mPkgItem, in filter_shouldMatchOnWidgetLabel()
148 mCameraHeaderEntry.mPkgItem, in filter_shouldMatchOnWidgetLabel()
152 mCameraHeaderEntry.mPkgItem, in filter_shouldMatchOnWidgetLabel()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/search/
DSimpleWidgetsSearchAlgorithm.java73 input, headerEntry.mPkgItem.title.toString(), headerEntry.mWidgets); in getFilteredWidgets()
75 results.add(new WidgetsListSearchHeaderEntry(headerEntry.mPkgItem, in getFilteredWidgets()
77 results.add(new WidgetsListContentEntry(headerEntry.mPkgItem, in getFilteredWidgets()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/model/
DWidgetsListContentEntryTest.java105 assertThat(widgetsListRowEntry.mPkgItem).isEqualTo(mPackageItemInfo1); in unsortedWidgets_diffLabels_shouldSortWidgetItems()
129 assertThat(widgetsListRowEntry.mPkgItem).isEqualTo(mPackageItemInfo1); in unsortedWidgets_sameLabels_differentSize_shouldSortWidgetItems()
156 assertThat(widgetsListRowEntry.mPkgItem).isEqualTo(mPackageItemInfo1); in unsortedWidgets_hodgepodge_shouldSortWidgetItems()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/
DWidgetsListHeaderViewHolderBinderTest.java152 eq(new PackageUserKey(entry.mPkgItem.packageName, entry.mPkgItem.user))); in bindViewHolder_shouldAttachOnHeaderClickListener()
DWidgetsListSearchHeaderViewHolderBinderTest.java153 eq(new PackageUserKey(entry.mPkgItem.packageName, entry.mPkgItem.user))); in bindViewHolder_shouldAttachOnHeaderClickListener()
DWidgetsDiffReporterTest.java231 mHeaderA.mPkgItem, mHeaderA.mTitleSectionName, in headersContentsMix_headerWidgetsModified_shouldInvokeCorrectCallbacks()
254 mContentE.mPkgItem, in headersContentsMix_contentMaxSpanSizeModified_shouldInvokeCorrectCallbacks()
DWidgetsListAdapterTest.java162 testPackage1ContentEntry.mPkgItem, in setWidgets_expandedApp_moreWidgets_shouldNotifyItemChangedWithWidgetItemInfoDiff()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java235 && row.mPkgItem.packageName.equals(packageUserKey.mPackageName)) in getWidgetsForPackageUser()