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:magnet
(Results
1 - 2
of
2
) sorted by relevance
/foundation/arkui/ace_engine/frameworks/base/geometry/
H
A
D
rect.h
270
* Case 1 : Inside. Rect won't be move because it is already attracted by
magnet
.
295
* Case 3: Half Inside. R will be moved totally into
magnet
.
308
* Case 4: Outside or Half Outside but space not enough. R will be moved into
magnet
as more as possible.
321
* Case 5: Totally Across
magnet
. Nothing should happen.
336
* @param[in]
magnet
The magnetical rectangle.
338
* @return The offset that this rect need to moving into
magnet
.
340
Offset MagneticAttractedBy(const Rect&
magnet
)
in MagneticAttractedBy()
argument
343
if (IsWrappedBy(
magnet
)) {
in MagneticAttractedBy()
347
if (Left() <
magnet
.Left()) {
in MagneticAttractedBy()
348
offset.SetX(std::max(0.0, std::min(
magnet
in MagneticAttractedBy()
[all...]
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H
A
D
rect_t.h
349
OffsetT<T> MagneticAttractedBy(const RectT&
magnet
)
in MagneticAttractedBy()
argument
352
if (IsWrappedBy(
magnet
)) {
in MagneticAttractedBy()
356
if (LessNotEqual(Left(),
magnet
.Left())) {
in MagneticAttractedBy()
357
offset.SetX(std::max(0.0, std::min(
magnet
.Left() - Left(),
magnet
.Right() - Right())));
in MagneticAttractedBy()
358
} else if (GreatNotEqual(Right(),
magnet
.Right())) {
in MagneticAttractedBy()
359
offset.SetX(std::min(0.0, std::max(
magnet
.Left() - Left(),
magnet
.Right() - Right())));
in MagneticAttractedBy()
364
if (LessNotEqual(Top(),
magnet
.Top())) {
in MagneticAttractedBy()
365
offset.SetY(std::max(0.0, std::min(
magnet
in MagneticAttractedBy()
[all...]
Completed in 2 milliseconds