/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
ViewLoader.java | 50 private void processChildren(NodeList childNodes, ViewNode parent) { 53 processNode(node, parent); 57 private void processNode(Node node, ViewNode parent) { 70 parent.attributes.put("android:focus", "true"); 71 parent.requestFocusOverride = true; 73 ViewNode viewNode = new ViewNode(name, attrMap, parent.isSystem); 74 if (parent != null) parent.addChild(viewNode); 84 public View inflateView(Context context, String key, View parent) { 85 return inflateView(context, key, null, parent); [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
RenderNodeTests.cpp | 45 auto parent = TestUtils::createNode(0, 0, 200, 400, local 50 TestUtils::syncHierarchyPropertiesAndDisplayList(parent); 52 EXPECT_TRUE(child->hasParents()) << "Child node has no parent"; 53 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; 55 TestUtils::recordNode(*parent, [](TestCanvas& canvas) { 59 EXPECT_TRUE(child->hasParents()) << "Child should still have a parent"; 60 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; 62 TestUtils::syncHierarchyPropertiesAndDisplayList(parent); 65 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";
|
/external/iproute2/examples/diffserv/ |
Edge1 | 50 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 1 fw classid 1:1 51 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 2 fw classid 1:2 52 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 3 fw classid 1:3 61 $TC filter ls dev $INDEV parent 1:0 68 $TC filter ls $EGDEV parent 1:0
|
/external/iproute2/testsuite/tests/tc/ |
policer.t | 4 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded 5 $TC filter add dev $DEV parent 10:0 protocol ip prio 10 u32 match ip protocol 1 0xff police rate 2kbit buffer 10k drop flowid 10:12 7 $TC filter list dev $DEV parent 10:0 11 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded 12 $TC filter add dev $DEV parent 10:0 protocol ip prio 10 u32 match ip protocol 1 0xff police rate 2kbit buffer 10k drop flowid 10:12
|
/external/skia/src/views/ |
SkView.cpp | 157 SkView* parent = view->fParent; local 158 if (parent == nullptr) { 165 view = parent; 241 SkView* child, *parent; local 244 parent = focus; 252 while (child != parent->fFirstChild) { 259 child = parent->fNextSibling; 260 parent = parent->fParent; 261 } while (parent != nullptr) 523 SkView* parent = fParent; local 684 SkView* parent = fParent; local 696 SkView* parent = fParent; local [all...] |
SkViewPriv.cpp | 57 void SkView::Layout::layoutChildren(SkView* parent) 59 SkASSERT(parent); 60 if (parent->width() > 0 && parent->height() > 0) 61 this->onLayoutChildren(parent);
|
/external/webrtc/webrtc/libjingle/xmpp/ |
mucroomlookuptask.cc | 21 MucRoomLookupTask::CreateLookupTaskForRoomName(XmppTaskParentInterface* parent, 25 return new MucRoomLookupTask(parent, lookup_server_jid, 30 MucRoomLookupTask::CreateLookupTaskForRoomJid(XmppTaskParentInterface* parent, 33 return new MucRoomLookupTask(parent, lookup_server_jid, 38 MucRoomLookupTask::CreateLookupTaskForHangoutId(XmppTaskParentInterface* parent, 41 return new MucRoomLookupTask(parent, lookup_server_jid, 47 XmppTaskParentInterface* parent, 51 return new MucRoomLookupTask(parent, lookup_server_jid, 55 MucRoomLookupTask::MucRoomLookupTask(XmppTaskParentInterface* parent, 58 : IqTask(parent, STR_SET, lookup_server_jid, query) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ViewLayerInvalidationActivity.java | 126 private void randomInvalidator(ViewGroup parent) { 127 for (int i = 0; i < parent.getChildCount(); ++i) { 128 View child = parent.getChildAt(i); 142 LinearLayout parent = (LinearLayout) view; local 143 linearLayouts.add(parent); 144 for (int i = 0; i < parent.getChildCount(); ++i) { 145 collectLinearLayouts(parent.getChildAt(i)); 157 ViewGroup parent = (ViewGroup) view; local 158 for (int i = 0; i < parent.getChildCount(); ++i) { 159 collectTextViews(parent.getChildAt(i)) [all...] |
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldNodeChangeEventTest.java | 50 AbstractPreferences parent = (AbstractPreferences) Preferences local 53 AbstractPreferences pref = (AbstractPreferences) parent.node("mock"); 98 AbstractPreferences parent = (AbstractPreferences) Preferences local 101 AbstractPreferences pref = (AbstractPreferences) parent.node("mock"); 105 Preferences parent = e.getParent(); 106 if (parent == null) { 109 if (parent.name() == "mock") { 117 Preferences parent = e.getParent(); 118 if (parent == null) { 121 if (parent.name() == "mock") [all...] |
/system/extras/simpleperf/ |
callchain.cpp | 63 static void SplitNode(CallChainNode* parent, size_t parent_length) { 65 AllocateNode(parent->chain, parent_length, parent->period, parent->children_period); 66 child->children = std::move(parent->children); 67 parent->period = 0; 68 parent->children_period = child->period + child->children_period; 69 parent->chain.resize(parent_length); 70 parent->children.clear(); 71 parent->children.push_back(std::move(child)) [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
ProcessorStylesheetElement.java | 83 Stylesheet parent = handler.getStylesheet(); local 87 StylesheetComposed sc = new StylesheetComposed(parent); 89 parent.setImport(sc); 95 stylesheet = new Stylesheet(parent); 97 parent.setInclude(stylesheet);
|
/external/autotest/client/deps/fakegudev/src/ |
gudev-exercise.c | 98 GUdevDevice *parent; local 99 parent = g_udev_device_get_parent (device); 100 if (parent) { 101 printf ("Parent device:\n"); 102 print_device (parent); 103 g_object_unref (parent);
|
/external/clang/include/clang/Analysis/ |
AnalysisContext.h | 183 const StackFrameContext *getStackFrame(LocationContext const *Parent, 189 getBlockInvocationContext(const LocationContext *parent, 221 const LocationContext *Parent; 225 const LocationContext *parent) 226 : Kind(k), Ctx(ctx), Parent(parent) {} 235 const LocationContext *getParent() const { return Parent; } 270 const LocationContext *parent, 278 // The parent block of the callsite. 285 StackFrameContext(AnalysisDeclContext *ctx, const LocationContext *parent, [all...] |
/external/javassist/src/main/javassist/ |
ClassMap.java | 48 private ClassMap parent; field in class:ClassMap 53 public ClassMap() { parent = null; } 55 ClassMap(ClassMap map) { parent = map; } 134 if (found == null && parent != null) 135 return parent.get(jvmClassName);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
CursorFactoryListAdapter.java | 34 public View newView(Context context, ViewGroup parent); 49 public View newView(Context context, ViewGroup parent) { 52 return inflater.inflate(mResId, parent, false); 67 public View newView(Context context, Cursor cursor, ViewGroup parent) { 68 View view = mViewFactory.newView(context, parent);
|
/external/e2fsprogs/e2fsck/ |
dirinfo.c | 32 ext2_ino_t dotdot; /* Parent according to '..' */ 33 ext2_ino_t parent; /* Parent according to treewalk */ member in struct:dir_info_ent 114 * entry. During pass1, the passed-in parent is 0; it will get filled 117 void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) 126 printf("add_dir_info for inode (%lu, %lu)...\n", ino, parent); 145 ent.parent = parent; 146 ent.dotdot = parent; 175 dir->dotdot = parent; [all...] |
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
FadeAndShortSlide.java | 145 View parent = view; local 146 while (parent.getParent() instanceof View) { 147 parent = (View) parent.getParent(); 148 if (isParentForDelay(parent.getId())) { 149 return parent; 164 private void getTransitionTargets(ViewGroup parent, List<View> transitionTargets) { 165 int count = parent.getChildCount(); 167 View child = parent.getChildAt(i); 345 ViewParent parent = child.getParent() local 358 ViewParent parent = child.getParent(); local 371 ViewParent parent = child.getParent(); local [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/parser/ |
viddec_mpeg2_parse.c | 204 void *parent, 211 viddec_workload_t *wl = viddec_pm_get_header(parent); 215 parent = parent; 242 viddec_pm_set_late_frame_detect(parent); 254 void *parent, 267 ret = viddec_pm_peek_bits(parent, ¤t_sc, sc_bits); 280 viddec_pm_skip_bits(parent, sc_bits); 290 viddec_mpeg2_parse_seq_hdr(parent, ctxt); 297 viddec_mpeg2_parse_pic_hdr(parent, ctxt) [all...] |
/hardware/intel/common/libmix/mix_video/src/ |
mixvideoformat_mp42.c | 39 /* The parent class. The pointer will be saved 53 MixVideoFormat *parent = MIX_VIDEOFORMAT(self); local 65 * member varibles beloned to parent 67 parent->initialized = FALSE; 75 /* direct parent class */ 78 /* parent class for later use */ 104 MixVideoFormat *parent = NULL; local 121 parent = MIX_VIDEOFORMAT(self); 123 //surfacepool is deallocated by parent 124 //inputbufqueue is deallocated by parent 194 MixVideoFormat *parent = NULL; local 393 MixVideoFormat *parent = NULL; local [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
viddec_vc1_parse.c | 66 uint32_t viddec_vc1_parse(void *parent, void *ctxt) 68 static uint32_t viddec_vc1_parse(void *parent, void *ctxt) 78 ret = viddec_pm_peek_bits(parent, &sc, 32); 81 ret = viddec_pm_get_bits(parent, &sc, 32); 90 ret = viddec_pm_get_bits(parent, &sc, 32); 106 ret = viddec_pm_peek_bits(parent,&data ,2); 110 status = vc1_ParseSequenceLayer(parent, &parser->info); 114 status = vc1_ParseRCVSequenceLayer(parent, &parser->info); 126 status = vc1_ParseEntryPointLayer(parent, &parser->info); 140 status = vc1_ParsePictureLayer(parent, &parser->info) [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
viddec_h264_workload.c | 129 static void h264_parse_update_frame_attributes(void *parent, h264_Info *pInfo) 138 wl_cur = viddec_pm_get_header( parent ); 143 wl_next = viddec_pm_get_next_header (parent); 251 static void h264_parse_emit_4X4_scaling_matrix( void *parent, h264_Info *pInfo ) 323 viddec_pm_append_workitem( parent, &wi ); 327 viddec_pm_append_workitem_next( parent, &wi ); 350 viddec_pm_append_workitem( parent, &wi ); 354 viddec_pm_append_workitem_next( parent, &wi ); 368 viddec_pm_append_workitem( parent, &wi ); 372 viddec_pm_append_workitem_next( parent, &wi ) [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
ThreadGroup.java | 37 * has a parent. 41 * parent thread group or any other thread groups. 64 private final ThreadGroup parent; field in class:ThreadGroup 85 this.parent = null; 89 * Constructs a new thread group. The parent of this new group is 92 * The <code>checkAccess</code> method of the parent thread group is 106 * Creates a new thread group. The parent of this new group is the 109 * The <code>checkAccess</code> method of the parent thread group is 112 * @param parent the parent thread group [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
TrAXFilter.java | 48 * Construct an empty XML filter, with no parent. 50 * <p>This filter will have no parent: you must assign a parent 72 /** Set the parent reader. 76 * configuration requests. The parent may itself be another filter.</p> 78 * <p>If there is no parent reader set, any attempt to parse 81 * @param parent The parent XML reader. 82 * @throws java.lang.NullPointerException If the parent is null. 84 public void setParent (XMLReader parent) 140 XMLReader parent; local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
DOMHelper.java | 245 int nParents1 = 2, nParents2 = 2; // include node & parent obtained above 290 // Loop up the ancestor chain looking for common parent 293 if (startNode1 == startNode2 || isNodeTheSame(startNode1, startNode2)) // common parent? 356 * @param parent Must be the parent of both child1 and child2. 357 * @param child1 Must be the child of parent and not equal to child2. 358 * @param child2 Must be the child of parent and not equal to child1. 361 private static boolean isNodeAfterSibling(Node parent, Node child1, 385 NamedNodeMap children = parent.getAttributes(); 431 Node child = parent.getFirstChild() 516 Node parent = namespaceContext; local 684 Node parent = n; local 1012 Node parent; local 1197 Node parent = null; local [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/ |
add_point_queue_test.py | 21 master_key = graph_data.Master(id='ChromiumPerf', parent=None).put() 22 bot_key = graph_data.Bot(id='win7', parent=master_key).put() 23 suite_key = graph_data.Test(id='dromaeo', parent=bot_key).put() 24 subtest_key = graph_data.Test(id='dom', parent=suite_key).put() 25 graph_data.Test(id='modify', parent=subtest_key).put() 36 parent = add_point_queue._GetOrCreateAncestors( 38 self.assertEqual('modify', parent.key.id()) 47 self.assertIsNone(created_masters[0].key.parent()) 49 self.assertEqual('ChromiumPerf', created_bots[0].key.parent().id())
|