/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | CrossProcessFilter.java | 86 public void initProgram(FilterContext context, int target) { argument 89 ShaderProgram shaderProgram = new ShaderProgram(context, mCrossProcessShader); 102 public void process(FilterContext context) { argument 109 initProgram(context, inputFormat.getTarget()); 113 Frame output = context.getFrameManager().newFrame(inputFormat);
|
H A D | NegativeFilter.java | 61 public void initProgram(FilterContext context, int target) { argument 64 ShaderProgram shaderProgram = new ShaderProgram(context, mNegativeShader); 77 public void process(FilterContext context) { argument 83 Frame output = context.getFrameManager().newFrame(inputFormat); 87 initProgram(context, inputFormat.getTarget());
|
H A D | PosterizeFilter.java | 64 public void initProgram(FilterContext context, int target) { argument 67 ShaderProgram shaderProgram = new ShaderProgram(context, mPosterizeShader); 80 public void process(FilterContext context) { argument 86 Frame output = context.getFrameManager().newFrame(inputFormat); 90 initProgram(context, inputFormat.getTarget());
|
H A D | ColorTemperatureFilter.java | 74 public void initProgram(FilterContext context, int target) { argument 77 ShaderProgram shaderProgram = new ShaderProgram(context, mColorTemperatureShader); 90 public void process(FilterContext context) { argument 97 initProgram(context, inputFormat.getTarget()); 102 Frame output = context.getFrameManager().newFrame(inputFormat); 119 public void fieldPortValueUpdated(String name, FilterContext context) { argument
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | FusedProxy.java | 43 * @param context The context needed for construction. 48 Context context, 56 context, 67 context, 80 * @param context The context needed for construction. 87 Context context, 94 context, 47 FusedProxy( Context context, Handler handler, IFusedLocationHardware locationHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument 86 createAndBind( Context context, Handler handler, IFusedLocationHardware locationHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentResolver.java | 69 public MockContentResolver(Context context) { argument 70 super(context); 91 protected IContentProvider acquireProvider(Context context, String name) { argument 92 return acquireExistingProvider(context, name); 97 protected IContentProvider acquireExistingProvider(Context context, String name) { argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | MffContext.java | 43 * halting any processing in the context, and releasing resources while the activity is paused. 52 * Set to true, if this context will make use of the camera. 53 * If your application does not require the camera, the context does not guarantee that 55 * the context's {@link #isCameraStreamingSupported()} returns true. 60 * Set to true, if this context requires OpenGL. 61 * If your application does not require OpenGL, the context does not guarantee that OpenGL 62 * is available. That is, you may only use OpenGL (within filters running in this context) 63 * if the context's {@link #isOpenGLSupported()} method returns true. 69 * function. You may specify a dummy SurfaceView here if you do not want the context to 89 /** The application context 134 MffContext(Context context) argument 154 MffContext(Context context, Config config) argument 339 init(Context context, Config config) argument 347 fetchDummySurfaceView(Context context, Config config) argument 355 determineGLSupport(Context context, Config config) argument 375 getPlatformSupportsGLES2(Context context) argument 441 createDummySurfaceView(Context context) argument 458 findActivityForContext(Context context) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | MenuInflater_Delegate.java | 50 Context context = thisInflater.getContext(); 51 context = BridgeContext.getBaseContext(context); 52 if (context instanceof BridgeContext) { 54 attrs, ((BridgeContext) context), null, false);
|
H A D | AttachInfo_Accessor.java | 32 Context context = view.getContext(); 33 WindowManager wm = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE); 35 ViewRootImpl root = new ViewRootImpl(context, display);
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
H A D | DownloadDrmHelper.java | 42 public static boolean isDrmMimeType(Context context, String mimetype) { argument 44 if (context != null) { 46 DrmManagerClient drmClient = new DrmManagerClient(context); 52 "DrmManagerClient instance could not be created, context is Illegal."); 89 * @param context The context 96 public static String getOriginalMimeType(Context context, String path, String containingMime) { argument 98 DrmManagerClient drmClient = new DrmManagerClient(context);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ThemedSpinnerAdapter.java | 47 * @param theme the context against which to inflate drop-down views, or 73 * public CheeseAdapter(Context context) { 74 * mDropDownHelper = new ThemedSpinnerAdapter.Helper(context); 110 public Helper(@NonNull Context context) { argument 111 mContext = context; 112 mInflater = LayoutInflater.from(context); 128 final Context context = new ContextThemeWrapper(mContext, theme); 129 mDropDownInflater = LayoutInflater.from(context);
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceManager.java | 69 * The context to use. This should always be set. 160 /*package*/ PreferenceManager(Context context) { argument 161 init(context); 164 private void init(Context context) { argument 165 mContext = context; 167 setSharedPreferencesName(getDefaultSharedPreferencesName(context)); 232 final Context context; 234 context = mContext.createPackageContext(activityInfo.packageName, 0); 236 Log.w(TAG, "Could not create context for " + activityInfo.packageName + ": " 241 final PreferenceInflater inflater = new PreferenceInflater(context, thi 267 inflateFromResource(Context context, @XmlRes int resId, PreferenceScreen rootPreferences) argument 282 createPreferenceScreen(Context context) argument 369 getDefaultSharedPreferences(Context context) argument 374 getDefaultSharedPreferencesName(Context context) argument 442 setDefaultValues(Context context, @XmlRes int resId, boolean readAgain) argument 477 setDefaultValues(Context context, String sharedPreferencesName, int sharedPreferencesMode, int resId, boolean readAgain) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_SELinux.cpp | 65 * Purpose: retrieves security context of peer socket 78 "Trying to check security context of a null peer socket."); 90 Unique_SecurityContext context(tmp); 94 contextStr.reset(env->NewStringUTF(context.get())); 97 ALOGV("getPeerCon(%d) => %s", fd, context.get()); 103 * Purpose: set security context used for creating a new file system object 105 * context: security_context_t representing the new context of a file system object, 115 UniquePtr<ScopedUtfChars> context; local 118 context [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/ |
H A D | Stream.cpp | 26 const CMappingContext &context) 31 context), 37 mId = static_cast<audio_stream_type_t>(context.getItemAsInteger(MappingKeyIdentifier)); 24 Stream(const string &mappingValue, CInstanceConfigurableElement *instanceConfigurableElement, const CMappingContext &context) argument
|
H A D | Usage.cpp | 26 const CMappingContext &context) 31 context), 37 mId = static_cast<audio_usage_t>(context.getItemAsInteger(MappingKeyIdentifier)); 24 Usage(const string &mappingValue, CInstanceConfigurableElement *instanceConfigurableElement, const CMappingContext &context) argument
|
/frameworks/base/core/java/android/app/backup/ |
H A D | AbsoluteFileBackupHelper.java | 42 * @param context 45 public AbsoluteFileBackupHelper(Context context, String... files) { argument 46 super(context); 48 mContext = context;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | Utils.java | 29 static void showError(Context context, String name, int messageResId) { argument 31 sErrorListener.onShowError(context, name, messageResId); 40 void onShowError(Context context, String name, int messageResId); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | CurrentUserTracker.java | 31 public CurrentUserTracker(Context context) { argument 32 mContext = context; 40 public void onReceive(Context context, Intent intent) { argument
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
H A D | LinearLayoutTest.java | 28 public ViewGroup create(Context context) { argument 29 LinearLayout container = new LinearLayout(context); 38 View v = create(context, VERTICAL_NAMES[i] + "-" + HORIZONTAL_NAMES[j], 20);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | SimplePatchActivity.java | 38 public PatchView(Context context) { argument 39 super(context); 41 mDrawable = context.getResources().getDrawable(R.drawable.expander_ic_minimized);
|
/frameworks/ex/common/java/com/android/common/userhappiness/ |
H A D | UserHappinessSignals.java | 49 public static void userAcceptedImeText(Context context) { argument 55 i.putExtra(LoggingEvents.EXTRA_CALLING_APP_NAME, context.getPackageName()); 57 context.sendBroadcast(i);
|
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
H A D | InputMethodSettingsImpl.java | 46 * @param context the context for this application. 50 public boolean init(final Context context, final PreferenceScreen prefScreen) { argument 51 mImm = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE); 52 mImi = getMyImi(context, mImm); 61 mSubtypeEnablerPreference = new Preference(context); 68 private static InputMethodInfo getMyImi(Context context, InputMethodManager imm) { argument 72 if (imis.get(i).getPackageName().equals(context.getPackageName())) { 80 Context context, InputMethodManager imm, InputMethodInfo imi) { 81 if (context 79 getEnabledSubtypesLabel( Context context, InputMethodManager imm, InputMethodInfo imi) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | SIMAccessor.java | 14 public SIMAccessor(Context context) { argument 15 mTelephonyManager = TelephonyManager.from(context); 16 mSubscriptionManager = SubscriptionManager.from(context);
|
H A D | WifiService.java | 32 public WifiService(Context context) { argument 33 super(context); 34 mImpl = new WifiServiceImpl(context);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | VisibilityCallback.java | 81 public MonitoredTextView(Context context) { argument 82 super(context); 85 public MonitoredTextView(Context context, AttributeSet attrs) { argument 86 super(context, attrs); 89 public MonitoredTextView(Context context, AttributeSet attrs, int defStyle) { argument 90 super(context, attrs, defStyle);
|