Home
last modified time | relevance | path

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

12345

/frameworks/opt/car/services/src/com/android/internal/car/
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()
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/
DBoringLayout.java55 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/
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.cpp59 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()
DPluginMetricsReporting.cpp34 status_t reportVendorMetrics(const std::string& metrics, in reportVendorMetrics()
/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/tests/src/com/android/layoutlib/bridge/android/
DBridgeContextTest.java55 DisplayMetrics metrics = new DisplayMetrics(); in basic() local
102 DisplayMetrics metrics = new DisplayMetrics(); in checkNoErrorWhenUsingDefaults() local
/frameworks/base/core/java/android/util/
DTypedValue.java301 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/
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/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/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DFullscreenRotationTest.java40 public void afterTest(Bundle metrics) { in afterTest()
/frameworks/base/core/tests/coretests/src/android/window/
DWindowMetricsHelperTest.java57 final WindowMetrics metrics = activity.getWindowManager().getCurrentWindowMetrics(); in testGetLegacySizeMatchesDisplayGetSize() local
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRendererObserver.cpp51 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/
DSysUiOverlay.java59 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/
DResizeHWLayerActivity.java36 DisplayMetrics metrics = getResources().getDisplayMetrics(); in onCreate() local
DGlTextureViewActivity.java53 DisplayMetrics metrics = mTextureView.getContext().getResources().getDisplayMetrics(); in onSurfaceTextureAvailable() 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/core/java/com/android/internal/widget/
DWeightedLinearLayout.java58 final DisplayMetrics metrics = getContext().getResources().getDisplayMetrics(); in onMeasure() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/
DTvBottomSheetActivity.java59 DisplayMetrics metrics = getResources().getDisplayMetrics(); in onCreate() local
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewLayersActivity3.java57 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
DViewLayersActivity.java110 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local
DViewLayersActivity2.java60 final DisplayMetrics metrics = r.getDisplayMetrics(); in getView() local

12345