Home
last modified time | relevance | path

Searched refs:parentInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java372 final CascadingMenuInfo parentInfo; in showMenu() local
375 parentInfo = mShowingMenus.get(mShowingMenus.size() - 1); in showMenu()
376 parentView = findParentViewForSubmenu(parentInfo, menu); in showMenu()
378 parentInfo = null; in showMenu()
396 final int parentOffsetLeft = parentInfo.window.getHorizontalOffset() + tempLocation[0]; in showMenu()
397 final int parentOffsetTop = parentInfo.window.getVerticalOffset() + tempLocation[1]; in showMenu()
438 if (parentInfo == null && mShowTitle && menu.getHeaderTitle() != null) { in showMenu()
483 @NonNull CascadingMenuInfo parentInfo, @NonNull MenuBuilder submenu) { in findParentViewForSubmenu()
484 final MenuItem owner = findMenuItemForSubmenu(parentInfo.menu, submenu); in findParentViewForSubmenu()
493 final ListView listView = parentInfo.getListView(); in findParentViewForSubmenu()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DCascadingMenuPopup.java366 final CascadingMenuInfo parentInfo; in showMenu() local
369 parentInfo = mShowingMenus.get(mShowingMenus.size() - 1); in showMenu()
370 parentView = findParentViewForSubmenu(parentInfo, menu); in showMenu()
372 parentInfo = null; in showMenu()
390 final int parentOffsetLeft = parentInfo.window.getHorizontalOffset() + tempLocation[0]; in showMenu()
391 final int parentOffsetTop = parentInfo.window.getVerticalOffset() + tempLocation[1]; in showMenu()
431 if (parentInfo == null && mShowTitle && menu.getHeaderTitle() != null) { in showMenu()
476 @NonNull CascadingMenuInfo parentInfo, @NonNull MenuBuilder submenu) { in findParentViewForSubmenu()
477 final MenuItem owner = findMenuItemForSubmenu(parentInfo.menu, submenu); in findParentViewForSubmenu()
486 final ListView listView = parentInfo.getListView(); in findParentViewForSubmenu()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStorage.java425 final UserInfo parentInfo = um.getProfileParent(userId); in removeUser() local
427 if (parentInfo == null) { in removeUser()
DLockSettingsService.java421 final UserInfo parentInfo = mUserManager.getProfileParent(userHandle);
422 final int parentHandle = parentInfo != null ? parentInfo.id : -1;
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3388 UserInfo parentInfo = mUserManager.getProfileParent(userId); in isProfileWithLockedParent() local
3389 if (parentInfo != null in isProfileWithLockedParent()
3390 && !isUserRunningAndUnlocked(parentInfo.getUserHandle().getIdentifier())) { in isProfileWithLockedParent()
3403 UserInfo parentInfo = mUserManager.getProfileParent(userId); in isProfileWithUnlockedParent() local
3404 if (parentInfo != null in isProfileWithUnlockedParent()
3405 && mUserManager.isUserUnlockingOrUnlocked(parentInfo.getUserHandle())) { in isProfileWithUnlockedParent()
/frameworks/base/core/java/android/app/
DActivity.java6515 final ActivityInfo parentInfo = getPackageManager().getActivityInfo(target, 0); in getParentActivityIntent() local
6516 final String parentActivity = parentInfo.parentActivityName; in getParentActivityIntent()