/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/ |
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() 203 private void removeExistingMetricsLogged(@NonNull SparseArray<? extends BaseUserMetric> metrics, in removeExistingMetricsLogged() 215 private void finishUserStartingLocked(@NonNull UserStartingMetric metrics, in finishUserStartingLocked() 223 private void finishUserStoppingLocked(@NonNull UserStoppingMetric metrics, in finishUserStoppingLocked() 252 @NonNull SparseArray<? extends BaseUserMetric> metrics) { in dump()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | BridgeContextTest.java | 64 DisplayMetrics metrics = new DisplayMetrics(); in basic() local 111 DisplayMetrics metrics = new DisplayMetrics(); in checkNoErrorWhenUsingDefaults() local 144 DisplayMetrics metrics = new DisplayMetrics(); in noExceptionForCustomService() local 165 DisplayMetrics metrics = new DisplayMetrics(); in dynamicTheming() local 196 DisplayMetrics metrics = new DisplayMetrics(); in noCrashInPowerManager() local
|
/frameworks/base/core/java/android/text/ |
D | BoringLayout.java | 58 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in make() 84 Alignment align, float spacingmult, float spacingadd, BoringLayout.Metrics metrics, in make() 118 @NonNull Alignment align, @NonNull BoringLayout.Metrics metrics, in make() 142 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in replaceOrMake() 184 @NonNull Alignment align, @NonNull BoringLayout.Metrics metrics, boolean includePad, in replaceOrMake() 206 init(getText(), paint, align, metrics, includePad, trust, in replaceOrMake() local 233 Alignment align, float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, in replaceOrMake() 252 float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, boolean includePad) { in BoringLayout() 282 float spacingMult, float spacingAdd, BoringLayout.Metrics metrics, boolean includePad, in BoringLayout() 313 float spacingAdd, @NonNull BoringLayout.Metrics metrics, boolean includePad, in BoringLayout() [all …]
|
/frameworks/base/core/java/android/util/ |
D | TypedValue.java | 305 public static float complexToDimension(int data, DisplayMetrics metrics) in complexToDimension() 330 DisplayMetrics metrics) in complexToDimensionPixelOffset() 357 DisplayMetrics metrics) in complexToDimensionPixelSize() 376 public static float complexToDimensionNoisy(int data, DisplayMetrics metrics) in complexToDimensionNoisy() 422 DisplayMetrics metrics) in applyDimension() 465 @NonNull DisplayMetrics metrics) { in deriveDimension() 526 @NonNull DisplayMetrics metrics) { in convertPixelsToDimension() 547 @NonNull DisplayMetrics metrics) { in convertDimensionToPixels() 561 public float getDimension(DisplayMetrics metrics) in getDimension()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | TypedValueTest.kt | 148 val metrics: DisplayMetrics = mock(DisplayMetrics::class.java) in <lambda>() constant 164 val metrics: DisplayMetrics = mock(DisplayMetrics::class.java) in <lambda>() constant 184 val metrics: DisplayMetrics = mock(DisplayMetrics::class.java) in <lambda>() constant 197 val metrics: DisplayMetrics = mock(DisplayMetrics::class.java) in <lambda>() constant 209 val metrics: DisplayMetrics = mock(DisplayMetrics::class.java) in <lambda>() constant 222 val metrics: DisplayMetrics = mock(DisplayMetrics::class.java) in <lambda>() constant 242 val metrics: DisplayMetrics = mock(DisplayMetrics::class.java) in <lambda>() constant
|
/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 | 57 PersistableBundle *metrics) { in ExportCounterMetric() 88 …onst android::CounterMetric<T> &counter, const std::string &typeName, PersistableBundle *metrics) { in ExportCounterMetricWithAttributeNames() 102 PersistableBundle *metrics) { in ExportEventMetric() 136 PersistableBundle *metrics) { in ExportSessionLifespans() 190 status_t DrmMetricsConsumer::consumeFrameworkMetrics(const MediaDrmMetrics &metrics) { in consumeFrameworkMetrics()
|
/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/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/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | FullscreenRotationTest.java | 40 public void afterTest(Bundle metrics) { in afterTest()
|
/frameworks/base/media/java/android/media/metrics/ |
D | IMediaMetricsManager.aidl | 31 void reportPlaybackMetrics(in String sessionId, in PlaybackMetrics metrics, int userId); in reportPlaybackMetrics() 43 void reportBundleMetrics(in String sessionId, in PersistableBundle metrics, int userId); in reportBundleMetrics()
|
D | MediaMetricsManager.java | 49 public void reportPlaybackMetrics(@NonNull String sessionId, PlaybackMetrics metrics) { in reportPlaybackMetrics() 60 public void reportBundleMetrics(@NonNull String sessionId, PersistableBundle metrics) { in reportBundleMetrics()
|
D | BundleSession.java | 61 public void reportBundleMetrics(@NonNull PersistableBundle metrics) { in reportBundleMetrics()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | FloatingWindowUtil.java | 38 public static float dpToPx(DisplayMetrics metrics, float dp) { in dpToPx()
|
/frameworks/base/core/tests/coretests/src/android/window/ |
D | WindowMetricsHelperTest.java | 57 final WindowMetrics metrics = activity.getWindowManager().getCurrentWindowMetrics(); in testGetLegacySizeMatchesDisplayGetSize() 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/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/libs/hwui/jni/ |
D | android_graphics_HardwareRendererObserver.cpp | 51 bool HardwareRendererObserver::getNextBuffer(JNIEnv* env, jlongArray metrics, int* dropCount) { in getNextBuffer() 107 jlongArray metrics) { in android_graphics_HardwareRendererObserver_getNextBuffer()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | OdsignStatsLogger.java | 66 String[] metrics = line.split(" "); in writeStats() local
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | ResizeHWLayerActivity.java | 36 DisplayMetrics metrics = getResources().getDisplayMetrics(); in onCreate() 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/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/ |
D | DoubleShadowTextClock.kt | 126 val metrics = paint.fontMetrics in initializeAttributes() constant
|