/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/animat/ |
H A D | rs_animat_fraction_test.cpp | 109 ForwardDirection direction = ForwardDirection::NORMAL; in HWTEST_F() local 110 rsAnimationFraction.SetDirectionAfterStart(direction); in HWTEST_F() 111 EXPECT_EQ(direction, ForwardDirection::NORMAL); in HWTEST_F()
|
/third_party/ffmpeg/libavcodec/ |
H A D | aacenc_tns.c | 90 put_bits(&s->pb, 1, tns->direction[i][filt]); in ff_aac_encode_tns_info() 126 if (tns->direction[w][filt]) { in ff_aac_apply_tns() 204 tns->direction[w][g] = slant != 2 ? slant : en[g] < en[!g]; in ff_aac_search_for_tns()
|
/third_party/backends/backend/ |
H A D | kvs1025_usb.c | 232 if (header->direction == KV_CMD_IN) in kv_usb_escape() 263 if (header->direction == KV_CMD_OUT) in kv_usb_escape() 350 hdr.direction = KV_CMD_IN; in kv_usb_send_command()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_nir_lower_io_offsets.c | 87 int32_t direction, int32_t shift) in check_and_propagate_bit_shift32() 99 int32_t current_shift = const_val[0].i32 * direction; in check_and_propagate_bit_shift32() 102 /* If the merge would reverse the direction, bail out. in check_and_propagate_bit_shift32() 114 /* Add or substract shift depending on the final direction (SHR vs. SHL). */ in check_and_propagate_bit_shift32() 115 if (shift * direction < 0) in check_and_propagate_bit_shift32() 86 check_and_propagate_bit_shift32(nir_builder *b, nir_alu_instr *alu_instr, int32_t direction, int32_t shift) check_and_propagate_bit_shift32() argument
|
H A D | ir3_postsched.c | 346 enum { F, R } direction; member 351 * wrote a given register (in whichever direction we are iterating 385 if (state->direction == F) { in add_dep() 400 if (src_n >= 0 && dep && state->direction == F) { in add_single_reg_dep() 458 * in the reverse direction) wrote any of our src registers: in calculate_deps() 502 .direction = F, in calculate_forward_deps() 516 .direction = R, in calculate_reverse_deps()
|
/third_party/skia/third_party/externals/angle2/util/ |
H A D | geometry_utils.cpp | 38 Vector3 direction(sinf(angleStep * i) * sinf(angleStep * j), cosf(angleStep * i), in CreateSphereGeometry() 42 result->positions[vertexIdx] = direction * radius; in CreateSphereGeometry() 43 result->normals[vertexIdx] = direction; in CreateSphereGeometry()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-common.cc | 184 * @direction: The #hb_direction_t to convert 188 * Return value: (transfer none): The string corresponding to @direction 193 hb_direction_to_string (hb_direction_t direction) in hb_direction_to_string() argument 195 if (likely ((unsigned int) (direction - HB_DIRECTION_LTR) in hb_direction_to_string() 197 return direction_strings[direction - HB_DIRECTION_LTR]; in hb_direction_to_string()
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
H A D | shape-options.hh | 36 g_free (direction); in ~shape_options_t() 47 hb_buffer_set_direction (buffer, hb_direction_from_string (direction, -1)); in setup_buffer() 294 char *direction = nullptr; 424 {"direction", 0, 0, G_OPTION_ARG_STRING, &this->direction, "Set text direction (default: auto)", "ltr/rtl/ttb/btt"},
|
/third_party/skia/modules/skottie/src/effects/ |
H A D | SphereEffect.cpp | 91 // - "light height" and "light direction" specify the light source position in spherical coords 93 // Implementation-wise, light intensity/height/direction are all combined into l_vec. 363 const auto light_vec = [](float height, float direction) { 366 x = std::cos(direction) * r, 367 y = std::sin(direction) * r;
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_input_manager.cpp | 50 static_cast<int32_t>(a.direction) != static_cast<int32_t>(b.direction) ||
in operator ==() 166 " direction: " + std::to_string(static_cast<int>(info.direction)) +
in DumpDisplayInfo() 221 .direction = ConvertDegreeToMMIRotation(screenProperty.GetRotation(),
in ConstructDisplayInfos() 458 std::to_string(static_cast<int32_t>(displayInfo.direction)) + "|" +
in PrintDisplayInfo()
|
/third_party/pulseaudio/src/modules/echo-cancel/ |
H A D | webrtc.cc | 184 /* The target direction is expected to be in spherical point form: in parse_mic_geometry() 191 * move in a counter-clockwise direction. in parse_mic_geometry() 382 webrtc::SphericalPointf direction(0.0f, 0.0f, 0.0f); in pa_webrtc_ec_init() 415 direction.s[0] = f[0]; in pa_webrtc_ec_init() 416 direction.s[1] = f[1]; in pa_webrtc_ec_init() 417 direction.s[2] = f[2]; in pa_webrtc_ec_init() 423 config.Set<webrtc::Beamforming>(new webrtc::Beamforming(true, geometry, direction)); in pa_webrtc_ec_init()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/ |
H A D | rating_pattern.cpp | 224 auto direction = ratingLayoutProperty->GetLayoutDirection(); in CreateNodePaintMethod() local 225 auto reverse = direction == TextDirection::AUTO ? AceApplicationInfo::GetInstance().IsRightToLeft() : in CreateNodePaintMethod() 226 direction == TextDirection::RTL; in CreateNodePaintMethod() 301 auto direction = ratingLayoutProperty->GetLayoutDirection(); in RecalculatedRatingScoreBasedOnEventPoint() local 302 auto reverse = direction == TextDirection::AUTO ? AceApplicationInfo::GetInstance().IsRightToLeft() : in RecalculatedRatingScoreBasedOnEventPoint() 303 direction == TextDirection::RTL; in RecalculatedRatingScoreBasedOnEventPoint() 517 auto direction = property->GetLayoutDirection(); in GetInnerFocusPaintRect() local 518 auto reverse = direction == TextDirection::AUTO ? AceApplicationInfo::GetInstance().IsRightToLeft() : in GetInnerFocusPaintRect() 519 direction == TextDirection::RTL; in GetInnerFocusPaintRect()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_content_modifier.cpp | 137 void SetStartEndPointLocation(Axis& direction, RSRect& trackRect, RSPoint& startPoint, RSPoint& endPoint) in SetStartEndPointLocation() argument 139 if (direction == Axis::HORIZONTAL) { in SetStartEndPointLocation() 164 auto direction = static_cast<Axis>(directionAxis_->Get()); in DrawBackground() local 167 SetStartEndPointLocation(direction, trackRect, startPoint, endPoint); in DrawBackground() 254 auto direction = static_cast<Axis>(directionAxis_->Get()); in DrawSelect() local 264 if (direction == Axis::HORIZONTAL) { in DrawSelect() 270 if (direction == Axis::HORIZONTAL) { in DrawSelect() 501 auto direction = static_cast<Axis>(directionAxis_->Get()); in GetTrackRect() local 507 if (direction == Axis::HORIZONTAL) { in GetTrackRect()
|
/foundation/multimodalinput/input/service/mouse_event_normalize/src/ |
H A D | mouse_transform_processor.cpp | 113 CalculateOffset(displayInfo->direction, offset); in HandleMotionInner() 155 void MouseTransformProcessor::CalculateOffset(Direction direction, Offset &offset) in CalculateOffset() argument 158 if (direction == DIRECTION90) { in CalculateOffset() 162 } else if (direction == DIRECTION180) { in CalculateOffset() 165 } else if (direction == DIRECTION270) { in CalculateOffset() 229 if (cursorPos.direction != displayInfo->direction) { in HandleButtonInner() 301 int32_t& direction, bool& tpScrollSwitch) in HandleTouchPadAxisState() 307 direction = -1; in HandleTouchPadAxisState() 300 HandleTouchPadAxisState(libinput_pointer_axis_source source, int32_t& direction, bool& tpScrollSwitch) HandleTouchPadAxisState() argument
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | gesture_event_hub.h | 174 void SetPanEvent(const RefPtr<PanEvent>& panEvent, PanDirection direction, int32_t fingers, Dimension distance); 175 void AddPanEvent(const RefPtr<PanEvent>& panEvent, PanDirection direction, int32_t fingers, Dimension distance); 179 void SetDragEvent(const RefPtr<DragEvent>& dragEvent, PanDirection direction, int32_t fingers, Dimension distance); 181 const RefPtr<DragEvent>& dragEvent, PanDirection direction, int32_t fingers, Dimension distance);
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | slide_recognizer.cpp | 447 void SlideRecognizer::ChangeDirection(const SwipeDirection& direction) in ChangeDirection() argument 449 if (direction_.type != direction.type) { in ChangeDirection() 450 direction_.type = direction.type; in ChangeDirection() 451 newDirection_.type = direction.type; in ChangeDirection()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | node_node_relative_container.cpp | 51 guideline->styles[index].direction = value; in OH_ArkUI_GuidelineOption_SetDirection() 85 return guideline->styles[index].direction; in OH_ArkUI_GuidelineOption_GetDirection() 135 barrierStyle->styles[index].direction = value; in OH_ArkUI_BarrierOption_SetDirection() 159 return barrierStyle->styles[index].direction; in OH_ArkUI_BarrierOption_GetDirection()
|
/foundation/barrierfree/accessibility/common/interface/test/fuzztest/accessibleabilitychannelstub_fuzzer/ |
H A D | accessibleabilitychannelstub_fuzzer.cpp | 52 RetError FocusMoveSearch(const int32_t accessibilityWindowId, const int64_t elementId, const int32_t direction, 205 int32_t direction = 0; in FuzzHandleFocusMoveSearch() local 213 position += GetObject<int32_t>(direction, &data[position], size - position); in FuzzHandleFocusMoveSearch() 219 mdata.WriteInt32(direction); in FuzzHandleFocusMoveSearch()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | path.cpp | 68 void Path::ArcTo(scalar rx, scalar ry, scalar angle, PathDirection direction, scalar endX, scalar endY) in ArcTo() argument 70 impl_->ArcTo(rx, ry, angle, direction, endX, endY); in ArcTo() 113 void Path::RArcTo(scalar rx, scalar ry, scalar angle, PathDirection direction, scalar dx, scalar dy) in RArcTo() argument 115 impl_->RArcTo(rx, ry, angle, direction, dx, dy); in RArcTo()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
H A D | LocaleDistance.java | 246 int shiftedThreshold, FavorSubtag favorSubtag, LocaleMatcher.Direction direction) { in getBestIndexAndDistance() 350 if (direction != LocaleMatcher.Direction.ONLY_TWO_WAY || in getBestIndexAndDistance() 363 if (direction != LocaleMatcher.Direction.ONLY_TWO_WAY || in getBestIndexAndDistance() 371 if (direction != LocaleMatcher.Direction.ONLY_TWO_WAY || in getBestIndexAndDistance() 245 getBestIndexAndDistance(LSR desired, LSR[] supportedLSRs, int supportedLSRsLength, int shiftedThreshold, FavorSubtag favorSubtag, LocaleMatcher.Direction direction) getBestIndexAndDistance() argument
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
H A D | LocaleDistance.java | 251 int shiftedThreshold, FavorSubtag favorSubtag, LocaleMatcher.Direction direction) { in getBestIndexAndDistance() 355 if (direction != LocaleMatcher.Direction.ONLY_TWO_WAY || in getBestIndexAndDistance() 368 if (direction != LocaleMatcher.Direction.ONLY_TWO_WAY || in getBestIndexAndDistance() 376 if (direction != LocaleMatcher.Direction.ONLY_TWO_WAY || in getBestIndexAndDistance() 250 getBestIndexAndDistance(LSR desired, LSR[] supportedLSRs, int supportedLSRsLength, int shiftedThreshold, FavorSubtag favorSubtag, LocaleMatcher.Direction direction) getBestIndexAndDistance() argument
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/ |
H A D | TestData.java | 248 protected byte direction; field in TestData 255 byte direction, byte paraLevel, byte resultLevel, byte[] levels, in TestData() 260 this.direction = direction; in TestData() 254 TestData(short[] dirProps, int lineStart, int lineLimit, byte direction, byte paraLevel, byte resultLevel, byte[] levels, int[] visualMap) TestData() argument
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
H A D | TestData.java | 245 protected byte direction; field in TestData 252 byte direction, byte paraLevel, byte resultLevel, byte[] levels, in TestData() 257 this.direction = direction; in TestData() 251 TestData(short[] dirProps, int lineStart, int lineLimit, byte direction, byte paraLevel, byte resultLevel, byte[] levels, int[] visualMap) TestData() argument
|
/third_party/node/deps/openssl/openssl/util/perl/TLSProxy/ |
H A D | Proxy.pm | 105 direction => -1, 151 $self->{direction} = -1; 480 if ($self->{direction} != $server) { 482 $self->{direction} = $server;
|
/third_party/openssl/util/perl/TLSProxy/ |
H A D | Proxy.pm | 105 direction => -1, 151 $self->{direction} = -1; 480 if ($self->{direction} != $server) { 482 $self->{direction} = $server;
|