OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:scrollView
(Results
1 - 14
of
14
) sorted by null
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowScrollViewTest.java
5
import android.widget.
ScrollView
;
15
ScrollView
scrollView
= new
ScrollView
(ApplicationProvider.getApplicationContext());
16
scrollView
.smoothScrollTo(7, 6);
18
assertEquals(7,
scrollView
.getScrollX());
19
assertEquals(6,
scrollView
.getScrollY());
24
ScrollView
scrollView
= new
ScrollView
(ApplicationProvider.getApplicationContext())
[
all
...]
/external/setupdesign/main/src/com/google/android/setupdesign/template/
ScrollViewScrollHandlingDelegate.java
22
import android.widget.
ScrollView
;
38
@Nullable private final BottomScrollView
scrollView
;
41
@NonNull RequireScrollMixin requireScrollMixin, @Nullable
ScrollView
scrollView
) {
43
if (
scrollView
instanceof BottomScrollView) {
44
this.
scrollView
= (BottomScrollView)
scrollView
;
46
Log.w(TAG, "Cannot set non-BottomScrollView. Found=" +
scrollView
);
47
this.
scrollView
= null;
63
if (
scrollView
!= null)
[
all
...]
/developers/build/prebuilts/gradle/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/
MainActivity.java
33
import android.widget.
ScrollView
;
121
final
ScrollView
scrollView
= (
ScrollView
) findViewById(R.id.scroll);
122
scrollView
.post(new Runnable() {
125
scrollView
.fullScroll(scrollDirection);
/developers/samples/android/deprecated/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/
MainActivity.java
33
import android.widget.
ScrollView
;
121
final
ScrollView
scrollView
= (
ScrollView
) findViewById(R.id.scroll);
122
scrollView
.post(new Runnable() {
125
scrollView
.fullScroll(scrollDirection);
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/
MainActivity.java
33
import android.widget.
ScrollView
;
121
final
ScrollView
scrollView
= (
ScrollView
) findViewById(R.id.scroll);
122
scrollView
.post(new Runnable() {
125
scrollView
.fullScroll(scrollDirection);
/cts/tests/tests/view/src/android/view/cts/
FrameMetricsListenerTest.java
30
import android.widget.
ScrollView
;
72
final
ScrollView
scrollView
= (
ScrollView
) mActivity.findViewById(R.id.scroll_view);
86
scrollView
.postInvalidate();
98
WidgetTestUtils.runOnMainAndDrawSync(mActivityRule,
scrollView
, null);
106
final
ScrollView
scrollView
= (
ScrollView
) mActivity.findViewById(R.id.scroll_view);
135
mActivityRule.runOnUiThread(() ->
scrollView
.fling(-100))
[
all
...]
ViewTreeObserverTest.java
36
import android.widget.
ScrollView
;
306
final
ScrollView
scrollView
= (
ScrollView
) mActivity.findViewById(R.id.scroll_view);
308
mViewTreeObserver =
scrollView
.getViewTreeObserver();
314
mActivityRule.runOnUiThread(() ->
scrollView
.fullScroll(View.FOCUS_DOWN));
321
mActivityRule.runOnUiThread(() ->
scrollView
.fullScroll(View.FOCUS_UP));
ViewTest.java
709
MockView
scrollView
= (MockView) mActivity.findViewById(R.id.scroll_view);
724
scrollView
.setTag(viewGroup);
725
assertSame(viewGroup,
scrollView
.getTag());
729
assertSame(
scrollView
, viewGroup.findViewWithTag(viewGroup));
[
all
...]
/developers/build/prebuilts/gradle/MultiWindowPlayground/Application/src/main/java/com/android/multiwindowplayground/activities/
LoggingActivity.java
150
View
scrollView
= findViewById(R.id.
scrollview
);
151
if (
scrollView
!= null) {
152
scrollView
.setBackgroundResource(colorId);
/developers/samples/android/ui/window/MultiWindowPlayground/Application/src/main/java/com/android/multiwindowplayground/activities/
LoggingActivity.java
150
View
scrollView
= findViewById(R.id.
scrollview
);
151
if (
scrollView
!= null) {
152
scrollView
.setBackgroundResource(colorId);
/development/samples/browseable/MultiWindowPlayground/src/com/android.multiwindowplayground/activities/
LoggingActivity.java
150
View
scrollView
= findViewById(R.id.
scrollview
);
151
if (
scrollView
!= null) {
152
scrollView
.setBackgroundResource(colorId);
/external/setupdesign/main/src/com/google/android/setupdesign/
GlifLayout.java
36
import android.widget.
ScrollView
;
124
final
ScrollView
scrollView
= getScrollView();
125
if (
scrollView
!= null) {
127
new ScrollViewScrollHandlingDelegate(requireScrollMixin,
scrollView
));
198
public
ScrollView
getScrollView() {
200
return view instanceof
ScrollView
? (
ScrollView
) view : null;
SetupWizardLayout.java
39
import android.widget.
ScrollView
;
92
final
ScrollView
scrollView
= getScrollView();
93
if (
scrollView
!= null) {
95
new ScrollViewScrollHandlingDelegate(requireScrollMixin,
scrollView
));
192
public
ScrollView
getScrollView() {
194
return view instanceof
ScrollView
? (
ScrollView
) view : null;
/cts/tests/tests/widget/src/android/widget/cts/
HorizontalScrollViewTest.java
665
MyHorizontalScrollView
scrollView
= new MyHorizontalScrollView(mActivity);
666
assertEquals(0,
scrollView
.getChildCount());
667
assertEquals(0,
scrollView
.computeHorizontalScrollRange());
[
all
...]
Completed in 1124 milliseconds