Searched refs:dp (Results 1 - 14 of 14) sorted by relevance

/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp273 egl_display_ptr dp = get_display(dpy); local
274 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE);
276 EGLBoolean res = dp->initialize(major, minor);
289 egl_display_ptr dp = get_display(dpy); local
290 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE);
292 EGLBoolean res = dp->terminate();
307 const egl_display_ptr dp = validate_display(dpy); local
308 if (!dp) return EGL_FALSE;
320 dp->disp.dpy, configs, config_size, num_config);
332 const egl_display_ptr dp local
409 const egl_display_ptr dp = validate_display_connection(dpy, cnx); local
447 egl_display_ptr dp = validate_display_connection(dpy, cnx); local
554 egl_display_ptr dp = validate_display_connection(dpy, cnx); local
573 egl_display_ptr dp = validate_display_connection(dpy, cnx); local
590 const egl_display_ptr dp = validate_display(dpy); local
619 const egl_display_ptr dp = validate_display(dpy); local
635 const egl_display_ptr dp = validate_display(dpy); local
657 const egl_display_ptr dp = validate_display_connection(dpy, cnx); local
700 const egl_display_ptr dp = validate_display(dpy); local
721 egl_display_ptr dp = validate_display(dpy); local
820 const egl_display_ptr dp = validate_display(dpy); local
1084 const egl_display_ptr dp = validate_display(dpy); local
1177 const egl_display_ptr dp = validate_display(dpy); local
1192 const egl_display_ptr dp = validate_display(dpy); local
1212 const egl_display_ptr dp = validate_display(dpy); local
1237 const egl_display_ptr dp = validate_display(dpy); local
1257 const egl_display_ptr dp = validate_display(dpy); local
1277 const egl_display_ptr dp = validate_display(dpy); local
1296 const egl_display_ptr dp = validate_display(dpy); local
1391 const egl_display_ptr dp = validate_display_connection(dpy, cnx); local
1409 const egl_display_ptr dp = validate_display(dpy); local
1428 const egl_display_ptr dp = validate_display(dpy); local
1447 const egl_display_ptr dp = validate_display(dpy); local
1468 const egl_display_ptr dp = validate_display(dpy); local
1488 const egl_display_ptr dp = validate_display(dpy); local
1503 const egl_display_ptr dp = validate_display(dpy); local
1517 const egl_display_ptr dp = validate_display(dpy); local
1534 const egl_display_ptr dp = validate_display(dpy); local
1551 const egl_display_ptr dp = validate_display(dpy); local
1567 const egl_display_ptr dp = validate_display(dpy); local
1583 const egl_display_ptr dp = validate_display(dpy); local
1600 const egl_display_ptr dp = validate_display(dpy); local
1617 const egl_display_ptr dp = validate_display(dpy); local
1634 const egl_display_ptr dp = validate_display(dpy); local
1651 const egl_display_ptr dp = validate_display(dpy); local
1668 egl_display_ptr dp = validate_display(dpy); local
1689 const egl_display_ptr dp = validate_display(dpy); local
1706 const egl_display_ptr dp = validate_display(dpy); local
1723 const egl_display_ptr dp = validate_display(dpy); local
1740 const egl_display_ptr dp = validate_display(dpy); local
1757 const egl_display_ptr dp = validate_display(dpy); local
1775 const egl_display_ptr dp = validate_display(dpy); local
1793 const egl_display_ptr dp = validate_display(dpy); local
1809 const egl_display_ptr dp = validate_display(dpy); local
1873 const egl_display_ptr dp = validate_display(dpy); local
[all...]
H A Degl.cpp253 egl_display_ptr dp = get_display(dpy); local
254 if (!dp)
256 if (!dp->isReady())
259 return dp;
265 egl_display_ptr dp = validate_display(dpy); local
266 if (!dp)
267 return dp;
272 return dp;
/frameworks/base/libs/hwui/tests/
H A Dmain.cpp95 proxy->setup(width, height, dp(800.0f), 255 * 0.075, 255 * 0.15);
96 proxy->setLightCenter((Vector3){lightX, dp(-200.0f), dp(800.0f)});
134 for (int x = dp(16); x < (width - dp(116)); x += dp(116)) {
135 for (int y = dp(16); y < (height - dp(116)); y += dp(116)) {
136 sp<RenderNode> card = createCard(x, y, dp(10
[all...]
H A DTestContext.h33 #define dp(x) ((x) * android::uirenderer::test::gDisplay.density) macro
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java256 // dp/sp = (px/sp) / (px/dp) = (1/sp) / (1/dp)
305 // Convert Android device-independent-pixels (dp) to HTML size.
306 private String dp(int dp) { argument
307 // HTML px's are scaled just like dp's, so just add "px" suffix.
308 return Integer.toString(dp) + "px";
313 // Convert sp to dp's.
314 float dp
[all...]
/frameworks/native/include/ui/
H A DRect.h166 Rect& offsetBy(const Point& dp) { argument
167 return offsetBy(dp.x, dp.y);
/frameworks/base/core/java/com/android/internal/app/
H A DPlatLogoActivity.java71 final float dp = dm.density;
73 (Math.min(Math.min(dm.widthPixels, dm.heightPixels), 600*dp) - 100*dp);
83 final int pad = (int) (8 * dp);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java589 DisconnectParams dp = (DisconnectParams)o;
590 apnContext = dp.mApnContext;
591 if (TextUtils.equals(dp.mReason, Phone.REASON_RADIO_TURNED_OFF)) {
593 } else if (TextUtils.equals(dp.mReason, Phone.REASON_PDP_RESET)) {
687 * @param dp is the DisconnectParams.
689 private void notifyDisconnectCompleted(DisconnectParams dp, boolean sendAll) { argument
695 if (dp != null && dp.mOnCompletedMsg != null) {
697 Message msg = dp.mOnCompletedMsg;
698 dp
1311 setEnterNotificationParams(DisconnectParams dp) argument
[all...]
H A DDcTrackerBase.java1836 DataProfile dp = new DataProfile(apn,
1840 if (dp.equals(dpIn)) {
1846 dps.add(dp);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java95 PointF dp = new PointF(topRight.x - topLeft.x, topRight.y - topLeft.y);
96 float len = dp.length();
97 PointF np = new PointF(height * (dp.y / len), height * (dp.x / len));
/frameworks/base/libs/hwui/
H A DFrameInfoVisualizer.cpp59 static int dpToPx(int dp, float density) { argument
60 return (int) (dp * density + 0.5f);
/frameworks/rs/driver/runtime/
H A Drs_allocation.c114 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + local
116 return dp;
130 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + local
132 return dp;
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
H A DMLand.java177 private static float dp = 1f; field in class:MLand
208 mPlayerTracePaint.setStrokeWidth(2 * dp);
221 dp = getResources().getDisplayMetrics().density;
288 dp = getResources().getDisplayMetrics().density;
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java426 final PackageSetting dp = mDisabledSysPackages.get(name);
428 if (dp == null) {

Completed in 376 milliseconds