OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:scrollView
(Results
1 - 25
of
42
) sorted by null
1
2
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ScrollViewTest.java
3
import android.widget.
ScrollView
;
14
ScrollView
scrollView
= new
ScrollView
(null);
15
scrollView
.smoothScrollTo(7, 6);
17
assertEquals(7,
scrollView
.getScrollX());
18
assertEquals(6,
scrollView
.getScrollY());
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GlyphCacheActivity.java
24
import android.widget.
ScrollView
;
39
ScrollView
scrollView
= new
ScrollView
(this);
40
scrollView
.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT,
46
scrollView
.addView(layout);
51
setContentView(
scrollView
);
/frameworks/support/wear/src/android/support/wear/widget/drawer/
ScrollViewFlingWatcher.java
27
import android.widget.
ScrollView
;
32
* {@link FlingWatcher} implementation for {@link
ScrollView
ScrollViews}.
34
* Because {@link
ScrollView
} does not provide a way to listen to the scroll state, there's no
47
private final WeakReference<
ScrollView
> mScrollView;
55
ScrollViewFlingWatcher(FlingListener listener,
ScrollView
scrollView
) {
57
mScrollView = new WeakReference<>(
scrollView
);
66
ScrollView
scrollView
= mScrollView.get();
67
if (
scrollView
!= null)
[
all
...]
/packages/apps/Dialer/java/com/android/dialer/about/
LicenseActivity.java
22
import android.widget.
ScrollView
;
55
ScrollView
scrollView
= (
ScrollView
) findViewById(R.id.license_activity_scrollview);
57
int firstVisibleLine = textView.getLayout().getLineForVertical(
scrollView
.getScrollY());
65
final
ScrollView
scrollView
= (
ScrollView
) findViewById(R.id.license_activity_scrollview);
67
scrollView
.post(
74
scrollView
.scrollTo(0, offset)
[
all
...]
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
AnimatedStateVectorDrawableTest.java
24
import android.widget.
ScrollView
;
46
ScrollView
scrollView
= new
ScrollView
(this);
48
scrollView
.addView(container);
59
setContentView(
scrollView
);
BitmapDrawableDupe.java
23
import android.widget.
ScrollView
;
57
ScrollView
scrollView
= new
ScrollView
(this);
59
scrollView
.addView(container);
72
setContentView(
scrollView
);
ScaleDrawableTests.java
22
import android.widget.
ScrollView
;
46
ScrollView
scrollView
= new
ScrollView
(this);
48
scrollView
.addView(container);
83
setContentView(
scrollView
);
AnimatedVectorDrawableDupPerf.java
26
import android.widget.
ScrollView
;
92
ScrollView
scrollView
= new
ScrollView
(this);
94
scrollView
.addView(container);
115
setContentView(
scrollView
);
AnimatedVectorDrawableTest.java
26
import android.widget.
ScrollView
;
52
ScrollView
scrollView
= new
ScrollView
(this);
54
scrollView
.addView(container);
97
setContentView(
scrollView
);
VectorDrawablePerformance.java
26
import android.widget.
ScrollView
;
113
ScrollView
scrollView
= new
ScrollView
(this);
115
scrollView
.addView(container);
136
setContentView(
scrollView
);
/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/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);
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
GlifLayoutTest.java
37
import android.widget.
ScrollView
;
137
View
scrollView
= layout.findViewById(R.id.suw_scroll_view);
138
assertTrue("@id/suw_scroll_view should be a
ScrollView
",
scrollView
instanceof
ScrollView
);
/frameworks/support/samples/SupportVectorDrawableDemos/src/com/example/android/support/vectordrawable/app/
SimpleAnimatedVectorDrawable.java
26
import android.widget.
ScrollView
;
55
ScrollView
scrollView
= new
ScrollView
(this);
57
scrollView
.addView(container);
89
setContentView(
scrollView
);
SimpleStaticVectorDrawable.java
27
import android.widget.
ScrollView
;
84
ScrollView
scrollView
= new
ScrollView
(this);
86
scrollView
.addView(container);
126
setContentView(
scrollView
);
/cts/tests/tests/view/src/android/view/cts/
FrameMetricsListenerTest.java
34
import android.widget.
ScrollView
;
71
final
ScrollView
scrollView
= (
ScrollView
) mActivity.findViewById(R.id.scroll_view);
85
scrollView
.postInvalidate();
97
WidgetTestUtils.runOnMainAndDrawSync(mActivityRule,
scrollView
, null);
105
final
ScrollView
scrollView
= (
ScrollView
) mActivity.findViewById(R.id.scroll_view);
134
mActivityRule.runOnUiThread(() ->
scrollView
.fling(-100))
[
all
...]
ViewTreeObserverTest.java
41
import android.widget.
ScrollView
;
289
final
ScrollView
scrollView
= (
ScrollView
) mActivity.findViewById(R.id.scroll_view);
291
mViewTreeObserver =
scrollView
.getViewTreeObserver();
297
mActivityRule.runOnUiThread(() ->
scrollView
.fullScroll(View.FOCUS_DOWN));
304
mActivityRule.runOnUiThread(() ->
scrollView
.fullScroll(View.FOCUS_UP));
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
SupportPreferencesUtil.java
38
import android.widget.
ScrollView
;
268
ScrollView
scrollView
= new
ScrollView
(context);
269
scrollView
.setLayoutParams(
271
scrollView
.addView(listView);
274
root.addView(
scrollView
);
277
return
scrollView
;
/packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageWizardBase.java
119
final View
scrollView
= findViewById(R.id.suw_bottom_scroll_view);
120
scrollView
.setVerticalFadingEdgeEnabled(true);
121
scrollView
.setFadingEdgeLength(
scrollView
.getVerticalFadingEdgeLength() * 2);
/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);
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
R$id.class
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
GlifLayout.java
36
import android.widget.
ScrollView
;
114
final
ScrollView
scrollView
= getScrollView();
115
if (
scrollView
!= null) {
117
new ScrollViewScrollHandlingDelegate(requireScrollMixin,
scrollView
));
174
public
ScrollView
getScrollView() {
176
return view instanceof
ScrollView
? (
ScrollView
) view : null;
Completed in 1822 milliseconds
1
2