HomeSort by relevance Sort by last modified time
    Searched defs:context (Results 251 - 275 of 1289) sorted by null

<<11121314151617181920>>

  /external/webkit/Source/WebCore/platform/graphics/cairo/
FontCairo.cpp 46 static void prepareContextForGlyphDrawing(cairo_t* context, const SimpleFontData* font, const FloatPoint& point)
49 cairo_set_scaled_font(context, font->platformData().scaledFont());
52 cairo_transform(context, &mat);
54 cairo_translate(context, point.x(), point.y());
57 static void drawGlyphsToContext(cairo_t* context, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs)
59 cairo_show_glyphs(context, glyphs, numGlyphs);
62 cairo_translate(context, font->syntheticBoldOffset(), 0);
63 cairo_show_glyphs(context, glyphs, numGlyphs);
64 cairo_translate(context, -font->syntheticBoldOffset(), 0);
78 cairo_t* context = graphicsContext->platformContext()->cr() local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/
PlatformCanvas.h 86 GraphicsContext* context() const { return m_context.get(); } function in class:WebCore::PlatformCanvas::Painter
  /external/webkit/Source/WebCore/platform/graphics/chromium/cc/
CCLayerImpl.cpp 180 GraphicsContext3D* context = layerRenderer()->context(); local
181 GLC(context, context->uniformMatrix4fv(program->vertexShader().matrixLocation(), false, &glMatrix[0], 1));
183 GLC(context, context->uniform4f(program->fragmentShader().colorLocation(), debugBorderColor().red() / 255.0, debugBorderColor().green() / 255.0, debugBorderColor().blue() / 255.0, 1));
185 GLC(context, context->lineWidth(debugBorderWidth()));
188 GLC(context, context->drawElements(GraphicsContext3D::LINE_LOOP, 4, GraphicsContext3D::UNSIGNED_SHORT, 6 * sizeof(unsig (…)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/wx/
ImageWx.cpp 101 wxGCDC* context = (wxGCDC*)ctxt->platformContext(); local
102 wxGraphicsContext* gc = context->GetGraphicsContext();
105 wxWindowDC* context = ctxt->platformContext(); local
158 context->Blit((wxCoord)dstIntRect.x(),(wxCoord)dstIntRect.y(), (wxCoord)dstIntRect.width(), (wxCoord)dstIntRect.height(), &mydc,
185 wxGCDC* context = (wxGCDC*)ctxt->platformContext(); local
188 wxWindowDC* context = ctxt->platformContext();
202 wxGraphicsContext* gc = context->GetGraphicsContext();
215 wxPoint origin(context->GetDeviceOrigin());
216 wxSize clientSize(context->GetSize());
227 context->Blit((wxCoord)dstRect.x() + currentW, (wxCoord)dstRect.y() + currentH,
    [all...]
  /external/webkit/Source/WebCore/platform/network/cf/
DNSCFNet.cpp 192 CFHostClientContext context = { 0, 0, 0, 0, 0 }; local
193 Boolean result = CFHostSetClient(host.get(), clientCallback, &context);
  /external/webkit/Source/WebCore/xml/
XPathPath.cpp 98 // For absolute location paths, the context node is ignored - the
100 Node* context = evaluationContext.node.get(); local
101 if (m_absolute && context->nodeType() != Node::DOCUMENT_NODE)
102 context = context->ownerDocument();
105 nodes.append(context);
  /external/webkit/Source/WebKit/gtk/tests/
testhittestresult.c 83 guint context; local
95 g_object_get(result, "context", &context, NULL);
96 g_assert(context & info->flag);
  /external/webkit/Source/WebKit/gtk/webkit/
webkithittestresult.cpp 39 * This class holds context information about the coordinates
46 guint context; member in struct:_WebKitHitTestResultPrivate
89 g_value_set_flags(value, priv->context);
115 priv->context = g_value_get_flags(value);
149 * WebKitHitTestResult:context:
156 g_param_spec_flags("context",
157 _("Context"),
210 * representative of the information given in the context
214 * whole context and will put WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK
215 * in the 'context' property, but the user might be confused b
239 guint context = WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT; local
    [all...]
  /external/webkit/Source/WebKit2/UIProcess/API/qt/
qwkpage_p.h 122 QWKContext* context; member in class:QWKPagePrivate
  /external/webkit/Source/WebKit2/UIProcess/
WebProcessProxy.h 75 WebContext* context() const { return m_context.get(); } function in class:WebKit::WebProcessProxy
  /external/webkit/Tools/DumpRenderTree/
PixelDumpSupport.cpp 48 RefPtr<BitmapContext> context; local
51 context = createPagedBitmapContext();
54 context = createBitmapContextFromWebView(gLayoutTestController->testOnscreen(), gLayoutTestController->testRepaint(), gLayoutTestController->testRepaintSweepHorizontally(), gLayoutTestController->dumpSelectionRect());
55 ASSERT(context);
57 // Compute the hash of the bitmap context pixels
59 computeMD5HashStringForBitmapContext(context.get(), actualHash);
74 dumpBitmap(context.get(), actualHash);
  /external/webkit/Tools/MiniBrowser/win/
BrowserView.cpp 87 WKContextRef context; local
89 context = WKContextGetSharedThreadContext();
91 context = WKContextGetSharedProcessContext();
93 m_webView = WKViewCreate(webViewRect, context, 0, parentWindow->window());
  /external/webkit/Tools/WebKitTestRunner/cg/
TestInvocationCG.cpp 57 CGContextRef context = CGBitmapContextCreate(buffer, pixelsWide, pixelsHigh, 8, rowBytes, colorSpace, kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host); local
60 CGContextDrawImage(context, CGRectMake(0, 0, pixelsWide, pixelsHigh), image.get());
62 return context;
131 CGContextRef context = createCGContextFromImage(image); local
133 // Compute the hash of the bitmap context pixels
135 computeMD5HashStringForContext(context, actualHash);
151 dumpBitmap(context);
  /frameworks/av/libvideoeditor/vss/src/
M4PCMR_CoreReader.c 44 * - initializes PCM context,
48 * @param pContext: (OUT) Pointer on the PCM Reader context
66 M4PCMR_Context *context; local
76 /* Allocates the context */
77 context = M4OSA_NULL;
78 context = (M4PCMR_Context *)M4OSA_32bitAlignedMalloc(sizeof(M4PCMR_Context), M4WAV_READER,
80 if (M4OSA_NULL == context)
84 *pContext = (M4OSA_Context)context;
86 /* Initialize the context */
87 context->m_offset = 0
    [all...]
  /frameworks/base/core/java/android/app/backup/
SharedPreferencesBackupHelper.java 20 import android.content.Context;
47 * // are the same strings that are passed to {@link Context#getSharedPreferences(String, int)}.
74 private Context mContext;
81 * @param context The application {@link android.content.Context}
85 public SharedPreferencesBackupHelper(Context context, String... prefGroups) {
86 super(context);
88 mContext = context;
97 Context context = mContext local
120 Context context = mContext; local
    [all...]
  /frameworks/base/core/java/android/gesture/
GestureLibraries.java 21 import android.content.Context;
43 public static GestureLibrary fromPrivateFile(Context context, String name) {
44 return fromFile(context.getFileStreamPath(name));
47 public static GestureLibrary fromRawResource(Context context, int resourceId) {
48 return new ResourceGestureLibrary(context, resourceId);
109 private final WeakReference<Context> mContext;
112 public ResourceGestureLibrary(Context context, int resourceId)
128 final Context context = mContext.get(); local
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
RotationPolicy.java 19 import android.content.Context;
48 public static boolean isRotationLockToggleSupported(Context context) {
49 return context.getResources().getConfiguration().smallestScreenWidthDp >= 600;
55 public static boolean isRotationLockToggleVisible(Context context) {
56 return isRotationLockToggleSupported(context) &&
57 Settings.System.getInt(context.getContentResolver(),
64 public static boolean isRotationLocked(Context context) {
    [all...]
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothRebootStressTest.java 19 import android.content.Context;
39 Context context = getInstrumentation().getTargetContext(); local
40 mTestUtils = new BluetoothTestUtils(context, TAG, OUTPUT_FILE);
  /frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
accessorychat.c 187 struct usb_host_context* context = usb_host_init(); local
188 if (!context) {
194 usb_host_run(context, usb_device_added, usb_device_removed, NULL, NULL);
  /frameworks/base/media/jni/mediaeditor/
VideoEditorPropertiesMain.cpp 91 M4MCS_Context context = M4OSA_NULL; local
122 result = M4OSA_fileReadOpen(&context, (M4OSA_Void*)pFile, M4OSA_kFileRead);
133 // Close the file and free the file context
134 if (context != NULL) {
135 result = M4OSA_fileReadClose(context);
136 context = M4OSA_NULL;
171 // Check if the context is valid and allocation succeeded
291 result = M4OSA_fileReadOpen(&context, (M4OSA_Void*)pFile, M4OSA_kFileRead);
296 result = M4OSA_fileReadClose(context);
297 context = M4OSA_NULL
435 M4MCS_Context context = M4OSA_NULL; local
    [all...]
  /frameworks/base/media/mca/filterfw/native/core/
gl_env.h 56 // includes the display, context, and surface. It is possible to either create
59 // necessarily through this class), and have an active display, context, and
64 // Constructs a new GLEnv object. This does not create a GL context.
71 // Inits a new GL environment, including a new surface and context. You
76 // there is already a display, surface and context available (possibly
78 // this context is active already.
81 // Activates the environment, and makes the associated GL context the
82 // current context. Creates the environment, if it has not been created
87 // successful. You may want to call this when moving a context to another
135 // Add a context to the environment. This context will now be managed (an
150 const EGLContext& context() const { function in class:android::filterfw::GLEnv
    [all...]
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
SimpleImageFilter.java 69 public void process(FilterContext context) {
75 Frame output = context.getFrameManager().newFrame(inputFormat);
78 updateProgramWithTarget(inputFormat.getTarget(), context); local
90 protected void updateProgramWithTarget(int target, FilterContext context) {
94 mProgram = getNativeProgram(context);
98 mProgram = getShaderProgram(context);
108 initProgramInputs(mProgram, context);
113 protected abstract Program getNativeProgram(FilterContext context);
115 protected abstract Program getShaderProgram(FilterContext context);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
AirplaneModeController.java 21 import android.content.Context;
35 private Context mContext;
40 public AirplaneModeController(Context context, CompoundButton checkbox) {
41 mContext = context;
49 context.registerReceiver(this, filter);
64 public void onReceive(Context context, Intent intent) {
BatteryController.java 22 import android.content.Context;
35 private Context mContext;
39 public BatteryController(Context context) {
40 mContext = context;
44 context.registerReceiver(this, filter);
55 public void onReceive(Context context, Intent intent) {
LocationController.java 25 import android.content.Context;
45 private Context mContext;
49 public LocationController(Context context) {
50 mContext = context;
55 context.registerReceiver(this, filter);
57 NotificationManager nm = (NotificationManager)context.getSystemService(
58 Context.NOTIFICATION_SERVICE);
63 public void onReceive(Context context, Intent intent)
    [all...]

Completed in 1541 milliseconds

<<11121314151617181920>>