/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
D | FrameLayoutGravityTest.java | 38 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 …]
|
D | FrameLayoutMarginTest.java | 34 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/ |
D | ViewInvalidateTest.java | 67 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 …]
|
D | VisibilityCallbackTest.java | 36 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/libs/net/common/device/android/net/ |
D | NetworkFactoryLegacyImpl.java | 102 final NetworkFactory mParent; field in NetworkFactoryLegacyImpl 115 mParent = parent; in NetworkFactoryLegacyImpl() 125 if (DBG) mParent.log("Registering NetworkFactory"); in register() 150 if (DBG) mParent.log("Unregistering NetworkFactory"); in terminate() 215 mParent.log("got request " + request + " with score " + score in handleAddRequest() 222 mParent.log("new score " + score + " for existing request " + request in handleAddRequest() 228 if (VDBG) mParent.log(" my score=" + mScore + ", my filter=" + mCapabilityFilter); in handleAddRequest() 237 if (n.requested) mParent.releaseNetworkFor(n.request); in handleRemoveRequest() 271 return mParent.acceptRequest(request); in acceptRequest() 276 mParent.log("evalRequest"); in evalRequest() [all …]
|
D | NetworkFactoryImpl.java | 155 if (DBG) mParent.log("Registering NetworkFactory"); in register() 240 if (DBG) mParent.log("got request " + request); in handleAddRequest() 244 if (VDBG) mParent.log("handle existing request " + request); in handleAddRequest() 246 if (VDBG) mParent.log(" my score=" + mScore + ", my filter=" + mCapabilityFilter); in handleAddRequest() 248 if (mParent.acceptRequest(request)) { in handleAddRequest() 250 mParent.needNetworkFor(request); in handleAddRequest() 258 if (n.requested) mParent.releaseNetworkFor(n.request); in handleRemoveRequest() 265 mParent.reevaluateAllRequests(); in handleSetScore() 271 mParent.reevaluateAllRequests(); in handleSetFilter()
|
/frameworks/base/libs/hwui/ |
D | AnimatorManager.cpp | 35 : mParent(parent), mAnimationHandle(nullptr), mCancelAllAnimators(false) {} in AnimatorManager() 44 if (stagingTarget == &mParent) { in addAnimator() 54 animator->attach(&mParent); in addAnimator() 66 "Lost animation handle on %p (%s) with outstanding animators!", &mParent, in setAnimationHandle() 67 mParent.getName()); in setAnimationHandle() 73 ALOGW("Trying to start new animators on %p (%s) without an animation handle!", &mParent, in pushStaging() 74 mParent.getName()); in pushStaging() 80 if (anim->target() != &mParent) { in pushStaging() 100 LOG_ALWAYS_FATAL_IF(animator->target() == &mParent, "Target has not been changed"); in onAnimatorTargetChanged() 137 mParent.damageSelf(info); in animate() [all …]
|
/frameworks/av/media/libstagefright/id3/ |
D | ID3.cpp | 504 : mParent(parent), in Iterator() 506 mOffset(mParent.mFirstFrameOffset), in Iterator() 544 if (mParent.mVersion == ID3_V2_2) { in getID() 545 id->setTo((const char *)&mParent.mData[mOffset], 3); in getID() 546 } else if (mParent.mVersion == ID3_V2_3 || mParent.mVersion == ID3_V2_4) { in getID() 547 id->setTo((const char *)&mParent.mData[mOffset], 4); in getID() 549 CHECK(mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1); in getID() 602 if (mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1) { in getstring() 751 if (mParent.mVersion == ID3_V2_2) { in getHeaderLength() 753 } else if (mParent.mVersion == ID3_V2_3 || mParent.mVersion == ID3_V2_4) { in getHeaderLength() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateSelectionTest.cpp | 71 sp<Layer> mParent; member in android::RefreshRateSelectionTest 144 mParent = createBufferStateLayer(); in TEST_F() 146 setParent(mChild.get(), mParent.get()); in TEST_F() 150 ASSERT_EQ(PRIORITY_UNSET, mParent->getFrameRateSelectionPriority()); in TEST_F() 157 ASSERT_EQ(PRIORITY_UNSET, mParent->getFrameRateSelectionPriority()); in TEST_F() 166 ASSERT_EQ(PRIORITY_UNSET, mParent->getFrameRateSelectionPriority()); in TEST_F() 171 mParent->setFrameRateSelectionPriority(1); in TEST_F() 172 commitTransaction(mParent.get()); in TEST_F() 177 ASSERT_EQ(1, mParent->getFrameRateSelectionPriority()); in TEST_F() 183 mParent = createEffectLayer(); in TEST_F() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | LayoutSplitter.h | 62 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
|
D | BidiUtils.h | 54 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/ |
D | ChildContentCaptureSession.java | 33 private final ContentCaptureSession mParent; field in ChildContentCaptureSession 39 mParent = parent; in ChildContentCaptureSession() 44 if (mParent instanceof MainContentCaptureSession) { in getMainCaptureSession() 45 return (MainContentCaptureSession) mParent; in getMainCaptureSession() 47 return mParent.getMainCaptureSession(); in getMainCaptureSession() 59 mParent.flush(reason); in flush() 69 getMainCaptureSession().notifyChildSessionFinished(mParent.mId, mId); in onDestroy()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | SparseMappingTable.java | 72 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/ |
D | ItemLayoutTest.java | 71 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/ |
D | TestableContentResolver.java | 44 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/core/java/android/view/ |
D | RoundScrollbarRenderer.java | 40 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/ |
D | CacheItem.cpp | 39 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/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaConnection.java | 61 GsmCdmaCall mParent; field in GsmCdmaConnection 157 mParent = parentFromDCState(dc.state); in GsmCdmaConnection() 158 mParent.attach(this, dc); in GsmCdmaConnection() 210 mParent = parent; in GsmCdmaConnection() 247 mParent = parent; in GsmCdmaConnection() 256 if (mParent != null) { in dispose() 257 mParent.detach(this); in dispose() 356 return mParent; in getCall() 656 if (mParent != null) { in onDisconnect() 657 changed = mParent.connectionDisconnected(this); in onDisconnect() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationMenuRow.java | 71 private ExpandableNotificationRow mParent; field in NotificationMenuRow 149 return mParent; in getParent() 189 mParent = (ExpandableNotificationRow) parent; in createMenu() 239 mParent.setLayoutListener(this); in onConfigurationChanged() 246 mParent.removeListener(); in onLayout() 265 NotificationEntry entry = mParent.getEntry(); in createMenuViews() 323 mMenuListener.onMenuReset(mParent); in resetState() 347 && !mParent.areGutsExposed() in onTouchMove() 348 && !mParent.showingPulsing() in onTouchMove() 385 if (mAlpha == 0f && mParent != null) { in onSnapOpen() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | AdminSecondaryLockScreenController.java | 61 private final ConstraintLayout mParent; field in AdminSecondaryLockScreenController 164 mParent = parent; in AdminSecondaryLockScreenController() 179 mParent.addView(mView); in show() 181 constraintSet.clone(mParent); in show() 188 constraintSet.applyTo(mParent); in show() 197 mParent.removeView(mView); in hide() 265 private final KeyguardSecurityContainer mParent; field in AdminSecondaryLockScreenController.Factory 273 mParent = parent; in Factory() 279 return new AdminSecondaryLockScreenController(mContext, mParent, mUpdateMonitor, in create()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | NavBarFadeAnimationController.java | 121 private SurfaceControl mParent; field in NavBarFadeAnimationController.NavFadeAnimationAdapter 127 mParent = parent; in NavFadeAnimationAdapter() 134 if (mParent != null && mParent.isValid()) { in startAnimation() 135 t.reparent(animationLeash, mParent); in startAnimation()
|
/frameworks/base/core/tests/coretests/src/android/app/assist/ |
D | EmptyLayoutActivity.java | 29 private LinearLayout mParent; field in EmptyLayoutActivity 37 mParent = findViewById(R.id.parent); in onCreate() 43 runOnUiThread(() -> mParent.addView(view)); in addView()
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | Mutexed.h | 105 inline Locked(Mutexed<T> &mParent); 171 inline Mutexed<T>::Locked::Locked(Mutexed<T> &mParent) in Locked() argument 172 : mLock(mParent.mLock), in Locked() 173 mTreasure(mParent.mTreasure), in Locked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/complication/ |
D | ComplicationLayoutEngine.java | 65 private final Parent mParent; field in ComplicationLayoutEngine.ViewEntry 86 mParent = parent; in ViewEntry() 245 mParent.removeEntry(this); in remove() 277 private Parent mParent; field in ComplicationLayoutEngine.ViewEntry.Builder 309 mParent = parent; in setParent() 326 return new ViewEntry(mView, mLayoutParams, mTouchSession, mCategory, mParent, in build() 422 private final Parent mParent; field in ComplicationLayoutEngine.DirectionGroup 430 mParent = parent; in DirectionGroup() 452 mParent.onEntriesChanged(); in add() 463 mParent.onEntriesChanged(); in removeEntry()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/ |
D | TestableDependency.java | 28 private final Dependency mParent; field in TestableDependency 31 mParent = parent; in TestableDependency() 56 return mParent.createDependency(key); in createDependency()
|