HomeSort by relevance Sort by last modified time
    Searched full:mcontext (Results 51 - 75 of 1648) sorted by null

1 23 4 5 6 7 8 91011>>

  /cts/tests/tests/widget/src/android/widget/cts/
EditTextTest.java 35 private Context mContext;
42 mContext = getContext();
43 XmlPullParser parser = mContext.getResources().getXml(R.layout.edittext_layout);
48 new EditText(mContext);
50 new EditText(mContext, null);
52 new EditText(mContext, null, 0);
54 new EditText(mContext, mAttributeSet);
56 new EditText(mContext, mAttributeSet, 0);
78 EditText editText = new EditText(mContext, mAttributeSet);
91 EditText editText = new EditText(mContext, mAttributeSet)
    [all...]
TextSwitcherTest.java 31 private Context mContext;
45 mContext = getInstrumentation().getContext();
49 new TextSwitcher(mContext);
51 new TextSwitcher(mContext, null);
59 TextSwitcher textSwitcher = new TextSwitcher(mContext);
61 TextView tv1 = new TextView(mContext);
62 TextView tv2 = new TextView(mContext);
99 TextSwitcher textSwitcher = new TextSwitcher(mContext);
101 TextView tv1 = new TextView(mContext);
102 TextView tv2 = new TextView(mContext);
    [all...]
ResourceCursorTreeAdapterTest.java 37 private Context mContext;
68 mContext = getInstrumentation().getTargetContext();
69 LayoutInflater layoutInflater = (LayoutInflater) mContext.getSystemService(
75 mResourceCursorTreeAdapter = new MockResourceCursorTreeAdapter(mContext, null,
80 mResourceCursorTreeAdapter = new MockResourceCursorTreeAdapter(mContext, cursor,
84 new MockResourceCursorTreeAdapter(mContext, null, mCollapsedGroupLayout,
87 new MockResourceCursorTreeAdapter(mContext, null, mCollapsedGroupLayout,
90 new MockResourceCursorTreeAdapter(mContext, null, -1, -1);
92 new MockResourceCursorTreeAdapter(mContext, null, -1, -1, -1);
94 new MockResourceCursorTreeAdapter(mContext, null, -1, -1, -1, -1)
    [all...]
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DateTimeSuggestionListAdapter.java 22 private final Context mContext;
26 mContext = context;
33 LayoutInflater inflater = LayoutInflater.from(mContext);
40 labelView.setText(mContext.getText(R.string.date_picker_dialog_other_button_label));
  /frameworks/base/core/tests/coretests/src/android/app/activity/
MetaDataTest.java 59 XmlResourceParser xml = ci.loadXmlMetaData(mContext.getPackageManager(),
88 TypedArray a = mContext.obtainStyledAttributes(xml,
99 ComponentName cn = new ComponentName(mContext, LocalActivity.class);
100 ActivityInfo ai = mContext.getPackageManager().getActivityInfo(
105 ai = mContext.getPackageManager().getActivityInfo(cn, 0);
112 ComponentName cn = new ComponentName(mContext, LocalReceiver.class);
113 ActivityInfo ai = mContext.getPackageManager().getReceiverInfo(
118 ai = mContext.getPackageManager().getReceiverInfo(cn, 0);
125 ComponentName cn = new ComponentName(mContext, LocalService.class);
126 ServiceInfo si = mContext.getPackageManager().getServiceInfo
    [all...]
  /frameworks/compile/slang/
slang_rs_exportable.h 34 RSContext *mContext;
40 : mContext(Context),
54 inline bool isKeep() const { return (mContext == NULL); }
58 inline RSContext *getRSContext() const { return mContext; }
  /frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
InstrumentationUiAutomatorBridge.java 32 private final Context mContext;
36 mContext = context;
41 mContext.getSystemService(Service.WINDOW_SERVICE);
53 mContext.getSystemService(Service.POWER_SERVICE);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
TextAppearanceFactory.java 26 private final Context mContext;
29 mContext = context;
34 new TextAppearanceSpan(mContext, R.style.SuggestionText1_Query)
40 new TextAppearanceSpan(mContext, R.style.SuggestionText1_Suggested)
  /packages/apps/Settings/src/com/android/settings/wifi/
WpsDialog.java 65 private Context mContext;
79 mContext = context;
86 mContext.getString(R.string.wifi_wps_onstart_pin), pin));
88 updateDialog(DialogState.WPS_START, mContext.getString(
94 mContext.getString(R.string.wifi_wps_complete));
101 msg = mContext.getString(R.string.wifi_wps_failed_overlap);
104 msg = mContext.getString(R.string.wifi_wps_failed_wep);
107 msg = mContext.getString(R.string.wifi_wps_failed_tkip);
110 msg = mContext.getString(R.string.wifi_wps_in_progress);
113 msg = mContext.getString(R.string.wifi_wps_failed_generic)
    [all...]
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
RenderScript.java 158 rsnContextDestroy(mContext);
163 rsnContextSetPriority(mContext, p);
168 rsnContextDump(mContext, bits);
173 rsnContextFinish(mContext);
179 rsnContextSendMessage(mContext, id, data);
187 if (mContext != 0) {
188 rsnObjDestroy(mContext, id);
195 return rsnElementCreate(mContext, type, kind, norm, vecSize);
200 return rsnElementCreate2(mContext, elements, names, arraySizes);
205 rsnElementGetNativeData(mContext, id, elementData)
    [all...]
  /cts/libs/deviceutil/src/android/provider/cts/
FileCopyHelper.java 38 private Context mContext;
49 mContext = context;
63 InputStream source = mContext.getResources().openRawResource(resId);
64 OutputStream target = mContext.openFileOutput(fileName, Context.MODE_WORLD_READABLE);
67 return mContext.getFileStreamPath(fileName).getAbsolutePath();
71 InputStream source = mContext.getResources().openRawResource(resId);
97 mContext.deleteFile(path);
  /external/chromium_org/ui/android/java/src/org/chromium/ui/autofill/
AutofillListAdapter.java 27 private Context mContext;
35 mContext = context;
43 (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
51 int height = mContext.getResources().getDimensionPixelSize(R.dimen.autofill_text_height);
55 int dividerHeight = mContext.getResources().getDimensionPixelSize(
60 divider.setColor(mContext.getResources().getColor(
63 divider.setColor(mContext.getResources().getColor(
  /packages/apps/Contacts/src/com/android/contacts/preference/
DisplayOrderPreference.java 34 private Context mContext;
47 mContext = getContext();
48 mPreferences = new ContactsPreferences(mContext);
50 mContext.getString(R.string.display_options_view_given_name_first),
51 mContext.getString(R.string.display_options_view_family_name_first),
69 return mContext.getString(R.string.display_options_view_given_name_first);
71 return mContext.getString(R.string.display_options_view_family_name_first);
SortOrderPreference.java 34 private Context mContext;
47 mContext = getContext();
48 mPreferences = new ContactsPreferences(mContext);
50 mContext.getString(R.string.display_options_sort_by_given_name),
51 mContext.getString(R.string.display_options_sort_by_family_name),
69 return mContext.getString(R.string.display_options_sort_by_given_name);
71 return mContext.getString(R.string.display_options_sort_by_family_name);
  /packages/apps/Gallery/tests/src/com/android/camera/
BitmapManagerUnitTests.java 33 Context mContext;
53 mContext = getContext();
56 mContext.getContentResolver(),
78 mBitmapManager.cancelThreadDecoding(t, mContext.getContentResolver());
99 mBitmapManager.cancelThreadDecoding(t, mContext.getContentResolver());
111 mBitmapManager.cancelThreadDecoding(t, mContext.getContentResolver());
126 mBitmapManager.cancelThreadDecoding(t2, mContext.getContentResolver());
  /packages/services/Telephony/src/com/android/phone/sip/
SipSharedPreferences.java 38 private Context mContext;
43 mContext = context;
82 Settings.System.putString(mContext.getContentResolver(),
87 String option = Settings.System.getString(mContext.getContentResolver(),
90 : mContext.getString(R.string.sip_address_only);
94 Settings.System.putInt(mContext.getContentResolver(),
100 return (Settings.System.getInt(mContext.getContentResolver(),
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
EmergencyButton.java 47 int phoneState = KeyguardUpdateMonitor.getInstance(mContext).getPhoneState();
52 State simState = KeyguardUpdateMonitor.getInstance(mContext).getSimState();
70 KeyguardUpdateMonitor.getInstance(mContext).registerCallback(mInfoCallback);
76 KeyguardUpdateMonitor.getInstance(mContext).removeCallback(mInfoCallback);
82 mLockPatternUtils = new LockPatternUtils(mContext);
83 mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
89 int phoneState = KeyguardUpdateMonitor.getInstance(mContext).getPhoneState();
90 State simState = KeyguardUpdateMonitor.getInstance(mContext).getSimState();
106 KeyguardUpdateMonitor.getInstance(mContext).reportEmergencyCallAction(bypassHandler);
120 boolean simLocked = KeyguardUpdateMonitor.getInstance(mContext).isSimLocked()
    [all...]
  /packages/apps/Mms/src/com/android/mms/util/
RateController.java 51 private final Context mContext;
72 mContext = context;
96 SqliteWrapper.insert(mContext, mContext.getContentResolver(),
102 Cursor c = SqliteWrapper.query(mContext, mContext.getContentResolver(),
127 mContext.registerReceiver(mBroadcastReceiver,
136 mContext.startActivity(intent);
139 mContext.unregisterReceiver(mBroadcastReceiver);
  /packages/apps/Settings/src/com/android/settings/
AirplaneModeEnabler.java 35 private final Context mContext;
63 mContext = context;
68 mPhoneStateReceiver = new PhoneStateIntentReceiver(mContext, mHandler);
74 mCheckBoxPref.setChecked(isAirplaneModeOn(mContext));
78 mContext.getContentResolver().registerContentObserver(
86 mContext.getContentResolver().unregisterContentObserver(mAirplaneModeObserver);
96 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON,
104 mContext.sendBroadcastAsUser(intent, UserHandle.ALL);
116 mCheckBoxPref.setChecked(isAirplaneModeOn(mContext));
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/sync/
SyncTest.java 43 private SyncTestUtil.SyncTestContext mContext;
54 mContext = new SyncTestUtil.SyncTestContext(getInstrumentation().getTargetContext());
55 mAccountManager = new MockAccountManager(mContext, getInstrumentation().getContext());
56 AccountManagerHelper.overrideAccountManagerHelperForTests(mContext, mAccountManager);
60 SyncStatusHelper.overrideSyncStatusHelperForTests(mContext, syncContentResolverDelegate);
62 ChromeSigninController.get(mContext);
67 mSyncController = SyncController.get(mContext);
144 SyncStatusHelper.get(mContext).disableAndroidSync(account);
145 SyncTestUtil.verifySyncIsDisabled(mContext, account);
148 SyncStatusHelper.get(mContext).enableAndroidSync(account)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
GoTestCase.java 39 mReceiverTest = new P2pBroadcastReceiverTest(mContext);
54 mReason = mContext.getString(R.string.p2p_add_local_service_error);
64 mReason = mContext.getString(R.string.p2p_add_local_service_error);
74 mReason = mContext.getString(R.string.p2p_add_local_service_error);
83 mReason = mContext.getString(R.string.p2p_ceate_group_error);
92 mReason = mContext.getString(R.string.p2p_ceate_group_error);
ServReqClearRequestTestCase.java 57 mReason = mContext.getString(R.string.p2p_add_service_request_error);
62 mReason = mContext.getString(R.string.p2p_add_service_request_error);
67 mReason = mContext.getString(R.string.p2p_add_service_request_error);
72 mReason = mContext.getString(R.string.p2p_add_service_request_error);
81 mReason = mContext.getString(R.string.p2p_clear_service_requests_error);
90 mReason = mContext.getString(R.string.p2p_no_service_requests_error);
  /cts/tests/tests/permission/src/android/permission/cts/
NoBroadcastPackageRemovedPermissionTest.java 40 mContext.sendStickyBroadcast(createIntent(Intent.ACTION_WALLPAPER_CHANGED));
47 mContext.removeStickyBroadcast(createIntent(Intent.ACTION_WALLPAPER_CHANGED));
67 mContext.sendBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED));
74 mContext.sendBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED),
82 mContext.sendOrderedBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED),
90 mContext.sendOrderedBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED),
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
NotificationController.java 60 private final Context mContext;
64 mContext = context;
66 mContext.getSystemService(Context.NOTIFICATION_SERVICE);
118 Notification.Builder builder = new Notification.Builder(mContext)
122 .addAction(R.drawable.stat_notify_cancelling, mContext.getString(R.string.cancel),
132 Notification.Builder builder = new Notification.Builder(mContext)
136 .addAction(R.drawable.stat_notify_cancelling, mContext.getString(R.string.cancel),
138 .addAction(R.drawable.ic_restart, mContext.getString(R.string.restart),
148 Notification.Builder builder = new Notification.Builder(mContext)
152 .addAction(R.drawable.stat_notify_cancelling, mContext.getString(R.string.cancel)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/
FormattedDateBuilder.java 35 private Context mContext;
38 mContext = context;
44 return DateUtils.getRelativeTimeSpanString(mContext, when);
48 final Resources resources = mContext.getResources();
63 DateUtils.formatDateRange(mContext, dateFormatter, when, when,
71 DateUtils.formatDateRange(mContext, dateFormatter, when, when,

Completed in 1109 milliseconds

1 23 4 5 6 7 8 91011>>