Searched refs:getContext (Results 26 - 50 of 420) sorted by relevance

1234567891011>>

/frameworks/compile/libbcc/include/bcc/
H A DSource.h64 inline BCCContext &getContext() function in class:bcc::Source
66 inline const BCCContext &getContext() const function in class:bcc::Source
/frameworks/compile/slang/
H A Dslang_rs_metadata_spec_encoder.cpp269 if (!EncodeInteger(mModule->getContext(),
279 if (!EncodeInteger(mModule->getContext(),
285 RecordInfoMetadata->addOperand(llvm::MDNode::get(mModule->getContext(),
320 if (!EncodeInteger(mModule->getContext(), VarName, VarInfo)) {
323 if (!EncodeInteger(mModule->getContext(), Type, VarInfo)) {
330 mVarInfoMetadata->addOperand(llvm::MDNode::get(mModule->getContext(),
349 if (!EncodeInteger(mModule->getContext(), FuncName, FuncInfo)) {
356 mFuncInfoMetadata->addOperand(llvm::MDNode::get(mModule->getContext(),
421 llvm::MDString::get(mModule->getContext(), StrTabData);
423 llvm::MDString::get(mModule->getContext(), StrIdxDat
[all...]
/frameworks/base/core/java/android/preference/
H A DDialogPreference.java107 setDialogTitle(getContext().getString(dialogTitleResId));
137 setDialogMessage(getContext().getString(dialogMessageResId));
164 mDialogIcon = getContext().getResources().getDrawable(dialogIconRes);
190 setPositiveButtonText(getContext().getString(positiveButtonTextResId));
218 setNegativeButtonText(getContext().getString(negativeButtonTextResId));
277 Context context = getContext();
342 LayoutInflater inflater = LayoutInflater.from(mBuilder.getContext());
H A DPreferenceInflater.java77 intent = Intent.parseIntent(getContext().getResources(), parser, attrs);
91 getContext().getResources().parseBundleExtra(EXTRA_TAG_NAME, attrs,
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DAdjacentListsWithAdjacentISVsInside.java90 final LinearLayout ll = new LinearLayout(views[0].getContext());
123 parent.getContext(), 5, "isv left");
126 parent.getContext(), 5, "isv right");
H A DListButtonsDiagonalAcrossItems.java55 parent.getContext(), desiredHeight, slot);
H A DListInterleaveFocusables.java46 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
/frameworks/base/test-runner/src/android/test/
H A DProviderTestCase2.java81 return getContext().getResources();
88 return getContext().getDir("mockcontext2_" + name, mode);
138 getContext(), // The context that file methods are delegated to
/frameworks/base/core/java/android/webkit/
H A DSelectActionModeCallback.java56 final Context context = mWebView.getContext();
108 Browser.sendString(mWebView.getContext(), selection);
126 if (!(mWebView.getContext() instanceof Activity)) {
129 mWebView.getContext().startActivity(i);
H A DHTML5VideoInline.java71 if (mProxy.getContext().checkCallingOrSelfPermission(permission.WAKE_LOCK)
73 mPlayer.setWakeMode(proxy.getContext(), PowerManager.FULL_WAKE_LOCK);
/frameworks/base/core/tests/coretests/src/android/preference/
H A DListPreferenceTest.java26 ListPreference lp = new ListPreference(getContext());
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
H A DExternalSharedPermsTest.java38 LocationManager locationManager = (LocationManager)getInstrumentation().getContext(
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
H A DExternalSharedPermsDiffKeyTest.java36 LocationManager locationManager = (LocationManager)getInstrumentation().getContext(
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DKeyguardStatusViewManager.java173 mDateFormatString = getContext().getString(R.string.abbrev_wday_month_day_no_year);
249 return resId == 0 ? null : getContext().getText(resId);
307 setInstructionText(getContext().getString(R.string.faceunlock_multiple_failures));
343 final ContentResolver res = getContext().getContentResolver();
378 string = getContext().getString(mBatteryCharged ? R.string.lockscreen_charged
383 string = getContext().getString(R.string.lockscreen_low_battery);
402 string = getContext().getString(mBatteryCharged ? R.string.lockscreen_charged
407 string = getContext().getString(R.string.lockscreen_low_battery);
459 private Context getContext() { method in class:KeyguardStatusViewManager
460 return mContainer.getContext();
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DAttachInfo_Accessor.java32 Context context = view.getContext();
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSScript.cpp27 BCCContext &context = pScript.getSource().getContext();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccSmsInterfaceManager.java41 mContext = phone.getContext();
78 mPhone.getContext().enforceCallingPermission(
115 mPhone.getContext().enforceCallingPermission(
153 mPhone.getContext().enforceCallingPermission(
/frameworks/support/v4/ics/android/support/v4/view/
H A DPagerTitleStripIcs.java28 text.setTransformationMethod(new SingleLineAllCapsTransform(text.getContext()));
/frameworks/support/v4/java/android/support/v4/app/
H A DNoSaveStateFrameLayout.java32 NoSaveStateFrameLayout wrapper = new NoSaveStateFrameLayout(child.getContext());
/frameworks/base/media/mca/filterfw/java/android/filterfw/
H A DMffEnvironment.java58 public FilterContext getContext() { method in class:MffEnvironment
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DRotationToggle.java44 mRotater = new AutoRotateController(getContext(), this, this);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DSettingsView.java62 final Context context = getContext();
108 return (StatusBarManager)getContext().getSystemService(Context.STATUS_BAR_SERVICE);
114 getContext().startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS)
122 getContext().startActivityAsUser(new Intent(Settings.ACTION_SETTINGS)
/frameworks/base/core/java/android/widget/
H A DDigitalClock.java70 getContext().getContentResolver().registerContentObserver(
109 return android.text.format.DateFormat.is24HourFormat(getContext());
/frameworks/base/core/tests/coretests/src/android/os/
H A DMessengerTest.java96 getContext().bindService(new Intent(mContext, MessengerService.class),
111 getContext().unbindService(mConnection);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DCountryDetectorServiceTest.java68 CountryDetectorServiceTester serviceTester = new CountryDetectorServiceTester(getContext());
79 CountryDetectorServiceTester serviceTester = new CountryDetectorServiceTester(getContext());

Completed in 348 milliseconds

1234567891011>>