OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ViewTreeObserver
(Results
1 - 25
of
92
) sorted by null
1
2
3
4
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowViewTreeObserver.java
3
import android.view.
ViewTreeObserver
;
11
@Implements(
ViewTreeObserver
.class)
14
private ArrayList<
ViewTreeObserver
.OnGlobalLayoutListener> globalLayoutListeners = new ArrayList<
ViewTreeObserver
.OnGlobalLayoutListener>();
17
public void addOnGlobalLayoutListener(
ViewTreeObserver
.OnGlobalLayoutListener listener) {
22
public void removeGlobalOnLayoutListener(
ViewTreeObserver
.OnGlobalLayoutListener listener) {
27
for (
ViewTreeObserver
.OnGlobalLayoutListener listener : new ArrayList<
ViewTreeObserver
.OnGlobalLayoutListener>(globalLayoutListeners)) {
32
public List<
ViewTreeObserver
.OnGlobalLayoutListener> getOnGlobalLayoutListeners() {
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
CursorController.java
7
import android.view.
ViewTreeObserver
;
12
interface CursorController extends
ViewTreeObserver
.OnTouchModeChangeListener {
/frameworks/base/core/tests/coretests/src/android/view/
GlobalFocusChange.java
23
import android.view.
ViewTreeObserver
;
26
public class GlobalFocusChange extends Activity implements
ViewTreeObserver
.OnGlobalFocusChangeListener {
RunQueue.java
23
import android.view.
ViewTreeObserver
;
29
public class RunQueue extends Activity implements
ViewTreeObserver
.OnGlobalLayoutListener {
33
public
ViewTreeObserver
viewTreeObserver
;
63
viewTreeObserver
= view.getViewTreeObserver();
64
viewTreeObserver
.addOnGlobalLayoutListener(this);
PreDrawListener.java
24
import android.view.
ViewTreeObserver
;
41
ViewTreeObserver
.OnPreDrawListener {
/packages/apps/Contacts/src/com/android/contacts/util/
SchedulingUtils.java
20
import android.view.
ViewTreeObserver
.OnDrawListener;
21
import android.view.
ViewTreeObserver
.OnGlobalLayoutListener;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ViewTreeObserverTest.java
3
import android.view.
ViewTreeObserver
;
19
private
ViewTreeObserver
viewTreeObserver
;
25
viewTreeObserver
= Robolectric.Reflection.newInstanceOf(
ViewTreeObserver
.class);
32
viewTreeObserver
.addOnGlobalLayoutListener(listener1);
33
viewTreeObserver
.addOnGlobalLayoutListener(listener2);
35
shadowOf(
viewTreeObserver
).fireOnGlobalLayoutListeners();
41
viewTreeObserver
.removeGlobalOnLayoutListener(listener1);
42
shadowOf(
viewTreeObserver
).fireOnGlobalLayoutListeners()
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DrawIdler.java
5
import android.view.
ViewTreeObserver
;
69
private class IdleReader implements Runnable,
ViewTreeObserver
.OnPreDrawListener {
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/
TransportMediatorJellybeanMR2.java
29
import android.view.
ViewTreeObserver
;
41
final
ViewTreeObserver
.OnWindowAttachListener mWindowAttachListener =
42
new
ViewTreeObserver
.OnWindowAttachListener() {
52
final
ViewTreeObserver
.OnWindowFocusChangeListener mWindowFocusListener =
53
new
ViewTreeObserver
.OnWindowFocusChangeListener() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
FirstFrameAnimatorHelper.java
25
import android.view.
ViewTreeObserver
;
43
private static
ViewTreeObserver
.OnDrawListener sGlobalDrawListener;
67
sGlobalDrawListener = new
ViewTreeObserver
.OnDrawListener() {
/packages/apps/Launcher2/src/com/android/launcher2/
FirstFrameAnimatorHelper.java
25
import android.view.
ViewTreeObserver
;
43
private static
ViewTreeObserver
.OnDrawListener sGlobalDrawListener;
72
sGlobalDrawListener = new
ViewTreeObserver
.OnDrawListener() {
LauncherAnimUtils.java
25
import android.view.
ViewTreeObserver
;
55
view.getViewTreeObserver().addOnDrawListener(new
ViewTreeObserver
.OnDrawListener() {
66
final
ViewTreeObserver
.OnDrawListener listener = this;
/packages/apps/Launcher3/src/com/android/launcher3/
FirstFrameAnimatorHelper.java
25
import android.view.
ViewTreeObserver
;
43
private static
ViewTreeObserver
.OnDrawListener sGlobalDrawListener;
72
sGlobalDrawListener = new
ViewTreeObserver
.OnDrawListener() {
LauncherAnimUtils.java
25
import android.view.
ViewTreeObserver
;
55
view.getViewTreeObserver().addOnDrawListener(new
ViewTreeObserver
.OnDrawListener() {
66
final
ViewTreeObserver
.OnDrawListener listener = this;
/external/chromium_org/base/android/java/src/org/chromium/base/
ApiCompatibilityUtils.java
12
import android.view.
ViewTreeObserver
;
106
* @see android.view.
ViewTreeObserver
#removeOnGlobalLayoutListener()
110
View view,
ViewTreeObserver
.OnGlobalLayoutListener listener) {
/cts/tests/tests/view/src/android/view/cts/
ViewTreeObserverTest.java
28
import android.view.
ViewTreeObserver
;
29
import android.view.
ViewTreeObserver
.InternalInsetsInfo;
30
import android.view.
ViewTreeObserver
.OnComputeInternalInsetsListener;
31
import android.view.
ViewTreeObserver
.OnGlobalFocusChangeListener;
32
import android.view.
ViewTreeObserver
.OnGlobalLayoutListener;
33
import android.view.
ViewTreeObserver
.OnPreDrawListener;
34
import android.view.
ViewTreeObserver
.OnScrollChangedListener;
35
import android.view.
ViewTreeObserver
.OnTouchModeChangeListener;
41
ViewTreeObserver
mViewTreeObserver;
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
ListViewAddRemove.java
22
import android.view.
ViewTreeObserver
;
59
final
ViewTreeObserver
observer = container.getViewTreeObserver();
60
observer.addOnGlobalLayoutListener(new
ViewTreeObserver
.OnGlobalLayoutListener() {
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/
ContentLoadingProgressBarActivity.java
29
import android.view.
ViewTreeObserver
;
42
OnClickListener,
ViewTreeObserver
.OnGlobalLayoutListener {
SlidingPaneLayoutActivity.java
27
import android.view.
ViewTreeObserver
;
142
private class FirstLayoutListener implements
ViewTreeObserver
.OnGlobalLayoutListener {
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
CurvedMotion.java
23
import android.view.
ViewTreeObserver
;
64
new
ViewTreeObserver
.OnPreDrawListener() {
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
TitlesFragment.java
30
import android.view.
ViewTreeObserver
;
135
ViewTreeObserver
observer = getListView().getViewTreeObserver();
142
// Always detach
ViewTreeObserver
listeners when the view tears down
213
ViewTreeObserver
.OnGlobalLayoutListener layoutListener = new
ViewTreeObserver
.OnGlobalLayoutListener() {
/frameworks/base/core/java/android/transition/
TransitionManager.java
23
import android.view.
ViewTreeObserver
;
209
final
ViewTreeObserver
observer = sceneRoot.getViewTreeObserver();
210
final
ViewTreeObserver
.OnPreDrawListener listener =
211
new
ViewTreeObserver
.OnPreDrawListener() {
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
PictureDetailsActivity.java
30
import android.view.
ViewTreeObserver
;
99
ViewTreeObserver
observer = mImageView.getViewTreeObserver();
100
observer.addOnPreDrawListener(new
ViewTreeObserver
.OnPreDrawListener() {
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
CardFlip.java
27
import android.view.
ViewTreeObserver
;
92
ViewTreeObserver
observer = mLayout.getViewTreeObserver();
93
observer.addOnGlobalLayoutListener(new
ViewTreeObserver
.OnGlobalLayoutListener() {
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
ListViewRemovalAnimation.java
27
import android.view.
ViewTreeObserver
;
193
final
ViewTreeObserver
observer = listview.getViewTreeObserver();
194
observer.addOnPreDrawListener(new
ViewTreeObserver
.OnPreDrawListener() {
Completed in 2153 milliseconds
1
2
3
4