Home
last modified time | relevance | path

Searched refs:targetView (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java40 public SyncRtSurfaceTransactionApplier(View targetView) { in SyncRtSurfaceTransactionApplier() argument
41 mTargetViewRootImpl = targetView != null ? targetView.getViewRootImpl() : null; in SyncRtSurfaceTransactionApplier()
91 public static void create(final View targetView, in create() argument
93 if (targetView == null) { in create()
96 } else if (targetView.getViewRootImpl() != null) { in create()
98 callback.accept(new SyncRtSurfaceTransactionApplier(targetView)); in create()
101 targetView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in create()
104 targetView.removeOnAttachStateChangeListener(this); in create()
105 callback.accept(new SyncRtSurfaceTransactionApplier(targetView)); in create()
DNotificationHeaderView.java180 private int shrinkViewForOverflow(int heightSpec, int overFlow, View targetView, in shrinkViewForOverflow() argument
182 final int oldWidth = targetView.getMeasuredWidth(); in shrinkViewForOverflow()
183 if (overFlow > 0 && targetView.getVisibility() != GONE && oldWidth > minimumWidth) { in shrinkViewForOverflow()
187 targetView.measure(childWidthSpec, heightSpec); in shrinkViewForOverflow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardAffordanceHelper.java129 View targetView = getIconAtPosition(x, y); in onTouchEvent() local
130 if (targetView == null || (mTargetedView != null && mTargetedView != targetView)) { in onTouchEvent()
139 startSwiping(targetView); in onTouchEvent()
185 private void startSwiping(View targetView) { in startSwiping() argument
186 mCallback.onSwipingStarted(targetView == mRightIcon); in startSwiping()
188 mTargetedView = targetView; in startSwiping()
243 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon; in startHintAnimationPhase1() local
268 mTargetedView = targetView; in startHintAnimationPhase1()
292 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon; in getAnimatorToRadius() local
293 ValueAnimator animator = ValueAnimator.ofFloat(targetView.getCircleRadius(), radius); in getAnimatorToRadius()
[all …]
/frameworks/base/core/java/android/ddm/
DDdmHandleViewDebug.java136 final View targetView = getTargetView(rootView, in); in handleChunk() local
137 if (targetView == null) { in handleChunk()
144 return captureView(rootView, targetView); in handleChunk()
146 return dumpDisplayLists(rootView, targetView); in handleChunk()
148 return profileView(rootView, targetView); in handleChunk()
150 return invokeViewMethod(rootView, targetView, in); in handleChunk()
152 return setLayoutParameter(rootView, targetView, in); in handleChunk()
279 private Chunk captureView(View rootView, View targetView) { in captureView() argument
282 ViewDebug.capture(rootView, b, targetView); in captureView()
293 private Chunk dumpDisplayLists(final View rootView, final View targetView) { in dumpDisplayLists() argument
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSyncRtSurfaceTransactionApplierCompat.java53 public SyncRtSurfaceTransactionApplierCompat(View targetView) { in SyncRtSurfaceTransactionApplierCompat() argument
54 mTargetViewRootImpl = targetView != null ? targetView.getViewRootImpl() : null; in SyncRtSurfaceTransactionApplierCompat()
156 public static void create(final View targetView, in create() argument
158 if (targetView == null) { in create()
161 } else if (targetView.getViewRootImpl() != null) { in create()
163 callback.accept(new SyncRtSurfaceTransactionApplierCompat(targetView)); in create()
166 targetView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in create()
169 targetView.removeOnAttachStateChangeListener(this); in create()
170 callback.accept(new SyncRtSurfaceTransactionApplierCompat(targetView)); in create()
/frameworks/base/core/java/com/android/internal/widget/
DLinearSmoothScroller.java111 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { in onTargetFound() argument
112 final int dx = calculateDxToMakeVisible(targetView, getHorizontalSnapPreference()); in onTargetFound()
113 final int dy = calculateDyToMakeVisible(targetView, getVerticalSnapPreference()); in onTargetFound()
DRecyclerView.java10827 protected abstract void onTargetFound(View targetView, State state, Action action); in onTargetFound() argument
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java557 View targetView = mTouchTargetView; in onTouch() local
561 targetView = findViewForTouch((int) event.getRawX(), (int) event.getRawY()); in onTouch()
562 setTouchTargetView(targetView); in onTouch()
571 if (targetView != null) { in onTouch()
592 boolean retValue = targetView.dispatchTouchEvent(containerEvent); in onTouch()
DAdapterView.java441 public AdapterContextMenuInfo(View targetView, int position, long id) { in AdapterContextMenuInfo() argument
442 this.targetView = targetView; in AdapterContextMenuInfo()
451 public View targetView; field in AdapterView.AdapterContextMenuInfo
DExpandableListView.java1265 public ExpandableListContextMenuInfo(View targetView, long packedPosition, long id) { in ExpandableListContextMenuInfo() argument
1266 this.targetView = targetView; in ExpandableListContextMenuInfo()
1275 public View targetView; field in ExpandableListView.ExpandableListContextMenuInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java83 public KeyButtonRipple(Context ctx, View targetView) { in KeyButtonRipple() argument
85 mTargetView = targetView; in KeyButtonRipple()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java70 public BaseInputConnection(View targetView, boolean fullEditor) { in BaseInputConnection() argument
71 mIMM = (InputMethodManager)targetView.getContext().getSystemService( in BaseInputConnection()
73 mTargetView = targetView; in BaseInputConnection()
DInputMethodManager.java2516 public void dispatchKeyEventFromInputMethod(@Nullable View targetView, in dispatchKeyEventFromInputMethod() argument
2519 final InputMethodManager fallbackImm = getFallbackInputMethodManagerIfNecessary(targetView); in dispatchKeyEventFromInputMethod()
2521 fallbackImm.dispatchKeyEventFromInputMethod(targetView, event); in dispatchKeyEventFromInputMethod()
2526 ViewRootImpl viewRootImpl = targetView != null ? targetView.getViewRootImpl() : null; in dispatchKeyEventFromInputMethod()
/frameworks/base/core/tests/coretests/src/android/view/
DListContextMenu.java127 String text = ((TextView) info.targetView).getText().toString(); in onCreateContextMenu()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleStackView.java1207 private void animateDesaturateAndDarken(View targetView, boolean desaturateAndDarken) {
1208 mDesaturateAndDarkenTargetView = targetView;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt36844 field public android.view.View targetView;
37368 field public android.view.View targetView;
/frameworks/base/non-updatable-api/
Dcurrent.txt56386 field public android.view.View targetView;
56932 field public android.view.View targetView;
/frameworks/base/api/
Dcurrent.txt56530 field public android.view.View targetView;
57076 field public android.view.View targetView;