Home
last modified time | relevance | path

Searched refs:sectionName (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAlphabeticalAppsList.java69 public String sectionName; field in AlphabeticalAppsList.FastScrollSectionInfo
75 public FastScrollSectionInfo(String sectionName) { in FastScrollSectionInfo() argument
76 this.sectionName = sectionName; in FastScrollSectionInfo()
97 public String sectionName = null; field in AlphabeticalAppsList.AdapterItem
118 public static AdapterItem asPredictedApp(int pos, SectionInfo section, String sectionName, in asPredictedApp() argument
120 AdapterItem item = asApp(pos, section, sectionName, sectionAppIndex, appInfo, appIndex); in asPredictedApp()
125 public static AdapterItem asApp(int pos, SectionInfo section, String sectionName, in asApp() argument
131 item.sectionName = sectionName; in asApp()
353 String sectionName = getAndUpdateCachedSectionName(info.title); in onAppsUpdated() local
356 ArrayList<AppInfo> sectionApps = sectionMap.get(sectionName); in onAppsUpdated()
[all …]
DAllAppsGridAdapter.java192 String lastSectionName = item.sectionName; in onDraw()
195 String sectionName = nextItem.sectionName; in onDraw() local
199 if (j > item.sectionAppIndex && sectionName.equals(lastSectionName)) { in onDraw()
205 PointF sectionBounds = getAndCacheSectionBounds(sectionName); in onDraw()
222 boolean fixedToRow = !sectionName.equals(nextRowItem.sectionName); in onDraw()
242 c.drawText(sectionName, x, y, mSectionTextPaint); in onDraw()
246 lastSectionName = sectionName; in onDraw()
262 private PointF getAndCacheSectionBounds(String sectionName) { in getAndCacheSectionBounds() argument
263 PointF bounds = mCachedSectionBounds.get(sectionName); in getAndCacheSectionBounds()
265 mSectionTextPaint.getTextBounds(sectionName, 0, sectionName.length(), mTmpBounds); in getAndCacheSectionBounds()
[all …]
DAllAppsContainerView.java116 isCrossScript = mAsciiEncoder.canEncode(section.firstAppItem.sectionName) != in continueMerging()
117 mAsciiEncoder.canEncode(withSection.firstAppItem.sectionName); in continueMerging()
DAllAppsRecyclerView.java260 return lastInfo.sectionName; in scrollToPositionAtProgress()
/packages/apps/Messaging/src/com/android/messaging/util/
DTrace.java37 abstract void beginSection(String sectionName); in beginSection() argument
66 public static void beginSection(String sectionName) { in beginSection() argument
68 LogUtil.v(TAG, "beginSection() " + sectionName); in beginSection()
70 sTrace.beginSection(sectionName); in beginSection()
93 void beginSection(String sectionName) { in beginSection() argument
94 android.os.Trace.beginSection(sectionName); in beginSection()
108 void beginSection(String sectionName) { in beginSection() argument
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseRecyclerViewFastScrollPopup.java67 public void setSectionName(String sectionName) { in setSectionName() argument
68 if (!sectionName.equals(mSectionName)) { in setSectionName()
69 mSectionName = sectionName; in setSectionName()
70 mTextPaint.getTextBounds(sectionName, 0, sectionName.length(), mTextBounds); in setSectionName()
72 mTextBounds.right = (int) (mTextBounds.left + mTextPaint.measureText(sectionName)); in setSectionName()
DBaseRecyclerViewFastScrollBar.java208 String sectionName = mRv.scrollToPositionAtProgress((boundedY - top) / in handleTouchEvent() local
210 mPopup.setSectionName(sectionName); in handleTouchEvent()
211 mPopup.animateVisibility(!sectionName.isEmpty()); in handleTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAlphabeticIndexCompat.java119 String sectionName = getBucketLabel(getBucketIndex(s)); in computeSectionName() local
120 if (Utilities.trim(sectionName).isEmpty() && s.length() > 0) { in computeSectionName()
138 return sectionName; in computeSectionName()