/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
H A D | GLDualGL2View.java | 83 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { argument 87 EGLContext context = egl.eglCreateContext(display, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); 92 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { argument 93 egl.eglDestroyContext(display, context); 124 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { argument 127 egl.eglChooseConfig(display, s_configAttribs2, null, 0, num_config); 135 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); 136 // printConfigs(egl, display, configs); 137 return chooseConfig(egl, display, configs); 140 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, argument 171 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument 180 printConfigs(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument 190 printConfig(EGL10 egl, EGLDisplay display, EGLConfig config) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Gravity.java | 100 /** Special constant to enable clipping to an overall display along the 107 /** Special constant to enable clipping to an overall display along the 303 * Apply additional gravity behavior based on the overall "display" that an 306 * within a visible display. By default this moves or clips the object 307 * to be visible in the display; the gravity flags 312 * display. 313 * @param display The rectangle of the display in which the object is 316 * modified if needed to fit in the display. 318 public static void applyDisplay(int gravity, Rect display, Rec argument 376 applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) argument [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | ComposerHal.cpp | 285 Error Composer::destroyVirtualDisplay(Display display) argument 287 auto ret = mClient->destroyVirtualDisplay(display); 291 Error Composer::acceptDisplayChanges(Display display) argument 293 mWriter.selectDisplay(display); 298 Error Composer::createLayer(Display display, Layer* outLayer) argument 301 mClient->createLayer(display, BufferQueue::NUM_BUFFER_SLOTS, 314 Error Composer::destroyLayer(Display display, Layer layer) argument 316 auto ret = mClient->destroyLayer(display, layer); 320 Error Composer::getActiveConfig(Display display, Config* outConfig) argument 323 mClient->getActiveConfig(display, 336 getChangedCompositionTypes(Display display, std::vector<Layer>* outLayers, std::vector<IComposerClient::Composition>* outTypes) argument 344 getColorModes(Display display, std::vector<ColorMode>* outModes) argument 375 getDisplayAttribute(Display display, Config config, IComposerClient::Attribute attribute, int32_t* outValue) argument 392 getDisplayConfigs(Display display, std::vector<Config>* outConfigs) argument 409 getDisplayName(Display display, std::string* outName) argument 425 getDisplayRequests(Display display, uint32_t* outDisplayRequestMask, std::vector<Layer>* outLayers, std::vector<uint32_t>* outLayerRequestMasks) argument 434 getDisplayType(Display display, IComposerClient::DisplayType* outType) argument 451 getDozeSupport(Display display, bool* outSupport) argument 467 getHdrCapabilities(Display display, std::vector<Hdr>* outTypes, float* outMaxLuminance, float* outMaxAverageLuminance, float* outMinLuminance) argument 491 getReleaseFences(Display display, std::vector<Layer>* outLayers, std::vector<int>* outReleaseFences) argument 498 presentDisplay(Display display, int* outPresentFence) argument 513 setActiveConfig(Display display, Config config) argument 519 setClientTarget(Display display, uint32_t slot, const sp<GraphicBuffer>& target, int acquireFence, Dataspace dataspace, const std::vector<IComposerClient::Rect>& damage) argument 546 setColorMode(Display display, ColorMode mode, RenderIntent renderIntent) argument 559 setColorTransform(Display display, const float* matrix, ColorTransform hint) argument 567 setOutputBuffer(Display display, const native_handle_t* buffer, int releaseFence) argument 575 setPowerMode(Display display, IComposerClient::PowerMode mode) argument 586 setVsyncEnabled(Display display, IComposerClient::Vsync enabled) argument 592 setClientTargetSlotCount(Display display) argument 599 validateDisplay(Display display, uint32_t* outNumTypes, uint32_t* outNumRequests) argument 615 presentOrValidateDisplay(Display display, uint32_t* outNumTypes, uint32_t* outNumRequests, int* outPresentFence, uint32_t* state) argument 638 setCursorPosition(Display display, Layer layer, int32_t x, int32_t y) argument 647 setLayerBuffer(Display display, Layer layer, uint32_t slot, const sp<GraphicBuffer>& buffer, int acquireFence) argument 673 setLayerSurfaceDamage(Display display, Layer layer, const std::vector<IComposerClient::Rect>& damage) argument 682 setLayerBlendMode(Display display, Layer layer, IComposerClient::BlendMode mode) argument 691 setLayerColor(Display display, Layer layer, const IComposerClient::Color& color) argument 700 setLayerCompositionType(Display display, Layer layer, IComposerClient::Composition type) argument 709 setLayerDataspace(Display display, Layer layer, Dataspace dataspace) argument 718 setLayerDisplayFrame(Display display, Layer layer, const IComposerClient::Rect& frame) argument 727 setLayerPlaneAlpha(Display display, Layer layer, float alpha) argument 736 setLayerSidebandStream(Display display, Layer layer, const native_handle_t* stream) argument 745 setLayerSourceCrop(Display display, Layer layer, const IComposerClient::FRect& crop) argument 754 setLayerTransform(Display display, Layer layer, Transform transform) argument 763 setLayerVisibleRegion(Display display, Layer layer, const std::vector<IComposerClient::Rect>& visible) argument 772 setLayerZOrder(Display display, Layer layer, uint32_t z) argument 780 setLayerInfo(Display display, Layer layer, uint32_t type, uint32_t appId) argument 888 setLayerPerFrameMetadata(Display display, Layer layer, const std::vector<IComposerClient::PerFrameMetadata>& perFrameMetadatas) argument 900 getPerFrameMetadataKeys( Display display, std::vector<IComposerClient::PerFrameMetadataKey>* outKeys) argument 919 getRenderIntents(Display display, ColorMode colorMode, std::vector<RenderIntent>* outRenderIntents) argument 1162 hasChanges(Display display, uint32_t* outNumChangedCompositionTypes, uint32_t* outNumLayerRequestMasks) const argument 1181 takeChangedCompositionTypes(Display display, std::vector<Layer>* outLayers, std::vector<IComposerClient::Composition>* outTypes) argument 1198 takeDisplayRequests(Display display, uint32_t* outDisplayRequestMask, std::vector<Layer>* outLayers, std::vector<uint32_t>* outLayerRequestMasks) argument 1217 takeReleaseFences(Display display, std::vector<Layer>* outLayers, std::vector<int>* outReleaseFences) argument 1233 takePresentFence(Display display, int* outPresentFence) argument 1247 takePresentOrValidateStage(Display display, uint32_t* state) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
H A D | VirtualDisplayTest.java | 17 package android.hardware.display; 25 import android.hardware.display.DisplayManager; 26 import android.hardware.display.VirtualDisplay; 111 * Ensures that an application can create a private virtual display and show 117 assertNotNull("virtual display must not be null", virtualDisplay); 119 Display display = virtualDisplay.getDisplay(); 121 assertDisplayRegistered(display, Display.FLAG_PRIVATE); 123 // Show a private presentation on the display. 125 display, BLUEISH, 130 assertDisplayUnregistered(display); 251 assertDisplayRegistered(Display display, int flags) argument 278 assertDisplayUnregistered(Display display) argument 284 assertDisplayCanShowPresentation(String message, final Display display, final int color, final int windowType, final int windowFlags) argument 350 TestPresentation(Context context, Display display, int color, int windowType, int windowFlags) argument [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | VirtualDisplay.java | 16 package android.hardware.display; 22 * Represents a virtual display. The content of a virtual display is rendered to a 26 * Because a virtual display renders to a surface provided by the application, it will be 40 VirtualDisplay(DisplayManagerGlobal global, Display display, argument 43 mDisplay = display; 49 * Gets the virtual display. 56 * Gets the surface that backs the virtual display. 63 * Sets the surface that backs the virtual display. 65 * Detaching the surface that backs a virtual display ha [all...] |
H A D | DisplayManager.java | 17 package android.hardware.display; 56 * Broadcast receiver that indicates when the Wifi display status changes. 66 "android.hardware.display.action.WIFI_DISPLAY_STATUS_CHANGED"; 73 "android.hardware.display.extra.WIFI_DISPLAY_STATUS"; 89 "android.hardware.display.category.PRESENTATION"; 92 * Virtual display flag: Create a public display. 96 * When this flag is set, the virtual display is public. 98 * A public virtual display behaves just like most any other display tha [all...] |
/frameworks/native/libs/vr/libdvr/ |
H A D | dvr_configuration_data.cpp | 5 using android::dvr::display::ConfigFileType; 6 using android::dvr::display::DisplayClient; 18 ALOGE("dvrGetGlobalBuffer: Failed to create display client!");
|
/frameworks/native/include/gui/ |
H A D | ISurfaceComposer.h | 108 /* create a virtual display 114 /* destroy a virtual display 117 virtual void destroyDisplay(const sp<IBinder>& display) = 0; 143 /* set display power mode. depending on the mode, it can either trigger 147 virtual void setPowerMode(const sp<IBinder>& display, int mode) = 0; 149 /* returns information for each configuration of the given display 151 virtual status_t getDisplayConfigs(const sp<IBinder>& display, 154 /* returns display statistics for a given display 157 virtual status_t getDisplayStats(const sp<IBinder>& display, [all...] |
/frameworks/native/libs/gui/include/gui/ |
H A D | ISurfaceComposer.h | 108 /* create a virtual display 114 /* destroy a virtual display 117 virtual void destroyDisplay(const sp<IBinder>& display) = 0; 143 /* set display power mode. depending on the mode, it can either trigger 147 virtual void setPowerMode(const sp<IBinder>& display, int mode) = 0; 149 /* returns information for each configuration of the given display 151 virtual status_t getDisplayConfigs(const sp<IBinder>& display, 154 /* returns display statistics for a given display 157 virtual status_t getDisplayStats(const sp<IBinder>& display, [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Presentation.java | 25 import android.hardware.display.DisplayManager; 26 import android.hardware.display.DisplayManager.DisplayListener; 45 * content on a secondary display. A {@link Presentation} is associated with 47 * resource configuration according to the display's metrics. 52 * to ensure that assets of the correct size and density for the target display 56 * the display to which it is attached is removed. An activity should take 61 * <h3>Choosing a presentation display</h3> 64 * on which it will appear. Choosing a presentation display is sometimes difficult 66 * which display is best, an application should let the system choose a suitable 67 * presentation display 167 Presentation(Context outerContext, Display display) argument 185 Presentation(Context outerContext, Display display, int theme) argument 303 createPresentationContext( Context outerContext, Display display, int theme) argument [all...] |
/frameworks/native/services/vr/hardware_composer/impl/ |
H A D | vr_hwc.cpp | 66 auto display_client = display::DisplayClient::Create(&error); 68 ALOGE("Could not connect to display service : %s(%d)", strerror(error), 75 ALOGE("Could not get display metrics from display service : %s(%d)", 259 // Create the primary display late to avoid initialization issues between 283 Error VrHwc::destroyVirtualDisplay(Display display) { argument 285 if (display == kDefaultDisplayId || displays_.erase(display) == 0) 288 frame.display_id = display; 295 Error VrHwc::createLayer(Display display, Laye argument 306 destroyLayer(Display display, Layer layer) argument 316 getActiveConfig(Display display, Config* outConfig) argument 338 getDisplayAttribute(Display display, Config config, IComposerClient::Attribute attribute, int32_t* outValue) argument 390 getDisplayConfigs(Display display, hidl_vec<Config>* outConfigs) argument 404 getDisplayType(Display display, IComposerClient::DisplayType* outType) argument 421 getDozeSupport(Display display, bool* outSupport) argument 440 setActiveConfig(Display display, Config config) argument 452 setColorMode(Display display, ColorMode mode) argument 462 setPowerMode(Display display, IComposerClient::PowerMode mode) argument 472 setVsyncEnabled(Display display, IComposerClient::Vsync enabled) argument 482 setColorTransform(Display display, const float* matrix, int32_t hint) argument 493 setClientTarget(Display display, buffer_handle_t target, int32_t acquireFence, int32_t , const std::vector<hwc_rect_t>& ) argument 511 setOutputBuffer(Display display, buffer_handle_t , int32_t releaseFence) argument 523 validateDisplay( Display display, std::vector<Layer>* outChangedLayers, std::vector<IComposerClient::Composition>* outCompositionTypes, uint32_t* , std::vector<Layer>* , std::vector<uint32_t>* ) argument 541 presentDisplay(Display display, int32_t* outPresentFence, std::vector<Layer>* outLayers, std::vector<int32_t>* outReleaseFences) argument 587 setLayerCursorPosition(Display display, Layer layer, int32_t x, int32_t y) argument 603 setLayerBuffer(Display display, Layer layer, buffer_handle_t buffer, int32_t acquireFence) argument 622 setLayerSurfaceDamage(Display display, Layer layer, const std::vector<hwc_rect_t>& damage) argument 637 setLayerBlendMode(Display display, Layer layer, int32_t mode) argument 653 setLayerColor(Display display, Layer layer, IComposerClient::Color color) argument 668 setLayerCompositionType(Display display, Layer layer, int32_t type) argument 684 setLayerDataspace(Display display, Layer layer, int32_t dataspace) argument 699 setLayerDisplayFrame(Display display, Layer layer, const hwc_rect_t& frame) argument 716 setLayerPlaneAlpha(Display display, Layer layer, float alpha) argument 731 setLayerSidebandStream(Display display, Layer , buffer_handle_t ) argument 739 setLayerSourceCrop(Display display, Layer layer, const hwc_frect_t& crop) argument 755 setLayerTransform(Display display, Layer layer, int32_t transform) argument 770 setLayerVisibleRegion(Display display, Layer layer, const std::vector<hwc_rect_t>& visible) argument 785 setLayerZOrder(Display display, Layer layer, uint32_t z) argument 800 setLayerInfo(Display display, Layer layer, uint32_t type, uint32_t appId) argument 817 setClientTargetMetadata( Display display, const IVrComposerClient::BufferMetadata& metadata) argument 829 setLayerBufferMetadata( Display display, Layer layer, const IVrComposerClient::BufferMetadata& metadata) argument 909 FindDisplay(Display display) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | WifiDisplayAdapter.java | 17 package com.android.server.display; 26 import android.hardware.display.DisplayManager; 27 import android.hardware.display.WifiDisplay; 28 import android.hardware.display.WifiDisplaySessionInfo; 29 import android.hardware.display.WifiDisplayStatus; 50 * The Wifi display protocol relies on Wifi direct for discovering and pairing 51 * with the display. Once connected, the Media Server opens an RTSP socket and accepts 52 * a connection from the display. After session negotiation, the Media Server 53 * streams encoded buffers to the display. 68 private static final String ACTION_DISCONNECT = "android.server.display 359 addDisplayDeviceLocked(WifiDisplay display, Surface surface, int width, int height, int flags) argument [all...] |
H A D | DisplayManagerService.java | 17 package com.android.server.display; 19 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR; 20 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY; 21 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC; 22 import static android.hardware.display.DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE; 23 import static android.hardware.display.DisplayManager 42 import android.hardware.display.AmbientBrightnessDayStats; 43 import android.hardware.display.BrightnessChangeEvent; 44 import android.hardware.display.BrightnessConfiguration; 45 import android.hardware.display 1017 configureColorModeLocked(LogicalDisplay display, DisplayDevice device) argument 1282 setViewportLocked(DisplayViewport viewport, LogicalDisplay display, DisplayDevice device) argument [all...] |
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 27 #include <private/EGL/display.h> 117 static jboolean jni_eglInitialize(JNIEnv *_env, jobject _this, jobject display, argument 119 if (display == NULL || (major_minor != NULL && 125 EGLDisplay dpy = getDisplay(_env, display); 140 static jboolean jni_eglQueryContext(JNIEnv *_env, jobject _this, jobject display, argument 142 if (display == NULL || context == NULL || value == NULL 147 EGLDisplay dpy = getDisplay(_env, display); 159 static jboolean jni_eglQuerySurface(JNIEnv *_env, jobject _this, jobject display, argument 161 if (display == NULL || surface == NULL || value == NULL 166 EGLDisplay dpy = getDisplay(_env, display); 179 jni_getInitCount(JNIEnv *_env, jobject _clazz, jobject display) argument 188 jni_eglChooseConfig(JNIEnv *_env, jobject _this, jobject display, jintArray attrib_list, jobjectArray configs, jint config_size, jintArray num_config) argument 223 jni_eglCreateContext(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject share_context, jintArray attrib_list) argument 239 jni_eglCreatePbufferSurface(JNIEnv *_env, jobject _this, jobject display, jobject config, jintArray attrib_list) argument 254 jni_eglCreatePixmapSurface(JNIEnv *_env, jobject _this, jobject out_sur, jobject display, jobject config, jobject native_pixmap, jintArray attrib_list) argument 261 jni_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject native_window, jintArray attrib_list) argument 288 jni_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject native_window, jintArray attrib_list) argument 316 jni_eglGetConfigAttrib(JNIEnv *_env, jobject _this, jobject display, jobject config, jint attribute, jintArray value) argument 334 jni_eglGetConfigs(JNIEnv *_env, jobject _this, jobject display, jobjectArray configs, jint config_size, jintArray num_config) argument 382 jni_eglDestroyContext(JNIEnv *_env, jobject _this, jobject display, jobject context) argument 392 jni_eglDestroySurface(JNIEnv *_env, jobject _this, jobject display, jobject surface) argument 406 jni_eglMakeCurrent(JNIEnv *_env, jobject _this, jobject display, jobject draw, jobject read, jobject context) argument 418 jni_eglQueryString(JNIEnv *_env, jobject _this, jobject display, jint name) argument 428 jni_eglSwapBuffers(JNIEnv *_env, jobject _this, jobject display, jobject surface) argument 438 jni_eglTerminate(JNIEnv *_env, jobject _this, jobject display) argument 447 jni_eglCopyBuffers(JNIEnv *_env, jobject _this, jobject display, jobject surface, jobject native_pixmap) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposer.cpp | 105 virtual status_t captureScreen(const sp<IBinder>& display, sp<GraphicBuffer>* outBuffer, argument 111 data.writeStrongBinder(display); 272 virtual void destroyDisplay(const sp<IBinder>& display) argument 276 data.writeStrongBinder(display); 289 virtual void setPowerMode(const sp<IBinder>& display, int mode) argument 293 data.writeStrongBinder(display); 298 virtual status_t getDisplayConfigs(const sp<IBinder>& display, argument 303 data.writeStrongBinder(display); 319 virtual status_t getDisplayStats(const sp<IBinder>& display, argument 324 data.writeStrongBinder(display); 335 getActiveConfig(const sp<IBinder>& display) argument 344 setActiveConfig(const sp<IBinder>& display, int id) argument 354 getDisplayColorModes(const sp<IBinder>& display, Vector<ColorMode>* outColorModes) argument 384 getActiveColorMode(const sp<IBinder>& display) argument 404 setActiveColorMode(const sp<IBinder>& display, ColorMode colorMode) argument 445 getHdrCapabilities(const sp<IBinder>& display, HdrCapabilities* outCapabilities) const argument 608 sp<IBinder> display = data.readStrongBinder(); local 689 sp<IBinder> display = data.readStrongBinder(); local 703 sp<IBinder> display = data.readStrongBinder(); local 718 sp<IBinder> display = data.readStrongBinder(); local 729 sp<IBinder> display = data.readStrongBinder(); local 736 sp<IBinder> display = data.readStrongBinder(); local 745 sp<IBinder> display = nullptr; local 763 sp<IBinder> display = nullptr; local 775 sp<IBinder> display = nullptr; local 808 sp<IBinder> display = data.readStrongBinder(); local 815 sp<IBinder> display = nullptr; local [all...] |
/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | DisplayTransactionTest.cpp | 136 // Default to no wide color display support configured 240 // The display width and height 246 // The type for this display 256 // Whether the display should be treated as secure 302 // The display id supplied by the HWC 305 // The HWC display type 317 // Called by tests to inject a HWC display setup 373 // Physical displays are expected to be synchronous, secure, and have a HWC display for output. 386 // An invalid display 391 // A primary display i 848 const auto& display = getCurrentDisplayState(displayToken); local 879 const auto& display = getCurrentDisplayState(displayToken); local 1598 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 1626 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 1654 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 1682 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 1714 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 1755 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 2027 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 2070 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 2106 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 2142 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 2178 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 2217 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 2253 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 2566 auto display = Display::makeFakeExistingDisplayInjector(test); local 2639 auto display = local 2671 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local 2700 auto display = Case::Display::makeFakeExistingDisplayInjector(this); local [all...] |
/frameworks/base/libs/hwui/ |
H A D | Image.cpp | 27 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local 31 mImage = eglCreateImageKHR(display, EGL_NO_CONTEXT, EGL_NATIVE_BUFFER_ANDROID, clientBuffer,
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/display/ |
H A D | BrightnessUtilsTest.java | 17 package com.android.settingslib.display; 19 import static com.android.settingslib.display.BrightnessUtils.GAMMA_SPACE_MAX;
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
H A D | DumpCommand.java | 21 import android.hardware.display.DisplayManagerGlobal; 94 Display display = 96 int rotation = display.getRotation(); 98 display.getSize(size);
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManagerInternal.java | 19 import android.hardware.display.DisplayViewport; 33 * Called by the display manager to set information about the displays as needed
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplayWindowController.java | 29 * Controller for the display container. This is created by activity manager to link activity 30 * displays to the display content they use in window manager. 37 public DisplayWindowController(Display display, WindowContainerListener listener) { argument 39 mDisplayId = display.getDisplayId(); 44 mRoot.createDisplayContent(display, this /* controller */); 50 throw new IllegalArgumentException("Trying to add display=" + display 85 "positionTaskStackAt: could not find display=" + mContainer);
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | AttachInfo_Accessor.java | 33 Display display = wm.getDefaultDisplay(); 34 ViewRootImpl root = new ViewRootImpl(context, display); 36 ReflectionUtils.createProxy(IWindow.class), display, root, new Handler(), null, 40 info.mInTouchMode = false; // this is so that we can display selections.
|
/frameworks/support/compat/src/main/java/androidx/core/view/ |
H A D | GravityCompat.java | 106 * Apply additional gravity behavior based on the overall "display" that an 109 * within a visible display. By default this moves or clips the object 110 * to be visible in the display; the gravity flags 115 * display. 116 * @param display The rectangle of the display in which the object is 119 * modified if needed to fit in the display. 125 public static void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) { argument 127 Gravity.applyDisplay(gravity, display, inoutObj, layoutDirection); 129 Gravity.applyDisplay(gravity, display, inoutOb [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 48 // initialize EGL for the default display 49 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); local 50 if (!eglInitialize(display, nullptr, nullptr)) { 55 extensions.initWithEGLStrings(eglQueryStringImplementationANDROID(display, EGL_VERSION), 56 eglQueryStringImplementationANDROID(display, EGL_EXTENSIONS)); 62 config = chooseEglConfig(display, hwcFormat, /*logConfig*/ true); 68 } else if (!eglGetConfigAttrib(display, config, EGL_RENDERABLE_TYPE, &renderableType)) { 91 EGLContext ctxt = eglCreateContext(display, config, nullptr, contextAttributes.data()); 101 dummyConfig = chooseEglConfig(display, hwcFormat, /*logConfig*/ true); 104 EGLSurface dummy = eglCreatePbufferSurface(display, dummyConfi 164 setEGLHandles(EGLDisplay display, EGLConfig config, EGLContext ctxt) argument 518 selectEGLConfig(EGLDisplay display, EGLint format, EGLint renderableType, EGLConfig* config) argument 554 chooseEglConfig(EGLDisplay display, int format, bool logConfig) argument [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 53 eglDestroySurface(display(), it->second.first); 66 eglDestroyContext(display(), it->second); 73 // Destroy display 75 eglTerminate(display()); 89 eglMakeCurrent(display(), EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); 95 if (display() != eglGetCurrentDisplay() || 104 eglMakeCurrent(display(), surface(), surface(), context()); 112 const bool result = eglSwapBuffers(display(), surface()) == EGL_TRUE; 125 (display() != EGL_NO_DISPLAY) && 140 eglInitialize(display(), [all...] |