Searched refs:display (Results 1 - 24 of 24) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGalleryEGLConfigChooser.java47 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { argument
49 if (!egl.eglChooseConfig(display, mConfigSpec, null, 0, numConfig)) {
58 if (!egl.eglChooseConfig(display,
63 return chooseConfig(egl, display, configs);
67 EGL10 egl, EGLDisplay display, EGLConfig configs[]) {
78 display, configs[i], EGL10.EGL_RED_SIZE, value)) {
83 display, configs[i], EGL10.EGL_STENCIL_SIZE, value)) {
96 display, result, EGL10.EGL_STENCIL_SIZE, value);
98 logConfig(egl, display, result);
117 private void logConfig(EGL10 egl, EGLDisplay display, EGLConfi argument
66 chooseConfig( EGL10 egl, EGLDisplay display, EGLConfig configs[]) argument
[all...]
/packages/apps/Camera/src/com/android/camera/panorama/
H A DMosaicRendererSurfaceView.java102 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { argument
107 display, eglConfig, EGL10.EGL_NO_CONTEXT, attribList);
112 public void destroyContext(EGL10 egl, EGLDisplay display, EGLContext context) { argument
113 egl.eglDestroyContext(display, context);
149 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) { argument
154 egl.eglChooseConfig(display, CONFIG_ATTRIBUTES, null, 0, numConfig);
165 egl.eglChooseConfig(display, CONFIG_ATTRIBUTES, configs, numConfigs, numConfig);
168 printConfigs(egl, display, configs);
172 return chooseConfig(egl, display, configs);
175 public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display, argument
203 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
212 printConfigs(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
222 printConfig(EGL10 egl, EGLDisplay display, EGLConfig config) argument
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DPhotoAppWidgetConfigure.java55 DisplayMetrics display = getResources().getDisplayMetrics();
56 int maxDimension = Math.max(display.heightPixels, display.widthPixels);
/packages/apps/Calculator/tests/src/com/android/calculator2/
H A DCalculatorHitSomeButtons.java131 CalculatorDisplay display = (CalculatorDisplay) mActivity.findViewById(R.id.display);
132 assertNotNull(display);
134 EditText box = (EditText) display.getCurrentView();
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DWallpaper.java81 Display display = getWindowManager().getDefaultDisplay();
82 float spotlightX = (float) display.getWidth() / width;
83 float spotlightY = (float) display.getHeight() / height;
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DStatus.java221 // device is not GSM/UMTS, do not display GSM/UMTS features
233 // device is not CDMA, do not display CDMA features
246 // If formattedNumber is null or empty, it'll display as "Unknown".
339 String display = mRes.getString(R.string.radioInfo_unknown);
343 display = mRes.getString(R.string.radioInfo_data_connected);
346 display = mRes.getString(R.string.radioInfo_data_suspended);
349 display = mRes.getString(R.string.radioInfo_data_connecting);
352 display = mRes.getString(R.string.radioInfo_data_disconnected);
356 setSummaryText(KEY_DATA_STATE, display);
361 String display
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DRadioInfo.java521 String display = r.getString(R.string.radioInfo_unknown);
525 display = r.getString(R.string.radioInfo_service_in);
529 display = r.getString(R.string.radioInfo_service_emergency);
532 display = r.getString(R.string.radioInfo_service_off);
536 gsmState.setText(display);
551 String display = r.getString(R.string.radioInfo_unknown);
555 display = r.getString(R.string.radioInfo_phone_idle);
558 display = r.getString(R.string.radioInfo_phone_ringing);
561 display = r.getString(R.string.radioInfo_phone_offhook);
565 callState.setText(display);
[all...]
H A DDisplay.java40 setContentView(R.layout.display);
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
H A DContactsUtils.java47 * Build the display title for the {@link Data#CONTENT_URI} entry in the
83 CharSequence display = "";
105 // Can't return display label for given mimetype.
106 return display;
112 display = labels[type - 1];
114 display = labels[defaultType - 1];
118 display = label;
121 return display;
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DPlayheadView.java70 final Display display = ((WindowManager)context.getSystemService(
73 display.getMetrics(metrics);
H A DTimelineHorizontalScrollView.java85 final Display display = ((Activity)context).getWindowManager().getDefaultDisplay();
86 mHalfParentWidth = display.getWidth() / 2;
H A DTransitionView.java126 final Display display = ((WindowManager) getContext().getSystemService(
129 display.getMetrics(metrics);
H A DAudioTrackView.java126 final Display display = ((WindowManager)context.getSystemService(
129 display.getMetrics(metrics);
H A DAudioTrackLinearLayout.java244 final Display display = ((Activity)context).getWindowManager().getDefaultDisplay();
245 mHalfParentWidth = display.getWidth() / 2;
H A DMediaItemView.java122 final Display display = ((WindowManager)context.getSystemService(
125 display.getMetrics(metrics);
361 // We are not able to display a bitmap with width or height > 2048.
521 * @return true if the visible area of this view is big enough to display
H A DOverlayLinearLayout.java326 final Display display = ((Activity)context).getWindowManager().getDefaultDisplay();
327 mHalfParentWidth = display.getWidth() / 2;
H A DMediaLinearLayout.java533 final Display display = ((Activity) context).getWindowManager().getDefaultDisplay();
534 mHalfParentWidth = display.getWidth() / 2;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/
H A DHints.java32 * Logic to determine when to display hints on usage to the user.
66 public Hints(Context context, SharedPreferences prefs, Display display) { argument
69 mDisplay = display;
/packages/apps/Calculator/src/com/android/calculator2/
H A DLogic.java64 Logic(Context context, History history, CalculatorDisplay display) { argument
67 mDisplay = display;
H A DCalculator.java96 mDisplay = (CalculatorDisplay) findViewById(R.id.display);
/packages/apps/Camera/src/com/android/camera/
H A DUtil.java389 Display display = currentActivity.getWindowManager().getDefaultDisplay();
390 int targetHeight = Math.min(display.getHeight(), display.getWidth());
394 targetHeight = display.getHeight();
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DUserDictionaryToolsList.java91 /** Maximum word count to display */
638 Display display = windowManager.getDefaultDisplay();
639 int system_width = display.getWidth();
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DVideoEditorActivity.java393 final Display display = getWindowManager().getDefaultDisplay();
394 mActivityWidth = display.getWidth();
447 // when we return to this activity, we will display this dialog again.
/packages/apps/Launcher2/src/com/android/launcher2/
H A DWorkspace.java414 Display display = mLauncher.getWindowManager().getDefaultDisplay();
415 mDisplayWidth = display.getWidth();
416 mDisplayHeight = display.getHeight();
2875 // We want the workspace to have the whole area of the display (it will find the correct

Completed in 333 milliseconds