Home
last modified time | relevance | path

Searched refs:displayContext (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/text/format/
DRelativeDateTimeFormatter.java98 final DisplayContext displayContext = in getRelativeTimeSpanString() local
101 displayContext); in getRelativeTimeSpanString()
105 long now, long minResolution, int flags, DisplayContext displayContext) { in getRelativeTimeSpanString() argument
115 displayContext); in getRelativeTimeSpanString()
121 DisplayContext displayContext) { in getRelativeTimeSpanString() argument
174 str = getFormatter(icuLocale, style, displayContext).format( in getRelativeTimeSpanString()
180 str = getFormatter(icuLocale, style, displayContext).format( in getRelativeTimeSpanString()
222 return DateTimeFormat.format(icuLocale, timeCalendar, flags, displayContext); in getRelativeTimeSpanString()
227 getFormatter(icuLocale, style, displayContext); in getRelativeTimeSpanString()
338 DisplayContext displayContext) { in getFormatter() argument
[all …]
DDateTimeFormat.java45 DisplayContext displayContext) { in format() argument
56 formatter.setContext(displayContext); in format()
/frameworks/base/core/java/com/android/internal/policy/
DDecorContext.java54 final Context displayContext; in DecorContext() local
58 displayContext = baseContext.createConfigurationContext(Configuration.EMPTY); in DecorContext()
59 displayContext.updateDisplay(Display.DEFAULT_DISPLAY); in DecorContext()
61 displayContext = baseContext.createDisplayContext(display); in DecorContext()
63 attachBaseContext(displayContext); in DecorContext()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DFaceScanningProviderFactoryTest.kt75 val displayContext = context.createDisplayContext(display) as SysuiTestableContext in setup() constant
76 displayContext.orCreateTestableResources.addOverride( in setup()
80 displayContext.orCreateTestableResources.addOverride( in setup()
87 displayContext, in setup()
DSysUICutoutProviderTest.kt99 val displayContext = context.createDisplayContext(createDisplay(uniqueId = null)) in cutoutInfoForCurrentDisplay_displayWithNullId_protectionsWithNoId_returnsNullProtection() constant
100 val provider = SysUICutoutProvider(displayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_displayWithNullId_protectionsWithNoId_returnsNullProtection()
110 val displayContext = context.createDisplayContext(createDisplay(uniqueId = "")) in cutoutInfoForCurrentDisplay_displayWithEmptyId_protectionsWithNoId_returnsNullProtection() constant
111 val provider = SysUICutoutProvider(displayContext, fakeProtectionLoader) in cutoutInfoForCurrentDisplay_displayWithEmptyId_protectionsWithNoId_returnsNullProtection()
/frameworks/av/services/camera/virtualcamera/util/
DEglUtil.cc54 EglDisplayContext displayContext; in getMaximumTextureSize() local
55 displayContext.makeCurrent(); in getMaximumTextureSize()
/frameworks/base/services/core/java/com/android/server/input/
DPointerIconCache.java165 Context displayContext = mDisplayContexts.get(displayId); in getContextForDisplayLocked() local
166 if (displayContext == null) { in getContextForDisplayLocked()
175 displayContext = mContext.createDisplayContext(display); in getContextForDisplayLocked()
176 mDisplayContexts.put(displayId, displayContext); in getContextForDisplayLocked()
178 return displayContext; in getContextForDisplayLocked()
/frameworks/av/services/camera/virtualcamera/tests/
DEglUtilTest.cc41 EglDisplayContext displayContext; in TEST() local
43 EXPECT_TRUE(displayContext.isInitialized()); in TEST()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSubtype.java629 final DisplayContext displayContext; in getDisplayName() local
631 displayContext = DisplayContext.CAPITALIZATION_FOR_UI_LIST_OR_MENU; in getDisplayName()
633 displayContext = DisplayContext.CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE; in getDisplayName()
635 displayContext = DisplayContext.CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE; in getDisplayName()
638 getLocaleObject(), displayContext); in getDisplayName()
676 final DisplayContext displayContext) { in getLocaleDisplayName() argument
683 .getInstance(nonNullDisplayLocale, displayContext) in getLocaleDisplayName()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
DA11yMenuAdapter.java52 Context displayContext, List<A11yMenuShortcut> shortcutDataList) { in A11yMenuAdapter() argument
55 mInflater = LayoutInflater.from(displayContext); in A11yMenuAdapter()
DA11yMenuViewPager.java153 public A11yMenuViewPager(AccessibilityMenuService service, Context displayContext) { in A11yMenuViewPager() argument
155 this.mDisplayContext = displayContext; in A11yMenuViewPager()
DA11yMenuOverlayLayout.java181 private void inflateLayoutAndSetOnTouchListener(ViewGroup view, Context displayContext) { in inflateLayoutAndSetOnTouchListener() argument
182 LayoutInflater inflater = LayoutInflater.from(displayContext); in inflateLayoutAndSetOnTouchListener()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DCaptionWindowDecoration.java97 final Context displayContext = mDisplayController.getDisplayContext(mTaskInfo.displayId); in calculateValidDragArea() local
98 if (displayContext == null) return new Rect(); in calculateValidDragArea()
104 final int requiredEmptySpaceId = displayContext in calculateValidDragArea()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java640 final Context displayContext = mContext.createDisplayContext(display); in enableFeaturesForDisplay() local
657 TouchExplorer explorer = new TouchExplorer(displayContext, mAms); in enableFeaturesForDisplay()
710 createMagnificationGestureHandler(displayId, displayContext); in enableFeaturesForDisplay()
822 int displayId, Context displayContext) { in createMagnificationGestureHandler() argument
832 final Context uiContext = displayContext.createWindowContext( in createMagnificationGestureHandler()
841 final Context uiContext = displayContext.createWindowContext( in createMagnificationGestureHandler()
852 new WindowMagnificationPromptController(displayContext, mUserId), displayId, in createMagnificationGestureHandler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java130 Context displayContext = context.createDisplayContext(display); in showToast()
139 mPresenter = new ToastPresenter(displayContext, mIAccessibilityManager, in showToast()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DSystemWindows.java250 Context displayContext = mDisplayController.getDisplayContext(mDisplayId); in addRoot() local
251 wwm = new SysUiWindowManager(mDisplayId, displayContext, rootSurface, win); in addRoot()
/frameworks/base/core/java/android/view/
DWindowManagerImpl.java135 public WindowManagerImpl createPresentationWindowManager(Context displayContext) { in createPresentationWindowManager() argument
136 return new WindowManagerImpl(displayContext, mParentWindow, mWindowContextToken); in createPresentationWindowManager()
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/wallpaper/
DLiveWallpaper.kt249 displayContext ?: this@LiveWallpaper in onCreate()
/frameworks/layoutlib/bridge/src/android/view/
DWindowManagerImpl.java80 public WindowManagerImpl createPresentationWindowManager(Context displayContext) { in createPresentationWindowManager() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DDefaultTransitionHandler.java479 final Context displayContext = in startAnimation() local
481 cornerRadius = displayContext == null ? 0 in startAnimation()
482 : ScreenDecorationsUtils.getWindowCornerRadius(displayContext); in startAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotController.java297 final Context displayContext = context.createDisplayContext(display); in ScreenshotController() local
298 mContext = (WindowContext) displayContext.createWindowContext(TYPE_SCREENSHOT, null); in ScreenshotController()