/frameworks/opt/car/services/src/com/android/internal/car/ |
D | UserMetrics.java | 143 UserStartingMetric metrics = getExistingMetricsLocked(mUserStartingMetrics, toUserId); in onUserSwitchingEventLocked() local 151 UserStartingMetric metrics = getExistingMetricsLocked(mUserStartingMetrics, userId); in onUserUnlockingEventLocked() local 158 UserStartingMetric metrics = getExistingMetricsLocked(mUserStartingMetrics, userId); in onUserUnlockedEventLocked() local 179 UserStoppingMetric metrics = getExistingMetricsLocked(mUserStoppingMetrics, userId); in onUserStoppedEventLocked() local 187 private <T extends BaseUserMetric> T getExistingMetricsLocked( in getExistingMetricsLocked() 202 private void removeExistingMetricsLogged(@NonNull SparseArray<? extends BaseUserMetric> metrics, in removeExistingMetricsLogged() 214 private void finishUserStartingLocked(@NonNull UserStartingMetric metrics, in finishUserStartingLocked() 222 private void finishUserStoppingLocked(@NonNull UserStoppingMetric metrics, in finishUserStoppingLocked() 251 @NonNull SparseArray<? extends BaseUserMetric> metrics) { in dump()
|
/frameworks/base/core/java/android/text/ |
D | BoringLayout.java | 55 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in make() 81 Alignment align, float spacingmult, float spacingadd, BoringLayout.Metrics metrics, in make() 104 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in replaceOrMake() 138 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in replaceOrMake() 157 init(getText(), paint, align, metrics, includePad, trust); in replaceOrMake() local 174 float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, boolean includePad) { in BoringLayout() 203 float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, boolean includePad, in BoringLayout() 227 init(getText(), paint, align, metrics, includePad, trust); in BoringLayout() local 231 BoringLayout.Metrics metrics, boolean includePad, boolean trustWidth) { in init() 297 public static Metrics isBoring(CharSequence text, TextPaint paint, Metrics metrics) { in isBoring() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | TextViewPrecomputedTextPerfTest.java | 87 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testNewLayout_RandomText() local 106 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testNewLayout_RandomText_Selectable() local 126 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testNewLayout_PrecomputedText() local 148 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testNewLayout_PrecomputedText_Selectable() local 171 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testSetText_RandomText() local 188 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testSetText_RandomText_Selectable() local 206 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testSetText_PrecomputedText() local 226 BoringLayout.Metrics metrics = new BoringLayout.Metrics(); in testSetText_PrecomputedText_Selectable() local
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | BoringLayoutCreateDrawPerfTest.java | 93 final BoringLayout.Metrics metrics = BoringLayout.isBoring(text, mTextPaint); in timeCreate() local 117 final BoringLayout.Metrics metrics = BoringLayout.isBoring(text, mTextPaint); in timeDraw() local 147 BoringLayout.Metrics metrics) { in createLayout()
|
/frameworks/av/drm/libmediadrm/ |
D | DrmMetricsConsumer.cpp | 59 PersistableBundle *metrics) { in ExportCounterMetric() 90 const android::CounterMetric<T> &counter, PersistableBundle *metrics) { in ExportCounterMetricWithAttributeNames() 104 PersistableBundle *metrics) { in ExportEventMetric() 138 PersistableBundle *metrics) { in ExportSessionLifespans() 192 status_t DrmMetricsConsumer::consumeFrameworkMetrics(const MediaDrmMetrics &metrics) { in consumeFrameworkMetrics()
|
D | PluginMetricsReporting.cpp | 34 status_t reportVendorMetrics(const std::string& metrics, in reportVendorMetrics()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | VersionedPasswordMetrics.java | 34 private VersionedPasswordMetrics(int version, PasswordMetrics metrics) { in VersionedPasswordMetrics() 74 PasswordMetrics metrics = new PasswordMetrics(buffer.getInt(), buffer.getInt(), in deserialize() local
|
/frameworks/av/drm/libmediadrm/tests/ |
D | DrmMetrics_test.cpp | 60 MediaDrmMetrics metrics; in TEST_F() local 69 MediaDrmMetrics metrics; in TEST_F() local 129 MediaDrmMetrics metrics; in TEST_F() local 273 MediaDrmMetrics metrics; in TEST_F() local 337 MediaDrmMetrics metrics; in TEST_F() local 384 FakeMediaDrmMetrics metrics; in TEST_F() local
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BridgeContextTest.java | 55 DisplayMetrics metrics = new DisplayMetrics(); in basic() local 102 DisplayMetrics metrics = new DisplayMetrics(); in checkNoErrorWhenUsingDefaults() local
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 301 public static float complexToDimension(int data, DisplayMetrics metrics) in complexToDimension() 326 DisplayMetrics metrics) in complexToDimensionPixelOffset() 353 DisplayMetrics metrics) in complexToDimensionPixelSize() 372 public static float complexToDimensionNoisy(int data, DisplayMetrics metrics) in complexToDimensionNoisy() 403 DisplayMetrics metrics) in applyDimension() 432 public float getDimension(DisplayMetrics metrics) in getDimension()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBar.java | 139 DisplayMetrics metrics = mBridgeContext.getMetrics(); in createMenuPopup() local 230 static int getPixelValue(@NonNull String value, @NonNull DisplayMetrics metrics) { in getPixelValue() 238 DisplayMetrics metrics = mBridgeContext.getMetrics(); in getActionBarHeight() local
|
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PasswordMetricsTest.java | 73 PasswordMetrics metrics = new PasswordMetrics(credType, length, letters, upperCase, in testParceling() local 97 final PasswordMetrics metrics = PasswordMetrics.computeForPasswordOrPin( in testComputeForPassword_metrics() local 262 PasswordMetrics metrics = new PasswordMetrics(CREDENTIAL_TYPE_PASSWORD); in testMerge_single() local
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | FullscreenRotationTest.java | 40 public void afterTest(Bundle metrics) { in afterTest()
|
/frameworks/base/core/tests/coretests/src/android/window/ |
D | WindowMetricsHelperTest.java | 57 final WindowMetrics metrics = activity.getWindowManager().getCurrentWindowMetrics(); in testGetLegacySizeMatchesDisplayGetSize() local
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_HardwareRendererObserver.cpp | 51 bool HardwareRendererObserver::getNextBuffer(JNIEnv* env, jlongArray metrics, int* dropCount) { in getNextBuffer() 106 jlongArray metrics) { in android_graphics_HardwareRendererObserver_getNextBuffer()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | SysUiOverlay.java | 59 private static float dpToPx(DisplayMetrics metrics, float value) { in dpToPx() 67 DisplayMetrics metrics = context.getResources().getDisplayMetrics(); in SysUiOverlay() local
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | ResizeHWLayerActivity.java | 36 DisplayMetrics metrics = getResources().getDisplayMetrics(); in onCreate() local
|
D | GlTextureViewActivity.java | 53 DisplayMetrics metrics = mTextureView.getContext().getResources().getDisplayMetrics(); in onSurfaceTextureAvailable() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/ |
D | TunablePaddingTest.java | 116 DisplayMetrics metrics = new DisplayMetrics(); in testTuning() local
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | IWindowManagerImpl.java | 34 public IWindowManagerImpl(Configuration config, DisplayMetrics metrics, int rotation, in IWindowManagerImpl()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | WeightedLinearLayout.java | 58 final DisplayMetrics metrics = getContext().getResources().getDisplayMetrics(); in onMeasure() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/ |
D | TvBottomSheetActivity.java | 59 DisplayMetrics metrics = getResources().getDisplayMetrics(); in onCreate() local
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ViewLayersActivity3.java | 57 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
|
D | ViewLayersActivity.java | 110 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
|
D | ViewLayersActivity2.java | 60 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
|