summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2010-11-18 22:12:34 -0800
committerXavier Ducrohet <xav@android.com>2010-11-18 22:17:14 -0800
commit55acd60be3c027c224a74290df7bedc1a80c669f (patch)
treecf721af3e912bc534926ba3225cfc611baaf2811 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent60899fac2bf35086b0083bfbffa2f6bf5c18f2d9 (diff)
Layoutlib: support viewkey in include nodes.
When an include tag is parsed, the custom bridge code never has access to both parsers at the same time. The child parser is created out of an in (representing the layout id), and the code inflating the content of the include layout doesn't see the parent parser either. This changeset adds a parser stack in the BridgeContext in order to allow access to the parent parser when setting the viewkey. This is only used if the current parser depth is 1 (top node), as we only want to set the include node to the top node of the included layout. Change-Id: I2ac3b72a0c84a269d9019f44f98cbc0b615ab959
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions