Home
last modified time | relevance | path

Searched refs:orientation (Results 1 - 4 of 4) sorted by relevance

/test/ostest/wukong/input_factory/src/
H A Drotate_input.cpp46 uint32_t orientation = static_cast<uint32_t>((rand() % FOUR) + ONE); in OrderInput() local
47 switch (orientation) { in OrderInput()
49 INFO_LOG("Rotate orientation is VERTICAL"); in OrderInput()
52 INFO_LOG("Rotate orientation is HORIZONTAL"); in OrderInput()
55 INFO_LOG("Rotate orientation is REVERSE_VERTICAL"); in OrderInput()
58 INFO_LOG("Rotate orientation is REVERSE_HORIZONTAL"); in OrderInput()
68 screens[0]->SetOrientation(static_cast<Rosen::Orientation>(orientation)); in OrderInput()
79 uint32_t orientation = static_cast<uint32_t>((rand() % FOUR) + ONE); in RandomInput() local
80 switch (orientation) { in RandomInput()
82 INFO_LOG("Rotate orientation i in RandomInput()
[all...]
/test/xts/dcts/distributedhardware/distributedcameratest/
H A Ddcamera_hdf_demo.cpp734 int32_t orientation = OHOS_CAMERA_JPEG_ROTATION_180; in SetMetadataMeter() local
735 metaData->addEntry(OHOS_JPEG_ORIENTATION, &orientation, sizeof(orientation)); in SetMetadataMeter()
807 int32_t orientation = OHOS_CAMERA_JPEG_ROTATION_180; in SetMetadataAe() local
808 metaData->addEntry(OHOS_JPEG_ORIENTATION, &orientation, sizeof(orientation)); in SetMetadataAe()
880 int32_t orientation = OHOS_CAMERA_JPEG_ROTATION_180; in SetMetadataFlash() local
881 metaData->addEntry(OHOS_JPEG_ORIENTATION, &orientation, sizeof(orientation)); in SetMetadataFlash()
953 int32_t orientation in SetMetadataMirror() local
1026 int32_t orientation = mode; SetMetadataJpeg() local
1099 int32_t orientation = OHOS_CAMERA_JPEG_ROTATION_180; SetMetadataAf() local
1172 int32_t orientation = OHOS_CAMERA_JPEG_ROTATION_180; SetMetadataFace() local
1245 int32_t orientation = OHOS_CAMERA_JPEG_ROTATION_180; SetMetadata() local
[all...]
/test/xts/acts/graphic/displayNdk/entry/src/main/cpp/
H A Dnapi_init.cpp134 OH_LOG_INFO(LOG_APP, "GetDefaultDisplayOrientation orientation=%{public}d errorCode=%{public}d.", in GetDefaultDisplayOrientation()
137 napi_value orientation; in GetDefaultDisplayOrientation() local
138 napi_create_int32(env, displayOrientation, &orientation); in GetDefaultDisplayOrientation()
139 return orientation; in GetDefaultDisplayOrientation()
141 return ThrowError(env,errCode, "get default display orientation failed."); in GetDefaultDisplayOrientation()
/test/xts/acts/ability/ability_runtime/featureability/actsfeatureabilitytest/entry/src/ohosTest/js/test/
H A DFeatureAbilityJsunit.test.js1127 expect(typeof (data.orientation)).assertEqual("number");
1157 expect(data.orientation).assertEqual(0);

Completed in 6 milliseconds