Searched defs:content (Results 151 - 175 of 211) sorted by relevance

123456789

/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java17 package android.content.res;
H A DStringBlock.java17 package android.content.res;
H A DTypedArray.java17 package android.content.res;
370 * {@link android.content.res.ColorStateList}, then the default color from
411 * a color or complex {@link android.content.res.ColorStateList} description.
904 * {@link android.content.res.Resources.Theme#resolveAttributes(int[], int[])}.
951 * defined by {@link android.content.pm.ActivityInfo}.
952 * @see android.content.pm.ActivityInfo
/frameworks/base/core/java/android/text/method/
H A DTextKeyListener.java19 import android.content.ContentResolver;
20 import android.content.Context;
132 public boolean onKeyDown(View view, Editable content, argument
136 return im.onKeyDown(view, content, keyCode, event);
140 public boolean onKeyUp(View view, Editable content, argument
144 return im.onKeyUp(view, content, keyCode, event);
148 public boolean onKeyOther(View view, Editable content, KeyEvent event) { argument
151 return im.onKeyOther(view, content, event);
217 public boolean onKeyDown(View view, Editable content, argument
222 public boolean onKeyUp(View view, Editable content, in argument
227 onKeyOther(View view, Editable content, KeyEvent event) argument
231 clearMetaKeyState(View view, Editable content, int states) argument
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java17 package com.android.internal.content;
19 import static android.content.pm.PackageManager.INSTALL_FAILED_NO_MATCHING_ABIS;
20 import static android.content.pm.PackageManager.INSTALL_SUCCEEDED;
21 import static android.content.pm.PackageManager.NO_NATIVE_LIBRARIES;
28 import android.content.pm.ApplicationInfo;
29 import android.content.pm.PackageManager;
30 import android.content.pm.PackageParser;
31 import android.content.pm.PackageParser.Package;
32 import android.content.pm.PackageParser.PackageLite;
33 import android.content
[all...]
/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java17 package android.content;
19 import android.content.ContentValues;
38 private final static Uri sTestUri1 = Uri.parse("content://authority/blah");
301 Uri.parse("content://goo/bar"));
316 assertEquals("content://goo/bar", operationGetUri(op2).toString());
333 Uri.parse("content://goo/bar"));
342 assertEquals("content://goo/bar", operationGetUri(op2).toString());
357 Uri.parse("content://goo/bar"));
364 assertEquals("content://goo/bar", operationGetUri(op2).toString());
501 result1 = new ContentProviderResult(Uri.parse("content
[all...]
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DVerifierDeviceIdentityTest.java17 package android.content.pm;
/frameworks/base/services/core/java/com/android/server/pm/
H A DSELinuxMMAC.java19 import android.content.pm.ApplicationInfo;
20 import android.content.pm.PackageParser;
21 import android.content.pm.Signature;
421 * @param file The file that receives the byte array content.
422 * @param content A byte array that will be written to the specified file.
427 private static void dumpHash(File file, byte[] content) throws IOException { argument
434 fos.write(content);
/frameworks/base/services/core/java/com/android/server/updates/
H A DConfigUpdateInstallReceiver.java19 import android.content.BroadcastReceiver;
20 import android.content.ContentResolver;
21 import android.content.Context;
22 import android.content.Intent;
77 // get the content path from the extras
99 // install the new content
106 Slog.e(TAG, "Could not update content!", e);
135 throw new IllegalStateException("Missing required content path, ignoring.");
175 Uri content = getContentFromIntent(i);
176 InputStream is = c.getContentResolver().openInputStream(content);
193 getCurrentHash(byte[] content) argument
219 verifySignature(byte[] content, int version, String requiredPrevious, String signature, X509Certificate cert) argument
229 writeUpdate(File dir, File file, byte[] content) argument
261 install(byte[] content, int version) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncStorageEngineTest.java17 package com.android.server.content;
20 import android.content.ComponentName;
21 import android.content.ContentResolver;
22 import android.content.Context;
23 import android.content.ContextWrapper;
24 import android.content.Intent;
25 import android.content.PeriodicSync;
26 import android.content.res.Resources;
36 import com.android.server.content.SyncStorageEngine.EndPoint;
44 import com.android.server.content
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java19 import android.content.Context;
20 import android.content.Intent;
124 private static String getCurrentHash(String content) throws Exception { argument
125 if (content == null) {
129 byte[] encoded = content.getBytes();
135 String content = IoUtils.readFileAsString("/data/misc/keychain/pins");
136 return getCurrentHash(content);
153 private String makeTemporaryContentFile(String content) throws Exception { argument
154 FileOutputStream fw = mContext.openFileOutput("content.txt", mContext.MODE_WORLD_READABLE);
155 fw.write(content
160 createSignature(String content, String version, String requiredHash) argument
173 verifySignature(String content, String version, String requiredPrevious, String signature, X509Certificate cert) argument
193 runTest(String cert, String content, String version, String required, String sig) argument
203 runTestWithoutSig(String cert, String content, String version, String required) argument
[all...]
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DTransport.java105 * @param content The content, or null if there is none.
108 public boolean sendMessage(int service, int what, ByteBuffer content) { argument
124 if (content == null) {
127 final int contentLimit = content.limit();
128 int contentPosition = content.position();
131 throw new IllegalArgumentException("Message content too large: "
138 mOutputBuffer.put(content);
141 content.limit(contentPosition + outputAvailable);
142 mOutputBuffer.put(content);
203 dispatchMessageReceived(int service, int what, ByteBuffer content) argument
247 onMessageReceived(int service, int what, ByteBuffer content) argument
[all...]
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DDisplaySourceService.java23 import android.content.Context;
82 public void onMessageReceived(int service, int what, ByteBuffer content) { argument
86 if (content.remaining() >= 12) {
87 final int width = content.getInt();
88 final int height = content.getInt();
89 final int densityDpi = content.getInt();
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeResources.java17 package android.content.res;
H A DBridgeTypedArray.java17 package android.content.res;
35 import android.content.res.Resources.Theme;
242 * {@link android.content.res.ColorStateList}, then the default color from
273 * a color or complex {@link android.content.res.ColorStateList} description.
/frameworks/support/v4/java/android/support/v4/content/
H A DFileProvider.java17 package android.support.v4.content;
22 import android.content.ContentProvider;
23 import android.content.ContentValues;
24 import android.content.Context;
25 import android.content.Intent;
26 import android.content.pm.PackageManager;
27 import android.content.pm.ProviderInfo;
28 import android.content.res.XmlResourceParser;
48 * of files associated with an app by creating a <code>content://</code> {@link Uri} for a file
51 * A content UR
[all...]
H A DLoader.java17 package android.support.v4.content;
19 import android.content.Context;
28 * Static library support version of the framework's {@link android.content.Loader}.
48 * it is used for you by {@link android.support.v4.content.CursorLoader}
309 * Take the current flag indicating whether the loader's content had
321 * Commit that you have actually fully processed a content change that
332 * Report that you have abandoned the processing of a content change that
334 * to the state where there is again a pending content change. This is
335 * to handle the case where a data load due to a content change has been
H A DModernAsyncTask.java17 package android.support.v4.content;
/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java19 import android.content.Context;
214 RectF content = new RectF(page.getInfo().getContentRect());
217 content, fittingMode);
234 Log.e(LOG_TAG, "Error writing printed content", ioe);
265 * @param content The output page dimensions
269 private Matrix getMatrix(int imageWidth, int imageHeight, RectF content, int fittingMode) { argument
273 float scale = content.width() / imageWidth;
275 scale = Math.max(scale, content.height() / imageHeight);
277 scale = Math.min(scale, content.height() / imageHeight);
281 // Center the content
[all...]
/frameworks/base/cmds/content/src/com/android/commands/content/
H A DContent.java17 package com.android.commands.content;
22 import android.content.ContentValues;
23 import android.content.IContentProvider;
41 * This class is a command line utility for manipulating content. A client
42 * can insert, update, and remove records in a content provider. For example,
49 * adb shell content insert --uri content://settings/secure --bind name:s:new_setting
55 * adb shell content update --uri content://settings/secure --bind value:s:newer_value
60 * adb shell content delet
[all...]
/frameworks/base/core/java/android/content/
H A DBroadcastReceiver.java17 package android.content;
33 * this class with {@link android.support.v4.content.LocalBroadcastManager} instead
138 * {@link android.support.v4.content.LocalBroadcastManager}, since intents
185 * use {@link android.content.Context#startService Context.startService()} to
459 * {@link android.content.Context#registerReceiver(BroadcastReceiver,
477 * <p>The Intent filters used in {@link android.content.Context#registerReceiver}
H A DContentProviderOperation.java17 package android.content;
19 import android.content.ContentProvider;
H A DRestrictionEntry.java17 package android.content;
110 /* The chosen value, whose content depends on the type of the restriction. */
H A DSyncRequest.java17 package android.content;
25 * Convenience class to construct sync requests. See {@link android.content.SyncRequest.Builder}
27 * framework via {@link android.content.ContentResolver#requestSync(SyncRequest)}.
347 * @param authority A String identifying the content provider to be synced.
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java17 package android.content.pm;
19 import android.content.BroadcastReceiver;
20 import android.content.ComponentName;
21 import android.content.Context;
22 import android.content.Intent;
23 import android.content.IntentFilter;
24 import android.content.pm.PackageManager.NameNotFoundException;
25 import android.content.res.Resources;
26 import android.content.res.XmlResourceParser;
486 android.content
[all...]

Completed in 474 milliseconds

123456789