Home
last modified time | relevance | path

Searched refs:gPaintI (Results 1 – 8 of 8) sorted by relevance

/development/samples/BrowserPlugin/jni/audio/
DAudioPlugin.cpp38 extern ANPPaintInterfaceV0 gPaintI;
143 m_paintTrack = gPaintI.newPaint(); in AudioPlugin()
144 gPaintI.setFlags(m_paintTrack, gPaintI.getFlags(m_paintTrack) | kAntiAlias_ANPPaintFlag); in AudioPlugin()
145 gPaintI.setColor(m_paintTrack, 0xFFC0C0C0); in AudioPlugin()
147 m_paintRect = gPaintI.newPaint(); in AudioPlugin()
148 gPaintI.setFlags(m_paintRect, gPaintI.getFlags(m_paintRect) | kAntiAlias_ANPPaintFlag); in AudioPlugin()
149 gPaintI.setColor(m_paintRect, 0xFFA8A8A8); in AudioPlugin()
151 m_paintText = gPaintI.newPaint(); in AudioPlugin()
152 gPaintI.setFlags(m_paintText, gPaintI.getFlags(m_paintText) | kAntiAlias_ANPPaintFlag); in AudioPlugin()
153 gPaintI.setColor(m_paintText, 0xFF2F4F4F); in AudioPlugin()
[all …]
/development/samples/BrowserPlugin/jni/paint/
DPaintPlugin.cpp35 extern ANPPaintInterfaceV0 gPaintI;
65 m_paintSurface = gPaintI.newPaint(); in PaintPlugin()
66 gPaintI.setFlags(m_paintSurface, gPaintI.getFlags(m_paintSurface) | kAntiAlias_ANPPaintFlag); in PaintPlugin()
67 gPaintI.setColor(m_paintSurface, 0xFFC0C0C0); in PaintPlugin()
68 gPaintI.setTextSize(m_paintSurface, 18); in PaintPlugin()
70 m_paintButton = gPaintI.newPaint(); in PaintPlugin()
71 gPaintI.setFlags(m_paintButton, gPaintI.getFlags(m_paintButton) | kAntiAlias_ANPPaintFlag); in PaintPlugin()
72 gPaintI.setColor(m_paintButton, 0xFFA8A8A8); in PaintPlugin()
76 gPaintI.setTypeface(m_paintSurface, tf); in PaintPlugin()
89 gPaintI.deletePaint(m_paintSurface); in ~PaintPlugin()
[all …]
/development/samples/BrowserPlugin/jni/form/
DFormPlugin.cpp37 extern ANPPaintInterfaceV0 gPaintI;
82 m_paintInput = gPaintI.newPaint(); in FormPlugin()
83 gPaintI.setFlags(m_paintInput, gPaintI.getFlags(m_paintInput) | kAntiAlias_ANPPaintFlag); in FormPlugin()
84 gPaintI.setColor(m_paintInput, 0xFFFFFFFF); in FormPlugin()
86 m_paintActive = gPaintI.newPaint(); in FormPlugin()
87 gPaintI.setFlags(m_paintActive, gPaintI.getFlags(m_paintActive) | kAntiAlias_ANPPaintFlag); in FormPlugin()
88 gPaintI.setColor(m_paintActive, 0xFFFFFF00); in FormPlugin()
90 m_paintText = gPaintI.newPaint(); in FormPlugin()
91 gPaintI.setFlags(m_paintText, gPaintI.getFlags(m_paintText) | kAntiAlias_ANPPaintFlag); in FormPlugin()
92 gPaintI.setColor(m_paintText, 0xFF000000); in FormPlugin()
[all …]
/development/samples/BrowserPlugin/jni/navigation/
DNavigationPlugin.cpp37 extern ANPPaintInterfaceV0 gPaintI;
73 m_paintDisabled = gPaintI.newPaint(); in NavigationPlugin()
74 gPaintI.setFlags(m_paintDisabled, gPaintI.getFlags(m_paintDisabled) | kAntiAlias_ANPPaintFlag); in NavigationPlugin()
75 gPaintI.setColor(m_paintDisabled, 0xFFFFFFFF); in NavigationPlugin()
77 m_paintActive = gPaintI.newPaint(); in NavigationPlugin()
78 gPaintI.setFlags(m_paintActive, gPaintI.getFlags(m_paintActive) | kAntiAlias_ANPPaintFlag); in NavigationPlugin()
79 gPaintI.setColor(m_paintActive, 0xFFFFFF00); in NavigationPlugin()
90 gPaintI.deletePaint(m_paintDisabled); in ~NavigationPlugin()
91 gPaintI.deletePaint(m_paintActive); in ~NavigationPlugin()
/development/samples/BrowserPlugin/jni/background/
DBackgroundPlugin.cpp39 extern ANPPaintInterfaceV0 gPaintI;
160 ANPPaint* paint = gPaintI.newPaint(); in drawPlugin()
161 gPaintI.setFlags(paint, gPaintI.getFlags(paint) | kAntiAlias_ANPPaintFlag); in drawPlugin()
162 gPaintI.setColor(paint, 0xFFFF0000); in drawPlugin()
163 gPaintI.setTextSize(paint, fontSize); in drawPlugin()
166 gPaintI.setTypeface(paint, tf); in drawPlugin()
170 gPaintI.getFontMetrics(paint, &fm); in drawPlugin()
172 gPaintI.setColor(paint, 0xFF0000FF); in drawPlugin()
177 gPaintI.deletePaint(paint); in drawPlugin()
/development/samples/BrowserPlugin/jni/video/
DVideoPlugin.cpp39 extern ANPPaintInterfaceV0 gPaintI;
/development/samples/BrowserPlugin/jni/
Dmain.cpp74 ANPPaintInterfaceV0 gPaintI; variable
123 { kPaintInterfaceV0_ANPGetValue, sizeof(gPaintI), &gPaintI }, in NP_Initialize()
/development/samples/BrowserPlugin/jni/animation/
DAnimationPlugin.cpp34 extern ANPPaintInterfaceV0 gPaintI;