Home
last modified time | relevance | path

Searched refs:mParent (Results 1 – 25 of 53) 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()
536 if (mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1) { in getstring()
625 if (mParent.mVersion == ID3_V2_2) { in getHeaderLength()
627 } else if (mParent.mVersion == ID3_V2_3 || mParent.mVersion == ID3_V2_4) { in getHeaderLength()
[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()
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.java49 private ClientSession mParent; field in ClientOperation
87 mParent = p; in ClientOperation()
154 mParent.sendRequest(ObexHelper.OBEX_OPCODE_ABORT, null, mReplyHeader, null); in abort()
314 mParent.setRequestInactive(); in close()
374 mParent.ensureOpen(); in ensureOpen()
449 if (!mParent.sendRequest(opCode, sendHeader, mReplyHeader, mPrivateInput)) { in sendRequest()
521 if (!mParent.sendRequest(opCode, null, mReplyHeader, mPrivateInput)) { in sendRequest()
527 && (!mParent.sendRequest(opCode, out.toByteArray(), mReplyHeader, mPrivateInput))) { in sendRequest()
560 mParent.sendRequest(0x83, null, mReplyHeader, mPrivateInput); in startProcessing()
577 mParent.sendRequest(0x82, null, mReplyHeader, mPrivateInput); in startProcessing()
[all …]
/frameworks/base/services/java/com/android/server/wm/
DStackBox.java59 StackBox mParent; field in StackBox
95 mParent = parent; in StackBox()
101 if (mParent != null) { in makeDirty()
102 mParent.makeDirty(); in makeDirty()
140 return mParent != null && mParent.mFirst == this; in isFirstChild()
248 if (mParent == null) { in remove()
255 StackBox sibling = isFirstChild() ? mParent.mSecond : mParent.mFirst; in remove()
256 StackBox grandparent = mParent.mParent; in remove()
257 sibling.mParent = grandparent; in remove()
261 mDisplayContent.removeStackBox(mParent); in remove()
[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.java46 GsmCall mParent; field in GsmConnection
140 mParent = parentFromDCState (dc.state); in GsmConnection()
141 mParent.attach(this, dc); in GsmConnection()
166 mParent = parent; in GsmConnection()
201 return mParent; in getCall()
426 if (mParent != null) { in onDisconnect()
427 changed = mParent.connectionDisconnected(this); in onDisconnect()
465 if (newParent != mParent) { in update()
466 if (mParent != null) { in update()
467 mParent.detach(this); in update()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaConnection.java48 CdmaCall mParent; field in CdmaConnection
140 mParent = parentFromDCState (dc.state); in CdmaConnection()
141 mParent.attach(this, dc); in CdmaConnection()
170 mParent = parent; in CdmaConnection()
197 mParent = parent; in CdmaConnection()
238 return mParent; in getCall()
454 if (mParent != null) { in onDisconnect()
455 changed = mParent.connectionDisconnected(this); in onDisconnect()
469 if (mParent != null) { in onLocalDisconnect()
470 mParent.detach(this); in onLocalDisconnect()
[all …]
/frameworks/base/core/java/android/app/
DActivity.java683 Activity mParent; field in Activity
793 return mParent != null; in isChild()
798 return mParent; in getParent()
2326 if (mParent == null) { in onWindowAttributesChanged()
2608 if (mParent == null) { in onMenuItemSelected()
2611 return mParent.onNavigateUpFromChild(this); in onMenuItemSelected()
2695 if (mParent != null) { in onCreateOptionsMenu()
2696 return mParent.onCreateOptionsMenu(menu); in onCreateOptionsMenu()
2720 if (mParent != null) { in onPrepareOptionsMenu()
2721 return mParent.onPrepareOptionsMenu(menu); in onPrepareOptionsMenu()
[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/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/av/media/mtp/
DMtpObjectInfo.cpp40 mParent(0), in MtpObjectInfo()
73 mParent = packet.getUInt32(); in read()
103 mParent, mAssociationType, mAssociationDesc); in print()
DMtpObjectInfo.h40 MtpObjectHandle mParent; variable
/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.java2731 protected ViewParent mParent; field in View
4609 if (mParent != null) { in handleFocusGainInternal()
4610 mParent.requestChildFocus(this, this); in handleFocusGainInternal()
4653 if (mParent == null) { in requestRectangleOnScreen()
4662 ViewParent parent = mParent; in requestRectangleOnScreen()
4724 if (propagate && mParent != null) { in clearFocusInternal()
4725 mParent.clearChildFocus(this); in clearFocusInternal()
4893 if (AccessibilityManager.getInstance(mContext).isEnabled() && mParent != null) { in announceForAccessibility()
4899 mParent.requestSendAccessibilityEvent(this, event); in announceForAccessibility()
5208 ViewParent parent = mParent; in getBoundsOnScreen()
[all …]
DViewGroup.java629 if (mParent != null) { in requestChildFocus()
630 mParent.requestChildFocus(this, focused); in requestChildFocus()
638 if (mParent != null in focusableViewAvailable()
650 mParent.focusableViewAvailable(v); in focusableViewAvailable()
658 return mParent != null && mParent.showContextMenuForChild(originalView); in showContextMenuForChild()
665 return mParent != null ? mParent.startActionModeForChild(originalView, callback) : null; in startActionModeForChild()
682 } else if (mParent != null) { in focusSearch()
683 return mParent.focusSearch(focused, direction); in focusSearch()
700 ViewParent parent = mParent; in requestSendAccessibilityEvent()
756 if (mParent != null && oldHasTransientState != newHasTransientState) { in childHasTransientStateChanged()
[all …]
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSgTransform.java52 SgTransform mParent; field in SgTransform
56 mParent = parent; in setParent()
DSceneGraphRS.java206 mScript.bind_gGroup(mGroup1.mParent.mChildField); in initRS()
207 mScript.bind_gRobot1(mRobot1.mParent.mChildField); in initRS()
209 mScript.bind_gRobot2(mRobot2.mParent.mChildField); in initRS()
/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()
/frameworks/av/services/camera/libcameraservice/device3/
DStatusTracker.cpp37 mParent(parent), in StatusTracker()
201 parent = mParent.promote(); in threadLoop()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DScrollingTabContainerView.java333 private ScrollingTabContainerView mParent; field in ScrollingTabContainerView.TabView
340 mParent = parent; in attach()
359 int maxTabWidth = mParent != null ? mParent.mMaxTabWidth : 0; in onMeasure()

123