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:switchTheme
(Results
1 - 11
of
11
) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
H
A
D
switch_paint_method.cpp
31
auto
switchTheme
= pipeline->GetTheme<SwitchTheme>();
in SwitchModifier()
local
32
CHECK_NULL_VOID(
switchTheme
);
in SwitchModifier()
35
animatePointColor_ = AceType::MakeRefPtr<AnimatablePropertyColor>(LinearColor(
switchTheme
->GetPointColor()));
in SwitchModifier()
63
auto
switchTheme
= pipeline->GetTheme<SwitchTheme>();
in InitializeParam()
local
64
CHECK_NULL_VOID(
switchTheme
);
in InitializeParam()
65
activeColor_ =
switchTheme
->GetActiveColor();
in InitializeParam()
67
clickEffectColor_ =
switchTheme
->GetInteractivePressedColor();
in InitializeParam()
68
hoverColor_ =
switchTheme
->GetInteractiveHoverColor();
in InitializeParam()
70
hoverDuration_ =
switchTheme
->GetHoverDuration();
in InitializeParam()
71
hoverToTouchDuration_ =
switchTheme
in InitializeParam()
93
auto
switchTheme
= pipelineContext->GetTheme<SwitchTheme>();
PaintSwitch()
local
162
auto
switchTheme
= pipelineContext->GetTheme<SwitchTheme>();
GetSwitchWidth()
local
[all...]
H
A
D
switch_layout_algorithm.cpp
38
auto
switchTheme
= pipeline->GetTheme<SwitchTheme>();
in MeasureContent()
local
39
CHECK_NULL_RETURN(
switchTheme
, std::nullopt);
in MeasureContent()
44
auto width = (
switchTheme
->GetWidth() -
switchTheme
->GetHotZoneHorizontalPadding() * 2).ConvertToPx();
in MeasureContent()
53
auto height = (
switchTheme
->GetHeight() -
switchTheme
->GetHotZoneVerticalPadding() * 2).ConvertToPx();
in MeasureContent()
105
auto
switchTheme
= pipeline->GetTheme<SwitchTheme>();
in CalcHeightAndWidth()
local
106
CHECK_NULL_VOID(
switchTheme
);
in CalcHeightAndWidth()
111
auto ratio =
switchTheme
->GetRatio();
in CalcHeightAndWidth()
H
A
D
switch_paint_method.h
50
auto
switchTheme
= pipeline->GetTheme<SwitchTheme>();
variable
51
auto boardColor = isSelect_ ? paintProperty->GetSelectedColorValue(
switchTheme
->GetActiveColor())
52
:
switchTheme
->GetInactivePointColor();
67
auto
switchTheme
= pipeline->GetTheme<SwitchTheme>();
in UpdateBoundsRect()
local
68
auto horizontalPadding =
switchTheme
->GetHotZoneHorizontalPadding().ConvertToPx();
in UpdateBoundsRect()
69
auto verticalPadding =
switchTheme
->GetHotZoneVerticalPadding().ConvertToPx();
in UpdateBoundsRect()
71
(
switchTheme
->GetHeight().ConvertToPx() - verticalPadding * 2);
in UpdateBoundsRect()
H
A
D
switch_paint_property.h
46
auto
switchTheme
= pipelineContext->GetTheme<SwitchTheme>();
in ToJsonValue()
local
47
CHECK_NULL_VOID(
switchTheme
);
in ToJsonValue()
48
auto defaultHeight = (
switchTheme
->GetHeight() -
switchTheme
->GetHotZoneVerticalPadding() * 2);
in ToJsonValue()
H
A
D
switch_pattern.cpp
131
auto
switchTheme
= pipeline->GetTheme<SwitchTheme>();
in UpdateSwitchLayoutProperty()
local
132
CHECK_NULL_VOID(
switchTheme
);
in UpdateSwitchLayoutProperty()
134
margin.left = CalcLength(
switchTheme
->GetHotZoneHorizontalPadding().Value());
in UpdateSwitchLayoutProperty()
135
margin.right = CalcLength(
switchTheme
->GetHotZoneHorizontalPadding().Value());
in UpdateSwitchLayoutProperty()
136
margin.top = CalcLength(
switchTheme
->GetHotZoneVerticalPadding().Value());
in UpdateSwitchLayoutProperty()
137
margin.bottom = CalcLength(
switchTheme
->GetHotZoneVerticalPadding().Value());
in UpdateSwitchLayoutProperty()
159
hotZoneHorizontalPadding_ =
switchTheme
->GetHotZoneHorizontalPadding();
in UpdateSwitchLayoutProperty()
160
hotZoneVerticalPadding_ =
switchTheme
->GetHotZoneVerticalPadding();
in UpdateSwitchLayoutProperty()
458
auto
switchTheme
= pipelineContext->GetTheme<SwitchTheme>();
in GetInnerFocusPaintRect()
local
459
CHECK_NULL_VOID(
switchTheme
);
in GetInnerFocusPaintRect()
604
auto
switchTheme
= pipeline->GetTheme<SwitchTheme>();
OnColorConfigurationUpdate()
local
[all...]
H
A
D
switch_pattern.h
92
auto
switchTheme
= pipelineContext->GetTheme<SwitchTheme>();
variable
93
CHECK_NULL_RETURN(
switchTheme
, FocusPattern());
94
auto focusPaintcolor =
switchTheme
->GetActiveColor();
/foundation/arkui/ace_engine/test/unittest/core/pattern/toggle/
H
A
D
toggle_switch_test_ng.cpp
122
// set
switchTheme
to themeManager before using themeManager to get
switchTheme
in HWTEST_F()
126
// update
switchTheme
values
in HWTEST_F()
127
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
in HWTEST_F()
local
128
switchTheme
->width_ = TOGGLE_WIDTH;
in HWTEST_F()
129
switchTheme
->height_ = TOGGLE_HEIGHT;
in HWTEST_F()
130
switchTheme
->hotZoneHorizontalPadding_ = ZERO;
in HWTEST_F()
131
EXPECT_CALL(*themeManager, GetTheme(_)).WillRepeatedly(Return(
switchTheme
));
in HWTEST_F()
177
// set
switchTheme
to themeManager before using themeManager to get
switchTheme
in HWTEST_F()
182
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
236
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
293
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
350
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
407
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
464
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
520
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
576
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
634
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
688
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
742
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
788
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
832
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
881
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
929
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
974
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
1021
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
1077
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
1125
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
1172
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
1217
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
[all...]
H
A
D
toggle_test_ng.cpp
377
// set
switchTheme
to themeManager before using themeManager to get
switchTheme
in HWTEST_F()
624
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
in HWTEST_F()
local
625
EXPECT_CALL(*themeManager, GetTheme(_)).WillRepeatedly(Return(
switchTheme
));
in HWTEST_F()
636
EXPECT_EQ(switchPaintProperty->GetSelectedColor(),
switchTheme
->GetActiveColor());
in HWTEST_F()
662
// set
switchTheme
to themeManager before using themeManager to get
switchTheme
in HWTEST_F()
665
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
in HWTEST_F()
local
666
EXPECT_CALL(*themeManager, GetTheme(_)).WillRepeatedly(Return(
switchTheme
));
in HWTEST_F()
675
CalcLength(
switchTheme
in HWTEST_F()
773
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
825
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
895
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
978
auto
switchTheme
= AceType::MakeRefPtr<SwitchTheme>();
HWTEST_F()
local
1005
auto
switchTheme
= MockPipelineContext::GetCurrent()->GetTheme<SwitchTheme>();
HWTEST_F()
local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H
A
D
toggle_model_impl.cpp
41
RefPtr<SwitchTheme>
switchTheme
= JSViewAbstract::GetTheme<SwitchTheme>();
in Create()
local
42
if (!
switchTheme
) {
in Create()
45
RefPtr<SwitchComponent> switchComponent = AceType::MakeRefPtr<OHOS::Ace::SwitchComponent>(
switchTheme
);
in Create()
48
auto horizontalPadding =
switchTheme
->GetHotZoneHorizontalPadding();
in Create()
49
auto verticalPadding =
switchTheme
->GetHotZoneVerticalPadding();
in Create()
50
switchComponent->SetWidth(
switchTheme
->GetWidth() - horizontalPadding * 2);
in Create()
51
switchComponent->SetHeight(
switchTheme
->GetHeight() - verticalPadding * 2);
in Create()
78
RefPtr<SwitchTheme>
switchTheme
= JSViewAbstract::GetTheme<SwitchTheme>();
in Create()
local
79
if (!
switchTheme
) {
in Create()
82
box->SetWidth(
switchTheme
in Create()
[all...]
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H
A
D
node_toggle_modifier.cpp
122
auto
switchTheme
= GetTheme<SwitchTheme>();
in ResetToggleHeight()
local
123
CHECK_NULL_VOID(
switchTheme
);
in ResetToggleHeight()
124
auto defaultHeight =
switchTheme
->GetHeight();
in ResetToggleHeight()
125
auto verticalPadding =
switchTheme
->GetHotZoneVerticalPadding();
in ResetToggleHeight()
284
auto
switchTheme
= themeManager->GetTheme<SwitchTheme>();
in ResetToggleUnselectedColor()
local
285
CHECK_NULL_VOID(
switchTheme
);
in ResetToggleUnselectedColor()
287
if (
switchTheme
) {
in ResetToggleUnselectedColor()
288
unselectedColor =
switchTheme
->GetInactiveColor();
in ResetToggleUnselectedColor()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H
A
D
js_toggle.cpp
160
auto
switchTheme
= GetTheme<SwitchTheme>();
in JsWidth()
local
161
CHECK_NULL_VOID(
switchTheme
);
in JsWidth()
162
auto defaultWidth =
switchTheme
->GetWidth();
in JsWidth()
163
auto horizontalPadding =
switchTheme
->GetHotZoneHorizontalPadding();
in JsWidth()
196
auto
switchTheme
= pipeline->GetTheme<SwitchTheme>();
in JsHeight()
local
197
CHECK_NULL_VOID(
switchTheme
);
in JsHeight()
198
auto defaultHeight =
switchTheme
->GetHeight();
in JsHeight()
199
auto verticalPadding =
switchTheme
->GetHotZoneVerticalPadding();
in JsHeight()
Completed in 9 milliseconds