Home
last modified time | relevance | path

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

12345

/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/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;
271 for (WifiDisplay display : mWifiDisplayStatus.getDisplays()) { in update()
272 if (!display.isRemembered() && display.isAvailable() in update()
273 && !display.equals(mWifiDisplayStatus.getActiveDisplay())) { in update()
275 getActivity(), display)); in update()
292 WifiDisplay display = findWifiDisplay(route.getDeviceAddress()); in createRoutePreference() local
293 if (display != null) { in createRoutePreference()
294 return new WifiDisplayRoutePreference(getActivity(), route, display); in createRoutePreference()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DHierarchicalFolderSelectorAdapter.java60 final TextView display = (TextView) view.findViewById(R.id.folder_name); in getView() local
67 display.setText(displayText, TextView.BufferType.SPANNABLE); in getView()
91 final SpannableStringBuilder display = new SpannableStringBuilder(); in truncateHierarchy() local
114 display.append(mContext.getResources().getString(formatString, topParentName, in truncateHierarchy()
117 display.append(mContext.getResources().getString(R.string.hierarchical_folder_top, in truncateHierarchy()
122 if (display.length() > 0) { in truncateHierarchy()
123 display.setSpan(new ForegroundColorSpan(R.color.hierarchical_folder_parent_color), in truncateHierarchy()
124 0, display.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in truncateHierarchy()
126 display.append(folderName); in truncateHierarchy()
128 return display; in truncateHierarchy()
DFolderSelectorAdapter.java330 final TextView display = (TextView) view.findViewById(R.id.folder_name); in getView() local
331 if (display != null) { in getView()
332 display.setText(folderDisplay); in getView()
/packages/apps/Settings/src/com/android/settings/
DRadioInfo.java579 String display = r.getString(R.string.radioInfo_unknown); in updateServiceState() local
583 display = r.getString(R.string.radioInfo_service_in); in updateServiceState()
587 display = r.getString(R.string.radioInfo_service_emergency); in updateServiceState()
590 display = r.getString(R.string.radioInfo_service_off); in updateServiceState()
594 gsmState.setText(display); in updateServiceState()
609 String display = r.getString(R.string.radioInfo_unknown); in updatePhoneState() local
613 display = r.getString(R.string.radioInfo_phone_idle); in updatePhoneState()
616 display = r.getString(R.string.radioInfo_phone_ringing); in updatePhoneState()
619 display = r.getString(R.string.radioInfo_phone_offhook); in updatePhoneState()
623 callState.setText(display); in updatePhoneState()
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DSimStatus.java270 String display = mRes.getString(R.string.radioInfo_unknown); in updateDataState() local
274 display = mRes.getString(R.string.radioInfo_data_connected); in updateDataState()
277 display = mRes.getString(R.string.radioInfo_data_suspended); in updateDataState()
280 display = mRes.getString(R.string.radioInfo_data_connecting); in updateDataState()
283 display = mRes.getString(R.string.radioInfo_data_disconnected); in updateDataState()
287 setSummaryText(KEY_DATA_STATE, display); in updateDataState()
292 String display = mRes.getString(R.string.radioInfo_unknown); in updateServiceState() local
296 display = mRes.getString(R.string.radioInfo_service_in); in updateServiceState()
304 display = mRes.getString(R.string.radioInfo_service_out); in updateServiceState()
307 display = mRes.getString(R.string.radioInfo_service_off); in updateServiceState()
[all …]
/packages/apps/Gallery2/jni/
Djni_egl_fence.cpp40 EGLDisplay display = eglGetCurrentDisplay(); in IsEglKHRFenceSyncSupported() local
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/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java83 CharSequence display = ""; in getDisplayLabel() local
106 return display; in getDisplayLabel()
112 display = labels[type - 1]; in getDisplayLabel()
114 display = labels[defaultType - 1]; in getDisplayLabel()
118 display = label; in getDisplayLabel()
121 return display; in getDisplayLabel()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1161 Rect display = mViewport; in draw() local
1162 canvas.translate(display.left, display.top); in draw()
1166 canvas.translate(display.top - sTmpIntPoint[1], 0); in draw()
1167 mEdgeGlowLeft.setSize(sTmpIntPoint[1] - sTmpIntPoint[0], display.width()); in draw()
1175 Rect display = mViewport; in draw() local
1176 … canvas.translate(display.left + mPageScrolls[mIsRtl ? 0 : (getPageCount() - 1)], display.top); in draw()
1180 canvas.translate(sTmpIntPoint[0] - display.top, -display.width()); in draw()
1181 mEdgeGlowRight.setSize(sTmpIntPoint[1] - sTmpIntPoint[0], display.width()); in draw()
DInvariantDeviceProfile.java122 Display display = wm.getDefaultDisplay(); in InvariantDeviceProfile() local
124 display.getMetrics(dm); in InvariantDeviceProfile()
128 display.getCurrentSizeRange(smallestSize, largestSize); in InvariantDeviceProfile()
160 display.getRealSize(realSize); in InvariantDeviceProfile()
DBubbleTextView.java124 int display = a.getInteger(R.styleable.BubbleTextView_iconDisplay, DISPLAY_WORKSPACE); in BubbleTextView() local
126 if (display == DISPLAY_WORKSPACE) { in BubbleTextView()
128 } else if (display == DISPLAY_ALL_APPS) { in BubbleTextView()
/packages/apps/ExactCalculator/tests/
DREADME.txt26 We currently have no automatic tests for display formatting corner cases.
30 decimal expansions, it also worth confirming that the "display with leading
31 digits" display shows an exact value when scrolled all the way to the right.
47 1/-56x10^18 (on a Nexus 7 sized portrait display)
/packages/apps/InCallUI/src/com/android/incallui/
DProximitySensor.java21 import android.hardware.display.DisplayManager;
22 import android.hardware.display.DisplayManager.DisplayListener;
301 final Display display = mDisplayManager.getDisplay(displayId); in onDisplayChanged() local
303 final boolean isDisplayOn = display.getState() != Display.STATE_OFF; in onDisplayChanged()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetConfigure.java55 DisplayMetrics display = getResources().getDisplayMetrics(); in onCreate() local
56 int maxDimension = Math.max(display.heightPixels, display.widthPixels); in onCreate()
/packages/apps/Camera2/res/raw/
Dgoofy_face.graph80 @filter SurfaceTextureTarget display {
120 // goofy -> display out
121 @connect goofyrenderer[outimage] => display[frame];
Dbackdropper.graph68 @filter SurfaceTextureTarget display {
89 @connect replacer[video] => display[frame];
/packages/apps/Camera/res/raw/
Dgoofy_face.graph80 @filter SurfaceTextureTarget display {
120 // goofy -> display out
121 @connect goofyrenderer[outimage] => display[frame];
/packages/apps/Gallery2/res/raw/
Dgoofy_face.graph80 @filter SurfaceTextureTarget display {
120 // goofy -> display out
121 @connect goofyrenderer[outimage] => display[frame];
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/
DCalculatorHitSomeButtons.java170 CalculatorResult display = (CalculatorResult) mActivity.findViewById(R.id.result); in displayVal() local
171 assertNotNull(display); in displayVal()
173 TextView box = (TextView) display; in displayVal()
/packages/apps/LegacyCamera/res/raw/
Dgoofy_face.graph80 @filter SurfaceTargetFilter display {
117 // goofy -> display out
118 @connect goofyrenderer[outimage] => display[frame];
/packages/apps/Camera2/src/com/android/camera/
DSurfaceTextureRenderer.java190 private static EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig() argument
192 if (!egl.eglChooseConfig(display, CONFIG_SPEC, null, 0, numConfig)) { in chooseConfig()
203 display, CONFIG_SPEC, configs, numConfigs, numConfig)) { in chooseConfig()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/widi/
DWifiDisplayActivity.java17 package com.android.tv.settings.device.display.widi;
20 import android.hardware.display.DisplayManager;
21 import android.hardware.display.WifiDisplayStatus;
/packages/apps/Camera/src/com/android/camera/
DMosaicPreviewRenderer.java245 private static EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { in chooseConfig() argument
247 if (!egl.eglChooseConfig(display, CONFIG_SPEC, null, 0, numConfig)) { in chooseConfig()
258 display, CONFIG_SPEC, configs, numConfigs, numConfig)) { in chooseConfig()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java389 Display display = currentActivity.getWindowManager().getDefaultDisplay(); in getOptimalPreviewSize() local
390 int targetHeight = Math.min(display.getHeight(), display.getWidth()); in getOptimalPreviewSize()
394 targetHeight = display.getHeight(); in getOptimalPreviewSize()
/packages/apps/UnifiedEmail/assets/
Dscript.js94 var isHidden = getComputedStyle(elidedTextElement).display == 'none';
96 elidedTextElement.style.display = isHidden ? 'block' : 'none';
120 elidedElement.style.display = 'none';
704 collapsibleDivs[i].style.display = visibility;

12345