/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsListAdapter.java | 107 || 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 …]
|
D | WidgetsListHeader.java | 163 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()
|
D | WidgetsListHeaderViewHolderBinder.java | 68 new PackageUserKey(data.mPkgItem.packageName, data.mPkgItem.user) in bindViewHolder()
|
D | WidgetsListSearchHeaderViewHolderBinder.java | 68 new PackageUserKey(data.mPkgItem.packageName, data.mPkgItem.user))); in bindViewHolder()
|
D | WidgetsDiffReporter.java | 116 if (!isSamePackageItemInfo(orgRowEntry.mPkgItem, newRowEntry.mPkgItem) in process()
|
D | WidgetsFullSheet.java | 101 entry -> mCurrentUser.equals(entry.mPkgItem.user);
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/model/ |
D | WidgetsListContentEntry.java | 60 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()
|
D | WidgetsListSearchHeaderEntry.java | 48 return "SearchHeader:" + mPkgItem.packageName + ":" + mWidgets.size(); in toString() 61 return mWidgets.equals(otherEntry.mWidgets) && mPkgItem.equals(otherEntry.mPkgItem) in equals() 71 mPkgItem, in withWidgetListShown()
|
D | WidgetsListHeaderEntry.java | 53 return "Header:" + mPkgItem.packageName + ":" + mWidgets.size(); in toString() 66 return mWidgets.equals(otherEntry.mWidgets) && mPkgItem.equals(otherEntry.mPkgItem) in equals() 76 mPkgItem, in withWidgetListShown()
|
D | WidgetsListBaseEntry.java | 34 public final PackageItemInfo mPkgItem; field in WidgetsListBaseEntry 46 mPkgItem = pkgItem; in WidgetsListBaseEntry()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/search/ |
D | SimpleWidgetsSearchAlgorithmTest.java | 119 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/ |
D | SimpleWidgetsSearchAlgorithm.java | 73 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/ |
D | WidgetsListContentEntryTest.java | 105 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/ |
D | WidgetsListHeaderViewHolderBinderTest.java | 152 eq(new PackageUserKey(entry.mPkgItem.packageName, entry.mPkgItem.user))); in bindViewHolder_shouldAttachOnHeaderClickListener()
|
D | WidgetsListSearchHeaderViewHolderBinderTest.java | 153 eq(new PackageUserKey(entry.mPkgItem.packageName, entry.mPkgItem.user))); in bindViewHolder_shouldAttachOnHeaderClickListener()
|
D | WidgetsDiffReporterTest.java | 231 mHeaderA.mPkgItem, mHeaderA.mTitleSectionName, in headersContentsMix_headerWidgetsModified_shouldInvokeCorrectCallbacks() 254 mContentE.mPkgItem, in headersContentsMix_contentMaxSpanSizeModified_shouldInvokeCorrectCallbacks()
|
D | WidgetsListAdapterTest.java | 162 testPackage1ContentEntry.mPkgItem, in setWidgets_expandedApp_moreWidgets_shouldNotifyItemChangedWithWidgetItemInfoDiff()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupDataProvider.java | 235 && row.mPkgItem.packageName.equals(packageUserKey.mPackageName)) in getWidgetsForPackageUser()
|