/frameworks/support/design/jvm-tests/src/android/support/design/widget/ |
D | DirectedAcyclicGraphTest.java | 38 private DirectedAcyclicGraph<TestNode> mGraph; field in DirectedAcyclicGraphTest 42 mGraph = new DirectedAcyclicGraph<>(); in setup() 48 mGraph.addNode(node); in test_addNode() 49 assertEquals(1, mGraph.size()); in test_addNode() 50 assertTrue(mGraph.contains(node)); in test_addNode() 56 mGraph.addNode(node); in test_addNodeAgain() 57 mGraph.addNode(node); in test_addNodeAgain() 59 assertEquals(1, mGraph.size()); in test_addNodeAgain() 60 assertTrue(mGraph.contains(node)); in test_addNodeAgain() 68 mGraph.addNode(node); in test_addEdge() [all …]
|
/frameworks/support/design/src/android/support/design/widget/ |
D | DirectedAcyclicGraph.java | 33 private final SimpleArrayMap<T, ArrayList<T>> mGraph = new SimpleArrayMap<>(); field in DirectedAcyclicGraph 46 if (!mGraph.containsKey(node)) { in addNode() 47 mGraph.put(node, null); in addNode() 55 return mGraph.containsKey(node); in contains() 68 if (!mGraph.containsKey(node) || !mGraph.containsKey(incomingEdge)) { in addEdge() 73 ArrayList<T> edges = mGraph.get(node); in addEdge() 77 mGraph.put(node, edges); in addEdge() 90 return mGraph.get(node); in getIncomingEdges() 102 for (int i = 0, size = mGraph.size(); i < size; i++) { in getOutgoingEdges() 103 ArrayList<T> edges = mGraph.valueAt(i); in getOutgoingEdges() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | SmartCamera.java | 68 private FilterGraph mGraph; field in SmartCamera 93 mGraph.getVariable("gallerySource").setValue(filePath + "/" + fileName); in runGraphOnImage() 95 mGraph.getVariable("imageName").setValue(fileName); in runGraphOnImage() 96 mGraph.getVariable("filePath").setValue(filePath); // wrong in runGraphOnImage() 112 ((WaveTriggerFilter) mGraph.getFilter("snapEffect")).trigger(); in captureImages() 113 mGraph.getVariable("startCapture").setValue(false); in captureImages() 202 mGraph.getVariable("startCapture").setValue(true); in onCreate() 206 boolean tmp = (Boolean) mGraph.getVariable("startCapture").getValue(); in onCreate() 228 mGraph.getVariable("startCapture").setValue(false); in onCreate() 263 mGraph = GraphReader.readXmlGraphResource(mContext, R.raw.camera_graph); in loadGraph() [all …]
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
D | FilterGraphEffect.java | 42 protected FilterGraph mGraph; field in FilterGraphEffect 71 mGraph = reader.readGraphString(graphString); in createGraph() 76 if (mGraph == null) { in createGraph() 79 mRunner = new SyncRunner(getFilterContext(), mGraph, mSchedulerClass); in createGraph() 85 Filter src = mGraph.getFilter(mInputName); in apply() 93 Filter dest = mGraph.getFilter(mOutputName); in apply() 113 mGraph.tearDown(getFilterContext()); in release() 114 mGraph = null; in release()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | Scheduler.java | 29 private FilterGraph mGraph; field in Scheduler 32 mGraph = graph; in Scheduler() 36 return mGraph; in getGraph()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/ |
D | GraphEnvironment.java | 55 private FilterGraph mGraph; field in GraphEnvironment.GraphHandle 60 mGraph = graph; in GraphHandle() 64 return mGraph; in getGraph() 70 mAsyncRunner.setGraph(mGraph); in getAsyncRunner() 77 mSyncRunner = new SyncRunner(environment, mGraph, RoundRobinScheduler.class); in getSyncRunner()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
D | MffFilterTestCase.java | 51 private FilterGraph mGraph; field in MffFilterTestCase 71 mGraph = graphBuilder.build(); in setUp() 72 mRunner = mGraph.getRunner(); in setUp() 98 mGraph = null; in tearDown() 105 FrameSourceFilter filter = (FrameSourceFilter) mGraph.getFilter("in_" + portName); in injectInputFrame() 119 mRunner.start(mGraph); in process()
|
/frameworks/base/media/mca/effect/java/android/media/effect/effects/ |
D | BackDropperEffect.java | 85 Filter replacer = mGraph.getFilter("replacer"); in BackDropperEffect() 92 Filter background = mGraph.getFilter("background"); in setParameter() 95 Filter background = mGraph.getFilter("background"); in setParameter()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | RenderingJitter.java | 46 private PointGraphView mGraph; field in RenderingJitter 75 mGraph.addJitterSample(msg.arg1, msg.arg2); 93 mGraph = findViewById(R.id.graph); in onCreate()
|
/frameworks/base/core/java/android/widget/ |
D | RelativeLayout.java | 216 private final DependencyGraph mGraph = new DependencyGraph(); field in RelativeLayout 374 final DependencyGraph graph = mGraph; in sortChildren() 1008 DependencyGraph.Node node = mGraph.mKeyNodes.get(id); in getRelatedView() 1015 node = mGraph.mKeyNodes.get((rules[relation])); in getRelatedView()
|