/frameworks/base/core/java/android/view/ |
H A D | Display.aidl | 19 parcelable Display.Mode;
|
H A D | DisplayInfo.java | 41 * Display flags. 46 * Display type. 51 * Display address, or null if none. 170 public Display.Mode[] supportedModes = Display.Mode.EMPTY_ARRAY; 179 public Display.ColorTransform[] supportedColorTransforms = Display.ColorTransform.EMPTY_ARRAY; 182 public Display.HdrCapabilities hdrCapabilities; 223 * The state of the display, such as {@link android.view.Display#STATE_ON}. 372 supportedModes = new Display [all...] |
/frameworks/support/v4/java/android/support/v4/hardware/display/ |
H A D | DisplayManagerCompat.java | 20 import android.view.Display; 34 * Display category: Presentation displays. 78 public abstract Display getDisplay(int displayId); 85 public abstract Display[] getDisplays(); 103 public abstract Display[] getDisplays(String category); 113 public Display getDisplay(int displayId) { 114 Display display = mWindowManager.getDefaultDisplay(); 122 public Display[] getDisplays() { 123 return new Display[] { mWindowManager.getDefaultDisplay() }; 127 public Display[] getDisplay [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | Display_Delegate.java | 23 * Delegate used to provide new implementation of a select few methods of {@link Display} 25 * Through the layoutlib_create tool, the original methods of Display have been replaced 32 static void updateDisplayInfoLocked(Display theDisplay) {
|
/frameworks/support/v4/jellybean-mr1/android/support/v4/hardware/display/ |
H A D | DisplayManagerJellybeanMr1.java | 20 import android.view.Display; 27 public static Display getDisplay(Object displayManagerObj, int displayId) { 31 public static Display[] getDisplays(Object displayManagerObj) { 35 public static Display[] getDisplays(Object displayManagerObj, String category) {
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | VirtualDisplay.java | 18 import android.view.Display; 36 private final Display mDisplay; 40 VirtualDisplay(DisplayManagerGlobal global, Display display, 51 public Display getDisplay() {
|
H A D | DisplayManager.java | 25 import android.view.Display; 47 private final SparseArray<Display> mDisplays = new SparseArray<Display>(); 49 private final ArrayList<Display> mTempDisplays = new ArrayList<Display>(); 72 * Display category: Presentation displays. 81 * @see Display#FLAG_PRESENTATION 107 * {@link Display#FLAG_PRIVATE} display flag. 148 * @see Display#FLAG_PRESENTATION 158 * by the {@link Display#FLAG_SECUR [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | RecentsComponent.java | 20 import android.view.Display; 26 void toggleRecents(Display display);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
H A D | WindowManagerImpl.java | 19 import android.view.Display; 28 private final Display mDisplay; 36 mDisplay = new Display(null, Display.DEFAULT_DISPLAY, info, 41 public Display getDefaultDisplay() {
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayAdapter.java | 21 import android.view.Display; 33 * Display adapters are guarded by the {@link DisplayManagerService.SyncRoot} lock. 139 public static Display.Mode createMode(int width, int height, float refreshRate) { 140 return new Display.Mode( 144 public static Display.ColorTransform createColorTransform(int colorTransform) { 145 return new Display.ColorTransform(
|
H A D | LocalDisplayAdapter.java | 34 import android.view.Display; 46 * Display adapters are guarded by the {@link DisplayManagerService.SyncRoot} lock. 105 // Display was added. 111 // Display properties changed. 124 // Display was removed. 132 case Display.STATE_OFF: 134 case Display.STATE_DOZE: 136 case Display.STATE_DOZE_SUSPEND: 147 private final SparseArray<Display.ColorTransform> mSupportedColorTransforms = 152 private int mState = Display [all...] |
H A D | DisplayPowerState.java | 27 import android.view.Display; 85 mScreenState = Display.STATE_ON; 154 if (mScreenState != Display.STATE_OFF) { 225 if (mScreenState != Display.STATE_OFF) { 261 pw.println("Display Power State:"); 262 pw.println(" mScreenState=" + Display.stateToString(mScreenState)); 308 int brightness = mScreenState != Display.STATE_OFF 342 private static final int INITIAL_SCREEN_STATE = Display.STATE_OFF; // unknown, assume off 365 + Display.stateToString(state) + ", backlight=" + backlight); 387 pw.println(" mPendingState=" + Display [all...] |
H A D | DisplayPowerController.java | 44 import android.view.Display; 458 new ColorFade(Display.DEFAULT_DISPLAY)); 549 state = Display.STATE_OFF; 553 if (mPowerRequest.dozeScreenState != Display.STATE_UNKNOWN) { 556 state = Display.STATE_DOZE; 565 state = Display.STATE_ON; 568 assert(state != Display.STATE_UNKNOWN); 572 if (mPowerRequest.useProximitySensor && state != Display.STATE_OFF) { 582 && state != Display.STATE_OFF) { 597 state = Display [all...] |
H A D | DisplayDeviceInfo.java | 21 import android.view.Display; 96 * Touch attachment: Display does not receive touch. 156 public Display.Mode[] supportedModes = Display.Mode.EMPTY_ARRAY; 165 public Display.ColorTransform[] supportedColorTransforms = Display.ColorTransform.EMPTY_ARRAY; 170 public Display.HdrCapabilities hdrCapabilities; 207 * Display flags. 228 * Display type. 233 * Display addres [all...] |
/frameworks/base/cmds/wm/src/com/android/commands/wm/ |
H A D | Wm.java | 28 import android.view.Display; 133 mWm.getInitialDisplaySize(Display.DEFAULT_DISPLAY, initialSize); 134 mWm.getBaseDisplaySize(Display.DEFAULT_DISPLAY, baseSize); 164 mWm.setForcedDisplaySize(Display.DEFAULT_DISPLAY, w, h); 166 mWm.clearForcedDisplaySize(Display.DEFAULT_DISPLAY); 177 int initialDensity = mWm.getInitialDisplayDensity(Display.DEFAULT_DISPLAY); 178 int baseDensity = mWm.getBaseDisplayDensity(Display.DEFAULT_DISPLAY); 204 mWm.setForcedDisplayDensity(Display.DEFAULT_DISPLAY, density); 206 mWm.clearForcedDisplayDensity(Display.DEFAULT_DISPLAY); 232 mWm.setOverscan(Display [all...] |
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
H A D | VirtualDisplayTest.java | 36 import android.view.Display; 117 Display display = virtualDisplay.getDisplay(); 119 assertDisplayRegistered(display, Display.FLAG_PRIVATE); 141 Display display = virtualDisplay.getDisplay(); 143 assertDisplayRegistered(display, Display.FLAG_PRIVATE | Display.FLAG_PRESENTATION); 170 Display display = virtualDisplay.getDisplay(); 172 assertDisplayRegistered(display, Display.FLAG_PRESENTATION); 177 Display defaultDisplay = mDisplayManager.getDisplay(Display [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWC2.h | 48 class Display; 51 typedef std::function<void(std::shared_ptr<Display>, Connection)> 53 typedef std::function<void(std::shared_ptr<Display>)> RefreshCallback; 54 typedef std::function<void(std::shared_ptr<Display>, nsecs_t)> VsyncCallback; 62 friend class HWC2::Display; 76 std::shared_ptr<Display>* outDisplay); 84 void callHotplug(std::shared_ptr<Display> display, Connection connected); 85 void callRefresh(std::shared_ptr<Display> display); 86 void callVsync(std::shared_ptr<Display> display, nsecs_t timestamp); 90 // This will create a Display i 195 class Display : public std::enable_shared_from_this<Display> class in namespace:HWC2 [all...] |
H A D | HWC2On1Adapter.cpp | 197 // Display functions 200 displayHook<decltype(&Display::acceptChanges), 201 &Display::acceptChanges>); 204 displayHook<decltype(&Display::createLayer), 205 &Display::createLayer, hwc2_layer_t*>); 208 displayHook<decltype(&Display::destroyLayer), 209 &Display::destroyLayer, hwc2_layer_t>); 212 displayHook<decltype(&Display::getActiveConfig), 213 &Display::getActiveConfig, hwc2_config_t*>); 216 displayHook<decltype(&Display 552 HWC2On1Adapter::Display::Display(HWC2On1Adapter& device, HWC2::DisplayType type) function in class:android::HWC2On1Adapter::Display [all...] |
H A D | HWC2.cpp | 195 android_pixel_format_t* format, std::shared_ptr<Display>* outDisplay) 248 void Device::callHotplug(std::shared_ptr<Display> display, Connection connected) 268 void Device::callRefresh(std::shared_ptr<Display> display) 278 void Device::callVsync(std::shared_ptr<Display> display, nsecs_t timestamp) 290 std::shared_ptr<Display> Device::getDisplayById(hwc2_display_t id) { 295 auto display = std::make_shared<Display>(*this, id); 324 // Display function pointers 424 // For use by Display 435 // Display methods 437 Display function in class:HWC2::Display [all...] |
H A D | HWComposer.h | 51 class Display; 155 std::vector<std::shared_ptr<const HWC2::Display::Config>> 158 std::shared_ptr<const HWC2::Display::Config> 174 void invalidate(const std::shared_ptr<HWC2::Display>& display); 175 void vsync(const std::shared_ptr<HWC2::Display>& display, 177 void hotplug(const std::shared_ptr<HWC2::Display>& display, 187 std::shared_ptr<HWC2::Display> hwcDisplay; 195 std::shared_ptr<const HWC2::Display::Config>> configMap;
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/ |
H A D | InstrumentationUiAutomatorBridge.java | 23 import android.view.Display; 39 public Display getDefaultDisplay() {
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
H A D | ResourcesManagerTest.java | 25 import android.view.Display; 72 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, 77 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, 86 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, 93 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, overrideConfig, 102 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, 108 Display.DEFAULT_DISPLAY, null, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null); 118 null, APP_ONE_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, 123 null, APP_TWO_RES_DIR, null, null, null, Display.DEFAULT_DISPLAY, null, 131 activity, APP_ONE_RES_DIR, null, null, null, Display [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Presentation.java | 24 import android.view.Display; 38 * the target {@link Display} at creation time and configures its context and 55 * Before showing a {@link Presentation} it's important to choose the {@link Display} 61 * There are two main ways to choose a {@link Display}. 86 * Display presentationDisplay = route.getPresentationDisplay(); 118 * Display[] presentationDisplays = displayManager.getDisplays(DisplayManager.DISPLAY_CATEGORY_PRESENTATION); 123 * Display display = presentationDisplays[0]; 146 private final Display mDisplay; 158 public Presentation(Context outerContext, Display display) { 176 public Presentation(Context outerContext, Display displa [all...] |
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
H A D | DumpCommand.java | 23 import android.view.Display; 94 Display display = 95 DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY);
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
H A D | DemoPresentation.java | 27 import android.view.Display; 47 public DemoPresentation(Context context, Display display, Logger logger) {
|