Home
last modified time | relevance | path

Searched refs:mGroup (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupChildrenTest.java33 private ViewGroup mGroup; field in ViewGroupChildrenTest
44 mGroup = (ViewGroup) a.findViewById(R.id.group); in setUp()
49 assertNotNull(mGroup); in testSetUpConditions()
54 assertEquals("A ViewGroup should have no child by default", 0, mGroup.getChildCount()); in testStartsEmpty()
61 mGroup.addView(view); in testAddChild()
63 assertEquals(1, mGroup.getChildCount()); in testAddChild()
64 ViewAsserts.assertGroupIntegrity(mGroup); in testAddChild()
65 ViewAsserts.assertGroupContains(mGroup, view); in testAddChild()
74 mGroup.addView(view); in testAddChildAtFront()
78 mGroup.addView(view, 0); in testAddChildAtFront()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DNavigationBarContextTest.java68 private ContextualButtonGroup mGroup; field in NavigationBarContextTest
84 mGroup = new ContextualButtonGroup(GROUP_ID); in setup()
90 mGroup.addButton(mBtn0); in setup()
91 mGroup.addButton(mBtn1); in setup()
92 mGroup.addButton(mBtn2); in setup()
97 assertEquals(mBtn0, mGroup.getContextButton(BUTTON_0_ID)); in testAddGetContextButtons()
98 assertEquals(mBtn1, mGroup.getContextButton(BUTTON_1_ID)); in testAddGetContextButtons()
99 assertEquals(mBtn2, mGroup.getContextButton(BUTTON_2_ID)); in testAddGetContextButtons()
104 assertTrue("By default the group should be visible.", mGroup.isVisible()); in testSetButtonVisibility()
113 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetButtonVisibility()
[all …]
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioStream.java50 private AudioGroup mGroup; field in AudioStream
70 return mGroup != null; in isBusy()
77 return mGroup; in getGroup()
91 if (mGroup == group) { in join()
94 if (mGroup != null) { in join()
95 mGroup.remove(this); in join()
96 mGroup = null; in join()
100 mGroup = group; in join()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainerTest.java53 private ExpandableNotificationRow mGroup; field in NotificationChildrenContainerTest
64 mGroup = mNotificationTestHelper.createGroup(); in setUp()
65 mChildrenContainer = mGroup.getChildrenContainer(); in setUp()
77 mGroup.setHeadsUp(true); in testGetMaxAllowedVisibleChildren_headsUp()
114 mGroup.setUserLocked(true); in testGetMaxAllowedVisibleChildren_userLocked()
133 mGroup.setExpandable(true); in testShowingAsLowPriority_lowPriority_expanded()
134 mGroup.setUserExpanded(true, false); in testShowingAsLowPriority_lowPriority_expanded()
140 mGroup.setUserLocked(true); in testGetMaxAllowedVisibleChildren_userLocked_expandedChildren_lowPriority()
141 mGroup.setExpandable(true); in testGetMaxAllowedVisibleChildren_userLocked_expandedChildren_lowPriority()
142 mGroup.setUserExpanded(true); in testGetMaxAllowedVisibleChildren_userLocked_expandedChildren_lowPriority()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DContextualButton.java32 private ContextualButtonGroup mGroup; field in ContextualButton
91 if (mGroup == null) { in show()
95 return mGroup.setButtonVisibility(getId(), true /* visible */) == View.VISIBLE; in show()
103 if (mGroup == null) { in hide()
107 return mGroup.setButtonVisibility(getId(), false /* visible */) != View.VISIBLE; in hide()
116 mGroup = group; in attachToGroup()
/frameworks/av/cmds/stagefright/
DSineSource.cpp18 mGroup(NULL) { in SineSource()
31 mGroup = new MediaBufferGroup; in start()
32 mGroup->add_buffer(new MediaBuffer(kBufferSize)); in start()
43 delete mGroup; in stop()
44 mGroup = NULL; in stop()
67 status_t err = mGroup->acquire_buffer(&buffer); in read()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ui/
DIconManager.java61 protected final ViewGroup mGroup; field in IconManager
92 mGroup = group; in IconManager()
102 MobileIconsBinder.bind(mGroup, mMobileIconsViewModel); in IconManager()
104 mWifiViewModel = wifiUiAdapter.bindGroup(mGroup, mLocation); in IconManager()
163 mGroup.addView(view, index, onCreateLayoutParams()); in addIcon()
177 mGroup.addView(view, index, onCreateLayoutParams()); in addBindableIcon()
186 mGroup.addView(view, index, onCreateLayoutParams()); in addNewWifiIcon()
202 mGroup.addView(view, index, onCreateLayoutParams()); in addNewMobileIcon()
241 mGroup.removeAllViews(); in destroy()
251 mDemoStatusIcons.onRemoveIcon((StatusIconDisplayable) mGroup.getChildAt(viewIndex)); in onRemoveIcon()
[all …]
DDarkIconManager.java76 for (int i = 0; i < mGroup.getChildCount(); i++) { in destroy()
78 (DarkIconDispatcher.DarkReceiver) mGroup.getChildAt(i)); in destroy()
80 mGroup.removeAllViews(); in destroy()
86 (DarkIconDispatcher.DarkReceiver) mGroup.getChildAt(viewIndex)); in onRemoveIcon()
94 (DarkIconDispatcher.DarkReceiver) mGroup.getChildAt(viewIndex)); in onSetIcon()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingMessageState.java30 private MessagingGroup mGroup; field in MessagingMessageState
47 mGroup = group; in setGroup()
51 return mGroup; in getGroup()
81 mGroup = null; in recycle()
/frameworks/av/media/libstagefright/
DJPEGSource.cpp57 mGroup(NULL), in JPEGSource()
78 mGroup = new MediaBufferGroup; in start()
79 mGroup->add_buffer(new MediaBuffer(mSize)); in start()
93 delete mGroup; in stop()
94 mGroup = NULL; in stop()
122 mGroup->acquire_buffer(&buffer); in read()
/frameworks/wilhelm/src/itf/
DI3DGrouping.cpp45 C3DGroup *oldGroup = thiz->mGroup; in I3DGrouping_Set3DGroup()
66 thiz->mGroup = newGroup; in I3DGrouping_Set3DGroup()
84 C3DGroup *group = thiz->mGroup; in I3DGrouping_Get3DGroup()
103 thiz->mGroup = NULL; in I3DGrouping_init()
109 C3DGroup *group = thiz->mGroup; in I3DGrouping_deinit()
/frameworks/base/media/java/android/media/tv/
DSignalingDataInfo.java48 private final int mGroup; field in SignalingDataInfo
86 this.mGroup = group; in SignalingDataInfo()
100 this.mGroup = group; in SignalingDataInfo()
152 return mGroup; in getGroup()
171 dest.writeInt(mGroup); in writeToParcel()
193 this.mGroup = group; in SignalingDataInfo()
DSignalingDataRequest.java161 private final int mGroup; field in SignalingDataRequest
211 this.mGroup = group; in SignalingDataRequest()
232 return mGroup; in getGroup()
255 dest.writeInt(mGroup); in writeToParcel()
266 this.mGroup = group; in SignalingDataRequest()
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp192 mGroup(NULL), in AacAdtsSource()
209 mGroup = new MediaBufferGroup; in start()
210 mGroup->add_buffer(new MediaBuffer(kMaxFrameSize)); in start()
220 delete mGroup; in stop()
221 mGroup = NULL; in stop()
253 status_t err = mGroup->acquire_buffer(&buffer); in read()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp92 mGroup(group), mFunc(nullptr) { in Batch()
159 mCpuRefImpl(cpuRefImpl), mGroup((const ScriptGroup2*)(sg)), in CpuScriptGroup2Impl()
161 rsAssert(!mGroup->mClosures.empty()); in CpuScriptGroup2Impl()
166 for (Closure* closure: mGroup->mClosures) { in CpuScriptGroup2Impl()
194 compile(mGroup->mCacheDir); in CpuScriptGroup2Impl()
365 if (mGroup->mClosures.size() < 2) { in compile()
378 debugHintScriptGroup2(mGroup->mName, in compile()
379 strlen(mGroup->mName), in compile()
394 for (Closure* closure : mGroup->mClosures) { in compile()
436 objFilePath.append(mGroup->mName); in compile()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DGroupTest.java29 private ScriptGroup mGroup; field in GroupTest
69 mGroup = b.create(); in createTest()
86 mGroup.setOutput(mMatrix.getKernelID(), mOutPixelsAllocation); in runTest()
87 mGroup.execute(); in runTest()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DGroupTest.java36 private ScriptGroup mGroup; field in GroupTest
76 mGroup = b.create(); in createTest()
93 mGroup.setOutput(mMatrix.getKernelID(), mOutPixelsAllocation); in runTest()
94 mGroup.execute(); in runTest()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DVideoSource.h36 mGroup.add_buffer(new MediaBuffer(mSize)); in VideoSource()
65 status_t err = mGroup.acquire_buffer(buffer); in read()
87 MediaBufferGroup mGroup;
/frameworks/av/include/media/
DMediaExtractorPluginHelper.h81 CMediaBufferGroup *mGroup;
85 mGroup = group; in MediaBufferGroupHelper()
95 return mGroup->init(mGroup->handle, buffers, buffer_size, growthLimit);
98 mGroup->add_buffer(mGroup->handle, size); in add_buffer()
104 mGroup->acquire_buffer(mGroup->handle, &buf, nonBlocking, requestedSize);
120 return mGroup->has_buffers(mGroup->handle); in has_buffers()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp521 explicit NetworkThread(AudioGroup *group) : Thread(false), mGroup(group) {} in NetworkThread()
533 AudioGroup *mGroup; member in __anon3727f2a40111::AudioGroup::NetworkThread
541 explicit DeviceThread(AudioGroup *group) : Thread(false), mGroup(group) {} in DeviceThread()
553 AudioGroup *mGroup; member in __anon3727f2a40111::AudioGroup::DeviceThread
734 AudioStream *chain = mGroup->mChain; in threadLoop()
749 int event = mGroup->mDtmfEvent; in threadLoop()
754 mGroup->mDtmfEvent = -1; in threadLoop()
763 count = epoll_wait(mGroup->mEventQueue, events, count, deadline); in threadLoop()
796 int mode = mGroup->mMode; in threadLoop()
797 int sampleRate = mGroup->mSampleRate; in threadLoop()
[all …]
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/
DRsYuv.java49 private ScriptGroup mGroup; field in RsYuv
99 mGroup = b.create(); in reset()
115 mGroup.setOutput(mScript.getKernelID_root(), mAllocationOut); in execute()
116 mGroup.execute(); in execute()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DGroupTest.java36 private ScriptGroup mGroup; field in GroupTest
83 mGroup = b.create("group", c.getReturn()); in createTest()
92 mOutPixelsAllocation = (Allocation)mGroup.execute(mInPixelsAllocation)[0]; in runTest()
/frameworks/av/media/libmedia/
DIMediaSource.cpp276 , mGroup(new MediaBufferGroup(kBinderMediaBuffers /* growthLimit */)) { in BnMediaSource()
302 mGroup->signalBufferReturned(nullptr); in onTransact()
312 mGroup->signalBufferReturned(nullptr); in onTransact()
345 mGroup->signalBufferReturned(nullptr); in onTransact()
374 ret = mGroup->acquire_buffer( in onTransact()
390 if (!mGroup->has_buffers()) { in onTransact()
400 mGroup->add_buffer(transferBuf); in onTransact()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderDicom.java56 int mGroup; field in LoaderDicom.Element
65 return Integer.toHexString(mGroup) + "," + in toString()
129 put(tagInt(e.mGroup, e.mElement), e); in put()
161 if (e.mGroup > 255) { in read()
169 if (early && e.mGroup >= 8) { in read()
173 if (toAdd.contains(tagInt(e.mGroup, e.mElement))) { in read()
176 if (e.mGroup == 0x7fe0 && e.mElement == 0x10) { in read()
182 if (e.mGroup == 0x7fe0 && e.mElement == 0x10) { in read()
193 e.mGroup = mMappedByteBuffer.getShort() & 0xFFFF; in readTag()
196 if (e.mGroup == 0xFFFE && e.mElement == 0xE000) { in readTag()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ui/
DStatusBarIconControllerTest.java153 return (StatusIconDisplayable) mGroup.getChildAt(index); in getViewAt()
160 mGroup.addView(mock, index); in addIcon()
181 return (StatusIconDisplayable) mGroup.getChildAt(index); in getViewAt()
188 mGroup.addView(mock, index); in addIcon()

123