Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:DeviceRotation
(Results
1 - 9
of
9
) sorted by relevance
/foundation/window/window_manager/dmserver/include/
H
A
D
screen_rotation_controller.h
35
enum class
DeviceRotation
: int32_t {
class
48
static void HandleSensorEventInput(
DeviceRotation
deviceRotation);
57
static
DeviceRotation
ConvertSensorToDeviceRotation(SensorRotation sensorRotation);
64
DeviceRotation
sensorRotationConverted);
65
static
DeviceRotation
CalcDeviceRotation(SensorRotation sensorRotation);
66
static Rotation ConvertDeviceToDisplayRotation(
DeviceRotation
sensorRotationConverted);
68
static bool IsDeviceRotationVertical(
DeviceRotation
deviceRotation);
69
static bool IsDeviceRotationHorizontal(
DeviceRotation
deviceRotation);
75
static void ProcessSwitchToAutoRotationPortrait(
DeviceRotation
rotation);
76
static void ProcessSwitchToAutoRotationLandscape(
DeviceRotation
rotatio
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H
A
D
screen_rotation_property.cpp
21
void ScreenRotationProperty::HandleSensorEventInput(
DeviceRotation
deviceRotation)
in HandleSensorEventInput()
23
static
DeviceRotation
lastSensorRotationConverted_ =
DeviceRotation
::INVALID;
in HandleSensorEventInput()
24
TLOGI(WmsLogTag::DMS, "
DeviceRotation
: %{public}d, "
in HandleSensorEventInput()
27
if (deviceRotation !=
DeviceRotation
::INVALID && lastSensorRotationConverted_ != deviceRotation) {
in HandleSensorEventInput()
38
float ScreenRotationProperty::ConvertDeviceToFloat(
DeviceRotation
deviceRotation)
in ConvertDeviceToFloat()
42
case
DeviceRotation
::ROTATION_PORTRAIT:
in ConvertDeviceToFloat()
45
case
DeviceRotation
::ROTATION_LANDSCAPE:
in ConvertDeviceToFloat()
48
case
DeviceRotation
::ROTATION_PORTRAIT_INVERTED:
in ConvertDeviceToFloat()
51
case
DeviceRotation
in ConvertDeviceToFloat()
[all...]
H
A
D
screen_sensor_connector.cpp
111
DeviceRotation
motionRotation =
DeviceRotation
::INVALID;
in OnMotionChanged()
114
motionRotation =
DeviceRotation
::ROTATION_PORTRAIT;
in OnMotionChanged()
118
motionRotation =
DeviceRotation
::ROTATION_LANDSCAPE_INVERTED;
in OnMotionChanged()
122
motionRotation =
DeviceRotation
::ROTATION_PORTRAIT_INVERTED;
in OnMotionChanged()
126
motionRotation =
DeviceRotation
::ROTATION_LANDSCAPE;
in OnMotionChanged()
H
A
D
screen_session_dumper.cpp
545
if (value < static_cast<int32_t>(
DeviceRotation
::INVALID) ||
in SetMotionSensorvalue()
546
value > static_cast<int32_t>(
DeviceRotation
::ROTATION_LANDSCAPE_INVERTED)) {
in SetMotionSensorvalue()
550
ScreenRotationProperty::HandleSensorEventInput(static_cast<
DeviceRotation
>(value));
in SetMotionSensorvalue()
/foundation/window/window_manager/dmserver/src/
H
A
D
screen_rotation_controller.cpp
37
std::map<SensorRotation,
DeviceRotation
> ScreenRotationController::sensorToDeviceRotationMap_;
38
std::map<
DeviceRotation
, Rotation> ScreenRotationController::deviceToDisplayRotationMap_;
40
DeviceRotation
ScreenRotationController::lastSensorRotationConverted_ =
DeviceRotation
::INVALID;
85
void ScreenRotationController::HandleSensorEventInput(
DeviceRotation
deviceRotation)
in HandleSensorEventInput()
87
if (deviceRotation ==
DeviceRotation
::INVALID) {
in HandleSensorEventInput()
112
return defaultDeviceRotation_ == 0 ? ConvertDeviceToDisplayRotation(
DeviceRotation
::ROTATION_PORTRAIT) :
in GetCurrentDisplayRotation()
113
ConvertDeviceToDisplayRotation(
DeviceRotation
::ROTATION_LANDSCAPE);
in GetCurrentDisplayRotation()
129
Orientation requestedOrientation,
DeviceRotation
sensorRotationConverted)
in CalcTargetDisplayRotation()
167
Rotation ScreenRotationController::ProcessAutoRotationPortraitOrientation(
DeviceRotation
sensorRotationConverte
[all...]
H
A
D
sensor_connector.cpp
138
DeviceRotation
sensorRotationConverted = ScreenRotationController::ConvertSensorToDeviceRotation(
in HandleGravitySensorEventCallback()
226
DeviceRotation
motionRotation =
DeviceRotation
::INVALID;
in OnMotionChanged()
229
motionRotation =
DeviceRotation
::ROTATION_PORTRAIT;
in OnMotionChanged()
234
DeviceRotation
::ROTATION_LANDSCAPE_INVERTED :
DeviceRotation
::ROTATION_LANDSCAPE;
in OnMotionChanged()
238
motionRotation =
DeviceRotation
::ROTATION_PORTRAIT_INVERTED;
in OnMotionChanged()
243
DeviceRotation
::ROTATION_LANDSCAPE :
DeviceRotation
::ROTATION_LANDSCAPE_INVERTED;
in OnMotionChanged()
/foundation/window/window_manager/window_scene/test/dms_unittest/
H
A
D
screen_rotation_property_test.cpp
67
ScreenRotationProperty::HandleSensorEventInput(
DeviceRotation
::INVALID);
in HWTEST_F()
68
ScreenRotationProperty::HandleSensorEventInput(
DeviceRotation
::ROTATION_PORTRAIT);
in HWTEST_F()
69
ScreenRotationProperty::HandleSensorEventInput(
DeviceRotation
::ROTATION_LANDSCAPE);
in HWTEST_F()
98
ret = ScreenRotationProperty::ConvertDeviceToFloat(
DeviceRotation
::INVALID);
in HWTEST_F()
101
ret = ScreenRotationProperty::ConvertDeviceToFloat(
DeviceRotation
::ROTATION_PORTRAIT);
in HWTEST_F()
104
ret = ScreenRotationProperty::ConvertDeviceToFloat(
DeviceRotation
::ROTATION_LANDSCAPE);
in HWTEST_F()
107
ret = ScreenRotationProperty::ConvertDeviceToFloat(
DeviceRotation
::ROTATION_PORTRAIT_INVERTED);
in HWTEST_F()
110
ret = ScreenRotationProperty::ConvertDeviceToFloat(
DeviceRotation
::ROTATION_LANDSCAPE_INVERTED);
in HWTEST_F()
/foundation/window/window_manager/dmserver/test/unittest/
H
A
D
screen_rotation_controller_test.cpp
132
DeviceRotation
deviceRitation =
DeviceRotation
::ROTATION_PORTRAIT;
in HWTEST_F()
181
DeviceRotation
deviceRitation =
DeviceRotation
::ROTATION_LANDSCAPE;
in HWTEST_F()
183
deviceRitation =
DeviceRotation
::ROTATION_LANDSCAPE_INVERTED;
in HWTEST_F()
185
deviceRitation =
DeviceRotation
::ROTATION_PORTRAIT_INVERTED;
in HWTEST_F()
188
deviceRitation =
DeviceRotation
::ROTATION_PORTRAIT;
in HWTEST_F()
190
deviceRitation =
DeviceRotation
::ROTATION_PORTRAIT_INVERTED;
in HWTEST_F()
192
deviceRitation =
DeviceRotation
::ROTATION_LANDSCAPE;
in HWTEST_F()
204
ASSERT_EQ(
DeviceRotation
in HWTEST_F()
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager/include/
H
A
D
screen_rotation_property.h
31
enum class
DeviceRotation
: int32_t {
class
51
static void HandleSensorEventInput(
DeviceRotation
deviceRotation);
54
static float ConvertDeviceToFloat(
DeviceRotation
deviceRotation);
Completed in 5 milliseconds