Home
last modified time | relevance | path

Searched refs:getParent (Results 1 – 25 of 210) sorted by relevance

123456789

/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java44 View parent = (View) v.getParent().getParent();
57 View parent = (View) v.getParent().getParent();
70 View parent = (View) v.getParent().getParent();
80 View parent = (View) v.getParent().getParent();
90 View parent = (View) v.getParent().getParent();
100 View parent = (View) v.getParent().getParent();
110 View parent = (View) v.getParent().getParent();
120 View parent = (View) v.getParent().getParent();
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAddToHomeScreenPrompt.java47 mWidgetCell.getParent().getParent().getParent().getParent(), in addAutomatically()
DOverviewTask.java147 + mTask.getParent().getContentDescription(), in open()
174 mLauncher.waitForObjectInContainer(mTask.getParent(), "icon")); in tapMenu()
184 return mLauncher.findObjectInContainer(mTask.getParent(), "bottomright_snapshot") != null; in isTaskSplit()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DLogicalRootPreferenceGroup.java78 boolean result = getParent().addPreference(preference); in addPreference()
84 if (!getParent().isOrderingAsAdded()) { in updateOrder()
89 for (int index = 0; index < getParent().getPreferenceCount(); index++) { in updateOrder()
90 Preference preference = getParent().getPreference(index); in updateOrder()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DFadeAndShortSlide.java150 while (parent.getParent() instanceof View) { in findParentForDelay()
151 parent = (View) parent.getParent(); in findParentForDelay()
356 ViewParent parent = child.getParent(); in getRelativeLeft()
363 parent = parent.getParent(); in getRelativeLeft()
369 ViewParent parent = child.getParent(); in getRelativeRight()
376 parent = parent.getParent(); in getRelativeRight()
382 ViewParent parent = child.getParent(); in getRelativeTop()
389 parent = parent.getParent(); in getRelativeTop()
/packages/apps/Dialer/java/com/android/dialer/common/
DFragmentUtils.java42 public static <T> T getParent(@NonNull Fragment fragment, @NonNull Class<T> callbackInterface) { in getParent() method in FragmentUtils
77 public static <T> T getParent( in getParent() method in FragmentUtils
111 return Assert.isNotNull(getParent(fragment, callbackInterface)); in getParentUnsafe()
121 return Assert.isNotNull(getParent(fragment, callbackInterface)); in getParentUnsafe()
136 if (FragmentUtils.getParent(frag, callbackInterface) == null) { in checkParent()
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DDownloadCompletionReceiver.java54 if (!Files.isDirectory(destination.getParent())) { in getDestinationFile()
55 Files.createDirectory(destination.getParent()); in getDestinationFile()
62 if (!Files.isDirectory(destination.getParent())) { in getDestinationFile()
63 Files.createDirectory(destination.getParent()); in getDestinationFile()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DGuidanceRelativeLayout.java66 if (titleView != null && titleView.getParent() == this) { in onLayout()
85 if (descriptionView != null && descriptionView.getParent() == this) { in onLayout()
88 if (iconView != null && iconView.getParent() == this) { in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DShortcutMenuAccessibilityDelegate.java53 if ((host.getParent() instanceof DeepShortcutView)) { in getSupportedActions()
65 if (!(host.getParent() instanceof DeepShortcutView)) { in performAction()
68 final WorkspaceItemInfo info = ((DeepShortcutView) host.getParent()).getFinalInfo(); in performAction()
DLauncherAccessibilityDelegate.java208 if (host.getParent() instanceof DragView) { in getSupportedResizeActions()
209 layout = (CellLayout) ((DragView) host.getParent()).getContentViewParent().getParent(); in getSupportedResizeActions()
211 layout = (CellLayout) host.getParent().getParent(); in getSupportedResizeActions()
255 CellLayout layout = (CellLayout) host.getParent().getParent(); in performResizeAction()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapFolderElement.java109 public BluetoothMapFolderElement getParent() { in getParent() method in BluetoothMapFolderElement
121 if (current.getParent() != null) { in getFullPath()
124 current = current.getParent(); in getFullPath()
177 while (rootFolder.getParent() != null) { in getRoot()
178 rootFolder = rootFolder.getParent(); in getRoot()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownMethod.java294 getParent().resetAnswerProgress(); in onMoveReset()
336 if (getParent().isVideoCall() || getParent().isVideoUpgradeRequest()) { in updateContactPuck()
338 } else if (getParent().isRttCall()) { in updateContactPuck()
367 return (getParent().isVideoCall() || getParent().isVideoUpgradeRequest()) in shouldShowPhotoInPuck()
453 if (isAcceptingFlow || getParent().isVideoCall() || getParent().isVideoUpgradeRequest()) { in updateSwipeTextAndPuckForTouch()
482 getParent().onAnswerProgressUpdate(clampedProgress); in updateSwipeTextAndPuckForTouch()
511 getParent().resetAnswerProgress(); in resetTouchState()
1126 getParent().answerFromMethod(); in performAccept()
1136 getParent().rejectFromMethod(); in performReject()
DTwoButtonMethod.java200 getParent().answerFromMethod(); in answerCall()
224 getParent().rejectFromMethod(); in rejectCall()
235 getParent().onAnswerProgressUpdate(((float) animation.getAnimatedValue())); in onAnimationUpdate()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorAnimator.java77 final ViewGroup victimParent = (ViewGroup) victim.getParent(); in removeEditorView()
190 ViewParent parent = view.getParent(); in getParentScrollView()
221 final ViewGroup victimParent = (ViewGroup) view.getParent(); in getViewsBelowOf()
242 final ViewParent parent = container.getParent(); in getViewsBelowOfRecursive()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCallComposerFragment.java35 if (FragmentUtils.getParent(this, CallComposerListener.class) == null) { in onAttach()
45 return FragmentUtils.getParent(this, CallComposerListener.class); in getListener()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DListenerView.java60 if (getParent() instanceof ViewGroup) { in handleClose()
61 ((ViewGroup) getParent()).removeView(this); in handleClose()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNodeBuilder.java121 when(node.getParent()).thenReturn(MockNodeCopierProvider.get().copy(builder.mParent)); in build()
123 when(node.getParent()).thenReturn( in build()
147 if (builder.mParent.equals(candidate.getParent())) { in build()
158 if (builder.mParent.equals(candidate.getParent())) { in build()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DBaseWidgetSheet.java114 } else if (v.getParent() instanceof WidgetCell) { in onClick()
115 tag = ((WidgetCell) v.getParent()).getTag(); in onClick()
136 } else if (v.getParent() instanceof WidgetCell) { in onLongClick()
137 return beginDraggingWidget((WidgetCell) v.getParent()); in onLongClick()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DSplitPlaceholderView.java55 FloatingTaskView parent = (FloatingTaskView) getParent(); in dispatchDraw()
77 FloatingTaskView parent = (FloatingTaskView) getParent(); in drawBackground()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DKeyboardInsetAnimationCallback.java65 if (mView.getParent() instanceof View) { in onProgress()
67 translationY -= ((View) mView.getParent()).getTranslationY(); in onProgress()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DFloatingHeaderView.java76 (ActivityAllAppsContainerView<?>) getParent();
194 ActivityAllAppsContainerView parent = (ActivityAllAppsContainerView) getParent(); in onHeightUpdated()
437 p.x = getLeft() - mCurrentRV.getLeft() - ((ViewGroup) mCurrentRV.getParent()).getLeft(); in calcOffset()
438 p.y = getTop() - mCurrentRV.getTop() - ((ViewGroup) mCurrentRV.getParent()).getTop(); in calcOffset()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DBummerView.java43 final View parent = (View) BummerView.this.getParent();
92 final View parent = (View) this.getParent(); in onAttachedToWindow()
/packages/services/Mtp/tests/src/com/android/mtp/
DTestMtpManager.java157 Assert.assertNotSame(0, objectInfo.getParent()); in createDocument()
201 int getParent(int deviceId, int objectHandle) throws IOException { in getParent() method in TestMtpManager
204 return mObjectInfos.get(key).getParent(); in getParent()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java284 CellLayout cl = (CellLayout) getParent().getParent(); in onDragEnter()
751 if (getParent() instanceof FolderIconParent) { in clearLeaveBehindIfExists()
752 ((FolderIconParent) getParent()).clearFolderLeaveBehind(this); in clearLeaveBehindIfExists()
757 if (getParent() instanceof FolderIconParent) { in drawLeaveBehindIfExists()
758 ((FolderIconParent) getParent()).drawFolderLeaveBehindForIcon(this); in drawLeaveBehindIfExists()
/packages/apps/TV/src/com/android/tv/guide/
DGuideUtils.java131 for (ViewParent p = view.getParent(); p != null; p = p.getParent()) { in isDescendant()

123456789