Home
last modified time | relevance | path

Searched defs:metrics (Results 1 – 25 of 122) sorted by relevance

12345

/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/
DUserMetrics.java143 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/
DBridgeContextTest.java64 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/
DBoringLayout.java58 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/
DTypedValue.java305 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/
DTypedValueTest.kt148 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/
DTextViewPrecomputedTextPerfTest.java87 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/
DBoringLayoutCreateDrawPerfTest.java93 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/
DDrmMetricsConsumer.cpp57 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/
DVersionedPasswordMetrics.java34 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/
DDrmMetrics_test.cpp60 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/
DFrameworkActionBar.java139 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/
DFullscreenRotationTest.java40 public void afterTest(Bundle metrics) { in afterTest()
/frameworks/base/media/java/android/media/metrics/
DIMediaMetricsManager.aidl31 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()
DMediaMetricsManager.java49 public void reportPlaybackMetrics(@NonNull String sessionId, PlaybackMetrics metrics) { in reportPlaybackMetrics()
60 public void reportBundleMetrics(@NonNull String sessionId, PersistableBundle metrics) { in reportBundleMetrics()
DBundleSession.java61 public void reportBundleMetrics(@NonNull PersistableBundle metrics) { in reportBundleMetrics()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DFloatingWindowUtil.java38 public static float dpToPx(DisplayMetrics metrics, float dp) { in dpToPx()
/frameworks/base/core/tests/coretests/src/android/window/
DWindowMetricsHelperTest.java57 final WindowMetrics metrics = activity.getWindowManager().getCurrentWindowMetrics(); in testGetLegacySizeMatchesDisplayGetSize() local
/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java73 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/
DSysUiOverlay.java59 private static float dpToPx(DisplayMetrics metrics, float value) { in dpToPx()
67 DisplayMetrics metrics = context.getResources().getDisplayMetrics(); in SysUiOverlay() local
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRendererObserver.cpp51 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/
DOdsignStatsLogger.java66 String[] metrics = line.split(" "); in writeStats() local
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DResizeHWLayerActivity.java36 DisplayMetrics metrics = getResources().getDisplayMetrics(); in onCreate() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/
DTunablePaddingTest.java116 DisplayMetrics metrics = new DisplayMetrics(); in testTuning() local
/frameworks/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java34 public IWindowManagerImpl(Configuration config, DisplayMetrics metrics, int rotation, in IWindowManagerImpl()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/shadow/
DDoubleShadowTextClock.kt126 val metrics = paint.fontMetrics in initializeAttributes() constant

12345