/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
D | FrameLayoutGravityTest.java | 37 private View mParent; field in FrameLayoutGravityTest 49 mParent = activity.findViewById(R.id.parent); in setUp() 66 assertNotNull(mParent); in testSetUpConditions() 80 ViewAsserts.assertLeftAligned(mParent, mLeftView); in testLeftTopAligned() 81 ViewAsserts.assertTopAligned(mParent, mLeftView); in testLeftTopAligned() 86 ViewAsserts.assertRightAligned(mParent, mRightView); in testRightTopAligned() 87 ViewAsserts.assertTopAligned(mParent, mRightView); in testRightTopAligned() 92 ViewAsserts.assertHorizontalCenterAligned(mParent, mCenterHorizontalView); in testCenterHorizontalTopAligned() 93 ViewAsserts.assertTopAligned(mParent, mCenterHorizontalView); in testCenterHorizontalTopAligned() 98 ViewAsserts.assertLeftAligned(mParent, mLeftCenterVerticalView); in testLeftCenterVerticalAligned() [all …]
|
D | FrameLayoutMarginTest.java | 33 private View mParent; field in FrameLayoutMarginTest 45 mParent = activity.findViewById(R.id.parent); in setUp() 55 assertNotNull(mParent); in testSetUpConditions() 64 ViewAsserts.assertLeftAligned(mParent, mLeftView, in testLeftMarginAligned() 70 ViewAsserts.assertRightAligned(mParent, mRightView, in testRightMarginAligned() 76 ViewAsserts.assertTopAligned(mParent, mTopView, in testTopMarginAligned() 82 ViewAsserts.assertBottomAligned(mParent, mBottomView, in testBottomMarginAligned()
|
/frameworks/av/media/libstagefright/id3/ |
D | ID3.cpp | 415 : mParent(parent), in Iterator() 417 mOffset(mParent.mFirstFrameOffset), in Iterator() 455 if (mParent.mVersion == ID3_V2_2) { in getID() 456 id->setTo((const char *)&mParent.mData[mOffset], 3); in getID() 457 } else if (mParent.mVersion == ID3_V2_3 || mParent.mVersion == ID3_V2_4) { in getID() 458 id->setTo((const char *)&mParent.mData[mOffset], 4); in getID() 460 CHECK(mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1); in getID() 513 if (mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1) { in getstring() 632 if (mParent.mVersion == ID3_V2_2) { in getHeaderLength() 634 } else if (mParent.mVersion == ID3_V2_3 || mParent.mVersion == ID3_V2_4) { in getHeaderLength() [all …]
|
/frameworks/base/libs/hwui/ |
D | AnimatorManager.cpp | 35 : mParent(parent) in AnimatorManager() 46 if (stagingTarget == &mParent) { in addAnimator() 56 animator->attach(&mParent); in addAnimator() 69 &mParent, mParent.getName()); in setAnimationHandle() 76 &mParent, mParent.getName()); in pushStaging() 80 if (anim->target() != &mParent) { in pushStaging() 92 LOG_ALWAYS_FATAL_IF(animator->target() == &mParent, "Target has not been changed"); in onAnimatorTargetChanged() 129 mParent.damageSelf(info); in animate() 134 info.damageAccumulator->pushTransform(&mParent); in animate() 135 mParent.damageSelf(info); in animate() [all …]
|
/frameworks/base/obex/javax/obex/ |
D | PrivateOutputStream.java | 46 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()
|
D | PrivateInputStream.java | 45 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()
|
D | ClientOperation.java | 57 private ClientSession mParent; field in ClientOperation 110 mParent = p; in ClientOperation() 187 mParent.sendRequest(ObexHelper.OBEX_OPCODE_ABORT, null, mReplyHeader, null, false); in abort() 349 mParent.setRequestInactive(); in close() 409 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() 643 mParent.sendRequest(ObexHelper.OBEX_OPCODE_GET_FINAL, in startProcessing() [all …]
|
D | ServerOperation.java | 74 private ServerSession mParent; field in ServerOperation 129 mParent = p; in ServerOperation() 186 mParent.sendResponse(ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE, null); in ServerOperation() 242 if (!mParent.handleAuthResp(requestHeader.mAuthResp)) { in handleObexPacket() 244 mParent.sendResponse(ResponseCodes.OBEX_HTTP_UNAUTHORIZED, null); in handleObexPacket() 253 mParent.handleAuthChall(requestHeader); in handleObexPacket() 418 mParent.sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in sendReply() 424 mParent.sendResponse(type, sendHeader); in sendReply() 516 mParent.sendResponse(type, out.toByteArray()); in sendReply() 543 mParent.sendResponse(ResponseCodes.OBEX_HTTP_BAD_REQUEST, null); in sendReply() [all …]
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | SparseMappingTable.java | 71 private SparseMappingTable mParent; field in SparseMappingTable.Table 77 mParent = parent; in Table() 94 final long[] theirLongs = copyFrom.mParent.mLongs.get(getArrayFromKey(theirKey)); in copyFrom() 99 final long[] myLongs = mParent.mLongs.get(getArrayFromKey(myKey)); in copyFrom() 129 final ArrayList<long[]> list = mParent.mLongs; in getOrAddKey() 132 if (mParent.mNextIndex + count > array.length) { in getOrAddKey() 137 mParent.mNextIndex = 0; in getOrAddKey() 143 | (mParent.mNextIndex << INDEX_SHIFT) in getOrAddKey() 146 mParent.mNextIndex += count; in getOrAddKey() 197 final long[] array = mParent.mLongs.get(getArrayFromKey(key)); in getValue() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationSettingsIconRow.java | 47 private ExpandableNotificationRow mParent; field in NotificationSettingsIconRow 102 mListener.onSettingsIconRowReset(mParent); in resetState() 111 mParent = parent; in setNotificationRowParent() 123 return mParent; in getNotificationParent() 230 if (mParent == null) { in updateVerticalLocation() 233 int parentHeight = mParent.getCollapsedHeight(); in updateVerticalLocation() 247 if ((mIconPlaced && onLeft == mOnLeft) || mSnapping || mParent == null in setIconLocation() 252 final boolean isRtl = mParent.isLayoutRtl(); in setIconLocation() 255 final float left = (float) (isRtl ? -(mParent.getWidth() - mHorizSpaceForGear) : 0); in setIconLocation() 256 final float right = (float) (isRtl ? 0 : (mParent.getWidth() - mHorizSpaceForGear)); in setIconLocation() [all …]
|
D | DismissViewButton.java | 56 float translationX = ((ViewGroup) mParent).getTranslationX(); in getDrawingRect() 57 float translationY = ((ViewGroup) mParent).getTranslationY(); in getDrawingRect()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
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/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | ButtonItemTest.java | 31 private ViewGroup mParent; field in ButtonItemTest 36 mParent = new LinearLayout(getContext()); in setUp() 63 final Button button = item.createButton(mParent); in testCreateButton() 73 final Button button = item.createButton(mParent); in testSetEnabledTrue() 82 final Button button = item.createButton(mParent); in testSetEnabledFalse() 91 final Button button = item.createButton(mParent); in testSetText() 100 final Button button = item.createButton(mParent); in testSetTheme() 112 final Button button = item.createButton(mParent); in testOnClickListener()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaConnection.java | 51 GsmCdmaCall mParent; field in GsmCdmaConnection 139 mParent = parentFromDCState(dc.state); in GsmCdmaConnection() 140 mParent.attach(this, dc); in GsmCdmaConnection() 176 mParent = parent; in GsmCdmaConnection() 211 mParent = parent; in GsmCdmaConnection() 310 return mParent; in getCall() 557 if (mParent != null) { in onDisconnect() 558 changed = mParent.connectionDisconnected(this); in onDisconnect() 576 if (mParent != null) { in onLocalDisconnect() 577 mParent.detach(this); in onLocalDisconnect() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | PresenterSwitcher.java | 26 private ViewGroup mParent; field in PresenterSwitcher 38 mParent = parent; in init() 61 return mParent; in getParentViewGroup() 79 mCurrentViewHolder = mCurrentPresenter.onCreateViewHolder(mParent); in switchView() 109 mParent.removeView(mCurrentViewHolder.view); in clear()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | HybridGroupManager.java | 43 private ViewGroup mParent; field in HybridGroupManager 48 mParent = parent; in HybridGroupManager() 54 R.layout.hybrid_notification, mParent, false); in inflateHybridView() 55 mParent.addView(hybrid); in inflateHybridView() 62 R.layout.hybrid_overflow_number, mParent, false); in inflateOverflowNumber() 63 mParent.addView(numberView); in inflateOverflowNumber()
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/ |
D | Scope.java | 56 sScopeItems.set(entry.mParent); in exit() 135 top = top.mParent; in produceScopeLog() 153 top = top.mParent; in createReport() 171 if (validatedContained(entry.mParent, absLocation)) { in findAbsoluteLocationFrom() 184 return validatedContained(parent.mParent, absLocation); in validatedContained() 200 ScopeEntry mParent; field in Scope.ScopeEntry 204 mParent = parent; in ScopeEntry()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 61 private ImsPhoneCall mParent; field in ImsPhoneConnection 177 mParent = parent; in ImsPhoneConnection() 178 mParent.attach(this, in ImsPhoneConnection() 207 mParent = parent; in ImsPhoneConnection() 268 return mParent; in getCall() 398 if (mParent != null) { in onDisconnect() 399 changed = mParent.connectionDisconnected(this); in onDisconnect() 633 mParent = parent; in changeParent() 651 if (mParent.getState().isRinging() || mParent.getState().isDialing()) { in update() 655 if (mParent.getState().isRinging() || mParent == mOwner.mBackgroundCall) { in update() [all …]
|
/frameworks/av/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/support/v4/java/android/support/v4/widget/ |
D | SwipeProgressBar.java | 66 private View mParent; field in SwipeProgressBar 71 mParent = parent; in SwipeProgressBar() 104 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom); in setTriggerPercentage() 115 mParent.postInvalidate(); in start() 127 mParent.postInvalidate(); in stop() 233 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom); in draw()
|
/frameworks/base/core/java/android/app/ |
D | Activity.java | 747 Activity mParent; field in Activity 869 return mParent != null; in isChild() 874 return mParent; in getParent() 2864 if (mParent == null) { in onWindowAttributesChanged() 3212 if (mParent == null) { in onMenuItemSelected() 3215 return mParent.onNavigateUpFromChild(this); in onMenuItemSelected() 3302 if (mParent != null) { in onCreateOptionsMenu() 3303 return mParent.onCreateOptionsMenu(menu); in onCreateOptionsMenu() 3327 if (mParent != null) { in onPrepareOptionsMenu() 3328 return mParent.onPrepareOptionsMenu(menu); in onPrepareOptionsMenu() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteSession.java | 250 return mTransactionStack != null && mTransactionStack.mParent != null; in hasNestedTransaction() 346 transaction.mParent = mTransactionStack; in beginTransactionUnchecked() 427 mTransactionStack = top.mParent; in endTransactionUnchecked() 510 || mTransactionStack.mParent != null) { in yieldTransaction() 938 mTransactionPool = transaction.mParent; in obtainTransaction() 939 transaction.mParent = null; in obtainTransaction() 951 transaction.mParent = mTransactionPool; in recycleTransaction() 957 public Transaction mParent; field in SQLiteSession.Transaction
|
/frameworks/base/media/java/android/mtp/ |
D | MtpObjectInfo.java | 39 private int mParent; field in MtpObjectInfo 257 return mParent; in getParent() 378 mObjectInfo.mParent = objectInfo.mParent; in Builder() 449 mObjectInfo.mParent = value; in setParent()
|
/frameworks/support/v4/java/android/support/v4/provider/ |
D | DocumentFile.java | 81 private final DocumentFile mParent; field in DocumentFile 84 mParent = parent; in DocumentFile() 217 return mParent; in getParentFile()
|
/frameworks/av/media/mtp/ |
D | MtpObjectInfo.cpp | 40 mParent(0), in MtpObjectInfo() 73 if (!packet.getUInt32(mParent)) return false; in read() 105 mParent, mAssociationType, mAssociationDesc); in print()
|