HomeSort by relevance Sort by last modified time
    Searched full:context (Results 476 - 500 of 12809) sorted by null

<<11121314151617181920>>

  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
UserDictionaryToolsListFocus.java 20 import android.content.Context;
35 * @param context The context
37 public UserDictionaryToolsListFocus(Context context) {
38 super(context);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
CountryMonitor.java 19 import android.content.Context;
33 private Context mContext;
35 public CountryMonitor(Context context) {
36 mContext = context;
47 (CountryDetector) mContext.getSystemService(Context.COUNTRY_DETECTOR);
  /frameworks/av/libvideoeditor/vss/common/inc/
M4AMRR_CoreReader.h 66 * @note This function opens the file and creates a context for AMR Parser.
67 * - sets context to null if error occured.
68 * @param pContext(OUT) : AMR Reader context allocated in the function
85 * M4OSA_ERR M4AMRR_getNextStream(M4OSA_Context Context, M4SYS_StreamDescription* pStreamDesc );
89 * @param Context(IN/OUT) : AMR Reader context
94 * @returns M4ERR_BAD_CONTEXT : The provided context is not valid
101 M4OSA_ERR M4AMRR_getNextStream(M4OSA_Context Context, M4SYS_StreamDescription* pStreamDesc );
105 * M4OSA_ERR M4AMRR_startReading(M4OSA_Context Context, M4SYS_StreamID* pStreamIDs );
108 * @param Context(IN/OUT) : AMR Reader contex
    [all...]
  /external/webkit/Source/WebCore/platform/win/
WebCoreTextRenderer.cpp 49 static void doDrawTextAtPoint(GraphicsContext& context, const String& text, const IntPoint& point, const Font& font, const Color& color, int underlinedIndex)
53 context.setFillColor(color, ColorSpaceDeviceRGB);
55 font.drawText(&context, run, point);
57 context.drawBidiText(font, run, point);
75 context.setStrokeColor(color, ColorSpaceDeviceRGB);
76 context.drawLineForText(underlinePoint, underlinedWidth, false);
80 void WebCoreDrawTextAtPoint(GraphicsContext& context, const String& text, const IntPoint& point, const Font& font, const Color& color, int underlinedIndex)
82 context.save();
84 doDrawTextAtPoint(context, text, point, font, color, underlinedIndex);
86 context.restore()
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/
ListViewTest.java 23 import android.content.Context;
42 MockContext context = new MockContext2(); local
43 ListView listView = new ListView(context);
45 Adapter<String> adapter = new Adapter<String>(context, 0, items);
70 MockContext context = new MockContext2(); local
71 ListView listView = new ListView(context);
73 listView.addHeaderView(new View(context), null, false);
75 Adapter<String> adapter = new Adapter<String>(context, 0, items);
107 if (Context.LAYOUT_INFLATER_SERVICE.equals(name)) {
118 public MockView(Context context)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/socialwidget/
SocialWidgetSettings.java 19 import android.content.Context;
49 public void remove(Context context, int[] widgetIds) {
50 final SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(context);
61 public Uri getContactUri(Context context, int widgetId) {
62 final SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(context);
64 ensureMigrated(context, settings);
74 public void setContactUri(Context context, int widgetId, Uri contactLookupUri)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
ProportionalLayout.java 19 import android.content.Context;
66 public ProportionalLayout(Context context) {
67 super(context);
70 public ProportionalLayout(Context context, AttributeSet attrs) {
71 super(context, attrs);
72 initFromAttributes(context, attrs);
75 public ProportionalLayout(Context context, AttributeSet attrs, int defStyle)
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/
TrafficFlags.java 19 import android.content.Context;
66 * @param context the caller's context
70 public static int getSyncFlags(Context context, Account account) {
71 int protocolIndex = Utility.arrayIndex(PROTOCOLS, account.getProtocol(context));
78 * @param context the caller's context
82 public static int getAttachmentFlags(Context context, Account account)
    [all...]
  /external/webkit/Tools/DumpRenderTree/gtk/
EventSender.cpp 93 static JSValueRef getDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
95 return JSValueMakeBoolean(context, dragMode);
98 static bool setDragModeCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception)
100 dragMode = JSValueToBoolean(context, value);
104 static JSValueRef leapForwardCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
107 msgQueue[endOfQueue].delay = JSValueToNumber(context, arguments[0], exception);
112 return JSValueMakeUndefined(context);
150 static JSValueRef getMenuItemTitleCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
159 return JSValueMakeString(context, JSStringCreateWithUTF8CString(label.data()));
162 static bool setMenuItemTitleCallback(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppReceiver.java 44 import android.content.Context;
61 public void onReceive(Context context, Intent intent) {
69 context.startService(new Intent(context, BluetoothOppService.class));
74 if (BluetoothOppManager.getInstance(context).mSendingFlag) {
76 BluetoothOppManager.getInstance(context).mSendingFlag = false;
88 context.startActivity(in1);
93 BluetoothOppManager mOppManager = BluetoothOppManager.getInstance(context);
107 toastMsg = context.getString(R.string.bt_toast_5, Integer.toString(batchSize)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropLoader.java 21 import android.content.Context;
60 * @param context context whose ContentResolver to use.
63 public static int getMetadataRotation(Uri uri, Context context) {
64 if (uri == null || context == null) {
68 String mimeType = context.getContentResolver().getType(uri);
86 cursor = context.getContentResolver().query(uri,
109 * @param context context whose ContentResolver to use
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothEventManager.java 26 import android.content.Context;
50 private Context mContext;
56 void onReceive(Context context, Intent intent, BluetoothDevice device);
75 CachedBluetoothDeviceManager deviceManager, Context context) {
81 mContext = context;
126 private static String getDockedDeviceAddress(Context context) {
128 Intent i = context.registerReceiver(null, new IntentFilter(Intent.ACTION_DOCK_EVENT))
    [all...]
  /external/llvm/lib/IR/
ValueTypes.cpp 23 LLVMContext &Context = LLVMTy->getContext();
24 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits());
25 return getVectorVT(Context, IntTy, getVectorNumElements());
28 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) {
30 VT.LLVMTy = IntegerType::get(Context, BitWidth);
35 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT,
38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements);
175 Type *EVT::getTypeForEVT(LLVMContext &Context) const {
180 case MVT::isVoid: return Type::getVoidTy(Context);
181 case MVT::i1: return Type::getInt1Ty(Context);
    [all...]
  /development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
InputMethodSettingsImpl.java 25 import android.content.Context;
49 private Context mContext;
53 * @param context the context for this application.
57 public boolean init(final Context context, final PreferenceScreen prefScreen) {
58 mContext = context;
59 mImm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
60 mImi = getMyImi(context, mImm)
    [all...]
  /frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/
InputMethodSettingsImpl.java 19 import android.content.Context;
43 private Context mContext;
47 * @param context the context for this application.
51 public boolean init(final Context context, final PreferenceScreen prefScreen) {
52 mContext = context;
53 mImm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
54 mImi = getMyImi(context, mImm)
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
DBTestHelper.java 28 import android.content.Context;
50 * A simple {@link Context} that returns {@link MyProvider} as the email content provider.
152 * This class has only one method, that creats an isolated {@link Context} similar to what
156 * the context. See the javadoc on android.test.ProviderTestCase2 for the details.
161 private final Context mBaseContext;
163 public MockContext2(Context baseContext) {
180 private final Context mRealContext;
182 public MyIsolatedContext(ContentResolver resolver, Context targetContext,
183 Context realContext) {
189 public Context getApplicationContext()
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ExternalDictionaryGetterForDebug.java 20 import android.content.Context;
54 public static void chooseAndInstallDictionary(final Context context) {
57 showNoFileDialog(context);
59 askInstallFile(context, fileNames[0]);
61 showChooseFileDialog(context, fileNames);
65 private static void showNoFileDialog(final Context context) {
66 new AlertDialog.Builder(context)
76 private static void showChooseFileDialog(final Context context, final String[] fileNames)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
UpdateHandler.java 26 import android.content.Context;
133 * @param context to open shared prefs
137 private static void writeMetadataDownloadId(final Context context, final String uri,
139 MetadataDbHelper.registerMetadataDownloadId(context, uri, downloadId);
149 public static void setDownloadOverMeteredSetting(final Context context,
151 final SharedPreferences prefs = CommonPreferences.getCommonPreferences(context);
163 public static int getDownloadOverMeteredSetting(final Context context) {
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertReceiver.java 24 import android.content.Context;
102 public void onReceive(final Context context, final Intent intent) {
110 Intent serviceIntent = new Intent(context, DismissAlarmsService.class);
111 context.startService(serviceIntent);
118 URLSpan[] urlSpans = getURLSpans(context, eventId);
119 Intent geoIntent = createMapActivityIntent(context, urlSpans);
122 context.startActivity(geoIntent);
123 closeNotificationShade(context);
128 AlertService.updateAlertNotification(context);
    [all...]
  /cts/tests/src/android/widget/cts/
MyGallery.java 19 import android.content.Context;
35 public MyGallery(Context context) {
36 super(context);
39 public MyGallery(Context context, AttributeSet attrs) {
40 super(context, attrs);
43 public MyGallery(Context context, AttributeSet attrs, int defStyle) {
44 super(context, attrs, defStyle)
    [all...]
  /development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
SkewableTextView.java 19 import android.content.Context;
36 public SkewableTextView(Context context, AttributeSet attrs, int defStyle) {
37 super(context, attrs, defStyle);
40 public SkewableTextView(Context context, AttributeSet attrs) {
41 super(context, attrs);
44 public SkewableTextView(Context context) {
45 super(context);
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/
Threading.cpp 52 NewThreadContext* context = reinterpret_cast<NewThreadContext*>(contextData); local
57 MutexLocker locker(context->creationMutex);
60 initializeCurrentThreadInternal(context->name);
62 // Grab the info that we need out of the context, then deallocate it.
63 ThreadFunction entryPoint = context->entryPoint;
64 void* data = context->data;
65 delete context;
79 NewThreadContext* context = new NewThreadContext(entryPoint, data, name); local
82 MutexLocker locker(context->creationMutex);
84 return createThreadInternal(threadEntryPoint, context, name)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/gpu/
TexShader.cpp 41 TexShader::TexShader(GraphicsContext3D* context, unsigned program)
42 : Shader(context, program)
44 m_matrixLocation = context->getUniformLocation(program, "matrix");
45 m_texMatrixLocation = context->getUniformLocation(program, "texMatrix");
46 m_alphaLocation = context->getUniformLocation(program, "globalAlpha");
47 m_positionLocation = context->getAttribLocation(program, "position");
48 m_samplerLocation = context->getUniformLocation(program, "sampler");
51 PassOwnPtr<TexShader> TexShader::create(GraphicsContext3D* context)
53 unsigned program = loadProgram(context,
58 return new TexShader(context, program)
    [all...]
  /external/webkit/Source/WebKit2/UIProcess/
WebHistoryClient.cpp 37 void WebHistoryClient::didNavigateWithNavigationData(WebContext* context, WebPageProxy* page, const WebNavigationDataStore& navigationDataStore, WebFrameProxy* frame)
43 m_client.didNavigateWithNavigationData(toAPI(context), toAPI(page), toAPI(navigationData.get()), toAPI(frame), m_client.clientInfo);
46 void WebHistoryClient::didPerformClientRedirect(WebContext* context, WebPageProxy* page, const String& sourceURL, const String& destinationURL, WebFrameProxy* frame)
51 m_client.didPerformClientRedirect(toAPI(context), toAPI(page), toURLRef(sourceURL.impl()), toURLRef(destinationURL.impl()), toAPI(frame), m_client.clientInfo);
54 void WebHistoryClient::didPerformServerRedirect(WebContext* context, WebPageProxy* page, const String& sourceURL, const String& destinationURL, WebFrameProxy* frame)
59 m_client.didPerformServerRedirect(toAPI(context), toAPI(page), toURLRef(sourceURL.impl()), toURLRef(destinationURL.impl()), toAPI(frame), m_client.clientInfo);
62 void WebHistoryClient::didUpdateHistoryTitle(WebContext* context, WebPageProxy* page, const String& title, const String& url, WebFrameProxy* frame)
67 m_client.didUpdateHistoryTitle(toAPI(context), toAPI(page), toAPI(title.impl()), toURLRef(url.impl()), toAPI(frame), m_client.clientInfo);
70 void WebHistoryClient::populateVisitedLinks(WebContext* context)
75 m_client.populateVisitedLinks(toAPI(context), m_client.clientInfo)
    [all...]
  /external/webkit/Tools/WebKitTestRunner/InjectedBundle/Bindings/
JSWrapper.cpp 33 JSValueRef JSWrapper::wrap(JSContextRef context, JSWrappable* object)
35 ASSERT_ARG(context, context);
38 return JSValueMakeNull(context);
42 JSObjectRef wrapperObject = JSObjectMake(context, objectClass, object);
48 JSWrappable* JSWrapper::unwrap(JSContextRef context, JSValueRef value)
50 ASSERT_ARG(context, context);
52 if (!context || !value)
54 return static_cast<JSWrappable*>(JSObjectGetPrivate(JSValueToObject(context, value, 0)))
    [all...]

Completed in 1938 milliseconds

<<11121314151617181920>>