/frameworks/base/core/java/com/android/internal/graphics/drawable/ |
H A D | AnimationScaleListDrawable.java | 22 import android.content.res.Resources; 23 import android.content.res.Resources.Theme; 24 import android.content.res.TypedArray; 57 @Nullable Resources res) { 59 final AnimationScaleListState newState = new AnimationScaleListState(state, this, res); 183 Resources res) { 184 super(orig, owner, res); 221 public Drawable newDrawable(Resources res) { argument 222 return new AnimationScaleListDrawable(this, res); 56 AnimationScaleListDrawable(@ullable AnimationScaleListState state, @Nullable Resources res) argument 182 AnimationScaleListState(AnimationScaleListState orig, AnimationScaleListDrawable owner, Resources res) argument
|
/frameworks/base/core/jni/ |
H A D | android_util_Log.cpp | 95 int res = __android_log_buf_write(bufID, (android_LogPriority)priority, tag, msg); local 101 return res;
|
H A D | android_view_DisplayEventReceiver.cpp | 171 int res = RegisterMethodsOrDie(env, "android/view/DisplayEventReceiver", gMethods, local 182 return res;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ClipDrawable.java | 26 import android.content.res.Resources; 27 import android.content.res.TypedArray; 28 import android.content.res.Resources.Theme; 219 ClipState(ClipState orig, Resources res) { argument 220 super(orig, res); 229 public Drawable newDrawable(Resources res) { argument 230 return new ClipDrawable(this, res); 234 private ClipDrawable(ClipState state, Resources res) { argument 235 super(state, res);
|
H A D | LevelListDrawable.java | 25 import android.content.res.Resources; 26 import android.content.res.TypedArray; 27 import android.content.res.Resources.Theme; 42 * <level-list xmlns:android="http://schemas.android.com/apk/res/android"> 49 * <p>With this XML saved into the res/drawable/ folder of the project, it can be referenced as 179 LevelListState(LevelListState orig, LevelListDrawable owner, Resources res) { argument 180 super(orig, owner, res); 221 public Drawable newDrawable(Resources res) { argument 222 return new LevelListDrawable(this, res); 246 private LevelListDrawable(LevelListState state, Resources res) { argument [all...] |
H A D | TransitionDrawable.java | 20 import android.content.res.Resources; 92 private TransitionDrawable(TransitionState state, Resources res) { argument 93 super(state, res); 101 LayerState createConstantState(LayerState state, Resources res) { argument 102 return new TransitionState((TransitionState) state, this, res); 260 TransitionState(TransitionState orig, TransitionDrawable owner, Resources res) { argument 261 super(orig, owner, res); 270 public Drawable newDrawable(Resources res) { argument 271 return new TransitionDrawable(this, res);
|
/frameworks/base/libs/common_time/ |
H A D | LinearTransform.cpp | 45 uint64_t* res, 50 assert(res); 79 *res = UINT64_MAX; 112 *res = (tmp2 << 32) | tmp1; 114 ++(*res); 115 if (!(*res)) { 116 *res = UINT64_MAX; 134 uint64_t scaled, res; local 190 res = scaled + basis2; 192 if ((scaled ^ basis2 ^ INT64_MIN) & (scaled ^ res) 41 scale_u64_to_u64( uint64_t val, uint32_t N, uint32_t D, uint64_t* res, bool round_up_not_down) argument [all...] |
H A D | diag_thread.cpp | 75 status_t res; local 77 res = run("Diag"); 79 if (res != OK) 80 ALOGE("Failed to start work thread (res = %d)", res); 82 return res; 86 status_t res; local 87 res = requestExitAndWait(); // block until thread exit. 88 if (res != OK) 89 ALOGE("Failed to stop work thread (res 132 int res; local 147 int res; local 277 status_t res = common_clock_->localToCommon(e.local_time, local [all...] |
H A D | utils.cpp | 123 int res; local 128 res = snprintf(buf, sizeof(buf), "\n%s\n", mHeader); 129 if (res > 0) 130 write(fd, buf, res); 153 res = snprintf(buf, sizeof(buf), "[%2zu] %s.%03ld :: %s%s\n", 159 if (res > 0) 160 write(fd, buf, res);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | FileA3D.java | 22 import android.content.res.AssetManager; 23 import android.content.res.Resources; 282 * @param res resource manager used for loading 287 static public FileA3D createFromResource(RenderScript rs, Resources res, int id) { argument 292 is = res.openRawResource(id);
|
H A D | Font.java | 26 import android.content.res.AssetManager; 27 import android.content.res.Resources; 160 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) { argument 162 int dpi = res.getDisplayMetrics().densityDpi; 176 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) { argument 177 return createFromFile(rs, res, path.getAbsolutePath(), pointSize); 183 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) { argument 185 AssetManager mgr = res.getAssets(); 186 int dpi = res.getDisplayMetrics().densityDpi; 199 static public Font createFromResource(RenderScript rs, Resources res, in argument 239 create(RenderScript rs, Resources res, String familyName, Style fontStyle, float pointSize) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_HardwarePropertiesManagerService.cpp | 251 int res = jniRegisterNativeMethods(env, "com/android/server/HardwarePropertiesManagerService", local 264 return res;
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 133 ssize_t res = add(value, false, configTypeName, config); local 134 if (res >= 0) { 135 addStyleSpans(res, spans); 137 return res; 405 ssize_t res = pool->writeData(block->getData(), block->getSize()); 406 return (res >= 0) ? (status_t)NO_ERROR : res; 599 ssize_t res = indices != NULL && indices->size() > 0 ? indices->itemAt(0) : -1; 601 printf("Offset for string %s: %zd (%s)\n", String8(val).string(), SSIZE(res), 602 res > [all...] |
/frameworks/base/tools/aapt2/java/ |
H A D | ProguardRules.cpp | 252 bool CollectProguardRulesForManifest(const Source& source, xml::XmlResource* res, KeepSet* keep_set, argument 255 if (res->root) { 256 res->root->Accept(&visitor); 262 bool CollectProguardRules(const Source& source, xml::XmlResource* res, KeepSet* keep_set) { argument 263 if (!res->root) { 267 switch (res->file.name.type) { 270 res->root->Accept(&visitor); 276 res->root->Accept(&visitor); 282 res->root->Accept(&visitor); 288 res [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | CommandAction.cpp | 250 const sys::fs::Path* res = m_SearchDirs.find(m_FileName, Input::Script); local 251 if (res == NULL) { 270 path.assign(res->native());
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
H A D | ASensorEventQueue.cpp | 124 int res = (*mCallback)(-1 /* fd */, ALOOPER_EVENT_INPUT, mData); local 126 if (res == 0) {
|
/frameworks/native/libs/binder/ |
H A D | IServiceManager.cpp | 80 bool res = pc->checkPermission(permission, pid, uid); local 81 if (res) { 87 return res; 177 Vector<String16> res; local 187 res.add(reply.readString16()); 189 return res;
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | CircularBitmapDrawable.java | 19 import android.content.res.Resources; 48 public CircularBitmapDrawable(Resources res, argument 50 this(res, cache, limitDensity, null); 53 public CircularBitmapDrawable(Resources res, argument 55 super(res, cache, limitDensity, opts);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | Queries.java | 19 import android.content.res.Resources; 45 public CharSequence getTypeLabel(Resources res, int type, CharSequence label) { 46 return Phone.getTypeLabel(res, type, label); 65 public CharSequence getTypeLabel(Resources res, int type, CharSequence label) { 66 return Email.getTypeLabel(res, type, label); 105 public abstract CharSequence getTypeLabel(Resources res, int type, CharSequence label); argument
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
H A D | TelephonyUtilTest.java | 247 * Produce a base64 encoded tag + res length byte + res + ck length byte + ck + ik length byte + 250 private static String create3GSimAuthUmtsAuthResponse(byte[] res, byte[] ck, byte[] ik) { argument 251 byte[] result = new byte[res.length + ck.length + ik.length + 4]; 254 result[idx++] = (byte) res.length; 255 for (int i = 0; i < res.length; ++i) { 256 result[idx++] = res[i];
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
H A D | Partner.java | 25 import android.content.res.Resources; 95 * {@link android.content.res.Resources}. 153 final Resources res = pm.getResourcesForApplication(appInfo); 154 sPartner = new Partner(appInfo.packageName, res); 175 private Partner(String packageName, Resources res) { argument 177 mResources = res;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | HardwareConfig.java | 121 public HardwareConfig(String res) { argument 122 String split[] = res.split(",");
|
/frameworks/rs/cpp/ |
H A D | RenderScript.cpp | 57 void *res = nullptr; local 58 pthread_join(mMessageThreadId, &res);
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
H A D | BallsRS.java | 20 import android.content.res.Resources; 104 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument 106 mRes = res;
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | LevelsV4.java | 143 public void createTest(android.content.res.Resources res) { argument
|