/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/ |
D | AutoFitTextureView.java | 51 public void setAspectRatio(int width, int height) { in setAspectRatio() argument 52 if (width < 0 || height < 0) { in setAspectRatio() 55 mRatioWidth = width; in setAspectRatio() 63 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 66 setMeasuredDimension(width, height); in onMeasure() 68 if (width < height * mRatioWidth / mRatioHeight) { in onMeasure() 69 setMeasuredDimension(width, width * mRatioHeight / mRatioWidth); in onMeasure()
|
D | CameraAvgFragment.java | 139 public void onSurfaceTextureAvailable(SurfaceTexture texture, int width, int height) { 140 openCamera(width, height); 144 public void onSurfaceTextureSizeChanged(SurfaceTexture texture, int width, int height) { 145 configureTransform(width, height); 502 private void setUpCameraOutputs(int width, int height) { in setUpCameraOutputs() argument 556 int rotatedPreviewWidth = width; in setUpCameraOutputs() 563 rotatedPreviewHeight = width; in setUpCameraOutputs() 613 private void openCamera(int width, int height) { in openCamera() argument 619 setUpCameraOutputs(width, height); in openCamera() 620 configureTransform(width, height); in openCamera()
|
/system/extras/simpleperf/scripts/purgatorio/templates/ |
D | styles.css | 22 width: 1em; 39 width: 70%; 48 width: 30%; 56 width: 30%; 63 width: 30%; 84 width: 1.5em; 106 width: 100%; 119 width: 50%;
|
D | main.js | 63 .width(window.innerWidth * 3 / 10 - 20) // 30% width
|
/system/extras/simpleperf/ |
D | cmd_stat.cpp | 162 std::vector<size_t> width(titles.size(), 0); in ShowText() local 168 adjust_width(width[i], titles[i].size()); in ShowText() 174 adjust_width(width[i++], s.thread->name.size()); in ShowText() 175 adjust_width(width[i++], std::to_string(s.thread->pid).size()); in ShowText() 176 adjust_width(width[i++], std::to_string(s.thread->tid).size()); in ShowText() 179 adjust_width(width[i++], std::to_string(s.cpu).size()); in ShowText() 181 adjust_width(width[i++], s.readable_count.size()); in ShowText() 182 adjust_width(width[i++], s.Name().size()); in ShowText() 183 adjust_width(width[i++], s.comment.size()); in ShowText() 189 fprintf(fp, "%*s", static_cast<int>(width[i]), titles[i].c_str()); in ShowText() [all …]
|
D | SampleDisplayer.h | 194 size_t width; member 206 item.width = name.size(); in AddDisplayFunction() 215 item.width = name.size(); in AddDisplayFunction() 232 item.width = std::max(item.width, data.size()); in AdjustWidth() 243 fprintf(fp, "%-*s ", static_cast<int>(item.width), item.name.c_str()); in PrintNames() 265 fprintf(fp, "%-*s ", static_cast<int>(item.width), data.c_str()); in PrintSample()
|
/system/media/camera/docs/ |
D | camera_device_info.mako | 30 optional int32 width = 1; 35 optional float width = 1; 49 optional int32 width = 2; 83 optional int32 width = 2;
|
D | camera_device_info.proto | 30 optional int32 width = 1; field 35 optional float width = 1; field 49 optional int32 width = 2; field 83 optional int32 width = 2; field
|
D | html.mako | 29 …: bold; background-color: #888888; padding: 0.5em 0em 0.5em 0.5em; border-width: thick thin thin t… 41 table { border-collapse:collapse; table-layout: fixed; width: 100%; word-wrap: break-word } 43 .th_name { width: 20% } 44 .th_units { width: 10% } 45 .th_tags { width: 5% } 46 .th_details { width: 25% } 47 .th_type { width: 17% } 48 .th_description { width: 20% } 49 .th_range { width: 8% } 50 .th_hal_version { width: 5% }
|
/system/media/audio_utils/include/audio_utils/ |
D | LogPlot.h | 117 int width = 0; in widthOf() local 119 ++width; in widthOf() 124 ++width; in widthOf() 127 return width; in widthOf()
|
/system/extras/simpleperf/scripts/inferno/ |
D | svg_renderer.py | 69 width = callsite.weight() / total_weight * 100 72 if width <= 0: 106 width, 107 width,
|
D | script.js | 57 let width = parseFloat(rect.attributes['width'].value) * svgWidth * 0.01; 60 if (width < 28) { 71 if (numCharacters * 7.5 <= width) {
|
/system/teeui/test/ |
D | teeui_device_config.cpp | 86 uint width = 0, height = 0; in initFromOptions() local 109 width = atoi(optarg); in initFromOptions() 162 createDevice(width, height, dp2px, mm2px, powerBottonTopMm, powerButtonBottomMm, in initFromOptions()
|
/system/extras/tests/framebuffer/ |
D | fb_test.c | 33 int width; member 96 fb->width = vi.xres; in get_framebuffer() 104 fb->width = vi.xres; in get_framebuffer() 187 return gr_fbs[0].width; in gr_fb_width()
|
D | refresh.c | 74 float xdpi = (info.xres * 25.4f) / info.width; in main() 103 info.width, xdpi, in main()
|
/system/teeui/test/example_config/ |
D | README | 53 "native-test-flag": "--width=<device width in pixels>" 59 …pixel per density independent pixel (px/dp) ratio of the device. Typically <width in pixels>/412 >" 99 com.android.tradefed.testtype.HostGTest:native-test-flag:"--width=100"\
|
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/ |
D | NativeRenderer.java | 27 …public static native int renderBuffer(int x, int y, int width, int height, int lineStride, int[] b… in renderBuffer() argument
|
/system/tools/hidl/c2hal/test/ |
D | simple.h | 54 int left, int top, int width, int height);
|
D | test.h | 138 const uint32_t width; member 194 int left, int top, int width, int height);
|
/system/extras/simpleperf/scripts/ |
D | report_html.js | 350 width: '100%', property 461 width: '100%', property 527 width: 1000, property 978 width: '100%', property 1119 let width = this._getWidthPercentage(sumCount); 1120 if (width < 0.1) { 1241 let width = this._getWidthPercentage(sumCount); 1242 if (width < 0.1) { 1245 let color = this._getHeatColor(width); 1256 depth="${depth}" width="${width}%" owidth="${width}" height="15.0" [all …]
|
/system/extras/pagecache/ |
D | pagecache.py | 86 height, width = pad.getmaxyx() 111 pad.refresh(0,0, 0,0, height,width) 300 height, width = stdscr.getmaxyx() 307 used_width = max(width, 100)
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | WakeLockEntryList.cpp | 64 int width = 194; in operator <<() local 67 ss << " " << std::setfill('-') << std::setw(width) << "\n"; in operator <<() 73 header << sep << std::right << std::setw(((width - 14) / 2) + 14) << "WAKELOCK STATS" in operator <<() 74 << std::right << std::setw((width - 14) / 2) << sep << "\n"; in operator <<()
|
/system/teeui/libteeui/src/ |
D | utils.cpp | 91 Color drawLinePoint(Point<pxs> a, Point<pxs> b, Point<pxs> px_origin, Color c, pxs width) { in drawLinePoint() argument 111 dist = (line * (px_origin - a)).abs() - width + .5_px; in drawLinePoint()
|
/system/teeui/libteeui_jni/ |
D | libteeui_jni.cpp | 169 JNIEnv* env, jclass, jint x, jint y, jint width, jint height, jint lineStride, in Java_com_android_framebufferizer_NativeRenderer_renderBuffer() argument 175 return sCurrentExample->renderUIIntoBuffer((uint32_t)x, (uint32_t)y, (uint32_t)width, in Java_com_android_framebufferizer_NativeRenderer_renderBuffer()
|
/system/teeui/libteeui/include/teeui/ |
D | font_rendering.h | 159 for (unsigned x = 0; x < bitmap->width; ++x) { in drawGlyph()
|