Home
last modified time | relevance | path

Searched refs:getMetrics (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DNavigationBar.java102 size *= context.getMetrics().density; in setSize()
133 DisplayMetrics metrics = context.getMetrics(); in getShortestWidth()
DFrameworkActionBar.java139 DisplayMetrics metrics = mBridgeContext.getMetrics(); in createMenuPopup()
218 int popupMaxWidth = Math.max(mBridgeContext.getMetrics().widthPixels / 2, in measureContentWidth()
238 DisplayMetrics metrics = mBridgeContext.getMetrics(); in getActionBarHeight()
DThemePreviewNavigationBar.java43 Density.getEnum(((BridgeContext) context).getMetrics().densityDpi), in ThemePreviewNavigationBar()
DStatusBar.java60 Density.getEnum(((BridgeContext) context).getMetrics().densityDpi), in StatusBar()
/frameworks/minikin/include/minikin/
DMeasuredText.h48 virtual void getMetrics(const U16StringPiece& text, std::vector<float>* advances,
93 void getMetrics(const U16StringPiece& text, std::vector<float>* advances,
127 void getMetrics(const U16StringPiece& /* text */, std::vector<float>* advances, in getMetrics() function
/frameworks/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java44 public DisplayMetrics getMetrics() { in getMetrics() method in IWindowManagerImpl
/frameworks/av/media/libstagefright/include/media/stagefright/
DRemoteMediaExtractor.h41 virtual status_t getMetrics(Parcel *reply);
DNuMediaExtractor.h95 status_t getMetrics(Parcel *reply);
/frameworks/av/media/libmedia/include/media/
DIMediaExtractor.h50 virtual status_t getMetrics(Parcel *reply) = 0;
DMediaRecorderBase.h65 virtual status_t getMetrics(Parcel *reply) = 0;
DIMediaRecorder.h59 virtual status_t getMetrics(Parcel *reply) = 0;
Dmediarecorder.h262 status_t getMetrics(Parcel *reply);
/frameworks/base/media/jni/
Dandroid_media_MediaExtractor.h67 status_t getMetrics(Parcel *reply) const;
Dandroid_media_MediaCodec.h127 status_t getMetrics(JNIEnv *env, MediaAnalyticsItem * &reply) const;
/frameworks/base/core/tests/coretests/src/android/view/
DScaleGestureDetectorTest.java61 wm.getDefaultDisplay().getMetrics(dm); in testScaleGestureDetector()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DBitmapUploadActivity.java58 getDisplay().getMetrics(mMetrics); in onAttachedToWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunablePadding.java49 .getDefaultDisplay().getMetrics(metrics); in TunablePadding()
/frameworks/av/media/libmedia/
DIMediaExtractor.cpp99 virtual status_t getMetrics(Parcel * reply) { in getMetrics() function in android::BpMediaExtractor
192 status_t ret = getMetrics(reply); in onTransact()
/frameworks/av/media/libstagefright/
DRemoteMediaExtractor.cpp125 status_t RemoteMediaExtractor::getMetrics(Parcel *reply) { in getMetrics() function in android::RemoteMediaExtractor
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.h67 virtual status_t getMetrics(Parcel* reply);
DMediaRecorderClient.cpp242 status_t MediaRecorderClient::getMetrics(Parcel* reply) in getMetrics() function in android::MediaRecorderClient
250 return mRecorder->getMetrics(reply); in getMetrics()
/frameworks/minikin/libs/minikin/
DMeasuredText.cpp56 void StyleRun::getMetrics(const U16StringPiece& textBuf, std::vector<float>* advances, in getMetrics() function in minikin::StyleRun
137 run->getMetrics(textBuf, &widths, hint ? &hint->layoutPieces : nullptr, piecesOut); in measure()
/frameworks/base/core/java/android/app/
DPresentation.java300 mDisplay.getMetrics(dm); in isConfigurationStillValid()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/
DTunablePaddingTest.java117 mContext.getSystemService(WindowManager.class).getDefaultDisplay().getMetrics(metrics); in testTuning()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DBitmapUploadActivity.java71 getDisplay().getMetrics(mMetrics); in onAttachedToWindow()

1234