Home
last modified time | relevance | path

Searched refs:getParent (Results 1 – 25 of 221) 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/src/com/android/launcher3/keyboard/
DViewGroupFocusHelper.java50 if (view == null || !(view.getParent() instanceof View)) { in isInPageTransition()
57 return isInTransition || isInPageTransition((View) view.getParent()); in isInPageTransition()
88 if (child.getParent() == null || !(child.getParent() instanceof View)) { in computeLocationRelativeToContainer()
92 View parent = (View) child.getParent(); in computeLocationRelativeToContainer()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAddToHomeScreenPrompt.java47 mWidgetCell.getParent().getParent().getParent().getParent(), in addAutomatically()
/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/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/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/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/Launcher3/src/com/android/launcher3/accessibility/
DShortcutMenuAccessibilityDelegate.java47 if ((host.getParent() instanceof DeepShortcutView)) { in getSupportedActions()
55 if (!(host.getParent() instanceof DeepShortcutView)) { in performAction()
58 final WorkspaceItemInfo info = ((DeepShortcutView) host.getParent()).getFinalInfo(); in performAction()
DLauncherAccessibilityDelegate.java223 if (host.getParent() instanceof DragView) { in getSupportedResizeActions()
224 layout = (CellLayout) ((DragView) host.getParent()).getContentViewParent().getParent(); in getSupportedResizeActions()
226 layout = (CellLayout) host.getParent().getParent(); in getSupportedResizeActions()
270 CellLayout layout = (CellLayout) host.getParent().getParent(); in performResizeAction()
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapFolderElement.java108 public BluetoothMapFolderElement getParent() { in getParent() method in BluetoothMapFolderElement
121 if (current.getParent() != null) { in getFullPath()
124 current = current.getParent(); in getFullPath()
178 while (rootFolder.getParent() != null) { in getRoot()
179 rootFolder = rootFolder.getParent(); in getRoot()
/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/
DComposeInitializer.java68 ViewParent parent = self.getParent(); in getContentChild()
72 parent = self.getParent(); in getContentChild()
86 ViewParent parent = root.getParent(); in onAttachedToWindow()
DListenerView.java60 if (getParent() instanceof ViewGroup) { in handleClose()
61 ((ViewGroup) getParent()).removeView(this); in handleClose()
/packages/apps/Settings/src/com/android/settings/accessibility/
DTextReadingPreviewPager.java45 getParent().requestDisallowInterceptTouchEvent(true); in onNestedScrollAccepted()
54 getParent().requestDisallowInterceptTouchEvent(false); in onNestedScroll()
/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()
/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/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/apps/Launcher3/src/com/android/launcher3/anim/
DKeyboardInsetAnimationCallback.java103 if (mView.getParent() instanceof View) { in onProgress()
105 translationY -= ((View) mView.getParent()).getTranslationY(); in onProgress()
/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/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/
DTaskViewPanel.java337 mFullScreenState.mBounds.bottom = ((ViewGroup) getParent()).getHeight() - bottomAdjustment; in openFullScreenPanel()
473 int parentWidth = ((ViewGroup) getParent()).getWidth(); in onParentDimensionChanged()
474 int parentHeight = ((ViewGroup) getParent()).getHeight(); in onParentDimensionChanged()
497 int parentWidth = ((ViewGroup) getParent()).getWidth(); in recalculateBounds()
498 int parentHeight = ((ViewGroup) getParent()).getHeight(); in recalculateBounds()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/widget/
DUdfpsEnrollView.java141 ((ViewGroup) getParent()).getViewTreeObserver().addOnDrawListener(mOnDrawListener); in setSensorProperties()
146 final ViewGroup parent = (ViewGroup) getParent(); in onDetachedFromWindow()
179 RelativeLayout parent = ((RelativeLayout) getParent()); in updateDimensions()
/packages/apps/TV/src/com/android/tv/guide/
DGuideUtils.java131 for (ViewParent p = view.getParent(); p != null; p = p.getParent()) { in isDescendant()
/packages/apps/Camera2/src/com/android/camera/
DOnScreenHint.java142 if (mView.getParent() != null) { in handleShow()
155 if (mView.getParent() != null) { in handleHide()

123456789