Home
last modified time | relevance | path

Searched refs:pageId (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Settings/src/com/android/settings/search/
DSearchFeatureProvider.java85 int pageId) { in initSearchToolbar() argument
112 final Intent intent = buildSearchIntent(context, pageId) in initSearchToolbar()
134 toolbar.setOnClickListener(tb -> startSearchActivity(context, activity, pageId, intent)); in initSearchToolbar()
137 () -> startSearchActivity(context, activity, pageId, intent)); in initSearchToolbar()
143 Context context, FragmentActivity activity, int pageId, Intent intent) { in startSearchActivity() argument
148 .logSettingsTileClick(KEY_HOMEPAGE_SEARCH_BAR, pageId); in startSearchActivity()
154 Intent buildSearchIntent(Context context, int pageId); in buildSearchIntent() argument
DSearchFeatureProviderImpl.java64 public Intent buildSearchIntent(Context context, int pageId) { in buildSearchIntent() argument
67 .putExtra(Intent.EXTRA_REFERRER, buildReferrer(context, pageId)); in buildSearchIntent()
74 private static Uri buildReferrer(Context context, int pageId) { in buildReferrer() argument
78 .path(String.valueOf(pageId)) in buildReferrer()
/packages/apps/Settings/src/com/android/settings/core/instrumentation/
DStatsLogWriter.java28 public void visible(Context context, int attribution, int pageId, int latency) { in visible() argument
32 pageId, /* target pageId */ in visible()
39 public void hidden(Context context, int pageId, int visibleTime) { in hidden() argument
43 pageId, in hidden()
108 public void action(int attribution, int action, int pageId, String key, int value) { in action() argument
112 pageId, in action()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/
DTaplTwoPanelWorkspaceTest.java348 private void assertPageEmpty(Launcher launcher, int pageId) { in assertPageEmpty() argument
349 CellLayout page = launcher.getWorkspace().getScreenWithId(pageId); in assertPageEmpty()
350 assertNotNull("Page " + pageId + " does NOT exist.", page); in assertPageEmpty()
351 assertEquals("Page " + pageId + " is NOT empty. Number of items on the page:", 0, in assertPageEmpty()
360 int pageId = launcher.getWorkspace().getCellLayoutId(page); in assertPagesExist() local
361 assertEquals("The page's id at index " + i + " does NOT match.", pageId, in assertPagesExist()
366 private void assertItemsOnPage(Launcher launcher, int pageId, String... itemTitles) { in assertItemsOnPage() argument
368 CellLayout page = launcher.getWorkspace().getScreenWithId(pageId); in assertItemsOnPage()
373 assertTrue("There was an extra item on page " + pageId + ": " + itemInfo.title, in assertItemsOnPage()
377 assertTrue("Could NOT find some of the items on page " + pageId + ": " in assertItemsOnPage()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatEduController.java87 int pageId = -1; in migrateHotseatWhole() local
93 pageId = i; in migrateHotseatWhole()
97 if (pageId == -1) { in migrateHotseatWhole()
98 pageId = mLauncher.getModel().getModelDbController().getNewScreenId(); in migrateHotseatWhole()
99 mNewScreens = IntArray.wrap(pageId); in migrateHotseatWhole()
111 LauncherSettings.Favorites.CONTAINER_DESKTOP, pageId, i, toRow); in migrateHotseatWhole()
114 return pageId; in migrateHotseatWhole()
/packages/apps/Settings/src/com/android/settings/spa/core/instrumentation/
DMetricsDataModel.kt33 fun getPageDuration(pageId: String, removed: Boolean = true): String { in getPageDuration()
34 val lastItem = pageTimeStampList.findLast { it.pageId == pageId } in getPageDuration()
DSpaLogProvider.kt135 data class PageTimeStamp(val pageId: String, val timeStamp: Long) constant in com.android.settings.spa.core.instrumentation.PageTimeStamp
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DInstrumentationUtils.java37 static void logPageFocused(int pageId, Boolean forward) { in logPageFocused() argument
47 pageId); in logPageFocused()
49 Log.e(TAG, "Unable to log PAGE_FOCUSED for id: " + pageId + " " + e); in logPageFocused()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DInstrumentationUtils.java38 public static void logPageFocused(int pageId, Boolean forward) { in logPageFocused() argument
48 pageId); in logPageFocused()
50 Log.e(TAG, "Unable to log PAGE_FOCUSED for id: " + pageId + " " + e); in logPageFocused()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiCategory.java383 for (int pageId = 0; pageId < sortedKeys.length; ++pageId) { in getKeyboard()
387 for (final Key emojiKey : sortedKeys[pageId]) { in getKeyboard()
394 getCategoryKeyboardMapKey(categoryId, pageId), tempKeyboard); in getKeyboard()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogHandler.java505 int pageId = SettingsEnums.PAGE_UNKNOWN; in logDialogDismissEvent()
507 pageId = in logDialogDismissEvent()
511 pageId = in logDialogDismissEvent()
515 pageId = in logDialogDismissEvent()
522 pageId); in logDialogDismissEvent()
DAudioSharingUtils.java413 int pageId, in buildAudioSharingDialogEventData() argument
419 Pair.create(METRIC_KEY_PAGE_ID.ordinal(), pageId), in buildAudioSharingDialogEventData()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityStatsLogUtils.java124 public static int convertToHearingAidInfoBondEntry(int pageId) { in convertToHearingAidInfoBondEntry() argument
125 switch (pageId) { in convertToHearingAidInfoBondEntry()
DHearingDevicePairingFragment.java205 final int pageId = FeatureFactory.getFeatureFactory().getMetricsFeatureProvider() in onDeviceBondStateChanged() local
208 pageId); in onDeviceBondStateChanged()
/packages/apps/Settings/src/com/android/settings/search/actionbar/
DSearchMenuController.java60 private SearchMenuController(@NonNull Fragment host, int pageId) { in SearchMenuController() argument
62 mPageId = pageId; in SearchMenuController()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDevicePairingDetailBase.java100 final int pageId = FeatureFactory.getFeatureFactory().getMetricsFeatureProvider() in onDeviceBondStateChanged() local
103 pageId); in onDeviceBondStateChanged()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageBreakdownController.java155 final int pageId = SettingsEnums.OPEN_BATTERY_USAGE; in logPreferenceClickedMetrics() local
162 mMetricsFeatureProvider.action(attribution, action, pageId, packageName, percentage); in logPreferenceClickedMetrics()
163 mMetricsFeatureProvider.action(attribution, action, pageId, SLOT_TIMESTAMP, slotTimestamp); in logPreferenceClickedMetrics()
167 attribution, action, pageId, ANOMALY_KEY, mAnomalyKeyNumber); in logPreferenceClickedMetrics()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/
DPreferenceSliceBuilder.java496 public RowBuilder setPageId(int pageId) { in setPageId() argument
497 mPageId = pageId; in setPageId()
DPreferenceSliceBuilderImpl.java458 public void setPageId(int pageId) { in setPageId() argument
459 mPageIdItem = new SliceItem(pageId, FORMAT_INT, EXTRA_PAGE_ID, new String[]{}); in setPageId()