Home
last modified time | relevance | path

Searched refs:mParent (Results 1 – 25 of 93) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutGravityTest.java38 private View mParent; field in FrameLayoutGravityTest
50 mParent = activity.findViewById(R.id.parent); in setUp()
67 assertNotNull(mParent); in testSetUpConditions()
81 ViewAsserts.assertLeftAligned(mParent, mLeftView); in testLeftTopAligned()
82 ViewAsserts.assertTopAligned(mParent, mLeftView); in testLeftTopAligned()
87 ViewAsserts.assertRightAligned(mParent, mRightView); in testRightTopAligned()
88 ViewAsserts.assertTopAligned(mParent, mRightView); in testRightTopAligned()
93 ViewAsserts.assertHorizontalCenterAligned(mParent, mCenterHorizontalView); in testCenterHorizontalTopAligned()
94 ViewAsserts.assertTopAligned(mParent, mCenterHorizontalView); in testCenterHorizontalTopAligned()
99 ViewAsserts.assertLeftAligned(mParent, mLeftCenterVerticalView); in testLeftCenterVerticalAligned()
[all …]
DFrameLayoutMarginTest.java34 private View mParent; field in FrameLayoutMarginTest
46 mParent = activity.findViewById(R.id.parent); in setUp()
56 assertNotNull(mParent); in testSetUpConditions()
65 ViewAsserts.assertLeftAligned(mParent, mLeftView, in testLeftMarginAligned()
71 ViewAsserts.assertRightAligned(mParent, mRightView, in testRightMarginAligned()
77 ViewAsserts.assertTopAligned(mParent, mTopView, in testTopMarginAligned()
83 ViewAsserts.assertBottomAligned(mParent, mBottomView, in testBottomMarginAligned()
/frameworks/base/core/tests/coretests/src/android/view/
DViewInvalidateTest.java67 mParent = new FrameLayout(getContext()); in setup()
72 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mParent, () -> { in setup()
73 mParent.addView(mChild); in setup()
74 getActivity().setContentView(mParent); in setup()
84 mParent = null; in teardown()
96 private ViewGroup mParent; field in ViewInvalidateTest
127 validateInvalFlags(mParent, in testInvalidate_behavior()
130 assertFalse(getViewRoot(mParent).mTraversalScheduled); in testInvalidate_behavior()
140 validateInvalFlags(mParent, in testInvalidate_behavior()
143 assertTrue(getViewRoot(mParent).mTraversalScheduled); in testInvalidate_behavior()
[all …]
DVisibilityCallbackTest.java36 private ViewGroup mParent; field in VisibilityCallbackTest
53 mParent = (ViewGroup) a.findViewById(R.id.parent); in setUp()
78 assertEquals(View.VISIBLE, mParent.getVisibility()); in testSetUpConditions()
100 mParent.setVisibility(View.INVISIBLE); in testChild()
102 assertEquals(mParent, mVictim.getLastVisChangedView()); in testChild()
104 mParent.setVisibility(View.GONE); in testChild()
106 assertEquals(mParent, mVictim.getLastVisChangedView()); in testChild()
108 mParent.setVisibility(View.VISIBLE); in testChild()
110 assertEquals(mParent, mVictim.getLastVisChangedView()); in testChild()
/frameworks/base/libs/hwui/
DAnimatorManager.cpp34 AnimatorManager::AnimatorManager(RenderNode& parent) : mParent(parent), mAnimationHandle(nullptr) {} in AnimatorManager()
43 if (stagingTarget == &mParent) { in addAnimator()
53 animator->attach(&mParent); in addAnimator()
65 "Lost animation handle on %p (%s) with outstanding animators!", &mParent, in setAnimationHandle()
66 mParent.getName()); in setAnimationHandle()
72 ALOGW("Trying to start new animators on %p (%s) without an animation handle!", &mParent, in pushStaging()
73 mParent.getName()); in pushStaging()
79 if (anim->target() != &mParent) { in pushStaging()
91 LOG_ALWAYS_FATAL_IF(animator->target() == &mParent, "Target has not been changed"); in onAnimatorTargetChanged()
128 mParent.damageSelf(info); in animate()
[all …]
/frameworks/av/media/libstagefright/id3/
DID3.cpp492 : mParent(parent), in Iterator()
494 mOffset(mParent.mFirstFrameOffset), in Iterator()
532 if (mParent.mVersion == ID3_V2_2) { in getID()
533 id->setTo((const char *)&mParent.mData[mOffset], 3); in getID()
534 } else if (mParent.mVersion == ID3_V2_3 || mParent.mVersion == ID3_V2_4) { in getID()
535 id->setTo((const char *)&mParent.mData[mOffset], 4); in getID()
537 CHECK(mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1); in getID()
590 if (mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1) { in getstring()
739 if (mParent.mVersion == ID3_V2_2) { in getHeaderLength()
741 } else if (mParent.mVersion == ID3_V2_3 || mParent.mVersion == ID3_V2_4) { in getHeaderLength()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsManager.java44 private final NotificationStackScrollLayout mParent; field in NotificationSectionsManager
62 mParent = parent; in NotificationSectionsManager()
88 oldPos = mParent.indexOfChild(mGentleHeader); in reinflateViews()
89 mParent.removeView(mGentleHeader); in reinflateViews()
94 R.layout.status_bar_notification_section_header, mParent, false); in reinflateViews()
99 mParent.addView(mGentleHeader, oldPos); in reinflateViews()
130 final int n = mParent.getChildCount(); in updateSectionBoundaries()
132 View child = mParent.getChildAt(i); in updateSectionBoundaries()
147 mParent.hasActiveClearableNotifications(ROWS_GENTLE)); in updateSectionBoundaries()
154 final int currentHeaderIndex = mParent.indexOfChild(mGentleHeader); in adjustGentleHeaderVisibilityAndPosition()
[all …]
/frameworks/base/obex/javax/obex/
DPrivateOutputStream.java46 private BaseStream mParent; field in PrivateOutputStream
59 mParent = p; in PrivateOutputStream()
84 mParent.ensureNotDone(); in write()
87 mParent.continueOperation(true, false); in write()
109 mParent.ensureNotDone(); in write()
115 mParent.continueOperation(true, false); in write()
147 mParent.ensureOpen(); in ensureOpen()
161 mParent.streamClosed(false); in close()
DPrivateInputStream.java45 private BaseStream mParent; field in PrivateInputStream
58 mParent = p; in PrivateInputStream()
93 if (!mParent.continueOperation(true, true)) { in read()
128 if (!mParent.continueOperation(true, true)) { in read()
165 mParent.ensureOpen(); in ensureOpen()
179 mParent.streamClosed(true); in close()
DClientOperation.java57 private ClientSession mParent; field in ClientOperation
110 mParent = p; in ClientOperation()
187 mParent.sendRequest(ObexHelper.OBEX_OPCODE_ABORT, null, mReplyHeader, null, false); in abort()
348 mParent.setRequestInactive(); in close()
408 mParent.ensureOpen(); in ensureOpen()
489 if (!mParent.sendRequest(opCode, sendHeader, mReplyHeader, mPrivateInput, false)) { in sendRequest()
568 if (!mParent.sendRequest(opCode, null, mReplyHeader, mPrivateInput, mSrmActive)) { in sendRequest()
576 && (!mParent.sendRequest(opCode, out.toByteArray(), in sendRequest()
593 if(mParent.isSrmSupported() == true && srmMode != null in checkForSrm()
645 mParent.sendRequest(ObexHelper.OBEX_OPCODE_GET_FINAL, in startProcessing()
[all …]
/frameworks/minikin/libs/minikin/
DLayoutSplitter.h62 bool operator==(const iterator& o) const { return mPos == o.mPos && mParent == o.mParent; }
71 const U16StringPiece& textBuf = mParent->mTextBuf;
72 const Range& range = mParent->mRange;
73 if (mParent->mIsRtl) {
92 iterator(const LayoutSplitter* parent, uint32_t pos) : mParent(parent), mPos(pos) { in iterator()
93 const U16StringPiece& textBuf = mParent->mTextBuf; in iterator()
94 const Range& range = mParent->mRange; in iterator()
109 const LayoutSplitter* mParent; variable
DBidiUtils.h54 return mRunOffset == o.mRunOffset && mParent == o.mParent;
59 inline RunInfo operator*() const { return mParent->getRunInfoAt(mRunOffset); }
70 : mParent(parent), mRunOffset(runOffset) {} in iterator()
72 const BidiText* mParent; variable
/frameworks/base/core/java/android/view/contentcapture/
DChildContentCaptureSession.java32 private final ContentCaptureSession mParent; field in ChildContentCaptureSession
38 mParent = parent; in ChildContentCaptureSession()
43 if (mParent instanceof MainContentCaptureSession) { in getMainCaptureSession()
44 return (MainContentCaptureSession) mParent; in getMainCaptureSession()
46 return mParent.getMainCaptureSession(); in getMainCaptureSession()
58 mParent.flush(reason); in flush()
68 getMainCaptureSession().notifyChildSessionFinished(mParent.mId, mId); in onDestroy()
/frameworks/base/core/java/com/android/internal/app/procstats/
DSparseMappingTable.java72 private SparseMappingTable mParent; field in SparseMappingTable.Table
78 mParent = parent; in Table()
95 final long[] theirLongs = copyFrom.mParent.mLongs.get(getArrayFromKey(theirKey)); in copyFrom()
100 final long[] myLongs = mParent.mLongs.get(getArrayFromKey(myKey)); in copyFrom()
130 final ArrayList<long[]> list = mParent.mLongs; in getOrAddKey()
133 if (mParent.mNextIndex + count > array.length) { in getOrAddKey()
138 mParent.mNextIndex = 0; in getOrAddKey()
144 | (mParent.mNextIndex << INDEX_SHIFT) in getOrAddKey()
147 mParent.mNextIndex += count; in getOrAddKey()
196 final long[] array = mParent.mLongs.get(getArrayFromKey(key)); in getValue()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemLayoutTest.java71 private final FrameLayout mParent; field in ItemLayoutTest
76 mParent = new FrameLayout(mContext); in ItemLayoutTest()
83 LayoutInflater.from(mContext).inflate(mItem.getLayoutResource(), mParent, true); in testInflateLayoutHasBasicViews() local
84 mItem.onBindView(mParent); in testInflateLayoutHasBasicViews()
86 assertNotNull("Title should exist", mParent.findViewById(R.id.suw_items_title)); in testInflateLayoutHasBasicViews()
87 assertNotNull("Summary should exist", mParent.findViewById(R.id.suw_items_summary)); in testInflateLayoutHasBasicViews()
88 assertNotNull("Icon should exist", mParent.findViewById(R.id.suw_items_icon)); in testInflateLayoutHasBasicViews()
/frameworks/base/tests/testables/src/android/testing/
DTestableContentResolver.java44 private final ContentResolver mParent; field in TestableContentResolver
50 mParent = context.getContentResolver(); in TestableContentResolver()
95 return mFallbackToExisting ? mParent.acquireProvider(name) : null; in acquireProvider()
105 return mFallbackToExisting ? mParent.acquireExistingProvider( in acquireExistingProvider()
117 return mParent.releaseProvider(provider); in releaseProvider()
126 return mFallbackToExisting ? mParent.acquireUnstableProvider(name) : null; in acquireUnstableProvider()
137 return mParent.releaseUnstableProvider(icp); in releaseUnstableProvider()
146 mParent.unstableProviderDied(icp); in unstableProviderDied()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DFullscreenUserSwitcher.java34 private final View mParent; field in FullscreenUserSwitcher
40 mParent = containerStub.inflate(); in FullscreenUserSwitcher()
44 View container = mParent.findViewById(R.id.container); in FullscreenUserSwitcher()
62 mParent.setVisibility(View.VISIBLE); in show()
69 mParent.setVisibility(View.INVISIBLE); in hide()
76 return mParent.getVisibility() == View.VISIBLE; in isVisible()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java55 GsmCdmaCall mParent; field in GsmCdmaConnection
150 mParent = parentFromDCState(dc.state); in GsmCdmaConnection()
151 mParent.attach(this, dc); in GsmCdmaConnection()
196 mParent = parent; in GsmCdmaConnection()
233 mParent = parent; in GsmCdmaConnection()
242 if (mParent != null) { in dispose()
243 mParent.detach(this); in dispose()
342 return mParent; in getCall()
619 if (mParent != null) { in onDisconnect()
620 changed = mParent.connectionDisconnected(this); in onDisconnect()
[all …]
/frameworks/base/core/java/android/view/
DRoundScrollbarRenderer.java40 private final View mParent; field in RoundScrollbarRenderer
55 mParent = parent; in RoundScrollbarRenderer()
69 float maxScroll = mParent.computeVerticalScrollRange(); in drawRoundScrollbars()
70 float scrollExtent = mParent.computeVerticalScrollExtent(); in drawRoundScrollbars()
74 float currentScroll = Math.max(0, mParent.computeVerticalScrollOffset()); in drawRoundScrollbars()
75 float linearThumbLength = mParent.computeVerticalScrollExtent(); in drawRoundScrollbars()
76 float thumbWidth = mParent.getWidth() * WIDTH_PERCENTAGE; in drawRoundScrollbars()
/frameworks/native/cmds/installd/
DCacheItem.cpp39 mParent = static_cast<CacheItem*>(p->fts_parent->fts_pointer); in CacheItem()
40 if (mParent) { in CacheItem()
41 group = mParent->group; in CacheItem()
42 tombstone = mParent->tombstone; in CacheItem()
61 CacheItem* parent = mParent; in buildPath()
64 parent = parent->mParent; in buildPath()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java97 private WindowContainer<WindowContainer> mParent = null; field in WindowContainer
148 return mParent; in getParent()
169 mParent = parent; in setParent()
180 if (mParent == null) { in onParentChanged()
195 reparentSurfaceControl(getPendingTransaction(), mParent.mSurfaceControl); in onParentChanged()
199 mParent.assignChildLayers(); in onParentChanged()
332 if (mParent != null) { in removeImmediately()
333 mParent.getPendingTransaction().merge(getPendingTransaction()); in removeImmediately()
340 if (mParent != null) { in removeImmediately()
341 mParent.removeChild(this); in removeImmediately()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java72 private ExpandableNotificationRow mParent; field in NotificationMenuRow
155 return mParent; in getParent()
190 mParent = (ExpandableNotificationRow) parent; in createMenu()
243 mParent.setLayoutListener(this); in onConfigurationChanged()
250 mParent.removeListener(); in onLayout()
272 mInfoItem = createInfoItem(mContext, !mParent.getEntry().isHighPriority()); in createMenuViews()
324 mMenuListener.onMenuReset(mParent); in resetState()
348 && !mParent.areGutsExposed() in onTouchMove()
349 && !mParent.isDark() in onTouchMove()
350 && !mParent.showingAmbientPulsing() in onTouchMove()
[all …]
DHybridGroupManager.java39 private final ViewGroup mParent; field in HybridGroupManager
48 mParent = parent; in HybridGroupManager()
64 R.layout.hybrid_notification, mParent, false); in inflateHybridViewWithStyle()
65 mParent.addView(hybrid); in inflateHybridViewWithStyle()
72 R.layout.hybrid_overflow_number, mParent, false); in inflateOverflowNumber()
73 mParent.addView(numberView); in inflateOverflowNumber()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DTemperatureTextAnimator.java45 private AnimatedTemperatureView mParent; field in TemperatureTextAnimator
64 mParent = parent; in TemperatureTextAnimator()
71 mParent.addOnLayoutChangeListener( in TemperatureTextAnimator()
73 setupAnimations(mParent.getGravity())); in TemperatureTextAnimator()
84 boolean isMinValue = mParent.isMinValue(temp); in setTemp()
85 boolean isMaxValue = mParent.isMaxValue(temp); in setTemp()
157 int pivotX = isLeft ? -mPivotOffset : mParent.getWidth() + mPivotOffset; in createRotateFadeAnimation()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.h94 StreamDeviceCallback(AudioStreamLegacy *parent) : mParent(parent) {} in StreamDeviceCallback()
99 if (mParent != nullptr) { in onAudioDeviceUpdate()
100 mParent->onAudioDeviceUpdate(deviceId); in onAudioDeviceUpdate()
104 AudioStreamLegacy *mParent; variable

1234