/test/testfwk/arkxtest/uitest/record/ |
H A D | utils.h | 21 inline bool NearEqual(const double left, const double right, const double epsilon) in NearEqual() argument 23 return (std::abs(left - right) <= epsilon); in NearEqual() 27 constexpr bool NearEqual(const T& left, const T& right); 30 inline bool NearEqual<float>(const float& left, const float& right) in NearEqual() argument 33 return NearEqual(left, right, epsilon); in NearEqual() 37 inline bool NearEqual<double>(const double& left, const double& right) in NearEqual() argument 40 return NearEqual(left, right, epsilon); in NearEqual() 44 constexpr bool NearEqual(const T& left, const T& right) in NearEqual() argument 46 return left == right; in NearEqual() 54 inline bool NearEqual(const double left, const double right) in NearEqual() argument 66 LessOrEqual(double left, double right) LessOrEqual() argument 72 LessNotEqual(double left, double right) LessNotEqual() argument 78 GreatOrEqual(double left, double right) GreatOrEqual() argument 84 GreatNotEqual(double left, double right) GreatNotEqual() argument [all...] |
/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingNativeRectTest.cpp | 65 // 5. Call OH_Drawing_RectSetRight to set the x-coordinate of the bottom-right corner of rect in HWTEST_F() 67 // 6. Call OH_Drawing_RectSetBottom to set the y-coordinate of the bottom-right corner of rect in HWTEST_F() 126 // 5. Call OH_Drawing_RectSetRight to set the x-coordinate of the bottom-right corner of rect in HWTEST_F() 128 // 6. Call OH_Drawing_RectSetBottom to set the y-coordinate of the bottom-right corner of rect in HWTEST_F() 349 * @tc.desc: Test for setting and getting the right coordinate of a rectangle with normal parameters. 357 // 2. Call OH_Drawing_RectSetRight to set the x-coordinate of the bottom-right corner of rect in HWTEST_F() 359 // 3. Call OH_Drawing_RectGetRight to get the x-coordinate of the bottom-right corner of rect, Returns the value set in HWTEST_F() 361 float right = OH_Drawing_RectGetRight(rect); in HWTEST_F() local 362 EXPECT_TRUE(IsScalarAlmostEqual(right, 300)); in HWTEST_F() 370 * @tc.desc: Test for setting the right coordinat 403 float right = OH_Drawing_RectGetRight(rect); HWTEST_F() local 426 float right = OH_Drawing_RectGetRight(rect); HWTEST_F() local 435 float right = OH_Drawing_RectGetRight(rect); HWTEST_F() local 614 float right = OH_Drawing_RectGetRight(rect); HWTEST_F() local 833 float right = OH_Drawing_RectGetRight(dst); HWTEST_F() local [all...] |
H A D | DrawingNativeTextBlobTest.cpp | 518 float right = OH_Drawing_RectGetRight(rect); in HWTEST_F() local 519 EXPECT_EQ(right - left > 0, true); in HWTEST_F() 582 float right = OH_Drawing_RectGetRight(rect); in HWTEST_F() local 583 EXPECT_EQ(right - left > 0, true); in HWTEST_F() 611 float right = OH_Drawing_RectGetRight(rect); in HWTEST_F() local 612 EXPECT_EQ(right - left > 0, true); in HWTEST_F()
|
/test/xts/acts/graphic/graphicnapidrawingtest/ |
H A D | NativeDrawingRectLargeValueTest.cpp | 89 float right = OH_Drawing_RectGetRight(rect); in HWTEST_F() local 93 EXPECT_TRUE(IsScalarAlmostEqual(right, 2160)); // 2160 means right in HWTEST_F() 112 float right = OH_Drawing_RectGetRight(rectSrc); in HWTEST_F() local 116 EXPECT_TRUE(IsScalarAlmostEqual(right, 2160)); // 2160 means right in HWTEST_F()
|
H A D | NativeDrawingRectTest.cpp | 131 float right = OH_Drawing_RectGetRight(rect); in HWTEST_F() local 135 EXPECT_TRUE(IsScalarAlmostEqual(right, 300)); // 300 means right in HWTEST_F() 154 float right = OH_Drawing_RectGetRight(rectSrc); in HWTEST_F() local 158 EXPECT_TRUE(IsScalarAlmostEqual(right, 333)); // 333 means right in HWTEST_F()
|
/test/testfwk/xdevice/src/xdevice/_core/command/ |
H A D | console.py | 691 left, middle, right = 23, 49, 49 692 two_segments = "{0:-<%s}{1:-<%s}+" % (left, middle + right) 693 two_rows = "|{0:^%s}|{1:^%s}|" % (left - 1, middle + right - 1) 695 three_segments = "{0:-<%s}{1:-<%s}{2:-<%s}+" % (left, middle, right) 697 (left - 1, middle - 1, right - 1) 698 if len(session_id) > middle + right - 1: 699 session_id = "%s..." % session_id[:middle + right - 4] 700 if len(command) > middle + right - 1: 701 command = "%s..." % command[:middle + right - 4] 702 if len(report_path) > middle + right [all...] |
/test/xts/acts/graphic/displayNdk/entry/src/main/cpp/ |
H A D | napi_init.cpp | 259 OH_LOG_INFO(LOG_APP, "cutOutInfo waterfall right rect=[%{public}d %{public}d %{public}d %{public}d]", in CreateDefaultDisplayCutoutInfo() 260 cutOutInfo->waterfallDisplayAreaRects.right.left, cutOutInfo->waterfallDisplayAreaRects.right.top, in CreateDefaultDisplayCutoutInfo() 261 cutOutInfo->waterfallDisplayAreaRects.right.left, cutOutInfo->waterfallDisplayAreaRects.right.left); in CreateDefaultDisplayCutoutInfo()
|
/test/testfwk/arkxtest/uitest/core/ |
H A D | ui_model.h | 117 Rect(int32_t left, int32_t right, int32_t top, int32_t bottom) in Rect() 118 : left_(left), right_(right), top_(top), bottom_(bottom) in Rect() 157 ss << "Rect {left:" << left_ << ",right:" << right_ << ",top:" << top_ << ",bottom:" << bottom_ << "}"; in Describe()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/Dialog/ |
H A D | arkoala_api.h | 1531 void (*setPadding)(ArkUINodeHandle node, const struct ArkUISizeType* top, const struct ArkUISizeType* right, 1534 void (*setMargin)(ArkUINodeHandle node, const struct ArkUISizeType* top, const struct ArkUISizeType* right, 1733 ArkUI_Float32 right, ArkUI_Float32 bottom); 2140 ArkUI_Float32 right, ArkUI_Float32 bottom); 3019 void (*setTextAreaPadding)(ArkUINodeHandle node, const struct ArkUISizeType* top, const struct ArkUISizeType* right, 3063 void (*setTextAreaMargin)(ArkUINodeHandle node, const struct ArkUISizeType* top, const struct ArkUISizeType* right, 3190 const struct ArkUISizeType* right, const struct ArkUISizeType* bottom, const struct ArkUISizeType* left); 3267 void (*setTextInputMargin)(ArkUINodeHandle node, const struct ArkUISizeType* top, const struct ArkUISizeType* right, 3744 const struct ArkUISizeType* right, const struct ArkUISizeType* bottom, const struct ArkUISizeType* left); 4222 void (*setRadioPadding)(ArkUINodeHandle node, const struct ArkUISizeType* top, const struct ArkUISizeType* right, [all...] |
H A D | native_type.h | 1301 /** Components are arranged from left to right. */
1303 /** Components are arranged from right to left. */
1501 /** From right to left. */
1505 /** From left to right. */
1509 /** From lower right to upper left. */
1511 /** From upper right to lower left. */
1513 /** From lower left to upper right. */
1515 /** From upper left to lower right. */
1646 float right;
member 2363 * @param marginRight Indicates the right margi [all...] |