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:curRatio
(Results
1 - 4
of
4
) sorted by relevance
/foundation/window/window_manager/wmserver/src/
H
A
D
window_layout_policy_cascade.cpp
346
float
curRatio
= static_cast<float>(newRect.width_) / static_cast<float>(newRect.height_);
in ComputeRectByAspectRatio()
local
347
if (std::abs(
curRatio
- aspectRatio) > 0.0001f) {
in ComputeRectByAspectRatio()
780
float
curRatio
= static_cast<float>(winRect.width_) / static_cast<float>(winRect.height_);
in FixWindowSizeByRatioIfDragBeyondLimitRegion()
local
781
if (sizeLimits.minRatio_ <=
curRatio
&&
curRatio
<= sizeLimits.maxRatio_) {
in FixWindowSizeByRatioIfDragBeyondLimitRegion()
782
WLOGFD("window ratio is satisfied with limit ratio,
curRatio
: %{public}f",
curRatio
);
in FixWindowSizeByRatioIfDragBeyondLimitRegion()
805
float newRatio =
curRatio
< sizeLimits.minRatio_ ? sizeLimits.minRatio_ : sizeLimits.maxRatio_;
in FixWindowSizeByRatioIfDragBeyondLimitRegion()
856
float
curRatio
= static_cast<float>(winRect.width_) / static_cast<float>(winRect.height_);
local
859
(sizeLimits.minRatio_ <=
curRatio
[all...]
/foundation/window/window_manager/utils/include/
H
A
D
window_helper.h
511
auto
curRatio
= static_cast<float>(rect.width_) / static_cast<float>(rect.height_);
in IsRectSatisfiedWithSizeLimits()
local
514
sizeLimits.minRatio_ <=
curRatio
&&
curRatio
<= sizeLimits.maxRatio_) {
in IsRectSatisfiedWithSizeLimits()
/foundation/window/window_manager/window_scene/session/host/src/
H
A
D
move_drag_controller.cpp
648
float
curRatio
= static_cast<float>(targetRect.width_) / static_cast<float>(targetRect.height_);
in CalcFreeformTargetRect()
local
649
if (!MathHelper::GreatNotEqual(limits_.minRatio_,
curRatio
) &&
in CalcFreeformTargetRect()
650
!MathHelper::GreatNotEqual(
curRatio
, limits_.maxRatio_)) {
in CalcFreeformTargetRect()
653
float newRatio = MathHelper::LessNotEqual(
curRatio
, limits_.minRatio_) ? limits_.minRatio_ : limits_.maxRatio_;
in CalcFreeformTargetRect()
/foundation/window/window_manager/wm/src/
H
A
D
window_scene_session_impl.cpp
1596
float
curRatio
= static_cast<float>(width) / static_cast<float>(height);
in UpdateFloatingWindowSizeBySizeLimits()
local
1599
(!MathHelper::GreatNotEqual(sizeLimits.minRatio_,
curRatio
) &&
in UpdateFloatingWindowSizeBySizeLimits()
1600
!MathHelper::GreatNotEqual(
curRatio
, sizeLimits.maxRatio_))) {
in UpdateFloatingWindowSizeBySizeLimits()
1604
float newRatio =
curRatio
< sizeLimits.minRatio_ ? sizeLimits.minRatio_ : sizeLimits.maxRatio_;
in UpdateFloatingWindowSizeBySizeLimits()
Completed in 12 milliseconds