/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewClippingUtil.java | 42 ViewGroup parent = (ViewGroup) transformedView.getParent(); in setClippingDeactivated() local 47 ArraySet<View> clipSet = (ArraySet<View>) parent.getTag(CLIP_CLIPPING_SET); in setClippingDeactivated() 50 parent.setTagInternal(CLIP_CLIPPING_SET, clipSet); in setClippingDeactivated() 52 Boolean clipChildren = (Boolean) parent.getTag(CLIP_CHILDREN_TAG); in setClippingDeactivated() 54 clipChildren = parent.getClipChildren(); in setClippingDeactivated() 55 parent.setTagInternal(CLIP_CHILDREN_TAG, clipChildren); in setClippingDeactivated() 57 Boolean clipToPadding = (Boolean) parent.getTag(CLIP_TO_PADDING); in setClippingDeactivated() 59 clipToPadding = parent.getClipToPadding(); in setClippingDeactivated() 60 parent.setTagInternal(CLIP_TO_PADDING, clipToPadding); in setClippingDeactivated() 65 parent.setClipChildren(clipChildren); in setClippingDeactivated() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
D | ViewShowHidePerfTest.java | 74 private void createNestedLinearLayoutTree(Context context, LinearLayout parent, 78 parent.setBackgroundColor((mColorToggle < 2) ? Color.RED : Color.BLUE); 83 … parent.setOrientation(vertical ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); 88 parent.addView(child, new LinearLayout.LayoutParams( 140 void run(BenchmarkState state, int width, int height, ViewGroup parent, View child); in run() argument 147 FrameLayout parent = new FrameLayout(getContext()); in testParentWithChild() local 148 mActivityRule.getActivity().setContentView(parent); in testParentWithChild() 152 layout(width, height, parent); in testParentWithChild() 154 callback.run(state, width, height, parent, mChild); in testParentWithChild() 172 testParentWithChild((state, width, height, parent, child) -> { in testRemove() argument [all …]
|
/frameworks/ml/nn/tools/systrace_parser/parser/ |
D | tree.py | 80 elif node.phase() == PHASE_INITIALIZATION and node.parent.phase() != PHASE_INITIALIZATION: 82 elif (node.parent and node.parent.layer == LAYER_APPLICATION and 84 node.parent.phase() != node.phase() and node.parent.phase() != PHASE_OVERALL and 95 assert node.parent 96 new_parent = node.parent 102 new_parent = new_parent.parent 107 new_parent = new_parent.parent 111 new_parent = new_parent.parent 113 new_parent = new_parent.parent 128 (node.parent.layer == LAYER_APPLICATION and [all …]
|
/frameworks/base/core/java/android/view/ |
D | GhostView.java | 45 final ViewGroup parent = (ViewGroup) mView.getParent(); in GhostView() local 47 parent.invalidate(); in GhostView() 83 final ViewGroup parent = (ViewGroup) mView.getParent(); in onDetachedFromWindow() local 84 if (parent != null) { in onDetachedFromWindow() 85 parent.invalidate(); in onDetachedFromWindow() 91 ViewGroup parent = (ViewGroup) view.getParent(); in calculateMatrix() local 93 parent.transformMatrixToGlobal(matrix); in calculateMatrix() 94 matrix.preTranslate(-parent.getScrollX(), -parent.getScrollY()); in calculateMatrix() 123 FrameLayout parent = new FrameLayout(view.getContext()); in addGhost() local 124 parent.setClipChildren(false); in addGhost() [all …]
|
D | ViewStub.java | 258 ViewGroup parent = (ViewGroup) getParent(); in setVisibilityAsync() local 259 return new ViewReplaceRunnable(inflateViewNoAdd(parent)); in setVisibilityAsync() 265 private View inflateViewNoAdd(ViewGroup parent) { in inflateViewNoAdd() argument 272 final View view = factory.inflate(mLayoutResource, parent, false); in inflateViewNoAdd() 280 private void replaceSelfWithView(View view, ViewGroup parent) { in replaceSelfWithView() argument 281 final int index = parent.indexOfChild(this); in replaceSelfWithView() 282 parent.removeViewInLayout(this); in replaceSelfWithView() 286 parent.addView(view, index, layoutParams); in replaceSelfWithView() 288 parent.addView(view, index); in replaceSelfWithView() 304 final ViewGroup parent = (ViewGroup) viewParent; in inflate() local [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/ |
D | extension_dict.cc | 83 self->parent, descriptor, in ReleaseExtension() 112 if (self->parent == NULL) { in subscript() 123 self->parent, descriptor); in subscript() 134 cmessage::GetDescriptorPoolForMessage(self->parent), in subscript() 140 self->parent, descriptor, message_class); in subscript() 148 self->parent, descriptor); in subscript() 175 if (self->parent) { in ass_subscript() 176 cmessage::AssureWritable(self->parent); in ass_subscript() 177 if (cmessage::InternalSetScalar(self->parent, descriptor, value) < 0) { in ass_subscript() 193 if (self->parent) { in ClearExtension() [all …]
|
D | repeated_composite_container.cc | 76 GOOGLE_CHECK((self)->parent == NULL); \ 117 cmsg->parent = self->parent; in UpdateChildMessages() 136 if (cmessage::AssureWritable(self->parent) == -1) in AddToAttached() 148 cmsg->parent = self->parent; in AddToAttached() 193 cmessage::AssureWritable(self->parent); in Extend() 252 if (self->parent != NULL) { in AssignSubscript() 253 if (cmessage::InternalDeleteRepeatedField(self->parent, in AssignSubscript() 438 void ReleaseLastTo(CMessage* parent, in ReleaseLastTo() argument 441 GOOGLE_CHECK_NOTNULL(parent); in ReleaseLastTo() 446 parent->message->GetReflection()->ReleaseLast(parent->message, field)); in ReleaseLastTo() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | LayoutTransition.java | 733 private void runChangeTransition(final ViewGroup parent, View newView, final int changeReason) { in runChangeTransition() argument 767 final ViewTreeObserver observer = parent.getViewTreeObserver(); in runChangeTransition() 772 int numChildren = parent.getChildCount(); in runChangeTransition() 775 final View child = parent.getChildAt(i); in runChangeTransition() 779 setupChangeAnimation(parent, changeReason, baseAnimator, duration, child); in runChangeTransition() 783 ViewGroup tempParent = parent; in runChangeTransition() 800 CleanupCallback callback = new CleanupCallback(layoutChangeListenerMap, parent); in runChangeTransition() 802 parent.addOnAttachStateChangeListener(callback); in runChangeTransition() 830 private void setupChangeAnimation(final ViewGroup parent, final int changeReason, in setupChangeAnimation() argument 953 parent.requestTransitionStart(LayoutTransition.this); in setupChangeAnimation() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | RenderNodeTests.cpp | 45 auto parent = TestUtils::createNode(0, 0, 200, 400, in TEST() local 50 TestUtils::syncHierarchyPropertiesAndDisplayList(parent); in TEST() 53 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; in TEST() 55 TestUtils::recordNode(*parent, [](Canvas& canvas) { in TEST() 60 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; in TEST() 62 TestUtils::syncHierarchyPropertiesAndDisplayList(parent); in TEST() 65 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; in TEST() 72 auto parent = TestUtils::createNode(0, 0, 200, 400, in TEST() local 78 EXPECT_TRUE(parent->isValid()); in TEST() 80 EXPECT_TRUE(parent->nothingToDraw()); in TEST() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTestsBase.java | 240 private WindowState createCommonWindow(WindowState parent, int type, String name) { in createCommonWindow() argument 242 final WindowState win = createWindow(parent, type, name); in createCommonWindow() 282 WindowState createWindow(WindowState parent, int type, String name) { in createWindow() argument 284 return (parent == null) in createWindow() 285 ? createWindow(parent, type, mDisplayContent, name) in createWindow() 286 : createWindow(parent, type, parent.mToken, name); in createWindow() 290 WindowState createWindow(WindowState parent, int type, String name, int ownerId) { in createWindow() argument 292 return (parent == null) in createWindow() 293 ? createWindow(parent, type, mDisplayContent, name, ownerId) in createWindow() 294 : createWindow(parent, type, parent.mToken, name, ownerId); in createWindow() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | BaseMenuPresenter.java | 84 final ViewGroup parent = (ViewGroup) mMenuView; in updateMenuView() local 85 if (parent == null) return; in updateMenuView() 95 final View convertView = parent.getChildAt(childIndex); in updateMenuView() 98 final View itemView = getItemView(item, convertView, parent); in updateMenuView() 113 while (childIndex < parent.getChildCount()) { in updateMenuView() 114 if (!filterLeftoverView(parent, childIndex)) { in updateMenuView() 140 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) { in filterLeftoverView() argument 141 parent.removeViewAt(childIndex); in filterLeftoverView() 158 public MenuView.ItemView createItemView(ViewGroup parent) { in createItemView() argument 159 return (MenuView.ItemView) mSystemInflater.inflate(mItemLayoutRes, parent, false); in createItemView() [all …]
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/ |
D | DividerItemDecoration.java | 103 public void onDraw(Canvas c, RecyclerView parent, RecyclerView.State state) { in onDraw() argument 107 final int childCount = parent.getChildCount(); in onDraw() 108 final int width = parent.getWidth(); in onDraw() 111 final View view = parent.getChildAt(childViewIndex); in onDraw() 112 if (shouldDrawDividerBelow(view, parent)) { in onDraw() 122 Rect outRect, View view, RecyclerView parent, RecyclerView.State state) { in getItemOffsets() argument 123 if (shouldDrawDividerBelow(view, parent)) { in getItemOffsets() 128 private boolean shouldDrawDividerBelow(View view, RecyclerView parent) { in shouldDrawDividerBelow() argument 129 final RecyclerView.ViewHolder holder = parent.getChildViewHolder(view); in shouldDrawDividerBelow() 131 final int lastItemIndex = parent.getAdapter().getItemCount() - 1; in shouldDrawDividerBelow() [all …]
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/ |
D | ButtonItemTest.java | 48 private ViewGroup parent; field in ButtonItemTest 54 parent = new LinearLayout(context); in setUp() 83 final Button button = item.createButton(parent); in testCreateButton() 96 .that(item.createButton(parent).getId()) in testButtonItemSetsItsId() 103 final Button button = item.createButton(parent); in testCreateButtonTwice() 108 final Button button2 = item.createButton(parent); in testCreateButtonTwice() 120 final Button button = item.createButton(parent); in testSetEnabledTrue() 130 final Button button = item.createButton(parent); in testSetEnabledFalse() 140 final Button button = item.createButton(parent); in testSetText() 154 final Button button = item.createButton(parent); in testSetTheme() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ApplicationLoaders.java | 48 ClassLoader parent, String classLoaderName) { in getClassLoader() argument 50 librarySearchPath, libraryPermittedPath, parent, classLoaderName, in getClassLoader() 57 ClassLoader parent, String classLoaderName, in getClassLoaderWithSharedLibraries() argument 61 libraryPermittedPath, parent, zip, classLoaderName, sharedLibraries); in getClassLoaderWithSharedLibraries() 73 ClassLoader parent, String classLoaderName, List<ClassLoader> sharedLibraries) { in getSharedLibraryClassLoaderWithSharedLibraries() argument 74 ClassLoader loader = getCachedNonBootclasspathSystemLib(zip, parent, classLoaderName, in getSharedLibraryClassLoaderWithSharedLibraries() 81 librarySearchPath, libraryPermittedPath, parent, classLoaderName, sharedLibraries); in getSharedLibraryClassLoaderWithSharedLibraries() 86 ClassLoader parent, String cacheKey, in getClassLoader() argument 97 if (parent == null) { in getClassLoader() 98 parent = baseParent; in getClassLoader() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | MediaTransferManager.java | 53 ViewParent parent = view.getParent(); 54 StatusBarNotification statusBarNotification = getNotificationForParent(parent); 64 private StatusBarNotification getNotificationForParent(ViewParent parent) { 65 while (parent != null) { 66 if (parent instanceof ExpandableNotificationRow) { 67 return ((ExpandableNotificationRow) parent).getStatusBarNotification(); 69 parent = parent.getParent();
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | BaselineAlignmentCenterGravityTest.java | 57 final View parent = (View) mButton1.getParent(); in testChildrenAligned() local 58 ViewAsserts.assertTopAligned(mButton1, parent); in testChildrenAligned() 59 ViewAsserts.assertTopAligned(mButton2, parent); in testChildrenAligned() 60 ViewAsserts.assertTopAligned(mButton3, parent); in testChildrenAligned() 61 ViewAsserts.assertBottomAligned(mButton1, parent); in testChildrenAligned() 62 ViewAsserts.assertBottomAligned(mButton2, parent); in testChildrenAligned() 63 ViewAsserts.assertBottomAligned(mButton3, parent); in testChildrenAligned()
|
/frameworks/base/sax/java/android/sax/ |
D | Children.java | 30 Element getOrCreate(Element parent, String uri, String localName) { in getOrCreate() argument 37 current = new Child(parent, uri, localName, parent.depth + 1, hash); in getOrCreate() 56 current = new Child(parent, uri, localName, parent.depth + 1, hash); in getOrCreate() 91 Child(Element parent, String uri, String localName, int depth, in Child() argument 93 super(parent, uri, localName, depth); in Child()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/ |
D | stubout.py | 109 def Set(self, parent, child_name, new_child): argument 119 old_child = getattr(parent, child_name) 121 old_attribute = parent.__dict__.get(child_name) 125 self.cache.append((parent, old_child, child_name)) 126 setattr(parent, child_name, new_child) 138 for (parent, old_child, child_name) in self.cache: 139 setattr(parent, child_name, old_child)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | SingleFieldBuilderV3.java | 66 private AbstractMessage.BuilderParent parent; field in SingleFieldBuilderV3 85 AbstractMessage.BuilderParent parent, in SingleFieldBuilderV3() argument 91 this.parent = parent; in SingleFieldBuilderV3() 97 parent = null; in dispose() 229 if (isClean && parent != null) { in onChanged() 230 parent.markDirty(); in onChanged()
|
D | SingleFieldBuilder.java | 66 private GeneratedMessage.BuilderParent parent; field in SingleFieldBuilder 85 GeneratedMessage.BuilderParent parent, in SingleFieldBuilder() argument 91 this.parent = parent; in SingleFieldBuilder() 97 parent = null; in dispose() 229 if (isClean && parent != null) { in onChanged() 230 parent.markDirty(); in onChanged()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 192 private Keyboard parent; field in Keyboard.Row 194 public Row(Keyboard parent) { in Row() argument 195 this.parent = parent; in Row() 198 public Row(Resources res, Keyboard parent, XmlResourceParser parser) { in Row() argument 199 this.parent = parent; in Row() 204 parent.mDisplayWidth, parent.mDefaultWidth); in Row() 207 parent.mDisplayHeight, parent.mDefaultHeight); in Row() 210 parent.mDisplayWidth, parent.mDefaultHorizontalGap); in Row() 213 parent.mDisplayHeight, parent.mDefaultVerticalGap); in Row() 324 public Key(Row parent) { in Key() argument [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 51 void setPasswordQuality(in ComponentName who, int quality, boolean parent); in setPasswordQuality() argument 52 int getPasswordQuality(in ComponentName who, int userHandle, boolean parent); in getPasswordQuality() argument 54 void setPasswordMinimumLength(in ComponentName who, int length, boolean parent); in setPasswordMinimumLength() argument 55 int getPasswordMinimumLength(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLength() argument 57 void setPasswordMinimumUpperCase(in ComponentName who, int length, boolean parent); in setPasswordMinimumUpperCase() argument 58 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumUpperCase() argument 60 void setPasswordMinimumLowerCase(in ComponentName who, int length, boolean parent); in setPasswordMinimumLowerCase() argument 61 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLowerCase() argument 63 void setPasswordMinimumLetters(in ComponentName who, int length, boolean parent); in setPasswordMinimumLetters() argument 64 int getPasswordMinimumLetters(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLetters() argument [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ViewLayerInvalidationActivity.java | 126 private void randomInvalidator(ViewGroup parent) { in randomInvalidator() argument 127 for (int i = 0; i < parent.getChildCount(); ++i) { in randomInvalidator() 128 View child = parent.getChildAt(i); in randomInvalidator() 142 LinearLayout parent = (LinearLayout) view; in collectLinearLayouts() local 143 linearLayouts.add(parent); in collectLinearLayouts() 144 for (int i = 0; i < parent.getChildCount(); ++i) { in collectLinearLayouts() 145 collectLinearLayouts(parent.getChildAt(i)); in collectLinearLayouts() 157 ViewGroup parent = (ViewGroup) view; in collectTextViews() local 158 for (int i = 0; i < parent.getChildCount(); ++i) { in collectTextViews() 159 collectTextViews(parent.getChildAt(i)); in collectTextViews()
|
/frameworks/base/startop/view_compiler/ |
D | java_lang_builder.cc | 73 std::string parent = "null"; in StartView() local 76 parent = parent_entry.view_var; in StartView() 82 parent.c_str(), in StartView() 91 parent.c_str()); in StartView() 100 const string& parent = view_stack_.back().view_var; in FinishView() local 103 parent.c_str(), in FinishView()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | structured_objectwriter.h | 72 explicit BaseElement(BaseElement* parent) in BaseElement() argument 73 : parent_(parent), level_(parent == NULL ? 0 : parent->level() + 1) {} in BaseElement() 90 virtual BaseElement* parent() const { return parent_.get(); } in parent() function
|