HomeSort by relevance Sort by last modified time
    Searched refs:targetView (Results 1 - 25 of 128) sorted by null

1 2 3 4 5 6

  /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/car/src/main/java/androidx/car/widget/
PagedSmoothScroller.java 53 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) {
54 int dy = calculateDyToMakeVisible(targetView, SNAP_TO_START);
PagedSnapHelper.java 69 @NonNull View targetView) {
73 ? getHorizontalHelper(layoutManager).getDecoratedStart(targetView)
77 ? getVerticalHelper(layoutManager).getDecoratedStart(targetView)
  /frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
PagerSnapHelper.java 51 @NonNull View targetView) {
54 out[0] = distanceToCenter(layoutManager, targetView,
61 out[1] = distanceToCenter(layoutManager, targetView,
130 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) {
132 targetView);
154 @NonNull View targetView, OrientationHelper helper) {
155 final int childCenter = helper.getDecoratedStart(targetView)
156 + (helper.getDecoratedMeasurement(targetView) / 2);
LinearSnapHelper.java 45 @NonNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView) {
48 out[0] = distanceToCenter(layoutManager, targetView,
55 out[1] = distanceToCenter(layoutManager, targetView,
142 @NonNull View targetView, OrientationHelper helper) {
143 final int childCenter = helper.getDecoratedStart(targetView)
144 + (helper.getDecoratedMeasurement(targetView) / 2);
SnapHelper.java 229 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) {
235 targetView);
260 * @param targetView the target view that is chosen as the view to snap
268 @NonNull View targetView);
LinearSmoothScroller.java 109 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) {
110 final int dx = calculateDxToMakeVisible(targetView, getHorizontalSnapPreference());
111 final int dy = calculateDyToMakeVisible(targetView, getVerticalSnapPreference());
  /frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
SyncRtSurfaceTransactionApplier.java 37 * @param targetView The view in the surface that acts as synchronization anchor.
39 public SyncRtSurfaceTransactionApplier(View targetView) {
40 mTargetViewRootImpl = targetView != null ? targetView.getViewRootImpl() : null;
  /cts/tests/tests/widget/src/android/widget/cts/
AdapterView_AdapterContextMenuInfoTest.java 43 assertEquals(testView, menuInfo.targetView);
ExpandableListView_ExpandableListContextMenuInfoTest.java 46 assertSame(listview, expandableListContextMenuInfo.targetView);
  /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/leanback/src/main/java/androidx/leanback/transition/
TransitionHelper.java 234 public static void exclude(Object transition, View targetView, boolean exclude) {
236 ((Transition) transition).excludeTarget(targetView, exclude);
246 public static void excludeChildren(Object transition, View targetView, boolean exclude) {
248 ((Transition) transition).excludeChildren(targetView, exclude);
258 public static void include(Object transition, View targetView) {
260 ((Transition) transition).addTarget(targetView);
  /frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
RecyclerViewSmoothScrollerTest.java 81 protected void onTargetFound(View targetView, RecyclerView.State state,
  /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/DocumentsUI/src/com/android/documentsui/
FocusManager.java 279 View targetView = view.focusSearch(searchDir);
281 // TargetView can be null, for example, if the user pressed <down> at the bottom
283 if (targetView != null) {
285 if (targetView.getParent() == mScope.view) {
286 return mScope.view.getChildAdapterPosition(targetView);

Completed in 918 milliseconds

1 2 3 4 5 6