◆ DeviceOrientationChangeListener()
CameraDevice::Pimpl::DeviceOrientationChangeListener::DeviceOrientationChangeListener |
( |
PreviewDisplay & |
pd | ) |
|
|
inline |
◆ ~DeviceOrientationChangeListener()
CameraDevice::Pimpl::DeviceOrientationChangeListener::~DeviceOrientationChangeListener |
( |
| ) |
|
|
inline |
◆ createOrientationEventListener()
LocalRef<jobject> CameraDevice::Pimpl::DeviceOrientationChangeListener::createOrientationEventListener |
( |
| ) |
|
|
inlineprivate |
◆ deviceOrientationChanged()
static void CameraDevice::Pimpl::DeviceOrientationChangeListener::deviceOrientationChanged |
( |
JNIEnv * |
, |
|
|
jobject |
, |
|
|
jlong |
host, |
|
|
jint |
orientation |
|
) |
| |
|
inlinestaticprivate |
◆ getDeviceOrientation()
Desktop::DisplayOrientation CameraDevice::Pimpl::DeviceOrientationChangeListener::getDeviceOrientation |
( |
| ) |
const |
|
inlinenoexcept |
◆ isSupported()
bool CameraDevice::Pimpl::DeviceOrientationChangeListener::isSupported |
( |
| ) |
const |
|
inlinenoexcept |
◆ orientationChanged()
void CameraDevice::Pimpl::DeviceOrientationChangeListener::orientationChanged |
( |
int |
orientation | ) |
|
|
inlineprivate |
◆ setEnabled()
void CameraDevice::Pimpl::DeviceOrientationChangeListener::setEnabled |
( |
bool |
shouldBeEnabled | ) |
|
|
inline |
◆ timerCallback()
void CameraDevice::Pimpl::DeviceOrientationChangeListener::timerCallback |
( |
| ) |
|
|
inlineoverrideprivate |
◆ canDetectChange
bool CameraDevice::Pimpl::DeviceOrientationChangeListener::canDetectChange |
|
private |
◆ deviceOrientation
Desktop::DisplayOrientation CameraDevice::Pimpl::DeviceOrientationChangeListener::deviceOrientation |
|
private |
◆ lastKnownScreenOrientation
Desktop::DisplayOrientation CameraDevice::Pimpl::DeviceOrientationChangeListener::lastKnownScreenOrientation |
|
private |
◆ numChecksForOrientationChange
int CameraDevice::Pimpl::DeviceOrientationChangeListener::numChecksForOrientationChange = 10 |
|
private |
◆ orientationEventListener
GlobalRef CameraDevice::Pimpl::DeviceOrientationChangeListener::orientationEventListener |
|
private |
◆ previewDisplay
PreviewDisplay& CameraDevice::Pimpl::DeviceOrientationChangeListener::previewDisplay |
|
private |
◆ sensorDelayUI
constexpr jint CameraDevice::Pimpl::DeviceOrientationChangeListener::sensorDelayUI = 2 |
|
staticprivate |
The documentation for this class was generated from the following file: