Lines Matching defs:mode
93 * mode set thru adb shell */
94 int mode = getUserMode();
95 if (mode == -1) {
96 //Get the best mode and set
97 mode = getBestMode();
99 setResolution(mode);
390 // Parse this string to get mode(int)
483 int ExternalDisplay::getModeOrder(int mode)
487 switch (mode) {
526 /// Returns the user mode set(if any) using adb shell
531 int mode = atoi(property_value);
533 if(isValidMode(mode) && !isInterlacedMode(mode)) {
534 ALOGD_IF(DEBUG, "%s: setting the HDMI mode = %d", __FUNCTION__, mode);
535 return mode;
540 // Get the best mode for the current HD TV
545 // for all the edid read, get the best mode
547 int mode = mEDIDModes[i];
548 int order = getModeOrder(mode);
551 bestMode = mode;
569 // returns true if the mode(ID) is interlaced mode format
603 const struct disp_mode_timing_type *mode =
611 mode = cur;
613 mode->set_info(mVInfo);
616 mode->video_format, mVInfo.xres, mVInfo.yres,
624 metadata.data.video_info_code = mode->video_format;