Home
last modified time | relevance | path

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

12345

/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()
DLauncher.java416 ViewGroup appsCustomizeContentParent = (ViewGroup) mAppsCustomizeContent.getParent(); in onCreate()
1590 ((ViewGroup) mWorkspace.getParent()).removeAllViews(); in onDestroy()
2266 CellLayout cl = (CellLayout) fi.getParent().getParent(); in growAndFadeOutFolderIcon()
2287 final CellLayout cl = (CellLayout) fi.getParent().getParent(); in shrinkAndFadeInFolderIcon()
2324 if (folder.getParent() == null) { in openFolder()
2329 folder.getParent() + ")."); in openFolder()
2356 ViewGroup parent = (ViewGroup) folder.getParent().getParent(); in closeFolder()
2374 v = (View) v.getParent().getParent(); in onLongClick()
3689 ((ViewGroup)progressBar.getParent()).removeView(progressBar); in bindAllApplications()
3938 final ViewGroup parent = (ViewGroup) cling.getParent(); in removeCling()
[all …]
DBubbleTextView.java253 if (getParent() instanceof ShortcutAndWidgetContainer) { in setCellLayoutPressedOrFocusedIcon()
254 ShortcutAndWidgetContainer parent = (ShortcutAndWidgetContainer) getParent(); in setCellLayoutPressedOrFocusedIcon()
256 CellLayout layout = (CellLayout) parent.getParent(); in setCellLayoutPressedOrFocusedIcon()
DDragLayer.java329 ViewParent viewParent = descendant.getParent(); in getDescendantCoordRelativeToSelf()
336 viewParent = view.getParent(); in getDescendantCoordRelativeToSelf()
477 ShortcutAndWidgetContainer parentChildren = (ShortcutAndWidgetContainer) child.getParent(); in animateViewIntoPosition()
491 float scale = getDescendantCoordRelativeToSelf((View) child.getParent(), coord); in animateViewIntoPosition()
DFolder.java409 if (!(getParent() instanceof DragLayer)) return; in positionAndSizeAsIcon()
419 if (!(getParent() instanceof DragLayer)) return; in animateOpen()
473 if (!(getParent() instanceof DragLayer)) return; in animateClosed()
921 DragLayer parent = (DragLayer) getParent(); in onCloseComplete()
DHideFromAccessibilityHelper.java110 (v.getParent() instanceof ViewGroup && in hasAncestorOfType()
111 hasAncestorOfType((ViewGroup) v.getParent(), c))); in hasAncestorOfType()
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DAudioTrackView.java146 (TimelineHorizontalScrollView)((View)((View)getParent()).getParent()).getParent(); in onAttachedToWindow()
154 (TimelineHorizontalScrollView)((View)((View)getParent()).getParent()).getParent(); in onDetachedFromWindow()
314 (((View)getParent()).getWidth() - mScreenWidth))); in onDraw()
DPlayheadView.java108 (TimelineHorizontalScrollView)((View)getParent()).getParent(); in onAttachedToWindow()
116 (TimelineHorizontalScrollView)((View)getParent()).getParent(); in onDetachedFromWindow()
DAudioTrackLinearLayout.java528 final int leftViewWidth = (Integer)((View)getParent().getParent()).getTag( in onLayout()
729 ((RelativeLayout)getParent()).setSelected(false);
/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/DeskClock/src/com/android/deskclock/widget/swipeablelistview/
DSwipeHelper.java186 while (view.getParent() != null && view.getParent() instanceof View) { in invalidateGlobalRegion()
187 view = (View) view.getParent(); in invalidateGlobalRegion()
217 View parent = (View) button.getParent(); in onInterceptTouchEvent()
221 if (parent.getParent() == parent.getRootView()) { in onInterceptTouchEvent()
224 parent = (View) parent.getParent(); in onInterceptTouchEvent()
/packages/apps/Browser/src/com/android/browser/
DBaseUi.java349 ViewGroup parent = (ViewGroup) mainView.getParent(); in attachTabToContentView()
356 parent = (ViewGroup) container.getParent(); in attachTabToContentView()
449 if (container.getParent() != null) { in attachSubWindow()
451 ((ViewGroup) container.getParent()).removeView(container); in attachSubWindow()
707 if (errorConsole.getParent() != null) { in setShouldShowErrorConsole()
/packages/apps/Email/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/Browser/src/com/android/browser/view/
DBookmarkExpandableView.java191 if (getParent() != null) { in showContextMenuForChild()
192 getParent().showContextMenuForChild(this); in showContextMenuForChild()
400 if (crumbs.getParent() != null) { in getGroupView()
401 ((ViewGroup)crumbs.getParent()).removeView(crumbs); in getGroupView()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DUserDictionaryToolsList.java730 ((View)mLeftButton.getParent()).setVisibility(View.GONE); in updateWordList()
732 ((View)mLeftButton.getParent()).setVisibility(View.VISIBLE); in updateWordList()
748 ((View)(mTableLayout.findViewById(i + 1)).getParent()).setVisibility(View.GONE); in updateWordList()
768 ((View)text.getParent()).setVisibility(View.VISIBLE); in updateWordList()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorAnimator.java75 final ViewGroup victimParent = (ViewGroup) victim.getParent(); in removeEditorView()
239 final ViewGroup victimParent = (ViewGroup) view.getParent(); in getViewsBelowOf()
260 final ViewParent parent = container.getParent(); in getViewsBelowOfRecursive()
DBaseRawContactEditorView.java126 if (getParent() instanceof ViewGroup && ((ViewGroup) getParent()).getChildCount() == 1) { in setExpanded()
/packages/apps/Gallery2/src/com/android/camera/ui/
DPieRenderer.java494 private PieItem getParent() { in getParent() method in PieRenderer
527 drawArc(canvas, getLevel(), getParent()); in onDraw()
528 List<PieItem> items = getParent().getItems(); in onDraw()
531 for (PieItem item : getParent().getItems()) { in onDraw()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsView.java98 if (getParent() instanceof FrameLayout) { in setMaxPromotedByHeight()
102 maxHeight = ((View) getParent()).getHeight(); in setMaxPromotedByHeight()
/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/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/Settings/src/com/android/settings/widget/
DChartSweepView.java418 final View parent = (View) getParent(); in onTouchEvent()
473 getParent().requestDisallowInterceptTouchEvent(true); in onTouchEvent()
551 final View parent = (View) getParent();
/packages/apps/LegacyCamera/src/com/android/camera/
DOnScreenHint.java158 if (mView.getParent() != null) { in handleShow()
170 if (mView.getParent() != null) { in handleHide()

12345