/external/webkit/WebCore/platform/graphics/win/ |
GraphicsContextCGWin.cpp | 50 CGContextRef context = CGBitmapContextCreate(info.bmBits, info.bmWidth, info.bmHeight, 8, local 55 CGContextTranslateCTM(context, 0, info.bmHeight); 56 CGContextScaleCTM(context, 1, -1); 61 return context; 72 // Make sure the context starts in sync with our state. 89 // it into our context. 146 CGContextRef context = platformContext(); local 147 CGContextSaveGState(context); 149 CGContextBeginPath(context); 150 CGContextAddPath(context, focusRingPath) 201 CGContextRef context = platformContext(); local [all...] |
/packages/apps/Email/src/com/android/email/ |
AccountBackupRestore.java | 24 import android.content.Context; 43 public static void backupAccounts(final Context context) { 51 doBackupAccounts(context, Preferences.getPreferences(context)); 60 public static void restoreAccountsIfNeeded(final Context context) { 62 boolean restored = doRestoreAccounts(context, Preferences.getPreferences(context)); 67 SecurityPolicy.getInstance(context).updatePolicies(-1) [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ |
DTMAxisTraverser.java | 48 * By the nature of the stateless traversal, the context node can not be 55 * @param context The context node of this traversal. This is the point 59 public int first(int context) 61 return next(context, context); 65 * By the nature of the stateless traversal, the context node can not be 72 * @param context The context node of this traversal. This is the point 78 public int first(int context, int extendedTypeID [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
OtherSettingsIndicator.java | 19 import android.content.Context; 36 Context context, ListPreference preference[]) { 37 super(context); 46 Context context = getGLRootView().getContext(); local 48 context, R.drawable.ic_viewfinder_settings); 83 Context context = getGLRootView().getContext(); local 85 adapters[i] = new PreferenceAdapter(context, prefs[i]) 98 Context context = getGLRootView().getContext(); local [all...] |
/external/bluetooth/glib/glib/ |
gmarkup.h | 66 void (*start_element) (GMarkupParseContext *context, 74 void (*end_element) (GMarkupParseContext *context, 81 void (*text) (GMarkupParseContext *context, 92 void (*passthrough) (GMarkupParseContext *context, 101 void (*error) (GMarkupParseContext *context, 110 void g_markup_parse_context_free (GMarkupParseContext *context); 111 gboolean g_markup_parse_context_parse (GMarkupParseContext *context, 115 void g_markup_parse_context_push (GMarkupParseContext *context, 118 gpointer g_markup_parse_context_pop (GMarkupParseContext *context); 120 gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context, [all...] |
/external/webkit/JavaScriptCore/API/tests/ |
minidom.c | 37 static JSValueRef print(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception); 46 JSGlobalContextRef context = JSGlobalContextCreateInGroup(NULL, NULL); local 47 JSObjectRef globalObject = JSContextGetGlobalObject(context); 50 JSObjectSetProperty(context, globalObject, printIString, JSObjectMakeFunctionWithCallback(context, printIString, print), kJSPropertyAttributeNone, NULL); 54 JSObjectSetProperty(context, globalObject, node, JSObjectMakeConstructor(context, JSNode_class(context), JSNode_construct), kJSPropertyAttributeNone, NULL); 60 JSValueRef result = JSEvaluateScript(context, script, NULL, NULL, 1, &exception); 65 JSStringRef exceptionIString = JSValueToStringCopy(context, exception, NULL) [all...] |
/frameworks/base/core/java/android/text/format/ |
Formatter.java | 19 import android.content.Context; 30 * @param context Context to use to load the localized units 34 public static String formatFileSize(Context context, long number) { 35 return formatFileSize(context, number, false); 42 public static String formatShortFileSize(Context context, long number) { 43 return formatFileSize(context, number, true); 46 private static String formatFileSize(Context context, long number, boolean shorter) [all...] |
/packages/apps/Music/src/com/android/music/ |
MediaButtonIntentReceiver.java | 20 import android.content.Context; 45 Context context = (Context)msg.obj; 48 i.setClass(context, MusicBrowserActivity.class); 50 context.startActivity(i); 59 public void onReceive(Context context, Intent intent) { 62 Intent i = new Intent(context, MediaPlaybackService.class); 65 context.startService(i) [all...] |
/frameworks/base/libs/rs/ |
rsContext.cpp | 39 pthread_key_t Context::gThreadTLSKey = 0; 40 uint32_t Context::gThreadTLSKeyCount = 0; 41 uint32_t Context::gGLContextCount = 0; 42 pthread_mutex_t Context::gInitMutex = PTHREAD_MUTEX_INITIALIZER; 56 void Context::initEGL(bool useGL2) 116 void Context::deinitEGL() 130 uint32_t Context::runScript(Script *s, uint32_t launchID) 146 void Context::checkError(const char *msg) const 154 uint32_t Context::runRootScript() 189 uint64_t Context::getTime() cons [all...] |
rsObjectBase.h | 26 class Context; 32 ObjectBase(Context *rsc); 48 Context * getContext() const {return mRSC;} 49 void setContext(Context *); 51 static void zeroAllUserRef(Context *rsc); 52 static void dumpAll(Context *rsc); 59 Context *mRSC;
|
/external/webkit/WebCore/bindings/v8/ |
V8Proxy.cpp | 83 v8::Persistent<v8::Context> V8Proxy::m_utilityContext; 136 void V8Proxy::setSVGContext(void* object, SVGElement* context) 143 if (oldContext == context) 149 if (context) 150 context->ref(); 152 svgObjectToContextMap().set(object, context); 264 v8::Local<v8::Context> context = v8::Context::GetCurrent(); local 266 if (!context->HasOutOfMemoryException() 329 v8::Local<v8::Context> context = v8::Local<v8::Context>::New(isolatedContext->context()); local 342 v8::Handle<v8::Context> context = windowShell()->context(); local 564 v8::Handle<v8::Context> context = v8::Context::GetEntered(); local 572 v8::Handle<v8::Context> context = v8::Context::GetCurrent(); local 580 v8::Handle<v8::Context> context = v8::Context::GetCalling(); local 703 v8::Local<v8::Context> V8Proxy::context(Frame* frame) function in class:WebCore::V8Proxy 705 v8::Local<v8::Context> context = V8Proxy::mainWorldContext(frame); local 718 v8::Local<v8::Context> V8Proxy::context() function in class:WebCore::V8Proxy 721 RefPtr<SharedPersistent<v8::Context> > context = isolatedContext->sharedContext(); local 881 v8::Handle<v8::Context> context = windowShell()->context(); local [all...] |
/development/apps/Development/src/com/android/development/ |
ArrayAdapter.java | 19 import android.content.Context; 29 public ArrayAdapter(Context context, int layoutRes) { 30 mContext = context; 31 mInflater = (LayoutInflater)context.getSystemService( 32 Context.LAYOUT_INFLATER_SERVICE); 73 private final Context mContext;
|
/external/kernel-headers/original/linux/sunrpc/ |
auth_gss.h | 45 struct xdr_netobj gc_ctx; /* context handle */ 54 /* return from gss NULL PROC init sec context */ 56 struct xdr_netobj gr_ctx; /* context handle */ 64 * code needs to know about a single security context. In particular, 65 * gc_gss_ctx is the context handle that is used to do gss-api calls, while 66 * gc_wire_ctx is the context handle that is used to identify the context on
|
/frameworks/base/core/java/android/app/backup/ |
AbsoluteFileBackupHelper.java | 19 import android.content.Context; 35 Context mContext; 42 * @param context 45 public AbsoluteFileBackupHelper(Context context, String... files) { 46 super(context); 48 mContext = context;
|
/frameworks/base/core/java/android/text/ |
ClipboardManager.java | 19 import android.content.Context; 32 * {@link android.content.Context#getSystemService}. 34 * @see android.content.Context#getSystemService 39 private Context mContext; 51 public ClipboardManager(Context context, Handler handler) { 52 mContext = context;
|
/frameworks/base/core/java/android/webkit/ |
CertTool.java | 25 import android.content.Context; 46 static String getSignedPublicKey(Context context, int index, String challenge) { 57 Credentials.getInstance().install(context, pair); 65 static void addCertificate(Context context, String type, byte[] value) { 66 Credentials.getInstance().install(context, type, value);
|
/frameworks/base/core/java/com/android/internal/policy/ |
PolicyManager.java | 19 import android.content.Context; 57 public static Window makeNewWindow(Context context) { 58 return sPolicy.makeNewWindow(context); 61 public static LayoutInflater makeNewLayoutInflater(Context context) { 62 return sPolicy.makeNewLayoutInflater(context);
|
/frameworks/base/core/java/com/android/internal/widget/ |
LinearLayoutWithDefaultTouchRecepient.java | 19 import android.content.Context; 39 public LinearLayoutWithDefaultTouchRecepient(Context context) { 40 super(context); 43 public LinearLayoutWithDefaultTouchRecepient(Context context, AttributeSet attrs) { 44 super(context, attrs);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
PreDrawListener.java | 20 import android.content.Context; 45 public MyLinearLayout(Context context, AttributeSet attrs) { 46 super(context, attrs); 49 public MyLinearLayout(Context context) { 50 super(context);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemISVAndButton.java | 19 import android.content.Context; 43 Context context = parent.getContext(); local 45 final LinearLayout ll = new LinearLayout(context); 48 final InternalSelectionView isv = new InternalSelectionView(context, 8, "ISV postion " + position); 58 final Button topButton = new Button(context); 64 final TextView filler = new TextView(context);
|
/frameworks/base/services/java/com/android/server/status/ |
AnimatedImageView.java | 19 import android.content.Context; 31 public AnimatedImageView(Context context) { 32 super(context); 35 public AnimatedImageView(Context context, AttributeSet attrs) { 36 super(context, attrs);
|
/packages/apps/Browser/src/com/android/browser/ |
AddNewBookmark.java | 19 import android.content.Context; 38 * @param context The application context for the item. 40 AddNewBookmark(Context context) { 41 super(context); 44 LayoutInflater factory = LayoutInflater.from(context);
|
Dots.java | 19 import android.content.Context; 36 public Dots(Context context) { 37 this(context, null); 40 public Dots(Context context, AttributeSet attrs) { 41 super(context, attrs);
|
/packages/apps/Email/tests/src/com/android/exchange/ |
SyncManagerTest.java | 19 import android.content.Context; 29 public MyContext(Context base) { 41 final MyContext context = new MyContext(getContext()); local 43 final String id = SyncManager.getDeviceId(context); 51 context.isGetFileStreamPathCalled = false; 52 final String cachedId = SyncManager.getDeviceId(context); 57 assertFalse(context.isGetFileStreamPathCalled);
|
/packages/apps/Settings/src/com/android/settings/ |
EditPinPreference.java | 20 import android.content.Context; 39 public EditPinPreference(Context context, AttributeSet attrs) { 40 super(context, attrs); 43 public EditPinPreference(Context context, AttributeSet attrs, int defStyle) { 44 super(context, attrs, defStyle);
|