Home
last modified time | relevance | path

Searched refs:display (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicRendererSurfaceView.java102 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() argument
107 display, eglConfig, EGL10.EGL_NO_CONTEXT, attribList); in createContext()
112 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { in destroyContext() argument
113 egl.eglDestroyContext(display, context); in destroyContext()
149 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig() argument
154 egl.eglChooseConfig(display, CONFIG_ATTRIBUTES, null, 0, numConfig); in chooseConfig()
165 egl.eglChooseConfig(display, CONFIG_ATTRIBUTES, configs, numConfigs, numConfig); in chooseConfig()
168 printConfigs(egl, display, configs); in chooseConfig()
172 return chooseConfig(egl, display, configs); in chooseConfig()
175 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, in chooseConfig() argument
[all …]
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
DPresentTestFragment.java26 import android.hardware.display.DisplayManager;
144 final Display display = (Display) v.getTag(); in setupListeners()
148 R.string.presentation_alert_info_text, display.getDisplayId())) in setupListeners()
149 .setMessage(display.toString()) in setupListeners()
165 final Display display = (Display) buttonView.getTag(); in setupListeners()
169 showPresentation(display, contents); in setupListeners()
171 hidePresentation(display); in setupListeners()
205 private void showPresentation(Display display, DemoPresentationContents contents) { in showPresentation() argument
206 final int displayId = display.getDisplayId(); in showPresentation()
215 DemoPresentation presentation = new DemoPresentation(getContext(), display, contents); in showPresentation()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DScreenSizeCalculator.java60 public Point getScreenSize(Display display) { in getScreenSize() argument
63 return getPortraitScreenSize(display); in getScreenSize()
65 return getLandscapeScreenSize(display); in getScreenSize()
69 return getPortraitScreenSize(display); in getScreenSize()
73 private Point getPortraitScreenSize(Display display) { in getPortraitScreenSize() argument
77 writeDisplaySizeToPoint(display, mPortraitScreenSize); in getPortraitScreenSize()
81 private Point getLandscapeScreenSize(Display display) { in getLandscapeScreenSize() argument
85 writeDisplaySizeToPoint(display, mLandscapeScreenSize); in getLandscapeScreenSize()
92 private void writeDisplaySizeToPoint(Display display, Point outPoint) { in writeDisplaySizeToPoint() argument
94 display.getRealSize(outPoint); in writeDisplaySizeToPoint()
[all …]
DDisplayMetricsRetriever.java56 public DisplayMetrics getDisplayMetrics(Resources resources, Display display) { in getDisplayMetrics() argument
59 return getPortraitDisplayMetrics(display); in getDisplayMetrics()
61 return getLandscapeDisplayMetrics(display); in getDisplayMetrics()
64 return getPortraitDisplayMetrics(display); in getDisplayMetrics()
68 private DisplayMetrics getPortraitDisplayMetrics(Display display) { in getPortraitDisplayMetrics() argument
71 writeDisplayMetrics(display, mPortraitDisplayMetrics); in getPortraitDisplayMetrics()
76 private DisplayMetrics getLandscapeDisplayMetrics(Display display) { in getLandscapeDisplayMetrics() argument
79 writeDisplayMetrics(display, mLandscapeDisplayMetrics); in getLandscapeDisplayMetrics()
84 private void writeDisplayMetrics(Display display, DisplayMetrics outMetrics) { in writeDisplayMetrics() argument
85 display.getMetrics(outMetrics); in writeDisplayMetrics()
DTileSizeCalculator.java96 Display display = windowManager.getDefaultDisplay(); in getNumColumns() local
99 .getDisplayMetrics(context.getResources(), display); in getNumColumns()
155 Display display = windowManager.getDefaultDisplay(); in getTileSize() local
156 Point screenSizePx = ScreenSizeCalculator.getInstance().getScreenSize(display); in getTileSize()
187 Display display = activity.getWindowManager().getDefaultDisplay(); in getActivityWindowWidthPx() local
190 display.getSize(outPoint); in getActivityWindowWidthPx()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterDisplayProvider.java21 import android.hardware.display.DisplayManager;
22 import android.hardware.display.DisplayManager.DisplayListener;
89 Display display = mDisplayManager.getDisplay(displayId); in trackClusterDisplay()
90 if (display != null && TextUtils.equals(display.getName(), displayName)) { in trackClusterDisplay()
135 for (Display display : displays) { in getInstrumentClusterDisplay()
136 if (display.getDisplayId() != Display.DEFAULT_DISPLAY in getInstrumentClusterDisplay()
137 && display.getOwnerPackageName() == null in getInstrumentClusterDisplay()
138 && display.getAddress() != null in getInstrumentClusterDisplay()
139 && display.getAddress() instanceof DisplayAddress.Physical) { in getInstrumentClusterDisplay()
140 final byte port = ((DisplayAddress.Physical) display.getAddress()).getPort(); in getInstrumentClusterDisplay()
[all …]
DNetworkedVirtualDisplay.java21 import android.hardware.display.DisplayManager;
22 import android.hardware.display.DisplayManager.DisplayListener;
23 import android.hardware.display.VirtualDisplay;
102 final Display display = mDisplayManager.getDisplay(i); in NetworkedVirtualDisplay()
103 if (display != null && getDisplayName().equals(display.getName())) { in NetworkedVirtualDisplay()
104 onVirtualDisplayReady(display); in NetworkedVirtualDisplay()
163 private void onVirtualDisplayReady(Display display) { in onVirtualDisplayReady() argument
164 Log.i(TAG, "onVirtualDisplayReady, display: " + display); in onVirtualDisplayReady()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wfd/
DWifiDisplaySettings.java27 import android.hardware.display.DisplayManager;
28 import android.hardware.display.WifiDisplay;
29 import android.hardware.display.WifiDisplayStatus;
287 for (WifiDisplay display : mWifiDisplayStatus.getDisplays()) { in update()
288 if (!display.isRemembered() && display.isAvailable() in update()
289 && !display.equals(mWifiDisplayStatus.getActiveDisplay())) { in update()
291 getPrefContext(), display)); in update()
308 WifiDisplay display = findWifiDisplay(route.getDeviceAddress()); in createRoutePreference() local
309 if (display != null) { in createRoutePreference()
310 return new WifiDisplayRoutePreference(getPrefContext(), route, display); in createRoutePreference()
[all …]
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java27 import android.hardware.display.DisplayManager;
28 import android.hardware.display.WifiDisplay;
29 import android.hardware.display.WifiDisplayStatus;
288 for (WifiDisplay display : mWifiDisplayStatus.getDisplays()) { in update()
289 if (!display.isRemembered() && display.isAvailable() in update()
290 && !display.equals(mWifiDisplayStatus.getActiveDisplay())) { in update()
292 getPrefContext(), display)); in update()
309 WifiDisplay display = findWifiDisplay(route.getDeviceAddress()); in createRoutePreference() local
310 if (display != null) { in createRoutePreference()
311 return new WifiDisplayRoutePreference(getPrefContext(), route, display); in createRoutePreference()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DDisplaySettings.java24 import com.android.car.developeroptions.display.BrightnessLevelPreferenceController;
25 import com.android.car.developeroptions.display.CameraGesturePreferenceController;
26 import com.android.car.developeroptions.display.LiftToWakePreferenceController;
27 import com.android.car.developeroptions.display.NightDisplayPreferenceController;
28 import com.android.car.developeroptions.display.NightModePreferenceController;
29 import com.android.car.developeroptions.display.ScreenSaverPreferenceController;
30 import com.android.car.developeroptions.display.ShowOperatorNamePreferenceController;
31 import com.android.car.developeroptions.display.TapToWakePreferenceController;
32 import com.android.car.developeroptions.display.ThemePreferenceController;
33 import com.android.car.developeroptions.display.TimeoutPreferenceController;
[all …]
DRadioInfo.java910 String display = r.getString(R.string.radioInfo_unknown); in updateServiceState() local
914 display = r.getString(R.string.radioInfo_service_in); in updateServiceState()
918 display = r.getString(R.string.radioInfo_service_emergency); in updateServiceState()
921 display = r.getString(R.string.radioInfo_service_off); in updateServiceState()
925 gsmState.setText(display); in updateServiceState()
939 String display = r.getString(R.string.radioInfo_unknown); in updatePhoneState() local
943 display = r.getString(R.string.radioInfo_phone_idle); in updatePhoneState()
946 display = r.getString(R.string.radioInfo_phone_ringing); in updatePhoneState()
949 display = r.getString(R.string.radioInfo_phone_offhook); in updatePhoneState()
953 callState.setText(display); in updatePhoneState()
[all …]
/packages/apps/Settings/src/com/android/settings/
DDisplaySettings.java25 import com.android.settings.display.BrightnessLevelPreferenceController;
26 import com.android.settings.display.CameraGesturePreferenceController;
27 import com.android.settings.display.LiftToWakePreferenceController;
28 import com.android.settings.display.NightDisplayPreferenceController;
29 import com.android.settings.display.NightModePreferenceController;
30 import com.android.settings.display.ScreenSaverPreferenceController;
31 import com.android.settings.display.ShowOperatorNamePreferenceController;
32 import com.android.settings.display.TapToWakePreferenceController;
33 import com.android.settings.display.ThemePreferenceController;
34 import com.android.settings.display.TimeoutPreferenceController;
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDefaultDisplay.java22 import android.hardware.display.DisplayManager;
23 import android.hardware.display.DisplayManager.DisplayListener;
131 Display display = context.getSystemService(WindowManager.class).getDefaultDisplay(); in Info() local
133 id = display.getDisplayId(); in Info()
134 rotation = display.getRotation(); in Info()
136 float refreshRate = display.getRefreshRate(); in Info()
142 display.getRealSize(realSize); in Info()
143 display.getCurrentSizeRange(smallestSize, largestSize); in Info()
146 display.getMetrics(metrics); in Info()
DConfigMonitor.java60 DefaultDisplay display = DefaultDisplay.INSTANCE.get(context); in ConfigMonitor() local
61 display.addChangeListener(this); in ConfigMonitor()
62 DefaultDisplay.Info displayInfo = display.getInfo(); in ConfigMonitor()
116 DefaultDisplay display = DefaultDisplay.INSTANCE.get(mContext); in unregister() local
117 display.removeChangeListener(this); in unregister()
/packages/services/Car/evs/app/
DRenderBase.cpp63 EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY); in prepareGL() local
64 if (display == EGL_NO_DISPLAY) { in prepareGL()
71 if (!eglInitialize(display, &major, &minor)) { in prepareGL()
82 if (!eglChooseConfig(display, config_attribs, &egl_config, 1, &num_configs)) { in prepareGL()
91 sDummySurface = eglCreatePbufferSurface(display, egl_config, surface_attribs); in prepareGL()
103 EGLContext context = eglCreateContext(display, egl_config, EGL_NO_CONTEXT, context_attribs); in prepareGL()
111 if (!eglMakeCurrent(display, sDummySurface, sDummySurface, context)) { in prepareGL()
134 sDisplay = display; in prepareGL()
/packages/services/Car/service/src/com/android/car/systeminterface/
DDisplayInterface.java19 import static com.android.settingslib.display.BrightnessUtils.GAMMA_SPACE_MAX;
20 import static com.android.settingslib.display.BrightnessUtils.convertGammaToLinear;
21 import static com.android.settingslib.display.BrightnessUtils.convertLinearToGamma;
29 import android.hardware.display.DisplayManager;
30 import android.hardware.display.DisplayManager.DisplayListener;
251 for (Display display : displays) { in reconfigureSecondaryDisplays()
252 if (display.getDisplayId() == Display.DEFAULT_DISPLAY) { // skip main in reconfigureSecondaryDisplays()
256 if (display.getAddress() instanceof DisplayAddress.Physical) { in reconfigureSecondaryDisplays()
257 int displayId = display.getDisplayId(); in reconfigureSecondaryDisplays()
/packages/apps/Gallery2/jni/
Djni_egl_fence.cpp40 EGLDisplay display = eglGetCurrentDisplay(); in IsEglKHRFenceSyncSupported() local
41 const char* eglExtensions = eglQueryString(display, EGL_EXTENSIONS); in IsEglKHRFenceSyncSupported()
60 EGLDisplay display = eglGetCurrentDisplay(); in Java_com_android_gallery3d_photoeditor_FilterStack_nativeEglSetFenceAndWait() local
65 EGLSyncKHR fence = FuncEglCreateSyncKHR(display, EGL_SYNC_FENCE_KHR, NULL); in Java_com_android_gallery3d_photoeditor_FilterStack_nativeEglSetFenceAndWait()
70 EGLint result = FuncEglClientWaitSyncKHR(display, in Java_com_android_gallery3d_photoeditor_FilterStack_nativeEglSetFenceAndWait()
77 FuncEglDestroySyncKHR(display, fence); in Java_com_android_gallery3d_photoeditor_FilterStack_nativeEglSetFenceAndWait()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java45 import android.hardware.display.DisplayManager;
884 for (Display display : mDisplayManager.getDisplays()) { in initPhysicalPort()
885 if (display.getType() == Display.TYPE_VIRTUAL) { in initPhysicalPort()
889 if (display.getDisplayId() == Display.DEFAULT_DISPLAY && display.getAddress() == null) { in initPhysicalPort()
896 } else if (display.getAddress() instanceof DisplayAddress.Physical) { in initPhysicalPort()
897 byte port = ((DisplayAddress.Physical) display.getAddress()).getPort(); in initPhysicalPort()
900 "Display %d uses port %d", display.getDisplayId(), port)); in initPhysicalPort()
905 + display); in initPhysicalPort()
977 Display display = mDisplayManager.getDisplay(displayId); in getPhysicalPort() local
978 if (display == null) { in getPhysicalPort()
[all …]
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/
DSystemProximityWakeLock.java20 import android.hardware.display.DisplayManager;
21 import android.hardware.display.DisplayManager.DisplayListener;
86 Display display = in isDefaultDisplayOn() local
88 return display.getState() != Display.STATE_OFF; in isDefaultDisplayOn()
/packages/services/Car/service/src/com/android/car/hal/
DInputHalService.java142 int display = v.value.int32Values.get(2); in handleHalEvents() local
148 .append(", display: ").append(display) in handleHalEvents()
154 dispatchKeyEvent(listener, action, code, display); in handleHalEvents()
159 private void dispatchKeyEvent(InputListener listener, int action, int code, int display) {
202 listener.onKeyEvent(event, display);
/packages/apps/Car/Settings/src/com/android/car/settings/display/
DBrightnessLevelPreferenceController.java17 package com.android.car.settings.display;
19 import static com.android.settingslib.display.BrightnessUtils.GAMMA_SPACE_MAX;
20 import static com.android.settingslib.display.BrightnessUtils.convertGammaToLinear;
21 import static com.android.settingslib.display.BrightnessUtils.convertLinearToGamma;
/packages/apps/Dialer/java/com/android/dialer/calllog/database/contract/
Dnumber_attributes.proto30 // name display preferences change, this field should be rewritten.
33 // A photo URI for the contact to display in the call log list view.
36 // A photo ID (from the contacts provider) for the contact to display in the
58 // display time.
74 // This string is for display purpose only.
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayPreference.java15 package com.android.settings.display;
18 import android.hardware.display.ColorDisplayManager;
19 import android.hardware.display.NightDisplayListener;
/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/
DScopedPreferences.java37 void setShowDeviceRoot(boolean display); in setShowDeviceRoot() argument
70 public void setShowDeviceRoot(boolean display) { in setShowDeviceRoot() argument
71 mSharedPrefs.edit().putBoolean(INCLUDE_DEVICE_ROOT, display).apply(); in setShowDeviceRoot()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DNightDisplayPreference.java15 package com.android.car.developeroptions.display;
18 import android.hardware.display.ColorDisplayManager;
19 import android.hardware.display.NightDisplayListener;

12345678910>>...14