/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/statusbar/phone/ |
D | NavigationBarContextTest.java | 56 private ContextualButtonGroup mGroup; field in NavigationBarContextTest 63 mGroup = new ContextualButtonGroup(GROUP_ID); in setup() 69 mGroup.addButton(mBtn0); in setup() 70 mGroup.addButton(mBtn1); in setup() 71 mGroup.addButton(mBtn2); in setup() 76 assertEquals(mBtn0, mGroup.getContextButton(BUTTON_0_ID)); in testAddGetContextButtons() 77 assertEquals(mBtn1, mGroup.getContextButton(BUTTON_1_ID)); in testAddGetContextButtons() 78 assertEquals(mBtn2, mGroup.getContextButton(BUTTON_2_ID)); in testAddGetContextButtons() 83 assertTrue("By default the group should be visible.", mGroup.isVisible()); in testSetButtonVisibility() 92 assertNotEquals(mGroup.setButtonVisibility(BUTTON_1_ID, false /* visible */), View.VISIBLE); in testSetButtonVisibility() [all …]
|
D | StatusBarIconControllerTest.java | 112 return (StatusIconDisplayable) mGroup.getChildAt(index); in getViewAt() 119 mGroup.addView(mock, index); in addIcon() 127 mGroup.addView(mock, index); in addSignalIcon() 134 mGroup.addView(mock, index); in addMobileIcon() 147 return (StatusIconDisplayable) mGroup.getChildAt(index); in getViewAt() 154 mGroup.addView(mock, index); in addIcon() 162 mGroup.addView(mock, index); in addSignalIcon() 169 mGroup.addView(mock, index); in addMobileIcon()
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
D | AudioStream.java | 48 private AudioGroup mGroup; field in AudioStream 68 return mGroup != null; in isBusy() 75 return mGroup; in getGroup() 89 if (mGroup == group) { in join() 92 if (mGroup != null) { in join() 93 mGroup.remove(this); in join() 94 mGroup = null; in join() 98 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 49 mGroup = mNotificationTestHelper.createGroup(); in setUp() 50 mChildrenContainer = mGroup.getChildrenContainer(); in setUp() 62 mGroup.setHeadsUp(true); in testGetMaxAllowedVisibleChildren_headsUp() 99 mGroup.setUserLocked(true); in testGetMaxAllowedVisibleChildren_userLocked() 118 mGroup.setExpandable(true); in testShowingAsLowPriority_lowPriority_expanded() 119 mGroup.setUserExpanded(true, false); in testShowingAsLowPriority_lowPriority_expanded() 125 mGroup.setUserLocked(true); in testGetMaxAllowedVisibleChildren_userLocked_expandedChildren_lowPriority() 126 mGroup.setExpandable(true); in testGetMaxAllowedVisibleChildren_userLocked_expandedChildren_lowPriority() 127 mGroup.setUserExpanded(true); in testGetMaxAllowedVisibleChildren_userLocked_expandedChildren_lowPriority() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconController.java | 123 for (int i = 0; i < mGroup.getChildCount(); i++) { in destroy() 124 mDarkIconDispatcher.removeDarkReceiver((DarkReceiver) mGroup.getChildAt(i)); in destroy() 126 mGroup.removeAllViews(); in destroy() 131 mDarkIconDispatcher.removeDarkReceiver((DarkReceiver) mGroup.getChildAt(viewIndex)); in onRemoveIcon() 138 mDarkIconDispatcher.applyDark((DarkReceiver) mGroup.getChildAt(viewIndex)); in onSetIcon() 173 for (int i = 0; i < mGroup.getChildCount(); i++) { in setTint() 174 View child = mGroup.getChildAt(i); in setTint() 195 protected final ViewGroup mGroup; field in StatusBarIconController.IconManager 207 mGroup = group; in IconManager() 214 mGroup.addOnAttachStateChangeListener(tracker); in IconManager() [all …]
|
D | ContextualButton.java | 35 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/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/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/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/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/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/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/opt/net/voip/src/jni/rtp/ |
D | AudioGroup.cpp | 519 explicit NetworkThread(AudioGroup *group) : Thread(false), mGroup(group) {} in NetworkThread() 531 AudioGroup *mGroup; member in __anon5fc701100111::AudioGroup::NetworkThread 539 explicit DeviceThread(AudioGroup *group) : Thread(false), mGroup(group) {} in DeviceThread() 551 AudioGroup *mGroup; member in __anon5fc701100111::AudioGroup::DeviceThread 732 AudioStream *chain = mGroup->mChain; in threadLoop() 747 int event = mGroup->mDtmfEvent; in threadLoop() 752 mGroup->mDtmfEvent = -1; in threadLoop() 761 count = epoll_wait(mGroup->mEventQueue, events, count, deadline); in threadLoop() 794 int mode = mGroup->mMode; in threadLoop() 795 int sampleRate = mGroup->mSampleRate; in threadLoop() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 789 private WifiP2pGroup mGroup; field in WifiP2pServiceImpl.P2pStateMachine 1078 maybeEraseOwnDeviceAddress(mGroup, message.sendingUid)); in processMessage() 1152 mGroup = (WifiP2pGroup) message.obj; in processMessage() 1153 loge("Unexpected group creation, remove " + mGroup); in processMessage() 1154 mWifiNative.p2pGroupRemove(mGroup.getInterface()); in processMessage() 1984 mGroup = (WifiP2pGroup) message.obj; in processMessage() 1986 if (mGroup.isGroupOwner() in processMessage() 1987 && EMPTY_DEVICE_ADDRESS.equals(mGroup.getOwner().deviceAddress)) { in processMessage() 1989 mGroup.getOwner().deviceAddress = mThisDevice.deviceAddress; in processMessage() 1992 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage() [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() 311 mGroup->signalBufferReturned(nullptr); in onTransact() 343 mGroup->signalBufferReturned(nullptr); in onTransact() 372 ret = mGroup->acquire_buffer( in onTransact() 388 if (!mGroup->has_buffers()) { in onTransact() 398 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 | 161 private int mGroup; /* Usually 0 will be used for main body. */ field in MicrophoneInfo 177 mGroup = group; in MicrophoneInfo() 256 return mGroup; in getGroup()
|