/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupChildrenTest.java | 33 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/ |
D | NavigationBarContextTest.java | 68 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/ |
D | AudioStream.java | 50 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/ |
D | NotificationChildrenContainerTest.java | 41 private ExpandableNotificationRow mGroup; field in NotificationChildrenContainerTest 52 mGroup = mNotificationTestHelper.createGroup(); in setUp() 53 mChildrenContainer = mGroup.getChildrenContainer(); in setUp() 65 mGroup.setHeadsUp(true); in testGetMaxAllowedVisibleChildren_headsUp() 102 mGroup.setUserLocked(true); in testGetMaxAllowedVisibleChildren_userLocked() 121 mGroup.setExpandable(true); in testShowingAsLowPriority_lowPriority_expanded() 122 mGroup.setUserExpanded(true, false); in testShowingAsLowPriority_lowPriority_expanded() 128 mGroup.setUserLocked(true); in testGetMaxAllowedVisibleChildren_userLocked_expandedChildren_lowPriority() 129 mGroup.setExpandable(true); in testGetMaxAllowedVisibleChildren_userLocked_expandedChildren_lowPriority() 130 mGroup.setUserExpanded(true); in testGetMaxAllowedVisibleChildren_userLocked_expandedChildren_lowPriority() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconController.java | 149 for (int i = 0; i < mGroup.getChildCount(); i++) { in destroy() 150 mDarkIconDispatcher.removeDarkReceiver((DarkReceiver) mGroup.getChildAt(i)); in destroy() 152 mGroup.removeAllViews(); in destroy() 157 mDarkIconDispatcher.removeDarkReceiver((DarkReceiver) mGroup.getChildAt(viewIndex)); in onRemoveIcon() 164 mDarkIconDispatcher.applyDark((DarkReceiver) mGroup.getChildAt(viewIndex)); in onSetIcon() 200 for (int i = 0; i < mGroup.getChildCount(); i++) { in setTint() 201 View child = mGroup.getChildAt(i); in setTint() 223 protected final ViewGroup mGroup; field in StatusBarIconController.IconManager 238 mGroup = group; in IconManager() 300 mGroup.addView(view, index, onCreateLayoutParams()); in addIcon() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | ContextualButton.java | 32 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/ |
D | SineSource.cpp | 18 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/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconControllerTest.java | 113 return (StatusIconDisplayable) mGroup.getChildAt(index); in getViewAt() 120 mGroup.addView(mock, index); in addIcon() 128 mGroup.addView(mock, index); in addSignalIcon() 135 mGroup.addView(mock, index); in addMobileIcon() 148 return (StatusIconDisplayable) mGroup.getChildAt(index); in getViewAt() 155 mGroup.addView(mock, index); in addIcon() 163 mGroup.addView(mock, index); in addSignalIcon() 170 mGroup.addView(mock, index); in addMobileIcon()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingMessageState.java | 30 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/ |
D | JPEGSource.cpp | 57 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/ |
D | I3DGrouping.cpp | 45 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/wilhelm/src/android/util/ |
D | AacAdtsExtractor.cpp | 192 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/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayMode.h | 91 mDisplayMode->mGroup = group; in setGroup() 126 int32_t getGroup() const { return mGroup; } in getGroup() 131 mDpiY == other->mDpiY && mGroup == other->mGroup; in equalsExceptDisplayModeId() 145 int32_t mGroup = -1; variable
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScriptGroup2.cpp | 92 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 …]
|
D | rsCpuScriptGroup2.h | 54 CpuScriptGroup2Impl* mGroup; variable 75 const ScriptGroup2* mGroup; variable
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | GroupTest.java | 29 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/ |
D | GroupTest.java | 36 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/ |
D | VideoSource.h | 36 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/ |
D | MediaExtractorPluginHelper.h | 81 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/ |
D | AudioGroup.cpp | 523 explicit NetworkThread(AudioGroup *group) : Thread(false), mGroup(group) {} in NetworkThread() 535 AudioGroup *mGroup; member in __anon9ea355b70111::AudioGroup::NetworkThread 543 explicit DeviceThread(AudioGroup *group) : Thread(false), mGroup(group) {} in DeviceThread() 555 AudioGroup *mGroup; member in __anon9ea355b70111::AudioGroup::DeviceThread 736 AudioStream *chain = mGroup->mChain; in threadLoop() 751 int event = mGroup->mDtmfEvent; in threadLoop() 756 mGroup->mDtmfEvent = -1; in threadLoop() 765 count = epoll_wait(mGroup->mEventQueue, events, count, deadline); in threadLoop() 798 int mode = mGroup->mMode; in threadLoop() 799 int sampleRate = mGroup->mSampleRate; in threadLoop() [all …]
|
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
D | RsYuv.java | 49 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/ |
D | GroupTest.java | 36 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/ |
D | IMediaSource.cpp | 276 , 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/ |
D | LoaderDicom.java | 56 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/media/java/android/media/ |
D | MicrophoneInfo.java | 162 private int mGroup; /* Usually 0 will be used for main body. */ field in MicrophoneInfo 178 mGroup = group; in MicrophoneInfo() 257 return mGroup; in getGroup()
|