Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutGravityTest.java37 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 …]
DFrameLayoutMarginTest.java33 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/
DID3.cpp395 : mParent(parent), in Iterator()
397 mOffset(mParent.mFirstFrameOffset), in Iterator()
435 if (mParent.mVersion == ID3_V2_2) { in getID()
436 id->setTo((const char *)&mParent.mData[mOffset], 3); in getID()
437 } else if (mParent.mVersion == ID3_V2_3 || mParent.mVersion == ID3_V2_4) { in getID()
438 id->setTo((const char *)&mParent.mData[mOffset], 4); in getID()
440 CHECK(mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1); in getID()
493 if (mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1) { in getstring()
604 if (mParent.mVersion == ID3_V2_2) { in getHeaderLength()
606 } else if (mParent.mVersion == ID3_V2_3 || mParent.mVersion == ID3_V2_4) { in getHeaderLength()
[all …]
/frameworks/base/libs/hwui/
DAnimatorManager.cpp34 : mParent(parent) in AnimatorManager()
45 animator->attach(&mParent); in addAnimator()
54 &mParent, mParent.getName()); in setAnimationHandle()
70 &mParent, mParent.getName()); in pushStaging()
113 mParent.damageSelf(info); in animate()
118 mParent.mProperties.updateMatrix(); in animate()
119 info.damageAccumulator->pushTransform(&mParent); in animate()
120 mParent.damageSelf(info); in animate()
149 ALOGD("endAllStagingAnimators on %p (%s)", &mParent, mParent.getName()); in endAllStagingAnimators()
171 &mParent, mParent.getName(), mAnimationHandle); in endAllActiveAnimators()
/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()
DServerOperation.java67 private ServerSession mParent; field in ServerOperation
107 mParent = p; in ServerOperation()
162 mParent.sendResponse(ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE, null); in ServerOperation()
190 if (!mParent.handleAuthResp(requestHeader.mAuthResp)) { in ServerOperation()
192 mParent.sendResponse(ResponseCodes.OBEX_HTTP_UNAUTHORIZED, null); in ServerOperation()
200 mParent.handleAuthChall(requestHeader); in ServerOperation()
324 mParent.sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in sendReply()
330 mParent.sendResponse(type, sendHeader); in sendReply()
399 mParent.sendResponse(type, out.toByteArray()); in sendReply()
425 mParent.sendResponse(ResponseCodes.OBEX_HTTP_OK, null); in sendReply()
[all …]
DClientOperation.java50 private ClientSession mParent; field in ClientOperation
90 mParent = p; in ClientOperation()
167 mParent.sendRequest(ObexHelper.OBEX_OPCODE_ABORT, null, mReplyHeader, null); in abort()
327 mParent.setRequestInactive(); in close()
387 mParent.ensureOpen(); in ensureOpen()
462 if (!mParent.sendRequest(opCode, sendHeader, mReplyHeader, mPrivateInput)) { in sendRequest()
534 if (!mParent.sendRequest(opCode, null, mReplyHeader, mPrivateInput)) { in sendRequest()
540 && (!mParent.sendRequest(opCode, out.toByteArray(), mReplyHeader, mPrivateInput))) { in sendRequest()
574 mParent.sendRequest(0x83, null, mReplyHeader, mPrivateInput); in startProcessing()
600 mParent.sendRequest(0x82, null, mReplyHeader, mPrivateInput); in startProcessing()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
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/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmConnection.java47 GsmCall mParent; field in GsmConnection
128 mParent = parentFromDCState (dc.state); in GsmConnection()
129 mParent.attach(this, dc); in GsmConnection()
154 mParent = parent; in GsmConnection()
189 return mParent; in getCall()
394 if (mParent != null) { in onDisconnect()
395 changed = mParent.connectionDisconnected(this); in onDisconnect()
443 if (newParent != mParent) { in update()
444 if (mParent != null) { in update()
445 mParent.detach(this); in update()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaConnection.java49 CdmaCall mParent; field in CdmaConnection
125 mParent = parentFromDCState (dc.state); in CdmaConnection()
126 mParent.attach(this, dc); in CdmaConnection()
155 mParent = parent; in CdmaConnection()
182 mParent = parent; in CdmaConnection()
218 return mParent; in getCall()
417 if (mParent != null) { in onDisconnect()
418 changed = mParent.connectionDisconnected(this); in onDisconnect()
432 if (mParent != null) { in onLocalDisconnect()
433 mParent.detach(this); in onLocalDisconnect()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPresenterSwitcher.java26 private ViewGroup mParent; field in PresenterSwitcher
38 mParent = parent; in init()
52 return mParent; in getParentViewGroup()
70 mCurrentViewHolder = mCurrentPresenter.onCreateViewHolder(mParent); in switchView()
100 mParent.removeView(mCurrentViewHolder.view); in clear()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java52 private ImsPhoneCall mParent; field in ImsPhoneConnection
168 mParent = parent; in ImsPhoneConnection()
169 mParent.attach(this, ImsPhoneCall.State.INCOMING); in ImsPhoneConnection()
194 mParent = parent; in ImsPhoneConnection()
234 return mParent; in getCall()
370 if (mParent != null) { in onDisconnect()
371 changed = mParent.connectionDisconnected(this); in onDisconnect()
592 mParent = parent; in changeParent()
600 if (mParent.getState().isRinging() in update()
601 || mParent.getState().isDialing()) { in update()
[all …]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DCompoundTransform.java36 CompoundTransform mParent; field in CompoundTransform.Component
64 if (mParent != null) { in update()
65 mParent.updateRSComponent(this); in update()
156 if (c.mParent != null) { in addComponent()
159 c.mParent = this; in addComponent()
166 if (c.mParent != null) { in setComponent()
172 c.mParent = this; in setComponent()
DTransform.java30 Transform mParent; field in Transform
38 mParent = null; in Transform()
43 t.mParent = this; in appendChild()
/frameworks/base/core/java/android/app/
DActivity.java699 Activity mParent; field in Activity
825 return mParent != null; in isChild()
830 return mParent; in getParent()
2590 if (mParent == null) { in onWindowAttributesChanged()
2890 if (mParent == null) { in onMenuItemSelected()
2893 return mParent.onNavigateUpFromChild(this); in onMenuItemSelected()
2979 if (mParent != null) { in onCreateOptionsMenu()
2980 return mParent.onCreateOptionsMenu(menu); in onCreateOptionsMenu()
3004 if (mParent != null) { in onPrepareOptionsMenu()
3005 return mParent.onPrepareOptionsMenu(menu); in onPrepareOptionsMenu()
[all …]
/frameworks/support/v4/java/android/support/v4/widget/
DSwipeProgressBar.java65 private View mParent; field in SwipeProgressBar
70 mParent = parent; in SwipeProgressBar()
103 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom); in setTriggerPercentage()
114 mParent.postInvalidate(); in start()
126 mParent.postInvalidate(); in stop()
232 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom); in draw()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteSession.java250 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/support/v4/java/android/support/v4/provider/
DDocumentFile.java81 private final DocumentFile mParent; field in DocumentFile
84 mParent = parent; in DocumentFile()
217 return mParent; in getParentFile()
/frameworks/av/media/mtp/
DMtpObjectInfo.cpp40 mParent(0), in MtpObjectInfo()
73 mParent = packet.getUInt32(); in read()
103 mParent, mAssociationType, mAssociationDesc); in print()
/frameworks/base/media/java/android/mtp/
DMtpObjectInfo.java37 private int mParent; field in MtpObjectInfo
179 return mParent; in getParent()
/frameworks/base/core/java/android/view/
DView.java2903 protected ViewParent mParent; field in View
4930 if (mParent != null) { in handleFocusGainInternal()
4931 mParent.requestChildFocus(this, this); in handleFocusGainInternal()
4990 if (mParent == null) { in requestRectangleOnScreen()
4999 ViewParent parent = mParent; in requestRectangleOnScreen()
5061 if (propagate && mParent != null) { in clearFocusInternal()
5062 mParent.clearChildFocus(this); in clearFocusInternal()
5127 for (ViewParent p = mParent; p instanceof ViewGroup; p = p.getParent()) { in hasFocusable()
5235 if (AccessibilityManager.getInstance(mContext).isEnabled() && mParent != null) { in announceForAccessibility()
5241 mParent.requestSendAccessibilityEvent(this, event); in announceForAccessibility()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDismissViewImageButton.java57 float translationX = ((ViewGroup) mParent).getTranslationX(); in getDrawingRect()
58 float translationY = ((ViewGroup) mParent).getTranslationY(); in getDrawingRect()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSgTransform.java52 SgTransform mParent; field in SgTransform
56 mParent = parent; in setParent()
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DInputTypeActivity.java37 private ViewGroup mParent; field in InputTypeActivity
52 mParent = mLayout; in onCreate()
145 View view = mInflater.inflate(R.layout.sample_edit_text, mParent, false); in buildEntryView()

123