/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
DrawCountDown.java | 16 private DrawCountDown(View targetView, int countFrames, Runnable countReachedListener) { 17 mTargetView = targetView; 38 public static void countDownDraws(View targetView, int countFrames, 40 DrawCountDown counter = new DrawCountDown(targetView, countFrames, 45 targetView.getViewTreeObserver().addOnPreDrawListener(counter);
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
CtsKeyEventUtil.java | 45 * @param targetView View to find the ViewRootImpl and dispatch. 48 public static void sendString(final Instrumentation instrumentation, final View targetView, 63 sendKey(instrumentation, targetView, KeyEvent.changeTimeRepeat( 74 * @param targetView View to find the ViewRootImpl and dispatch. 77 public static void sendKeys(final Instrumentation instrumentation, final View targetView, 83 sendKeyDownUp(instrumentation, targetView, keys[i]); 100 * @param targetView View to find the ViewRootImpl and dispatch. 103 public static void sendKeys(final Instrumentation instrumentation, final View targetView, 129 sendKeyDownUp(instrumentation, targetView, keyCode); 150 * @param targetView View to find the ViewRootImpl and dispatch [all...] |
/frameworks/base/core/java/android/ddm/ |
DdmHandleViewDebug.java | 136 final View targetView = getTargetView(rootView, in); 137 if (targetView == null) { 144 return captureView(rootView, targetView); 146 return dumpDisplayLists(rootView, targetView); 148 return profileView(rootView, targetView); 150 return invokeViewMethod(rootView, targetView, in); 152 return setLayoutParameter(rootView, targetView, in); 279 private Chunk captureView(View rootView, View targetView) { 282 ViewDebug.capture(rootView, b, targetView); 293 private Chunk dumpDisplayLists(final View rootView, final View targetView) { [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/ |
SwipeButtonHelper.java | 155 View targetView = getIconAtPosition(x, y); 156 if (targetView == null || (targetedView != null && targetedView != targetView)) { 165 startSwiping(targetView); 212 private void startSwiping(View targetView) { 213 callback.onSwipingStarted(targetView == rightIcon); 215 targetedView = targetView; 266 final SwipeButtonView targetView = right ? rightIcon : leftIcon; 300 targetedView = targetView; 332 final SwipeButtonView targetView = right ? rightIcon : leftIcon [all...] |
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
RelayController.java | 33 public void attachToView(ViewGroup targetView) { 34 mLabel = (TextView) targetView.getChildAt(0); 40 mButton = (ToggleButton) targetView.getChildAt(1);
|
ServoController.java | 22 public void attachToView(ViewGroup targetView) { 23 mLabel = (TextView) targetView.getChildAt(0); 29 mSlider = (Slider) targetView.getChildAt(1);
|
ColorLEDController.java | 77 public void attachToView(ViewGroup targetView) { 79 ViewGroup g = (ViewGroup) targetView.getChildAt(i);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
KeyguardAffordanceHelper.java | 133 View targetView = getIconAtPosition(x, y); 134 if (targetView == null || (mTargetedView != null && mTargetedView != targetView)) { 143 startSwiping(targetView); 189 private void startSwiping(View targetView) { 190 mCallback.onSwipingStarted(targetView == mRightIcon); 192 mTargetedView = targetView; 247 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon; 272 mTargetedView = targetView; 296 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
IgnoredLayoutRule.java | 37 public DropFeedback onDropEnter(@NonNull INode targetNode, @Nullable Object targetView,
|
AdapterViewRule.java | 32 public DropFeedback onDropEnter(@NonNull INode targetNode, @Nullable Object targetView,
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
PagerSnapHelper.java | 49 @NonNull View targetView) { 52 out[0] = distanceToCenter(layoutManager, targetView, 59 out[1] = distanceToCenter(layoutManager, targetView, 128 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { 130 targetView); 152 @NonNull View targetView, OrientationHelper helper) { 153 final int childCenter = helper.getDecoratedStart(targetView) 154 + (helper.getDecoratedMeasurement(targetView) / 2);
|
LinearSnapHelper.java | 44 @NonNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView) { 47 out[0] = distanceToCenter(layoutManager, targetView, 54 out[1] = distanceToCenter(layoutManager, targetView, 141 @NonNull View targetView, OrientationHelper helper) { 142 final int childCenter = helper.getDecoratedStart(targetView) 143 + (helper.getDecoratedMeasurement(targetView) / 2);
|
SnapHelper.java | 231 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { 237 targetView); 262 * @param targetView the target view that is chosen as the view to snap 270 @NonNull View targetView);
|
LinearSmoothScroller.java | 111 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { 112 final int dx = calculateDxToMakeVisible(targetView, getHorizontalSnapPreference()); 113 final int dy = calculateDyToMakeVisible(targetView, getVerticalSnapPreference());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AdapterView_AdapterContextMenuInfoTest.java | 43 assertEquals(testView, menuInfo.targetView);
|
ExpandableListView_ExpandableListContextMenuInfoTest.java | 46 assertSame(listview, expandableListContextMenuInfo.targetView);
|
/frameworks/support/compat/java/android/support/v4/content/res/ |
ResourcesCompat.java | 202 int style, @Nullable TextView targetView) throws NotFoundException { 206 return loadFont(context, id, value, style, targetView); 210 int style, @Nullable TextView targetView) { 213 Typeface typeface = loadFont(context, resources, value, id, style, targetView); 223 @Nullable TextView targetView) { 250 context, familyEntry, wrapper, id, style, targetView);
|
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
TransitionHelperKitkat.java | 168 static void exclude(Object transition, View targetView, boolean exclude) { 169 ((Transition) transition).excludeTarget(targetView, exclude); 176 static void excludeChildren(Object transition, View targetView, boolean exclude) { 177 ((Transition) transition).excludeChildren(targetView, exclude); 184 static void include(Object transition, View targetView) { 185 ((Transition) transition).addTarget(targetView);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/ |
TransitionHelper.java | 141 void exclude(Object transition, View targetView, boolean exclude); 149 void include(Object transition, View targetView); 333 public void exclude(Object transition, View targetView, boolean exclude) { 341 public void excludeChildren(Object transition, View targetView, boolean exclude) { 349 public void include(Object transition, View targetView) { 501 public void exclude(Object transition, View targetView, boolean exclude) { 502 TransitionHelperKitkat.exclude(transition, targetView, exclude); 511 public void excludeChildren(Object transition, View targetView, boolean exclude) { 512 TransitionHelperKitkat.excludeChildren(transition, targetView, exclude); 521 public void include(Object transition, View targetView) { [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EditorAnimator.java | 150 * Smoothly scroll {@param targetView}'s parent ScrollView to the top of {@param targetView}. 152 public void scrollViewToTop(final View targetView) { 153 final ScrollView scrollView = getParentScrollView(targetView); 157 ScrollView scrollView = getParentScrollView(targetView); 158 scrollView.smoothScrollTo(0, offsetFromTopOfViewGroup(targetView, scrollView)
|
/frameworks/support/compat/java/android/support/v4/graphics/ |
TypefaceCompat.java | 108 @Nullable TextView targetView) { 113 providerEntry.getRequest(), targetView, providerEntry.getFetchStrategy(),
|
/frameworks/base/core/java/com/android/internal/widget/ |
LinearSmoothScroller.java | 111 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { 112 final int dx = calculateDxToMakeVisible(targetView, getHorizontalSnapPreference()); 113 final int dy = calculateDyToMakeVisible(targetView, getVerticalSnapPreference());
|
/frameworks/base/core/java/android/widget/ |
ZoomButtonsController.java | 557 View targetView = mTouchTargetView; 561 targetView = findViewForTouch((int) event.getRawX(), (int) event.getRawY()); 562 setTouchTargetView(targetView); 571 if (targetView != null) { 592 boolean retValue = targetView.dispatchTouchEvent(containerEvent);
|
/packages/apps/Dialer/java/com/android/dialershared/bubble/ |
MoveHandler.java | 119 public MoveHandler(@NonNull View targetView, @NonNull Bubble bubble) { 121 context = targetView.getContext(); 140 targetView.setOnTouchListener(this);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
FocusManager.java | 275 View targetView = view.focusSearch(searchDir); 277 // TargetView can be null, for example, if the user pressed <down> at the bottom 279 if (targetView != null) { 281 if (targetView.getParent() == mScope.view) { 282 return mScope.view.getChildAdapterPosition(targetView);
|