File tree Expand file tree Collapse file tree
entry/src/main/java/com/viven/imagezoom/sample
imagezoom/src/main/java/com/viven/imagezoom Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717package com .viven .imagezoom .sample ;
1818
19- import com .viven .imagezoom .sample .slice .MainAbilitySlice ;
2019import ohos .aafwk .ability .Ability ;
2120import ohos .aafwk .content .Intent ;
21+ import com .viven .imagezoom .sample .slice .MainAbilitySlice ;
2222
2323/**
2424 * Ability to test ImageZoomHelper class.
Original file line number Diff line number Diff line change 1616
1717package com .viven .imagezoom .sample ;
1818
19- import com .viven .imagezoom .ImageZoomHelper ;
20- import java .util .List ;
2119import ohos .aafwk .ability .AbilitySlice ;
2220import ohos .agp .components .BaseItemProvider ;
2321import ohos .agp .components .Component ;
2422import ohos .agp .components .ComponentContainer ;
2523import ohos .agp .components .LayoutScatter ;
2624import ohos .agp .components .element .FrameAnimationElement ;
2725import ohos .multimodalinput .event .TouchEvent ;
26+ import com .viven .imagezoom .ImageZoomHelper ;
27+ import java .util .List ;
2828
2929/**
3030 * Item Provider to put items into the list container.
Original file line number Diff line number Diff line change 1616
1717package com .viven .imagezoom .sample .slice ;
1818
19- import com .viven .imagezoom .ImageZoomHelper ;
20- import com .viven .imagezoom .sample .ResourceTable ;
2119import ohos .aafwk .ability .AbilitySlice ;
2220import ohos .aafwk .content .Intent ;
2321import ohos .agp .components .Component ;
2422import ohos .agp .components .Image ;
2523import ohos .multimodalinput .event .TouchEvent ;
24+ import com .viven .imagezoom .ImageZoomHelper ;
25+ import com .viven .imagezoom .sample .ResourceTable ;
2626
2727/**
2828 * Ability Slice to test basic zooming feature.
Original file line number Diff line number Diff line change 1616
1717package com .viven .imagezoom .sample .slice ;
1818
19- import com .viven .imagezoom .sample .ResourceTable ;
2019import ohos .aafwk .ability .AbilitySlice ;
2120import ohos .aafwk .content .Intent ;
21+ import com .viven .imagezoom .sample .ResourceTable ;
2222
2323/**
2424 * Ability Slice to test available zooming features.
Original file line number Diff line number Diff line change 1616
1717package com .viven .imagezoom .sample .slice ;
1818
19+ import ohos .aafwk .ability .AbilitySlice ;
20+ import ohos .aafwk .content .Intent ;
21+ import ohos .agp .components .Component ;
22+ import ohos .agp .components .ListContainer ;
1923import com .viven .imagezoom .ImageZoomHelper ;
2024import com .viven .imagezoom .sample .ResourceTable ;
2125import com .viven .imagezoom .sample .SampleItemProvider ;
2226import java .util .ArrayList ;
2327import java .util .List ;
24- import ohos .aafwk .ability .AbilitySlice ;
25- import ohos .aafwk .content .Intent ;
26- import ohos .agp .components .Component ;
27- import ohos .agp .components .ListContainer ;
2828
2929/**
3030 * Ability Slice to test zooming feature in a list container.
Original file line number Diff line number Diff line change 11package com .viven .imagezoom ;
22
3- import java .lang .ref .WeakReference ;
4- import java .time .Duration ;
5- import java .time .Instant ;
6- import java .util .ArrayList ;
7- import java .util .List ;
8- import java .util .Optional ;
93import ohos .aafwk .ability .Ability ;
104import ohos .agp .animation .AnimatorValue ;
115import ohos .agp .components .Component ;
1812import ohos .app .Context ;
1913import ohos .multimodalinput .event .MmiPoint ;
2014import ohos .multimodalinput .event .TouchEvent ;
15+ import java .lang .ref .WeakReference ;
16+ import java .time .Duration ;
17+ import java .time .Instant ;
18+ import java .util .ArrayList ;
19+ import java .util .List ;
20+ import java .util .Optional ;
2121
2222/**
2323 * Created by viventhraarao on 25/11/2016.
You can’t perform that action at this time.
0 commit comments