/frameworks/av/services/audioflinger/tests/ |
test-mixer.cpp | 60 SF_INFO info; local 61 info.frames = 0; 62 info.samplerate = sampleRate; 63 info.channels = channels; 64 info.format = SF_FORMAT_WAV | (isBufferFloat ? SF_FORMAT_FLOAT : SF_FORMAT_PCM_16); 66 filename, info.channels, info.samplerate, frames); 67 SNDFILE *sf = sf_open(filename, SFM_WRITE, &info);
|
/frameworks/base/cmds/screencap/ |
screencap.cpp | 177 const SkImageInfo info = SkImageInfo::Make(w, h, flinger2skia(f), local 180 b.installPixels(info, const_cast<void*>(base), s*bytesPerPixel(f));
|
/frameworks/base/core/java/android/app/ |
TaskStackBuilder.java | 168 ActivityInfo info = pm.getActivityInfo(sourceActivityName, 0); local 169 String parentActivity = info.parentActivityName; 171 final ComponentName target = new ComponentName(info.packageName, parentActivity); 172 info = pm.getActivityInfo(target, 0); 173 parentActivity = info.parentActivityName;
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteProgram.java | 57 SQLiteStatementInfo info = new SQLiteStatementInfo(); local 60 cancellationSignalForPrepare, info); 61 mReadOnly = info.readOnly; 62 mColumnNames = info.columnNames; 63 mNumParameters = info.numParameters;
|
/frameworks/base/core/java/android/net/ |
NetworkIdentity.java | 166 final WifiInfo info = wifi.getConnectionInfo(); local 167 networkId = info != null ? info.getSSID() : null;
|
/frameworks/base/core/java/android/printservice/ |
PrintJob.java | 64 * <strong>Node:</strong>The returned info object is a snapshot of the 66 * info object that reflects the current print job state. 69 * @return The print job info. 76 PrintJobInfo info = null; local 78 info = mPrintServiceClient.getPrintJobInfo(mCachedInfo.getId()); 80 Log.e(LOG_TAG, "Couldn't get info for job: " + mCachedInfo.getId(), re); 82 if (info != null) { 83 mCachedInfo = info; 215 PrintJobInfo info = getInfo(); local 216 final int state = info.getState() [all...] |
/frameworks/base/core/java/android/widget/ |
HeaderViewListAdapter.java | 41 // Used as a placeholder in case the provided info views are indeed null. 87 for (ListView.FixedViewInfo info : infos) { 88 if (!info.isSelectable) { 98 ListView.FixedViewInfo info = mHeaderViewInfos.get(i); local 99 if (info.view == v) { 115 ListView.FixedViewInfo info = mFooterViewInfos.get(i); local 116 if (info.view == v) {
|
/frameworks/base/core/jni/ |
android_util_Log.cpp | 39 jint info; member in struct:android::levels_t 51 case 'I': return levels.info; 57 return levels.info; 157 levels.info = env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "INFO", "I"));
|
android_view_TextureView.cpp | 78 SkImageInfo info; local 79 info.fWidth = buffer.width; 80 info.fHeight = buffer.height; 83 info.fColorType = kN32_SkColorType; 84 info.fAlphaType = kPremul_SkAlphaType; 87 info.fColorType = kN32_SkColorType; 88 info.fAlphaType = kOpaque_SkAlphaType; 90 info.fColorType = kRGB_565_SkColorType; 91 info.fAlphaType = kOpaque_SkAlphaType; 93 info.fColorType = kUnknown_SkColorType [all...] |
/frameworks/base/media/java/android/media/ |
MediaCodecList.java | 78 MediaCodecInfo info = getNewCodecInfoAt(index); local 79 all.add(info); 80 info = info.makeRegular(); 81 if (info != null) { 82 regulars.add(info); 212 for (MediaCodecInfo info: mCodecInfos) { 213 if (info.isEncoder() != encoder) { 217 MediaCodecInfo.CodecCapabilities caps = info.getCapabilitiesForType(mime); 219 return info.getName() [all...] |
/frameworks/base/packages/PrintSpooler/jni/ |
com_android_printspooler_util_BitmapSerializeUtils.cpp | 83 // Read the info. 87 throwIllegalStateException(env, (char*) "Cannot read bitmap info"); 91 // Get the info of the target bitmap. 95 throwIllegalStateException(env, (char*) "Cannot get bitmap info"); 131 // Get the info. 132 AndroidBitmapInfo info; local 133 int result = AndroidBitmap_getInfo(env, jbitmap, &info); 135 throwIllegalStateException(env, (char*) "Cannot get bitmap info"); 139 // Write the info. 140 bool written = writeAllBytes(fd, (void*) &info, sizeof(AndroidBitmapInfo)) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
PreviewInflater.java | 51 WidgetInfo info = getWidgetInfo(intent); local 52 if (info == null) { 55 View v = inflateWidgetView(info); 80 WidgetInfo info = new WidgetInfo(); local 103 info.contextPackage = resolved.activityInfo.packageName; 104 info.layoutId = layoutId; 105 return info;
|
/frameworks/base/services/core/java/com/android/server/display/ |
DisplayDevice.java | 90 * @return The display device info, which should be treated as immutable by the caller. 91 * The display device should allocate a new display device info object whenever 200 DisplayDeviceInfo info = getDisplayDeviceInfoLocked(); local 201 viewport.deviceWidth = isRotated ? info.height : info.width; 202 viewport.deviceHeight = isRotated ? info.width : info.height; 207 * Does not need to dump the display device info because that is already dumped elsewhere.
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextureViewActivity.java | 119 Camera.CameraInfo info = new Camera.CameraInfo(); local 121 Camera.getCameraInfo(i, info); 122 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) break; 143 return (info.orientation - degrees + 360) % 360;
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
Main.java | 84 log.info("Output: %1$s", osDestJar); 86 log.info("Input : %1$s", path); 90 CreateInfo info = new CreateInfo(); local 91 Set<String> excludeClasses = info.getExcludedClasses(); 92 AsmGenerator agen = new AsmGenerator(log, osDestJar, info); 145 log.info("- Input JAR : %1$s", path);
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSCompilerDriver.cpp | 114 // Acquire the read lock on object_file for reading its RS info file. 127 // Open and load the RS info file. 130 RSInfo *info = RSInfo::ReadFromFile(info_file); local 135 if (info == NULL) { 141 // Check that the info in the RS info file is consistent we what we want. 149 // If the info file contains different hash for the source than what we are 153 if (!info->IsConsistent(output_path.c_str(), expectedSourceHash, expectedCompileCommandLine, 156 delete info; 163 RSExecutable *executable = RSExecutable::Create(*info, *object_file, pResolver) 225 RSInfo *info = NULL; local 432 RSInfo* info = RSInfo::ExtractFromSource(pScript.getSource(), bitcode_sha1, local [all...] |
/frameworks/native/services/surfaceflinger/tests/ |
Transaction_test.cpp | 99 DisplayInfo info; local 100 SurfaceComposerClient::getDisplayInfo(display, &info); 102 ssize_t displayWidth = info.w; 103 ssize_t displayHeight = info.h;
|
/frameworks/rs/ |
rsScript.h | 80 DriverInfo info; member in struct:android::renderscript::Script::Hal
|
/frameworks/support/v4/java/android/support/v4/app/ |
NavUtils.java | 46 String getParentActivityName(Context context, ActivityInfo info); 85 public String getParentActivityName(Context context, ActivityInfo info) { 86 if (info.metaData == null) return null; 87 String parentActivity = info.metaData.getString(PARENT_ACTIVITY); 124 public String getParentActivityName(Context context, ActivityInfo info) { 125 String result = NavUtilsJB.getParentActivityName(info); 127 result = super.getParentActivityName(context, info); 301 ActivityInfo info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA); local 302 String parentActivity = IMPL.getParentActivityName(context, info);
|
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/ |
AccessibilityNodeInfoCompatKitKat.java | 25 static int getLiveRegion(Object info) { 26 return ((AccessibilityNodeInfo) info).getLiveRegion(); 29 static void setLiveRegion(Object info, int mode) { 30 ((AccessibilityNodeInfo) info).setLiveRegion(mode); 33 static Object getCollectionInfo(Object info) { 34 return ((AccessibilityNodeInfo) info).getCollectionInfo(); 37 static Object getCollectionItemInfo(Object info) { 38 return ((AccessibilityNodeInfo) info).getCollectionItemInfo(); 41 public static void setCollectionInfo(Object info, Object collectionInfo) { 42 ((AccessibilityNodeInfo) info).setCollectionInfo method 47 ((AccessibilityNodeInfo) info).setCollectionItemInfo( method [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
RecyclerViewAccessibilityTest.java | 111 final AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); local 115 delegateCompat.onInitializeAccessibilityNodeInfo(recyclerView, info); 119 || verticalScrollAfter || verticalScrollBefore, info.isScrollable()); 121 (info.getActions() & AccessibilityNodeInfoCompat.ACTION_SCROLL_BACKWARD) != 0); 123 (info.getActions() & AccessibilityNodeInfoCompat.ACTION_SCROLL_FORWARD) != 0); 124 final AccessibilityNodeInfoCompat.CollectionInfoCompat collectionInfo = info
|
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/ |
MainActivity.java | 68 PackageInfo info = null; local 70 info = getPackageManager().getPackageInfo(getPackageName(), PackageManager.GET_ACTIVITIES); 75 if (null == info) { 78 for (ActivityInfo activityInfo : info.activities) {
|
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
UiAutomationShellWrapper.java | 75 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); local 77 info.flags &= ~AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS; 79 info.flags |= AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS; 80 mUiAutomation.setServiceInfo(info);
|
/hardware/intel/common/libva/va/x11/ |
va_dri.c | 103 XExtDisplayInfo *info = find_display (dpy); local 106 if (XextHasExtension(info)) { 107 *event_basep = info->codes->first_event; 108 *error_basep = info->codes->first_error; 123 XExtDisplayInfo *info = find_display (dpy); local 128 VA_DRICheckExtension (dpy, info, False); 132 req->reqType = info->codes->major_opcode; 154 XExtDisplayInfo *info = find_display (dpy); local 159 VA_DRICheckExtension (dpy, info, False); 163 req->reqType = info->codes->major_opcode 185 XExtDisplayInfo *info = find_display (dpy); local 233 XExtDisplayInfo *info = find_display (dpy); local 263 XExtDisplayInfo *info = find_display (dpy); local 290 XExtDisplayInfo *info = find_display (dpy); local 339 XExtDisplayInfo *info = find_display (dpy); local 382 XExtDisplayInfo *info = find_display (dpy); local 404 XExtDisplayInfo *info = find_display (dpy); local 434 XExtDisplayInfo *info = find_display (dpy); local 459 XExtDisplayInfo *info = find_display (dpy); local 548 XExtDisplayInfo *info = find_display (dpy); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
twopass_encoder.c | 130 VpxVideoInfo info = {0}; local 149 info.codec_fourcc = encoder->fourcc; 150 info.time_base.numerator = 1; 151 info.time_base.denominator = fps; 152 info.frame_width = strtol(width_arg, NULL, 0); 153 info.frame_height = strtol(height_arg, NULL, 0); 155 if (info.frame_width <= 0 || 156 info.frame_height <= 0 || 157 (info.frame_width % 2) != 0 || 158 (info.frame_height % 2) != 0) [all...] |