Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/
DPreferenceParentGroupTest.java57 assertNull(screen.getParent()); in parentAddRemoveTest()
60 assertNull(category.getParent()); in parentAddRemoveTest()
63 assertNull(pref.getParent()); in parentAddRemoveTest()
66 assertEquals(screen, category.getParent()); in parentAddRemoveTest()
69 assertEquals(category, pref.getParent()); in parentAddRemoveTest()
72 assertNull(category.getParent()); in parentAddRemoveTest()
75 assertNull(pref.getParent()); in parentAddRemoveTest()
94 assertNull(pref.getParent()); in parentReassignTest()
97 assertEquals(category1, pref.getParent()); in parentReassignTest()
101 assertEquals(category2, pref.getParent()); in parentReassignTest()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DConfigurationContainer.java80 final ConfigurationContainer parent = getParent(); in onOverrideConfigurationChanged()
101 final ConfigurationContainer parent = getParent(); in onMergedOverrideConfigurationChanged()
118 final ConfigurationContainer parent = getParent(); in onParentChanged()
133 abstract protected ConfigurationContainer getParent(); in getParent() method in ConfigurationContainer
/frameworks/base/core/java/android/view/
DGhostView.java41 final ViewGroup parent = (ViewGroup) mView.getParent(); in GhostView()
79 final ViewGroup parent = (ViewGroup) mView.getParent(); in onDetachedFromWindow()
87 ViewGroup parent = (ViewGroup) view.getParent(); in calculateMatrix()
95 if (!(view.getParent() instanceof ViewGroup)) { in addGhost()
103 View oldParent = (View) ghostView.getParent(); in addGhost()
104 ViewGroup oldGrandParent = (ViewGroup) oldParent.getParent(); in addGhost()
143 ViewGroup parent = (ViewGroup) ghostView.getParent(); in removeGhost()
144 ViewGroup grandParent = (ViewGroup) parent.getParent(); in removeGhost()
302 ViewParent parent = view.getParent(); in getParents()
315 ViewGroup parent = (ViewGroup) view.getParent(); in isOnTop()
DViewParent.java72 if (getParent() != null) { in onDescendantInvalidated()
74 getParent().onDescendantInvalidated(child, target); in onDescendantInvalidated()
119 public ViewParent getParent(); in getParent() method
DViewOverlay.java182 if (child.getParent() instanceof ViewGroup) { in add()
183 ViewGroup parent = (ViewGroup) child.getParent(); in add()
184 if (parent != mHostView && parent.getParent() != null && in add()
201 if (child.getParent() != null) { in add()
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java55 this.mParent = getParent(locale); in LocaleInfo()
66 private static Locale getParent(Locale locale) { in getParent() method in LocaleStore.LocaleInfo
84 public Locale getParent() { in getParent() method in LocaleStore.LocaleInfo
146 Locale parentWithScript = getParent(LocaleHelper.addLikelySubtags(mLocale)); in getLangScriptKey()
265 final Locale parent = li.getParent(); in fillCache()
323 if (li.getParent() != null) return 2; in getLevel()
344 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales()
351 result.add(getLocaleInfo(li.getParent())); in getLevelLocales()
DMicroAlertController.java62 ((ViewGroup) topPanel.getParent()).removeView(topPanel); in setupContent()
70 ((ViewGroup) buttonPanel.getParent()).removeView(buttonPanel); in setupContent()
77 final ViewGroup scrollParent = (ViewGroup) mScrollView.getParent(); in setupContent()
/frameworks/compile/mclinker/lib/LD/
DBranchIslandFactory.cpp83 if (pFragment.getParent() != (*it).getParent()) { in getIslands()
91 if ((prev != ie) && (pFragment.getParent() == (*prev).getParent())) { in getIslands()
DBranchIsland.cpp50 return m_Entry.getParent()->end(); in end()
56 return m_Entry.getParent()->end(); in end()
106 SectionData* sd = m_Entry.getParent(); in addStub()
132 SectionData* sd = m_Entry.getParent(); in addStub()
DIdenticalCodeFolding.cpp107 LDSection* sect = &(frag_ref->frag()->getParent()->getSection()); in foldIdenticalCode()
146 &sym->fragRef()->frag()->getParent()->getSection(); in findCandidates()
251 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in initConstantContent()
259 &sym->fragRef()->frag()->getParent()->getSection()) != in initConstantContent()
286 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in getContentWithVariables()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGuidanceStylingRelativeLayout.java54 if (mTitleView != null && mTitleView.getParent() == this) { in onLayout()
61 if (mBreadcrumbView != null && mBreadcrumbView.getParent() == this) { in onLayout()
67 if (mDescriptionView != null && mDescriptionView.getParent() == this) { in onLayout()
72 if (mIconView != null && mIconView.getParent() == this) { in onLayout()
/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupChildrenTest.java133 assertNull(view.getParent()); in testRemoveChild()
151 assertNull(views[i].getParent()); in testRemoveChildren()
172 assertNull(views[i].getParent()); in testRemoveChildrenBulk()
193 assertNull(views[i].getParent()); in testRemoveChildrenBulkAtFront()
215 assertNull(views[i].getParent()); in testRemoveChildrenBulkAtEnd()
235 assertNull(views[0].getParent()); in testRemoveChildAtFront()
254 assertNull(views[12].getParent()); in testRemoveChildInMiddle()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DIncludeTagTest.java44 assertEquals(mBinder.getRoot(), textView1.getParent().getParent()); in testIncludeTag()
46 assertEquals(mBinder.getRoot(), textView2.getParent().getParent()); in testIncludeTag()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java82 final protected WindowContainer getParent() { in getParent() method in WindowContainer
121 if (child.getParent() != null) { in addChild()
123 + " is already a child of container=" + child.getParent().getName() in addChild()
150 if (child.getParent() != null) { in addChild()
152 + " is already a child of container=" + child.getParent().getName() in addChild()
239 if (child.getParent() != this) { in positionChildAt()
242 + " current parent=" + child.getParent()); in positionChildAt()
263 if (includingParents && getParent() != null) { in positionChildAt()
264 getParent().positionChildAt(POSITION_TOP, this /* child */, in positionChildAt()
273 if (includingParents && getParent() != null) { in positionChildAt()
[all …]
/frameworks/support/transition/api14/android/support/transition/
DViewOverlayApi14.java58 if (parent.getParent() instanceof ViewGroup) { in getContentView()
59 parent = (ViewGroup) parent.getParent(); in getContentView()
201 if (child.getParent() instanceof ViewGroup) { in add()
202 ViewGroup parent = (ViewGroup) child.getParent(); in add()
203 if (parent != mHostView && parent.getParent() != null in add()
220 if (child.getParent() != null) { in add()
/frameworks/base/core/java/android/transition/
DVisibility.java145 transitionValues.values.put(PROPNAME_PARENT, transitionValues.view.getParent()); in captureValues()
283 View endParent = (View) endValues.view.getParent(); in onAppear()
361 if (endView == null || endView.getParent() == null) { in onDisappear()
369 if (startView.getParent() == null) { in onDisappear()
372 } else if (startView.getParent() instanceof View) { in onDisappear()
373 View startParent = (View) startView.getParent(); in onDisappear()
382 } else if (startParent.getParent() == null) { in onDisappear()
505 this.mParent = (ViewGroup) view.getParent(); in DisappearListener()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListViewHeight.java101 View parent = (View) mOuterLayout.getParent(); // FrameLayout (app container) in onCreate()
102 View grandpa = (View) parent.getParent(); // LinearLayout (title+app) in onCreate()
103 View great = (View) grandpa.getParent(); // PhoneWindow.DecorView in onCreate()
/frameworks/support/transition/src/android/support/transition/
DVisibility.java144 transitionValues.values.put(PROPNAME_PARENT, transitionValues.view.getParent()); in captureValues()
279 View endParent = (View) endValues.view.getParent(); in onAppear()
340 if (endView == null || endView.getParent() == null) { in onDisappear()
348 if (startView.getParent() == null) { in onDisappear()
351 } else if (startView.getParent() instanceof View) { in onDisappear()
352 View startParent = (View) startView.getParent(); in onDisappear()
361 } else if (startParent.getParent() == null) { in onDisappear()
484 mParent = (ViewGroup) view.getParent(); in DisappearListener()
/frameworks/compile/mclinker/include/mcld/Fragment/
DFragment.h40 const SectionData* getParent() const { return m_pParent; } in getParent() function
41 SectionData* getParent() { return m_pParent; } in getParent() function
/frameworks/support/design/src/android/support/design/widget/
DTextInputEditText.java53 ViewParent parent = getParent(); in onCreateInputConnection()
59 parent = parent.getParent(); in onCreateInputConnection()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DLockSettingsStorageTestable.java58 if (path.getParent() == null) { in makeDirs()
61 File mappedDir = new File(baseDir, path.getParent()); in makeDirs()
/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityWindowInfoCompat.java138 public AccessibilityWindowInfoCompat getParent() { in getParent() method in AccessibilityWindowInfoCompat
140 return wrapNonNullInstance(((AccessibilityWindowInfo) mInfo).getParent()); in getParent()
352 builder.append(", hasParent=").append(getParent() != null); in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java142 if (mMultiUserSwitch.getParent() != this && !mKeyguardUserSwitcherShowing) { in updateVisibilities()
143 if (mMultiUserSwitch.getParent() != null) { in updateVisibilities()
147 } else if (mMultiUserSwitch.getParent() == this && mKeyguardUserSwitcherShowing) { in updateVisibilities()
253 final boolean userSwitcherVisible = mMultiUserSwitch.getParent() == this; in animateNextLayoutChange()
259 && mMultiUserSwitch.getParent() != KeyguardStatusBarView.this; in animateNextLayoutChange()
/frameworks/base/core/java/android/widget/
DForwardingListener.java192 src.getParent().requestDisallowInterceptTouchEvent(true); in onTouchObserved()
231 src.getParent().requestDisallowInterceptTouchEvent(true); in onLongPress()
281 final ViewParent parent = mSrc.getParent(); in run()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/stack/
DNotificationChildrenContainerTest.java58 Assert.assertTrue(lowPriorityHeaderView.getParent() == childrenContainer); in testLowPriorityHeaderCleared()
60 Assert.assertTrue(lowPriorityHeaderView.getParent() == null); in testLowPriorityHeaderCleared()

12345678910>>...15