Home
last modified time | relevance | path

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

1234567

/packages/apps/Launcher2/src/com/android/launcher2/
DFocusHelper.java76 ViewParent p = v.getParent(); in findTabHostParent()
78 p = p.getParent(); in findTabHostParent()
136 final PagedViewGridLayout parent = (PagedViewGridLayout) w.getParent(); in handlePagedViewGridLayoutWidgetKeyEvent()
137 final PagedView container = (PagedView) parent.getParent(); in handlePagedViewGridLayoutWidgetKeyEvent()
284 if (v.getParent() instanceof PagedViewCellLayoutChildren) { in handleAppsCustomizeKeyEvent()
285 itemContainer = (ViewGroup) v.getParent(); in handleAppsCustomizeKeyEvent()
286 parentLayout = (ViewGroup) itemContainer.getParent(); in handleAppsCustomizeKeyEvent()
290 itemContainer = parentLayout = (ViewGroup) v.getParent(); in handleAppsCustomizeKeyEvent()
297 final PagedView container = (PagedView) parentLayout.getParent(); in handleAppsCustomizeKeyEvent()
442 final FocusOnlyTabWidget parent = (FocusOnlyTabWidget) v.getParent(); in handleTabKeyEvent()
[all …]
DFolderIcon.java117 final ViewGroup cellLayoutChildren = (ViewGroup) getParent(); in isDropEnabled()
118 final ViewGroup cellLayout = (ViewGroup) cellLayoutChildren.getParent(); in isDropEnabled()
119 final Workspace workspace = (Workspace) cellLayout.getParent(); in isDropEnabled()
311 CellLayout layout = (CellLayout) getParent().getParent(); in onDragEnter()
376 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()); in onDrop()
385 workspace.resetTransitionTransform((CellLayout) getParent().getParent()); in onDrop()
DHideFromAccessibilityHelper.java110 (v.getParent() instanceof ViewGroup && in hasAncestorOfType()
111 hasAncestorOfType((ViewGroup) v.getParent(), c))); in hasAncestorOfType()
DBubbleTextView.java256 if (getParent() instanceof ShortcutAndWidgetContainer) { in setCellLayoutPressedOrFocusedIcon()
257 ShortcutAndWidgetContainer parent = (ShortcutAndWidgetContainer) getParent(); in setCellLayoutPressedOrFocusedIcon()
259 CellLayout layout = (CellLayout) parent.getParent(); in setCellLayoutPressedOrFocusedIcon()
/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java92 if (!(v.getParent() instanceof ShortcutAndWidgetContainer)) { in onKey()
101 … final ShortcutAndWidgetContainer itemContainer = (ShortcutAndWidgetContainer) v.getParent(); in onKey()
102 final CellLayout cellLayout = (CellLayout) itemContainer.getParent(); in onKey()
105 final FolderPagedView pagedView = (FolderPagedView) cellLayout.getParent(); in onKey()
215 final ShortcutAndWidgetContainer hotseatParent = (ShortcutAndWidgetContainer) v.getParent(); in handleHotseatButtonKeyEvent()
216 final CellLayout hotseatLayout = (CellLayout) hotseatParent.getParent(); in handleHotseatButtonKeyEvent()
352 ShortcutAndWidgetContainer parent = (ShortcutAndWidgetContainer) v.getParent(); in handleIconKeyEvent()
353 CellLayout iconLayout = (CellLayout) parent.getParent(); in handleIconKeyEvent()
354 final Workspace workspace = (Workspace) iconLayout.getParent(); in handleIconKeyEvent()
355 final ViewGroup dragLayer = (ViewGroup) workspace.getParent(); in handleIconKeyEvent()
[all …]
DFolderIcon.java137 final ViewGroup cellLayoutChildren = (ViewGroup) getParent(); in isDropEnabled()
138 final ViewGroup cellLayout = (ViewGroup) cellLayoutChildren.getParent(); in isDropEnabled()
139 final Workspace workspace = (Workspace) cellLayout.getParent(); in isDropEnabled()
345 CellLayout layout = (CellLayout) getParent().getParent(); in onDragEnter()
438 workspace.setFinalTransitionTransform((CellLayout) getParent().getParent()); in onDrop()
447 workspace.resetTransitionTransform((CellLayout) getParent().getParent()); in onDrop()
DFocusIndicatorView.java101 computeLocationRelativeToParent(this, (View) getParent(), mIndicatorPos); in onFocusChange()
114 computeLocationRelativeToParent(v, (View) getParent(), mTargetViewPos); in onFocusChange()
187 View parent = (View) child.getParent(); in computeLocationRelativeToParentHelper()
DStats.java63 ViewParent parent = v.getParent(); in populateSourceDataFromAncestorProvider()
69 parent = parent.getParent(); in populateSourceDataFromAncestorProvider()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DFadeAndShortSlide.java146 while (parent.getParent() instanceof View) { in findParentForDelay()
147 parent = (View) parent.getParent(); in findParentForDelay()
345 ViewParent parent = child.getParent(); in getRelativeLeft()
352 parent = parent.getParent(); in getRelativeLeft()
358 ViewParent parent = child.getParent(); in getRelativeRight()
365 parent = parent.getParent(); in getRelativeRight()
371 ViewParent parent = child.getParent(); in getRelativeTop()
378 parent = parent.getParent(); in getRelativeTop()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DEntity.java46 public Entity getParent() { in getParent() method in Entity
107 ContentTypeField parent = getParent() != null in getMimeType()
108 ? (ContentTypeField) getParent().getHeader(). in getMimeType()
DMultipart.java83 public Entity getParent() { in getParent() method in Multipart
192 Entity e = getParent(); in getBoundary()
199 Entity e = getParent(); in getCharset()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapFolderElement.java108 public BluetoothMapFolderElement getParent() { in getParent() method in BluetoothMapFolderElement
120 if(current.getParent() != null) { in getFullPath()
123 current = current.getParent(); in getFullPath()
176 while(rootFolder.getParent() != null) in getRoot()
177 rootFolder = rootFolder.getParent(); in getRoot()
/packages/apps/DeskClock/src/com/android/deskclock/
DVerticalViewPager.java135 final ViewParent parent = getParent().getParent().getParent(); in initializeParent()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorAnimator.java76 final ViewGroup victimParent = (ViewGroup) victim.getParent(); in removeEditorView()
189 ViewParent parent = view.getParent(); in getParentScrollView()
220 final ViewGroup victimParent = (ViewGroup) view.getParent(); in getViewsBelowOf()
241 final ViewParent parent = container.getParent(); in getViewsBelowOfRecursive()
/packages/apps/Settings/src/com/android/settings/
DPinnedHeaderListFragment.java38 ((ViewGroup) getListView().getParent()).addView(pinnedHeaderView, 0); in setPinnedHeaderView()
45 ((ViewGroup) getListView().getParent()).removeViewAt(0); in clearPinnedHeaderView()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java116 View v = (View)mArtistName.getParent(); in onCreate()
120 v = (View)mAlbumName.getParent(); in onCreate()
124 v = (View)mTrackName.getParent(); in onCreate()
317 if (knownartist && view.equals(mArtistName.getParent())) { in onLongClick()
321 } else if (knownalbum && view.equals(mAlbumName.getParent())) { in onLongClick()
329 } else if (view.equals(mTrackName.getParent()) || !knownartist || !knownalbum) { in onLongClick()
1284 ((View) mArtistName.getParent()).setVisibility(View.INVISIBLE); in updateTrackInfo()
1285 ((View) mAlbumName.getParent()).setVisibility(View.INVISIBLE); in updateTrackInfo()
1291 ((View) mArtistName.getParent()).setVisibility(View.VISIBLE); in updateTrackInfo()
1292 ((View) mAlbumName.getParent()).setVisibility(View.VISIBLE); in updateTrackInfo()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageAttachmentTile.java136 AttachmentTileGrid tileGrid = ((AttachmentTileGrid) getParent()); in showAndDownloadAttachments()
241 ViewParent parent = lhs.getParent(); in compare()
242 if (parent == rhs.getParent()) { in compare()
/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/experimental/Bummer/src/com/android/dreams/bummer/
DBummerView.java43 final View parent = (View) BummerView.this.getParent();
92 final View parent = (View) this.getParent(); in onAttachedToWindow()
/packages/apps/Camera2/src/com/android/camera/
DOnScreenHint.java142 if (mView.getParent() != null) { in handleShow()
155 if (mView.getParent() != null) { in handleHide()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardView.java298 return (View)getParent(); in getContainerView()
310 final ViewGroup currentParent = (ViewGroup)containerView.getParent(); in removeFromParent()
318 return (getContainerView().getParent() != null); in isShowingInParent()
/packages/apps/Settings/src/com/android/settings/widget/
DExploreByTouchHelper.java178 final ViewParent parent = mView.getParent(); in sendEventForVirtualView()
491 ViewParent viewParent = mView.getParent(); in intersectVisibleToUser()
497 viewParent = view.getParent(); in intersectVisibleToUser()
/packages/apps/LegacyCamera/src/com/android/camera/
DOnScreenHint.java158 if (mView.getParent() != null) { in handleShow()
170 if (mView.getParent() != null) { in handleHide()
/packages/experimental/TestBack/src/foo/bar/testback/
DTestBackService.java95 AccessibilityNodeInfo parent = root.getParent(); in dumpWindow()
119 AccessibilityNodeInfo parent = child.getParent(); in dumpTree()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DPlayControlsRowViewTest.java157 UiObject2 focusedButtonGroup = focusedView.getParent(); in assertButtonHasFocus()
159 UiObject2 controlBar = focusedButtonGroup.getParent(); in assertButtonHasFocus()

1234567