Package com.almilli.tivo.hme.hd

Examples of com.almilli.tivo.hme.hd.Resolution


                 
              case ResolutionInfo.EVT_RES_INFO:
                  log.debug("handleChunk: ResolutionInfo");
                  this.resolutionInfo = new ResolutionInfo(chunkInStr);
                  evt = resolutionInfo;
                  Resolution res = resolutionInfo.getCurrentResolution();
                  if(res.getWidth() != getRoot().getWidth() || res.getHeight() != getRoot().getHeight())
                  {
                      getRoot().setSize(res.getWidth(), res.getHeight());
                      width = getRoot().getWidth();
                      height = getRoot().getHeight();
                      rootBoundsChanged(getRoot().getBounds());
                  }
                  resolutionReceived = true;
View Full Code Here


    public int getHeight() {
        return height;
    }

    ResolutionInfo createResolutionInfo(int width, int height, int aspectNumerator, int aspectDenominator) {
        Resolution resolution = new Resolution(width, height, aspectNumerator, aspectDenominator);
        List<Resolution> supported = new ArrayList<Resolution>(1);
        supported.add(resolution);
        return new ResolutionInfo(resolution, supported);
    }
View Full Code Here

        throws Exception
    {
        super.initApp(context);

        ResolutionInfo resInfo = getResolutionInfo();
        Resolution currentRes = resInfo.getCurrentResolution();
        desiredResolution = resInfo.getPreferredResolution();

        if (log.isInfoEnabled()) {
            log.info("Current resolution is: " + currentRes);
        }

        if (currentRes.equals(desiredResolution)) {
            if (!initialized) {
                initService();
            }
        } else {
            if (log.isInfoEnabled()) {
View Full Code Here

TOP

Related Classes of com.almilli.tivo.hme.hd.Resolution

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.