/frameworks/support/compat/src/main/java/androidx/core/app/ |
D | FrameMetricsAggregator.java | 339 SparseIntArray[] mMetrics = new SparseIntArray[LAST_INDEX + 1]; field in FrameMetricsAggregator.FrameMetricsApi24Impl 354 addDurationItem(mMetrics[TOTAL_INDEX], 358 addDurationItem(mMetrics[INPUT_INDEX], 363 addDurationItem(mMetrics[LAYOUT_MEASURE_INDEX], 368 addDurationItem(mMetrics[DRAW_INDEX], 372 addDurationItem(mMetrics[SYNC_INDEX], 376 addDurationItem(mMetrics[SWAP_INDEX], 381 addDurationItem(mMetrics[COMMAND_INDEX], 386 addDurationItem(mMetrics[DELAY_INDEX], 391 addDurationItem(mMetrics[ANIMATION_INDEX], [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 85 private TelephonyMetrics mMetrics; field in TelephonyMetricsTest 94 mMetrics = new TelephonyMetrics(); in setUp() 122 return (TelephonyLog) method.invoke(mMetrics); in buildProto() 128 method.invoke(mMetrics); in reset() 144 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), i); in testEventDropped() 158 mMetrics.writeDataStallEvent(mPhone.getPhoneId(), 3); in testWriteDataStallEvent() 172 mMetrics.writeModemRestartEvent(mPhone.getPhoneId(), "Test"); in testModemRestartEvent() 188 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, in testWriteCarrierIdMatchingEventWithInvalidMatchingScore() 208 mMetrics.writeCarrierIdMatchingEvent(mPhone.getPhoneId(), 1, 1, "mccmncTest", "gid1Test"); in testWriteCarrierIdMatchingEvent() 227 mMetrics.writeOnImsCallStart(mPhone.getPhoneId(), mImsCallSession); in testWriteOnImsCallStart() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 29 private final DisplayMetrics mMetrics; field in WindowManagerImpl 33 mMetrics = metrics; in WindowManagerImpl() 36 info.logicalHeight = mMetrics.heightPixels; in WindowManagerImpl() 37 info.logicalWidth = mMetrics.widthPixels; in WindowManagerImpl() 39 new Mode(0, mMetrics.widthPixels, mMetrics.heightPixels, 60f) in WindowManagerImpl()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | BitmapUploadActivity.java | 35 private final DisplayMetrics mMetrics = new DisplayMetrics(); field in BitmapUploadActivity.UploadView 58 getDisplay().getMetrics(mMetrics); in onAttachedToWindow() 59 int minDisplayDimen = Math.min(mMetrics.widthPixels, mMetrics.heightPixels); in onAttachedToWindow()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
D | BitmapUploadActivity.java | 47 private final DisplayMetrics mMetrics = new DisplayMetrics(); field in BitmapUploadActivity.UploadView 70 getDisplay().getMetrics(mMetrics); in onAttachedToWindow() 71 int minDisplayDimen = Math.min(mMetrics.widthPixels, mMetrics.heightPixels); in onAttachedToWindow()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 142 private final DisplayMetrics mMetrics = new DisplayMetrics(); field in ResourcesImpl 169 mMetrics.setToDefaults(); in ResourcesImpl() 184 if (DEBUG_CONFIG) Slog.v(TAG, "Returning DisplayMetrics: " + mMetrics.widthPixels in getDisplayMetrics() 185 + "x" + mMetrics.heightPixels + " " + mMetrics.density); in getDisplayMetrics() 186 return mMetrics; in getDisplayMetrics() 362 mMetrics.setTo(metrics); in updateConfiguration() 373 mDisplayAdjustments.getCompatibilityInfo().applyToDisplayMetrics(mMetrics); in updateConfiguration() 408 mMetrics.densityDpi = mConfiguration.densityDpi; in updateConfiguration() 409 mMetrics.density = in updateConfiguration() 414 mMetrics.scaledDensity = mMetrics.density * in updateConfiguration() [all …]
|
D | TypedArray.java | 59 attrs.mMetrics = res.getDisplayMetrics(); in obtain() 74 private DisplayMetrics mMetrics; field in TypedArray 630 return TypedValue.complexToDimension(data[index + STYLE_DATA], mMetrics); in getDimension() 678 return TypedValue.complexToDimensionPixelOffset(data[index + STYLE_DATA], mMetrics); in getDimensionPixelOffset() 727 return TypedValue.complexToDimensionPixelSize(data[index + STYLE_DATA], mMetrics); in getDimensionPixelSize() 771 return TypedValue.complexToDimensionPixelSize(data[index + STYLE_DATA], mMetrics); in getLayoutDimension() 809 return TypedValue.complexToDimensionPixelSize(data[index + STYLE_DATA], mMetrics); in getLayoutDimension() 1279 mMetrics = mResources.getDisplayMetrics(); in TypedArray()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ParallelPackageParser.java | 47 private final DisplayMetrics mMetrics; field in ParallelPackageParser 61 mMetrics = metrics; in ParallelPackageParser() 113 pp.setDisplayMetrics(mMetrics); in submit()
|
D | PackageManagerService.java | 650 final DisplayMetrics mMetrics; field in PackageManagerService 2417 mMetrics = new DisplayMetrics(); in PackageManagerService() 2485 getDefaultDisplayMetrics(context, mMetrics); in PackageManagerService() 8422 mSeparateProcesses, mOnlyCore, mMetrics, mCacheDir, 8569 pp.setDisplayMetrics(mMetrics); 17072 pp.setDisplayMetrics(mMetrics); 20774 pp.setDisplayMetrics(mMetrics);
|
/frameworks/av/drm/libmediadrm/ |
D | DrmHal.cpp | 356 mMetrics.SetAppPackageName(appPackageName); in makeDrmPlugin() 395 mMetrics.mEventCounter.Increment(hEventType); in sendEvent() 486 mMetrics.mKeyStatusChangeCounter.Increment(keyStatus.type); in sendKeysChange() 497 mMetrics.mKeyStatusChangeCounter.Increment(keyStatusList[i].type); in sendKeysChange() 629 mMetrics.SetSessionStart(sessionId); in openSession() 632 mMetrics.mOpenSessionCounter.Increment(err); in openSession() 652 mMetrics.SetSessionEnd(sessionId); in closeSession() 653 mMetrics.mCloseSessionCounter.Increment(response); in closeSession() 656 mMetrics.mCloseSessionCounter.Increment(DEAD_OBJECT); in closeSession() 667 EventTimer<status_t> keyRequestTimer(&mMetrics.mGetKeyRequestTimeUs); in getKeyRequest() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 143 private TelephonyMetrics mMetrics; field in ImsPhoneCallTracker 682 mMetrics = TelephonyMetrics.getInstance(); in ImsPhoneCallTracker() 1207 mMetrics.writeOnImsCallStart(mPhone.getPhoneId(), in dialInternal() 1270 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in acceptCall() 1335 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in switchWaitingOrHoldingAndActive() 1501 mMetrics.writePhoneState(mPhone.getPhoneId(), mState); in updatePhoneState() 1686 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in hangup() 1690 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in hangup() 1730 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in resumeWaitingOrHolding() 1739 mMetrics.writeOnImsCommand(mPhone.getPhoneId(), imsCall.getSession(), in resumeWaitingOrHolding() [all …]
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | IWindowManagerImpl.java | 47 private final DisplayMetrics mMetrics; field in IWindowManagerImpl 54 mMetrics = metrics; in IWindowManagerImpl() 62 return mMetrics; in getMetrics()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaCallTracker.java | 95 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in GsmCdmaCallTracker 316 mMetrics.writeRilDial(mPhone.getPhoneId(), mPendingMO, clirMode, uusInfo); in dial() 737 mMetrics.writePhoneState(mPhone.getPhoneId(), mState); in updatePhoneState() 1042 mMetrics.writeRilCallList(mPhone.getPhoneId(), locallyDisconnectedConnections); in handlePollCalls() 1113 mMetrics.writeRilCallList(mPhone.getPhoneId(), activeConnections); in updateMetrics() 1186 mMetrics.writeRilHangup(mPhone.getPhoneId(), conn, conn.getGsmCdmaIndex()); in hangup() 1280 mMetrics.writeRilHangup(mPhone.getPhoneId(), cn, call_index); in logHangupEvent() 1302 mMetrics.writeRilHangup(mPhone.getPhoneId(), cn, cn.getGsmCdmaIndex()); in hangupConnectionByIndex() 1317 mMetrics.writeRilHangup(mPhone.getPhoneId(), cn, cn.getGsmCdmaIndex()); in hangupAllConnections() 1475 mMetrics.writeRilCallList(mPhone.getPhoneId(), mDroppedDuringPoll); in handleMessage()
|
D | RIL.java | 185 private TelephonyMetrics mMetrics = TelephonyMetrics.getInstance(); field in RIL 284 mMetrics.writeOnRilTimeoutResponse(mPhoneId, rr.mSerial, rr.mRequest); in handleMessage() 1079 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_GSM, in sendSMS() 1101 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_GSM, in sendSMSExpectMore() 1501 mMetrics.writeRilAnswer(mPhoneId, rr.mSerial); in acceptCall() 1530 mMetrics.writeRilDeactivateDataCall(mPhoneId, rr.mSerial, cid, reason); in deactivateDataCall() 2270 mMetrics.writeSetPreferredNetworkType(mPhoneId, networkType); in setPreferredNetworkType() 2559 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_CDMA, in sendCdmaSms() 3072 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_IMS, in sendImsGsmSms() 3101 mMetrics.writeRilSendSms(mPhoneId, rr.mSerial, SmsSession.Event.Tech.SMS_IMS, in sendImsCdmaSms() [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 68 final java.awt.FontMetrics mMetrics; field in Paint_Delegate.FontInfo 72 this.mMetrics = fontMetrics; in FontInfo() 584 java.awt.FontMetrics javaMetrics = fonts.get(0).mMetrics; in nAscent() 602 java.awt.FontMetrics javaMetrics = fonts.get(0).mMetrics; in nDescent() 632 java.awt.FontMetrics javaMetrics = fonts.get(0).mMetrics; in nGetFontMetricsInt() 1332 java.awt.FontMetrics javaMetrics = fonts.get(0).mMetrics; in getFontMetrics()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 156 private final DisplayMetrics mMetrics; field in BridgeContext 227 mMetrics = metrics; in BridgeContext() 246 mWindowManager = new WindowManagerImpl(mMetrics); in BridgeContext() 262 mMetrics, in initResources() 300 return mMetrics; in getMetrics()
|
/frameworks/av/include/mediadrm/ |
D | DrmHal.h | 188 mutable MediaDrmMetrics mMetrics; member
|
/frameworks/av/media/libmedia/include/media/ |
D | DrmHal.h | 188 mutable MediaDrmMetrics mMetrics; member
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 107 private final Metrics mMetrics = new Metrics(); field in ZenModeHelper 129 addCallback(mMetrics); in ZenModeHelper() 1301 mMetrics.emit(); in handleMessage()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 317 private DisplayMetrics mMetrics; field in PackageParser 544 mMetrics = new DisplayMetrics(); in PackageParser() 545 mMetrics.setToDefaults(); in PackageParser() 562 mMetrics = metrics; in setDisplayMetrics() 1326 final Resources res = new Resources(assets, mMetrics, null); in parseBaseApk() 1372 res = new Resources(assets, mMetrics, null); in parseSplitApk()
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 1944 Landroid/content/res/TypedArray;->mMetrics:Landroid/util/DisplayMetrics;
|