Home
last modified time | relevance | path

Searched refs:refreshRate (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java179 mInfo.refreshRate = mPhys.refreshRate; in getDisplayDeviceInfoLocked()
256 public void requestRefreshRateLocked(float refreshRate) { in requestRefreshRateLocked() argument
257 if (mLastRequestedRefreshRate == refreshRate) { in requestRefreshRateLocked()
260 mLastRequestedRefreshRate = refreshRate; in requestRefreshRateLocked()
261 if (refreshRate != 0) { in requestRefreshRateLocked()
264 if (refreshRate == mSupportedRefreshRates[i]) { in requestRefreshRateLocked()
270 Slog.w(TAG, "Requested refresh rate " + refreshRate + " is unsupported."); in requestRefreshRateLocked()
302 mSupportedRefreshRates[idx] = phys.refreshRate; in updateSupportedRefreshRatesLocked()
DDisplayDeviceInfo.java132 public float refreshRate; field in DisplayDeviceInfo
246 && refreshRate == other.refreshRate in equals()
273 refreshRate = other.refreshRate; in copyFrom()
297 sb.append(", ").append(refreshRate).append(" fps"); in toString()
DOverlayDisplayAdapter.java207 int width, int height, float refreshRate, long presentationDeadlineNanos, in OverlayDisplayDevice() argument
214 mRefreshRate = refreshRate; in OverlayDisplayDevice()
254 mInfo.refreshRate = mRefreshRate; in getDisplayDeviceInfoLocked()
311 public void onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate, in onWindowCreated() argument
316 mWidth, mHeight, refreshRate, presentationDeadlineNanos, in onWindowCreated()
DWifiDisplayAdapter.java379 float refreshRate = 60.0f; // TODO: get this for real in addDisplayDeviceLocked() local
385 refreshRate, deviceFlags, address, surface); in addDisplayDeviceLocked()
591 int width, int height, float refreshRate, int flags, String address, in WifiDisplayDevice() argument
597 mRefreshRate = refreshRate; in WifiDisplayDevice()
631 mInfo.refreshRate = mRefreshRate; in getDisplayDeviceInfoLocked()
DLogicalDisplay.java218 mBaseDisplayInfo.refreshRate = deviceInfo.refreshRate; in updateLocked()
DDisplayDevice.java131 public void requestRefreshRateLocked(float refreshRate) { in requestRefreshRateLocked() argument
DOverlayDisplayWindow.java305 mListener.onWindowCreated(surfaceTexture, mDefaultDisplayInfo.refreshRate,
376 float refreshRate, long presentationDeadlineNanos, int state); in onWindowCreated() argument
DVirtualDisplayAdapter.java293 mInfo.refreshRate = 60; in getDisplayDeviceInfoLocked()
298 mInfo.presentationDeadlineNanos = 1000000000L / (int) mInfo.refreshRate; // 1 frame in getDisplayDeviceInfoLocked()
/frameworks/base/core/java/android/view/
DDisplayInfo.java164 public float refreshRate; field in DisplayInfo
279 && refreshRate == other.refreshRate in equals()
315 refreshRate = other.refreshRate; in copyFrom()
347 refreshRate = source.readFloat(); in readFromParcel()
380 dest.writeFloat(refreshRate); in writeToParcel()
486 sb.append(refreshRate); in toString()
DSurfaceControl.java467 public float refreshRate; field in SurfaceControl.PhysicalDisplayInfo
491 && refreshRate == other.refreshRate in equals()
508 refreshRate = other.refreshRate; in copyFrom()
520 return "PhysicalDisplayInfo{" + width + " x " + height + ", " + refreshRate + " fps, " in toString()
DDisplay.java613 return mDisplayInfo.refreshRate; in getRefreshRate()
DChoreographer.java181 return di.refreshRate; in getRefreshRate()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp59 jfieldID refreshRate; member
397 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.refreshRate, info.fps); in nativeGetDisplayConfigs()
659 gPhysicalDisplayInfoClassInfo.refreshRate = env->GetFieldID(clazz, "refreshRate", "F"); in register_android_view_SurfaceControl()