Home
last modified time | relevance | path

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

/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/base/media/libstagefright/id3/
DID3.cpp326 : mParent(parent), in Iterator()
328 mOffset(mParent.mFirstFrameOffset), in Iterator()
366 if (mParent.mVersion == ID3_V2_2) { in getID()
367 id->setTo((const char *)&mParent.mData[mOffset], 3); in getID()
368 } else if (mParent.mVersion == ID3_V2_3 || mParent.mVersion == ID3_V2_4) { in getID()
369 id->setTo((const char *)&mParent.mData[mOffset], 4); in getID()
371 CHECK(mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1); in getID()
453 if (mParent.mVersion == ID3_V1 || mParent.mVersion == ID3_V1_1) { in getString()
531 if (mParent.mVersion == ID3_V2_2) { in getHeaderLength()
533 } 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()
117 mParent.continueOperation(true, false); in write()
150 mParent.ensureOpen(); in ensureOpen()
164 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
105 mParent = p; in ServerOperation()
160 mParent.sendResponse(ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE, null); in ServerOperation()
188 if (!mParent.handleAuthResp(requestHeader.mAuthResp)) { in ServerOperation()
190 mParent.sendResponse(ResponseCodes.OBEX_HTTP_UNAUTHORIZED, null); in ServerOperation()
198 mParent.handleAuthChall(requestHeader); in ServerOperation()
322 mParent.sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in sendReply()
328 mParent.sendResponse(type, sendHeader); in sendReply()
388 mParent.sendResponse(type, out.toByteArray()); in sendReply()
412 mParent.sendResponse(ResponseCodes.OBEX_HTTP_OK, null); in sendReply()
[all …]
DClientOperation.java49 private ClientSession mParent; field in ClientOperation
87 mParent = p; in ClientOperation()
147 mParent.sendRequest(ObexHelper.OBEX_OPCODE_ABORT, null, mReplyHeader, null); in abort()
307 mParent.setRequestInactive(); in close()
367 mParent.ensureOpen(); in ensureOpen()
442 if (!mParent.sendRequest(opCode, sendHeader, mReplyHeader, mPrivateInput)) { in sendRequest()
514 if (!mParent.sendRequest(opCode, null, mReplyHeader, mPrivateInput)) { in sendRequest()
520 && (!mParent.sendRequest(opCode, out.toByteArray(), mReplyHeader, mPrivateInput))) { in sendRequest()
553 mParent.sendRequest(0x83, null, mReplyHeader, mPrivateInput); in startProcessing()
570 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/base/core/java/android/app/
DActivity.java633 Activity mParent; field in Activity
725 return mParent != null; in isChild()
730 return mParent; in getParent()
1981 if (mParent == null) { in onWindowAttributesChanged()
2266 if (mParent != null) { in onCreateOptionsMenu()
2267 return mParent.onCreateOptionsMenu(menu); in onCreateOptionsMenu()
2291 if (mParent != null) { in onPrepareOptionsMenu()
2292 return mParent.onPrepareOptionsMenu(menu); in onPrepareOptionsMenu()
2316 if (mParent != null) { in onOptionsItemSelected()
2317 return mParent.onOptionsItemSelected(item); in onOptionsItemSelected()
[all …]
DLocalActivityManager.java69 private final Activity mParent; field in LocalActivityManager
103 mParent = parent; in LocalActivityManager()
116 mParent.getLastNonConfigurationChildInstances(); in moveToState()
128 mParent, r.id, r.intent, r.activityInfo, r, r.instanceState, instance); in moveToState()
/frameworks/base/core/java/android/view/
DViewGroup.java431 if (mParent != null) { in requestChildFocus()
432 mParent.requestChildFocus(this, focused); in requestChildFocus()
440 if (mParent != null in focusableViewAvailable()
452 mParent.focusableViewAvailable(v); in focusableViewAvailable()
460 return mParent != null && mParent.showContextMenuForChild(originalView); in showContextMenuForChild()
477 } else if (mParent != null) { in focusSearch()
478 return mParent.focusSearch(focused, direction); in focusSearch()
508 if (mParent != null) { in clearChildFocus()
509 mParent.clearChildFocus(this); in clearChildFocus()
741 ViewParent parent = mParent; in recomputeViewAttributes()
[all …]
DView.java1593 protected ViewParent mParent; field in View
2561 if (mParent != null) { in handleFocusGainInternal()
2562 mParent.requestChildFocus(this, this); in handleFocusGainInternal()
2602 ViewParent parent = mParent; in requestRectangleOnScreen()
2635 if (mParent != null) { in clearFocus()
2636 mParent.clearChildFocus(this); in clearFocus()
3050 ViewParent parent = current.mParent; in isShown()
3493 if (mParent != null) { in focusSearch()
3494 return mParent.focusSearch(this, direction); in focusSearch()
3752 ViewParent ancestor = mParent; in hasAncestorThatBlocksDescendantFocus()
[all …]
DSurfaceView.java200 mParent.requestTransparentRegion(this); in onAttachedToWindow()
/frameworks/base/services/java/com/android/server/
DThrottleService.java773 ThrottleService mParent; field in ThrottleService.DataRecorder
781 mParent = parent; in DataRecorder()
786 synchronized (mParent) { in DataRecorder()
823 synchronized (mParent) { in setNextPeriod()
837 synchronized (mParent) { in getPeriodEnd()
843 synchronized (mParent) { in setPeriodEnd()
849 synchronized (mParent) { in getPeriodStart()
855 synchronized (mParent) { in setPeriodStart()
861 synchronized (mParent) { in getPeriodCount()
867 synchronized (mParent) { in zeroData()
[all …]
/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/base/media/libstagefright/include/
DID3.h58 const ID3 &mParent;
/frameworks/base/core/java/android/pim/
DICalendar.java75 private final Component mParent; // see if we can get rid of this field in ICalendar.Component
86 mParent = parent; in Component()
102 return mParent; in getParent()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java345 if (mParent != null) {
346 mParent.requestDisallowInterceptTouchEvent(true);
DHorizontalScrollView.java438 if (mParent != null) mParent.requestDisallowInterceptTouchEvent(true); in onInterceptTouchEvent()
DGallery.java914 mParent.requestDisallowInterceptTouchEvent(true); in onScroll()
/frameworks/base/tools/aapt/
DResourceTable.h271 void setParent(const String16& parent) { mParent = parent; } in setParent()
272 String16 getParent() const { return mParent; } in getParent()
311 String16 mParent; variable
DResourceTable.cpp3181 if (mParent.size() > 0) { in assignResourceIds()
3182 mParentId = table->getResId(mParent, &style16, NULL, &errorMsg); in assignResourceIds()
3185 errorMsg, String8(mParent).string()); in assignResourceIds()