Searched refs:context (Results 226 - 250 of 1157) sorted by relevance

1234567891011>>

/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java41 * @param context A Context object used to access application assets.
43 public WebView(Context context) { argument
44 this(context, null);
49 * @param context A Context object used to access application assets.
52 public WebView(Context context, AttributeSet attrs) { argument
53 this(context, attrs, com.android.internal.R.attr.webViewStyle);
58 * @param context A Context object used to access application assets.
62 public WebView(Context context, AttributeSet attrs, int defStyle) { argument
63 super(context, attrs, defStyle);
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxRanker.java67 public BordeauxRanker(Context context) { argument
68 mContext = context;
70 mRanker = BordeauxManagerService.getRanker(context, mName);
73 public BordeauxRanker(Context context, String name) { argument
74 mContext = context;
76 mRanker = BordeauxManagerService.getRanker(context, mName);
/frameworks/support/v4/java/android/support/v4/widget/
H A DEdgeEffectCompat.java45 public Object newEdgeEffect(Context context); argument
59 public Object newEdgeEffect(Context context) { argument
91 public Object newEdgeEffect(Context context) { argument
92 return EdgeEffectCompatIcs.newEdgeEffect(context);
125 * Construct a new EdgeEffect themed using the given context.
130 * @param context Context to use for theming the effect
132 public EdgeEffectCompat(Context context) { argument
133 mEdgeEffect = IMPL.newEdgeEffect(context);
/frameworks/compile/libbcc/helper/
H A Dsha1.c27 void SHA1Update(SHA1_CTX* context, unsigned char* data,
30 void SHA1Update(SHA1_CTX* context, unsigned char* data,
150 /* Copy context->state[] to working vars */
185 /* Add the working vars back into context.state[] */
198 /* SHA1Init - Initialize new context */
200 void SHA1Init(SHA1_CTX* context) argument
203 context->state[0] = 0x67452301;
204 context->state[1] = 0xEFCDAB89;
205 context->state[2] = 0x98BADCFE;
206 context
214 SHA1Update(SHA1_CTX* context, const unsigned char* data, unsigned long len) argument
240 SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context) argument
284 SHA1_CTX context; local
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
H A DMediaEncoderFilter.java210 public void fieldPortValueUpdated(String name, FilterContext context) { argument
282 public void prepare(FilterContext context) { argument
285 mProgram = ShaderProgram.createIdentity(context);
291 public void open(FilterContext context) { argument
294 if (mRecording) startRecording(context);
297 private void startRecording(FilterContext context) { argument
317 mScreen = (GLFrame)context.getFrameManager().newBoundFrame(
341 mSurfaceId = context.getGLEnvironment().
386 public void process(FilterContext context) { argument
387 GLEnvironment glEnv = context
423 stopRecording(FilterContext context) argument
456 close(FilterContext context) argument
462 tearDown(FilterContext context) argument
[all...]
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4READER_Common.h419 * @note create the context
420 * @param pContext: (OUT) pointer on a reader context
431 * @note after this call the context is invalid
432 * @param context: (IN) Context of the reader
437 typedef M4OSA_ERR (M4READER_destroy_fct) (M4OSA_Context context);
444 * @param context: (IN) Context of the reader
447 * @return M4ERR_PARAMETER the context is NULL
448 * @return M4ERR_BAD_CONTEXT provided context is not a valid one
451 typedef M4OSA_ERR (M4READER_open_fct) (M4OSA_Context context, M4OSA_Void* pFileDescriptor);
458 * @param context
[all...]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DTestService.java429 void onInit(Context context, boolean foreground) { argument
434 void onTerm(Context context) { argument
560 void onInit(Context context, boolean foreground) { argument
561 mPm = context.getPackageManager();
562 mProcessName = context.getApplicationInfo().processName;
585 void onInit(Context context, boolean foreground) { argument
586 mContext = context;
605 void onInit(Context context, boolean foreground) { argument
606 mContext = context;
631 void onTerm(Context context) { argument
650 onInit(Context context, boolean foreground) argument
668 onInit(Context context, boolean foreground) argument
686 onInit(Context context, boolean foreground) argument
708 onInit(Context context, boolean foreground) argument
730 onInit(Context context, boolean foreground) argument
752 onInit(Context context, boolean foreground) argument
774 onInit(Context context, boolean foreground) argument
796 onInit(Context context, boolean foreground) argument
815 onInit(Context context, boolean foreground) argument
835 onInit(Context context, boolean foreground) argument
855 onInit(Context context, boolean foreground) argument
876 onInit(Context context, boolean foreground) argument
896 onInit(Context context, boolean foreground) argument
917 onInit(Context context, boolean foreground) argument
937 onInit(Context context, boolean foreground) argument
957 onInit(Context context, boolean foreground) argument
980 onInit(Context context, boolean foreground) argument
1005 onInit(Context context, boolean foreground) argument
1034 onInit(Context context, boolean foreground) argument
1059 onTerm(Context context) argument
1078 onInit(Context context, boolean foreground) argument
1105 onTerm(Context context) argument
[all...]
/frameworks/base/services/java/com/android/server/pm/
H A DShutdownThread.java96 * @param context Context used to display the shutdown progress dialog.
99 public static void shutdown(final Context context, boolean confirm) { argument
102 shutdownInner(context, confirm);
105 static void shutdownInner(final Context context, boolean confirm) { argument
115 final int longPressBehavior = context.getResources().getInteger(
126 final CloseDialogReceiver closer = new CloseDialogReceiver(context);
127 final AlertDialog dialog = new AlertDialog.Builder(context)
134 beginShutdownSequence(context);
144 beginShutdownSequence(context);
153 CloseDialogReceiver(Context context) { argument
160 onReceive(Context context, Intent intent) argument
178 reboot(final Context context, String reason, boolean confirm) argument
192 rebootSafeMode(final Context context, boolean confirm) argument
199 beginShutdownSequence(Context context) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfo.java151 * @param context the context used to retrieve string constants
157 public static CallerInfo getCallerInfo(Context context, Uri contactRef, Cursor cursor) { argument
202 info.phoneLabel = Phone.getDisplayLabel(context,
250 * @param context the context used to get the ContentResolver
255 public static CallerInfo getCallerInfo(Context context, Uri contactRef) { argument
257 return getCallerInfo(context, contactRef,
258 context.getContentResolver().query(contactRef, null, null, null, null));
264 * @param context th
271 getCallerInfo(Context context, String number) argument
311 doSecondaryLookupIfNecessary(Context context, String number, CallerInfo previousResult) argument
341 getCallerId(Context context, String number) argument
386 markAsEmergency(Context context) argument
522 updateGeoDescription(Context context, String fallbackNumber) argument
531 getGeoDescription(Context context, String number) argument
566 getCurrentCountryIso(Context context, Locale locale) argument
[all...]
/frameworks/base/core/java/android/net/
H A DSSLSessionCache.java56 * @param context for the application
58 public SSLSessionCache(Context context) { argument
59 File dir = context.getDir("sslcache", Context.MODE_PRIVATE);
/frameworks/base/core/java/android/preference/
H A DPreferenceFrameLayout.java40 public PreferenceFrameLayout(Context context) { argument
41 this(context, null);
44 public PreferenceFrameLayout(Context context, AttributeSet attrs) { argument
45 this(context, attrs, com.android.internal.R.attr.preferenceFrameLayoutStyle);
48 public PreferenceFrameLayout(Context context, AttributeSet attrs, int defStyle) { argument
49 super(context, attrs, defStyle);
50 TypedArray a = context.obtainStyledAttributes(attrs,
53 float density = context.getResources().getDisplayMetrics().density;
/frameworks/base/core/java/android/text/method/
H A DAllCapsTransformationMethod.java36 public AllCapsTransformationMethod(Context context) { argument
37 mLocale = context.getResources().getConfiguration().locale;
/frameworks/base/core/java/android/view/animation/
H A DAccelerateInterpolator.java50 public AccelerateInterpolator(Context context, AttributeSet attrs) { argument
52 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.AccelerateInterpolator);
H A DAnticipateInterpolator.java42 public AnticipateInterpolator(Context context, AttributeSet attrs) { argument
43 TypedArray a = context.obtainStyledAttributes(attrs,
H A DDecelerateInterpolator.java43 public DecelerateInterpolator(Context context, AttributeSet attrs) { argument
45 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.DecelerateInterpolator);
H A DLayoutAnimationController.java98 * @param context the Context the view group is running in, through which
103 public LayoutAnimationController(Context context, AttributeSet attrs) { argument
104 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.LayoutAnimation);
114 setAnimation(context, resource);
119 setInterpolator(context, resource);
175 * @param context the context from which the animation must be inflated
183 public void setAnimation(Context context, int resourceID) { argument
184 setAnimation(AnimationUtils.loadAnimation(context, resourceID));
220 * @param context th
228 setInterpolator(Context context, int resourceID) argument
[all...]
H A DOvershootInterpolator.java43 public OvershootInterpolator(Context context, AttributeSet attrs) { argument
44 TypedArray a = context.obtainStyledAttributes(attrs,
/frameworks/base/core/java/android/webkit/
H A DKeyStoreHandler.java51 public void installCert(Context context) { argument
73 CertTool.addCertificate(context, type, cert);
H A DPluginList.java109 public synchronized void pluginClicked(Context context, int position) { argument
112 plugin.dispatchClickEvent(context);
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothRebootStressTest.java39 Context context = getInstrumentation().getTargetContext();
40 mTestUtils = new BluetoothTestUtils(context, TAG, OUTPUT_FILE);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DRemoteReceiver.java32 public void onReceive(Context context, Intent intent) argument
37 context.sendOrderedBroadcast(newIntent, null);
/frameworks/base/keystore/java/android/security/
H A DCredentials.java150 public void unlock(Context context) { argument
153 context.startActivity(intent);
159 public void install(Context context) { argument
162 context.startActivity(intent);
168 public void install(Context context, KeyPair pair) { argument
173 context.startActivity(intent);
179 public void install(Context context, String type, byte[] value) { argument
183 context.startActivity(intent);
/frameworks/base/media/java/android/mtp/
H A DMtpStorage.java38 public MtpStorage(StorageVolume volume, Context context) { argument
41 mDescription = context.getResources().getString(volume.getDescriptionId());
/frameworks/base/media/mca/effect/java/android/media/effect/effects/
H A DIdentityEffect.java29 public IdentityEffect(EffectContext context, String name) { argument
30 super(context, name);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DFrameFetch.java52 public void process(FilterContext context) { argument
53 Frame output = context.fetchFrame(mKey);

Completed in 2789 milliseconds

1234567891011>>