/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8CustomPositionErrorCallback.cpp | 38 V8CustomPositionErrorCallback::V8CustomPositionErrorCallback(v8::Local<v8::Object> callback, ScriptExecutionContext* context) 39 : PositionErrorCallback(context) 63 v8::Handle<v8::Context> context = proxy->context(); 64 if (context.IsEmpty()) 67 v8::Context::Scope scope(context); 73 // Protect the script context until the callback returns.
|
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
LoopBlinnSolidFillShader.cpp | 35 PassOwnPtr<LoopBlinnSolidFillShader> LoopBlinnSolidFillShader::create(GraphicsContext3D* context, 40 unsigned program = loadProgram(context, 45 return new LoopBlinnSolidFillShader(context, program); 48 LoopBlinnSolidFillShader::LoopBlinnSolidFillShader(GraphicsContext3D* context, unsigned program) 49 : LoopBlinnShader(context, program) 51 m_colorLocation = context->getUniformLocation(program, "color");
|
/external/webkit/Source/WebCore/websockets/ |
ThreadableWebSocketChannel.cpp | 53 PassRefPtr<ThreadableWebSocketChannel> ThreadableWebSocketChannel::create(ScriptExecutionContext* context, WebSocketChannelClient* client, const KURL& url, const String& protocol) 55 ASSERT(context); 59 if (context->isWorkerContext()) { 60 WorkerContext* workerContext = static_cast<WorkerContext*>(context); 68 ASSERT(context->isDocument()); 69 return WebSocketChannel::create(context, client, url, protocol);
|
/external/webkit/Source/WebCore/workers/ |
SharedWorker.cpp | 47 inline SharedWorker::SharedWorker(ScriptExecutionContext* context) 48 : AbstractWorker(context) 52 PassRefPtr<SharedWorker> SharedWorker::create(const String& url, const String& name, ScriptExecutionContext* context, ExceptionCode& ec) 54 RefPtr<SharedWorker> worker = adoptRef(new SharedWorker(context)); 56 RefPtr<MessageChannel> channel = MessageChannel::create(context); 67 InspectorInstrumentation::didCreateWorker(context, worker->asID(), scriptURL.string(), true);
|
/external/webkit/Source/WebKit2/UIProcess/API/C/ |
WKPluginSiteDataManager.cpp | 41 void WKPluginSiteDataManagerGetSitesWithData(WKPluginSiteDataManagerRef managerRef, void* context, WKPluginSiteDataManagerGetSitesWithDataFunction callback) 43 toImpl(managerRef)->getSitesWithData(ArrayCallback::create(context, callback)); 57 void WKPluginSiteDataManagerClearSiteData(WKPluginSiteDataManagerRef managerRef, WKArrayRef sitesRef, WKClearSiteDataFlags flags, uint64_t maxAgeInSeconds, void* context, WKPluginSiteDataManagerClearSiteDataFunction function) 59 toImpl(managerRef)->clearSiteData(toImpl(sitesRef), toNPClearSiteDataFlags(flags), maxAgeInSeconds, VoidCallback::create(context, function)); 62 void WKPluginSiteDataManagerClearAllSiteData(WKPluginSiteDataManagerRef managerRef, void* context, WKPluginSiteDataManagerClearSiteDataFunction function) 64 toImpl(managerRef)->clearSiteData(0, NP_CLEAR_ALL, numeric_limits<uint64_t>::max(), VoidCallback::create(context, function));
|
/frameworks/base/core/java/android/widget/ |
Button.java | 19 import android.content.Context; 98 public Button(Context context) { 99 this(context, null); 102 public Button(Context context, AttributeSet attrs) { 103 this(context, attrs, com.android.internal.R.attr.buttonStyle); 106 public Button(Context context, AttributeSet attrs, int defStyle) { 107 super(context, attrs, defStyle) [all...] |
CheckBox.java | 19 import android.content.Context; 59 public CheckBox(Context context) { 60 this(context, null); 63 public CheckBox(Context context, AttributeSet attrs) { 64 this(context, attrs, com.android.internal.R.attr.checkboxStyle); 67 public CheckBox(Context context, AttributeSet attrs, int defStyle) { 68 super(context, attrs, defStyle) [all...] |
RadioButton.java | 19 import android.content.Context; 54 public RadioButton(Context context) { 55 this(context, null); 58 public RadioButton(Context context, AttributeSet attrs) { 59 this(context, attrs, com.android.internal.R.attr.radioButtonStyle); 62 public RadioButton(Context context, AttributeSet attrs, int defStyle) { 63 super(context, attrs, defStyle) [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
PolicyManager.java | 19 import android.content.Context; 56 public static Window makeNewWindow(Context context) { 57 return sPolicy.makeNewWindow(context); 60 public static LayoutInflater makeNewLayoutInflater(Context context) { 61 return sPolicy.makeNewLayoutInflater(context); 68 public static FallbackEventHandler makeNewFallbackEventHandler(Context context) { 69 return sPolicy.makeNewFallbackEventHandler(context); [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
CheckableLinearLayout.java | 21 import android.content.Context; 30 public CheckableLinearLayout(Context context) { 31 super(context); 35 public CheckableLinearLayout(Context context, AttributeSet attrs) { 36 super(context, attrs); 40 public CheckableLinearLayout(Context context, AttributeSet attrs, int defStyle) { 41 super(context, attrs, defStyle) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
ExceptionTextView.java | 22 import android.content.Context; 36 public ExceptionTextView(Context context) { 37 super(context); 40 public ExceptionTextView(Context context, AttributeSet attrs) { 41 super(context, attrs); 44 public ExceptionTextView(Context context, AttributeSet attrs, int defStyle) { 45 super(context, attrs, defStyle) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
RotationToggle.java | 19 import android.content.Context; 29 public RotationToggle(Context context) { 30 super(context); 33 public RotationToggle(Context context, AttributeSet attrs) { 34 super(context, attrs); 37 public RotationToggle(Context context, AttributeSet attrs, int defStyle) { 38 super(context, attrs, defStyle) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettingsScrollView.java | 19 import android.content.Context; 27 public QuickSettingsScrollView(Context context) { 28 super(context); 31 public QuickSettingsScrollView(Context context, AttributeSet attrs) { 32 super(context, attrs); 35 public QuickSettingsScrollView(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle) [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
Policy.java | 19 import android.content.Context; 59 public Window makeNewWindow(Context context) { 60 return new PhoneWindow(context); 63 public LayoutInflater makeNewLayoutInflater(Context context) { 64 return new PhoneLayoutInflater(context); 71 public FallbackEventHandler makeNewFallbackEventHandler(Context context) { 72 return new PhoneFallbackEventHandler(context); [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
MainView.java | 19 import android.content.Context; 28 public MainView(Context context) { 29 super(context); 32 public MainView(Context context, AttributeSet attrs) { 33 super(context, attrs); 36 public MainView(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/ |
MapView.java | 21 import android.content.Context; 37 * Construct a new WebView with a Context object. 38 * @param context A Context object used to access application assets. 40 public MapView(Context context) { 41 this(context, null); 46 * @param context A Context object used to access application assets. 49 public MapView(Context context, AttributeSet attrs) [all...] |
/frameworks/ex/carousel/test/src/com/android/carouseltest/ |
MyCarouselView.java | 19 import android.content.Context; 28 public MyCarouselView(Context context, CarouselController controller) { 29 this(context, null, controller); 32 public MyCarouselView(Context context, AttributeSet attrs) { 33 this(context, attrs, new CarouselController()); 36 public MyCarouselView(Context context, AttributeSet attrs, CarouselController controller) { 37 super(context, attrs, controller) [all...] |
/packages/apps/Browser/src/com/android/browser/view/ |
SnapshotGridView.java | 18 import android.content.Context; 28 public SnapshotGridView(Context context) { 29 super(context); 32 public SnapshotGridView(Context context, AttributeSet attrs) { 33 super(context, attrs); 36 public SnapshotGridView(Context context, AttributeSet attrs, int defStyle) { 37 super(context, attrs, defStyle) [all...] |
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
WeekButton.java | 19 import android.content.Context; 27 public WeekButton(Context context) { 28 super(context); 31 public WeekButton(Context context, AttributeSet attrs) { 32 super(context, attrs); 35 public WeekButton(Context context, AttributeSet attrs, int defStyle) { 36 super(context, attrs, defStyle) [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
MockAlarmManager.java | 20 import android.content.Context; 26 private Context context; field in class:MockAlarmManager 31 MockAlarmManager(Context context) { 32 this.context = context; 47 context, expectedAlarmTime, DateUtils.FORMAT_SHOW_TIME) + ", actual:" 48 + DateUtils.formatDateTime(context, actualAlarmTime,
|
/packages/apps/Camera/src/com/android/camera/ |
CountDownTimerPreference.java | 19 import android.content.Context; 26 * initCountDownTimeChoices(Context context), rather than reading the entries 31 public CountDownTimerPreference(Context context, AttributeSet attrs) { 32 super(context, attrs); 33 initCountDownDurationChoices(context); 36 private void initCountDownDurationChoices(Context context) { 42 entries[0] = context.getString(R.string.setting_off); // Of [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
PopupManager.java | 19 import android.content.Context; 30 private static HashMap<Context, PopupManager> sMap = 31 new HashMap<Context, PopupManager>(); 53 public static PopupManager getInstance(Context context) { 54 PopupManager instance = sMap.get(context); 57 sMap.put(context, instance); 62 public static void removeInstance(Context context) { 63 PopupManager instance = sMap.get(context); [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ActionsViewContainer.java | 19 import android.content.Context; 34 public ActionsViewContainer(Context context) { 35 super(context); 38 public ActionsViewContainer(Context context, AttributeSet attrs) { 39 this(context, attrs, 0); 42 public ActionsViewContainer(Context context, AttributeSet attrs, int defStyle) { 43 super(context, attrs, defStyle) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmAlertWakeLock.java | 19 import android.content.Context; 30 static PowerManager.WakeLock createPartialWakeLock(Context context) { 32 (PowerManager) context.getSystemService(Context.POWER_SERVICE); 36 static void acquireCpuWakeLock(Context context) { 41 sCpuWakeLock = createPartialWakeLock(context); 45 static void acquireScreenCpuWakeLock(Context context) { [all...] |
/packages/apps/Email/src/com/android/email/ |
RequireManualSyncDialog.java | 22 import android.content.Context; 29 public RequireManualSyncDialog(Context context, Account account) { 30 super(context); 31 setMessage(context.getResources().getString(R.string.require_manual_sync_message)); 32 setButton(DialogInterface.BUTTON_POSITIVE, context.getString(android.R.string.ok), this); 33 Preferences.getPreferences(context).setHasShownRequireManualSync(context, account, true);
|